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.
Files changed (113) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/BlockchainApi.js +8 -8
  4. package/dist/api/EnergyAssetsApi.js +2 -2
  5. package/dist/api/EnergyDataApi.js +29 -29
  6. package/dist/api/HealthCheckApi.js +2 -2
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
  8. package/dist/api/LocationsApi.js +8 -8
  9. package/dist/api/LogsApi.js +11 -11
  10. package/dist/api/MaintenanceCheckApi.js +2 -2
  11. package/dist/api/OrganizationprofilesApi.js +8 -8
  12. package/dist/api/OrganizationsApi.js +36 -32
  13. package/dist/api/SchemaApi.js +2 -2
  14. package/dist/api/SentryDebugApi.js +2 -2
  15. package/dist/api/UsersApi.js +2 -2
  16. package/dist/model/Activities.js +2 -2
  17. package/dist/model/BlockchainTransaction.js +2 -2
  18. package/dist/model/Consumer.js +2 -2
  19. package/dist/model/ConsumptionDataFileList.js +2 -2
  20. package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
  21. package/dist/model/ConsumptionDataPointCreate.js +2 -2
  22. package/dist/model/ConsumptionDataPointListOrDetail.js +2 -2
  23. package/dist/model/ConsumptionDataPointUpdate.js +2 -2
  24. package/dist/model/ConsumptionSite.js +2 -2
  25. package/dist/model/ConsumptionSiteContract.js +2 -2
  26. package/dist/model/ConsumptionSiteContractImport.js +2 -2
  27. package/dist/model/ConsumptionSiteCreate.js +2 -2
  28. package/dist/model/ConsumptionSiteFileUpload.js +2 -2
  29. package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
  30. package/dist/model/ContentTypeEnum.js +1 -1
  31. package/dist/model/EacTypeEnum.js +1 -1
  32. package/dist/model/EmissionFactor.js +2 -2
  33. package/dist/model/EnergySourceEnum.js +1 -1
  34. package/dist/model/EnergySourcePreference.js +37 -28
  35. package/dist/model/GetFromEpias.js +2 -2
  36. package/dist/model/GridOperator.js +2 -2
  37. package/dist/model/ImportRequest.js +2 -2
  38. package/dist/model/ImportRequestRaw.js +2 -2
  39. package/dist/model/ImportRequestStatusEnum.js +1 -1
  40. package/dist/model/ImportedEnergyDataPoint.js +2 -2
  41. package/dist/model/Issuer.js +2 -2
  42. package/dist/model/Location.js +33 -16
  43. package/dist/model/Login.js +2 -2
  44. package/dist/model/MatchRequest.js +2 -2
  45. package/dist/model/MatchTypeEnum.js +1 -1
  46. package/dist/model/MatchedEnergyDataPoint.js +2 -2
  47. package/dist/model/MatchingConsumerRequest.js +2 -2
  48. package/dist/model/MatchingSiteRequest.js +2 -2
  49. package/dist/model/OrganizationTypeEnum.js +1 -1
  50. package/dist/model/PaginatedActivitiesList.js +2 -2
  51. package/dist/model/PaginatedConsumerList.js +2 -2
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
  55. package/dist/model/PaginatedEmissionFactorList.js +2 -2
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
  57. package/dist/model/PaginatedGridOperatorList.js +2 -2
  58. package/dist/model/PaginatedImportRequestList.js +2 -2
  59. package/dist/model/PaginatedImportRequestRawList.js +2 -2
  60. package/dist/model/PaginatedImportedEnergyDataPointList.js +2 -2
  61. package/dist/model/PaginatedIssuerList.js +2 -2
  62. package/dist/model/PaginatedLocationList.js +2 -2
  63. package/dist/model/PaginatedMatchRequestList.js +2 -2
  64. package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
  65. package/dist/model/PaginatedProducerList.js +2 -2
  66. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +2 -2
  67. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
  68. package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
  69. package/dist/model/PaginatedRetailerList.js +2 -2
  70. package/dist/model/PaginatedSmartContractList.js +2 -2
  71. package/dist/model/PaginatedUnprocessedRowList.js +2 -2
  72. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
  73. package/dist/model/PaginatedUploadedFileList.js +2 -2
  74. package/dist/model/PaginatedUserList.js +2 -2
  75. package/dist/model/PatchedConsumer.js +2 -2
  76. package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
  77. package/dist/model/PatchedConsumptionSite.js +2 -2
  78. package/dist/model/PatchedEmissionFactor.js +2 -2
  79. package/dist/model/PatchedEnergySourcePreference.js +32 -23
  80. package/dist/model/PatchedGridOperator.js +2 -2
  81. package/dist/model/PatchedIssuer.js +2 -2
  82. package/dist/model/PatchedLocation.js +28 -11
  83. package/dist/model/PatchedProducer.js +2 -2
  84. package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
  85. package/dist/model/PatchedProductionSiteUpdate.js +2 -2
  86. package/dist/model/PatchedRetailer.js +2 -2
  87. package/dist/model/PatchedSmartContract.js +2 -2
  88. package/dist/model/PatchedUser.js +2 -2
  89. package/dist/model/PatchedUserDetail.js +2 -2
  90. package/dist/model/PriorityEnum.js +1 -1
  91. package/dist/model/Producer.js +2 -2
  92. package/dist/model/ProductionDataFileList.js +2 -2
  93. package/dist/model/ProductionDataFromEpiasRequest.js +2 -2
  94. package/dist/model/ProductionDataPointCreate.js +2 -2
  95. package/dist/model/ProductionDataPointListOrDetail.js +2 -2
  96. package/dist/model/ProductionDataPointUpdate.js +2 -2
  97. package/dist/model/ProductionSite.js +2 -2
  98. package/dist/model/ProductionSiteFileUpload.js +2 -2
  99. package/dist/model/ProductionSiteListOrDetail.js +2 -2
  100. package/dist/model/ProductionSiteUpdate.js +2 -2
  101. package/dist/model/Register.js +2 -2
  102. package/dist/model/Retailer.js +2 -2
  103. package/dist/model/SmartContract.js +2 -2
  104. package/dist/model/Status619Enum.js +1 -1
  105. package/dist/model/Token.js +2 -2
  106. package/dist/model/TypeEnum.js +1 -1
  107. package/dist/model/UnprocessedRow.js +2 -2
  108. package/dist/model/UploadedCertificate.js +2 -2
  109. package/dist/model/UploadedCertificateListorDetail.js +2 -2
  110. package/dist/model/UploadedFile.js +2 -2
  111. package/dist/model/User.js +2 -2
  112. package/dist/model/UserDetail.js +2 -2
  113. package/package.json +1 -1
