tango-app-api-client 3.3.0-beta.5 → 3.3.1-beta.1
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-client",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1-beta.1",
|
|
4
4
|
"description": "client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"mongodb": "^6.3.0",
|
|
26
26
|
"nodemon": "^3.0.3",
|
|
27
27
|
"swagger-ui-express": "^5.0.0",
|
|
28
|
-
"tango-api-schema": "^2.1.
|
|
29
|
-
"tango-app-api-middleware": "^3.1.
|
|
28
|
+
"tango-api-schema": "^2.1.34",
|
|
29
|
+
"tango-app-api-middleware": "^3.1.42",
|
|
30
30
|
"winston": "^3.11.0",
|
|
31
31
|
"winston-daily-rotate-file": "^5.0.0"
|
|
32
32
|
},
|
|
@@ -867,7 +867,7 @@ export async function updateFeatureConfiguration( req, res ) {
|
|
|
867
867
|
conversionValue: req.body?.conversionValue, infraAlertCondition: req.body?.infraAlertCondition, infraAlertValue: req.body?.infraAlertValue, isFootfallDirectory: req.body?.isFootfallDirectory,
|
|
868
868
|
isNormalized: req.body?.isNormalized, isPasserByData: req.body?.isPasserByData, missedOpportunityCalculation: req.body?.missedOpportunityCalculation, open: req.body?.open,
|
|
869
869
|
isExcludedArea: req.body?.isExcludedArea, isCameraDisabled: req.body?.isCameraDisabled, isbillingDisabled: req.body?.isbillingDisabled, isNewDashboard: req.body?.isNewDashboard,
|
|
870
|
-
isFootfallAuditStores: req.body?.isFootfallAuditStores, isNewTraffic: req.body?.isNewTraffic, isNewZone: req.body?.isNewZone, isNewReports: req.body?.isNewReports,
|
|
870
|
+
isFootfallAuditStores: req.body?.isFootfallAuditStores, isNewTraffic: req.body?.isNewTraffic, isNewZone: req.body?.isNewZone, isNewReports: req.body?.isNewReports, isNOB: req.body?.isNOB, isNewZoneV2: req.body?.isNewZoneV2,
|
|
871
871
|
} );
|
|
872
872
|
|
|
873
873
|
let updateKeys = [];
|
package/src/dtos/client.dtos.js
CHANGED
|
@@ -117,6 +117,8 @@ export const featureConfigurationSchemaBody = joi.object(
|
|
|
117
117
|
isNewTraffic: joi.boolean().optional(),
|
|
118
118
|
isNewZone: joi.boolean().optional(),
|
|
119
119
|
isNewReports: joi.boolean().optional(),
|
|
120
|
+
isNOB: joi.boolean().optional(),
|
|
121
|
+
isNewZoneV2: joi.boolean().optional(),
|
|
120
122
|
},
|
|
121
123
|
);
|
|
122
124
|
|
|
@@ -134,7 +134,7 @@ export function featureConfigurationUpdate( {
|
|
|
134
134
|
conversionValue, infraAlertCondition, infraAlertValue, isFootfallDirectory,
|
|
135
135
|
isNormalized, isPasserByData, missedOpportunityCalculation, open, isExcludedArea,
|
|
136
136
|
isCameraDisabled, isbillingDisabled, isNewDashboard, isFootfallAuditStores, isNewTraffic,
|
|
137
|
-
isNewZone, isNewReports,
|
|
137
|
+
isNewZone, isNewReports, isNOB, isNewZoneV2,
|
|
138
138
|
} ) {
|
|
139
139
|
return clientModel.updateOne( { clientId: clientId },
|
|
140
140
|
{
|
|
@@ -162,6 +162,8 @@ export function featureConfigurationUpdate( {
|
|
|
162
162
|
'featureConfigs.isNewTraffic': isNewTraffic,
|
|
163
163
|
'featureConfigs.isNewZone': isNewZone,
|
|
164
164
|
'featureConfigs.isNewReports': isNewReports,
|
|
165
|
+
'featureConfigs.isNOB': isNOB,
|
|
166
|
+
'featureConfigs.isNewZoneV2': isNewZoneV2,
|
|
165
167
|
},
|
|
166
168
|
} );
|
|
167
169
|
}
|