@zeniai/client-epic-state 5.2.62-beta1ND → 5.2.62-beta2MM
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/actualMatching/actualMatchingReducer.d.ts +3 -1
- package/lib/entity/actualMatching/actualMatchingReducer.js +11 -2
- package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +1 -0
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -0
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -0
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/epic.d.ts +2 -1
- package/lib/epic.js +2 -0
- package/lib/esm/entity/actualMatching/actualMatchingReducer.js +9 -1
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +1 -0
- package/lib/esm/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/esm/epic.js +2 -0
- package/lib/esm/index.js +5 -5
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +4 -2
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +50 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +26 -13
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +2 -23
- package/lib/esm/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +89 -38
- package/lib/esm/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +66 -64
- package/lib/esm/view/expenseAutomationView/types/actualMatchingViewState.js +15 -0
- package/lib/index.d.ts +6 -6
- package/lib/index.js +57 -49
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +3 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.d.ts +10 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +54 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +24 -11
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +1 -22
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/payload/actualMatchingPayload.d.ts +12 -1
- package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.d.ts +19 -8
- package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +90 -39
- package/lib/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.d.ts +20 -8
- package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.d.ts +7 -4
- package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +69 -64
- package/lib/view/expenseAutomationView/types/actualMatchingViewState.d.ts +20 -4
- package/lib/view/expenseAutomationView/types/actualMatchingViewState.js +18 -1
- package/package.json +26 -1
|
@@ -1,34 +1,13 @@
|
|
|
1
1
|
import { from, merge, of } from 'rxjs';
|
|
2
2
|
import { catchError, debounceTime, filter, mergeMap, switchMap, takeUntil, } from 'rxjs/operators';
|
|
3
|
-
import { getActualMatchingMatchById } from '../../../../../entity/actualMatching/actualMatchingSelector';
|
|
4
3
|
import { createZeniAPIStatus, isSuccessResponse, } from '../../../../../responsePayload';
|
|
5
4
|
import { clearAll } from '../../../../../rootActions';
|
|
6
5
|
import { toActualMatchingTransactionSearchResult, } from '../../../payload/actualMatchingPayload';
|
|
7
6
|
import { openMatchNewModal, searchMatchAccruals, searchMatchTransactions, searchMatchTransactionsFailure, searchMatchTransactionsSuccess, } from '../../../reducers/actualMatchingViewReducer';
|
|
8
|
-
import { getTenantDisplayCurrency
|
|
7
|
+
import { getTenantDisplayCurrency } from '../../../selectors/actualMatchingViewSelector';
|
|
9
8
|
import { MATCH_SEARCH_DEBOUNCE_MS, MATCH_TRANSACTION_SEARCH_PAGE_SIZE, } from '../../../types/actualMatchingViewState';
|
|
10
9
|
export const searchMatchTransactionsEpic = (actions$, state$, zeniAPI) => {
|
|
11
|
-
const openModal$ = actions$.pipe(filter(openMatchNewModal.match), mergeMap((
|
|
12
|
-
const matchId = action.payload.matchId;
|
|
13
|
-
if (matchId == null || matchId === '') {
|
|
14
|
-
return from([
|
|
15
|
-
searchMatchTransactions(''),
|
|
16
|
-
searchMatchAccruals(''),
|
|
17
|
-
]);
|
|
18
|
-
}
|
|
19
|
-
const match = getActualMatchingMatchById(state$.value.actualMatchingState, matchId);
|
|
20
|
-
const parsed = parseActualMatchingMatchId(matchId);
|
|
21
|
-
const transactionType = match?.transactionType != null && match.transactionType !== ''
|
|
22
|
-
? match.transactionType
|
|
23
|
-
: parsed?.transactionType;
|
|
24
|
-
const transactionIntegrationId = match?.transactionIntegrationId != null &&
|
|
25
|
-
match.transactionIntegrationId !== ''
|
|
26
|
-
? match.transactionIntegrationId
|
|
27
|
-
: parsed?.transactionIntegrationId;
|
|
28
|
-
return from([
|
|
29
|
-
searchMatchTransactions('', undefined, transactionType, transactionIntegrationId),
|
|
30
|
-
]);
|
|
31
|
-
}));
|
|
10
|
+
const openModal$ = actions$.pipe(filter(openMatchNewModal.match), mergeMap(() => from([searchMatchTransactions(''), searchMatchAccruals('')])));
|
|
32
11
|
const searchActions$ = actions$.pipe(filter(searchMatchTransactions.match));
|
|
33
12
|
const pagination$ = searchActions$.pipe(filter((action) => action.payload.pageToken != null));
|
|
34
13
|
const newSearchDebounced$ = searchActions$.pipe(filter((action) => action.payload.pageToken == null), debounceTime(MATCH_SEARCH_DEBOUNCE_MS));
|
|
@@ -22,9 +22,6 @@ export const initialAccrualSearchState = {
|
|
|
22
22
|
};
|
|
23
23
|
export const initialMatchModalState = {
|
|
24
24
|
isOpen: false,
|
|
25
|
-
openedFromMatchId: undefined,
|
|
26
|
-
didPinPrefillTransactions: false,
|
|
27
|
-
pinnedTransactionResults: [],
|
|
28
25
|
transactionSearch: initialTransactionSearchState,
|
|
29
26
|
accrualSearch: initialAccrualSearchState,
|
|
30
27
|
confirmStatus: { fetchState: 'Not-Started', error: undefined },
|
|
@@ -44,16 +41,28 @@ export const initialState = {
|
|
|
44
41
|
sortOrder: 'descending',
|
|
45
42
|
searchString: '',
|
|
46
43
|
scrollPosition: { scrollTop: 0, scrollLeft: undefined },
|
|
44
|
+
statusFilter: 'all',
|
|
47
45
|
},
|
|
48
46
|
matchModal: initialMatchModalState,
|
|
49
47
|
undoReversalStatusByMatchId: {},
|
|
50
|
-
|
|
48
|
+
ignoreStatusByMatchId: {},
|
|
49
|
+
confirmStatusByMatchId: {},
|
|
50
|
+
closeMatchAfterUndoMatchIds: [],
|
|
51
|
+
closeMatchAfterIgnoreMatchIds: [],
|
|
51
52
|
lastMatchResultsByMatchId: {},
|
|
52
53
|
lastUndoResultsByMatchId: {},
|
|
53
54
|
hasValidState() {
|
|
54
55
|
return this.fetchState == 'Completed';
|
|
55
56
|
},
|
|
56
57
|
};
|
|
58
|
+
function enqueueCloseMatchId(ids, matchId) {
|
|
59
|
+
if (!ids.includes(matchId)) {
|
|
60
|
+
ids.push(matchId);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function dropCloseMatchId(ids, matchId) {
|
|
64
|
+
return ids.filter((id) => id !== matchId);
|
|
65
|
+
}
|
|
57
66
|
function pruneLastMatchResultsForUndone(draft, matchId, results) {
|
|
58
67
|
const undoneIds = new Set(results
|
|
59
68
|
.filter((result) => result.status === 'undone')
|
|
@@ -96,9 +105,6 @@ function resetMatchModalSearches(draft) {
|
|
|
96
105
|
error: undefined,
|
|
97
106
|
};
|
|
98
107
|
draft.matchModal.lastBatchResults = undefined;
|
|
99
|
-
draft.matchModal.openedFromMatchId = undefined;
|
|
100
|
-
draft.matchModal.didPinPrefillTransactions = false;
|
|
101
|
-
draft.matchModal.pinnedTransactionResults = [];
|
|
102
108
|
}
|
|
103
109
|
const expenseAutomationActualMatchingView = createSlice({
|
|
104
110
|
name: 'expenseAutomationActualMatchingView',
|
|
@@ -239,21 +245,13 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
239
245
|
if (action.payload.scrollPosition != null) {
|
|
240
246
|
draft.uiState.scrollPosition = action.payload.scrollPosition;
|
|
241
247
|
}
|
|
248
|
+
if (action.payload.statusFilter != null) {
|
|
249
|
+
draft.uiState.statusFilter = action.payload.statusFilter;
|
|
250
|
+
}
|
|
242
251
|
},
|
|
243
|
-
openMatchNewModal
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
},
|
|
247
|
-
reducer(draft, action) {
|
|
248
|
-
resetMatchModalSearches(draft);
|
|
249
|
-
draft.matchModal.isOpen = true;
|
|
250
|
-
const matchId = action.payload.matchId;
|
|
251
|
-
draft.matchModal.openedFromMatchId =
|
|
252
|
-
matchId != null && matchId !== '' ? matchId : undefined;
|
|
253
|
-
if (draft.matchModal.openedFromMatchId != null) {
|
|
254
|
-
draft.matchModal.accrualSearch.fetchState = 'Completed';
|
|
255
|
-
}
|
|
256
|
-
},
|
|
252
|
+
openMatchNewModal(draft) {
|
|
253
|
+
resetMatchModalSearches(draft);
|
|
254
|
+
draft.matchModal.isOpen = true;
|
|
257
255
|
},
|
|
258
256
|
// Dismiss (Cancel / overlay). Store reset matches `clearMatchNewModal`;
|
|
259
257
|
// the actions stay distinct so confirm-success vs user-dismiss stay observable.
|
|
@@ -308,11 +306,6 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
308
306
|
}
|
|
309
307
|
else {
|
|
310
308
|
draft.matchModal.transactionSearch.results = results;
|
|
311
|
-
if (draft.matchModal.openedFromMatchId != null &&
|
|
312
|
-
!draft.matchModal.didPinPrefillTransactions) {
|
|
313
|
-
draft.matchModal.didPinPrefillTransactions = true;
|
|
314
|
-
draft.matchModal.pinnedTransactionResults = results;
|
|
315
|
-
}
|
|
316
309
|
}
|
|
317
310
|
draft.matchModal.transactionSearch.nextPageToken = nextPageToken;
|
|
318
311
|
draft.matchModal.transactionSearch.isLoadingMore = false;
|
|
@@ -365,21 +358,27 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
365
358
|
draft.matchModal.accrualSearch.error = action.payload.error;
|
|
366
359
|
},
|
|
367
360
|
matchAndReverseAccruals: {
|
|
368
|
-
reducer(draft) {
|
|
369
|
-
|
|
361
|
+
reducer(draft, action) {
|
|
362
|
+
const inProgress = {
|
|
370
363
|
fetchState: 'In-Progress',
|
|
371
364
|
error: undefined,
|
|
372
365
|
};
|
|
366
|
+
if (action.payload.forMatchModal === true) {
|
|
367
|
+
draft.matchModal.confirmStatus = inProgress;
|
|
368
|
+
}
|
|
369
|
+
const matchId = `${action.payload.transactionType.toLowerCase()}:${action.payload.transactionIntegrationId}`;
|
|
370
|
+
draft.confirmStatusByMatchId[matchId] = inProgress;
|
|
373
371
|
},
|
|
374
|
-
prepare(transactionId, transactionIntegrationId, transactionType, lineIds, transactionSyncToken, accrualIds) {
|
|
372
|
+
prepare(transactionId, transactionIntegrationId, transactionType, lineIds, transactionSyncToken, accrualIds, forMatchModal) {
|
|
375
373
|
return {
|
|
376
374
|
payload: {
|
|
375
|
+
accrualIds,
|
|
376
|
+
lineIds,
|
|
377
377
|
transactionId,
|
|
378
378
|
transactionIntegrationId,
|
|
379
|
-
transactionType,
|
|
380
|
-
lineIds,
|
|
381
379
|
transactionSyncToken,
|
|
382
|
-
|
|
380
|
+
transactionType,
|
|
381
|
+
forMatchModal,
|
|
383
382
|
},
|
|
384
383
|
};
|
|
385
384
|
},
|
|
@@ -388,23 +387,33 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
388
387
|
const { results } = action.payload;
|
|
389
388
|
const allComplete = results.length > 0 &&
|
|
390
389
|
results.every((result) => isMatchAndReverseCompleteStatus(result.status));
|
|
391
|
-
|
|
390
|
+
const confirmStatus = allComplete
|
|
392
391
|
? { fetchState: 'Completed', error: undefined }
|
|
393
392
|
: {
|
|
394
393
|
fetchState: 'Error',
|
|
395
394
|
error: createZeniAPIStatus('Partial match-and-reverse', 'Some accruals were not reversed'),
|
|
396
395
|
};
|
|
397
|
-
|
|
396
|
+
if (action.payload.forMatchModal === true) {
|
|
397
|
+
draft.matchModal.confirmStatus = confirmStatus;
|
|
398
|
+
draft.matchModal.lastBatchResults = results;
|
|
399
|
+
}
|
|
398
400
|
if (action.payload.matchId != null) {
|
|
401
|
+
draft.confirmStatusByMatchId[action.payload.matchId] = confirmStatus;
|
|
399
402
|
draft.lastMatchResultsByMatchId[action.payload.matchId] = results;
|
|
400
403
|
pruneLastUndoResultsForMatched(draft, action.payload.matchId, action.payload.results);
|
|
401
404
|
}
|
|
402
405
|
},
|
|
403
406
|
matchAndReverseAccrualsFailure(draft, action) {
|
|
404
|
-
|
|
407
|
+
const failed = {
|
|
405
408
|
fetchState: 'Error',
|
|
406
409
|
error: action.payload.status,
|
|
407
410
|
};
|
|
411
|
+
if (action.payload.forMatchModal === true) {
|
|
412
|
+
draft.matchModal.confirmStatus = failed;
|
|
413
|
+
}
|
|
414
|
+
if (action.payload.matchId != null) {
|
|
415
|
+
draft.confirmStatusByMatchId[action.payload.matchId] = failed;
|
|
416
|
+
}
|
|
408
417
|
},
|
|
409
418
|
undoReversalAccruals: {
|
|
410
419
|
reducer(draft, action) {
|
|
@@ -426,7 +435,12 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
426
435
|
};
|
|
427
436
|
const allUndone = results.length > 0 &&
|
|
428
437
|
results.every((result) => result.status === 'undone');
|
|
429
|
-
|
|
438
|
+
if (allUndone) {
|
|
439
|
+
enqueueCloseMatchId(draft.closeMatchAfterUndoMatchIds, matchId);
|
|
440
|
+
}
|
|
441
|
+
else {
|
|
442
|
+
draft.closeMatchAfterUndoMatchIds = dropCloseMatchId(draft.closeMatchAfterUndoMatchIds, matchId);
|
|
443
|
+
}
|
|
430
444
|
pruneLastMatchResultsForUndone(draft, matchId, results);
|
|
431
445
|
if (allUndone) {
|
|
432
446
|
delete draft.lastUndoResultsByMatchId[matchId];
|
|
@@ -440,7 +454,44 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
440
454
|
},
|
|
441
455
|
},
|
|
442
456
|
ackCloseMatchAfterUndo(draft) {
|
|
443
|
-
draft.
|
|
457
|
+
draft.closeMatchAfterUndoMatchIds.shift();
|
|
458
|
+
},
|
|
459
|
+
ignoreActualMatchingSuggestion: {
|
|
460
|
+
prepare(matchId, reason, note) {
|
|
461
|
+
return { payload: { matchId, reason, note } };
|
|
462
|
+
},
|
|
463
|
+
reducer(draft, action) {
|
|
464
|
+
draft.ignoreStatusByMatchId[action.payload.matchId] = {
|
|
465
|
+
fetchState: 'In-Progress',
|
|
466
|
+
error: undefined,
|
|
467
|
+
};
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
ignoreActualMatchingSuggestionSuccess(draft, action) {
|
|
471
|
+
const { matchId } = action.payload;
|
|
472
|
+
draft.ignoreStatusByMatchId[matchId] = {
|
|
473
|
+
fetchState: 'Completed',
|
|
474
|
+
error: undefined,
|
|
475
|
+
};
|
|
476
|
+
enqueueCloseMatchId(draft.closeMatchAfterIgnoreMatchIds, matchId);
|
|
477
|
+
delete draft.lastMatchResultsByMatchId[matchId];
|
|
478
|
+
delete draft.lastUndoResultsByMatchId[matchId];
|
|
479
|
+
delete draft.detailFetchStateByMatchId[matchId];
|
|
480
|
+
delete draft.detailRefreshStatusByMatchId[matchId];
|
|
481
|
+
delete draft.undoReversalStatusByMatchId[matchId];
|
|
482
|
+
delete draft.confirmStatusByMatchId[matchId];
|
|
483
|
+
Object.keys(draft.matchIdsByPeriod).forEach((periodId) => {
|
|
484
|
+
draft.matchIdsByPeriod[periodId] = draft.matchIdsByPeriod[periodId].filter((id) => id !== matchId);
|
|
485
|
+
});
|
|
486
|
+
},
|
|
487
|
+
ignoreActualMatchingSuggestionFailure(draft, action) {
|
|
488
|
+
draft.ignoreStatusByMatchId[action.payload.matchId] = {
|
|
489
|
+
fetchState: 'Error',
|
|
490
|
+
error: action.payload.status,
|
|
491
|
+
};
|
|
492
|
+
},
|
|
493
|
+
ackCloseMatchAfterIgnore(draft) {
|
|
494
|
+
draft.closeMatchAfterIgnoreMatchIds.shift();
|
|
444
495
|
},
|
|
445
496
|
undoReversalAccrualsFailure(draft, action) {
|
|
446
497
|
draft.undoReversalStatusByMatchId[action.payload.matchId] = {
|
|
@@ -458,5 +509,5 @@ const expenseAutomationActualMatchingView = createSlice({
|
|
|
458
509
|
});
|
|
459
510
|
},
|
|
460
511
|
});
|
|
461
|
-
export const { ackCloseMatchAfterUndo, clearActualMatchingView, clearMatchNewModal, closeMatchNewModal, fetchActualMatching, fetchActualMatchingFailure, fetchActualMatchingMatch, fetchActualMatchingMatchFailure, fetchActualMatchingMatchSuccess, fetchActualMatchingPage, fetchActualMatchingSuccess, matchAndReverseAccruals, matchAndReverseAccrualsFailure, matchAndReverseAccrualsSuccess, openMatchNewModal, searchMatchAccruals, searchMatchAccrualsFailure, searchMatchAccrualsSuccess, searchMatchTransactions, searchMatchTransactionsFailure, searchMatchTransactionsSuccess, undoReversalAccruals, undoReversalAccrualsFailure, undoReversalAccrualsSuccess, updateActualMatchingUIState, } = expenseAutomationActualMatchingView.actions;
|
|
512
|
+
export const { ackCloseMatchAfterIgnore, ackCloseMatchAfterUndo, clearActualMatchingView, clearMatchNewModal, closeMatchNewModal, fetchActualMatching, fetchActualMatchingFailure, fetchActualMatchingMatch, fetchActualMatchingMatchFailure, fetchActualMatchingMatchSuccess, fetchActualMatchingPage, fetchActualMatchingSuccess, ignoreActualMatchingSuggestion, ignoreActualMatchingSuggestionFailure, ignoreActualMatchingSuggestionSuccess, matchAndReverseAccruals, matchAndReverseAccrualsFailure, matchAndReverseAccrualsSuccess, openMatchNewModal, searchMatchAccruals, searchMatchAccrualsFailure, searchMatchAccrualsSuccess, searchMatchTransactions, searchMatchTransactionsFailure, searchMatchTransactionsSuccess, undoReversalAccruals, undoReversalAccrualsFailure, undoReversalAccrualsSuccess, updateActualMatchingUIState, } = expenseAutomationActualMatchingView.actions;
|
|
462
513
|
export default expenseAutomationActualMatchingView.reducer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import orderBy from 'lodash/orderBy';
|
|
2
|
+
import { createSelector } from '@reduxjs/toolkit';
|
|
2
3
|
import { toMonthYearPeriodId, } from '../../../commonStateTypes/timePeriod';
|
|
3
4
|
import { getActualMatchingMatchById } from '../../../entity/actualMatching/actualMatchingSelector';
|
|
4
5
|
import { generateJEOneTimeAccrualKey } from '../../../entity/jeSchedules/jeScheduleHelper';
|
|
5
6
|
import { getJEOneTimeAccrualByKey, } from '../../../entity/jeSchedules/jeSchedulesSelector';
|
|
6
7
|
import { getCurrentTenant } from '../../../entity/tenant/tenantSelector';
|
|
7
8
|
import { date } from '../../../zeniDayJS';
|
|
8
|
-
import { actualMatchingTransactionLineKey, } from '../types/actualMatchingViewState';
|
|
9
9
|
export function getSelectedMonthYearForCurrentTenant(state) {
|
|
10
10
|
const tenantId = getCurrentTenant(state)?.tenantId;
|
|
11
11
|
if (tenantId == null) {
|
|
@@ -34,27 +34,6 @@ function toMatchModalAccrual(member) {
|
|
|
34
34
|
jeOneTimeAccrualKey: generateJEOneTimeAccrualKey(member.accrualId),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function uniqueMatchModalAccruals(pinned, searched) {
|
|
38
|
-
const byId = new Map();
|
|
39
|
-
pinned.forEach((row) => byId.set(row.accrualId, row));
|
|
40
|
-
searched.forEach((row) => {
|
|
41
|
-
if (!byId.has(row.accrualId)) {
|
|
42
|
-
byId.set(row.accrualId, row);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
return Array.from(byId.values());
|
|
46
|
-
}
|
|
47
|
-
function uniqueTransactionSearchResults(pinned, searched) {
|
|
48
|
-
const byKey = new Map();
|
|
49
|
-
pinned.forEach((row) => byKey.set(actualMatchingTransactionLineKey(row.transactionType, row.transactionIntegrationId, row.lineId), row));
|
|
50
|
-
searched.forEach((row) => {
|
|
51
|
-
const key = actualMatchingTransactionLineKey(row.transactionType, row.transactionIntegrationId, row.lineId);
|
|
52
|
-
if (!byKey.has(key)) {
|
|
53
|
-
byKey.set(key, row);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
return Array.from(byKey.values());
|
|
57
|
-
}
|
|
58
37
|
export function parseActualMatchingMatchId(matchId) {
|
|
59
38
|
const separator = matchId.indexOf(':');
|
|
60
39
|
if (separator <= 0 || separator === matchId.length - 1) {
|
|
@@ -227,6 +206,7 @@ function emptyKpiSummary() {
|
|
|
227
206
|
actualsReceived: { count: 0, expectedCount: 0, vendorsPending: 0 },
|
|
228
207
|
autoReversed: { count: 0, percent: 0, clearedAmount: 0 },
|
|
229
208
|
pendingReview: { count: 0, amount: 0, estimatedMinutesToClear: 0 },
|
|
209
|
+
reversed: { count: 0 },
|
|
230
210
|
variance: { percent: 0, averagePercentPerMatch: 0, netAmount: 0 },
|
|
231
211
|
};
|
|
232
212
|
}
|
|
@@ -282,6 +262,7 @@ export function buildActualMatchingKpiSummary(rows, displayCurrencyCode) {
|
|
|
282
262
|
}
|
|
283
263
|
const autoReversed = kpiRows.filter((row) => row.kind === 'auto_reversed');
|
|
284
264
|
const pendingReview = kpiRows.filter((row) => row.kind === 'pending_review');
|
|
265
|
+
const reversed = kpiRows.filter((row) => isReversedMatchKind(row.kind));
|
|
285
266
|
const receivedCount = kpiRows.length;
|
|
286
267
|
const rowsWithActual = kpiRows.filter((row) => row.actualAmount?.amount != null);
|
|
287
268
|
const accruedTotal = rowsWithActual.reduce((sum, row) => sum + (row.accruedAmount?.amount ?? row.estimatedAmount.amount), 0);
|
|
@@ -307,6 +288,9 @@ export function buildActualMatchingKpiSummary(rows, displayCurrencyCode) {
|
|
|
307
288
|
amount: sumRowAmounts(pendingReview, displayCurrencyCode),
|
|
308
289
|
estimatedMinutesToClear: pendingReview.length * ESTIMATED_MINUTES_PER_PENDING_MATCH,
|
|
309
290
|
},
|
|
291
|
+
reversed: {
|
|
292
|
+
count: reversed.length,
|
|
293
|
+
},
|
|
310
294
|
variance: {
|
|
311
295
|
percent: accruedTotal === 0
|
|
312
296
|
? 0
|
|
@@ -319,23 +303,61 @@ export function buildActualMatchingKpiSummary(rows, displayCurrencyCode) {
|
|
|
319
303
|
},
|
|
320
304
|
};
|
|
321
305
|
}
|
|
322
|
-
|
|
323
|
-
const view = state.expenseAutomationActualMatchingViewState;
|
|
306
|
+
function toActualMatchingMatchView(match) {
|
|
324
307
|
return {
|
|
325
|
-
match
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
lastUndoResults: view.lastUndoResultsByMatchId?.[matchId],
|
|
308
|
+
...match,
|
|
309
|
+
members: match.members.map(toMatchModalAccrual),
|
|
310
|
+
leftovers: match.leftovers == null
|
|
311
|
+
? undefined
|
|
312
|
+
: match.leftovers.map(toMatchModalAccrual),
|
|
331
313
|
};
|
|
332
314
|
}
|
|
315
|
+
const EMPTY_ACTUAL_MATCHING_ROWS = [];
|
|
316
|
+
const matchViewSelectorById = new Map();
|
|
317
|
+
export function getExpenseAutomationActualMatchingMatchView(state, matchId) {
|
|
318
|
+
let selector = matchViewSelectorById.get(matchId);
|
|
319
|
+
if (selector == null) {
|
|
320
|
+
selector = createSelector([
|
|
321
|
+
(root) => root.expenseAutomationActualMatchingViewState.detailFetchStateByMatchId[matchId] ?? NOT_STARTED,
|
|
322
|
+
(root) => root.expenseAutomationActualMatchingViewState.ignoreStatusByMatchId[matchId] ?? NOT_STARTED,
|
|
323
|
+
(root) => root.expenseAutomationActualMatchingViewState.lastMatchResultsByMatchId?.[matchId],
|
|
324
|
+
(root) => root.expenseAutomationActualMatchingViewState.lastUndoResultsByMatchId?.[matchId],
|
|
325
|
+
(root) => root.expenseAutomationActualMatchingViewState.detailRefreshStatusByMatchId[matchId] ?? NOT_STARTED,
|
|
326
|
+
(root) => root.expenseAutomationActualMatchingViewState.undoReversalStatusByMatchId[matchId] ?? NOT_STARTED,
|
|
327
|
+
(root) => getActualMatchingMatchById(root.actualMatchingState, matchId),
|
|
328
|
+
], (detailFetchState, ignoreStatus, lastMatchResults, lastUndoResults, refreshStatus, undoReversalStatus, match) => ({
|
|
329
|
+
detailFetchState,
|
|
330
|
+
ignoreStatus,
|
|
331
|
+
lastMatchResults,
|
|
332
|
+
lastUndoResults,
|
|
333
|
+
match: match == null ? undefined : toActualMatchingMatchView(match),
|
|
334
|
+
refreshStatus,
|
|
335
|
+
undoReversalStatus,
|
|
336
|
+
}));
|
|
337
|
+
matchViewSelectorById.set(matchId, selector);
|
|
338
|
+
}
|
|
339
|
+
return selector(state);
|
|
340
|
+
}
|
|
333
341
|
export function getCloseMatchAfterUndo(state) {
|
|
334
|
-
return state.expenseAutomationActualMatchingViewState
|
|
342
|
+
return state.expenseAutomationActualMatchingViewState
|
|
343
|
+
.closeMatchAfterUndoMatchIds[0];
|
|
344
|
+
}
|
|
345
|
+
export function getCloseMatchAfterUndoMatchId(state) {
|
|
346
|
+
return getCloseMatchAfterUndo(state);
|
|
347
|
+
}
|
|
348
|
+
export function getCloseMatchAfterIgnoreMatchId(state) {
|
|
349
|
+
return state.expenseAutomationActualMatchingViewState
|
|
350
|
+
.closeMatchAfterIgnoreMatchIds[0];
|
|
351
|
+
}
|
|
352
|
+
export function getActualMatchingMatchModalConfirmStatus(state, matchId) {
|
|
353
|
+
if (matchId != null && matchId !== '') {
|
|
354
|
+
return (state.expenseAutomationActualMatchingViewState.confirmStatusByMatchId[matchId] ?? NOT_STARTED);
|
|
355
|
+
}
|
|
356
|
+
return state.expenseAutomationActualMatchingViewState.matchModal.confirmStatus;
|
|
335
357
|
}
|
|
336
358
|
export function getExpenseAutomationActualMatchingView(state) {
|
|
337
359
|
const { expenseAutomationActualMatchingViewState } = state;
|
|
338
|
-
const { matchIdsByPeriod, fetchState, error, refreshStatus, uiState, matchModal, } = expenseAutomationActualMatchingViewState;
|
|
360
|
+
const { matchIdsByPeriod, fetchState, error, refreshStatus, uiState, matchModal, ignoreStatusByMatchId, undoReversalStatusByMatchId, } = expenseAutomationActualMatchingViewState;
|
|
339
361
|
const selectedPeriod = getSelectedMonthYearForCurrentTenant(state);
|
|
340
362
|
const monthYearPeriodId = selectedPeriod != null ? toMonthYearPeriodId(selectedPeriod) : undefined;
|
|
341
363
|
const matchIds = monthYearPeriodId != null ? matchIdsByPeriod[monthYearPeriodId] : undefined;
|
|
@@ -345,38 +367,18 @@ export function getExpenseAutomationActualMatchingView(state) {
|
|
|
345
367
|
.filter((match) => match.members.length > 0)
|
|
346
368
|
.map(toActualMatchingRow);
|
|
347
369
|
const rows = allRows.filter((row) => matchesSearch(row, uiState.searchString));
|
|
348
|
-
const
|
|
349
|
-
const
|
|
370
|
+
const includePendingReview = uiState.statusFilter !== 'reversed';
|
|
371
|
+
const includeReversed = uiState.statusFilter !== 'pending_review';
|
|
372
|
+
const reversed = includeReversed
|
|
373
|
+
? sortActualMatchingRows(rows.filter((row) => isReversedMatchKind(row.kind)), uiState)
|
|
374
|
+
: EMPTY_ACTUAL_MATCHING_ROWS;
|
|
375
|
+
const pendingReview = includePendingReview
|
|
376
|
+
? sortActualMatchingRows(rows.filter((row) => row.kind === 'pending_review'), uiState)
|
|
377
|
+
: EMPTY_ACTUAL_MATCHING_ROWS;
|
|
350
378
|
const kpiSummary = buildActualMatchingKpiSummary(allRows, getTenantDisplayCurrency(state)?.currencyCode);
|
|
351
379
|
const searchedAccruals = matchModal.accrualSearch.results
|
|
352
380
|
.map((key) => getJEOneTimeAccrualByKey(key, state.jeSchedulesState))
|
|
353
381
|
.filter((accrual) => accrual != null);
|
|
354
|
-
const openedMatch = matchModal.openedFromMatchId != null
|
|
355
|
-
? getActualMatchingMatchById(state.actualMatchingState, matchModal.openedFromMatchId)
|
|
356
|
-
: undefined;
|
|
357
|
-
const pinnedAccruals = [
|
|
358
|
-
...(openedMatch?.members ?? []),
|
|
359
|
-
...(openedMatch?.leftovers ?? []),
|
|
360
|
-
].map(toMatchModalAccrual);
|
|
361
|
-
const firstMember = openedMatch?.members[0];
|
|
362
|
-
const cleared = firstMember?.cleared;
|
|
363
|
-
const suggestion = firstMember?.matchSuggestion;
|
|
364
|
-
const stamp = cleared ?? suggestion;
|
|
365
|
-
const consumedLineIds = cleared?.consumedLineIds;
|
|
366
|
-
const prefill = openedMatch == null
|
|
367
|
-
? undefined
|
|
368
|
-
: {
|
|
369
|
-
selectedAccrualIds: [
|
|
370
|
-
...openedMatch.members.map((member) => member.accrualId),
|
|
371
|
-
...(openedMatch.leftovers ?? []).map((leftover) => leftover.accrualId),
|
|
372
|
-
],
|
|
373
|
-
actualAmount: openedMatch.actualAmount.amount,
|
|
374
|
-
matchedTransactionId: stamp?.matchedTransactionId,
|
|
375
|
-
matchedLineId: cleared == null ? suggestion?.matchedLineId : undefined,
|
|
376
|
-
...(consumedLineIds != null && consumedLineIds.length > 0
|
|
377
|
-
? { consumedLineIds }
|
|
378
|
-
: {}),
|
|
379
|
-
};
|
|
380
382
|
// `fetchState` is a flat slice field that survives a period switch. Until this
|
|
381
383
|
// month's ids land, leftover Completed/Error is the previous month. Report
|
|
382
384
|
// Not-Started so chrome matches Review's "cache slot missing" skeleton, not
|
|
@@ -394,16 +396,16 @@ export function getExpenseAutomationActualMatchingView(state) {
|
|
|
394
396
|
kpiSummary,
|
|
395
397
|
uiState,
|
|
396
398
|
refreshStatus,
|
|
399
|
+
ignoreStatusByMatchId,
|
|
400
|
+
undoReversalStatusByMatchId,
|
|
397
401
|
hasLoadedForSelectedPeriod: matchIds != null,
|
|
398
402
|
matchModal: {
|
|
399
403
|
isOpen: matchModal.isOpen,
|
|
400
|
-
openedFromMatchId: matchModal.openedFromMatchId,
|
|
401
|
-
prefill,
|
|
402
404
|
confirmStatus: matchModal.confirmStatus,
|
|
403
405
|
lastBatchResults: matchModal.lastBatchResults,
|
|
404
406
|
transactionSearch: {
|
|
405
407
|
query: matchModal.transactionSearch.query,
|
|
406
|
-
results:
|
|
408
|
+
results: matchModal.transactionSearch.results,
|
|
407
409
|
fetchState: {
|
|
408
410
|
fetchState: matchModal.transactionSearch.fetchState,
|
|
409
411
|
error: matchModal.transactionSearch.error,
|
|
@@ -413,7 +415,7 @@ export function getExpenseAutomationActualMatchingView(state) {
|
|
|
413
415
|
},
|
|
414
416
|
accrualSearch: {
|
|
415
417
|
query: matchModal.accrualSearch.query,
|
|
416
|
-
results:
|
|
418
|
+
results: searchedAccruals,
|
|
417
419
|
fetchState: {
|
|
418
420
|
fetchState: matchModal.accrualSearch.fetchState,
|
|
419
421
|
error: matchModal.accrualSearch.error,
|
|
@@ -13,6 +13,12 @@ const ACTUAL_MATCHING_SORT_KEYS = [
|
|
|
13
13
|
'variance',
|
|
14
14
|
];
|
|
15
15
|
export const toActualMatchingSortKey = (v) => stringToUnion(v, ACTUAL_MATCHING_SORT_KEYS);
|
|
16
|
+
const ACTUAL_MATCHING_STATUS_FILTERS = [
|
|
17
|
+
'all',
|
|
18
|
+
'pending_review',
|
|
19
|
+
'reversed',
|
|
20
|
+
];
|
|
21
|
+
export const toActualMatchingStatusFilter = (v) => stringToUnion(v, ACTUAL_MATCHING_STATUS_FILTERS);
|
|
16
22
|
export const MATCH_TRANSACTION_SEARCH_PAGE_SIZE = 50;
|
|
17
23
|
export const MATCH_ACCRUAL_SEARCH_LIMIT = 50;
|
|
18
24
|
export const MATCH_SEARCH_DEBOUNCE_MS = 300;
|
|
@@ -33,6 +39,15 @@ const UNDO_REVERSAL_RESULT_STATUSES = [
|
|
|
33
39
|
'error',
|
|
34
40
|
];
|
|
35
41
|
export const toUndoReversalResultStatus = (v) => stringToUnion(v, UNDO_REVERSAL_RESULT_STATUSES);
|
|
42
|
+
const ACTUAL_MATCHING_IGNORE_REASONS = [
|
|
43
|
+
'wrong_bill',
|
|
44
|
+
'wrong_period',
|
|
45
|
+
'amount_off',
|
|
46
|
+
'already_handled',
|
|
47
|
+
'other_ignore',
|
|
48
|
+
];
|
|
49
|
+
export const toActualMatchingIgnoreReasonType = (v) => stringToUnion(v, ACTUAL_MATCHING_IGNORE_REASONS);
|
|
50
|
+
export const ALL_ACTUAL_MATCHING_IGNORE_REASONS = ACTUAL_MATCHING_IGNORE_REASONS;
|
|
36
51
|
export function actualMatchingTransactionLineKey(transactionType, transactionIntegrationId, lineId) {
|
|
37
52
|
return `${transactionType}:${transactionIntegrationId}:${lineId}`;
|
|
38
53
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -310,13 +310,13 @@ import { computeNewScheduleJeDetails } from './view/expenseAutomationView/helper
|
|
|
310
310
|
import { isReviewTransactionBankTransferType, isReviewTransactionBillPaymentType, isReviewTransactionCreditCardCreditType, isReviewTransactionCreditCardPaymentType, isReviewTransactionDepositType, isReviewTransactionExpenseType } from './view/expenseAutomationView/helpers/reconciliationHelpers';
|
|
311
311
|
import { MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled, getLineItemsByTransactionIdsFromLocalData, isAnyItemWithUncategorizedExpenseAccount } from './view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper';
|
|
312
312
|
import { UploadStatementDocumentAIPayload, UploadStatementDocumentAIResponse } from './view/expenseAutomationView/payload/reconciliationPayload';
|
|
313
|
-
import { ackCloseMatchAfterUndo, clearActualMatchingView as clearExpenseAutomationActualMatchingView, clearMatchNewModal, closeMatchNewModal,
|
|
313
|
+
import { ackCloseMatchAfterIgnore, ackCloseMatchAfterUndo, clearActualMatchingView as clearExpenseAutomationActualMatchingView, clearMatchNewModal, closeMatchNewModal, fetchActualMatching as fetchExpenseAutomationActualMatching, fetchActualMatchingMatch, fetchActualMatchingPage as fetchExpenseAutomationActualMatchingPage, ignoreActualMatchingSuggestion, matchAndReverseAccruals, openMatchNewModal, searchMatchAccruals, searchMatchTransactions, undoReversalAccruals, updateActualMatchingUIState as updateExpenseAutomationActualMatchingUIState } from './view/expenseAutomationView/reducers/actualMatchingViewReducer';
|
|
314
314
|
import { clearExpenseAutomationFluxAnalysisView, fetchFluxAnalysisView, reviewFluxAnalysisView, updateFluxAnalysisViewPageMetaData, updateFluxAnalysisViewUIState, updateOperatingExpensesIdsForReview, updateSelectedSectionIdsForReview } from './view/expenseAutomationView/reducers/fluxAnalysisViewReducer';
|
|
315
315
|
import { clearJeScheduleLocalData as clearExpenseAutomationJEScheduleLocalData, clearExpenseAutomationJESchedulesView, clearSearchTransactionsForNewSchedule as clearJeSearchTransactionsForNewSchedule, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, fetchJeSchedulesPage as fetchExpenseAutomationJESchedulesPage, fetchOneTimeAccrual, ignoreRecommendedJeSchedule as ignoreExpenseAutomationJESchedule, ignoreOneTimeAccrual, initializeAccountSettingsView as initializeJeAccountSettingsView, initializeNewSchedule as initializeJeNewSchedule, initializeJeScheduleLocalData, promoteOneTimeAccrual, removeJeOneTimeAccrualLocalData, removeJeScheduleTransactionKey, resetNewScheduleLocalData as resetJeNewScheduleLocalData, retryJeSchedule as retryExpenseAutomationJESchedule, revertJeSchedule, revertOneTimeAccrual, saveAccountSettings as saveJeAccountSettings, saveAccountSettingsLocalData as saveJeAccountSettingsLocalData, saveNewSchedule as saveJeNewSchedule, saveNewScheduleFailure as saveJeNewScheduleFailure, saveNewScheduleSuccess as saveJeNewScheduleSuccess, searchTransactionsForNewSchedule as searchJeTransactionsForNewSchedule, searchTransactionsForNewScheduleFailure as searchJeTransactionsForNewScheduleFailure, searchTransactionsForNewScheduleSuccess as searchJeTransactionsForNewScheduleSuccess, toggleJECreatedGroupCollapsed, toggleJEFailedGroupCollapsed, toggleJEPendingGroupCollapsed, updateJESchedulesUIState as updateExpenseAutomationJESchedulesUIState, updateJEScheduleTypeFilter, updateNewScheduleLocalData as updateJeNewScheduleLocalData, updateJeOneTimeAccrualLocalData, updateJeScheduleLocalDataById, updateJeScheduleTransactionKeys } from './view/expenseAutomationView/reducers/jeSchedulesViewReducer';
|
|
316
316
|
import { acknowledgeBulkUploadConfirmMatchComplete, bulkUploadAutomatchingTimedOut, bulkUploadReceipts, bulkUploadReceiptsFailure, bulkUploadReceiptsSuccess, clearBulkUpload, clearBulkUploadBatchDetailsForScopeChange, clearManualSearchResults, clearMissingReceiptsTabNavigation, confirmBulkUploadMatch, confirmBulkUploadMatchFailure, confirmBulkUploadMatchSuccess, fetchBulkUploadBatchDetails, fetchBulkUploadBatchDetailsFailure, fetchBulkUploadBatchDetailsSuccess, fetchBulkUploadBatches, fetchBulkUploadBatchesFailure, fetchBulkUploadBatchesSuccess, fetchCompletedTransactions, fetchCompletedTransactionsFailure, fetchCompletedTransactionsSuccess, fetchMissingReceipts as fetchExpenseAutomationMissingReceipts, fetchMoreBatchDetails, fetchMoreBatchDetailsComplete, fetchMoreBatchDetailsFailure, markBatchDetailRefreshAttempted, markMissingReceiptAsDone as markExpenseAutomationMissingReceiptAsDone, pusherBatchStatusUpdate, refreshBatchDetailsForBatchId, requestMissingReceiptsTabNavigation, restoreBulkUploadAutomatchingOnMount, restoreBulkUploadMatchingState, searchTransactionsForManualMatch, searchTransactionsForManualMatchFailure, searchTransactionsForManualMatchSuccess, setBulkUploadCompletedSubTab, setBulkUploadResultsTab, setBulkUploadSortConfig, setBulkUploadUploadedFileCount, storeBatchDetails, updateBulkUploadProgress, updateMissingReceiptUploadState as updateExpenseAutomationMissingReceiptUploadState, updateMissingReceiptsUIState as updateExpenseAutomationMissingReceiptsUIState, uploadMissingReceiptSuccess as uploadExpenseAutomationMissingReceiptSuccess } from './view/expenseAutomationView/reducers/missingReceiptsViewReducer';
|
|
317
317
|
import { clearStatementDateConflict, confirmStatementMapping, deleteAccountStatement, deleteCombinedStatement, excludeAccountFromReconciliation, fetchReconciliation as fetchReconciliationView, includeAccountInReconciliation, parseCombinedStatement, parseStatement, parseStatementFailure, parseStatementSuccess, reparseStatement, reparseStatementFailure, reparseStatementSuccess, resetReparseStatementStatus, saveReconciliationDetail as saveExpenseAutomationReconciliationDetail, saveReconciliationReview as saveExpenseAutomationReconciliationReview, setConnectionInProgressForAccount as setConnectionInProgressForAccountReconciliation, setStatementParseInProgress, setStatementProcessingDismissedToBackground, submitCombinedStatementUpdate, submitStatementUpdate, updateAccountReconciliationLocalData as updateExpenseAutomationAccountReconciliationLocalData, updateSelectedAccountId as updateExpenseAutomationAccountReconciliationSelectedAccountId, updateSelectedTab as updateExpenseAutomationAccountReconciliationSelectedTab, updateReconListScrollPosition as updateExpenseAutomationReconListScrollPosition, updateReviewTabSortState as updateExpenseAutomationReconReviewTabListSortState, updateReviewTabLocalData as updateExpenseAutomationReconReviewTabLocalData, updateReconcileTabListScrollState as updateExpenseAutomationReconcileTabListScrollState, updateReconcileTabListSortState as updateExpenseAutomationReconcileTabListSortState, updateReconcileTabLocalData as updateExpenseAutomationReconcileTabLocalData, updateSelectedDrawerAccountId as updateExpenseAutomationSelectedDrawerAccountId, updateNodeCollapseState, updateParsedStatementData, updateStatementProcessingBackgroundCompletedSteps, updateStatementProcessingFailed, updateStatementUpdateLocalData, updateStatementUploadChosen, uploadAccountStatement } from './view/expenseAutomationView/reducers/reconciliationViewReducer';
|
|
318
318
|
import { backgroundRefetchReviewTab, clearExpenseAutomationTransactionsView, fetchTransactionCategorization, fetchTransactionCategorizationFailure, fetchTransactionCategorizationView, initializeTransactionCategorizationViewLocalData, markCategoryClassRecommendationsFailureForCategorization, markTransactionAsNotMiscategorized, removeTransactionFromAllTabs, saveTransactionCategorization, saveTransactionCategorizationLocalData, setAllItemsToCategoryClassInLocalDataForCategorization, setEntityRecommendationForLineIdsForCategorization, syncTransactionCategorizationFromDetailSave, updateCurrentSelectedTransactionCategorizationTab, updateSelectedCheckboxTransactionIds, updateSelectedCustomerForTransaction, updateSelectedTransactionId, updateSelectedVendorForTransaction, updateTransactionCategorization, updateTransactionCategorizationCompletedSubTab, updateTransactionCategorizationSaveStatus, updateTransactionCategorizationUIState, updateTransactionCategorizationUploadReceiptState, updateTransactionFilters, updateTransactionGroup, uploadTransactionCategorizationReceiptSuccess } from './view/expenseAutomationView/reducers/transactionsViewReducer';
|
|
319
|
-
import { ActualMatchingKpiSummary, ActualMatchingMatchModalView, ActualMatchingRow, ActualMatchingRowKind, ExpenseAutomationActualMatchingViewSelector } from './view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes';
|
|
319
|
+
import { ActualMatchingGroupedAccrual, ActualMatchingKpiSummary, ActualMatchingMatchModalView, ActualMatchingMatchView, ActualMatchingRow, ActualMatchingRowKind, ExpenseAutomationActualMatchingViewSelector } from './view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes';
|
|
320
320
|
import { ExpenseAutomationStepDetails, ExpenseAutomationViewSelector } from './view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes';
|
|
321
321
|
import { ExpenseAutomationFluxAnalysisViewSelector, FluxAnalysisOperatingExpenseView, FluxAnalysisVendorView, FluxAnalysisViewSectionReport, FluxVendorAccountsAndClassesView } from './view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes';
|
|
322
322
|
import { JEAccountSettingsView } from './view/expenseAutomationView/selectorTypes/jeAccountSettingsViewSelectorTypes';
|
|
@@ -334,7 +334,7 @@ import { getExpenseAutomationReconciliationView, getLedgerAccountIdsWithStatemen
|
|
|
334
334
|
import { getExpenseAutomationTransactionView, getLastTransferEntryReplacement } from './view/expenseAutomationView/selectors/transactionCategorizationSelector';
|
|
335
335
|
import { applyTransactionFilters } from './view/expenseAutomationView/transactionFilterHelpers';
|
|
336
336
|
import { TRANSACTION_FILTER_CATEGORIES, TransactionFilterAmountMatchingOperator, TransactionFilterCategory, TransactionFilterCategoryDropdownOption, TransactionFilterCategoryField, TransactionFilterEntityType, TransactionFilters } from './view/expenseAutomationView/transactionFilterTypes';
|
|
337
|
-
import { ActualMatchingTransactionSearchResult, ActualMatchingSortKey as ExpenseAutomationActualMatchingSortKey, ActualMatchingViewUIState as ExpenseAutomationActualMatchingViewUIState, MATCH_ACCRUAL_SEARCH_LIMIT, MATCH_SEARCH_DEBOUNCE_MS, MATCH_TRANSACTION_SEARCH_PAGE_SIZE, MatchAndReverseAccrualsParams, MatchAndReverseResult, MatchAndReverseResultStatus, UndoReversalAccrualsParams, UndoReversalResult, UndoReversalResultStatus, actualMatchingTransactionLineKey, toActualMatchingSortKey as toExpenseAutomationActualMatchingSortKey, toMatchAndReverseResultStatus, toUndoReversalResultStatus } from './view/expenseAutomationView/types/actualMatchingViewState';
|
|
337
|
+
import { ActualMatchingTransactionSearchResult, ActualMatchingSortKey as ExpenseAutomationActualMatchingSortKey, ActualMatchingStatusFilter as ExpenseAutomationActualMatchingStatusFilter, ActualMatchingViewUIState as ExpenseAutomationActualMatchingViewUIState, MATCH_ACCRUAL_SEARCH_LIMIT, MATCH_SEARCH_DEBOUNCE_MS, MATCH_TRANSACTION_SEARCH_PAGE_SIZE, MatchAndReverseAccrualsParams, MatchAndReverseResult, MatchAndReverseResultStatus, ALL_ACTUAL_MATCHING_IGNORE_REASONS, ActualMatchingIgnoreReasonType, IgnoreActualMatchingSuggestionParams, UndoReversalAccrualsParams, UndoReversalResult, UndoReversalResultStatus, actualMatchingTransactionLineKey, toActualMatchingIgnoreReasonType, toActualMatchingSortKey as toExpenseAutomationActualMatchingSortKey, toActualMatchingStatusFilter as toExpenseAutomationActualMatchingStatusFilter, toMatchAndReverseResultStatus, toUndoReversalResultStatus } from './view/expenseAutomationView/types/actualMatchingViewState';
|
|
338
338
|
import { CompletedSubTab, DEFAULT_COMPLETED_SUB_TAB, toCompletedSubTab } from './view/expenseAutomationView/types/completedSubTab';
|
|
339
339
|
import { FluxAnalysisActionType, FluxAnalysisReviewStatus, FluxAnalysisSectionType, FluxAnalysisSortKey, FluxAnalysisViewUIState, FluxBalancesByMonth } from './view/expenseAutomationView/types/fluxAnalysisViewState';
|
|
340
340
|
import { ALL_JE_PAGE_TABS, AccountSettingsLocalData, JEScheduleSortKey as ExpenseAutomationJEScheduleSortKey, JESchedulesViewUIState as ExpenseAutomationJESchedulesViewUIState, JEPageTab, JEScheduleLocalData, NewJeDetailLocalData, NewJeScheduleState, NewOneTimeAccrualLocalData, NewScheduleLocalData, NewScheduleLocalDataFixedAssets, SearchTransactionsState, toJEScheduleSortKey as toExpenseAutomationJEScheduleSortKey, toJEPageTab } from './view/expenseAutomationView/types/jeSchedulesViewState';
|
|
@@ -736,7 +736,7 @@ export { TransactionsOrder, COABalancesSliceOrder, EntityOrder, Section, Section
|
|
|
736
736
|
export { ClassesViewSelectorReportV2 };
|
|
737
737
|
export { BalancesTimeseries, TrendTimeseries, BalanceKind };
|
|
738
738
|
export { fetchMonthEndCloseChecks, fetchMonthClosePerformanceTrend, MonthClosePerformanceTrend, MonthEndCloseCheck, getMonthEndCloseChecksViewByTenantId, MonthEndCloseChecksView, MonthEndCloseCheckFrequency, MonthCloseCheckMetrics, MonthCloseCheckProgressJson, ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY, MonthEndAuditSummary, };
|
|
739
|
-
export { ExpenseAutomationViewSelector, ExpenseAutomationStepDetails, ExpenseAutomationViewType, ExpenseAutomationMissingReceiptsViewSelector, BulkUploadSelectorData, ExpenseAutomationFluxAnalysisViewSelector, FluxAnalysisVendorView, FluxAnalysisViewSectionReport, FluxVendorAccountsAndClassesView, ExpenseAutomationMissingReceiptsViewUIState, ExpenseAutomationMissingReceiptsViewState, ExpenseAutomationViewState, ExpenseAutomationTransactionsTab, ExpenseAutomationMissingReceiptsSortKey, BATCH_FILE_STATUSES, BatchDetails, BatchFile, BatchFileStatus, BatchListItem, isUnmatchedTabFileStatus, BatchStatus, BatchStatusValue, BatchSummary, BulkUploadPhase, BulkUploadResultsTab, BulkUploadSortKey, BulkUploadState, CandidateRef, CompletedSubTab, CompletedTransactionsSelectorData, DEFAULT_COMPLETED_SUB_TAB, DEFAULT_TRANSACTION_GROUP, TRANSACTION_GROUPS, TransactionGroup, toTransactionGroup, MatchCandidate, MatchSource, MissingReceiptsTab, toBatchFileStatus, toBatchStatusValue, toBulkUploadPhase, toBulkUploadResultsTab, toBulkUploadSortKey, toCompletedSubTab, toMatchSource, toMissingReceiptsTab, ResolvedBatchFile, ResolvedBatchDetails, ResolvedCandidate, ExpenseAutomationJEScheduleSortKey, ExpenseAutomationJESchedulesViewUIState, ExpenseAutomationActualMatchingViewSelector, ActualMatchingKpiSummary, ActualMatchingMatchModalView, ActualMatchingRow, ActualMatchingRowKind, ExpenseAutomationActualMatchingSortKey, ExpenseAutomationActualMatchingViewUIState, ActualMatchingTransactionSearchResult, MatchAndReverseAccrualsParams, MatchAndReverseResult, MatchAndReverseResultStatus, UndoReversalAccrualsParams, UndoReversalResult, UndoReversalResultStatus, actualMatchingTransactionLineKey, JEKpiSummary, ALL_JE_PAGE_TABS, JEPageTab, MATCH_ACCRUAL_SEARCH_LIMIT, MATCH_SEARCH_DEBOUNCE_MS, MATCH_TRANSACTION_SEARCH_PAGE_SIZE, toExpenseAutomationJEScheduleSortKey, toExpenseAutomationActualMatchingSortKey, toJEPageTab, toMatchAndReverseResultStatus, toUndoReversalResultStatus, toggleJECreatedGroupCollapsed, toggleJEFailedGroupCollapsed, toggleJEPendingGroupCollapsed, updateJEScheduleTypeFilter, getExpenseAutomationView, toExpenseAutomationMissingReceiptsSortKey, toExpenseAutomationTransactionsTabKey, toExpenseAutomationViewType, toExpenseAutomationViewTypeStrict, uploadExpenseAutomationMissingReceiptSuccess, markExpenseAutomationMissingReceiptAsDone, fetchAllExpenseAutomationTabs, refreshExpenseAutomationCurrentTab, updateCurrentSelectedTransactionCategorizationTab, updateTransactionCategorizationCompletedSubTab, updateTransactionGroup, fetchExpenseAutomationMissingReceipts, bulkUploadReceipts, bulkUploadAutomatchingTimedOut, bulkUploadReceiptsSuccess, bulkUploadReceiptsFailure, restoreBulkUploadAutomatchingOnMount, restoreBulkUploadMatchingState, updateBulkUploadProgress, pusherBatchStatusUpdate, requestMissingReceiptsTabNavigation, clearMissingReceiptsTabNavigation, fetchBulkUploadBatchDetails, fetchBulkUploadBatchDetailsSuccess, fetchBulkUploadBatchDetailsFailure, storeBatchDetails, fetchMoreBatchDetails, fetchMoreBatchDetailsComplete, fetchMoreBatchDetailsFailure, fetchBulkUploadBatches, fetchBulkUploadBatchesSuccess, fetchBulkUploadBatchesFailure, clearBulkUploadBatchDetailsForScopeChange, markBatchDetailRefreshAttempted, refreshBatchDetailsForBatchId, confirmBulkUploadMatch, confirmBulkUploadMatchSuccess, confirmBulkUploadMatchFailure, setBulkUploadResultsTab, setBulkUploadCompletedSubTab, setBulkUploadSortConfig, setBulkUploadUploadedFileCount, clearBulkUpload, searchTransactionsForManualMatch, searchTransactionsForManualMatchSuccess, searchTransactionsForManualMatchFailure, clearManualSearchResults, acknowledgeBulkUploadConfirmMatchComplete, fetchCompletedTransactions, fetchCompletedTransactionsSuccess, fetchCompletedTransactionsFailure, fetchFluxAnalysisView, clearExpenseAutomationFluxAnalysisView, updateOperatingExpensesIdsForReview as updateFluxOperatingExpensesIdsForReview, updateSelectedSectionIdsForReview as updateFluxAnalysisSelectedSectionIdsForReview, reviewFluxAnalysisView, updateExpenseAutomationMissingReceiptUploadState, updateExpenseAutomationMissingReceiptsUIState, updateTransactionCategorizationUploadReceiptState, uploadTransactionCategorizationReceiptSuccess, FluxAnalysisOperatingExpenseView, FluxAnalysisSectionType, getExpenseAutomationFluxAnalysisView, FluxAnalysisSortKey, FluxAnalysisActionType, FluxBalancesByMonth, updateCurrentSelectedView, updateCurrentSelectedPeriod, getExpenseAutomationTransactionView, getLastTransferEntryReplacement, ReconReconcileSortKey, ReconciliationReconcileTabLocalData, FluxAnalysisReviewStatus, updateFluxAnalysisViewUIState, FluxAnalysisViewUIState, updateFluxAnalysisViewPageMetaData, MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled, getLineItemsByTransactionIdsFromLocalData, isAnyItemWithUncategorizedExpenseAccount, SaveExpenseAutomationReconciliationActionType, ExcludeAccountFromReconciliationPayload, excludeAccountFromReconciliation, includeAccountInReconciliation, saveExpenseAutomationReconciliationDetail, updateExpenseAutomationReconcileTabListScrollState, updateExpenseAutomationReconReviewTabListSortState, updateExpenseAutomationReconcileTabListSortState, updateExpenseAutomationReconcileTabLocalData, updateExpenseAutomationAccountReconciliationSelectedTab, updateExpenseAutomationAccountReconciliationSelectedAccountId, ExpenseAutomationReconciliationViewSelector, getExpenseAutomationReconciliationView, getLedgerAccountIdsWithStatementOverrideWarning, getLedgerAccountsForCombinedStatementMapping, getReparseStatementStatusByAccountId, getUnavailableLedgerAccountIds, AccountReconciliationBySection, fetchReconciliationView, uploadAccountStatementIntoDocumentAI, UploadStatementDocumentAIResponse, updateExpenseAutomationReconListScrollPosition, setConnectionInProgressForAccountReconciliation, AccountReconciliationByAccount, AccountReconciliationEntity, getAccountReconByAccountIdAndSelectedPeriod, ExpenseAutomationReconciliationViewTab, toReconciliationTabsType, isAccountReconReport, ReconReviewSortKey, AccountReconSectionID, ReconciliationReviewTabLocalData, TransactionsToReview, RecommendedActionCodeType, ReconciliationStatusCodeType, BalanceDataStatusCodeType, updateExpenseAutomationReconReviewTabLocalData, updateExpenseAutomationSelectedDrawerAccountId, updateStatementProcessingFailed, saveExpenseAutomationReconciliationReview, updateExpenseAutomationAccountReconciliationLocalData, BankStatusCodeType, ReconciliationAccountSourceType, toReconciliationAccountSource, StatementStatusCodeType, AccountReconciliationLocalData, CombinedStatementAccount, StatementAccountScope, StatementDataStatusCodeType, deleteAccountStatement, deleteCombinedStatement, uploadAccountStatement, parseCombinedStatement, parseStatement, parseStatementSuccess, parseStatementFailure, reparseStatement, reparseStatementSuccess, reparseStatementFailure, resetReparseStatementStatus, updateParsedStatementData, updateNodeCollapseState, UploadStatementDocumentAIPayload, updateStatementUploadChosen, submitCombinedStatementUpdate, submitStatementUpdate, clearStatementDateConflict, confirmStatementMapping, StatementDateConflict, updateStatementUpdateLocalData, isReviewTransactionBankTransferType, isReviewTransactionBillPaymentType, isReviewTransactionCreditCardPaymentType, isReviewTransactionDepositType, isReviewTransactionExpenseType, isReviewTransactionCreditCardCreditType, setStatementParseInProgress, setStatementProcessingDismissedToBackground, updateStatementProcessingBackgroundCompletedSteps, ParsedStatementData, StatementUpdateLocalData, StatementMeta, StatementTransaction, StatementTransactionForUpdate, StatementTransactionsUpdate, };
|
|
739
|
+
export { ExpenseAutomationViewSelector, ExpenseAutomationStepDetails, ExpenseAutomationViewType, ExpenseAutomationMissingReceiptsViewSelector, BulkUploadSelectorData, ExpenseAutomationFluxAnalysisViewSelector, FluxAnalysisVendorView, FluxAnalysisViewSectionReport, FluxVendorAccountsAndClassesView, ExpenseAutomationMissingReceiptsViewUIState, ExpenseAutomationMissingReceiptsViewState, ExpenseAutomationViewState, ExpenseAutomationTransactionsTab, ExpenseAutomationMissingReceiptsSortKey, BATCH_FILE_STATUSES, BatchDetails, BatchFile, BatchFileStatus, BatchListItem, isUnmatchedTabFileStatus, BatchStatus, BatchStatusValue, BatchSummary, BulkUploadPhase, BulkUploadResultsTab, BulkUploadSortKey, BulkUploadState, CandidateRef, CompletedSubTab, CompletedTransactionsSelectorData, DEFAULT_COMPLETED_SUB_TAB, DEFAULT_TRANSACTION_GROUP, TRANSACTION_GROUPS, TransactionGroup, toTransactionGroup, MatchCandidate, MatchSource, MissingReceiptsTab, toBatchFileStatus, toBatchStatusValue, toBulkUploadPhase, toBulkUploadResultsTab, toBulkUploadSortKey, toCompletedSubTab, toMatchSource, toMissingReceiptsTab, ResolvedBatchFile, ResolvedBatchDetails, ResolvedCandidate, ExpenseAutomationJEScheduleSortKey, ExpenseAutomationJESchedulesViewUIState, ExpenseAutomationActualMatchingViewSelector, ActualMatchingGroupedAccrual, ActualMatchingKpiSummary, ActualMatchingMatchModalView, ActualMatchingMatchView, ActualMatchingRow, ActualMatchingRowKind, ExpenseAutomationActualMatchingSortKey, ExpenseAutomationActualMatchingStatusFilter, ExpenseAutomationActualMatchingViewUIState, ActualMatchingTransactionSearchResult, MatchAndReverseAccrualsParams, MatchAndReverseResult, MatchAndReverseResultStatus, ALL_ACTUAL_MATCHING_IGNORE_REASONS, ActualMatchingIgnoreReasonType, IgnoreActualMatchingSuggestionParams, UndoReversalAccrualsParams, UndoReversalResult, UndoReversalResultStatus, actualMatchingTransactionLineKey, JEKpiSummary, ALL_JE_PAGE_TABS, JEPageTab, MATCH_ACCRUAL_SEARCH_LIMIT, MATCH_SEARCH_DEBOUNCE_MS, MATCH_TRANSACTION_SEARCH_PAGE_SIZE, toExpenseAutomationJEScheduleSortKey, toExpenseAutomationActualMatchingSortKey, toExpenseAutomationActualMatchingStatusFilter, toActualMatchingIgnoreReasonType, toJEPageTab, toMatchAndReverseResultStatus, toUndoReversalResultStatus, toggleJECreatedGroupCollapsed, toggleJEFailedGroupCollapsed, toggleJEPendingGroupCollapsed, updateJEScheduleTypeFilter, getExpenseAutomationView, toExpenseAutomationMissingReceiptsSortKey, toExpenseAutomationTransactionsTabKey, toExpenseAutomationViewType, toExpenseAutomationViewTypeStrict, uploadExpenseAutomationMissingReceiptSuccess, markExpenseAutomationMissingReceiptAsDone, fetchAllExpenseAutomationTabs, refreshExpenseAutomationCurrentTab, updateCurrentSelectedTransactionCategorizationTab, updateTransactionCategorizationCompletedSubTab, updateTransactionGroup, fetchExpenseAutomationMissingReceipts, bulkUploadReceipts, bulkUploadAutomatchingTimedOut, bulkUploadReceiptsSuccess, bulkUploadReceiptsFailure, restoreBulkUploadAutomatchingOnMount, restoreBulkUploadMatchingState, updateBulkUploadProgress, pusherBatchStatusUpdate, requestMissingReceiptsTabNavigation, clearMissingReceiptsTabNavigation, fetchBulkUploadBatchDetails, fetchBulkUploadBatchDetailsSuccess, fetchBulkUploadBatchDetailsFailure, storeBatchDetails, fetchMoreBatchDetails, fetchMoreBatchDetailsComplete, fetchMoreBatchDetailsFailure, fetchBulkUploadBatches, fetchBulkUploadBatchesSuccess, fetchBulkUploadBatchesFailure, clearBulkUploadBatchDetailsForScopeChange, markBatchDetailRefreshAttempted, refreshBatchDetailsForBatchId, confirmBulkUploadMatch, confirmBulkUploadMatchSuccess, confirmBulkUploadMatchFailure, setBulkUploadResultsTab, setBulkUploadCompletedSubTab, setBulkUploadSortConfig, setBulkUploadUploadedFileCount, clearBulkUpload, searchTransactionsForManualMatch, searchTransactionsForManualMatchSuccess, searchTransactionsForManualMatchFailure, clearManualSearchResults, acknowledgeBulkUploadConfirmMatchComplete, fetchCompletedTransactions, fetchCompletedTransactionsSuccess, fetchCompletedTransactionsFailure, fetchFluxAnalysisView, clearExpenseAutomationFluxAnalysisView, updateOperatingExpensesIdsForReview as updateFluxOperatingExpensesIdsForReview, updateSelectedSectionIdsForReview as updateFluxAnalysisSelectedSectionIdsForReview, reviewFluxAnalysisView, updateExpenseAutomationMissingReceiptUploadState, updateExpenseAutomationMissingReceiptsUIState, updateTransactionCategorizationUploadReceiptState, uploadTransactionCategorizationReceiptSuccess, FluxAnalysisOperatingExpenseView, FluxAnalysisSectionType, getExpenseAutomationFluxAnalysisView, FluxAnalysisSortKey, FluxAnalysisActionType, FluxBalancesByMonth, updateCurrentSelectedView, updateCurrentSelectedPeriod, getExpenseAutomationTransactionView, getLastTransferEntryReplacement, ReconReconcileSortKey, ReconciliationReconcileTabLocalData, FluxAnalysisReviewStatus, updateFluxAnalysisViewUIState, FluxAnalysisViewUIState, updateFluxAnalysisViewPageMetaData, MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled, getLineItemsByTransactionIdsFromLocalData, isAnyItemWithUncategorizedExpenseAccount, SaveExpenseAutomationReconciliationActionType, ExcludeAccountFromReconciliationPayload, excludeAccountFromReconciliation, includeAccountInReconciliation, saveExpenseAutomationReconciliationDetail, updateExpenseAutomationReconcileTabListScrollState, updateExpenseAutomationReconReviewTabListSortState, updateExpenseAutomationReconcileTabListSortState, updateExpenseAutomationReconcileTabLocalData, updateExpenseAutomationAccountReconciliationSelectedTab, updateExpenseAutomationAccountReconciliationSelectedAccountId, ExpenseAutomationReconciliationViewSelector, getExpenseAutomationReconciliationView, getLedgerAccountIdsWithStatementOverrideWarning, getLedgerAccountsForCombinedStatementMapping, getReparseStatementStatusByAccountId, getUnavailableLedgerAccountIds, AccountReconciliationBySection, fetchReconciliationView, uploadAccountStatementIntoDocumentAI, UploadStatementDocumentAIResponse, updateExpenseAutomationReconListScrollPosition, setConnectionInProgressForAccountReconciliation, AccountReconciliationByAccount, AccountReconciliationEntity, getAccountReconByAccountIdAndSelectedPeriod, ExpenseAutomationReconciliationViewTab, toReconciliationTabsType, isAccountReconReport, ReconReviewSortKey, AccountReconSectionID, ReconciliationReviewTabLocalData, TransactionsToReview, RecommendedActionCodeType, ReconciliationStatusCodeType, BalanceDataStatusCodeType, updateExpenseAutomationReconReviewTabLocalData, updateExpenseAutomationSelectedDrawerAccountId, updateStatementProcessingFailed, saveExpenseAutomationReconciliationReview, updateExpenseAutomationAccountReconciliationLocalData, BankStatusCodeType, ReconciliationAccountSourceType, toReconciliationAccountSource, StatementStatusCodeType, AccountReconciliationLocalData, CombinedStatementAccount, StatementAccountScope, StatementDataStatusCodeType, deleteAccountStatement, deleteCombinedStatement, uploadAccountStatement, parseCombinedStatement, parseStatement, parseStatementSuccess, parseStatementFailure, reparseStatement, reparseStatementSuccess, reparseStatementFailure, resetReparseStatementStatus, updateParsedStatementData, updateNodeCollapseState, UploadStatementDocumentAIPayload, updateStatementUploadChosen, submitCombinedStatementUpdate, submitStatementUpdate, clearStatementDateConflict, confirmStatementMapping, StatementDateConflict, updateStatementUpdateLocalData, isReviewTransactionBankTransferType, isReviewTransactionBillPaymentType, isReviewTransactionCreditCardPaymentType, isReviewTransactionDepositType, isReviewTransactionExpenseType, isReviewTransactionCreditCardCreditType, setStatementParseInProgress, setStatementProcessingDismissedToBackground, updateStatementProcessingBackgroundCompletedSteps, ParsedStatementData, StatementUpdateLocalData, StatementMeta, StatementTransaction, StatementTransactionForUpdate, StatementTransactionsUpdate, };
|
|
740
740
|
export { JEScheduleLocalData };
|
|
741
741
|
export { ExpenseAutomationJESchedulesViewSelector, JEAccountSettingsView, ExpenseAutomationJEOneTimeAccrualDetailView, JEScheduleRow, JEScheduledTransactionWithFailedEntries, NewJeDetailLocalData, NewJeScheduleState, NewOneTimeAccrualLocalData, NewAccrualAccountsView, NewScheduleLocalData, NewScheduleLocalDataFixedAssets, NewScheduleSearchTransactionsView, NewScheduleView, SearchTransactionsState, computeNewScheduleJeDetails, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, fetchOneTimeAccrual, getJeNewAccrualAccountsView, ignoreOneTimeAccrual, promoteOneTimeAccrual, revertJeSchedule, revertOneTimeAccrual, getJeNewScheduleSearchTransactionsView, getJeNewScheduleView, };
|
|
742
742
|
export { fetchTransactionCategorization, fetchTransactionCategorizationView, updateTransactionCategorizationUIState, updateTransactionFilters, updateSelectedCheckboxTransactionIds, markCategoryClassRecommendationsFailureForCategorization, setEntityRecommendationForLineIdsForCategorization, initializeTransactionCategorizationViewLocalData, setAllItemsToCategoryClassInLocalDataForCategorization, saveTransactionCategorizationLocalData, fetchTransactionCategorizationFailure, saveTransactionCategorization, updateTransactionCategorization, updateTransactionCategorizationSaveStatus, markTransactionAsNotMiscategorized, updateSelectedVendorForTransaction, updateSelectedCustomerForTransaction, updateSelectedTransactionId, syncTransactionCategorizationFromDetailSave, backgroundRefetchReviewTab, createTransferEntry, createTransferEntryFailure, createTransferEntryReplacedTransaction, createTransferEntrySuccess, resetCreateTransferEntryStatus, clearTransferEntryRouteReplacement, fetchAccountsForTransferFlow, removeTransactionFromAllTabs, clearExpenseAutomationTransactionsView, TransactionsSortKey, toTransactionsSortKey, TransactionsTab, TransactionCategorizationLineItemData, TransactionReviewLocalData, SupportedTransactionCategorization, ExpenseAutomationTransactionsViewState, ExpenseAutomationTransactionsViewUIState, ExpenseAutomationTransactionViewSelector, TransactionReviewLocalDataSelectorView, };
|
|
@@ -952,7 +952,7 @@ export { fetchApAging, getApAgingReport, updateApAgingUIState, AgingReportId, Ap
|
|
|
952
952
|
export { fetchApAgingDetail, AgingReportInvoice, ApAgingDetail, getApAgingDetailForVendor, updateApAgingDetailUIState, };
|
|
953
953
|
export { LinkBillExpenseKey };
|
|
954
954
|
export { clearExpenseAutomationJEScheduleLocalData, clearExpenseAutomationJESchedulesView, clearJeSearchTransactionsForNewSchedule, fetchExpenseAutomationJESchedulesPage, ignoreExpenseAutomationJESchedule, initializeJeAccountSettingsView, initializeJeNewSchedule, initializeJeScheduleLocalData, removeJeScheduleTransactionKey, resetJeNewScheduleLocalData, retryExpenseAutomationJESchedule, saveJeNewSchedule, saveJeNewScheduleFailure, saveJeNewScheduleSuccess, searchJeTransactionsForNewSchedule, searchJeTransactionsForNewScheduleFailure, searchJeTransactionsForNewScheduleSuccess, updateExpenseAutomationJESchedulesUIState, updateJeNewScheduleLocalData, removeJeOneTimeAccrualLocalData, updateJeOneTimeAccrualLocalData, updateJeScheduleLocalDataById, updateJeScheduleTransactionKeys, };
|
|
955
|
-
export { ackCloseMatchAfterUndo, clearExpenseAutomationActualMatchingView, closeMatchNewModal, clearMatchNewModal, fetchExpenseAutomationActualMatching, fetchActualMatchingMatch, fetchExpenseAutomationActualMatchingPage, matchAndReverseAccruals, openMatchNewModal, searchMatchAccruals, searchMatchTransactions, undoReversalAccruals, updateExpenseAutomationActualMatchingUIState, };
|
|
955
|
+
export { ackCloseMatchAfterIgnore, ackCloseMatchAfterUndo, clearExpenseAutomationActualMatchingView, closeMatchNewModal, clearMatchNewModal, fetchExpenseAutomationActualMatching, fetchActualMatchingMatch, fetchExpenseAutomationActualMatchingPage, ignoreActualMatchingSuggestion, matchAndReverseAccruals, openMatchNewModal, searchMatchAccruals, searchMatchTransactions, undoReversalAccruals, updateExpenseAutomationActualMatchingUIState, };
|
|
956
956
|
export { createNewSchedulesAccrued, deleteScheduleAccruedDetail, cancelScheduleAccruedJournalEntry, fetchScheduleAccruedDetails, fetchScheduleAccruedDetailsPage, resetJEAccruedLinkInLocalData, saveScheduleAccruedDetails, updateAmountsInScheduleAccruedDetail, updatedJEAccruedLinkWithRecommendedLocalData, updatedJELinkInLocalDataAccruedExpenses, fetchRecommendedTransactionRowIndex, clearSelectedJELinkRowIndex, updateLinkBillExpenseLocalData, updateScheduleAccruedDetailsLocalData, updateSelectedJEAccruedScheduleKey, resetSelectedJEAccruedScheduleKey, resetAccruedDetailNewScheduleState, };
|
|
957
957
|
export { JEScheduleKey, JEScheduleTransactionKey, ScheduleTransactionID, getJEScheduleTransactionKey, ALL_JE_SCHEDULE_IGNORE_REASONS, ALL_JE_SCHEDULE_REVERT_REASONS, ALL_ONE_TIME_ACCRUAL_IGNORE_REASONS, ALL_ONE_TIME_ACCRUAL_REVERT_REASONS, ALL_SCHEDULES_TYPES, JEScheduledTransaction, JEAccruedSchedule, JEOneTimeAccrual, OneTimeAccrualEdits, JEOneTimeAccrualAiSuggestion, JEOneTimeAccrualBillingPattern, JEOneTimeAccrualCleared, JEOneTimeAccrualMatchSuggestion, JEOneTimeAccrualMonthlyTotal, JEOneTimeAccrualProfileSnapshot, JEOneTimeAccrualKey, JEScheduleAISummaries, JEScheduleFieldRecommendation, JEScheduleSummary, ScheduleTypes, ScheduleJournalEntryStatusCodeType, ScheduleListReport, ScheduleAccruedListReport, getScheduleListReport, getAccruedScheduleListReport, ScheduleSubTabType, ScheduleListSortKey, fetchScheduleList, fetchAccruedScheduleList, fetchDownloadSchedules, fetchSchedulesAccount, updateScheduleListLocalData, getFetchStateForScheduleAccountList, toScheduleTypesType, toScheduleTypesTypeStrict, toScheduleListTabsFileTypeStrict, ScheduleListLocalData, ScheduleDetailsLocalDataFixedAssets, ScheduleDetailsLocalDataAccruedExpenses, ScheduleDetailsView, ScheduleAccruedDetailsView, LinkBillExpenseView, LinkBillExpenseLocalData, JEScheduleDetailsLocalData, ScheduleDetailsLocalData, toScheduleSubTabType, ScheduleStatusCodeType, JEScheduleIgnoreReasonType, JEScheduleRevertReasonType, JournalEntryErrorCodeType, OneTimeAccrualIgnoreReasonType, OneTimeAccrualRevertReasonType, ScheduleTransaction, updateScheduleListSubTab, updateScheduleListSearchText, updateScheduleListScrollState, updateScheduleListSortState, ScheduleDetailSortKey, ScheduledJournalEntry, updateSelectedJEScheduleKey, fetchScheduleDetails, getScheduleDetailsView, getAccruedScheduleDetailsView, fetchScheduleDetailsPage, saveScheduleDetails, deleteScheduleDetail, createNewSchedules, updateScheduleDetailsLocalData, JETransactionLink, updateScheduleListDownloadState, updateAccruedJEScheduleAccruedByListKey, DownloadJEScheduleTabOptions, updatedSelectedJELinkRowIndex, ScheduleListTabsFileType, getQBOUrlForLink, getThirdPartyIDFromQBOURL, updatedJELinkInLocalData, updateAmountsInScheduleDetail, ScheduleDetailUIState, resetJELinkInLocalData, JEScheduledTransactionWithBalance, JEScheduleWithBalance, JELinkType, updatedJELinkWithRecommendedLocalData, getFetchStateForScheduleListByType, getDefaultSelectedTimeframeForScheduleType, markAsCompleteScheduleDetail, resetMarkAsCompleteStatus, fetchVendorTabView, updateVendorTabViewTab, VendorTabViewTabType, getVendorTabView, VendorTabViewSelectorView, };
|
|
958
958
|
export { GlobalMerchant, GlobalMerchantBase, TenantMerchant };
|
|
@@ -1259,7 +1259,7 @@ export type { InvoicingOnboardingGateView } from './view/invoicing/invoicingConf
|
|
|
1259
1259
|
export type { InvoicingConfigView } from './view/invoicing/invoicingConfigView/invoicingConfigViewSelector';
|
|
1260
1260
|
export type { InvoicingOnboardingStatus } from './view/invoicing/invoicingConfigView/invoicingConfigViewPayload';
|
|
1261
1261
|
export { getExpenseAutomationJEOneTimeAccrualDetailView, getJEScheduleRowType, isAccruedScheduleRow, isAiAccountantSchedule, isExistingTabRow, isOneTimeAccrualRow, isRenderableOneTimeAccrual, isPendingReviewRow, } from './view/expenseAutomationView/selectors/jeSchedulesViewSelector';
|
|
1262
|
-
export { getActualMatchingAmount, getActualMatchingReversalDate, getCloseMatchAfterUndo, parseActualMatchingMatchId, getExpenseAutomationActualMatchingMatchView, getExpenseAutomationActualMatchingView, isAutoReversedAccrual, isManuallyReversedAccrual, isPendingReviewAccrual, } from './view/expenseAutomationView/selectors/actualMatchingViewSelector';
|
|
1262
|
+
export { getActualMatchingAmount, getActualMatchingReversalDate, getActualMatchingMatchModalConfirmStatus, getCloseMatchAfterIgnoreMatchId, getCloseMatchAfterUndo, getCloseMatchAfterUndoMatchId, parseActualMatchingMatchId, getExpenseAutomationActualMatchingMatchView, getExpenseAutomationActualMatchingView, isAutoReversedAccrual, isManuallyReversedAccrual, isPendingReviewAccrual, } from './view/expenseAutomationView/selectors/actualMatchingViewSelector';
|
|
1263
1263
|
export type { ExpenseAutomationActualMatchingMatchView } from './view/expenseAutomationView/selectors/actualMatchingViewSelector';
|
|
1264
1264
|
export type { ActualMatchingMatch, ActualMatchingMatchKind, } from './entity/actualMatching/actualMatchingState';
|
|
1265
1265
|
export type { ActualMatchingMatchId } from './entity/actualMatching/actualMatchingTypes';
|