green_link_api 1.15.2 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _Status619Enum = _interopRequireDefault(require("./Status619Enum"));
8
+ var _Status90bEnum = _interopRequireDefault(require("./Status90bEnum"));
9
9
  var _TypeEnum = _interopRequireDefault(require("./TypeEnum"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
11
  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); }
@@ -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).
@@ -26,22 +26,21 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  *
27
27
  */
28
28
  /**
29
- * The BlockchainTransaction model module.
30
- * @module model/BlockchainTransaction
31
- * @version 1.15.2
29
+ * The BlockchainTransactionTask model module.
30
+ * @module model/BlockchainTransactionTask
31
+ * @version 1.16.0
32
32
  */
33
- var BlockchainTransaction = /*#__PURE__*/function () {
33
+ var BlockchainTransactionTask = /*#__PURE__*/function () {
34
34
  /**
35
- * Constructs a new <code>BlockchainTransaction</code>.
36
- * @alias module:model/BlockchainTransaction
35
+ * Constructs a new <code>BlockchainTransactionTask</code>.
36
+ * @alias module:model/BlockchainTransactionTask
37
37
  * @param tokenIds {Array.<Number>}
38
38
  * @param energyAmounts {Array.<Number>}
39
- * @param status {module:model/Status619Enum}
40
39
  * @param type {module:model/TypeEnum}
41
40
  */
42
- function BlockchainTransaction(tokenIds, energyAmounts, status, type) {
43
- _classCallCheck(this, BlockchainTransaction);
44
- BlockchainTransaction.initialize(this, tokenIds, energyAmounts, status, type);
41
+ function BlockchainTransactionTask(tokenIds, energyAmounts, type) {
42
+ _classCallCheck(this, BlockchainTransactionTask);
43
+ BlockchainTransactionTask.initialize(this, tokenIds, energyAmounts, type);
45
44
  }
46
45
 
47
46
  /**
@@ -49,27 +48,26 @@ var BlockchainTransaction = /*#__PURE__*/function () {
49
48
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
49
  * Only for internal use.
51
50
  */
52
- _createClass(BlockchainTransaction, null, [{
51
+ _createClass(BlockchainTransactionTask, null, [{
53
52
  key: "initialize",
54
- value: function initialize(obj, tokenIds, energyAmounts, status, type) {
53
+ value: function initialize(obj, tokenIds, energyAmounts, type) {
55
54
  obj['token_ids'] = tokenIds;
56
55
  obj['energy_amounts'] = energyAmounts;
57
- obj['status'] = status;
58
56
  obj['type'] = type;
59
57
  }
60
58
 
61
59
  /**
62
- * Constructs a <code>BlockchainTransaction</code> from a plain JavaScript object, optionally creating a new instance.
60
+ * Constructs a <code>BlockchainTransactionTask</code> from a plain JavaScript object, optionally creating a new instance.
63
61
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
62
  * @param {Object} data The plain JavaScript object bearing properties of interest.
65
- * @param {module:model/BlockchainTransaction} obj Optional instance to populate.
66
- * @return {module:model/BlockchainTransaction} The populated <code>BlockchainTransaction</code> instance.
63
+ * @param {module:model/BlockchainTransactionTask} obj Optional instance to populate.
64
+ * @return {module:model/BlockchainTransactionTask} The populated <code>BlockchainTransactionTask</code> instance.
67
65
  */
68
66
  }, {
69
67
  key: "constructFromObject",
70
68
  value: function constructFromObject(data, obj) {
71
69
  if (data) {
72
- obj = obj || new BlockchainTransaction();
70
+ obj = obj || new BlockchainTransactionTask();
73
71
  if (data.hasOwnProperty('id')) {
74
72
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
75
73
  }
@@ -86,7 +84,7 @@ var BlockchainTransaction = /*#__PURE__*/function () {
86
84
  obj['energy_amounts'] = _ApiClient["default"].convertToType(data['energy_amounts'], ['Number']);
87
85
  }
88
86
  if (data.hasOwnProperty('status')) {
89
- obj['status'] = _Status619Enum["default"].constructFromObject(data['status']);
87
+ obj['status'] = _Status90bEnum["default"].constructFromObject(data['status']);
90
88
  }
91
89
  if (data.hasOwnProperty('type')) {
92
90
  obj['type'] = _TypeEnum["default"].constructFromObject(data['type']);
@@ -104,59 +102,59 @@ var BlockchainTransaction = /*#__PURE__*/function () {
104
102
  return obj;
105
103
  }
106
104
  }]);
107
- return BlockchainTransaction;
105
+ return BlockchainTransactionTask;
108
106
  }();
109
107
  /**
110
108
  * @member {String} id
111
109
  */
112
- BlockchainTransaction.prototype['id'] = undefined;
110
+ BlockchainTransactionTask.prototype['id'] = undefined;
113
111
 
114
112
  /**
115
113
  * Production site's blockchain account address.
116
114
  * @member {String} production_site_blockchain_account_address
117
115
  */
118
- BlockchainTransaction.prototype['production_site_blockchain_account_address'] = undefined;
116
+ BlockchainTransactionTask.prototype['production_site_blockchain_account_address'] = undefined;
119
117
 
120
118
  /**
121
119
  * Consuption site's blockchain account address.
122
120
  * @member {String} consumption_site_blockchain_account_address
123
121
  */
124
- BlockchainTransaction.prototype['consumption_site_blockchain_account_address'] = undefined;
122
+ BlockchainTransactionTask.prototype['consumption_site_blockchain_account_address'] = undefined;
125
123
 
126
124
  /**
127
125
  * @member {Array.<Number>} token_ids
128
126
  */
129
- BlockchainTransaction.prototype['token_ids'] = undefined;
127
+ BlockchainTransactionTask.prototype['token_ids'] = undefined;
130
128
 
131
129
  /**
132
130
  * @member {Array.<Number>} energy_amounts
133
131
  */
134
- BlockchainTransaction.prototype['energy_amounts'] = undefined;
132
+ BlockchainTransactionTask.prototype['energy_amounts'] = undefined;
135
133
 
136
134
  /**
137
- * @member {module:model/Status619Enum} status
135
+ * @member {module:model/Status90bEnum} status
138
136
  */
139
- BlockchainTransaction.prototype['status'] = undefined;
137
+ BlockchainTransactionTask.prototype['status'] = undefined;
140
138
 
141
139
  /**
142
140
  * @member {module:model/TypeEnum} type
143
141
  */
144
- BlockchainTransaction.prototype['type'] = undefined;
142
+ BlockchainTransactionTask.prototype['type'] = undefined;
145
143
 
146
144
  /**
147
145
  * Hash of blockchain transaction.
148
146
  * @member {String} hash
149
147
  */
150
- BlockchainTransaction.prototype['hash'] = undefined;
148
+ BlockchainTransactionTask.prototype['hash'] = undefined;
151
149
 
152
150
  /**
153
151
  * @member {Date} created_at
154
152
  */
155
- BlockchainTransaction.prototype['created_at'] = undefined;
153
+ BlockchainTransactionTask.prototype['created_at'] = undefined;
156
154
 
157
155
  /**
158
156
  * @member {Date} updated_at
159
157
  */
160
- BlockchainTransaction.prototype['updated_at'] = undefined;
161
- var _default = BlockchainTransaction;
158
+ BlockchainTransactionTask.prototype['updated_at'] = undefined;
159
+ var _default = BlockchainTransactionTask;
162
160
  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 Consumer model module.
29
29
  * @module model/Consumer
30
- * @version 1.15.2
30
+ * @version 1.16.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.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 ConsumptionDataFileList model module.
28
28
  * @module model/ConsumptionDataFileList
29
- * @version 1.15.2
29
+ * @version 1.16.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.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 ConsumptionDataFromRetailerRequest model module.
28
28
  * @module model/ConsumptionDataFromRetailerRequest
29
- * @version 1.15.2
29
+ * @version 1.16.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.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 ConsumptionDataPointCreate model module.
29
29
  * @module model/ConsumptionDataPointCreate
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var ConsumptionDataPointCreate = /*#__PURE__*/function () {
33
33
  /**
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _BlockchainTransaction = _interopRequireDefault(require("./BlockchainTransaction"));
8
+ var _BlockchainTransactionTask = _interopRequireDefault(require("./BlockchainTransactionTask"));
9
9
  var _Consumer = _interopRequireDefault(require("./Consumer"));
10
10
  var _ConsumptionSite = _interopRequireDefault(require("./ConsumptionSite"));
11
11
  var _ProductionSite = _interopRequireDefault(require("./ProductionSite"));
@@ -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.15.2
24
+ * The version of the OpenAPI document: 1.16.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.15.2
35
+ * @version 1.16.0
36
36
  */
37
37
  var ConsumptionDataPointListOrDetail = /*#__PURE__*/function () {
38
38
  /**
@@ -43,7 +43,7 @@ var ConsumptionDataPointListOrDetail = /*#__PURE__*/function () {
43
43
  * @param retailer {module:model/Retailer}
44
44
  * @param consumptionStart {Date}
45
45
  * @param consumptionEnd {Date}
46
- * @param tx {module:model/BlockchainTransaction}
46
+ * @param tx {module:model/BlockchainTransactionTask}
47
47
  * @param minterContract {module:model/SmartContract}
48
48
  */
49
49
  function ConsumptionDataPointListOrDetail(consumptionSite, consumer, retailer, consumptionStart, consumptionEnd, tx, minterContract) {
@@ -132,7 +132,7 @@ var ConsumptionDataPointListOrDetail = /*#__PURE__*/function () {
132
132
  obj['amount_consumed'] = _ApiClient["default"].convertToType(data['amount_consumed'], 'Number');
133
133
  }
134
134
  if (data.hasOwnProperty('tx')) {
135
- obj['tx'] = _BlockchainTransaction["default"].constructFromObject(data['tx']);
135
+ obj['tx'] = _BlockchainTransactionTask["default"].constructFromObject(data['tx']);
136
136
  }
137
137
  if (data.hasOwnProperty('is_settlement_data')) {
138
138
  obj['is_settlement_data'] = _ApiClient["default"].convertToType(data['is_settlement_data'], 'Boolean');
@@ -249,7 +249,7 @@ ConsumptionDataPointListOrDetail.prototype['consumption_end'] = undefined;
249
249
  ConsumptionDataPointListOrDetail.prototype['amount_consumed'] = undefined;
250
250
 
251
251
  /**
252
- * @member {module:model/BlockchainTransaction} tx
252
+ * @member {module:model/BlockchainTransactionTask} tx
253
253
  */
254
254
  ConsumptionDataPointListOrDetail.prototype['tx'] = undefined;
255
255
 
@@ -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 ConsumptionDataPointUpdate model module.
29
29
  * @module model/ConsumptionDataPointUpdate
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var ConsumptionDataPointUpdate = /*#__PURE__*/function () {
33
33
  /**
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Consumer = _interopRequireDefault(require("./Consumer"));
9
- var _ImportRequestStatusEnum = _interopRequireDefault(require("./ImportRequestStatusEnum"));
9
+ var _Status90bEnum = _interopRequireDefault(require("./Status90bEnum"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
11
  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); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -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).
@@ -26,22 +26,22 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  *
27
27
  */
28
28
  /**
29
- * The ImportRequest model module.
30
- * @module model/ImportRequest
31
- * @version 1.15.2
29
+ * The ConsumptionDataTask model module.
30
+ * @module model/ConsumptionDataTask
31
+ * @version 1.16.0
32
32
  */
33
- var ImportRequest = /*#__PURE__*/function () {
33
+ var ConsumptionDataTask = /*#__PURE__*/function () {
34
34
  /**
35
- * Constructs a new <code>ImportRequest</code>.
36
- * @alias module:model/ImportRequest
35
+ * Constructs a new <code>ConsumptionDataTask</code>.
36
+ * @alias module:model/ConsumptionDataTask
37
37
  * @param consumptionStart {Date}
38
38
  * @param consumptionEnd {Date}
39
39
  * @param consumer {module:model/Consumer}
40
40
  * @param username {String}
41
41
  */
42
- function ImportRequest(consumptionStart, consumptionEnd, consumer, username) {
43
- _classCallCheck(this, ImportRequest);
44
- ImportRequest.initialize(this, consumptionStart, consumptionEnd, consumer, username);
42
+ function ConsumptionDataTask(consumptionStart, consumptionEnd, consumer, username) {
43
+ _classCallCheck(this, ConsumptionDataTask);
44
+ ConsumptionDataTask.initialize(this, consumptionStart, consumptionEnd, consumer, username);
45
45
  }
46
46
 
47
47
  /**
@@ -49,7 +49,7 @@ var ImportRequest = /*#__PURE__*/function () {
49
49
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
50
  * Only for internal use.
51
51
  */
52
- _createClass(ImportRequest, null, [{
52
+ _createClass(ConsumptionDataTask, null, [{
53
53
  key: "initialize",
54
54
  value: function initialize(obj, consumptionStart, consumptionEnd, consumer, username) {
55
55
  obj['consumption_start'] = consumptionStart;
@@ -59,17 +59,17 @@ var ImportRequest = /*#__PURE__*/function () {
59
59
  }
60
60
 
61
61
  /**
62
- * Constructs a <code>ImportRequest</code> from a plain JavaScript object, optionally creating a new instance.
62
+ * Constructs a <code>ConsumptionDataTask</code> from a plain JavaScript object, optionally creating a new instance.
63
63
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
64
  * @param {Object} data The plain JavaScript object bearing properties of interest.
65
- * @param {module:model/ImportRequest} obj Optional instance to populate.
66
- * @return {module:model/ImportRequest} The populated <code>ImportRequest</code> instance.
65
+ * @param {module:model/ConsumptionDataTask} obj Optional instance to populate.
66
+ * @return {module:model/ConsumptionDataTask} The populated <code>ConsumptionDataTask</code> instance.
67
67
  */
68
68
  }, {
69
69
  key: "constructFromObject",
70
70
  value: function constructFromObject(data, obj) {
71
71
  if (data) {
72
- obj = obj || new ImportRequest();
72
+ obj = obj || new ConsumptionDataTask();
73
73
  if (data.hasOwnProperty('id')) {
74
74
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
75
75
  }
@@ -83,7 +83,7 @@ var ImportRequest = /*#__PURE__*/function () {
83
83
  obj['consumer'] = _Consumer["default"].constructFromObject(data['consumer']);
84
84
  }
85
85
  if (data.hasOwnProperty('status')) {
86
- obj['status'] = _ApiClient["default"].convertToType(data['status'], _ImportRequestStatusEnum["default"]);
86
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status90bEnum["default"]);
87
87
  }
88
88
  if (data.hasOwnProperty('username')) {
89
89
  obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
@@ -113,76 +113,76 @@ var ImportRequest = /*#__PURE__*/function () {
113
113
  return obj;
114
114
  }
115
115
  }]);
116
- return ImportRequest;
116
+ return ConsumptionDataTask;
117
117
  }();
118
118
  /**
119
119
  * @member {String} id
120
120
  */
121
- ImportRequest.prototype['id'] = undefined;
121
+ ConsumptionDataTask.prototype['id'] = undefined;
122
122
 
123
123
  /**
124
124
  * @member {Date} consumption_start
125
125
  */
126
- ImportRequest.prototype['consumption_start'] = undefined;
126
+ ConsumptionDataTask.prototype['consumption_start'] = undefined;
127
127
 
128
128
  /**
129
129
  * @member {Date} consumption_end
130
130
  */
131
- ImportRequest.prototype['consumption_end'] = undefined;
131
+ ConsumptionDataTask.prototype['consumption_end'] = undefined;
132
132
 
133
133
  /**
134
134
  * @member {module:model/Consumer} consumer
135
135
  */
136
- ImportRequest.prototype['consumer'] = undefined;
136
+ ConsumptionDataTask.prototype['consumer'] = undefined;
137
137
 
138
138
  /**
139
- * @member {module:model/ImportRequestStatusEnum} status
139
+ * @member {module:model/Status90bEnum} status
140
140
  */
141
- ImportRequest.prototype['status'] = undefined;
141
+ ConsumptionDataTask.prototype['status'] = undefined;
142
142
 
143
143
  /**
144
144
  * @member {String} username
145
145
  */
146
- ImportRequest.prototype['username'] = undefined;
146
+ ConsumptionDataTask.prototype['username'] = undefined;
147
147
 
148
148
  /**
149
149
  * value should be in Watt.
150
150
  * @member {Number} total_amount_consumed
151
151
  */
152
- ImportRequest.prototype['total_amount_consumed'] = undefined;
152
+ ConsumptionDataTask.prototype['total_amount_consumed'] = undefined;
153
153
 
154
154
  /**
155
155
  * number of retries for failed requests
156
156
  * @member {Number} no_of_attempts
157
157
  */
158
- ImportRequest.prototype['no_of_attempts'] = undefined;
158
+ ConsumptionDataTask.prototype['no_of_attempts'] = undefined;
159
159
 
160
160
  /**
161
161
  * number of consumption sites in request
162
162
  * @member {Number} no_of_sites_requested
163
163
  */
164
- ImportRequest.prototype['no_of_sites_requested'] = undefined;
164
+ ConsumptionDataTask.prototype['no_of_sites_requested'] = undefined;
165
165
 
166
166
  /**
167
167
  * number of consumptions sites completed
168
168
  * @member {Number} no_of_sites_completed
169
169
  */
170
- ImportRequest.prototype['no_of_sites_completed'] = undefined;
170
+ ConsumptionDataTask.prototype['no_of_sites_completed'] = undefined;
171
171
 
172
172
  /**
173
173
  * percentage of completion
174
174
  * @member {Number} percentage_of_completion
175
175
  */
176
- ImportRequest.prototype['percentage_of_completion'] = undefined;
176
+ ConsumptionDataTask.prototype['percentage_of_completion'] = undefined;
177
177
 
178
178
  /**
179
179
  * @member {Date} created_at
180
180
  */
181
- ImportRequest.prototype['created_at'] = undefined;
181
+ ConsumptionDataTask.prototype['created_at'] = undefined;
182
182
 
183
183
  /**
184
184
  * @member {Date} updated_at
185
185
  */
186
- ImportRequest.prototype['updated_at'] = undefined;
187
- var _default = ImportRequest;
186
+ ConsumptionDataTask.prototype['updated_at'] = undefined;
187
+ var _default = ConsumptionDataTask;
188
188
  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 ConsumptionSite model module.
29
29
  * @module model/ConsumptionSite
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var ConsumptionSite = /*#__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 ConsumptionSiteContract model module.
29
29
  * @module model/ConsumptionSiteContract
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var ConsumptionSiteContract = /*#__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 ConsumptionSiteContractImport model module.
28
28
  * @module model/ConsumptionSiteContractImport
29
- * @version 1.15.2
29
+ * @version 1.16.0
30
30
  */
31
31
  var ConsumptionSiteContractImport = /*#__PURE__*/function () {
32
32
  /**