tango-app-api-analysis-traffic 3.8.2-alpha.3 → 3.8.2-alpha.5
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-traffic",
|
|
3
|
-
"version": "3.8.2-alpha.
|
|
3
|
+
"version": "3.8.2-alpha.5",
|
|
4
4
|
"description": "Traffic Analysis",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"nodemon": "^3.1.4",
|
|
25
25
|
"swagger-ui-express": "^5.0.1",
|
|
26
26
|
"tango-api-schema": "^2.2.203",
|
|
27
|
-
"tango-app-api-middleware": "^3.
|
|
27
|
+
"tango-app-api-middleware": "^3.6.5",
|
|
28
28
|
"winston": "^3.13.1",
|
|
29
29
|
"winston-daily-rotate-file": "^5.0.0"
|
|
30
30
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logger, download, signedUrl } from 'tango-app-api-middleware';
|
|
1
|
+
import { logger, download, downloadint, signedUrl } from 'tango-app-api-middleware';
|
|
2
2
|
import * as clientService from '../services/clients.services.js';
|
|
3
3
|
import {
|
|
4
4
|
aggregateStore,
|
|
@@ -1560,7 +1560,7 @@ export const summaryTableV3 = async ( req, res ) => {
|
|
|
1560
1560
|
} );
|
|
1561
1561
|
}
|
|
1562
1562
|
} );
|
|
1563
|
-
return await
|
|
1563
|
+
return await downloadint( exportdata, res );
|
|
1564
1564
|
} else {
|
|
1565
1565
|
return res.sendError( 'No Content', 204 );
|
|
1566
1566
|
}
|
|
@@ -211,6 +211,7 @@ export const validateHeaderSchema = joi.object( {
|
|
|
211
211
|
clientId: joi.string().required().allow( '' ),
|
|
212
212
|
city: joi.array().required(),
|
|
213
213
|
group: joi.array().required(),
|
|
214
|
+
status: joi.array().required(),
|
|
214
215
|
country: joi.array().optional().empty(),
|
|
215
216
|
} );
|
|
216
217
|
|
|
@@ -232,6 +233,7 @@ export const validateCountryHeaderSchemav2 = joi.object( {
|
|
|
232
233
|
clientId: joi.string().required(),
|
|
233
234
|
city: joi.array().optional().allow( '' ),
|
|
234
235
|
clusters: joi.array().optional().allow( '' ),
|
|
236
|
+
status: joi.array().optional().allow( '' ),
|
|
235
237
|
country: joi.array().optional().allow( '' ),
|
|
236
238
|
} );
|
|
237
239
|
export const validateCountryHeaderParamsv2 = {
|