@@ -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.12.0
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.12.0
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
- * **Create a specific location.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Producer, Consumer or Retailer
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
- * **Delete a specific location.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Admin **User employed by an active allowed organization**: Producer, Consumer or Retailer
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
- * **List all the locations (organization HQ, consumption sites and/or production sites) related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Producer, Consumer or Retailer
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
- * **Update a specific location.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Producer, Consumer or Retailer
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
- * **Get a specific location.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Producer, Consumer or Retailer
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
- * **Upsert a specific location.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Producer, Consumer or Retailer
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
@@ -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.12.0
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.12.0
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
- * Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
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
- * **List all EPIAS requests related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
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
- * **Get a specific EPIAS request details.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
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
- * **Delete a specific file.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **List all the information of unprocessed rows of the uploaded files uploaded by the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
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
- * **Get a specific unprocessed row information.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
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
- * **Delete a specific file.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **List all the uploadedfiles owned by the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
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
- * **Get a specific file.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
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.12.0
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.12.0
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.12.0
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.12.0
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
- * **Create a specific consumer energy source preference.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **Delete a specific consumer energy source preference.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **List all consumer energy source preferences related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **Update a specific consumer energy source preference.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **Get a specific consumer energy source preference.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Consumer or Retailer
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
- * **Upsert a specific consumer energy source preference.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Consumer or Retailer
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