@zeniai/client-epic-state 4.20.2-betaRD2 → 4.20.3-beta10ND
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/animations.d.ts +1 -1
- package/lib/commonStateTypes/animations.js +3 -0
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +5 -0
- package/lib/epic.d.ts +7 -1
- package/lib/epic.js +7 -1
- package/lib/esm/commonStateTypes/animations.js +3 -0
- package/lib/esm/entity/snackbar/snackbarTypes.js +5 -0
- package/lib/esm/epic.js +7 -1
- package/lib/esm/index.js +2 -0
- package/lib/esm/reducer.js +3 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +15 -1
- package/lib/esm/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +17 -14
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +26 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +199 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +52 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesState.js +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +99 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +48 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +36 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +45 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +50 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +69 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +2 -2
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +2 -1
- package/lib/index.d.ts +6 -2
- package/lib/index.js +13 -1
- package/lib/reducer.d.ts +3 -0
- package/lib/reducer.js +3 -0
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.d.ts +2 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +16 -2
- package/lib/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +17 -14
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.d.ts +75 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +30 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.d.ts +50 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +206 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.d.ts +24 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +61 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.d.ts +38 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.js +2 -0
- package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.d.ts +12 -0
- package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +105 -0
- package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.d.ts +8 -0
- package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +52 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.d.ts +7 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +40 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.d.ts +7 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +52 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.d.ts +10 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +54 -0
- package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.d.ts +8 -0
- package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +73 -0
- package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +2 -2
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.d.ts +2 -1
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { from, of } from 'rxjs';
|
|
2
|
+
import { catchError, filter, mergeMap, switchMap } from 'rxjs/operators';
|
|
3
|
+
import { openSnackbar } from '../../../../entity/snackbar/snackbarReducer';
|
|
4
|
+
import { createZeniAPIStatus, isSuccessResponse, } from '../../../../responsePayload';
|
|
5
|
+
import { mapPayloadToAutoTransferRule, } from '../autoTransferRulesPayload';
|
|
6
|
+
import { updateAutoTransferRule, updateAutoTransferRuleFailure, updateAutoTransferRuleSuccess, } from '../autoTransferRulesReducer';
|
|
7
|
+
import { mapAutoTransferRuleLocalDataToPayload } from './createAutoTransferRuleEpic';
|
|
8
|
+
export const updateAutoTransferRuleEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(updateAutoTransferRule.match), switchMap((action) => {
|
|
9
|
+
const { ruleId, pauseRule, resumeRule } = action.payload;
|
|
10
|
+
const requestBody = mapAutoTransferRuleLocalDataToPayload(state$.value.autotransferRulesState.ruleUpdateLocalData, pauseRule, resumeRule);
|
|
11
|
+
return zeniAPI
|
|
12
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.bankingMicroServiceBaseUrl}/1.0/rules/transfer/auto/${ruleId}`, requestBody)
|
|
13
|
+
.pipe(mergeMap((response) => {
|
|
14
|
+
if (isSuccessResponse(response) && response.data != null) {
|
|
15
|
+
const rule = mapPayloadToAutoTransferRule(response.data.auto_transfer_rule);
|
|
16
|
+
const isPauseOrResumeOnly = Object.keys(requestBody).length === 1 &&
|
|
17
|
+
'is_active' in requestBody;
|
|
18
|
+
const messageSection = isPauseOrResumeOnly
|
|
19
|
+
? requestBody.is_active === false
|
|
20
|
+
? 'auto_transfer_rule_pause'
|
|
21
|
+
: 'auto_transfer_rule_resume'
|
|
22
|
+
: 'auto_transfer_rule_update';
|
|
23
|
+
const actions = [
|
|
24
|
+
updateAutoTransferRuleSuccess({ rule }),
|
|
25
|
+
openSnackbar({
|
|
26
|
+
messageSection,
|
|
27
|
+
messageText: 'success',
|
|
28
|
+
type: 'success',
|
|
29
|
+
variables: [
|
|
30
|
+
{
|
|
31
|
+
variableName: '__ruleName__',
|
|
32
|
+
variableValue: rule.ruleType === 'minimum_balance'
|
|
33
|
+
? 'Maintain a Minimum Balance'
|
|
34
|
+
: rule.ruleType === 'recurring'
|
|
35
|
+
? 'Make a Recurring Transfer'
|
|
36
|
+
: 'Distribute Balance by Percentage',
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
40
|
+
];
|
|
41
|
+
return from(actions);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
return from([
|
|
45
|
+
updateAutoTransferRuleFailure({
|
|
46
|
+
ruleId,
|
|
47
|
+
fetchState: 'Error',
|
|
48
|
+
error: response.status,
|
|
49
|
+
}),
|
|
50
|
+
openSnackbar({
|
|
51
|
+
messageSection: 'auto_transfer_rule_update',
|
|
52
|
+
messageText: 'failed',
|
|
53
|
+
type: 'error',
|
|
54
|
+
variables: [
|
|
55
|
+
{
|
|
56
|
+
variableName: '_api-error_',
|
|
57
|
+
variableValue: response.status.message,
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
}),
|
|
61
|
+
]);
|
|
62
|
+
}
|
|
63
|
+
}), catchError((error) => of(updateAutoTransferRuleFailure({
|
|
64
|
+
ruleId,
|
|
65
|
+
fetchState: 'Error',
|
|
66
|
+
error: createZeniAPIStatus('Unexpected Error', 'Update auto transfer rule REST API call errored out ' +
|
|
67
|
+
JSON.stringify(error)),
|
|
68
|
+
}))));
|
|
69
|
+
}));
|
|
@@ -6,7 +6,7 @@ import { fetchTreasuryStatementList } from '../../treasuryStatementList/treasury
|
|
|
6
6
|
import { fetchTreasuryTaxLetterList } from '../../treasuryTaxLetterList/treasuryTaxLetterListReducer';
|
|
7
7
|
import { fetchTreasuryHistory, fetchTreasuryOverviewDetail, fetchTreasurySummaryFailure, fetchTreasurySummarySuccess, fetchTreasuryTransactionList, } from '../treasuryDetailReducer';
|
|
8
8
|
export const fetchTreasuryDetailEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(fetchTreasuryOverviewDetail.match), switchMap((action) => {
|
|
9
|
-
const { cacheOverride } = action.payload;
|
|
9
|
+
const { cacheOverride, fetchOnlySummary } = action.payload;
|
|
10
10
|
const state = state$.value;
|
|
11
11
|
const treasuryActions = [];
|
|
12
12
|
if (cacheOverride === true) {
|
|
@@ -17,7 +17,7 @@ export const fetchTreasuryDetailEpic = (actions$, state$, zeniAPI) => actions$.p
|
|
|
17
17
|
treasuryActions.push(fetchTreasuryHistory());
|
|
18
18
|
treasuryActions.push(fetchTreasuryTransactionList(true));
|
|
19
19
|
}
|
|
20
|
-
else {
|
|
20
|
+
else if (fetchOnlySummary !== true) {
|
|
21
21
|
// Check treasury statement list state
|
|
22
22
|
const treasuryStatementListState = state.treasuryStatementListState;
|
|
23
23
|
if (treasuryStatementListState.hasValidState() === false &&
|
|
@@ -30,10 +30,11 @@ const treasuryDetail = createSlice({
|
|
|
30
30
|
reducer(draft) {
|
|
31
31
|
draft.fetchState = 'In-Progress';
|
|
32
32
|
},
|
|
33
|
-
prepare(cacheOverride) {
|
|
33
|
+
prepare(cacheOverride, fetchOnlySummary) {
|
|
34
34
|
return {
|
|
35
35
|
payload: {
|
|
36
36
|
cacheOverride,
|
|
37
|
+
fetchOnlySummary,
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
40
|
},
|
package/lib/index.d.ts
CHANGED
|
@@ -458,7 +458,7 @@ import { ChargeCardStatementsSelectorView, getChargeCardStatements } from './vie
|
|
|
458
458
|
import { fetchDepositAccountListForCards, fetchIssueCardPage, issueChargeCards, resetIssueChargeCardForm, updateChargeCardsLocalStore, updateCustomAddressId } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer';
|
|
459
459
|
import { IssueChargeCardSelectorView, getIssueChargeCardView } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector';
|
|
460
460
|
import { ActiveChargeCardCount, ActiveDebitCardCount, ActiveDebitCardCountByUserId, IssueChargeCardLocalData, IssueChargeCardState, PhysicalCreditCardData, PhysicalDebitCardData, VirtualCreditCardData, VirtualDebitCardData } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState';
|
|
461
|
-
import { HistoricEvent, HistoricEventUpdate } from './view/spendManagement/commonHistoryView/commonHistory';
|
|
461
|
+
import { CommonHistoryView, HistoricEvent, HistoricEventUpdate } from './view/spendManagement/commonHistoryView/commonHistory';
|
|
462
462
|
import { ActivityHistorySelectorView } from './view/spendManagement/commonHistoryView/commonHistorySelector';
|
|
463
463
|
import { clearSetupViewDataInLocalStore, enableSetup, saveCompnayOfficerAdditionalDocumentsInLocalStore, saveCompnayOfficerPhoneInLocalStore, saveIndustryAndIncDateInLocalStore, saveSetupViewDataInLocalStore, saveTreasuryAdditionalDocumentsInLocalStore, updateBusinessVerificationDetails, updateSelectedCompanyOfficer, updateSetupViewLocalStoreData } from './view/spendManagement/commonSetup/setupViewReducer';
|
|
464
464
|
import { BusinessVerificationDetails, CompanyDetails, CompanyOfficersDetails, FundingAccount, SetupView, getBusinessVerificationDetails, getCommonSetupViewDetails } from './view/spendManagement/commonSetup/setupViewSelector';
|
|
@@ -805,7 +805,7 @@ export { VendorListViewSortKey, VendorViewUIState, VendorListSelectorView, Vendo
|
|
|
805
805
|
export { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName, };
|
|
806
806
|
export { fetchOwnerList };
|
|
807
807
|
export { ZeniAccountsConfigSelectorView, getZeniAccountsConfigDetail, ZeniAccountListSelectorView, getZeniAccountList, fetchZeniAccountList, fetchAccountList, DepositAccount, createCheckingAccount, fetchPaymentAccountList, unlinkPaymentAccount, getDepositAccountDetail, DepositAccountDetailSelectorView, DepositAccountListSelectorView, getAllDepositAccounts, getDepositAccountDetailForPDF, DepositAccountDetailForPDF, fetchDepositAccount, fetchZeniAccountsConfig, AccountHistoryWithBalances, TransferDetailLocalData, ReviewTransferDetail, updateTransferMoneyLocalData, updateTransferToLocalData, updateDepositToLocalData, transferMoney, getTransferDetail, TransferDetailSelectorView, clearTransferDetail, clearReviewTransferDetail, fetchReviewTransferDetail, fetchDepositAccountDetail, DepositAccountTransaction, DepositTransactionStatusCode, DepositTransactionStatus, CheckDepositLocalData, depositCheck, updateCheckDepositLocalData, clearCheckDeposit, CheckDepositSelectorView, getCheckDepositDetail, updateDepositAccount, fetchDepositAccountHistorySuccess, fetchDepositAccountHistoryFailure, DepositAccountUpdateType, ZeniAccountSummaryWithBalance, fetchZeniAccStatementPage, getZeniAccStatements, ZeniAccStatementsSelectorView, ZeniAccountPaymentMethod, };
|
|
808
|
-
export { HistoricEvent, HistoricEventUpdate, ActivityHistorySelectorView };
|
|
808
|
+
export { CommonHistoryView, HistoricEvent, HistoricEventUpdate, ActivityHistorySelectorView, };
|
|
809
809
|
export { ActivityRealTimeApprovalSelectorView, Statement, fetchDepositAccountTransactionList, DepositAccountTransactionListSelectorView, getDepositAccountTransactionList, };
|
|
810
810
|
export { TransactionVendorLocalData, TransactionVendorState, TransactionVendorViewState, };
|
|
811
811
|
export { TransactionVendorSelectorView, getTransactionVendorView, TransactionVendorDetails, };
|
|
@@ -876,6 +876,10 @@ export { TreasuryStatementsSelectorView, getTreasuryStatements, } from './view/s
|
|
|
876
876
|
export { fetchTreasuryTaxLetterList } from './view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer';
|
|
877
877
|
export { TreasuryTaxLettersSelectorView, getTreasuryTaxLetters, } from './view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListSelector';
|
|
878
878
|
export { TreasuryTransactionStatus } from './view/spendManagement/treasury/treasuryList/treasuryDetailPayload';
|
|
879
|
+
export { fetchAutoTransferRules, createAutoTransferRule, updateAutoTransferRule, deleteAutoTransferRule, fetchAutoTransferRuleHistory, updateRuleLocalData, clearRuleUpdateLocalData, } from './view/spendManagement/autotransferRules/autoTransferRulesReducer';
|
|
880
|
+
export { AutoTransferRulesSelectorView, getAutoTransferRules, getAutoTransferRuleById, getAutoTransferRuleHistory, } from './view/spendManagement/autotransferRules/autoTransferRulesSelector';
|
|
881
|
+
export { AutoTransferRule } from './view/spendManagement/autotransferRules/autoTransferRulesState';
|
|
882
|
+
export { AutoTransferRuleType, AutoTransferRuleFrequency, AutoTransferRuleLocalData, } from './view/spendManagement/autotransferRules/autoTransferRulesPayload';
|
|
879
883
|
export type { TransactionActivityLog } from './entity/transactionActivityLog/transactionActivityLogState';
|
|
880
884
|
export { BULK_UPLOAD_AUTOMATCHING_TIMEOUT_MS, BULK_UPLOAD_BAR_COMPLETE_HOLD_MS, } from './view/expenseAutomationView/bulkUploadTiming';
|
|
881
885
|
export { fetchTransactionActivityLog } from './view/transactionActivityLogView/transactionActivityLogViewReducer';
|
package/lib/index.js
CHANGED
|
@@ -68,7 +68,7 @@ exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = expo
|
|
|
68
68
|
exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.clearCardPaymentView = exports.resetCardPaymentErrorStatuses = exports.fetchPaymentSources = exports.addCardPaymentSource = exports.confirmCardSetupIntent = exports.createCardSetupIntent = exports.getAllCardsAndBankPaymentMethods = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.initialTaskDetailLocalData = exports.convertHHMMStrToMinutes = exports.updateTaskFromListView = exports.toDueDateGroupKeyType = exports.toTaskStatusCodeType = exports.toPriorityCodeType = exports.getDueDateValueFromDueDateGroupId = exports.initialTaskDetail = exports.fetchAllTaskGroups = exports.getTaskUpdates = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.updateTaskGroupName = exports.dragNDropTasks = exports.updateTaskListLocalData = exports.deleteTaskGroup = exports.initiateTaskListLocalData = exports.createNewTaskGroup = exports.bulkUpdateTaskList = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = exports.fetchTaskListPage = exports.getAllTasks = exports.getTaskGroupById = exports.toRecurringBillFrequencyStrict = void 0;
|
|
69
69
|
exports.fetchInternationalVerificationForm = exports.createTaskFromTaskGroupTemplate = exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.saveReasonForAuditRule = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getUserFromAllUsers = void 0;
|
|
70
70
|
exports.clearSession = exports.addQuestionPayload = exports.upsertOrAddQuestionAnswerPayload = exports.upsertAnswerPayload = exports.setSessions = exports.setNewSession = exports.getSuggestedQuestionsForPageContext = exports.getAiCfoView = exports.clearAiCfoSidePanelHostPageContext = exports.applyAiCfoSidePanelHostPageTransition = exports.fetchSuggestedQuestionsFailure = exports.fetchSuggestedQuestionsSuccess = exports.fetchSuggestedQuestions = exports.updateResponseState = exports.deleteChatSession = exports.acceptMasterTOS = exports.fetchChatHistory = exports.stopSubmitQuestion = exports.stopSubmit = exports.createSessionAndSubmit = exports.clearLastContextMessage = exports.clearDeleteChatSessionStatus = exports.clearCurrentSessionId = exports.clearAiCfoView = exports.setSession = exports.clearInput = exports.updateCotCollapsedState = exports.updateCurrentInput = exports.updateAiCfoViewScrollPosition = exports.submitQuestion = exports.createSession = exports.fetchChatSessionsForUser = exports.getTreasuryFundsMaximumYield = exports.getTreasurySetupViewDetails = exports.updateTreasuryVideoViewed = exports.updateFundAllocationLocalData = exports.fetchPortfolioAllocation = exports.updatePortfolioAllocation = exports.fetchTreasuryFunds = exports.clearTreasurySetupView = exports.fetchTreasurySetupView = exports.acceptTreasuryTerms = exports.getExpressPayView = exports.resetExpressPayLocalData = exports.submitExpressPay = exports.updateExpressPayFormLocalData = exports.fetchExpressPayInitialDetails = exports.getIntlWireVerificationView = exports.updateVerificationFormLocalData = exports.submitInternationalVerificationForm = void 0;
|
|
71
|
-
exports.getTransactionActivityLogView = exports.fetchTransactionActivityLog = exports.BULK_UPLOAD_BAR_COMPLETE_HOLD_MS = exports.BULK_UPLOAD_AUTOMATCHING_TIMEOUT_MS = exports.getTreasuryTaxLetters = exports.fetchTreasuryTaxLetterList = exports.getTreasuryStatements = exports.fetchTreasuryStatementList = exports.getTreasuryTransferMoney = exports.clearTreasuryTransferMoney = exports.updateTreasuryTransferMoneyLocalData = exports.executeTreasuryTransferMoney = exports.getTreasuryDetail = exports.updateTreasuryTransactionListUIState = exports.fetchTreasuryTransactionList = exports.fetchTreasuryOverviewDetail = exports.toMessageType = exports.toMessageSender = exports.toAiCfoAnswerResponseTypeStrict = exports.toAiCfoAnswerResponseType = exports.toAiCfoAnswerStateTypeStrict = exports.toAiCfoAnswerStateType = exports.toAiCfoChartTypeStrict = exports.toAiCfoChartType = exports.toAiCfoVisualizationTypeStrict = exports.toAiCfoVisualizationType = exports.ALL_AI_CFO_ANSWER_RESPONSE_TYPES = exports.ALL_AI_CFO_ANSWER_STATE_TYPES = exports.ALL_AI_CFO_VISUALIZATION_TYPES = exports.ALL_AI_CFO_CHARTS_TYPES = exports.getAiCfoSelectorView = exports.getAllQuestionsForChatSession = exports.getQuestionAnswerByIdForChatSession = exports.getAllQuestionAnswersForChatSession = exports.toAiCfoVisualization = exports.clearAiCfo = void 0;
|
|
71
|
+
exports.getTransactionActivityLogView = exports.fetchTransactionActivityLog = exports.BULK_UPLOAD_BAR_COMPLETE_HOLD_MS = exports.BULK_UPLOAD_AUTOMATCHING_TIMEOUT_MS = exports.getAutoTransferRuleHistory = exports.getAutoTransferRuleById = exports.getAutoTransferRules = exports.clearRuleUpdateLocalData = exports.updateRuleLocalData = exports.fetchAutoTransferRuleHistory = exports.deleteAutoTransferRule = exports.updateAutoTransferRule = exports.createAutoTransferRule = exports.fetchAutoTransferRules = exports.getTreasuryTaxLetters = exports.fetchTreasuryTaxLetterList = exports.getTreasuryStatements = exports.fetchTreasuryStatementList = exports.getTreasuryTransferMoney = exports.clearTreasuryTransferMoney = exports.updateTreasuryTransferMoneyLocalData = exports.executeTreasuryTransferMoney = exports.getTreasuryDetail = exports.updateTreasuryTransactionListUIState = exports.fetchTreasuryTransactionList = exports.fetchTreasuryOverviewDetail = exports.toMessageType = exports.toMessageSender = exports.toAiCfoAnswerResponseTypeStrict = exports.toAiCfoAnswerResponseType = exports.toAiCfoAnswerStateTypeStrict = exports.toAiCfoAnswerStateType = exports.toAiCfoChartTypeStrict = exports.toAiCfoChartType = exports.toAiCfoVisualizationTypeStrict = exports.toAiCfoVisualizationType = exports.ALL_AI_CFO_ANSWER_RESPONSE_TYPES = exports.ALL_AI_CFO_ANSWER_STATE_TYPES = exports.ALL_AI_CFO_VISUALIZATION_TYPES = exports.ALL_AI_CFO_CHARTS_TYPES = exports.getAiCfoSelectorView = exports.getAllQuestionsForChatSession = exports.getQuestionAnswerByIdForChatSession = exports.getAllQuestionAnswersForChatSession = exports.toAiCfoVisualization = exports.clearAiCfo = void 0;
|
|
72
72
|
const allowedValue_1 = require("./commonStateTypes/allowedValue");
|
|
73
73
|
Object.defineProperty(exports, "isAllowedValueWithCode", { enumerable: true, get: function () { return allowedValue_1.isAllowedValueWithCode; } });
|
|
74
74
|
Object.defineProperty(exports, "isAllowedValueWithID", { enumerable: true, get: function () { return allowedValue_1.isAllowedValueWithID; } });
|
|
@@ -2135,6 +2135,18 @@ var treasuryTaxLetterListReducer_1 = require("./view/spendManagement/treasury/tr
|
|
|
2135
2135
|
Object.defineProperty(exports, "fetchTreasuryTaxLetterList", { enumerable: true, get: function () { return treasuryTaxLetterListReducer_1.fetchTreasuryTaxLetterList; } });
|
|
2136
2136
|
var treasuryTaxLetterListSelector_1 = require("./view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListSelector");
|
|
2137
2137
|
Object.defineProperty(exports, "getTreasuryTaxLetters", { enumerable: true, get: function () { return treasuryTaxLetterListSelector_1.getTreasuryTaxLetters; } });
|
|
2138
|
+
var autoTransferRulesReducer_1 = require("./view/spendManagement/autotransferRules/autoTransferRulesReducer");
|
|
2139
|
+
Object.defineProperty(exports, "fetchAutoTransferRules", { enumerable: true, get: function () { return autoTransferRulesReducer_1.fetchAutoTransferRules; } });
|
|
2140
|
+
Object.defineProperty(exports, "createAutoTransferRule", { enumerable: true, get: function () { return autoTransferRulesReducer_1.createAutoTransferRule; } });
|
|
2141
|
+
Object.defineProperty(exports, "updateAutoTransferRule", { enumerable: true, get: function () { return autoTransferRulesReducer_1.updateAutoTransferRule; } });
|
|
2142
|
+
Object.defineProperty(exports, "deleteAutoTransferRule", { enumerable: true, get: function () { return autoTransferRulesReducer_1.deleteAutoTransferRule; } });
|
|
2143
|
+
Object.defineProperty(exports, "fetchAutoTransferRuleHistory", { enumerable: true, get: function () { return autoTransferRulesReducer_1.fetchAutoTransferRuleHistory; } });
|
|
2144
|
+
Object.defineProperty(exports, "updateRuleLocalData", { enumerable: true, get: function () { return autoTransferRulesReducer_1.updateRuleLocalData; } });
|
|
2145
|
+
Object.defineProperty(exports, "clearRuleUpdateLocalData", { enumerable: true, get: function () { return autoTransferRulesReducer_1.clearRuleUpdateLocalData; } });
|
|
2146
|
+
var autoTransferRulesSelector_1 = require("./view/spendManagement/autotransferRules/autoTransferRulesSelector");
|
|
2147
|
+
Object.defineProperty(exports, "getAutoTransferRules", { enumerable: true, get: function () { return autoTransferRulesSelector_1.getAutoTransferRules; } });
|
|
2148
|
+
Object.defineProperty(exports, "getAutoTransferRuleById", { enumerable: true, get: function () { return autoTransferRulesSelector_1.getAutoTransferRuleById; } });
|
|
2149
|
+
Object.defineProperty(exports, "getAutoTransferRuleHistory", { enumerable: true, get: function () { return autoTransferRulesSelector_1.getAutoTransferRuleHistory; } });
|
|
2138
2150
|
var bulkUploadTiming_1 = require("./view/expenseAutomationView/bulkUploadTiming");
|
|
2139
2151
|
Object.defineProperty(exports, "BULK_UPLOAD_AUTOMATCHING_TIMEOUT_MS", { enumerable: true, get: function () { return bulkUploadTiming_1.BULK_UPLOAD_AUTOMATCHING_TIMEOUT_MS; } });
|
|
2140
2152
|
Object.defineProperty(exports, "BULK_UPLOAD_BAR_COMPLETE_HOLD_MS", { enumerable: true, get: function () { return bulkUploadTiming_1.BULK_UPLOAD_BAR_COMPLETE_HOLD_MS; } });
|
package/lib/reducer.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ import { ScheduleAccruedDetailViewState } from './view/scheduleView/scheduleAccr
|
|
|
132
132
|
import { ScheduleDetailViewState } from './view/scheduleView/scheduleDetailView/scheduleDetailState';
|
|
133
133
|
import { ScheduleListViewState } from './view/scheduleView/scheduleListView/scheduleListState';
|
|
134
134
|
import { SettingsViewState } from './view/settingsView/settingsViewState';
|
|
135
|
+
import { AutoTransferRulesState } from './view/spendManagement/autotransferRules/autoTransferRulesState';
|
|
135
136
|
import { BillDetailViewState } from './view/spendManagement/billPay/billDetailView/billDetailViewState';
|
|
136
137
|
import { BillListState } from './view/spendManagement/billPay/billList/billListState';
|
|
137
138
|
import { BillPayConfigState } from './view/spendManagement/billPay/billPayConfig/billPayConfigState';
|
|
@@ -288,6 +289,7 @@ type ViewsState = {
|
|
|
288
289
|
arAgingState: ArAgingState;
|
|
289
290
|
auditReportViewState: AuditReportViewState;
|
|
290
291
|
authenticationViewState: AuthenticationViewState;
|
|
292
|
+
autotransferRulesState: AutoTransferRulesState;
|
|
291
293
|
balanceSheetState: BalanceSheetState;
|
|
292
294
|
bankAccountViewState: BankAccountViewState;
|
|
293
295
|
billDetailViewState: BillDetailViewState;
|
|
@@ -441,6 +443,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
441
443
|
arAgingState: ArAgingState;
|
|
442
444
|
auditReportViewState: AuditReportViewState;
|
|
443
445
|
authenticationViewState: AuthenticationViewState;
|
|
446
|
+
autotransferRulesState: AutoTransferRulesState;
|
|
444
447
|
balanceSheetState: BalanceSheetState;
|
|
445
448
|
bankAccountViewState: BankAccountViewState;
|
|
446
449
|
billDetailViewState: BillDetailViewState;
|
package/lib/reducer.js
CHANGED
|
@@ -173,6 +173,7 @@ const scheduleAccruedDetailReducer_1 = __importStar(require("./view/scheduleView
|
|
|
173
173
|
const scheduleDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleDetailView/scheduleDetailReducer"));
|
|
174
174
|
const scheduleListReducer_1 = __importStar(require("./view/scheduleView/scheduleListView/scheduleListReducer"));
|
|
175
175
|
const settingsViewReducer_1 = __importStar(require("./view/settingsView/settingsViewReducer"));
|
|
176
|
+
const autoTransferRulesReducer_1 = __importStar(require("./view/spendManagement/autotransferRules/autoTransferRulesReducer"));
|
|
176
177
|
const billDetailViewReducer_1 = __importStar(require("./view/spendManagement/billPay/billDetailView/billDetailViewReducer"));
|
|
177
178
|
const billListReducer_1 = __importStar(require("./view/spendManagement/billPay/billList/billListReducer"));
|
|
178
179
|
const billPayConfigReducer_1 = __importStar(require("./view/spendManagement/billPay/billPayConfig/billPayConfigReducer"));
|
|
@@ -331,6 +332,7 @@ const initialViewsState = {
|
|
|
331
332
|
arAgingState: arAgingReducer_1.initialState,
|
|
332
333
|
auditReportViewState: auditReportViewReducer_1.initialState,
|
|
333
334
|
authenticationViewState: authenticationViewReducer_1.initialState,
|
|
335
|
+
autotransferRulesState: autoTransferRulesReducer_1.initialState,
|
|
334
336
|
balanceSheetState: balanceSheetReducer_1.initialState,
|
|
335
337
|
bankAccountViewState: bankAccountViewReducer_1.initialState,
|
|
336
338
|
billDetailViewState: billDetailViewReducer_1.initialState,
|
|
@@ -555,6 +557,7 @@ const viewReducers = {
|
|
|
555
557
|
arAgingState: arAgingReducer_1.default,
|
|
556
558
|
auditReportViewState: auditReportViewReducer_1.default,
|
|
557
559
|
authenticationViewState: authenticationViewReducer_1.default,
|
|
560
|
+
autotransferRulesState: autoTransferRulesReducer_1.default,
|
|
558
561
|
balanceSheetState: balanceSheetReducer_1.default,
|
|
559
562
|
bankAccountViewState: bankAccountViewReducer_1.default,
|
|
560
563
|
billDetailViewState: billDetailViewReducer_1.default,
|