@zeniai/client-epic-state 4.9.8 → 4.9.11
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/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +1 -0
- package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +2 -1
- package/lib/entity/company/companyHelper.d.ts +5 -0
- package/lib/entity/company/companyHelper.js +24 -0
- package/lib/entity/company/companySelector.d.ts +7 -0
- package/lib/entity/company/companySelector.js +17 -1
- package/lib/entity/userRole/userRoleType.d.ts +8 -1
- package/lib/entity/userRole/userRoleType.js +73 -2
- package/lib/epic.d.ts +8 -6
- package/lib/epic.js +8 -6
- package/lib/index.d.ts +17 -17
- package/lib/index.js +41 -21
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.d.ts +16 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +21 -1
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +77 -3
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +11 -1
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +44 -1
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.d.ts +15 -3
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.js +23 -1
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.d.ts +8 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +67 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.d.ts +7 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -0
- package/lib/view/companyMonthEndReportView/{fetchCompanyMonthEndReportViewEpic.d.ts → epics/fetchCompanyMonthEndReportViewEpic.d.ts} +4 -4
- package/lib/view/companyMonthEndReportView/{fetchCompanyMonthEndReportViewEpic.js → epics/fetchCompanyMonthEndReportViewEpic.js} +4 -2
- package/lib/view/companyMonthEndReportView/{improveUsingZeniGPTEpic.d.ts → epics/improveUsingZeniGPTEpic.d.ts} +3 -3
- package/lib/view/companyMonthEndReportView/{improveUsingZeniGPTEpic.js → epics/improveUsingZeniGPTEpic.js} +2 -2
- package/lib/view/companyMonthEndReportView/{saveCompanyMonthEndReportEpic.d.ts → epics/saveCompanyMonthEndReportEpic.d.ts} +5 -5
- package/lib/view/companyMonthEndReportView/{saveCompanyMonthEndReportEpic.js → epics/saveCompanyMonthEndReportEpic.js} +9 -7
- package/lib/view/companyMonthEndReportView/{sendCompanyMonthEndReportEpic.d.ts → epics/sendCompanyMonthEndReportEpic.d.ts} +5 -5
- package/lib/view/companyMonthEndReportView/{sendCompanyMonthEndReportEpic.js → epics/sendCompanyMonthEndReportEpic.js} +9 -7
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.d.ts +10 -0
- package/lib/view/recommendation/{fetchRecommendationByEntityQboIdEpic.js → fetchEntityRecommendationsByTransactionIdEpic.js} +13 -6
- package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +2 -2
- package/lib/view/recommendation/recommendationHelper.d.ts +3 -0
- package/lib/view/recommendation/recommendationHelper.js +37 -21
- package/lib/view/recommendation/recommendationReducer.d.ts +1 -1
- package/lib/view/recommendation/recommendationReducer.js +3 -3
- package/lib/view/settingsView/settingsViewHelpers.d.ts +10 -0
- package/lib/view/settingsView/settingsViewHelpers.js +111 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +1 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +17 -13
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.d.ts +1 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +2 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +8 -2
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +23 -14
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.d.ts +2 -1
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +3 -2
- package/lib/view/transactionDetail/transactionDetailReducer.d.ts +3 -3
- package/lib/view/transactionDetail/transactionDetailReducer.js +4 -4
- package/lib/view/transactionDetail/transactionDetailState.d.ts +7 -0
- package/lib/view/transactionDetail/transactionDetailState.js +4 -3
- package/package.json +1 -1
- package/lib/view/recommendation/fetchRecommendationByEntityQboIdEpic.d.ts +0 -10
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ZeniDate } from '../../zeniDayJS';
|
|
2
2
|
import { Month } from '../timePeriod';
|
|
3
|
+
export declare const FULL_MONTH_FULL_YEAR_FORMAT = "MMMM YYYY";
|
|
3
4
|
export declare const MONTH_YEAR_FORMAT = "MMM YYYY";
|
|
4
5
|
export declare const DEFAULT_DATE_FORMAT = "YYYY-MM-DD";
|
|
5
6
|
export declare const DAY_MONTH_YEAR_FORMAT = "DDMMYYYY";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formatZeniDateFY = exports.toFiscalYearSupportedDateFormatStrict = exports.toFiscalYearSupportedDateFormat = exports.MONTH_FORMAT = exports.DAY_MONTH_YEAR_FORMAT = exports.DEFAULT_DATE_FORMAT = exports.MONTH_YEAR_FORMAT = void 0;
|
|
3
|
+
exports.formatZeniDateFY = exports.toFiscalYearSupportedDateFormatStrict = exports.toFiscalYearSupportedDateFormat = exports.MONTH_FORMAT = exports.DAY_MONTH_YEAR_FORMAT = exports.DEFAULT_DATE_FORMAT = exports.MONTH_YEAR_FORMAT = exports.FULL_MONTH_FULL_YEAR_FORMAT = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../stringToUnion");
|
|
5
5
|
const getFYQuarterAndYear_1 = require("./getFYQuarterAndYear");
|
|
6
|
+
exports.FULL_MONTH_FULL_YEAR_FORMAT = 'MMMM YYYY';
|
|
6
7
|
exports.MONTH_YEAR_FORMAT = 'MMM YYYY';
|
|
7
8
|
exports.DEFAULT_DATE_FORMAT = 'YYYY-MM-DD';
|
|
8
9
|
exports.DAY_MONTH_YEAR_FORMAT = 'DDMMYYYY';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ID } from '../../commonStateTypes/common';
|
|
2
|
+
import { User } from '../user/userState';
|
|
3
|
+
export declare const getControllersEmails: (controllers: User[]) => string[];
|
|
4
|
+
export declare const getFirstControllerEmail: (controllers: User[]) => string[];
|
|
5
|
+
export declare const getFirstControllerId: (controllerUserIds: ID[]) => ID[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFirstControllerId = exports.getFirstControllerEmail = exports.getControllersEmails = void 0;
|
|
4
|
+
const getControllersEmails = (controllers) => {
|
|
5
|
+
return controllers.map((controller) => controller.email);
|
|
6
|
+
};
|
|
7
|
+
exports.getControllersEmails = getControllersEmails;
|
|
8
|
+
const getFirstControllerEmail = (controllers) => {
|
|
9
|
+
const controllerEmail = (0, exports.getControllersEmails)(controllers);
|
|
10
|
+
if (controllerEmail.length === 0) {
|
|
11
|
+
return [];
|
|
12
|
+
}
|
|
13
|
+
const firstControllerEmail = controllerEmail[0];
|
|
14
|
+
return [firstControllerEmail];
|
|
15
|
+
};
|
|
16
|
+
exports.getFirstControllerEmail = getFirstControllerEmail;
|
|
17
|
+
const getFirstControllerId = (controllerUserIds) => {
|
|
18
|
+
if (controllerUserIds.length === 0) {
|
|
19
|
+
return [];
|
|
20
|
+
}
|
|
21
|
+
const firstControllerId = controllerUserIds[0];
|
|
22
|
+
return [firstControllerId];
|
|
23
|
+
};
|
|
24
|
+
exports.getFirstControllerId = getFirstControllerId;
|
|
@@ -2,11 +2,18 @@ import { AllowedValue } from '../../commonStateTypes/allowedValue';
|
|
|
2
2
|
import { ID } from '../../commonStateTypes/common';
|
|
3
3
|
import { CompanyState, SchemaKeys } from './companyState';
|
|
4
4
|
import { Company } from './companyStateTypes';
|
|
5
|
+
import { User } from '../user/userState';
|
|
6
|
+
import { RootState } from '../../reducer';
|
|
5
7
|
export interface CompanyWithSchema {
|
|
6
8
|
company: Company;
|
|
7
9
|
schema: Record<SchemaKeys, AllowedValue[]>;
|
|
8
10
|
}
|
|
11
|
+
export interface ControllerUserDetails {
|
|
12
|
+
controllers: User[];
|
|
13
|
+
controllerUserIds: ID[];
|
|
14
|
+
}
|
|
9
15
|
export declare function getCompanyByCompanyIds(companyState: CompanyState, companyIds: ID[]): CompanyWithSchema[];
|
|
10
16
|
export declare function getCompanyByCompanyId(companyState: CompanyState, companyId: ID): CompanyWithSchema | undefined;
|
|
11
17
|
export declare function getOnboardingCompanyByCompanyId(companyState: CompanyState, companyId: ID): CompanyWithSchema | undefined;
|
|
12
18
|
export declare function getOnboardingCompletedCompanyByCompanyId(companyState: CompanyState, companyId: ID): Company | undefined;
|
|
19
|
+
export declare const getControllersForCompany: (state: RootState, companyId: ID) => ControllerUserDetails;
|
|
@@ -3,8 +3,10 @@ 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.getOnboardingCompletedCompanyByCompanyId = exports.getOnboardingCompanyByCompanyId = exports.getCompanyByCompanyId = exports.getCompanyByCompanyIds = void 0;
|
|
6
|
+
exports.getControllersForCompany = exports.getOnboardingCompletedCompanyByCompanyId = exports.getOnboardingCompanyByCompanyId = exports.getCompanyByCompanyId = exports.getCompanyByCompanyIds = void 0;
|
|
7
|
+
const toolkit_1 = require("@reduxjs/toolkit");
|
|
7
8
|
const get_1 = __importDefault(require("lodash/get"));
|
|
9
|
+
const userSelector_1 = require("../user/userSelector");
|
|
8
10
|
function getCompanyByCompanyIds(companyState, companyIds) {
|
|
9
11
|
const companies = companyIds
|
|
10
12
|
.map((companyId) => getCompanyByCompanyId(companyState, companyId))
|
|
@@ -48,3 +50,17 @@ function getOnboardingCompletedCompanyByCompanyId(companyState, companyId) {
|
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
exports.getOnboardingCompletedCompanyByCompanyId = getOnboardingCompletedCompanyByCompanyId;
|
|
53
|
+
exports.getControllersForCompany = (0, toolkit_1.createSelector)((state) => state.companyState, (state) => state.userState, (_state, companyId) => companyId, (companyState, userState, companyId) => {
|
|
54
|
+
const company = getCompanyByCompanyId(companyState, companyId);
|
|
55
|
+
if (company != null) {
|
|
56
|
+
const controllerUserIds = company.company.managegmentInfo.controllerUserIds;
|
|
57
|
+
return {
|
|
58
|
+
controllers: (0, userSelector_1.getUsersByUserIds)(userState, controllerUserIds),
|
|
59
|
+
controllerUserIds,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
controllers: [],
|
|
64
|
+
controllerUserIds: [],
|
|
65
|
+
};
|
|
66
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TenantView } from '../tenant/tenantSelector';
|
|
1
|
+
import { CurrentTenant, TenantView } from '../tenant/tenantSelector';
|
|
2
2
|
import { LoggedInUser } from '../tenant/tenantState';
|
|
3
3
|
export declare const FINOPS_USER_ROLES: readonly ["controller", "tax_lead", "ap_analyst", "preparer", "reviewer"];
|
|
4
4
|
export declare const toFinOpsUserRoleTypeStrict: (v?: string | undefined) => "controller" | "tax_lead" | "ap_analyst" | "preparer" | "reviewer" | undefined;
|
|
@@ -38,3 +38,10 @@ export declare const hasSpendManagementAccess: (userRoleMap?: RoleMap | undefine
|
|
|
38
38
|
export declare const hasSpendManagementAdminLevelAccess: (userRoleMap: RoleMap) => boolean;
|
|
39
39
|
export declare const hasAnyCompanyRole: (userRole?: ("full" | "admin" | "lite" | "investor_or_banker" | "company_officer" | "employee" | "bill_pay_admin" | "bill_pay_analyst" | "bill_pay_approver" | "reimbursement_admin" | "deposit_accounts_admin" | "deposit_accounts_analyst" | "charge_card_admin" | "charge_card_user" | "controller" | "tax_lead" | "ap_analyst" | "preparer" | "reviewer")[] | undefined) => boolean;
|
|
40
40
|
export declare const hasAnyFinOpRole: (userRoleMap?: RoleMap | undefined) => boolean;
|
|
41
|
+
export declare const hasAnyAdminLevelAccess: (userRoleMap?: RoleMap | undefined) => boolean;
|
|
42
|
+
export declare const hasFullOrAdminLevelAccess: (userRoles: UserRoleType[]) => boolean;
|
|
43
|
+
export declare const hasBillPayAccessible: (currentTenant: CurrentTenant | undefined, userRoleMap?: RoleMap | undefined) => boolean;
|
|
44
|
+
export declare const hasReimbursementAccessible: (currentTenant: CurrentTenant | undefined, userRoleMap?: RoleMap | undefined) => boolean;
|
|
45
|
+
export declare const hasChargeCardAccessible: (currentTenant: CurrentTenant | undefined, userRoleMap?: RoleMap | undefined) => boolean;
|
|
46
|
+
export declare const hasZeniAccountsAccessible: (currentTenant: CurrentTenant | undefined, userRoleMap?: RoleMap | undefined) => boolean;
|
|
47
|
+
export declare const hasAnySpendManagementTOSAccepted: (currentTenant: CurrentTenant | undefined) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.hasAnyFinOpRole = exports.hasAnyCompanyRole = exports.hasSpendManagementAdminLevelAccess = exports.hasSpendManagementAccess = exports.hasZeniAccountsAdminLevelAccess = exports.hasChargeCardAdminLevelAccess = exports.hasReimbursementAdminLevelAccess = exports.hasBillPayAdminLevelAccess = exports.hasZeniAccountsAccess = exports.hasChargeCardAccess = exports.hasReimbursementAccess = exports.hasBillPayAccess = exports.hasOnlyZeniAccountsAccess = exports.hasOnlyChargeCardAccess = exports.hasOnlyReimbursementAccess = exports.isZeniSignedInUser = exports.hasZeniRoleOrCompanyOfficerAccess = exports.hasOnlyBillPayAccess = exports.getUserRoleMap = exports.hasInvestorBankerLevelAccess = exports.isNonZeniRole = exports.hasLiteLevelAccess = exports.hasFullLevelAccess = exports.hasSuperAdminLevelAccess = exports.hasEmployeeLevelAccess = exports.hasRemiFallbackAdminLevelAccess = exports.hasBillPayFallbackAdminLevelAccess = exports.hasAdminLevelAccess = exports.isFinOpsUserRoleType = exports.toUserRoleType = exports.toUserRoleTypeStrict = exports.ALL_USER_ROLES = exports.toFinOpsUserRoleType = exports.toFinOpsUserRoleTypeStrict = exports.FINOPS_USER_ROLES = void 0;
|
|
3
|
+
exports.hasAnySpendManagementTOSAccepted = exports.hasZeniAccountsAccessible = exports.hasChargeCardAccessible = exports.hasReimbursementAccessible = exports.hasBillPayAccessible = exports.hasFullOrAdminLevelAccess = exports.hasAnyAdminLevelAccess = exports.hasAnyFinOpRole = exports.hasAnyCompanyRole = exports.hasSpendManagementAdminLevelAccess = exports.hasSpendManagementAccess = exports.hasZeniAccountsAdminLevelAccess = exports.hasChargeCardAdminLevelAccess = exports.hasReimbursementAdminLevelAccess = exports.hasBillPayAdminLevelAccess = exports.hasZeniAccountsAccess = exports.hasChargeCardAccess = exports.hasReimbursementAccess = exports.hasBillPayAccess = exports.hasOnlyZeniAccountsAccess = exports.hasOnlyChargeCardAccess = exports.hasOnlyReimbursementAccess = exports.isZeniSignedInUser = exports.hasZeniRoleOrCompanyOfficerAccess = exports.hasOnlyBillPayAccess = exports.getUserRoleMap = exports.hasInvestorBankerLevelAccess = exports.isNonZeniRole = exports.hasLiteLevelAccess = exports.hasFullLevelAccess = exports.hasSuperAdminLevelAccess = exports.hasEmployeeLevelAccess = exports.hasRemiFallbackAdminLevelAccess = exports.hasBillPayFallbackAdminLevelAccess = exports.hasAdminLevelAccess = exports.isFinOpsUserRoleType = exports.toUserRoleType = exports.toUserRoleTypeStrict = exports.ALL_USER_ROLES = exports.toFinOpsUserRoleType = exports.toFinOpsUserRoleTypeStrict = exports.FINOPS_USER_ROLES = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
5
|
exports.FINOPS_USER_ROLES = [
|
|
6
6
|
'controller',
|
|
@@ -86,7 +86,7 @@ const hasEmployeeLevelAccess = (currentTenant) => {
|
|
|
86
86
|
*/
|
|
87
87
|
if (isZeni && isZeniDomain) {
|
|
88
88
|
/**
|
|
89
|
-
* If zeni user has both billpay access and employee then return true to show
|
|
89
|
+
* If zeni user has both billpay access and employee then return true to show reimbursements also.
|
|
90
90
|
*/
|
|
91
91
|
const isZeniUserHasBillPayAccess = currentTenant.userRole.includes('bill_pay_admin') ||
|
|
92
92
|
currentTenant.userRole.includes('bill_pay_analyst') ||
|
|
@@ -398,3 +398,74 @@ const hasAnyFinOpRole = (userRoleMap) => {
|
|
|
398
398
|
return false;
|
|
399
399
|
};
|
|
400
400
|
exports.hasAnyFinOpRole = hasAnyFinOpRole;
|
|
401
|
+
const hasAnyAdminLevelAccess = (userRoleMap) => {
|
|
402
|
+
if (userRoleMap == null) {
|
|
403
|
+
return false;
|
|
404
|
+
}
|
|
405
|
+
if (userRoleMap.admin ||
|
|
406
|
+
userRoleMap.full ||
|
|
407
|
+
userRoleMap.bill_pay_admin ||
|
|
408
|
+
userRoleMap.reimbursement_admin ||
|
|
409
|
+
userRoleMap.deposit_accounts_admin ||
|
|
410
|
+
userRoleMap.charge_card_admin ||
|
|
411
|
+
(0, exports.hasAnyFinOpRole)(userRoleMap)) {
|
|
412
|
+
return true;
|
|
413
|
+
}
|
|
414
|
+
return false;
|
|
415
|
+
};
|
|
416
|
+
exports.hasAnyAdminLevelAccess = hasAnyAdminLevelAccess;
|
|
417
|
+
const hasFullOrAdminLevelAccess = (userRoles) => {
|
|
418
|
+
return (0, exports.hasFullLevelAccess)(userRoles) || (0, exports.hasAdminLevelAccess)(userRoles);
|
|
419
|
+
};
|
|
420
|
+
exports.hasFullOrAdminLevelAccess = hasFullOrAdminLevelAccess;
|
|
421
|
+
const hasBillPayAccessible = (currentTenant, userRoleMap) => {
|
|
422
|
+
var _a;
|
|
423
|
+
if (currentTenant == null || userRoleMap === null) {
|
|
424
|
+
return false;
|
|
425
|
+
}
|
|
426
|
+
const isBillPayTOSAccepted = Boolean((_a = currentTenant.company) === null || _a === void 0 ? void 0 : _a.companyBillPayInfo.isBillPayTOSAccepted);
|
|
427
|
+
return isBillPayTOSAccepted && (0, exports.hasBillPayAdminLevelAccess)(userRoleMap);
|
|
428
|
+
};
|
|
429
|
+
exports.hasBillPayAccessible = hasBillPayAccessible;
|
|
430
|
+
const hasReimbursementAccessible = (currentTenant, userRoleMap) => {
|
|
431
|
+
var _a;
|
|
432
|
+
if (currentTenant == null || userRoleMap === null) {
|
|
433
|
+
return false;
|
|
434
|
+
}
|
|
435
|
+
const isReimbursementTOSAccepted = Boolean((_a = currentTenant.company) === null || _a === void 0 ? void 0 : _a.companyReimbursementInfo.isReimbursementTOSAccepted);
|
|
436
|
+
return (isReimbursementTOSAccepted && (0, exports.hasReimbursementAdminLevelAccess)(userRoleMap));
|
|
437
|
+
};
|
|
438
|
+
exports.hasReimbursementAccessible = hasReimbursementAccessible;
|
|
439
|
+
const hasChargeCardAccessible = (currentTenant, userRoleMap) => {
|
|
440
|
+
var _a;
|
|
441
|
+
if (currentTenant == null || userRoleMap === null) {
|
|
442
|
+
return false;
|
|
443
|
+
}
|
|
444
|
+
const isChargeCardTOSAccepted = Boolean((_a = currentTenant.company) === null || _a === void 0 ? void 0 : _a.companyChargeCardInfo.isChargeCardTOSAccepted);
|
|
445
|
+
return isChargeCardTOSAccepted && (0, exports.hasChargeCardAdminLevelAccess)(userRoleMap);
|
|
446
|
+
};
|
|
447
|
+
exports.hasChargeCardAccessible = hasChargeCardAccessible;
|
|
448
|
+
const hasZeniAccountsAccessible = (currentTenant, userRoleMap) => {
|
|
449
|
+
var _a;
|
|
450
|
+
if (currentTenant == null || userRoleMap === null) {
|
|
451
|
+
return false;
|
|
452
|
+
}
|
|
453
|
+
const isZeniAccountTOSAccepted = Boolean((_a = currentTenant.company) === null || _a === void 0 ? void 0 : _a.companyZeniAccountInfo.isZeniAccountTOSAccepted);
|
|
454
|
+
return (isZeniAccountTOSAccepted && (0, exports.hasZeniAccountsAdminLevelAccess)(userRoleMap));
|
|
455
|
+
};
|
|
456
|
+
exports.hasZeniAccountsAccessible = hasZeniAccountsAccessible;
|
|
457
|
+
const hasAnySpendManagementTOSAccepted = (currentTenant) => {
|
|
458
|
+
var _a, _b, _c, _d;
|
|
459
|
+
if (currentTenant == null) {
|
|
460
|
+
return false;
|
|
461
|
+
}
|
|
462
|
+
const isBillPayTOSAccepted = Boolean((_a = currentTenant.company) === null || _a === void 0 ? void 0 : _a.companyBillPayInfo.isBillPayTOSAccepted);
|
|
463
|
+
const isReimbursementTOSAccepted = Boolean((_b = currentTenant.company) === null || _b === void 0 ? void 0 : _b.companyReimbursementInfo.isReimbursementTOSAccepted);
|
|
464
|
+
const isZeniAccountTOSAccepted = Boolean((_c = currentTenant.company) === null || _c === void 0 ? void 0 : _c.companyZeniAccountInfo.isZeniAccountTOSAccepted);
|
|
465
|
+
const isChargeCardTOSAccepted = Boolean((_d = currentTenant.company) === null || _d === void 0 ? void 0 : _d.companyChargeCardInfo.isChargeCardTOSAccepted);
|
|
466
|
+
return (isBillPayTOSAccepted ||
|
|
467
|
+
isReimbursementTOSAccepted ||
|
|
468
|
+
isZeniAccountTOSAccepted ||
|
|
469
|
+
isChargeCardTOSAccepted);
|
|
470
|
+
};
|
|
471
|
+
exports.hasAnySpendManagementTOSAccepted = hasAnySpendManagementTOSAccepted;
|
package/lib/epic.d.ts
CHANGED
|
@@ -229,16 +229,18 @@ import { ActionType as SaveRemiSetupApproverViewUpdatesActionType } from './view
|
|
|
229
229
|
import { ActionType as DeleteRemiApprovalRuleActionType } from './view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic';
|
|
230
230
|
import { ActionType as ParallelFetchTransactionListByCategoryTypeActionType } from './view/transactionList/parallelFetchTransactionListByCategoryTypeEpic';
|
|
231
231
|
import { ActionType as FetchTransactionsListByCategoryTypeActionType } from './view/transactionList/fetchTransactionsListByCategoryTypeEpic';
|
|
232
|
-
import { ActionType as
|
|
232
|
+
import { ActionType as FetchEntityRecommendationsByTransactionIdActionType } from './view/recommendation/fetchEntityRecommendationsByTransactionIdEpic';
|
|
233
233
|
import { ActionType as FetchRecommendationByEntityNameActionType } from './view/recommendation/fetchRecommendationByEntityNameEpic';
|
|
234
234
|
import { ActionType as FetchRecommendationByEntityIdActionType } from './view/recommendation/fetchRecommendationByEntityIdEpic';
|
|
235
235
|
import { ActionType as SaveTransactionDetailActionType } from './view/transactionDetail/epics/saveTransactionDetailEpic';
|
|
236
236
|
import { ActionType as MarkTransactionAsNotMiscategorizedActionType } from './view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic';
|
|
237
237
|
import { ActionType as InitializeEditPersonActionType } from './view/people/initializeEditPersonEpic';
|
|
238
|
-
import { ActionType as ImproveUsingZeniGPTActionType } from './view/companyMonthEndReportView/improveUsingZeniGPTEpic';
|
|
239
|
-
import { ActionType as FetchCompanyMonthEndReportViewActionType } from './view/companyMonthEndReportView/fetchCompanyMonthEndReportViewEpic';
|
|
240
|
-
import { ActionType as SendCompanyMonthEndReportActionType } from './view/companyMonthEndReportView/sendCompanyMonthEndReportEpic';
|
|
241
|
-
import { ActionType as SaveCompanyMonthEndReportActionType } from './view/companyMonthEndReportView/saveCompanyMonthEndReportEpic';
|
|
238
|
+
import { ActionType as ImproveUsingZeniGPTActionType } from './view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic';
|
|
239
|
+
import { ActionType as FetchCompanyMonthEndReportViewActionType } from './view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic';
|
|
240
|
+
import { ActionType as SendCompanyMonthEndReportActionType } from './view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic';
|
|
241
|
+
import { ActionType as SaveCompanyMonthEndReportActionType } from './view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic';
|
|
242
|
+
import { ActionType as FetchCompanyMonthEndReportHistoricDatesActionType } from './view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic';
|
|
243
|
+
import { ActionType as FetchCompanyMonthEndReportHistoricDataActionType } from './view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic';
|
|
242
244
|
import { ActionType as FetchOwnerListActionType } from './view/ownerList/fetchOwnerListEpic';
|
|
243
245
|
import { ActionType as FetchZeniAccountListPageActionType } from './view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic';
|
|
244
246
|
import { ActionType as FetchDepositAccountListActionType } from './view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic';
|
|
@@ -340,6 +342,6 @@ import { ActionType as FetchRewardsPlanActionType } from './view/referralView/ep
|
|
|
340
342
|
import { ActionType as SendReferralInviteActionType } from './view/referralView/epics/sendReferralInviteEpic';
|
|
341
343
|
import { ActionType as ResendReferralInviteActionType } from './view/referralView/epics/resendReferralInviteEpic';
|
|
342
344
|
/** Root action type is union of all the epic action type */
|
|
343
|
-
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateNewSchedulesActionType | CreatePaymentInstrumentActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiApprovalRuleActionType | DeleteRemiActionType | DeleteTaskActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListEpic | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchDuplicateReimbursementEpicActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationByEntityQboIdActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchRewardsPlanActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTaskHistoryActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | initializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | RecommendationForAccountTypeActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
345
|
+
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateNewSchedulesActionType | CreatePaymentInstrumentActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiApprovalRuleActionType | DeleteRemiActionType | DeleteTaskActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListEpic | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchDuplicateReimbursementEpicActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchRewardsPlanActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTaskHistoryActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | initializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | RecommendationForAccountTypeActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
344
346
|
declare const rootEpic: Epic<RootActionType>;
|
|
345
347
|
export default rootEpic;
|
package/lib/epic.js
CHANGED
|
@@ -236,16 +236,18 @@ const saveRemiSetupApproverViewUpdatesEpic_1 = require("./view/spendManagement/r
|
|
|
236
236
|
const deleteRemiApprovalRuleEpic_1 = require("./view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic");
|
|
237
237
|
const parallelFetchTransactionListByCategoryTypeEpic_1 = require("./view/transactionList/parallelFetchTransactionListByCategoryTypeEpic");
|
|
238
238
|
const fetchTransactionsListByCategoryTypeEpic_1 = require("./view/transactionList/fetchTransactionsListByCategoryTypeEpic");
|
|
239
|
-
const
|
|
239
|
+
const fetchEntityRecommendationsByTransactionIdEpic_1 = require("./view/recommendation/fetchEntityRecommendationsByTransactionIdEpic");
|
|
240
240
|
const fetchRecommendationByEntityNameEpic_1 = require("./view/recommendation/fetchRecommendationByEntityNameEpic");
|
|
241
241
|
const fetchRecommendationByEntityIdEpic_1 = require("./view/recommendation/fetchRecommendationByEntityIdEpic");
|
|
242
242
|
const saveTransactionDetailEpic_1 = require("./view/transactionDetail/epics/saveTransactionDetailEpic");
|
|
243
243
|
const markTransactionAsNotMiscategorizedEpic_1 = require("./view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic");
|
|
244
244
|
const initializeEditPersonEpic_1 = require("./view/people/initializeEditPersonEpic");
|
|
245
|
-
const improveUsingZeniGPTEpic_1 = require("./view/companyMonthEndReportView/improveUsingZeniGPTEpic");
|
|
246
|
-
const fetchCompanyMonthEndReportViewEpic_1 = require("./view/companyMonthEndReportView/fetchCompanyMonthEndReportViewEpic");
|
|
247
|
-
const sendCompanyMonthEndReportEpic_1 = require("./view/companyMonthEndReportView/sendCompanyMonthEndReportEpic");
|
|
248
|
-
const saveCompanyMonthEndReportEpic_1 = require("./view/companyMonthEndReportView/saveCompanyMonthEndReportEpic");
|
|
245
|
+
const improveUsingZeniGPTEpic_1 = require("./view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic");
|
|
246
|
+
const fetchCompanyMonthEndReportViewEpic_1 = require("./view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic");
|
|
247
|
+
const sendCompanyMonthEndReportEpic_1 = require("./view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic");
|
|
248
|
+
const saveCompanyMonthEndReportEpic_1 = require("./view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic");
|
|
249
|
+
const fetchCompanyMonthEndReportHistoricDatesEpic_1 = require("./view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic");
|
|
250
|
+
const fetchCompanyMonthEndReportHistoricDataEpic_1 = require("./view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic");
|
|
249
251
|
const fetchOwnerListEpic_1 = require("./view/ownerList/fetchOwnerListEpic");
|
|
250
252
|
const fetchZeniAccountListPageEpic_1 = require("./view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic");
|
|
251
253
|
const fetchDepositAccountListEpic_1 = require("./view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic");
|
|
@@ -347,7 +349,7 @@ const fetchRewardsPlanEpic_1 = require("./view/referralView/epics/fetchRewardsPl
|
|
|
347
349
|
const sendReferralInviteEpic_1 = require("./view/referralView/epics/sendReferralInviteEpic");
|
|
348
350
|
const resendReferralInviteEpic_1 = require("./view/referralView/epics/resendReferralInviteEpic");
|
|
349
351
|
// Note: Please maintain strict alphabetical order
|
|
350
|
-
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, createNewSchedulesEpic_1.createNewSchedulesEpic, 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, deleteTaskEpic_1.deleteTaskEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, 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, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, 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, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, 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, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, 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, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, 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, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
352
|
+
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, createNewSchedulesEpic_1.createNewSchedulesEpic, 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, deleteTaskEpic_1.deleteTaskEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, 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, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, 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, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, 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, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
351
353
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
352
354
|
console.error(error);
|
|
353
355
|
return source;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dayjs, ZeniDate, updateZeniDateLocaleID, date, dateInLocal, dateLocal, dateNow, getBusinessDayOfDate, setLocalTimezone, getLocalTimezone } from './zeniDayJS';
|
|
1
|
+
import { Dayjs, ZeniDate, updateZeniDateLocaleID, date, dateInLocal, dateLocal, dateNow, getBusinessDayOfDate, setLocalTimezone, getLocalTimezone, getMonthIndex, dateFromYearMonthDate } from './zeniDayJS';
|
|
2
2
|
import { formatZeniDateFY } from './commonStateTypes/fiscalYearHelpers/formatZeniDateFY';
|
|
3
3
|
import { getFYMonths } from './commonStateTypes/fiscalYearHelpers/getFYMonths';
|
|
4
4
|
import { getFYQuarterAndYear, getLastMonthOfFYQuarter, getLastMonthOfFYYear } from './commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear';
|
|
@@ -12,7 +12,7 @@ import { isSuccessResponse, ZeniAPIStatus } from './responsePayload';
|
|
|
12
12
|
import initialize, { updateZeniAPIClientConfig, zeniAPIClientConfig, initializeWithNewStore, ZeniStore, initializePusher } from './init';
|
|
13
13
|
import { RootState } from './reducer';
|
|
14
14
|
export default initialize;
|
|
15
|
-
export { initializePusher, Dayjs, ZeniDate, dateInLocal as zeniDateInLocal, date as zeniDate, dateLocal, dateNow, getBusinessDayOfDate, formatZeniDateFY as formatZeniDate, getFYMonths, getFYQuarterAndYear, getStartOfAndEndOfTimeframeForFY, getActualPeriodOfFYQtr, getActualPeriodOfFY, getLocalTimezone, addPeriod, subtractPeriod, setLocalTimezone, updateZeniDateLocaleID, ZeniUrl, toZeniUrl, toZeniUrlWithoutBaseURL, RESTAPIEndpoints, RootState, updateZeniAPIClientConfig, zeniAPIClientConfig, initializeWithNewStore, ZeniStore, ZeniAPIStatus, getTimeframeTickTag, TimeFrameTickTag, isIncompleteMonthPresentInTimeframeTick, getLastMonthOfFYQuarter, getLastMonthOfFYYear, };
|
|
15
|
+
export { initializePusher, Dayjs, ZeniDate, dateInLocal as zeniDateInLocal, date as zeniDate, dateLocal, dateNow, getBusinessDayOfDate, formatZeniDateFY as formatZeniDate, getFYMonths, getFYQuarterAndYear, getStartOfAndEndOfTimeframeForFY, getActualPeriodOfFYQtr, getActualPeriodOfFY, getLocalTimezone, addPeriod, subtractPeriod, setLocalTimezone, updateZeniDateLocaleID, ZeniUrl, toZeniUrl, toZeniUrlWithoutBaseURL, RESTAPIEndpoints, RootState, updateZeniAPIClientConfig, zeniAPIClientConfig, initializeWithNewStore, ZeniStore, ZeniAPIStatus, getTimeframeTickTag, TimeFrameTickTag, isIncompleteMonthPresentInTimeframeTick, getLastMonthOfFYQuarter, getLastMonthOfFYYear, getMonthIndex, dateFromYearMonthDate, };
|
|
16
16
|
import { ID, FetchState, FetchStateAndError, FetchedState, UpdateType, AccountViewMode, Mode } from './commonStateTypes/common';
|
|
17
17
|
export { ID, FetchState, FetchStateAndError, FetchedState, UpdateType, Mode, AccountViewMode, };
|
|
18
18
|
import { Amount, toAmount, Currency } from './commonStateTypes/amount';
|
|
@@ -75,8 +75,8 @@ export { getForecast };
|
|
|
75
75
|
export type { User } from './entity/user/userState';
|
|
76
76
|
import { getUserRoleByUserId, getUserRoleByUserIds } from './entity/userRole/userRoleSelector';
|
|
77
77
|
export type { UserRole, InvitationStatus } from './entity/userRole/userRoleState';
|
|
78
|
-
import { UserRoleType, toUserRoleType, isFinOpsUserRoleType, hasAdminLevelAccess, hasEmployeeLevelAccess, isNonZeniRole, hasInvestorBankerLevelAccess, RoleMap, getUserRoleMap, hasOnlyBillPayAccess, hasZeniRoleOrCompanyOfficerAccess, hasSuperAdminLevelAccess, hasFullLevelAccess, hasLiteLevelAccess, hasBillPayFallbackAdminLevelAccess, hasRemiFallbackAdminLevelAccess, hasOnlyReimbursementAccess, hasOnlyChargeCardAccess, hasOnlyZeniAccountsAccess, isZeniSignedInUser, hasChargeCardAccess, hasZeniAccountsAccess, hasBillPayAccess, hasReimbursementAccess, hasReimbursementAdminLevelAccess, hasBillPayAdminLevelAccess, hasChargeCardAdminLevelAccess, hasSpendManagementAccess, hasSpendManagementAdminLevelAccess, hasZeniAccountsAdminLevelAccess, hasAnyCompanyRole, hasAnyFinOpRole } from './entity/userRole/userRoleType';
|
|
79
|
-
export { UserRoleType, toUserRoleType, isFinOpsUserRoleType, hasAdminLevelAccess, hasEmployeeLevelAccess, hasFullLevelAccess, hasLiteLevelAccess, isNonZeniRole, hasInvestorBankerLevelAccess, RoleMap, getUserRoleMap, hasOnlyBillPayAccess, hasZeniRoleOrCompanyOfficerAccess, hasSuperAdminLevelAccess, hasBillPayFallbackAdminLevelAccess, hasRemiFallbackAdminLevelAccess, hasOnlyReimbursementAccess, hasOnlyChargeCardAccess, hasOnlyZeniAccountsAccess, isZeniSignedInUser, getUserRoleByUserId, getUserRoleByUserIds, hasChargeCardAccess, hasZeniAccountsAccess, hasBillPayAccess, hasReimbursementAccess, hasReimbursementAdminLevelAccess, hasBillPayAdminLevelAccess, hasChargeCardAdminLevelAccess, hasSpendManagementAccess, hasSpendManagementAdminLevelAccess, hasZeniAccountsAdminLevelAccess, hasAnyCompanyRole, hasAnyFinOpRole, };
|
|
78
|
+
import { UserRoleType, toUserRoleType, isFinOpsUserRoleType, hasAdminLevelAccess, hasEmployeeLevelAccess, isNonZeniRole, hasInvestorBankerLevelAccess, RoleMap, getUserRoleMap, hasOnlyBillPayAccess, hasZeniRoleOrCompanyOfficerAccess, hasSuperAdminLevelAccess, hasFullLevelAccess, hasLiteLevelAccess, hasBillPayFallbackAdminLevelAccess, hasRemiFallbackAdminLevelAccess, hasOnlyReimbursementAccess, hasOnlyChargeCardAccess, hasOnlyZeniAccountsAccess, isZeniSignedInUser, hasChargeCardAccess, hasZeniAccountsAccess, hasBillPayAccess, hasReimbursementAccess, hasReimbursementAdminLevelAccess, hasBillPayAdminLevelAccess, hasChargeCardAdminLevelAccess, hasSpendManagementAccess, hasSpendManagementAdminLevelAccess, hasZeniAccountsAdminLevelAccess, hasAnyCompanyRole, hasAnyFinOpRole, hasBillPayAccessible, hasReimbursementAccessible } from './entity/userRole/userRoleType';
|
|
79
|
+
export { UserRoleType, toUserRoleType, isFinOpsUserRoleType, hasAdminLevelAccess, hasEmployeeLevelAccess, hasFullLevelAccess, hasLiteLevelAccess, isNonZeniRole, hasInvestorBankerLevelAccess, RoleMap, getUserRoleMap, hasOnlyBillPayAccess, hasZeniRoleOrCompanyOfficerAccess, hasSuperAdminLevelAccess, hasBillPayFallbackAdminLevelAccess, hasRemiFallbackAdminLevelAccess, hasOnlyReimbursementAccess, hasOnlyChargeCardAccess, hasOnlyZeniAccountsAccess, isZeniSignedInUser, getUserRoleByUserId, getUserRoleByUserIds, hasChargeCardAccess, hasZeniAccountsAccess, hasBillPayAccess, hasReimbursementAccess, hasReimbursementAdminLevelAccess, hasBillPayAdminLevelAccess, hasChargeCardAdminLevelAccess, hasSpendManagementAccess, hasSpendManagementAdminLevelAccess, hasZeniAccountsAdminLevelAccess, hasAnyCompanyRole, hasAnyFinOpRole, hasBillPayAccessible, hasReimbursementAccessible, };
|
|
80
80
|
import { SectionClassesViewReportV2, NestedClassReportV2 } from './entity/sectionClassesViewV2/sectionClassesViewSelectorTypes';
|
|
81
81
|
import { SectionClassesView as SectionClassesViewV2 } from './entity/sectionClassesViewV2/sectionClassesView';
|
|
82
82
|
export { SectionClassesViewReportV2, NestedClassReportV2, SectionClassesViewV2 };
|
|
@@ -166,8 +166,8 @@ import { fetchMyProfileView, clearSettingsView, fetchBankConnectionsView, fetchN
|
|
|
166
166
|
import { MyProfileSelectorView, MyProfile, BankConnectionsSetupView, MyBankConnectionsView } from './view/settingsView/types/settingsViewSelectorTypes';
|
|
167
167
|
import { getMyProfileView, IntegrationsView, getApprovalRuleViewDetails, getBankConnectionsSetupViewDetails, getMyBankConnectionsDetails, getIntegrationsView, getNotificationSettingsView } from './view/settingsView/settingsViewSelector';
|
|
168
168
|
import { SettingsViewState, ReminderNotificationSettingsLocalData, NotificationSettingsLocalData, NotificationSettings } from './view/settingsView/settingsViewState';
|
|
169
|
-
import { isNotificationsTabVisible } from './view/settingsView/settingsViewHelpers';
|
|
170
|
-
export { clearSettingsView, fetchMyProfileView, getMyProfileView, getMyBankConnectionsDetails, fetchBankConnectionsView, MyProfileSelectorView, MyBankConnectionsView, MyProfile, SettingsViewState, NotificationSettings, fetchNotificationSettings, getNotificationSettingsView, NotificationSettingsLocalData, ReminderNotificationSettingsLocalData, saveNotificationSettings, updateNotificationSettingsLocalData, resetNotificationSettingsLocalData, isNotificationsTabVisible, };
|
|
169
|
+
import { isAccountingTabVisible, isApprovalRulesTabVisible, isBankConnectionsTabVisible, isBusinessVerificationTabVisible, isCompanyDetailsTabVisible, isIntegrationsTabVisible, isSettingsVisible, isMyBankConnectionsTabVisible, isNotificationsTabVisible } from './view/settingsView/settingsViewHelpers';
|
|
170
|
+
export { clearSettingsView, fetchMyProfileView, getMyProfileView, getMyBankConnectionsDetails, fetchBankConnectionsView, MyProfileSelectorView, MyBankConnectionsView, MyProfile, SettingsViewState, NotificationSettings, fetchNotificationSettings, getNotificationSettingsView, NotificationSettingsLocalData, ReminderNotificationSettingsLocalData, saveNotificationSettings, updateNotificationSettingsLocalData, resetNotificationSettingsLocalData, isAccountingTabVisible, isApprovalRulesTabVisible, isBankConnectionsTabVisible, isBusinessVerificationTabVisible, isCompanyDetailsTabVisible, isIntegrationsTabVisible, isSettingsVisible, isMyBankConnectionsTabVisible, isNotificationsTabVisible, };
|
|
171
171
|
import { PeopleViewSortKey } from './view/people/peopleTypes';
|
|
172
172
|
export { PeopleViewSortKey };
|
|
173
173
|
import { fetchBalanceSheet, resetBalanceSheetNodeCollapseState, updateBalanceSheetUIState } from './view/balanceSheet/balanceSheetReducer';
|
|
@@ -240,8 +240,8 @@ export { CustomerIncomeTrend };
|
|
|
240
240
|
import { VendorExpenseTrend } from './entity/vendorExpense/vendorExpenseTrend';
|
|
241
241
|
import { VendorExpenseState, VendorSpend } from './entity/vendorExpense/vendorExpenseState';
|
|
242
242
|
export { VendorExpenseTrend, VendorExpenseState, VendorSpend };
|
|
243
|
-
import { Entity, toEntityType, EntityType } from './entity/genericEntity/entity';
|
|
244
|
-
export { Entity, toEntityType,
|
|
243
|
+
import { Entity, toEntityType, EntityType as TransactionEntityType } from './entity/genericEntity/entity';
|
|
244
|
+
export { Entity, toEntityType, TransactionEntityType };
|
|
245
245
|
import { fetchEntityAutoCompleteEpic } from './view/autoComplete/fetchEntityAutoCompleteEpic';
|
|
246
246
|
export { fetchEntityAutoCompleteEpic };
|
|
247
247
|
import { clearEntityAutoCompleteResults, fetchEntityAutoCompleteResults } from './view/autoComplete/entityAutoCompleteReducer';
|
|
@@ -267,8 +267,9 @@ import { SubscriptionSummary, SchemaKeys as SubscriptionSummarySchemaKeys } from
|
|
|
267
267
|
export { SubscriptionSummary, SubscriptionSummarySchemaKeys };
|
|
268
268
|
import { CompanyInfo, CompanyLocaleInfo, CompanyIncInfo, CompanyTaxInfo, CompanyQuestionaire, CompanyManagementInfo, CompanyManagementUserRole, Company, ParentSubsidiaryInfo, CompanyConfigInfo, CompanyReimbursementInfo, CompanyZeniAccountInfo, CompanyBillPayInfo, CompanyFeaturesActivationInfo, CompanyMileageConfigInfo, UserReimbursementInfo, OnboardingInfo, OnboardingStepsInfo, OnboardingStepInfo, AccountingConnectionCreationMode, ALL_ACCOUNTING_CONNECTION_CREATION_MODES, OnboardingIdentityVerficationStatus, IdentityVerificationStatus } from './entity/company/companyStateTypes';
|
|
269
269
|
export { CompanyInfo, CompanyLocaleInfo, CompanyIncInfo, CompanyTaxInfo, CompanyQuestionaire, CompanyManagementInfo, CompanyManagementUserRole, Company, ParentSubsidiaryInfo, CompanyConfigInfo, CompanyReimbursementInfo, CompanyZeniAccountInfo, CompanyBillPayInfo, CompanyFeaturesActivationInfo, CompanyMileageConfigInfo, UserReimbursementInfo, OnboardingInfo, OnboardingStepsInfo, OnboardingStepInfo, AccountingConnectionCreationMode, ALL_ACCOUNTING_CONNECTION_CREATION_MODES, OnboardingIdentityVerficationStatus, IdentityVerificationStatus, };
|
|
270
|
-
import { getCompanyByCompanyId, CompanyWithSchema } from './entity/company/companySelector';
|
|
271
|
-
|
|
270
|
+
import { getCompanyByCompanyId, CompanyWithSchema, getControllersForCompany, ControllerUserDetails } from './entity/company/companySelector';
|
|
271
|
+
import { getFirstControllerEmail, getFirstControllerId } from './entity/company/companyHelper';
|
|
272
|
+
export { getCompanyByCompanyId, CompanyWithSchema, getControllersForCompany, ControllerUserDetails, getFirstControllerEmail, getFirstControllerId, };
|
|
272
273
|
import { CompanyView } from './view/companyView/types/companyView';
|
|
273
274
|
export { CompanyView };
|
|
274
275
|
import { UserAndRole } from './view/companyView/types/userAndRole';
|
|
@@ -287,9 +288,10 @@ import { CompanyPortfolioView, getCompanyPortfolioView, isInfiniteRunway } from
|
|
|
287
288
|
export { CompanyPortfolioView, getCompanyPortfolioView, isInfiniteRunway };
|
|
288
289
|
import { AllCockpitTabsView, getAllCockpitTabsFilterView } from './view/companyView/selector/getAllCockpitTabsFilterView';
|
|
289
290
|
export { AllCockpitTabsView, getAllCockpitTabsFilterView };
|
|
290
|
-
import { fetchImproveUsingZeniGPT, fetchCompanyMonthEndReportView, sendCompanyMonthEndReport, saveCompanyMonthEndReport, resetCompanyMonthEndReportFetchStatus } from './view/companyMonthEndReportView/companyMonthEndReportViewReducer';
|
|
291
|
-
import { getCompanyMonthEndReportSelectorView, CompanyMonthEndReportSelectorView } from './view/companyMonthEndReportView/companyMonthEndReportViewSelector';
|
|
292
|
-
|
|
291
|
+
import { fetchImproveUsingZeniGPT, fetchCompanyMonthEndReportView, sendCompanyMonthEndReport, saveCompanyMonthEndReport, resetCompanyMonthEndReportFetchStatus, fetchCompanyMonthEndReportHistoricDates, fetchCompanyMonthEndReportHistoricData } from './view/companyMonthEndReportView/companyMonthEndReportViewReducer';
|
|
292
|
+
import { getCompanyMonthEndReportSelectorView, CompanyMonthEndReportSelectorView, getCompanyMonthEndReportHistoricData, CompanyMonthEndReportHistoricDataSelectorView } from './view/companyMonthEndReportView/companyMonthEndReportViewSelector';
|
|
293
|
+
import { CompanyMonthEndReportData } from './view/companyMonthEndReportView/companyMonthEndReportViewState';
|
|
294
|
+
export { fetchImproveUsingZeniGPT, fetchCompanyMonthEndReportView, sendCompanyMonthEndReport, saveCompanyMonthEndReport, resetCompanyMonthEndReportFetchStatus, getCompanyMonthEndReportSelectorView, CompanyMonthEndReportSelectorView, fetchCompanyMonthEndReportHistoricDates, fetchCompanyMonthEndReportHistoricData, getCompanyMonthEndReportHistoricData, CompanyMonthEndReportHistoricDataSelectorView, CompanyMonthEndReportData, };
|
|
293
295
|
import { Runway, AccountingSummary } from './entity/portfolio/accountingSummary/accountingSummaryState';
|
|
294
296
|
export { Runway, AccountingSummary };
|
|
295
297
|
import { AddressUpdatableInfo, AddressType, NewAddressData } from './view/addressView/addressViewState';
|
|
@@ -464,8 +466,6 @@ import { TransactionListByCategoryType, getTransactionsListByCategoryType, getTr
|
|
|
464
466
|
import { TransactionCategoryType } from './view/transactionList/transactionListState';
|
|
465
467
|
export { TransactionListByCategoryType, getTransactionsListByCategoryType, getTransactionListUIStateByCategoryType, TransactionCategoryType, };
|
|
466
468
|
export { Recommendation };
|
|
467
|
-
import { EntityType as TransactionEntityType } from './entity/genericEntity/entity';
|
|
468
|
-
export { TransactionEntityType };
|
|
469
469
|
import { TransactionDetailLocalData, TransactionDetailLineItemData, TransactionVendorUpdates } from './view/transactionDetail/transactionDetailTypes';
|
|
470
470
|
export { TransactionDetailLocalData, TransactionDetailLineItemData, TransactionVendorUpdates, };
|
|
471
471
|
import { getChangedLineItemCountFromLocalData } from './view/transactionDetail/transactionDetailLocalDataHelper';
|
|
@@ -490,8 +490,8 @@ import { VendorListSelectorView, getVendorList, VendorListView, isColumnYTDSpend
|
|
|
490
490
|
export { BillPayCardReport };
|
|
491
491
|
export { ReimbursementCardReport };
|
|
492
492
|
export { VendorListViewSortKey, VendorViewUIState, VendorListSelectorView, VendorListQuery, getVendorList, VendorListView, updateSortUiState, updatePageToken, updateYTDSelectionUIState, VendorListViewYTDSpendSortKey, isColumnYTDSpend, isVendorsTabVisible, VendorViewType, VendorReportIDType, toVendorReportIDType, };
|
|
493
|
-
import {
|
|
494
|
-
export {
|
|
493
|
+
import { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName } from './view/recommendation/recommendationReducer';
|
|
494
|
+
export { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName, };
|
|
495
495
|
import { fetchOwnerList } from './view/ownerList/ownerListReducer';
|
|
496
496
|
export { fetchOwnerList };
|
|
497
497
|
import { getZeniAccountList, ZeniAccountListSelectorView } from './view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector';
|