@zeniai/client-epic-state 4.13.41 → 4.13.43

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.
@@ -15,7 +15,8 @@ const reviewFluxAnalysisViewEpic = (actions$, _state$, zeniAPI) => actions$.pipe
15
15
  const { actionType, operatingExpenseIds, selectedPeriod, isBulk } = action.payload;
16
16
  const payload = Object.assign({}, getReviewFluxPayload(actionType, operatingExpenseIds));
17
17
  return zeniAPI
18
- .putAndGetJSON(`https://qa.api.zeni.ai/version/accounting/komal/1.0/month-close/flux-analysis`, payload)
18
+ .putAndGetJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/month-close/flux-analysis
19
+ `, payload)
19
20
  .pipe((0, operators_1.mergeMap)((response) => {
20
21
  var _a, _b;
21
22
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
@@ -69,7 +69,7 @@ const toTransactionUpdatesFromTransactionCategorizationLocalData = (transactionC
69
69
  : (_k = accountLine.vendor) === null || _k === void 0 ? void 0 : _k.id
70
70
  : undefined;
71
71
  if (entityDetails != null &&
72
- (updatedEntityId != null || updatedLineEntityId != null)) {
72
+ (hasCategoryChanged === true || hasClassChanged === true)) {
73
73
  lastUpdatedCategory =
74
74
  hasCategoryChanged === true ? recommendedAccountBase : undefined;
75
75
  lastUpdatedClass =
@@ -94,9 +94,6 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
94
94
  scrollLeft: undefined,
95
95
  };
96
96
  }
97
- if (action.payload.keepExistingListItems === false) {
98
- draft[selectedTab].selectedCheckBoxTransactionIds = [];
99
- }
100
97
  draft[selectedTab].uiState.pageToken = (_a = action.payload.pageToken) !== null && _a !== void 0 ? _a : null;
101
98
  draft[selectedTab].uiState.searchString =
102
99
  (_b = action.payload.searchString) !== null && _b !== void 0 ? _b : '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.13.41",
3
+ "version": "4.13.43",
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
  "types": "lib/index.d.ts",