tango-app-api-trax 3.3.1-beta-3 → 3.3.1-beta-4

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.
@@ -22,6 +22,7 @@ traxRouter
22
22
  .get( '/zoneList', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ), traxController.zoneList )
23
23
  .get( '/aichecklist', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ), validate( aichecklistValidation ), traxController.aiChecklist )
24
24
  .get( '/predefinedChecklist', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ), validate( aichecklistValidation ), traxController.preDefinedChecklist )
25
- .post( '/selectAssign', validate( selectAssign ), traxController.selectAssign );
25
+ .post( '/selectAssign', validate( selectAssign ), traxController.selectAssign )
26
+ .get( '/checklistV2', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ), validate( checklistPageSchema ), traxController.checklistV2 );
26
27
 
27
28
  // isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ ] } ] } ),
@@ -29,6 +29,7 @@ import {
29
29
  reportChecklistTableV1,
30
30
  reinitiatechecklist,
31
31
  sendAlert,
32
+ checklistPerformanceV2,
32
33
  } from '../controllers/traxDashboard.controllers.js';
33
34
 
34
35
  traxDashboardRouter
@@ -56,6 +57,7 @@ traxDashboardRouter
56
57
  .post( '/reportChecklistData', reportChecklistTable )
57
58
  .post( '/reportChecklistDataV1', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ), validate( dashboardValidationDtos.validateReportChecklistTableParams ), reportChecklistTableV1 )
58
59
  .post( '/reinitiatechecklist', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [ 'isAdd', 'isEdit' ] } ] } ), reinitiatechecklist )
59
- .post( '/sendAlert', isAllowedSessionHandler, sendAlert );
60
+ .post( '/sendAlert', isAllowedSessionHandler, sendAlert )
61
+ .post( '/checklistPerformanceV2', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ), validate( dashboardValidationDtos.validateChecklistPerformanceParams ), checklistPerformanceV2 );
60
62
 
61
63
  export default traxDashboardRouter;
@@ -18,6 +18,7 @@ import {
18
18
  flagComparisonCardsV1,
19
19
  flagTablesV1,
20
20
  checklistDropdownV1,
21
+ flagTablesV2,
21
22
  } from '../controllers/teaxFlag.controller.js';
22
23
  import { isAllowedSessionHandler } from 'tango-app-api-middleware';
23
24
  import { accessVerification } from 'tango-app-api-middleware';
@@ -68,7 +69,10 @@ traxFlagRouter
68
69
  flagComparisonCardsV1 )
69
70
  .post( '/flagTablesV1', isAllowedSessionHandler,
70
71
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
71
- flagTablesV1 );
72
+ flagTablesV1 )
73
+ .post( '/flagTablesV2', isAllowedSessionHandler,
74
+ accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
75
+ flagTablesV2 );
72
76
 
73
77
 
74
78
  export default traxFlagRouter;