green_link_api 1.12.0 → 1.13.0

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
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  * GreenLink API
31
31
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
32
32
  *
33
- * The version of the OpenAPI document: 1.12.0
33
+ * The version of the OpenAPI document: 1.13.0
34
34
  *
35
35
  *
36
36
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -41,7 +41,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
41
41
  /**
42
42
  * Organizations service.
43
43
  * @module api/OrganizationsApi
44
- * @version 1.12.0
44
+ * @version 1.13.0
45
45
  */
46
46
  var OrganizationsApi = /*#__PURE__*/function () {
47
47
  /**
@@ -65,7 +65,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
65
65
  */
66
66
 
67
67
  /**
68
- * **Create a specific consumer.** 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**: Retailer
68
+ * A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
69
69
  * @param {module:model/Consumer} consumer
70
70
  * @param {module:api/OrganizationsApi~organizationsConsumersCreateCallback} callback The callback function, accepting three arguments: error, data, response
71
71
  * data is of type: {@link module:model/Consumer}
@@ -98,7 +98,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
98
98
  */
99
99
 
100
100
  /**
101
- * **Delete a specific consumer.** 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
101
+ * A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
102
102
  * @param {String} id A UUID string identifying this consumer.
103
103
  * @param {module:api/OrganizationsApi~organizationsConsumersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
104
104
  */
@@ -132,7 +132,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
132
132
  */
133
133
 
134
134
  /**
135
- * **List all consumers 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
135
+ * A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
136
136
  * @param {Object} opts Optional parameters
137
137
  * @param {String} opts.blockchainAccountAddress
138
138
  * @param {String} opts.city
@@ -191,7 +191,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
191
191
  */
192
192
 
193
193
  /**
194
- * **Update a specific consumer.** 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
194
+ * A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
195
195
  * @param {String} id A UUID string identifying this consumer.
196
196
  * @param {Object} opts Optional parameters
197
197
  * @param {module:model/PatchedConsumer} opts.patchedConsumer
@@ -229,7 +229,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
229
229
  */
230
230
 
231
231
  /**
232
- * **Get a specific consumer.** 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
232
+ * A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
233
233
  * @param {String} id A UUID string identifying this consumer.
234
234
  * @param {module:api/OrganizationsApi~organizationsConsumersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
235
235
  * data is of type: {@link module:model/Consumer}
@@ -264,7 +264,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
264
264
  */
265
265
 
266
266
  /**
267
- * **Upsert a specific consumer.** 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
267
+ * A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
268
268
  * @param {String} id A UUID string identifying this consumer.
269
269
  * @param {module:model/Consumer} consumer
270
270
  * @param {module:api/OrganizationsApi~organizationsConsumersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
@@ -304,7 +304,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
304
304
  */
305
305
 
306
306
  /**
307
- * **Create a specific grid operator.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
307
+ * A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
308
308
  * @param {module:model/GridOperator} gridOperator
309
309
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsCreateCallback} callback The callback function, accepting three arguments: error, data, response
310
310
  * data is of type: {@link module:model/GridOperator}
@@ -337,7 +337,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
337
337
  */
338
338
 
339
339
  /**
340
- * **Delete a specific grid operator.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Superuser
340
+ * A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
341
341
  * @param {String} id A UUID string identifying this grid operator.
342
342
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsDestroyCallback} callback The callback function, accepting three arguments: error, data, response
343
343
  */
@@ -371,7 +371,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
371
371
  */
372
372
 
373
373
  /**
374
- * **List all grid operators related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
374
+ * A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
375
375
  * @param {Object} opts Optional parameters
376
376
  * @param {String} opts.blockchainAccountAddress
377
377
  * @param {String} opts.city
@@ -384,6 +384,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
384
384
  * @param {String} opts.location
385
385
  * @param {String} opts.name
386
386
  * @param {Number} opts.offset The initial index from which to return the results.
387
+ * @param {String} opts.ordering Which field to use when ordering the results.
387
388
  * @param {Date} opts.updatedAt
388
389
  * @param {String} opts.websiteUrl
389
390
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsListCallback} callback The callback function, accepting three arguments: error, data, response
@@ -407,6 +408,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
407
408
  'location': opts['location'],
408
409
  'name': opts['name'],
409
410
  'offset': opts['offset'],
411
+ 'ordering': opts['ordering'],
410
412
  'updated_at': opts['updatedAt'],
411
413
  'website_url': opts['websiteUrl']
412
414
  };
@@ -428,7 +430,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
428
430
  */
429
431
 
430
432
  /**
431
- * **Update a specific grid operator.** 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**: GridOperator
433
+ * A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
432
434
  * @param {String} id A UUID string identifying this grid operator.
433
435
  * @param {Object} opts Optional parameters
434
436
  * @param {module:model/PatchedGridOperator} opts.patchedGridOperator
@@ -466,7 +468,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
466
468
  */
467
469
 
468
470
  /**
469
- * **Get a specific grid operator.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
471
+ * A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
470
472
  * @param {String} id A UUID string identifying this grid operator.
471
473
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
472
474
  * data is of type: {@link module:model/GridOperator}
@@ -501,7 +503,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
501
503
  */
502
504
 
503
505
  /**
504
- * **Upsert a specific grid operator.** 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**: GridOperator
506
+ * A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
505
507
  * @param {String} id A UUID string identifying this grid operator.
506
508
  * @param {module:model/GridOperator} gridOperator
507
509
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsUpdateCallback} callback The callback function, accepting three arguments: error, data, response
@@ -541,7 +543,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
541
543
  */
542
544
 
543
545
  /**
544
- * **Create a specific issuer.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
546
+ * A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
545
547
  * @param {module:model/Issuer} issuer
546
548
  * @param {module:api/OrganizationsApi~organizationsIssuersCreateCallback} callback The callback function, accepting three arguments: error, data, response
547
549
  * data is of type: {@link module:model/Issuer}
@@ -574,7 +576,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
574
576
  */
575
577
 
576
578
  /**
577
- * **Delete a specific issuer.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Superuser
579
+ * A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
578
580
  * @param {String} id A UUID string identifying this issuer.
579
581
  * @param {module:api/OrganizationsApi~organizationsIssuersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
580
582
  */
@@ -608,7 +610,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
608
610
  */
609
611
 
610
612
  /**
611
- * **List all issuers related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
613
+ * A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
612
614
  * @param {Object} opts Optional parameters
613
615
  * @param {String} opts.blockchainAccountAddress
614
616
  * @param {String} opts.city
@@ -621,6 +623,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
621
623
  * @param {String} opts.location
622
624
  * @param {String} opts.name
623
625
  * @param {Number} opts.offset The initial index from which to return the results.
626
+ * @param {String} opts.ordering Which field to use when ordering the results.
624
627
  * @param {Date} opts.updatedAt
625
628
  * @param {String} opts.websiteUrl
626
629
  * @param {module:api/OrganizationsApi~organizationsIssuersListCallback} callback The callback function, accepting three arguments: error, data, response
@@ -644,6 +647,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
644
647
  'location': opts['location'],
645
648
  'name': opts['name'],
646
649
  'offset': opts['offset'],
650
+ 'ordering': opts['ordering'],
647
651
  'updated_at': opts['updatedAt'],
648
652
  'website_url': opts['websiteUrl']
649
653
  };
@@ -665,7 +669,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
665
669
  */
666
670
 
667
671
  /**
668
- * **Update a specific issuer.** 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**: Issuer
672
+ * A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
669
673
  * @param {String} id A UUID string identifying this issuer.
670
674
  * @param {Object} opts Optional parameters
671
675
  * @param {module:model/PatchedIssuer} opts.patchedIssuer
@@ -703,7 +707,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
703
707
  */
704
708
 
705
709
  /**
706
- * **Get a specific issuer.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
710
+ * A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
707
711
  * @param {String} id A UUID string identifying this issuer.
708
712
  * @param {module:api/OrganizationsApi~organizationsIssuersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
709
713
  * data is of type: {@link module:model/Issuer}
@@ -738,7 +742,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
738
742
  */
739
743
 
740
744
  /**
741
- * **Upsert a specific issuer.** 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**: Issuer
745
+ * A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
742
746
  * @param {String} id A UUID string identifying this issuer.
743
747
  * @param {module:model/Issuer} issuer
744
748
  * @param {module:api/OrganizationsApi~organizationsIssuersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
@@ -778,7 +782,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
778
782
  */
779
783
 
780
784
  /**
781
- * **Create a specific producer.** 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**: Retailer
785
+ * A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
782
786
  * @param {module:model/Producer} producer
783
787
  * @param {module:api/OrganizationsApi~organizationsProducersCreateCallback} callback The callback function, accepting three arguments: error, data, response
784
788
  * data is of type: {@link module:model/Producer}
@@ -811,7 +815,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
811
815
  */
812
816
 
813
817
  /**
814
- * **Delete a specific producer.** 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**: Retailer
818
+ * A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
815
819
  * @param {String} id A UUID string identifying this producer.
816
820
  * @param {module:api/OrganizationsApi~organizationsProducersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
817
821
  */
@@ -845,7 +849,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
845
849
  */
846
850
 
847
851
  /**
848
- * **List all producers 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
852
+ * A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
849
853
  * @param {Object} opts Optional parameters
850
854
  * @param {String} opts.blockchainAccountAddress
851
855
  * @param {String} opts.city
@@ -902,7 +906,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
902
906
  */
903
907
 
904
908
  /**
905
- * **Update a specific producer.** 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 or Retailer
909
+ * A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
906
910
  * @param {String} id A UUID string identifying this producer.
907
911
  * @param {Object} opts Optional parameters
908
912
  * @param {module:model/PatchedProducer} opts.patchedProducer
@@ -940,7 +944,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
940
944
  */
941
945
 
942
946
  /**
943
- * **Get a specific producer.** 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
947
+ * A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
944
948
  * @param {String} id A UUID string identifying this producer.
945
949
  * @param {module:api/OrganizationsApi~organizationsProducersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
946
950
  * data is of type: {@link module:model/Producer}
@@ -975,7 +979,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
975
979
  */
976
980
 
977
981
  /**
978
- * **Upsert a specific producer.** 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 or Retailer
982
+ * A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
979
983
  * @param {String} id A UUID string identifying this producer.
980
984
  * @param {module:model/Producer} producer
981
985
  * @param {module:api/OrganizationsApi~organizationsProducersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
@@ -1015,7 +1019,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1015
1019
  */
1016
1020
 
1017
1021
  /**
1018
- * **Create a specific retailer.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
1022
+ * A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
1019
1023
  * @param {module:model/Retailer} retailer
1020
1024
  * @param {module:api/OrganizationsApi~organizationsRetailersCreateCallback} callback The callback function, accepting three arguments: error, data, response
1021
1025
  * data is of type: {@link module:model/Retailer}
@@ -1048,7 +1052,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1048
1052
  */
1049
1053
 
1050
1054
  /**
1051
- * **Delete a specific retailer.** 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**: Retailer
1055
+ * A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
1052
1056
  * @param {String} id A UUID string identifying this retailer.
1053
1057
  * @param {module:api/OrganizationsApi~organizationsRetailersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
1054
1058
  */
@@ -1082,7 +1086,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1082
1086
  */
1083
1087
 
1084
1088
  /**
1085
- * **List all retailers related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
1089
+ * A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
1086
1090
  * @param {Object} opts Optional parameters
1087
1091
  * @param {String} opts.blockchainAccountAddress
1088
1092
  * @param {String} opts.city
@@ -1139,7 +1143,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1139
1143
  */
1140
1144
 
1141
1145
  /**
1142
- * **Update a specific retailer.** 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**: Retailer
1146
+ * A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
1143
1147
  * @param {String} id A UUID string identifying this retailer.
1144
1148
  * @param {Object} opts Optional parameters
1145
1149
  * @param {module:model/PatchedRetailer} opts.patchedRetailer
@@ -1177,7 +1181,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1177
1181
  */
1178
1182
 
1179
1183
  /**
1180
- * **Get a specific retailer.** 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**: Retailer
1184
+ * A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
1181
1185
  * @param {String} id A UUID string identifying this retailer.
1182
1186
  * @param {module:api/OrganizationsApi~organizationsRetailersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
1183
1187
  * data is of type: {@link module:model/Retailer}
@@ -1212,7 +1216,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1212
1216
  */
1213
1217
 
1214
1218
  /**
1215
- * **Upsert a specific retailer.** 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**: Retailer
1219
+ * A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
1216
1220
  * @param {String} id A UUID string identifying this retailer.
1217
1221
  * @param {module:model/Retailer} retailer
1218
1222
  * @param {module:api/OrganizationsApi~organizationsRetailersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
@@ -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.0
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
  * Schema service.
28
28
  * @module api/SchemaApi
29
- * @version 1.12.0
29
+ * @version 1.13.0
30
30
  */
31
31
  var SchemaApi = /*#__PURE__*/function () {
32
32
  /**
@@ -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.0
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
  * SentryDebug service.
28
28
  * @module api/SentryDebugApi
29
- * @version 1.12.0
29
+ * @version 1.13.0
30
30
  */
31
31
  var SentryDebugApi = /*#__PURE__*/function () {
32
32
  /**
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
23
23
  * GreenLink API
24
24
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
25
25
  *
26
- * The version of the OpenAPI document: 1.12.0
26
+ * The version of the OpenAPI document: 1.13.0
27
27
  *
28
28
  *
29
29
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
34
34
  /**
35
35
  * Users service.
36
36
  * @module api/UsersApi
37
- * @version 1.12.0
37
+ * @version 1.13.0
38
38
  */
39
39
  var UsersApi = /*#__PURE__*/function () {
40
40
  /**
@@ -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.0
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
  * The Activities model module.
28
28
  * @module model/Activities
29
- * @version 1.12.0
29
+ * @version 1.13.0
30
30
  */
31
31
  var Activities = /*#__PURE__*/function () {
32
32
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * GreenLink API
18
18
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
19
  *
20
- * The version of the OpenAPI document: 1.12.0
20
+ * The version of the OpenAPI document: 1.13.0
21
21
  *
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * The BlockchainTransaction model module.
30
30
  * @module model/BlockchainTransaction
31
- * @version 1.12.0
31
+ * @version 1.13.0
32
32
  */
33
33
  var BlockchainTransaction = /*#__PURE__*/function () {
34
34
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The Consumer model module.
29
29
  * @module model/Consumer
30
- * @version 1.12.0
30
+ * @version 1.13.0
31
31
  */
32
32
  var Consumer = /*#__PURE__*/function () {
33
33
  /**
@@ -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.0
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
  * The ConsumptionDataFileList model module.
28
28
  * @module model/ConsumptionDataFileList
29
- * @version 1.12.0
29
+ * @version 1.13.0
30
30
  */
31
31
  var ConsumptionDataFileList = /*#__PURE__*/function () {
32
32
  /**
@@ -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.0
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
  * The ConsumptionDataFromRetailerRequest model module.
28
28
  * @module model/ConsumptionDataFromRetailerRequest
29
- * @version 1.12.0
29
+ * @version 1.13.0
30
30
  */
31
31
  var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
32
32
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The ConsumptionDataPointCreate model module.
29
29
  * @module model/ConsumptionDataPointCreate
30
- * @version 1.12.0
30
+ * @version 1.13.0
31
31
  */
32
32
  var ConsumptionDataPointCreate = /*#__PURE__*/function () {
33
33
  /**
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
21
21
  * GreenLink API
22
22
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
23
23
  *
24
- * The version of the OpenAPI document: 1.12.0
24
+ * The version of the OpenAPI document: 1.13.0
25
25
  *
26
26
  *
27
27
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
32
32
  /**
33
33
  * The ConsumptionDataPointListOrDetail model module.
34
34
  * @module model/ConsumptionDataPointListOrDetail
35
- * @version 1.12.0
35
+ * @version 1.13.0
36
36
  */
37
37
  var ConsumptionDataPointListOrDetail = /*#__PURE__*/function () {
38
38
  /**