green_link_api 1.15.2 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -31
- package/dist/ApiClient.js +4 -8
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +22 -22
- package/dist/api/EnergyDataApi.js +82 -164
- package/dist/api/HealthCheckApi.js +3 -3
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +3 -3
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +129 -60
- package/dist/api/MaintenanceCheckApi.js +3 -3
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +32 -32
- package/dist/api/SchemaApi.js +3 -3
- package/dist/api/SentryDebugApi.js +3 -3
- package/dist/api/UsersApi.js +10 -10
- package/dist/index.js +73 -73
- package/dist/model/Activities.js +79 -26
- package/dist/model/ActivitiesStatusEnum.js +60 -0
- package/dist/model/{BlockchainTransaction.js → BlockchainTransactionTask.js} +31 -33
- package/dist/model/Consumer.js +2 -2
- package/dist/model/ConsumptionDataFileList.js +2 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
- package/dist/model/ConsumptionDataPointCreate.js +2 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +6 -6
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/{ImportRequest.js → ConsumptionDataTask.js} +33 -33
- package/dist/model/ConsumptionSite.js +2 -2
- package/dist/model/ConsumptionSiteContract.js +2 -2
- package/dist/model/ConsumptionSiteContractImport.js +2 -2
- package/dist/model/ConsumptionSiteCreate.js +2 -2
- package/dist/model/ConsumptionSiteFileUpload.js +2 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
- package/dist/model/ContentTypeEnum.js +1 -1
- package/dist/model/EacTypeEnum.js +1 -1
- package/dist/model/EmissionFactor.js +2 -2
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/{Status619Enum.js → EventEnum.js} +21 -16
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/{ImportedEnergyDataPoint.js → ImportedConsumptionDataPoint.js} +26 -26
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/{MatchedEnergyDataPoint.js → MatchedDataPoint.js} +33 -33
- package/dist/model/{MatchRequest.js → MatchedDataTask.js} +42 -42
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/NullEnum.js +55 -0
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +2 -2
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
- package/dist/model/{PaginatedUploadedFileList.js → PaginatedConsumptionDataTaskList.js} +24 -24
- package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedEmissionFactorList.js +2 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
- package/dist/model/PaginatedGridOperatorList.js +2 -2
- package/dist/model/PaginatedImportedConsumptionDataPointList.js +101 -0
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/{PaginatedImportRequestRawList.js → PaginatedMatchedDataPointList.js} +24 -24
- package/dist/model/{PaginatedImportRequestList.js → PaginatedMatchedDataTaskList.js} +24 -24
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/{PaginatedImportedEnergyDataPointList.js → PaginatedProductionDataFromEpiasTaskList.js} +24 -24
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedRetailerList.js +2 -2
- package/dist/model/PaginatedSmartContractList.js +2 -2
- package/dist/model/PaginatedUnprocessedRowList.js +2 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
- package/dist/model/{PaginatedMatchRequestList.js → PaginatedUploadedFileTaskList.js} +24 -24
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +2 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
- package/dist/model/PatchedConsumptionSite.js +2 -2
- package/dist/model/PatchedEmissionFactor.js +2 -2
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +2 -2
- package/dist/model/PatchedProducer.js +2 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
- package/dist/model/PatchedProductionSiteUpdate.js +2 -2
- package/dist/model/PatchedRetailer.js +2 -2
- package/dist/model/PatchedSmartContract.js +2 -2
- package/dist/model/PatchedUser.js +2 -2
- package/dist/model/PatchedUserDetail.js +2 -2
- package/dist/model/PriorityEnum.js +1 -1
- package/dist/model/Producer.js +2 -2
- package/dist/model/ProductionDataFileList.js +2 -2
- package/dist/model/{ProductionDataFromEpiasRequest.js → ProductionDataFromEpiasTask.js} +30 -30
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +6 -6
- package/dist/model/ProductionDataPointUpdate.js +2 -2
- package/dist/model/ProductionSite.js +2 -2
- package/dist/model/ProductionSiteFileUpload.js +2 -2
- package/dist/model/ProductionSiteListOrDetail.js +2 -2
- package/dist/model/ProductionSiteUpdate.js +2 -2
- package/dist/model/Register.js +2 -2
- package/dist/model/Retailer.js +2 -2
- package/dist/model/SmartContract.js +2 -2
- package/dist/model/{ImportRequestStatusEnum.js → Status90bEnum.js} +15 -10
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UnprocessedRow.js +2 -2
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/{UploadedFile.js → UploadedFileTask.js} +29 -29
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
- package/dist/model/ImportRequestRaw.js +0 -120
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +0 -101
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +0 -101
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedConsumptionSite model module.
|
|
29
29
|
* @module model/PatchedConsumptionSite
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedConsumptionSite = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The PatchedEmissionFactor model module.
|
|
28
28
|
* @module model/PatchedEmissionFactor
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var PatchedEmissionFactor = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* GreenLink API
|
|
18
18
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.16.0
|
|
21
21
|
*
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* The PatchedEnergySourcePreference model module.
|
|
30
30
|
* @module model/PatchedEnergySourcePreference
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.16.0
|
|
32
32
|
*/
|
|
33
33
|
var PatchedEnergySourcePreference = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedGridOperator model module.
|
|
29
29
|
* @module model/PatchedGridOperator
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedGridOperator = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedIssuer model module.
|
|
29
29
|
* @module model/PatchedIssuer
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedIssuer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The PatchedLocation model module.
|
|
28
28
|
* @module model/PatchedLocation
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var PatchedLocation = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedProducer model module.
|
|
29
29
|
* @module model/PatchedProducer
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedProducer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedProductionDataPointUpdate model module.
|
|
29
29
|
* @module model/PatchedProductionDataPointUpdate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedProductionDataPointUpdate = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedProductionSiteUpdate model module.
|
|
29
29
|
* @module model/PatchedProductionSiteUpdate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedProductionSiteUpdate = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedRetailer model module.
|
|
29
29
|
* @module model/PatchedRetailer
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedRetailer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The PatchedSmartContract model module.
|
|
28
28
|
* @module model/PatchedSmartContract
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var PatchedSmartContract = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedUser model module.
|
|
29
29
|
* @module model/PatchedUser
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedUser = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The PatchedUserDetail model module.
|
|
29
29
|
* @module model/PatchedUserDetail
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PatchedUserDetail = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/model/Producer.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The Producer model module.
|
|
29
29
|
* @module model/Producer
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var Producer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The ProductionDataFileList model module.
|
|
28
28
|
* @module model/ProductionDataFileList
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var ProductionDataFileList = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -8,7 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _Producer = _interopRequireDefault(require("./Producer"));
|
|
9
9
|
var _ProductionSite = _interopRequireDefault(require("./ProductionSite"));
|
|
10
10
|
var _Retailer = _interopRequireDefault(require("./Retailer"));
|
|
11
|
-
var
|
|
11
|
+
var _Status90bEnum = _interopRequireDefault(require("./Status90bEnum"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
* GreenLink API
|
|
20
20
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 1.
|
|
22
|
+
* The version of the OpenAPI document: 1.16.0
|
|
23
23
|
*
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,23 +28,23 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version 1.
|
|
31
|
+
* The ProductionDataFromEpiasTask model module.
|
|
32
|
+
* @module model/ProductionDataFromEpiasTask
|
|
33
|
+
* @version 1.16.0
|
|
34
34
|
*/
|
|
35
|
-
var
|
|
35
|
+
var ProductionDataFromEpiasTask = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
* @alias module:model/
|
|
37
|
+
* Constructs a new <code>ProductionDataFromEpiasTask</code>.
|
|
38
|
+
* @alias module:model/ProductionDataFromEpiasTask
|
|
39
39
|
* @param producer {module:model/Producer}
|
|
40
40
|
* @param retailer {module:model/Retailer}
|
|
41
41
|
* @param productionSite {module:model/ProductionSite}
|
|
42
42
|
* @param startTime {Date}
|
|
43
43
|
* @param endTime {Date}
|
|
44
44
|
*/
|
|
45
|
-
function
|
|
46
|
-
_classCallCheck(this,
|
|
47
|
-
|
|
45
|
+
function ProductionDataFromEpiasTask(producer, retailer, productionSite, startTime, endTime) {
|
|
46
|
+
_classCallCheck(this, ProductionDataFromEpiasTask);
|
|
47
|
+
ProductionDataFromEpiasTask.initialize(this, producer, retailer, productionSite, startTime, endTime);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -52,7 +52,7 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
|
|
|
52
52
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
53
53
|
* Only for internal use.
|
|
54
54
|
*/
|
|
55
|
-
_createClass(
|
|
55
|
+
_createClass(ProductionDataFromEpiasTask, null, [{
|
|
56
56
|
key: "initialize",
|
|
57
57
|
value: function initialize(obj, producer, retailer, productionSite, startTime, endTime) {
|
|
58
58
|
obj['producer'] = producer;
|
|
@@ -63,17 +63,17 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Constructs a <code>
|
|
66
|
+
* Constructs a <code>ProductionDataFromEpiasTask</code> from a plain JavaScript object, optionally creating a new instance.
|
|
67
67
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
68
68
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
69
|
-
* @param {module:model/
|
|
70
|
-
* @return {module:model/
|
|
69
|
+
* @param {module:model/ProductionDataFromEpiasTask} obj Optional instance to populate.
|
|
70
|
+
* @return {module:model/ProductionDataFromEpiasTask} The populated <code>ProductionDataFromEpiasTask</code> instance.
|
|
71
71
|
*/
|
|
72
72
|
}, {
|
|
73
73
|
key: "constructFromObject",
|
|
74
74
|
value: function constructFromObject(data, obj) {
|
|
75
75
|
if (data) {
|
|
76
|
-
obj = obj || new
|
|
76
|
+
obj = obj || new ProductionDataFromEpiasTask();
|
|
77
77
|
if (data.hasOwnProperty('id')) {
|
|
78
78
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
79
79
|
}
|
|
@@ -87,7 +87,7 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
|
|
|
87
87
|
obj['production_site'] = _ProductionSite["default"].constructFromObject(data['production_site']);
|
|
88
88
|
}
|
|
89
89
|
if (data.hasOwnProperty('status')) {
|
|
90
|
-
obj['status'] = _ApiClient["default"].convertToType(data['status'],
|
|
90
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status90bEnum["default"]);
|
|
91
91
|
}
|
|
92
92
|
if (data.hasOwnProperty('start_time')) {
|
|
93
93
|
obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
|
|
@@ -105,52 +105,52 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
|
|
|
105
105
|
return obj;
|
|
106
106
|
}
|
|
107
107
|
}]);
|
|
108
|
-
return
|
|
108
|
+
return ProductionDataFromEpiasTask;
|
|
109
109
|
}();
|
|
110
110
|
/**
|
|
111
111
|
* @member {String} id
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
ProductionDataFromEpiasTask.prototype['id'] = undefined;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* @member {module:model/Producer} producer
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
ProductionDataFromEpiasTask.prototype['producer'] = undefined;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* @member {module:model/Retailer} retailer
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
ProductionDataFromEpiasTask.prototype['retailer'] = undefined;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* @member {module:model/ProductionSite} production_site
|
|
127
127
|
*/
|
|
128
|
-
|
|
128
|
+
ProductionDataFromEpiasTask.prototype['production_site'] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `
|
|
132
|
-
* @member {module:model/
|
|
131
|
+
* Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
132
|
+
* @member {module:model/Status90bEnum} status
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
ProductionDataFromEpiasTask.prototype['status'] = undefined;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* @member {Date} start_time
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
ProductionDataFromEpiasTask.prototype['start_time'] = undefined;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* @member {Date} end_time
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
ProductionDataFromEpiasTask.prototype['end_time'] = undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* @member {Date} created_at
|
|
148
148
|
*/
|
|
149
|
-
|
|
149
|
+
ProductionDataFromEpiasTask.prototype['created_at'] = undefined;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* @member {Date} updated_at
|
|
153
153
|
*/
|
|
154
|
-
|
|
155
|
-
var _default =
|
|
154
|
+
ProductionDataFromEpiasTask.prototype['updated_at'] = undefined;
|
|
155
|
+
var _default = ProductionDataFromEpiasTask;
|
|
156
156
|
exports["default"] = _default;
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The ProductionDataPointCreate model module.
|
|
29
29
|
* @module model/ProductionDataPointCreate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var ProductionDataPointCreate = /*#__PURE__*/function () {
|
|
33
33
|
/**
|