tango-app-api-client 3.6.5-vms.21 → 3.6.5-vms.23

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.21",
3
+ "version": "3.6.5-vms.23",
4
4
  "description": "client",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -192,6 +192,9 @@ export async function getAuditFile( req, res ) {
192
192
  terms: { EmployeeStatusFinal: [ 1, 2 ] },
193
193
  },
194
194
  ],
195
+ 'must_not': [
196
+ { term: { outputCluster: 0 } },
197
+ ],
195
198
  'should': [
196
199
  { 'term': { 'isJunk': false } },
197
200
  { 'bool': { 'must_not': { 'exists': { 'field': 'isJunk' } } } },
@@ -439,7 +442,7 @@ export async function reAssignAudit( req, res ) {
439
442
  const openSearch = JSON.parse( process.env.OPENSEARCH );
440
443
  let inputData = req.body;
441
444
  let docId = `${inputData.storeId}_${inputData.dateString}_internal_footfall-directory-tagging`;
442
- if ( inputData.tickettype ==='store' ) {
445
+ if ( inputData.tickettype === 'store' ) {
443
446
  docId = `${inputData.storeId}_${inputData.dateString}_footfall-directory-tagging`;
444
447
  }
445
448
  console.log( '🚀 ~ getAuditFile ~ docId:draft', docId );