tango-app-api-client 3.4.0-beta.10 → 3.4.0-beta.11
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.4.0-beta.
|
|
3
|
+
"version": "3.4.0-beta.11",
|
|
4
4
|
"description": "client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"nodemon": "^3.0.3",
|
|
27
27
|
"npm": "^10.9.1",
|
|
28
28
|
"swagger-ui-express": "^5.0.0",
|
|
29
|
-
"tango-api-schema": "^2.2.
|
|
29
|
+
"tango-api-schema": "^2.2.124",
|
|
30
30
|
"tango-app-api-middleware": "^3.1.67",
|
|
31
31
|
"winston": "^3.11.0",
|
|
32
32
|
"winston-daily-rotate-file": "^5.0.0"
|
|
@@ -1061,6 +1061,7 @@ export async function updateFeatureConfiguration( req, res ) {
|
|
|
1061
1061
|
if ( inputData?.conversionValue ) {
|
|
1062
1062
|
inputData.missedOpportunityToValue = inputData?.conversionValue;
|
|
1063
1063
|
}
|
|
1064
|
+
|
|
1064
1065
|
const updateAck = await featureConfigurationUpdate( { clientId: req.params?.id }, inputData );
|
|
1065
1066
|
|
|
1066
1067
|
// Get updated client Feature configuration after the update operation (fetch selected fields only)
|
|
@@ -1146,6 +1147,7 @@ export async function updateFeatureConfiguration( req, res ) {
|
|
|
1146
1147
|
Zonev2: previousData?.featureConfigs?.isNewZoneV2 == true ? 'Enabled' : 'Disabled',
|
|
1147
1148
|
Reports: previousData?.featureConfigs?.isNewReports == true ? 'Enabled' : 'Disabled',
|
|
1148
1149
|
Trax: previousData?.featureConfigs?.isTrax == true ? 'Enabled' : 'Disabled',
|
|
1150
|
+
Revops: previousData?.featureConfigs?.isRevops == true ? 'Enabled' : 'Disabled',
|
|
1149
1151
|
StreamType: previousData?.featureConfigs?.streamBy == 'Edge' ? 'Edge App' : 'RTSP',
|
|
1150
1152
|
FootfallDirectoryOnlyAudit: previousData?.featureConfigs?.isFootfallDirectoryAudit == true ? 'Enabled' : 'Disabled',
|
|
1151
1153
|
FootfallDirectoryOnlyFew: previousData?.featureConfigs?.isFootfallDirectoryLimit == true ? 'Enabled' : 'Disabled',
|
|
@@ -1182,6 +1184,7 @@ export async function updateFeatureConfiguration( req, res ) {
|
|
|
1182
1184
|
Zonev2: postData?.featureConfigs?.isNewZoneV2 == true ? 'Enabled' : 'Disabled',
|
|
1183
1185
|
Reports: postData?.featureConfigs?.isNewReports == true ? 'Enabled' : 'Disabled',
|
|
1184
1186
|
Trax: postData?.featureConfigs?.isTrax == true ? 'Enabled' : 'Disabled',
|
|
1187
|
+
Revops: postData?.featureConfigs?.isRevops == true ? 'Enabled' : 'Disabled',
|
|
1185
1188
|
StreamType: postData?.featureConfigs?.streamBy == 'Edge' ? 'Edge App' : 'RTSP',
|
|
1186
1189
|
FootfallDirectoryOnlyAudit: postData?.featureConfigs?.isFootfallDirectoryAudit == true ? 'Enabled' : 'Disabled',
|
|
1187
1190
|
FootfallDirectoryOnlyFew: postData?.featureConfigs?.isFootfallDirectoryLimit == true ? 'Enabled' : 'Disabled',
|
package/src/dtos/client.dtos.js
CHANGED
|
@@ -120,6 +120,7 @@ export const featureConfigurationSchemaBody = joi.object(
|
|
|
120
120
|
isNOB: joi.boolean().optional(),
|
|
121
121
|
isNewZoneV2: joi.boolean().optional(),
|
|
122
122
|
isTrax: joi.boolean().optional(),
|
|
123
|
+
isRevops: joi.boolean().optional(),
|
|
123
124
|
isControlCenter: joi.boolean().optional(),
|
|
124
125
|
isFootfallDirectoryAudit: joi.boolean().optional(),
|
|
125
126
|
isFootfallDirectoryLimit: joi.boolean().optional(),
|
|
@@ -160,6 +160,7 @@ export function featureConfigurationUpdate( query, inputData ) {
|
|
|
160
160
|
'featureConfigs.isNOB': inputData?.isNOB,
|
|
161
161
|
'featureConfigs.isNewZoneV2': inputData?.isNewZoneV2,
|
|
162
162
|
'featureConfigs.isTrax': inputData?.isTrax,
|
|
163
|
+
'featureConfigs.isRevops': inputData?.isRevops,
|
|
163
164
|
'featureConfigs.isControlCenter': inputData?.isControlCenter,
|
|
164
165
|
'featureConfigs.isFootfallDirectoryAudit': inputData?.isFootfallDirectoryAudit,
|
|
165
166
|
'featureConfigs.isFootfallDirectoryLimit': inputData?.isFootfallDirectoryLimit,
|