tango-app-api-trax 3.7.4-runai-airtelv2-3 → 3.7.4-runai-airtelv2-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-trax",
3
- "version": "3.7.4-runai-airtelv2-3",
3
+ "version": "3.7.4-runai-airtelv2-5",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -231,6 +231,7 @@ export const downloadInsertAI = async ( req, res ) => {
231
231
  'checkListType': requestData.checkListType,
232
232
  'checkListName': findchecklist.checkListName,
233
233
  'checkListDescription': findchecklist.checkListDescription,
234
+ 'aiFilter': requestData.aiFilter || '',
234
235
  };
235
236
  // console.log( requestData );
236
237
  // console.log( insertData );
@@ -3958,7 +3958,7 @@ export const aiChecklist = async ( req, res ) => {
3958
3958
  checklistDetails = [ ...publishList, ...unpublishList ];
3959
3959
 
3960
3960
  checklistDetails.forEach( ( item ) => {
3961
- if ( ![ 'mobileusagedetection', 'storeopenandclose', 'cleaning', 'scrum', 'uniformdetection', 'staffleftinthemiddle', 'customerunattended' ].includes( item.checkListType ) ) {
3961
+ if ( ![ 'mobileusagedetection', 'storeopenandclose', 'cleaning', 'scrum', 'uniformdetection', 'staffleftinthemiddle', 'customerunattended', 'outsidebusinesshoursqueuetracking' ].includes( item.checkListType ) ) {
3962
3962
  item.storeCount = storeDetails;
3963
3963
  }
3964
3964
  } );