green_link_api 0.49.0 → 0.49.5
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.
- package/README.md +11 -4
- package/dist/ApiClient.js +2 -2
- package/dist/api/EnergyAssetsApi.js +44 -8
- package/dist/api/EnergyDataApi.js +79 -7
- package/dist/api/HealthCheckApi.js +1 -1
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +1 -1
- package/dist/api/LocationsApi.js +1 -1
- package/dist/api/MaintenanceCheckApi.js +68 -0
- package/dist/api/OrganizationprofilesApi.js +1 -1
- package/dist/api/OrganizationsApi.js +1 -1
- package/dist/api/SchemaApi.js +1 -1
- package/dist/api/SentryDebugApi.js +1 -1
- package/dist/api/UsersApi.js +1 -1
- package/dist/index.js +43 -11
- package/dist/model/Consumer.js +1 -1
- package/dist/model/{FileList.js → ConsumptionDataFileList.js} +22 -22
- package/dist/model/ConsumptionDataPointCreate.js +1 -1
- package/dist/model/ConsumptionDataPointListOrDetail.js +1 -1
- package/dist/model/ConsumptionDataPointUpdate.js +1 -1
- package/dist/model/ConsumptionSite.js +10 -1
- package/dist/model/{FileUpload.js → ConsumptionSiteFileUpload.js} +22 -22
- package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
- package/dist/model/EmissionFactor.js +1 -1
- package/dist/model/EnergySourcePreference.js +1 -1
- package/dist/model/GetFromEpias.js +98 -0
- package/dist/model/GridOperator.js +1 -1
- package/dist/model/Issuer.js +1 -1
- package/dist/model/JWT.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login.js +1 -1
- package/dist/model/MatchRequest.js +1 -1
- package/dist/model/MatchedEnergyDataPoint.js +1 -1
- package/dist/model/MatchingConsumerRequest.js +1 -1
- package/dist/model/MatchingSiteRequest.js +1 -1
- package/dist/model/PaginatedConsumerList.js +1 -1
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedEmissionFactorList.js +1 -1
- package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
- package/dist/model/PaginatedGridOperatorList.js +1 -1
- package/dist/model/PaginatedIssuerList.js +1 -1
- package/dist/model/PaginatedLocationList.js +1 -1
- package/dist/model/PaginatedMatchRequestList.js +1 -1
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
- package/dist/model/PaginatedProducerList.js +1 -1
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedRetailerList.js +1 -1
- package/dist/model/PaginatedUserList.js +1 -1
- package/dist/model/PasswordChange.js +1 -1
- package/dist/model/PasswordReset.js +1 -1
- package/dist/model/PasswordResetConfirm.js +1 -1
- package/dist/model/PatchedConsumer.js +1 -1
- package/dist/model/PatchedConsumptionDataPointUpdate.js +1 -1
- package/dist/model/PatchedConsumptionSite.js +10 -1
- package/dist/model/PatchedEmissionFactor.js +1 -1
- package/dist/model/PatchedEnergySourcePreference.js +1 -1
- package/dist/model/PatchedGridOperator.js +1 -1
- package/dist/model/PatchedIssuer.js +1 -1
- package/dist/model/PatchedLocation.js +1 -1
- package/dist/model/PatchedProducer.js +1 -1
- package/dist/model/PatchedProductionDataPointUpdate.js +1 -1
- package/dist/model/PatchedProductionSiteUpdate.js +10 -2
- package/dist/model/PatchedRetailer.js +1 -1
- package/dist/model/PatchedUser.js +1 -1
- package/dist/model/PatchedUserDetail.js +1 -1
- package/dist/model/Producer.js +1 -1
- package/dist/model/ProductionDataFileList.js +132 -0
- package/dist/model/ProductionDataPointCreate.js +1 -1
- package/dist/model/ProductionDataPointListOrDetail.js +1 -1
- package/dist/model/ProductionDataPointUpdate.js +1 -1
- package/dist/model/ProductionSite.js +13 -7
- package/dist/model/ProductionSiteFileUpload.js +177 -0
- package/dist/model/ProductionSiteListOrDetail.js +5 -7
- package/dist/model/ProductionSiteUpdate.js +13 -7
- package/dist/model/Register.js +1 -1
- package/dist/model/RestAuthDetail.js +1 -1
- package/dist/model/Retailer.js +1 -1
- package/dist/model/TokenRefresh.js +1 -1
- package/dist/model/TokenVerify.js +1 -1
- package/dist/model/User.js +1 -1
- package/dist/model/UserDetail.js +1 -1
- package/dist/model/VerifyEmail.js +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
22
22
|
/**
|
|
23
23
|
* The ProductionSiteListOrDetail model module.
|
|
24
24
|
* @module model/ProductionSiteListOrDetail
|
|
25
|
-
* @version 0.49.
|
|
25
|
+
* @version 0.49.5
|
|
26
26
|
*/
|
|
27
27
|
var ProductionSiteListOrDetail = /*#__PURE__*/function () {
|
|
28
28
|
/**
|
|
@@ -32,15 +32,14 @@ var ProductionSiteListOrDetail = /*#__PURE__*/function () {
|
|
|
32
32
|
* @param retailer {String}
|
|
33
33
|
* @param location {module:model/Location}
|
|
34
34
|
* @param name {String} Required. 150 characters or fewer.
|
|
35
|
-
* @param capacity {Number} Required. Value should be in KWh.
|
|
36
35
|
* @param energySource {String}
|
|
37
36
|
* @param technologyOrFuelType {String}
|
|
38
37
|
* @param eic {String} Required. 30 characters or fewer.
|
|
39
38
|
*/
|
|
40
|
-
function ProductionSiteListOrDetail(producer, retailer, location, name,
|
|
39
|
+
function ProductionSiteListOrDetail(producer, retailer, location, name, energySource, technologyOrFuelType, eic) {
|
|
41
40
|
_classCallCheck(this, ProductionSiteListOrDetail);
|
|
42
41
|
|
|
43
|
-
ProductionSiteListOrDetail.initialize(this, producer, retailer, location, name,
|
|
42
|
+
ProductionSiteListOrDetail.initialize(this, producer, retailer, location, name, energySource, technologyOrFuelType, eic);
|
|
44
43
|
}
|
|
45
44
|
/**
|
|
46
45
|
* Initializes the fields of this object.
|
|
@@ -51,12 +50,11 @@ var ProductionSiteListOrDetail = /*#__PURE__*/function () {
|
|
|
51
50
|
|
|
52
51
|
_createClass(ProductionSiteListOrDetail, null, [{
|
|
53
52
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj, producer, retailer, location, name,
|
|
53
|
+
value: function initialize(obj, producer, retailer, location, name, energySource, technologyOrFuelType, eic) {
|
|
55
54
|
obj['producer'] = producer;
|
|
56
55
|
obj['retailer'] = retailer;
|
|
57
56
|
obj['location'] = location;
|
|
58
57
|
obj['name'] = name;
|
|
59
|
-
obj['capacity'] = capacity;
|
|
60
58
|
obj['energy_source'] = energySource;
|
|
61
59
|
obj['technology_or_fuel_type'] = technologyOrFuelType;
|
|
62
60
|
obj['eic'] = eic;
|
|
@@ -179,7 +177,7 @@ ProductionSiteListOrDetail.prototype['location'] = undefined;
|
|
|
179
177
|
|
|
180
178
|
ProductionSiteListOrDetail.prototype['name'] = undefined;
|
|
181
179
|
/**
|
|
182
|
-
*
|
|
180
|
+
* (Optional) Value should be in KWh.
|
|
183
181
|
* @member {Number} capacity
|
|
184
182
|
*/
|
|
185
183
|
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The ProductionSiteUpdate model module.
|
|
22
22
|
* @module model/ProductionSiteUpdate
|
|
23
|
-
* @version 0.49.
|
|
23
|
+
* @version 0.49.5
|
|
24
24
|
*/
|
|
25
25
|
var ProductionSiteUpdate = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -28,14 +28,13 @@ var ProductionSiteUpdate = /*#__PURE__*/function () {
|
|
|
28
28
|
* @alias module:model/ProductionSiteUpdate
|
|
29
29
|
* @param location {module:model/Location}
|
|
30
30
|
* @param name {String} Required. 150 characters or fewer.
|
|
31
|
-
* @param capacity {Number} Required. Value should be in KWh.
|
|
32
31
|
* @param energySource {String}
|
|
33
32
|
* @param technologyOrFuelType {String}
|
|
34
33
|
*/
|
|
35
|
-
function ProductionSiteUpdate(location, name,
|
|
34
|
+
function ProductionSiteUpdate(location, name, energySource, technologyOrFuelType) {
|
|
36
35
|
_classCallCheck(this, ProductionSiteUpdate);
|
|
37
36
|
|
|
38
|
-
ProductionSiteUpdate.initialize(this, location, name,
|
|
37
|
+
ProductionSiteUpdate.initialize(this, location, name, energySource, technologyOrFuelType);
|
|
39
38
|
}
|
|
40
39
|
/**
|
|
41
40
|
* Initializes the fields of this object.
|
|
@@ -46,10 +45,9 @@ var ProductionSiteUpdate = /*#__PURE__*/function () {
|
|
|
46
45
|
|
|
47
46
|
_createClass(ProductionSiteUpdate, null, [{
|
|
48
47
|
key: "initialize",
|
|
49
|
-
value: function initialize(obj, location, name,
|
|
48
|
+
value: function initialize(obj, location, name, energySource, technologyOrFuelType) {
|
|
50
49
|
obj['location'] = location;
|
|
51
50
|
obj['name'] = name;
|
|
52
|
-
obj['capacity'] = capacity;
|
|
53
51
|
obj['energy_source'] = energySource;
|
|
54
52
|
obj['technology_or_fuel_type'] = technologyOrFuelType;
|
|
55
53
|
}
|
|
@@ -95,6 +93,10 @@ var ProductionSiteUpdate = /*#__PURE__*/function () {
|
|
|
95
93
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
96
94
|
}
|
|
97
95
|
|
|
96
|
+
if (data.hasOwnProperty('site_logo')) {
|
|
97
|
+
obj['site_logo'] = _ApiClient["default"].convertToType(data['site_logo'], 'String');
|
|
98
|
+
}
|
|
99
|
+
|
|
98
100
|
if (data.hasOwnProperty('capacity')) {
|
|
99
101
|
obj['capacity'] = _ApiClient["default"].convertToType(data['capacity'], 'Number');
|
|
100
102
|
}
|
|
@@ -180,7 +182,11 @@ ProductionSiteUpdate.prototype['location'] = undefined;
|
|
|
180
182
|
|
|
181
183
|
ProductionSiteUpdate.prototype['name'] = undefined;
|
|
182
184
|
/**
|
|
183
|
-
*
|
|
185
|
+
* @member {String} site_logo
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
ProductionSiteUpdate.prototype['site_logo'] = undefined;
|
|
189
|
+
/**
|
|
184
190
|
* @member {Number} capacity
|
|
185
191
|
*/
|
|
186
192
|
|
package/dist/model/Register.js
CHANGED
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* The RestAuthDetail model module.
|
|
20
20
|
* @module model/RestAuthDetail
|
|
21
|
-
* @version 0.49.
|
|
21
|
+
* @version 0.49.5
|
|
22
22
|
*/
|
|
23
23
|
var RestAuthDetail = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Retailer.js
CHANGED
package/dist/model/User.js
CHANGED
package/dist/model/UserDetail.js
CHANGED