tango-app-api-trax 3.3.1-hotfix-21 → 3.3.1-hotfix-23
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 +1 -1
- package/src/controllers/download.controller.js +130 -2
- package/src/controllers/internalTrax.controller.js +31 -0
- package/src/dtos/downloadValidation.dtos.js +1 -1
- package/src/hbs/login-otp.hbs +943 -943
- package/src/routes/download.router.js +4 -0
- package/src/routes/internalTraxApi.router.js +1 -0
|
@@ -11,13 +11,17 @@ import {
|
|
|
11
11
|
getChecklistFromZipId,
|
|
12
12
|
getPDFCSVChecklistDetails,
|
|
13
13
|
cancelDownload,
|
|
14
|
+
downloadInsertAI,
|
|
15
|
+
getAiChecklistDataFromZipId,
|
|
14
16
|
} from '../controllers/download.controller.js';
|
|
15
17
|
|
|
16
18
|
downloadRouter
|
|
17
19
|
.post( '/downloadInsert', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ), validate( downloadValidationDtos.validateDownloadInsertParams ), downloadInsert )
|
|
20
|
+
.post( '/downloadInsertAI', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ), validate( downloadValidationDtos.validateDownloadInsertParams ), downloadInsertAI )
|
|
18
21
|
.post( '/downloadList', isAllowedSessionHandler, isAllowedClient, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ), validate( downloadValidationDtos.validateDownloadListParams ), downloadList )
|
|
19
22
|
.post( '/downloadUpdate', downloadUpdate ) // isAllowedInternalAPIHandler,
|
|
20
23
|
.get( '/getChecklistFromZipId', getChecklistFromZipId ) // isAllowedInternalAPIHandler,
|
|
24
|
+
.get( '/getAiChecklistDataFromZipId', getAiChecklistDataFromZipId ) // isAllowedInternalAPIHandler,
|
|
21
25
|
.post( '/getChecklistDetails', getPDFCSVChecklistDetails )
|
|
22
26
|
.put( '/cancelDownload/:id', isAllowedSessionHandler, accessVerification( { userType: [ 'tango', 'client' ], access: [ { featureName: 'TangoTrax', name: 'checklist', permissions: [] } ] } ), cancelDownload );
|
|
23
27
|
|
|
@@ -16,6 +16,7 @@ internalTraxRouter
|
|
|
16
16
|
.get( '/profile', isAllowedMobileSessionHandler, internalController.getUserStoreList )
|
|
17
17
|
.post( '/pushNotification', isAllowedInternalAPIHandler, internalController.pushNotification )
|
|
18
18
|
.post( '/taskPushNotification', isAllowedInternalAPIHandler, internalController.taskPushNotification )
|
|
19
|
+
.post( '/AiPushNotificationAlert', isAllowedInternalAPIHandler, internalController.AiPushNotificationAlert )
|
|
19
20
|
.get( '/checklist', isAllowedInternalAPIHandler, internalController.internalAPIChecklist )
|
|
20
21
|
.post( '/getPDFCSVChecklistDetails', isAllowedInternalAPIHandler, internalController.getPDFCSVChecklistDetails )
|
|
21
22
|
.get( '/getOTP', isAllowedInternalAPIHandler, internalController.getOTP )
|