Add missing user id in transaction fields
MODIFY
src/authorization/AuthorizationsDefinition.ts
src/authorization/AuthorizationsDefinition.ts
@@ -570,7 +570,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'stop.roundedPrice', 'stop.stateOfCharge', 'stop.tag.visualID', 'stop.tagID', 'stop.timestamp', 'stop.totalConsumptionWh',
'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.user.email', 'stop.user.firstName', 'stop.user.id', 'stop.user.name',
'stop.userID', 'tag.description', 'tag.visualID', 'tagID', 'timestamp', 'timezone',
- 'user.email', 'user.firstName', 'user.id', 'user.name', 'userID'
+ 'user.id', 'user.email', 'user.firstName', 'user.id', 'user.name', 'userID'
]
},
{
@@ -615,7 +615,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'currentStateOfCharge', 'currentTotalConsumptionWh', 'currentTotalDurationSecs', 'currentTotalInactivitySecs', 'id',
'issuer', 'meterStart', 'price', 'priceUnit', 'roundedPrice', 'site.name', 'siteArea.name', 'siteAreaID', 'siteID',
'stateOfCharge', 'status', 'tag.description', 'tag.visualID', 'tagID', 'timestamp', 'timezone',
- 'user.email', 'user.firstName', 'user.name'
+ 'userID', 'user.id', 'user.email', 'user.firstName', 'user.name'
]
},
{
@@ -633,7 +633,8 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'refundData.refundedAt', 'refundData.reportId', 'refundData.status', 'site.name', 'siteArea.name', 'siteAreaID', 'siteID',
'stateOfCharge', 'stop.extraInactivitySecs', 'stop.inactivityStatus', 'stop.price', 'stop.priceUnit', 'stop.reason',
'stop.roundedPrice', 'stop.stateOfCharge', 'stop.tagID', 'stop.timestamp', 'stop.totalConsumptionWh', 'stop.totalDurationSecs',
- 'stop.totalInactivitySecs', 'tagID', 'timestamp', 'timezone', 'user.email', 'user.firstName', 'user.name'
+ 'stop.totalInactivitySecs', 'stop.userID', 'tagID', 'timestamp', 'timezone',
+ 'userID', 'user.id', 'user.email', 'user.firstName', 'user.name'
]
},
{
@@ -651,8 +652,8 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'site.name', 'siteArea.name', 'siteAreaID', 'siteID', 'stateOfCharge',
'stop.extraInactivitySecs', 'stop.inactivityStatus', 'stop.meterStop', 'stop.price', 'stop.priceUnit', 'stop.reason',
'stop.roundedPrice', 'stop.stateOfCharge', 'stop.tag.visualID', 'stop.tagID', 'stop.timestamp', 'stop.totalConsumptionWh',
- 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'tag.description', 'tag.visualID', 'tagID', 'timestamp', 'timezone',
- 'user.email', 'user.firstName', 'user.name'
+ 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.userID', 'tag.description', 'tag.visualID', 'tagID', 'timestamp', 'timezone',
+ 'userID', 'user.id', 'user.email', 'user.firstName', 'user.name'
]
},
{
@@ -726,7 +727,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'carID', 'chargeBoxID', 'companyID', 'connectorId', 'errorCode', 'id', 'issuer', 'meterStart', 'siteAreaID', 'siteID',
'stateOfCharge', 'stop.stateOfCharge', 'stop.tagID', 'stop.totalConsumptionWh', 'stop.totalDurationSecs', 'stop.user.email',
'stop.user.firstName', 'stop.user.id', 'stop.user.name', 'stop.userID', 'tagID', 'timestamp', 'timezone', 'uniqueId',
- 'user.email', 'user.firstName', 'user.id', 'user.name', 'userID'
+ 'userID', 'user.id', 'user.email', 'user.firstName', 'user.id', 'user.name'
]
},
{
@@ -2618,7 +2619,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'stop.roundedPrice', 'stop.stateOfCharge', 'stop.tag.visualID', 'stop.tagID', 'stop.timestamp', 'stop.totalConsumptionWh',
'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.user.email', 'stop.user.firstName', 'stop.user.id', 'stop.user.name',
'stop.userID', 'tag.description', 'tag.visualID', 'tagID', 'timestamp', 'timezone',
- 'user.email', 'user.firstName', 'user.id', 'user.name', 'userID'
+ 'userID', 'user.id', 'user.email', 'user.firstName', 'user.name'
]
},
{
@@ -2673,9 +2674,8 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'id', 'chargeBoxID', 'timestamp', 'issuer', 'stateOfCharge', 'timezone', 'connectorId', 'status', 'meterStart', 'siteAreaID', 'siteID', 'companyID',
'currentTotalDurationSecs', 'currentTotalInactivitySecs', 'currentInstantWatts', 'currentTotalConsumptionWh', 'currentStateOfCharge',
'currentCumulatedPrice', 'currentInactivityStatus', 'roundedPrice', 'price', 'priceUnit', 'tagID', 'tag.visualID', 'tag.description', 'site.name', 'siteArea.name', 'company.name',
- 'user.name', 'user.firstName', 'user.email',
'car.licensePlate',
- 'user.name', 'user.firstName', 'user.email'
+ 'userID', 'user.id', 'user.name', 'user.firstName', 'user.email'
]
},
{
@@ -2690,9 +2690,9 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
attributes: [
'id', 'chargeBoxID', 'timestamp', 'issuer', 'stateOfCharge', 'timezone', 'connectorId', 'meterStart', 'siteAreaID', 'siteID', 'companyID',
'stop.roundedPrice', 'stop.price', 'stop.priceUnit', 'stop.inactivityStatus', 'stop.stateOfCharge', 'stop.timestamp', 'stop.totalConsumptionWh',
- 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'stop.meterStop',
+ 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'stop.meterStop', 'stop.userID',
'site.name', 'siteArea.name', 'company.name',
- 'user.name', 'user.firstName', 'user.email',
+ 'userID', 'user.id', 'user.name', 'user.firstName', 'user.email',
'carCatalog.vehicleMake', 'carCatalog.vehicleModel', 'carCatalog.vehicleModelVersion',
'car.licensePlate',
'billingData.stop.invoiceNumber', 'stop.reason', 'ocpi', 'ocpiWithCdr', 'tagID', 'tag.visualID', 'tag.description', 'stop.tagID', 'stop.tag.visualID'
@@ -3129,7 +3129,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'stop.totalConsumptionWh', 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.user.email', 'stop.user.firstName', 'stop.user.id',
'stop.user.name', 'stop.userID',
'tag.description', 'tag.visualID', 'tagID', 'timestamp', 'timezone',
- 'user.email', 'user.firstName', 'user.id', 'user.name', 'userID'
+ 'userID', 'user.id', 'user.email', 'user.firstName', 'user.name'
]
},
{
@@ -3162,7 +3162,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'id', 'chargeBoxID', 'timestamp', 'issuer', 'stateOfCharge', 'timezone', 'connectorId', 'status', 'meterStart', 'siteAreaID', 'siteID', 'companyID',
'currentTotalDurationSecs', 'currentTotalInactivitySecs', 'currentInstantWatts', 'currentTotalConsumptionWh', 'currentStateOfCharge',
'currentCumulatedPrice', 'currentInactivityStatus', 'roundedPrice', 'price', 'priceUnit', 'tagID', 'tag.visualID', 'tag.description', 'site.name', 'siteArea.name', 'company.name',
- 'user.name', 'user.firstName', 'user.email',
+ 'userID', 'user.id', 'user.name', 'user.firstName', 'user.email',
'carCatalog.vehicleMake', 'carCatalog.vehicleModel', 'carCatalog.vehicleModelVersion',
'car.licensePlate',
]
@@ -3181,8 +3181,8 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'refundData.reportId', 'refundData.refundedAt', 'refundData.status', 'site.name', 'siteArea.name', 'company.name',
'stop.roundedPrice', 'stop.price', 'stop.priceUnit', 'stop.inactivityStatus', 'stop.stateOfCharge', 'stop.timestamp', 'stop.totalConsumptionWh',
'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'billingData.stop.invoiceNumber',
- 'tagID', 'stop.tagID', 'stop.reason',
- 'user.name', 'user.firstName', 'user.email',
+ 'tagID', 'stop.tagID', 'stop.reason', 'stop.userID',
+ 'userID', 'user.id', 'user.name', 'user.firstName', 'user.email',
'carCatalog.vehicleMake', 'carCatalog.vehicleModel', 'carCatalog.vehicleModelVersion',
'car.licensePlate',
]
@@ -3199,9 +3199,9 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
attributes: [
'id', 'chargeBoxID', 'timestamp', 'issuer', 'stateOfCharge', 'timezone', 'connectorId', 'meterStart', 'siteAreaID', 'siteID', 'companyID',
'stop.roundedPrice', 'stop.price', 'stop.priceUnit', 'stop.inactivityStatus', 'stop.stateOfCharge', 'stop.timestamp', 'stop.totalConsumptionWh',
- 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'stop.meterStop',
+ 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'stop.meterStop', 'stop.userID',
'site.name', 'siteArea.name', 'company.name',
- 'user.name', 'user.firstName', 'user.email',
+ 'userID', 'user.id', 'user.name', 'user.firstName', 'user.email',
'carCatalog.vehicleMake', 'carCatalog.vehicleModel', 'carCatalog.vehicleModelVersion',
'car.licensePlate',
'billingData.stop.invoiceNumber', 'stop.reason', 'ocpi', 'ocpiWithCdr', 'tagID', 'tag.visualID', 'tag.description', 'stop.tagID', 'stop.tag.visualID'

Add missing user id in transaction fields