@zeniai/client-epic-state 4.20.3-betaJK7 → 4.20.3-betaJK9
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/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +3 -0
- package/lib/entity/tenant/tenantReducer.d.ts +5 -2
- package/lib/entity/tenant/tenantReducer.js +8 -2
- package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +6 -0
- package/lib/entity/transaction/payloadTypes/transactionPayload.js +61 -0
- package/lib/entity/transaction/stateTypes/transaction.d.ts +6 -0
- package/lib/epic.d.ts +2 -1
- package/lib/epic.js +2 -1
- package/lib/esm/entity/snackbar/snackbarTypes.js +3 -0
- package/lib/esm/entity/tenant/tenantReducer.js +7 -1
- package/lib/esm/entity/transaction/payloadTypes/transactionPayload.js +61 -0
- package/lib/esm/epic.js +2 -1
- package/lib/esm/index.js +3 -3
- package/lib/esm/view/companyView/companyViewReducer.js +26 -1
- package/lib/esm/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +61 -0
- package/lib/esm/view/companyView/types/companyPassport/companyPassportViewState.js +4 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +19 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +21 -0
- package/lib/esm/view/expenseAutomationView/selectors/reconciliationViewSelector.js +2 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +2 -1
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +23 -20
- package/lib/view/companyView/companyViewReducer.d.ts +6 -1
- package/lib/view/companyView/companyViewReducer.js +28 -2
- package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +65 -0
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.d.ts +1 -0
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +4 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.d.ts +2 -1
- package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +19 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.d.ts +2 -1
- package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +21 -0
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.d.ts +1 -0
- package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +2 -0
- package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +2 -1
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +1 -1
- package/package.json +1 -1
|
@@ -258,6 +258,8 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
|
|
|
258
258
|
.transactionFetchState,
|
|
259
259
|
accountListState.byReportId.accountList,
|
|
260
260
|
]),
|
|
261
|
+
accountDetectionReason: accountReconForMonthYearPeriod.reconciliationByAccountID[accountID]
|
|
262
|
+
.accountDetectionReason,
|
|
261
263
|
};
|
|
262
264
|
});
|
|
263
265
|
const accountReconciliationBySectionID = {
|
|
@@ -63,7 +63,8 @@ function mapAutoTransferRuleLocalDataToPayload(localData, pauseRule, resumeRule)
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
const payload = {
|
|
66
|
-
...(localData.amount != null &&
|
|
66
|
+
...(localData.amount != null &&
|
|
67
|
+
localData.ruleType !== 'percentage_of_balance' && {
|
|
67
68
|
amount: localData.amount.amount,
|
|
68
69
|
currency_code: localData.amount.currencyCode,
|
|
69
70
|
}),
|
package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js
CHANGED
|
@@ -28,7 +28,7 @@ const fetchAutoTransferReviewDetailEpic = (actions$, state$, zeniAPI) => actions
|
|
|
28
28
|
}),
|
|
29
29
|
};
|
|
30
30
|
return zeniAPI
|
|
31
|
-
.postAndGetJSON(`${zeniAPI.apiEndPoints.bankingMicroServiceBaseUrl}/1.0/
|
|
31
|
+
.postAndGetJSON(`${zeniAPI.apiEndPoints.bankingMicroServiceBaseUrl}/1.0/deposit-accounts/transfers/review`, payload)
|
|
32
32
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
33
33
|
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
34
34
|
return (0, rxjs_1.of)((0, autoTransferRulesReducer_1.updateAutoTransferReviewDetail)(response.data));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.20.3-
|
|
3
|
+
"version": "4.20.3-betaJK9",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|