tango-app-api-client 3.6.5-vms.3 → 3.6.5-vms.5

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.6.5-vms.3",
3
+ "version": "3.6.5-vms.5",
4
4
  "description": "client",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2950,6 +2950,9 @@ export async function updateFDConfig( req, res ) {
2950
2950
  const query ={
2951
2951
  clientId: inputQuery.clientId,
2952
2952
  };
2953
+ if(inputData.rvision){
2954
+
2955
+ }
2953
2956
  // update the footfall directory configuration data
2954
2957
  let result = await updateOneClient( query, { footfallDirectoryConfigs: inputData } );
2955
2958
  if ( result?.acknowledged === true ) {
@@ -3096,6 +3099,7 @@ export async function listStoreRequest( req, res ) {
3096
3099
  {
3097
3100
  $project: {
3098
3101
  _id: 0,
3102
+ id: { $concat: [ '$storeId', '_', '$dateString' ] },
3099
3103
  storeName: 1,
3100
3104
  storeId: 1,
3101
3105
  dateString: 1,
@@ -360,10 +360,12 @@ export const updateFDConfigBodySchema = joi.object( {
360
360
  tangoReview: joi.string().optional(),
361
361
  revision: joi.array().items( joi.object( {
362
362
  actionType: joi.string().required(),
363
- isChecked: joi.boolean().required(),
363
+ isChecked: joi.boolean().optional().default(false),
364
364
  } ) ).optional(),
365
365
  taggingLimitation: joi.array().items( joi.object( {
366
- type: joi.string().required(),
366
+ iconName:joi.string().optional(),
367
+ name:joi.string().optional(),
368
+ type: joi.string().required(),
367
369
  value: joi.number().required(),
368
370
  unit: joi.string().required(),
369
371
  } ) ).optional(),