tango-app-api-trax 3.3.1-hotfix-8 → 3.4.0-flag-0

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.
@@ -18,6 +18,8 @@ import {
18
18
  flagComparisonCardsV1,
19
19
  flagTablesV1,
20
20
  checklistDropdownV1,
21
+ flagTablesV2,
22
+ flagComparisonCardsV2,
21
23
  } from '../controllers/teaxFlag.controller.js';
22
24
  import { isAllowedSessionHandler } from 'tango-app-api-middleware';
23
25
  import { accessVerification } from 'tango-app-api-middleware';
@@ -68,7 +70,13 @@ traxFlagRouter
68
70
  flagComparisonCardsV1 )
69
71
  .post( '/flagTablesV1', isAllowedSessionHandler,
70
72
  accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
71
- flagTablesV1 );
73
+ flagTablesV1 )
74
+ .post( '/flagComparisonCardsV2', isAllowedSessionHandler,
75
+ accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
76
+ flagComparisonCardsV2 )
77
+ .post( '/flagTablesV2', isAllowedSessionHandler,
78
+ accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ),
79
+ flagTablesV2 );
72
80
 
73
81
 
74
82
  export default traxFlagRouter;