@zeniai/client-epic-state 4.11.70 → 4.11.72
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/tenant/tenantPayload.d.ts +9 -0
- package/lib/entity/tenant/tenantReducer.d.ts +4 -3
- package/lib/entity/tenant/tenantReducer.js +25 -14
- package/lib/entity/tenant/tenantState.d.ts +4 -3
- package/lib/epic.d.ts +2 -1
- package/lib/epic.js +2 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +2 -1
- package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js +1 -1
- package/lib/view/referralView/epics/fetchReferralsEpic.js +1 -7
- package/lib/view/referralView/epics/sendReferralInviteEpic.js +1 -1
- package/lib/view/referralView/epics/updateReferViewedEpic.d.ts +8 -0
- package/lib/view/referralView/epics/updateReferViewedEpic.js +22 -0
- package/lib/view/referralView/referralPayload.d.ts +15 -6
- package/lib/view/referralView/referralPayload.js +3 -3
- package/lib/view/referralView/referralReducer.d.ts +1 -1
- package/lib/view/referralView/referralReducer.js +36 -11
- package/lib/view/referralView/referralSelector.d.ts +4 -7
- package/lib/view/referralView/referralSelector.js +3 -5
- package/lib/view/referralView/referralState.d.ts +9 -4
- package/lib/view/referralView/referralState.js +4 -1
- package/package.json +1 -1
|
@@ -7,6 +7,15 @@ declare type TenantsResponse = ZeniAPIResponse<TenantsData>;
|
|
|
7
7
|
export interface TenantsData {
|
|
8
8
|
tenants: TenantPayload[];
|
|
9
9
|
companies?: CompanyPayload[];
|
|
10
|
+
user: TenantUserPayload;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Platform intends to start sending user related details
|
|
14
|
+
* at this level. currently there is a mix of details also
|
|
15
|
+
* being sent within TenantPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface TenantUserPayload {
|
|
18
|
+
rewards_feature_last_viewed_time: string | null;
|
|
10
19
|
}
|
|
11
20
|
interface TenantPayload {
|
|
12
21
|
book_close_date: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="url-parse" />
|
|
2
2
|
import { TenantState, RoleResource, Connection } from './tenantState';
|
|
3
|
-
import { TenantPayload, LoggedInUserPayload, RoleResourcePayload, ConnectionWithMetaPayload, ConnectionsPayload, ConnectionDataPayload, TenantsData } from './tenantPayload';
|
|
3
|
+
import { TenantPayload, LoggedInUserPayload, RoleResourcePayload, ConnectionWithMetaPayload, ConnectionsPayload, ConnectionDataPayload, TenantsData, TenantUserPayload } from './tenantPayload';
|
|
4
4
|
import { FetchState } from '../../commonStateTypes/common';
|
|
5
5
|
import { ZeniAPIStatus } from '../../responsePayload';
|
|
6
6
|
import ZeniUrl from '../../zeniUrl';
|
|
@@ -13,8 +13,9 @@ export interface DoSignInPayload {
|
|
|
13
13
|
redirectUri: ZeniUrl;
|
|
14
14
|
}
|
|
15
15
|
export declare const initialState: TenantState;
|
|
16
|
-
export declare const updateTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenants: TenantPayload[], tenantUpdated?: any], {
|
|
16
|
+
export declare const updateTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenants: TenantPayload[], userTenantPayload?: TenantUserPayload | undefined, tenantUpdated?: any], {
|
|
17
17
|
tenants: TenantPayload[];
|
|
18
|
+
userTenantPayload: TenantUserPayload | undefined;
|
|
18
19
|
tenantUpdated: any;
|
|
19
20
|
}, string, never, never>, fetchAllTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, zeniSessionId?: string | undefined], {
|
|
20
21
|
userId: string;
|
|
@@ -69,7 +70,7 @@ export declare const updateTenants: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
69
70
|
}, string, never, never>, updateOnboardingTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenants: TenantPayload[], tenantUpdated?: any], {
|
|
70
71
|
tenants: TenantPayload[];
|
|
71
72
|
tenantUpdated: any;
|
|
72
|
-
}, string, never, never>, removeOnboardingTenant: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, updateTenantReimbursementInfo: import("@reduxjs/toolkit").ActionCreatorWithPayload<UserRolePayload, string>;
|
|
73
|
+
}, string, never, never>, removeOnboardingTenant: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, updateTenantReimbursementInfo: import("@reduxjs/toolkit").ActionCreatorWithPayload<UserRolePayload, string>, updateReferViewedForLoggedInUser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
73
74
|
declare const _default: import("@reduxjs/toolkit").Reducer<TenantState, import("@reduxjs/toolkit").AnyAction>;
|
|
74
75
|
export default _default;
|
|
75
76
|
export declare const toRoleResource: (payload: RoleResourcePayload) => RoleResource;
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
var _a;
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.toConnection = exports.mapConnectionsPayloadToState = exports.toRoleResource = exports.updateTenantReimbursementInfo = exports.removeOnboardingTenant = exports.updateOnboardingTenants = exports.updateSubscriptionSummaryForTenantFailure = exports.updateSubscriptionSummaryForTenantSuccess = exports.fetchSubscriptionSummaryForTenant = exports.clearAll = exports.fetchExternalConnectionsSuccess = exports.fetchExternalConnectionsFailure = exports.saveExternalConnectionFailure = exports.saveExternalConnectionSuccess = exports.saveExternalConnection = exports.fetchExternalConnections = exports.updateLoggedInUser = exports.signOutSuccess = exports.doSignOut = exports.updateSignInState = 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 = void 0;
|
|
7
|
+
exports.toConnection = exports.mapConnectionsPayloadToState = exports.toRoleResource = exports.updateReferViewedForLoggedInUser = exports.updateTenantReimbursementInfo = exports.removeOnboardingTenant = exports.updateOnboardingTenants = exports.updateSubscriptionSummaryForTenantFailure = exports.updateSubscriptionSummaryForTenantSuccess = exports.fetchSubscriptionSummaryForTenant = exports.clearAll = exports.fetchExternalConnectionsSuccess = exports.fetchExternalConnectionsFailure = exports.saveExternalConnectionFailure = exports.saveExternalConnectionSuccess = exports.saveExternalConnection = exports.fetchExternalConnections = exports.updateLoggedInUser = exports.signOutSuccess = exports.doSignOut = exports.updateSignInState = 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 = void 0;
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
10
|
const js_base64_1 = require("js-base64");
|
|
@@ -39,17 +39,18 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
39
39
|
initialState: exports.initialState,
|
|
40
40
|
reducers: {
|
|
41
41
|
updateTenants: {
|
|
42
|
-
prepare(tenants, tenantUpdated = false) {
|
|
43
|
-
return { payload: { tenants, tenantUpdated } };
|
|
42
|
+
prepare(tenants, userTenantPayload, tenantUpdated = false) {
|
|
43
|
+
return { payload: { tenants, userTenantPayload, tenantUpdated } };
|
|
44
44
|
},
|
|
45
45
|
reducer(draft, action) {
|
|
46
46
|
action.payload.tenants.forEach((tenantPayload) => {
|
|
47
47
|
const tenantInStore = draft.tenantsById[tenantPayload.tenant_id];
|
|
48
|
-
const newTenant = mapTenantPayloadToTenant(tenantPayload);
|
|
48
|
+
const newTenant = mapTenantPayloadToTenant(tenantPayload, action.payload.userTenantPayload);
|
|
49
49
|
if (tenantInStore == null ||
|
|
50
50
|
(newTenant != null && action.payload.tenantUpdated)) {
|
|
51
51
|
// Note: If tenant data already exists, save it if the new data is the latest one.
|
|
52
|
-
|
|
52
|
+
// we dont want to overwrite the user related data since that has not come in the output
|
|
53
|
+
draft.tenantsById[tenantPayload.tenant_id] = Object.assign(Object.assign({}, newTenant), { rewardsLastViewedTime: tenantInStore === null || tenantInStore === void 0 ? void 0 : tenantInStore.rewardsLastViewedTime });
|
|
53
54
|
}
|
|
54
55
|
});
|
|
55
56
|
},
|
|
@@ -65,17 +66,18 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
65
66
|
if (tenantInStore == null ||
|
|
66
67
|
(newTenant != null && action.payload.tenantUpdated)) {
|
|
67
68
|
// Note: If tenant data already exists, save it if the new data is the latest one.
|
|
68
|
-
|
|
69
|
+
// we dont want to overwrite the user related data since that has not come in the output
|
|
70
|
+
draft.tenantsById[tenantPayload.tenant_id] = Object.assign(Object.assign({}, newTenant), { rewardsLastViewedTime: tenantInStore === null || tenantInStore === void 0 ? void 0 : tenantInStore.rewardsLastViewedTime });
|
|
69
71
|
}
|
|
70
72
|
});
|
|
71
73
|
},
|
|
72
74
|
},
|
|
73
75
|
updateTenantsSuccess(draft, action) {
|
|
74
76
|
var _a;
|
|
75
|
-
const { tenants } = action.payload;
|
|
77
|
+
const { tenants, user } = action.payload;
|
|
76
78
|
draft.fetchState = 'Completed';
|
|
77
79
|
draft.error = undefined;
|
|
78
|
-
const [tenantsbyId, tenantIds, firstUser] = mapTenantsPayloadToState(tenants);
|
|
80
|
+
const [tenantsbyId, tenantIds, firstUser] = mapTenantsPayloadToState(tenants, user);
|
|
79
81
|
draft.tenantsById = tenantsbyId;
|
|
80
82
|
draft.tenantIds = tenantIds;
|
|
81
83
|
draft.loggedInUser = (0, assignWith_1.default)((_a = draft.loggedInUser) !== null && _a !== void 0 ? _a : {}, firstUser, (objValue, srcValue) => srcValue !== null && srcValue !== void 0 ? srcValue : objValue);
|
|
@@ -89,10 +91,10 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
89
91
|
},
|
|
90
92
|
updateTenantSuccess(draft, action) {
|
|
91
93
|
var _a;
|
|
92
|
-
const { tenants } = action.payload;
|
|
94
|
+
const { tenants, user } = action.payload;
|
|
93
95
|
draft.activeTenantFetchState.fetchState = 'Completed';
|
|
94
96
|
draft.activeTenantFetchState.error = undefined;
|
|
95
|
-
const [tenantsbyId, tenantIds, firstUser] = mapTenantsPayloadToState(tenants);
|
|
97
|
+
const [tenantsbyId, tenantIds, firstUser] = mapTenantsPayloadToState(tenants, user);
|
|
96
98
|
draft.tenantsById = Object.assign(Object.assign({}, draft.tenantsById), tenantsbyId);
|
|
97
99
|
draft.tenantIds = [...new Set([...draft.tenantIds, ...tenantIds])];
|
|
98
100
|
draft.loggedInUser = (0, assignWith_1.default)((_a = draft.loggedInUser) !== null && _a !== void 0 ? _a : {}, firstUser, (objValue, srcValue) => srcValue !== null && srcValue !== void 0 ? srcValue : objValue);
|
|
@@ -310,6 +312,12 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
310
312
|
removeOnboardingTenant(draft, action) {
|
|
311
313
|
delete draft.onboardingTenantsById[action.payload];
|
|
312
314
|
},
|
|
315
|
+
updateReferViewedForLoggedInUser(draft) {
|
|
316
|
+
if (draft.currentTenantId != null) {
|
|
317
|
+
draft.tenantsById[draft.currentTenantId].rewardsLastViewedTime =
|
|
318
|
+
(0, zeniDayJS_1.dateNow)();
|
|
319
|
+
}
|
|
320
|
+
},
|
|
313
321
|
clearAll: {
|
|
314
322
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
315
323
|
prepare(keepTenantCompanyState = true) {
|
|
@@ -323,28 +331,28 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
323
331
|
},
|
|
324
332
|
},
|
|
325
333
|
});
|
|
326
|
-
_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.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, 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.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;
|
|
334
|
+
_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.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, 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.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;
|
|
327
335
|
exports.default = tenant.reducer;
|
|
328
336
|
/**
|
|
329
337
|
* Converts tenants payload to Tenant and User State
|
|
330
338
|
* @param payload tenants payload as received from backend API response
|
|
331
339
|
* @returns returns tuple [tenantsById: Record<tenantId, Tenant>, tenantIds: ID{}, firstUser: LoggedInUser]
|
|
332
340
|
*/
|
|
333
|
-
function mapTenantsPayloadToState(tenantsPayload) {
|
|
341
|
+
function mapTenantsPayloadToState(tenantsPayload, userTenantPayload) {
|
|
334
342
|
if (tenantsPayload.length == 0) {
|
|
335
343
|
throw new Error('Empty list of tenants ? ');
|
|
336
344
|
}
|
|
337
345
|
const tenantsById = {};
|
|
338
346
|
const tenantIds = [];
|
|
339
347
|
tenantsPayload.forEach((tenantsPayload) => {
|
|
340
|
-
const tenant = mapTenantPayloadToTenant(tenantsPayload);
|
|
348
|
+
const tenant = mapTenantPayloadToTenant(tenantsPayload, userTenantPayload);
|
|
341
349
|
tenantsById[tenant.tenantId] = tenant;
|
|
342
350
|
tenantIds.push(tenant.tenantId);
|
|
343
351
|
});
|
|
344
352
|
const firstUser = mapTenantPayloadToUser(tenantsPayload[0]);
|
|
345
353
|
return [tenantsById, tenantIds, firstUser];
|
|
346
354
|
}
|
|
347
|
-
function mapTenantPayloadToTenant(payload) {
|
|
355
|
+
function mapTenantPayloadToTenant(payload, userTenantPayload) {
|
|
348
356
|
var _a;
|
|
349
357
|
const tenant = {
|
|
350
358
|
accountingClassIDs: payload.accounting_class_ids,
|
|
@@ -389,6 +397,9 @@ function mapTenantPayloadToTenant(payload) {
|
|
|
389
397
|
userReimbursementInfo: payload.reimbursement_info != null
|
|
390
398
|
? (0, userRolePayload_1.toUserReimbursementInfo)(payload.reimbursement_info)
|
|
391
399
|
: undefined,
|
|
400
|
+
rewardsLastViewedTime: (userTenantPayload === null || userTenantPayload === void 0 ? void 0 : userTenantPayload.rewards_feature_last_viewed_time) != null
|
|
401
|
+
? (0, zeniDayJS_1.date)(userTenantPayload.rewards_feature_last_viewed_time)
|
|
402
|
+
: undefined,
|
|
392
403
|
};
|
|
393
404
|
return tenant;
|
|
394
405
|
}
|
|
@@ -39,7 +39,6 @@ export interface TenantProductSettings {
|
|
|
39
39
|
isCardsEnabled: boolean;
|
|
40
40
|
}
|
|
41
41
|
export interface Tenant {
|
|
42
|
-
bookCloseDate?: ZeniDate;
|
|
43
42
|
tenantId: ID;
|
|
44
43
|
companyId: ID;
|
|
45
44
|
companyName: string;
|
|
@@ -62,13 +61,15 @@ export interface Tenant {
|
|
|
62
61
|
timeSpanIdForAverage: TimeSpanIdForAverage;
|
|
63
62
|
};
|
|
64
63
|
chargebeeId: ID;
|
|
65
|
-
hubSpotId?: ID;
|
|
66
64
|
qboRealmId: ID;
|
|
67
65
|
isCustomerCreated: boolean;
|
|
68
66
|
isEmailGroupCreated: boolean;
|
|
69
67
|
isOnboardingCompleted: boolean;
|
|
70
|
-
userReimbursementInfo?: UserReimbursementInfo;
|
|
71
68
|
accountingClassIDs: ID[];
|
|
69
|
+
hubSpotId?: ID;
|
|
70
|
+
bookCloseDate?: ZeniDate;
|
|
71
|
+
userReimbursementInfo?: UserReimbursementInfo;
|
|
72
|
+
rewardsLastViewedTime?: ZeniDate;
|
|
72
73
|
}
|
|
73
74
|
export interface LoggedInUser {
|
|
74
75
|
userId: ID;
|
package/lib/epic.d.ts
CHANGED
|
@@ -361,6 +361,7 @@ import { ActionType as FetchReferralsActionType } from './view/referralView/epic
|
|
|
361
361
|
import { ActionType as FetchRewardsPlanActionType } from './view/referralView/epics/fetchRewardsPlanEpic';
|
|
362
362
|
import { ActionType as SendReferralInviteActionType } from './view/referralView/epics/sendReferralInviteEpic';
|
|
363
363
|
import { ActionType as ResendReferralInviteActionType } from './view/referralView/epics/resendReferralInviteEpic';
|
|
364
|
+
import { ActionType as UpdateReferViewedActionType } from './view/referralView/epics/updateReferViewedEpic';
|
|
364
365
|
import { ActionType as FetchNotificationViewActionType } from './view/notificationView/epics/fetchNotificationViewEpic';
|
|
365
366
|
import { ActionType as FetchNotificationUnreadCountActionType } from './view/notificationView/epics/fetchNotificationUnreadCountEpic';
|
|
366
367
|
import { ActionType as UpdateNotificationViewNotificationStatusActionType } from './view/notificationView/epics/updateNotificationViewNotificationStatusEpic';
|
|
@@ -382,6 +383,6 @@ import { ActionType as FetchPaymentSourcesActionType } from './view/cardPayment/
|
|
|
382
383
|
import { ActionType as CreateCardSetupIntentActionType } from './view/cardPayment/epic/createCardSetupIntentEpic';
|
|
383
384
|
import { ActionType as FetchBillingAccountsListActionType } from './view/settingsView/epic/fetchBillingAccountsViewEpic';
|
|
384
385
|
/** Root action type is union of all the epic action type */
|
|
385
|
-
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccStatementListActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchVendorTabViewActionType | FetchZeniAccStatePageActionType | FetchZeniAccountListPageActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountsPromoCardActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
386
|
+
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccStatementListActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchVendorTabViewActionType | FetchZeniAccStatePageActionType | FetchZeniAccountListPageActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountsPromoCardActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
386
387
|
declare const rootEpic: Epic<RootActionType>;
|
|
387
388
|
export default rootEpic;
|
package/lib/epic.js
CHANGED
|
@@ -368,6 +368,7 @@ const fetchReferralsEpic_1 = require("./view/referralView/epics/fetchReferralsEp
|
|
|
368
368
|
const fetchRewardsPlanEpic_1 = require("./view/referralView/epics/fetchRewardsPlanEpic");
|
|
369
369
|
const sendReferralInviteEpic_1 = require("./view/referralView/epics/sendReferralInviteEpic");
|
|
370
370
|
const resendReferralInviteEpic_1 = require("./view/referralView/epics/resendReferralInviteEpic");
|
|
371
|
+
const updateReferViewedEpic_1 = require("./view/referralView/epics/updateReferViewedEpic");
|
|
371
372
|
const fetchNotificationViewEpic_1 = require("./view/notificationView/epics/fetchNotificationViewEpic");
|
|
372
373
|
const fetchNotificationUnreadCountEpic_1 = require("./view/notificationView/epics/fetchNotificationUnreadCountEpic");
|
|
373
374
|
const updateNotificationViewNotificationStatusEpic_1 = require("./view/notificationView/epics/updateNotificationViewNotificationStatusEpic");
|
|
@@ -389,7 +390,7 @@ const fetchPaymentSourcesEpic_1 = require("./view/cardPayment/epic/fetchPaymentS
|
|
|
389
390
|
const createCardSetupIntentEpic_1 = require("./view/cardPayment/epic/createCardSetupIntentEpic");
|
|
390
391
|
const fetchBillingAccountsViewEpic_1 = require("./view/settingsView/epic/fetchBillingAccountsViewEpic");
|
|
391
392
|
// Note: Please maintain strict alphabetical order
|
|
392
|
-
const combinedEpics = (0, redux_observable_1.combineEpics)(acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createTagEpic_1.createTagEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillingAccountsViewEpic_1.fetchBillingAccountsListEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic_1.fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic_1.fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic_1.fetchCompanyTaskManagerViewEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic_1.fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic_1.fetchNotificationUnreadCountEpic, fetchNotificationViewEpic_1.fetchNotificationViewEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPaymentSourcesEpic_1.fetchPaymentSourcesEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic_1.fetchReviewTransferDetailEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic_1.fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic_1.fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic_1.fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic_1.fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic_1.fetchSubscriptionListEpic, fetchSubscriptionPlansEpic_1.fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic_1.fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic_1.fetchSubscriptionViewEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, reviewDraftBillsBulkActionEpic_ts_1.reviewDraftBillsBulkActionEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorAndUpdateBillLocalDataEpic_1.waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
393
|
+
const combinedEpics = (0, redux_observable_1.combineEpics)(acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createTagEpic_1.createTagEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillingAccountsViewEpic_1.fetchBillingAccountsListEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic_1.fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic_1.fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic_1.fetchCompanyTaskManagerViewEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic_1.fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic_1.fetchNotificationUnreadCountEpic, fetchNotificationViewEpic_1.fetchNotificationViewEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPaymentSourcesEpic_1.fetchPaymentSourcesEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic_1.fetchReviewTransferDetailEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic_1.fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic_1.fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic_1.fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic_1.fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic_1.fetchSubscriptionListEpic, fetchSubscriptionPlansEpic_1.fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic_1.fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic_1.fetchSubscriptionViewEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, reviewDraftBillsBulkActionEpic_ts_1.reviewDraftBillsBulkActionEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, updateReferViewedEpic_1.updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorAndUpdateBillLocalDataEpic_1.waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
393
394
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
394
395
|
console.error(error);
|
|
395
396
|
return source;
|
package/lib/index.d.ts
CHANGED
|
@@ -696,9 +696,9 @@ import { ToastNotification } from './entity/toastNotification/toastNotificationS
|
|
|
696
696
|
import { getLastNotificationTime, getNotifications } from './entity/toastNotification/toastNotificationSelector';
|
|
697
697
|
export { pushToastNotification, ToastNotification, ToastNotificationPayload, getLastNotificationTime, getNotifications, };
|
|
698
698
|
import { getReferralListView, ReferralListSelectorView, getInviteFormView, RewardsPlanCardReport, getRewardsPlanCard } from './view/referralView/referralSelector';
|
|
699
|
-
import { ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, StatusTypes, AmountStatusTypes, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus } from './view/referralView/referralState';
|
|
700
|
-
import { fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, resendReferralInvite, updateReferralListSortUiState, fetchRewardsPlan } from './view/referralView/referralReducer';
|
|
701
|
-
export { getReferralListView, getInviteFormView, ReferralListSelectorView, ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus, StatusTypes, AmountStatusTypes, fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, updateReferralListSortUiState, resendReferralInvite, fetchRewardsPlan, RewardsPlanCardReport, getRewardsPlanCard, };
|
|
699
|
+
import { ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, StatusTypes, AmountStatusTypes, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus, RewardsPlanData } from './view/referralView/referralState';
|
|
700
|
+
import { fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, resendReferralInvite, updateReferralListSortUiState, fetchRewardsPlan, updateReferViewed } from './view/referralView/referralReducer';
|
|
701
|
+
export { getReferralListView, getInviteFormView, ReferralListSelectorView, ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus, StatusTypes, AmountStatusTypes, fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, updateReferralListSortUiState, resendReferralInvite, fetchRewardsPlan, RewardsPlanCardReport, getRewardsPlanCard, updateReferViewed, RewardsPlanData, };
|
|
702
702
|
import { RecurringFrequencyType, getRecurringEndDateFromCount, toRecurringFrequency, getMinAllowedEndDate, RecurringDatePickerOptions } from './view/common/recurringViewHelper';
|
|
703
703
|
export { RecurringFrequencyType, getRecurringEndDateFromCount, toRecurringFrequency, getMinAllowedEndDate, RecurringDatePickerOptions, };
|
|
704
704
|
import { fetchCompanyTaskManagerView } from './view/companyTaskManagerView/companyTaskManagerViewReducer';
|
package/lib/index.js
CHANGED
|
@@ -48,7 +48,7 @@ exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDr
|
|
|
48
48
|
exports.updatedSelectedJELinkRowIndex = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.toScheduleSubTabType = exports.toScheduleListTabsFileTypeStrict = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.getFetchStateForScheduleAccountList = exports.updateScheduleListLocalData = exports.fetchSchedulesAccount = exports.fetchDownloadSchedules = exports.fetchScheduleList = exports.getScheduleListReport = exports.ALL_SCHEDULES_TYPES = exports.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.updateChargeCardDetail = exports.updateCashbackDetailUIState = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardSetupViewDetails = exports.toCreditLimitFrequencyCodeType = exports.getCashbackDetail = exports.toChargeCardSortKeyType = exports.fetchCashbackDetail = exports.fetchChargeCardTransactionList = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getChargeCardListView = exports.fetchChargeCardListPage = void 0;
|
|
49
49
|
exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = exports.updateCreateGlobalMerchantLocalData = exports.createGlobalMerchant = exports.fetchGlobalMerchantRecommendation = exports.clearGlobalMerchantAutoCompleteResults = exports.fetchGlobalMerchantAutoCompleteView = exports.updateVendorFirstReviewSortUiState = exports.updateVendorFirstReviewViewLocalData = exports.saveVendorFirstReviewView = exports.clearRecentlySavedErroredVendorData = exports.updateVendorFirstReviewViewPageToken = exports.resetVendorFirstReviewLocalData = exports.updateVendorFirstReviewViewScrollYOffset = exports.fetchVendorFirstReviewAttachments = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewAttachmentView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.fetchVendorTabView = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetail = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = void 0;
|
|
50
50
|
exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.clearCardPaymentView = exports.resetCardPaymentErrorStatuses = exports.fetchPaymentSources = exports.addCardPaymentSource = exports.confirmCardSetupIntent = exports.createCardSetupIntent = exports.getAllCardsAndBankPaymentMethods = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.updateTaskGroupName = exports.dragNDropTasks = exports.updateTaskListLocalData = exports.deleteTaskGroup = exports.initiateTaskListLocalData = exports.createNewTaskGroup = exports.bulkUpdateTaskList = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = void 0;
|
|
51
|
-
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = void 0;
|
|
51
|
+
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = void 0;
|
|
52
52
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
53
53
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
54
54
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -1500,6 +1500,7 @@ Object.defineProperty(exports, "saveReferralFormDataInLocalStore", { enumerable:
|
|
|
1500
1500
|
Object.defineProperty(exports, "resendReferralInvite", { enumerable: true, get: function () { return referralReducer_1.resendReferralInvite; } });
|
|
1501
1501
|
Object.defineProperty(exports, "updateReferralListSortUiState", { enumerable: true, get: function () { return referralReducer_1.updateReferralListSortUiState; } });
|
|
1502
1502
|
Object.defineProperty(exports, "fetchRewardsPlan", { enumerable: true, get: function () { return referralReducer_1.fetchRewardsPlan; } });
|
|
1503
|
+
Object.defineProperty(exports, "updateReferViewed", { enumerable: true, get: function () { return referralReducer_1.updateReferViewed; } });
|
|
1503
1504
|
const recurringViewHelper_1 = require("./view/common/recurringViewHelper");
|
|
1504
1505
|
Object.defineProperty(exports, "getRecurringEndDateFromCount", { enumerable: true, get: function () { return recurringViewHelper_1.getRecurringEndDateFromCount; } });
|
|
1505
1506
|
Object.defineProperty(exports, "toRecurringFrequency", { enumerable: true, get: function () { return recurringViewHelper_1.toRecurringFrequency; } });
|
package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js
CHANGED
|
@@ -18,7 +18,7 @@ const updateNetBurnOrIncomeStoryCardSettingsEpic = (actions$, _state, zeniAPI) =
|
|
|
18
18
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
19
19
|
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
20
20
|
const actions = [
|
|
21
|
-
(0, tenantReducer_1.updateTenants)(response.data.tenants, true),
|
|
21
|
+
(0, tenantReducer_1.updateTenants)(response.data.tenants, undefined, true),
|
|
22
22
|
(0, netBurnOrIncomeStoryCardReducer_1.updateNetBurnOrIncomeStoryCardSettingsSuccess)(),
|
|
23
23
|
];
|
|
24
24
|
return (0, rxjs_1.from)(actions);
|
|
@@ -10,14 +10,8 @@ const fetchReferralsEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, oper
|
|
|
10
10
|
const state = state$.value;
|
|
11
11
|
const fetchState = state.referralViewState.fetchState;
|
|
12
12
|
if (cacheOverride === true || fetchState === 'Not-Started') {
|
|
13
|
-
const { userId, sessionId } = zeniAPI;
|
|
14
|
-
const headers = {
|
|
15
|
-
'zeni-user-id': userId,
|
|
16
|
-
'zeni-tenant-id': '',
|
|
17
|
-
'zeni-session-id': sessionId,
|
|
18
|
-
};
|
|
19
13
|
return zeniAPI
|
|
20
|
-
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/company-referrals
|
|
14
|
+
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/company-referrals`)
|
|
21
15
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
22
16
|
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
23
17
|
const actions = [(0, referralReducer_1.updateReferrals)(response.data)];
|
|
@@ -8,7 +8,7 @@ const referralReducer_1 = require("../referralReducer");
|
|
|
8
8
|
const sendReferralInviteEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(referralReducer_1.sendReferralInvite.match), (0, operators_1.switchMap)(() => {
|
|
9
9
|
const { referralViewState } = state$.value;
|
|
10
10
|
const referralFormLocalData = referralViewState.referralFormLocalData;
|
|
11
|
-
const referRewardsPlanId = referralViewState.rewardsPlan.
|
|
11
|
+
const referRewardsPlanId = referralViewState.rewardsPlan.planId;
|
|
12
12
|
const invitePayload = Object.assign({}, toInvitePayloadFromLocalData(referralFormLocalData, referRewardsPlanId));
|
|
13
13
|
return zeniAPI
|
|
14
14
|
.postAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/company-referrals`, invitePayload)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../zeniAPI';
|
|
5
|
+
import { updateReferViewed, updateReferViewedSuccess, updateReferViewedFailure } from '../referralReducer';
|
|
6
|
+
import { updateReferViewedForLoggedInUser } from '../../../entity/tenant/tenantReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof updateReferViewed> | ReturnType<typeof updateReferViewedForLoggedInUser> | ReturnType<typeof updateReferViewedSuccess> | ReturnType<typeof updateReferViewedFailure>;
|
|
8
|
+
export declare const updateReferViewedEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateReferViewedEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../responsePayload");
|
|
7
|
+
const referralReducer_1 = require("../referralReducer");
|
|
8
|
+
const tenantReducer_1 = require("../../../entity/tenant/tenantReducer");
|
|
9
|
+
const updateReferViewedEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(referralReducer_1.updateReferViewed.match), (0, operators_1.switchMap)(() => {
|
|
10
|
+
return zeniAPI
|
|
11
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/user/self`, { has_viewed_refer_reward_plan: true })
|
|
12
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
13
|
+
if ((0, responsePayload_1.isSuccessStatus)(response)) {
|
|
14
|
+
return (0, rxjs_1.of)((0, tenantReducer_1.updateReferViewedForLoggedInUser)(), (0, referralReducer_1.updateReferViewedSuccess)());
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
return (0, rxjs_1.of)((0, referralReducer_1.updateReferViewedFailure)(response.status));
|
|
18
|
+
}
|
|
19
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, referralReducer_1.updateReferViewedFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Update user refer viewed REST API call errored out' +
|
|
20
|
+
JSON.stringify(error))))));
|
|
21
|
+
}));
|
|
22
|
+
exports.updateReferViewedEpic = updateReferViewedEpic;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CurrencyPayload } from '../../commonPayloadTypes/v2/viewAndReportPayloadv2';
|
|
1
2
|
import { AmountPayload } from '../../entity/reimbursement/reimbursementPayload';
|
|
2
3
|
import { ZeniAPIResponse } from '../../responsePayload';
|
|
3
4
|
import { ReferralInvitation } from './referralState';
|
|
@@ -16,16 +17,24 @@ export interface FetchRewardsPayload {
|
|
|
16
17
|
static_referral_link: string;
|
|
17
18
|
referees: InviteePayload[];
|
|
18
19
|
}
|
|
19
|
-
export interface
|
|
20
|
+
export interface ReferralPlanAmountPayload extends CurrencyPayload {
|
|
21
|
+
referee_amount: number;
|
|
22
|
+
referrer_amount: number;
|
|
23
|
+
}
|
|
24
|
+
export interface ReferRewardPlansPayload {
|
|
25
|
+
name: string;
|
|
20
26
|
create_time: string | null;
|
|
21
27
|
is_deleted: boolean | null;
|
|
22
28
|
is_primary: boolean | null;
|
|
23
29
|
period: number;
|
|
24
30
|
period_unit: string;
|
|
25
31
|
refer_reward_plan_id: string;
|
|
26
|
-
static_referral_link: string;
|
|
27
|
-
referral_plan_amount: AmountPayload;
|
|
28
32
|
update_time: string | null;
|
|
33
|
+
referral_plan_amount: ReferralPlanAmountPayload;
|
|
34
|
+
}
|
|
35
|
+
export interface FetchRewardsPlanPayload {
|
|
36
|
+
refer_reward_plans: ReferRewardPlansPayload[];
|
|
37
|
+
static_referral_link: string;
|
|
29
38
|
}
|
|
30
39
|
export interface InviteePayload {
|
|
31
40
|
company_name: string;
|
|
@@ -33,11 +42,11 @@ export interface InviteePayload {
|
|
|
33
42
|
invitees_id: string;
|
|
34
43
|
is_active: boolean;
|
|
35
44
|
last_invite_timestamp: string | null;
|
|
45
|
+
refer_reward_plan_id: string;
|
|
36
46
|
referee_email_id: string;
|
|
37
|
-
|
|
38
|
-
user_id: string;
|
|
47
|
+
referrer_user_id: string;
|
|
39
48
|
voucher_id: string;
|
|
40
|
-
referral_amount:
|
|
49
|
+
referral_amount: ReferralPlanAmountPayload;
|
|
41
50
|
}
|
|
42
51
|
export declare type FetchRewardsResponse = ZeniAPIResponse<FetchRewardsPayload>;
|
|
43
52
|
export declare type FetchRewardsPlanResponse = ZeniAPIResponse<FetchRewardsPlanPayload>;
|
|
@@ -14,11 +14,11 @@ const toReferralInvitation = (payload) => {
|
|
|
14
14
|
? (0, zeniDayJS_1.date)(invitee.last_invite_timestamp)
|
|
15
15
|
: undefined,
|
|
16
16
|
refereeEmailId: invitee.referee_email_id,
|
|
17
|
-
rewardPlan: invitee.
|
|
18
|
-
userId: invitee.
|
|
17
|
+
rewardPlan: invitee.refer_reward_plan_id,
|
|
18
|
+
userId: invitee.referrer_user_id,
|
|
19
19
|
voucherId: invitee.voucher_id,
|
|
20
20
|
amount: {
|
|
21
|
-
amount: invitee.referral_amount.
|
|
21
|
+
amount: invitee.referral_amount.referrer_amount,
|
|
22
22
|
currencyCode: invitee.referral_amount.currency_code,
|
|
23
23
|
currencySymbol: invitee.referral_amount.currency_symbol,
|
|
24
24
|
},
|
|
@@ -17,7 +17,7 @@ export declare const fetchReferrals: import("@reduxjs/toolkit").ActionCreatorWit
|
|
|
17
17
|
}, string, never, never>, resendReferralInviteSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
18
18
|
emailId: string;
|
|
19
19
|
timestamp?: string | undefined;
|
|
20
|
-
}, string>, clearReferrals: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, fetchRewardsPlan: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride?: any], {
|
|
20
|
+
}, string>, updateReferViewed: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateReferViewedSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateReferViewedFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, string>, clearReferrals: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, fetchRewardsPlan: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride?: any], {
|
|
21
21
|
cacheOverride: any;
|
|
22
22
|
}, string, never, never>, updateRewardsPlan: import("@reduxjs/toolkit").ActionCreatorWithPayload<FetchRewardsPlanPayload, string>, updateRewardsPlanFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, string>;
|
|
23
23
|
declare const _default: import("@reduxjs/toolkit").Reducer<ReferralViewState, import("@reduxjs/toolkit").AnyAction>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.updateRewardsPlanFailure = exports.updateRewardsPlan = exports.fetchRewardsPlan = exports.clearReferrals = exports.resendReferralInviteSuccess = exports.resendReferralInvite = exports.sendReferralInviteFailure = exports.sendReferralInviteSuccess = exports.sendReferralInvite = exports.clearReferralFormDataInLocalStore = exports.saveReferralFormDataInLocalStore = exports.updateReferralsFailure = exports.updateReferralListSortUiState = exports.updateReferrals = exports.fetchReferrals = exports.initialState = void 0;
|
|
4
|
+
exports.updateRewardsPlanFailure = exports.updateRewardsPlan = exports.fetchRewardsPlan = exports.clearReferrals = exports.updateReferViewedFailure = exports.updateReferViewedSuccess = exports.updateReferViewed = exports.resendReferralInviteSuccess = exports.resendReferralInvite = exports.sendReferralInviteFailure = exports.sendReferralInviteSuccess = exports.sendReferralInvite = exports.clearReferralFormDataInLocalStore = exports.saveReferralFormDataInLocalStore = exports.updateReferralsFailure = exports.updateReferralListSortUiState = exports.updateReferrals = exports.fetchReferrals = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const referralState_1 = require("./referralState");
|
|
6
7
|
const referralPayload_1 = require("./referralPayload");
|
|
7
8
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
8
9
|
const amount_1 = require("../../commonStateTypes/amount");
|
|
@@ -34,23 +35,31 @@ exports.initialState = {
|
|
|
34
35
|
sendInviteState: {
|
|
35
36
|
fetchState: 'Not-Started',
|
|
36
37
|
},
|
|
38
|
+
updateRewardsViewedFetchState: {
|
|
39
|
+
fetchState: 'Not-Started',
|
|
40
|
+
},
|
|
37
41
|
uiState: {
|
|
38
42
|
sortKey: 'referral_date',
|
|
39
43
|
sortOrder: 'descending', //default sort order
|
|
40
44
|
},
|
|
41
|
-
referralUniqueLink: (0, zeniUrl_1.toZeniUrl)(''),
|
|
42
45
|
rewardsPlanFetchState: {
|
|
43
46
|
fetchState: 'Not-Started',
|
|
44
47
|
error: undefined,
|
|
45
48
|
},
|
|
46
49
|
rewardsPlan: {
|
|
47
|
-
|
|
50
|
+
referrerAmount: {
|
|
51
|
+
amount: 0,
|
|
52
|
+
currencyCode: 'USD',
|
|
53
|
+
currencySymbol: '$',
|
|
54
|
+
},
|
|
55
|
+
refereeAmount: {
|
|
48
56
|
amount: 0,
|
|
49
57
|
currencyCode: 'USD',
|
|
50
58
|
currencySymbol: '$',
|
|
51
59
|
},
|
|
52
|
-
|
|
53
|
-
|
|
60
|
+
planName: 'PLAN_1000',
|
|
61
|
+
planId: 'dummy',
|
|
62
|
+
referralLink: (0, zeniUrl_1.toZeniUrl)(''),
|
|
54
63
|
},
|
|
55
64
|
};
|
|
56
65
|
const referral = (0, toolkit_1.createSlice)({
|
|
@@ -77,7 +86,6 @@ const referral = (0, toolkit_1.createSlice)({
|
|
|
77
86
|
draft.earnedBonus = (0, amount_1.toAmount)(action.payload.earned_bonus.amount, action.payload.earned_bonus.currency_code, action.payload.earned_bonus.currency_symbol);
|
|
78
87
|
draft.pendingBonus = (0, amount_1.toAmount)(action.payload.pending_bonus.amount, action.payload.pending_bonus.currency_code, action.payload.pending_bonus.currency_symbol);
|
|
79
88
|
draft.pendingReferrals = action.payload.pending_referrals;
|
|
80
|
-
draft.referralUniqueLink = (0, zeniUrl_1.toZeniUrl)(action.payload.static_referral_link);
|
|
81
89
|
draft.invitations = (0, referralPayload_1.toReferralInvitation)(action.payload.referees);
|
|
82
90
|
},
|
|
83
91
|
updateReferralsFailure(draft, action) {
|
|
@@ -137,6 +145,18 @@ const referral = (0, toolkit_1.createSlice)({
|
|
|
137
145
|
: undefined });
|
|
138
146
|
}
|
|
139
147
|
},
|
|
148
|
+
updateReferViewed: (draft) => {
|
|
149
|
+
draft.updateRewardsViewedFetchState.fetchState = 'In-Progress';
|
|
150
|
+
draft.updateRewardsViewedFetchState.error = undefined;
|
|
151
|
+
},
|
|
152
|
+
updateReferViewedSuccess(draft) {
|
|
153
|
+
draft.updateRewardsViewedFetchState.fetchState = 'Completed';
|
|
154
|
+
draft.updateRewardsViewedFetchState.error = undefined;
|
|
155
|
+
},
|
|
156
|
+
updateReferViewedFailure(draft, action) {
|
|
157
|
+
draft.updateRewardsViewedFetchState.fetchState = 'Error';
|
|
158
|
+
draft.updateRewardsViewedFetchState.error = action.payload;
|
|
159
|
+
},
|
|
140
160
|
fetchRewardsPlan: {
|
|
141
161
|
reducer(draft) {
|
|
142
162
|
draft.rewardsPlanFetchState.fetchState = 'In-Progress';
|
|
@@ -149,20 +169,25 @@ const referral = (0, toolkit_1.createSlice)({
|
|
|
149
169
|
},
|
|
150
170
|
},
|
|
151
171
|
updateRewardsPlan(draft, action) {
|
|
172
|
+
doUpdateRewardsPlan(draft.rewardsPlan, action.payload);
|
|
152
173
|
draft.rewardsPlanFetchState.fetchState = 'Completed';
|
|
153
174
|
draft.rewardsPlanFetchState.error = undefined;
|
|
154
|
-
draft.rewardsPlan.amount = (0, amount_1.toAmount)(action.payload.referral_plan_amount.amount, action.payload.referral_plan_amount.currency_code, action.payload.referral_plan_amount.currency_symbol);
|
|
155
|
-
draft.rewardsPlan.referRewardPlanId = action.payload.refer_reward_plan_id;
|
|
156
|
-
draft.rewardsPlan.referralUniqueLink = (0, zeniUrl_1.toZeniUrl)(action.payload.static_referral_link);
|
|
157
175
|
},
|
|
158
176
|
updateRewardsPlanFailure(draft, action) {
|
|
159
177
|
draft.rewardsPlanFetchState.fetchState = 'Error';
|
|
160
178
|
draft.rewardsPlanFetchState.error = action.payload;
|
|
161
179
|
},
|
|
162
180
|
clearReferrals(draft) {
|
|
163
|
-
draft
|
|
181
|
+
Object.assign(draft, exports.initialState);
|
|
164
182
|
},
|
|
165
183
|
},
|
|
166
184
|
});
|
|
167
|
-
_a = referral.actions, exports.fetchReferrals = _a.fetchReferrals, exports.updateReferrals = _a.updateReferrals, exports.updateReferralListSortUiState = _a.updateReferralListSortUiState, exports.updateReferralsFailure = _a.updateReferralsFailure, exports.saveReferralFormDataInLocalStore = _a.saveReferralFormDataInLocalStore, exports.clearReferralFormDataInLocalStore = _a.clearReferralFormDataInLocalStore, exports.sendReferralInvite = _a.sendReferralInvite, exports.sendReferralInviteSuccess = _a.sendReferralInviteSuccess, exports.sendReferralInviteFailure = _a.sendReferralInviteFailure, exports.resendReferralInvite = _a.resendReferralInvite, exports.resendReferralInviteSuccess = _a.resendReferralInviteSuccess, exports.clearReferrals = _a.clearReferrals, exports.fetchRewardsPlan = _a.fetchRewardsPlan, exports.updateRewardsPlan = _a.updateRewardsPlan, exports.updateRewardsPlanFailure = _a.updateRewardsPlanFailure;
|
|
185
|
+
_a = referral.actions, exports.fetchReferrals = _a.fetchReferrals, exports.updateReferrals = _a.updateReferrals, exports.updateReferralListSortUiState = _a.updateReferralListSortUiState, exports.updateReferralsFailure = _a.updateReferralsFailure, exports.saveReferralFormDataInLocalStore = _a.saveReferralFormDataInLocalStore, exports.clearReferralFormDataInLocalStore = _a.clearReferralFormDataInLocalStore, exports.sendReferralInvite = _a.sendReferralInvite, exports.sendReferralInviteSuccess = _a.sendReferralInviteSuccess, exports.sendReferralInviteFailure = _a.sendReferralInviteFailure, exports.resendReferralInvite = _a.resendReferralInvite, exports.resendReferralInviteSuccess = _a.resendReferralInviteSuccess, exports.updateReferViewed = _a.updateReferViewed, exports.updateReferViewedSuccess = _a.updateReferViewedSuccess, exports.updateReferViewedFailure = _a.updateReferViewedFailure, exports.clearReferrals = _a.clearReferrals, exports.fetchRewardsPlan = _a.fetchRewardsPlan, exports.updateRewardsPlan = _a.updateRewardsPlan, exports.updateRewardsPlanFailure = _a.updateRewardsPlanFailure;
|
|
168
186
|
exports.default = referral.reducer;
|
|
187
|
+
const doUpdateRewardsPlan = (draft, payload) => {
|
|
188
|
+
draft.referrerAmount = (0, amount_1.toAmount)(payload.refer_reward_plans[0].referral_plan_amount.referrer_amount, payload.refer_reward_plans[0].referral_plan_amount.currency_code, payload.refer_reward_plans[0].referral_plan_amount.currency_symbol);
|
|
189
|
+
draft.refereeAmount = (0, amount_1.toAmount)(payload.refer_reward_plans[0].referral_plan_amount.referee_amount, payload.refer_reward_plans[0].referral_plan_amount.currency_code, payload.refer_reward_plans[0].referral_plan_amount.currency_symbol);
|
|
190
|
+
draft.planId = payload.refer_reward_plans[0].refer_reward_plan_id;
|
|
191
|
+
draft.planName = (0, referralState_1.toSupportedRewardPlansType)(payload.refer_reward_plans[0].name);
|
|
192
|
+
draft.referralLink = (0, zeniUrl_1.toZeniUrl)(payload.static_referral_link);
|
|
193
|
+
};
|
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
import { RootState } from '../../reducer';
|
|
2
2
|
import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
-
import { InviteCompanyLocalData, ReferralInvitation, ReferralViewUIState } from './referralState';
|
|
3
|
+
import { InviteCompanyLocalData, ReferralInvitation, ReferralViewUIState, RewardsPlanData } from './referralState';
|
|
4
4
|
import { Amount } from '../../commonStateTypes/amount';
|
|
5
5
|
import { FetchStateAndError } from '../../commonStateTypes/common';
|
|
6
|
-
import ZeniUrl from '../../zeniUrl';
|
|
7
6
|
export interface ReferralListSelectorView extends SelectorView {
|
|
8
7
|
earnedBonus: Amount;
|
|
9
8
|
pendingBonus: Amount;
|
|
10
9
|
pendingReferrals: number;
|
|
11
|
-
referralLink: ZeniUrl;
|
|
12
10
|
invitations: ReferralInvitation[];
|
|
13
11
|
uiState: ReferralViewUIState;
|
|
14
|
-
|
|
12
|
+
rewardsPlan: RewardsPlanData;
|
|
15
13
|
}
|
|
16
14
|
export interface InviteFormSelectorView extends SelectorView {
|
|
17
15
|
localData: InviteCompanyLocalData[];
|
|
18
16
|
saveStatus: FetchStateAndError;
|
|
19
|
-
|
|
20
|
-
referralUniqueLink: ZeniUrl;
|
|
17
|
+
rewardsPlan: RewardsPlanData;
|
|
21
18
|
}
|
|
22
19
|
export interface RewardsPlanCardReport extends SelectorView {
|
|
23
|
-
|
|
20
|
+
rewardsPlan: RewardsPlanData;
|
|
24
21
|
}
|
|
25
22
|
export declare const getReferralListView: (state: RootState) => ReferralListSelectorView;
|
|
26
23
|
export declare const getInviteFormView: (state: RootState) => InviteFormSelectorView;
|
|
@@ -65,12 +65,11 @@ const getReferralListView = (state) => {
|
|
|
65
65
|
earnedBonus: referralViewState.earnedBonus,
|
|
66
66
|
pendingBonus: referralViewState.pendingBonus,
|
|
67
67
|
pendingReferrals: referralViewState.pendingReferrals,
|
|
68
|
-
referralLink: referralViewState.referralUniqueLink,
|
|
69
68
|
invitations: sortedInvitations,
|
|
70
69
|
uiState: referralViewState.uiState,
|
|
70
|
+
rewardsPlan: referralViewState.rewardsPlan,
|
|
71
71
|
fetchState,
|
|
72
72
|
error,
|
|
73
|
-
amount: referralViewState.rewardsPlan.amount,
|
|
74
73
|
};
|
|
75
74
|
};
|
|
76
75
|
exports.getReferralListView = getReferralListView;
|
|
@@ -79,15 +78,14 @@ const getInviteFormView = (state) => {
|
|
|
79
78
|
return {
|
|
80
79
|
localData: referralViewState.referralFormLocalData,
|
|
81
80
|
saveStatus: referralViewState.sendInviteState,
|
|
82
|
-
|
|
83
|
-
referralUniqueLink: referralViewState.rewardsPlan.referralUniqueLink,
|
|
81
|
+
rewardsPlan: referralViewState.rewardsPlan,
|
|
84
82
|
fetchState: referralViewState.rewardsPlanFetchState.fetchState,
|
|
85
83
|
error: referralViewState.rewardsPlanFetchState.error,
|
|
86
84
|
};
|
|
87
85
|
};
|
|
88
86
|
exports.getInviteFormView = getInviteFormView;
|
|
89
87
|
exports.getRewardsPlanCard = (0, toolkit_1.createSelector)((state) => state.referralViewState, (referralViewState) => ({
|
|
90
|
-
|
|
88
|
+
rewardsPlan: referralViewState.rewardsPlan,
|
|
91
89
|
reportId: 'rewards_card',
|
|
92
90
|
fetchState: referralViewState.rewardsPlanFetchState.fetchState,
|
|
93
91
|
error: referralViewState.rewardsPlanFetchState.error,
|
|
@@ -22,11 +22,11 @@ export interface ReferralViewState extends FetchedState {
|
|
|
22
22
|
pendingReferrals: number;
|
|
23
23
|
invitations: ReferralInvitation[];
|
|
24
24
|
referralFormLocalData: InviteCompanyLocalData[];
|
|
25
|
-
referralUniqueLink: ZeniUrl;
|
|
26
25
|
sendInviteState: FetchStateAndError;
|
|
27
26
|
uiState: ReferralViewUIState;
|
|
28
27
|
rewardsPlanFetchState: FetchStateAndError;
|
|
29
28
|
rewardsPlan: RewardsPlanData;
|
|
29
|
+
updateRewardsViewedFetchState: FetchStateAndError;
|
|
30
30
|
}
|
|
31
31
|
export interface ReferralViewUIState {
|
|
32
32
|
sortOrder: SortOrder;
|
|
@@ -34,14 +34,19 @@ export interface ReferralViewUIState {
|
|
|
34
34
|
scrollYOffset?: number;
|
|
35
35
|
}
|
|
36
36
|
export interface RewardsPlanData {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
referrerAmount: Amount;
|
|
38
|
+
refereeAmount: Amount;
|
|
39
|
+
planId: ID;
|
|
40
|
+
planName: SupportedRewardPlans;
|
|
41
|
+
referralLink: ZeniUrl;
|
|
40
42
|
}
|
|
41
43
|
export interface InviteCompanyLocalData {
|
|
42
44
|
companyName: string;
|
|
43
45
|
emailIds: string[];
|
|
44
46
|
}
|
|
47
|
+
export declare const SUPPORTED_REWARD_PLANS: readonly ["PLAN_1000", "PLAN_4000"];
|
|
48
|
+
export declare const toSupportedRewardPlansType: (v: string) => "PLAN_1000" | "PLAN_4000";
|
|
49
|
+
export declare type SupportedRewardPlans = ReturnType<typeof toSupportedRewardPlansType>;
|
|
45
50
|
export declare const REFERRAL_LIST_VIEW_SORT_KEYS: readonly ["invitee_email", "amount", "status", "referral_date"];
|
|
46
51
|
export declare const toReferralListViewSortKeyType: (v: string) => "status" | "amount" | "invitee_email" | "referral_date";
|
|
47
52
|
export declare type ReferralListViewSortKey = ReturnType<typeof toReferralListViewSortKeyType>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AmountStatusTypes = exports.toReferralAmountStatusType = exports.ALL_REFERRAL_AMOUNT_STATUSES = exports.StatusTypes = exports.toReferralStatusType = exports.ALL_REFERRAL_STATUSES = exports.toReferralListViewSortKeyType = exports.REFERRAL_LIST_VIEW_SORT_KEYS = void 0;
|
|
3
|
+
exports.AmountStatusTypes = exports.toReferralAmountStatusType = exports.ALL_REFERRAL_AMOUNT_STATUSES = exports.StatusTypes = exports.toReferralStatusType = exports.ALL_REFERRAL_STATUSES = exports.toReferralListViewSortKeyType = exports.REFERRAL_LIST_VIEW_SORT_KEYS = exports.toSupportedRewardPlansType = exports.SUPPORTED_REWARD_PLANS = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
|
+
exports.SUPPORTED_REWARD_PLANS = ['PLAN_1000', 'PLAN_4000'];
|
|
6
|
+
const toSupportedRewardPlansType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.SUPPORTED_REWARD_PLANS);
|
|
7
|
+
exports.toSupportedRewardPlansType = toSupportedRewardPlansType;
|
|
5
8
|
exports.REFERRAL_LIST_VIEW_SORT_KEYS = [
|
|
6
9
|
'invitee_email',
|
|
7
10
|
'amount',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.72",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|