Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@greenactionstudio/ocpp-types

greenactionstudio1.1kISC2.16.0TypeScript support: included

A centralized library of Open Charge Point Protocol (OCPP) types for use in other projects.

charge point, ocpp, open charge point protocol

readme

Open Charge Point Protocol (OCPP) Types

A centralized library of Open Charge Point Protocol (OCPP) types for use in other projects.

Contributing

  1. Update/Add the OCPP type in the correct version file. (Note: New types should follow the terminology found in the OCPP specification "types" chapter.)
  2. Commit the changes using Covential Commits.
  3. Create a pull request containing the new types.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.16.0 (2022-11-22)

Features

  • add FirmwareStatusNotification type (d6c56f4)

Bug Fixes

  • update UpdateFirmware type according to the ocpp document (7d79264)

2.15.0 (2022-11-18)

Features

2.14.4 (2022-11-18)

Bug Fixes

  • export ClearChargingProfile and SetChargingProfile (ad9c760)

2.14.3 (2022-11-18)

2.14.2 (2022-11-18)

2.14.1 (2022-11-18)

2.14.0 (2022-11-18)

Features

  • SetChargingProfile operation type supported (2ba9826)

2.13.0 (2022-08-16)

Features

  • add DataTransfer request and confirmatino (b9f1443)

2.12.1 (2022-08-16)

2.12.0 (2022-06-13)

Features

  • added Clear Charging Profile (294e9c4)

2.11.2 (2022-03-10)

Bug Fixes

2.11.1 (2022-03-10)

Bug Fixes

  • fixed SendLocalList.req type (00fbc37)

2.11.0 (2022-03-09)

Features

  • add send local list req and conf (7acee1e)
  • implement getLocalListVersion (455e457)

2.10.0 (2021-12-20)

Features

  • added Change Availability Command (2b15126)

2.9.1 (2021-11-15)

Bug Fixes

  • updated connectorId to optional (12346d7)

2.9.0 (2021-11-12)

Features

  • added trigger message types (5e1191b)

2.8.0 (2021-10-27)

Features

  • added UpdateFirmware command (3e9e122)

2.7.1 (2021-06-14)

Bug Fixes

  • exported GetConfiguration method (408b6b8)

2.7.0 (2021-06-14)

Features

  • added types for GetConfiguration request and confirmation (d6af737)

2.6.1 (2021-06-10)

Bug Fixes

  • updated status in remoteStartTransaction and remoteStopTransaction to fix verbage (181b9e0)

2.6.0 (2021-05-10)

Features

  • Added types for remoteStartTransaction and remoteStopTransaction (7e89060)

2.5.1 (2021-04-22)

Bug Fixes

  • the the statusNotification has optional variables (cd2bb72)

2.5.0 (2021-04-21)

Features

2.4.3 (2021-04-20)

Bug Fixes

  • updated SampledValue to the correct type (66c1118)

2.4.2 (2021-04-20)

Bug Fixes

  • updated StopTransactionl.req (5bc2041)

2.4.1 (2021-04-16)

Bug Fixes

  • fixed the type SampledValue (89fba56)

2.4.0 (2021-04-12)

Features

  • added v1.6 WebSocket message error types (f396fa4)

2.3.3 (2021-03-15)

Bug Fixes

2.3.2 (2021-03-15)

Bug Fixes

2.3.1 (2021-03-15)

Bug Fixes

  • typo in startTransaction.conf (aef1dba)

2.3.0 (2021-03-15)

Features

  • added new types for transaction actions (08dba91)

2.2.0 (2021-03-12)

Features

2.1.0 (2021-03-12)

Features

  • added Change Configuration types (3fc4d84)

2.0.0 (2021-03-12)

⚠ BREAKING CHANGES

  • moving away from custom naming conventions to standard OCPP naming

Features

  • updated types to more closely match OCPP types (453eb19)

1.9.1 (2021-03-12)

Bug Fixes

  • removed unused versions dir (31acc1a)

1.9.0 (2021-03-12)

Features

  • moved all types to type folder so they can be imported as a global namespace. (b205bac)

1.8.1 (2021-03-11)

1.8.0 (2021-03-11)

Features

  • updated the types that are using in the tansactions service (2fc180c)

1.7.0 (2021-03-09)

Features

  • added authroize request/response types (15cc62b)
  • added authroize request/response types (cdee5fb)
  • updated README to include contributing guidelines (977f4f9)
  • updated README to include contributing guidelines (a69daa7)

1.6.0 (2021-03-05)

Features

  • update project structure to work with TSConfig type roots (f14f5a1)

1.5.1 (2021-03-05)

Bug Fixes

  • added typescript version (dec0ee6)

1.5.0 (2021-03-05)

Features

  • added ChargePointStatus and ChargePointErrorCode as types (13d5d73)

1.4.4 (2021-03-04)

Bug Fixes

  • moved back from const enums becuase it wasn't the problem (517b645)
  • removed enums from typings becuase they should be in the actual code and not in type files (4f9becb)

1.4.3 (2021-03-04)

Bug Fixes

  • reverted to const enums to allow module imports (145148e)

1.4.2 (2021-03-04)

Bug Fixes

  • migrated const enums to regular (9493066)

1.4.1 (2021-03-04)

Bug Fixes

  • updated exports to allow for nested versions (3122e71)

1.4.0 (2021-03-04)

Features

  • moved all types from v1.6 to their own folder for future scaling to other versions (08395de)

1.3.2 (2021-03-04)

Bug Fixes

  • seperated out const enums so they can be imported by modules (5d34311)

1.3.1 (2021-03-04)

Bug Fixes

  • added exports for enums (9bebf3e)

1.3.0 (2021-03-04)

Features

  • moved to namespace with no exports (2d68570)

Bug Fixes

  • removed uneccessary imports (074f04e)

1.2.6 (2021-03-04)

Bug Fixes

  • updated ts to use module exports (14e0855)

1.2.5 (2021-03-04)

Bug Fixes

  • moved all types to a version file for clarity (47df337)

1.2.4 (2021-03-04)

Bug Fixes

  • Moved all types into a namespace to make it easier to use (53030b5)

1.2.3 (2021-03-04)

1.2.2 (2021-03-03)

Bug Fixes

  • fixed the base URL and type roots (b4cba0b)

1.2.1 (2021-03-03)

1.2.0 (2021-03-03)

Features

  • Added OCPP Heartbeat response type (f7fd580)

1.1.0 (2021-03-01)

Features

  • added description and keywords (6ff52d0)

1.0.0 (2021-03-01)

Features

  • Created ocpp1.6 types and enum (3bd96fd)
  • Setup basic boiler-plate (9cbf4a4)

Bug Fixes

  • Changed first letter to uppercase (87911ec)
  • Removed all non-ocpp types and fixed the variable name of ocppConnectorStatus (a21e9ce)
  • removed uneccassary deps (bb76600)