green_link_api 1.0.0 → 1.0.1

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 (107) hide show
  1. package/README.md +72 -33
  2. package/dist/ApiClient.js +70 -24
  3. package/dist/api/BlockchainApi.js +283 -0
  4. package/dist/api/EnergyAssetsApi.js +196 -44
  5. package/dist/api/EnergyDataApi.js +354 -46
  6. package/dist/api/HealthCheckApi.js +68 -0
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +69 -0
  8. package/dist/api/LocationsApi.js +10 -10
  9. package/dist/api/LogsApi.js +428 -0
  10. package/dist/api/MaintenanceCheckApi.js +68 -0
  11. package/dist/api/OrganizationprofilesApi.js +8 -8
  12. package/dist/api/OrganizationsApi.js +47 -47
  13. package/dist/api/SchemaApi.js +6 -6
  14. package/dist/api/SentryDebugApi.js +68 -0
  15. package/dist/api/UsersApi.js +74 -256
  16. package/dist/index.js +267 -67
  17. package/dist/model/BlockchainTransaction.js +172 -0
  18. package/dist/model/Consumer.js +7 -7
  19. package/dist/model/ConsumptionDataFileList.js +132 -0
  20. package/dist/model/ConsumptionDataFromRetailerRequest.js +110 -0
  21. package/dist/model/{RestAuthDetail.js → ConsumptionDataFromRetailerResponse.js} +26 -21
  22. package/dist/model/ConsumptionDataPointCreate.js +12 -12
  23. package/dist/model/ConsumptionDataPointListOrDetail.js +21 -14
  24. package/dist/model/ConsumptionDataPointUpdate.js +12 -12
  25. package/dist/model/ConsumptionSite.js +20 -21
  26. package/dist/model/ConsumptionSiteCreate.js +195 -0
  27. package/dist/model/ConsumptionSiteFileUpload.js +133 -0
  28. package/dist/model/{TokenRefresh.js → ConsumptionSiteFromRetailer.js} +25 -33
  29. package/dist/model/ConsumptionSiteListOrDetail.js +15 -33
  30. package/dist/model/ConsumptionSiteMany.js +195 -0
  31. package/dist/model/ContentTypeEnum.js +54 -0
  32. package/dist/model/EmissionFactor.js +6 -8
  33. package/dist/model/EnergySourceEnum.js +1 -1
  34. package/dist/model/EnergySourcePreference.js +2 -2
  35. package/dist/model/GetFromEpias.js +98 -0
  36. package/dist/model/GridOperator.js +6 -6
  37. package/dist/model/Issuer.js +6 -6
  38. package/dist/model/Location.js +6 -8
  39. package/dist/model/Login.js +2 -2
  40. package/dist/model/MatchRequest.js +299 -0
  41. package/dist/model/{CountryEnum.js → MatchTypeEnum.js} +12 -12
  42. package/dist/model/MatchedEnergyDataPoint.js +13 -14
  43. package/dist/model/MatchingConsumerRequest.js +122 -0
  44. package/dist/model/{MatchingRequest.js → MatchingSiteRequest.js} +32 -21
  45. package/dist/model/OrganizationTypeEnum.js +1 -1
  46. package/dist/model/PaginatedConsumerList.js +2 -2
  47. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
  48. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
  49. package/dist/model/PaginatedEmissionFactorList.js +2 -2
  50. package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
  51. package/dist/model/PaginatedGridOperatorList.js +2 -2
  52. package/dist/model/PaginatedIssuerList.js +2 -2
  53. package/dist/model/PaginatedLocationList.js +2 -2
  54. package/dist/model/PaginatedMatchRequestList.js +104 -0
  55. package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
  56. package/dist/model/PaginatedProducerList.js +2 -2
  57. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
  58. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
  59. package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
  60. package/dist/model/PaginatedRetailerList.js +2 -2
  61. package/dist/model/PaginatedSmartContractList.js +104 -0
  62. package/dist/model/PaginatedUnprocessedRowList.js +104 -0
  63. package/dist/model/PaginatedUploadedFileList.js +104 -0
  64. package/dist/model/PaginatedUserList.js +2 -2
  65. package/dist/model/PatchedConsumer.js +7 -7
  66. package/dist/model/PatchedConsumptionDataPointUpdate.js +12 -12
  67. package/dist/model/PatchedConsumptionSite.js +15 -16
  68. package/dist/model/PatchedEmissionFactor.js +5 -7
  69. package/dist/model/PatchedEnergySourcePreference.js +2 -2
  70. package/dist/model/PatchedGridOperator.js +6 -6
  71. package/dist/model/PatchedIssuer.js +6 -6
  72. package/dist/model/PatchedLocation.js +5 -7
  73. package/dist/model/PatchedProducer.js +6 -6
  74. package/dist/model/PatchedProductionDataPointUpdate.js +13 -13
  75. package/dist/model/{PatchedProductionSite.js → PatchedProductionSiteUpdate.js} +60 -45
  76. package/dist/model/PatchedRetailer.js +16 -6
  77. package/dist/model/PatchedSmartContract.js +134 -0
  78. package/dist/model/PatchedUser.js +13 -2
  79. package/dist/model/PatchedUserDetail.js +13 -2
  80. package/dist/model/PriorityEnum.js +7 -1
  81. package/dist/model/Producer.js +6 -6
  82. package/dist/model/ProductionDataFileList.js +132 -0
  83. package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
  84. package/dist/model/ProductionDataPointCreate.js +13 -13
  85. package/dist/model/ProductionDataPointListOrDetail.js +24 -21
  86. package/dist/model/ProductionDataPointUpdate.js +13 -13
  87. package/dist/model/ProductionSite.js +37 -24
  88. package/dist/model/ProductionSiteFileUpload.js +177 -0
  89. package/dist/model/ProductionSiteListOrDetail.js +30 -43
  90. package/dist/model/ProductionSiteUpdate.js +245 -0
  91. package/dist/model/Register.js +18 -6
  92. package/dist/model/Retailer.js +16 -6
  93. package/dist/model/SmartContract.js +139 -0
  94. package/dist/model/StatusEnum.js +52 -0
  95. package/dist/model/{VerifyEmail.js → Token.js} +19 -18
  96. package/dist/model/TypeEnum.js +52 -0
  97. package/dist/model/UnprocessedRow.js +140 -0
  98. package/dist/model/UploadedFile.js +154 -0
  99. package/dist/model/User.js +13 -2
  100. package/dist/model/UserDetail.js +13 -2
  101. package/package.json +4 -4
  102. package/dist/model/JWT.js +0 -103
  103. package/dist/model/PasswordChange.js +0 -100
  104. package/dist/model/PasswordReset.js +0 -79
  105. package/dist/model/PasswordResetConfirm.js +0 -112
  106. package/dist/model/TechnologyOrFuelTypeEnum.js +0 -170
  107. package/dist/model/TokenVerify.js +0 -78
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+
12
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
+
14
+ 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, descriptor.key, descriptor); } }
15
+
16
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
+
18
+ /**
19
+ * The MatchingConsumerRequest model module.
20
+ * @module model/MatchingConsumerRequest
21
+ * @version 1.0.1
22
+ */
23
+ var MatchingConsumerRequest = /*#__PURE__*/function () {
24
+ /**
25
+ * Constructs a new <code>MatchingConsumerRequest</code>.
26
+ * @alias module:model/MatchingConsumerRequest
27
+ * @param startTime {Date}
28
+ * @param endTime {Date}
29
+ * @param consumer {String}
30
+ * @param productionSite {String}
31
+ */
32
+ function MatchingConsumerRequest(startTime, endTime, consumer, productionSite) {
33
+ _classCallCheck(this, MatchingConsumerRequest);
34
+
35
+ MatchingConsumerRequest.initialize(this, startTime, endTime, consumer, productionSite);
36
+ }
37
+ /**
38
+ * Initializes the fields of this object.
39
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
40
+ * Only for internal use.
41
+ */
42
+
43
+
44
+ _createClass(MatchingConsumerRequest, null, [{
45
+ key: "initialize",
46
+ value: function initialize(obj, startTime, endTime, consumer, productionSite) {
47
+ obj['start_time'] = startTime;
48
+ obj['end_time'] = endTime;
49
+ obj['consumer'] = consumer;
50
+ obj['production_site'] = productionSite;
51
+ }
52
+ /**
53
+ * Constructs a <code>MatchingConsumerRequest</code> from a plain JavaScript object, optionally creating a new instance.
54
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
55
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
56
+ * @param {module:model/MatchingConsumerRequest} obj Optional instance to populate.
57
+ * @return {module:model/MatchingConsumerRequest} The populated <code>MatchingConsumerRequest</code> instance.
58
+ */
59
+
60
+ }, {
61
+ key: "constructFromObject",
62
+ value: function constructFromObject(data, obj) {
63
+ if (data) {
64
+ obj = obj || new MatchingConsumerRequest();
65
+
66
+ if (data.hasOwnProperty('start_time')) {
67
+ obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
68
+ }
69
+
70
+ if (data.hasOwnProperty('end_time')) {
71
+ obj['end_time'] = _ApiClient["default"].convertToType(data['end_time'], 'Date');
72
+ }
73
+
74
+ if (data.hasOwnProperty('consumer')) {
75
+ obj['consumer'] = _ApiClient["default"].convertToType(data['consumer'], 'String');
76
+ }
77
+
78
+ if (data.hasOwnProperty('production_site')) {
79
+ obj['production_site'] = _ApiClient["default"].convertToType(data['production_site'], 'String');
80
+ }
81
+
82
+ if (data.hasOwnProperty('target_percentage_matched')) {
83
+ obj['target_percentage_matched'] = _ApiClient["default"].convertToType(data['target_percentage_matched'], 'Number');
84
+ }
85
+ }
86
+
87
+ return obj;
88
+ }
89
+ }]);
90
+
91
+ return MatchingConsumerRequest;
92
+ }();
93
+ /**
94
+ * @member {Date} start_time
95
+ */
96
+
97
+
98
+ MatchingConsumerRequest.prototype['start_time'] = undefined;
99
+ /**
100
+ * @member {Date} end_time
101
+ */
102
+
103
+ MatchingConsumerRequest.prototype['end_time'] = undefined;
104
+ /**
105
+ * @member {String} consumer
106
+ */
107
+
108
+ MatchingConsumerRequest.prototype['consumer'] = undefined;
109
+ /**
110
+ * @member {String} production_site
111
+ */
112
+
113
+ MatchingConsumerRequest.prototype['production_site'] = undefined;
114
+ /**
115
+ * Not required. Set between 1-100. Default 100.
116
+ * @member {Number} target_percentage_matched
117
+ * @default 100
118
+ */
119
+
120
+ MatchingConsumerRequest.prototype['target_percentage_matched'] = 100;
121
+ var _default = MatchingConsumerRequest;
122
+ exports["default"] = _default;
@@ -13,26 +13,26 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
13
13
 
