tango-app-api-analysis-zone 3.1.4 → 3.1.6
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
|
@@ -536,8 +536,8 @@ export const zoneInteractionTable430Export = async ( req, res ) => {
|
|
|
536
536
|
'Interation Rate ': element.interaction_rate +'%',
|
|
537
537
|
'Billing Conversion': element.footfall_overamin_inzone || '--',
|
|
538
538
|
'Billing Conversion Rate': element.billing_conversion_rate +'%',
|
|
539
|
-
'Greetings Count':element.greeting_count || '--'
|
|
540
|
-
|
|
539
|
+
'Greetings Count': element.greeting_count || '--',
|
|
540
|
+
'Avg Interaction time': element.avg_interaction_time || '--',
|
|
541
541
|
} );
|
|
542
542
|
} );
|
|
543
543
|
return await download( exportdata, res );
|
|
@@ -245,19 +245,21 @@ export const validatezoneConcentrationTableExportSchema = joi.object( {
|
|
|
245
245
|
export const validatezoneConcentrationTableExportParams = {
|
|
246
246
|
body: validatezoneConcentrationTableExportSchema,
|
|
247
247
|
};
|
|
248
|
-
|
|
249
|
-
body: validateZoneSegmentationExportSchema,
|
|
250
|
-
};
|
|
248
|
+
|
|
251
249
|
export const validateZoneSegmentationExportSchema = joi.object( {
|
|
252
250
|
...baseSchema,
|
|
253
251
|
export: joi.boolean().optional().allow( '' ),
|
|
254
252
|
} );
|
|
255
|
-
|
|
256
|
-
|
|
253
|
+
|
|
254
|
+
export const validateZoneSegmentationExportParams = {
|
|
255
|
+
body: validateZoneSegmentationExportSchema,
|
|
257
256
|
};
|
|
257
|
+
|
|
258
258
|
export const validatezoneInteractionTable430ExportSchema = joi.object( {
|
|
259
259
|
...baseSchema,
|
|
260
260
|
export: joi.boolean().optional().allow( '' ),
|
|
261
261
|
} );
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
export const validatezoneInteractionTable430ExportParams = {
|
|
264
|
+
body: validatezoneInteractionTable430ExportSchema,
|
|
265
|
+
};
|
|
@@ -111,6 +111,6 @@ analysisZoneRouter
|
|
|
111
111
|
userType: [ 'tango', 'client' ], access: [
|
|
112
112
|
{ featureName: 'TangoEye', name: 'ZoneTag', permissions: [] },
|
|
113
113
|
],
|
|
114
|
-
} ), validate( validationDtos.validatezoneInteractionTable430ExportParams ), zoneInteractionTable430Export )
|
|
114
|
+
} ), validate( validationDtos.validatezoneInteractionTable430ExportParams ), zoneInteractionTable430Export );
|
|
115
115
|
|
|
116
116
|
export default analysisZoneRouter;
|