green_link_api 1.15.2 → 1.16.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 +22 -31
- package/dist/ApiClient.js +4 -8
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +22 -22
- package/dist/api/EnergyDataApi.js +82 -164
- package/dist/api/HealthCheckApi.js +3 -3
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +3 -3
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +129 -60
- package/dist/api/MaintenanceCheckApi.js +3 -3
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +32 -32
- package/dist/api/SchemaApi.js +3 -3
- package/dist/api/SentryDebugApi.js +3 -3
- package/dist/api/UsersApi.js +10 -10
- package/dist/index.js +73 -73
- package/dist/model/Activities.js +79 -26
- package/dist/model/ActivitiesStatusEnum.js +60 -0
- package/dist/model/{BlockchainTransaction.js → BlockchainTransactionTask.js} +31 -33
- package/dist/model/Consumer.js +2 -2
- package/dist/model/ConsumptionDataFileList.js +2 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
- package/dist/model/ConsumptionDataPointCreate.js +2 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +6 -6
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/{ImportRequest.js → ConsumptionDataTask.js} +33 -33
- package/dist/model/ConsumptionSite.js +2 -2
- package/dist/model/ConsumptionSiteContract.js +2 -2
- package/dist/model/ConsumptionSiteContractImport.js +2 -2
- package/dist/model/ConsumptionSiteCreate.js +2 -2
- package/dist/model/ConsumptionSiteFileUpload.js +2 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
- package/dist/model/ContentTypeEnum.js +1 -1
- package/dist/model/EacTypeEnum.js +1 -1
- package/dist/model/EmissionFactor.js +2 -2
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/{Status619Enum.js → EventEnum.js} +21 -16
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/{ImportedEnergyDataPoint.js → ImportedConsumptionDataPoint.js} +26 -26
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/{MatchedEnergyDataPoint.js → MatchedDataPoint.js} +33 -33
- package/dist/model/{MatchRequest.js → MatchedDataTask.js} +42 -42
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/NullEnum.js +55 -0
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +2 -2
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
- package/dist/model/{PaginatedUploadedFileList.js → PaginatedConsumptionDataTaskList.js} +24 -24
- package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedEmissionFactorList.js +2 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
- package/dist/model/PaginatedGridOperatorList.js +2 -2
- package/dist/model/PaginatedImportedConsumptionDataPointList.js +101 -0
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/{PaginatedImportRequestRawList.js → PaginatedMatchedDataPointList.js} +24 -24
- package/dist/model/{PaginatedImportRequestList.js → PaginatedMatchedDataTaskList.js} +24 -24
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/{PaginatedImportedEnergyDataPointList.js → PaginatedProductionDataFromEpiasTaskList.js} +24 -24
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedRetailerList.js +2 -2
- package/dist/model/PaginatedSmartContractList.js +2 -2
- package/dist/model/PaginatedUnprocessedRowList.js +2 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
- package/dist/model/{PaginatedMatchRequestList.js → PaginatedUploadedFileTaskList.js} +24 -24
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +2 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
- package/dist/model/PatchedConsumptionSite.js +2 -2
- package/dist/model/PatchedEmissionFactor.js +2 -2
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +2 -2
- package/dist/model/PatchedProducer.js +2 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
- package/dist/model/PatchedProductionSiteUpdate.js +2 -2
- package/dist/model/PatchedRetailer.js +2 -2
- package/dist/model/PatchedSmartContract.js +2 -2
- package/dist/model/PatchedUser.js +2 -2
- package/dist/model/PatchedUserDetail.js +2 -2
- package/dist/model/PriorityEnum.js +1 -1
- package/dist/model/Producer.js +2 -2
- package/dist/model/ProductionDataFileList.js +2 -2
- package/dist/model/{ProductionDataFromEpiasRequest.js → ProductionDataFromEpiasTask.js} +30 -30
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +6 -6
- package/dist/model/ProductionDataPointUpdate.js +2 -2
- package/dist/model/ProductionSite.js +2 -2
- package/dist/model/ProductionSiteFileUpload.js +2 -2
- package/dist/model/ProductionSiteListOrDetail.js +2 -2
- package/dist/model/ProductionSiteUpdate.js +2 -2
- package/dist/model/Register.js +2 -2
- package/dist/model/Retailer.js +2 -2
- package/dist/model/SmartContract.js +2 -2
- package/dist/model/{ImportRequestStatusEnum.js → Status90bEnum.js} +15 -10
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UnprocessedRow.js +2 -2
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/{UploadedFile.js → UploadedFileTask.js} +29 -29
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
- package/dist/model/ImportRequestRaw.js +0 -120
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +0 -101
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +0 -101
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _BlockchainTransactionTask = _interopRequireDefault(require("./BlockchainTransactionTask"));
|
|
9
9
|
var _ConsumptionSite = _interopRequireDefault(require("./ConsumptionSite"));
|
|
10
10
|
var _Producer = _interopRequireDefault(require("./Producer"));
|
|
11
11
|
var _ProductionSite = _interopRequireDefault(require("./ProductionSite"));
|
|
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
20
20
|
* GreenLink API
|
|
21
21
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
22
22
|
*
|
|
23
|
-
* The version of the OpenAPI document: 1.
|
|
23
|
+
* The version of the OpenAPI document: 1.16.0
|
|
24
24
|
*
|
|
25
25
|
*
|
|
26
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
31
31
|
/**
|
|
32
32
|
* The ProductionDataPointListOrDetail model module.
|
|
33
33
|
* @module model/ProductionDataPointListOrDetail
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.16.0
|
|
35
35
|
*/
|
|
36
36
|
var ProductionDataPointListOrDetail = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -41,7 +41,7 @@ var ProductionDataPointListOrDetail = /*#__PURE__*/function () {
|
|
|
41
41
|
* @param producer {module:model/Producer}
|
|
42
42
|
* @param productionStart {Date}
|
|
43
43
|
* @param productionEnd {Date}
|
|
44
|
-
* @param tx {module:model/
|
|
44
|
+
* @param tx {module:model/BlockchainTransactionTask}
|
|
45
45
|
* @param minterContract {module:model/SmartContract}
|
|
46
46
|
*/
|
|
47
47
|
function ProductionDataPointListOrDetail(productionSite, producer, productionStart, productionEnd, tx, minterContract) {
|
|
@@ -111,7 +111,7 @@ var ProductionDataPointListOrDetail = /*#__PURE__*/function () {
|
|
|
111
111
|
obj['is_fully_matched'] = _ApiClient["default"].convertToType(data['is_fully_matched'], 'Boolean');
|
|
112
112
|
}
|
|
113
113
|
if (data.hasOwnProperty('tx')) {
|
|
114
|
-
obj['tx'] =
|
|
114
|
+
obj['tx'] = _BlockchainTransactionTask["default"].constructFromObject(data['tx']);
|
|
115
115
|
}
|
|
116
116
|
if (data.hasOwnProperty('consumption_sites_matched')) {
|
|
117
117
|
obj['consumption_sites_matched'] = _ApiClient["default"].convertToType(data['consumption_sites_matched'], [_ConsumptionSite["default"]]);
|
|
@@ -194,7 +194,7 @@ ProductionDataPointListOrDetail.prototype['amount_matched'] = undefined;
|
|
|
194
194
|
ProductionDataPointListOrDetail.prototype['is_fully_matched'] = undefined;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
|
-
* @member {module:model/
|
|
197
|
+
* @member {module:model/BlockchainTransactionTask} tx
|
|
198
198
|
*/
|
|
199
199
|
ProductionDataPointListOrDetail.prototype['tx'] = undefined;
|
|
200
200
|
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The ProductionDataPointUpdate model module.
|
|
29
29
|
* @module model/ProductionDataPointUpdate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var ProductionDataPointUpdate = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The ProductionSite model module.
|
|
29
29
|
* @module model/ProductionSite
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var ProductionSite = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The ProductionSiteFileUpload model module.
|
|
28
28
|
* @module model/ProductionSiteFileUpload
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var ProductionSiteFileUpload = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* GreenLink API
|
|
18
18
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.16.0
|
|
21
21
|
*
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* The ProductionSiteListOrDetail model module.
|
|
30
30
|
* @module model/ProductionSiteListOrDetail
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.16.0
|
|
32
32
|
*/
|
|
33
33
|
var ProductionSiteListOrDetail = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The ProductionSiteUpdate model module.
|
|
29
29
|
* @module model/ProductionSiteUpdate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var ProductionSiteUpdate = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/Register.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The Register model module.
|
|
28
28
|
* @module model/Register
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var Register = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Retailer.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The Retailer model module.
|
|
29
29
|
* @module model/Retailer
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var Retailer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The SmartContract model module.
|
|
28
28
|
* @module model/SmartContract
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var SmartContract = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,13 +25,13 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* Enum class
|
|
28
|
+
* Enum class Status90bEnum.
|
|
29
29
|
* @enum {}
|
|
30
30
|
* @readonly
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
33
|
-
function
|
|
34
|
-
_classCallCheck(this,
|
|
32
|
+
var Status90bEnum = /*#__PURE__*/function () {
|
|
33
|
+
function Status90bEnum() {
|
|
34
|
+
_classCallCheck(this, Status90bEnum);
|
|
35
35
|
/**
|
|
36
36
|
* value: "pending"
|
|
37
37
|
* @const
|
|
@@ -52,19 +52,24 @@ var ImportRequestStatusEnum = /*#__PURE__*/function () {
|
|
|
52
52
|
* @const
|
|
53
53
|
*/
|
|
54
54
|
_defineProperty(this, "finished", "finished");
|
|
55
|
+
/**
|
|
56
|
+
* value: "unstarted"
|
|
57
|
+
* @const
|
|
58
|
+
*/
|
|
59
|
+
_defineProperty(this, "unstarted", "unstarted");
|
|
55
60
|
}
|
|
56
|
-
_createClass(
|
|
61
|
+
_createClass(Status90bEnum, null, [{
|
|
57
62
|
key: "constructFromObject",
|
|
58
63
|
value:
|
|
59
64
|
/**
|
|
60
|
-
* Returns a <code>
|
|
65
|
+
* Returns a <code>Status90bEnum</code> enum value from a Javascript object name.
|
|
61
66
|
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
62
|
-
* @return {module:model/
|
|
67
|
+
* @return {module:model/Status90bEnum} The enum <code>Status90bEnum</code> value.
|
|
63
68
|
*/
|
|
64
69
|
function constructFromObject(object) {
|
|
65
70
|
return object;
|
|
66
71
|
}
|
|
67
72
|
}]);
|
|
68
|
-
return
|
|
73
|
+
return Status90bEnum;
|
|
69
74
|
}();
|
|
70
|
-
exports["default"] =
|
|
75
|
+
exports["default"] = Status90bEnum;
|
package/dist/model/TypeEnum.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* GreenLink API
|
|
16
16
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.0
|
|
19
19
|
*
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The UnprocessedRow model module.
|
|
28
28
|
* @module model/UnprocessedRow
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.16.0
|
|
30
30
|
*/
|
|
31
31
|
var UnprocessedRow = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The UploadedCertificate model module.
|
|
29
29
|
* @module model/UploadedCertificate
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var UploadedCertificate = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* GreenLink API
|
|
18
18
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.16.0
|
|
21
21
|
*
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* The UploadedCertificateListorDetail model module.
|
|
30
30
|
* @module model/UploadedCertificateListorDetail
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.16.0
|
|
32
32
|
*/
|
|
33
33
|
var UploadedCertificateListorDetail = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _ContentTypeEnum = _interopRequireDefault(require("./ContentTypeEnum"));
|
|
9
|
-
var
|
|
9
|
+
var _Status90bEnum = _interopRequireDefault(require("./Status90bEnum"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
11
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
12
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* GreenLink API
|
|
18
18
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.16.0
|
|
21
21
|
*
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,22 +26,22 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
|
-
* The
|
|
30
|
-
* @module model/
|
|
31
|
-
* @version 1.
|
|
29
|
+
* The UploadedFileTask model module.
|
|
30
|
+
* @module model/UploadedFileTask
|
|
31
|
+
* @version 1.16.0
|
|
32
32
|
*/
|
|
33
|
-
var
|
|
33
|
+
var UploadedFileTask = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
|
-
* Constructs a new <code>
|
|
36
|
-
* @alias module:model/
|
|
35
|
+
* Constructs a new <code>UploadedFileTask</code>.
|
|
36
|
+
* @alias module:model/UploadedFileTask
|
|
37
37
|
* @param name {String} Required. Max length is 200.
|
|
38
38
|
* @param upload {String}
|
|
39
39
|
* @param contentType {module:model/ContentTypeEnum} Required. Select from available choices. * `Consumption sites` - Consumption sites * `Consumption data points` - Consumption data points * `Production sites` - Production sites * `Production data points` - Production data points * `Energy attribute certificates` - Energy attribute certificates
|
|
40
40
|
* @param owner {String}
|
|
41
41
|
*/
|
|
42
|
-
function
|
|
43
|
-
_classCallCheck(this,
|
|
44
|
-
|
|
42
|
+
function UploadedFileTask(name, upload, contentType, owner) {
|
|
43
|
+
_classCallCheck(this, UploadedFileTask);
|
|
44
|
+
UploadedFileTask.initialize(this, name, upload, contentType, owner);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -49,7 +49,7 @@ var UploadedFile = /*#__PURE__*/function () {
|
|
|
49
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
50
|
* Only for internal use.
|
|
51
51
|
*/
|
|
52
|
-
_createClass(
|
|
52
|
+
_createClass(UploadedFileTask, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
54
|
value: function initialize(obj, name, upload, contentType, owner) {
|
|
55
55
|
obj['name'] = name;
|
|
@@ -59,17 +59,17 @@ var UploadedFile = /*#__PURE__*/function () {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Constructs a <code>
|
|
62
|
+
* Constructs a <code>UploadedFileTask</code> from a plain JavaScript object, optionally creating a new instance.
|
|
63
63
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
64
64
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
65
|
-
* @param {module:model/
|
|
66
|
-
* @return {module:model/
|
|
65
|
+
* @param {module:model/UploadedFileTask} obj Optional instance to populate.
|
|
66
|
+
* @return {module:model/UploadedFileTask} The populated <code>UploadedFileTask</code> instance.
|
|
67
67
|
*/
|
|
68
68
|
}, {
|
|
69
69
|
key: "constructFromObject",
|
|
70
70
|
value: function constructFromObject(data, obj) {
|
|
71
71
|
if (data) {
|
|
72
|
-
obj = obj || new
|
|
72
|
+
obj = obj || new UploadedFileTask();
|
|
73
73
|
if (data.hasOwnProperty('id')) {
|
|
74
74
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
75
75
|
}
|
|
@@ -86,7 +86,7 @@ var UploadedFile = /*#__PURE__*/function () {
|
|
|
86
86
|
obj['owner'] = _ApiClient["default"].convertToType(data['owner'], 'String');
|
|
87
87
|
}
|
|
88
88
|
if (data.hasOwnProperty('status')) {
|
|
89
|
-
obj['status'] = _ApiClient["default"].convertToType(data['status'],
|
|
89
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status90bEnum["default"]);
|
|
90
90
|
}
|
|
91
91
|
if (data.hasOwnProperty('created_at')) {
|
|
92
92
|
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
|
@@ -98,49 +98,49 @@ var UploadedFile = /*#__PURE__*/function () {
|
|
|
98
98
|
return obj;
|
|
99
99
|
}
|
|
100
100
|
}]);
|
|
101
|
-
return
|
|
101
|
+
return UploadedFileTask;
|
|
102
102
|
}();
|
|
103
103
|
/**
|
|
104
104
|
* @member {String} id
|
|
105
105
|
*/
|
|
106
|
-
|
|
106
|
+
UploadedFileTask.prototype['id'] = undefined;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Required. Max length is 200.
|
|
110
110
|
* @member {String} name
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
UploadedFileTask.prototype['name'] = undefined;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* @member {String} upload
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
UploadedFileTask.prototype['upload'] = undefined;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Required. Select from available choices. * `Consumption sites` - Consumption sites * `Consumption data points` - Consumption data points * `Production sites` - Production sites * `Production data points` - Production data points * `Energy attribute certificates` - Energy attribute certificates
|
|
121
121
|
* @member {module:model/ContentTypeEnum} content_type
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
UploadedFileTask.prototype['content_type'] = undefined;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* @member {String} owner
|
|
127
127
|
*/
|
|
128
|
-
|
|
128
|
+
UploadedFileTask.prototype['owner'] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* Status is set to `started` or `finished` if the file has been processed. Default `unstarted`. * `
|
|
132
|
-
* @member {module:model/
|
|
131
|
+
* Status is set to `started` or `finished` if the file has been processed. Default `unstarted`. * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
132
|
+
* @member {module:model/Status90bEnum} status
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
UploadedFileTask.prototype['status'] = undefined;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* @member {Date} created_at
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
UploadedFileTask.prototype['created_at'] = undefined;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* @member {Date} updated_at
|
|
143
143
|
*/
|
|
144
|
-
|
|
145
|
-
var _default =
|
|
144
|
+
UploadedFileTask.prototype['updated_at'] = undefined;
|
|
145
|
+
var _default = UploadedFileTask;
|
|
146
146
|
exports["default"] = _default;
|
package/dist/model/User.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The User model module.
|
|
29
29
|
* @module model/User
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var User = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/UserDetail.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* GreenLink API
|
|
17
17
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.0
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The UserDetail model module.
|
|
29
29
|
* @module model/UserDetail
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.16.0
|
|
31
31
|
*/
|
|
32
32
|
var UserDetail = /*#__PURE__*/function () {
|
|
33
33
|
/**
|