tango-app-api-infra 3.3.3-beta.2 → 3.3.3-beta.3
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.
|
@@ -160,7 +160,7 @@ export async function storeTicketList( req, res ) {
|
|
|
160
160
|
'STORE ID': element.storeId,
|
|
161
161
|
'TICKET ID': element.ticketId,
|
|
162
162
|
'DATE': dayjs( element.createdAt ).format( 'DD MMM, YYYY' ),
|
|
163
|
-
'ISSUE CLOSED DATE': dayjs( element.issueClosedDate ).format( 'DD MMM, YYYY' ),
|
|
163
|
+
'ISSUE CLOSED DATE': element.issueClosedDate?dayjs( element.issueClosedDate ).format( 'DD MMM, YYYY' ):"",
|
|
164
164
|
'PRIMARY ISSUE': element.primaryIssue,
|
|
165
165
|
'SECONDARY ISSUE': element.secondaryIssue,
|
|
166
166
|
'STATUS': element.status,
|
|
@@ -3,8 +3,9 @@ import express from 'express';
|
|
|
3
3
|
import { isAllowedSessionHandler, validate, getAssinedStore } from 'tango-app-api-middleware';
|
|
4
4
|
import { validateDetails, bulkvalidateDetails, validateTicket, bulkvalidateTicket, validateTicketstatus, ticketExists, infraReasonExists, InfrastepstoResolve, InfraAlert } from '../validations/infra.validation.js';
|
|
5
5
|
import { createTicket, bulkcreateTicket, updateStatus, createReason, PrimaryReasons, matTable, removeAttachment,
|
|
6
|
+
|
|
6
7
|
secondaryReason, updateTicketIssue, viewTicket, AlertTicketReply, uploadAttachments, getInfraIssues, AddemailUser, OutsideUserList, emailUserListv2, OutsideUserListv2, AddemailUserv2, getOutsideUser, deleteOutsideUser, editemailUser,
|
|
7
|
-
updateInstallationTicket, emailUserList, saveInfraEmailConfig, invoice, allCounts, infraTable, dataMismatchTable, storeFilter, assignTicket, installationTable, userMetricscard, userMetricsticketTable } from '../controllers/infra.controllers.js';
|
|
8
|
+
updateInstallationTicket, emailUserList, saveInfraEmailConfig, invoice, allCounts, infraTable, dataMismatchTable, storeFilter, assignTicket, installationTable, userMetricscard, userMetricsticketTable, opsUserList } from '../controllers/infra.controllers.js';
|
|
8
9
|
import { getInfraIssueValid } from '../dtos/infra.dtos.js';
|
|
9
10
|
|
|
10
11
|
|
|
@@ -49,5 +50,6 @@ infraRouter.post( '/storeFilter', isAllowedSessionHandler, getAssinedStore, stor
|
|
|
49
50
|
infraRouter.post( '/get-infra-issues', isAllowedSessionHandler, validate( getInfraIssueValid ), getInfraIssues );
|
|
50
51
|
infraRouter.get( '/userMetricscard', userMetricscard );
|
|
51
52
|
infraRouter.post( '/userMetricsticketTable', userMetricsticketTable );
|
|
53
|
+
infraRouter.get( '/opsUserList', opsUserList );
|
|
52
54
|
|
|
53
55
|
|