# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [10.0.4](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@10.0.3...@energyweb/origin-backend-client@10.0.4) (2021-08-30)


### Bug Fixes

* **deps:** update dependency @nestjs/swagger to v4.8.1 ([daa023b](https://github.com/energywebfoundation/origin/commit/daa023bdcd20b78aa3dd8af966c8127b57b9d9ad))
* **deps:** update dependency @nestjs/swagger to v4.8.2 ([d17e433](https://github.com/energywebfoundation/origin/commit/d17e433f1fa2a07ea50bd26b423652670436c6ae))
* **deps:** update dependency typeorm to v0.2.32 ([e2f606e](https://github.com/energywebfoundation/origin/commit/e2f606ee89aec9a5db84138b8df369a0561e08b1))
* **deps:** update dependency typeorm to v0.2.34 ([8c6f39c](https://github.com/energywebfoundation/origin/commit/8c6f39cffcce4cc3d6c3b65daa1a1a883e41aaac))
* **deps:** update nest monorepo to v7.6.17 ([ecc84c0](https://github.com/energywebfoundation/origin/commit/ecc84c0ce3d2d2e47ebe7c667d53adbc6fdd9f6b))
* **deps:** update nest monorepo to v7.6.18 ([6835926](https://github.com/energywebfoundation/origin/commit/6835926dff7764d275b2006084e344c37948b7fa))





## [10.0.3](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@10.0.2...@energyweb/origin-backend-client@10.0.3) (2021-03-23)


### Bug Fixes

* **deps:** update dependency @nestjs/swagger to v4.7.13 ([eba5075](https://github.com/energywebfoundation/origin/commit/eba5075f1578f2ae9d382cc4a955487eaa50d3bb))
* **deps:** update dependency @nestjs/swagger to v4.7.15 ([d58375c](https://github.com/energywebfoundation/origin/commit/d58375c74ffc3de71381e7bab7d65b5040340f6d))
* **deps:** update dependency @nestjs/swagger to v4.7.16 ([c240c31](https://github.com/energywebfoundation/origin/commit/c240c31cba4af09d322426ef09e80e89ea561f5d))
* **deps:** update dependency @nestjs/swagger to v4.8.0 ([f3baec9](https://github.com/energywebfoundation/origin/commit/f3baec98c786542549f87b0d5f2e8c3d425ea638))
* **deps:** update nest monorepo to v7.6.12 ([bacde48](https://github.com/energywebfoundation/origin/commit/bacde48160b73749f5e476b73bbafcef55902aba))
* **deps:** update nest monorepo to v7.6.14 ([9b0ca43](https://github.com/energywebfoundation/origin/commit/9b0ca4312c548681e752ba0e49d0a5a03350ae2e))





## [10.0.2](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@10.0.1...@energyweb/origin-backend-client@10.0.2) (2021-02-12)


### Bug Fixes

* **deps:** update dependency @nestjs/swagger to v4.7.11 ([90a5a0f](https://github.com/energywebfoundation/origin/commit/90a5a0fe978476f56713471352c255ab70b16676))
* **deps:** update dependency @nestjs/swagger to v4.7.12 ([990033f](https://github.com/energywebfoundation/origin/commit/990033f3bf6dafbb055a203e1ce4eb7ab58cdbfa))
* **deps:** update dependency @nestjs/swagger to v4.7.8 ([ee20067](https://github.com/energywebfoundation/origin/commit/ee20067ed8fe387d1c5d64986cfb005ec234d28e))
* **deps:** update dependency @nestjs/swagger to v4.7.9 ([a1d5023](https://github.com/energywebfoundation/origin/commit/a1d5023882b0547583a057b6aab6c4fd6cea8064))
* **deps:** update dependency @nestjs/typeorm to v7.1.5 ([2ebd4a6](https://github.com/energywebfoundation/origin/commit/2ebd4a6250e3bb8f81d058f0881eaf9b07667f30))
* **deps:** update dependency axios to v0.21.1 ([8c14cbe](https://github.com/energywebfoundation/origin/commit/8c14cbe3954973f648a07b34a177e20fe2394638))
* **deps:** update nest monorepo to v7.6.11 ([daee156](https://github.com/energywebfoundation/origin/commit/daee156b9c315c527311f0c78ffbdf4226b6785a))
* **deps:** update nest monorepo to v7.6.4 ([97c8e99](https://github.com/energywebfoundation/origin/commit/97c8e992cd0380aec4e10f8427f421feba2ca6e4))
* **deps:** update nest monorepo to v7.6.5 ([614ba6a](https://github.com/energywebfoundation/origin/commit/614ba6af649b0d10e3708940321e3d7c956f717a))
* **deps:** update nest monorepo to v7.6.7 ([18630b7](https://github.com/energywebfoundation/origin/commit/18630b7b6b59079786b4b4499696a177f3e2c997))
* **origin-backend-client:** fix file upload regression ([839b75a](https://github.com/energywebfoundation/origin/commit/839b75a09b576c955839039a2ea731a177a3e9a2))





## [10.0.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@10.0.0...@energyweb/origin-backend-client@10.0.1) (2020-12-04)

**Note:** Version bump only for package @energyweb/origin-backend-client





# [10.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@9.0.0...@energyweb/origin-backend-client@10.0.0) (2020-11-30)


### Features

* **origin-backend-client:** Make origin backend client autogenerated ([cad49e5](https://github.com/energywebfoundation/origin/commit/cad49e5229faf31bed401436de3a47dab8c6ad05))


### BREAKING CHANGES

* **origin-backend-client:** The Origin backend client now uses a totally different API





# [9.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@8.0.0...@energyweb/origin-backend-client@9.0.0) (2020-11-20)


### Bug Fixes

* **deps:** update dependency axios to v0.21.0 ([57ecd14](https://github.com/energywebfoundation/origin/commit/57ecd14d599bebc341422d24bbf2435369846c5e))
* **deps:** update dependency ethers to v5.0.15 ([7205cfd](https://github.com/energywebfoundation/origin/commit/7205cfd3b823730beed77fa8195b7c9c06898a88))


### chore

* remove Certificate and CertificationRequest references from origin-backend dependencies and clients ([e0a6bbe](https://github.com/energywebfoundation/origin/commit/e0a6bbe94a9343917830db5900fc2bdce37b8dff))


### BREAKING CHANGES

* Removed Certificate and CertificationRequest functionality





# [8.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@7.0.2...@energyweb/origin-backend-client@8.0.0) (2020-10-02)


### Bug Fixes

* **origin-backend-client:** headers override on FileClient ([f34f1f0](https://github.com/energywebfoundation/origin/commit/f34f1f04deded6fe758361ab30ab159dd3dc1c6e))


### Features

* **origin-backend-client:** add download to filesClient ([180f57e](https://github.com/energywebfoundation/origin/commit/180f57e18769b819f4edc558ac28d2536b589c55))
* **origin-backend-client:** add invitationClient ([0f5bed0](https://github.com/energywebfoundation/origin/commit/0f5bed0b506774eb5b77d1306faa03c0dbf0b23c))
* **origin-backend-client:** redefined organization interfaces ([c19e8b7](https://github.com/energywebfoundation/origin/commit/c19e8b7226bb532c0c2e98d5c4732dea5898b645))


### BREAKING CHANGES

* **origin-backend-client:** IOrganization replaced with IPublicOrganization and IFullOrganization





## [7.0.2](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@7.0.1...@energyweb/origin-backend-client@7.0.2) (2020-08-25)

**Note:** Version bump only for package @energyweb/origin-backend-client





## [7.0.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@7.0.0...@energyweb/origin-backend-client@7.0.1) (2020-08-12)

**Note:** Version bump only for package @energyweb/origin-backend-client





# [7.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.3.0...@energyweb/origin-backend-client@7.0.0) (2020-08-10)


### Bug Fixes

* **deps:** update dependency ethers to v5.0.8 ([c69bde0](https://github.com/energywebfoundation/origin/commit/c69bde05c4f0eba5dbc49833f266af24c84c0187))


### chore

* **origin-backend-client:** replace IUserWithRelationIds with IUser ([3b9566b](https://github.com/energywebfoundation/origin/commit/3b9566bfb8d83cfce5fe2711f1bca90b683e19a5))


### BREAKING CHANGES

* **origin-backend-client:** IUser have full org object





# [6.3.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.2.1...@energyweb/origin-backend-client@6.3.0) (2020-08-06)


### Bug Fixes

* **origin-ui-core:** store org id for non-admin and non-support agent ([7498fb4](https://github.com/energywebfoundation/origin/commit/7498fb49c9e24856c2a8d4c8c0b57b2ca8d8923b))


### Features

* **origin-backend:** getAll Devices with relations ([b644f38](https://github.com/energywebfoundation/origin/commit/b644f38b6b6a3b7cff7039795df31d25553455fc))
* **origin-backend:** optional loadRelationsId of device ([ee38568](https://github.com/energywebfoundation/origin/commit/ee385688431b72dcc967544e1552e59e6ca8c9ef))





## [6.2.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.2.0...@energyweb/origin-backend-client@6.2.1) (2020-07-16)

**Note:** Version bump only for package @energyweb/origin-backend-client





# [6.2.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.1.1...@energyweb/origin-backend-client@6.2.0) (2020-07-08)


### Features

* **origin-backend-client:** approvedDate and revokedDate added to ICertificationRequest ([b648d2f](https://github.com/energywebfoundation/origin/commit/b648d2f343c736300465eb529655c08fecacdfe6))





## [6.1.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.1.0...@energyweb/origin-backend-client@6.1.1) (2020-06-16)

**Note:** Version bump only for package @energyweb/origin-backend-client





# [6.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.0.1...@energyweb/origin-backend-client@6.1.0) (2020-06-16)


### Bug Fixes

* Certification request validation handling ([5e0f90b](https://github.com/energywebfoundation/origin/commit/5e0f90bc2abfa2a8e26db19739f283d4eaf4c926))
* implement a certification request data queue ([78cbd4a](https://github.com/energywebfoundation/origin/commit/78cbd4a7a36959cbb0820cf17dc277f0bf5ae823))


### Features

* Updating organization user roles ([c1096f2](https://github.com/energywebfoundation/origin/commit/c1096f28c1b48e606d5deeda7f33720613764326))





## [6.0.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@6.0.0...@energyweb/origin-backend-client@6.0.1) (2020-05-29)


### Bug Fixes

* change URL to fetch invitations for organization ([cc0b238](https://github.com/energywebfoundation/origin/commit/cc0b238966cf8e6e3b14b485f2d4e4b6e7cec865))
* endpoint for fetching invitations for an organization ([57e11d9](https://github.com/energywebfoundation/origin/commit/57e11d9c8b09739ff443389c71dae6c31e4bb6d3))
* ownership commitments permissions + store original requestor ([1751d30](https://github.com/energywebfoundation/origin/commit/1751d3009d11f92d23bc9834632ef5b0ffb5bcee))





# [6.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@5.0.1...@energyweb/origin-backend-client@6.0.0) (2020-05-15)


### chore

* **origin-backend-client:** replace UserRegisterData ([52e9674](https://github.com/energywebfoundation/origin/commit/52e967480c426bc2aa9cc0f59b8c676ca17a4474))
* **origin-backend-client:** rm autopublish remaining code ([9f97d04](https://github.com/energywebfoundation/origin/commit/9f97d040679e95c300f0a02fd85f18ef7e6091f5))


### Features

* add meterStats to Device for un/certified meter readings reference ([627d785](https://github.com/energywebfoundation/origin/commit/627d7855506f52cb70ee083844ef2664b9227a0b))
* Detect and store the whole CertificationRequest on the backend ([613eb28](https://github.com/energywebfoundation/origin/commit/613eb28eeae25ec414b393f61311dbfb679351d4))


### BREAKING CHANGES

* **origin-backend-client:** UserRegisterData type replace with UserRegistrationData
* **origin-backend-client:** autoPublish is not longer a member of IUser interface





## [5.0.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@5.0.0...@energyweb/origin-backend-client@5.0.1) (2020-04-24)


### Bug Fixes

* **origin-ui-core:** fix image upload when registering devices ([fcbfe00](https://github.com/energywebfoundation/origin/commit/fcbfe008670d0f030f6de953957229fd98432208))
* store certificate energy as a string (maximum 2^256-1) ([2a284a9](https://github.com/energywebfoundation/origin/commit/2a284a9ff3b362dfa41516995b1cadd4c5651194))





# [5.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@4.0.0...@energyweb/origin-backend-client@5.0.0) (2020-04-08)


### Bug Fixes

* adjust application to off-chain device registry ([a3583fb](https://github.com/energywebfoundation/origin/commit/a3583fb6c80604c88ef69724c69229a74320ff95))
* enable editing account settings ([b058828](https://github.com/energywebfoundation/origin/commit/b058828cafe8e07f0d5b921f8d0c59efc4f67ee7))
* make ContractsLookup part of Configuration ([4fe28c4](https://github.com/energywebfoundation/origin/commit/4fe28c4a79dc17658b067d519c6f0288a6243198))
* remove MarketUser from UI ([9d15489](https://github.com/energywebfoundation/origin/commit/9d15489fa976fb9861337de0b8cbc56a06477203))


### chore

* **device-registry:** remove all off-chain components ([d11c834](https://github.com/energywebfoundation/origin/commit/d11c83486a89eab252a88dcf79054383f9ea5152))


### Features

* add ability to autogenerate external device ids ([822b752](https://github.com/energywebfoundation/origin/commit/822b7523730b726aeb2f7f09922d1742f3faa075))
* add ORGANIZATION_REMOVED_MEMBER and DEVICE_STATUS_CHANGED email notifications ([384f90f](https://github.com/energywebfoundation/origin/commit/384f90fa18bf9ee7a38648afa28de95ca7f64071))
* add posting certificates for sale ([84a141a](https://github.com/energywebfoundation/origin/commit/84a141a9868102f1d012170926c2439069716783))
* **issuer:** approval process for private transfers ([b285bfd](https://github.com/energywebfoundation/origin/commit/b285bfdc4c7807a619ded163cc49a83b7545eb88))
* New CertificationRequest structure + use ContractsLookup instead of MarketContractLookup ([cb380c0](https://github.com/energywebfoundation/origin/commit/cb380c05986ee5e8f8fb1398e225ee54147a3936))
* support storing OwnershipCommitments off-chain ([6586895](https://github.com/energywebfoundation/origin/commit/658689556bb22a011e5dc947cf288f0b4c2cebcb))


### BREAKING CHANGES

* **device-registry:** The device registry is now entirely on-chain





# [4.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@3.3.0...@energyweb/origin-backend-client@4.0.0) (2020-03-16)


### Bug Fixes

* **deps:** update dependency ws to v7.2.3 ([14b2218](https://github.com/energywebfoundation/origin/commit/14b2218ad5df9b5873d59f70b317cbc3f5d8b158))
* fetch all device smart meter readings only on-demand ([0708917](https://github.com/energywebfoundation/origin/commit/07089170e80de59503c299755f5bdf5e26005a3b))
* **deps:** update dependency ws to v7.2.2 ([f04bd68](https://github.com/energywebfoundation/origin/commit/f04bd684c34ca65cf1096eaae2de1aae28170e01))


### Features

* add ExternalDeviceIdTypes to OriginConfiguration + unify all configuration items into one db table ([1469e32](https://github.com/energywebfoundation/origin/commit/1469e32ea369daf7f1b910c201670836248914ff))


### BREAKING CHANGES

* Configuration Client now works differently





# [3.3.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@3.2.0...@energyweb/origin-backend-client@3.3.0) (2020-03-02)


### Features

* Off-chain smart meter readings ([4dfbff0](https://github.com/energywebfoundation/origin/commit/4dfbff036b20578f6c2d960328a52deb0f0dff15))





# [3.2.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@3.1.0...@energyweb/origin-backend-client@3.2.0) (2020-02-12)


### Features

* change certification requests to be off-chain evidence based ([555c696](https://github.com/energywebfoundation/origin/commit/555c696aff17bafd11c8c5403add627d6c95fbd9))





# [3.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@3.0.0...@energyweb/origin-backend-client@3.1.0) (2020-02-04)


### Features

* Unify all data clients into an OffChainData definition ([6aff08d](https://github.com/energywebfoundation/origin/commit/6aff08d9a36eaec5c2e6a102f5c1979d8b459982))





# [3.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@2.2.3...@energyweb/origin-backend-client@3.0.0) (2020-01-31)


### Bug Fixes

* **deps:** update dependency axios to v0.19.1 ([40aa752](https://github.com/energywebfoundation/origin/commit/40aa7522c28cb2f6c32608669f154633be749649))
* **deps:** update dependency axios to v0.19.2 ([696eb46](https://github.com/energywebfoundation/origin/commit/696eb46fd2c7d26c223baaaf9f75d7943fc71517))


### Features

* implement removing user from organization ([4c62da9](https://github.com/energywebfoundation/origin/commit/4c62da9837620dbfbca14e63fd7855de32c7dac5))
* **origin-backend-client:** extend organization and user client functionality, remove mocks ([5ed33ce](https://github.com/energywebfoundation/origin/commit/5ed33ce32f34678e67f0398ba73e5c12efb3424c))


### BREAKING CHANGES

* **origin-backend-client:** remove backend client mocks from package





## [2.2.3](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@2.2.2...@energyweb/origin-backend-client@2.2.3) (2020-01-17)

**Note:** Version bump only for package @energyweb/origin-backend-client





## [2.2.2](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@2.2.1...@energyweb/origin-backend-client@2.2.2) (2020-01-07)

**Note:** Version bump only for package @energyweb/origin-backend-client





## [2.2.1](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@2.2.0...@energyweb/origin-backend-client@2.2.1) (2019-12-20)


### Bug Fixes

* **origin-backend-client:** make IConfigurationClient more general to support Country/Regions ([b42c0af](https://github.com/energywebfoundation/origin/commit/b42c0af75c526685b19c9951b6d467e42a7794cc))





# [2.2.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@2.1.0...@energyweb/origin-backend-client@2.2.0) (2019-12-19)


### Features

* **origin-backend-client:** add Compliance support ([cfdea37](https://github.com/energywebfoundation/origin/commit/cfdea373dcc7181e7665bb9dfcdb961b314513ca))





# [2.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@2.0.0...@energyweb/origin-backend-client@2.1.0) (2019-12-17)


### Features

* **origin-backend-client:** allow storing and getting Currency ([d7b8006](https://github.com/energywebfoundation/origin/commit/d7b8006eb4425f76a2493bf0a92d92be0876bb00))





# [2.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@1.1.0...@energyweb/origin-backend-client@2.0.0) (2019-12-12)


* [FIX] Backend hash storing (#341) ([b239101](https://github.com/energywebfoundation/origin/commit/b239101f51cffd7e37c9ea51654a75804cf502ed)), closes [#341](https://github.com/energywebfoundation/origin/issues/341)


### BREAKING CHANGES

* Changed the API endpoints from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* feat(utils-general): use the new URL structure when fetching off-chain data
* Changed the API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(user-registry): adjust to breaking changes
* Updated User API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(asset-registry): adjust to breaking changes
* Updated Asset API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(origin): fix constructor weird formatting

* fix(market): storing off-chain data references on-chain
* New contracts for PurchasableCertificate + Updated Market API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(event-listener): more understandable tests

* fix(event-listener): make scan interval faster for tests

* feat(origin-backend): use a simpler URL structure
* The URL structure of the API changed to only store hashes, omitting IDs, entity types and market lookup contracts used previously

* chore(origin-backend-client): use only POST methods instead of POST and PUT
* Use the .insert() method instead of .insertOrUpdate()

* chore(utils-general): use .insert instead of .insertOrUpdate

* fix(origin-backend): return 200 on POSTing the same entity

* chore(utils-general): remove abstract getUrl()

* chore(user-registry): remove specific getUrl()

* chore(device-registry): remove specific getUrl()

* chore(origin): remove specific getUrl()

* chore(market): remove specific getUrl()

* chore(monorepo): reorder test:serial

* fix(origin-backend): adjust tests to new POST behaviour

* chore(monorepo): Add an ADR for simplifying off-chain data storage





# [1.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/origin-backend-client@1.0.1...@energyweb/origin-backend-client@1.1.0) (2019-11-26)


### Bug Fixes

* **market:** Updating off-chain properties - Handle cases where on-chain transactions fail ([#318](https://github.com/energywebfoundation/origin/issues/318)) ([324e1ee](https://github.com/energywebfoundation/origin/commit/324e1ee8605a122c54a41bec752333b0ac56b8dd))


### Features

* Add support for toggling between manual/automatic matcher ([#293](https://github.com/energywebfoundation/origin/issues/293)) ([0adde5e](https://github.com/energywebfoundation/origin/commit/0adde5e256bf4d41c6991764bb366648adfe78ca))





## 1.0.1 (2019-11-11)


### Bug Fixes

* fix saving MarketContractLookup URL ([#227](https://github.com/energywebfoundation/origin/issues/227)) ([1127487](https://github.com/energywebfoundation/origin/commit/11274874cbe3277e31736c95b2d2b7d406ba3b48))
* normalize API urls, fix solar simulator ([#228](https://github.com/energywebfoundation/origin/issues/228)) ([aeed701](https://github.com/energywebfoundation/origin/commit/aeed701b8d541fb30a26f63b84d716bea61b7101))
