tango-app-api-analysis-zone 3.7.1-alpha.5 → 3.7.1-alpha.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-analysis-zone",
3
- "version": "3.7.1-alpha.5",
3
+ "version": "3.7.1-alpha.7",
4
4
  "description": "zone Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -818,12 +818,7 @@ export const getZoneAPIFFV2 = async ( req, res ) => {
818
818
  let LamdaURL = 'https://kxz75vd4lsgpf4ykytgmyllmoa0xwixt.lambda-url.ap-south-1.on.aws/';
819
819
  let resultData = await LamdaServiceCall( LamdaURL, reqestData );
820
820
  if ( resultData ) {
821
- // if ( resultData. == '200' ) {
822
- // console.log( 'resultData =>', resultData );
823
821
  return res.sendSuccess( resultData );
824
- // } else {
825
- // return res.sendError( 'No Content', 204 );
826
- // }
827
822
  } else {
828
823
  return res.sendError( 'No Content', 204 );
829
824
  }
@@ -840,7 +835,6 @@ export const getNewZoneFFV2 = async ( req, res ) => {
840
835
  let resultData = await LamdaServiceCall( LamdaURL, reqestData );
841
836
  if ( resultData ) {
842
837
  if ( resultData.status_code == '200' ) {
843
- // console.log( 'resultData =>', resultData );
844
838
  return res.sendSuccess( resultData );
845
839
  } else {
846
840
  return res.sendError( 'No Content', 204 );
@@ -861,7 +855,6 @@ export const getSelectedZoneFFV2 = async ( req, res ) => {
861
855
  if ( resultData ) {
862
856
  if ( resultData.status_code == '200' ) {
863
857
  if ( reqestData.export ) {
864
- console.log( resultData, 'resultData' );
865
858
  const exportdata = [];
866
859
  const element = resultData.data;
867
860
  const row = {
@@ -104,7 +104,7 @@ export const zoneSummaryTableV2 = async ( req, res ) => {
104
104
  'StoreId': element.storeId,
105
105
  'Date': element.date,
106
106
  'Zone Name': element.zoneName,
107
- 'Zone Conc.Rate': element.concentrationRate,
107
+ 'Impression Rate': element.impressionRate,
108
108
  'Avg Dwell Time': element.avgDwellTime,
109
109
  'Zone FF': element.footfallCount,
110
110
  'Zone Bounced': element.bouncedCount,