tango-app-api-infra 3.9.19 → 3.9.21
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
CHANGED
|
@@ -4134,12 +4134,6 @@ export async function ticketList( req, res ) {
|
|
|
4134
4134
|
ticketRaised: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.createdAt,
|
|
4135
4135
|
issueDate: item?.dateString,
|
|
4136
4136
|
footfall: item?.footfallCount,
|
|
4137
|
-
dueDate: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.dueDate,
|
|
4138
|
-
type: item.type || 'store',
|
|
4139
|
-
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4140
|
-
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
4141
|
-
...( isApprover !== true? item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc : '' ),
|
|
4142
|
-
revicedFootfall: item.status === 'Closed' || item.status === 'Tango Review Done' ?item?.revicedFootfall : '--',
|
|
4143
4137
|
...( function() {
|
|
4144
4138
|
let counts = undefined;
|
|
4145
4139
|
if ( Array.isArray( item.mappingInfo ) ) {
|
|
@@ -4168,6 +4162,13 @@ export async function ticketList( req, res ) {
|
|
|
4168
4162
|
}
|
|
4169
4163
|
return {};
|
|
4170
4164
|
} )(),
|
|
4165
|
+
dueDate: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.dueDate,
|
|
4166
|
+
type: item.type || 'store',
|
|
4167
|
+
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4168
|
+
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
4169
|
+
...( isApprover !== true? item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc : '' ),
|
|
4170
|
+
revicedFF: item.status === 'Closed' || item.status === 'Tango Review Done' ?item?.revicedFootfall : '--',
|
|
4171
|
+
|
|
4171
4172
|
status: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.status || '--',
|
|
4172
4173
|
closedDate: item.status === 'Closed' || item.status === 'Tango Review Done' ? item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.updatedAt : '--',
|
|
4173
4174
|
ReviewedBy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.createdByEmail || '--',
|
|
@@ -4250,13 +4251,6 @@ export async function ticketList( req, res ) {
|
|
|
4250
4251
|
ticketRaised: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.createdAt,
|
|
4251
4252
|
issueDate: item?.dateString,
|
|
4252
4253
|
footfall: item?.footfallCount,
|
|
4253
|
-
// revicedFootfall: item?.revicedFootfall,
|
|
4254
|
-
dueDate: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.dueDate,
|
|
4255
|
-
type: item.type || 'store',
|
|
4256
|
-
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4257
|
-
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
4258
|
-
...( isApprover !== true? tangoRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc || '' ),
|
|
4259
|
-
revicedFootfall: item.status === 'Closed' || item.status === 'Tango Review Done' ?item?.revicedFootfall : '--',
|
|
4260
4254
|
...( function() {
|
|
4261
4255
|
let counts = undefined;
|
|
4262
4256
|
if ( Array.isArray( item.mappingInfo ) ) {
|
|
@@ -4285,6 +4279,14 @@ export async function ticketList( req, res ) {
|
|
|
4285
4279
|
}
|
|
4286
4280
|
return {};
|
|
4287
4281
|
} )(),
|
|
4282
|
+
// revicedFootfall: item?.revicedFootfall,
|
|
4283
|
+
dueDate: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.dueDate,
|
|
4284
|
+
type: item.type || 'store',
|
|
4285
|
+
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4286
|
+
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
4287
|
+
...( isApprover !== true? tangoRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc || '' ),
|
|
4288
|
+
revicedFF: item.status === 'Closed' || item.status === 'Tango Review Done' ?item?.revicedFootfall : '--',
|
|
4289
|
+
|
|
4288
4290
|
status: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.status || '--',
|
|
4289
4291
|
closedDate: item.status === 'Closed' || item.status === 'Tango Review Done' ? item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.updatedAt : '--',
|
|
4290
4292
|
ReviewedBy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.createdByEmail || '--',
|