green_link_api 1.11.19 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/ApiClient.js +14 -3
- package/dist/api/BlockchainApi.js +20 -9
- package/dist/api/EnergyAssetsApi.js +18 -7
- package/dist/api/EnergyDataApi.js +50 -39
- package/dist/api/HealthCheckApi.js +13 -2
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +13 -2
- package/dist/api/LocationsApi.js +20 -9
- package/dist/api/LogsApi.js +32 -21
- package/dist/api/MaintenanceCheckApi.js +13 -2
- package/dist/api/OrganizationprofilesApi.js +21 -10
- package/dist/api/OrganizationsApi.js +47 -32
- package/dist/api/SchemaApi.js +13 -2
- package/dist/api/SentryDebugApi.js +13 -2
- package/dist/api/UsersApi.js +14 -3
- package/dist/model/Activities.js +13 -2
- package/dist/model/BlockchainTransaction.js +13 -2
- package/dist/model/Consumer.js +13 -2
- package/dist/model/ConsumptionDataFileList.js +13 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +13 -2
- package/dist/model/ConsumptionDataPointCreate.js +13 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +13 -2
- package/dist/model/ConsumptionDataPointUpdate.js +13 -2
- package/dist/model/ConsumptionSite.js +13 -2
- package/dist/model/ConsumptionSiteContract.js +13 -2
- package/dist/model/ConsumptionSiteContractImport.js +13 -2
- package/dist/model/ConsumptionSiteCreate.js +13 -2
- package/dist/model/ConsumptionSiteFileUpload.js +13 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +13 -2
- package/dist/model/ContentTypeEnum.js +32 -1
- package/dist/model/EacTypeEnum.js +16 -1
- package/dist/model/EmissionFactor.js +13 -2
- package/dist/model/EnergySourceEnum.js +44 -1
- package/dist/model/EnergySourcePreference.js +49 -29
- package/dist/model/GetFromEpias.js +13 -2
- package/dist/model/GridOperator.js +13 -2
- package/dist/model/ImportRequest.js +13 -2
- package/dist/model/ImportRequestRaw.js +13 -2
- package/dist/model/ImportRequestStatusEnum.js +28 -1
- package/dist/model/ImportedEnergyDataPoint.js +13 -2
- package/dist/model/Issuer.js +13 -2
- package/dist/model/Location.js +44 -16
- package/dist/model/Login.js +13 -2
- package/dist/model/MatchRequest.js +15 -4
- package/dist/model/MatchTypeEnum.js +20 -1
- package/dist/model/MatchedEnergyDataPoint.js +13 -2
- package/dist/model/MatchingConsumerRequest.js +13 -2
- package/dist/model/MatchingSiteRequest.js +13 -2
- package/dist/model/OrganizationTypeEnum.js +36 -1
- package/dist/model/PaginatedActivitiesList.js +13 -2
- package/dist/model/PaginatedConsumerList.js +13 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +13 -2
- package/dist/model/PaginatedConsumptionSiteContractList.js +13 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +13 -2
- package/dist/model/PaginatedEmissionFactorList.js +13 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +13 -2
- package/dist/model/PaginatedGridOperatorList.js +13 -2
- package/dist/model/PaginatedImportRequestList.js +13 -2
- package/dist/model/PaginatedImportRequestRawList.js +13 -2
- package/dist/model/PaginatedImportedEnergyDataPointList.js +13 -2
- package/dist/model/PaginatedIssuerList.js +13 -2
- package/dist/model/PaginatedLocationList.js +13 -2
- package/dist/model/PaginatedMatchRequestList.js +13 -2
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +13 -2
- package/dist/model/PaginatedProducerList.js +13 -2
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +13 -2
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +13 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +13 -2
- package/dist/model/PaginatedRetailerList.js +13 -2
- package/dist/model/PaginatedSmartContractList.js +13 -2
- package/dist/model/PaginatedUnprocessedRowList.js +13 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +13 -2
- package/dist/model/PaginatedUploadedFileList.js +13 -2
- package/dist/model/PaginatedUserList.js +13 -2
- package/dist/model/PatchedConsumer.js +13 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +13 -2
- package/dist/model/PatchedConsumptionSite.js +13 -2
- package/dist/model/PatchedEmissionFactor.js +13 -2
- package/dist/model/PatchedEnergySourcePreference.js +44 -24
- package/dist/model/PatchedGridOperator.js +13 -2
- package/dist/model/PatchedIssuer.js +13 -2
- package/dist/model/PatchedLocation.js +39 -11
- package/dist/model/PatchedProducer.js +13 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +13 -2
- package/dist/model/PatchedProductionSiteUpdate.js +13 -2
- package/dist/model/PatchedRetailer.js +13 -2
- package/dist/model/PatchedSmartContract.js +13 -2
- package/dist/model/PatchedUser.js +14 -3
- package/dist/model/PatchedUserDetail.js +14 -3
- package/dist/model/PriorityEnum.js +44 -1
- package/dist/model/Producer.js +13 -2
- package/dist/model/ProductionDataFileList.js +13 -2
- package/dist/model/ProductionDataFromEpiasRequest.js +14 -3
- package/dist/model/ProductionDataPointCreate.js +13 -2
- package/dist/model/ProductionDataPointListOrDetail.js +13 -2
- package/dist/model/ProductionDataPointUpdate.js +13 -2
- package/dist/model/ProductionSite.js +13 -2
- package/dist/model/ProductionSiteFileUpload.js +13 -2
- package/dist/model/ProductionSiteListOrDetail.js +13 -2
- package/dist/model/ProductionSiteUpdate.js +13 -2
- package/dist/model/Register.js +13 -2
- package/dist/model/Retailer.js +13 -2
- package/dist/model/SmartContract.js +13 -2
- package/dist/model/Status619Enum.js +24 -1
- package/dist/model/Token.js +13 -2
- package/dist/model/TypeEnum.js +24 -1
- package/dist/model/UnprocessedRow.js +13 -2
- package/dist/model/UploadedCertificate.js +15 -4
- package/dist/model/UploadedCertificateListorDetail.js +15 -4
- package/dist/model/UploadedFile.js +16 -5
- package/dist/model/User.js +14 -3
- package/dist/model/UserDetail.js +14 -3
- 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.
|
8
|
-
- Package version: 1.
|
7
|
+
- API version: 1.13.0
|
8
|
+
- Package version: 1.13.0
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
10
10
|
|
11
11
|
## Installation
|
package/dist/ApiClient.js
CHANGED
@@ -12,10 +12,21 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
12
12
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
13
13
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
14
14
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
15
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
15
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
16
|
+
* GreenLink API
|
17
|
+
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
18
|
+
*
|
19
|
+
* The version of the OpenAPI document: 1.13.0
|
20
|
+
*
|
21
|
+
*
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
23
|
+
* https://openapi-generator.tech
|
24
|
+
* Do not edit the class manually.
|
25
|
+
*
|
26
|
+
*/
|
16
27
|
/**
|
17
28
|
* @module ApiClient
|
18
|
-
* @version 1.
|
29
|
+
* @version 1.13.0
|
19
30
|
*/
|
20
31
|
/**
|
21
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
@@ -70,7 +81,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
70
81
|
* @default {}
|
71
82
|
*/
|
72
83
|
this.defaultHeaders = {
|
73
|
-
'User-Agent': 'OpenAPI-Generator/1.
|
84
|
+
'User-Agent': 'OpenAPI-Generator/1.13.0/Javascript'
|
74
85
|
};
|
75
86
|
|
76
87
|
/**
|
@@ -14,11 +14,22 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
14
14
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
15
15
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
16
16
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
17
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
18
|
+
* GreenLink API
|
19
|
+
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
20
|
+
*
|
21
|
+
* The version of the OpenAPI document: 1.13.0
|
22
|
+
*
|
23
|
+
*
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
25
|
+
* https://openapi-generator.tech
|
26
|
+
* Do not edit the class manually.
|
27
|
+
*
|
28
|
+
*/
|
18
29
|
/**
|
19
30
|
* Blockchain service.
|
20
31
|
* @module api/BlockchainApi
|
21
|
-
* @version 1.
|
32
|
+
* @version 1.13.0
|
22
33
|
*/
|
23
34
|
var BlockchainApi = /*#__PURE__*/function () {
|
24
35
|
/**
|
@@ -42,7 +53,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
42
53
|
*/
|
43
54
|
|
44
55
|
/**
|
45
|
-
* **Create a specific smart contract
|
56
|
+
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all smart contracts. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `retrieve(self, request, *args, **kwargs)`: Get a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `create(self, request)`: Create a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `update(self, request, pk=None, *args, **kwargs)`: Upsert a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `partial_update(self, request, *args, **kwargs)`: Update a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `destroy(self, request, *args, **kwargs)`: Delete a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser
|
46
57
|
* @param {module:model/SmartContract} smartContract
|
47
58
|
* @param {module:api/BlockchainApi~blockchainSmartContractsCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
48
59
|
* data is of type: {@link module:model/SmartContract}
|
@@ -75,7 +86,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
75
86
|
*/
|
76
87
|
|
77
88
|
/**
|
78
|
-
* **
|
89
|
+
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all smart contracts. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `retrieve(self, request, *args, **kwargs)`: Get a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `create(self, request)`: Create a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `update(self, request, pk=None, *args, **kwargs)`: Upsert a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `partial_update(self, request, *args, **kwargs)`: Update a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `destroy(self, request, *args, **kwargs)`: Delete a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser
|
79
90
|
* @param {String} id A UUID string identifying this smart contract.
|
80
91
|
* @param {module:api/BlockchainApi~blockchainSmartContractsDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
81
92
|
*/
|
@@ -109,7 +120,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
109
120
|
*/
|
110
121
|
|
111
122
|
/**
|
112
|
-
*
|
123
|
+
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all smart contracts. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `retrieve(self, request, *args, **kwargs)`: Get a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `create(self, request)`: Create a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `update(self, request, pk=None, *args, **kwargs)`: Upsert a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `partial_update(self, request, *args, **kwargs)`: Update a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `destroy(self, request, *args, **kwargs)`: Delete a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser
|
113
124
|
* @param {Object} opts Optional parameters
|
114
125
|
* @param {String} opts.blockchainAccountAddress
|
115
126
|
* @param {Date} opts.createdAt
|
@@ -118,7 +129,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
118
129
|
* @param {Number} opts.limit Number of results to return per page.
|
119
130
|
* @param {String} opts.name
|
120
131
|
* @param {Number} opts.offset The initial index from which to return the results.
|
121
|
-
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
132
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering * `created_at` - Created at * `-created_at` - Created at (descending) * `name` - Name * `-name` - Name (descending)
|
122
133
|
* @param {Date} opts.updatedAt
|
123
134
|
* @param {module:api/BlockchainApi~blockchainSmartContractsListCallback} callback The callback function, accepting three arguments: error, data, response
|
124
135
|
* data is of type: {@link module:model/PaginatedSmartContractList}
|
@@ -158,7 +169,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
158
169
|
*/
|
159
170
|
|
160
171
|
/**
|
161
|
-
* **
|
172
|
+
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all smart contracts. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `retrieve(self, request, *args, **kwargs)`: Get a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `create(self, request)`: Create a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `update(self, request, pk=None, *args, **kwargs)`: Upsert a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `partial_update(self, request, *args, **kwargs)`: Update a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `destroy(self, request, *args, **kwargs)`: Delete a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser
|
162
173
|
* @param {String} id A UUID string identifying this smart contract.
|
163
174
|
* @param {Object} opts Optional parameters
|
164
175
|
* @param {module:model/PatchedSmartContract} opts.patchedSmartContract
|
@@ -196,7 +207,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
196
207
|
*/
|
197
208
|
|
198
209
|
/**
|
199
|
-
* **Get a specific smart contract
|
210
|
+
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all smart contracts. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `retrieve(self, request, *args, **kwargs)`: Get a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `create(self, request)`: Create a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `update(self, request, pk=None, *args, **kwargs)`: Upsert a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `partial_update(self, request, *args, **kwargs)`: Update a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `destroy(self, request, *args, **kwargs)`: Delete a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser
|
200
211
|
* @param {String} id A UUID string identifying this smart contract.
|
201
212
|
* @param {module:api/BlockchainApi~blockchainSmartContractsRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
202
213
|
* data is of type: {@link module:model/SmartContract}
|
@@ -231,7 +242,7 @@ var BlockchainApi = /*#__PURE__*/function () {
|
|
231
242
|
*/
|
232
243
|
|
233
244
|
/**
|
234
|
-
* **Upsert a specific smart contract
|
245
|
+
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all smart contracts. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `retrieve(self, request, *args, **kwargs)`: Get a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `create(self, request)`: Create a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `update(self, request, pk=None, *args, **kwargs)`: Upsert a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `partial_update(self, request, *args, **kwargs)`: Update a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser - `destroy(self, request, *args, **kwargs)`: Delete a specific smart contract. User should be authenticated and have an active (is_active=True) account. Roles required: Superuser
|
235
246
|
* @param {String} id A UUID string identifying this smart contract.
|
236
247
|
* @param {module:model/SmartContract} smartContract
|
237
248
|
* @param {module:api/BlockchainApi~blockchainSmartContractsUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -26,11 +26,22 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
26
26
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
27
27
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
28
28
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
29
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
29
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
30
|
+
* GreenLink API
|
31
|
+
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
32
|
+
*
|
33
|
+
* The version of the OpenAPI document: 1.13.0
|
34
|
+
*
|
35
|
+
*
|
36
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
37
|
+
* https://openapi-generator.tech
|
38
|
+
* Do not edit the class manually.
|
39
|
+
*
|
40
|
+
*/
|
30
41
|
/**
|
31
42
|
* EnergyAssets service.
|
32
43
|
* @module api/EnergyAssetsApi
|
33
|
-
* @version 1.
|
44
|
+
* @version 1.13.0
|
34
45
|
*/
|
35
46
|
var EnergyAssetsApi = /*#__PURE__*/function () {
|
36
47
|
/**
|
@@ -163,7 +174,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
163
174
|
* @param {String} opts.id
|
164
175
|
* @param {Number} opts.limit Number of results to return per page.
|
165
176
|
* @param {Number} opts.offset The initial index from which to return the results.
|
166
|
-
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
177
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering * `created_at` - Created at * `-created_at` - Created at (descending) * `start_date` - Start date * `-start_date` - Start date (descending) * `end_date` - End date * `-end_date` - End date (descending)
|
167
178
|
* @param {String} opts.search A search term.
|
168
179
|
* @param {Date} opts.startDate
|
169
180
|
* @param {Date} opts.updatedAt
|
@@ -362,7 +373,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
362
373
|
* @param {String} opts.location
|
363
374
|
* @param {String} opts.name
|
364
375
|
* @param {Number} opts.offset The initial index from which to return the results.
|
365
|
-
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
376
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering * `created_at` - Created at * `-created_at` - Created at (descending) * `name` - Name * `-name` - Name (descending)
|
366
377
|
* @param {String} opts.retailer
|
367
378
|
* @param {String} opts.search A search term.
|
368
379
|
* @param {Date} opts.updatedAt
|
@@ -628,7 +639,7 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
628
639
|
* @param {Number} opts.capacity
|
629
640
|
* @param {Date} opts.createdAt
|
630
641
|
* @param {String} opts.eic
|
631
|
-
* @param {module:model/String} opts.energySource
|
642
|
+
* @param {module:model/String} opts.energySource * `Wind` - Wind * `Solar` - Solar * `Hydro-electric Head` - Hydro-electric Head * `Marine` - Marine * `Thermal` - Thermal * `Solid` - Solid * `Liquid` - Liquid * `Gaseous` - Gaseous
|
632
643
|
* @param {String} opts.gridOperator
|
633
644
|
* @param {String} opts.id
|
634
645
|
* @param {Boolean} opts.isActive
|
@@ -638,11 +649,11 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
638
649
|
* @param {String} opts.location
|
639
650
|
* @param {String} opts.name
|
640
651
|
* @param {Number} opts.offset The initial index from which to return the results.
|
641
|
-
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
652
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering * `created_at` - Created at * `-created_at` - Created at (descending) * `name` - Name * `-name` - Name (descending)
|
642
653
|
* @param {Number} opts.powerPlantId
|
643
654
|
* @param {String} opts.producer
|
644
655
|
* @param {String} opts.retailer
|
645
|
-
* @param {module:model/String} opts.technologyOrFuelType
|
656
|
+
* @param {module:model/String} opts.technologyOrFuelType * `Wind` - (('Unspecified', 'Unspecified'), ('Onshore', 'Onshore'), ('Offshore', 'Offshore')) * `Solar` - (('Unspecified', 'Unspecified'), ('Photovoltaic', 'Photovoltaic'), ('Photovoltaic - roof mounted', 'Photovoltaic - roof mounted'), ('Photovoltaic - ground mounted', 'Photovoltaic - ground mounted'), ('Photovoltaic - classic silicon', 'Photovoltaic - classic silicon'), ('Photovoltaic - Aggregated Group', 'Photovoltaic - Aggregated Group'), ('Concentration', 'Concentration')) * `Hydro-electric Head` - (('Unspecified', 'Unspecified'), ('Run-of-river head installation', 'Run-of-river head installation'), ('Storage head installation', 'Storage head installation'), ('Pure pumped storage head installation', 'Pure pumped storage head installation'), ('Mixed pumped storage head', 'Mixed pumped storage head')) * `Marine` - (('Unspecified', 'Unspecified'), ('Tidal', 'Tidal'), ('Tidal - inshore', 'Tidal - inshore'), ('Tidal - offshore', 'Tidal - offshore'), ('Wave', 'Wave'), ('Wave - onshore', 'Wave - onshore'), ('Wave - offshore', 'Wave - offshore'), ('Currents', 'Currents'), ('Pressure', 'Pressure'), ('Thermal', 'Thermal')) * `Thermal` - (('Unspecified', 'Unspecified'), ('Steam Turbine Open Cycle with CHP', 'Steam Turbine Open Cycle with CHP'), ('Steam Turbine Open Cycle without CHP', 'Steam Turbine Open Cycle without CHP'), ('Steam Turbine Closed Cycle with CHP', 'Steam Turbine Closed Cycle with CHP'), ('Steam Turbine Closed Cycle without CHP', 'Steam Turbine Closed Cycle without CHP'), ('Internal Combustion Engine', 'Internal Combustion Engine'), ('Organic Rankine Cycle', 'Organic Rankine Cycle'), ('Sterling Engine', 'Sterling Engine')) * `Solid` - (('Unspecified', 'Unspecified'), ('Municipal waste', 'Municipal waste'), ('Municipal waste - biogenic only', 'Municipal waste - biogenic only'), ('Industrial and commercial waste - biogenic only', 'Industrial and commercial waste - biogenic only'), ('Wood', 'Wood'), ('Wood - forestry products', 'Wood - forestry products'), ('Wood - forestry by-products & waste', 'Wood - forestry by-products & waste'), ('Animal fats', 'Animal fats'), ('Biomass from agriculture', 'Biomass from agriculture'), ('Biomass from agriculture - agricultural products', 'Biomass from agriculture - agricultural products'), ('Biomass from agriculture - agricultural by-products & waste', 'Biomass from agriculture - agricultural by-products & waste'), ('Co-fired with fossil fuel - wood', 'Co-fired with fossil fuel - wood'), ('Co-fired with fossil fuel - wood (forestry products)', 'Co-fired with fossil fuel - wood (forestry products)'), ('Co-fired with fossil fuel - wood (forestry by-products & waste)', 'Co-fired with fossil fuel - wood (forestry by-products & waste)'), ('Co-fired with fossil fuel - animal fats', 'Co-fired with fossil fuel - animal fats'), ('Co-fired with fossil fuel - biomass from agriculture', 'Co-fired with fossil fuel - biomass from agriculture'), ('Co-fired with fossil fuel - biomass from agriculture (agricultural products)', 'Co-fired with fossil fuel - biomass from agriculture (agricultural products)'), ('Co-fired with fossil fuel - biomass from agriculture (agricultural by-products and waste)', 'Co-fired with fossil fuel - biomass from agriculture (agricultural by-products and waste)')) * `Liquid` - (('Unspecified', 'Unspecified'), ('Municipal biodegradable waste', 'Municipal biodegradable waste'), ('Black liquor', 'Black liquor'), ('Pure plant oil', 'Pure plant oil'), ('Waste plant oil ', 'Waste plant oil '), ('Refined vegetable oil', 'Refined vegetable oil'), ('Refined vegetable oil - biodiesel (mono-alkyl ester)', 'Refined vegetable oil - biodiesel (mono-alkyl ester)'), ('Refined vegetable oil - biogasoline (C6-C12 hydrocarbon)', 'Refined vegetable oil - biogasoline (C6-C12 hydrocarbon)')) * `Gaseous` - (('Unspecified', 'Unspecified'), ('Landfill gas', 'Landfill gas'), ('Sewage gas', 'Sewage gas'), ('Agricultural gas', 'Agricultural gas'), ('Agricultural gas - animal manure', 'Agricultural gas - animal manure'), ('Agricultural gas - energy crops', 'Agricultural gas - energy crops'), ('Gas from organic waste digestion', 'Gas from organic waste digestion'), ('Process gas - biogenic', 'Process gas - biogenic'), ('Geothermal', 'Geothermal'), ('Co-fired with fossil fuel - solar thermal', 'Co-fired with fossil fuel - solar thermal'))
|
646
657
|
* @param {Date} opts.updatedAt
|
647
658
|
* @param {module:api/EnergyAssetsApi~energyAssetsProductionSitesListCallback} callback The callback function, accepting three arguments: error, data, response
|
648
659
|
* data is of type: {@link module:model/PaginatedProductionSiteListOrDetailList}
|