ocppConfiguration: chargingStation.ocppConfiguration,
wsState: chargingStation?.wsConnection?.readyState,
bootNotificationResponse: chargingStation.bootNotificationResponse,
...(chargingStation.automaticTransactionGenerator && {
automaticTransactionGenerator: {
automaticTransactionGenerator:
ocppConfiguration: chargingStation.ocppConfiguration,
wsState: chargingStation?.wsConnection?.readyState,
bootNotificationResponse: chargingStation.bootNotificationResponse,
...(chargingStation.automaticTransactionGenerator && {
automaticTransactionGenerator: {
automaticTransactionGenerator: