@zeniai/client-epic-state 5.1.97 → 5.1.98
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/epic.d.ts +1 -5
- package/lib/epic.js +1 -5
- package/lib/esm/epic.js +1 -5
- package/lib/esm/index.js +4 -7
- package/lib/esm/reducer.js +0 -3
- package/lib/esm/view/dashboard/dashboardEpic.js +0 -20
- package/lib/esm/view/dashboard/dashboardReducer.js +1 -13
- package/lib/esm/view/dashboard/dashboardSelector.js +2 -7
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +1 -67
- package/lib/index.d.ts +4 -8
- package/lib/index.js +39 -48
- package/lib/reducer.d.ts +0 -3
- package/lib/reducer.js +0 -3
- package/lib/view/dashboard/dashboardEpic.d.ts +1 -3
- package/lib/view/dashboard/dashboardEpic.js +0 -20
- package/lib/view/dashboard/dashboardReducer.d.ts +1 -1
- package/lib/view/dashboard/dashboardReducer.js +2 -14
- package/lib/view/dashboard/dashboardSelector.d.ts +0 -1
- package/lib/view/dashboard/dashboardSelector.js +2 -7
- package/lib/view/dashboard/dashboardState.d.ts +0 -1
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +1 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +1 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.d.ts +1 -1
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +2 -68
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewState.d.ts +0 -3
- package/package.json +1 -1
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoIntroClosedByOutsideClickEpic.js +0 -18
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoRemindMeLaterClickedEpic.js +0 -18
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryVideoViewedEpic.js +0 -18
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +0 -16
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardPayload.js +0 -1
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +0 -60
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js +0 -12
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardState.js +0 -1
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoIntroClosedByOutsideClickEpic.d.ts +0 -8
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoIntroClosedByOutsideClickEpic.js +0 -22
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoRemindMeLaterClickedEpic.d.ts +0 -8
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoRemindMeLaterClickedEpic.js +0 -22
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryVideoViewedEpic.d.ts +0 -8
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryVideoViewedEpic.js +0 -22
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.d.ts +0 -13
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +0 -20
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardPayload.d.ts +0 -11
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardPayload.js +0 -2
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.d.ts +0 -7
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +0 -64
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +0 -12
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js +0 -15
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardState.d.ts +0 -9
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardState.js +0 -2
|
@@ -25,10 +25,8 @@ import { fetchRewardsPlan } from '../referralView/referralReducer';
|
|
|
25
25
|
import { fetchReimbursementCard } from '../reimbursementCard/reimbursementCardReducer';
|
|
26
26
|
import { fetchRevenue } from '../revenue/revenueReducer';
|
|
27
27
|
import { getRevenueReportFetchState } from '../revenue/revenueSelector';
|
|
28
|
-
import { fetchTreasuryFunds } from '../spendManagement/treasury/treasurySetUp/treasurySetupViewReducer';
|
|
29
28
|
import { fetchTasksCard } from '../tasksCard/tasksCardReducer';
|
|
30
29
|
import { fetchTopEx } from '../topEx/topExReducer';
|
|
31
|
-
import { fetchZeniAccountsPromoCard } from '../zeniAccountsPromoCard/zeniAccountsPromoCardReducer';
|
|
32
30
|
import { fetchDashboard } from './dashboardReducer';
|
|
33
31
|
export const fetchDashboardEpic = (actions$, state$) => actions$.pipe(filter(fetchDashboard.match), switchMap((action) => {
|
|
34
32
|
const { userId, companyId, fetchFullReport, cacheOverride, excludeResources, tenantId, } = action.payload;
|
|
@@ -66,9 +64,6 @@ export const fetchDashboardEpic = (actions$, state$) => actions$.pipe(filter(fet
|
|
|
66
64
|
if (excludeResources.includes('accounts_receivable_aging') === false) {
|
|
67
65
|
actions.push(fetchArAging(arAgingDate));
|
|
68
66
|
}
|
|
69
|
-
if (excludeResources.includes('zeni_accounts_promo_card') === false) {
|
|
70
|
-
actions.push(fetchZeniAccountsPromoCard());
|
|
71
|
-
}
|
|
72
67
|
if (!isInvestorBanker) {
|
|
73
68
|
actions.push(fetchBillPayCard());
|
|
74
69
|
}
|
|
@@ -85,9 +80,6 @@ export const fetchDashboardEpic = (actions$, state$) => actions$.pipe(filter(fet
|
|
|
85
80
|
refreshViewInBackground: false,
|
|
86
81
|
}));
|
|
87
82
|
}
|
|
88
|
-
if (excludeResources.includes('treasury_promo_card') === false) {
|
|
89
|
-
actions.push(fetchTreasuryFunds());
|
|
90
|
-
}
|
|
91
83
|
return from(actions);
|
|
92
84
|
}
|
|
93
85
|
else {
|
|
@@ -164,11 +156,6 @@ export const fetchDashboardEpic = (actions$, state$) => actions$.pipe(filter(fet
|
|
|
164
156
|
excludeResources.includes('accounts_receivable_aging') === false) {
|
|
165
157
|
fetchActions.push(fetchArAging(arAgingDate));
|
|
166
158
|
}
|
|
167
|
-
if (state.zeniAccountsPromoCardState.fetchState !== 'In-Progress' &&
|
|
168
|
-
!state.zeniAccountsPromoCardState.hasValidState() &&
|
|
169
|
-
excludeResources.includes('zeni_accounts_promo_card') === false) {
|
|
170
|
-
fetchActions.push(fetchZeniAccountsPromoCard());
|
|
171
|
-
}
|
|
172
159
|
if (state.billPayCardState.fetchState !== 'In-Progress' &&
|
|
173
160
|
!state.billPayCardState.hasValidState() &&
|
|
174
161
|
!isInvestorBanker) {
|
|
@@ -197,13 +184,6 @@ export const fetchDashboardEpic = (actions$, state$) => actions$.pipe(filter(fet
|
|
|
197
184
|
refreshViewInBackground: false,
|
|
198
185
|
}));
|
|
199
186
|
}
|
|
200
|
-
if (state.treasurySetupViewState.treasuryFundsDetails.fetchStatus
|
|
201
|
-
.fetchState !== 'In-Progress' &&
|
|
202
|
-
state.treasurySetupViewState.treasuryFundsDetails.fetchStatus
|
|
203
|
-
.fetchState !== 'Completed' &&
|
|
204
|
-
excludeResources.includes('treasury_promo_card') === false) {
|
|
205
|
-
fetchActions.push(fetchTreasuryFunds());
|
|
206
|
-
}
|
|
207
187
|
return from(fetchActions);
|
|
208
188
|
}
|
|
209
189
|
}));
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { clearAll } from '../../rootActions';
|
|
3
3
|
import { dateNow } from '../../zeniDayJS';
|
|
4
|
-
import { updateTreasuryPromoIntroClosedByOutsideClick, updateTreasuryPromoRemindMeLaterClicked, } from '../spendManagement/treasury/treasurySetUp/treasurySetupViewReducer';
|
|
5
4
|
export const initialState = {
|
|
6
|
-
isTreasuryVideoClosed: false,
|
|
7
5
|
lastFetchRequestTime: undefined,
|
|
8
6
|
};
|
|
9
7
|
const dashboard = createSlice({
|
|
@@ -27,25 +25,15 @@ const dashboard = createSlice({
|
|
|
27
25
|
};
|
|
28
26
|
},
|
|
29
27
|
},
|
|
30
|
-
updateTreasuryVideoClosed(draft) {
|
|
31
|
-
draft.isTreasuryVideoClosed = true;
|
|
32
|
-
},
|
|
33
28
|
clearDashboard(draft) {
|
|
34
29
|
Object.assign(draft, initialState);
|
|
35
30
|
},
|
|
36
31
|
},
|
|
37
32
|
extraReducers: (builder) => {
|
|
38
|
-
builder
|
|
39
|
-
.addCase(updateTreasuryPromoRemindMeLaterClicked, (draft) => {
|
|
40
|
-
draft.isTreasuryVideoClosed = true;
|
|
41
|
-
})
|
|
42
|
-
.addCase(updateTreasuryPromoIntroClosedByOutsideClick, (draft) => {
|
|
43
|
-
draft.isTreasuryVideoClosed = true;
|
|
44
|
-
});
|
|
45
33
|
builder.addCase(clearAll, (draft) => {
|
|
46
34
|
Object.assign(draft, initialState);
|
|
47
35
|
});
|
|
48
36
|
},
|
|
49
37
|
});
|
|
50
|
-
export const { fetchDashboard,
|
|
38
|
+
export const { fetchDashboard, clearDashboard } = dashboard.actions;
|
|
51
39
|
export default dashboard.reducer;
|
|
@@ -22,7 +22,6 @@ import { getReimbursementCardReport } from '../reimbursementCard/reimbursementCa
|
|
|
22
22
|
import { getRevenueReport } from '../revenue/revenueSelector';
|
|
23
23
|
import { getTasksCardReport } from '../tasksCard/tasksCardSelector';
|
|
24
24
|
import { getTop6Expenses } from '../topEx/topExSelector';
|
|
25
|
-
import { getZeniAccountsPromoCard } from '../zeniAccountsPromoCard/zeniAccountsPromoCardSelector';
|
|
26
25
|
const getNetBurnOrIncomeForLast4Periods = (state) => {
|
|
27
26
|
return getNetBurnOrIncomeReport(state.accountState, state.accountGroupState, state.sectionAccountsViewState, state.netBurnOrIncomeState, state.forecastState, state.forecastListState, newBalancesFilter(state.netBurnOrIncomeState.netBurnOrIncome.firstMonthOfFY, state.netBurnOrIncomeState.uiState.timeframe, 4, undefined, 'ascending_date', state.netBurnOrIncomeState.uiState.selectedAdditionalBalances));
|
|
28
27
|
};
|
|
@@ -39,10 +38,10 @@ const tenantSelector = createSelector(getTenantsByCheckInDateSelector, getCurren
|
|
|
39
38
|
tenantsOrdered,
|
|
40
39
|
currentTenant,
|
|
41
40
|
}));
|
|
42
|
-
export const getDashboard = createSelector(tenantSelector, getCardBalance, getCashBalance, getOperatingExpensesForLast5Periods, getRevenueForLast4Periods, getTop6Expenses, getNetBurnOrIncomeForLast4Periods, getNetBurnOrIncomeStoryCard, getCashPositionLast5Periods, getCashInCashOutLast4Periods, getInsights, getCompanyPassportView, getTasksCardReport, getBillPayCardReport, getReimbursementCardReport, apAgingSelector, arAgingSelector,
|
|
41
|
+
export const getDashboard = createSelector(tenantSelector, getCardBalance, getCashBalance, getOperatingExpensesForLast5Periods, getRevenueForLast4Periods, getTop6Expenses, getNetBurnOrIncomeForLast4Periods, getNetBurnOrIncomeStoryCard, getCashPositionLast5Periods, getCashInCashOutLast4Periods, getInsights, getCompanyPassportView, getTasksCardReport, getBillPayCardReport, getReimbursementCardReport, apAgingSelector, arAgingSelector, getRewardsPlanCard, getDashboardCardsOrdered, (state) => {
|
|
43
42
|
const currentTenant = getCurrentTenant(state);
|
|
44
43
|
return getMonthEndCloseChecksViewByTenantId(state, currentTenant.tenantId);
|
|
45
|
-
}, (state) => state.tenantState, (_state, additionalExcludedReports) => additionalExcludedReports, (
|
|
44
|
+
}, (state) => state.tenantState, (_state, additionalExcludedReports) => additionalExcludedReports, (tenants, cardBalance, cashBalance, opEx, revenue, topEx, netBurnOrIncome, netBurnOrIncomeStoryCard, cashPosition, cashInCashOut, insightsView, companyPassportView, tasksCard, billPayCard, reimbursementCard, apAgingReport, arAgingReport, rewardsPlanCard, cards, monthEndCloseChecksView, tenantState, additionalExcludedReports) => {
|
|
46
45
|
const isReimbursementFeatureEnabled = tenants.currentTenant.company?.featuresActivationInfo
|
|
47
46
|
.isReimbursementFeatureEnabled;
|
|
48
47
|
const isBillPayFeatureEnabled = tenants.currentTenant.company?.featuresActivationInfo
|
|
@@ -211,9 +210,6 @@ export const getDashboard = createSelector(tenantSelector, getCardBalance, getCa
|
|
|
211
210
|
if (isReimbursementFeatureEnabled === true && isAdmin) {
|
|
212
211
|
reportsInOrder.push(reimbursementCard);
|
|
213
212
|
}
|
|
214
|
-
if (additionalExcludedReports.includes('zeni_accounts_promo_card') === false) {
|
|
215
|
-
reportsInOrder.push(zeniAccountsPromoCard);
|
|
216
|
-
}
|
|
217
213
|
if (additionalExcludedReports.includes('rewards_card') === false) {
|
|
218
214
|
reportsInOrder.push(rewardsPlanCard);
|
|
219
215
|
}
|
|
@@ -229,6 +225,5 @@ export const getDashboard = createSelector(tenantSelector, getCardBalance, getCa
|
|
|
229
225
|
...tenants,
|
|
230
226
|
reportsInOrder,
|
|
231
227
|
cardsForDashboardUI: cardsCopy,
|
|
232
|
-
isTreasuryVideoClosed,
|
|
233
228
|
};
|
|
234
229
|
});
|
|
@@ -34,18 +34,6 @@ export const initialState = {
|
|
|
34
34
|
fetchState: 'Not-Started',
|
|
35
35
|
error: undefined,
|
|
36
36
|
},
|
|
37
|
-
updateTreasuryPromoIntroClosedByOutsideClickStatus: {
|
|
38
|
-
fetchState: 'Not-Started',
|
|
39
|
-
error: undefined,
|
|
40
|
-
},
|
|
41
|
-
updateTreasuryPromoRemindMeLaterClickedStatus: {
|
|
42
|
-
fetchState: 'Not-Started',
|
|
43
|
-
error: undefined,
|
|
44
|
-
},
|
|
45
|
-
updateTreasuryVideoViewedStatus: {
|
|
46
|
-
fetchState: 'Not-Started',
|
|
47
|
-
error: undefined,
|
|
48
|
-
},
|
|
49
37
|
hasValidState() {
|
|
50
38
|
return this.fetchState === 'Completed';
|
|
51
39
|
},
|
|
@@ -281,60 +269,6 @@ const treasurySetupView = createSlice({
|
|
|
281
269
|
updateFundAllocationLocalData(draft, action) {
|
|
282
270
|
draft.fundAllocationLocalData = action.payload;
|
|
283
271
|
},
|
|
284
|
-
updateTreasuryVideoViewed(draft) {
|
|
285
|
-
draft.updateTreasuryVideoViewedStatus = {
|
|
286
|
-
fetchState: 'In-Progress',
|
|
287
|
-
error: undefined,
|
|
288
|
-
};
|
|
289
|
-
},
|
|
290
|
-
updateTreasuryVideoViewedSuccess(draft) {
|
|
291
|
-
draft.updateTreasuryVideoViewedStatus = {
|
|
292
|
-
fetchState: 'Completed',
|
|
293
|
-
error: undefined,
|
|
294
|
-
};
|
|
295
|
-
},
|
|
296
|
-
updateTreasuryVideoViewedFailure(draft, action) {
|
|
297
|
-
draft.updateTreasuryVideoViewedStatus = {
|
|
298
|
-
fetchState: 'Error',
|
|
299
|
-
error: action.payload,
|
|
300
|
-
};
|
|
301
|
-
},
|
|
302
|
-
updateTreasuryPromoRemindMeLaterClicked(draft) {
|
|
303
|
-
draft.updateTreasuryPromoRemindMeLaterClickedStatus = {
|
|
304
|
-
fetchState: 'In-Progress',
|
|
305
|
-
error: undefined,
|
|
306
|
-
};
|
|
307
|
-
},
|
|
308
|
-
updateTreasuryPromoRemindMeLaterClickedSuccess(draft) {
|
|
309
|
-
draft.updateTreasuryPromoRemindMeLaterClickedStatus = {
|
|
310
|
-
fetchState: 'Completed',
|
|
311
|
-
error: undefined,
|
|
312
|
-
};
|
|
313
|
-
},
|
|
314
|
-
updateTreasuryPromoRemindMeLaterClickedFailure(draft, action) {
|
|
315
|
-
draft.updateTreasuryPromoRemindMeLaterClickedStatus = {
|
|
316
|
-
fetchState: 'Error',
|
|
317
|
-
error: action.payload,
|
|
318
|
-
};
|
|
319
|
-
},
|
|
320
|
-
updateTreasuryPromoIntroClosedByOutsideClick(draft) {
|
|
321
|
-
draft.updateTreasuryPromoIntroClosedByOutsideClickStatus = {
|
|
322
|
-
fetchState: 'In-Progress',
|
|
323
|
-
error: undefined,
|
|
324
|
-
};
|
|
325
|
-
},
|
|
326
|
-
updateTreasuryPromoIntroClosedByOutsideClickSuccess(draft) {
|
|
327
|
-
draft.updateTreasuryPromoIntroClosedByOutsideClickStatus = {
|
|
328
|
-
fetchState: 'Completed',
|
|
329
|
-
error: undefined,
|
|
330
|
-
};
|
|
331
|
-
},
|
|
332
|
-
updateTreasuryPromoIntroClosedByOutsideClickFailure(draft, action) {
|
|
333
|
-
draft.updateTreasuryPromoIntroClosedByOutsideClickStatus = {
|
|
334
|
-
fetchState: 'Error',
|
|
335
|
-
error: action.payload,
|
|
336
|
-
};
|
|
337
|
-
},
|
|
338
272
|
clearTreasurySetupView(draft) {
|
|
339
273
|
Object.assign(draft, initialState);
|
|
340
274
|
},
|
|
@@ -345,7 +279,7 @@ const treasurySetupView = createSlice({
|
|
|
345
279
|
});
|
|
346
280
|
},
|
|
347
281
|
});
|
|
348
|
-
export const { fetchTreasuryFunds, fetchTreasurySetupView, fetchTreasurySetupViewSuccess, fetchTreasurySetupViewFailure, acceptTreasuryTerms, acceptTreasuryTermsSuccess, acceptTreasuryTermsFailure, clearTreasurySetupView, updateTreasuryFundsSuccess, updateTreasuryFundsFailure, updatePortfolioAllocation, updatePortfolioAllocationSuccess, updatePortfolioAllocationFailure, fetchPortfolioAllocation, fetchPortfolioAllocationSuccess, fetchPortfolioAllocationFailure, updateFundAllocationLocalData,
|
|
282
|
+
export const { fetchTreasuryFunds, fetchTreasurySetupView, fetchTreasurySetupViewSuccess, fetchTreasurySetupViewFailure, acceptTreasuryTerms, acceptTreasuryTermsSuccess, acceptTreasuryTermsFailure, clearTreasurySetupView, updateTreasuryFundsSuccess, updateTreasuryFundsFailure, updatePortfolioAllocation, updatePortfolioAllocationSuccess, updatePortfolioAllocationFailure, fetchPortfolioAllocation, fetchPortfolioAllocationSuccess, fetchPortfolioAllocationFailure, updateFundAllocationLocalData, } = treasurySetupView.actions;
|
|
349
283
|
export default treasurySetupView.reducer;
|
|
350
284
|
function mapTreasuryFundsPayloadToFundData(fundsPayload) {
|
|
351
285
|
return fundsPayload.funds.map((fund) => ({
|
package/lib/index.d.ts
CHANGED
|
@@ -278,7 +278,7 @@ import { PortfolioUIState } from './view/companyView/types/companyPortfolioViewS
|
|
|
278
278
|
import { CompanyView } from './view/companyView/types/companyView';
|
|
279
279
|
import { UserAndRole } from './view/companyView/types/userAndRole';
|
|
280
280
|
import { clearTransferEntryRouteReplacement, createTransferEntry, createTransferEntryFailure, createTransferEntryReplacedTransaction, createTransferEntrySuccess, fetchAccountsForTransferFlow, resetCreateTransferEntryStatus } from './view/createTransferEntry/createTransferEntryReducer';
|
|
281
|
-
import { fetchDashboard
|
|
281
|
+
import { fetchDashboard } from './view/dashboard/dashboardReducer';
|
|
282
282
|
import { DashboardReport, getDashboard } from './view/dashboard/dashboardSelector';
|
|
283
283
|
import { updateDashboardLayout } from './view/dashboardLayout/dashboardLayoutReducer';
|
|
284
284
|
import uploadAccountStatementIntoDocumentAI from './view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper';
|
|
@@ -548,7 +548,7 @@ import { MileageDenomination, MileageDetailsLocalData, RemiSetupViewLocalData, R
|
|
|
548
548
|
import { approveOrRejectRemisBulkAction, autoReviewPendingApprovalRemis, cancelOrDeleteRemisBulkAction, clearAllRemisFromBulkActionList, clearRemiBulkActionView, incrementRemiBulkActionProcessedCount, removeRemiFromBulkActionList, reviewDraftRemisBulkAction, submitDraftRemisBulkAction, updateRemisBulkActionList } from './view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer';
|
|
549
549
|
import { RemisBulkReviewView, getRemisBulkOperationProgress, getRemisBulkReviewView } from './view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewSelector';
|
|
550
550
|
import { BillPayFilterCategoryDropdownOption, CategoryCombinationOperator, FilterCategoryType, MatchingOperatorDropdownOption, ReimbursementFilterCategoryDropdownOption, SpendManagementFilterCategoryDropdownOption, SpendManagementFilterEntityType, SpendManagementFiltersType, TaskFilterCategoryDropdownOption, hideCreatedByFilter } from './view/spendManagement/spendManagementFilterHelpers';
|
|
551
|
-
import { acceptTreasuryTerms, clearTreasurySetupView, fetchPortfolioAllocation, fetchTreasuryFunds, fetchTreasurySetupView, updateFundAllocationLocalData, updatePortfolioAllocation
|
|
551
|
+
import { acceptTreasuryTerms, clearTreasurySetupView, fetchPortfolioAllocation, fetchTreasuryFunds, fetchTreasurySetupView, updateFundAllocationLocalData, updatePortfolioAllocation } from './view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer';
|
|
552
552
|
import { TreasuryBusinessVerificationDetails, TreasurySetupView, getTreasuryBusinessVerificationDetails, getTreasurySetupViewDetails } from './view/spendManagement/treasury/treasurySetUp/treasurySetupViewSelector';
|
|
553
553
|
import { FundAllocationOption, FundComposition, FundData, getTreasuryFundsMaximumYield } from './view/spendManagement/treasury/treasurySetUp/treasurySetupViewState';
|
|
554
554
|
import { clearCheckDeposit, depositCheck, updateLocalStore as updateCheckDepositLocalData, updateDepositToLocalData } from './view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer';
|
|
@@ -660,9 +660,6 @@ import { VendorType } from './view/vendorTypeList/vendorTypeListPayload';
|
|
|
660
660
|
import { Statement } from './view/zeniAccStatementList/zeniAccStatementList';
|
|
661
661
|
import { fetchZeniAccStatementPage } from './view/zeniAccStatementList/zeniAccStatementListReducer';
|
|
662
662
|
import { ZeniAccStatementsSelectorView, getZeniAccStatements } from './view/zeniAccStatementList/zeniAccStatementListSelector';
|
|
663
|
-
import { fetchZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer';
|
|
664
|
-
import { ZeniAccountsPromoCardReport, getZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector';
|
|
665
|
-
import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardState';
|
|
666
663
|
import { OAuthParams, ParseOAuthParamsResult, parseOAuthParams } from './view/zeniOAuthView/zeniOAuthParamsParser';
|
|
667
664
|
import { ApproveOAuthConsentPayload, approveOAuthConsent, approveOAuthConsentFailure, approveOAuthConsentSuccess, clearZeniOAuthView } from './view/zeniOAuthView/zeniOAuthReducer';
|
|
668
665
|
import { getZeniOAuthApproveError, getZeniOAuthApproveFetchState, getZeniOAuthApproveRedirectUrl } from './view/zeniOAuthView/zeniOAuthSelector';
|
|
@@ -745,7 +742,7 @@ export { clearRevenueProjectView, fetchRevenueForTimeframeProjectView, fetchReve
|
|
|
745
742
|
export { fetchCashPosition, updateCashPositionCOABalancesRange, updateCashPositionDownloadState, updateCashPositionUIState, getCashPosition, getCashPositionUIState, getCashPositionForSelectedRange, getCashPositionForHighlightedRange, CashPositionReport, CashPositionUIStateSelectorView, };
|
|
746
743
|
export { fetchCashInCashOut, getCashInCashOut, getCashInCashOutUIState, getCashInCashOutForSelectedRange, getCashInCashOutForHighlightedRange, updateCashInCashOutCOABalancesRange, updateCashInCashOutDownloadState, updateCashInCashOutUIState, CashInCashOutReport, CashInCashOutUIStateSelectorView, CashInCashOutCalculatedSectionID, CashInCashOutSectionID, };
|
|
747
744
|
export { fetchTopEx, updateTopExTimeFrame, updateTopExDownloadState, getTopExpenses, getTop6Expenses, getAllTopExpenses, TopExpenses, TopExReport, TopExAccount, TopExTimePeriodWithMetaData, };
|
|
748
|
-
export { fetchDashboard, getDashboard, DashboardReport
|
|
745
|
+
export { fetchDashboard, getDashboard, DashboardReport };
|
|
749
746
|
export { updateDashboardLayout };
|
|
750
747
|
export { PandLWithForecastView, getPandLWithForecast, } from './view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector';
|
|
751
748
|
export { fetchProfitAndLoss, resetProfitAndLossNodeCollapseState, updateProfitAndLossUIState, ProfitAndLossState, ProfitAndLossUIState, getProfitAndLossReport, ProfitAndLossReport, getPandLReportFetchState, fetchProfitAndLossForTimeframe, };
|
|
@@ -932,7 +929,6 @@ export { Tag, TagState, TagViewState, getAllTags, TagViewSelectorView, fetchTagL
|
|
|
932
929
|
export { CardPayment, CardPaymentViewState, SetupIntentData, CardPaymentSelectorView, getAllCardsAndBankPaymentMethods, createCardSetupIntent, confirmCardSetupIntent, addCardPaymentSource, fetchPaymentSources, resetCardPaymentErrorStatuses, clearCardPaymentView, AddCardPaymentSourceType, };
|
|
933
930
|
export { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, getUserFromAllUsers, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView, fetchAuditRuleGroupView, fetchAuditReportGroupView, saveReasonForAuditRule, AuditRuleGroup, AuditRuleGroupReport, AuditReportRule, AuditRuleEntityType, AuditRuleEntityIdType, AuditRuleBypassReason, clearAuditReportGroupViewByCompanyId, };
|
|
934
931
|
export { AuthenticationFeatureType, AuthenticationDetails, AuthenticationViewState, fetchCollaborationAuthToken, getAuthenticationView, };
|
|
935
|
-
export { ZeniAccountsPromoCardState, getZeniAccountsPromoCard, ZeniAccountsPromoCardReport, fetchZeniAccountsPromoCard, };
|
|
936
932
|
export { ApproveOAuthConsentPayload, OAuthParams, ParseOAuthParamsResult, ZeniOAuthViewState, approveOAuthConsent, approveOAuthConsentFailure, approveOAuthConsentSuccess, clearZeniOAuthView, getZeniOAuthApproveError, getZeniOAuthApproveFetchState, getZeniOAuthApproveRedirectUrl, parseOAuthParams, };
|
|
937
933
|
export { ExternalNotificationData, NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, Notification, NotificationWithAuthors, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat, toNotificationModeStrict, updateCommentsNotifications, updateCommentsNotificationsStatuses, };
|
|
938
934
|
export { NotificationView, NotificationViewUIState, NotificationTabState, NotificationTabType, NotificationSubTabType, toNotificationSubTabTypeStrict, toNotificationTabTypeStrict, fetchNotificationView, fetchNotificationUnreadCount, fetchNotificationUnreadCountSuccess, updateNotificationViewAllNotificationsStatus, updateNotificationViewNotificationStatus, updateNotificationViewTabState, updateNotificationViewCurrentTabAndSubTab, updateNotificationViewSubTab, updateNotificationViewUIState, getNotificationView, getExternalNotificationsForSelectedSubTab, getNotificationsForSelectedSubTab, };
|
|
@@ -945,7 +941,7 @@ export { fetchCockpitContext, fetchCompanyTaskManagerView, fetchTaskManagerMetri
|
|
|
945
941
|
export { Country };
|
|
946
942
|
export { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType, fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData, getIntlWireVerificationView, InternationalWireVerificationView, };
|
|
947
943
|
export { fetchExpressPayInitialDetails, updateExpressPayFormLocalData, submitExpressPay, resetExpressPayLocalData, ExpressPayFormLocalData, ExpressPayView, getExpressPayView, };
|
|
948
|
-
export { acceptTreasuryTerms, fetchTreasurySetupView, clearTreasurySetupView, fetchTreasuryFunds, updatePortfolioAllocation, fetchPortfolioAllocation, updateFundAllocationLocalData,
|
|
944
|
+
export { acceptTreasuryTerms, fetchTreasurySetupView, clearTreasurySetupView, fetchTreasuryFunds, updatePortfolioAllocation, fetchPortfolioAllocation, updateFundAllocationLocalData, FundAllocationOption, FundComposition, FundData, TreasurySetupView, getTreasurySetupViewDetails, getTreasuryFundsMaximumYield, };
|
|
949
945
|
export { AiAccountantCustomer, AiAccountantCustomerState, AiAccountantEnrollment, AiAccountantEnrollmentStatus, AiAccountantJob, AiAccountantJobStatus, AiAccountantOperationType, getAllowedOperationsForStatus, toAiAccountantEnrollmentStatus, toAiAccountantJobStatus, toAiAccountantOperationType, } from './entity/aiAccountantCustomer/aiAccountantCustomerState';
|
|
950
946
|
export { AiAccountantCustomerPayload, AiAccountantEnrollmentPayload, AiAccountantJobPayload, toAiAccountantCustomer, toAiAccountantEnrollment, toAiAccountantJob, } from './entity/aiAccountantCustomer/aiAccountantCustomerPayload';
|
|
951
947
|
export { AiAccountantCancelOnboardingResponse, AiAccountantCancelOnboardingResponseData, AiAccountantCustomersResponse, AiAccountantCustomersResponseData, AiAccountantJobsResponse, AiAccountantJobsResponseData, AiAccountantTriggerJobResponse, AiAccountantTriggerJobResponseData, } from './view/aiAccountantView/aiAccountantViewPayload';
|