green_link_api 0.49.6 → 0.54.4

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.
Files changed (101) hide show
  1. package/README.md +39 -37
  2. package/dist/ApiClient.js +3 -6
  3. package/dist/api/BlockchainApi.js +283 -0
  4. package/dist/api/EnergyAssetsApi.js +89 -19
  5. package/dist/api/EnergyDataApi.js +173 -39
  6. package/dist/api/HealthCheckApi.js +2 -2
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
  8. package/dist/api/LocationsApi.js +9 -9
  9. package/dist/api/MaintenanceCheckApi.js +2 -2
  10. package/dist/api/OrganizationprofilesApi.js +7 -7
  11. package/dist/api/OrganizationsApi.js +31 -31
  12. package/dist/api/SchemaApi.js +2 -2
  13. package/dist/api/SentryDebugApi.js +2 -2
  14. package/dist/api/UploadedfilesApi.js +226 -0
  15. package/dist/api/UsersApi.js +13 -230
  16. package/dist/index.js +121 -41
  17. package/dist/model/BlockchainTransaction.js +172 -0
  18. package/dist/model/Consumer.js +1 -1
  19. package/dist/model/ConsumptionDataFileList.js +1 -1
  20. package/dist/model/ConsumptionDataFromRetailer.js +101 -0
  21. package/dist/model/ConsumptionDataPointCreate.js +11 -11
  22. package/dist/model/ConsumptionDataPointListOrDetail.js +20 -13
  23. package/dist/model/ConsumptionDataPointUpdate.js +11 -11
  24. package/dist/model/ConsumptionSite.js +1 -1
  25. package/dist/model/ConsumptionSiteFileUpload.js +1 -1
  26. package/dist/model/{TokenRefresh.js → ConsumptionSiteFromRetailer.js} +24 -32
  27. package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
  28. package/dist/model/ConsumptionSiteMany.js +195 -0
  29. package/dist/model/ContentTypeEnum.js +54 -0
  30. package/dist/model/EmissionFactor.js +1 -1
  31. package/dist/model/EnergySourcePreference.js +1 -1
  32. package/dist/model/GetFromEpias.js +1 -1
  33. package/dist/model/GridOperator.js +1 -1
  34. package/dist/model/Issuer.js +1 -1
  35. package/dist/model/Location.js +1 -1
  36. package/dist/model/Login.js +1 -1
  37. package/dist/model/MatchRequest.js +1 -1
  38. package/dist/model/MatchedEnergyDataPoint.js +12 -13
  39. package/dist/model/MatchingConsumerRequest.js +1 -1
  40. package/dist/model/MatchingSiteRequest.js +1 -1
  41. package/dist/model/PaginatedConsumerList.js +1 -1
  42. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
  43. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
  44. package/dist/model/PaginatedEmissionFactorList.js +1 -1
  45. package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
  46. package/dist/model/PaginatedGridOperatorList.js +1 -1
  47. package/dist/model/PaginatedIssuerList.js +1 -1
  48. package/dist/model/PaginatedLocationList.js +1 -1
  49. package/dist/model/PaginatedMatchRequestList.js +1 -1
  50. package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
  51. package/dist/model/PaginatedProducerList.js +1 -1
  52. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
  53. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
  54. package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
  55. package/dist/model/PaginatedRetailerList.js +1 -1
  56. package/dist/model/PaginatedSmartContractList.js +104 -0
  57. package/dist/model/PaginatedUnprocessedRowList.js +104 -0
  58. package/dist/model/PaginatedUploadedFileList.js +104 -0
  59. package/dist/model/PaginatedUserList.js +1 -1
  60. package/dist/model/PatchedConsumer.js +1 -1
  61. package/dist/model/PatchedConsumptionDataPointUpdate.js +11 -11
  62. package/dist/model/PatchedConsumptionSite.js +1 -1
  63. package/dist/model/PatchedEmissionFactor.js +1 -1
  64. package/dist/model/PatchedEnergySourcePreference.js +1 -1
  65. package/dist/model/PatchedGridOperator.js +1 -1
  66. package/dist/model/PatchedIssuer.js +1 -1
  67. package/dist/model/PatchedLocation.js +1 -1
  68. package/dist/model/PatchedProducer.js +1 -1
  69. package/dist/model/PatchedProductionDataPointUpdate.js +12 -12
  70. package/dist/model/PatchedProductionSiteUpdate.js +2 -1
  71. package/dist/model/PatchedRetailer.js +1 -1
  72. package/dist/model/PatchedSmartContract.js +132 -0
  73. package/dist/model/PatchedUser.js +3 -1
  74. package/dist/model/PatchedUserDetail.js +3 -1
  75. package/dist/model/PriorityEnum.js +6 -0
  76. package/dist/model/Producer.js +1 -1
  77. package/dist/model/ProductionDataFileList.js +1 -1
  78. package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
  79. package/dist/model/ProductionDataPointCreate.js +12 -12
  80. package/dist/model/ProductionDataPointListOrDetail.js +21 -14
  81. package/dist/model/ProductionDataPointUpdate.js +12 -12
  82. package/dist/model/ProductionSite.js +5 -6
  83. package/dist/model/ProductionSiteFileUpload.js +1 -1
  84. package/dist/model/ProductionSiteListOrDetail.js +1 -1
  85. package/dist/model/ProductionSiteUpdate.js +5 -6
  86. package/dist/model/Register.js +8 -5
  87. package/dist/model/Retailer.js +1 -1
  88. package/dist/model/SmartContract.js +137 -0
  89. package/dist/model/{VerifyEmail.js → Token.js} +18 -17
  90. package/dist/model/TypeEnum.js +52 -0
  91. package/dist/model/UnprocessedRow.js +140 -0
  92. package/dist/model/UploadedFile.js +166 -0
  93. package/dist/model/User.js +3 -1
  94. package/dist/model/UserDetail.js +3 -1
  95. package/package.json +1 -1
  96. package/dist/model/JWT.js +0 -103
  97. package/dist/model/PasswordChange.js +0 -100
  98. package/dist/model/PasswordReset.js +0 -79
  99. package/dist/model/PasswordResetConfirm.js +0 -112
  100. package/dist/model/RestAuthDetail.js +0 -75
  101. package/dist/model/TokenVerify.js +0 -78
