green_link_api 1.15.2 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/README.md +22 -31
  2. package/dist/ApiClient.js +4 -8
  3. package/dist/api/BlockchainApi.js +8 -8
  4. package/dist/api/EnergyAssetsApi.js +22 -22
  5. package/dist/api/EnergyDataApi.js +82 -164
  6. package/dist/api/HealthCheckApi.js +3 -3
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +3 -3
  8. package/dist/api/LocationsApi.js +10 -10
  9. package/dist/api/LogsApi.js +129 -60
  10. package/dist/api/MaintenanceCheckApi.js +3 -3
  11. package/dist/api/OrganizationprofilesApi.js +8 -8
  12. package/dist/api/OrganizationsApi.js +32 -32
  13. package/dist/api/SchemaApi.js +3 -3
  14. package/dist/api/SentryDebugApi.js +3 -3
  15. package/dist/api/UsersApi.js +10 -10
  16. package/dist/index.js +73 -73
  17. package/dist/model/Activities.js +79 -26
  18. package/dist/model/ActivitiesStatusEnum.js +60 -0
  19. package/dist/model/{BlockchainTransaction.js → BlockchainTransactionTask.js} +31 -33
  20. package/dist/model/Consumer.js +2 -2
  21. package/dist/model/ConsumptionDataFileList.js +2 -2
  22. package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
  23. package/dist/model/ConsumptionDataPointCreate.js +2 -2
  24. package/dist/model/ConsumptionDataPointListOrDetail.js +6 -6
  25. package/dist/model/ConsumptionDataPointUpdate.js +2 -2
  26. package/dist/model/{ImportRequest.js → ConsumptionDataTask.js} +33 -33
  27. package/dist/model/ConsumptionSite.js +2 -2
  28. package/dist/model/ConsumptionSiteContract.js +2 -2
  29. package/dist/model/ConsumptionSiteContractImport.js +2 -2
  30. package/dist/model/ConsumptionSiteCreate.js +2 -2
  31. package/dist/model/ConsumptionSiteFileUpload.js +2 -2
  32. package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
  33. package/dist/model/ContentTypeEnum.js +1 -1
  34. package/dist/model/EacTypeEnum.js +1 -1
  35. package/dist/model/EmissionFactor.js +2 -2
  36. package/dist/model/EnergySourceEnum.js +1 -1
  37. package/dist/model/EnergySourcePreference.js +2 -2
  38. package/dist/model/{Status619Enum.js → EventEnum.js} +21 -16
  39. package/dist/model/GetFromEpias.js +2 -2
  40. package/dist/model/GridOperator.js +2 -2
  41. package/dist/model/{ImportedEnergyDataPoint.js → ImportedConsumptionDataPoint.js} +26 -26
  42. package/dist/model/Issuer.js +2 -2
  43. package/dist/model/Location.js +2 -2
  44. package/dist/model/MatchTypeEnum.js +1 -1
  45. package/dist/model/{MatchedEnergyDataPoint.js → MatchedDataPoint.js} +33 -33
  46. package/dist/model/{MatchRequest.js → MatchedDataTask.js} +42 -42
  47. package/dist/model/MatchingConsumerRequest.js +2 -2
  48. package/dist/model/MatchingSiteRequest.js +2 -2
  49. package/dist/model/NullEnum.js +55 -0
  50. package/dist/model/OrganizationTypeEnum.js +1 -1
  51. package/dist/model/PaginatedActivitiesList.js +2 -2
  52. package/dist/model/PaginatedConsumerList.js +2 -2
  53. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
  54. package/dist/model/{PaginatedUploadedFileList.js → PaginatedConsumptionDataTaskList.js} +24 -24
  55. package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
  56. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
  57. package/dist/model/PaginatedEmissionFactorList.js +2 -2
  58. package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
  59. package/dist/model/PaginatedGridOperatorList.js +2 -2
  60. package/dist/model/PaginatedImportedConsumptionDataPointList.js +101 -0
  61. package/dist/model/PaginatedIssuerList.js +2 -2
  62. package/dist/model/PaginatedLocationList.js +2 -2
  63. package/dist/model/{PaginatedImportRequestRawList.js → PaginatedMatchedDataPointList.js} +24 -24
  64. package/dist/model/{PaginatedImportRequestList.js → PaginatedMatchedDataTaskList.js} +24 -24
  65. package/dist/model/PaginatedProducerList.js +2 -2
  66. package/dist/model/{PaginatedImportedEnergyDataPointList.js → PaginatedProductionDataFromEpiasTaskList.js} +24 -24
  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/{PaginatedMatchRequestList.js → PaginatedUploadedFileTaskList.js} +24 -24
  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 +2 -2
  80. package/dist/model/PatchedGridOperator.js +2 -2
  81. package/dist/model/PatchedIssuer.js +2 -2
  82. package/dist/model/PatchedLocation.js +2 -2
  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 → ProductionDataFromEpiasTask.js} +30 -30
  94. package/dist/model/ProductionDataPointCreate.js +2 -2
  95. package/dist/model/ProductionDataPointListOrDetail.js +6 -6
  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/{ImportRequestStatusEnum.js → Status90bEnum.js} +15 -10
  105. package/dist/model/TypeEnum.js +1 -1
  106. package/dist/model/UnprocessedRow.js +2 -2
  107. package/dist/model/UploadedCertificate.js +2 -2
  108. package/dist/model/UploadedCertificateListorDetail.js +2 -2
  109. package/dist/model/{UploadedFile.js → UploadedFileTask.js} +29 -29
  110. package/dist/model/User.js +2 -2
  111. package/dist/model/UserDetail.js +2 -2
  112. package/package.json +1 -1
  113. package/dist/model/ImportRequestRaw.js +0 -120
  114. package/dist/model/PaginatedMatchedEnergyDataPointList.js +0 -101
  115. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +0 -101
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedConsumptionSite model module.
29
29
  * @module model/PatchedConsumptionSite
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedConsumptionSite = /*#__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.15.2
18
+ * The version of the OpenAPI document: 1.16.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 PatchedEmissionFactor model module.
28
28
  * @module model/PatchedEmissionFactor
29
- * @version 1.15.2
29
+ * @version 1.16.0
30
30
  */
