@zeniai/client-epic-state 5.3.3-betaGS2 → 5.3.3-betaGS4
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/jeSchedules/jeSchedulesPayload.d.ts +1 -0
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -0
- package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +2 -0
- package/lib/entity/jeSchedules/jeSchedulesSelector.js +5 -1
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +2 -0
- package/lib/epic.js +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesSelector.js +3 -0
- package/lib/esm/epic.js +2 -1
- package/lib/esm/index.js +5 -5
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic.js +55 -10
- package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +16 -1
- package/lib/esm/view/settings/jeScheduleApprovalRules/epic/saveJEScheduleApprovalDraftEpic.js +16 -3
- package/lib/esm/view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewPayload.js +6 -1
- package/lib/esm/view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer.js +12 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.js +50 -47
- package/lib/view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic.d.ts +3 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic.js +55 -9
- package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +2 -0
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +4 -1
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +18 -3
- package/lib/view/settings/jeScheduleApprovalRules/epic/saveJEScheduleApprovalDraftEpic.d.ts +7 -3
- package/lib/view/settings/jeScheduleApprovalRules/epic/saveJEScheduleApprovalDraftEpic.js +15 -2
- package/lib/view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewPayload.d.ts +2 -0
- package/lib/view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewPayload.js +6 -1
- package/lib/view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer.d.ts +5 -1
- package/lib/view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer.js +13 -2
- package/package.json +1 -1
|
@@ -168,6 +168,7 @@ export interface JEOneTimeAccrualPayload {
|
|
|
168
168
|
actual_post_date?: string | null;
|
|
169
169
|
actual_reversal_post_date?: string | null;
|
|
170
170
|
ai_suggestion?: JEOneTimeAccrualAiSuggestionPayload | null;
|
|
171
|
+
approval_info?: JEScheduleApprovalInfoPayload | null;
|
|
171
172
|
automation_tier?: string | null;
|
|
172
173
|
cleared?: JEOneTimeAccrualClearedPayload | null;
|
|
173
174
|
created_by_user?: UserPayload | null;
|
|
@@ -517,6 +517,7 @@ function toJEOneTimeAccrual(payload) {
|
|
|
517
517
|
automationTier: payload.automation_tier != null
|
|
518
518
|
? (0, jeSchedulesTypes_1.toOneTimeAccrualAutomationTierType)(payload.automation_tier)
|
|
519
519
|
: undefined,
|
|
520
|
+
approvalInfo: (0, jeScheduleApprovalRulePayload_1.toJEScheduleApprovalInfo)(payload.approval_info),
|
|
520
521
|
estimatedAmount: toOneTimeAccrualAmount(payload.estimated_amount, payload.currency),
|
|
521
522
|
memo: payload.memo ?? '',
|
|
522
523
|
profileSnapshot: toJEOneTimeAccrualProfileSnapshot(payload.profile_snapshot, payload.currency),
|
|
@@ -90,3 +90,5 @@ export declare const getJEScheduledTransactionByJEScheduleTransactionKey: (jeSch
|
|
|
90
90
|
* scans both maps. ponytail: O(n) scan; index by schedule id if lists grow.
|
|
91
91
|
*/
|
|
92
92
|
export declare const getScheduleApprovalInfo: (jeSchedulesState: JESchedulesState, jeScheduleId: ID) => JEScheduleApprovalInfo | undefined;
|
|
93
|
+
/** One-time accruals are keyed by accrual id, so this is a direct lookup, unlike the schedule scan. */
|
|
94
|
+
export declare const getOneTimeAccrualApprovalInfo: (jeSchedulesState: JESchedulesState, accrualId: ID) => JEScheduleApprovalInfo | undefined;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getScheduleApprovalInfo = exports.getJEScheduledTransactionByJEScheduleTransactionKey = exports.getJEAccruedScheduleByJEScheduleKey = exports.getJEOneTimeAccrualByKey = void 0;
|
|
6
|
+
exports.getOneTimeAccrualApprovalInfo = exports.getScheduleApprovalInfo = exports.getJEScheduledTransactionByJEScheduleTransactionKey = exports.getJEAccruedScheduleByJEScheduleKey = exports.getJEOneTimeAccrualByKey = void 0;
|
|
7
7
|
const get_1 = __importDefault(require("lodash/get"));
|
|
8
8
|
const amount_1 = require("../../commonStateTypes/amount");
|
|
9
9
|
const accountSelector_1 = require("../account/accountSelector");
|
|
@@ -11,6 +11,7 @@ const classSelector_1 = require("../class/classSelector");
|
|
|
11
11
|
const transactionSelector_1 = require("../transaction/transactionSelector");
|
|
12
12
|
const userSelector_1 = require("../user/userSelector");
|
|
13
13
|
const vendorSelector_1 = require("../vendor/vendorSelector");
|
|
14
|
+
const jeScheduleHelper_1 = require("./jeScheduleHelper");
|
|
14
15
|
// Takes the slice, not RootState: an accrual denormalizes its vendor, account and class names, so
|
|
15
16
|
// unlike getJEAccruedScheduleByJEScheduleKey this joins nothing.
|
|
16
17
|
//
|
|
@@ -189,3 +190,6 @@ const getScheduleApprovalInfo = (jeSchedulesState, jeScheduleId) => {
|
|
|
189
190
|
?.approvalInfo;
|
|
190
191
|
};
|
|
191
192
|
exports.getScheduleApprovalInfo = getScheduleApprovalInfo;
|
|
193
|
+
/** One-time accruals are keyed by accrual id, so this is a direct lookup, unlike the schedule scan. */
|
|
194
|
+
const getOneTimeAccrualApprovalInfo = (jeSchedulesState, accrualId) => (0, get_1.default)(jeSchedulesState.oneTimeAccrualsByKey, (0, jeScheduleHelper_1.generateJEOneTimeAccrualKey)(accrualId), undefined)?.approvalInfo;
|
|
195
|
+
exports.getOneTimeAccrualApprovalInfo = getOneTimeAccrualApprovalInfo;
|
|
@@ -254,6 +254,8 @@ export interface JEOneTimeAccrualState {
|
|
|
254
254
|
actualPostDate?: ZeniDate;
|
|
255
255
|
actualReversalPostDate?: ZeniDate;
|
|
256
256
|
aiSuggestion?: JEOneTimeAccrualAiSuggestion;
|
|
257
|
+
/** Set only on a draft an approval rule holds; see JEScheduledTransactionState.approvalInfo. */
|
|
258
|
+
approvalInfo?: JEScheduleApprovalInfo;
|
|
257
259
|
automationTier?: OneTimeAccrualAutomationTierType;
|
|
258
260
|
cleared?: JEOneTimeAccrualCleared;
|
|
259
261
|
createdBy?: JEOneTimeAccrualCreator;
|
package/lib/epic.js
CHANGED
|
@@ -1425,6 +1425,7 @@ const ALL_EPICS = [
|
|
|
1425
1425
|
saveInvoicingPaymentMethodEpic_1.saveInvoicingPaymentMethodEpic,
|
|
1426
1426
|
saveInvoicingSettingsEpic_1.saveInvoicingSettingsEpic,
|
|
1427
1427
|
saveInvoicingSubscriptionEpic_1.saveInvoicingSubscriptionEpic,
|
|
1428
|
+
oneTimeAccrualActionsEpic_1.saveJEOneTimeAccrualDraftEpic,
|
|
1428
1429
|
saveJEScheduleApprovalDraftEpic_1.saveJEScheduleApprovalDraftEpic,
|
|
1429
1430
|
saveJEScheduleApprovalRuleEpic_1.saveJEScheduleApprovalRuleEpic,
|
|
1430
1431
|
saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic,
|
|
@@ -506,6 +506,7 @@ export function toJEOneTimeAccrual(payload) {
|
|
|
506
506
|
automationTier: payload.automation_tier != null
|
|
507
507
|
? toOneTimeAccrualAutomationTierType(payload.automation_tier)
|
|
508
508
|
: undefined,
|
|
509
|
+
approvalInfo: toJEScheduleApprovalInfo(payload.approval_info),
|
|
509
510
|
estimatedAmount: toOneTimeAccrualAmount(payload.estimated_amount, payload.currency),
|
|
510
511
|
memo: payload.memo ?? '',
|
|
511
512
|
profileSnapshot: toJEOneTimeAccrualProfileSnapshot(payload.profile_snapshot, payload.currency),
|
|
@@ -5,6 +5,7 @@ import { getClassById } from '../class/classSelector';
|
|
|
5
5
|
import { getScheduleTransactionById } from '../transaction/transactionSelector';
|
|
6
6
|
import { getUserByUserId } from '../user/userSelector';
|
|
7
7
|
import { getVendorByVendorId } from '../vendor/vendorSelector';
|
|
8
|
+
import { generateJEOneTimeAccrualKey } from './jeScheduleHelper';
|
|
8
9
|
// Takes the slice, not RootState: an accrual denormalizes its vendor, account and class names, so
|
|
9
10
|
// unlike getJEAccruedScheduleByJEScheduleKey this joins nothing.
|
|
10
11
|
//
|
|
@@ -179,3 +180,5 @@ export const getScheduleApprovalInfo = (jeSchedulesState, jeScheduleId) => {
|
|
|
179
180
|
return schedules.find((schedule) => schedule.jeScheduleId === jeScheduleId)
|
|
180
181
|
?.approvalInfo;
|
|
181
182
|
};
|
|
183
|
+
/** One-time accruals are keyed by accrual id, so this is a direct lookup, unlike the schedule scan. */
|
|
184
|
+
export const getOneTimeAccrualApprovalInfo = (jeSchedulesState, accrualId) => recordGet(jeSchedulesState.oneTimeAccrualsByKey, generateJEOneTimeAccrualKey(accrualId), undefined)?.approvalInfo;
|
package/lib/esm/epic.js
CHANGED
|
@@ -223,7 +223,7 @@ import { createOneTimeAccrualEpic, } from './view/expenseAutomationView/epics/je
|
|
|
223
223
|
import { initializeNewScheduleEpic, } from './view/expenseAutomationView/epics/jeSchedule/newSchedule/initializeNewScheduleEpic';
|
|
224
224
|
import { saveNewScheduleEpic, } from './view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic';
|
|
225
225
|
import { searchTransactionsForNewScheduleEpic, } from './view/expenseAutomationView/epics/jeSchedule/newSchedule/searchTransactionsForNewScheduleEpic';
|
|
226
|
-
import { oneTimeAccrualActionsEpic, } from './view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic';
|
|
226
|
+
import { oneTimeAccrualActionsEpic, saveJEOneTimeAccrualDraftEpic, } from './view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic';
|
|
227
227
|
import { prefetchOtherJeSchedulesTabEpic, } from './view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic';
|
|
228
228
|
import { retryJeScheduleEpic as retryExpenseAutomationJEScheduleEpic, } from './view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic';
|
|
229
229
|
import { revertJeScheduleEpic, } from './view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic';
|
|
@@ -1422,6 +1422,7 @@ const ALL_EPICS = [
|
|
|
1422
1422
|
saveInvoicingPaymentMethodEpic,
|
|
1423
1423
|
saveInvoicingSettingsEpic,
|
|
1424
1424
|
saveInvoicingSubscriptionEpic,
|
|
1425
|
+
saveJEOneTimeAccrualDraftEpic,
|
|
1425
1426
|
saveJEScheduleApprovalDraftEpic,
|
|
1426
1427
|
saveJEScheduleApprovalRuleEpic,
|
|
1427
1428
|
saveMagicLinkBankAccountEpic,
|
package/lib/esm/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import { updateEntities } from './entity/genericEntity/entityReducer';
|
|
|
62
62
|
import { getEntityByEntityIDs } from './entity/genericEntity/entitySelector';
|
|
63
63
|
import { toJEScheduleApprovalAPIStatus, toJEScheduleApprovalInfo, toJEScheduleApprovalRulePayload, toJEScheduleApprovalRuleState, toJEScheduleApprover, toJEScheduleApproverRole, } from './entity/jeScheduleApprovalRule/jeScheduleApprovalRulePayload';
|
|
64
64
|
import { JE_APPROVAL_OWNERS, JE_APPROVAL_ROLE_SUB_TYPES, JE_APPROVAL_STEP_ACTIONS, JE_LEVEL_CONTROLLER, JE_LEVEL_LABELS, JE_LEVEL_PREPARER, JE_LEVEL_REVIEWER, JE_SCHEDULE_TYPES, JE_SCHEDULE_TYPE_LABELS, toJEApprovalOwner, toJEApprovalRoleSubType, toJEApprovalStepAction, toJEScheduleType, toJEScheduleTypeStrict, } from './entity/jeScheduleApprovalRule/jeScheduleApprovalRuleTypes';
|
|
65
|
-
import { getScheduleApprovalInfo, } from './entity/jeSchedules/jeSchedulesSelector';
|
|
65
|
+
import { getOneTimeAccrualApprovalInfo, getScheduleApprovalInfo, } from './entity/jeSchedules/jeSchedulesSelector';
|
|
66
66
|
import { 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, getJEScheduleTransactionKey, toScheduleTypesType, toScheduleTypesTypeStrict, } from './entity/jeSchedules/jeSchedulesTypes';
|
|
67
67
|
import { ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY, } from './entity/monthEndCloseChecks/monthEndCloseChecksState';
|
|
68
68
|
import { updateCommentsNotifications, updateCommentsNotificationsStatuses, } from './entity/notification/notificationReducer';
|
|
@@ -193,7 +193,7 @@ import { isReviewTransactionBankTransferType, isReviewTransactionBillPaymentType
|
|
|
193
193
|
import { MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled, getLineItemsByTransactionIdsFromLocalData, isAnyItemWithUncategorizedExpenseAccount, } from './view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper';
|
|
194
194
|
import { ackCloseMatchAfterIgnore, ackCloseMatchAfterUndo, clearActualMatchingView as clearExpenseAutomationActualMatchingView, clearMatchNewModal, closeMatchNewModal, fetchActualMatchingMatch, fetchActualMatching as fetchExpenseAutomationActualMatching, fetchActualMatchingPage as fetchExpenseAutomationActualMatchingPage, ignoreActualMatchingSuggestion, matchAndReverseAccruals, openMatchNewModal, searchMatchAccruals, searchMatchTransactions, undoReversalAccruals, updateActualMatchingUIState as updateExpenseAutomationActualMatchingUIState, } from './view/expenseAutomationView/reducers/actualMatchingViewReducer';
|
|
195
195
|
import { clearExpenseAutomationFluxAnalysisView, fetchFluxAnalysisView, reviewFluxAnalysisView, updateFluxAnalysisViewPageMetaData, updateFluxAnalysisViewUIState, updateOperatingExpensesIdsForReview, updateSelectedSectionIdsForReview, } from './view/expenseAutomationView/reducers/fluxAnalysisViewReducer';
|
|
196
|
-
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';
|
|
196
|
+
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, saveJEOneTimeAccrualDraft, 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';
|
|
197
197
|
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';
|
|
198
198
|
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';
|
|
199
199
|
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';
|
|
@@ -306,7 +306,7 @@ import { fetchAccruedScheduleList, fetchDownloadSchedules, fetchScheduleList, fe
|
|
|
306
306
|
import { getAccruedScheduleListReport, getFetchStateForScheduleAccountList, getFetchStateForScheduleListByType, getScheduleListReport, } from './view/scheduleView/scheduleListView/scheduleListSelector';
|
|
307
307
|
import { toScheduleListTabsFileTypeStrict, toScheduleSubTabType, } from './view/scheduleView/scheduleListView/scheduleListTypes';
|
|
308
308
|
import { toJEScheduleApprovalRulesList, } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewPayload';
|
|
309
|
-
import { clearJEScheduleApprovalRuleSaveStatus, deleteJEScheduleApprovalRule, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, jeScheduleApprovalAction, reorderJEScheduleApprovalRules, saveJEScheduleApprovalDraft, saveJEScheduleApprovalRule, } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer';
|
|
309
|
+
import { approveJEScheduleWithLocalEdits, clearJEScheduleApprovalRuleSaveStatus, deleteJEScheduleApprovalRule, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, jeScheduleApprovalAction, reorderJEScheduleApprovalRules, saveJEScheduleApprovalDraft, saveJEScheduleApprovalRule, } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer';
|
|
310
310
|
import { getApprovalStartsAt, getOtherRules as getJEScheduleOtherRules, getOwnRuleCount as getJEScheduleOwnRuleCount, getOwnRules as getJEScheduleOwnRules, getJEScheduleSetupApproverView, } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewSelector';
|
|
311
311
|
import { isAccountingTabVisible, isApprovalRulesTabVisible, isBankConnectionsTabVisible, isBillingTabVisible, isBusinessVerificationTabVisible, isCompanyDetailsTabVisible, isIntegrationsTabVisible, isMonthEndNotificationsSectionVisibleOnSettingsPage, isMyBankConnectionsTabVisible, isNotificationsTabVisible, isPerformanceTabVisible, isRemindersSectionVisibleOnSettingsPage, isSettingsVisible, } from './view/settingsView/settingsViewHelpers';
|
|
312
312
|
import { clearSettingsView, fetchBankConnectionsView, fetchBillingAccountsView, fetchCompanyBillingAddress, fetchMyProfile, fetchMyProfileView, fetchNotificationSettings, fetchNotificationSettingsView, initializeMyProfileLocalData, refreshQBOData, resetNotificationSettingsLocalData, resetNotificationSettingsUpdateStatus, saveCompanyBillingAddress, saveNotificationSettings, updateMyProfile, updateMyProfileLocalData, updateNotificationSettingsLocalData, updateSettingsViewUIState, } from './view/settingsView/settingsViewReducer';
|
|
@@ -506,7 +506,7 @@ export {
|
|
|
506
506
|
BATCH_FILE_STATUSES, isUnmatchedTabFileStatus, DEFAULT_COMPLETED_SUB_TAB, DEFAULT_TRANSACTION_GROUP, TRANSACTION_GROUPS, toTransactionGroup, toBatchFileStatus, toBatchStatusValue, toBulkUploadPhase, toBulkUploadResultsTab, toBulkUploadSortKey, toCompletedSubTab, toMatchSource, toMissingReceiptsTab, ALL_ACTUAL_MATCHING_IGNORE_REASONS, actualMatchingTransactionLineKey, ALL_JE_PAGE_TABS, 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,
|
|
507
507
|
// Bulk Upload Actions
|
|
508
508
|
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, getExpenseAutomationFluxAnalysisView, updateCurrentSelectedView, updateCurrentSelectedPeriod, getExpenseAutomationTransactionView, getLastTransferEntryReplacement, updateFluxAnalysisViewUIState, updateFluxAnalysisViewPageMetaData, MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled, getLineItemsByTransactionIdsFromLocalData, isAnyItemWithUncategorizedExpenseAccount, excludeAccountFromReconciliation, includeAccountInReconciliation, saveExpenseAutomationReconciliationDetail, updateExpenseAutomationReconcileTabListScrollState, updateExpenseAutomationReconReviewTabListSortState, updateExpenseAutomationReconcileTabListSortState, updateExpenseAutomationReconcileTabLocalData, updateExpenseAutomationAccountReconciliationSelectedTab, updateExpenseAutomationAccountReconciliationSelectedAccountId, getAccountReconciliationRecordsBySelectedPeriod, getExpenseAutomationReconciliationView, getLedgerAccountIdsWithStatementOverrideWarning, getLedgerAccountsForCombinedStatementMapping, getReparseStatementStatusByAccountId, getUnavailableLedgerAccountIds, fetchReconciliationView, uploadAccountStatementIntoDocumentAI, updateExpenseAutomationReconListScrollPosition, setConnectionInProgressForAccountReconciliation, getAccountReconByAccountIdAndSelectedPeriod, toReconciliationTabsType, isAccountReconReport, updateExpenseAutomationReconReviewTabLocalData, updateExpenseAutomationSelectedDrawerAccountId, updateStatementProcessingFailed, saveExpenseAutomationReconciliationReview, updateExpenseAutomationAccountReconciliationLocalData, toReconciliationAccountSource, deleteAccountStatement, deleteCombinedStatement, uploadAccountStatement, parseCombinedStatement, parseStatement, parseStatementSuccess, parseStatementFailure, reparseStatement, reparseStatementSuccess, reparseStatementFailure, resetReparseStatementStatus, updateParsedStatementData, updateNodeCollapseState, updateStatementUploadChosen, submitCombinedStatementUpdate, submitStatementUpdate, clearStatementDateConflict, confirmStatementMapping, updateStatementUpdateLocalData, isReviewTransactionBankTransferType, isReviewTransactionBillPaymentType, isReviewTransactionCreditCardPaymentType, isReviewTransactionDepositType, isReviewTransactionExpenseType, isReviewTransactionCreditCardCreditType, setStatementParseInProgress, setStatementProcessingDismissedToBackground, updateStatementProcessingBackgroundCompletedSteps, };
|
|
509
|
-
export { computeNewScheduleJeDetails, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, fetchOneTimeAccrual, getJeNewAccrualAccountsView, ignoreOneTimeAccrual, promoteOneTimeAccrual, revertJeSchedule, revertOneTimeAccrual, getJeNewScheduleSearchTransactionsView, getJeNewScheduleView, };
|
|
509
|
+
export { computeNewScheduleJeDetails, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, fetchOneTimeAccrual, getJeNewAccrualAccountsView, ignoreOneTimeAccrual, promoteOneTimeAccrual, saveJEOneTimeAccrualDraft, revertJeSchedule, revertOneTimeAccrual, getJeNewScheduleSearchTransactionsView, getJeNewScheduleView, };
|
|
510
510
|
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, toTransactionsSortKey, };
|
|
511
511
|
export { TOP_EX_TIME_PERIODS };
|
|
512
512
|
export { toTimeframeTick, mapTimePeriodtoTimeframeTick, toTimePeriod, toAbsoluteDay, toMonthYearPeriodId, convertToPeriod, };
|
|
@@ -635,7 +635,7 @@ export { VERIFIED_PAYMENT_ACCOUNT_PROVIDER_VERIFICATION_STATUS, };
|
|
|
635
635
|
export { isSuccessResponse, isInvalidSessionError, isAccessDeniedError, };
|
|
636
636
|
export { getAmountCriteria, getApprovalRulesByEntityType, getDepartmentCriteria, getFallbackApprovalRule, getVendorCriteria, toAttributeTypeStrict, toAttributeOrRoleTypeStrict, toRoleTypeStrict, detectRuleOverlap, };
|
|
637
637
|
export { getBillPaySetupApproverView, getBillPaySetupApproverUpdateDataView, fetchBillPaySetupApproverView, fetchBillPayApproversDetails, fetchBillPayApproversList, deleteBillPayApprovalRule, reorderBillPayApprovalRules, saveBillPaySetupApproverViewUpdateData, saveBillPaySetupApproverViewUpdates, setBillsSetupApproverViewListeningToPusherEvent, initializeBillPaySetupApproverViewUpdateData, clearBillPaySetupApproverViewUpdateData, };
|
|
638
|
-
export { toJEScheduleApprovalAPIStatus, toJEScheduleApprovalInfo, toJEScheduleApprovalRulePayload, toJEScheduleApprovalRuleState, toJEScheduleApprover, toJEScheduleApproverRole, JE_APPROVAL_OWNERS, JE_APPROVAL_ROLE_SUB_TYPES, JE_APPROVAL_STEP_ACTIONS, JE_LEVEL_CONTROLLER, JE_LEVEL_LABELS, JE_LEVEL_PREPARER, JE_LEVEL_REVIEWER, JE_SCHEDULE_TYPES, JE_SCHEDULE_TYPE_LABELS, toJEApprovalOwner, toJEApprovalRoleSubType, toJEApprovalStepAction, toJEScheduleType, toJEScheduleTypeStrict, toJEScheduleApprovalRulesList, getJEScheduleSetupApproverView, getJEScheduleOwnRules, getJEScheduleOtherRules, getJEScheduleOwnRuleCount, getApprovalStartsAt, getScheduleApprovalInfo, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, saveJEScheduleApprovalRule, deleteJEScheduleApprovalRule, reorderJEScheduleApprovalRules, jeScheduleApprovalAction, saveJEScheduleApprovalDraft, clearJEScheduleApprovalRuleSaveStatus, };
|
|
638
|
+
export { toJEScheduleApprovalAPIStatus, toJEScheduleApprovalInfo, toJEScheduleApprovalRulePayload, toJEScheduleApprovalRuleState, toJEScheduleApprover, toJEScheduleApproverRole, JE_APPROVAL_OWNERS, JE_APPROVAL_ROLE_SUB_TYPES, JE_APPROVAL_STEP_ACTIONS, JE_LEVEL_CONTROLLER, JE_LEVEL_LABELS, JE_LEVEL_PREPARER, JE_LEVEL_REVIEWER, JE_SCHEDULE_TYPES, JE_SCHEDULE_TYPE_LABELS, toJEApprovalOwner, toJEApprovalRoleSubType, toJEApprovalStepAction, toJEScheduleType, toJEScheduleTypeStrict, toJEScheduleApprovalRulesList, getJEScheduleSetupApproverView, getJEScheduleOwnRules, getJEScheduleOtherRules, getJEScheduleOwnRuleCount, getApprovalStartsAt, getOneTimeAccrualApprovalInfo, getScheduleApprovalInfo, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, saveJEScheduleApprovalRule, deleteJEScheduleApprovalRule, reorderJEScheduleApprovalRules, jeScheduleApprovalAction, saveJEScheduleApprovalDraft, approveJEScheduleWithLocalEdits, clearJEScheduleApprovalRuleSaveStatus, };
|
|
639
639
|
export { getRemiSetupApproverView, getRemiSetupApproverUpdateDataView, fetchRemiSetupApproverView, fetchRemiApproversList, fetchRemiApproversDetails, deleteRemiApprovalRule, reorderRemiApprovalRules, saveRemiSetupApproverViewUpdateData, saveRemiSetupApproverViewUpdates, initializeRemiSetupApproverViewUpdateData, setRemiSetupApproverViewListeningToPusherEvent, clearRemiSetupApproverViewUpdateData, };
|
|
640
640
|
export { getRemiDetailView, checkApproveRejectBtnShowForRemi, };
|
|
641
641
|
export { saveRealTimeApproval, updateIsEditModeRealTimeApprovals, };
|
|
@@ -6,9 +6,9 @@ import { updateJEOneTimeAccruals } from '../../../../entity/jeSchedules/jeSchedu
|
|
|
6
6
|
import { getJEOneTimeAccrualByKey } from '../../../../entity/jeSchedules/jeSchedulesSelector';
|
|
7
7
|
import { openSnackbar } from '../../../../entity/snackbar/snackbarReducer';
|
|
8
8
|
import { getCurrentTenant } from '../../../../entity/tenant/tenantSelector';
|
|
9
|
-
import { createZeniAPIStatus, isSuccessResponse, } from '../../../../responsePayload';
|
|
9
|
+
import { createZeniAPIStatus, isAccessDeniedError, isSuccessResponse, } from '../../../../responsePayload';
|
|
10
10
|
import { clearAll } from '../../../../rootActions';
|
|
11
|
-
import { fetchJeSchedules, ignoreOneTimeAccrual, oneTimeAccrualActionFailure, oneTimeAccrualActionSuccess, promoteOneTimeAccrual, removeJeOneTimeAccrualLocalData, revertOneTimeAccrual, } from '../../reducers/jeSchedulesViewReducer';
|
|
11
|
+
import { fetchJeSchedules, ignoreOneTimeAccrual, oneTimeAccrualActionFailure, oneTimeAccrualActionSuccess, promoteOneTimeAccrual, removeJeOneTimeAccrualLocalData, revertOneTimeAccrual, saveJEOneTimeAccrualDraft, } from '../../reducers/jeSchedulesViewReducer';
|
|
12
12
|
/**
|
|
13
13
|
* The page the accrual came from, so a promoted or ignored row lands in the right bucket. Guarded
|
|
14
14
|
* because convertToPeriod destructures: an unset period would throw and take the epic subscription
|
|
@@ -48,9 +48,13 @@ messageSection, accrualId, message, status) {
|
|
|
48
48
|
}),
|
|
49
49
|
];
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
const MISSING_ACCOUNT_MESSAGE = 'This accrual is missing an expense or liability account.';
|
|
52
|
+
/**
|
|
53
|
+
* The PUT /1.0/accruals/<id> body, shared by promote and save-draft. Returns undefined when either
|
|
54
|
+
* JE account is missing: promote posts a journal entry, and a draft saved without both sides would
|
|
55
|
+
* only fail later at promote.
|
|
56
|
+
*/
|
|
57
|
+
function buildOneTimeAccrualBody(state, accrualId, amount) {
|
|
54
58
|
const accrual = getJEOneTimeAccrualByKey(generateJEOneTimeAccrualKey(accrualId), state.jeSchedulesState);
|
|
55
59
|
// The detail form writes what the user changed here as they change it. The list's inline
|
|
56
60
|
// Post has no form, so it finds nothing and every value below falls back to the stored draft.
|
|
@@ -60,8 +64,7 @@ export const promoteOneTimeAccrualEpic = (actions$, state$, zeniAPI) => actions$
|
|
|
60
64
|
const debitAccountId = edits?.jeDebitAccountId ?? accrual?.jeDebitAccountId;
|
|
61
65
|
const creditAccountId = edits?.jeCreditAccountId ?? accrual?.jeCreditAccountId;
|
|
62
66
|
if (debitAccountId == null || creditAccountId == null) {
|
|
63
|
-
|
|
64
|
-
return from(failureActions('save_schedule', accrualId, 'This accrual is missing an expense or liability account.'));
|
|
67
|
+
return undefined;
|
|
65
68
|
}
|
|
66
69
|
// vendor_id, vendor_name and service_month are deliberately absent: promote takes them from
|
|
67
70
|
// the stored draft and ignores them in the body, so sending them would imply a reassignment
|
|
@@ -71,8 +74,7 @@ export const promoteOneTimeAccrualEpic = (actions$, state$, zeniAPI) => actions$
|
|
|
71
74
|
const reverseNextMonth = edits?.reverseNextMonth ?? accrual?.reversalPolicy === 'scheduled_date';
|
|
72
75
|
const expectedReversalDate = edits?.expectedReversalDate ?? accrual?.expectedReversalDate;
|
|
73
76
|
const debitClassId = edits?.jeDebitAccountingClassId ?? accrual?.jeDebitAccountingClassId;
|
|
74
|
-
const debitClassName = edits?.jeDebitAccountingClassName ??
|
|
75
|
-
accrual?.jeDebitAccountingClassName;
|
|
77
|
+
const debitClassName = edits?.jeDebitAccountingClassName ?? accrual?.jeDebitAccountingClassName;
|
|
76
78
|
// The accrual document stores names alongside ids, so every id below travels with its name.
|
|
77
79
|
// Sending an id on its own leaves the stored row -- and the JE posted from it -- naming the
|
|
78
80
|
// account the user just moved away from. Create has always sent the full set; promote did
|
|
@@ -115,6 +117,16 @@ export const promoteOneTimeAccrualEpic = (actions$, state$, zeniAPI) => actions$
|
|
|
115
117
|
}
|
|
116
118
|
: {}),
|
|
117
119
|
};
|
|
120
|
+
return payload;
|
|
121
|
+
}
|
|
122
|
+
export const promoteOneTimeAccrualEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(promoteOneTimeAccrual.match), mergeMap((action) => {
|
|
123
|
+
const state = state$.value;
|
|
124
|
+
const { accrualId, amount } = action.payload;
|
|
125
|
+
const accrual = getJEOneTimeAccrualByKey(generateJEOneTimeAccrualKey(accrualId), state.jeSchedulesState);
|
|
126
|
+
const payload = buildOneTimeAccrualBody(state, accrualId, amount);
|
|
127
|
+
if (payload == null) {
|
|
128
|
+
return from(failureActions('save_schedule', accrualId, MISSING_ACCOUNT_MESSAGE));
|
|
129
|
+
}
|
|
118
130
|
return zeniAPI
|
|
119
131
|
.putAndGetJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/accruals/${accrualId}`, { ...payload })
|
|
120
132
|
.pipe(mergeMap((response) => {
|
|
@@ -139,13 +151,46 @@ export const promoteOneTimeAccrualEpic = (actions$, state$, zeniAPI) => actions$
|
|
|
139
151
|
...refreshCurrentPage(state$.value),
|
|
140
152
|
]);
|
|
141
153
|
}
|
|
142
|
-
return from(failureActions(
|
|
154
|
+
return from(failureActions(
|
|
155
|
+
// A 403 is the server holding the draft for an approver; its message already
|
|
156
|
+
// names who can approve, so it surfaces under the approval section.
|
|
157
|
+
isAccessDeniedError(response.status)
|
|
158
|
+
? 'je_schedule_approval_action'
|
|
159
|
+
: 'save_schedule', accrualId, response.status.message, response.status));
|
|
143
160
|
}), catchError((error) => from(failureActions('save_schedule', accrualId, `Promote accrual REST API call errored out ${JSON.stringify(error)}`))),
|
|
144
161
|
// A tenant switch clears the store while this request is still in flight.
|
|
145
162
|
// Without this the old tenant's response is written back into the freshly
|
|
146
163
|
// cleared store and stays on screen under the new tenant.
|
|
147
164
|
takeUntil(actions$.pipe(filter(clearAll.match))));
|
|
148
165
|
}));
|
|
166
|
+
export const saveJEOneTimeAccrualDraftEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(saveJEOneTimeAccrualDraft.match), mergeMap((action) => {
|
|
167
|
+
const state = state$.value;
|
|
168
|
+
const { accrualId, amount } = action.payload;
|
|
169
|
+
const accrual = getJEOneTimeAccrualByKey(generateJEOneTimeAccrualKey(accrualId), state.jeSchedulesState);
|
|
170
|
+
// Same body as promote plus save_draft: the server keeps the edits on the held draft
|
|
171
|
+
// without posting. The amount falls back to the stored estimate when the caller has none.
|
|
172
|
+
const payload = buildOneTimeAccrualBody(state, accrualId, amount ?? accrual?.estimatedAmount.amount ?? 0);
|
|
173
|
+
if (payload == null) {
|
|
174
|
+
return from(failureActions('je_schedule_approval_action', accrualId, MISSING_ACCOUNT_MESSAGE));
|
|
175
|
+
}
|
|
176
|
+
return zeniAPI
|
|
177
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/accruals/${accrualId}`, { ...payload, save_draft: true })
|
|
178
|
+
.pipe(mergeMap((response) => {
|
|
179
|
+
if (isSuccessResponse(response) && response.data != null) {
|
|
180
|
+
return from([
|
|
181
|
+
updateJEOneTimeAccruals([response.data.accrual]),
|
|
182
|
+
oneTimeAccrualActionSuccess({ accrualId }),
|
|
183
|
+
removeJeOneTimeAccrualLocalData({ accrualId }),
|
|
184
|
+
openSnackbar({
|
|
185
|
+
messageSection: 'je_schedule_approval_action',
|
|
186
|
+
messageText: 'success',
|
|
187
|
+
type: 'success',
|
|
188
|
+
}),
|
|
189
|
+
]);
|
|
190
|
+
}
|
|
191
|
+
return from(failureActions('je_schedule_approval_action', accrualId, response.status.message, response.status));
|
|
192
|
+
}), catchError((error) => from(failureActions('je_schedule_approval_action', accrualId, `Save accrual draft REST API call errored out ${JSON.stringify(error)}`))), takeUntil(actions$.pipe(filter(clearAll.match))));
|
|
193
|
+
}));
|
|
149
194
|
export const ignoreOneTimeAccrualEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(ignoreOneTimeAccrual.match), mergeMap((action) => {
|
|
150
195
|
const { accrualId, reason, note } = action.payload;
|
|
151
196
|
// `scope` is deliberately never sent: the API returns 400 on it, which is why the design's
|
|
@@ -685,6 +685,21 @@ const expenseAutomationJESchedulesView = createSlice({
|
|
|
685
685
|
};
|
|
686
686
|
},
|
|
687
687
|
},
|
|
688
|
+
/**
|
|
689
|
+
* Save Draft on a held draft: same body and edits as promote, with save_draft so the server
|
|
690
|
+
* keeps the changes without posting. The amount is optional because the list has no form.
|
|
691
|
+
*/
|
|
692
|
+
saveJEOneTimeAccrualDraft: {
|
|
693
|
+
prepare(accrualId, amount) {
|
|
694
|
+
return { payload: { accrualId, amount } };
|
|
695
|
+
},
|
|
696
|
+
reducer(draft, action) {
|
|
697
|
+
draft.oneTimeAccrualActionStatusById[action.payload.accrualId] = {
|
|
698
|
+
fetchState: 'In-Progress',
|
|
699
|
+
error: undefined,
|
|
700
|
+
};
|
|
701
|
+
},
|
|
702
|
+
},
|
|
688
703
|
revertOneTimeAccrual: {
|
|
689
704
|
prepare(accrualId, reason, note) {
|
|
690
705
|
return { payload: { accrualId, reason, note } };
|
|
@@ -783,7 +798,7 @@ const expenseAutomationJESchedulesView = createSlice({
|
|
|
783
798
|
});
|
|
784
799
|
},
|
|
785
800
|
});
|
|
786
|
-
export const { clearExpenseAutomationJESchedulesView, clearJeAccountSettingsLocalData, clearJeScheduleLocalData, clearSearchTransactionsForNewSchedule, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, ignoreOneTimeAccrual, oneTimeAccrualActionFailure, oneTimeAccrualActionSuccess, promoteOneTimeAccrual, revertJeSchedule, revertJeScheduleFailure, revertJeScheduleSuccess, revertOneTimeAccrual, fetchAccountSettingsListForAccountTypes, fetchJeSchedules, fetchFailedJePostings, fetchFailedJePostingsFailure, fetchFailedJePostingsSuccess, fetchJeSchedulesFailure, fetchJeSchedulesPage, fetchJeSchedulesSuccess, fetchOneTimeAccrual, fetchOneTimeAccrualFailure, fetchOneTimeAccrualSuccess, fetchRecommendationForAccountSettings, ignoreRecommendedJeSchedule, ignoreRecommendedJeScheduleFailure, ignoreRecommendedJeScheduleSuccess, initializeAccountSettingsView, initializeJeScheduleLocalData, initializeNewSchedule, removeFailedJeScheduleTransactionKey, removeJeOneTimeAccrualLocalData, removeJeScheduleLocalDataById, removeJeAccruedScheduleKey, removeJeScheduleTransactionKey, resetNewScheduleLocalData, retryJeSchedule, retryJeScheduleFailure, retryJeScheduleSuccess, saveAccountSettings, saveAccountSettingsFailure, saveAccountSettingsLocalData, saveAccountSettingsSuccess, saveNewSchedule, saveNewScheduleFailure, saveNewScheduleSuccess, searchTransactionsForNewSchedule, searchTransactionsForNewScheduleFailure, searchTransactionsForNewScheduleSuccess, toggleJECreatedGroupCollapsed, toggleJEFailedGroupCollapsed, toggleJEPendingGroupCollapsed, updateAccountSettingsListForAccountTypes, updateAccountSettingsListForAccountTypesFailure, updateJESchedulesUIState, updateJEScheduleTypeFilter, updateJeOneTimeAccrualLocalData, updateJeScheduleLocalDataById, updateJeScheduleTransactionKeys, updateNewScheduleLocalData, updateRecommendationForAccountSettings, updateRecommendationForAccountSettingsFailure, } = expenseAutomationJESchedulesView.actions;
|
|
801
|
+
export const { clearExpenseAutomationJESchedulesView, clearJeAccountSettingsLocalData, clearJeScheduleLocalData, clearSearchTransactionsForNewSchedule, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, ignoreOneTimeAccrual, oneTimeAccrualActionFailure, oneTimeAccrualActionSuccess, promoteOneTimeAccrual, revertJeSchedule, revertJeScheduleFailure, revertJeScheduleSuccess, revertOneTimeAccrual, saveJEOneTimeAccrualDraft, fetchAccountSettingsListForAccountTypes, fetchJeSchedules, fetchFailedJePostings, fetchFailedJePostingsFailure, fetchFailedJePostingsSuccess, fetchJeSchedulesFailure, fetchJeSchedulesPage, fetchJeSchedulesSuccess, fetchOneTimeAccrual, fetchOneTimeAccrualFailure, fetchOneTimeAccrualSuccess, fetchRecommendationForAccountSettings, ignoreRecommendedJeSchedule, ignoreRecommendedJeScheduleFailure, ignoreRecommendedJeScheduleSuccess, initializeAccountSettingsView, initializeJeScheduleLocalData, initializeNewSchedule, removeFailedJeScheduleTransactionKey, removeJeOneTimeAccrualLocalData, removeJeScheduleLocalDataById, removeJeAccruedScheduleKey, removeJeScheduleTransactionKey, resetNewScheduleLocalData, retryJeSchedule, retryJeScheduleFailure, retryJeScheduleSuccess, saveAccountSettings, saveAccountSettingsFailure, saveAccountSettingsLocalData, saveAccountSettingsSuccess, saveNewSchedule, saveNewScheduleFailure, saveNewScheduleSuccess, searchTransactionsForNewSchedule, searchTransactionsForNewScheduleFailure, searchTransactionsForNewScheduleSuccess, toggleJECreatedGroupCollapsed, toggleJEFailedGroupCollapsed, toggleJEPendingGroupCollapsed, updateAccountSettingsListForAccountTypes, updateAccountSettingsListForAccountTypesFailure, updateJESchedulesUIState, updateJEScheduleTypeFilter, updateJeOneTimeAccrualLocalData, updateJeScheduleLocalDataById, updateJeScheduleTransactionKeys, updateNewScheduleLocalData, updateRecommendationForAccountSettings, updateRecommendationForAccountSettingsFailure, } = expenseAutomationJESchedulesView.actions;
|
|
787
802
|
export default expenseAutomationJESchedulesView.reducer;
|
|
788
803
|
const doUpdateRecommendationForAccountSettings = (draft, payload) => {
|
|
789
804
|
const { prepaidExpensesRecommendations, fixedAssetsRecommendations, accruedExpensesRecommendations, } = mapAccountTypeRecommendationPayloadToAccountRecommendationByType(payload);
|
package/lib/esm/view/settings/jeScheduleApprovalRules/epic/saveJEScheduleApprovalDraftEpic.js
CHANGED
|
@@ -2,7 +2,7 @@ import { filter, map } from 'rxjs/operators';
|
|
|
2
2
|
import { createZeniAPIStatus } from '../../../../responsePayload';
|
|
3
3
|
import { prepareScheduleAccruedDetailPayload, } from '../../../scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload';
|
|
4
4
|
import { prepareScheduleDetailPayload, } from '../../../scheduleView/scheduleDetailView/scheduleDetailPayload';
|
|
5
|
-
import { jeScheduleApprovalAction, jeScheduleApprovalActionFailure, saveJEScheduleApprovalDraft, } from '../jeScheduleSetupApproverViewReducer';
|
|
5
|
+
import { approveJEScheduleWithLocalEdits, jeScheduleApprovalAction, jeScheduleApprovalActionFailure, saveJEScheduleApprovalDraft, } from '../jeScheduleSetupApproverViewReducer';
|
|
6
6
|
function buildDraftPayload(state, jeScheduleId, scheduleType, isAccrued) {
|
|
7
7
|
if (isAccrued) {
|
|
8
8
|
const key = state.scheduleAccruedDetailState.selectedJEAccruedScheduleKey;
|
|
@@ -17,10 +17,23 @@ function buildDraftPayload(state, jeScheduleId, scheduleType, isAccrued) {
|
|
|
17
17
|
? prepareScheduleDetailPayload(state, localData, key, scheduleType)
|
|
18
18
|
: undefined;
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Builds the schedule body from the open schedule's local edits and reuses the approval-action call.
|
|
22
|
+
* Save Draft needs those edits; Approve sends them only as a fallback for a draft with nothing
|
|
23
|
+
* parked, so Approve still goes out when there are no local edits.
|
|
24
|
+
*/
|
|
25
|
+
export const saveJEScheduleApprovalDraftEpic = (actions$, state$) => actions$.pipe(filter((action) => saveJEScheduleApprovalDraft.match(action) ||
|
|
26
|
+
approveJEScheduleWithLocalEdits.match(action)), map((action) => {
|
|
22
27
|
const { jeScheduleId, scheduleType, isAccrued } = action.payload;
|
|
23
28
|
const payload = buildDraftPayload(state$.value, jeScheduleId, scheduleType, isAccrued);
|
|
29
|
+
if (approveJEScheduleWithLocalEdits.match(action)) {
|
|
30
|
+
return jeScheduleApprovalAction(jeScheduleId, payload != null
|
|
31
|
+
? {
|
|
32
|
+
action: 'approve',
|
|
33
|
+
scheduledJournalEntries: payload.scheduled_journal_entries,
|
|
34
|
+
}
|
|
35
|
+
: { action: 'approve' });
|
|
36
|
+
}
|
|
24
37
|
if (payload == null) {
|
|
25
38
|
return jeScheduleApprovalActionFailure(jeScheduleId, createZeniAPIStatus('Unexpected Error', 'No local schedule edits to save as draft'));
|
|
26
39
|
}
|
|
@@ -9,7 +9,12 @@ export const toJEScheduleApprovalRulesList = (payload) => ({
|
|
|
9
9
|
export const toJEScheduleApprovalActionRequestBody = (body) => {
|
|
10
10
|
switch (body.action) {
|
|
11
11
|
case 'approve':
|
|
12
|
-
return
|
|
12
|
+
return body.scheduledJournalEntries != null
|
|
13
|
+
? {
|
|
14
|
+
action: 'approve',
|
|
15
|
+
scheduled_journal_entries: body.scheduledJournalEntries,
|
|
16
|
+
}
|
|
17
|
+
: { action: 'approve' };
|
|
13
18
|
case 'reject':
|
|
14
19
|
return { action: 'reject', rejection_reason: body.rejectionReason };
|
|
15
20
|
case 'save_draft':
|
|
@@ -218,6 +218,17 @@ const jeScheduleSetupApproverView = createSlice({
|
|
|
218
218
|
return { payload: { jeScheduleId, scheduleType, isAccrued } };
|
|
219
219
|
},
|
|
220
220
|
},
|
|
221
|
+
approveJEScheduleWithLocalEdits: {
|
|
222
|
+
reducer(draft, action) {
|
|
223
|
+
draft.approvalActionStatusByScheduleId[action.payload.jeScheduleId] = {
|
|
224
|
+
fetchState: 'In-Progress',
|
|
225
|
+
error: undefined,
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
prepare(jeScheduleId, scheduleType, isAccrued) {
|
|
229
|
+
return { payload: { jeScheduleId, scheduleType, isAccrued } };
|
|
230
|
+
},
|
|
231
|
+
},
|
|
221
232
|
jeScheduleApprovalActionSuccess: {
|
|
222
233
|
reducer(draft, action) {
|
|
223
234
|
draft.approvalActionStatusByScheduleId[action.payload.jeScheduleId] = {
|
|
@@ -251,5 +262,5 @@ const jeScheduleSetupApproverView = createSlice({
|
|
|
251
262
|
});
|
|
252
263
|
},
|
|
253
264
|
});
|
|
254
|
-
export const { fetchJEScheduleApprovalRules, fetchJEScheduleApprovalRulesSuccess, fetchJEScheduleApprovalRulesFailure, fetchJEScheduleApprovers, fetchJEScheduleApproversSuccess, fetchJEScheduleApproversFailure, saveJEScheduleApprovalRule, saveJEScheduleApprovalRuleSuccess, saveJEScheduleApprovalRuleFailure, deleteJEScheduleApprovalRule, deleteJEScheduleApprovalRuleSuccess, deleteJEScheduleApprovalRuleFailure, reorderJEScheduleApprovalRules, reorderJEScheduleApprovalRulesSuccess, reorderJEScheduleApprovalRulesFailure, jeScheduleApprovalAction, saveJEScheduleApprovalDraft, jeScheduleApprovalActionSuccess, jeScheduleApprovalActionFailure, clearJEScheduleApprovalRuleSaveStatus, } = jeScheduleSetupApproverView.actions;
|
|
265
|
+
export const { fetchJEScheduleApprovalRules, fetchJEScheduleApprovalRulesSuccess, fetchJEScheduleApprovalRulesFailure, fetchJEScheduleApprovers, fetchJEScheduleApproversSuccess, fetchJEScheduleApproversFailure, saveJEScheduleApprovalRule, saveJEScheduleApprovalRuleSuccess, saveJEScheduleApprovalRuleFailure, deleteJEScheduleApprovalRule, deleteJEScheduleApprovalRuleSuccess, deleteJEScheduleApprovalRuleFailure, reorderJEScheduleApprovalRules, reorderJEScheduleApprovalRulesSuccess, reorderJEScheduleApprovalRulesFailure, jeScheduleApprovalAction, saveJEScheduleApprovalDraft, approveJEScheduleWithLocalEdits, jeScheduleApprovalActionSuccess, jeScheduleApprovalActionFailure, clearJEScheduleApprovalRuleSaveStatus, } = jeScheduleSetupApproverView.actions;
|
|
255
266
|
export default jeScheduleSetupApproverView.reducer;
|
package/lib/index.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ import { InsightSummary } from './entity/insights/insightSummary';
|
|
|
110
110
|
import { JEScheduleApprovalInfoPayload, JEScheduleApprovalRulePayload, JEScheduleApprovalRuleRequestBody, JEScheduleApprovalRuleSavePayload, JEScheduleApprovalRulesListPayload, JEScheduleApproverPayload, JEScheduleApproverRolePayload, JEScheduleApproversPayload, toJEScheduleApprovalAPIStatus, toJEScheduleApprovalInfo, toJEScheduleApprovalRulePayload, toJEScheduleApprovalRuleState, toJEScheduleApprover, toJEScheduleApproverRole } from './entity/jeScheduleApprovalRule/jeScheduleApprovalRulePayload';
|
|
111
111
|
import { JEScheduleApprovalAPIStatus, JEScheduleApprovalCriteria, JEScheduleApprovalInfo, JEScheduleApprovalNonUserActor, JEScheduleApprovalRule, JEScheduleApprovalRuleFormData, JEScheduleApprovalRuleState, JEScheduleApprovalStep, JEScheduleApprovalStepState, JEScheduleApprover, JEScheduleApproverRole } from './entity/jeScheduleApprovalRule/jeScheduleApprovalRuleState';
|
|
112
112
|
import { JEApprovalAction, JEApprovalErrorKind, JEApprovalOwner, JEApprovalRoleSubType, JEApprovalStepAction, JEScheduleType, JE_APPROVAL_OWNERS, JE_APPROVAL_ROLE_SUB_TYPES, JE_APPROVAL_STEP_ACTIONS, JE_LEVEL_CONTROLLER, JE_LEVEL_LABELS, JE_LEVEL_PREPARER, JE_LEVEL_REVIEWER, JE_SCHEDULE_TYPES, JE_SCHEDULE_TYPE_LABELS, toJEApprovalOwner, toJEApprovalRoleSubType, toJEApprovalStepAction, toJEScheduleType, toJEScheduleTypeStrict } from './entity/jeScheduleApprovalRule/jeScheduleApprovalRuleTypes';
|
|
113
|
-
import { JEAccruedSchedule, JEOneTimeAccrual, JEScheduledTransaction, ScheduledJournalEntry, getScheduleApprovalInfo } from './entity/jeSchedules/jeSchedulesSelector';
|
|
113
|
+
import { JEAccruedSchedule, JEOneTimeAccrual, JEScheduledTransaction, ScheduledJournalEntry, getOneTimeAccrualApprovalInfo, getScheduleApprovalInfo } from './entity/jeSchedules/jeSchedulesSelector';
|
|
114
114
|
import { JEOneTimeAccrualAiSuggestion, JEOneTimeAccrualBillingPattern, JEOneTimeAccrualCleared, JEOneTimeAccrualMatchSuggestion, JEOneTimeAccrualMonthlyTotal, JEOneTimeAccrualProfileSnapshot, JEScheduleAISummaries, JEScheduleFieldRecommendation, JEScheduleSummary, OneTimeAccrualEdits } from './entity/jeSchedules/jeSchedulesState';
|
|
115
115
|
import { 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, JEOneTimeAccrualKey, JEScheduleIgnoreReasonType, JEScheduleKey, JEScheduleRevertReasonType, JEScheduleTransactionKey, JournalEntryErrorCodeType, OneTimeAccrualIgnoreReasonType, OneTimeAccrualRevertReasonType, ScheduleJournalEntryStatusCodeType, ScheduleStatusCodeType, ScheduleTransactionID, ScheduleTypes, getJEScheduleTransactionKey, toScheduleTypesType, toScheduleTypesTypeStrict } from './entity/jeSchedules/jeSchedulesTypes';
|
|
116
116
|
import { Merchant } from './entity/merchant/merchant';
|
|
@@ -316,7 +316,7 @@ import { MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled, getLine
|
|
|
316
316
|
import { UploadStatementDocumentAIPayload, UploadStatementDocumentAIResponse } from './view/expenseAutomationView/payload/reconciliationPayload';
|
|
317
317
|
import { ackCloseMatchAfterIgnore, ackCloseMatchAfterUndo, clearActualMatchingView as clearExpenseAutomationActualMatchingView, clearMatchNewModal, closeMatchNewModal, fetchActualMatchingMatch, fetchActualMatching as fetchExpenseAutomationActualMatching, fetchActualMatchingPage as fetchExpenseAutomationActualMatchingPage, ignoreActualMatchingSuggestion, matchAndReverseAccruals, openMatchNewModal, searchMatchAccruals, searchMatchTransactions, undoReversalAccruals, updateActualMatchingUIState as updateExpenseAutomationActualMatchingUIState } from './view/expenseAutomationView/reducers/actualMatchingViewReducer';
|
|
318
318
|
import { clearExpenseAutomationFluxAnalysisView, fetchFluxAnalysisView, reviewFluxAnalysisView, updateFluxAnalysisViewPageMetaData, updateFluxAnalysisViewUIState, updateOperatingExpensesIdsForReview, updateSelectedSectionIdsForReview } from './view/expenseAutomationView/reducers/fluxAnalysisViewReducer';
|
|
319
|
-
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';
|
|
319
|
+
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, saveJEOneTimeAccrualDraft, 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';
|
|
320
320
|
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';
|
|
321
321
|
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';
|
|
322
322
|
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';
|
|
@@ -475,7 +475,7 @@ import { ScheduleAccruedListReport, ScheduleListReport, getAccruedScheduleListRe
|
|
|
475
475
|
import { ScheduleListLocalData } from './view/scheduleView/scheduleListView/scheduleListState';
|
|
476
476
|
import { DownloadJEScheduleTabOptions, ScheduleListSortKey, ScheduleListTabsFileType, ScheduleSubTabType, toScheduleListTabsFileTypeStrict, toScheduleSubTabType } from './view/scheduleView/scheduleListView/scheduleListTypes';
|
|
477
477
|
import { JEScheduleApprovalActionBody, toJEScheduleApprovalRulesList } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewPayload';
|
|
478
|
-
import { clearJEScheduleApprovalRuleSaveStatus, deleteJEScheduleApprovalRule, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, jeScheduleApprovalAction, reorderJEScheduleApprovalRules, saveJEScheduleApprovalDraft, saveJEScheduleApprovalRule } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer';
|
|
478
|
+
import { approveJEScheduleWithLocalEdits, clearJEScheduleApprovalRuleSaveStatus, deleteJEScheduleApprovalRule, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, jeScheduleApprovalAction, reorderJEScheduleApprovalRules, saveJEScheduleApprovalDraft, saveJEScheduleApprovalRule } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewReducer';
|
|
479
479
|
import { getApprovalStartsAt, getOtherRules as getJEScheduleOtherRules, getOwnRuleCount as getJEScheduleOwnRuleCount, getOwnRules as getJEScheduleOwnRules, getJEScheduleSetupApproverView } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewSelector';
|
|
480
480
|
import { JEScheduleApprovalStartsAt, JEScheduleSetupApproverView } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewSelectorTypes';
|
|
481
481
|
import { JEScheduleApprovalRulesList, JEScheduleSetupApproverViewState } from './view/settings/jeScheduleApprovalRules/jeScheduleSetupApproverViewState';
|
|
@@ -753,7 +753,7 @@ export { BalancesTimeseries, TrendTimeseries, BalanceKind };
|
|
|
753
753
|
export { fetchMonthEndCloseChecks, fetchMonthClosePerformanceTrend, MonthClosePerformanceTrend, MonthEndCloseCheck, getMonthEndCloseChecksViewByTenantId, MonthEndCloseChecksView, MonthEndCloseCheckFrequency, MonthCloseCheckMetrics, MonthCloseCheckProgressJson, ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY, MonthEndAuditSummary, };
|
|
754
754
|
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, ActualMatchingJournalEntryIds, ActualMatchingLeftoverAccrual, 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, getAccountReconciliationRecordsBySelectedPeriod, 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, };
|
|
755
755
|
export { JEScheduleLocalData };
|
|
756
|
-
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, };
|
|
756
|
+
export { ExpenseAutomationJESchedulesViewSelector, JEAccountSettingsView, ExpenseAutomationJEOneTimeAccrualDetailView, JEScheduleRow, JEScheduledTransactionWithFailedEntries, NewJeDetailLocalData, NewJeScheduleState, NewOneTimeAccrualLocalData, NewAccrualAccountsView, NewScheduleLocalData, NewScheduleLocalDataFixedAssets, NewScheduleSearchTransactionsView, NewScheduleView, SearchTransactionsState, computeNewScheduleJeDetails, createOneTimeAccrual, createOneTimeAccrualFailure, createOneTimeAccrualSuccess, fetchOneTimeAccrual, getJeNewAccrualAccountsView, ignoreOneTimeAccrual, promoteOneTimeAccrual, saveJEOneTimeAccrualDraft, revertJeSchedule, revertOneTimeAccrual, getJeNewScheduleSearchTransactionsView, getJeNewScheduleView, };
|
|
757
757
|
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, };
|
|
758
758
|
export { TopExpense, TopExTimePeriod, TOP_EX_TIME_PERIODS };
|
|
759
759
|
export { TimeframeTick, TimeframeTickWithMetaData, toTimeframeTick, mapTimePeriodtoTimeframeTick, toTimePeriod, toAbsoluteDay, toMonthYearPeriodId, convertToPeriod, MonthYearPeriod, };
|
|
@@ -907,7 +907,7 @@ export { SubscriptionPaymentAccount };
|
|
|
907
907
|
export { PreviousBillsSelectorView, InvoiceProcessingPayload, InvoiceProcessingResponse, isSuccessResponse, isInvalidSessionError, isAccessDeniedError, };
|
|
908
908
|
export { Step, Actor as ApprovalRuleActor, ActorType, ApprovalActionType, StepOperatorType, ApprovalRuleState, ApprovalRule, AmountComparator, AmountCriteria, ConditionType, Criteria, DepartmentCriteria, VendorCriteria, AttributeType, Approvers, RoleType, EntityApprovalStatusState, EntityApprovalStatus, SpendManagementEntityType, SpendManagementEntityTypeWithOtherConnection, getAmountCriteria, getApprovalRulesByEntityType, getDepartmentCriteria, getFallbackApprovalRule, getVendorCriteria, toAttributeTypeStrict, toAttributeOrRoleTypeStrict, toRoleTypeStrict, DetectRuleOverlapInput, RuleForOverlapCheck, RuleOverlap, detectRuleOverlap, };
|
|
909
909
|
export { ApprovalRuleUpdateData, ApprovalRuleCreateData, BillPayApprovalRuleWithUser, ApprovalUpdateActionType, ApproverViewUpdateData, BillPaySetupApproverViewState, BillPaySetupApproverView, BillPaySetupApproverUpdateDataView, getBillPaySetupApproverView, getBillPaySetupApproverUpdateDataView, fetchBillPaySetupApproverView, fetchBillPayApproversDetails, fetchBillPayApproversList, deleteBillPayApprovalRule, reorderBillPayApprovalRules, saveBillPaySetupApproverViewUpdateData, saveBillPaySetupApproverViewUpdates, setBillsSetupApproverViewListeningToPusherEvent, initializeBillPaySetupApproverViewUpdateData, clearBillPaySetupApproverViewUpdateData, };
|
|
910
|
-
export { JEScheduleApprovalInfoPayload, JEScheduleApprovalRulePayload, JEScheduleApprovalRuleRequestBody, JEScheduleApprovalRuleSavePayload, JEScheduleApprovalRulesListPayload, JEScheduleApproverPayload, JEScheduleApproverRolePayload, JEScheduleApproversPayload, toJEScheduleApprovalAPIStatus, toJEScheduleApprovalInfo, toJEScheduleApprovalRulePayload, toJEScheduleApprovalRuleState, toJEScheduleApprover, toJEScheduleApproverRole, JEScheduleApprovalAPIStatus, JEScheduleApprovalCriteria, JEScheduleApprovalInfo, JEScheduleApprovalNonUserActor, JEScheduleApprovalRule, JEScheduleApprovalRuleFormData, JEScheduleApprovalRuleState, JEScheduleApprovalStep, JEScheduleApprovalStepState, JEScheduleApprover, JEScheduleApproverRole, JEApprovalAction, JEApprovalErrorKind, JEApprovalOwner, JEApprovalRoleSubType, JEApprovalStepAction, JEScheduleType, JE_APPROVAL_OWNERS, JE_APPROVAL_ROLE_SUB_TYPES, JE_APPROVAL_STEP_ACTIONS, JE_LEVEL_CONTROLLER, JE_LEVEL_LABELS, JE_LEVEL_PREPARER, JE_LEVEL_REVIEWER, JE_SCHEDULE_TYPES, JE_SCHEDULE_TYPE_LABELS, toJEApprovalOwner, toJEApprovalRoleSubType, toJEApprovalStepAction, toJEScheduleType, toJEScheduleTypeStrict, JEScheduleApprovalActionBody, toJEScheduleApprovalRulesList, JEScheduleApprovalRulesList, JEScheduleSetupApproverViewState, JEScheduleApprovalStartsAt, JEScheduleSetupApproverView, getJEScheduleSetupApproverView, getJEScheduleOwnRules, getJEScheduleOtherRules, getJEScheduleOwnRuleCount, getApprovalStartsAt, getScheduleApprovalInfo, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, saveJEScheduleApprovalRule, deleteJEScheduleApprovalRule, reorderJEScheduleApprovalRules, jeScheduleApprovalAction, saveJEScheduleApprovalDraft, clearJEScheduleApprovalRuleSaveStatus, };
|
|
910
|
+
export { JEScheduleApprovalInfoPayload, JEScheduleApprovalRulePayload, JEScheduleApprovalRuleRequestBody, JEScheduleApprovalRuleSavePayload, JEScheduleApprovalRulesListPayload, JEScheduleApproverPayload, JEScheduleApproverRolePayload, JEScheduleApproversPayload, toJEScheduleApprovalAPIStatus, toJEScheduleApprovalInfo, toJEScheduleApprovalRulePayload, toJEScheduleApprovalRuleState, toJEScheduleApprover, toJEScheduleApproverRole, JEScheduleApprovalAPIStatus, JEScheduleApprovalCriteria, JEScheduleApprovalInfo, JEScheduleApprovalNonUserActor, JEScheduleApprovalRule, JEScheduleApprovalRuleFormData, JEScheduleApprovalRuleState, JEScheduleApprovalStep, JEScheduleApprovalStepState, JEScheduleApprover, JEScheduleApproverRole, JEApprovalAction, JEApprovalErrorKind, JEApprovalOwner, JEApprovalRoleSubType, JEApprovalStepAction, JEScheduleType, JE_APPROVAL_OWNERS, JE_APPROVAL_ROLE_SUB_TYPES, JE_APPROVAL_STEP_ACTIONS, JE_LEVEL_CONTROLLER, JE_LEVEL_LABELS, JE_LEVEL_PREPARER, JE_LEVEL_REVIEWER, JE_SCHEDULE_TYPES, JE_SCHEDULE_TYPE_LABELS, toJEApprovalOwner, toJEApprovalRoleSubType, toJEApprovalStepAction, toJEScheduleType, toJEScheduleTypeStrict, JEScheduleApprovalActionBody, toJEScheduleApprovalRulesList, JEScheduleApprovalRulesList, JEScheduleSetupApproverViewState, JEScheduleApprovalStartsAt, JEScheduleSetupApproverView, getJEScheduleSetupApproverView, getJEScheduleOwnRules, getJEScheduleOtherRules, getJEScheduleOwnRuleCount, getApprovalStartsAt, getOneTimeAccrualApprovalInfo, getScheduleApprovalInfo, fetchJEScheduleApprovalRules, fetchJEScheduleApprovers, saveJEScheduleApprovalRule, deleteJEScheduleApprovalRule, reorderJEScheduleApprovalRules, jeScheduleApprovalAction, saveJEScheduleApprovalDraft, approveJEScheduleWithLocalEdits, clearJEScheduleApprovalRuleSaveStatus, };
|
|
911
911
|
export { RemiApprovalRuleWithUser, RemiSetupApproverViewState, RemiSetupApproverView, RemiSetupApproverUpdateDataView, getRemiSetupApproverView, getRemiSetupApproverUpdateDataView, fetchRemiSetupApproverView, fetchRemiApproversList, fetchRemiApproversDetails, deleteRemiApprovalRule, reorderRemiApprovalRules, saveRemiSetupApproverViewUpdateData, saveRemiSetupApproverViewUpdates, initializeRemiSetupApproverViewUpdateData, setRemiSetupApproverViewListeningToPusherEvent, clearRemiSetupApproverViewUpdateData, };
|
|
912
912
|
export { RemiDetailViewSelector, getRemiDetailView, RemiActivity, RemiDetails, checkApproveRejectBtnShowForRemi, };
|
|
913
913
|
export { RemiApprovalType, RemiDetailView, DuplicateLine };
|