green_link_api 1.10.2 → 1.10.4
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 +2 -2
- package/dist/ApiClient.js +51 -133
- package/dist/api/BlockchainApi.js +19 -38
- package/dist/api/EnergyAssetsApi.js +61 -106
- package/dist/api/EnergyDataApi.js +88 -152
- package/dist/api/HealthCheckApi.js +2 -12
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -12
- package/dist/api/LocationsApi.js +21 -40
- package/dist/api/LogsApi.js +36 -67
- package/dist/api/MaintenanceCheckApi.js +2 -12
- package/dist/api/OrganizationprofilesApi.js +19 -38
- package/dist/api/OrganizationsApi.js +91 -146
- package/dist/api/SchemaApi.js +2 -12
- package/dist/api/SentryDebugApi.js +2 -12
- package/dist/api/UsersApi.js +23 -47
- package/dist/index.js +0 -110
- package/dist/model/Activities.js +9 -28
- package/dist/model/BlockchainTransaction.js +12 -36
- package/dist/model/Consumer.js +13 -37
- package/dist/model/ConsumptionDataFileList.js +8 -26
- package/dist/model/ConsumptionDataFromRetailerRequest.js +5 -20
- package/dist/model/ConsumptionDataPointCreate.js +24 -59
- package/dist/model/ConsumptionDataPointListOrDetail.js +24 -64
- package/dist/model/ConsumptionDataPointUpdate.js +24 -59
- package/dist/model/ConsumptionSite.js +15 -41
- package/dist/model/ConsumptionSiteContract.js +9 -29
- package/dist/model/ConsumptionSiteContractImport.js +5 -20
- package/dist/model/ConsumptionSiteCreate.js +15 -41
- package/dist/model/ConsumptionSiteFileUpload.js +8 -26
- package/dist/model/ConsumptionSiteListOrDetail.js +14 -41
- package/dist/model/ContentTypeEnum.js +0 -15
- package/dist/model/EacTypeEnum.js +0 -11
- package/dist/model/EmissionFactor.js +9 -28
- package/dist/model/EnergySourceEnum.js +0 -18
- package/dist/model/EnergySourcePreference.js +10 -32
- package/dist/model/GetFromEpias.js +5 -20
- package/dist/model/GridOperator.js +11 -33
- package/dist/model/ImportRequest.js +14 -40
- package/dist/model/ImportRequestStatusEnum.js +0 -14
- package/dist/model/ImportedEnergyDataPoint.js +11 -32
- package/dist/model/Issuer.js +11 -33
- package/dist/model/Location.js +19 -48
- package/dist/model/Login.js +5 -20
- package/dist/model/MatchRequest.js +23 -63
- package/dist/model/MatchTypeEnum.js +0 -12
- package/dist/model/MatchedEnergyDataPoint.js +14 -39
- package/dist/model/MatchingConsumerRequest.js +7 -24
- package/dist/model/MatchingSiteRequest.js +7 -24
- package/dist/model/OrganizationTypeEnum.js +0 -16
- package/dist/model/PaginatedActivitiesList.js +6 -23
- package/dist/model/PaginatedConsumerList.js +6 -23
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +6 -23
- package/dist/model/PaginatedConsumptionSiteContractList.js +6 -23
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +6 -23
- package/dist/model/PaginatedEmissionFactorList.js +6 -23
- package/dist/model/PaginatedEnergySourcePreferenceList.js +6 -23
- package/dist/model/PaginatedGridOperatorList.js +6 -23
- package/dist/model/PaginatedImportRequestList.js +6 -23
- package/dist/model/PaginatedImportedEnergyDataPointList.js +6 -23
- package/dist/model/PaginatedIssuerList.js +6 -23
- package/dist/model/PaginatedLocationList.js +6 -23
- package/dist/model/PaginatedMatchRequestList.js +6 -23
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +6 -23
- package/dist/model/PaginatedProducerList.js +6 -23
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +6 -23
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +6 -23
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +6 -23
- package/dist/model/PaginatedRetailerList.js +6 -23
- package/dist/model/PaginatedSmartContractList.js +6 -23
- package/dist/model/PaginatedUnprocessedRowList.js +6 -23
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +6 -23
- package/dist/model/PaginatedUploadedFileList.js +6 -23
- package/dist/model/PaginatedUserList.js +6 -23
- package/dist/model/PatchedConsumer.js +13 -37
- package/dist/model/PatchedConsumptionDataPointUpdate.js +24 -59
- package/dist/model/PatchedConsumptionSite.js +15 -41
- package/dist/model/PatchedEmissionFactor.js +9 -28
- package/dist/model/PatchedEnergySourcePreference.js +10 -32
- package/dist/model/PatchedGridOperator.js +11 -33
- package/dist/model/PatchedIssuer.js +11 -33
- package/dist/model/PatchedLocation.js +19 -48
- package/dist/model/PatchedProducer.js +11 -33
- package/dist/model/PatchedProductionDataPointUpdate.js +18 -47
- package/dist/model/PatchedProductionSiteUpdate.js +20 -51
- package/dist/model/PatchedRetailer.js +12 -35
- package/dist/model/PatchedSmartContract.js +9 -28
- package/dist/model/PatchedUser.js +18 -47
- package/dist/model/PatchedUserDetail.js +18 -47
- package/dist/model/PriorityEnum.js +0 -18
- package/dist/model/Producer.js +11 -33
- package/dist/model/ProductionDataFileList.js +8 -26
- package/dist/model/ProductionDataFromEpiasRequest.js +11 -36
- package/dist/model/ProductionDataPointCreate.js +18 -47
- package/dist/model/ProductionDataPointListOrDetail.js +19 -53
- package/dist/model/ProductionDataPointUpdate.js +18 -47
- package/dist/model/ProductionSite.js +20 -51
- package/dist/model/ProductionSiteFileUpload.js +12 -34
- package/dist/model/ProductionSiteListOrDetail.js +18 -48
- package/dist/model/ProductionSiteUpdate.js +20 -51
- package/dist/model/Register.js +14 -38
- package/dist/model/Retailer.js +12 -35
- package/dist/model/SmartContract.js +9 -28
- package/dist/model/Status619Enum.js +0 -13
- package/dist/model/Token.js +3 -16
- package/dist/model/TypeEnum.js +0 -13
- package/dist/model/UnprocessedRow.js +9 -28
- package/dist/model/UploadedCertificate.js +12 -35
- package/dist/model/UploadedCertificateListorDetail.js +12 -36
- package/dist/model/UploadedFile.js +10 -32
- package/dist/model/User.js +18 -47
- package/dist/model/UserDetail.js +18 -47
- package/package.json +1 -1
|
@@ -4,21 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
-
|
|
14
10
|
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
11
|
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
12
|
/**
|
|
19
13
|
* The ConsumptionDataFromRetailerRequest model module.
|
|
20
14
|
* @module model/ConsumptionDataFromRetailerRequest
|
|
21
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.4
|
|
22
16
|
*/
|
|
23
17
|
var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
|
|
24
18
|
/**
|
|
@@ -30,16 +24,14 @@ var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
|
|
|
30
24
|
*/
|
|
31
25
|
function ConsumptionDataFromRetailerRequest(consumptionStart, consumptionEnd, consumerId) {
|
|
32
26
|
_classCallCheck(this, ConsumptionDataFromRetailerRequest);
|
|
33
|
-
|
|
34
27
|
ConsumptionDataFromRetailerRequest.initialize(this, consumptionStart, consumptionEnd, consumerId);
|
|
35
28
|
}
|
|
29
|
+
|
|
36
30
|
/**
|
|
37
31
|
* Initializes the fields of this object.
|
|
38
32
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
39
33
|
* Only for internal use.
|
|
40
34
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
35
|
_createClass(ConsumptionDataFromRetailerRequest, null, [{
|
|
44
36
|
key: "initialize",
|
|
45
37
|
value: function initialize(obj, consumptionStart, consumptionEnd, consumerId) {
|
|
@@ -47,6 +39,7 @@ var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
|
|
|
47
39
|
obj['consumption_end'] = consumptionEnd;
|
|
48
40
|
obj['consumer_id'] = consumerId;
|
|
49
41
|
}
|
|
42
|
+
|
|
50
43
|
/**
|
|
51
44
|
* Constructs a <code>ConsumptionDataFromRetailerRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
45
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
@@ -54,47 +47,39 @@ var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
|
|
|
54
47
|
* @param {module:model/ConsumptionDataFromRetailerRequest} obj Optional instance to populate.
|
|
55
48
|
* @return {module:model/ConsumptionDataFromRetailerRequest} The populated <code>ConsumptionDataFromRetailerRequest</code> instance.
|
|
56
49
|
*/
|
|
57
|
-
|
|
58
50
|
}, {
|
|
59
51
|
key: "constructFromObject",
|
|
60
52
|
value: function constructFromObject(data, obj) {
|
|
61
53
|
if (data) {
|
|
62
54
|
obj = obj || new ConsumptionDataFromRetailerRequest();
|
|
63
|
-
|
|
64
55
|
if (data.hasOwnProperty('consumption_start')) {
|
|
65
56
|
obj['consumption_start'] = _ApiClient["default"].convertToType(data['consumption_start'], 'Date');
|
|
66
57
|
}
|
|
67
|
-
|
|
68
58
|
if (data.hasOwnProperty('consumption_end')) {
|
|
69
59
|
obj['consumption_end'] = _ApiClient["default"].convertToType(data['consumption_end'], 'Date');
|
|
70
60
|
}
|
|
71
|
-
|
|
72
61
|
if (data.hasOwnProperty('consumer_id')) {
|
|
73
62
|
obj['consumer_id'] = _ApiClient["default"].convertToType(data['consumer_id'], 'String');
|
|
74
63
|
}
|
|
75
64
|
}
|
|
76
|
-
|
|
77
65
|
return obj;
|
|
78
66
|
}
|
|
79
67
|
}]);
|
|
80
|
-
|
|
81
68
|
return ConsumptionDataFromRetailerRequest;
|
|
82
69
|
}();
|
|
83
70
|
/**
|
|
84
71
|
* @member {Date} consumption_start
|
|
85
72
|
*/
|
|
86
|
-
|
|
87
|
-
|
|
88
73
|
ConsumptionDataFromRetailerRequest.prototype['consumption_start'] = undefined;
|
|
74
|
+
|
|
89
75
|
/**
|
|
90
76
|
* @member {Date} consumption_end
|
|
91
77
|
*/
|
|
92
|
-
|
|
93
78
|
ConsumptionDataFromRetailerRequest.prototype['consumption_end'] = undefined;
|
|
79
|
+
|
|
94
80
|
/**
|
|
95
81
|
* @member {String} consumer_id
|
|
96
82
|
*/
|
|
97
|
-
|
|
98
83
|
ConsumptionDataFromRetailerRequest.prototype['consumer_id'] = undefined;
|
|
99
84
|
var _default = ConsumptionDataFromRetailerRequest;
|
|
100
85
|
exports["default"] = _default;
|
|
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _SmartContract = _interopRequireDefault(require("./SmartContract"));
|
|
11
|
-
|
|
12
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
14
10
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
16
11
|
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
12
|
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
13
|
/**
|
|
21
14
|
* The ConsumptionDataPointCreate model module.
|
|
22
15
|
* @module model/ConsumptionDataPointCreate
|
|
23
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.4
|
|
24
17
|
*/
|
|
25
18
|
var ConsumptionDataPointCreate = /*#__PURE__*/function () {
|
|
26
19
|
/**
|
|
@@ -32,16 +25,14 @@ var ConsumptionDataPointCreate = /*#__PURE__*/function () {
|
|
|
32
25
|
*/
|
|
33
26
|
function ConsumptionDataPointCreate(consumptionSite, consumptionStart, consumptionEnd) {
|
|
34
27
|
_classCallCheck(this, ConsumptionDataPointCreate);
|
|
35
|
-
|
|
36
28
|
ConsumptionDataPointCreate.initialize(this, consumptionSite, consumptionStart, consumptionEnd);
|
|
37
29
|
}
|
|
30
|
+
|
|
38
31
|
/**
|
|
39
32
|
* Initializes the fields of this object.
|
|
40
33
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
41
34
|
* Only for internal use.
|
|
42
35
|
*/
|
|
43
|
-
|
|
44
|
-
|
|
45
36
|
_createClass(ConsumptionDataPointCreate, null, [{
|
|
46
37
|
key: "initialize",
|
|
47
38
|
value: function initialize(obj, consumptionSite, consumptionStart, consumptionEnd) {
|
|
@@ -49,6 +40,7 @@ var ConsumptionDataPointCreate = /*#__PURE__*/function () {
|
|
|
49
40
|
obj['consumption_start'] = consumptionStart;
|
|
50
41
|
obj['consumption_end'] = consumptionEnd;
|
|
51
42
|
}
|
|
43
|
+
|
|
52
44
|
/**
|
|
53
45
|
* Constructs a <code>ConsumptionDataPointCreate</code> from a plain JavaScript object, optionally creating a new instance.
|
|
54
46
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
@@ -56,230 +48,203 @@ var ConsumptionDataPointCreate = /*#__PURE__*/function () {
|
|
|
56
48
|
* @param {module:model/ConsumptionDataPointCreate} obj Optional instance to populate.
|
|
57
49
|
* @return {module:model/ConsumptionDataPointCreate} The populated <code>ConsumptionDataPointCreate</code> instance.
|
|
58
50
|
*/
|
|
59
|
-
|
|
60
51
|
}, {
|
|
61
52
|
key: "constructFromObject",
|
|
62
53
|
value: function constructFromObject(data, obj) {
|
|
63
54
|
if (data) {
|
|
64
55
|
obj = obj || new ConsumptionDataPointCreate();
|
|
65
|
-
|
|
66
56
|
if (data.hasOwnProperty('id')) {
|
|
67
57
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
68
58
|
}
|
|
69
|
-
|
|
70
59
|
if (data.hasOwnProperty('consumption_site')) {
|
|
71
60
|
obj['consumption_site'] = _ApiClient["default"].convertToType(data['consumption_site'], 'String');
|
|
72
61
|
}
|
|
73
|
-
|
|
74
62
|
if (data.hasOwnProperty('consumer')) {
|
|
75
63
|
obj['consumer'] = _ApiClient["default"].convertToType(data['consumer'], 'String');
|
|
76
64
|
}
|
|
77
|
-
|
|
78
65
|
if (data.hasOwnProperty('retailer')) {
|
|
79
66
|
obj['retailer'] = _ApiClient["default"].convertToType(data['retailer'], 'String');
|
|
80
67
|
}
|
|
81
|
-
|
|
82
68
|
if (data.hasOwnProperty('amount_consumed')) {
|
|
83
69
|
obj['amount_consumed'] = _ApiClient["default"].convertToType(data['amount_consumed'], 'Number');
|
|
84
70
|
}
|
|
85
|
-
|
|
86
71
|
if (data.hasOwnProperty('amount_matched_solar')) {
|
|
87
72
|
obj['amount_matched_solar'] = _ApiClient["default"].convertToType(data['amount_matched_solar'], 'Number');
|
|
88
73
|
}
|
|
89
|
-
|
|
90
74
|
if (data.hasOwnProperty('amount_matched_wind')) {
|
|
91
75
|
obj['amount_matched_wind'] = _ApiClient["default"].convertToType(data['amount_matched_wind'], 'Number');
|
|
92
76
|
}
|
|
93
|
-
|
|
94
77
|
if (data.hasOwnProperty('amount_matched_hydro')) {
|
|
95
78
|
obj['amount_matched_hydro'] = _ApiClient["default"].convertToType(data['amount_matched_hydro'], 'Number');
|
|
96
79
|
}
|
|
97
|
-
|
|
98
80
|
if (data.hasOwnProperty('amount_matched_marine')) {
|
|
99
81
|
obj['amount_matched_marine'] = _ApiClient["default"].convertToType(data['amount_matched_marine'], 'Number');
|
|
100
82
|
}
|
|
101
|
-
|
|
102
83
|
if (data.hasOwnProperty('amount_matched_thermal')) {
|
|
103
84
|
obj['amount_matched_thermal'] = _ApiClient["default"].convertToType(data['amount_matched_thermal'], 'Number');
|
|
104
85
|
}
|
|
105
|
-
|
|
106
86
|
if (data.hasOwnProperty('amount_matched_solid')) {
|
|
107
87
|
obj['amount_matched_solid'] = _ApiClient["default"].convertToType(data['amount_matched_solid'], 'Number');
|
|
108
88
|
}
|
|
109
|
-
|
|
110
89
|
if (data.hasOwnProperty('amount_matched_liquid')) {
|
|
111
90
|
obj['amount_matched_liquid'] = _ApiClient["default"].convertToType(data['amount_matched_liquid'], 'Number');
|
|
112
91
|
}
|
|
113
|
-
|
|
114
92
|
if (data.hasOwnProperty('amount_matched_gaseous')) {
|
|
115
93
|
obj['amount_matched_gaseous'] = _ApiClient["default"].convertToType(data['amount_matched_gaseous'], 'Number');
|
|
116
94
|
}
|
|
117
|
-
|
|
118
95
|
if (data.hasOwnProperty('is_fully_matched')) {
|
|
119
96
|
obj['is_fully_matched'] = _ApiClient["default"].convertToType(data['is_fully_matched'], 'Boolean');
|
|
120
97
|
}
|
|
121
|
-
|
|
122
98
|
if (data.hasOwnProperty('production_sites_matched')) {
|
|
123
99
|
obj['production_sites_matched'] = _ApiClient["default"].convertToType(data['production_sites_matched'], ['String']);
|
|
124
100
|
}
|
|
125
|
-
|
|
126
101
|
if (data.hasOwnProperty('consumption_start')) {
|
|
127
102
|
obj['consumption_start'] = _ApiClient["default"].convertToType(data['consumption_start'], 'Date');
|
|
128
103
|
}
|
|
129
|
-
|
|
130
104
|
if (data.hasOwnProperty('consumption_end')) {
|
|
131
105
|
obj['consumption_end'] = _ApiClient["default"].convertToType(data['consumption_end'], 'Date');
|
|
132
106
|
}
|
|
133
|
-
|
|
134
107
|
if (data.hasOwnProperty('tx')) {
|
|
135
108
|
obj['tx'] = _ApiClient["default"].convertToType(data['tx'], 'String');
|
|
136
109
|
}
|
|
137
|
-
|
|
138
110
|
if (data.hasOwnProperty('is_settlement_data')) {
|
|
139
111
|
obj['is_settlement_data'] = _ApiClient["default"].convertToType(data['is_settlement_data'], 'Boolean');
|
|
140
112
|
}
|
|
141
|
-
|
|
142
113
|
if (data.hasOwnProperty('minter_contract')) {
|
|
143
114
|
obj['minter_contract'] = _ApiClient["default"].convertToType(data['minter_contract'], _SmartContract["default"]);
|
|
144
115
|
}
|
|
145
|
-
|
|
146
116
|
if (data.hasOwnProperty('created_at')) {
|
|
147
117
|
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
|
148
118
|
}
|
|
149
|
-
|
|
150
119
|
if (data.hasOwnProperty('updated_at')) {
|
|
151
120
|
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
|
|
152
121
|
}
|
|
153
122
|
}
|
|
154
|
-
|
|
155
123
|
return obj;
|
|
156
124
|
}
|
|
157
125
|
}]);
|
|
158
|
-
|
|
159
126
|
return ConsumptionDataPointCreate;
|
|
160
127
|
}();
|
|
161
128
|
/**
|
|
162
129
|
* This ID is also the token ID in the smart contract.
|
|
163
130
|
* @member {Number} id
|
|
164
131
|
*/
|
|
165
|
-
|
|
166
|
-
|
|
167
132
|
ConsumptionDataPointCreate.prototype['id'] = undefined;
|
|
133
|
+
|
|
168
134
|
/**
|
|
169
135
|
* @member {String} consumption_site
|
|
170
136
|
*/
|
|
171
|
-
|
|
172
137
|
ConsumptionDataPointCreate.prototype['consumption_site'] = undefined;
|
|
138
|
+
|
|
173
139
|
/**
|
|
174
140
|
* @member {String} consumer
|
|
175
141
|
*/
|
|
176
|
-
|
|
177
142
|
ConsumptionDataPointCreate.prototype['consumer'] = undefined;
|
|
143
|
+
|
|
178
144
|
/**
|
|
179
145
|
* @member {String} retailer
|
|
180
146
|
*/
|
|
181
|
-
|
|
182
147
|
ConsumptionDataPointCreate.prototype['retailer'] = undefined;
|
|
148
|
+
|
|
183
149
|
/**
|
|
184
150
|
* Required. Value should be in KWh. Default 0.
|
|
185
151
|
* @member {Number} amount_consumed
|
|
186
152
|
*/
|
|
187
|
-
|
|
188
153
|
ConsumptionDataPointCreate.prototype['amount_consumed'] = undefined;
|
|
154
|
+
|
|
189
155
|
/**
|
|
190
156
|
* Required. Value should be in KWh. Default 0.
|
|
191
157
|
* @member {Number} amount_matched_solar
|
|
192
158
|
*/
|
|
193
|
-
|
|
194
159
|
ConsumptionDataPointCreate.prototype['amount_matched_solar'] = undefined;
|
|
160
|
+
|
|
195
161
|
/**
|
|
196
162
|
* Required. Value should be in KWh. Default 0.
|
|
197
163
|
* @member {Number} amount_matched_wind
|
|
198
164
|
*/
|
|
199
|
-
|
|
200
165
|
ConsumptionDataPointCreate.prototype['amount_matched_wind'] = undefined;
|
|
166
|
+
|
|
201
167
|
/**
|
|
202
168
|
* Required. Value should be in KWh. Default 0.
|
|
203
169
|
* @member {Number} amount_matched_hydro
|
|
204
170
|
*/
|
|
205
|
-
|
|
206
171
|
ConsumptionDataPointCreate.prototype['amount_matched_hydro'] = undefined;
|
|
172
|
+
|
|
207
173
|
/**
|
|
208
174
|
* Required. Value should be in KWh. Default 0.
|
|
209
175
|
* @member {Number} amount_matched_marine
|
|
210
176
|
*/
|
|
211
|
-
|
|
212
177
|
ConsumptionDataPointCreate.prototype['amount_matched_marine'] = undefined;
|
|
178
|
+
|
|
213
179
|
/**
|
|
214
180
|
* Required. Value should be in KWh. Default 0.
|
|
215
181
|
* @member {Number} amount_matched_thermal
|
|
216
182
|
*/
|
|
217
|
-
|
|
218
183
|
ConsumptionDataPointCreate.prototype['amount_matched_thermal'] = undefined;
|
|
184
|
+
|
|
219
185
|
/**
|
|
220
186
|
* Required. Value should be in KWh. Default 0.
|
|
221
187
|
* @member {Number} amount_matched_solid
|
|
222
188
|
*/
|
|
223
|
-
|
|
224
189
|
ConsumptionDataPointCreate.prototype['amount_matched_solid'] = undefined;
|
|
190
|
+
|
|
225
191
|
/**
|
|
226
192
|
* Required. Value should be in KWh. Default 0.
|
|
227
193
|
* @member {Number} amount_matched_liquid
|
|
228
194
|
*/
|
|
229
|
-
|
|
230
195
|
ConsumptionDataPointCreate.prototype['amount_matched_liquid'] = undefined;
|
|
196
|
+
|
|
231
197
|
/**
|
|
232
198
|
* Required. Value should be in KWh. Default 0.
|
|
233
199
|
* @member {Number} amount_matched_gaseous
|
|
234
200
|
*/
|
|
235
|
-
|
|
236
201
|
ConsumptionDataPointCreate.prototype['amount_matched_gaseous'] = undefined;
|
|
202
|
+
|
|
237
203
|
/**
|
|
238
204
|
* True if consumption is fully matched. Default False.
|
|
239
205
|
* @member {Boolean} is_fully_matched
|
|
240
206
|
*/
|
|
241
|
-
|
|
242
207
|
ConsumptionDataPointCreate.prototype['is_fully_matched'] = undefined;
|
|
208
|
+
|
|
243
209
|
/**
|
|
244
210
|
* @member {Array.<String>} production_sites_matched
|
|
245
211
|
*/
|
|
246
|
-
|
|
247
212
|
ConsumptionDataPointCreate.prototype['production_sites_matched'] = undefined;
|
|
213
|
+
|
|
248
214
|
/**
|
|
249
215
|
* @member {Date} consumption_start
|
|
250
216
|
*/
|
|
251
|
-
|
|
252
217
|
ConsumptionDataPointCreate.prototype['consumption_start'] = undefined;
|
|
218
|
+
|
|
253
219
|
/**
|
|
254
220
|
* @member {Date} consumption_end
|
|
255
221
|
*/
|
|
256
|
-
|
|
257
222
|
ConsumptionDataPointCreate.prototype['consumption_end'] = undefined;
|
|
223
|
+
|
|
258
224
|
/**
|
|
259
225
|
* @member {String} tx
|
|
260
226
|
*/
|
|
261
|
-
|
|
262
227
|
ConsumptionDataPointCreate.prototype['tx'] = undefined;
|
|
228
|
+
|
|
263
229
|
/**
|
|
264
230
|
* True if settlement data. Default False.
|
|
265
231
|
* @member {Boolean} is_settlement_data
|
|
266
232
|
*/
|
|
267
|
-
|
|
268
233
|
ConsumptionDataPointCreate.prototype['is_settlement_data'] = undefined;
|
|
234
|
+
|
|
269
235
|
/**
|
|
270
236
|
* @member {module:model/SmartContract} minter_contract
|
|
271
237
|
*/
|
|
272
|
-
|
|
273
238
|
ConsumptionDataPointCreate.prototype['minter_contract'] = undefined;
|
|
239
|
+
|
|
274
240
|
/**
|
|
275
241
|
* @member {Date} created_at
|
|
276
242
|
*/
|
|
277
|
-
|
|
278
243
|
ConsumptionDataPointCreate.prototype['created_at'] = undefined;
|
|
244
|
+
|
|
279
245
|
/**
|
|
280
246
|
* @member {Date} updated_at
|
|
281
247
|
*/
|
|
282
|
-
|
|
283
248
|
ConsumptionDataPointCreate.prototype['updated_at'] = undefined;
|
|
284
249
|
var _default = ConsumptionDataPointCreate;
|
|
285
250
|
exports["default"] = _default;
|