green_link_api 1.15.1 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +11 -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 +11 -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 _BlockchainTransactionTask = _interopRequireDefault(require("./BlockchainTransactionTask"));
|
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,23 +25,23 @@ 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 MatchedDataPoint model module.
|
29
|
+
* @module model/MatchedDataPoint
|
30
|
+
* @version 1.16.0
|
31
31
|
*/
|
32
|
-
var
|
32
|
+
var MatchedDataPoint = /*#__PURE__*/function () {
|
33
33
|
/**
|
34
|
-
* Constructs a new <code>
|
35
|
-
* @alias module:model/
|
34
|
+
* Constructs a new <code>MatchedDataPoint</code>.
|
35
|
+
* @alias module:model/MatchedDataPoint
|
36
36
|
* @param consumptionData {Number} This ID is also the token ID in the smart contract.
|
37
37
|
* @param productionData {Number} This ID is also the token ID in the smart contract.
|
38
38
|
* @param consumer {String}
|
39
39
|
* @param producer {String}
|
40
|
-
* @param tx {module:model/
|
40
|
+
* @param tx {module:model/BlockchainTransactionTask}
|
41
41
|
*/
|
42
|
-
function
|
43
|
-
_classCallCheck(this,
|
44
|
-
|
42
|
+
function MatchedDataPoint(consumptionData, productionData, consumer, producer, tx) {
|
43
|
+
_classCallCheck(this, MatchedDataPoint);
|
44
|
+
MatchedDataPoint.initialize(this, consumptionData, productionData, consumer, producer, tx);
|
45
45
|
}
|
46
46
|
|
47
47
|
/**
|
@@ -49,7 +49,7 @@ var MatchedEnergyDataPoint = /*#__PURE__*/function () {
|
|
49
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
50
50
|
* Only for internal use.
|
51
51
|
*/
|
52
|
-
_createClass(
|
52
|
+
_createClass(MatchedDataPoint, null, [{
|
53
53
|
key: "initialize",
|
54
54
|
value: function initialize(obj, consumptionData, productionData, consumer, producer, tx) {
|
55
55
|
obj['consumption_data'] = consumptionData;
|
@@ -60,17 +60,17 @@ var MatchedEnergyDataPoint = /*#__PURE__*/function () {
|
|
60
60
|
}
|
61
61
|
|
62
62
|
/**
|
63
|
-
* Constructs a <code>
|
63
|
+
* Constructs a <code>MatchedDataPoint</code> from a plain JavaScript object, optionally creating a new instance.
|
64
64
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
65
65
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
66
|
-
* @param {module:model/
|
67
|
-
* @return {module:model/
|
66
|
+
* @param {module:model/MatchedDataPoint} obj Optional instance to populate.
|
67
|
+
* @return {module:model/MatchedDataPoint} The populated <code>MatchedDataPoint</code> instance.
|
68
68
|
*/
|
69
69
|
}, {
|
70
70
|
key: "constructFromObject",
|
71
71
|
value: function constructFromObject(data, obj) {
|
72
72
|
if (data) {
|
73
|
-
obj = obj || new
|
73
|
+
obj = obj || new MatchedDataPoint();
|
74
74
|
if (data.hasOwnProperty('id')) {
|
75
75
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
76
76
|
}
|
@@ -99,7 +99,7 @@ var MatchedEnergyDataPoint = /*#__PURE__*/function () {
|
|
99
99
|
obj['amount_matched'] = _ApiClient["default"].convertToType(data['amount_matched'], 'Number');
|
100
100
|
}
|
101
101
|
if (data.hasOwnProperty('tx')) {
|
102
|
-
obj['tx'] =
|
102
|
+
obj['tx'] = _BlockchainTransactionTask["default"].constructFromObject(data['tx']);
|
103
103
|
}
|
104
104
|
if (data.hasOwnProperty('created_at')) {
|
105
105
|
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
@@ -111,69 +111,69 @@ var MatchedEnergyDataPoint = /*#__PURE__*/function () {
|
|
111
111
|
return obj;
|
112
112
|
}
|
113
113
|
}]);
|
114
|
-
return
|
114
|
+
return MatchedDataPoint;
|
115
115
|
}();
|
116
116
|
/**
|
117
117
|
* @member {String} id
|
118
118
|
*/
|
119
|
-
|
119
|
+
MatchedDataPoint.prototype['id'] = undefined;
|
120
120
|
|
121
121
|
/**
|
122
122
|
* This ID is also the token ID in the smart contract.
|
123
123
|
* @member {Number} consumption_data
|
124
124
|
*/
|
125
|
-
|
125
|
+
MatchedDataPoint.prototype['consumption_data'] = undefined;
|
126
126
|
|
127
127
|
/**
|
128
128
|
* This ID is also the token ID in the smart contract.
|
129
129
|
* @member {Number} production_data
|
130
130
|
*/
|
131
|
-
|
131
|
+
MatchedDataPoint.prototype['production_data'] = undefined;
|
132
132
|
|
133
133
|
/**
|
134
134
|
* @member {String} consumer
|
135
135
|
*/
|
136
|
-
|
136
|
+
MatchedDataPoint.prototype['consumer'] = undefined;
|
137
137
|
|
138
138
|
/**
|
139
139
|
* @member {String} producer
|
140
140
|
*/
|
141
|
-
|
141
|
+
MatchedDataPoint.prototype['producer'] = undefined;
|
142
142
|
|
143
143
|
/**
|
144
144
|
* @member {String} retailer
|
145
145
|
*/
|
146
|
-
|
146
|
+
MatchedDataPoint.prototype['retailer'] = undefined;
|
147
147
|
|
148
148
|
/**
|
149
149
|
* @member {String} production_site
|
150
150
|
*/
|
151
|
-
|
151
|
+
MatchedDataPoint.prototype['production_site'] = undefined;
|
152
152
|
|
153
153
|
/**
|
154
154
|
* @member {String} consumption_site
|
155
155
|
*/
|
156
|
-
|
156
|
+
MatchedDataPoint.prototype['consumption_site'] = undefined;
|
157
157
|
|
158
158
|
/**
|
159
159
|
* Required. Value should be in Watt. Default 0.
|
160
160
|
* @member {Number} amount_matched
|
161
161
|
*/
|
162
|
-
|
162
|
+
MatchedDataPoint.prototype['amount_matched'] = undefined;
|
163
163
|
|
164
164
|
/**
|
165
|
-
* @member {module:model/
|
165
|
+
* @member {module:model/BlockchainTransactionTask} tx
|
166
166
|
*/
|
167
|
-
|
167
|
+
MatchedDataPoint.prototype['tx'] = undefined;
|
168
168
|
|
169
169
|
/**
|
170
170
|
* @member {Date} created_at
|
171
171
|
*/
|
172
|
-
|
172
|
+
MatchedDataPoint.prototype['created_at'] = undefined;
|
173
173
|
|
174
174
|
/**
|
175
175
|
* @member {Date} updated_at
|
176
176
|
*/
|
177
|
-
|
178
|
-
var _default =
|
177
|
+
MatchedDataPoint.prototype['updated_at'] = undefined;
|
178
|
+
var _default = MatchedDataPoint;
|
179
179
|
exports["default"] = _default;
|
@@ -11,7 +11,7 @@ var _MatchTypeEnum = _interopRequireDefault(require("./MatchTypeEnum"));
|
|
11
11
|
var _Producer = _interopRequireDefault(require("./Producer"));
|
12
12
|
var _ProductionSite = _interopRequireDefault(require("./ProductionSite"));
|
13
13
|
var _Retailer = _interopRequireDefault(require("./Retailer"));
|
14
|
-
var
|
14
|
+
var _Status90bEnum = _interopRequireDefault(require("./Status90bEnum"));
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
16
16
|
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); }
|
17
17
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -22,7 +22,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
22
22
|
* GreenLink API
|
23
23
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
24
24
|
*
|
25
|
-
* The version of the OpenAPI document: 1.
|
25
|
+
* The version of the OpenAPI document: 1.16.0
|
26
26
|
*
|
27
27
|
*
|
28
28
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -31,14 +31,14 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
31
31
|
*
|
32
32
|
*/
|
33
33
|
/**
|
34
|
-
* The
|
35
|
-
* @module model/
|
36
|
-
* @version 1.
|
34
|
+
* The MatchedDataTask model module.
|
35
|
+
* @module model/MatchedDataTask
|
36
|
+
* @version 1.16.0
|
37
37
|
*/
|
38
|
-
var
|
38
|
+
var MatchedDataTask = /*#__PURE__*/function () {
|
39
39
|
/**
|
40
|
-
* Constructs a new <code>
|
41
|
-
* @alias module:model/
|
40
|
+
* Constructs a new <code>MatchedDataTask</code>.
|
41
|
+
* @alias module:model/MatchedDataTask
|
42
42
|
* @param consumer {module:model/Consumer}
|
43
43
|
* @param producer {module:model/Producer}
|
44
44
|
* @param retailer {module:model/Retailer}
|
@@ -47,9 +47,9 @@ var MatchRequest = /*#__PURE__*/function () {
|
|
47
47
|
* @param startTime {Date}
|
48
48
|
* @param endTime {Date}
|
49
49
|
*/
|
50
|
-
function
|
51
|
-
_classCallCheck(this,
|
52
|
-
|
50
|
+
function MatchedDataTask(consumer, producer, retailer, productionSite, consumptionSite, startTime, endTime) {
|
51
|
+
_classCallCheck(this, MatchedDataTask);
|
52
|
+
MatchedDataTask.initialize(this, consumer, producer, retailer, productionSite, consumptionSite, startTime, endTime);
|
53
53
|
}
|
54
54
|
|
55
55
|
/**
|
@@ -57,7 +57,7 @@ var MatchRequest = /*#__PURE__*/function () {
|
|
57
57
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
58
58
|
* Only for internal use.
|
59
59
|
*/
|
60
|
-
_createClass(
|
60
|
+
_createClass(MatchedDataTask, null, [{
|
61
61
|
key: "initialize",
|
62
62
|
value: function initialize(obj, consumer, producer, retailer, productionSite, consumptionSite, startTime, endTime) {
|
63
63
|
obj['consumer'] = consumer;
|
@@ -70,17 +70,17 @@ var MatchRequest = /*#__PURE__*/function () {
|
|
70
70
|
}
|
71
71
|
|
72
72
|
/**
|
73
|
-
* Constructs a <code>
|
73
|
+
* Constructs a <code>MatchedDataTask</code> from a plain JavaScript object, optionally creating a new instance.
|
74
74
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
75
75
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
76
|
-
* @param {module:model/
|
77
|
-
* @return {module:model/
|
76
|
+
* @param {module:model/MatchedDataTask} obj Optional instance to populate.
|
77
|
+
* @return {module:model/MatchedDataTask} The populated <code>MatchedDataTask</code> instance.
|
78
78
|
*/
|
79
79
|
}, {
|
80
80
|
key: "constructFromObject",
|
81
81
|
value: function constructFromObject(data, obj) {
|
82
82
|
if (data) {
|
83
|
-
obj = obj || new
|
83
|
+
obj = obj || new MatchedDataTask();
|
84
84
|
if (data.hasOwnProperty('id')) {
|
85
85
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
86
86
|
}
|
@@ -112,7 +112,7 @@ var MatchRequest = /*#__PURE__*/function () {
|
|
112
112
|
obj['total_number_of_fully_matched_consumption_datapoints'] = _ApiClient["default"].convertToType(data['total_number_of_fully_matched_consumption_datapoints'], 'Number');
|
113
113
|
}
|
114
114
|
if (data.hasOwnProperty('status')) {
|
115
|
-
obj['status'] = _ApiClient["default"].convertToType(data['status'],
|
115
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status90bEnum["default"]);
|
116
116
|
}
|
117
117
|
if (data.hasOwnProperty('match_type')) {
|
118
118
|
obj['match_type'] = _ApiClient["default"].convertToType(data['match_type'], _MatchTypeEnum["default"]);
|
@@ -148,126 +148,126 @@ var MatchRequest = /*#__PURE__*/function () {
|
|
148
148
|
return obj;
|
149
149
|
}
|
150
150
|
}]);
|
151
|
-
return
|
151
|
+
return MatchedDataTask;
|
152
152
|
}();
|
153
153
|
/**
|
154
154
|
* @member {String} id
|
155
155
|
*/
|
156
|
-
|
156
|
+
MatchedDataTask.prototype['id'] = undefined;
|
157
157
|
|
158
158
|
/**
|
159
159
|
* @member {module:model/Consumer} consumer
|
160
160
|
*/
|
161
|
-
|
161
|
+
MatchedDataTask.prototype['consumer'] = undefined;
|
162
162
|
|
163
163
|
/**
|
164
164
|
* @member {module:model/Producer} producer
|
165
165
|
*/
|
166
|
-
|
166
|
+
MatchedDataTask.prototype['producer'] = undefined;
|
167
167
|
|
168
168
|
/**
|
169
169
|
* @member {module:model/Retailer} retailer
|
170
170
|
*/
|
171
|
-
|
171
|
+
MatchedDataTask.prototype['retailer'] = undefined;
|
172
172
|
|
173
173
|
/**
|
174
174
|
* @member {module:model/ProductionSite} production_site
|
175
175
|
*/
|
176
|
-
|
176
|
+
MatchedDataTask.prototype['production_site'] = undefined;
|
177
177
|
|
178
178
|
/**
|
179
179
|
* @member {module:model/ConsumptionSite} consumption_site
|
180
180
|
*/
|
181
|
-
|
181
|
+
MatchedDataTask.prototype['consumption_site'] = undefined;
|
182
182
|
|
183
183
|
/**
|
184
184
|
* Not required. Set between 1-100. Default 100.
|
185
185
|
* @member {Number} target_percentage_matched
|
186
186
|
* @default 100
|
187
187
|
*/
|
188
|
-
|
188
|
+
MatchedDataTask.prototype['target_percentage_matched'] = 100;
|
189
189
|
|
190
190
|
/**
|
191
191
|
* Total number of consumption datapoints requested to be matched.
|
192
192
|
* @member {Number} total_number_of_consumption_datapoints
|
193
193
|
*/
|
194
|
-
|
194
|
+
MatchedDataTask.prototype['total_number_of_consumption_datapoints'] = undefined;
|
195
195
|
|
196
196
|
/**
|
197
197
|
* Total number of attempted matches.
|
198
198
|
* @member {Number} total_number_of_attempted_matches
|
199
199
|
*/
|
200
|
-
|
200
|
+
MatchedDataTask.prototype['total_number_of_attempted_matches'] = undefined;
|
201
201
|
|
202
202
|
/**
|
203
203
|
* Total number of fully matched consumption datapoints.
|
204
204
|
* @member {Number} total_number_of_fully_matched_consumption_datapoints
|
205
205
|
*/
|
206
|
-
|
206
|
+
MatchedDataTask.prototype['total_number_of_fully_matched_consumption_datapoints'] = undefined;
|
207
207
|
|
208
208
|
/**
|
209
|
-
* Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `
|
210
|
-
* @member {module:model/
|
209
|
+
* 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
|
210
|
+
* @member {module:model/Status90bEnum} status
|
211
211
|
*/
|
212
|
-
|
212
|
+
MatchedDataTask.prototype['status'] = undefined;
|
213
213
|
|
214
214
|
/**
|
215
215
|
* Not required. Matching is done `company-wide` or at `site-level`. Default `company-wide * `company-wide` - company-wide * `site-level` - site-level
|
216
216
|
* @member {module:model/MatchTypeEnum} match_type
|
217
217
|
*/
|
218
|
-
|
218
|
+
MatchedDataTask.prototype['match_type'] = undefined;
|
219
219
|
|
220
220
|
/**
|
221
221
|
* Percentage of total consumption datapoints processed in given range. Default 0.
|
222
222
|
* @member {Number} progress_percentage
|
223
223
|
* @default '0.00'
|
224
224
|
*/
|
225
|
-
|
225
|
+
MatchedDataTask.prototype['progress_percentage'] = '0.00';
|
226
226
|
|
227
227
|
/**
|
228
228
|
* Percentage of fully-matched hourly consumption datapoints in given range.
|
229
229
|
* @member {Number} fully_matched_hours_percentage
|
230
230
|
* @default '0.00'
|
231
231
|
*/
|
232
|
-
|
232
|
+
MatchedDataTask.prototype['fully_matched_hours_percentage'] = '0.00';
|
233
233
|
|
234
234
|
/**
|
235
235
|
* Total amount of consumption matched in Watt or attempted to match so far in the request. Can change if request status is not `finished`
|
236
236
|
* @member {Number} consumption_amount_processed
|
237
237
|
*/
|
238
|
-
|
238
|
+
MatchedDataTask.prototype['consumption_amount_processed'] = undefined;
|
239
239
|
|
240
240
|
/**
|
241
241
|
* Total amount of consumption in Watt successfully matched so far in the request. May change if request status is not `finished`.
|
242
242
|
* @member {Number} consumption_amount_matched
|
243
243
|
*/
|
244
|
-
|
244
|
+
MatchedDataTask.prototype['consumption_amount_matched'] = undefined;
|
245
245
|
|
246
246
|
/**
|
247
247
|
* Percentage of consumption successfully matched so far in the request. May change if request status is not `finished`.
|
248
248
|
* @member {Number} overall_matched_percentage
|
249
249
|
* @default '0.00'
|
250
250
|
*/
|
251
|
-
|
251
|
+
MatchedDataTask.prototype['overall_matched_percentage'] = '0.00';
|
252
252
|
|
253
253
|
/**
|
254
254
|
* @member {Date} start_time
|
255
255
|
*/
|
256
|
-
|
256
|
+
MatchedDataTask.prototype['start_time'] = undefined;
|
257
257
|
|
258
258
|
/**
|
259
259
|
* @member {Date} end_time
|
260
260
|
*/
|
261
|
-
|
261
|
+
MatchedDataTask.prototype['end_time'] = undefined;
|
262
262
|
|
263
263
|
/**
|
264
264
|
* @member {Date} created_at
|
265
265
|
*/
|
266
|
-
|
266
|
+
MatchedDataTask.prototype['created_at'] = undefined;
|
267
267
|
|
268
268
|
/**
|
269
269
|
* @member {Date} updated_at
|
270
270
|
*/
|
271
|
-
|
272
|
-
var _default =
|
271
|
+
MatchedDataTask.prototype['updated_at'] = undefined;
|
272
|
+
var _default = MatchedDataTask;
|
273
273
|
exports["default"] = _default;
|
@@ -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 MatchingConsumerRequest model module.
|
28
28
|
* @module model/MatchingConsumerRequest
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.16.0
|
30
30
|
*/
|
31
31
|
var MatchingConsumerRequest = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -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 MatchingSiteRequest model module.
|
28
28
|
* @module model/MatchingSiteRequest
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.16.0
|
30
30
|
*/
|
31
31
|
var MatchingSiteRequest = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -0,0 +1,55 @@
|
|
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
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
9
|
+
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); }
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
11
|
+
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); } }
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
13
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
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
|
+
* Enum class NullEnum.
|
29
|
+
* @enum {}
|
30
|
+
* @readonly
|
31
|
+
*/
|
32
|
+
var NullEnum = /*#__PURE__*/function () {
|
33
|
+
function NullEnum() {
|
34
|
+
_classCallCheck(this, NullEnum);
|
35
|
+
/**
|
36
|
+
* value: "null"
|
37
|
+
* @const
|
38
|
+
*/
|
39
|
+
_defineProperty(this, "null", "null");
|
40
|
+
}
|
41
|
+
_createClass(NullEnum, null, [{
|
42
|
+
key: "constructFromObject",
|
43
|
+
value:
|
44
|
+
/**
|
45
|
+
* Returns a <code>NullEnum</code> enum value from a Javascript object name.
|
46
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
47
|
+
* @return {module:model/NullEnum} The enum <code>NullEnum</code> value.
|
48
|
+
*/
|
49
|
+
function constructFromObject(object) {
|
50
|
+
return object;
|
51
|
+
}
|
52
|
+
}]);
|
53
|
+
return NullEnum;
|
54
|
+
}();
|
55
|
+
exports["default"] = NullEnum;
|
@@ -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).
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
27
27
|
/**
|
28
28
|
* The PaginatedActivitiesList model module.
|
29
29
|
* @module model/PaginatedActivitiesList
|
30
|
-
* @version 1.
|
30
|
+
* @version 1.16.0
|
31
31
|
*/
|
32
32
|
var PaginatedActivitiesList = /*#__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 PaginatedConsumerList model module.
|
29
29
|
* @module model/PaginatedConsumerList
|
30
|
-
* @version 1.
|
30
|
+
* @version 1.16.0
|
31
31
|
*/
|
32
32
|
var PaginatedConsumerList = /*#__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 PaginatedConsumptionDataPointListOrDetailList model module.
|
29
29
|
* @module model/PaginatedConsumptionDataPointListOrDetailList
|
30
|
-
* @version 1.
|
30
|
+
* @version 1.16.0
|
31
31
|
*/
|
32
32
|
var PaginatedConsumptionDataPointListOrDetailList = /*#__PURE__*/function () {
|
33
33
|
/**
|