tango-app-api-client 3.6.5-vms.4 → 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
|
@@ -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 ) {
|
package/src/dtos/client.dtos.js
CHANGED
|
@@ -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().
|
|
363
|
+
isChecked: joi.boolean().optional().default(false),
|
|
364
364
|
} ) ).optional(),
|
|
365
365
|
taggingLimitation: joi.array().items( joi.object( {
|
|
366
|
-
|
|
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(),
|