X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FRequests.ts;h=e186679f5004938c7662615dfa4fde8d29133300;hb=c0bbb3eaf0c5dc704ea92820a2666a68ffdc27ff;hp=26dd03f79570fbfdaefedb8347843495ed67ab8b;hpb=f4b3f35d653138a946d74d5f3c313275ee9c03b2;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/Requests.ts b/src/types/ocpp/1.6/Requests.ts index 26dd03f7..e186679f 100644 --- a/src/types/ocpp/1.6/Requests.ts +++ b/src/types/ocpp/1.6/Requests.ts @@ -1,3 +1,5 @@ +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 { @@ -7,8 +9,6 @@ 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', @@ -77,7 +77,7 @@ export interface ChangeConfigurationRequest extends JsonObject { } export interface RemoteStartTransactionRequest extends JsonObject { - connectorId: number + connectorId?: number idTag: string chargingProfile?: OCPP16ChargingProfile }