tango-app-api-trax 3.3.1-beta-17 → 3.3.1-beta-19

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.
@@ -13,6 +13,7 @@ export const validateDownloadInsertSchema = joi.object( {
13
13
  checklistName: joi.string().optional().allow( '' ),
14
14
  fileType: joi.string().required(),
15
15
  storeIds: joi.array().optional().allow( '' ),
16
+ userEmailList: joi.array().optional().allow( '' ),
16
17
  questions: joi.array().optional().allow( '' ),
17
18
  previewType: joi.string().optional().allow( '' ),
18
19
  viewFlag: joi.boolean().optional().allow( '' ),
@@ -23,6 +24,7 @@ export const validateDownloadInsertSchema = joi.object( {
23
24
  viewRedo: joi.boolean().optional().allow( '' ),
24
25
  insertType: joi.string().optional().allow( '' ),
25
26
  filter: joi.string().optional().allow( '' ),
27
+ filtertype: joi.string().optional().allow( '' ),
26
28
 
27
29
  } );
28
30
 
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- import { getchecklist, viewchecklist, getMobileUseagelist, storeOpencloselist, getcustomerunattendedlist, storesList, checklistDropdown, redoChecklist, approveChecklist, approvalstatus, getLogs, headerStoresV2 } from '../controllers/gallery.controller.js';
3
+ import { getchecklist, viewchecklist, getMobileUseagelist, storeOpencloselist, getcustomerunattendedlist, storesList, checklistDropdown, redoChecklist, approveChecklist, approvalstatus, getLogs, headerStoresV2, teamsList, userList } from '../controllers/gallery.controller.js';
4
4
  import express from 'express';
5
5
  export const galleryRouter = express.Router();
6
6
  import { validate, isAllowedSessionHandler, isAllowedClient, getAssinedStore } from 'tango-app-api-middleware';
@@ -28,3 +28,7 @@ galleryRouter
28
28
  .post( '/getLogs', isAllowedSessionHandler, getLogs );
29
29
  galleryRouter
30
30
  .post( '/headerStores_v2', isAllowedSessionHandler, isAllowedClient, validate( validationDtos.validateHeaderParamsv2 ), getAssinedStore, headerStoresV2 );
31
+ galleryRouter
32
+ .get( '/teamsList', isAllowedSessionHandler, isAllowedClient, teamsList );
33
+ galleryRouter
34
+ .post( '/userList', isAllowedSessionHandler, isAllowedClient, userList );