tango-app-api-trax 3.7.13-qid-halfshutter-15 → 3.7.13-qid-halfshutter-16

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.13-qid-halfshutter-15",
3
+ "version": "3.7.13-qid-halfshutter-16",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2629,7 +2629,7 @@ export async function getRunAIList( req, res ) {
2629
2629
  try {
2630
2630
  let getChecklistDetails = await CLconfig.find( { publish: true, ...( req.query.clientId && { client_id: req.query.clientId } ) } );
2631
2631
  if ( !getChecklistDetails.length ) {
2632
- return res.sendError( 'No data found', 204 );
2632
+ return res.sendSuccess( [] );
2633
2633
  }
2634
2634
  let runAIList=[];
2635
2635
  await Promise.all( getChecklistDetails.map( async ( check ) => {
@@ -1,4 +1,4 @@
1
- import { logger, signedUrl, fileUpload, getOtp, sendEmailWithSES, getUuid, insertOpenSearchData } from 'tango-app-api-middleware';
1
+ import { logger, signedUrl, fileUpload, getOtp, sendEmailWithSES, getUuid, insertOpenSearchData, listFileByPath, getObject, deleteFiles } from 'tango-app-api-middleware';
2
2
  import * as processedchecklist from '../services/processedchecklist.services.js';
3
3
  import * as processedtask from '../services/processedTaskList.service.js';
4
4
  import * as PCLconfig from '../services/processedchecklistconfig.services.js';