@zeniai/client-epic-state 4.19.1-betaVR1 → 4.19.1

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.
@@ -19,17 +19,12 @@ const fetchEntityRecommendationsByTransactionIdEpic = (actions$, state$, zeniAPI
19
19
  transaction_id: (0, transactionDetailState_1.getActualTransactionID)(transactionDetails.transactionId.id),
20
20
  transaction_type: transactionDetails.transaction.type,
21
21
  line_ids: transactionDetails.lineIds,
22
- entity_name: entity.name,
23
- entity_type: entity.type,
24
22
  };
25
23
  if (isFetchCOT === true) {
26
24
  query.include_cot = true;
27
25
  }
28
- const recommendationUrl = entity.qboId === entity.name // eneity id null case handle here
29
- ? `${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/recommendations?query=${encodeURIComponent(JSON.stringify(query))}`
30
- : `${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/${(0, exports.toEntityTypeURL)(entity.type)}/${entity.qboId}/recommendations?query=${encodeURIComponent(JSON.stringify(query))}`;
31
26
  return zeniAPI
32
- .getJSON(recommendationUrl)
27
+ .getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/${(0, exports.toEntityTypeURL)(entity.type)}/${entity.qboId}/recommendations?query=${encodeURIComponent(JSON.stringify(query))}`)
33
28
  .pipe((0, operators_1.mergeMap)((response) => {
34
29
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
35
30
  const actions = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.19.1-betaVR1",
3
+ "version": "4.19.1",
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",