-import type { OCPP16ChargePointErrorCode } from './ChargePointErrorCode';
-import type { OCPP16ChargePointStatus } from './ChargePointStatus';
+import type { OCPP16ChargePointErrorCode } from './ChargePointErrorCode.js';
+import type { OCPP16ChargePointStatus } from './ChargePointStatus.js';
import type {
OCPP16ChargingProfile,
OCPP16ChargingProfilePurposeType,
OCPP16ChargingRateUnitType,
-} from './ChargingProfile';
-import type { OCPP16StandardParametersKey, OCPP16VendorParametersKey } from './Configuration';
-import type { OCPP16DiagnosticsStatus } from './DiagnosticsStatus';
-import type { EmptyObject } from '../../EmptyObject';
-import type { JsonObject } from '../../JsonType';
+} 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',
DIAGNOSTICS_STATUS_NOTIFICATION = 'DiagnosticsStatusNotification',
FIRMWARE_STATUS_NOTIFICATION = 'FirmwareStatusNotification',
DATA_TRANSFER = 'DataTransfer',
- RESERVE_NOW = 'ReserveNow',
- CANCEL_RESERVATION = 'CancelReservation',
}
export enum OCPP16IncomingRequestCommand {
Operative = 'Operative',
}
-export interface ChangeAvailabilityRequest extends JsonObject {
+export interface OCPP16ChangeAvailabilityRequest extends JsonObject {
connectorId: number;
type: OCPP16AvailabilityType;
}
-export interface ClearChargingProfileRequest extends JsonObject {
+export interface OCPP16ClearChargingProfileRequest extends JsonObject {
id?: number;
connectorId?: number;
chargingProfilePurpose?: OCPP16ChargingProfilePurposeType;