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
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _ConsumptionDataTask = _interopRequireDefault(require("./ConsumptionDataTask"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
10
|
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); }
|
|
11
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -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,18 +25,18 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
29
|
-
* @module model/
|
|
30
|
-
* @version 1.
|
|
28
|
+
* The PaginatedConsumptionDataTaskList model module.
|
|
29
|
+
* @module model/PaginatedConsumptionDataTaskList
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
32
|
+
var PaginatedConsumptionDataTaskList = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
|
-
* Constructs a new <code>
|
|
35
|
-
* @alias module:model/
|
|
34
|
+
* Constructs a new <code>PaginatedConsumptionDataTaskList</code>.
|
|
35
|
+
* @alias module:model/PaginatedConsumptionDataTaskList
|
|
36
36
|
*/
|
|
37
|
-
function
|
|
38
|
-
_classCallCheck(this,
|
|
39
|
-
|
|
37
|
+
function PaginatedConsumptionDataTaskList() {
|
|
38
|
+
_classCallCheck(this, PaginatedConsumptionDataTaskList);
|
|
39
|
+
PaginatedConsumptionDataTaskList.initialize(this);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,22 +44,22 @@ var PaginatedUploadedFileList = /*#__PURE__*/function () {
|
|
|
44
44
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
45
|
* Only for internal use.
|
|
46
46
|
*/
|
|
47
|
-
_createClass(
|
|
47
|
+
_createClass(PaginatedConsumptionDataTaskList, null, [{
|
|
48
48
|
key: "initialize",
|
|
49
49
|
value: function initialize(obj) {}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Constructs a <code>
|
|
52
|
+
* Constructs a <code>PaginatedConsumptionDataTaskList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
53
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
54
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
-
* @param {module:model/
|
|
56
|
-
* @return {module:model/
|
|
55
|
+
* @param {module:model/PaginatedConsumptionDataTaskList} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/PaginatedConsumptionDataTaskList} The populated <code>PaginatedConsumptionDataTaskList</code> instance.
|
|
57
57
|
*/
|
|
58
58
|
}, {
|
|
59
59
|
key: "constructFromObject",
|
|
60
60
|
value: function constructFromObject(data, obj) {
|
|
61
61
|
if (data) {
|
|
62
|
-
obj = obj || new
|
|
62
|
+
obj = obj || new PaginatedConsumptionDataTaskList();
|
|
63
63
|
if (data.hasOwnProperty('count')) {
|
|
64
64
|
obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
|
|
65
65
|
}
|
|
@@ -70,32 +70,32 @@ var PaginatedUploadedFileList = /*#__PURE__*/function () {
|
|
|
70
70
|
obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
|
|
71
71
|
}
|
|
72
72
|
if (data.hasOwnProperty('results')) {
|
|
73
|
-
obj['results'] = _ApiClient["default"].convertToType(data['results'], [
|
|
73
|
+
obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ConsumptionDataTask["default"]]);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
return obj;
|
|
77
77
|
}
|
|
78
78
|
}]);
|
|
79
|
-
return
|
|
79
|
+
return PaginatedConsumptionDataTaskList;
|
|
80
80
|
}();
|
|
81
81
|
/**
|
|
82
82
|
* @member {Number} count
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
PaginatedConsumptionDataTaskList.prototype['count'] = undefined;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* @member {String} next
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
PaginatedConsumptionDataTaskList.prototype['next'] = undefined;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* @member {String} previous
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
PaginatedConsumptionDataTaskList.prototype['previous'] = undefined;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
* @member {Array.<module:model/
|
|
97
|
+
* @member {Array.<module:model/ConsumptionDataTask>} results
|
|
98
98
|
*/
|
|
99
|
-
|
|
100
|
-
var _default =
|
|
99
|
+
PaginatedConsumptionDataTaskList.prototype['results'] = undefined;
|
|
100
|
+
var _default = PaginatedConsumptionDataTaskList;
|
|
101
101
|
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 PaginatedConsumptionSiteContractList model module.
|
|
29
29
|
* @module model/PaginatedConsumptionSiteContractList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedConsumptionSiteContractList = /*#__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 PaginatedConsumptionSiteListOrDetailList model module.
|
|
29
29
|
* @module model/PaginatedConsumptionSiteListOrDetailList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedConsumptionSiteListOrDetailList = /*#__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 PaginatedEmissionFactorList model module.
|
|
29
29
|
* @module model/PaginatedEmissionFactorList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedEmissionFactorList = /*#__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 PaginatedEnergySourcePreferenceList model module.
|
|
29
29
|
* @module model/PaginatedEnergySourcePreferenceList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedEnergySourcePreferenceList = /*#__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 PaginatedGridOperatorList model module.
|
|
29
29
|
* @module model/PaginatedGridOperatorList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedGridOperatorList = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _ImportedConsumptionDataPoint = _interopRequireDefault(require("./ImportedConsumptionDataPoint"));
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
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); }
|
|
11
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
16
|
+
* GreenLink API
|
|
17
|
+
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The PaginatedImportedConsumptionDataPointList model module.
|
|
29
|
+
* @module model/PaginatedImportedConsumptionDataPointList
|
|
30
|
+
* @version 1.16.0
|
|
31
|
+
*/
|
|
32
|
+
var PaginatedImportedConsumptionDataPointList = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new <code>PaginatedImportedConsumptionDataPointList</code>.
|
|
35
|
+
* @alias module:model/PaginatedImportedConsumptionDataPointList
|
|
36
|
+
*/
|
|
37
|
+
function PaginatedImportedConsumptionDataPointList() {
|
|
38
|
+
_classCallCheck(this, PaginatedImportedConsumptionDataPointList);
|
|
39
|
+
PaginatedImportedConsumptionDataPointList.initialize(this);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initializes the fields of this object.
|
|
44
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
|
+
* Only for internal use.
|
|
46
|
+
*/
|
|
47
|
+
_createClass(PaginatedImportedConsumptionDataPointList, null, [{
|
|
48
|
+
key: "initialize",
|
|
49
|
+
value: function initialize(obj) {}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Constructs a <code>PaginatedImportedConsumptionDataPointList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
+
* @param {module:model/PaginatedImportedConsumptionDataPointList} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/PaginatedImportedConsumptionDataPointList} The populated <code>PaginatedImportedConsumptionDataPointList</code> instance.
|
|
57
|
+
*/
|
|
58
|
+
}, {
|
|
59
|
+
key: "constructFromObject",
|
|
60
|
+
value: function constructFromObject(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new PaginatedImportedConsumptionDataPointList();
|
|
63
|
+
if (data.hasOwnProperty('count')) {
|
|
64
|
+
obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
|
|
65
|
+
}
|
|
66
|
+
if (data.hasOwnProperty('next')) {
|
|
67
|
+
obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('previous')) {
|
|
70
|
+
obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('results')) {
|
|
73
|
+
obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ImportedConsumptionDataPoint["default"]]);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
}]);
|
|
79
|
+
return PaginatedImportedConsumptionDataPointList;
|
|
80
|
+
}();
|
|
81
|
+
/**
|
|
82
|
+
* @member {Number} count
|
|
83
|
+
*/
|
|
84
|
+
PaginatedImportedConsumptionDataPointList.prototype['count'] = undefined;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @member {String} next
|
|
88
|
+
*/
|
|
89
|
+
PaginatedImportedConsumptionDataPointList.prototype['next'] = undefined;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @member {String} previous
|
|
93
|
+
*/
|
|
94
|
+
PaginatedImportedConsumptionDataPointList.prototype['previous'] = undefined;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @member {Array.<module:model/ImportedConsumptionDataPoint>} results
|
|
98
|
+
*/
|
|
99
|
+
PaginatedImportedConsumptionDataPointList.prototype['results'] = undefined;
|
|
100
|
+
var _default = PaginatedImportedConsumptionDataPointList;
|
|
101
|
+
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 PaginatedIssuerList model module.
|
|
29
29
|
* @module model/PaginatedIssuerList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedIssuerList = /*#__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 PaginatedLocationList model module.
|
|
29
29
|
* @module model/PaginatedLocationList
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var PaginatedLocationList = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _MatchedDataPoint = _interopRequireDefault(require("./MatchedDataPoint"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
10
|
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); }
|
|
11
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -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,18 +25,18 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
29
|
-
* @module model/
|
|
30
|
-
* @version 1.
|
|
28
|
+
* The PaginatedMatchedDataPointList model module.
|
|
29
|
+
* @module model/PaginatedMatchedDataPointList
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
32
|
+
var PaginatedMatchedDataPointList = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
|
-
* Constructs a new <code>
|
|
35
|
-
* @alias module:model/
|
|
34
|
+
* Constructs a new <code>PaginatedMatchedDataPointList</code>.
|
|
35
|
+
* @alias module:model/PaginatedMatchedDataPointList
|
|
36
36
|
*/
|
|
37
|
-
function
|
|
38
|
-
_classCallCheck(this,
|
|
39
|
-
|
|
37
|
+
function PaginatedMatchedDataPointList() {
|
|
38
|
+
_classCallCheck(this, PaginatedMatchedDataPointList);
|
|
39
|
+
PaginatedMatchedDataPointList.initialize(this);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,22 +44,22 @@ var PaginatedImportRequestRawList = /*#__PURE__*/function () {
|
|
|
44
44
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
45
|
* Only for internal use.
|
|
46
46
|
*/
|
|
47
|
-
_createClass(
|
|
47
|
+
_createClass(PaginatedMatchedDataPointList, null, [{
|
|
48
48
|
key: "initialize",
|
|
49
49
|
value: function initialize(obj) {}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Constructs a <code>
|
|
52
|
+
* Constructs a <code>PaginatedMatchedDataPointList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
53
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
54
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
-
* @param {module:model/
|
|
56
|
-
* @return {module:model/
|
|
55
|
+
* @param {module:model/PaginatedMatchedDataPointList} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/PaginatedMatchedDataPointList} The populated <code>PaginatedMatchedDataPointList</code> instance.
|
|
57
57
|
*/
|
|
58
58
|
}, {
|
|
59
59
|
key: "constructFromObject",
|
|
60
60
|
value: function constructFromObject(data, obj) {
|
|
61
61
|
if (data) {
|
|
62
|
-
obj = obj || new
|
|
62
|
+
obj = obj || new PaginatedMatchedDataPointList();
|
|
63
63
|
if (data.hasOwnProperty('count')) {
|
|
64
64
|
obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
|
|
65
65
|
}
|
|
@@ -70,32 +70,32 @@ var PaginatedImportRequestRawList = /*#__PURE__*/function () {
|
|
|
70
70
|
obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
|
|
71
71
|
}
|
|
72
72
|
if (data.hasOwnProperty('results')) {
|
|
73
|
-
obj['results'] = _ApiClient["default"].convertToType(data['results'], [
|
|
73
|
+
obj['results'] = _ApiClient["default"].convertToType(data['results'], [_MatchedDataPoint["default"]]);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
return obj;
|
|
77
77
|
}
|
|
78
78
|
}]);
|
|
79
|
-
return
|
|
79
|
+
return PaginatedMatchedDataPointList;
|
|
80
80
|
}();
|
|
81
81
|
/**
|
|
82
82
|
* @member {Number} count
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
PaginatedMatchedDataPointList.prototype['count'] = undefined;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* @member {String} next
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
PaginatedMatchedDataPointList.prototype['next'] = undefined;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* @member {String} previous
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
PaginatedMatchedDataPointList.prototype['previous'] = undefined;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
* @member {Array.<module:model/
|
|
97
|
+
* @member {Array.<module:model/MatchedDataPoint>} results
|
|
98
98
|
*/
|
|
99
|
-
|
|
100
|
-
var _default =
|
|
99
|
+
PaginatedMatchedDataPointList.prototype['results'] = undefined;
|
|
100
|
+
var _default = PaginatedMatchedDataPointList;
|
|
101
101
|
exports["default"] = _default;
|