green_link_api 0.49.7 → 0.55.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 +33 -36
- package/dist/ApiClient.js +3 -6
- package/dist/api/BlockchainApi.js +283 -0
- package/dist/api/EnergyAssetsApi.js +32 -30
- package/dist/api/EnergyDataApi.js +139 -40
- package/dist/api/HealthCheckApi.js +2 -2
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
- package/dist/api/LocationsApi.js +9 -9
- package/dist/api/MaintenanceCheckApi.js +2 -2
- package/dist/api/OrganizationprofilesApi.js +7 -7
- package/dist/api/OrganizationsApi.js +31 -31
- package/dist/api/SchemaApi.js +2 -2
- package/dist/api/SentryDebugApi.js +2 -2
- package/dist/api/UploadedfilesApi.js +226 -0
- package/dist/api/UsersApi.js +13 -230
- package/dist/index.js +105 -41
- package/dist/model/BlockchainTransaction.js +172 -0
- package/dist/model/Consumer.js +1 -1
- package/dist/model/ConsumptionDataFileList.js +1 -1
- package/dist/model/ConsumptionDataFromRetailer.js +1 -1
- package/dist/model/ConsumptionDataPointCreate.js +11 -11
- package/dist/model/ConsumptionDataPointListOrDetail.js +20 -13
- package/dist/model/ConsumptionDataPointUpdate.js +11 -11
- package/dist/model/ConsumptionSite.js +1 -1
- package/dist/model/ConsumptionSiteCreate.js +195 -0
- package/dist/model/ConsumptionSiteFileUpload.js +1 -1
- package/dist/model/ConsumptionSiteFromRetailer.js +1 -1
- package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
- package/dist/model/ConsumptionSiteMany.js +1 -1
- package/dist/model/ContentTypeEnum.js +54 -0
- package/dist/model/EmissionFactor.js +1 -1
- package/dist/model/EnergySourcePreference.js +1 -1
- package/dist/model/GetFromEpias.js +1 -1
- package/dist/model/GridOperator.js +1 -1
- package/dist/model/Issuer.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login.js +1 -1
- package/dist/model/MatchRequest.js +1 -1
- package/dist/model/MatchedEnergyDataPoint.js +12 -13
- package/dist/model/MatchingConsumerRequest.js +1 -1
- package/dist/model/MatchingSiteRequest.js +1 -1
- package/dist/model/PaginatedConsumerList.js +1 -1
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedEmissionFactorList.js +1 -1
- package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
- package/dist/model/PaginatedGridOperatorList.js +1 -1
- package/dist/model/PaginatedIssuerList.js +1 -1
- package/dist/model/PaginatedLocationList.js +1 -1
- package/dist/model/PaginatedMatchRequestList.js +1 -1
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
- package/dist/model/PaginatedProducerList.js +1 -1
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedRetailerList.js +1 -1
- package/dist/model/PaginatedSmartContractList.js +104 -0
- package/dist/model/PaginatedUnprocessedRowList.js +104 -0
- package/dist/model/PaginatedUploadedFileList.js +104 -0
- package/dist/model/PaginatedUserList.js +1 -1
- package/dist/model/PatchedConsumer.js +1 -1
- package/dist/model/PatchedConsumptionDataPointUpdate.js +11 -11
- package/dist/model/PatchedConsumptionSite.js +1 -1
- package/dist/model/PatchedEmissionFactor.js +1 -1
- package/dist/model/PatchedEnergySourcePreference.js +1 -1
- package/dist/model/PatchedGridOperator.js +1 -1
- package/dist/model/PatchedIssuer.js +1 -1
- package/dist/model/PatchedLocation.js +1 -1
- package/dist/model/PatchedProducer.js +1 -1
- package/dist/model/PatchedProductionDataPointUpdate.js +12 -12
- package/dist/model/PatchedProductionSiteUpdate.js +2 -1
- package/dist/model/PatchedRetailer.js +1 -1
- package/dist/model/PatchedSmartContract.js +132 -0
- package/dist/model/PatchedUser.js +3 -1
- package/dist/model/PatchedUserDetail.js +3 -1
- package/dist/model/PriorityEnum.js +6 -0
- package/dist/model/Producer.js +1 -1
- package/dist/model/ProductionDataFileList.js +1 -1
- package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
- package/dist/model/ProductionDataPointCreate.js +12 -12
- package/dist/model/ProductionDataPointListOrDetail.js +21 -14
- package/dist/model/ProductionDataPointUpdate.js +12 -12
- package/dist/model/ProductionSite.js +5 -6
- package/dist/model/ProductionSiteFileUpload.js +1 -1
- package/dist/model/ProductionSiteListOrDetail.js +1 -1
- package/dist/model/ProductionSiteUpdate.js +5 -6
- package/dist/model/Register.js +8 -5
- package/dist/model/Retailer.js +1 -1
- package/dist/model/SmartContract.js +137 -0
- package/dist/model/{VerifyEmail.js → Token.js} +18 -17
- package/dist/model/TypeEnum.js +52 -0
- package/dist/model/UnprocessedRow.js +140 -0
- package/dist/model/UploadedFile.js +166 -0
- package/dist/model/User.js +3 -1
- package/dist/model/UserDetail.js +3 -1
- package/package.json +1 -1
- package/dist/model/JWT.js +0 -103
- package/dist/model/PasswordChange.js +0 -100
- package/dist/model/PasswordReset.js +0 -79
- package/dist/model/PasswordResetConfirm.js +0 -112
- package/dist/model/RestAuthDetail.js +0 -75
- package/dist/model/TokenRefresh.js +0 -87
- package/dist/model/TokenVerify.js +0 -78
|
@@ -37,6 +37,8 @@ var _PaginatedMatchRequestList = _interopRequireDefault(require("../model/Pagina
|
|
|
37
37
|
|
|
38
38
|
var _PaginatedMatchedEnergyDataPointList = _interopRequireDefault(require("../model/PaginatedMatchedEnergyDataPointList"));
|
|
39
39
|
|
|
40
|
+
var _PaginatedProductionDataFromEpiasRequestList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasRequestList"));
|
|
41
|
+
|
|
40
42
|
var _PaginatedProductionDataPointListOrDetailList = _interopRequireDefault(require("../model/PaginatedProductionDataPointListOrDetailList"));
|
|
41
43
|
|
|
42
44
|
var _PatchedConsumptionDataPointUpdate = _interopRequireDefault(require("../model/PatchedConsumptionDataPointUpdate"));
|
|
@@ -47,6 +49,8 @@ var _PatchedProductionDataPointUpdate = _interopRequireDefault(require("../model
|
|
|
47
49
|
|
|
48
50
|
var _ProductionDataFileList = _interopRequireDefault(require("../model/ProductionDataFileList"));
|
|
49
51
|
|
|
52
|
+
var _ProductionDataFromEpiasRequest = _interopRequireDefault(require("../model/ProductionDataFromEpiasRequest"));
|
|
53
|
+
|
|
50
54
|
var _ProductionDataPointCreate = _interopRequireDefault(require("../model/ProductionDataPointCreate"));
|
|
51
55
|
|
|
52
56
|
var _ProductionDataPointListOrDetail = _interopRequireDefault(require("../model/ProductionDataPointListOrDetail"));
|
|
@@ -64,7 +68,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
64
68
|
/**
|
|
65
69
|
* EnergyData service.
|
|
66
70
|
* @module api/EnergyDataApi
|
|
67
|
-
* @version 0.
|
|
71
|
+
* @version 0.55.0
|
|
68
72
|
*/
|
|
69
73
|
var EnergyDataApi = /*#__PURE__*/function () {
|
|
70
74
|
/**
|
|
@@ -108,7 +112,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
108
112
|
var queryParams = {};
|
|
109
113
|
var headerParams = {};
|
|
110
114
|
var formParams = {};
|
|
111
|
-
var authNames = ['
|
|
115
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
112
116
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
113
117
|
var accepts = ['application/json'];
|
|
114
118
|
var returnType = _ConsumptionDataPointCreate["default"];
|
|
@@ -143,7 +147,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
143
147
|
var queryParams = {};
|
|
144
148
|
var headerParams = {};
|
|
145
149
|
var formParams = {};
|
|
146
|
-
var authNames = ['
|
|
150
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
147
151
|
var contentTypes = [];
|
|
148
152
|
var accepts = [];
|
|
149
153
|
var returnType = null;
|
|
@@ -176,7 +180,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
176
180
|
var queryParams = {};
|
|
177
181
|
var headerParams = {};
|
|
178
182
|
var formParams = {};
|
|
179
|
-
var authNames = ['
|
|
183
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
180
184
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
181
185
|
var accepts = [];
|
|
182
186
|
var returnType = null;
|
|
@@ -206,17 +210,17 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
206
210
|
* @param {String} opts.consumptionSite
|
|
207
211
|
* @param {Date} opts.consumptionStartAfter Filter consumption_start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
208
212
|
* @param {Date} opts.consumptionStartBefore Filter consumption_start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
209
|
-
* @param {String} opts.consumptionTxHash
|
|
210
213
|
* @param {Date} opts.createdAt
|
|
211
214
|
* @param {Number} opts.id
|
|
212
215
|
* @param {Boolean} opts.isFullyMatched Filter consumption datapoints based on matched status. Returns unmatched points if set to false.
|
|
213
216
|
* @param {Boolean} opts.isSettlementData
|
|
214
217
|
* @param {Number} opts.limit Number of results to return per page.
|
|
218
|
+
* @param {String} opts.minterContract
|
|
215
219
|
* @param {Number} opts.offset The initial index from which to return the results.
|
|
216
220
|
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
217
221
|
* @param {Array.<String>} opts.productionSitesMatched
|
|
218
222
|
* @param {String} opts.retailer
|
|
219
|
-
* @param {String} opts.
|
|
223
|
+
* @param {String} opts.tx
|
|
220
224
|
* @param {Date} opts.updatedAt
|
|
221
225
|
* @param {module:api/EnergyDataApi~energyDataConsumptionDataListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
222
226
|
* data is of type: {@link module:model/PaginatedConsumptionDataPointListOrDetailList}
|
|
@@ -242,22 +246,22 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
242
246
|
'consumption_site': opts['consumptionSite'],
|
|
243
247
|
'consumption_start_after': opts['consumptionStartAfter'],
|
|
244
248
|
'consumption_start_before': opts['consumptionStartBefore'],
|
|
245
|
-
'consumption_tx_hash': opts['consumptionTxHash'],
|
|
246
249
|
'created_at': opts['createdAt'],
|
|
247
250
|
'id': opts['id'],
|
|
248
251
|
'is_fully_matched': opts['isFullyMatched'],
|
|
249
252
|
'is_settlement_data': opts['isSettlementData'],
|
|
250
253
|
'limit': opts['limit'],
|
|
254
|
+
'minter_contract': opts['minterContract'],
|
|
251
255
|
'offset': opts['offset'],
|
|
252
256
|
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
253
257
|
'production_sites_matched': this.apiClient.buildCollectionParam(opts['productionSitesMatched'], 'multi'),
|
|
254
258
|
'retailer': opts['retailer'],
|
|
255
|
-
'
|
|
259
|
+
'tx': opts['tx'],
|
|
256
260
|
'updated_at': opts['updatedAt']
|
|
257
261
|
};
|
|
258
262
|
var headerParams = {};
|
|
259
263
|
var formParams = {};
|
|
260
|
-
var authNames = ['
|
|
264
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
261
265
|
var contentTypes = [];
|
|
262
266
|
var accepts = ['application/json'];
|
|
263
267
|
var returnType = _PaginatedConsumptionDataPointListOrDetailList["default"];
|
|
@@ -296,7 +300,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
296
300
|
var queryParams = {};
|
|
297
301
|
var headerParams = {};
|
|
298
302
|
var formParams = {};
|
|
299
|
-
var authNames = ['
|
|
303
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
300
304
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
301
305
|
var accepts = ['application/json'];
|
|
302
306
|
var returnType = _ConsumptionDataPointUpdate["default"];
|
|
@@ -332,7 +336,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
332
336
|
var queryParams = {};
|
|
333
337
|
var headerParams = {};
|
|
334
338
|
var formParams = {};
|
|
335
|
-
var authNames = ['
|
|
339
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
336
340
|
var contentTypes = [];
|
|
337
341
|
var accepts = ['application/json'];
|
|
338
342
|
var returnType = _ConsumptionDataPointListOrDetail["default"];
|
|
@@ -371,7 +375,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
371
375
|
var queryParams = {};
|
|
372
376
|
var headerParams = {};
|
|
373
377
|
var formParams = {};
|
|
374
|
-
var authNames = ['
|
|
378
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
375
379
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
376
380
|
var accepts = ['application/json'];
|
|
377
381
|
var returnType = _ConsumptionDataPointUpdate["default"];
|
|
@@ -405,7 +409,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
405
409
|
var queryParams = {};
|
|
406
410
|
var headerParams = {};
|
|
407
411
|
var formParams = {};
|
|
408
|
-
var authNames = ['
|
|
412
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
409
413
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
410
414
|
var accepts = ['application/json'];
|
|
411
415
|
var returnType = _ConsumptionDataPointCreate["default"];
|
|
@@ -439,7 +443,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
439
443
|
var queryParams = {};
|
|
440
444
|
var headerParams = {};
|
|
441
445
|
var formParams = {};
|
|
442
|
-
var authNames = ['
|
|
446
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
443
447
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
444
448
|
var accepts = ['application/json'];
|
|
445
449
|
var returnType = _EmissionFactor["default"];
|
|
@@ -474,7 +478,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
474
478
|
var queryParams = {};
|
|
475
479
|
var headerParams = {};
|
|
476
480
|
var formParams = {};
|
|
477
|
-
var authNames = ['
|
|
481
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
478
482
|
var contentTypes = [];
|
|
479
483
|
var accepts = [];
|
|
480
484
|
var returnType = null;
|
|
@@ -525,7 +529,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
525
529
|
};
|
|
526
530
|
var headerParams = {};
|
|
527
531
|
var formParams = {};
|
|
528
|
-
var authNames = ['
|
|
532
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
529
533
|
var contentTypes = [];
|
|
530
534
|
var accepts = ['application/json'];
|
|
531
535
|
var returnType = _PaginatedEmissionFactorList["default"];
|
|
@@ -564,7 +568,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
564
568
|
var queryParams = {};
|
|
565
569
|
var headerParams = {};
|
|
566
570
|
var formParams = {};
|
|
567
|
-
var authNames = ['
|
|
571
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
568
572
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
569
573
|
var accepts = ['application/json'];
|
|
570
574
|
var returnType = _EmissionFactor["default"];
|
|
@@ -600,7 +604,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
600
604
|
var queryParams = {};
|
|
601
605
|
var headerParams = {};
|
|
602
606
|
var formParams = {};
|
|
603
|
-
var authNames = ['
|
|
607
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
604
608
|
var contentTypes = [];
|
|
605
609
|
var accepts = ['application/json'];
|
|
606
610
|
var returnType = _EmissionFactor["default"];
|
|
@@ -642,12 +646,107 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
642
646
|
var queryParams = {};
|
|
643
647
|
var headerParams = {};
|
|
644
648
|
var formParams = {};
|
|
645
|
-
var authNames = ['
|
|
649
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
646
650
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
647
651
|
var accepts = ['application/json'];
|
|
648
652
|
var returnType = _EmissionFactor["default"];
|
|
649
653
|
return this.apiClient.callApi('/energy-data/emission-factor/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
650
654
|
}
|
|
655
|
+
/**
|
|
656
|
+
* Callback function to receive the result of the energyDataEpiasRequestList operation.
|
|
657
|
+
* @callback module:api/EnergyDataApi~energyDataEpiasRequestListCallback
|
|
658
|
+
* @param {String} error Error message, if any.
|
|
659
|
+
* @param {module:model/PaginatedProductionDataFromEpiasRequestList} data The data returned by the service call.
|
|
660
|
+
* @param {String} response The complete HTTP response.
|
|
661
|
+
*/
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* **List all EPIAS requests related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
665
|
+
* @param {Object} opts Optional parameters
|
|
666
|
+
* @param {Date} opts.createdAt
|
|
667
|
+
* @param {Date} opts.endTime
|
|
668
|
+
* @param {String} opts.id
|
|
669
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
670
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
671
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
672
|
+
* @param {String} opts.producer
|
|
673
|
+
* @param {String} opts.productionSite
|
|
674
|
+
* @param {String} opts.retailer
|
|
675
|
+
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
676
|
+
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
677
|
+
* @param {Date} opts.startTime
|
|
678
|
+
* @param {module:model/String} opts.status Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`.
|
|
679
|
+
* @param {Date} opts.updatedAt
|
|
680
|
+
* @param {module:api/EnergyDataApi~energyDataEpiasRequestListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
681
|
+
* data is of type: {@link module:model/PaginatedProductionDataFromEpiasRequestList}
|
|
682
|
+
*/
|
|
683
|
+
|
|
684
|
+
}, {
|
|
685
|
+
key: "energyDataEpiasRequestList",
|
|
686
|
+
value: function energyDataEpiasRequestList(opts, callback) {
|
|
687
|
+
opts = opts || {};
|
|
688
|
+
var postBody = null;
|
|
689
|
+
var pathParams = {};
|
|
690
|
+
var queryParams = {
|
|
691
|
+
'created_at': opts['createdAt'],
|
|
692
|
+
'end_time': opts['endTime'],
|
|
693
|
+
'id': opts['id'],
|
|
694
|
+
'limit': opts['limit'],
|
|
695
|
+
'offset': opts['offset'],
|
|
696
|
+
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
697
|
+
'producer': opts['producer'],
|
|
698
|
+
'production_site': opts['productionSite'],
|
|
699
|
+
'retailer': opts['retailer'],
|
|
700
|
+
'start_after': opts['startAfter'],
|
|
701
|
+
'start_before': opts['startBefore'],
|
|
702
|
+
'start_time': opts['startTime'],
|
|
703
|
+
'status': opts['status'],
|
|
704
|
+
'updated_at': opts['updatedAt']
|
|
705
|
+
};
|
|
706
|
+
var headerParams = {};
|
|
707
|
+
var formParams = {};
|
|
708
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
709
|
+
var contentTypes = [];
|
|
710
|
+
var accepts = ['application/json'];
|
|
711
|
+
var returnType = _PaginatedProductionDataFromEpiasRequestList["default"];
|
|
712
|
+
return this.apiClient.callApi('/energy-data/epias-request/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Callback function to receive the result of the energyDataEpiasRequestRetrieve operation.
|
|
716
|
+
* @callback module:api/EnergyDataApi~energyDataEpiasRequestRetrieveCallback
|
|
717
|
+
* @param {String} error Error message, if any.
|
|
718
|
+
* @param {module:model/ProductionDataFromEpiasRequest} data The data returned by the service call.
|
|
719
|
+
* @param {String} response The complete HTTP response.
|
|
720
|
+
*/
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* **Get a specific EPIAS request details.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
724
|
+
* @param {String} id A UUID string identifying this production data from epias request.
|
|
725
|
+
* @param {module:api/EnergyDataApi~energyDataEpiasRequestRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
726
|
+
* data is of type: {@link module:model/ProductionDataFromEpiasRequest}
|
|
727
|
+
*/
|
|
728
|
+
|
|
729
|
+
}, {
|
|
730
|
+
key: "energyDataEpiasRequestRetrieve",
|
|
731
|
+
value: function energyDataEpiasRequestRetrieve(id, callback) {
|
|
732
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
733
|
+
|
|
734
|
+
if (id === undefined || id === null) {
|
|
735
|
+
throw new Error("Missing the required parameter 'id' when calling energyDataEpiasRequestRetrieve");
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
var pathParams = {
|
|
739
|
+
'id': id
|
|
740
|
+
};
|
|
741
|
+
var queryParams = {};
|
|
742
|
+
var headerParams = {};
|
|
743
|
+
var formParams = {};
|
|
744
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
745
|
+
var contentTypes = [];
|
|
746
|
+
var accepts = ['application/json'];
|
|
747
|
+
var returnType = _ProductionDataFromEpiasRequest["default"];
|
|
748
|
+
return this.apiClient.callApi('/energy-data/epias-request/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
749
|
+
}
|
|
651
750
|
/**
|
|
652
751
|
* Callback function to receive the result of the energyDataMatchRequestList operation.
|
|
653
752
|
* @callback module:api/EnergyDataApi~energyDataMatchRequestListCallback
|
|
@@ -719,7 +818,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
719
818
|
};
|
|
720
819
|
var headerParams = {};
|
|
721
820
|
var formParams = {};
|
|
722
|
-
var authNames = ['
|
|
821
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
723
822
|
var contentTypes = [];
|
|
724
823
|
var accepts = ['application/json'];
|
|
725
824
|
var returnType = _PaginatedMatchRequestList["default"];
|
|
@@ -755,7 +854,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
755
854
|
var queryParams = {};
|
|
756
855
|
var headerParams = {};
|
|
757
856
|
var formParams = {};
|
|
758
|
-
var authNames = ['
|
|
857
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
759
858
|
var contentTypes = [];
|
|
760
859
|
var accepts = ['application/json'];
|
|
761
860
|
var returnType = _MatchRequest["default"];
|
|
@@ -789,7 +888,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
789
888
|
var queryParams = {};
|
|
790
889
|
var headerParams = {};
|
|
791
890
|
var formParams = {};
|
|
792
|
-
var authNames = ['
|
|
891
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
793
892
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
794
893
|
var accepts = ['application/json'];
|
|
795
894
|
var returnType = _MatchedEnergyDataPoint["default"];
|
|
@@ -813,7 +912,6 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
813
912
|
* @param {Date} opts.createdAt
|
|
814
913
|
* @param {String} opts.id
|
|
815
914
|
* @param {Number} opts.limit Number of results to return per page.
|
|
816
|
-
* @param {String} opts.matchedTxHash
|
|
817
915
|
* @param {Number} opts.offset The initial index from which to return the results.
|
|
818
916
|
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
819
917
|
* @param {String} opts.producer
|
|
@@ -822,6 +920,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
822
920
|
* @param {String} opts.retailer
|
|
823
921
|
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
824
922
|
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
923
|
+
* @param {String} opts.tx
|
|
825
924
|
* @param {Date} opts.updatedAt
|
|
826
925
|
* @param {module:api/EnergyDataApi~energyDataMatchedEnergyDataListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
827
926
|
* data is of type: {@link module:model/PaginatedMatchedEnergyDataPointList}
|
|
@@ -841,7 +940,6 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
841
940
|
'created_at': opts['createdAt'],
|
|
842
941
|
'id': opts['id'],
|
|
843
942
|
'limit': opts['limit'],
|
|
844
|
-
'matched_tx_hash': opts['matchedTxHash'],
|
|
845
943
|
'offset': opts['offset'],
|
|
846
944
|
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
847
945
|
'producer': opts['producer'],
|
|
@@ -850,11 +948,12 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
850
948
|
'retailer': opts['retailer'],
|
|
851
949
|
'start_after': opts['startAfter'],
|
|
852
950
|
'start_before': opts['startBefore'],
|
|
951
|
+
'tx': opts['tx'],
|
|
853
952
|
'updated_at': opts['updatedAt']
|
|
854
953
|
};
|
|
855
954
|
var headerParams = {};
|
|
856
955
|
var formParams = {};
|
|
857
|
-
var authNames = ['
|
|
956
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
858
957
|
var contentTypes = [];
|
|
859
958
|
var accepts = ['application/json'];
|
|
860
959
|
var returnType = _PaginatedMatchedEnergyDataPointList["default"];
|
|
@@ -887,7 +986,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
887
986
|
var queryParams = {};
|
|
888
987
|
var headerParams = {};
|
|
889
988
|
var formParams = {};
|
|
890
|
-
var authNames = ['
|
|
989
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
891
990
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
892
991
|
var accepts = [];
|
|
893
992
|
var returnType = null;
|
|
@@ -920,7 +1019,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
920
1019
|
var queryParams = {};
|
|
921
1020
|
var headerParams = {};
|
|
922
1021
|
var formParams = {};
|
|
923
|
-
var authNames = ['
|
|
1022
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
924
1023
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
925
1024
|
var accepts = [];
|
|
926
1025
|
var returnType = null;
|
|
@@ -956,7 +1055,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
956
1055
|
var queryParams = {};
|
|
957
1056
|
var headerParams = {};
|
|
958
1057
|
var formParams = {};
|
|
959
|
-
var authNames = ['
|
|
1058
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
960
1059
|
var contentTypes = [];
|
|
961
1060
|
var accepts = ['application/json'];
|
|
962
1061
|
var returnType = _MatchedEnergyDataPoint["default"];
|
|
@@ -990,7 +1089,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
990
1089
|
var queryParams = {};
|
|
991
1090
|
var headerParams = {};
|
|
992
1091
|
var formParams = {};
|
|
993
|
-
var authNames = ['
|
|
1092
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
994
1093
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
995
1094
|
var accepts = ['application/json'];
|
|
996
1095
|
var returnType = _ProductionDataPointCreate["default"];
|
|
@@ -1025,7 +1124,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1025
1124
|
var queryParams = {};
|
|
1026
1125
|
var headerParams = {};
|
|
1027
1126
|
var formParams = {};
|
|
1028
|
-
var authNames = ['
|
|
1127
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1029
1128
|
var contentTypes = [];
|
|
1030
1129
|
var accepts = [];
|
|
1031
1130
|
var returnType = null;
|
|
@@ -1059,7 +1158,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1059
1158
|
var queryParams = {};
|
|
1060
1159
|
var headerParams = {};
|
|
1061
1160
|
var formParams = {};
|
|
1062
|
-
var authNames = ['
|
|
1161
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1063
1162
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1064
1163
|
var accepts = ['application/json'];
|
|
1065
1164
|
var returnType = _ProductionDataPointCreate["default"];
|
|
@@ -1086,15 +1185,15 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1086
1185
|
* @param {Boolean} opts.isFullyMatched Filter production datapoints based on matched status. Returns unmatched points if set to false.
|
|
1087
1186
|
* @param {Boolean} opts.isSettlementData
|
|
1088
1187
|
* @param {Number} opts.limit Number of results to return per page.
|
|
1188
|
+
* @param {String} opts.minterContract
|
|
1089
1189
|
* @param {Number} opts.offset The initial index from which to return the results.
|
|
1090
1190
|
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
1091
1191
|
* @param {String} opts.producer
|
|
1092
1192
|
* @param {String} opts.productionSite
|
|
1093
1193
|
* @param {Date} opts.productionStartAfter Filter production_start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
1094
1194
|
* @param {Date} opts.productionStartBefore Filter production_start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
1095
|
-
* @param {String} opts.productionTxHash
|
|
1096
1195
|
* @param {String} opts.retailer
|
|
1097
|
-
* @param {String} opts.
|
|
1196
|
+
* @param {String} opts.tx
|
|
1098
1197
|
* @param {Date} opts.updatedAt
|
|
1099
1198
|
* @param {module:api/EnergyDataApi~energyDataProductionDataListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1100
1199
|
* data is of type: {@link module:model/PaginatedProductionDataPointListOrDetailList}
|
|
@@ -1117,20 +1216,20 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1117
1216
|
'is_fully_matched': opts['isFullyMatched'],
|
|
1118
1217
|
'is_settlement_data': opts['isSettlementData'],
|
|
1119
1218
|
'limit': opts['limit'],
|
|
1219
|
+
'minter_contract': opts['minterContract'],
|
|
1120
1220
|
'offset': opts['offset'],
|
|
1121
1221
|
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
1122
1222
|
'producer': opts['producer'],
|
|
1123
1223
|
'production_site': opts['productionSite'],
|
|
1124
1224
|
'production_start_after': opts['productionStartAfter'],
|
|
1125
1225
|
'production_start_before': opts['productionStartBefore'],
|
|
1126
|
-
'production_tx_hash': opts['productionTxHash'],
|
|
1127
1226
|
'retailer': opts['retailer'],
|
|
1128
|
-
'
|
|
1227
|
+
'tx': opts['tx'],
|
|
1129
1228
|
'updated_at': opts['updatedAt']
|
|
1130
1229
|
};
|
|
1131
1230
|
var headerParams = {};
|
|
1132
1231
|
var formParams = {};
|
|
1133
|
-
var authNames = ['
|
|
1232
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1134
1233
|
var contentTypes = [];
|
|
1135
1234
|
var accepts = ['application/json'];
|
|
1136
1235
|
var returnType = _PaginatedProductionDataPointListOrDetailList["default"];
|
|
@@ -1169,7 +1268,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1169
1268
|
var queryParams = {};
|
|
1170
1269
|
var headerParams = {};
|
|
1171
1270
|
var formParams = {};
|
|
1172
|
-
var authNames = ['
|
|
1271
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1173
1272
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1174
1273
|
var accepts = ['application/json'];
|
|
1175
1274
|
var returnType = _ProductionDataPointUpdate["default"];
|
|
@@ -1205,7 +1304,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1205
1304
|
var queryParams = {};
|
|
1206
1305
|
var headerParams = {};
|
|
1207
1306
|
var formParams = {};
|
|
1208
|
-
var authNames = ['
|
|
1307
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1209
1308
|
var contentTypes = [];
|
|
1210
1309
|
var accepts = ['application/json'];
|
|
1211
1310
|
var returnType = _ProductionDataPointListOrDetail["default"];
|
|
@@ -1244,7 +1343,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1244
1343
|
var queryParams = {};
|
|
1245
1344
|
var headerParams = {};
|
|
1246
1345
|
var formParams = {};
|
|
1247
|
-
var authNames = ['
|
|
1346
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1248
1347
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1249
1348
|
var accepts = ['application/json'];
|
|
1250
1349
|
var returnType = _ProductionDataPointUpdate["default"];
|
|
@@ -1278,7 +1377,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1278
1377
|
var queryParams = {};
|
|
1279
1378
|
var headerParams = {};
|
|
1280
1379
|
var formParams = {};
|
|
1281
|
-
var authNames = ['
|
|
1380
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
1282
1381
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1283
1382
|
var accepts = ['application/json'];
|
|
1284
1383
|
var returnType = _ProductionDataPointCreate["default"];
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* HealthCheck service.
|
|
20
20
|
* @module api/HealthCheckApi
|
|
21
|
-
* @version 0.
|
|
21
|
+
* @version 0.55.0
|
|
22
22
|
*/
|
|
23
23
|
var HealthCheckApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -54,7 +54,7 @@ var HealthCheckApi = /*#__PURE__*/function () {
|
|
|
54
54
|
var queryParams = {};
|
|
55
55
|
var headerParams = {};
|
|
56
56
|
var formParams = {};
|
|
57
|
-
var authNames = ['
|
|
57
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
58
58
|
var contentTypes = [];
|
|
59
59
|
var accepts = [];
|
|
60
60
|
var returnType = null;
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* LicensedProductionSitesOnEpias service.
|
|
20
20
|
* @module api/LicensedProductionSitesOnEpiasApi
|
|
21
|
-
* @version 0.
|
|
21
|
+
* @version 0.55.0
|
|
22
22
|
*/
|
|
23
23
|
var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -55,7 +55,7 @@ var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
|
55
55
|
var queryParams = {};
|
|
56
56
|
var headerParams = {};
|
|
57
57
|
var formParams = {};
|
|
58
|
-
var authNames = ['
|
|
58
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
59
59
|
var contentTypes = [];
|
|
60
60
|
var accepts = [];
|
|
61
61
|
var returnType = null;
|
package/dist/api/LocationsApi.js
CHANGED
|
@@ -24,7 +24,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
24
24
|
/**
|
|
25
25
|
* Locations service.
|
|
26
26
|
* @module api/LocationsApi
|
|
27
|
-
* @version 0.
|
|
27
|
+
* @version 0.55.0
|
|
28
28
|
*/
|
|
29
29
|
var LocationsApi = /*#__PURE__*/function () {
|
|
30
30
|
/**
|
|
@@ -62,7 +62,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
62
62
|
var queryParams = {};
|
|
63
63
|
var headerParams = {};
|
|
64
64
|
var formParams = {};
|
|
65
|
-
var authNames = ['
|
|
65
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
66
66
|
var contentTypes = [];
|
|
67
67
|
var accepts = ['application/json'];
|
|
68
68
|
var returnType = _Location["default"];
|
|
@@ -96,7 +96,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
96
96
|
var queryParams = {};
|
|
97
97
|
var headerParams = {};
|
|
98
98
|
var formParams = {};
|
|
99
|
-
var authNames = ['
|
|
99
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
100
100
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
101
101
|
var accepts = ['application/json'];
|
|
102
102
|
var returnType = _Location["default"];
|
|
@@ -131,7 +131,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
131
131
|
var queryParams = {};
|
|
132
132
|
var headerParams = {};
|
|
133
133
|
var formParams = {};
|
|
134
|
-
var authNames = ['
|
|
134
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
135
135
|
var contentTypes = [];
|
|
136
136
|
var accepts = [];
|
|
137
137
|
var returnType = null;
|
|
@@ -200,7 +200,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
200
200
|
};
|
|
201
201
|
var headerParams = {};
|
|
202
202
|
var formParams = {};
|
|
203
|
-
var authNames = ['
|
|
203
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
204
204
|
var contentTypes = [];
|
|
205
205
|
var accepts = ['application/json'];
|
|
206
206
|
var returnType = _PaginatedLocationList["default"];
|
|
@@ -239,7 +239,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
239
239
|
var queryParams = {};
|
|
240
240
|
var headerParams = {};
|
|
241
241
|
var formParams = {};
|
|
242
|
-
var authNames = ['
|
|
242
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
243
243
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
244
244
|
var accepts = ['application/json'];
|
|
245
245
|
var returnType = _Location["default"];
|
|
@@ -267,7 +267,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
267
267
|
var queryParams = {};
|
|
268
268
|
var headerParams = {};
|
|
269
269
|
var formParams = {};
|
|
270
|
-
var authNames = ['
|
|
270
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
271
271
|
var contentTypes = [];
|
|
272
272
|
var accepts = ['application/json'];
|
|
273
273
|
var returnType = _Location["default"];
|
|
@@ -303,7 +303,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
303
303
|
var queryParams = {};
|
|
304
304
|
var headerParams = {};
|
|
305
305
|
var formParams = {};
|
|
306
|
-
var authNames = ['
|
|
306
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
307
307
|
var contentTypes = [];
|
|
308
308
|
var accepts = ['application/json'];
|
|
309
309
|
var returnType = _Location["default"];
|
|
@@ -345,7 +345,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
345
345
|
var queryParams = {};
|
|
346
346
|
var headerParams = {};
|
|
347
347
|
var formParams = {};
|
|
348
|
-
var authNames = ['
|
|
348
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
349
349
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
350
350
|
var accepts = ['application/json'];
|
|
351
351
|
var returnType = _Location["default"];
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* MaintenanceCheck service.
|
|
20
20
|
* @module api/MaintenanceCheckApi
|
|
21
|
-
* @version 0.
|
|
21
|
+
* @version 0.55.0
|
|
22
22
|
*/
|
|
23
23
|
var MaintenanceCheckApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -54,7 +54,7 @@ var MaintenanceCheckApi = /*#__PURE__*/function () {
|
|
|
54
54
|
var queryParams = {};
|
|
55
55
|
var headerParams = {};
|
|
56
56
|
var formParams = {};
|
|
57
|
-
var authNames = ['
|
|
57
|
+
var authNames = ['jwtAuth', 'tokenAuth'];
|
|
58
58
|
var contentTypes = [];
|
|
59
59
|
var accepts = [];
|
|
60
60
|
var returnType = null;
|