green_link_api 1.1.2 → 1.2.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.
Files changed (98) hide show
  1. package/README.md +9 -2
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/BlockchainApi.js +1 -1
  4. package/dist/api/EnergyAssetsApi.js +1 -1
  5. package/dist/api/EnergyDataApi.js +1 -1
  6. package/dist/api/HealthCheckApi.js +1 -1
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +1 -1
  8. package/dist/api/LocationsApi.js +1 -1
  9. package/dist/api/LogsApi.js +168 -6
  10. package/dist/api/MaintenanceCheckApi.js +1 -1
  11. package/dist/api/OrganizationprofilesApi.js +18 -2
  12. package/dist/api/OrganizationsApi.js +1 -1
  13. package/dist/api/SchemaApi.js +1 -1
  14. package/dist/api/SentryDebugApi.js +1 -1
  15. package/dist/api/UsersApi.js +1 -1
  16. package/dist/index.js +24 -0
  17. package/dist/model/BlockchainTransaction.js +1 -1
  18. package/dist/model/Certificates.js +176 -0
  19. package/dist/model/Consumer.js +1 -1
  20. package/dist/model/ConsumptionDataFileList.js +1 -1
  21. package/dist/model/ConsumptionDataFromRetailerRequest.js +1 -1
  22. package/dist/model/ConsumptionDataFromRetailerResponse.js +1 -1
  23. package/dist/model/ConsumptionDataPointCreate.js +1 -1
  24. package/dist/model/ConsumptionDataPointListOrDetail.js +1 -1
  25. package/dist/model/ConsumptionDataPointUpdate.js +1 -1
  26. package/dist/model/ConsumptionSite.js +1 -1
  27. package/dist/model/ConsumptionSiteCreate.js +1 -1
  28. package/dist/model/ConsumptionSiteFileUpload.js +1 -1
  29. package/dist/model/ConsumptionSiteFromRetailer.js +1 -1
  30. package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
  31. package/dist/model/ConsumptionSiteMany.js +1 -1
  32. package/dist/model/ContentTypeEnum.js +2 -0
  33. package/dist/model/EacTypeEnum.js +48 -0
  34. package/dist/model/EmissionFactor.js +1 -1
  35. package/dist/model/EnergySourcePreference.js +1 -1
  36. package/dist/model/GetFromEpias.js +1 -1
  37. package/dist/model/GridOperator.js +1 -1
  38. package/dist/model/Issuer.js +1 -1
  39. package/dist/model/Location.js +1 -1
  40. package/dist/model/Login.js +1 -1
  41. package/dist/model/MatchRequest.js +1 -1
  42. package/dist/model/MatchedEnergyDataPoint.js +1 -1
  43. package/dist/model/MatchingConsumerRequest.js +1 -1
  44. package/dist/model/MatchingSiteRequest.js +1 -1
  45. package/dist/model/PaginatedCertificatesList.js +104 -0
  46. package/dist/model/PaginatedConsumerList.js +1 -1
  47. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
  48. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
  49. package/dist/model/PaginatedEmissionFactorList.js +1 -1
  50. package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
  51. package/dist/model/PaginatedGridOperatorList.js +1 -1
  52. package/dist/model/PaginatedIssuerList.js +1 -1
  53. package/dist/model/PaginatedLocationList.js +1 -1
  54. package/dist/model/PaginatedMatchRequestList.js +1 -1
  55. package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
  56. package/dist/model/PaginatedProducerList.js +1 -1
  57. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +1 -1
  58. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
  59. package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
  60. package/dist/model/PaginatedRetailerList.js +1 -1
  61. package/dist/model/PaginatedSmartContractList.js +1 -1
  62. package/dist/model/PaginatedUnprocessedRowList.js +1 -1
  63. package/dist/model/PaginatedUploadedFileList.js +1 -1
  64. package/dist/model/PaginatedUserList.js +1 -1
  65. package/dist/model/PatchedConsumer.js +1 -1
  66. package/dist/model/PatchedConsumptionDataPointUpdate.js +1 -1
  67. package/dist/model/PatchedConsumptionSite.js +1 -1
  68. package/dist/model/PatchedEmissionFactor.js +1 -1
  69. package/dist/model/PatchedEnergySourcePreference.js +1 -1
  70. package/dist/model/PatchedGridOperator.js +1 -1
  71. package/dist/model/PatchedIssuer.js +1 -1
  72. package/dist/model/PatchedLocation.js +1 -1
  73. package/dist/model/PatchedProducer.js +1 -1
  74. package/dist/model/PatchedProductionDataPointUpdate.js +1 -1
  75. package/dist/model/PatchedProductionSiteUpdate.js +1 -1
  76. package/dist/model/PatchedRetailer.js +1 -1
  77. package/dist/model/PatchedSmartContract.js +1 -1
  78. package/dist/model/PatchedUser.js +1 -1
  79. package/dist/model/PatchedUserDetail.js +1 -1
  80. package/dist/model/Producer.js +1 -1
  81. package/dist/model/ProductionDataFileList.js +1 -1
  82. package/dist/model/ProductionDataFromEpiasRequest.js +1 -1
  83. package/dist/model/ProductionDataPointCreate.js +1 -1
  84. package/dist/model/ProductionDataPointListOrDetail.js +1 -1
  85. package/dist/model/ProductionDataPointUpdate.js +1 -1
  86. package/dist/model/ProductionSite.js +1 -1
  87. package/dist/model/ProductionSiteFileUpload.js +1 -1
  88. package/dist/model/ProductionSiteListOrDetail.js +1 -1
  89. package/dist/model/ProductionSiteUpdate.js +1 -1
  90. package/dist/model/Register.js +1 -1
  91. package/dist/model/Retailer.js +1 -1
  92. package/dist/model/SmartContract.js +1 -1
  93. package/dist/model/Token.js +1 -1
  94. package/dist/model/UnprocessedRow.js +1 -1
  95. package/dist/model/UploadedFile.js +1 -1
  96. package/dist/model/User.js +1 -1
  97. package/dist/model/UserDetail.js +1 -1
  98. package/package.json +1 -1
