@zeniai/client-epic-state 5.0.53 → 5.0.55-betaAR1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/entity/approvalRule/approvalRulePayload.d.ts +27 -5
- package/lib/entity/approvalRule/approvalRulePayload.js +131 -10
- package/lib/entity/approvalRule/approvalRuleSelector.d.ts +25 -1
- package/lib/entity/approvalRule/approvalRuleSelector.js +40 -0
- package/lib/entity/approvalRule/approvalRuleState.d.ts +48 -7
- package/lib/entity/tenant/epic/deleteConnectionEpic.d.ts +1 -1
- package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.d.ts +1 -1
- package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.d.ts +21 -0
- package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.js +42 -0
- package/lib/entity/tenant/epic/saveOAuthConnectionEpic.d.ts +1 -1
- package/lib/entity/tenant/tenantReducer.d.ts +64 -16
- package/lib/entity/tenant/tenantReducer.js +86 -7
- package/lib/entity/tenant/tenantState.d.ts +3 -1
- package/lib/epic.js +2 -1
- package/lib/esm/entity/approvalRule/approvalRulePayload.js +131 -10
- package/lib/esm/entity/approvalRule/approvalRuleSelector.js +35 -0
- package/lib/esm/entity/tenant/epic/saveConnectorCredentialsEpic.js +38 -0
- package/lib/esm/entity/tenant/tenantReducer.js +84 -5
- package/lib/esm/epic.js +2 -1
- package/lib/esm/index.js +4 -3
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +5 -7
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +46 -16
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js +7 -2
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +5 -7
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +1 -1
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +7 -2
- package/lib/index.d.ts +6 -4
- package/lib/index.js +38 -31
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
- package/lib/view/companyView/types/cockpitTypes.d.ts +1 -1
- package/lib/view/people/peopleTypes.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +4 -6
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +46 -16
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.d.ts +15 -3
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +7 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +4 -6
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +7 -2
- package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
var _a;
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.toConnection = exports.toRoleResource = exports.resendVerifyDeviceOTPFailure = exports.resendVerifyDeviceOTPSuccess = exports.resendVerifyDeviceOTP = exports.verifyDeviceWithTwoFAFailure = exports.verifyDeviceWithTwoFASuccess = exports.verifyDeviceWithTwoFA = exports.updateTenantMasterTOSInfo = exports.updateTenantAccountingClassesEnabled = exports.trigger2FA = exports.resetSignInState = exports.updateTreasuryVideoViewedForLoggedInUser = exports.updateReferViewedForLoggedInUser = void 0;
|
|
7
|
+
exports.updateSubscriptionSummaryForTenantFailure = exports.updateSubscriptionSummaryForTenantSuccess = exports.fetchSubscriptionSummaryForTenant = exports.clearAll = exports.deleteConnectionFailure = exports.deleteConnectionSuccess = exports.deleteConnection = exports.saveConnectorCredentialsFailure = exports.saveConnectorCredentialsSuccess = exports.saveConnectorCredentials = exports.saveOAuthConnectionFailure = exports.saveOAuthConnectionSuccess = exports.saveOAuthConnection = exports.saveAPIKeyConnectionFailure = exports.saveAPIKeyConnectionSuccess = exports.saveAPIKeyConnection = exports.fetchExternalConnectionsSuccess = exports.fetchExternalConnectionsFailure = exports.saveExternalConnectionFailure = exports.saveExternalConnectionSuccess = exports.saveExternalConnection = exports.fetchExternalConnections = exports.updateLoggedInUser = exports.sessionHeartbeatFailure = exports.sessionHeartbeatSuccess = exports.sendSessionHeartbeat = exports.signOutSuccess = exports.doSignOut = exports.updateSignInState = exports.sendEmailMagicLinkToUserFailure = exports.sendEmailMagicLinkToUserSuccess = exports.sendEmailMagicLinkToUser = exports.magicLinkSignInFailure = exports.magicLinkSignInSuccess = exports.doMagicLinkSignIn = exports.doSignIn = exports.updateExcludedResourcesFailure = exports.updateExcludedResourcesSuccess = exports.fetchExcludedResources = exports.updateCurrentTenant = exports.updateTenantFailure = exports.updateTenantSuccess = exports.fetchActiveTenant = exports.updateTenantsFailure = exports.updateTenantsSuccess = exports.fetchAllTenants = exports.updateTenants = exports.initialState = exports.toExternalSupportedTool = exports.toExternalIntegrationType = void 0;
|
|
8
|
+
exports.toConnection = exports.toRoleResource = exports.resendVerifyDeviceOTPFailure = exports.resendVerifyDeviceOTPSuccess = exports.resendVerifyDeviceOTP = exports.verifyDeviceWithTwoFAFailure = exports.verifyDeviceWithTwoFASuccess = exports.verifyDeviceWithTwoFA = exports.updateTenantMasterTOSInfo = exports.updateTenantAccountingClassesEnabled = exports.trigger2FA = exports.resetSignInState = exports.updateTreasuryVideoViewedForLoggedInUser = exports.updateReferViewedForLoggedInUser = exports.updateTenantReimbursementInfo = exports.removeOnboardingTenant = exports.updateOnboardingTenants = void 0;
|
|
9
9
|
exports.mapConnectionsPayloadToState = mapConnectionsPayloadToState;
|
|
10
10
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
11
11
|
const js_base64_1 = require("js-base64");
|
|
@@ -18,10 +18,16 @@ const netBurnOrIncomeStoryCardState_1 = require("../../view/netBurnOrIncomeStory
|
|
|
18
18
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
19
19
|
const subscriptionSummaryReducer_1 = require("../subscription/subscriptionSummary/subscriptionSummaryReducer");
|
|
20
20
|
const userRolePayload_1 = require("../userRole/userRolePayload");
|
|
21
|
-
const EXTERNAL_INTEGRATION_TYPES = ['revenue'];
|
|
21
|
+
const EXTERNAL_INTEGRATION_TYPES = ['revenue', 'payments'];
|
|
22
22
|
const toExternalIntegrationType = (v) => (0, stringToUnion_1.stringToUnion)(v, EXTERNAL_INTEGRATION_TYPES);
|
|
23
23
|
exports.toExternalIntegrationType = toExternalIntegrationType;
|
|
24
|
-
const EXTERNAL_SUPPORTED_TOOLS = [
|
|
24
|
+
const EXTERNAL_SUPPORTED_TOOLS = [
|
|
25
|
+
'chargebee',
|
|
26
|
+
'hubspot',
|
|
27
|
+
'stripe',
|
|
28
|
+
'mercury',
|
|
29
|
+
'paypal',
|
|
30
|
+
];
|
|
25
31
|
const toExternalSupportedTool = (v) => (0, stringToUnion_1.stringToUnion)(v, EXTERNAL_SUPPORTED_TOOLS);
|
|
26
32
|
exports.toExternalSupportedTool = toExternalSupportedTool;
|
|
27
33
|
exports.initialState = {
|
|
@@ -351,6 +357,8 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
351
357
|
revenue: [],
|
|
352
358
|
saveConnectionState: 'Not-Started',
|
|
353
359
|
saveAPIKeyConnectionState: 'Not-Started',
|
|
360
|
+
saveConnectorCredentialsStateBySlug: {},
|
|
361
|
+
saveConnectorCredentialsErrorBySlug: {},
|
|
354
362
|
saveOAuthConnectionState: 'Not-Started',
|
|
355
363
|
deleteConnectionState: 'Not-Started',
|
|
356
364
|
error: undefined,
|
|
@@ -370,6 +378,8 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
370
378
|
revenue,
|
|
371
379
|
saveConnectionState: 'Completed',
|
|
372
380
|
saveAPIKeyConnectionState: 'Not-Started',
|
|
381
|
+
saveConnectorCredentialsStateBySlug: {},
|
|
382
|
+
saveConnectorCredentialsErrorBySlug: {},
|
|
373
383
|
saveOAuthConnectionState: 'Not-Started',
|
|
374
384
|
deleteConnectionState: 'Not-Started',
|
|
375
385
|
error: undefined,
|
|
@@ -389,6 +399,8 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
389
399
|
revenue: [],
|
|
390
400
|
saveConnectionState: 'Error',
|
|
391
401
|
saveAPIKeyConnectionState: 'Not-Started',
|
|
402
|
+
saveConnectorCredentialsStateBySlug: {},
|
|
403
|
+
saveConnectorCredentialsErrorBySlug: {},
|
|
392
404
|
saveOAuthConnectionState: 'Not-Started',
|
|
393
405
|
deleteConnectionState: 'Not-Started',
|
|
394
406
|
error: status,
|
|
@@ -438,7 +450,15 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
438
450
|
},
|
|
439
451
|
saveAPIKeyConnection: {
|
|
440
452
|
prepare(tenantId, connectionId, connectionType, connectionName, credentials) {
|
|
441
|
-
return {
|
|
453
|
+
return {
|
|
454
|
+
payload: {
|
|
455
|
+
tenantId,
|
|
456
|
+
connectionId,
|
|
457
|
+
connectionType,
|
|
458
|
+
connectionName,
|
|
459
|
+
credentials,
|
|
460
|
+
},
|
|
461
|
+
};
|
|
442
462
|
},
|
|
443
463
|
reducer(draft, action) {
|
|
444
464
|
const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
|
|
@@ -484,7 +504,15 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
484
504
|
},
|
|
485
505
|
saveOAuthConnection: {
|
|
486
506
|
prepare(tenantId, connectionId, connectionType, connectionName, credentials) {
|
|
487
|
-
return {
|
|
507
|
+
return {
|
|
508
|
+
payload: {
|
|
509
|
+
tenantId,
|
|
510
|
+
connectionId,
|
|
511
|
+
connectionType,
|
|
512
|
+
connectionName,
|
|
513
|
+
credentials,
|
|
514
|
+
},
|
|
515
|
+
};
|
|
488
516
|
},
|
|
489
517
|
reducer(draft, action) {
|
|
490
518
|
const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
|
|
@@ -524,6 +552,57 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
524
552
|
}
|
|
525
553
|
},
|
|
526
554
|
},
|
|
555
|
+
// saveConnectorCredentials — generic save action backing the new
|
|
556
|
+
// POST /1.0/connectors/<slug>/credentials endpoint. Used by Phase 1
|
|
557
|
+
// connectors (Stripe + Mercury api_key, PayPal client_credentials).
|
|
558
|
+
// ChargeBee + HubSpot continue using the legacy saveAPIKeyConnection /
|
|
559
|
+
// saveOAuthConnection actions that POST to /1.0/connections/<id>.
|
|
560
|
+
saveConnectorCredentials: {
|
|
561
|
+
prepare(tenantId, connectionType, args) {
|
|
562
|
+
return {
|
|
563
|
+
payload: { tenantId, connectionType, ...args },
|
|
564
|
+
};
|
|
565
|
+
},
|
|
566
|
+
reducer(draft, action) {
|
|
567
|
+
const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
|
|
568
|
+
if (existing != null) {
|
|
569
|
+
existing.saveConnectorCredentialsStateBySlug[action.payload.connectionName] = 'In-Progress';
|
|
570
|
+
delete existing.saveConnectorCredentialsErrorBySlug[action.payload.connectionName];
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
saveConnectorCredentialsSuccess: {
|
|
575
|
+
prepare(tenantId, connectionType, connectionName, connectionPayload) {
|
|
576
|
+
return {
|
|
577
|
+
payload: { tenantId, connectionType, connectionName, connectionPayload },
|
|
578
|
+
};
|
|
579
|
+
},
|
|
580
|
+
reducer(draft, action) {
|
|
581
|
+
const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
|
|
582
|
+
if (existing != null) {
|
|
583
|
+
existing.saveConnectorCredentialsStateBySlug[action.payload.connectionName] = 'Completed';
|
|
584
|
+
// Upsert by connection_name — see saveAPIKeyConnectionSuccess for
|
|
585
|
+
// the rationale on lazy bucket init + replace-or-append.
|
|
586
|
+
if (existing[action.payload.connectionType] == null) {
|
|
587
|
+
existing[action.payload.connectionType] = [];
|
|
588
|
+
}
|
|
589
|
+
replaceOrAppendConnectionByName(existing[action.payload.connectionType], (0, exports.toConnection)(action.payload.connectionPayload));
|
|
590
|
+
delete existing.saveConnectorCredentialsErrorBySlug[action.payload.connectionName];
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
saveConnectorCredentialsFailure: {
|
|
595
|
+
prepare(tenantId, connectionName, status) {
|
|
596
|
+
return { payload: { tenantId, connectionName, status } };
|
|
597
|
+
},
|
|
598
|
+
reducer(draft, action) {
|
|
599
|
+
const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
|
|
600
|
+
if (existing != null) {
|
|
601
|
+
existing.saveConnectorCredentialsStateBySlug[action.payload.connectionName] = 'Error';
|
|
602
|
+
existing.saveConnectorCredentialsErrorBySlug[action.payload.connectionName] = action.payload.status;
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
},
|
|
527
606
|
deleteConnection: {
|
|
528
607
|
prepare(tenantId, connectionId, connectionType) {
|
|
529
608
|
return { payload: { tenantId, connectionId, connectionType } };
|
|
@@ -712,7 +791,7 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
712
791
|
},
|
|
713
792
|
},
|
|
714
793
|
});
|
|
715
|
-
_a = tenant.actions, exports.updateTenants = _a.updateTenants, exports.fetchAllTenants = _a.fetchAllTenants, exports.updateTenantsSuccess = _a.updateTenantsSuccess, exports.updateTenantsFailure = _a.updateTenantsFailure, exports.fetchActiveTenant = _a.fetchActiveTenant, exports.updateTenantSuccess = _a.updateTenantSuccess, exports.updateTenantFailure = _a.updateTenantFailure, exports.updateCurrentTenant = _a.updateCurrentTenant, exports.fetchExcludedResources = _a.fetchExcludedResources, exports.updateExcludedResourcesSuccess = _a.updateExcludedResourcesSuccess, exports.updateExcludedResourcesFailure = _a.updateExcludedResourcesFailure, exports.doSignIn = _a.doSignIn, exports.doMagicLinkSignIn = _a.doMagicLinkSignIn, exports.magicLinkSignInSuccess = _a.magicLinkSignInSuccess, exports.magicLinkSignInFailure = _a.magicLinkSignInFailure, exports.sendEmailMagicLinkToUser = _a.sendEmailMagicLinkToUser, exports.sendEmailMagicLinkToUserSuccess = _a.sendEmailMagicLinkToUserSuccess, exports.sendEmailMagicLinkToUserFailure = _a.sendEmailMagicLinkToUserFailure, exports.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, exports.sendSessionHeartbeat = _a.sendSessionHeartbeat, exports.sessionHeartbeatSuccess = _a.sessionHeartbeatSuccess, exports.sessionHeartbeatFailure = _a.sessionHeartbeatFailure, exports.updateLoggedInUser = _a.updateLoggedInUser, exports.fetchExternalConnections = _a.fetchExternalConnections, exports.saveExternalConnection = _a.saveExternalConnection, exports.saveExternalConnectionSuccess = _a.saveExternalConnectionSuccess, exports.saveExternalConnectionFailure = _a.saveExternalConnectionFailure, exports.fetchExternalConnectionsFailure = _a.fetchExternalConnectionsFailure, exports.fetchExternalConnectionsSuccess = _a.fetchExternalConnectionsSuccess, exports.saveAPIKeyConnection = _a.saveAPIKeyConnection, exports.saveAPIKeyConnectionSuccess = _a.saveAPIKeyConnectionSuccess, exports.saveAPIKeyConnectionFailure = _a.saveAPIKeyConnectionFailure, exports.saveOAuthConnection = _a.saveOAuthConnection, exports.saveOAuthConnectionSuccess = _a.saveOAuthConnectionSuccess, exports.saveOAuthConnectionFailure = _a.saveOAuthConnectionFailure, exports.deleteConnection = _a.deleteConnection, exports.deleteConnectionSuccess = _a.deleteConnectionSuccess, exports.deleteConnectionFailure = _a.deleteConnectionFailure, exports.clearAll = _a.clearAll, exports.fetchSubscriptionSummaryForTenant = _a.fetchSubscriptionSummaryForTenant, exports.updateSubscriptionSummaryForTenantSuccess = _a.updateSubscriptionSummaryForTenantSuccess, exports.updateSubscriptionSummaryForTenantFailure = _a.updateSubscriptionSummaryForTenantFailure, exports.updateOnboardingTenants = _a.updateOnboardingTenants, exports.removeOnboardingTenant = _a.removeOnboardingTenant, exports.updateTenantReimbursementInfo = _a.updateTenantReimbursementInfo, exports.updateReferViewedForLoggedInUser = _a.updateReferViewedForLoggedInUser, exports.updateTreasuryVideoViewedForLoggedInUser = _a.updateTreasuryVideoViewedForLoggedInUser, exports.resetSignInState = _a.resetSignInState, exports.trigger2FA = _a.trigger2FA, exports.updateTenantAccountingClassesEnabled = _a.updateTenantAccountingClassesEnabled, exports.updateTenantMasterTOSInfo = _a.updateTenantMasterTOSInfo, exports.verifyDeviceWithTwoFA = _a.verifyDeviceWithTwoFA, exports.verifyDeviceWithTwoFASuccess = _a.verifyDeviceWithTwoFASuccess, exports.verifyDeviceWithTwoFAFailure = _a.verifyDeviceWithTwoFAFailure, exports.resendVerifyDeviceOTP = _a.resendVerifyDeviceOTP, exports.resendVerifyDeviceOTPSuccess = _a.resendVerifyDeviceOTPSuccess, exports.resendVerifyDeviceOTPFailure = _a.resendVerifyDeviceOTPFailure;
|
|
794
|
+
_a = tenant.actions, exports.updateTenants = _a.updateTenants, exports.fetchAllTenants = _a.fetchAllTenants, exports.updateTenantsSuccess = _a.updateTenantsSuccess, exports.updateTenantsFailure = _a.updateTenantsFailure, exports.fetchActiveTenant = _a.fetchActiveTenant, exports.updateTenantSuccess = _a.updateTenantSuccess, exports.updateTenantFailure = _a.updateTenantFailure, exports.updateCurrentTenant = _a.updateCurrentTenant, exports.fetchExcludedResources = _a.fetchExcludedResources, exports.updateExcludedResourcesSuccess = _a.updateExcludedResourcesSuccess, exports.updateExcludedResourcesFailure = _a.updateExcludedResourcesFailure, exports.doSignIn = _a.doSignIn, exports.doMagicLinkSignIn = _a.doMagicLinkSignIn, exports.magicLinkSignInSuccess = _a.magicLinkSignInSuccess, exports.magicLinkSignInFailure = _a.magicLinkSignInFailure, exports.sendEmailMagicLinkToUser = _a.sendEmailMagicLinkToUser, exports.sendEmailMagicLinkToUserSuccess = _a.sendEmailMagicLinkToUserSuccess, exports.sendEmailMagicLinkToUserFailure = _a.sendEmailMagicLinkToUserFailure, exports.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, exports.sendSessionHeartbeat = _a.sendSessionHeartbeat, exports.sessionHeartbeatSuccess = _a.sessionHeartbeatSuccess, exports.sessionHeartbeatFailure = _a.sessionHeartbeatFailure, exports.updateLoggedInUser = _a.updateLoggedInUser, exports.fetchExternalConnections = _a.fetchExternalConnections, exports.saveExternalConnection = _a.saveExternalConnection, exports.saveExternalConnectionSuccess = _a.saveExternalConnectionSuccess, exports.saveExternalConnectionFailure = _a.saveExternalConnectionFailure, exports.fetchExternalConnectionsFailure = _a.fetchExternalConnectionsFailure, exports.fetchExternalConnectionsSuccess = _a.fetchExternalConnectionsSuccess, exports.saveAPIKeyConnection = _a.saveAPIKeyConnection, exports.saveAPIKeyConnectionSuccess = _a.saveAPIKeyConnectionSuccess, exports.saveAPIKeyConnectionFailure = _a.saveAPIKeyConnectionFailure, exports.saveOAuthConnection = _a.saveOAuthConnection, exports.saveOAuthConnectionSuccess = _a.saveOAuthConnectionSuccess, exports.saveOAuthConnectionFailure = _a.saveOAuthConnectionFailure, exports.saveConnectorCredentials = _a.saveConnectorCredentials, exports.saveConnectorCredentialsSuccess = _a.saveConnectorCredentialsSuccess, exports.saveConnectorCredentialsFailure = _a.saveConnectorCredentialsFailure, exports.deleteConnection = _a.deleteConnection, exports.deleteConnectionSuccess = _a.deleteConnectionSuccess, exports.deleteConnectionFailure = _a.deleteConnectionFailure, exports.clearAll = _a.clearAll, exports.fetchSubscriptionSummaryForTenant = _a.fetchSubscriptionSummaryForTenant, exports.updateSubscriptionSummaryForTenantSuccess = _a.updateSubscriptionSummaryForTenantSuccess, exports.updateSubscriptionSummaryForTenantFailure = _a.updateSubscriptionSummaryForTenantFailure, exports.updateOnboardingTenants = _a.updateOnboardingTenants, exports.removeOnboardingTenant = _a.removeOnboardingTenant, exports.updateTenantReimbursementInfo = _a.updateTenantReimbursementInfo, exports.updateReferViewedForLoggedInUser = _a.updateReferViewedForLoggedInUser, exports.updateTreasuryVideoViewedForLoggedInUser = _a.updateTreasuryVideoViewedForLoggedInUser, exports.resetSignInState = _a.resetSignInState, exports.trigger2FA = _a.trigger2FA, exports.updateTenantAccountingClassesEnabled = _a.updateTenantAccountingClassesEnabled, exports.updateTenantMasterTOSInfo = _a.updateTenantMasterTOSInfo, exports.verifyDeviceWithTwoFA = _a.verifyDeviceWithTwoFA, exports.verifyDeviceWithTwoFASuccess = _a.verifyDeviceWithTwoFASuccess, exports.verifyDeviceWithTwoFAFailure = _a.verifyDeviceWithTwoFAFailure, exports.resendVerifyDeviceOTP = _a.resendVerifyDeviceOTP, exports.resendVerifyDeviceOTPSuccess = _a.resendVerifyDeviceOTPSuccess, exports.resendVerifyDeviceOTPFailure = _a.resendVerifyDeviceOTPFailure;
|
|
716
795
|
exports.default = tenant.reducer;
|
|
717
796
|
/**
|
|
718
797
|
* Converts tenants payload to Tenant and User State
|
|
@@ -9,7 +9,7 @@ import { MasterTOSInfo, UserReimbursementInfo } from '../company/companyStateTyp
|
|
|
9
9
|
import { SubscriptionSummary } from '../subscription/subscriptionSummary/subscriptionSummaryState';
|
|
10
10
|
import { InvitationStatus } from '../userRole/userRoleState';
|
|
11
11
|
import { UserRoleType } from '../userRole/userRoleType';
|
|
12
|
-
import { AuthProvider } from './tenantReducer';
|
|
12
|
+
import { AuthProvider, ExternalSupportedTool } from './tenantReducer';
|
|
13
13
|
export interface TenantExternalConnections {
|
|
14
14
|
accounting: Connection[];
|
|
15
15
|
deleteConnectionState: FetchState;
|
|
@@ -18,6 +18,8 @@ export interface TenantExternalConnections {
|
|
|
18
18
|
revenue: Connection[];
|
|
19
19
|
saveAPIKeyConnectionState: FetchState;
|
|
20
20
|
saveConnectionState: FetchState;
|
|
21
|
+
saveConnectorCredentialsErrorBySlug: Partial<Record<ExternalSupportedTool, ZeniAPIStatus>>;
|
|
22
|
+
saveConnectorCredentialsStateBySlug: Partial<Record<ExternalSupportedTool, FetchState>>;
|
|
21
23
|
saveOAuthConnectionState: FetchState;
|
|
22
24
|
deleteConnectionError?: ZeniAPIStatus;
|
|
23
25
|
error?: ZeniAPIStatus;
|
package/lib/epic.js
CHANGED
|
@@ -18,6 +18,7 @@ const fetchSubscriptionSummaryForTenantEpic_1 = require("./entity/tenant/epic/fe
|
|
|
18
18
|
const resendVerifyDeviceOTPEpic_1 = require("./entity/tenant/epic/resendVerifyDeviceOTPEpic");
|
|
19
19
|
const deleteConnectionEpic_1 = require("./entity/tenant/epic/deleteConnectionEpic");
|
|
20
20
|
const saveAPIKeyConnectionEpic_1 = require("./entity/tenant/epic/saveAPIKeyConnectionEpic");
|
|
21
|
+
const saveConnectorCredentialsEpic_1 = require("./entity/tenant/epic/saveConnectorCredentialsEpic");
|
|
21
22
|
const saveExternalConnectionEpic_1 = require("./entity/tenant/epic/saveExternalConnectionEpic");
|
|
22
23
|
const saveOAuthConnectionEpic_1 = require("./entity/tenant/epic/saveOAuthConnectionEpic");
|
|
23
24
|
const sendEmailMagicLinkToUserEpic_1 = require("./entity/tenant/epic/sendEmailMagicLinkToUserEpic");
|
|
@@ -579,7 +580,7 @@ const fetchZeniAccStatementPageEpic_1 = require("./view/zeniAccStatementList/fet
|
|
|
579
580
|
const zeniAccountsPromoCardEpic_1 = require("./view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic");
|
|
580
581
|
const approveOAuthConsentEpic_1 = require("./view/zeniOAuthView/epics/approveOAuthConsentEpic");
|
|
581
582
|
// Note: Please maintain strict alphabetical order
|
|
582
|
-
const combinedEpics = (0, redux_observable_1.combineEpics)(acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptMasterTOSEpic_1.acceptMasterTOSEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptTreasuryTermsEpic_1.acceptTreasuryTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOAuthConsentEpic_1.approveOAuthConsentEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveOrRejectRemisBulkActionEpic_1.approveOrRejectRemisBulkActionEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, backgroundRefetchReviewTabEpic_1.backgroundRefetchReviewTabEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAiAccountantOnboardingEpic_1.cancelAiAccountantOnboardingEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, cancelOrDeleteRemisBulkActionEpic_1.cancelOrDeleteRemisBulkActionEpic, cancelScheduleAccruedJournalEntryEpic_1.cancelScheduleAccruedJournalEntryEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, closeChargeCardEpic_1.closeChargeCardEpic, closeChargeCardsEpic_1.closeChargeCardsEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createAutoTransferRuleEpic_1.createAutoTransferRuleEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesAccruedEpic_1.createNewSchedulesAccruedEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createSessionAndSubmitEpic_1.createSessionAndSubmitEpic, createSessionEpic_1.createSessionEpic, createTagEpic_1.createTagEpic, createTaskFromTaskGroupTemplateEpic_1.createTaskFromTaskGroupTemplateEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteAccountStatementEpic_1.deleteAccountStatementEpic, deleteAutoTransferRuleEpic_1.deleteAutoTransferRuleEpic, excludeAccountFromReconciliationEpic_1.excludeAccountFromReconciliationEpic, includeAccountInReconciliationEpic_1.includeAccountInReconciliationEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteChatSessionEpic_1.deleteChatSessionEpic, deleteConnectionEpic_1.deleteConnectionEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleAccruedDetailEpic_1.deleteScheduleAccruedDetailEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, snoozeTaskEpic_1.snoozeTaskEpic, unsnoozeTaskEpic_1.unsnoozeTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteTransactionAttachmentEpic_1.deleteTransactionAttachmentEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, doMagicLinkSignInEpic_1.doMagicLinkSignInEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, sendEmailMagicLinkToUserEpic_1.sendEmailMagicLinkToUserEpic, sessionHeartbeatEpic_1.sessionHeartbeatEpic, verifyDeviceWithTwoFAEpic_1.verifyDeviceWithTwoFAEpic, downloadAccountingProviderAttachmentEpic_1.downloadAccountingProviderAttachmentEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableChargeCardAutoPayEpic_1.enableChargeCardAutoPayEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, expressInterestChargeCardEpic_1.expressInterestChargeCardEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchAccountSettingsListForAccountTypesEpic_1.fetchAccountSettingsListForAccountTypesEpic, fetchAccruedScheduleListEpic_1.fetchAccruedScheduleListEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAiAccountantCustomersEpic_1.fetchAiAccountantCustomersEpic, fetchAiAccountantJobsEpic_1.fetchAiAccountantJobsEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllExpenseAutomationTabsEpic_1.fetchAllExpenseAutomationTabsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, aggregatedReportEpic_1.fetchAggregatedReportEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, fetchAutoTransferReviewDetailEpic_1.fetchAutoTransferReviewDetailEpic, fetchAutoTransferRuleHistory_1.fetchAutoTransferRuleHistoryEpic, fetchAutoTransferRulesEpic_1.fetchAutoTransferRulesEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillingAccountsViewEpic_1.fetchBillingAccountsListEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, fetchCardProfilesEpic_1.fetchCardProfilesEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, 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, fetchChargeCardPaymentPageEpic_1.fetchChargeCardPaymentPageEpic, fetchChargeCardRepaymentDetailEpic_1.fetchChargeCardRepaymentDetailEpic, fetchChargeCardPaymentHistoryEpic_1.fetchChargeCardPaymentHistoryEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardStatementListEpic_1.fetchChargeCardStatementListEpic, fetchChargeCardTransactionAttachmentsEpic_1.fetchChargeCardTransactionAttachmentsEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchChargeCardTransactionStatisticsEpic_1.fetchChargeCardTransactionStatisticsEpic, fetchChargeCardsRecurringExpensesEpic_1.fetchChargeCardsRecurringExpensesEpic, fetchChatHistoryEpic_1.fetchChatHistoryEpic, fetchChatSessionsForUserEpic_1.fetchChatSessionsForUserEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, fetchCompanyBillingAddressEpic_1.fetchCompanyBillingAddressEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricConfigEpic_1.fetchCompanyHealthMetricConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic_1.fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic_1.fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic_1.fetchCompanyTaskManagerViewEpic, fetchTaskManagerMetricsEpic_1.fetchTaskManagerMetricsEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCreditAccountRepaymentEpic_1.fetchCreditAccountRepaymentEpic, fetchCreditAgentAccessEpic_1.fetchCreditAgentAccessEpic, fetchCreditAgentMacroEpic_1.fetchCreditAgentMacroEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDashboardLayoutEpic_1.fetchDashboardLayoutEpic, fetchDebitCardSummaryEpic_1.fetchDebitCardSummaryEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountLimitEpic_1.fetchDepositAccountLimitEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountListForCardsEpic_1.fetchDepositAccountListForCardsEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEligibleActionsForBillEpic_1.fetchEligibleActionsForBillEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchFluxAnalysisViewEpic_1.fetchFluxAnalysisViewEpic, initializeTransactionCategorizationLocalDataEpic_1.initializeTransactionCategorizationViewLocalDataEpic, fetchJeSchedulesEpic_1.fetchJeSchedulesEpic, fetchJeSchedulePageEpic_1.fetchJeSchedulesPageEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, fetchMissingReceiptsEpic_1.fetchMissingReceiptsEpic, bulkUploadReceiptsEpic_1.bulkUploadReceiptsEpic, confirmBulkUploadMatchEpic_1.confirmBulkUploadMatchEpic, fetchBulkUploadBatchDetailsEpic_1.fetchBulkUploadBatchDetailsEpic, fetchMultipleBatchDetailsEpic_1.fetchMultipleBatchDetailsEpic, fetchMoreBatchDetailsEpic_1.fetchMoreBatchDetailsEpic, fetchBulkUploadBatchesEpic_1.fetchBulkUploadBatchesEpic, fetchCompletedTransactionsEpic_1.fetchCompletedTransactionsEpic, refetchCompletedTransactionsOnBulkUploadSortEpic_1.refetchCompletedTransactionsOnBulkUploadSortEpic, watchBulkUploadBatchStatusEpic_1.bulkUploadAutomatchingTimeoutEpic, bulkUploadMatchResultToastEpic_1.bulkUploadMatchResultToastEpic, watchBulkUploadBatchStatusEpic_1.pollBulkUploadBatchStatusEpic, watchBulkUploadBatchStatusEpic_1.pusherBatchStatusCompletionEpic, restoreBulkUploadAutomatchingOnMountEpic_1.restoreBulkUploadAutomatchingOnMountEpic, searchTransactionsForManualMatchEpic_1.searchTransactionsForManualMatchEpic, fetchReconciliationViewEpic_1.fetchReconciliationViewEpic, saveTransactionCategorizationEpic_1.saveTransactionCategorizationEpic, fetchTransactionCategorizationEpic_1.fetchTransactionCategorizationEpic, fetchTransactionCategorizationViewEpic_1.fetchTransactionCategorizationViewEpic, updateTransactionCategorizationEpic_1.updateTransactionCategorizationEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExpressPayInitialDetailsEpic_1.fetchExpressPayInitialDetailsEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, reportsClassViewRefetchingEpic_1.initiateReportsClassViewRefetchingEpic, reportsResyncEpic_1.reportsResyncEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchIntlVerificationFormEpic_1.fetchIntlVerificationFormEpic, fetchIssueCardPageEpic_1.fetchIssueCardPageEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMonthClosePerformanceTrendEpic_1.fetchMonthClosePerformanceTrendEpic, fetchMonthEndCloseChecksEpic_1.fetchMonthEndCloseChecksEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic_1.fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic_1.fetchNotificationUnreadCountEpic, fetchNotificationViewEpic_1.fetchNotificationViewEpic, fetchRegisteredInterestsEpic_1.fetchRegisteredInterestsEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountBalanceEpic_1.fetchPaymentAccountBalanceEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPaymentSourcesEpic_1.fetchPaymentSourcesEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeProjectViewEpic_1.fetchProfitAndLossForTimeframeProjectViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, profitAndLossProjectViewEpic_1.fetchProfitAndLossProjectViewEpic, fetchProjectListEpic_1.fetchProjectListEpic, fetchQBOConnectionPoolEpic_1.fetchQBOConnectionPoolEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountSettingsEpic_1.fetchRecommendationForAccountSettingsEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchRecommendedTransactionRowIndexEpic_1.fetchRecommendedTransactionRowIndexEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic_1.fetchReviewTransferDetailEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchScheduleAccruedDetailsEpic_1.fetchScheduleAccruedDetailsEpic, fetchScheduleAccruedDetailsPageEpic_1.fetchScheduleAccruedDetailsPageEpic, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic_1.fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic_1.fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic_1.fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic_1.fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic_1.fetchSubscriptionListEpic, fetchSubscriptionPlansEpic_1.fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic_1.fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic_1.fetchSubscriptionViewEpic, fetchSuggestedQuestionsEpic_1.fetchSuggestedQuestionsEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskGroupTemplatesEpic_1.fetchTaskGroupTemplatesEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, fetchTransactionActivityLogEpic_1.fetchTransactionActivityLogEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByProjectEpic_1.fetchTransactionListByProjectEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTreasuryDetailEpic_1.fetchTreasuryDetailEpic, fetchTreasuryFundsEpic_1.fetchTreasuryFundsEpic, fetchTreasuryHistoryEpic_1.fetchTreasuryHistoryEpic, fetchTreasurySetupViewEpic_1.fetchTreasurySetupViewEpic, fetchTreasuryStatementListEpic_1.fetchTreasuryStatementListEpic, fetchTreasuryTaxLetterListEpic_1.fetchTreasuryTaxLetterListEpic, fetchTreasuryTransactionListEpic_1.fetchTreasuryTransactionListEpic, updatePortfolioAllocationEpic_1.updatePortfolioAllocationEpic, fetchPortfolioAllocationEpic_1.fetchPortfolioAllocationEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, vendor1099TypeListEpic_1.fetchVendor1099TypeListEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, fetchVendorsFiling1099AllEpic_1.fetchVendorsFiling1099AllEpic, fetchVendorsFiling1099DownloadEpic_1.fetchVendorsFiling1099DownloadEpic, fetchVendorsFiling1099ListEpic_1.fetchVendorsFiling1099ListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, ignoreRecommendedJeScheduleEpic_1.ignoreRecommendedJeScheduleEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initialiseLocalDataForSelectedAccountIdEpic_1.initialiseDataForSelectedAccountIdEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeAccountSettingsViewEpic_1.initializeAccountSettingsViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCardUserOnboardingLocalDataEpic_1.initializeCardUserOnboardingLocalDataEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeJeScheduleLocalDataEpic_1.initializeJeScheduleLocalDataEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeIntlVerificationFormEpic_1.initializeIntlVerificationFormEpic, initializeMyProfileLocalDataEpic_1.initializeMyProfileLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleAccruedDetailLocalDataEpic_1.initializeScheduleAccruedDetailLocalDataEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, initiateChargeCardRepaymentEpic_1.initiateChargeCardRepaymentEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, lockChargeCardEpic_1.lockChargeCardEpic, lockChargeCardsEpic_1.lockChargeCardsEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_2.markTransactionAsNotMiscategorizedEpic, notifyMeForFeatureEpic_1.notifyMeForFeatureEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchProjectTransactionListEpic_1.parallelFetchProjectTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshExpenseAutomationCurrentTabEpic_1.refreshExpenseAutomationCurrentTabEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendCardInviteEpic_1.resendCardInviteEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendVerifyDeviceOTPEpic_1.resendVerifyDeviceOTPEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, retryJeSchedulesEpic_1.retryJeScheduleEpic, retryOrRefundBillEpic_1.retryOrRefundBillEpic, validateBillsBulkActionEpic_ts_1.validateBillsBulkActionEpic, reviewDraftRemisBulkActionEpic_ts_1.reviewDraftRemisBulkActionEpic, reviewFluxAnalysisEpic_1.reviewFluxAnalysisViewEpic, revokeCardInviteEpic_1.revokeCardInviteEpic, revokeChargeCardsInviteEpic_1.revokeChargeCardsInviteEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveAccountSettingsViewEpic_1.saveAccountSettingsViewEpic, saveAPIKeyConnectionEpic_1.saveAPIKeyConnectionEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCardOnboardingUserDetailsEpic_1.saveCardOnboardingUserDetailsEpic, saveCompanyBillingAddressEpic_1.saveCompanyBillingAddressEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveCreditAgentMacroEpic_1.saveCreditAgentMacroEpic, saveReconciliationDetailEpic_1.saveReconciliationDetailsEpic, saveReconciliationReviewEpic_1.saveReconciliationReviewEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOAuthConnectionEpic_1.saveOAuthConnectionEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic_1.saveReasonForAuditRuleEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleAccruedDetailsEpic_1.saveScheduleAccruedDetailsEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorDetailsViewEpic_1.saveVendorDetailsViewEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, scheduleTenantCreditScoreCronEpic_1.scheduleTenantCreditScoreCronEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, stopSubmitEpic_1.stopSubmitEpic, stopSubmitQuestionEpic_1.stopSubmitQuestionEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, submitDraftRemisBulkActionEpic_1.submitDraftRemisBulkActionEpic, submitExpressPayEpic_1.submitExpressPayEpic, submitIntlVerificationEpic_1.submitIntlVerificationEpic, submitQuestionEpic_1.submitQuestionEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, treasuryTransferMoneyEpic_1.treasuryTransferMoneyEpic, triggerAiAccountantJobEpic_1.triggerAiAccountantJobEpic, triggerReviewTabRefetchEpic_1.triggerReviewTabRefetchEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, unlockChargeCardEpic_1.unlockChargeCardEpic, unlockChargeCardsEpic_1.unlockChargeCardsEpic, updateAccruedJESchedulesEpic_1.updateAccruedJESchedulesEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleAccruedDetailEpic_1.updateAmountsInScheduleAccruedDetailEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateAutoTransferRuleEpic_1.updateAutoTransferRuleEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateCardProfileEpic_1.updateCardProfileEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateChargeCardLimitEpic_1.updateChargeCardLimitEpic, updateChargeCardNameEpic_1.updateChargeCardNameEpic, updateChargeCardsLimitEpic_1.updateChargeCardsLimitEpic, updateAccountingClassesEnabledEpic_1.updateAccountingClassesEnabledEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDashboardLayoutEpic_1.updateDashboardLayoutEpic, updateDebitCardPinAttemptEpic_1.updateDebitCardPinAttemptEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateReconcileTabLocalDataEpic_1.updateReconcileTabLocalDataEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateMyProfileEpic_1.updateMyProfileEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewDashboardLoadedEpic_1.updateOnboardingCustomerViewDashboardLoadedEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePhysicalChargeCardAttemptEpic_1.updatePhysicalChargeCardAttemptEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, updateQBOConnectionPoolExternalConnectionEpic_1.updateQBOConnectionPoolExternalConnectionEpic, updateReferViewedEpic_1.updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, sectionProjectViewEpic_1.updateSectionProjectViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTaskFromListViewEpic_1.updateTaskFromListViewEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, fetchCannedResponsesEpic_1.fetchCannedResponsesEpic, saveCannedResponseEpic_1.saveCannedResponseEpic, deleteCannedResponseEpic_1.deleteCannedResponseEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateTreasuryVideoViewedEpic_1.updateTreasuryVideoViewedEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadAccountStatementEpic_1.uploadAccountStatementEpic, uploadMissingAttachmentSuccessEpic_1.uploadMissingAttachmentSuccessEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, uploadTransactionReceiptSuccessEpic_1.uploadTransactionReceiptSuccessEpic, vendorFiling1099UploadDetailsSaveEpic_1.vendorFiling1099UploadDetailsSaveEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorAndUpdateBillLocalDataEpic_1.waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
583
|
+
const combinedEpics = (0, redux_observable_1.combineEpics)(acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptMasterTOSEpic_1.acceptMasterTOSEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptTreasuryTermsEpic_1.acceptTreasuryTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOAuthConsentEpic_1.approveOAuthConsentEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveOrRejectRemisBulkActionEpic_1.approveOrRejectRemisBulkActionEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, backgroundRefetchReviewTabEpic_1.backgroundRefetchReviewTabEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAiAccountantOnboardingEpic_1.cancelAiAccountantOnboardingEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, cancelOrDeleteRemisBulkActionEpic_1.cancelOrDeleteRemisBulkActionEpic, cancelScheduleAccruedJournalEntryEpic_1.cancelScheduleAccruedJournalEntryEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, closeChargeCardEpic_1.closeChargeCardEpic, closeChargeCardsEpic_1.closeChargeCardsEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createAutoTransferRuleEpic_1.createAutoTransferRuleEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesAccruedEpic_1.createNewSchedulesAccruedEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createSessionAndSubmitEpic_1.createSessionAndSubmitEpic, createSessionEpic_1.createSessionEpic, createTagEpic_1.createTagEpic, createTaskFromTaskGroupTemplateEpic_1.createTaskFromTaskGroupTemplateEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteAccountStatementEpic_1.deleteAccountStatementEpic, deleteAutoTransferRuleEpic_1.deleteAutoTransferRuleEpic, excludeAccountFromReconciliationEpic_1.excludeAccountFromReconciliationEpic, includeAccountInReconciliationEpic_1.includeAccountInReconciliationEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteChatSessionEpic_1.deleteChatSessionEpic, deleteConnectionEpic_1.deleteConnectionEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleAccruedDetailEpic_1.deleteScheduleAccruedDetailEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, snoozeTaskEpic_1.snoozeTaskEpic, unsnoozeTaskEpic_1.unsnoozeTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteTransactionAttachmentEpic_1.deleteTransactionAttachmentEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, doMagicLinkSignInEpic_1.doMagicLinkSignInEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, sendEmailMagicLinkToUserEpic_1.sendEmailMagicLinkToUserEpic, sessionHeartbeatEpic_1.sessionHeartbeatEpic, verifyDeviceWithTwoFAEpic_1.verifyDeviceWithTwoFAEpic, downloadAccountingProviderAttachmentEpic_1.downloadAccountingProviderAttachmentEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableChargeCardAutoPayEpic_1.enableChargeCardAutoPayEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, expressInterestChargeCardEpic_1.expressInterestChargeCardEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchAccountSettingsListForAccountTypesEpic_1.fetchAccountSettingsListForAccountTypesEpic, fetchAccruedScheduleListEpic_1.fetchAccruedScheduleListEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAiAccountantCustomersEpic_1.fetchAiAccountantCustomersEpic, fetchAiAccountantJobsEpic_1.fetchAiAccountantJobsEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllExpenseAutomationTabsEpic_1.fetchAllExpenseAutomationTabsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, aggregatedReportEpic_1.fetchAggregatedReportEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, fetchAutoTransferReviewDetailEpic_1.fetchAutoTransferReviewDetailEpic, fetchAutoTransferRuleHistory_1.fetchAutoTransferRuleHistoryEpic, fetchAutoTransferRulesEpic_1.fetchAutoTransferRulesEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillingAccountsViewEpic_1.fetchBillingAccountsListEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, fetchCardProfilesEpic_1.fetchCardProfilesEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, 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, fetchChargeCardPaymentPageEpic_1.fetchChargeCardPaymentPageEpic, fetchChargeCardRepaymentDetailEpic_1.fetchChargeCardRepaymentDetailEpic, fetchChargeCardPaymentHistoryEpic_1.fetchChargeCardPaymentHistoryEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardStatementListEpic_1.fetchChargeCardStatementListEpic, fetchChargeCardTransactionAttachmentsEpic_1.fetchChargeCardTransactionAttachmentsEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchChargeCardTransactionStatisticsEpic_1.fetchChargeCardTransactionStatisticsEpic, fetchChargeCardsRecurringExpensesEpic_1.fetchChargeCardsRecurringExpensesEpic, fetchChatHistoryEpic_1.fetchChatHistoryEpic, fetchChatSessionsForUserEpic_1.fetchChatSessionsForUserEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, fetchCompanyBillingAddressEpic_1.fetchCompanyBillingAddressEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricConfigEpic_1.fetchCompanyHealthMetricConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic_1.fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic_1.fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic_1.fetchCompanyTaskManagerViewEpic, fetchTaskManagerMetricsEpic_1.fetchTaskManagerMetricsEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCreditAccountRepaymentEpic_1.fetchCreditAccountRepaymentEpic, fetchCreditAgentAccessEpic_1.fetchCreditAgentAccessEpic, fetchCreditAgentMacroEpic_1.fetchCreditAgentMacroEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDashboardLayoutEpic_1.fetchDashboardLayoutEpic, fetchDebitCardSummaryEpic_1.fetchDebitCardSummaryEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountLimitEpic_1.fetchDepositAccountLimitEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountListForCardsEpic_1.fetchDepositAccountListForCardsEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEligibleActionsForBillEpic_1.fetchEligibleActionsForBillEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchFluxAnalysisViewEpic_1.fetchFluxAnalysisViewEpic, initializeTransactionCategorizationLocalDataEpic_1.initializeTransactionCategorizationViewLocalDataEpic, fetchJeSchedulesEpic_1.fetchJeSchedulesEpic, fetchJeSchedulePageEpic_1.fetchJeSchedulesPageEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, fetchMissingReceiptsEpic_1.fetchMissingReceiptsEpic, bulkUploadReceiptsEpic_1.bulkUploadReceiptsEpic, confirmBulkUploadMatchEpic_1.confirmBulkUploadMatchEpic, fetchBulkUploadBatchDetailsEpic_1.fetchBulkUploadBatchDetailsEpic, fetchMultipleBatchDetailsEpic_1.fetchMultipleBatchDetailsEpic, fetchMoreBatchDetailsEpic_1.fetchMoreBatchDetailsEpic, fetchBulkUploadBatchesEpic_1.fetchBulkUploadBatchesEpic, fetchCompletedTransactionsEpic_1.fetchCompletedTransactionsEpic, refetchCompletedTransactionsOnBulkUploadSortEpic_1.refetchCompletedTransactionsOnBulkUploadSortEpic, watchBulkUploadBatchStatusEpic_1.bulkUploadAutomatchingTimeoutEpic, bulkUploadMatchResultToastEpic_1.bulkUploadMatchResultToastEpic, watchBulkUploadBatchStatusEpic_1.pollBulkUploadBatchStatusEpic, watchBulkUploadBatchStatusEpic_1.pusherBatchStatusCompletionEpic, restoreBulkUploadAutomatchingOnMountEpic_1.restoreBulkUploadAutomatchingOnMountEpic, searchTransactionsForManualMatchEpic_1.searchTransactionsForManualMatchEpic, fetchReconciliationViewEpic_1.fetchReconciliationViewEpic, saveTransactionCategorizationEpic_1.saveTransactionCategorizationEpic, fetchTransactionCategorizationEpic_1.fetchTransactionCategorizationEpic, fetchTransactionCategorizationViewEpic_1.fetchTransactionCategorizationViewEpic, updateTransactionCategorizationEpic_1.updateTransactionCategorizationEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExpressPayInitialDetailsEpic_1.fetchExpressPayInitialDetailsEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, reportsClassViewRefetchingEpic_1.initiateReportsClassViewRefetchingEpic, reportsResyncEpic_1.reportsResyncEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchIntlVerificationFormEpic_1.fetchIntlVerificationFormEpic, fetchIssueCardPageEpic_1.fetchIssueCardPageEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMonthClosePerformanceTrendEpic_1.fetchMonthClosePerformanceTrendEpic, fetchMonthEndCloseChecksEpic_1.fetchMonthEndCloseChecksEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic_1.fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic_1.fetchNotificationUnreadCountEpic, fetchNotificationViewEpic_1.fetchNotificationViewEpic, fetchRegisteredInterestsEpic_1.fetchRegisteredInterestsEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountBalanceEpic_1.fetchPaymentAccountBalanceEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPaymentSourcesEpic_1.fetchPaymentSourcesEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeProjectViewEpic_1.fetchProfitAndLossForTimeframeProjectViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, profitAndLossProjectViewEpic_1.fetchProfitAndLossProjectViewEpic, fetchProjectListEpic_1.fetchProjectListEpic, fetchQBOConnectionPoolEpic_1.fetchQBOConnectionPoolEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountSettingsEpic_1.fetchRecommendationForAccountSettingsEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchRecommendedTransactionRowIndexEpic_1.fetchRecommendedTransactionRowIndexEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic_1.fetchReviewTransferDetailEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchScheduleAccruedDetailsEpic_1.fetchScheduleAccruedDetailsEpic, fetchScheduleAccruedDetailsPageEpic_1.fetchScheduleAccruedDetailsPageEpic, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic_1.fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic_1.fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic_1.fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic_1.fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic_1.fetchSubscriptionListEpic, fetchSubscriptionPlansEpic_1.fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic_1.fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic_1.fetchSubscriptionViewEpic, fetchSuggestedQuestionsEpic_1.fetchSuggestedQuestionsEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskGroupTemplatesEpic_1.fetchTaskGroupTemplatesEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, fetchTransactionActivityLogEpic_1.fetchTransactionActivityLogEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByProjectEpic_1.fetchTransactionListByProjectEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTreasuryDetailEpic_1.fetchTreasuryDetailEpic, fetchTreasuryFundsEpic_1.fetchTreasuryFundsEpic, fetchTreasuryHistoryEpic_1.fetchTreasuryHistoryEpic, fetchTreasurySetupViewEpic_1.fetchTreasurySetupViewEpic, fetchTreasuryStatementListEpic_1.fetchTreasuryStatementListEpic, fetchTreasuryTaxLetterListEpic_1.fetchTreasuryTaxLetterListEpic, fetchTreasuryTransactionListEpic_1.fetchTreasuryTransactionListEpic, updatePortfolioAllocationEpic_1.updatePortfolioAllocationEpic, fetchPortfolioAllocationEpic_1.fetchPortfolioAllocationEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, vendor1099TypeListEpic_1.fetchVendor1099TypeListEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, fetchVendorsFiling1099AllEpic_1.fetchVendorsFiling1099AllEpic, fetchVendorsFiling1099DownloadEpic_1.fetchVendorsFiling1099DownloadEpic, fetchVendorsFiling1099ListEpic_1.fetchVendorsFiling1099ListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, ignoreRecommendedJeScheduleEpic_1.ignoreRecommendedJeScheduleEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initialiseLocalDataForSelectedAccountIdEpic_1.initialiseDataForSelectedAccountIdEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeAccountSettingsViewEpic_1.initializeAccountSettingsViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCardUserOnboardingLocalDataEpic_1.initializeCardUserOnboardingLocalDataEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeJeScheduleLocalDataEpic_1.initializeJeScheduleLocalDataEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeIntlVerificationFormEpic_1.initializeIntlVerificationFormEpic, initializeMyProfileLocalDataEpic_1.initializeMyProfileLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleAccruedDetailLocalDataEpic_1.initializeScheduleAccruedDetailLocalDataEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, initiateChargeCardRepaymentEpic_1.initiateChargeCardRepaymentEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, lockChargeCardEpic_1.lockChargeCardEpic, lockChargeCardsEpic_1.lockChargeCardsEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_2.markTransactionAsNotMiscategorizedEpic, notifyMeForFeatureEpic_1.notifyMeForFeatureEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchProjectTransactionListEpic_1.parallelFetchProjectTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshExpenseAutomationCurrentTabEpic_1.refreshExpenseAutomationCurrentTabEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendCardInviteEpic_1.resendCardInviteEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendVerifyDeviceOTPEpic_1.resendVerifyDeviceOTPEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, retryJeSchedulesEpic_1.retryJeScheduleEpic, retryOrRefundBillEpic_1.retryOrRefundBillEpic, validateBillsBulkActionEpic_ts_1.validateBillsBulkActionEpic, reviewDraftRemisBulkActionEpic_ts_1.reviewDraftRemisBulkActionEpic, reviewFluxAnalysisEpic_1.reviewFluxAnalysisViewEpic, revokeCardInviteEpic_1.revokeCardInviteEpic, revokeChargeCardsInviteEpic_1.revokeChargeCardsInviteEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveAccountSettingsViewEpic_1.saveAccountSettingsViewEpic, saveAPIKeyConnectionEpic_1.saveAPIKeyConnectionEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCardOnboardingUserDetailsEpic_1.saveCardOnboardingUserDetailsEpic, saveCompanyBillingAddressEpic_1.saveCompanyBillingAddressEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveConnectorCredentialsEpic_1.saveConnectorCredentialsEpic, saveCreditAgentMacroEpic_1.saveCreditAgentMacroEpic, saveReconciliationDetailEpic_1.saveReconciliationDetailsEpic, saveReconciliationReviewEpic_1.saveReconciliationReviewEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOAuthConnectionEpic_1.saveOAuthConnectionEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic_1.saveReasonForAuditRuleEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleAccruedDetailsEpic_1.saveScheduleAccruedDetailsEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorDetailsViewEpic_1.saveVendorDetailsViewEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, scheduleTenantCreditScoreCronEpic_1.scheduleTenantCreditScoreCronEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, stopSubmitEpic_1.stopSubmitEpic, stopSubmitQuestionEpic_1.stopSubmitQuestionEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, submitDraftRemisBulkActionEpic_1.submitDraftRemisBulkActionEpic, submitExpressPayEpic_1.submitExpressPayEpic, submitIntlVerificationEpic_1.submitIntlVerificationEpic, submitQuestionEpic_1.submitQuestionEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, treasuryTransferMoneyEpic_1.treasuryTransferMoneyEpic, triggerAiAccountantJobEpic_1.triggerAiAccountantJobEpic, triggerReviewTabRefetchEpic_1.triggerReviewTabRefetchEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, unlockChargeCardEpic_1.unlockChargeCardEpic, unlockChargeCardsEpic_1.unlockChargeCardsEpic, updateAccruedJESchedulesEpic_1.updateAccruedJESchedulesEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleAccruedDetailEpic_1.updateAmountsInScheduleAccruedDetailEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateAutoTransferRuleEpic_1.updateAutoTransferRuleEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateCardProfileEpic_1.updateCardProfileEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateChargeCardLimitEpic_1.updateChargeCardLimitEpic, updateChargeCardNameEpic_1.updateChargeCardNameEpic, updateChargeCardsLimitEpic_1.updateChargeCardsLimitEpic, updateAccountingClassesEnabledEpic_1.updateAccountingClassesEnabledEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDashboardLayoutEpic_1.updateDashboardLayoutEpic, updateDebitCardPinAttemptEpic_1.updateDebitCardPinAttemptEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateReconcileTabLocalDataEpic_1.updateReconcileTabLocalDataEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateMyProfileEpic_1.updateMyProfileEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewDashboardLoadedEpic_1.updateOnboardingCustomerViewDashboardLoadedEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePhysicalChargeCardAttemptEpic_1.updatePhysicalChargeCardAttemptEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, updateQBOConnectionPoolExternalConnectionEpic_1.updateQBOConnectionPoolExternalConnectionEpic, updateReferViewedEpic_1.updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, sectionProjectViewEpic_1.updateSectionProjectViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTaskFromListViewEpic_1.updateTaskFromListViewEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, fetchCannedResponsesEpic_1.fetchCannedResponsesEpic, saveCannedResponseEpic_1.saveCannedResponseEpic, deleteCannedResponseEpic_1.deleteCannedResponseEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateTreasuryVideoViewedEpic_1.updateTreasuryVideoViewedEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadAccountStatementEpic_1.uploadAccountStatementEpic, uploadMissingAttachmentSuccessEpic_1.uploadMissingAttachmentSuccessEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, uploadTransactionReceiptSuccessEpic_1.uploadTransactionReceiptSuccessEpic, vendorFiling1099UploadDetailsSaveEpic_1.vendorFiling1099UploadDetailsSaveEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorAndUpdateBillLocalDataEpic_1.waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
583
584
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
584
585
|
console.error(error);
|
|
585
586
|
return source;
|
|
@@ -14,18 +14,139 @@ export const toApprovalRule = (payload) => ({
|
|
|
14
14
|
version: payload.version,
|
|
15
15
|
criteria: toApprovalCriteria(payload.criteria),
|
|
16
16
|
steps: toApprovalSteps(payload.steps),
|
|
17
|
+
description: payload.description ?? undefined,
|
|
18
|
+
priority: payload.priority,
|
|
19
|
+
isFallback: payload.is_fallback ?? false,
|
|
20
|
+
// separationOfDuties: backend doesn't ship this field yet; left undefined
|
|
21
|
+
// until the spec is finalized.
|
|
22
|
+
areApprovalsSerialized: payload.are_approvals_serialized,
|
|
23
|
+
pendingApprovalsCount: payload.pending_approvals_count,
|
|
24
|
+
pendingEntityApprovalUpdateStatus: payload.pending_entity_approval_update_status,
|
|
17
25
|
});
|
|
26
|
+
/**
|
|
27
|
+
* Maps the wire-level criteria block into the state-side discriminated
|
|
28
|
+
* `Criteria[]` union.
|
|
29
|
+
*
|
|
30
|
+
* The wire keeps each condition as a flat row inside `conditions[]`.
|
|
31
|
+
* Amount comparisons can show up as a `gte` only, a `lte` only, or a
|
|
32
|
+
* `gte` + `lte` pair — those collapse into a single AmountCriteria whose
|
|
33
|
+
* `comparator` is `greater_than`, `less_than`, or `range` respectively.
|
|
34
|
+
*
|
|
35
|
+
* Vendor and department conditions map one-to-one: `in` becomes `is`,
|
|
36
|
+
* `not_in` becomes `is_not`.
|
|
37
|
+
*
|
|
38
|
+
* Resilient to two forms of upstream drift:
|
|
39
|
+
* - Missing / null criteria → returns [].
|
|
40
|
+
* - Legacy criteria shape (array of amount-range objects, the pre-3.0
|
|
41
|
+
* wire) → converted to an AmountCriteria so existing rules in production
|
|
42
|
+
* still render while the backend rolls out.
|
|
43
|
+
*/
|
|
18
44
|
const toApprovalCriteria = (payload) => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
45
|
+
if (payload == null) {
|
|
46
|
+
return [];
|
|
47
|
+
}
|
|
48
|
+
if (Array.isArray(payload)) {
|
|
49
|
+
// Legacy pre-3.0 wire: an array of amount-range entries.
|
|
50
|
+
return legacyAmountRangeToCriteria(payload);
|
|
51
|
+
}
|
|
52
|
+
if (!Array.isArray(payload.conditions)) {
|
|
53
|
+
return [];
|
|
54
|
+
}
|
|
55
|
+
const results = [];
|
|
56
|
+
const amountCriteria = toAmountCriteria(payload);
|
|
57
|
+
if (amountCriteria != null) {
|
|
58
|
+
results.push(amountCriteria);
|
|
59
|
+
}
|
|
60
|
+
payload.conditions
|
|
61
|
+
.filter((condition) => condition.field === 'vendor_id')
|
|
62
|
+
.forEach((condition) => {
|
|
63
|
+
const vendor = toVendorCriteria(condition);
|
|
64
|
+
if (vendor != null) {
|
|
65
|
+
results.push(vendor);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
payload.conditions
|
|
69
|
+
.filter((condition) => condition.field === 'department_id')
|
|
70
|
+
.forEach((condition) => {
|
|
71
|
+
const department = toDepartmentCriteria(condition);
|
|
72
|
+
if (department != null) {
|
|
73
|
+
results.push(department);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
return results;
|
|
77
|
+
};
|
|
78
|
+
const legacyAmountRangeToCriteria = (legacy) => {
|
|
79
|
+
if (legacy.length === 0) {
|
|
80
|
+
return [];
|
|
81
|
+
}
|
|
82
|
+
const first = legacy[0] ?? {};
|
|
83
|
+
const currency = first.currency_code ?? 'USD';
|
|
84
|
+
const symbol = first.currency_symbol ?? '$';
|
|
85
|
+
const min = typeof first.min === 'number'
|
|
86
|
+
? toAmount(first.min, currency, symbol)
|
|
87
|
+
: undefined;
|
|
88
|
+
const max = typeof first.max === 'number'
|
|
89
|
+
? toAmount(first.max, currency, symbol)
|
|
90
|
+
: undefined;
|
|
91
|
+
if (min == null && max == null) {
|
|
92
|
+
return [];
|
|
93
|
+
}
|
|
94
|
+
const comparator = min != null && max != null
|
|
95
|
+
? 'range'
|
|
96
|
+
: min != null
|
|
97
|
+
? 'greater_than'
|
|
98
|
+
: 'less_than';
|
|
99
|
+
return [{ type: 'amount', comparator, min, max }];
|
|
100
|
+
};
|
|
101
|
+
const toAmountCriteria = (payload) => {
|
|
102
|
+
if (!Array.isArray(payload.conditions)) {
|
|
103
|
+
return undefined;
|
|
104
|
+
}
|
|
105
|
+
const amountConditions = payload.conditions.filter((condition) => condition.field === 'amount');
|
|
106
|
+
const gteCondition = amountConditions.find((condition) => condition.type === 'gte' || condition.type === 'eq');
|
|
107
|
+
const lteCondition = amountConditions.find((condition) => condition.type === 'lte');
|
|
108
|
+
if (gteCondition == null && lteCondition == null) {
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
const currencyCode = payload.currency_code ?? 'USD';
|
|
112
|
+
const currencySymbol = payload.currency_symbol ?? '$';
|
|
113
|
+
const min = typeof gteCondition?.value === 'number'
|
|
114
|
+
? toAmount(gteCondition.value, currencyCode, currencySymbol)
|
|
115
|
+
: undefined;
|
|
116
|
+
const max = typeof lteCondition?.value === 'number'
|
|
117
|
+
? toAmount(lteCondition.value, currencyCode, currencySymbol)
|
|
118
|
+
: undefined;
|
|
119
|
+
let comparator;
|
|
120
|
+
if (min != null && max != null) {
|
|
121
|
+
comparator = 'range';
|
|
122
|
+
}
|
|
123
|
+
else if (min != null) {
|
|
124
|
+
comparator = 'greater_than';
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
comparator = 'less_than';
|
|
128
|
+
}
|
|
129
|
+
return { type: 'amount', comparator, min, max };
|
|
130
|
+
};
|
|
131
|
+
const toVendorCriteria = (condition) => {
|
|
132
|
+
if (!Array.isArray(condition.value)) {
|
|
133
|
+
return undefined;
|
|
134
|
+
}
|
|
135
|
+
return {
|
|
136
|
+
type: 'vendor',
|
|
137
|
+
operator: condition.type === 'not_in' ? 'is_not' : 'is',
|
|
138
|
+
vendorIds: condition.value,
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
const toDepartmentCriteria = (condition) => {
|
|
142
|
+
if (!Array.isArray(condition.value)) {
|
|
143
|
+
return undefined;
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
type: 'department',
|
|
147
|
+
operator: condition.type === 'not_in' ? 'is_not' : 'is',
|
|
148
|
+
departmentIds: condition.value,
|
|
149
|
+
};
|
|
29
150
|
};
|
|
30
151
|
const toApprovalSteps = (payload) => {
|
|
31
152
|
return payload.map((step) => ({
|
|
@@ -7,3 +7,38 @@ export function getApprovalRulesByIds(approvalRuleState, approvalRuleIds) {
|
|
|
7
7
|
.filter((value) => value != null);
|
|
8
8
|
return approvalRulesByIds;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Returns the amount-range portion of a rule's criteria, if any.
|
|
12
|
+
*
|
|
13
|
+
* Use this whenever a caller needs to read amount min/max from the new
|
|
14
|
+
* discriminated `Criteria` union without inlining a type guard.
|
|
15
|
+
*/
|
|
16
|
+
export function getAmountCriteria(criteria) {
|
|
17
|
+
return criteria.find((c) => c.type === 'amount');
|
|
18
|
+
}
|
|
19
|
+
export function getVendorCriteria(criteria) {
|
|
20
|
+
return criteria.find((c) => c.type === 'vendor');
|
|
21
|
+
}
|
|
22
|
+
export function getDepartmentCriteria(criteria) {
|
|
23
|
+
return criteria.find((c) => c.type === 'department');
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns all rules of the given entityType, sorted by `priority` ascending.
|
|
27
|
+
*
|
|
28
|
+
* Rules without a `priority` value sort to the end (treated as Infinity).
|
|
29
|
+
* Use this for the list page where rules render in evaluation order.
|
|
30
|
+
*/
|
|
31
|
+
export function getApprovalRulesByEntityType(approvalRuleState, entityType) {
|
|
32
|
+
return Object.values(approvalRuleState.approvalRuleById)
|
|
33
|
+
.filter((rule) => rule.entityType === entityType)
|
|
34
|
+
.sort((a, b) => (a.priority ?? Infinity) - (b.priority ?? Infinity));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns the tenant's fallback rule for the given entityType, if one exists.
|
|
38
|
+
*
|
|
39
|
+
* The fallback rule is shown by the "fallback engine active" banner on the
|
|
40
|
+
* list page and is used to handle bills/reimbursements that match no other rule.
|
|
41
|
+
*/
|
|
42
|
+
export function getFallbackApprovalRule(approvalRuleState, entityType) {
|
|
43
|
+
return Object.values(approvalRuleState.approvalRuleById).find((rule) => rule.entityType === entityType && rule.isFallback === true);
|
|
44
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { from } from 'rxjs';
|
|
2
|
+
import { catchError, filter, mergeMap, switchMap } from 'rxjs/operators';
|
|
3
|
+
import { createZeniAPIStatus, isSuccessResponse } from '../../../responsePayload';
|
|
4
|
+
import { saveConnectorCredentials, saveConnectorCredentialsFailure, saveConnectorCredentialsSuccess, } from '../tenantReducer';
|
|
5
|
+
// Backs the new POST /1.0/connectors/<slug>/credentials endpoint used by
|
|
6
|
+
// Phase 1 connectors (Stripe + Mercury api_key, PayPal client_credentials).
|
|
7
|
+
// The endpoint is slug-keyed and creates-or-updates the Connection row, so the
|
|
8
|
+
// FE doesn't need a connection_id in the URL. The credentials payload is
|
|
9
|
+
// connector-specific (api_key, or client_id+client_secret) and is forwarded
|
|
10
|
+
// verbatim to the BE — connector-side validation lives in
|
|
11
|
+
// prepare_credential_update_args on the tenant service.
|
|
12
|
+
export const saveConnectorCredentialsEpic = (actions$,
|
|
13
|
+
// Underscore prefix marks the parameter as intentionally unused today but
|
|
14
|
+
// names what it will become — when we wire an in-progress guard (so a
|
|
15
|
+
// second save click can't `switchMap`-cancel an in-flight save and leave
|
|
16
|
+
// the BE in an indeterminate state), drop the underscore and read state
|
|
17
|
+
// here.
|
|
18
|
+
_state$, zeniAPI) => actions$.pipe(filter(saveConnectorCredentials.match), switchMap((action) => zeniAPI
|
|
19
|
+
.postAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/connectors/${action.payload.connectionName}/credentials`, action.payload.credentials, { 'zeni-tenant-id': action.payload.tenantId })
|
|
20
|
+
.pipe(mergeMap((response) => {
|
|
21
|
+
if (isSuccessResponse(response) && response.data != null) {
|
|
22
|
+
return from([
|
|
23
|
+
saveConnectorCredentialsSuccess(action.payload.tenantId, action.payload.connectionType, action.payload.connectionName, response.data),
|
|
24
|
+
]);
|
|
25
|
+
}
|
|
26
|
+
const status = response.status ??
|
|
27
|
+
createZeniAPIStatus('Failed to save connection. Please try again.');
|
|
28
|
+
return from([
|
|
29
|
+
saveConnectorCredentialsFailure(action.payload.tenantId, action.payload.connectionName, status),
|
|
30
|
+
]);
|
|
31
|
+
}), catchError((error) => {
|
|
32
|
+
const message = error instanceof Error
|
|
33
|
+
? error.message
|
|
34
|
+
: 'Unexpected error saving connection.';
|
|
35
|
+
return from([
|
|
36
|
+
saveConnectorCredentialsFailure(action.payload.tenantId, action.payload.connectionName, createZeniAPIStatus(message)),
|
|
37
|
+
]);
|
|
38
|
+
}))));
|