+import type { EmptyObject } from '../../EmptyObject.js'
+import type { JsonObject } from '../../JsonType.js'
import type { OCPP16ChargePointErrorCode } from './ChargePointErrorCode.js'
import type { OCPP16ChargePointStatus } from './ChargePointStatus.js'
import type {
} from './ChargingProfile.js'
import type { OCPP16StandardParametersKey, OCPP16VendorParametersKey } from './Configuration.js'
import type { OCPP16DiagnosticsStatus } from './DiagnosticsStatus.js'
-import type { EmptyObject } from '../../EmptyObject.js'
-import type { JsonObject } from '../../JsonType.js'
export enum OCPP16RequestCommand {
BOOT_NOTIFICATION = 'BootNotification',
}
export interface RemoteStartTransactionRequest extends JsonObject {
- connectorId: number
+ connectorId?: number
idTag: string
chargingProfile?: OCPP16ChargingProfile
}
Installed = 'Installed'
}
-export type OCPP16FirmwareStatusNotificationRequest = {
+export interface OCPP16FirmwareStatusNotificationRequest extends JsonObject {
status: OCPP16FirmwareStatus
-} & JsonObject
+}
export interface GetDiagnosticsRequest extends JsonObject {
location: string