14
14
  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, descriptor.key, descriptor); } }
15
15
 
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
16
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
17
 
18
18
  /**
19
- * The MatchingRequest model module.
20
- * @module model/MatchingRequest
21
- * @version 1.0.0
19
+ * The MatchingSiteRequest model module.
20
+ * @module model/MatchingSiteRequest
21
+ * @version 1.0.1
22
22
  */
23
- var MatchingRequest = /*#__PURE__*/function () {
23
+ var MatchingSiteRequest = /*#__PURE__*/function () {
24
24
  /**
25
- * Constructs a new <code>MatchingRequest</code>.
26
- * @alias module:model/MatchingRequest
25
+ * Constructs a new <code>MatchingSiteRequest</code>.
26
+ * @alias module:model/MatchingSiteRequest
27
27
  * @param startTime {Date}
28
28
  * @param endTime {Date}
29
29
  * @param consumptionSite {String}
30
30
  * @param productionSite {String}
31
31
  */
32
- function MatchingRequest(startTime, endTime, consumptionSite, productionSite) {
33
- _classCallCheck(this, MatchingRequest);
32
+ function MatchingSiteRequest(startTime, endTime, consumptionSite, productionSite) {
33
+ _classCallCheck(this, MatchingSiteRequest);
34
34
 
35
- MatchingRequest.initialize(this, startTime, endTime, consumptionSite, productionSite);
35
+ MatchingSiteRequest.initialize(this, startTime, endTime, consumptionSite, productionSite);
36
36
  }
37
37
  /**
38
38
  * Initializes the fields of this object.
@@ -41,7 +41,7 @@ var MatchingRequest = /*#__PURE__*/function () {
41
41
  */
42
42
 
43
43
 
44
- _createClass(MatchingRequest, null, [{
44
+ _createClass(MatchingSiteRequest, null, [{
45
45
  key: "initialize",
46
46
  value: function initialize(obj, startTime, endTime, consumptionSite, productionSite) {
47
47
  obj['start_time'] = startTime;
@@ -50,18 +50,18 @@ var MatchingRequest = /*#__PURE__*/function () {
50
50
  obj['production_site'] = productionSite;
51
51
  }
52
52
  /**
53
- * Constructs a <code>MatchingRequest</code> from a plain JavaScript object, optionally creating a new instance.
53
+ * Constructs a <code>MatchingSiteRequest</code> from a plain JavaScript object, optionally creating a new instance.
54
54
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
55
55
  * @param {Object} data The plain JavaScript object bearing properties of interest.
56
- * @param {module:model/MatchingRequest} obj Optional instance to populate.
57
- * @return {module:model/MatchingRequest} The populated <code>MatchingRequest</code> instance.
56
+ * @param {module:model/MatchingSiteRequest} obj Optional instance to populate.
57
+ * @return {module:model/MatchingSiteRequest} The populated <code>MatchingSiteRequest</code> instance.
58
58
  */
59
59
 
60
60
  }, {
61
61
  key: "constructFromObject",
62
62
  value: function constructFromObject(data, obj) {
63
63
  if (data) {
64
- obj = obj || new MatchingRequest();
64
+ obj = obj || new MatchingSiteRequest();
65
65
 
66
66
  if (data.hasOwnProperty('start_time')) {
67
67
  obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
@@ -78,34 +78,45 @@ var MatchingRequest = /*#__PURE__*/function () {
78
78
  if (data.hasOwnProperty('production_site')) {
79
79
  obj['production_site'] = _ApiClient["default"].convertToType(data['production_site'], 'String');
80
80
  }
81
+
82
+ if (data.hasOwnProperty('target_percentage_matched')) {
83
+ obj['target_percentage_matched'] = _ApiClient["default"].convertToType(data['target_percentage_matched'], 'Number');
84
+ }
81
85
  }
82
86
 
83
87
  return obj;
84
88
  }
85
89
  }]);
86
90
 
87
- return MatchingRequest;
91
+ return MatchingSiteRequest;
88
92
  }();
89
93
  /**
90
94
  * @member {Date} start_time
91
95
  */
92
96
 
93
97
 
94
- MatchingRequest.prototype['start_time'] = undefined;
98
+ MatchingSiteRequest.prototype['start_time'] = undefined;
95
99
  /**
96
100
  * @member {Date} end_time
97
101
  */
98
102
 
99
- MatchingRequest.prototype['end_time'] = undefined;
103
+ MatchingSiteRequest.prototype['end_time'] = undefined;
100
104
  /**
101
105
  * @member {String} consumption_site
102
106
  */
103
107
 
104
- MatchingRequest.prototype['consumption_site'] = undefined;
108
+ MatchingSiteRequest.prototype['consumption_site'] = undefined;
105
109
  /**
106
110
  * @member {String} production_site
107
111
  */
108
112
 
109
- MatchingRequest.prototype['production_site'] = undefined;
110
- var _default = MatchingRequest;
113
+ MatchingSiteRequest.prototype['production_site'] = undefined;
114
+ /**
115
+ * Not required. Set target percentage of consumption to match between 1-100. Default 100.
116
+ * @member {Number} target_percentage_matched
117
+ * @default 100
118
+ */
119
+
120
+ MatchingSiteRequest.prototype['target_percentage_matched'] = 100;
121
+ var _default = MatchingSiteRequest;
111
122
  exports["default"] = _default;
@@ -13,7 +13,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
13
13
 
14
14
  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, descriptor.key, descriptor); } }
15
15
 
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
16
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
17
 
18
18
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
19
 
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedConsumerList model module.
22
22
  * @module model/PaginatedConsumerList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedConsumerList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedConsumptionDataPointListOrDetailList model module.
22
22
  * @module model/PaginatedConsumptionDataPointListOrDetailList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedConsumptionDataPointListOrDetailList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedConsumptionSiteListOrDetailList model module.
22
22
  * @module model/PaginatedConsumptionSiteListOrDetailList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedConsumptionSiteListOrDetailList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedEmissionFactorList model module.
22
22
  * @module model/PaginatedEmissionFactorList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedEmissionFactorList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedEnergySourcePreferenceList model module.
22
22
  * @module model/PaginatedEnergySourcePreferenceList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedEnergySourcePreferenceList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedGridOperatorList model module.
22
22
  * @module model/PaginatedGridOperatorList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedGridOperatorList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedIssuerList model module.
22
22
  * @module model/PaginatedIssuerList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedIssuerList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedLocationList model module.
22
22
  * @module model/PaginatedLocationList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedLocationList = /*#__PURE__*/function () {
26
26
  /**
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
+
10
+ var _MatchRequest = _interopRequireDefault(require("./MatchRequest"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
+
16
+ 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, descriptor.key, descriptor); } }
17
+
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+
20
+ /**
21
+ * The PaginatedMatchRequestList model module.
22
+ * @module model/PaginatedMatchRequestList
23
+ * @version 1.0.1
24
+ */
25
+ var PaginatedMatchRequestList = /*#__PURE__*/function () {
26
+ /**
27
+ * Constructs a new <code>PaginatedMatchRequestList</code>.
28
+ * @alias module:model/PaginatedMatchRequestList
29
+ */
30
+ function PaginatedMatchRequestList() {
31
+ _classCallCheck(this, PaginatedMatchRequestList);
32
+
33
+ PaginatedMatchRequestList.initialize(this);
34
+ }
35
+ /**
36
+ * Initializes the fields of this object.
37
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
+ * Only for internal use.
39
+ */
40
+
41
+
42
+ _createClass(PaginatedMatchRequestList, null, [{
43
+ key: "initialize",
44
+ value: function initialize(obj) {}
45
+ /**
46
+ * Constructs a <code>PaginatedMatchRequestList</code> from a plain JavaScript object, optionally creating a new instance.
47
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
48
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
49
+ * @param {module:model/PaginatedMatchRequestList} obj Optional instance to populate.
50
+ * @return {module:model/PaginatedMatchRequestList} The populated <code>PaginatedMatchRequestList</code> instance.
51
+ */
52
+
53
+ }, {
54
+ key: "constructFromObject",
55
+ value: function constructFromObject(data, obj) {
56
+ if (data) {
57
+ obj = obj || new PaginatedMatchRequestList();
58
+
59
+ if (data.hasOwnProperty('count')) {
60
+ obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
+ }
62
+
63
+ if (data.hasOwnProperty('next')) {
64
+ obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
+ }
66
+
67
+ if (data.hasOwnProperty('previous')) {
68
+ obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
+ }
70
+
71
+ if (data.hasOwnProperty('results')) {
72
+ obj['results'] = _ApiClient["default"].convertToType(data['results'], [_MatchRequest["default"]]);
73
+ }
74
+ }
75
+
76
+ return obj;
77
+ }
78
+ }]);
79
+
80
+ return PaginatedMatchRequestList;
81
+ }();
82
+ /**
83
+ * @member {Number} count
84
+ */
85
+
86
+
87
+ PaginatedMatchRequestList.prototype['count'] = undefined;
88
+ /**
89
+ * @member {String} next
90
+ */
91
+
92
+ PaginatedMatchRequestList.prototype['next'] = undefined;
93
+ /**
94
+ * @member {String} previous
95
+ */
96
+
97
+ PaginatedMatchRequestList.prototype['previous'] = undefined;
98
+ /**
99
+ * @member {Array.<module:model/MatchRequest>} results
100
+ */
101
+
102
+ PaginatedMatchRequestList.prototype['results'] = undefined;
103
+ var _default = PaginatedMatchRequestList;
104
+ exports["default"] = _default;
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedMatchedEnergyDataPointList model module.
22
22
  * @module model/PaginatedMatchedEnergyDataPointList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
26
26
  /**
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedProducerList model module.
22
22
  * @module model/PaginatedProducerList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedProducerList = /*#__PURE__*/function () {
26
26
  /**
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
+
10
+ var _ProductionDataFromEpiasRequest = _interopRequireDefault(require("./ProductionDataFromEpiasRequest"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
+
16
+ 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, descriptor.key, descriptor); } }
17
+
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+
20
+ /**
21
+ * The PaginatedProductionDataFromEpiasRequestList model module.
22
+ * @module model/PaginatedProductionDataFromEpiasRequestList
23
+ * @version 1.0.1
24
+ */
25
+ var PaginatedProductionDataFromEpiasRequestList = /*#__PURE__*/function () {
26
+ /**
27
+ * Constructs a new <code>PaginatedProductionDataFromEpiasRequestList</code>.
28
+ * @alias module:model/PaginatedProductionDataFromEpiasRequestList
29
+ */
30
+ function PaginatedProductionDataFromEpiasRequestList() {
31
+ _classCallCheck(this, PaginatedProductionDataFromEpiasRequestList);
32
+
33
+ PaginatedProductionDataFromEpiasRequestList.initialize(this);
34
+ }
35
+ /**
36
+ * Initializes the fields of this object.
37
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
+ * Only for internal use.
39
+ */
40
+
41
+
42
+ _createClass(PaginatedProductionDataFromEpiasRequestList, null, [{
43
+ key: "initialize",
44
+ value: function initialize(obj) {}
45
+ /**
46
+ * Constructs a <code>PaginatedProductionDataFromEpiasRequestList</code> from a plain JavaScript object, optionally creating a new instance.
47
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
48
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
49
+ * @param {module:model/PaginatedProductionDataFromEpiasRequestList} obj Optional instance to populate.
50
+ * @return {module:model/PaginatedProductionDataFromEpiasRequestList} The populated <code>PaginatedProductionDataFromEpiasRequestList</code> instance.
51
+ */
52
+
53
+ }, {
54
+ key: "constructFromObject",
55
+ value: function constructFromObject(data, obj) {
56
+ if (data) {
57
+ obj = obj || new PaginatedProductionDataFromEpiasRequestList();
58
+
59
+ if (data.hasOwnProperty('count')) {
60
+ obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
+ }
62
+
63
+ if (data.hasOwnProperty('next')) {
64
+ obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
+ }
66
+
67
+ if (data.hasOwnProperty('previous')) {
68
+ obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
+ }
70
+
71
+ if (data.hasOwnProperty('results')) {
72
+ obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ProductionDataFromEpiasRequest["default"]]);
73
+ }
74
+ }
75
+
76
+ return obj;
77
+ }
78
+ }]);
79
+
80
+ return PaginatedProductionDataFromEpiasRequestList;
81
+ }();
82
+ /**
83
+ * @member {Number} count
84
+ */
85
+
86
+
87
+ PaginatedProductionDataFromEpiasRequestList.prototype['count'] = undefined;
88
+ /**
89
+ * @member {String} next
90
+ */
91
+
92
+ PaginatedProductionDataFromEpiasRequestList.prototype['next'] = undefined;
93
+ /**
94
+ * @member {String} previous
95
+ */
96
+
97
+ PaginatedProductionDataFromEpiasRequestList.prototype['previous'] = undefined;
98
+ /**
99
+ * @member {Array.<module:model/ProductionDataFromEpiasRequest>} results
100
+ */
101
+
102
+ PaginatedProductionDataFromEpiasRequestList.prototype['results'] = undefined;
103
+ var _default = PaginatedProductionDataFromEpiasRequestList;
104
+ exports["default"] = _default;
@@ -15,12 +15,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
15
15
 
16
16
  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, descriptor.key, descriptor); } }
17
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
 
20
20
  /**
21
21
  * The PaginatedProductionDataPointListOrDetailList model module.
22
22
  * @module model/PaginatedProductionDataPointListOrDetailList
23
- * @version 1.0.0
23
+ * @version 1.0.1
24
24
  */
25
25
  var PaginatedProductionDataPointListOrDetailList = /*#__PURE__*/function () {
26
26
  /**