green_link_api 0.49.7 → 0.55.0
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 +33 -36
- package/dist/ApiClient.js +3 -6
- package/dist/api/BlockchainApi.js +283 -0
- package/dist/api/EnergyAssetsApi.js +32 -30
- package/dist/api/EnergyDataApi.js +139 -40
- package/dist/api/HealthCheckApi.js +2 -2
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
- package/dist/api/LocationsApi.js +9 -9
- package/dist/api/MaintenanceCheckApi.js +2 -2
- package/dist/api/OrganizationprofilesApi.js +7 -7
- package/dist/api/OrganizationsApi.js +31 -31
- package/dist/api/SchemaApi.js +2 -2
- package/dist/api/SentryDebugApi.js +2 -2
- package/dist/api/UploadedfilesApi.js +226 -0
- package/dist/api/UsersApi.js +13 -230
- package/dist/index.js +105 -41
- package/dist/model/BlockchainTransaction.js +172 -0
- package/dist/model/Consumer.js +1 -1
- package/dist/model/ConsumptionDataFileList.js +1 -1
- package/dist/model/ConsumptionDataFromRetailer.js +1 -1
- package/dist/model/ConsumptionDataPointCreate.js +11 -11
- package/dist/model/ConsumptionDataPointListOrDetail.js +20 -13
- package/dist/model/ConsumptionDataPointUpdate.js +11 -11
- package/dist/model/ConsumptionSite.js +1 -1
- package/dist/model/ConsumptionSiteCreate.js +195 -0
- 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 +54 -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 +12 -13
- 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 +104 -0
- 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 +104 -0
- package/dist/model/PaginatedUnprocessedRowList.js +104 -0
- package/dist/model/PaginatedUploadedFileList.js +104 -0
- package/dist/model/PaginatedUserList.js +1 -1
- package/dist/model/PatchedConsumer.js +1 -1
- package/dist/model/PatchedConsumptionDataPointUpdate.js +11 -11
- 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 +12 -12
- package/dist/model/PatchedProductionSiteUpdate.js +2 -1
- package/dist/model/PatchedRetailer.js +1 -1
- package/dist/model/PatchedSmartContract.js +132 -0
- package/dist/model/PatchedUser.js +3 -1
- package/dist/model/PatchedUserDetail.js +3 -1
- package/dist/model/PriorityEnum.js +6 -0
- package/dist/model/Producer.js +1 -1
- package/dist/model/ProductionDataFileList.js +1 -1
- package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
- package/dist/model/ProductionDataPointCreate.js +12 -12
- package/dist/model/ProductionDataPointListOrDetail.js +21 -14
- package/dist/model/ProductionDataPointUpdate.js +12 -12
- package/dist/model/ProductionSite.js +5 -6
- package/dist/model/ProductionSiteFileUpload.js +1 -1
- package/dist/model/ProductionSiteListOrDetail.js +1 -1
- package/dist/model/ProductionSiteUpdate.js +5 -6
- package/dist/model/Register.js +8 -5
- package/dist/model/Retailer.js +1 -1
- package/dist/model/SmartContract.js +137 -0
- package/dist/model/{VerifyEmail.js → Token.js} +18 -17
- package/dist/model/TypeEnum.js +52 -0
- package/dist/model/UnprocessedRow.js +140 -0
- package/dist/model/UploadedFile.js +166 -0
- package/dist/model/User.js +3 -1
- package/dist/model/UserDetail.js +3 -1
- package/package.json +1 -1
- package/dist/model/JWT.js +0 -103
- package/dist/model/PasswordChange.js +0 -100
- package/dist/model/PasswordReset.js +0 -79
- package/dist/model/PasswordResetConfirm.js +0 -112
- package/dist/model/RestAuthDetail.js +0 -75
- package/dist/model/TokenRefresh.js +0 -87
- package/dist/model/TokenVerify.js +0 -78
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedConsumptionDataPointListOrDetailList model module.
|
|
22
22
|
* @module model/PaginatedConsumptionDataPointListOrDetailList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedConsumptionDataPointListOrDetailList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedConsumptionSiteListOrDetailList model module.
|
|
22
22
|
* @module model/PaginatedConsumptionSiteListOrDetailList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedConsumptionSiteListOrDetailList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedEmissionFactorList model module.
|
|
22
22
|
* @module model/PaginatedEmissionFactorList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedEmissionFactorList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedEnergySourcePreferenceList model module.
|
|
22
22
|
* @module model/PaginatedEnergySourcePreferenceList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedEnergySourcePreferenceList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedGridOperatorList model module.
|
|
22
22
|
* @module model/PaginatedGridOperatorList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedGridOperatorList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedIssuerList model module.
|
|
22
22
|
* @module model/PaginatedIssuerList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedIssuerList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedLocationList model module.
|
|
22
22
|
* @module model/PaginatedLocationList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedLocationList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedMatchRequestList model module.
|
|
22
22
|
* @module model/PaginatedMatchRequestList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedMatchRequestList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedMatchedEnergyDataPointList model module.
|
|
22
22
|
* @module model/PaginatedMatchedEnergyDataPointList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedProducerList model module.
|
|
22
22
|
* @module model/PaginatedProducerList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
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 0.55.0
|
|
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;
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedProductionDataPointListOrDetailList model module.
|
|
22
22
|
* @module model/PaginatedProductionDataPointListOrDetailList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedProductionDataPointListOrDetailList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedProductionSiteListOrDetailList model module.
|
|
22
22
|
* @module model/PaginatedProductionSiteListOrDetailList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedProductionSiteListOrDetailList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedRetailerList model module.
|
|
22
22
|
* @module model/PaginatedRetailerList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedRetailerList = /*#__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 _SmartContract = _interopRequireDefault(require("./SmartContract"));
|
|
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 PaginatedSmartContractList model module.
|
|
22
|
+
* @module model/PaginatedSmartContractList
|
|
23
|
+
* @version 0.55.0
|
|
24
|
+
*/
|
|
25
|
+
var PaginatedSmartContractList = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new <code>PaginatedSmartContractList</code>.
|
|
28
|
+
* @alias module:model/PaginatedSmartContractList
|
|
29
|
+
*/
|
|
30
|
+
function PaginatedSmartContractList() {
|
|
31
|
+
_classCallCheck(this, PaginatedSmartContractList);
|
|
32
|
+
|
|
33
|
+
PaginatedSmartContractList.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(PaginatedSmartContractList, null, [{
|
|
43
|
+
key: "initialize",
|
|
44
|
+
value: function initialize(obj) {}
|
|
45
|
+
/**
|
|
46
|
+
* Constructs a <code>PaginatedSmartContractList</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/PaginatedSmartContractList} obj Optional instance to populate.
|
|
50
|
+
* @return {module:model/PaginatedSmartContractList} The populated <code>PaginatedSmartContractList</code> instance.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
}, {
|
|
54
|
+
key: "constructFromObject",
|
|
55
|
+
value: function constructFromObject(data, obj) {
|
|
56
|
+
if (data) {
|
|
57
|
+
obj = obj || new PaginatedSmartContractList();
|
|
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'], [_SmartContract["default"]]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
}]);
|
|
79
|
+
|
|
80
|
+
return PaginatedSmartContractList;
|
|
81
|
+
}();
|
|
82
|
+
/**
|
|
83
|
+
* @member {Number} count
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
PaginatedSmartContractList.prototype['count'] = undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @member {String} next
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
PaginatedSmartContractList.prototype['next'] = undefined;
|
|
93
|
+
/**
|
|
94
|
+
* @member {String} previous
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
PaginatedSmartContractList.prototype['previous'] = undefined;
|
|
98
|
+
/**
|
|
99
|
+
* @member {Array.<module:model/SmartContract>} results
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
PaginatedSmartContractList.prototype['results'] = undefined;
|
|
103
|
+
var _default = PaginatedSmartContractList;
|
|
104
|
+
exports["default"] = _default;
|
|
@@ -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 _UnprocessedRow = _interopRequireDefault(require("./UnprocessedRow"));
|
|
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 PaginatedUnprocessedRowList model module.
|
|
22
|
+
* @module model/PaginatedUnprocessedRowList
|
|
23
|
+
* @version 0.55.0
|
|
24
|
+
*/
|
|
25
|
+
var PaginatedUnprocessedRowList = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new <code>PaginatedUnprocessedRowList</code>.
|
|
28
|
+
* @alias module:model/PaginatedUnprocessedRowList
|
|
29
|
+
*/
|
|
30
|
+
function PaginatedUnprocessedRowList() {
|
|
31
|
+
_classCallCheck(this, PaginatedUnprocessedRowList);
|
|
32
|
+
|
|
33
|
+
PaginatedUnprocessedRowList.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(PaginatedUnprocessedRowList, null, [{
|
|
43
|
+
key: "initialize",
|
|
44
|
+
value: function initialize(obj) {}
|
|
45
|
+
/**
|
|
46
|
+
* Constructs a <code>PaginatedUnprocessedRowList</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/PaginatedUnprocessedRowList} obj Optional instance to populate.
|
|
50
|
+
* @return {module:model/PaginatedUnprocessedRowList} The populated <code>PaginatedUnprocessedRowList</code> instance.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
}, {
|
|
54
|
+
key: "constructFromObject",
|
|
55
|
+
value: function constructFromObject(data, obj) {
|
|
56
|
+
if (data) {
|
|
57
|
+
obj = obj || new PaginatedUnprocessedRowList();
|
|
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'], [_UnprocessedRow["default"]]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
}]);
|
|
79
|
+
|
|
80
|
+
return PaginatedUnprocessedRowList;
|
|
81
|
+
}();
|
|
82
|
+
/**
|
|
83
|
+
* @member {Number} count
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
PaginatedUnprocessedRowList.prototype['count'] = undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @member {String} next
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
PaginatedUnprocessedRowList.prototype['next'] = undefined;
|
|
93
|
+
/**
|
|
94
|
+
* @member {String} previous
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
PaginatedUnprocessedRowList.prototype['previous'] = undefined;
|
|
98
|
+
/**
|
|
99
|
+
* @member {Array.<module:model/UnprocessedRow>} results
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
PaginatedUnprocessedRowList.prototype['results'] = undefined;
|
|
103
|
+
var _default = PaginatedUnprocessedRowList;
|
|
104
|
+
exports["default"] = _default;
|
|
@@ -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 _UploadedFile = _interopRequireDefault(require("./UploadedFile"));
|
|
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 PaginatedUploadedFileList model module.
|
|
22
|
+
* @module model/PaginatedUploadedFileList
|
|
23
|
+
* @version 0.55.0
|
|
24
|
+
*/
|
|
25
|
+
var PaginatedUploadedFileList = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new <code>PaginatedUploadedFileList</code>.
|
|
28
|
+
* @alias module:model/PaginatedUploadedFileList
|
|
29
|
+
*/
|
|
30
|
+
function PaginatedUploadedFileList() {
|
|
31
|
+
_classCallCheck(this, PaginatedUploadedFileList);
|
|
32
|
+
|
|
33
|
+
PaginatedUploadedFileList.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(PaginatedUploadedFileList, null, [{
|
|
43
|
+
key: "initialize",
|
|
44
|
+
value: function initialize(obj) {}
|
|
45
|
+
/**
|
|
46
|
+
* Constructs a <code>PaginatedUploadedFileList</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/PaginatedUploadedFileList} obj Optional instance to populate.
|
|
50
|
+
* @return {module:model/PaginatedUploadedFileList} The populated <code>PaginatedUploadedFileList</code> instance.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
}, {
|
|
54
|
+
key: "constructFromObject",
|
|
55
|
+
value: function constructFromObject(data, obj) {
|
|
56
|
+
if (data) {
|
|
57
|
+
obj = obj || new PaginatedUploadedFileList();
|
|
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'], [_UploadedFile["default"]]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
}]);
|
|
79
|
+
|
|
80
|
+
return PaginatedUploadedFileList;
|
|
81
|
+
}();
|
|
82
|
+
/**
|
|
83
|
+
* @member {Number} count
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
PaginatedUploadedFileList.prototype['count'] = undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @member {String} next
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
PaginatedUploadedFileList.prototype['next'] = undefined;
|
|
93
|
+
/**
|
|
94
|
+
* @member {String} previous
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
PaginatedUploadedFileList.prototype['previous'] = undefined;
|
|
98
|
+
/**
|
|
99
|
+
* @member {Array.<module:model/UploadedFile>} results
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
PaginatedUploadedFileList.prototype['results'] = undefined;
|
|
103
|
+
var _default = PaginatedUploadedFileList;
|
|
104
|
+
exports["default"] = _default;
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PaginatedUserList model module.
|
|
22
22
|
* @module model/PaginatedUserList
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PaginatedUserList = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PatchedConsumer model module.
|
|
22
22
|
* @module model/PatchedConsumer
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PatchedConsumer = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
9
|
|
|
10
|
+
var _SmartContract = _interopRequireDefault(require("./SmartContract"));
|
|
11
|
+
|
|
10
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
13
|
|
|
12
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -18,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
20
|
/**
|
|
19
21
|
* The PatchedConsumptionDataPointUpdate model module.
|
|
20
22
|
* @module model/PatchedConsumptionDataPointUpdate
|
|
21
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
22
24
|
*/
|
|
23
25
|
var PatchedConsumptionDataPointUpdate = /*#__PURE__*/function () {
|
|
24
26
|
/**
|
|
@@ -122,16 +124,16 @@ var PatchedConsumptionDataPointUpdate = /*#__PURE__*/function () {
|
|
|
122
124
|
obj['amount_consumed'] = _ApiClient["default"].convertToType(data['amount_consumed'], 'Number');
|
|
123
125
|
}
|
|
124
126
|
|
|
125
|
-
if (data.hasOwnProperty('
|
|
126
|
-
obj['
|
|
127
|
+
if (data.hasOwnProperty('tx')) {
|
|
128
|
+
obj['tx'] = _ApiClient["default"].convertToType(data['tx'], 'String');
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
if (data.hasOwnProperty('is_settlement_data')) {
|
|
130
132
|
obj['is_settlement_data'] = _ApiClient["default"].convertToType(data['is_settlement_data'], 'Boolean');
|
|
131
133
|
}
|
|
132
134
|
|
|
133
|
-
if (data.hasOwnProperty('
|
|
134
|
-
obj['
|
|
135
|
+
if (data.hasOwnProperty('minter_contract')) {
|
|
136
|
+
obj['minter_contract'] = _ApiClient["default"].convertToType(data['minter_contract'], _SmartContract["default"]);
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
if (data.hasOwnProperty('created_at')) {
|
|
@@ -247,11 +249,10 @@ PatchedConsumptionDataPointUpdate.prototype['consumption_end'] = undefined;
|
|
|
247
249
|
|
|
248
250
|
PatchedConsumptionDataPointUpdate.prototype['amount_consumed'] = undefined;
|
|
249
251
|
/**
|
|
250
|
-
*
|
|
251
|
-
* @member {String} consumption_tx_hash
|
|
252
|
+
* @member {String} tx
|
|
252
253
|
*/
|
|
253
254
|
|
|
254
|
-
PatchedConsumptionDataPointUpdate.prototype['
|
|
255
|
+
PatchedConsumptionDataPointUpdate.prototype['tx'] = undefined;
|
|
255
256
|
/**
|
|
256
257
|
* True if settlement data. Default False.
|
|
257
258
|
* @member {Boolean} is_settlement_data
|
|
@@ -259,11 +260,10 @@ PatchedConsumptionDataPointUpdate.prototype['consumption_tx_hash'] = undefined;
|
|
|
259
260
|
|
|
260
261
|
PatchedConsumptionDataPointUpdate.prototype['is_settlement_data'] = undefined;
|
|
261
262
|
/**
|
|
262
|
-
*
|
|
263
|
-
* @member {String} token_contract_address
|
|
263
|
+
* @member {module:model/SmartContract} minter_contract
|
|
264
264
|
*/
|
|
265
265
|
|
|
266
|
-
PatchedConsumptionDataPointUpdate.prototype['
|
|
266
|
+
PatchedConsumptionDataPointUpdate.prototype['minter_contract'] = undefined;
|
|
267
267
|
/**
|
|
268
268
|
* @member {Date} created_at
|
|
269
269
|
*/
|
|
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
20
20
|
/**
|
|
21
21
|
* The PatchedConsumptionSite model module.
|
|
22
22
|
* @module model/PatchedConsumptionSite
|
|
23
|
-
* @version 0.
|
|
23
|
+
* @version 0.55.0
|
|
24
24
|
*/
|
|
25
25
|
var PatchedConsumptionSite = /*#__PURE__*/function () {
|
|
26
26
|
/**
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* The PatchedEmissionFactor model module.
|
|
20
20
|
* @module model/PatchedEmissionFactor
|
|
21
|
-
* @version 0.
|
|
21
|
+
* @version 0.55.0
|
|
22
22
|
*/
|
|
23
23
|
var PatchedEmissionFactor = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -22,7 +22,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
22
22
|
/**
|
|
23
23
|
* The PatchedEnergySourcePreference model module.
|
|
24
24
|
* @module model/PatchedEnergySourcePreference
|
|
25
|
-
* @version 0.
|
|
25
|
+
* @version 0.55.0
|
|
26
26
|
*/
|
|
27
27
|
var PatchedEnergySourcePreference = /*#__PURE__*/function () {
|
|
28
28
|
/**
|