tango-app-api-analysis-zone 3.7.1-alpha.6 → 3.7.1-alpha.8

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.6",
3
+ "version": "3.7.1-alpha.8",
4
4
  "description": "zone Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -108,7 +108,7 @@ export const zoneSummaryTableV1 = async ( req, res ) => {
108
108
  try {
109
109
  let reqestData = req.body;
110
110
  if ( reqestData.export ) {
111
- reqestData.limit = 1000;
111
+ reqestData.limit = 10000;
112
112
  }
113
113
  let LamdaURL = 'https://hxpnn5weq3lm4nqouk4pjm3chy0jmqdb.lambda-url.ap-south-1.on.aws/';
114
114
  let resultData = await LamdaServiceCall( LamdaURL, reqestData );
@@ -138,7 +138,7 @@ export const zoneSummaryTableV1 = async ( req, res ) => {
138
138
  'Female': element.femaleCount,
139
139
  } );
140
140
  } );
141
- return await download( exportdata, res );
141
+ return await downloadint( exportdata, res );
142
142
  } else {
143
143
  return res.sendError( 'No Content', 204 );
144
144
  }
@@ -1,4 +1,4 @@
1
- import { logger, download } from 'tango-app-api-middleware';
1
+ import { logger, downloadint } from 'tango-app-api-middleware';
2
2
  import { findOneUserAssignedStore } from '../services/userAssignedStore.service.js';
3
3
 
4
4
  // Lamda Service Call //
@@ -89,7 +89,7 @@ export const zoneSummaryTableV2 = async ( req, res ) => {
89
89
  try {
90
90
  let reqestData = req.body;
91
91
  if ( reqestData.export ) {
92
- reqestData.limit = 1000;
92
+ reqestData.limit = 10000;
93
93
  }
94
94
  let LamdaURL = 'https://obtvnopiiuwlsrjygprlvjp2p40wokyd.lambda-url.ap-south-1.on.aws/';
95
95
  let resultData = await LamdaServiceCall( LamdaURL, reqestData );
@@ -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,
@@ -119,7 +119,7 @@ export const zoneSummaryTableV2 = async ( req, res ) => {
119
119
  'Female': element.femaleCount,
120
120
  } );
121
121
  } );
122
- return await download( exportdata, res );
122
+ return await downloadint( exportdata, res );
123
123
  } else {
124
124
  return res.sendError( 'No Content', 204 );
125
125
  }