tango-app-api-analysis-zone 3.7.1-alpha.16 → 3.7.1-alpha.18
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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-app-api-analysis-zone",
|
|
3
|
-
"version": "3.7.1-alpha.
|
|
3
|
+
"version": "3.7.1-alpha.18",
|
|
4
4
|
"description": "zone Analysis",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"start": "nodemon --exec \"eslint --fix . && node
|
|
8
|
+
"start": "nodemon --exec \"eslint --fix . && node app.js\""
|
|
9
9
|
},
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": ">=18.10.0"
|
|
@@ -228,7 +228,7 @@ export const zoneHeatmapAvailableDatesV1 = async ( req, res ) => {
|
|
|
228
228
|
// }
|
|
229
229
|
// }
|
|
230
230
|
|
|
231
|
-
let LamdaURL = 'https://
|
|
231
|
+
let LamdaURL = 'https://slne2wkzhofdwu47gdx6ud2n5a0sbcle.lambda-url.ap-south-1.on.aws/';
|
|
232
232
|
let resultData = await LamdaServiceCall( LamdaURL, reqestData );
|
|
233
233
|
if ( resultData ) {
|
|
234
234
|
if ( resultData.status_code == '200' ) {
|
|
@@ -248,7 +248,7 @@ export const zoneHeatmapAvailableDatesV1 = async ( req, res ) => {
|
|
|
248
248
|
export const zoneHeatmapDatasV1 = async ( req, res ) => {
|
|
249
249
|
try {
|
|
250
250
|
let reqestData = req.body;
|
|
251
|
-
let LamdaURL = 'https://
|
|
251
|
+
let LamdaURL = 'https://4qkv2lyncjq6qnn37vykvsznze0bvlgc.lambda-url.ap-south-1.on.aws/';
|
|
252
252
|
let resultData = await LamdaServiceCall( LamdaURL, reqestData );
|
|
253
253
|
if ( resultData ) {
|
|
254
254
|
if ( resultData.status_code == '200' ) {
|
|
@@ -68,7 +68,7 @@ export const validateZoneConcentrationSummaryTableParams = {
|
|
|
68
68
|
|
|
69
69
|
export const validateZoneHeatmapAvailableDatesSchema = joi.object( {
|
|
70
70
|
...baseSchema,
|
|
71
|
-
zoneName: joi.
|
|
71
|
+
zoneName: joi.any().required(),
|
|
72
72
|
dateType: joi.string().required(),
|
|
73
73
|
} );
|
|
74
74
|
|
|
@@ -78,7 +78,7 @@ export const validateZoneHeatmapAvailableDatesParams = {
|
|
|
78
78
|
|
|
79
79
|
export const validateZoneHeatmapDatasSchema = joi.object( {
|
|
80
80
|
...baseSchema,
|
|
81
|
-
zoneName: joi.
|
|
81
|
+
zoneName: joi.any().required(),
|
|
82
82
|
dateType: joi.string().required(),
|
|
83
83
|
zoneDate: joi.string().required(),
|
|
84
84
|
} );
|