@@ -9,6 +9,8 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
9
 
10
10
  var _ConsumptionDataFileList = _interopRequireDefault(require("../model/ConsumptionDataFileList"));
11
11
 
12
+ var _ConsumptionDataFromRetailer = _interopRequireDefault(require("../model/ConsumptionDataFromRetailer"));
13
+
12
14
  var _ConsumptionDataPointCreate = _interopRequireDefault(require("../model/ConsumptionDataPointCreate"));
13
15
 
14
16
  var _ConsumptionDataPointListOrDetail = _interopRequireDefault(require("../model/ConsumptionDataPointListOrDetail"));
@@ -35,6 +37,8 @@ var _PaginatedMatchRequestList = _interopRequireDefault(require("../model/Pagina
35
37
 
36
38
  var _PaginatedMatchedEnergyDataPointList = _interopRequireDefault(require("../model/PaginatedMatchedEnergyDataPointList"));
37
39
 
40
+ var _PaginatedProductionDataFromEpiasRequestList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasRequestList"));
41
+
38
42
  var _PaginatedProductionDataPointListOrDetailList = _interopRequireDefault(require("../model/PaginatedProductionDataPointListOrDetailList"));
39
43
 
40
44
  var _PatchedConsumptionDataPointUpdate = _interopRequireDefault(require("../model/PatchedConsumptionDataPointUpdate"));
@@ -45,6 +49,8 @@ var _PatchedProductionDataPointUpdate = _interopRequireDefault(require("../model
45
49
 
46
50
  var _ProductionDataFileList = _interopRequireDefault(require("../model/ProductionDataFileList"));
47
51
 
52
+ var _ProductionDataFromEpiasRequest = _interopRequireDefault(require("../model/ProductionDataFromEpiasRequest"));
53
+
48
54
  var _ProductionDataPointCreate = _interopRequireDefault(require("../model/ProductionDataPointCreate"));
49
55
 
50
56
  var _ProductionDataPointListOrDetail = _interopRequireDefault(require("../model/ProductionDataPointListOrDetail"));
@@ -62,7 +68,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
62
68
  /**
63
69
  * EnergyData service.
64
70
  * @module api/EnergyDataApi
65
- * @version 0.49.6
71
+ * @version 0.54.4
66
72
  */
67
73
  var EnergyDataApi = /*#__PURE__*/function () {
68
74
  /**
@@ -106,7 +112,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
106
112
  var queryParams = {};
107
113
  var headerParams = {};
108
114
  var formParams = {};
109
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
115
+ var authNames = ['jwtAuth', 'tokenAuth'];
110
116
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
111
117
  var accepts = ['application/json'];
112
118
  var returnType = _ConsumptionDataPointCreate["default"];
@@ -141,12 +147,45 @@ var EnergyDataApi = /*#__PURE__*/function () {
141
147
  var queryParams = {};
142
148
  var headerParams = {};
143
149
  var formParams = {};
144
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
150
+ var authNames = ['jwtAuth', 'tokenAuth'];
145
151
  var contentTypes = [];
146
152
  var accepts = [];
147
153
  var returnType = null;
148
154
  return this.apiClient.callApi('/energy-data/consumption-data/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
149
155
  }
156
+ /**
157
+ * Callback function to receive the result of the energyDataConsumptionDataImportDataCreate operation.
158
+ * @callback module:api/EnergyDataApi~energyDataConsumptionDataImportDataCreateCallback
159
+ * @param {String} error Error message, if any.
160
+ * @param data This operation does not return a value.
161
+ * @param {String} response The complete HTTP response.
162
+ */
163
+
164
+ /**
165
+ * **Get Consumption Data Points from retailer** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Retailer
166
+ * @param {module:model/ConsumptionDataFromRetailer} consumptionDataFromRetailer
167
+ * @param {module:api/EnergyDataApi~energyDataConsumptionDataImportDataCreateCallback} callback The callback function, accepting three arguments: error, data, response
168
+ */
169
+
170
+ }, {
171
+ key: "energyDataConsumptionDataImportDataCreate",
172
+ value: function energyDataConsumptionDataImportDataCreate(consumptionDataFromRetailer, callback) {
173
+ var postBody = consumptionDataFromRetailer; // verify the required parameter 'consumptionDataFromRetailer' is set
174
+
175
+ if (consumptionDataFromRetailer === undefined || consumptionDataFromRetailer === null) {
176
+ throw new Error("Missing the required parameter 'consumptionDataFromRetailer' when calling energyDataConsumptionDataImportDataCreate");
177
+ }
178
+
179
+ var pathParams = {};
180
+ var queryParams = {};
181
+ var headerParams = {};
182
+ var formParams = {};
183
+ var authNames = ['jwtAuth', 'tokenAuth'];
184
+ var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
185
+ var accepts = [];
186
+ var returnType = null;
187
+ return this.apiClient.callApi('/energy-data/consumption-data/import-data/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
188
+ }
150
189
  /**
151
190
  * Callback function to receive the result of the energyDataConsumptionDataList operation.
152
191
  * @callback module:api/EnergyDataApi~energyDataConsumptionDataListCallback
@@ -171,17 +210,17 @@ var EnergyDataApi = /*#__PURE__*/function () {
171
210
  * @param {String} opts.consumptionSite
172
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)
173
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)
174
- * @param {String} opts.consumptionTxHash
175
213
  * @param {Date} opts.createdAt
176
214
  * @param {Number} opts.id
177
215
  * @param {Boolean} opts.isFullyMatched Filter consumption datapoints based on matched status. Returns unmatched points if set to false.
178
216
  * @param {Boolean} opts.isSettlementData
179
217
  * @param {Number} opts.limit Number of results to return per page.
218
+ * @param {String} opts.minterContract
180
219
  * @param {Number} opts.offset The initial index from which to return the results.
181
220
  * @param {Array.<module:model/String>} opts.orderBy Ordering
182
221
  * @param {Array.<String>} opts.productionSitesMatched
183
222
  * @param {String} opts.retailer
184
- * @param {String} opts.tokenContractAddress
223
+ * @param {String} opts.tx
185
224
  * @param {Date} opts.updatedAt
186
225
  * @param {module:api/EnergyDataApi~energyDataConsumptionDataListCallback} callback The callback function, accepting three arguments: error, data, response
187
226
  * data is of type: {@link module:model/PaginatedConsumptionDataPointListOrDetailList}
@@ -207,22 +246,22 @@ var EnergyDataApi = /*#__PURE__*/function () {
207
246
  'consumption_site': opts['consumptionSite'],
208
247
  'consumption_start_after': opts['consumptionStartAfter'],
209
248
  'consumption_start_before': opts['consumptionStartBefore'],
210
- 'consumption_tx_hash': opts['consumptionTxHash'],
211
249
  'created_at': opts['createdAt'],
212
250
  'id': opts['id'],
213
251
  'is_fully_matched': opts['isFullyMatched'],
214
252
  'is_settlement_data': opts['isSettlementData'],
215
253
  'limit': opts['limit'],
254
+ 'minter_contract': opts['minterContract'],
216
255
  'offset': opts['offset'],
217
256
  'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
218
257
  'production_sites_matched': this.apiClient.buildCollectionParam(opts['productionSitesMatched'], 'multi'),
219
258
  'retailer': opts['retailer'],
220
- 'token_contract_address': opts['tokenContractAddress'],
259
+ 'tx': opts['tx'],
221
260
  'updated_at': opts['updatedAt']
222
261
  };
223
262
  var headerParams = {};
224
263
  var formParams = {};
225
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
264
+ var authNames = ['jwtAuth', 'tokenAuth'];
226
265
  var contentTypes = [];
227
266
  var accepts = ['application/json'];
228
267
  var returnType = _PaginatedConsumptionDataPointListOrDetailList["default"];
@@ -261,7 +300,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
261
300
  var queryParams = {};
262
301
  var headerParams = {};
263
302
  var formParams = {};
264
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
303
+ var authNames = ['jwtAuth', 'tokenAuth'];
265
304
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
266
305
  var accepts = ['application/json'];
267
306
  var returnType = _ConsumptionDataPointUpdate["default"];
@@ -297,7 +336,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
297
336
  var queryParams = {};
298
337
  var headerParams = {};
299
338
  var formParams = {};
300
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
339
+ var authNames = ['jwtAuth', 'tokenAuth'];
301
340
  var contentTypes = [];
302
341
  var accepts = ['application/json'];
303
342
  var returnType = _ConsumptionDataPointListOrDetail["default"];
@@ -336,7 +375,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
336
375
  var queryParams = {};
337
376
  var headerParams = {};
338
377
  var formParams = {};
339
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
378
+ var authNames = ['jwtAuth', 'tokenAuth'];
340
379
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
341
380
  var accepts = ['application/json'];
342
381
  var returnType = _ConsumptionDataPointUpdate["default"];
@@ -370,7 +409,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
370
409
  var queryParams = {};
371
410
  var headerParams = {};
372
411
  var formParams = {};
373
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
412
+ var authNames = ['jwtAuth', 'tokenAuth'];
374
413
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
375
414
  var accepts = ['application/json'];
376
415
  var returnType = _ConsumptionDataPointCreate["default"];
@@ -404,7 +443,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
404
443
  var queryParams = {};
405
444
  var headerParams = {};
406
445
  var formParams = {};
407
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
446
+ var authNames = ['jwtAuth', 'tokenAuth'];
408
447
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
409
448
  var accepts = ['application/json'];
410
449
  var returnType = _EmissionFactor["default"];
@@ -439,7 +478,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
439
478
  var queryParams = {};
440
479
  var headerParams = {};
441
480
  var formParams = {};
442
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
481
+ var authNames = ['jwtAuth', 'tokenAuth'];
443
482
  var contentTypes = [];
444
483
  var accepts = [];
445
484
  var returnType = null;
@@ -490,7 +529,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
490
529
  };
491
530
  var headerParams = {};
492
531
  var formParams = {};
493
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
532
+ var authNames = ['jwtAuth', 'tokenAuth'];
494
533
  var contentTypes = [];
495
534
  var accepts = ['application/json'];
496
535
  var returnType = _PaginatedEmissionFactorList["default"];
@@ -529,7 +568,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
529
568
  var queryParams = {};
530
569
  var headerParams = {};
531
570
  var formParams = {};
532
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
571
+ var authNames = ['jwtAuth', 'tokenAuth'];
533
572
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
534
573
  var accepts = ['application/json'];
535
574
  var returnType = _EmissionFactor["default"];
@@ -565,7 +604,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
565
604
  var queryParams = {};
566
605
  var headerParams = {};
567
606
  var formParams = {};
568
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
607
+ var authNames = ['jwtAuth', 'tokenAuth'];
569
608
  var contentTypes = [];
570
609
  var accepts = ['application/json'];
571
610
  var returnType = _EmissionFactor["default"];
@@ -607,12 +646,107 @@ var EnergyDataApi = /*#__PURE__*/function () {
607
646
  var queryParams = {};
608
647
  var headerParams = {};
609
648
  var formParams = {};
610
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
649
+ var authNames = ['jwtAuth', 'tokenAuth'];
611
650
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
612
651
  var accepts = ['application/json'];
613
652
  var returnType = _EmissionFactor["default"];
614
653
  return this.apiClient.callApi('/energy-data/emission-factor/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
615
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
+ }
616
750
  /**
617
751
  * Callback function to receive the result of the energyDataMatchRequestList operation.
618
752
  * @callback module:api/EnergyDataApi~energyDataMatchRequestListCallback
@@ -684,7 +818,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
684
818
  };
685
819
  var headerParams = {};
686
820
  var formParams = {};
687
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
821
+ var authNames = ['jwtAuth', 'tokenAuth'];
688
822
  var contentTypes = [];
689
823
  var accepts = ['application/json'];
690
824
  var returnType = _PaginatedMatchRequestList["default"];
@@ -720,7 +854,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
720
854
  var queryParams = {};
721
855
  var headerParams = {};
722
856
  var formParams = {};
723
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
857
+ var authNames = ['jwtAuth', 'tokenAuth'];
724
858
  var contentTypes = [];
725
859
  var accepts = ['application/json'];
726
860
  var returnType = _MatchRequest["default"];
@@ -754,7 +888,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
754
888
  var queryParams = {};
755
889
  var headerParams = {};
756
890
  var formParams = {};
757
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
891
+ var authNames = ['jwtAuth', 'tokenAuth'];
758
892
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
759
893
  var accepts = ['application/json'];
760
894
  var returnType = _MatchedEnergyDataPoint["default"];
@@ -778,7 +912,6 @@ var EnergyDataApi = /*#__PURE__*/function () {
778
912
  * @param {Date} opts.createdAt
779
913
  * @param {String} opts.id
780
914
  * @param {Number} opts.limit Number of results to return per page.
781
- * @param {String} opts.matchedTxHash
782
915
  * @param {Number} opts.offset The initial index from which to return the results.
783
916
  * @param {Array.<module:model/String>} opts.orderBy Ordering
784
917
  * @param {String} opts.producer
@@ -787,6 +920,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
787
920
  * @param {String} opts.retailer
788
921
  * @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
789
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
790
924
  * @param {Date} opts.updatedAt
791
925
  * @param {module:api/EnergyDataApi~energyDataMatchedEnergyDataListCallback} callback The callback function, accepting three arguments: error, data, response
792
926
  * data is of type: {@link module:model/PaginatedMatchedEnergyDataPointList}
@@ -806,7 +940,6 @@ var EnergyDataApi = /*#__PURE__*/function () {
806
940
  'created_at': opts['createdAt'],
807
941
  'id': opts['id'],
808
942
  'limit': opts['limit'],
809
- 'matched_tx_hash': opts['matchedTxHash'],
810
943
  'offset': opts['offset'],
811
944
  'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
812
945
  'producer': opts['producer'],
@@ -815,11 +948,12 @@ var EnergyDataApi = /*#__PURE__*/function () {
815
948
  'retailer': opts['retailer'],
816
949
  'start_after': opts['startAfter'],
817
950
  'start_before': opts['startBefore'],
951
+ 'tx': opts['tx'],
818
952
  'updated_at': opts['updatedAt']
819
953
  };
820
954
  var headerParams = {};
821
955
  var formParams = {};
822
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
956
+ var authNames = ['jwtAuth', 'tokenAuth'];
823
957
  var contentTypes = [];
824
958
  var accepts = ['application/json'];
825
959
  var returnType = _PaginatedMatchedEnergyDataPointList["default"];
@@ -852,7 +986,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
852
986
  var queryParams = {};
853
987
  var headerParams = {};
854
988
  var formParams = {};
855
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
989
+ var authNames = ['jwtAuth', 'tokenAuth'];
856
990
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
857
991
  var accepts = [];
858
992
  var returnType = null;
@@ -885,7 +1019,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
885
1019
  var queryParams = {};
886
1020
  var headerParams = {};
887
1021
  var formParams = {};
888
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1022
+ var authNames = ['jwtAuth', 'tokenAuth'];
889
1023
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
890
1024
  var accepts = [];
891
1025
  var returnType = null;
@@ -921,7 +1055,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
921
1055
  var queryParams = {};
922
1056
  var headerParams = {};
923
1057
  var formParams = {};
924
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1058
+ var authNames = ['jwtAuth', 'tokenAuth'];
925
1059
  var contentTypes = [];
926
1060
  var accepts = ['application/json'];
927
1061
  var returnType = _MatchedEnergyDataPoint["default"];
@@ -955,7 +1089,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
955
1089
  var queryParams = {};
956
1090
  var headerParams = {};
957
1091
  var formParams = {};
958
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1092
+ var authNames = ['jwtAuth', 'tokenAuth'];
959
1093
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
960
1094
  var accepts = ['application/json'];
961
1095
  var returnType = _ProductionDataPointCreate["default"];
@@ -990,7 +1124,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
990
1124
  var queryParams = {};
991
1125
  var headerParams = {};
992
1126
  var formParams = {};
993
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1127
+ var authNames = ['jwtAuth', 'tokenAuth'];
994
1128
  var contentTypes = [];
995
1129
  var accepts = [];
996
1130
  var returnType = null;
@@ -1024,7 +1158,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
1024
1158
  var queryParams = {};
1025
1159
  var headerParams = {};
1026
1160
  var formParams = {};
1027
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1161
+ var authNames = ['jwtAuth', 'tokenAuth'];
1028
1162
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
1029
1163
  var accepts = ['application/json'];
1030
1164
  var returnType = _ProductionDataPointCreate["default"];
@@ -1051,15 +1185,15 @@ var EnergyDataApi = /*#__PURE__*/function () {
1051
1185
  * @param {Boolean} opts.isFullyMatched Filter production datapoints based on matched status. Returns unmatched points if set to false.
1052
1186
  * @param {Boolean} opts.isSettlementData
1053
1187
  * @param {Number} opts.limit Number of results to return per page.
1188
+ * @param {String} opts.minterContract
1054
1189
  * @param {Number} opts.offset The initial index from which to return the results.
1055
1190
  * @param {Array.<module:model/String>} opts.orderBy Ordering
1056
1191
  * @param {String} opts.producer
1057
1192
  * @param {String} opts.productionSite
1058
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)
1059
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)
1060
- * @param {String} opts.productionTxHash
1061
1195
  * @param {String} opts.retailer
1062
- * @param {String} opts.tokenContractAddress
1196
+ * @param {String} opts.tx
1063
1197
  * @param {Date} opts.updatedAt
1064
1198
  * @param {module:api/EnergyDataApi~energyDataProductionDataListCallback} callback The callback function, accepting three arguments: error, data, response
1065
1199
  * data is of type: {@link module:model/PaginatedProductionDataPointListOrDetailList}
@@ -1082,20 +1216,20 @@ var EnergyDataApi = /*#__PURE__*/function () {
1082
1216
  'is_fully_matched': opts['isFullyMatched'],
1083
1217
  'is_settlement_data': opts['isSettlementData'],
1084
1218
  'limit': opts['limit'],
1219
+ 'minter_contract': opts['minterContract'],
1085
1220
  'offset': opts['offset'],
1086
1221
  'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
1087
1222
  'producer': opts['producer'],
1088
1223
  'production_site': opts['productionSite'],
1089
1224
  'production_start_after': opts['productionStartAfter'],
1090
1225
  'production_start_before': opts['productionStartBefore'],
1091
- 'production_tx_hash': opts['productionTxHash'],
1092
1226
  'retailer': opts['retailer'],
1093
- 'token_contract_address': opts['tokenContractAddress'],
1227
+ 'tx': opts['tx'],
1094
1228
  'updated_at': opts['updatedAt']
1095
1229
  };
1096
1230
  var headerParams = {};
1097
1231
  var formParams = {};
1098
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1232
+ var authNames = ['jwtAuth', 'tokenAuth'];
1099
1233
  var contentTypes = [];
1100
1234
  var accepts = ['application/json'];
1101
1235
  var returnType = _PaginatedProductionDataPointListOrDetailList["default"];
@@ -1134,7 +1268,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
1134
1268
  var queryParams = {};
1135
1269
  var headerParams = {};
1136
1270
  var formParams = {};
1137
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1271
+ var authNames = ['jwtAuth', 'tokenAuth'];
1138
1272
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
1139
1273
  var accepts = ['application/json'];
1140
1274
  var returnType = _ProductionDataPointUpdate["default"];
@@ -1170,7 +1304,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
1170
1304
  var queryParams = {};
1171
1305
  var headerParams = {};
1172
1306
  var formParams = {};
1173
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1307
+ var authNames = ['jwtAuth', 'tokenAuth'];
1174
1308
  var contentTypes = [];
1175
1309
  var accepts = ['application/json'];
1176
1310
  var returnType = _ProductionDataPointListOrDetail["default"];
@@ -1209,7 +1343,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
1209
1343
  var queryParams = {};
1210
1344
  var headerParams = {};
1211
1345
  var formParams = {};
1212
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1346
+ var authNames = ['jwtAuth', 'tokenAuth'];
1213
1347
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
1214
1348
  var accepts = ['application/json'];
1215
1349
  var returnType = _ProductionDataPointUpdate["default"];
@@ -1243,7 +1377,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
1243
1377
  var queryParams = {};
1244
1378
  var headerParams = {};
1245
1379
  var formParams = {};
1246
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
1380
+ var authNames = ['jwtAuth', 'tokenAuth'];
1247
1381
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
1248
1382
  var accepts = ['application/json'];
1249
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.49.6
21
+ * @version 0.54.4
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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.49.6
21
+ * @version 0.54.4
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
58
+ var authNames = ['jwtAuth', 'tokenAuth'];
59
59
  var contentTypes = [];
60
60
  var accepts = [];
61
61
  var returnType = null;
@@ -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.49.6
27
+ * @version 0.54.4
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
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.49.6
21
+ * @version 0.54.4
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 = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
57
+ var authNames = ['jwtAuth', 'tokenAuth'];
58
58
  var contentTypes = [];
59
59
  var accepts = [];
60
60
  var returnType = null;