tango-app-api-infra 3.9.5-vms.79 → 3.9.5-vms.80

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-infra",
3
- "version": "3.9.5-vms.79",
3
+ "version": "3.9.5-vms.80",
4
4
  "description": "infra",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2895,6 +2895,13 @@ export async function ticketList( req, res ) {
2895
2895
  'type.keyword': 'store',
2896
2896
  },
2897
2897
  },
2898
+ {
2899
+ range: {
2900
+ reviced: {
2901
+ lt: 85,
2902
+ },
2903
+ },
2904
+ },
2898
2905
  {
2899
2906
  nested: {
2900
2907
  path: 'mappingInfo',
@@ -432,12 +432,14 @@ export async function ticketCreation( req, res, next ) {
432
432
  comments: inputData?.comments || '',
433
433
  revicedFootfall: revisedFootfall,
434
434
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
435
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
435
436
  mappingInfo: [
436
437
  {
437
438
  type: 'tagging',
438
439
  mode: inputData.mode,
439
440
  revicedFootfall: revisedFootfall,
440
441
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
442
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
441
443
  count: tempAcc,
442
444
  revisedDetail: formattedTaggingData,
443
445
  status: 'Raised',
@@ -471,6 +473,7 @@ export async function ticketCreation( req, res, next ) {
471
473
  mode: inputData.mode,
472
474
  revicedFootfall: revisedFootfall,
473
475
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
476
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
474
477
  count: tempAcc,
475
478
  revisedDetail: formattedTaggingData,
476
479
  status: 'Closed',
@@ -484,6 +487,7 @@ export async function ticketCreation( req, res, next ) {
484
487
  mode: inputData.mode,
485
488
  revicedFootfall: revisedFootfall,
486
489
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
490
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
487
491
  count: tempAcc,
488
492
  revisedDetail: formattedTaggingData,
489
493
  status: 'Closed',
@@ -1085,6 +1089,7 @@ export async function ticketReview( req, res, next ) {
1085
1089
  status: 'Reviewer-Closed',
1086
1090
  revicedFootfall: revisedFootfall,
1087
1091
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1092
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1088
1093
  mappingInfo: ticketData?.[0]?._source?.mappingInfo,
1089
1094
  // createdByEmail: req?.user?.email,
1090
1095
  // createdByUserName: req?.user?.userName,
@@ -1100,6 +1105,7 @@ export async function ticketReview( req, res, next ) {
1100
1105
  mode: inputData.mode,
1101
1106
  revicedFootfall: revisedFootfall,
1102
1107
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1108
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1103
1109
  count: tempAcc,
1104
1110
  revisedDetail: formattedTaggingData,
1105
1111
  status: 'Closed',
@@ -1116,6 +1122,7 @@ export async function ticketReview( req, res, next ) {
1116
1122
  mode: inputData.mode,
1117
1123
  revicedFootfall: revisedFootfall,
1118
1124
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1125
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1119
1126
  count: tempAcc,
1120
1127
  revisedDetail: formattedTaggingData,
1121
1128
  status: 'Closed',
@@ -1153,6 +1160,7 @@ export async function ticketReview( req, res, next ) {
1153
1160
  mode: inputData.mode,
1154
1161
  revicedFootfall: revisedFootfall,
1155
1162
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1163
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1156
1164
  count: tempAcc,
1157
1165
  revisedDetail: formattedTaggingData,
1158
1166
  status: 'Closed',
@@ -1183,6 +1191,7 @@ export async function ticketReview( req, res, next ) {
1183
1191
  mode: inputData.mode,
1184
1192
  revicedFootfall: revisedFootfall,
1185
1193
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1194
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1186
1195
  count: tempAcc,
1187
1196
  revisedDetail: formattedTaggingData,
1188
1197
  status: 'Closed',
@@ -1198,6 +1207,7 @@ export async function ticketReview( req, res, next ) {
1198
1207
  mode: inputData.mode,
1199
1208
  revicedFootfall: revisedFootfall,
1200
1209
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1210
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1201
1211
  count: tempAcc,
1202
1212
  revisedDetail: formattedTaggingData,
1203
1213
  status: 'Closed',
@@ -1617,6 +1627,7 @@ export async function ticketApprove( req, res, next ) {
1617
1627
  status: 'Approver-Closed',
1618
1628
  revicedFootfall: revisedFootfall,
1619
1629
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1630
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1620
1631
  mappingInfo: ticketData?.[0]?._source?.mappingInfo,
1621
1632
  // createdByEmail: req?.user?.email,
1622
1633
  // createdByUserName: req?.user?.userName,
@@ -1652,6 +1663,7 @@ export async function ticketApprove( req, res, next ) {
1652
1663
  mode: inputData.mode,
1653
1664
  revicedFootfall: revisedFootfall,
1654
1665
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1666
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1655
1667
  count: tempAcc,
1656
1668
  revisedDetail: formattedTaggingData,
1657
1669
  status: 'Closed',
@@ -1679,6 +1691,7 @@ export async function ticketApprove( req, res, next ) {
1679
1691
  mode: inputData.mode,
1680
1692
  revicedFootfall: revisedFootfall,
1681
1693
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1694
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1682
1695
  count: tempAcc,
1683
1696
  revisedDetail: formattedTaggingData,
1684
1697
  status: 'Closed',
@@ -1694,6 +1707,7 @@ export async function ticketApprove( req, res, next ) {
1694
1707
  mode: inputData.mode,
1695
1708
  revicedFootfall: revisedFootfall,
1696
1709
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1710
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1697
1711
  count: tempAcc,
1698
1712
  revisedDetail: formattedTaggingData,
1699
1713
  status: 'Closed',
@@ -1721,6 +1735,7 @@ export async function ticketApprove( req, res, next ) {
1721
1735
  mode: inputData.mode,
1722
1736
  revicedFootfall: revisedFootfall,
1723
1737
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1738
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1724
1739
  count: tempAcc,
1725
1740
  revisedDetail: formattedTaggingData,
1726
1741
  status: 'Under Tango Review',
@@ -1739,6 +1754,7 @@ export async function ticketApprove( req, res, next ) {
1739
1754
  mode: inputData.mode,
1740
1755
  revicedFootfall: revisedFootfall,
1741
1756
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1757
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1742
1758
  count: tempAcc,
1743
1759
  revisedDetail: formattedTaggingData,
1744
1760
  status: 'Closed',
@@ -1782,6 +1798,7 @@ export async function ticketApprove( req, res, next ) {
1782
1798
  mode: inputData.mode,
1783
1799
  revicedFootfall: revisedFootfall,
1784
1800
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1801
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1785
1802
  count: tempAcc,
1786
1803
  revisedDetail: formattedTaggingData,
1787
1804
  status: 'Closed',
@@ -1807,6 +1824,7 @@ export async function ticketApprove( req, res, next ) {
1807
1824
  mode: inputData.mode,
1808
1825
  revicedFootfall: revisedFootfall,
1809
1826
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1827
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1810
1828
  count: tempAcc,
1811
1829
  revisedDetail: formattedTaggingData,
1812
1830
  status: 'Closed',
@@ -1822,6 +1840,7 @@ export async function ticketApprove( req, res, next ) {
1822
1840
  mode: inputData.mode,
1823
1841
  revicedFootfall: revisedFootfall,
1824
1842
  revicedPerc: Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) + '%',
1843
+ reviced: Number( Math.round( ( revisedFootfall / footfallCount ) * 100 || 0 ) ),
1825
1844
  count: tempAcc,
1826
1845
  revisedDetail: formattedTaggingData,
1827
1846
  status: 'Closed',