green_link_api 1.1.3 → 1.2.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.
- package/README.md +9 -2
- package/dist/ApiClient.js +2 -2
- package/dist/api/BlockchainApi.js +1 -1
- package/dist/api/EnergyAssetsApi.js +1 -1
- package/dist/api/EnergyDataApi.js +1 -1
- package/dist/api/HealthCheckApi.js +1 -1
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +1 -1
- package/dist/api/LocationsApi.js +1 -1
- package/dist/api/LogsApi.js +168 -6
- package/dist/api/MaintenanceCheckApi.js +1 -1
- 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 +24 -0
- package/dist/model/BlockchainTransaction.js +1 -1
- package/dist/model/Consumer.js +1 -1
- package/dist/model/ConsumptionDataFileList.js +1 -1
- package/dist/model/ConsumptionDataFromRetailerRequest.js +1 -1
- package/dist/model/ConsumptionDataFromRetailerResponse.js +1 -1
- 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 +1 -1
- package/dist/model/ConsumptionSiteCreate.js +1 -1
- package/dist/model/ConsumptionSiteFileUpload.js +1 -1
- package/dist/model/ConsumptionSiteFromRetailer.js +1 -1
- package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
- package/dist/model/ConsumptionSiteMany.js +1 -1
- package/dist/model/ContentTypeEnum.js +2 -0
- package/dist/model/EacTypeEnum.js +48 -0
- package/dist/model/EmissionFactor.js +1 -1
- package/dist/model/EnergySourcePreference.js +1 -1
- package/dist/model/GetFromEpias.js +1 -1
- package/dist/model/GridOperator.js +1 -1
- package/dist/model/Issuer.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/PaginatedProductionDataFromEpiasRequestList.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/PaginatedSmartContractList.js +1 -1
- package/dist/model/PaginatedUnprocessedRowList.js +1 -1
- package/dist/model/PaginatedUploadedCertificateList.js +104 -0
- package/dist/model/PaginatedUploadedFileList.js +1 -1
- package/dist/model/PaginatedUserList.js +1 -1
- package/dist/model/PatchedConsumer.js +1 -1
- package/dist/model/PatchedConsumptionDataPointUpdate.js +1 -1
- package/dist/model/PatchedConsumptionSite.js +1 -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 +1 -1
- package/dist/model/PatchedRetailer.js +1 -1
- package/dist/model/PatchedSmartContract.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 +1 -1
- package/dist/model/ProductionDataFromEpiasRequest.js +1 -1
- 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 +1 -1
- package/dist/model/ProductionSiteFileUpload.js +1 -1
- package/dist/model/ProductionSiteListOrDetail.js +1 -1
- package/dist/model/ProductionSiteUpdate.js +1 -1
- package/dist/model/Register.js +1 -1
- package/dist/model/Retailer.js +1 -1
- package/dist/model/SmartContract.js +1 -1
- package/dist/model/Token.js +1 -1
- package/dist/model/UnprocessedRow.js +1 -1
- package/dist/model/UploadedCertificate.js +176 -0
- package/dist/model/UploadedFile.js +1 -1
- package/dist/model/User.js +1 -1
- package/dist/model/UserDetail.js +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The ProductionDataPointCreate model module.
|
|
22
22
|
* @module model/ProductionDataPointCreate
|
|
23
|
-
* @version 1.1
|
|
23
|
+
* @version 1.2.1
|
|
24
24
|
*/
|
|
25
25
|
var ProductionDataPointCreate = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
28
28
|
/**
|
|
29
29
|
* The ProductionDataPointListOrDetail model module.
|
|
30
30
|
* @module model/ProductionDataPointListOrDetail
|
|
31
|
-
* @version 1.1
|
|
31
|
+
* @version 1.2.1
|
|
32
32
|
*/
|
|
33
33
|
var ProductionDataPointListOrDetail = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The ProductionDataPointUpdate model module.
|
|
22
22
|
* @module model/ProductionDataPointUpdate
|
|
23
|
-
* @version 1.1
|
|
23
|
+
* @version 1.2.1
|
|
24
24
|
*/
|
|
25
25
|
var ProductionDataPointUpdate = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The ProductionSite model module.
|
|
22
22
|
* @module model/ProductionSite
|
|
23
|
-
* @version 1.1
|
|
23
|
+
* @version 1.2.1
|
|
24
24
|
*/
|
|
25
25
|
var ProductionSite = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* The ProductionSiteFileUpload model module.
|
|
20
20
|
* @module model/ProductionSiteFileUpload
|
|
21
|
-
* @version 1.1
|
|
21
|
+
* @version 1.2.1
|
|
22
22
|
*/
|
|
23
23
|
var ProductionSiteFileUpload = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -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 1.1
|
|
25
|
+
* @version 1.2.1
|
|
26
26
|
*/
|
|
27
27
|
var ProductionSiteListOrDetail = /*#__PURE__*/function () {
|
|
28
28
|
/**
|
|
@@ -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 1.1
|
|
23
|
+
* @version 1.2.1
|
|
24
24
|
*/
|
|
25
25
|
var ProductionSiteUpdate = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
package/dist/model/Register.js
CHANGED
package/dist/model/Retailer.js
CHANGED
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* The SmartContract model module.
|
|
20
20
|
* @module model/SmartContract
|
|
21
|
-
* @version 1.1
|
|
21
|
+
* @version 1.2.1
|
|
22
22
|
*/
|
|
23
23
|
var SmartContract = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Token.js
CHANGED
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* The UnprocessedRow model module.
|
|
20
20
|
* @module model/UnprocessedRow
|
|
21
|
-
* @version 1.1
|
|
21
|
+
* @version 1.2.1
|
|
22
22
|
*/
|
|
23
23
|
var UnprocessedRow = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -0,0 +1,176 @@
|
|
|
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 _EacTypeEnum = _interopRequireDefault(require("./EacTypeEnum"));
|
|
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 UploadedCertificate model module.
|
|
22
|
+
* @module model/UploadedCertificate
|
|
23
|
+
* @version 1.2.1
|
|
24
|
+
*/
|
|
25
|
+
var UploadedCertificate = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new <code>UploadedCertificate</code>.
|
|
28
|
+
* @alias module:model/UploadedCertificate
|
|
29
|
+
* @param name {String} Required. Max length is 200.
|
|
30
|
+
* @param upload {String}
|
|
31
|
+
* @param eacType {module:model/EacTypeEnum} Required. Select from available choices.
|
|
32
|
+
* @param consumer {String}
|
|
33
|
+
* @param producer {String}
|
|
34
|
+
* @param periodStart {Date}
|
|
35
|
+
* @param periodEnd {Date}
|
|
36
|
+
*/
|
|
37
|
+
function UploadedCertificate(name, upload, eacType, consumer, producer, periodStart, periodEnd) {
|
|
38
|
+
_classCallCheck(this, UploadedCertificate);
|
|
39
|
+
|
|
40
|
+
UploadedCertificate.initialize(this, name, upload, eacType, consumer, producer, periodStart, periodEnd);
|
|
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
|
+
|
|
48
|
+
|
|
49
|
+
_createClass(UploadedCertificate, null, [{
|
|
50
|
+
key: "initialize",
|
|
51
|
+
value: function initialize(obj, name, upload, eacType, consumer, producer, periodStart, periodEnd) {
|
|
52
|
+
obj['name'] = name;
|
|
53
|
+
obj['upload'] = upload;
|
|
54
|
+
obj['eac_type'] = eacType;
|
|
55
|
+
obj['consumer'] = consumer;
|
|
56
|
+
obj['producer'] = producer;
|
|
57
|
+
obj['period_start'] = periodStart;
|
|
58
|
+
obj['period_end'] = periodEnd;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a <code>UploadedCertificate</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
+
* @param {module:model/UploadedCertificate} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/UploadedCertificate} The populated <code>UploadedCertificate</code> instance.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
}, {
|
|
69
|
+
key: "constructFromObject",
|
|
70
|
+
value: function constructFromObject(data, obj) {
|
|
71
|
+
if (data) {
|
|
72
|
+
obj = obj || new UploadedCertificate();
|
|
73
|
+
|
|
74
|
+
if (data.hasOwnProperty('id')) {
|
|
75
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (data.hasOwnProperty('name')) {
|
|
79
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (data.hasOwnProperty('upload')) {
|
|
83
|
+
obj['upload'] = _ApiClient["default"].convertToType(data['upload'], 'String');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (data.hasOwnProperty('content_type')) {
|
|
87
|
+
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (data.hasOwnProperty('eac_type')) {
|
|
91
|
+
obj['eac_type'] = _ApiClient["default"].convertToType(data['eac_type'], _EacTypeEnum["default"]);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (data.hasOwnProperty('consumer')) {
|
|
95
|
+
obj['consumer'] = _ApiClient["default"].convertToType(data['consumer'], 'String');
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (data.hasOwnProperty('producer')) {
|
|
99
|
+
obj['producer'] = _ApiClient["default"].convertToType(data['producer'], 'String');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (data.hasOwnProperty('period_start')) {
|
|
103
|
+
obj['period_start'] = _ApiClient["default"].convertToType(data['period_start'], 'Date');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (data.hasOwnProperty('period_end')) {
|
|
107
|
+
obj['period_end'] = _ApiClient["default"].convertToType(data['period_end'], 'Date');
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (data.hasOwnProperty('created_at')) {
|
|
111
|
+
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return obj;
|
|
116
|
+
}
|
|
117
|
+
}]);
|
|
118
|
+
|
|
119
|
+
return UploadedCertificate;
|
|
120
|
+
}();
|
|
121
|
+
/**
|
|
122
|
+
* @member {String} id
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
UploadedCertificate.prototype['id'] = undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Required. Max length is 200.
|
|
129
|
+
* @member {String} name
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
UploadedCertificate.prototype['name'] = undefined;
|
|
133
|
+
/**
|
|
134
|
+
* @member {String} upload
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
UploadedCertificate.prototype['upload'] = undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @member {String} content_type
|
|
140
|
+
* @default 'Energy attribute certificates'
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
UploadedCertificate.prototype['content_type'] = 'Energy attribute certificates';
|
|
144
|
+
/**
|
|
145
|
+
* Required. Select from available choices.
|
|
146
|
+
* @member {module:model/EacTypeEnum} eac_type
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
UploadedCertificate.prototype['eac_type'] = undefined;
|
|
150
|
+
/**
|
|
151
|
+
* @member {String} consumer
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
UploadedCertificate.prototype['consumer'] = undefined;
|
|
155
|
+
/**
|
|
156
|
+
* @member {String} producer
|
|
157
|
+
*/
|
|
158
|
+
|
|
159
|
+
UploadedCertificate.prototype['producer'] = undefined;
|
|
160
|
+
/**
|
|
161
|
+
* @member {Date} period_start
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
UploadedCertificate.prototype['period_start'] = undefined;
|
|
165
|
+
/**
|
|
166
|
+
* @member {Date} period_end
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
UploadedCertificate.prototype['period_end'] = undefined;
|
|
170
|
+
/**
|
|
171
|
+
* @member {Date} created_at
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
UploadedCertificate.prototype['created_at'] = undefined;
|
|
175
|
+
var _default = UploadedCertificate;
|
|
176
|
+
exports["default"] = _default;
|
package/dist/model/User.js
CHANGED
package/dist/model/UserDetail.js
CHANGED