tango-app-api-client 3.3.1 → 3.3.2

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.1",
3
+ "version": "3.3.2",
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.58",
28
+ "tango-api-schema": "^2.1.59",
29
29
  "tango-app-api-middleware": "^3.1.45",
30
30
  "winston": "^3.11.0",
31
31
  "winston-daily-rotate-file": "^5.0.0"
@@ -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, isNOB: req.body?.isNOB, isNewZoneV2: req.body?.isNewZoneV2,
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, isTrax: req.body?.isTrax,
871
871
  } );
872
872
 
873
873
  let updateKeys = [];
@@ -119,6 +119,7 @@ export const featureConfigurationSchemaBody = joi.object(
119
119
  isNewReports: joi.boolean().optional(),
120
120
  isNOB: joi.boolean().optional(),
121
121
  isNewZoneV2: joi.boolean().optional(),
122
+ isTrax: joi.boolean().optional(),
122
123
  },
123
124
  );
124
125
 
@@ -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, isNOB, isNewZoneV2,
137
+ isNewZone, isNewReports, isNOB, isNewZoneV2, isTrax,
138
138
  } ) {
139
139
  return clientModel.updateOne( { clientId: clientId },
140
140
  {
@@ -164,6 +164,7 @@ export function featureConfigurationUpdate( {
164
164
  'featureConfigs.isNewReports': isNewReports,
165
165
  'featureConfigs.isNOB': isNOB,
166
166
  'featureConfigs.isNewZoneV2': isNewZoneV2,
167
+ 'featureConfigs.isTrax': isTrax,
167
168
  },
168
169
  } );
169
170
  }