package/README.md CHANGED
@@ -4,8 +4,8 @@ GreenLinkApi - JavaScript client for green_link_api
4
4
  ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
5
5
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
6
6
 
7
- - API version: 1.1.2
8
- - Package version: 1.1.2
7
+ - API version: 1.2.0
8
+ - Package version: 1.2.0
9
9
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
10
10
 
11
11
  ## Installation
@@ -194,6 +194,10 @@ Class | Method | HTTP request | Description
194
194
  *GreenLinkApi.LocationsApi* | [**locationsProductionSitesRetrieve**](docs/LocationsApi.md#locationsProductionSitesRetrieve) | **GET** /locations/production-sites/ |
195
195
  *GreenLinkApi.LocationsApi* | [**locationsRetrieve**](docs/LocationsApi.md#locationsRetrieve) | **GET** /locations/{id}/ |
196
196
  *GreenLinkApi.LocationsApi* | [**locationsUpdate**](docs/LocationsApi.md#locationsUpdate) | **PUT** /locations/{id}/ |
197
+ *GreenLinkApi.LogsApi* | [**logsCertificatesCreate**](docs/LogsApi.md#logsCertificatesCreate) | **POST** /logs/certificates/ |
198
+ *GreenLinkApi.LogsApi* | [**logsCertificatesDestroy**](docs/LogsApi.md#logsCertificatesDestroy) | **DELETE** /logs/certificates/{id}/ |
199
+ *GreenLinkApi.LogsApi* | [**logsCertificatesList**](docs/LogsApi.md#logsCertificatesList) | **GET** /logs/certificates/ |
200
+ *GreenLinkApi.LogsApi* | [**logsCertificatesRetrieve**](docs/LogsApi.md#logsCertificatesRetrieve) | **GET** /logs/certificates/{id}/ |
197
201
  *GreenLinkApi.LogsApi* | [**logsProductionEpiasDestroy**](docs/LogsApi.md#logsProductionEpiasDestroy) | **DELETE** /logs/production-epias/{id}/ |
198
202
  *GreenLinkApi.LogsApi* | [**logsProductionEpiasList**](docs/LogsApi.md#logsProductionEpiasList) | **GET** /logs/production-epias/ |
199
203
  *GreenLinkApi.LogsApi* | [**logsProductionEpiasRetrieve**](docs/LogsApi.md#logsProductionEpiasRetrieve) | **GET** /logs/production-epias/{id}/ |
@@ -257,6 +261,7 @@ Class | Method | HTTP request | Description
257
261
  ## Documentation for Models
258
262
 
259
263
  - [GreenLinkApi.BlockchainTransaction](docs/BlockchainTransaction.md)
264
+ - [GreenLinkApi.Certificates](docs/Certificates.md)
260
265
  - [GreenLinkApi.Consumer](docs/Consumer.md)
261
266
  - [GreenLinkApi.ConsumptionDataFileList](docs/ConsumptionDataFileList.md)
262
267
  - [GreenLinkApi.ConsumptionDataFromRetailerRequest](docs/ConsumptionDataFromRetailerRequest.md)
@@ -271,6 +276,7 @@ Class | Method | HTTP request | Description
271
276
  - [GreenLinkApi.ConsumptionSiteListOrDetail](docs/ConsumptionSiteListOrDetail.md)
272
277
  - [GreenLinkApi.ConsumptionSiteMany](docs/ConsumptionSiteMany.md)
273
278
  - [GreenLinkApi.ContentTypeEnum](docs/ContentTypeEnum.md)
279
+ - [GreenLinkApi.EacTypeEnum](docs/EacTypeEnum.md)
274
280
  - [GreenLinkApi.EmissionFactor](docs/EmissionFactor.md)
275
281
  - [GreenLinkApi.EnergySourceEnum](docs/EnergySourceEnum.md)
276
282
  - [GreenLinkApi.EnergySourcePreference](docs/EnergySourcePreference.md)
@@ -285,6 +291,7 @@ Class | Method | HTTP request | Description
285
291
  - [GreenLinkApi.MatchingConsumerRequest](docs/MatchingConsumerRequest.md)
286
292
  - [GreenLinkApi.MatchingSiteRequest](docs/MatchingSiteRequest.md)
287
293
  - [GreenLinkApi.OrganizationTypeEnum](docs/OrganizationTypeEnum.md)
294
+ - [GreenLinkApi.PaginatedCertificatesList](docs/PaginatedCertificatesList.md)
288
295
  - [GreenLinkApi.PaginatedConsumerList](docs/PaginatedConsumerList.md)
289
296
  - [GreenLinkApi.PaginatedConsumptionDataPointListOrDetailList](docs/PaginatedConsumptionDataPointListOrDetailList.md)
290
297
  - [GreenLinkApi.PaginatedConsumptionSiteListOrDetailList](docs/PaginatedConsumptionSiteListOrDetailList.md)
package/dist/ApiClient.js CHANGED
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
21
21
 
22
22
  /**
23
23
  * @module ApiClient
24
- * @version 1.1.2
24
+ * @version 1.2.0
25
25
  */
26
26
 
27
27
  /**
@@ -79,7 +79,7 @@ var ApiClient = /*#__PURE__*/function () {
79
79
  */
80
80
 
81
81
  this.defaultHeaders = {
82
- 'User-Agent': 'OpenAPI-Generator/1.1.2/Javascript'
82
+ 'User-Agent': 'OpenAPI-Generator/1.2.0/Javascript'
83
83
  };
84
84
  /**
85
85
  * The default HTTP timeout for all API calls.
@@ -24,7 +24,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
24
24
  /**
25
25
  * Blockchain service.
26
26
  * @module api/BlockchainApi
27
- * @version 1.1.2
27
+ * @version 1.2.0
28
28
  */
29
29
  var BlockchainApi = /*#__PURE__*/function () {
30
30
  /**
@@ -46,7 +46,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
46
46
  /**
47
47
  * EnergyAssets service.
48
48
  * @module api/EnergyAssetsApi
49
- * @version 1.1.2
49
+ * @version 1.2.0
50
50
  */
51
51
  var EnergyAssetsApi = /*#__PURE__*/function () {
52
52
  /**
@@ -66,7 +66,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
66
66
  /**
67
67
  * EnergyData service.
68
68
  * @module api/EnergyDataApi
69
- * @version 1.1.2
69
+ * @version 1.2.0
70
70
  */
71
71
  var EnergyDataApi = /*#__PURE__*/function () {
72
72
  /**
@@ -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 1.1.2
21
+ * @version 1.2.0
22
22
  */
23
23
  var HealthCheckApi = /*#__PURE__*/function () {
24
24
  /**
@@ -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 1.1.2
21
+ * @version 1.2.0
22
22
  */
23
23
  var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
24
24
  /**
@@ -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 1.1.2
27
+ * @version 1.2.0
28
28
  */
29
29
  var LocationsApi = /*#__PURE__*/function () {
30
30
  /**
@@ -7,6 +7,10 @@ exports["default"] = void 0;
7
7
 
8
8
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
9
 
10
+ var _Certificates = _interopRequireDefault(require("../model/Certificates"));
11
+
12
+ var _PaginatedCertificatesList = _interopRequireDefault(require("../model/PaginatedCertificatesList"));
13
+
10
14
  var _PaginatedProductionDataFromEpiasRequestList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasRequestList"));
11
15
 
12
16
  var _PaginatedUnprocessedRowList = _interopRequireDefault(require("../model/PaginatedUnprocessedRowList"));
@@ -30,7 +34,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
30
34
  /**
31
35
  * Logs service.
32
36
  * @module api/LogsApi
33
- * @version 1.1.2
37
+ * @version 1.2.0
34
38
  */
35
39
  var LogsApi = /*#__PURE__*/function () {
36
40
  /**
@@ -46,21 +50,179 @@ var LogsApi = /*#__PURE__*/function () {
46
50
  this.apiClient = apiClient || _ApiClient["default"].instance;
47
51
  }
48
52
  /**
49
- * Callback function to receive the result of the logsProductionEpiasDestroy operation.
50
- * @callback module:api/LogsApi~logsProductionEpiasDestroyCallback
53
+ * Callback function to receive the result of the logsCertificatesCreate operation.
54
+ * @callback module:api/LogsApi~logsCertificatesCreateCallback
51
55
  * @param {String} error Error message, if any.
52
- * @param data This operation does not return a value.
56
+ * @param {module:model/Certificates} data The data returned by the service call.
53
57
  * @param {String} response The complete HTTP response.
54
58
  */
55
59
 
56
60
  /**
57
61
  * Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
58
- * @param {String} id A UUID string identifying this production data from epias request.
59
- * @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
62
+ * @param {module:model/Certificates} certificates
63
+ * @param {module:api/LogsApi~logsCertificatesCreateCallback} callback The callback function, accepting three arguments: error, data, response
64
+ * data is of type: {@link module:model/Certificates}
60
65
  */
61
66
 
62
67
 
63
68
  _createClass(LogsApi, [{
69
+ key: "logsCertificatesCreate",
70
+ value: function logsCertificatesCreate(certificates, callback) {
71
+ var postBody = certificates; // verify the required parameter 'certificates' is set
72
+
73
+ if (certificates === undefined || certificates === null) {
74
+ throw new Error("Missing the required parameter 'certificates' when calling logsCertificatesCreate");
75
+ }
76
+
77
+ var pathParams = {};
78
+ var queryParams = {};
79
+ var headerParams = {};
80
+ var formParams = {};
81
+ var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
82
+ var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
83
+ var accepts = ['application/json'];
84
+ var returnType = _Certificates["default"];
85
+ return this.apiClient.callApi('/logs/certificates/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
86
+ }
87
+ /**
88
+ * Callback function to receive the result of the logsCertificatesDestroy operation.
89
+ * @callback module:api/LogsApi~logsCertificatesDestroyCallback
90
+ * @param {String} error Error message, if any.
91
+ * @param data This operation does not return a value.
92
+ * @param {String} response The complete HTTP response.
93
+ */
94
+
95
+ /**
96
+ * Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
97
+ * @param {String} id A UUID string identifying this certificates file.
98
+ * @param {module:api/LogsApi~logsCertificatesDestroyCallback} callback The callback function, accepting three arguments: error, data, response
99
+ */
100
+
101
+ }, {
102
+ key: "logsCertificatesDestroy",
103
+ value: function logsCertificatesDestroy(id, callback) {
104
+ var postBody = null; // verify the required parameter 'id' is set
105
+
106
+ if (id === undefined || id === null) {
107
+ throw new Error("Missing the required parameter 'id' when calling logsCertificatesDestroy");
108
+ }
109
+
110
+ var pathParams = {
111
+ 'id': id
112
+ };
113
+ var queryParams = {};
114
+ var headerParams = {};
115
+ var formParams = {};
116
+ var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
117
+ var contentTypes = [];
118
+ var accepts = [];
119
+ var returnType = null;
120
+ return this.apiClient.callApi('/logs/certificates/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
121
+ }
122
+ /**
123
+ * Callback function to receive the result of the logsCertificatesList operation.
124
+ * @callback module:api/LogsApi~logsCertificatesListCallback
125
+ * @param {String} error Error message, if any.
126
+ * @param {module:model/PaginatedCertificatesList} data The data returned by the service call.
127
+ * @param {String} response The complete HTTP response.
128
+ */
129
+
130
+ /**
131
+ * Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
132
+ * @param {Object} opts Optional parameters
133
+ * @param {String} opts.consumer
134
+ * @param {Date} opts.createdAt
135
+ * @param {module:model/String} opts.eacType Required. Select from available choices.
136
+ * @param {String} opts.id
137
+ * @param {Number} opts.limit Number of results to return per page.
138
+ * @param {String} opts.name
139
+ * @param {Number} opts.offset The initial index from which to return the results.
140
+ * @param {Array.<module:model/String>} opts.orderBy Ordering
141
+ * @param {String} opts.owner
142
+ * @param {String} opts.producer
143
+ * @param {module:model/String} opts.status Status is set to `started` or `finished` if the file has been processed. Default `unstarted`.
144
+ * @param {module:api/LogsApi~logsCertificatesListCallback} callback The callback function, accepting three arguments: error, data, response
145
+ * data is of type: {@link module:model/PaginatedCertificatesList}
146
+ */
147
+
148
+ }, {
149
+ key: "logsCertificatesList",
150
+ value: function logsCertificatesList(opts, callback) {
151
+ opts = opts || {};
152
+ var postBody = null;
153
+ var pathParams = {};
154
+ var queryParams = {
155
+ 'consumer': opts['consumer'],
156
+ 'created_at': opts['createdAt'],
157
+ 'eac_type': opts['eacType'],
158
+ 'id': opts['id'],
159
+ 'limit': opts['limit'],
160
+ 'name': opts['name'],
161
+ 'offset': opts['offset'],
162
+ 'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
163
+ 'owner': opts['owner'],
164
+ 'producer': opts['producer'],
165
+ 'status': opts['status']
166
+ };
167
+ var headerParams = {};
168
+ var formParams = {};
169
+ var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
170
+ var contentTypes = [];
171
+ var accepts = ['application/json'];
172
+ var returnType = _PaginatedCertificatesList["default"];
173
+ return this.apiClient.callApi('/logs/certificates/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
174
+ }
175
+ /**
176
+ * Callback function to receive the result of the logsCertificatesRetrieve operation.
177
+ * @callback module:api/LogsApi~logsCertificatesRetrieveCallback
178
+ * @param {String} error Error message, if any.
179
+ * @param {module:model/Certificates} data The data returned by the service call.
180
+ * @param {String} response The complete HTTP response.
181
+ */
182
+
183
+ /**
184
+ * Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
185
+ * @param {String} id A UUID string identifying this certificates file.
186
+ * @param {module:api/LogsApi~logsCertificatesRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
187
+ * data is of type: {@link module:model/Certificates}
188
+ */
189
+
190
+ }, {
191
+ key: "logsCertificatesRetrieve",
192
+ value: function logsCertificatesRetrieve(id, callback) {
193
+ var postBody = null; // verify the required parameter 'id' is set
194
+
195
+ if (id === undefined || id === null) {
196
+ throw new Error("Missing the required parameter 'id' when calling logsCertificatesRetrieve");
197
+ }
198
+
199
+ var pathParams = {
200
+ 'id': id
201
+ };
202
+ var queryParams = {};
203
+ var headerParams = {};
204
+ var formParams = {};
205
+ var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
206
+ var contentTypes = [];
207
+ var accepts = ['application/json'];
208
+ var returnType = _Certificates["default"];
209
+ return this.apiClient.callApi('/logs/certificates/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
210
+ }
211
+ /**
212
+ * Callback function to receive the result of the logsProductionEpiasDestroy operation.
213
+ * @callback module:api/LogsApi~logsProductionEpiasDestroyCallback
214
+ * @param {String} error Error message, if any.
215
+ * @param data This operation does not return a value.
216
+ * @param {String} response The complete HTTP response.
217
+ */
218
+
219
+ /**
220
+ * Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
221
+ * @param {String} id A UUID string identifying this production data from epias request.
222
+ * @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
223
+ */
224
+
225
+ }, {
64
226
  key: "logsProductionEpiasDestroy",
65
227
  value: function logsProductionEpiasDestroy(id, callback) {
66
228
  var postBody = null; // verify the required parameter 'id' is set
@@ -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 1.1.2
21
+ * @version 1.2.0
22
22
  */
23
23
  var MaintenanceCheckApi = /*#__PURE__*/function () {
24
24
  /**
@@ -24,7 +24,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
24
24
  /**
25
25
  * Organizationprofiles service.
26
26
  * @module api/OrganizationprofilesApi
27
- * @version 1.1.2
27
+ * @version 1.2.0
28
28
  */
29
29
  var OrganizationprofilesApi = /*#__PURE__*/function () {
30
30
  /**
@@ -120,8 +120,16 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
120
120
  /**
121
121
  * **List all consumer energy source preferences related to the user's organization.** 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**: Consumer or Retailer
122
122
  * @param {Object} opts Optional parameters
123
+ * @param {String} opts.consumer
124
+ * @param {Date} opts.createdAt
125
+ * @param {module:model/String} opts.energySource
126
+ * @param {String} opts.id
123
127
  * @param {Number} opts.limit Number of results to return per page.
124
128
  * @param {Number} opts.offset The initial index from which to return the results.
129
+ * @param {String} opts.owner
130
+ * @param {module:model/Number} opts.priority Highest priority is 1. Default is 1.
131
+ * @param {String} opts.retailer
132
+ * @param {Date} opts.updatedAt
125
133
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceListCallback} callback The callback function, accepting three arguments: error, data, response
126
134
  * data is of type: {@link module:model/PaginatedEnergySourcePreferenceList}
127
135
  */
@@ -133,8 +141,16 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
133
141
  var postBody = null;
134
142
  var pathParams = {};
135
143
  var queryParams = {
144
+ 'consumer': opts['consumer'],
145
+ 'created_at': opts['createdAt'],
146
+ 'energy_source': opts['energySource'],
147
+ 'id': opts['id'],
136
148
  'limit': opts['limit'],
137
- 'offset': opts['offset']
149
+ 'offset': opts['offset'],
150
+ 'owner': opts['owner'],
151
+ 'priority': opts['priority'],
152
+ 'retailer': opts['retailer'],
153
+ 'updated_at': opts['updatedAt']
138
154
  };
139
155
  var headerParams = {};
140
156
  var formParams = {};
@@ -48,7 +48,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
48
48
  /**
49
49
  * Organizations service.
50
50
  * @module api/OrganizationsApi
51
- * @version 1.1.2
51
+ * @version 1.2.0
52
52
  */
53
53
  var OrganizationsApi = /*#__PURE__*/function () {
54
54
  /**
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
18
18
  /**
19
19
  * Schema service.
20
20
  * @module api/SchemaApi
21
- * @version 1.1.2
21
+ * @version 1.2.0
22
22
  */
23
23
  var SchemaApi = /*#__PURE__*/function () {
24
24
  /**
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
18
18
  /**
19
19
  * SentryDebug service.
20
20
  * @module api/SentryDebugApi
21
- * @version 1.1.2
21
+ * @version 1.2.0
22
22
  */
23
23
  var SentryDebugApi = /*#__PURE__*/function () {
24
24
  /**
@@ -34,7 +34,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
34
34
  /**
35
35
  * Users service.
36
36
  * @module api/UsersApi
37
- * @version 1.1.2
37
+ * @version 1.2.0
38
38
  */
39
39
  var UsersApi = /*#__PURE__*/function () {
40
40
  /**
package/dist/index.js CHANGED
@@ -21,6 +21,12 @@ Object.defineProperty(exports, "BlockchainTransaction", {
21
21
  return _BlockchainTransaction["default"];
22
22
  }
23
23
  });
24
+ Object.defineProperty(exports, "Certificates", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _Certificates["default"];
28
+ }
29
+ });
24
30
  Object.defineProperty(exports, "Consumer", {
25
31
  enumerable: true,
26
32
  get: function get() {
@@ -105,6 +111,12 @@ Object.defineProperty(exports, "ContentTypeEnum", {
105
111
  return _ContentTypeEnum["default"];
106
112
  }
107
113
  });
114
+ Object.defineProperty(exports, "EacTypeEnum", {
115
+ enumerable: true,
116
+ get: function get() {
117
+ return _EacTypeEnum["default"];
118
+ }
119
+ });
108
120
  Object.defineProperty(exports, "EmissionFactor", {
109
121
  enumerable: true,
110
122
  get: function get() {
@@ -243,6 +255,12 @@ Object.defineProperty(exports, "OrganizationsApi", {
243
255
  return _OrganizationsApi["default"];
244
256
  }
245
257
  });
258
+ Object.defineProperty(exports, "PaginatedCertificatesList", {
259
+ enumerable: true,
260
+ get: function get() {
261
+ return _PaginatedCertificatesList["default"];
262
+ }
263
+ });
246
264
  Object.defineProperty(exports, "PaginatedConsumerList", {
247
265
  enumerable: true,
248
266
  get: function get() {
@@ -596,6 +614,8 @@ var _ApiClient = _interopRequireDefault(require("./ApiClient"));
596
614
 
597
615
  var _BlockchainTransaction = _interopRequireDefault(require("./model/BlockchainTransaction"));
598
616
 
617
+ var _Certificates = _interopRequireDefault(require("./model/Certificates"));
618
+
599
619
  var _Consumer = _interopRequireDefault(require("./model/Consumer"));
600
620
 
601
621
  var _ConsumptionDataFileList = _interopRequireDefault(require("./model/ConsumptionDataFileList"));
@@ -624,6 +644,8 @@ var _ConsumptionSiteMany = _interopRequireDefault(require("./model/ConsumptionSi
624
644
 
625
645
  var _ContentTypeEnum = _interopRequireDefault(require("./model/ContentTypeEnum"));
626
646
 
647
+ var _EacTypeEnum = _interopRequireDefault(require("./model/EacTypeEnum"));
648
+
627
649
  var _EmissionFactor = _interopRequireDefault(require("./model/EmissionFactor"));
628
650
 
629
651
  var _EnergySourceEnum = _interopRequireDefault(require("./model/EnergySourceEnum"));
@@ -652,6 +674,8 @@ var _MatchingSiteRequest = _interopRequireDefault(require("./model/MatchingSiteR
652
674
 
653
675
  var _OrganizationTypeEnum = _interopRequireDefault(require("./model/OrganizationTypeEnum"));
654
676
 
677
+ var _PaginatedCertificatesList = _interopRequireDefault(require("./model/PaginatedCertificatesList"));
678
+
655
679
  var _PaginatedConsumerList = _interopRequireDefault(require("./model/PaginatedConsumerList"));
656
680
 
657
681
  var _PaginatedConsumptionDataPointListOrDetailList = _interopRequireDefault(require("./model/PaginatedConsumptionDataPointListOrDetailList"));
@@ -22,7 +22,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
22
22
  /**
23
23
  * The BlockchainTransaction model module.
24
24
  * @module model/BlockchainTransaction
25
- * @version 1.1.2
25
+ * @version 1.2.0
26
26
  */
27
27
  var BlockchainTransaction = /*#__PURE__*/function () {
28
28
  /**