tango-app-api-client 3.3.0-beta.3 → 3.3.0-beta.4
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.0-beta.
|
|
3
|
+
"version": "3.3.0-beta.4",
|
|
4
4
|
"description": "client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
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.
|
|
28
|
+
"tango-api-schema": "^2.1.31",
|
|
29
29
|
"tango-app-api-middleware": "^3.1.30",
|
|
30
30
|
"winston": "^3.11.0",
|
|
31
31
|
"winston-daily-rotate-file": "^5.0.0"
|
|
@@ -867,6 +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
871
|
} );
|
|
871
872
|
|
|
872
873
|
let updateKeys = [];
|
package/src/dtos/client.dtos.js
CHANGED
|
@@ -113,6 +113,10 @@ export const featureConfigurationSchemaBody = joi.object(
|
|
|
113
113
|
isCameraDisabled: joi.boolean().optional(),
|
|
114
114
|
isbillingDisabled: joi.boolean().optional(),
|
|
115
115
|
isNewDashboard: joi.boolean().optional(),
|
|
116
|
+
isFootfallAuditStores: joi.boolean().optional(),
|
|
117
|
+
isNewTraffic: joi.boolean().optional(),
|
|
118
|
+
isNewZone: joi.boolean().optional(),
|
|
119
|
+
isNewReports: joi.boolean().optional(),
|
|
116
120
|
},
|
|
117
121
|
);
|
|
118
122
|
|
|
@@ -133,7 +133,8 @@ export function featureConfigurationUpdate( {
|
|
|
133
133
|
close, conversionCalculation, conversionCondition,
|
|
134
134
|
conversionValue, infraAlertCondition, infraAlertValue, isFootfallDirectory,
|
|
135
135
|
isNormalized, isPasserByData, missedOpportunityCalculation, open, isExcludedArea,
|
|
136
|
-
isCameraDisabled, isbillingDisabled, isNewDashboard,
|
|
136
|
+
isCameraDisabled, isbillingDisabled, isNewDashboard, isFootfallAuditStores, isNewTraffic,
|
|
137
|
+
isNewZone, isNewReports,
|
|
137
138
|
} ) {
|
|
138
139
|
return clientModel.updateOne( { clientId: clientId },
|
|
139
140
|
{
|
|
@@ -157,6 +158,10 @@ export function featureConfigurationUpdate( {
|
|
|
157
158
|
'featureConfigs.isCameraDisabled': isCameraDisabled,
|
|
158
159
|
'featureConfigs.isbillingDisabled': isbillingDisabled,
|
|
159
160
|
'featureConfigs.isNewDashboard': isNewDashboard,
|
|
161
|
+
'featureConfigs.isFootfallAuditStores': isFootfallAuditStores,
|
|
162
|
+
'featureConfigs.isNewTraffic': isNewTraffic,
|
|
163
|
+
'featureConfigs.isNewZone': isNewZone,
|
|
164
|
+
'featureConfigs.isNewReports': isNewReports,
|
|
160
165
|
},
|
|
161
166
|
} );
|
|
162
167
|
}
|