31
31
  var PatchedEmissionFactor = /*#__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.15.2
20
+ * The version of the OpenAPI document: 1.16.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 PatchedEnergySourcePreference model module.
30
30
  * @module model/PatchedEnergySourcePreference
31
- * @version 1.15.2
31
+ * @version 1.16.0
32
32
  */
33
33
  var PatchedEnergySourcePreference = /*#__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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedGridOperator model module.
29
29
  * @module model/PatchedGridOperator
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedGridOperator = /*#__PURE__*/function () {
33
33
  /**
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedIssuer model module.
29
29
  * @module model/PatchedIssuer
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedIssuer = /*#__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.15.2
18
+ * The version of the OpenAPI document: 1.16.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 PatchedLocation model module.
28
28
  * @module model/PatchedLocation
29
- * @version 1.15.2
29
+ * @version 1.16.0
30
30
  */
31
31
  var PatchedLocation = /*#__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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedProducer model module.
29
29
  * @module model/PatchedProducer
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedProducer = /*#__PURE__*/function () {
33
33
  /**
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedProductionDataPointUpdate model module.
29
29
  * @module model/PatchedProductionDataPointUpdate
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedProductionDataPointUpdate = /*#__PURE__*/function () {
33
33
  /**
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedProductionSiteUpdate model module.
29
29
  * @module model/PatchedProductionSiteUpdate
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedProductionSiteUpdate = /*#__PURE__*/function () {
33
33
  /**
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedRetailer model module.
29
29
  * @module model/PatchedRetailer
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedRetailer = /*#__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.15.2
18
+ * The version of the OpenAPI document: 1.16.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 PatchedSmartContract model module.
28
28
  * @module model/PatchedSmartContract
29
- * @version 1.15.2
29
+ * @version 1.16.0
30
30
  */
31
31
  var PatchedSmartContract = /*#__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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedUser model module.
29
29
  * @module model/PatchedUser
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedUser = /*#__PURE__*/function () {
33
33
  /**
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedUserDetail model module.
29
29
  * @module model/PatchedUserDetail
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PatchedUserDetail = /*#__PURE__*/function () {
33
33
  /**
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The Producer model module.
29
29
  * @module model/Producer
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var Producer = /*#__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.15.2
18
+ * The version of the OpenAPI document: 1.16.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 ProductionDataFileList model module.
28
28
  * @module model/ProductionDataFileList
29
- * @version 1.15.2
29
+ * @version 1.16.0
30
30
  */
31
31
  var ProductionDataFileList = /*#__PURE__*/function () {
32
32
  /**
@@ -8,7 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Producer = _interopRequireDefault(require("./Producer"));
9
9
  var _ProductionSite = _interopRequireDefault(require("./ProductionSite"));
10
10
  var _Retailer = _interopRequireDefault(require("./Retailer"));
11
- var _Status619Enum = _interopRequireDefault(require("./Status619Enum"));
11
+ var _Status90bEnum = _interopRequireDefault(require("./Status90bEnum"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * GreenLink API
20
20
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
21
21
  *
22
- * The version of the OpenAPI document: 1.15.2
22
+ * The version of the OpenAPI document: 1.16.0
23
23
  *
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,23 +28,23 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  *
29
29
  */
30
30
  /**
31
- * The ProductionDataFromEpiasRequest model module.
32
- * @module model/ProductionDataFromEpiasRequest
33
- * @version 1.15.2
31
+ * The ProductionDataFromEpiasTask model module.
32
+ * @module model/ProductionDataFromEpiasTask
33
+ * @version 1.16.0
34
34
  */
35
- var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
35
+ var ProductionDataFromEpiasTask = /*#__PURE__*/function () {
36
36
  /**
37
- * Constructs a new <code>ProductionDataFromEpiasRequest</code>.
38
- * @alias module:model/ProductionDataFromEpiasRequest
37
+ * Constructs a new <code>ProductionDataFromEpiasTask</code>.
38
+ * @alias module:model/ProductionDataFromEpiasTask
39
39
  * @param producer {module:model/Producer}
40
40
  * @param retailer {module:model/Retailer}
41
41
  * @param productionSite {module:model/ProductionSite}
42
42
  * @param startTime {Date}
43
43
  * @param endTime {Date}
44
44
  */
45
- function ProductionDataFromEpiasRequest(producer, retailer, productionSite, startTime, endTime) {
46
- _classCallCheck(this, ProductionDataFromEpiasRequest);
47
- ProductionDataFromEpiasRequest.initialize(this, producer, retailer, productionSite, startTime, endTime);
45
+ function ProductionDataFromEpiasTask(producer, retailer, productionSite, startTime, endTime) {
46
+ _classCallCheck(this, ProductionDataFromEpiasTask);
47
+ ProductionDataFromEpiasTask.initialize(this, producer, retailer, productionSite, startTime, endTime);
48
48
  }
49
49
 
50
50
  /**
@@ -52,7 +52,7 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
52
52
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
53
53
  * Only for internal use.
54
54
  */
55
- _createClass(ProductionDataFromEpiasRequest, null, [{
55
+ _createClass(ProductionDataFromEpiasTask, null, [{
56
56
  key: "initialize",
57
57
  value: function initialize(obj, producer, retailer, productionSite, startTime, endTime) {
58
58
  obj['producer'] = producer;
@@ -63,17 +63,17 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
63
63
  }
64
64
 
65
65
  /**
66
- * Constructs a <code>ProductionDataFromEpiasRequest</code> from a plain JavaScript object, optionally creating a new instance.
66
+ * Constructs a <code>ProductionDataFromEpiasTask</code> from a plain JavaScript object, optionally creating a new instance.
67
67
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
68
68
  * @param {Object} data The plain JavaScript object bearing properties of interest.
69
- * @param {module:model/ProductionDataFromEpiasRequest} obj Optional instance to populate.
70
- * @return {module:model/ProductionDataFromEpiasRequest} The populated <code>ProductionDataFromEpiasRequest</code> instance.
69
+ * @param {module:model/ProductionDataFromEpiasTask} obj Optional instance to populate.
70
+ * @return {module:model/ProductionDataFromEpiasTask} The populated <code>ProductionDataFromEpiasTask</code> instance.
71
71
  */
72
72
  }, {
73
73
  key: "constructFromObject",
74
74
  value: function constructFromObject(data, obj) {
75
75
  if (data) {
76
- obj = obj || new ProductionDataFromEpiasRequest();
76
+ obj = obj || new ProductionDataFromEpiasTask();
77
77
  if (data.hasOwnProperty('id')) {
78
78
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
79
79
  }
@@ -87,7 +87,7 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
87
87
  obj['production_site'] = _ProductionSite["default"].constructFromObject(data['production_site']);
88
88
  }
89
89
  if (data.hasOwnProperty('status')) {
90
- obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status619Enum["default"]);
90
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status90bEnum["default"]);
91
91
  }
92
92
  if (data.hasOwnProperty('start_time')) {
93
93
  obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
@@ -105,52 +105,52 @@ var ProductionDataFromEpiasRequest = /*#__PURE__*/function () {
105
105
  return obj;
106
106
  }
107
107
  }]);
108
- return ProductionDataFromEpiasRequest;
108
+ return ProductionDataFromEpiasTask;
109
109
  }();
110
110
  /**
111
111
  * @member {String} id
112
112
  */
113
- ProductionDataFromEpiasRequest.prototype['id'] = undefined;
113
+ ProductionDataFromEpiasTask.prototype['id'] = undefined;
114
114
 
115
115
  /**
116
116
  * @member {module:model/Producer} producer
117
117
  */
118
- ProductionDataFromEpiasRequest.prototype['producer'] = undefined;
118
+ ProductionDataFromEpiasTask.prototype['producer'] = undefined;
119
119
 
120
120
  /**
121
121
  * @member {module:model/Retailer} retailer
122
122
  */
123
- ProductionDataFromEpiasRequest.prototype['retailer'] = undefined;
123
+ ProductionDataFromEpiasTask.prototype['retailer'] = undefined;
124
124
 
125
125
  /**
126
126
  * @member {module:model/ProductionSite} production_site
127
127
  */
128
- ProductionDataFromEpiasRequest.prototype['production_site'] = undefined;
128
+ ProductionDataFromEpiasTask.prototype['production_site'] = undefined;
129
129
 
130
130
  /**
131
- * Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `unstarted` - unstarted * `started` - started * `finished` - finished
132
- * @member {module:model/Status619Enum} status
131
+ * Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
132
+ * @member {module:model/Status90bEnum} status
133
133
  */
134
- ProductionDataFromEpiasRequest.prototype['status'] = undefined;
134
+ ProductionDataFromEpiasTask.prototype['status'] = undefined;
135
135
 
136
136
  /**
137
137
  * @member {Date} start_time
138
138
  */
139
- ProductionDataFromEpiasRequest.prototype['start_time'] = undefined;
139
+ ProductionDataFromEpiasTask.prototype['start_time'] = undefined;
140
140
 
141
141
  /**
142
142
  * @member {Date} end_time
143
143
  */
144
- ProductionDataFromEpiasRequest.prototype['end_time'] = undefined;
144
+ ProductionDataFromEpiasTask.prototype['end_time'] = undefined;
145
145
 
146
146
  /**
147
147
  * @member {Date} created_at
148
148
  */
149
- ProductionDataFromEpiasRequest.prototype['created_at'] = undefined;
149
+ ProductionDataFromEpiasTask.prototype['created_at'] = undefined;
150
150
 
151
151
  /**
152
152
  * @member {Date} updated_at
153
153
  */
154
- ProductionDataFromEpiasRequest.prototype['updated_at'] = undefined;
155
- var _default = ProductionDataFromEpiasRequest;
154
+ ProductionDataFromEpiasTask.prototype['updated_at'] = undefined;
155
+ var _default = ProductionDataFromEpiasTask;
156
156
  exports["default"] = _default;
@@ -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.15.2
19
+ * The version of the OpenAPI document: 1.16.0
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The ProductionDataPointCreate model module.
29
29
  * @module model/ProductionDataPointCreate
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var ProductionDataPointCreate = /*#__PURE__*/function () {
33
33
  /**