@zeniai/client-epic-state 4.14.14 → 4.14.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonStateTypes/reimbursementTypeCode.d.ts +2 -0
- package/lib/commonStateTypes/reimbursementTypeCode.js +5 -0
- package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +1 -0
- package/lib/entity/billPay/billTransaction/billTransactionPayload.js +3 -0
- package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +6 -3
- package/lib/entity/billPay/billTransaction/billTransactionState.js +18 -1
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +4 -0
- package/lib/entity/tenant/epic/signInUserEpic.d.ts +1 -0
- package/lib/entity/tenant/epic/signInUserEpic.js +15 -9
- package/lib/entity/tenant/tenantReducer.d.ts +5 -2
- package/lib/entity/tenant/tenantReducer.js +5 -4
- package/lib/entity/tenant/tenantState.d.ts +2 -0
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
- package/lib/index.d.ts +14 -13
- package/lib/index.js +26 -15
- package/lib/view/bankAccountView/bankAccountViewReducer.d.ts +2 -2
- package/lib/view/billPayCard/fetchBillPayCardEpic.js +1 -0
- package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +7 -4
- package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +3 -3
- package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscatgorizedEpic.js +76 -27
- package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +3 -2
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +1 -3
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +2 -12
- package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +13 -12
- package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +0 -2
- package/lib/view/expenseAutomationView/helpers/helpers.d.ts +3 -0
- package/lib/view/expenseAutomationView/helpers/helpers.js +4 -1
- package/lib/view/expenseAutomationView/payload/transactionCategorizationPayload.d.ts +1 -2
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +12 -10
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -2
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +5 -3
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +102 -65
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.d.ts +1 -2
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +20 -11
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +4 -1
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
- package/lib/view/people/deletePersonEpic.d.ts +1 -1
- package/lib/view/people/invitePeopleEpic.d.ts +1 -1
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
- package/lib/view/people/resendInviteEpic.d.ts +1 -1
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +1 -1
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +9 -2
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +35 -8
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +3 -2
- package/lib/view/spendManagement/billPay/billList/billListSelector.js +55 -18
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListState.js +1 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +7 -2
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +18 -6
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +9 -4
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +18 -4
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +2 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.d.ts +8 -4
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +27 -5
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +4 -2
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +33 -2
- package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +6 -1
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +16 -5
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +27 -13
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +7 -3
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +48 -28
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.d.ts +2 -2
- package/lib/view/spendManagement/helpers.d.ts +2 -0
- package/lib/view/spendManagement/helpers.js +9 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.d.ts +6 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +12 -2
- package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
- package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
- package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
var _a;
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.setEntityRecommendationForLineIdsForCategorization = exports.clearExpenseAutomationTransactionsView = exports.clearExpenseAutomationTransactionsViewPerTabView = exports.updateSelectedCheckboxTransactionIds = exports.fetchTransactionCategorizationView = exports.fetchTransactionCategorizationSuccess = exports.updateTotalCountForTransactionCategorization = exports.setAllItemsToCategoryClassInLocalDataForCategorization = exports.updateSelectedVendorForTransaction = exports.updateStatusForTransactionNotMiscategorizedUpdate = exports.markTransactionAsNotMiscategorized = exports.updateTransactionCategorizationSaveStatus = exports.updateTransactionCategorization = exports.saveTransactionCategorization = exports.fetchTransactionCategorizationFailure = exports.saveTransactionCategorizationLocalData = exports.initializeTransactionCategorizationViewLocalData = exports.updateTransactionCategorizationUIState = exports.fetchTransactionCategorization = exports.initialState = exports.initialTransactionTabViewState = void 0;
|
|
7
|
+
exports.setEntityRecommendationForLineIdsForCategorization = exports.clearExpenseAutomationTransactionsView = exports.clearExpenseAutomationTransactionsViewPerTabView = exports.updateSelectedCheckboxTransactionIds = exports.fetchTransactionCategorizationView = exports.fetchTransactionCategorizationSuccess = exports.updateTotalCountForTransactionCategorization = exports.setAllItemsToCategoryClassInLocalDataForCategorization = exports.updateSelectedVendorForTransaction = exports.updateStatusForTransactionNotMiscategorizedUpdate = exports.markTransactionAsNotMiscategorized = exports.updateTransactionCategorizationSaveStatus = exports.updateCurrentSelectedTransactionCategorizationTab = exports.updateTransactionCategorization = exports.saveTransactionCategorization = exports.fetchTransactionCategorizationFailure = exports.saveTransactionCategorizationLocalData = exports.initializeTransactionCategorizationViewLocalData = exports.updateTransactionCategorizationUIState = exports.fetchTransactionCategorization = exports.initialState = exports.initialTransactionTabViewState = void 0;
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const get_1 = __importDefault(require("lodash/get"));
|
|
10
10
|
const uniq_1 = __importDefault(require("lodash/uniq"));
|
|
@@ -44,8 +44,11 @@ exports.initialTransactionTabViewState = {
|
|
|
44
44
|
selectedCheckBoxTransactionIds: [],
|
|
45
45
|
};
|
|
46
46
|
exports.initialState = {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
selectedTransactionCategorizationTab: 'review',
|
|
48
|
+
transactionCategorizationView: {
|
|
49
|
+
review: Object.assign({}, exports.initialTransactionTabViewState),
|
|
50
|
+
autoCategorized: Object.assign({}, exports.initialTransactionTabViewState),
|
|
51
|
+
},
|
|
49
52
|
};
|
|
50
53
|
const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
51
54
|
name: 'expenseAutomationTransactionsView',
|
|
@@ -75,39 +78,44 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
75
78
|
reducer(draft, action) {
|
|
76
79
|
const { refreshViewInBackground, resetListItems, selectedTab, pageToken, searchString, period, } = action.payload;
|
|
77
80
|
if (refreshViewInBackground === true) {
|
|
78
|
-
draft[selectedTab].refreshStatus = {
|
|
81
|
+
draft.transactionCategorizationView[selectedTab].refreshStatus = {
|
|
79
82
|
fetchState: 'In-Progress',
|
|
80
83
|
error: undefined,
|
|
81
84
|
};
|
|
82
85
|
}
|
|
83
86
|
else {
|
|
84
|
-
draft[selectedTab].fetchState =
|
|
85
|
-
|
|
87
|
+
draft.transactionCategorizationView[selectedTab].fetchState =
|
|
88
|
+
'In-Progress';
|
|
89
|
+
draft.transactionCategorizationView[selectedTab].error = undefined;
|
|
86
90
|
}
|
|
87
91
|
// Note: Need to reset scroll position whenever a new fetch happens, except when fetching through scroll
|
|
88
92
|
if (pageToken == null) {
|
|
89
93
|
// Page Token is null in each fetch except when fetching through scroll
|
|
90
|
-
draft[selectedTab].uiState.scrollPosition = {
|
|
94
|
+
draft.transactionCategorizationView[selectedTab].uiState.scrollPosition = {
|
|
91
95
|
scrollTop: 0,
|
|
92
96
|
scrollLeft: undefined,
|
|
93
97
|
};
|
|
94
98
|
}
|
|
95
|
-
draft[selectedTab].uiState.pageToken =
|
|
96
|
-
|
|
97
|
-
draft[selectedTab].
|
|
99
|
+
draft.transactionCategorizationView[selectedTab].uiState.pageToken =
|
|
100
|
+
pageToken !== null && pageToken !== void 0 ? pageToken : null;
|
|
101
|
+
draft.transactionCategorizationView[selectedTab].uiState.searchString =
|
|
102
|
+
searchString !== null && searchString !== void 0 ? searchString : '';
|
|
103
|
+
draft.transactionCategorizationView[selectedTab].error = undefined;
|
|
98
104
|
// Reset list when we change the sort order and fetch list again
|
|
99
105
|
if (resetListItems === true) {
|
|
100
106
|
const monthYearPeriod = {
|
|
101
107
|
month: period.start.month,
|
|
102
108
|
year: period.start.year,
|
|
103
109
|
};
|
|
104
|
-
const transactionIdsBySelectedPeriod = draft[selectedTab]
|
|
110
|
+
const transactionIdsBySelectedPeriod = draft.transactionCategorizationView[selectedTab]
|
|
111
|
+
.transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(monthYearPeriod)];
|
|
105
112
|
transactionIdsBySelectedPeriod.forEach((transactionId) => {
|
|
106
|
-
delete draft[selectedTab]
|
|
113
|
+
delete draft.transactionCategorizationView[selectedTab]
|
|
114
|
+
.transactionReviewLocalDataById[transactionId];
|
|
107
115
|
});
|
|
108
|
-
draft[selectedTab].selectedCheckBoxTransactionIds = draft[selectedTab].selectedCheckBoxTransactionIds.filter((selectedCheckBoxTransactionId) => transactionIdsBySelectedPeriod.includes(selectedCheckBoxTransactionId));
|
|
109
|
-
draft[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(monthYearPeriod)] = [];
|
|
110
|
-
draft[selectedTab].refreshStatus = {
|
|
116
|
+
draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds = draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds.filter((selectedCheckBoxTransactionId) => transactionIdsBySelectedPeriod.includes(selectedCheckBoxTransactionId));
|
|
117
|
+
draft.transactionCategorizationView[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(monthYearPeriod)] = [];
|
|
118
|
+
draft.transactionCategorizationView[selectedTab].refreshStatus = {
|
|
111
119
|
fetchState: 'Not-Started',
|
|
112
120
|
error: undefined,
|
|
113
121
|
};
|
|
@@ -150,53 +158,62 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
150
158
|
saveTransactionCategorizationLocalData(draft, action) {
|
|
151
159
|
const { keepExistingListItems, transactionIds, transactionLocalData, selectedPeriod, selectedTab, pageToken, totalCount, } = action.payload;
|
|
152
160
|
if (keepExistingListItems === false) {
|
|
153
|
-
draft[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] =
|
|
154
|
-
|
|
161
|
+
draft.transactionCategorizationView[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] =
|
|
162
|
+
transactionIds;
|
|
163
|
+
draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds = [];
|
|
155
164
|
}
|
|
156
165
|
else {
|
|
157
|
-
const previousData = draft[selectedTab]
|
|
166
|
+
const previousData = draft.transactionCategorizationView[selectedTab]
|
|
167
|
+
.transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)];
|
|
158
168
|
if (previousData == null) {
|
|
159
|
-
draft[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = transactionIds;
|
|
169
|
+
draft.transactionCategorizationView[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = transactionIds;
|
|
160
170
|
}
|
|
161
171
|
else {
|
|
162
172
|
const combinedData = (0, uniq_1.default)([...previousData, ...transactionIds]);
|
|
163
|
-
draft[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = [...combinedData];
|
|
173
|
+
draft.transactionCategorizationView[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = [...combinedData];
|
|
164
174
|
}
|
|
165
175
|
}
|
|
166
|
-
draft[selectedTab].transactionReviewLocalDataById = Object.assign(Object.assign({}, draft[selectedTab]
|
|
176
|
+
draft.transactionCategorizationView[selectedTab].transactionReviewLocalDataById = Object.assign(Object.assign({}, draft.transactionCategorizationView[selectedTab]
|
|
177
|
+
.transactionReviewLocalDataById), transactionLocalData);
|
|
167
178
|
if (action.payload.refreshViewInBackground === true) {
|
|
168
|
-
draft[selectedTab].refreshStatus = {
|
|
179
|
+
draft.transactionCategorizationView[selectedTab].refreshStatus = {
|
|
169
180
|
fetchState: 'Completed',
|
|
170
181
|
error: undefined,
|
|
171
182
|
};
|
|
172
183
|
}
|
|
173
184
|
else {
|
|
174
|
-
draft[selectedTab].fetchState =
|
|
175
|
-
|
|
185
|
+
draft.transactionCategorizationView[selectedTab].fetchState =
|
|
186
|
+
'Completed';
|
|
187
|
+
draft.transactionCategorizationView[selectedTab].error = undefined;
|
|
176
188
|
}
|
|
177
|
-
draft[selectedTab].uiState = Object.assign(Object.assign({}, draft[selectedTab].uiState), { pageToken: pageToken !== null && pageToken !== void 0 ? pageToken : null });
|
|
178
|
-
draft[selectedTab].uiState.totalCount[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = totalCount;
|
|
189
|
+
draft.transactionCategorizationView[selectedTab].uiState = Object.assign(Object.assign({}, draft.transactionCategorizationView[selectedTab].uiState), { pageToken: pageToken !== null && pageToken !== void 0 ? pageToken : null });
|
|
190
|
+
draft.transactionCategorizationView[selectedTab].uiState.totalCount[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = totalCount;
|
|
179
191
|
},
|
|
180
192
|
updateTransactionCategorizationUIState(draft, action) {
|
|
181
193
|
const selectedTab = action.payload.selectedTab;
|
|
182
194
|
const uiState = action.payload.uiState;
|
|
183
195
|
if (uiState.sortKey != null) {
|
|
184
|
-
draft[selectedTab].uiState.sortKey =
|
|
196
|
+
draft.transactionCategorizationView[selectedTab].uiState.sortKey =
|
|
197
|
+
uiState.sortKey;
|
|
185
198
|
}
|
|
186
199
|
if (uiState.sortOrder != null) {
|
|
187
|
-
draft[selectedTab].uiState.sortOrder =
|
|
200
|
+
draft.transactionCategorizationView[selectedTab].uiState.sortOrder =
|
|
201
|
+
uiState.sortOrder;
|
|
188
202
|
}
|
|
189
203
|
if (uiState.searchString != null) {
|
|
190
|
-
draft[selectedTab].uiState.searchString =
|
|
204
|
+
draft.transactionCategorizationView[selectedTab].uiState.searchString =
|
|
205
|
+
uiState.searchString;
|
|
191
206
|
}
|
|
192
207
|
if (uiState.scrollPosition != null) {
|
|
193
|
-
draft[selectedTab].uiState.scrollPosition = uiState.scrollPosition;
|
|
208
|
+
draft.transactionCategorizationView[selectedTab].uiState.scrollPosition = uiState.scrollPosition;
|
|
194
209
|
}
|
|
195
210
|
if (uiState.pageToken != null) {
|
|
196
|
-
draft[selectedTab].uiState.pageToken =
|
|
211
|
+
draft.transactionCategorizationView[selectedTab].uiState.pageToken =
|
|
212
|
+
uiState.pageToken;
|
|
197
213
|
}
|
|
198
214
|
if (uiState.totalCount != null) {
|
|
199
|
-
draft[selectedTab].uiState.totalCount =
|
|
215
|
+
draft.transactionCategorizationView[selectedTab].uiState.totalCount =
|
|
216
|
+
uiState.totalCount;
|
|
200
217
|
}
|
|
201
218
|
},
|
|
202
219
|
saveTransactionCategorization: {
|
|
@@ -212,10 +229,19 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
212
229
|
// do nothing
|
|
213
230
|
},
|
|
214
231
|
},
|
|
232
|
+
updateCurrentSelectedTransactionCategorizationTab: {
|
|
233
|
+
reducer(draft, action) {
|
|
234
|
+
draft.selectedTransactionCategorizationTab =
|
|
235
|
+
action.payload.newSelectedTab;
|
|
236
|
+
},
|
|
237
|
+
prepare(newSelectedTab) {
|
|
238
|
+
return { payload: { newSelectedTab } };
|
|
239
|
+
},
|
|
240
|
+
},
|
|
215
241
|
updateTransactionCategorization: {
|
|
216
242
|
reducer(draft, action) {
|
|
217
243
|
const selectedTab = action.payload.selectedTab;
|
|
218
|
-
draft[selectedTab].saveStatus = {
|
|
244
|
+
draft.transactionCategorizationView[selectedTab].saveStatus = {
|
|
219
245
|
error: undefined,
|
|
220
246
|
fetchState: 'In-Progress',
|
|
221
247
|
};
|
|
@@ -233,33 +259,37 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
233
259
|
setAllItemsToCategoryClassInLocalDataForCategorization: {
|
|
234
260
|
reducer(draft, action) {
|
|
235
261
|
const { vendorId, selectedAccount, selectedClassBase, transactions, transactionId, lineId, selectedTab, } = action.payload;
|
|
236
|
-
const transactionLocalData = (0, get_1.default)(draft[selectedTab]
|
|
262
|
+
const transactionLocalData = (0, get_1.default)(draft.transactionCategorizationView[selectedTab]
|
|
263
|
+
.transactionReviewLocalDataById, transactionId, undefined);
|
|
237
264
|
const existingAccount = transactionLocalData === null || transactionLocalData === void 0 ? void 0 : transactionLocalData.transactionReviewLocalData.lineItemById[lineId].account;
|
|
238
265
|
if (transactionLocalData != null) {
|
|
239
266
|
const newTransactionLocalData = Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData), { lineItemById: Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData.lineItemById), { [lineId]: Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData.lineItemById[lineId]), { account: selectedAccount, class: selectedClassBase }) }) });
|
|
240
|
-
draft[selectedTab].transactionReviewLocalDataById[transactionId] = {
|
|
267
|
+
draft.transactionCategorizationView[selectedTab].transactionReviewLocalDataById[transactionId] = {
|
|
241
268
|
transactionReviewLocalData: newTransactionLocalData,
|
|
242
269
|
transactionId,
|
|
243
270
|
};
|
|
244
271
|
const selectedTransaction = transactions.find((transaction) => transaction.id === transactionId);
|
|
245
|
-
const selectedCheckBoxTransactionIds = draft[selectedTab]
|
|
272
|
+
const selectedCheckBoxTransactionIds = draft.transactionCategorizationView[selectedTab]
|
|
273
|
+
.selectedCheckBoxTransactionIds;
|
|
246
274
|
if (selectedTransaction != null &&
|
|
247
275
|
(0, transactionCategorizationLocalDataHelper_1.checkIfAllLineItemsAreCategoryClassFilled)(selectedTransaction, newTransactionLocalData) === true && // check if all line items are filled
|
|
248
276
|
selectedCheckBoxTransactionIds.length < transactionCategorizationLocalDataHelper_1.MAX_SELECTION_LIMIT &&
|
|
249
277
|
selectedCheckBoxTransactionIds.includes(transactionId) === false) {
|
|
250
|
-
draft[selectedTab].selectedCheckBoxTransactionIds = [
|
|
251
|
-
...draft[selectedTab]
|
|
278
|
+
draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds = [
|
|
279
|
+
...draft.transactionCategorizationView[selectedTab]
|
|
280
|
+
.selectedCheckBoxTransactionIds,
|
|
252
281
|
transactionId,
|
|
253
282
|
];
|
|
254
283
|
}
|
|
255
284
|
}
|
|
256
285
|
if (vendorId != null) {
|
|
257
286
|
transactions.forEach((transaction) => {
|
|
258
|
-
const transactionLocalData = (0, get_1.default)(draft[selectedTab]
|
|
287
|
+
const transactionLocalData = (0, get_1.default)(draft.transactionCategorizationView[selectedTab]
|
|
288
|
+
.transactionReviewLocalDataById, transaction.id, undefined);
|
|
259
289
|
if (transactionLocalData != null) {
|
|
260
|
-
draft[selectedTab].transactionReviewLocalDataById[transaction.id] = {
|
|
290
|
+
draft.transactionCategorizationView[selectedTab].transactionReviewLocalDataById[transaction.id] = {
|
|
261
291
|
transactionId: transaction.id,
|
|
262
|
-
transactionReviewLocalData: (0, transactionCategorizationLocalDataHelper_1.toSetAllLineItemsToCategoryClass)(draft[selectedTab], transaction, transactionId, lineId, transactionLocalData.transactionReviewLocalData, (existingAccount === null || existingAccount === void 0 ? void 0 : existingAccount.accountId) !== (selectedAccount === null || selectedAccount === void 0 ? void 0 : selectedAccount.accountId)
|
|
292
|
+
transactionReviewLocalData: (0, transactionCategorizationLocalDataHelper_1.toSetAllLineItemsToCategoryClass)(draft.transactionCategorizationView[selectedTab], transaction, transactionId, lineId, transactionLocalData.transactionReviewLocalData, (existingAccount === null || existingAccount === void 0 ? void 0 : existingAccount.accountId) !== (selectedAccount === null || selectedAccount === void 0 ? void 0 : selectedAccount.accountId)
|
|
263
293
|
? 'category'
|
|
264
294
|
: 'class', vendorId, selectedAccount, selectedClassBase),
|
|
265
295
|
};
|
|
@@ -299,11 +329,12 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
299
329
|
},
|
|
300
330
|
reducer(draft, action) {
|
|
301
331
|
const { entity, transaction, transactionId, selectedTab, lineIds } = action.payload;
|
|
302
|
-
const transactionLocalData = (0, get_1.default)(draft[selectedTab]
|
|
332
|
+
const transactionLocalData = (0, get_1.default)(draft.transactionCategorizationView[selectedTab]
|
|
333
|
+
.transactionReviewLocalDataById, transactionId.id, undefined);
|
|
303
334
|
if (transactionLocalData != null) {
|
|
304
|
-
draft[selectedTab].transactionReviewLocalDataById[transaction.id] = {
|
|
335
|
+
draft.transactionCategorizationView[selectedTab].transactionReviewLocalDataById[transaction.id] = {
|
|
305
336
|
transactionId: transaction.id,
|
|
306
|
-
transactionReviewLocalData: (0, transactionCategorizationLocalDataHelper_1.setEntityRecommendationForLineIdInLocalData)(draft[selectedTab], transaction, transactionLocalData.transactionReviewLocalData, entity, lineIds, action.payload.recommendationByLineId),
|
|
337
|
+
transactionReviewLocalData: (0, transactionCategorizationLocalDataHelper_1.setEntityRecommendationForLineIdInLocalData)(draft.transactionCategorizationView[selectedTab], transaction, transactionLocalData.transactionReviewLocalData, entity, lineIds, action.payload.recommendationByLineId),
|
|
307
338
|
};
|
|
308
339
|
}
|
|
309
340
|
},
|
|
@@ -311,25 +342,29 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
311
342
|
fetchTransactionCategorizationSuccess(draft, action) {
|
|
312
343
|
const { selectedTab } = action.payload;
|
|
313
344
|
if (action.payload.refreshViewInBackground === true) {
|
|
314
|
-
draft[selectedTab].refreshStatus = {
|
|
345
|
+
draft.transactionCategorizationView[selectedTab].refreshStatus = {
|
|
315
346
|
fetchState: 'Completed',
|
|
316
347
|
error: undefined,
|
|
317
348
|
};
|
|
318
349
|
}
|
|
319
350
|
else {
|
|
320
|
-
draft[selectedTab].fetchState =
|
|
321
|
-
|
|
351
|
+
draft.transactionCategorizationView[selectedTab].fetchState =
|
|
352
|
+
'Completed';
|
|
353
|
+
draft.transactionCategorizationView[selectedTab].error = undefined;
|
|
322
354
|
}
|
|
323
355
|
},
|
|
324
356
|
fetchTransactionCategorizationFailure(draft, action) {
|
|
325
357
|
const { selectedTab, selectedPeriod } = action.payload;
|
|
326
|
-
draft[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] =
|
|
327
|
-
|
|
328
|
-
draft[selectedTab].
|
|
358
|
+
draft.transactionCategorizationView[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] =
|
|
359
|
+
[];
|
|
360
|
+
draft.transactionCategorizationView[selectedTab].fetchState = 'Error';
|
|
361
|
+
draft.transactionCategorizationView[selectedTab].error =
|
|
362
|
+
action.payload.status;
|
|
329
363
|
},
|
|
330
364
|
updateSelectedVendorForTransaction(draft, action) {
|
|
331
365
|
const { transactionId, lineId, updatedVendor, selectedTransaction, selectedTab, } = action.payload;
|
|
332
|
-
const transactionLocalData = (0, get_1.default)(draft[selectedTab]
|
|
366
|
+
const transactionLocalData = (0, get_1.default)(draft.transactionCategorizationView[selectedTab]
|
|
367
|
+
.transactionReviewLocalDataById, transactionId, undefined);
|
|
333
368
|
if (transactionLocalData != null) {
|
|
334
369
|
let newTransactionLocalData = Object.assign({}, transactionLocalData.transactionReviewLocalData);
|
|
335
370
|
if (!(0, vendorTransaction_1.isVendorTransaction)(selectedTransaction) &&
|
|
@@ -354,17 +389,18 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
354
389
|
}
|
|
355
390
|
: undefined;
|
|
356
391
|
}
|
|
357
|
-
draft[selectedTab].transactionReviewLocalDataById[transactionId] = {
|
|
392
|
+
draft.transactionCategorizationView[selectedTab].transactionReviewLocalDataById[transactionId] = {
|
|
358
393
|
transactionReviewLocalData: newTransactionLocalData,
|
|
359
394
|
transactionId,
|
|
360
395
|
};
|
|
361
|
-
const selectedCheckBoxTransactionIds = draft[selectedTab]
|
|
396
|
+
const selectedCheckBoxTransactionIds = draft.transactionCategorizationView[selectedTab]
|
|
397
|
+
.selectedCheckBoxTransactionIds;
|
|
362
398
|
if (newTransactionLocalData.vendor != null &&
|
|
363
399
|
newTransactionLocalData.vendor.id != null &&
|
|
364
400
|
(0, transactionCategorizationLocalDataHelper_1.checkIfAllLineItemsAreCategoryClassFilled)(selectedTransaction, newTransactionLocalData) === true && // check if all line items are filled
|
|
365
401
|
selectedCheckBoxTransactionIds.length < transactionCategorizationLocalDataHelper_1.MAX_SELECTION_LIMIT &&
|
|
366
402
|
selectedCheckBoxTransactionIds.includes(transactionId) === false) {
|
|
367
|
-
draft[selectedTab].selectedCheckBoxTransactionIds = [
|
|
403
|
+
draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds = [
|
|
368
404
|
...selectedCheckBoxTransactionIds,
|
|
369
405
|
transactionId,
|
|
370
406
|
];
|
|
@@ -374,7 +410,7 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
374
410
|
updateTransactionCategorizationSaveStatus: {
|
|
375
411
|
reducer(draft, action) {
|
|
376
412
|
const selectedTab = action.payload.selectedTab;
|
|
377
|
-
draft[selectedTab].saveStatus = {
|
|
413
|
+
draft.transactionCategorizationView[selectedTab].saveStatus = {
|
|
378
414
|
fetchState: action.payload.fetchState,
|
|
379
415
|
error: action.payload.error,
|
|
380
416
|
};
|
|
@@ -392,7 +428,7 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
392
428
|
markTransactionAsNotMiscategorized: {
|
|
393
429
|
reducer(draft, action) {
|
|
394
430
|
const selectedTab = action.payload.selectedTab;
|
|
395
|
-
draft[selectedTab].markAsNotMiscategorizedStatus = {
|
|
431
|
+
draft.transactionCategorizationView[selectedTab].markAsNotMiscategorizedStatus = {
|
|
396
432
|
fetchState: 'In-Progress',
|
|
397
433
|
error: undefined,
|
|
398
434
|
};
|
|
@@ -410,16 +446,17 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
410
446
|
reducer(draft, action) {
|
|
411
447
|
const { selectedTab, selectedPeriod, transactionIds } = action.payload;
|
|
412
448
|
if (action.payload.fetchState === 'Completed') {
|
|
413
|
-
const selectedCheckBoxTransactionIds = draft[selectedTab].selectedCheckBoxTransactionIds.filter((id) => !transactionIds.includes(id));
|
|
414
|
-
draft[selectedTab].selectedCheckBoxTransactionIds = [
|
|
449
|
+
const selectedCheckBoxTransactionIds = draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds.filter((id) => !transactionIds.includes(id));
|
|
450
|
+
draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds = [
|
|
415
451
|
...selectedCheckBoxTransactionIds,
|
|
416
452
|
];
|
|
417
|
-
const transactionIdsBySelectedPeriod = draft[selectedTab]
|
|
453
|
+
const transactionIdsBySelectedPeriod = draft.transactionCategorizationView[selectedTab]
|
|
454
|
+
.transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)];
|
|
418
455
|
if (transactionIdsBySelectedPeriod != null) {
|
|
419
|
-
draft[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = transactionIdsBySelectedPeriod.filter((id) => !transactionIds.includes(id));
|
|
456
|
+
draft.transactionCategorizationView[selectedTab].transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = transactionIdsBySelectedPeriod.filter((id) => !transactionIds.includes(id));
|
|
420
457
|
}
|
|
421
458
|
}
|
|
422
|
-
draft[selectedTab].markAsNotMiscategorizedStatus = {
|
|
459
|
+
draft.transactionCategorizationView[selectedTab].markAsNotMiscategorizedStatus = {
|
|
423
460
|
fetchState: action.payload.fetchState,
|
|
424
461
|
error: action.payload.error,
|
|
425
462
|
};
|
|
@@ -438,21 +475,21 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
438
475
|
},
|
|
439
476
|
updateTotalCountForTransactionCategorization(draft, action) {
|
|
440
477
|
const { selectedTab, selectedPeriod, totalCount } = action.payload;
|
|
441
|
-
draft[selectedTab].uiState.totalCount[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = totalCount;
|
|
478
|
+
draft.transactionCategorizationView[selectedTab].uiState.totalCount[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = totalCount;
|
|
442
479
|
},
|
|
443
480
|
updateSelectedCheckboxTransactionIds(draft, action) {
|
|
444
481
|
const selectedTab = action.payload.selectedTab;
|
|
445
482
|
const transactionIds = action.payload.transactionIds;
|
|
446
|
-
draft[selectedTab].selectedCheckBoxTransactionIds = [...transactionIds];
|
|
483
|
+
draft.transactionCategorizationView[selectedTab].selectedCheckBoxTransactionIds = [...transactionIds];
|
|
447
484
|
},
|
|
448
485
|
clearExpenseAutomationTransactionsViewPerTabView(draft, action) {
|
|
449
486
|
const selectedTab = action.payload;
|
|
450
|
-
draft[selectedTab] = Object.assign({}, exports.initialTransactionTabViewState);
|
|
487
|
+
draft.transactionCategorizationView[selectedTab] = Object.assign({}, exports.initialTransactionTabViewState);
|
|
451
488
|
},
|
|
452
489
|
clearExpenseAutomationTransactionsView(draft) {
|
|
453
490
|
Object.assign(draft, exports.initialState);
|
|
454
491
|
},
|
|
455
492
|
},
|
|
456
493
|
});
|
|
457
|
-
_a = expenseAutomationTransactionsView.actions, exports.fetchTransactionCategorization = _a.fetchTransactionCategorization, exports.updateTransactionCategorizationUIState = _a.updateTransactionCategorizationUIState, exports.initializeTransactionCategorizationViewLocalData = _a.initializeTransactionCategorizationViewLocalData, exports.saveTransactionCategorizationLocalData = _a.saveTransactionCategorizationLocalData, exports.fetchTransactionCategorizationFailure = _a.fetchTransactionCategorizationFailure, exports.saveTransactionCategorization = _a.saveTransactionCategorization, exports.updateTransactionCategorization = _a.updateTransactionCategorization, exports.updateTransactionCategorizationSaveStatus = _a.updateTransactionCategorizationSaveStatus, exports.markTransactionAsNotMiscategorized = _a.markTransactionAsNotMiscategorized, exports.updateStatusForTransactionNotMiscategorizedUpdate = _a.updateStatusForTransactionNotMiscategorizedUpdate, exports.updateSelectedVendorForTransaction = _a.updateSelectedVendorForTransaction, exports.setAllItemsToCategoryClassInLocalDataForCategorization = _a.setAllItemsToCategoryClassInLocalDataForCategorization, exports.updateTotalCountForTransactionCategorization = _a.updateTotalCountForTransactionCategorization, exports.fetchTransactionCategorizationSuccess = _a.fetchTransactionCategorizationSuccess, exports.fetchTransactionCategorizationView = _a.fetchTransactionCategorizationView, exports.updateSelectedCheckboxTransactionIds = _a.updateSelectedCheckboxTransactionIds, exports.clearExpenseAutomationTransactionsViewPerTabView = _a.clearExpenseAutomationTransactionsViewPerTabView, exports.clearExpenseAutomationTransactionsView = _a.clearExpenseAutomationTransactionsView, exports.setEntityRecommendationForLineIdsForCategorization = _a.setEntityRecommendationForLineIdsForCategorization;
|
|
494
|
+
_a = expenseAutomationTransactionsView.actions, exports.fetchTransactionCategorization = _a.fetchTransactionCategorization, exports.updateTransactionCategorizationUIState = _a.updateTransactionCategorizationUIState, exports.initializeTransactionCategorizationViewLocalData = _a.initializeTransactionCategorizationViewLocalData, exports.saveTransactionCategorizationLocalData = _a.saveTransactionCategorizationLocalData, exports.fetchTransactionCategorizationFailure = _a.fetchTransactionCategorizationFailure, exports.saveTransactionCategorization = _a.saveTransactionCategorization, exports.updateTransactionCategorization = _a.updateTransactionCategorization, exports.updateCurrentSelectedTransactionCategorizationTab = _a.updateCurrentSelectedTransactionCategorizationTab, exports.updateTransactionCategorizationSaveStatus = _a.updateTransactionCategorizationSaveStatus, exports.markTransactionAsNotMiscategorized = _a.markTransactionAsNotMiscategorized, exports.updateStatusForTransactionNotMiscategorizedUpdate = _a.updateStatusForTransactionNotMiscategorizedUpdate, exports.updateSelectedVendorForTransaction = _a.updateSelectedVendorForTransaction, exports.setAllItemsToCategoryClassInLocalDataForCategorization = _a.setAllItemsToCategoryClassInLocalDataForCategorization, exports.updateTotalCountForTransactionCategorization = _a.updateTotalCountForTransactionCategorization, exports.fetchTransactionCategorizationSuccess = _a.fetchTransactionCategorizationSuccess, exports.fetchTransactionCategorizationView = _a.fetchTransactionCategorizationView, exports.updateSelectedCheckboxTransactionIds = _a.updateSelectedCheckboxTransactionIds, exports.clearExpenseAutomationTransactionsViewPerTabView = _a.clearExpenseAutomationTransactionsViewPerTabView, exports.clearExpenseAutomationTransactionsView = _a.clearExpenseAutomationTransactionsView, exports.setEntityRecommendationForLineIdsForCategorization = _a.setEntityRecommendationForLineIdsForCategorization;
|
|
458
495
|
exports.default = expenseAutomationTransactionsView.reducer;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ExpenseAutomationTransactionViewSelector } from '../selectorTypes/transactionsViewSelectorTypes';
|
|
2
2
|
import { RootState } from '../../../reducer';
|
|
3
|
-
|
|
4
|
-
export declare function getExpenseAutomationTransactionView(state: RootState, selectedTab: TransactionsTab): ExpenseAutomationTransactionViewSelector;
|
|
3
|
+
export declare function getExpenseAutomationTransactionView(state: RootState): ExpenseAutomationTransactionViewSelector;
|
|
@@ -12,10 +12,11 @@ const timePeriod_1 = require("../../../commonStateTypes/timePeriod");
|
|
|
12
12
|
const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
|
|
13
13
|
const reduceFetchState_1 = require("../../../commonStateTypes/reduceFetchState");
|
|
14
14
|
const expenseAutomationViewSelectorTypes_1 = require("../selectorTypes/expenseAutomationViewSelectorTypes");
|
|
15
|
-
function getExpenseAutomationTransactionView(state
|
|
15
|
+
function getExpenseAutomationTransactionView(state) {
|
|
16
16
|
var _a;
|
|
17
17
|
const { accountState, classState, classListState, accountListState, expenseAutomationTransactionsViewState, expenseAutomationViewState, transactionState, monthEndCloseChecksState, } = state;
|
|
18
|
-
const {
|
|
18
|
+
const { selectedTransactionCategorizationTab } = expenseAutomationTransactionsViewState;
|
|
19
|
+
const { uiState, refreshStatus, saveStatus, markAsNotMiscategorizedStatus, transactionIdsBySelectedPeriod, transactionReviewLocalDataById, selectedCheckBoxTransactionIds, } = expenseAutomationTransactionsViewState.transactionCategorizationView[selectedTransactionCategorizationTab];
|
|
19
20
|
const uncategorizedIncomeExpense = (0, accountListSelector_1.getUncategorizedAccounts)(accountState, accountListState, 'accountList');
|
|
20
21
|
const accountList = (0, accountListSelector_1.getAccountList)(accountState, accountListState, 'accountList');
|
|
21
22
|
const classList = (0, classListSelector_1.getClassList)(classState, classListState);
|
|
@@ -52,21 +53,29 @@ function getExpenseAutomationTransactionView(state, selectedTab) {
|
|
|
52
53
|
fetchStatus = (0, reduceFetchState_1.reduceAllFetchState)([
|
|
53
54
|
accountList,
|
|
54
55
|
classList,
|
|
55
|
-
expenseAutomationTransactionsViewState[
|
|
56
|
+
expenseAutomationTransactionsViewState.transactionCategorizationView[selectedTransactionCategorizationTab],
|
|
56
57
|
]);
|
|
57
|
-
const totalCountByReview = expenseAutomationTransactionsViewState.review
|
|
58
|
-
|
|
58
|
+
const totalCountByReview = expenseAutomationTransactionsViewState.transactionCategorizationView.review
|
|
59
|
+
.uiState.totalCount;
|
|
60
|
+
const totalCountByAutoCat = expenseAutomationTransactionsViewState.transactionCategorizationView
|
|
61
|
+
.autoCategorized.uiState.totalCount;
|
|
59
62
|
const totalCountByTab = {
|
|
60
63
|
review: monthYearPeriodId != null ? totalCountByReview[monthYearPeriodId] : 0,
|
|
61
64
|
autoCategorized: monthYearPeriodId != null ? totalCountByAutoCat[monthYearPeriodId] : 0,
|
|
62
65
|
};
|
|
63
66
|
const fetchStateByTab = {
|
|
64
|
-
review:
|
|
65
|
-
expenseAutomationTransactionsViewState.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
review: {
|
|
68
|
+
fetchState: expenseAutomationTransactionsViewState.transactionCategorizationView
|
|
69
|
+
.review.fetchState,
|
|
70
|
+
error: expenseAutomationTransactionsViewState.transactionCategorizationView
|
|
71
|
+
.review.error,
|
|
72
|
+
},
|
|
73
|
+
autoCategorized: {
|
|
74
|
+
fetchState: expenseAutomationTransactionsViewState.transactionCategorizationView
|
|
75
|
+
.autoCategorized.fetchState,
|
|
76
|
+
error: expenseAutomationTransactionsViewState.transactionCategorizationView
|
|
77
|
+
.autoCategorized.error,
|
|
78
|
+
},
|
|
70
79
|
};
|
|
71
80
|
const allSteps = monthYearPeriodId != null
|
|
72
81
|
? (0, expenseAutomationViewSelectorTypes_1.getAllSteps)(monthEndCloseChecksState, monthYearPeriodId, currentTenant.tenantId)
|
|
@@ -85,7 +85,10 @@ export interface TransactionsTabViewState extends FetchedState {
|
|
|
85
85
|
refreshStatus: FetchStateAndError;
|
|
86
86
|
uiState: TransactionsViewUIState;
|
|
87
87
|
}
|
|
88
|
-
export declare type TransactionsViewState =
|
|
88
|
+
export declare type TransactionsViewState = {
|
|
89
|
+
selectedTransactionCategorizationTab: TransactionsTab;
|
|
90
|
+
transactionCategorizationView: Record<TransactionsTab, TransactionsTabViewState>;
|
|
91
|
+
};
|
|
89
92
|
export interface TransactionLineUpdates {
|
|
90
93
|
class?: ClassBase;
|
|
91
94
|
account?: AccountBase;
|
|
@@ -26,7 +26,7 @@ export declare const changeZeniPersonRolesEpic: (actions$: ActionsObservable<Act
|
|
|
26
26
|
type: string;
|
|
27
27
|
} | {
|
|
28
28
|
payload: {
|
|
29
|
-
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
29
|
+
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
30
30
|
messageText: "failed" | "success" | "notification";
|
|
31
31
|
type: import("../..").SnackbarMessageType;
|
|
32
32
|
showStatusIcon?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const deletePersonEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
18
18
|
type: string;
|
|
19
19
|
} | {
|
|
20
20
|
payload: {
|
|
21
|
-
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
21
|
+
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
22
22
|
messageText: "failed" | "success" | "notification";
|
|
23
23
|
type: import("../..").SnackbarMessageType;
|
|
24
24
|
showStatusIcon?: boolean | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
35
35
|
type: string;
|
|
36
36
|
} | {
|
|
37
37
|
payload: {
|
|
38
|
-
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
38
|
+
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
39
39
|
messageText: "failed" | "success" | "notification";
|
|
40
40
|
type: import("../..").SnackbarMessageType;
|
|
41
41
|
showStatusIcon?: boolean | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const inviteZeniPeopleEpic: (actions$: ActionsObservable<ActionTy
|
|
|
32
32
|
type: string;
|
|
33
33
|
} | {
|
|
34
34
|
payload: {
|
|
35
|
-
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
35
|
+
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
36
36
|
messageText: "failed" | "success" | "notification";
|
|
37
37
|
type: import("../..").SnackbarMessageType;
|
|
38
38
|
showStatusIcon?: boolean | undefined;
|