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
@@ -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 _UploadedFile = _interopRequireDefault(require("./UploadedFile"));
8
+ var _ConsumptionDataTask = _interopRequireDefault(require("./ConsumptionDataTask"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
10
  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); }
11
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -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).
@@ -25,18 +25,18 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
25
25
  *
26
26
  */
27
27
  /**
28
- * The PaginatedUploadedFileList model module.
29
- * @module model/PaginatedUploadedFileList
30
- * @version 1.15.2
28
+ * The PaginatedConsumptionDataTaskList model module.
29
+ * @module model/PaginatedConsumptionDataTaskList
30
+ * @version 1.16.0
31
31
  */
32
- var PaginatedUploadedFileList = /*#__PURE__*/function () {
32
+ var PaginatedConsumptionDataTaskList = /*#__PURE__*/function () {
33
33
  /**
34
- * Constructs a new <code>PaginatedUploadedFileList</code>.
35
- * @alias module:model/PaginatedUploadedFileList
34
+ * Constructs a new <code>PaginatedConsumptionDataTaskList</code>.
35
+ * @alias module:model/PaginatedConsumptionDataTaskList
36
36
  */
37
- function PaginatedUploadedFileList() {
38
- _classCallCheck(this, PaginatedUploadedFileList);
39
- PaginatedUploadedFileList.initialize(this);
37
+ function PaginatedConsumptionDataTaskList() {
38
+ _classCallCheck(this, PaginatedConsumptionDataTaskList);
39
+ PaginatedConsumptionDataTaskList.initialize(this);
40
40
  }
41
41
 
42
42
  /**
@@ -44,22 +44,22 @@ var PaginatedUploadedFileList = /*#__PURE__*/function () {
44
44
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
45
  * Only for internal use.
46
46
  */
47
- _createClass(PaginatedUploadedFileList, null, [{
47
+ _createClass(PaginatedConsumptionDataTaskList, null, [{
48
48
  key: "initialize",
49
49
  value: function initialize(obj) {}
50
50
 
51
51
  /**
52
- * Constructs a <code>PaginatedUploadedFileList</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Constructs a <code>PaginatedConsumptionDataTaskList</code> from a plain JavaScript object, optionally creating a new instance.
53
53
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
54
  * @param {Object} data The plain JavaScript object bearing properties of interest.
55
- * @param {module:model/PaginatedUploadedFileList} obj Optional instance to populate.
56
- * @return {module:model/PaginatedUploadedFileList} The populated <code>PaginatedUploadedFileList</code> instance.
55
+ * @param {module:model/PaginatedConsumptionDataTaskList} obj Optional instance to populate.
56
+ * @return {module:model/PaginatedConsumptionDataTaskList} The populated <code>PaginatedConsumptionDataTaskList</code> instance.
57
57
  */
58
58
  }, {
59
59
  key: "constructFromObject",
60
60
  value: function constructFromObject(data, obj) {
61
61
  if (data) {
62
- obj = obj || new PaginatedUploadedFileList();
62
+ obj = obj || new PaginatedConsumptionDataTaskList();
63
63
  if (data.hasOwnProperty('count')) {
64
64
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
65
65
  }
@@ -70,32 +70,32 @@ var PaginatedUploadedFileList = /*#__PURE__*/function () {
70
70
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
71
71
  }
72
72
  if (data.hasOwnProperty('results')) {
73
- obj['results'] = _ApiClient["default"].convertToType(data['results'], [_UploadedFile["default"]]);
73
+ obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ConsumptionDataTask["default"]]);
74
74
  }
75
75
  }
76
76
  return obj;
77
77
  }
78
78
  }]);
79
- return PaginatedUploadedFileList;
79
+ return PaginatedConsumptionDataTaskList;
80
80
  }();
81
81
  /**
82
82
  * @member {Number} count
83
83
  */
84
- PaginatedUploadedFileList.prototype['count'] = undefined;
84
+ PaginatedConsumptionDataTaskList.prototype['count'] = undefined;
85
85
 
86
86
  /**
87
87
  * @member {String} next
88
88
  */
89
- PaginatedUploadedFileList.prototype['next'] = undefined;
89
+ PaginatedConsumptionDataTaskList.prototype['next'] = undefined;
90
90
 
91
91
  /**
92
92
  * @member {String} previous
93
93
  */
94
- PaginatedUploadedFileList.prototype['previous'] = undefined;
94
+ PaginatedConsumptionDataTaskList.prototype['previous'] = undefined;
95
95
 
96
96
  /**
97
- * @member {Array.<module:model/UploadedFile>} results
97
+ * @member {Array.<module:model/ConsumptionDataTask>} results
98
98
  */
99
- PaginatedUploadedFileList.prototype['results'] = undefined;
100
- var _default = PaginatedUploadedFileList;
99
+ PaginatedConsumptionDataTaskList.prototype['results'] = undefined;
100
+ var _default = PaginatedConsumptionDataTaskList;
101
101
  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 PaginatedConsumptionSiteContractList model module.
29
29
  * @module model/PaginatedConsumptionSiteContractList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedConsumptionSiteContractList = /*#__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 PaginatedConsumptionSiteListOrDetailList model module.
29
29
  * @module model/PaginatedConsumptionSiteListOrDetailList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedConsumptionSiteListOrDetailList = /*#__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 PaginatedEmissionFactorList model module.
29
29
  * @module model/PaginatedEmissionFactorList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedEmissionFactorList = /*#__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 PaginatedEnergySourcePreferenceList model module.
29
29
  * @module model/PaginatedEnergySourcePreferenceList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedEnergySourcePreferenceList = /*#__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 PaginatedGridOperatorList model module.
29
29
  * @module model/PaginatedGridOperatorList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedGridOperatorList = /*#__PURE__*/function () {
33
33
  /**
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _ImportedConsumptionDataPoint = _interopRequireDefault(require("./ImportedConsumptionDataPoint"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ 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); }
11
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
13
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
+ * GreenLink API
17
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
+ *
19
+ * The version of the OpenAPI document: 1.16.0
20
+ *
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * The PaginatedImportedConsumptionDataPointList model module.
29
+ * @module model/PaginatedImportedConsumptionDataPointList
30
+ * @version 1.16.0
31
+ */
32
+ var PaginatedImportedConsumptionDataPointList = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new <code>PaginatedImportedConsumptionDataPointList</code>.
35
+ * @alias module:model/PaginatedImportedConsumptionDataPointList
36
+ */
37
+ function PaginatedImportedConsumptionDataPointList() {
38
+ _classCallCheck(this, PaginatedImportedConsumptionDataPointList);
39
+ PaginatedImportedConsumptionDataPointList.initialize(this);
40
+ }
41
+
42
+ /**
43
+ * Initializes the fields of this object.
44
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
+ * Only for internal use.
46
+ */
47
+ _createClass(PaginatedImportedConsumptionDataPointList, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>PaginatedImportedConsumptionDataPointList</code> from a plain JavaScript object, optionally creating a new instance.
53
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
55
+ * @param {module:model/PaginatedImportedConsumptionDataPointList} obj Optional instance to populate.
56
+ * @return {module:model/PaginatedImportedConsumptionDataPointList} The populated <code>PaginatedImportedConsumptionDataPointList</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new PaginatedImportedConsumptionDataPointList();
63
+ if (data.hasOwnProperty('count')) {
64
+ obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
65
+ }
66
+ if (data.hasOwnProperty('next')) {
67
+ obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('previous')) {
70
+ obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('results')) {
73
+ obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ImportedConsumptionDataPoint["default"]]);
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+ }]);
79
+ return PaginatedImportedConsumptionDataPointList;
80
+ }();
81
+ /**
82
+ * @member {Number} count
83
+ */
84
+ PaginatedImportedConsumptionDataPointList.prototype['count'] = undefined;
85
+
86
+ /**
87
+ * @member {String} next
88
+ */
89
+ PaginatedImportedConsumptionDataPointList.prototype['next'] = undefined;
90
+
91
+ /**
92
+ * @member {String} previous
93
+ */
94
+ PaginatedImportedConsumptionDataPointList.prototype['previous'] = undefined;
95
+
96
+ /**
97
+ * @member {Array.<module:model/ImportedConsumptionDataPoint>} results
98
+ */
99
+ PaginatedImportedConsumptionDataPointList.prototype['results'] = undefined;
100
+ var _default = PaginatedImportedConsumptionDataPointList;
101
+ 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 PaginatedIssuerList model module.
29
29
  * @module model/PaginatedIssuerList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedIssuerList = /*#__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 PaginatedLocationList model module.
29
29
  * @module model/PaginatedLocationList
30
- * @version 1.15.2
30
+ * @version 1.16.0
31
31
  */
32
32
  var PaginatedLocationList = /*#__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 _ImportRequestRaw = _interopRequireDefault(require("./ImportRequestRaw"));
8
+ var _MatchedDataPoint = _interopRequireDefault(require("./MatchedDataPoint"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
10
  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); }
11
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -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).
@@ -25,18 +25,18 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
25
25
  *
26
26
  */
27
27
  /**
28
- * The PaginatedImportRequestRawList model module.
29
- * @module model/PaginatedImportRequestRawList
30
- * @version 1.15.2
28
+ * The PaginatedMatchedDataPointList model module.
29
+ * @module model/PaginatedMatchedDataPointList
30
+ * @version 1.16.0
31
31
  */
32
- var PaginatedImportRequestRawList = /*#__PURE__*/function () {
32
+ var PaginatedMatchedDataPointList = /*#__PURE__*/function () {
33
33
  /**
34
- * Constructs a new <code>PaginatedImportRequestRawList</code>.
35
- * @alias module:model/PaginatedImportRequestRawList
34
+ * Constructs a new <code>PaginatedMatchedDataPointList</code>.
35
+ * @alias module:model/PaginatedMatchedDataPointList
36
36
  */
37
- function PaginatedImportRequestRawList() {
38
- _classCallCheck(this, PaginatedImportRequestRawList);
39
- PaginatedImportRequestRawList.initialize(this);
37
+ function PaginatedMatchedDataPointList() {
38
+ _classCallCheck(this, PaginatedMatchedDataPointList);
39
+ PaginatedMatchedDataPointList.initialize(this);
40
40
  }
41
41
 
42
42
  /**
@@ -44,22 +44,22 @@ var PaginatedImportRequestRawList = /*#__PURE__*/function () {
44
44
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
45
  * Only for internal use.
46
46
  */
47
- _createClass(PaginatedImportRequestRawList, null, [{
47
+ _createClass(PaginatedMatchedDataPointList, null, [{
48
48
  key: "initialize",
49
49
  value: function initialize(obj) {}
50
50
 
51
51
  /**
52
- * Constructs a <code>PaginatedImportRequestRawList</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Constructs a <code>PaginatedMatchedDataPointList</code> from a plain JavaScript object, optionally creating a new instance.
53
53
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
54
  * @param {Object} data The plain JavaScript object bearing properties of interest.
55
- * @param {module:model/PaginatedImportRequestRawList} obj Optional instance to populate.
56
- * @return {module:model/PaginatedImportRequestRawList} The populated <code>PaginatedImportRequestRawList</code> instance.
55
+ * @param {module:model/PaginatedMatchedDataPointList} obj Optional instance to populate.
56
+ * @return {module:model/PaginatedMatchedDataPointList} The populated <code>PaginatedMatchedDataPointList</code> instance.
57
57
  */
58
58
  }, {
59
59
  key: "constructFromObject",
60
60
  value: function constructFromObject(data, obj) {
61
61
  if (data) {
62
- obj = obj || new PaginatedImportRequestRawList();
62
+ obj = obj || new PaginatedMatchedDataPointList();
63
63
  if (data.hasOwnProperty('count')) {
64
64
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
65
65
  }
@@ -70,32 +70,32 @@ var PaginatedImportRequestRawList = /*#__PURE__*/function () {
70
70
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
71
71
  }
72
72
  if (data.hasOwnProperty('results')) {
73
- obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ImportRequestRaw["default"]]);
73
+ obj['results'] = _ApiClient["default"].convertToType(data['results'], [_MatchedDataPoint["default"]]);
74
74
  }
75
75
  }
76
76
  return obj;
77
77
  }
78
78
  }]);
79
- return PaginatedImportRequestRawList;
79
+ return PaginatedMatchedDataPointList;
80
80
  }();
81
81
  /**
82
82
  * @member {Number} count
83
83
  */
84
- PaginatedImportRequestRawList.prototype['count'] = undefined;
84
+ PaginatedMatchedDataPointList.prototype['count'] = undefined;
85
85
 
86
86
  /**
87
87
  * @member {String} next
88
88
  */
89
- PaginatedImportRequestRawList.prototype['next'] = undefined;
89
+ PaginatedMatchedDataPointList.prototype['next'] = undefined;
90
90
 
91
91
  /**
92
92
  * @member {String} previous
93
93
  */
94
- PaginatedImportRequestRawList.prototype['previous'] = undefined;
94
+ PaginatedMatchedDataPointList.prototype['previous'] = undefined;
95
95
 
96
96
  /**
97
- * @member {Array.<module:model/ImportRequestRaw>} results
97
+ * @member {Array.<module:model/MatchedDataPoint>} results
98
98
  */
99
- PaginatedImportRequestRawList.prototype['results'] = undefined;
100
- var _default = PaginatedImportRequestRawList;
99
+ PaginatedMatchedDataPointList.prototype['results'] = undefined;
100
+ var _default = PaginatedMatchedDataPointList;
101
101
  exports["default"] = _default;