tango-app-api-trax 3.2.1-hotfix-3 → 3.2.1-hotfix-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.2.1-hotfix-3",
3
+ "version": "3.2.1-hotfix-5",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -291,6 +291,7 @@ async function insertData( requestData ) {
291
291
  insertdata.locationCount = getCLconfig.locationCount;
292
292
  insertdata.scheduleRepeatedType = getCLconfig.scheduleRepeatedType;
293
293
  insertdata.allowedMultiSubmit = getCLconfig.allowedMultiSubmit;
294
+ insertdata.rawImageUpload = getCLconfig.rawImageUpload || false;
294
295
  let collectSections = [];
295
296
  let sectionQuery = [];
296
297
  sectionQuery.push( {
@@ -416,6 +417,7 @@ async function insertData( requestData ) {
416
417
  element4.scheduleRepeatedType = getCLconfig.scheduleRepeatedType;
417
418
  element4.approvalEnable = getCLconfig.approver.length ? true : false;
418
419
  element4.remainder = getCLconfig?.remainder || [];
420
+ element4.rawImageUpload = getCLconfig?.rawImageUpload || false;
419
421
  }
420
422
  if ( userIdList.length ) {
421
423
  allQuestion = allQuestion.filter( ( item ) => typeof item._id == 'undefined' );
@@ -1944,6 +1944,7 @@ export async function insertSingleProcessData( checklistId, processId = 0, oldDa
1944
1944
  insertdata.approver = getCLconfig?.approver || [];
1945
1945
  insertdata.remainder = getCLconfig?.remainder || [];
1946
1946
  insertdata.restrictAttendance = getCLconfig?.restrictAttendance;
1947
+ insertdata.rawImageUpload = getCLconfig?.rawImageUpload || false;
1947
1948
 
1948
1949
  let collectSections = [];
1949
1950
  let sectionQuery = [];
@@ -2223,6 +2224,7 @@ async function insertPCBulkV3( getCLconfig, checklistId, currentdate, updatedche
2223
2224
  element4.approvalEnable = getCLconfig.approver.length ? true : false;
2224
2225
  element4.remainder = getCLconfig?.remainder || [];
2225
2226
  element4.restrictAttendance = getCLconfig?.restrictAttendance;
2227
+ element4.rawImageUpload = getCLconfig?.rawImageUpload || false;
2226
2228
  }
2227
2229
  if ( userIdList.length ) {
2228
2230
  allQuestion = allQuestion.filter( ( item ) => typeof item._id == 'undefined' );