UNPKG

@evpower/ocpp-ts

Version:

OCPP 1.6: Open Charge Point Protocol

1,242 lines (1,241 loc) 35.2 kB
declare const _default: { Authorize: { $schema: string; title: string; type: string; properties: { idTag: { type: string; maxLength: number; }; }; additionalProperties: boolean; required: string[]; }; AuthorizeResponse: { $schema: string; title: string; type: string; properties: { idTagInfo: { type: string; properties: { status: { type: string; enum: string[]; }; expiryDate: { type: string; format: string; }; parentIdTag: { type: string; maxLength: number; }; }; required: string[]; }; }; additionalProperties: boolean; required: string[]; }; BootNotification: { $schema: string; title: string; type: string; properties: { chargePointVendor: { type: string; maxLength: number; }; chargePointModel: { type: string; maxLength: number; }; chargePointSerialNumber: { type: string; maxLength: number; }; chargeBoxSerialNumber: { type: string; maxLength: number; }; firmwareVersion: { type: string; maxLength: number; }; iccid: { type: string; maxLength: number; }; imsi: { type: string; maxLength: number; }; meterType: { type: string; maxLength: number; }; meterSerialNumber: { type: string; maxLength: number; }; }; additionalProperties: boolean; required: string[]; }; BootNotificationResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; currentTime: { type: string; format: string; }; interval: { type: string; }; }; additionalProperties: boolean; required: string[]; }; CancelReservation: { $schema: string; title: string; type: string; properties: { reservationId: { type: string; }; }; additionalProperties: boolean; required: string[]; }; CancelReservationResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ChangeAvailability: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; type: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ChangeAvailabilityResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ChangeConfiguration: { $schema: string; title: string; type: string; properties: { key: { type: string; maxLength: number; }; value: { type: string; maxLength: number; }; }; additionalProperties: boolean; required: string[]; }; ChangeConfigurationResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ClearCache: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; ClearCacheResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ClearChargingProfile: { $schema: string; title: string; type: string; properties: { id: { type: string; }; connectorId: { type: string; }; chargingProfilePurpose: { type: string; enum: string[]; }; stackLevel: { type: string; }; }; additionalProperties: boolean; }; ClearChargingProfileResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; DataTransfer: { $schema: string; title: string; type: string; properties: { vendorId: { type: string; maxLength: number; }; messageId: { type: string; maxLength: number; }; data: { type: string; }; }; additionalProperties: boolean; required: string[]; }; DataTransferResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; data: { type: string; }; }; additionalProperties: boolean; required: string[]; }; DiagnosticsStatusNotification: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; DiagnosticsStatusNotificationResponse: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; FirmwareStatusNotification: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; FirmwareStatusNotificationResponse: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; GetCompositeSchedule: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; duration: { type: string; }; chargingRateUnit: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; GetCompositeScheduleResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; connectorId: { type: string; }; scheduleStart: { type: string; format: string; }; chargingSchedule: { type: string; properties: { duration: { type: string; }; startSchedule: { type: string; format: string; }; chargingRateUnit: { type: string; enum: string[]; }; chargingSchedulePeriod: { type: string; items: { type: string; properties: { startPeriod: { type: string; }; limit: { type: string; multipleOf: number; }; numberPhases: { type: string; }; }; required: string[]; }; }; minChargingRate: { type: string; multipleOf: number; }; }; required: string[]; }; }; additionalProperties: boolean; required: string[]; }; GetConfiguration: { $schema: string; title: string; type: string; properties: { key: { type: string; items: { type: string; maxLength: number; }; }; }; additionalProperties: boolean; }; GetConfigurationResponse: { $schema: string; title: string; type: string; properties: { configurationKey: { type: string; items: { type: string; properties: { key: { type: string; maxLength: number; }; readonly: { type: string; }; value: { type: string; maxLength: number; }; }; required: string[]; }; }; unknownKey: { type: string; items: { type: string; maxLength: number; }; }; }; additionalProperties: boolean; }; GetDiagnostics: { $schema: string; title: string; type: string; properties: { location: { type: string; format: string; }; retries: { type: string; }; retryInterval: { type: string; }; startTime: { type: string; format: string; }; stopTime: { type: string; format: string; }; }; additionalProperties: boolean; required: string[]; }; GetDiagnosticsResponse: { $schema: string; title: string; type: string; properties: { fileName: { type: string; maxLength: number; }; }; additionalProperties: boolean; }; GetLocalListVersion: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; GetLocalListVersionResponse: { $schema: string; title: string; type: string; properties: { listVersion: { type: string; }; }; additionalProperties: boolean; required: string[]; }; Heartbeat: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; HeartbeatResponse: { $schema: string; title: string; type: string; properties: { currentTime: { type: string; format: string; }; }; additionalProperties: boolean; required: string[]; }; MeterValues: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; transactionId: { type: string; }; meterValue: { type: string; items: { type: string; properties: { timestamp: { type: string; format: string; }; sampledValue: { type: string; items: { type: string; properties: { value: { type: string; }; context: { type: string; enum: string[]; }; format: { type: string; enum: string[]; }; measurand: { type: string; enum: string[]; }; phase: { type: string; enum: string[]; }; location: { type: string; enum: string[]; }; unit: { type: string; enum: string[]; }; }; required: string[]; }; }; }; required: string[]; }; }; }; additionalProperties: boolean; required: string[]; }; MeterValuesResponse: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; RemoteStartTransaction: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; idTag: { type: string; maxLength: number; }; chargingProfile: { type: string; properties: { chargingProfileId: { type: string; }; transactionId: { type: string; }; stackLevel: { type: string; }; chargingProfilePurpose: { type: string; enum: string[]; }; chargingProfileKind: { type: string; enum: string[]; }; recurrencyKind: { type: string; enum: string[]; }; validFrom: { type: string; format: string; }; validTo: { type: string; format: string; }; chargingSchedule: { type: string; properties: { duration: { type: string; }; startSchedule: { type: string; format: string; }; chargingRateUnit: { type: string; enum: string[]; }; chargingSchedulePeriod: { type: string; items: { type: string; properties: { startPeriod: { type: string; }; limit: { type: string; multipleOf: number; }; numberPhases: { type: string; }; }; required: string[]; }; }; minChargingRate: { type: string; multipleOf: number; }; }; required: string[]; }; }; required: string[]; }; }; additionalProperties: boolean; required: string[]; }; RemoteStartTransactionResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; RemoteStopTransaction: { $schema: string; title: string; type: string; properties: { transactionId: { type: string; }; }; additionalProperties: boolean; required: string[]; }; RemoteStopTransactionResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ReserveNow: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; expiryDate: { type: string; format: string; }; idTag: { type: string; maxLength: number; }; parentIdTag: { type: string; maxLength: number; }; reservationId: { type: string; }; }; additionalProperties: boolean; required: string[]; }; ReserveNowResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; Reset: { $schema: string; title: string; type: string; properties: { type: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; ResetResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; SendLocalList: { $schema: string; title: string; type: string; properties: { listVersion: { type: string; }; localAuthorizationList: { type: string; items: { type: string; properties: { idTag: { type: string; maxLength: number; }; idTagInfo: { type: string; properties: { expiryDate: { type: string; format: string; }; parentIdTag: { type: string; maxLength: number; }; status: { type: string; enum: string[]; }; }; required: string[]; }; }; required: string[]; }; }; updateType: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; SendLocalListResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; SetChargingProfile: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; csChargingProfiles: { type: string; properties: { chargingProfileId: { type: string; }; transactionId: { type: string; }; stackLevel: { type: string; }; chargingProfilePurpose: { type: string; enum: string[]; }; chargingProfileKind: { type: string; enum: string[]; }; recurrencyKind: { type: string; enum: string[]; }; validFrom: { type: string; format: string; }; validTo: { type: string; format: string; }; chargingSchedule: { type: string; properties: { duration: { type: string; }; startSchedule: { type: string; format: string; }; chargingRateUnit: { type: string; enum: string[]; }; chargingSchedulePeriod: { type: string; items: { type: string; properties: { startPeriod: { type: string; }; limit: { type: string; multipleOf: number; }; numberPhases: { type: string; }; }; required: string[]; }; }; minChargingRate: { type: string; multipleOf: number; }; }; required: string[]; }; }; required: string[]; }; }; additionalProperties: boolean; required: string[]; }; SetChargingProfileResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; StartTransaction: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; idTag: { type: string; maxLength: number; }; meterStart: { type: string; }; reservationId: { type: string; }; timestamp: { type: string; format: string; }; }; additionalProperties: boolean; required: string[]; }; StartTransactionResponse: { $schema: string; title: string; type: string; properties: { idTagInfo: { type: string; properties: { expiryDate: { type: string; format: string; }; parentIdTag: { type: string; maxLength: number; }; status: { type: string; enum: string[]; }; }; required: string[]; }; transactionId: { type: string; }; }; additionalProperties: boolean; required: string[]; }; StatusNotification: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; errorCode: { type: string; enum: string[]; }; info: { type: string; maxLength: number; }; status: { type: string; enum: string[]; }; timestamp: { type: string; format: string; }; vendorId: { type: string; maxLength: number; }; vendorErrorCode: { type: string; maxLength: number; }; }; additionalProperties: boolean; required: string[]; }; StatusNotificationResponse: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; StopTransaction: { $schema: string; title: string; type: string; properties: { idTag: { type: string; maxLength: number; }; meterStop: { type: string; }; timestamp: { type: string; format: string; }; transactionId: { type: string; }; reason: { type: string; enum: string[]; }; transactionData: { type: string; items: { type: string; properties: { timestamp: { type: string; format: string; }; sampledValue: { type: string; items: { type: string; properties: { value: { type: string; }; context: { type: string; enum: string[]; }; format: { type: string; enum: string[]; }; measurand: { type: string; enum: string[]; }; phase: { type: string; enum: string[]; }; location: { type: string; enum: string[]; }; unit: { type: string; enum: string[]; }; }; required: string[]; }; }; }; required: string[]; }; }; }; additionalProperties: boolean; required: string[]; }; StopTransactionResponse: { $schema: string; title: string; type: string; properties: { idTagInfo: { type: string; properties: { expiryDate: { type: string; format: string; }; parentIdTag: { type: string; maxLength: number; }; status: { type: string; enum: string[]; }; }; required: string[]; }; }; additionalProperties: boolean; }; TriggerMessage: { $schema: string; title: string; type: string; properties: { requestedMessage: { type: string; enum: string[]; }; connectorId: { type: string; }; }; additionalProperties: boolean; required: string[]; }; TriggerMessageResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; UnlockConnector: { $schema: string; title: string; type: string; properties: { connectorId: { type: string; }; }; additionalProperties: boolean; required: string[]; }; UnlockConnectorResponse: { $schema: string; title: string; type: string; properties: { status: { type: string; enum: string[]; }; }; additionalProperties: boolean; required: string[]; }; UpdateFirmware: { $schema: string; title: string; type: string; properties: { location: { type: string; format: string; }; retries: { type: string; }; retrieveDate: { type: string; format: string; }; retryInterval: { type: string; }; }; additionalProperties: boolean; required: string[]; }; UpdateFirmwareResponse: { $schema: string; title: string; type: string; properties: {}; additionalProperties: boolean; }; }; export default _default; export declare const OCPP_PROTOCOL_1_6 = "ocpp1.6";