green_link_api 1.12.0 → 1.13.1
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 +3 -3
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +2 -2
- package/dist/api/EnergyDataApi.js +29 -29
- package/dist/api/HealthCheckApi.js +2 -2
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
- package/dist/api/LocationsApi.js +8 -8
- package/dist/api/LogsApi.js +11 -11
- package/dist/api/MaintenanceCheckApi.js +2 -2
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +36 -32
- package/dist/api/SchemaApi.js +2 -2
- package/dist/api/SentryDebugApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/model/Activities.js +2 -2
- package/dist/model/BlockchainTransaction.js +2 -2
- 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 +2 -2
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- 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 +37 -28
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/ImportRequest.js +2 -2
- package/dist/model/ImportRequestRaw.js +2 -2
- package/dist/model/ImportRequestStatusEnum.js +1 -1
- package/dist/model/ImportedEnergyDataPoint.js +2 -2
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +33 -16
- package/dist/model/Login.js +2 -2
- package/dist/model/MatchRequest.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/MatchedEnergyDataPoint.js +2 -2
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- 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/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/PaginatedImportRequestList.js +2 -2
- package/dist/model/PaginatedImportRequestRawList.js +2 -2
- package/dist/model/PaginatedImportedEnergyDataPointList.js +2 -2
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/PaginatedMatchRequestList.js +2 -2
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +2 -2
- 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/PaginatedUploadedFileList.js +2 -2
- 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 +32 -23
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +28 -11
- 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 +2 -2
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +2 -2
- 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/Status619Enum.js +1 -1
- package/dist/model/Token.js +2 -2
- 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 +2 -2
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
package/dist/api/LocationsApi.js
CHANGED
@@ -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.13.1
|
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
|
* Locations service.
|
31
31
|
* @module api/LocationsApi
|
32
|
-
* @version 1.
|
32
|
+
* @version 1.13.1
|
33
33
|
*/
|
34
34
|
var LocationsApi = /*#__PURE__*/function () {
|
35
35
|
/**
|
@@ -81,7 +81,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
81
81
|
*/
|
82
82
|
|
83
83
|
/**
|
84
|
-
*
|
84
|
+
* This viewset provides CRUD (Create, Retrieve, Update, Delete) operations on Location objects. It also provides list operations on consumption sites and production sites that are related to the user's organization. The user should be authenticated and have an active account (is_active=True). Roles required: Staff and/or Admin User employed by an active allowed organization: Producer, Consumer or Retailer. In all cases, object should be owned by the user's organization.
|
85
85
|
* @param {module:model/Location} location
|
86
86
|
* @param {module:api/LocationsApi~locationsCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
87
87
|
* data is of type: {@link module:model/Location}
|
@@ -114,7 +114,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
114
114
|
*/
|
115
115
|
|
116
116
|
/**
|
117
|
-
*
|
117
|
+
* This viewset provides CRUD (Create, Retrieve, Update, Delete) operations on Location objects. It also provides list operations on consumption sites and production sites that are related to the user's organization. The user should be authenticated and have an active account (is_active=True). Roles required: Staff and/or Admin User employed by an active allowed organization: Producer, Consumer or Retailer. In all cases, object should be owned by the user's organization.
|
118
118
|
* @param {String} id A UUID string identifying this location.
|
119
119
|
* @param {module:api/LocationsApi~locationsDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
120
120
|
*/
|
@@ -148,7 +148,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
148
148
|
*/
|
149
149
|
|
150
150
|
/**
|
151
|
-
*
|
151
|
+
* This viewset provides CRUD (Create, Retrieve, Update, Delete) operations on Location objects. It also provides list operations on consumption sites and production sites that are related to the user's organization. The user should be authenticated and have an active account (is_active=True). Roles required: Staff and/or Admin User employed by an active allowed organization: Producer, Consumer or Retailer. In all cases, object should be owned by the user's organization.
|
152
152
|
* @param {Object} opts Optional parameters
|
153
153
|
* @param {String} opts.buildingNumber
|
154
154
|
* @param {String} opts.city
|
@@ -217,7 +217,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
217
217
|
*/
|
218
218
|
|
219
219
|
/**
|
220
|
-
*
|
220
|
+
* This viewset provides CRUD (Create, Retrieve, Update, Delete) operations on Location objects. It also provides list operations on consumption sites and production sites that are related to the user's organization. The user should be authenticated and have an active account (is_active=True). Roles required: Staff and/or Admin User employed by an active allowed organization: Producer, Consumer or Retailer. In all cases, object should be owned by the user's organization.
|
221
221
|
* @param {String} id A UUID string identifying this location.
|
222
222
|
* @param {Object} opts Optional parameters
|
223
223
|
* @param {module:model/PatchedLocation} opts.patchedLocation
|
@@ -283,7 +283,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
283
283
|
*/
|
284
284
|
|
285
285
|
/**
|
286
|
-
*
|
286
|
+
* This viewset provides CRUD (Create, Retrieve, Update, Delete) operations on Location objects. It also provides list operations on consumption sites and production sites that are related to the user's organization. The user should be authenticated and have an active account (is_active=True). Roles required: Staff and/or Admin User employed by an active allowed organization: Producer, Consumer or Retailer. In all cases, object should be owned by the user's organization.
|
287
287
|
* @param {String} id A UUID string identifying this location.
|
288
288
|
* @param {module:api/LocationsApi~locationsRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
289
289
|
* data is of type: {@link module:model/Location}
|
@@ -318,7 +318,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
318
318
|
*/
|
319
319
|
|
320
320
|
/**
|
321
|
-
*
|
321
|
+
* This viewset provides CRUD (Create, Retrieve, Update, Delete) operations on Location objects. It also provides list operations on consumption sites and production sites that are related to the user's organization. The user should be authenticated and have an active account (is_active=True). Roles required: Staff and/or Admin User employed by an active allowed organization: Producer, Consumer or Retailer. In all cases, object should be owned by the user's organization.
|
322
322
|
* @param {String} id A UUID string identifying this location.
|
323
323
|
* @param {module:model/Location} location
|
324
324
|
* @param {module:api/LocationsApi~locationsUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
package/dist/api/LogsApi.js
CHANGED
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
26
26
|
* GreenLink API
|
27
27
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
28
28
|
*
|
29
|
-
* The version of the OpenAPI document: 1.
|
29
|
+
* The version of the OpenAPI document: 1.13.1
|
30
30
|
*
|
31
31
|
*
|
32
32
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -37,7 +37,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
37
37
|
/**
|
38
38
|
* Logs service.
|
39
39
|
* @module api/LogsApi
|
40
|
-
* @version 1.
|
40
|
+
* @version 1.13.1
|
41
41
|
*/
|
42
42
|
var LogsApi = /*#__PURE__*/function () {
|
43
43
|
/**
|
@@ -298,7 +298,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
298
298
|
*/
|
299
299
|
|
300
300
|
/**
|
301
|
-
*
|
301
|
+
* This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
|
302
302
|
* @param {String} id A UUID string identifying this production data from epias request.
|
303
303
|
* @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
304
304
|
*/
|
@@ -332,7 +332,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
332
332
|
*/
|
333
333
|
|
334
334
|
/**
|
335
|
-
*
|
335
|
+
* This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
|
336
336
|
* @param {Object} opts Optional parameters
|
337
337
|
* @param {Date} opts.createdAt
|
338
338
|
* @param {Date} opts.endTime
|
@@ -391,7 +391,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
391
391
|
*/
|
392
392
|
|
393
393
|
/**
|
394
|
-
*
|
394
|
+
* This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
|
395
395
|
* @param {String} id A UUID string identifying this production data from epias request.
|
396
396
|
* @param {module:api/LogsApi~logsProductionEpiasRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
397
397
|
* data is of type: {@link module:model/ProductionDataFromEpiasRequest}
|
@@ -426,7 +426,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
426
426
|
*/
|
427
427
|
|
428
428
|
/**
|
429
|
-
*
|
429
|
+
* This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific unprocessed row information: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
|
430
430
|
* @param {String} id A UUID string identifying this unprocessed row.
|
431
431
|
* @param {module:api/LogsApi~logsUnprocessedRowDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
432
432
|
*/
|
@@ -460,7 +460,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
460
460
|
*/
|
461
461
|
|
462
462
|
/**
|
463
|
-
*
|
463
|
+
* This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific unprocessed row information: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
|
464
464
|
* @param {Object} opts Optional parameters
|
465
465
|
* @param {Date} opts.createdAt
|
466
466
|
* @param {String} opts.errorMessage
|
@@ -511,7 +511,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
511
511
|
*/
|
512
512
|
|
513
513
|
/**
|
514
|
-
*
|
514
|
+
* This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific unprocessed row information: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
|
515
515
|
* @param {String} id A UUID string identifying this unprocessed row.
|
516
516
|
* @param {module:api/LogsApi~logsUnprocessedRowRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
517
517
|
* data is of type: {@link module:model/UnprocessedRow}
|
@@ -546,7 +546,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
546
546
|
*/
|
547
547
|
|
548
548
|
/**
|
549
|
-
*
|
549
|
+
* This class manages the uploaded files owned by the user's organization. The following operations are supported: - List all the uploaded files: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get a specific file: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** The `destroy` method throws a `_concurrencymetafield` error.
|
550
550
|
* @param {String} id A UUID string identifying this uploaded file.
|
551
551
|
* @param {module:api/LogsApi~logsUploadFileDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
552
552
|
*/
|
@@ -580,7 +580,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
580
580
|
*/
|
581
581
|
|
582
582
|
/**
|
583
|
-
*
|
583
|
+
* This class manages the uploaded files owned by the user's organization. The following operations are supported: - List all the uploaded files: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get a specific file: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** The `destroy` method throws a `_concurrencymetafield` error.
|
584
584
|
* @param {Object} opts Optional parameters
|
585
585
|
* @param {module:model/String} opts.contentType Required. Select from available choices. * `Consumption sites` - Consumption sites * `Consumption data points` - Consumption data points * `Production sites` - Production sites * `Production data points` - Production data points * `Energy attribute certificates` - Energy attribute certificates
|
586
586
|
* @param {Date} opts.createdAt
|
@@ -631,7 +631,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
631
631
|
*/
|
632
632
|
|
633
633
|
/**
|
634
|
-
*
|
634
|
+
* This class manages the uploaded files owned by the user's organization. The following operations are supported: - List all the uploaded files: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get a specific file: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** The `destroy` method throws a `_concurrencymetafield` error.
|
635
635
|
* @param {String} id A UUID string identifying this uploaded file.
|
636
636
|
* @param {module:api/LogsApi~logsUploadFileRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
637
637
|
* data is of type: {@link module:model/UploadedFile}
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
15
15
|
* GreenLink API
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
17
17
|
*
|
18
|
-
* The version of the OpenAPI document: 1.
|
18
|
+
* The version of the OpenAPI document: 1.13.1
|
19
19
|
*
|
20
20
|
*
|
21
21
|
* 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
|
* MaintenanceCheck service.
|
28
28
|
* @module api/MaintenanceCheckApi
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.13.1
|
30
30
|
*/
|
31
31
|
var MaintenanceCheckApi = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -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.13.1
|
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
|
* Organizationprofiles service.
|
31
31
|
* @module api/OrganizationprofilesApi
|
32
|
-
* @version 1.
|
32
|
+
* @version 1.13.1
|
33
33
|
*/
|
34
34
|
var OrganizationprofilesApi = /*#__PURE__*/function () {
|
35
35
|
/**
|
@@ -53,7 +53,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
53
53
|
*/
|
54
54
|
|
55
55
|
/**
|
56
|
-
*
|
56
|
+
* Manages consumer energy source preferences for an active organization. All methods require an active, authenticated Staff or Admin user from a Consumer or Retailer organization. - `list(self, request)`: Lists all preferences. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific preference. - `create(self, request)`: Creates a new preference. - `update(self, request, pk=None, *args, **kwargs)`: Updates a specific preference (object must be owned by user's organization). - `partial_update(self, request, *args, **kwargs)`: Partially updates a specific preference (object must be owned by user's organization). - `destroy(self, request, *args, **kwargs)`: Deletes a specific preference (Admin role and object ownership required).
|
57
57
|
* @param {module:model/EnergySourcePreference} energySourcePreference
|
58
58
|
* @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
59
59
|
* data is of type: {@link module:model/EnergySourcePreference}
|
@@ -86,7 +86,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
86
86
|
*/
|
87
87
|
|
88
88
|
/**
|
89
|
-
*
|
89
|
+
* Manages consumer energy source preferences for an active organization. All methods require an active, authenticated Staff or Admin user from a Consumer or Retailer organization. - `list(self, request)`: Lists all preferences. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific preference. - `create(self, request)`: Creates a new preference. - `update(self, request, pk=None, *args, **kwargs)`: Updates a specific preference (object must be owned by user's organization). - `partial_update(self, request, *args, **kwargs)`: Partially updates a specific preference (object must be owned by user's organization). - `destroy(self, request, *args, **kwargs)`: Deletes a specific preference (Admin role and object ownership required).
|
90
90
|
* @param {String} id A UUID string identifying this energy source preference.
|
91
91
|
* @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
92
92
|
*/
|
@@ -120,7 +120,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
120
120
|
*/
|
121
121
|
|
122
122
|
/**
|
123
|
-
*
|
123
|
+
* Manages consumer energy source preferences for an active organization. All methods require an active, authenticated Staff or Admin user from a Consumer or Retailer organization. - `list(self, request)`: Lists all preferences. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific preference. - `create(self, request)`: Creates a new preference. - `update(self, request, pk=None, *args, **kwargs)`: Updates a specific preference (object must be owned by user's organization). - `partial_update(self, request, *args, **kwargs)`: Partially updates a specific preference (object must be owned by user's organization). - `destroy(self, request, *args, **kwargs)`: Deletes a specific preference (Admin role and object ownership required).
|
124
124
|
* @param {Object} opts Optional parameters
|
125
125
|
* @param {String} opts.consumer
|
126
126
|
* @param {Date} opts.createdAt
|
@@ -171,7 +171,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
171
171
|
*/
|
172
172
|
|
173
173
|
/**
|
174
|
-
*
|
174
|
+
* Manages consumer energy source preferences for an active organization. All methods require an active, authenticated Staff or Admin user from a Consumer or Retailer organization. - `list(self, request)`: Lists all preferences. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific preference. - `create(self, request)`: Creates a new preference. - `update(self, request, pk=None, *args, **kwargs)`: Updates a specific preference (object must be owned by user's organization). - `partial_update(self, request, *args, **kwargs)`: Partially updates a specific preference (object must be owned by user's organization). - `destroy(self, request, *args, **kwargs)`: Deletes a specific preference (Admin role and object ownership required).
|
175
175
|
* @param {String} id A UUID string identifying this energy source preference.
|
176
176
|
* @param {Object} opts Optional parameters
|
177
177
|
* @param {module:model/PatchedEnergySourcePreference} opts.patchedEnergySourcePreference
|
@@ -209,7 +209,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
209
209
|
*/
|
210
210
|
|
211
211
|
/**
|
212
|
-
*
|
212
|
+
* Manages consumer energy source preferences for an active organization. All methods require an active, authenticated Staff or Admin user from a Consumer or Retailer organization. - `list(self, request)`: Lists all preferences. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific preference. - `create(self, request)`: Creates a new preference. - `update(self, request, pk=None, *args, **kwargs)`: Updates a specific preference (object must be owned by user's organization). - `partial_update(self, request, *args, **kwargs)`: Partially updates a specific preference (object must be owned by user's organization). - `destroy(self, request, *args, **kwargs)`: Deletes a specific preference (Admin role and object ownership required).
|
213
213
|
* @param {String} id A UUID string identifying this energy source preference.
|
214
214
|
* @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
215
215
|
* data is of type: {@link module:model/EnergySourcePreference}
|
@@ -244,7 +244,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
244
244
|
*/
|
245
245
|
|
246
246
|
/**
|
247
|
-
*
|
247
|
+
* Manages consumer energy source preferences for an active organization. All methods require an active, authenticated Staff or Admin user from a Consumer or Retailer organization. - `list(self, request)`: Lists all preferences. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific preference. - `create(self, request)`: Creates a new preference. - `update(self, request, pk=None, *args, **kwargs)`: Updates a specific preference (object must be owned by user's organization). - `partial_update(self, request, *args, **kwargs)`: Partially updates a specific preference (object must be owned by user's organization). - `destroy(self, request, *args, **kwargs)`: Deletes a specific preference (Admin role and object ownership required).
|
248
248
|
* @param {String} id A UUID string identifying this energy source preference.
|
249
249
|
* @param {module:model/EnergySourcePreference} energySourcePreference
|
250
250
|
* @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|