tango-app-api-analysis-zone 3.1.11 → 3.1.13

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.1.11",
3
+ "version": "3.1.13",
4
4
  "description": "zone Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -80,7 +80,7 @@ export const topPerformingStoresV1 = async ( req, res ) => {
80
80
  'Store Name': element.storeName,
81
81
  'Zone Name': element.zoneName,
82
82
  'Concentration': element.concentrationRate,
83
- 'Avg Dwell Time': element.avgDwellTime,
83
+ 'Avg Dwell Time (Mins)': element.avgDwellTime,
84
84
  'Overall Footfall': element.overallFootfall,
85
85
  'Zone Footfall': element.zoneFootfall,
86
86
  } );
@@ -124,7 +124,7 @@ export const zoneSummaryTableV1 = async ( req, res ) => {
124
124
  'Store Name': element.storeName,
125
125
  'Store ID': element.storeId,
126
126
  'Zone Conc.Rate': element.concentrationRate,
127
- 'Avg Dwell Time': element.avgDwellTime,
127
+ 'Avg Dwell Time (Mins)': element.avgDwellTime,
128
128
  'Zone FF': element.footfallCount,
129
129
  'Zone Bounced': element.bouncedCount,
130
130
  'Zone Engagers': element.engagersCount,
@@ -591,7 +591,7 @@ export const zoneSegmentationTableExport = async ( req, res ) => {
591
591
  exportdata.push( {
592
592
  'Zone Name': element?.zoneName || '--',
593
593
  'Footfall': element?.footfallCount || '--',
594
- 'Avg.Dwell Time': element?.avgDwellTime || '--',
594
+ 'Avg.Dwell Time (Mins)': element?.avgDwellTime || '--',
595
595
  'Trolley': element?.Trolley ? element?.Trolley: 0,
596
596
  'Basket': element?.Basket ? element?.Basket : 0,
597
597
  } );
@@ -649,6 +649,7 @@ export const zonePasserByTable430Export = async ( req, res ) => {
649
649
  const exportdata = [];
650
650
  resultData.passerByData.forEach( ( element ) => {
651
651
  exportdata.push( {
652
+ 'Date': element?.date_string || '--',
652
653
  'Camera Name': element?.streamName || '--',
653
654
  'Passer-by Count': element?.passerby_count || '--',
654
655
  } );