Qualified Charging Station actions
MODIFY
src/server/rest/v1/router/api/ChargingStationRouter.ts
src/server/rest/v1/router/api/ChargingStationRouter.ts
@@ -262,7 +262,7 @@ export default class ChargingStationRouter {
protected buildRouteChargingStationGetBootNotifications(): void {
this.router.get(`/${ServerRoute.REST_CHARGING_STATIONS_BOOT_NOTIFICATIONS}`, async (req: Request, res: Response, next: NextFunction) => {
- await RouterUtils.handleServerAction(ChargingStationService.handleGetBootNotifications.bind(this), ServerAction.BOOT_NOTIFICATION, req, res, next);
+ await RouterUtils.handleServerAction(ChargingStationService.handleGetBootNotifications.bind(this), ServerAction.BOOT_NOTIFICATIONS, req, res, next);
});
}

MODIFY
src/types/Server.ts
src/types/Server.ts
@@ -8,34 +8,34 @@ export enum ServerAction {
OBJECT_CLONE = 'ObjectClone',
CHARGING_STATION_CLIENT_INITIALIZATION = 'ChargingStationClientInitialization',
- CHARGING_STATION_RESET = 'ChargingStationReset',
- CHARGING_STATION_REQUEST_OCPP_PARAMETERS = 'ChargingStationRequestOcppParameters',
- CHARGING_STATION_CLEAR_CACHE = 'ChargingStationClearCache',
- CHARGING_STATION_GET_CONFIGURATION = 'ChargingStationGetConfiguration',
- CHARGING_STATION_CHANGE_CONFIGURATION = 'ChargingStationChangeConfiguration',
+ CHARGING_STATION_RESET = 'RestChargingStationReset',
+ CHARGING_STATION_REQUEST_OCPP_PARAMETERS = 'RestChargingStationRequestOcppParameters',
+ CHARGING_STATION_CLEAR_CACHE = 'RestChargingStationClearCache',
+ CHARGING_STATION_GET_CONFIGURATION = 'RestChargingStationGetConfiguration',
+ CHARGING_STATION_CHANGE_CONFIGURATION = 'RestChargingStationChangeConfiguration',
CHARGING_STATION_DATA_TRANSFER = 'ChargingStationChangeDataTransfer',
- CHARGING_STATION_REMOTE_START_TRANSACTION = 'ChargingStationRemoteStartTransaction',
- CHARGING_STATION_REMOTE_STOP_TRANSACTION = 'ChargingStationRemoteStopTransaction',
- CHARGING_STATION_UNLOCK_CONNECTOR = 'ChargingStationUnlockConnector',
+ CHARGING_STATION_REMOTE_START_TRANSACTION = 'RestChargingStationRemoteStartTransaction',
+ CHARGING_STATION_REMOTE_STOP_TRANSACTION = 'RestChargingStationRemoteStopTransaction',
+ CHARGING_STATION_UNLOCK_CONNECTOR = 'RestChargingStationUnlockConnector',
CHARGING_STATION_SET_CHARGING_PROFILE = 'ChargingStationSetChargingProfile',
- CHARGING_STATION_GET_COMPOSITE_SCHEDULE = 'ChargingStationGetCompositeSchedule',
+ CHARGING_STATION_GET_COMPOSITE_SCHEDULE = 'RestChargingStationGetCompositeSchedule',
CHARGING_STATION_CLEAR_CHARGING_PROFILE = 'ChargingStationClearChargingProfile',
- CHARGING_STATION_GET_DIAGNOSTICS = 'ChargingStationGetDiagnostics',
- CHARGING_STATION_UPDATE_FIRMWARE = 'ChargingStationUpdateFirmware',
- CHARGING_STATION_CHANGE_AVAILABILITY = 'ChargingStationChangeAvailability',
- CHARGING_STATION_DOWNLOAD_QR_CODE_PDF = 'ChargingStationDownloadQrCodePdf',
-
- CHARGING_STATIONS_EXPORT = 'ChargingStationsExport',
- CHARGING_STATIONS_OCPP_PARAMS_EXPORT = 'ChargingStationsOCPPParamsExport',
- CHARGING_STATION = 'ChargingStation',
- CHARGING_STATIONS_OCPP_PARAMETERS = 'ChargingStationOcppParameters',
- CHARGING_STATIONS_IN_ERROR = 'ChargingStationsInError',
- CHARGING_STATION_UPDATE_PARAMS = 'ChargingStationUpdateParams',
- CHARGING_STATION_LIMIT_POWER = 'ChargingStationLimitPower',
- CHARGING_STATION_DELETE = 'ChargingStationDelete',
-
- CHECK_SMART_CHARGING_CONNECTION = 'CheckSmartChargingConnection',
- TRIGGER_SMART_CHARGING = 'TriggerSmartCharging',
+ CHARGING_STATION_GET_DIAGNOSTICS = 'RestChargingStationGetDiagnostics',
+ CHARGING_STATION_UPDATE_FIRMWARE = 'RestChargingStationUpdateFirmware',
+ CHARGING_STATION_CHANGE_AVAILABILITY = 'RestChargingStationChangeAvailability',
+ CHARGING_STATION_DOWNLOAD_QR_CODE_PDF = 'RestChargingStationDownloadQrCodePdf',
+
+ CHARGING_STATIONS_EXPORT = 'RestChargingStationsExport',
+ CHARGING_STATIONS_OCPP_PARAMS_EXPORT = 'RestChargingStationsOCPPParamsExport',
+ CHARGING_STATION = 'RestChargingStation',
+ CHARGING_STATIONS_OCPP_PARAMETERS = 'RestChargingStationOcppParameters',
+ CHARGING_STATIONS_IN_ERROR = 'RestChargingStationsInError',
+ CHARGING_STATION_UPDATE_PARAMS = 'RestChargingStationUpdateParams',
+ CHARGING_STATION_LIMIT_POWER = 'RestChargingStationLimitPower',
+ CHARGING_STATION_DELETE = 'RestChargingStationDelete',
+
+ CHECK_SMART_CHARGING_CONNECTION = 'RestCheckSmartChargingConnection',
+ TRIGGER_SMART_CHARGING = 'RestTriggerSmartCharging',
REGISTRATION_TOKEN = 'RegistrationToken',
REGISTRATION_TOKENS = 'RegistrationTokens',
@@ -43,7 +43,8 @@ export enum ServerAction {
REGISTRATION_TOKEN_REVOKE = 'RegistrationTokenRevoke',
REGISTRATION_TOKEN_UPDATE = 'RegistrationTokenUpdate',
- STATUS_NOTIFICATIONS = 'StatusNotifications',
+ BOOT_NOTIFICATIONS = 'RestBootNotifications',
+ STATUS_NOTIFICATIONS = 'RestStatusNotifications',
TRANSACTION_SOFT_STOP = 'TransactionSoftStop',
TRANSACTION_DELETE = 'TransactionDelete',
@@ -55,7 +56,7 @@ export enum ServerAction {
LOGGING = 'Logging',
LOGGINGS_EXPORT = 'LoggingsExport',
- CHARGING_STATIONS = 'ChargingStations',
+ CHARGING_STATIONS = 'RestChargingStations',
CAR_CATALOGS = 'CarCatalogs',
CAR_CATALOG = 'CarCatalog',
@@ -72,17 +73,17 @@ export enum ServerAction {
GET_CONNECTOR_CURRENT_LIMIT = 'GetConnectorCurrentLimit',
REGISTER_USER = 'RegisterUser',
- CHARGING_PROFILES = 'ChargingProfiles',
- CHARGING_PROFILE_DELETE = 'ChargingProfileDelete',
- CHARGING_PROFILE_UPDATE = 'ChargingProfileUpdate',
- CHARGING_PROFILE_CREATE = 'ChargingProfileCreate',
- GENERATE_QR_CODE_FOR_CONNECTOR = 'GenerateQrCodeForConnector',
+ CHARGING_PROFILES = 'RestChargingProfiles',
+ CHARGING_PROFILE_DELETE = 'RestChargingProfileDelete',
+ CHARGING_PROFILE_UPDATE = 'RestChargingProfileUpdate',
+ CHARGING_PROFILE_CREATE = 'RestChargingProfileCreate',
+ GENERATE_QR_CODE_FOR_CONNECTOR = 'RestGenerateQrCodeForConnector',
OCPP_PARAM_UPDATE = 'OCPPParamUpdate',
RESEND_VERIFICATION_MAIL = 'ResendVerificationEmail',
END_USER_LICENSE_AGREEMENT = 'EndUserLicenseAgreement',
CHECK_END_USER_LICENSE_AGREEMENT = 'CheckEndUserLicenseAgreement',
VERIFY_EMAIL = 'VerifyEmail',
- FIRMWARE_DOWNLOAD = 'FirmwareDownload',
+ FIRMWARE_DOWNLOAD = 'RestFirmwareDownload',
OFFLINE_CHARGING_STATION = 'OfflineChargingStation',
@@ -309,7 +310,7 @@ export enum ServerAction {
USER_TRANSACTIONS_STATISTICS = 'UserTransactionsStatistics',
USER_PRICING_STATISTICS = 'UserPricingStatistics',
- CHARGING_STATION_TRANSACTIONS = 'ChargingStationTransactions',
+ CHARGING_STATION_TRANSACTIONS = 'RestChargingStationTransactions',
ADD_CHARGING_STATIONS_TO_SITE_AREA = 'AddChargingStationsToSiteArea',
REMOVE_CHARGING_STATIONS_FROM_SITE_AREA = 'RemoveChargingStationsFromSiteArea',
@@ -342,8 +343,8 @@ export enum ServerAction {
COMPANY_DELETE = 'CompanyDelete',
SITE_CREATE = 'SiteCreate',
- ADD_SITES_TO_USER = 'AddSitesToUser',
- REMOVE_SITES_FROM_USER = 'RemoveSitesFromUser',
+ ADD_SITES_TO_USER = 'RestAddSitesToUser',
+ REMOVE_SITES_FROM_USER = 'RestRemoveSitesFromUser',
SITES = 'Sites',
SITE = 'Site',
SITE_IMAGE = 'SiteImage',
@@ -378,26 +379,26 @@ export enum ServerAction {
REFUND = 'Refund',
USER_READ = 'UserRead',
- USER_CREATE = 'UserCreate',
- USER_DELETE = 'UserDelete',
- USER_UPDATE = 'UserUpdate',
- USER_UPDATE_MOBILE_TOKEN = 'UpdateUserMobileToken',
- USERS = 'Users',
- USER_SITES = 'UserSites',
- USERS_IN_ERROR = 'UsersInError',
- USER_IMAGE = 'UserImage',
+ USER_CREATE = 'RestUserCreate',
+ USER_DELETE = 'RestUserDelete',
+ USER_UPDATE = 'RestUserUpdate',
+ USER_UPDATE_MOBILE_TOKEN = 'RestUpdateUserMobileToken',
+ USERS = 'RestUsers',
+ USER_SITES = 'RestUserSites',
+ USERS_IN_ERROR = 'RestUsersInError',
+ USER_IMAGE = 'RestUserImage',
TAGS = 'Tags',
TAG = 'Tag',
- USER_DEFAULT_TAG_CAR = 'UserDefaultTagCar',
+ USER_DEFAULT_TAG_CAR = 'RestUserDefaultTagCar',
TAG_CREATE = 'TagCreate',
TAG_UPDATE = 'TagUpdate',
TAG_DELETE = 'TagDelete',
TAGS_DELETE = 'TagsDelete',
TAGS_IMPORT = 'TagsImport',
TAGS_EXPORT = 'TagsExport',
- USER = 'User',
- USERS_EXPORT = 'UsersExport',
- USERS_IMPORT = 'UsersImport',
+ USER = 'RestUser',
+ USERS_EXPORT = 'RestUsersExport',
+ USERS_IMPORT = 'RestUsersImport',
NOTIFICATIONS = 'Notifications',

Qualified Charging Station actions