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 ConsumptionSiteCreate model module.
|
|
29
29
|
* @module model/ConsumptionSiteCreate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var ConsumptionSiteCreate = /*#__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 ConsumptionSiteFileUpload model module.
|
|
28
28
|
* @module model/ConsumptionSiteFileUpload
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var ConsumptionSiteFileUpload = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
* GreenLink API
|
|
19
19
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.16.0
|
|
22
22
|
*
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
29
29
|
/**
|
|
30
30
|
* The ConsumptionSiteListOrDetail model module.
|
|
31
31
|
* @module model/ConsumptionSiteListOrDetail
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.16.0
|
|
33
33
|
*/
|
|
34
34
|
var ConsumptionSiteListOrDetail = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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 EmissionFactor model module.
|
|
28
28
|
* @module model/EmissionFactor
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var EmissionFactor = /*#__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).
|
|
@@ -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 EnergySourcePreference model module.
|
|
30
30
|
* @module model/EnergySourcePreference
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.16.0
|
|
32
32
|
*/
|
|
33
33
|
var EnergySourcePreference = /*#__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).
|
|
@@ -25,41 +25,46 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* Enum class
|
|
28
|
+
* Enum class EventEnum.
|
|
29
29
|
* @enum {}
|
|
30
30
|
* @readonly
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
33
|
-
function
|
|
34
|
-
_classCallCheck(this,
|
|
32
|
+
var EventEnum = /*#__PURE__*/function () {
|
|
33
|
+
function EventEnum() {
|
|
34
|
+
_classCallCheck(this, EventEnum);
|
|
35
35
|
/**
|
|
36
|
-
* value: "
|
|
36
|
+
* value: "POST"
|
|
37
37
|
* @const
|
|
38
38
|
*/
|
|
39
|
-
_defineProperty(this, "
|
|
39
|
+
_defineProperty(this, "POST", "POST");
|
|
40
40
|
/**
|
|
41
|
-
* value: "
|
|
41
|
+
* value: "PATCH"
|
|
42
42
|
* @const
|
|
43
43
|
*/
|
|
44
|
-
_defineProperty(this, "
|
|
44
|
+
_defineProperty(this, "PATCH", "PATCH");
|
|
45
45
|
/**
|
|
46
|
-
* value: "
|
|
46
|
+
* value: "PUT"
|
|
47
47
|
* @const
|
|
48
48
|
*/
|
|
49
|
-
_defineProperty(this, "
|
|
49
|
+
_defineProperty(this, "PUT", "PUT");
|
|
50
|
+
/**
|
|
51
|
+
* value: "DELETE"
|
|
52
|
+
* @const
|
|
53
|
+
*/
|
|
54
|
+
_defineProperty(this, "DELETE", "DELETE");
|
|
50
55
|
}
|
|
51
|
-
_createClass(
|
|
56
|
+
_createClass(EventEnum, null, [{
|
|
52
57
|
key: "constructFromObject",
|
|
53
58
|
value:
|
|
54
59
|
/**
|
|
55
|
-
* Returns a <code>
|
|
60
|
+
* Returns a <code>EventEnum</code> enum value from a Javascript object name.
|
|
56
61
|
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
57
|
-
* @return {module:model/
|
|
62
|
+
* @return {module:model/EventEnum} The enum <code>EventEnum</code> value.
|
|
58
63
|
*/
|
|
59
64
|
function constructFromObject(object) {
|
|
60
65
|
return object;
|
|
61
66
|
}
|
|
62
67
|
}]);
|
|
63
|
-
return
|
|
68
|
+
return EventEnum;
|
|
64
69
|
}();
|
|
65
|
-
exports["default"] =
|
|
70
|
+
exports["default"] = EventEnum;
|
|
@@ -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 GetFromEpias model module.
|
|
28
28
|
* @module model/GetFromEpias
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var GetFromEpias = /*#__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 GridOperator model module.
|
|
29
29
|
* @module model/GridOperator
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var GridOperator = /*#__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).
|
|
@@ -24,22 +24,22 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
28
|
-
* @module model/
|
|
29
|
-
* @version 1.
|
|
27
|
+
* The ImportedConsumptionDataPoint model module.
|
|
28
|
+
* @module model/ImportedConsumptionDataPoint
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var ImportedConsumptionDataPoint = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>ImportedConsumptionDataPoint</code>.
|
|
34
|
+
* @alias module:model/ImportedConsumptionDataPoint
|
|
35
35
|
* @param consumptionRequestId {String}
|
|
36
36
|
* @param consumptionStart {Date}
|
|
37
37
|
* @param consumptionEnd {Date}
|
|
38
38
|
* @param consumptionSiteEic {String}
|
|
39
39
|
*/
|
|
40
|
-
function
|
|
41
|
-
_classCallCheck(this,
|
|
42
|
-
|
|
40
|
+
function ImportedConsumptionDataPoint(consumptionRequestId, consumptionStart, consumptionEnd, consumptionSiteEic) {
|
|
41
|
+
_classCallCheck(this, ImportedConsumptionDataPoint);
|
|
42
|
+
ImportedConsumptionDataPoint.initialize(this, consumptionRequestId, consumptionStart, consumptionEnd, consumptionSiteEic);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -47,7 +47,7 @@ var ImportedEnergyDataPoint = /*#__PURE__*/function () {
|
|
|
47
47
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
48
|
* Only for internal use.
|
|
49
49
|
*/
|
|
50
|
-
_createClass(
|
|
50
|
+
_createClass(ImportedConsumptionDataPoint, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
52
|
value: function initialize(obj, consumptionRequestId, consumptionStart, consumptionEnd, consumptionSiteEic) {
|
|
53
53
|
obj['consumption_request_id'] = consumptionRequestId;
|
|
@@ -57,17 +57,17 @@ var ImportedEnergyDataPoint = /*#__PURE__*/function () {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Constructs a <code>
|
|
60
|
+
* Constructs a <code>ImportedConsumptionDataPoint</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
61
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
62
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
-
* @param {module:model/
|
|
64
|
-
* @return {module:model/
|
|
63
|
+
* @param {module:model/ImportedConsumptionDataPoint} obj Optional instance to populate.
|
|
64
|
+
* @return {module:model/ImportedConsumptionDataPoint} The populated <code>ImportedConsumptionDataPoint</code> instance.
|
|
65
65
|
*/
|
|
66
66
|
}, {
|
|
67
67
|
key: "constructFromObject",
|
|
68
68
|
value: function constructFromObject(data, obj) {
|
|
69
69
|
if (data) {
|
|
70
|
-
obj = obj || new
|
|
70
|
+
obj = obj || new ImportedConsumptionDataPoint();
|
|
71
71
|
if (data.hasOwnProperty('id')) {
|
|
72
72
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
73
73
|
}
|
|
@@ -99,53 +99,53 @@ var ImportedEnergyDataPoint = /*#__PURE__*/function () {
|
|
|
99
99
|
return obj;
|
|
100
100
|
}
|
|
101
101
|
}]);
|
|
102
|
-
return
|
|
102
|
+
return ImportedConsumptionDataPoint;
|
|
103
103
|
}();
|
|
104
104
|
/**
|
|
105
105
|
* @member {String} id
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
ImportedConsumptionDataPoint.prototype['id'] = undefined;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* @member {String} consumption_request_id
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
ImportedConsumptionDataPoint.prototype['consumption_request_id'] = undefined;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* @member {Date} consumption_start
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
ImportedConsumptionDataPoint.prototype['consumption_start'] = undefined;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* @member {Date} consumption_end
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
ImportedConsumptionDataPoint.prototype['consumption_end'] = undefined;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* @member {String} consumption_site_eic
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
ImportedConsumptionDataPoint.prototype['consumption_site_eic'] = undefined;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* (Optional) Value should be in Watt.
|
|
131
131
|
* @member {Number} consumption_amount
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
ImportedConsumptionDataPoint.prototype['consumption_amount'] = undefined;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* reason for the failed status
|
|
137
137
|
* @member {String} details
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
ImportedConsumptionDataPoint.prototype['details'] = undefined;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* @member {Date} created_at
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
ImportedConsumptionDataPoint.prototype['created_at'] = undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* @member {Date} updated_at
|
|
148
148
|
*/
|
|
149
|
-
|
|
150
|
-
var _default =
|
|
149
|
+
ImportedConsumptionDataPoint.prototype['updated_at'] = undefined;
|
|
150
|
+
var _default = ImportedConsumptionDataPoint;
|
|
151
151
|
exports["default"] = _default;
|
package/dist/model/Issuer.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 Issuer model module.
|
|
29
29
|
* @module model/Issuer
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var Issuer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/Location.js
CHANGED
|
@@ -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 Location model module.
|
|
28
28
|
* @module model/Location
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var Location = /*#__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).
|