green_link_api 1.15.2 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -31
- package/dist/ApiClient.js +4 -8
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +22 -22
- package/dist/api/EnergyDataApi.js +82 -164
- package/dist/api/HealthCheckApi.js +3 -3
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +3 -3
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +129 -60
- package/dist/api/MaintenanceCheckApi.js +3 -3
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +32 -32
- package/dist/api/SchemaApi.js +3 -3
- package/dist/api/SentryDebugApi.js +3 -3
- package/dist/api/UsersApi.js +10 -10
- package/dist/index.js +73 -73
- package/dist/model/Activities.js +79 -26
- package/dist/model/ActivitiesStatusEnum.js +60 -0
- package/dist/model/{BlockchainTransaction.js → BlockchainTransactionTask.js} +31 -33
- package/dist/model/Consumer.js +2 -2
- package/dist/model/ConsumptionDataFileList.js +2 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
- package/dist/model/ConsumptionDataPointCreate.js +2 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +6 -6
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/{ImportRequest.js → ConsumptionDataTask.js} +33 -33
- package/dist/model/ConsumptionSite.js +2 -2
- package/dist/model/ConsumptionSiteContract.js +2 -2
- package/dist/model/ConsumptionSiteContractImport.js +2 -2
- package/dist/model/ConsumptionSiteCreate.js +2 -2
- package/dist/model/ConsumptionSiteFileUpload.js +2 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
- package/dist/model/ContentTypeEnum.js +1 -1
- package/dist/model/EacTypeEnum.js +1 -1
- package/dist/model/EmissionFactor.js +2 -2
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/{Status619Enum.js → EventEnum.js} +21 -16
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/{ImportedEnergyDataPoint.js → ImportedConsumptionDataPoint.js} +26 -26
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/{MatchedEnergyDataPoint.js → MatchedDataPoint.js} +33 -33
- package/dist/model/{MatchRequest.js → MatchedDataTask.js} +42 -42
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/NullEnum.js +55 -0
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +2 -2
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
- package/dist/model/{PaginatedUploadedFileList.js → PaginatedConsumptionDataTaskList.js} +24 -24
- package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedEmissionFactorList.js +2 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
- package/dist/model/PaginatedGridOperatorList.js +2 -2
- package/dist/model/PaginatedImportedConsumptionDataPointList.js +101 -0
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/{PaginatedImportRequestRawList.js → PaginatedMatchedDataPointList.js} +24 -24
- package/dist/model/{PaginatedImportRequestList.js → PaginatedMatchedDataTaskList.js} +24 -24
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/{PaginatedImportedEnergyDataPointList.js → PaginatedProductionDataFromEpiasTaskList.js} +24 -24
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedRetailerList.js +2 -2
- package/dist/model/PaginatedSmartContractList.js +2 -2
- package/dist/model/PaginatedUnprocessedRowList.js +2 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
- package/dist/model/{PaginatedMatchRequestList.js → PaginatedUploadedFileTaskList.js} +24 -24
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +2 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
- package/dist/model/PatchedConsumptionSite.js +2 -2
- package/dist/model/PatchedEmissionFactor.js +2 -2
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +2 -2
- package/dist/model/PatchedProducer.js +2 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
- package/dist/model/PatchedProductionSiteUpdate.js +2 -2
- package/dist/model/PatchedRetailer.js +2 -2
- package/dist/model/PatchedSmartContract.js +2 -2
- package/dist/model/PatchedUser.js +2 -2
- package/dist/model/PatchedUserDetail.js +2 -2
- package/dist/model/PriorityEnum.js +1 -1
- package/dist/model/Producer.js +2 -2
- package/dist/model/ProductionDataFileList.js +2 -2
- package/dist/model/{ProductionDataFromEpiasRequest.js → ProductionDataFromEpiasTask.js} +30 -30
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +6 -6
- package/dist/model/ProductionDataPointUpdate.js +2 -2
- package/dist/model/ProductionSite.js +2 -2
- package/dist/model/ProductionSiteFileUpload.js +2 -2
- package/dist/model/ProductionSiteListOrDetail.js +2 -2
- package/dist/model/ProductionSiteUpdate.js +2 -2
- package/dist/model/Register.js +2 -2
- package/dist/model/Retailer.js +2 -2
- package/dist/model/SmartContract.js +2 -2
- package/dist/model/{ImportRequestStatusEnum.js → Status90bEnum.js} +15 -10
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UnprocessedRow.js +2 -2
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/{UploadedFile.js → UploadedFileTask.js} +29 -29
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
- package/dist/model/ImportRequestRaw.js +0 -120
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +0 -101
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +0 -101
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.
|
|
8
|
-
- Package version: 1.
|
|
7
|
+
- API version: 1.16.0
|
|
8
|
+
- Package version: 1.16.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
@@ -100,10 +100,6 @@ Please follow the [installation](#installation) instruction and execute the foll
|
|
|
100
100
|
```javascript
|
|
101
101
|
var GreenLinkApi = require('green_link_api');
|
|
102
102
|
|
|
103
|
-
var defaultClient = GreenLinkApi.ApiClient.instance;
|
|
104
|
-
// Configure Bearer (JWT) access token for authorization: FirebaseAuthentication
|
|
105
|
-
var FirebaseAuthentication = defaultClient.authentications['FirebaseAuthentication'];
|
|
106
|
-
FirebaseAuthentication.accessToken = "YOUR ACCESS TOKEN"
|
|
107
103
|
|
|
108
104
|
var api = new GreenLinkApi.BlockchainApi()
|
|
109
105
|
var smartContract = new GreenLinkApi.SmartContract(); // {SmartContract}
|
|
@@ -165,8 +161,6 @@ Class | Method | HTTP request | Description
|
|
|
165
161
|
*GreenLinkApi.EnergyDataApi* | [**energyDataEmissionFactorRetrieve**](docs/EnergyDataApi.md#energyDataEmissionFactorRetrieve) | **GET** /energy-data/emission-factor/{id}/ |
|
|
166
162
|
*GreenLinkApi.EnergyDataApi* | [**energyDataEmissionFactorUpdate**](docs/EnergyDataApi.md#energyDataEmissionFactorUpdate) | **PUT** /energy-data/emission-factor/{id}/ |
|
|
167
163
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestList**](docs/EnergyDataApi.md#energyDataImportRequestList) | **GET** /energy-data/import-request/ |
|
|
168
|
-
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestRawList**](docs/EnergyDataApi.md#energyDataImportRequestRawList) | **GET** /energy-data/import-request-raw/ |
|
|
169
|
-
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestRawRetrieve**](docs/EnergyDataApi.md#energyDataImportRequestRawRetrieve) | **GET** /energy-data/import-request-raw/{id}/ |
|
|
170
164
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestRetrieve**](docs/EnergyDataApi.md#energyDataImportRequestRetrieve) | **GET** /energy-data/import-request/{id}/ |
|
|
171
165
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportedEnergyDataList**](docs/EnergyDataApi.md#energyDataImportedEnergyDataList) | **GET** /energy-data/imported-energy-data/ |
|
|
172
166
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportedEnergyDataRetrieve**](docs/EnergyDataApi.md#energyDataImportedEnergyDataRetrieve) | **GET** /energy-data/imported-energy-data/{id}/ |
|
|
@@ -195,7 +189,9 @@ Class | Method | HTTP request | Description
|
|
|
195
189
|
*GreenLinkApi.LocationsApi* | [**locationsProductionSitesRetrieve**](docs/LocationsApi.md#locationsProductionSitesRetrieve) | **GET** /locations/production-sites/ |
|
|
196
190
|
*GreenLinkApi.LocationsApi* | [**locationsRetrieve**](docs/LocationsApi.md#locationsRetrieve) | **GET** /locations/{id}/ |
|
|
197
191
|
*GreenLinkApi.LocationsApi* | [**locationsUpdate**](docs/LocationsApi.md#locationsUpdate) | **PUT** /locations/{id}/ |
|
|
192
|
+
*GreenLinkApi.LogsApi* | [**logsActivitiesAllRelatedLogsRetrieve**](docs/LogsApi.md#logsActivitiesAllRelatedLogsRetrieve) | **GET** /logs/activities/all_related_logs/ |
|
|
198
193
|
*GreenLinkApi.LogsApi* | [**logsActivitiesList**](docs/LogsApi.md#logsActivitiesList) | **GET** /logs/activities/ |
|
|
194
|
+
*GreenLinkApi.LogsApi* | [**logsActivitiesRelatedLogRetrieve**](docs/LogsApi.md#logsActivitiesRelatedLogRetrieve) | **GET** /logs/activities/related_log/{related_log_id}/ |
|
|
199
195
|
*GreenLinkApi.LogsApi* | [**logsActivitiesRetrieve**](docs/LogsApi.md#logsActivitiesRetrieve) | **GET** /logs/activities/{id}/ |
|
|
200
196
|
*GreenLinkApi.LogsApi* | [**logsCertificatesCreate**](docs/LogsApi.md#logsCertificatesCreate) | **POST** /logs/certificates/ |
|
|
201
197
|
*GreenLinkApi.LogsApi* | [**logsCertificatesDestroy**](docs/LogsApi.md#logsCertificatesDestroy) | **DELETE** /logs/certificates/{id}/ |
|
|
@@ -262,13 +258,15 @@ Class | Method | HTTP request | Description
|
|
|
262
258
|
## Documentation for Models
|
|
263
259
|
|
|
264
260
|
- [GreenLinkApi.Activities](docs/Activities.md)
|
|
265
|
-
- [GreenLinkApi.
|
|
261
|
+
- [GreenLinkApi.ActivitiesStatusEnum](docs/ActivitiesStatusEnum.md)
|
|
262
|
+
- [GreenLinkApi.BlockchainTransactionTask](docs/BlockchainTransactionTask.md)
|
|
266
263
|
- [GreenLinkApi.Consumer](docs/Consumer.md)
|
|
267
264
|
- [GreenLinkApi.ConsumptionDataFileList](docs/ConsumptionDataFileList.md)
|
|
268
265
|
- [GreenLinkApi.ConsumptionDataFromRetailerRequest](docs/ConsumptionDataFromRetailerRequest.md)
|
|
269
266
|
- [GreenLinkApi.ConsumptionDataPointCreate](docs/ConsumptionDataPointCreate.md)
|
|
270
267
|
- [GreenLinkApi.ConsumptionDataPointListOrDetail](docs/ConsumptionDataPointListOrDetail.md)
|
|
271
268
|
- [GreenLinkApi.ConsumptionDataPointUpdate](docs/ConsumptionDataPointUpdate.md)
|
|
269
|
+
- [GreenLinkApi.ConsumptionDataTask](docs/ConsumptionDataTask.md)
|
|
272
270
|
- [GreenLinkApi.ConsumptionSite](docs/ConsumptionSite.md)
|
|
273
271
|
- [GreenLinkApi.ConsumptionSiteContract](docs/ConsumptionSiteContract.md)
|
|
274
272
|
- [GreenLinkApi.ConsumptionSiteContractImport](docs/ConsumptionSiteContractImport.md)
|
|
@@ -280,44 +278,42 @@ Class | Method | HTTP request | Description
|
|
|
280
278
|
- [GreenLinkApi.EmissionFactor](docs/EmissionFactor.md)
|
|
281
279
|
- [GreenLinkApi.EnergySourceEnum](docs/EnergySourceEnum.md)
|
|
282
280
|
- [GreenLinkApi.EnergySourcePreference](docs/EnergySourcePreference.md)
|
|
281
|
+
- [GreenLinkApi.EventEnum](docs/EventEnum.md)
|
|
283
282
|
- [GreenLinkApi.GetFromEpias](docs/GetFromEpias.md)
|
|
284
283
|
- [GreenLinkApi.GridOperator](docs/GridOperator.md)
|
|
285
|
-
- [GreenLinkApi.
|
|
286
|
-
- [GreenLinkApi.ImportRequestRaw](docs/ImportRequestRaw.md)
|
|
287
|
-
- [GreenLinkApi.ImportRequestStatusEnum](docs/ImportRequestStatusEnum.md)
|
|
288
|
-
- [GreenLinkApi.ImportedEnergyDataPoint](docs/ImportedEnergyDataPoint.md)
|
|
284
|
+
- [GreenLinkApi.ImportedConsumptionDataPoint](docs/ImportedConsumptionDataPoint.md)
|
|
289
285
|
- [GreenLinkApi.Issuer](docs/Issuer.md)
|
|
290
286
|
- [GreenLinkApi.Location](docs/Location.md)
|
|
291
|
-
- [GreenLinkApi.MatchRequest](docs/MatchRequest.md)
|
|
292
287
|
- [GreenLinkApi.MatchTypeEnum](docs/MatchTypeEnum.md)
|
|
293
|
-
- [GreenLinkApi.
|
|
288
|
+
- [GreenLinkApi.MatchedDataPoint](docs/MatchedDataPoint.md)
|
|
289
|
+
- [GreenLinkApi.MatchedDataTask](docs/MatchedDataTask.md)
|
|
294
290
|
- [GreenLinkApi.MatchingConsumerRequest](docs/MatchingConsumerRequest.md)
|
|
295
291
|
- [GreenLinkApi.MatchingSiteRequest](docs/MatchingSiteRequest.md)
|
|
292
|
+
- [GreenLinkApi.NullEnum](docs/NullEnum.md)
|
|
296
293
|
- [GreenLinkApi.OrganizationTypeEnum](docs/OrganizationTypeEnum.md)
|
|
297
294
|
- [GreenLinkApi.PaginatedActivitiesList](docs/PaginatedActivitiesList.md)
|
|
298
295
|
- [GreenLinkApi.PaginatedConsumerList](docs/PaginatedConsumerList.md)
|
|
299
296
|
- [GreenLinkApi.PaginatedConsumptionDataPointListOrDetailList](docs/PaginatedConsumptionDataPointListOrDetailList.md)
|
|
297
|
+
- [GreenLinkApi.PaginatedConsumptionDataTaskList](docs/PaginatedConsumptionDataTaskList.md)
|
|
300
298
|
- [GreenLinkApi.PaginatedConsumptionSiteContractList](docs/PaginatedConsumptionSiteContractList.md)
|
|
301
299
|
- [GreenLinkApi.PaginatedConsumptionSiteListOrDetailList](docs/PaginatedConsumptionSiteListOrDetailList.md)
|
|
302
300
|
- [GreenLinkApi.PaginatedEmissionFactorList](docs/PaginatedEmissionFactorList.md)
|
|
303
301
|
- [GreenLinkApi.PaginatedEnergySourcePreferenceList](docs/PaginatedEnergySourcePreferenceList.md)
|
|
304
302
|
- [GreenLinkApi.PaginatedGridOperatorList](docs/PaginatedGridOperatorList.md)
|
|
305
|
-
- [GreenLinkApi.
|
|
306
|
-
- [GreenLinkApi.PaginatedImportRequestRawList](docs/PaginatedImportRequestRawList.md)
|
|
307
|
-
- [GreenLinkApi.PaginatedImportedEnergyDataPointList](docs/PaginatedImportedEnergyDataPointList.md)
|
|
303
|
+
- [GreenLinkApi.PaginatedImportedConsumptionDataPointList](docs/PaginatedImportedConsumptionDataPointList.md)
|
|
308
304
|
- [GreenLinkApi.PaginatedIssuerList](docs/PaginatedIssuerList.md)
|
|
309
305
|
- [GreenLinkApi.PaginatedLocationList](docs/PaginatedLocationList.md)
|
|
310
|
-
- [GreenLinkApi.
|
|
311
|
-
- [GreenLinkApi.
|
|
306
|
+
- [GreenLinkApi.PaginatedMatchedDataPointList](docs/PaginatedMatchedDataPointList.md)
|
|
307
|
+
- [GreenLinkApi.PaginatedMatchedDataTaskList](docs/PaginatedMatchedDataTaskList.md)
|
|
312
308
|
- [GreenLinkApi.PaginatedProducerList](docs/PaginatedProducerList.md)
|
|
313
|
-
- [GreenLinkApi.
|
|
309
|
+
- [GreenLinkApi.PaginatedProductionDataFromEpiasTaskList](docs/PaginatedProductionDataFromEpiasTaskList.md)
|
|
314
310
|
- [GreenLinkApi.PaginatedProductionDataPointListOrDetailList](docs/PaginatedProductionDataPointListOrDetailList.md)
|
|
315
311
|
- [GreenLinkApi.PaginatedProductionSiteListOrDetailList](docs/PaginatedProductionSiteListOrDetailList.md)
|
|
316
312
|
- [GreenLinkApi.PaginatedRetailerList](docs/PaginatedRetailerList.md)
|
|
317
313
|
- [GreenLinkApi.PaginatedSmartContractList](docs/PaginatedSmartContractList.md)
|
|
318
314
|
- [GreenLinkApi.PaginatedUnprocessedRowList](docs/PaginatedUnprocessedRowList.md)
|
|
319
315
|
- [GreenLinkApi.PaginatedUploadedCertificateListorDetailList](docs/PaginatedUploadedCertificateListorDetailList.md)
|
|
320
|
-
- [GreenLinkApi.
|
|
316
|
+
- [GreenLinkApi.PaginatedUploadedFileTaskList](docs/PaginatedUploadedFileTaskList.md)
|
|
321
317
|
- [GreenLinkApi.PaginatedUserList](docs/PaginatedUserList.md)
|
|
322
318
|
- [GreenLinkApi.PatchedConsumer](docs/PatchedConsumer.md)
|
|
323
319
|
- [GreenLinkApi.PatchedConsumptionDataPointUpdate](docs/PatchedConsumptionDataPointUpdate.md)
|
|
@@ -337,7 +333,7 @@ Class | Method | HTTP request | Description
|
|
|
337
333
|
- [GreenLinkApi.PriorityEnum](docs/PriorityEnum.md)
|
|
338
334
|
- [GreenLinkApi.Producer](docs/Producer.md)
|
|
339
335
|
- [GreenLinkApi.ProductionDataFileList](docs/ProductionDataFileList.md)
|
|
340
|
-
- [GreenLinkApi.
|
|
336
|
+
- [GreenLinkApi.ProductionDataFromEpiasTask](docs/ProductionDataFromEpiasTask.md)
|
|
341
337
|
- [GreenLinkApi.ProductionDataPointCreate](docs/ProductionDataPointCreate.md)
|
|
342
338
|
- [GreenLinkApi.ProductionDataPointListOrDetail](docs/ProductionDataPointListOrDetail.md)
|
|
343
339
|
- [GreenLinkApi.ProductionDataPointUpdate](docs/ProductionDataPointUpdate.md)
|
|
@@ -348,21 +344,16 @@ Class | Method | HTTP request | Description
|
|
|
348
344
|
- [GreenLinkApi.Register](docs/Register.md)
|
|
349
345
|
- [GreenLinkApi.Retailer](docs/Retailer.md)
|
|
350
346
|
- [GreenLinkApi.SmartContract](docs/SmartContract.md)
|
|
351
|
-
- [GreenLinkApi.
|
|
347
|
+
- [GreenLinkApi.Status90bEnum](docs/Status90bEnum.md)
|
|
352
348
|
- [GreenLinkApi.TypeEnum](docs/TypeEnum.md)
|
|
353
349
|
- [GreenLinkApi.UnprocessedRow](docs/UnprocessedRow.md)
|
|
354
350
|
- [GreenLinkApi.UploadedCertificate](docs/UploadedCertificate.md)
|
|
355
351
|
- [GreenLinkApi.UploadedCertificateListorDetail](docs/UploadedCertificateListorDetail.md)
|
|
356
|
-
- [GreenLinkApi.
|
|
352
|
+
- [GreenLinkApi.UploadedFileTask](docs/UploadedFileTask.md)
|
|
357
353
|
- [GreenLinkApi.User](docs/User.md)
|
|
358
354
|
- [GreenLinkApi.UserDetail](docs/UserDetail.md)
|
|
359
355
|
|
|
360
356
|
|
|
361
357
|
## Documentation for Authorization
|
|
362
358
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
### FirebaseAuthentication
|
|
366
|
-
|
|
367
|
-
- **Type**: Bearer authentication (JWT)
|
|
368
|
-
|
|
359
|
+
All endpoints do not require authorization.
|
package/dist/ApiClient.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -55,11 +55,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
55
55
|
* The authentication methods to be included for all API calls.
|
|
56
56
|
* @type {Array.<String>}
|
|
57
57
|
*/
|
|
58
|
-
this.authentications = {
|
|
59
|
-
'FirebaseAuthentication': {
|
|
60
|
-
type: 'bearer'
|
|
61
|
-
} // JWT
|
|
62
|
-
};
|
|
58
|
+
this.authentications = {};
|
|
63
59
|
|
|
64
60
|
/**
|
|
65
61
|
* The default HTTP headers to be included for all API calls.
|
|
@@ -67,7 +63,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
67
63
|
* @default {}
|
|
68
64
|
*/
|
|
69
65
|
this.defaultHeaders = {
|
|
70
|
-
'User-Agent': 'OpenAPI-Generator/1.
|
|
66
|
+
'User-Agent': 'OpenAPI-Generator/1.16.0/Javascript'
|
|
71
67
|
};
|
|
72
68
|
|
|
73
69
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
* GreenLink API
|
|
19
19
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.16.0
|
|
22
22
|
*
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
29
29
|
/**
|
|
30
30
|
* Blockchain service.
|
|
31
31
|
* @module api/BlockchainApi
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.16.0
|
|
33
33
|
*/
|
|
34
34
|
var BlockchainApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -70,7 +70,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
|
70
70
|
var queryParams = {};
|
|
71
71
|
var headerParams = {};
|
|
72
72
|
var formParams = {};
|
|
73
|
-
var authNames = [
|
|
73
|
+
var authNames = [];
|
|
74
74
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
75
75
|
var accepts = ['application/json'];
|
|
76
76
|
var returnType = _SmartContract["default"];
|
|
@@ -104,7 +104,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
|
104
104
|
var queryParams = {};
|
|
105
105
|
var headerParams = {};
|
|
106
106
|
var formParams = {};
|
|
107
|
-
var authNames = [
|
|
107
|
+
var authNames = [];
|
|
108
108
|
var contentTypes = [];
|
|
109
109
|
var accepts = [];
|
|
110
110
|
var returnType = null;
|
|
@@ -153,7 +153,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
|
153
153
|
};
|
|
154
154
|
var headerParams = {};
|
|
155
155
|
var formParams = {};
|
|
156
|
-
var authNames = [
|
|
156
|
+
var authNames = [];
|
|
157
157
|
var contentTypes = [];
|
|
158
158
|
var accepts = ['application/json'];
|
|
159
159
|
var returnType = _PaginatedSmartContractList["default"];
|
|
@@ -191,7 +191,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
|
191
191
|
var queryParams = {};
|
|
192
192
|
var headerParams = {};
|
|
193
193
|
var formParams = {};
|
|
194
|
-
var authNames = [
|
|
194
|
+
var authNames = [];
|
|
195
195
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
196
196
|
var accepts = ['application/json'];
|
|
197
197
|
var returnType = _SmartContract["default"];
|
|
@@ -226,7 +226,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
|
226
226
|
var queryParams = {};
|
|
227
227
|
var headerParams = {};
|
|
228
228
|
var formParams = {};
|
|
229
|
-
var authNames = [
|
|
229
|
+
var authNames = [];
|
|
230
230
|
var contentTypes = [];
|
|
231
231
|
var accepts = ['application/json'];
|
|
232
232
|
var returnType = _SmartContract["default"];
|
|
@@ -266,7 +266,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
|
266
266
|
var queryParams = {};
|
|
267
267
|
var headerParams = {};
|
|
268
268
|
var formParams = {};
|
|
269
|
-
var authNames = [
|
|
269
|
+
var authNames = [];
|
|
270
270
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
271
271
|
var accepts = ['application/json'];
|
|
272
272
|
var returnType = _SmartContract["default"];
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
30
|
* GreenLink API
|
|
31
31
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
32
32
|
*
|
|
33
|
-
* The version of the OpenAPI document: 1.
|
|
33
|
+
* The version of the OpenAPI document: 1.16.0
|
|
34
34
|
*
|
|
35
35
|
*
|
|
36
36
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,7 +41,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
41
41
|
/**
|
|
42
42
|
* EnergyAssets service.
|
|
43
43
|
* @module api/EnergyAssetsApi
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.16.0
|
|
45
45
|
*/
|
|
46
46
|
var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
47
47
|
/**
|
|
@@ -82,7 +82,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
82
82
|
var queryParams = {};
|
|
83
83
|
var headerParams = {};
|
|
84
84
|
var formParams = {};
|
|
85
|
-
var authNames = [
|
|
85
|
+
var authNames = [];
|
|
86
86
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
87
87
|
var accepts = ['application/json'];
|
|
88
88
|
var returnType = _ConsumptionSiteContract["default"];
|
|
@@ -116,7 +116,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
116
116
|
var queryParams = {};
|
|
117
117
|
var headerParams = {};
|
|
118
118
|
var formParams = {};
|
|
119
|
-
var authNames = [
|
|
119
|
+
var authNames = [];
|
|
120
120
|
var contentTypes = [];
|
|
121
121
|
var accepts = [];
|
|
122
122
|
var returnType = null;
|
|
@@ -149,7 +149,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
149
149
|
var queryParams = {};
|
|
150
150
|
var headerParams = {};
|
|
151
151
|
var formParams = {};
|
|
152
|
-
var authNames = [
|
|
152
|
+
var authNames = [];
|
|
153
153
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
154
154
|
var accepts = ['application/json'];
|
|
155
155
|
var returnType = _ConsumptionSiteContract["default"];
|
|
@@ -202,7 +202,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
202
202
|
};
|
|
203
203
|
var headerParams = {};
|
|
204
204
|
var formParams = {};
|
|
205
|
-
var authNames = [
|
|
205
|
+
var authNames = [];
|
|
206
206
|
var contentTypes = [];
|
|
207
207
|
var accepts = ['application/json'];
|
|
208
208
|
var returnType = _PaginatedConsumptionSiteContractList["default"];
|
|
@@ -237,7 +237,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
237
237
|
var queryParams = {};
|
|
238
238
|
var headerParams = {};
|
|
239
239
|
var formParams = {};
|
|
240
|
-
var authNames = [
|
|
240
|
+
var authNames = [];
|
|
241
241
|
var contentTypes = [];
|
|
242
242
|
var accepts = ['application/json'];
|
|
243
243
|
var returnType = _ConsumptionSiteContract["default"];
|
|
@@ -277,7 +277,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
277
277
|
var queryParams = {};
|
|
278
278
|
var headerParams = {};
|
|
279
279
|
var formParams = {};
|
|
280
|
-
var authNames = [
|
|
280
|
+
var authNames = [];
|
|
281
281
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
282
282
|
var accepts = ['application/json'];
|
|
283
283
|
var returnType = _ConsumptionSiteContract["default"];
|
|
@@ -310,7 +310,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
310
310
|
var queryParams = {};
|
|
311
311
|
var headerParams = {};
|
|
312
312
|
var formParams = {};
|
|
313
|
-
var authNames = [
|
|
313
|
+
var authNames = [];
|
|
314
314
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
315
315
|
var accepts = ['application/json'];
|
|
316
316
|
var returnType = _ConsumptionSiteCreate["default"];
|
|
@@ -344,7 +344,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
344
344
|
var queryParams = {};
|
|
345
345
|
var headerParams = {};
|
|
346
346
|
var formParams = {};
|
|
347
|
-
var authNames = [
|
|
347
|
+
var authNames = [];
|
|
348
348
|
var contentTypes = [];
|
|
349
349
|
var accepts = [];
|
|
350
350
|
var returnType = null;
|
|
@@ -405,7 +405,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
405
405
|
};
|
|
406
406
|
var headerParams = {};
|
|
407
407
|
var formParams = {};
|
|
408
|
-
var authNames = [
|
|
408
|
+
var authNames = [];
|
|
409
409
|
var contentTypes = [];
|
|
410
410
|
var accepts = ['application/json'];
|
|
411
411
|
var returnType = _PaginatedConsumptionSiteListOrDetailList["default"];
|
|
@@ -443,7 +443,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
443
443
|
var queryParams = {};
|
|
444
444
|
var headerParams = {};
|
|
445
445
|
var formParams = {};
|
|
446
|
-
var authNames = [
|
|
446
|
+
var authNames = [];
|
|
447
447
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
448
448
|
var accepts = ['application/json'];
|
|
449
449
|
var returnType = _ConsumptionSite["default"];
|
|
@@ -478,7 +478,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
478
478
|
var queryParams = {};
|
|
479
479
|
var headerParams = {};
|
|
480
480
|
var formParams = {};
|
|
481
|
-
var authNames = [
|
|
481
|
+
var authNames = [];
|
|
482
482
|
var contentTypes = [];
|
|
483
483
|
var accepts = ['application/json'];
|
|
484
484
|
var returnType = _ConsumptionSiteListOrDetail["default"];
|
|
@@ -518,7 +518,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
518
518
|
var queryParams = {};
|
|
519
519
|
var headerParams = {};
|
|
520
520
|
var formParams = {};
|
|
521
|
-
var authNames = [
|
|
521
|
+
var authNames = [];
|
|
522
522
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
523
523
|
var accepts = ['application/json'];
|
|
524
524
|
var returnType = _ConsumptionSite["default"];
|
|
@@ -551,7 +551,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
551
551
|
var queryParams = {};
|
|
552
552
|
var headerParams = {};
|
|
553
553
|
var formParams = {};
|
|
554
|
-
var authNames = [
|
|
554
|
+
var authNames = [];
|
|
555
555
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
556
556
|
var accepts = ['application/json'];
|
|
557
557
|
var returnType = _ConsumptionSite["default"];
|
|
@@ -584,7 +584,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
584
584
|
var queryParams = {};
|
|
585
585
|
var headerParams = {};
|
|
586
586
|
var formParams = {};
|
|
587
|
-
var authNames = [
|
|
587
|
+
var authNames = [];
|
|
588
588
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
589
589
|
var accepts = ['application/json'];
|
|
590
590
|
var returnType = _ProductionSite["default"];
|
|
@@ -618,7 +618,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
618
618
|
var queryParams = {};
|
|
619
619
|
var headerParams = {};
|
|
620
620
|
var formParams = {};
|
|
621
|
-
var authNames = [
|
|
621
|
+
var authNames = [];
|
|
622
622
|
var contentTypes = [];
|
|
623
623
|
var accepts = [];
|
|
624
624
|
var returnType = null;
|
|
@@ -687,7 +687,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
687
687
|
};
|
|
688
688
|
var headerParams = {};
|
|
689
689
|
var formParams = {};
|
|
690
|
-
var authNames = [
|
|
690
|
+
var authNames = [];
|
|
691
691
|
var contentTypes = [];
|
|
692
692
|
var accepts = ['application/json'];
|
|
693
693
|
var returnType = _PaginatedProductionSiteListOrDetailList["default"];
|
|
@@ -725,7 +725,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
725
725
|
var queryParams = {};
|
|
726
726
|
var headerParams = {};
|
|
727
727
|
var formParams = {};
|
|
728
|
-
var authNames = [
|
|
728
|
+
var authNames = [];
|
|
729
729
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
730
730
|
var accepts = ['application/json'];
|
|
731
731
|
var returnType = _ProductionSiteUpdate["default"];
|
|
@@ -760,7 +760,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
760
760
|
var queryParams = {};
|
|
761
761
|
var headerParams = {};
|
|
762
762
|
var formParams = {};
|
|
763
|
-
var authNames = [
|
|
763
|
+
var authNames = [];
|
|
764
764
|
var contentTypes = [];
|
|
765
765
|
var accepts = ['application/json'];
|
|
766
766
|
var returnType = _ProductionSiteListOrDetail["default"];
|
|
@@ -800,7 +800,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
800
800
|
var queryParams = {};
|
|
801
801
|
var headerParams = {};
|
|
802
802
|
var formParams = {};
|
|
803
|
-
var authNames = [
|
|
803
|
+
var authNames = [];
|
|
804
804
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
805
805
|
var accepts = ['application/json'];
|
|
806
806
|
var returnType = _ProductionSiteUpdate["default"];
|
|
@@ -833,7 +833,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
833
833
|
var queryParams = {};
|
|
834
834
|
var headerParams = {};
|
|
835
835
|
var formParams = {};
|
|
836
|
-
var authNames = [
|
|
836
|
+
var authNames = [];
|
|
837
837
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
838
838
|
var accepts = ['application/json'];
|
|
839
839
|
var returnType = _ProductionSite["default"];
|