green_link_api 1.0.0 → 1.1.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 +72 -33
- package/dist/ApiClient.js +70 -24
- package/dist/api/BlockchainApi.js +283 -0
- package/dist/api/EnergyAssetsApi.js +196 -44
- package/dist/api/EnergyDataApi.js +354 -46
- package/dist/api/HealthCheckApi.js +68 -0
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +69 -0
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +428 -0
- package/dist/api/MaintenanceCheckApi.js +68 -0
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +47 -47
- package/dist/api/SchemaApi.js +6 -6
- package/dist/api/SentryDebugApi.js +68 -0
- package/dist/api/UsersApi.js +74 -256
- package/dist/index.js +267 -67
- package/dist/model/BlockchainTransaction.js +172 -0
- package/dist/model/Consumer.js +7 -7
- package/dist/model/ConsumptionDataFileList.js +132 -0
- package/dist/model/ConsumptionDataFromRetailerRequest.js +110 -0
- package/dist/model/{RestAuthDetail.js → ConsumptionDataFromRetailerResponse.js} +26 -21
- package/dist/model/ConsumptionDataPointCreate.js +12 -12
- package/dist/model/ConsumptionDataPointListOrDetail.js +21 -14
- package/dist/model/ConsumptionDataPointUpdate.js +12 -12
- package/dist/model/ConsumptionSite.js +20 -21
- package/dist/model/ConsumptionSiteCreate.js +195 -0
- package/dist/model/ConsumptionSiteFileUpload.js +133 -0
- package/dist/model/{TokenRefresh.js → ConsumptionSiteFromRetailer.js} +25 -33
- package/dist/model/ConsumptionSiteListOrDetail.js +15 -33
- package/dist/model/ConsumptionSiteMany.js +195 -0
- package/dist/model/ContentTypeEnum.js +54 -0
- package/dist/model/EmissionFactor.js +6 -8
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/GetFromEpias.js +98 -0
- package/dist/model/GridOperator.js +6 -6
- package/dist/model/Issuer.js +6 -6
- package/dist/model/Location.js +6 -8
- package/dist/model/Login.js +2 -2
- package/dist/model/MatchRequest.js +299 -0
- package/dist/model/{CountryEnum.js → MatchTypeEnum.js} +12 -12
- package/dist/model/MatchedEnergyDataPoint.js +13 -14
- package/dist/model/MatchingConsumerRequest.js +122 -0
- package/dist/model/{MatchingRequest.js → MatchingSiteRequest.js} +32 -21
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.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/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/PaginatedMatchRequestList.js +104 -0
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
- 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 +104 -0
- package/dist/model/PaginatedUnprocessedRowList.js +104 -0
- package/dist/model/PaginatedUploadedFileList.js +104 -0
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +7 -7
- package/dist/model/PatchedConsumptionDataPointUpdate.js +12 -12
- package/dist/model/PatchedConsumptionSite.js +15 -16
- package/dist/model/PatchedEmissionFactor.js +5 -7
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +6 -6
- package/dist/model/PatchedIssuer.js +6 -6
- package/dist/model/PatchedLocation.js +5 -7
- package/dist/model/PatchedProducer.js +6 -6
- package/dist/model/PatchedProductionDataPointUpdate.js +13 -13
- package/dist/model/{PatchedProductionSite.js → PatchedProductionSiteUpdate.js} +60 -45
- package/dist/model/PatchedRetailer.js +16 -6
- package/dist/model/PatchedSmartContract.js +134 -0
- package/dist/model/PatchedUser.js +13 -2
- package/dist/model/PatchedUserDetail.js +13 -2
- package/dist/model/PriorityEnum.js +7 -1
- package/dist/model/Producer.js +6 -6
- package/dist/model/ProductionDataFileList.js +132 -0
- package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
- package/dist/model/ProductionDataPointCreate.js +13 -13
- package/dist/model/ProductionDataPointListOrDetail.js +24 -21
- package/dist/model/ProductionDataPointUpdate.js +13 -13
- package/dist/model/ProductionSite.js +37 -24
- package/dist/model/ProductionSiteFileUpload.js +177 -0
- package/dist/model/ProductionSiteListOrDetail.js +30 -43
- package/dist/model/ProductionSiteUpdate.js +245 -0
- package/dist/model/Register.js +18 -6
- package/dist/model/Retailer.js +16 -6
- package/dist/model/SmartContract.js +139 -0
- package/dist/model/StatusEnum.js +52 -0
- package/dist/model/{VerifyEmail.js → Token.js} +19 -18
- package/dist/model/TypeEnum.js +52 -0
- package/dist/model/UnprocessedRow.js +140 -0
- package/dist/model/UploadedFile.js +154 -0
- package/dist/model/User.js +13 -2
- package/dist/model/UserDetail.js +13 -2
- package/package.json +4 -4
- 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/TechnologyOrFuelTypeEnum.js +0 -170
- package/dist/model/TokenVerify.js +0 -78
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
+
|
|
14
|
+
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
|
+
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
|
+
/**
|
|
19
|
+
* HealthCheck service.
|
|
20
|
+
* @module api/HealthCheckApi
|
|
21
|
+
* @version 1.1.1
|
|
22
|
+
*/
|
|
23
|
+
var HealthCheckApi = /*#__PURE__*/function () {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new HealthCheckApi.
|
|
26
|
+
* @alias module:api/HealthCheckApi
|
|
27
|
+
* @class
|
|
28
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
29
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
30
|
+
*/
|
|
31
|
+
function HealthCheckApi(apiClient) {
|
|
32
|
+
_classCallCheck(this, HealthCheckApi);
|
|
33
|
+
|
|
34
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Callback function to receive the result of the healthCheckRetrieve operation.
|
|
38
|
+
* @callback module:api/HealthCheckApi~healthCheckRetrieveCallback
|
|
39
|
+
* @param {String} error Error message, if any.
|
|
40
|
+
* @param data This operation does not return a value.
|
|
41
|
+
* @param {String} response The complete HTTP response.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @param {module:api/HealthCheckApi~healthCheckRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
_createClass(HealthCheckApi, [{
|
|
50
|
+
key: "healthCheckRetrieve",
|
|
51
|
+
value: function healthCheckRetrieve(callback) {
|
|
52
|
+
var postBody = null;
|
|
53
|
+
var pathParams = {};
|
|
54
|
+
var queryParams = {};
|
|
55
|
+
var headerParams = {};
|
|
56
|
+
var formParams = {};
|
|
57
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
58
|
+
var contentTypes = [];
|
|
59
|
+
var accepts = [];
|
|
60
|
+
var returnType = null;
|
|
61
|
+
return this.apiClient.callApi('/health-check/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
62
|
+
}
|
|
63
|
+
}]);
|
|
64
|
+
|
|
65
|
+
return HealthCheckApi;
|
|
66
|
+
}();
|
|
67
|
+
|
|
68
|
+
exports["default"] = HealthCheckApi;
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
+
|
|
14
|
+
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
|
+
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
|
+
/**
|
|
19
|
+
* LicensedProductionSitesOnEpias service.
|
|
20
|
+
* @module api/LicensedProductionSitesOnEpiasApi
|
|
21
|
+
* @version 1.1.1
|
|
22
|
+
*/
|
|
23
|
+
var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new LicensedProductionSitesOnEpiasApi.
|
|
26
|
+
* @alias module:api/LicensedProductionSitesOnEpiasApi
|
|
27
|
+
* @class
|
|
28
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
29
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
30
|
+
*/
|
|
31
|
+
function LicensedProductionSitesOnEpiasApi(apiClient) {
|
|
32
|
+
_classCallCheck(this, LicensedProductionSitesOnEpiasApi);
|
|
33
|
+
|
|
34
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Callback function to receive the result of the licensedProductionSitesOnEpiasRetrieve operation.
|
|
38
|
+
* @callback module:api/LicensedProductionSitesOnEpiasApi~licensedProductionSitesOnEpiasRetrieveCallback
|
|
39
|
+
* @param {String} error Error message, if any.
|
|
40
|
+
* @param data This operation does not return a value.
|
|
41
|
+
* @param {String} response The complete HTTP response.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Return a list of licensed production sites from EPIAS's Transparency Platform.
|
|
46
|
+
* @param {module:api/LicensedProductionSitesOnEpiasApi~licensedProductionSitesOnEpiasRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
_createClass(LicensedProductionSitesOnEpiasApi, [{
|
|
51
|
+
key: "licensedProductionSitesOnEpiasRetrieve",
|
|
52
|
+
value: function licensedProductionSitesOnEpiasRetrieve(callback) {
|
|
53
|
+
var postBody = null;
|
|
54
|
+
var pathParams = {};
|
|
55
|
+
var queryParams = {};
|
|
56
|
+
var headerParams = {};
|
|
57
|
+
var formParams = {};
|
|
58
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
59
|
+
var contentTypes = [];
|
|
60
|
+
var accepts = [];
|
|
61
|
+
var returnType = null;
|
|
62
|
+
return this.apiClient.callApi('/licensed-production-sites-on-epias/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
63
|
+
}
|
|
64
|
+
}]);
|
|
65
|
+
|
|
66
|
+
return LicensedProductionSitesOnEpiasApi;
|
|
67
|
+
}();
|
|
68
|
+
|
|
69
|
+
exports["default"] = LicensedProductionSitesOnEpiasApi;
|
package/dist/api/LocationsApi.js
CHANGED
|
@@ -19,12 +19,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
19
19
|
|
|
20
20
|
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); } }
|
|
21
21
|
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Locations service.
|
|
26
26
|
* @module api/LocationsApi
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.1.1
|
|
28
28
|
*/
|
|
29
29
|
var LocationsApi = /*#__PURE__*/function () {
|
|
30
30
|
/**
|
|
@@ -62,7 +62,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
62
62
|
var queryParams = {};
|
|
63
63
|
var headerParams = {};
|
|
64
64
|
var formParams = {};
|
|
65
|
-
var authNames = ['basicAuth', '
|
|
65
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
66
66
|
var contentTypes = [];
|
|
67
67
|
var accepts = ['application/json'];
|
|
68
68
|
var returnType = _Location["default"];
|
|
@@ -96,7 +96,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
96
96
|
var queryParams = {};
|
|
97
97
|
var headerParams = {};
|
|
98
98
|
var formParams = {};
|
|
99
|
-
var authNames = ['basicAuth', '
|
|
99
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
100
100
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
101
101
|
var accepts = ['application/json'];
|
|
102
102
|
var returnType = _Location["default"];
|
|
@@ -131,7 +131,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
131
131
|
var queryParams = {};
|
|
132
132
|
var headerParams = {};
|
|
133
133
|
var formParams = {};
|
|
134
|
-
var authNames = ['basicAuth', '
|
|
134
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
135
135
|
var contentTypes = [];
|
|
136
136
|
var accepts = [];
|
|
137
137
|
var returnType = null;
|
|
@@ -200,7 +200,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
200
200
|
};
|
|
201
201
|
var headerParams = {};
|
|
202
202
|
var formParams = {};
|
|
203
|
-
var authNames = ['basicAuth', '
|
|
203
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
204
204
|
var contentTypes = [];
|
|
205
205
|
var accepts = ['application/json'];
|
|
206
206
|
var returnType = _PaginatedLocationList["default"];
|
|
@@ -239,7 +239,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
239
239
|
var queryParams = {};
|
|
240
240
|
var headerParams = {};
|
|
241
241
|
var formParams = {};
|
|
242
|
-
var authNames = ['basicAuth', '
|
|
242
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
243
243
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
244
244
|
var accepts = ['application/json'];
|
|
245
245
|
var returnType = _Location["default"];
|
|
@@ -267,7 +267,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
267
267
|
var queryParams = {};
|
|
268
268
|
var headerParams = {};
|
|
269
269
|
var formParams = {};
|
|
270
|
-
var authNames = ['basicAuth', '
|
|
270
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
271
271
|
var contentTypes = [];
|
|
272
272
|
var accepts = ['application/json'];
|
|
273
273
|
var returnType = _Location["default"];
|
|
@@ -303,7 +303,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
303
303
|
var queryParams = {};
|
|
304
304
|
var headerParams = {};
|
|
305
305
|
var formParams = {};
|
|
306
|
-
var authNames = ['basicAuth', '
|
|
306
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
307
307
|
var contentTypes = [];
|
|
308
308
|
var accepts = ['application/json'];
|
|
309
309
|
var returnType = _Location["default"];
|
|
@@ -345,7 +345,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
|
345
345
|
var queryParams = {};
|
|
346
346
|
var headerParams = {};
|
|
347
347
|
var formParams = {};
|
|
348
|
-
var authNames = ['basicAuth', '
|
|
348
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
349
349
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
350
350
|
var accepts = ['application/json'];
|
|
351
351
|
var returnType = _Location["default"];
|
|
@@ -0,0 +1,428 @@
|
|
|
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 _PaginatedProductionDataFromEpiasRequestList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasRequestList"));
|
|
11
|
+
|
|
12
|
+
var _PaginatedUnprocessedRowList = _interopRequireDefault(require("../model/PaginatedUnprocessedRowList"));
|
|
13
|
+
|
|
14
|
+
var _PaginatedUploadedFileList = _interopRequireDefault(require("../model/PaginatedUploadedFileList"));
|
|
15
|
+
|
|
16
|
+
var _ProductionDataFromEpiasRequest = _interopRequireDefault(require("../model/ProductionDataFromEpiasRequest"));
|
|
17
|
+
|
|
18
|
+
var _UnprocessedRow = _interopRequireDefault(require("../model/UnprocessedRow"));
|
|
19
|
+
|
|
20
|
+
var _UploadedFile = _interopRequireDefault(require("../model/UploadedFile"));
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
|
+
|
|
26
|
+
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); } }
|
|
27
|
+
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Logs service.
|
|
32
|
+
* @module api/LogsApi
|
|
33
|
+
* @version 1.1.1
|
|
34
|
+
*/
|
|
35
|
+
var LogsApi = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new LogsApi.
|
|
38
|
+
* @alias module:api/LogsApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
|
+
function LogsApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, LogsApi);
|
|
45
|
+
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Callback function to receive the result of the logsProductionEpiasDestroy operation.
|
|
50
|
+
* @callback module:api/LogsApi~logsProductionEpiasDestroyCallback
|
|
51
|
+
* @param {String} error Error message, if any.
|
|
52
|
+
* @param data This operation does not return a value.
|
|
53
|
+
* @param {String} response The complete HTTP response.
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Enforces object-level permissions in ``rest_framework.viewsets.ViewSet``, deriving the permission type from the particular action to be performed.. As with ``rules.contrib.views.AutoPermissionRequiredMixin``, this only works when model permissions are registered using ``rules.contrib.models.RulesModelMixin``.
|
|
58
|
+
* @param {String} id A UUID string identifying this production data from epias request.
|
|
59
|
+
* @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
_createClass(LogsApi, [{
|
|
64
|
+
key: "logsProductionEpiasDestroy",
|
|
65
|
+
value: function logsProductionEpiasDestroy(id, callback) {
|
|
66
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
67
|
+
|
|
68
|
+
if (id === undefined || id === null) {
|
|
69
|
+
throw new Error("Missing the required parameter 'id' when calling logsProductionEpiasDestroy");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
var pathParams = {
|
|
73
|
+
'id': id
|
|
74
|
+
};
|
|
75
|
+
var queryParams = {};
|
|
76
|
+
var headerParams = {};
|
|
77
|
+
var formParams = {};
|
|
78
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
79
|
+
var contentTypes = [];
|
|
80
|
+
var accepts = [];
|
|
81
|
+
var returnType = null;
|
|
82
|
+
return this.apiClient.callApi('/logs/production-epias/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Callback function to receive the result of the logsProductionEpiasList operation.
|
|
86
|
+
* @callback module:api/LogsApi~logsProductionEpiasListCallback
|
|
87
|
+
* @param {String} error Error message, if any.
|
|
88
|
+
* @param {module:model/PaginatedProductionDataFromEpiasRequestList} data The data returned by the service call.
|
|
89
|
+
* @param {String} response The complete HTTP response.
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* **List all EPIAS requests related to the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
94
|
+
* @param {Object} opts Optional parameters
|
|
95
|
+
* @param {Date} opts.createdAt
|
|
96
|
+
* @param {Date} opts.endTime
|
|
97
|
+
* @param {String} opts.id
|
|
98
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
99
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
100
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
101
|
+
* @param {String} opts.producer
|
|
102
|
+
* @param {String} opts.productionSite
|
|
103
|
+
* @param {String} opts.retailer
|
|
104
|
+
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
105
|
+
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
106
|
+
* @param {Date} opts.startTime
|
|
107
|
+
* @param {module:model/String} opts.status Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`.
|
|
108
|
+
* @param {Date} opts.updatedAt
|
|
109
|
+
* @param {module:api/LogsApi~logsProductionEpiasListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
110
|
+
* data is of type: {@link module:model/PaginatedProductionDataFromEpiasRequestList}
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
}, {
|
|
114
|
+
key: "logsProductionEpiasList",
|
|
115
|
+
value: function logsProductionEpiasList(opts, callback) {
|
|
116
|
+
opts = opts || {};
|
|
117
|
+
var postBody = null;
|
|
118
|
+
var pathParams = {};
|
|
119
|
+
var queryParams = {
|
|
120
|
+
'created_at': opts['createdAt'],
|
|
121
|
+
'end_time': opts['endTime'],
|
|
122
|
+
'id': opts['id'],
|
|
123
|
+
'limit': opts['limit'],
|
|
124
|
+
'offset': opts['offset'],
|
|
125
|
+
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
126
|
+
'producer': opts['producer'],
|
|
127
|
+
'production_site': opts['productionSite'],
|
|
128
|
+
'retailer': opts['retailer'],
|
|
129
|
+
'start_after': opts['startAfter'],
|
|
130
|
+
'start_before': opts['startBefore'],
|
|
131
|
+
'start_time': opts['startTime'],
|
|
132
|
+
'status': opts['status'],
|
|
133
|
+
'updated_at': opts['updatedAt']
|
|
134
|
+
};
|
|
135
|
+
var headerParams = {};
|
|
136
|
+
var formParams = {};
|
|
137
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
138
|
+
var contentTypes = [];
|
|
139
|
+
var accepts = ['application/json'];
|
|
140
|
+
var returnType = _PaginatedProductionDataFromEpiasRequestList["default"];
|
|
141
|
+
return this.apiClient.callApi('/logs/production-epias/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Callback function to receive the result of the logsProductionEpiasRetrieve operation.
|
|
145
|
+
* @callback module:api/LogsApi~logsProductionEpiasRetrieveCallback
|
|
146
|
+
* @param {String} error Error message, if any.
|
|
147
|
+
* @param {module:model/ProductionDataFromEpiasRequest} data The data returned by the service call.
|
|
148
|
+
* @param {String} response The complete HTTP response.
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* **Get a specific EPIAS request details.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
153
|
+
* @param {String} id A UUID string identifying this production data from epias request.
|
|
154
|
+
* @param {module:api/LogsApi~logsProductionEpiasRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
155
|
+
* data is of type: {@link module:model/ProductionDataFromEpiasRequest}
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
}, {
|
|
159
|
+
key: "logsProductionEpiasRetrieve",
|
|
160
|
+
value: function logsProductionEpiasRetrieve(id, callback) {
|
|
161
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
162
|
+
|
|
163
|
+
if (id === undefined || id === null) {
|
|
164
|
+
throw new Error("Missing the required parameter 'id' when calling logsProductionEpiasRetrieve");
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
var pathParams = {
|
|
168
|
+
'id': id
|
|
169
|
+
};
|
|
170
|
+
var queryParams = {};
|
|
171
|
+
var headerParams = {};
|
|
172
|
+
var formParams = {};
|
|
173
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
174
|
+
var contentTypes = [];
|
|
175
|
+
var accepts = ['application/json'];
|
|
176
|
+
var returnType = _ProductionDataFromEpiasRequest["default"];
|
|
177
|
+
return this.apiClient.callApi('/logs/production-epias/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Callback function to receive the result of the logsUnprocessedRowDestroy operation.
|
|
181
|
+
* @callback module:api/LogsApi~logsUnprocessedRowDestroyCallback
|
|
182
|
+
* @param {String} error Error message, if any.
|
|
183
|
+
* @param data This operation does not return a value.
|
|
184
|
+
* @param {String} response The complete HTTP response.
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* **Delete a specific file.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Admin **User employed by an active allowed organization**: Consumer or Retailer
|
|
189
|
+
* @param {String} id A UUID string identifying this unprocessed row.
|
|
190
|
+
* @param {module:api/LogsApi~logsUnprocessedRowDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
}, {
|
|
194
|
+
key: "logsUnprocessedRowDestroy",
|
|
195
|
+
value: function logsUnprocessedRowDestroy(id, callback) {
|
|
196
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
197
|
+
|
|
198
|
+
if (id === undefined || id === null) {
|
|
199
|
+
throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowDestroy");
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
var pathParams = {
|
|
203
|
+
'id': id
|
|
204
|
+
};
|
|
205
|
+
var queryParams = {};
|
|
206
|
+
var headerParams = {};
|
|
207
|
+
var formParams = {};
|
|
208
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
209
|
+
var contentTypes = [];
|
|
210
|
+
var accepts = [];
|
|
211
|
+
var returnType = null;
|
|
212
|
+
return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Callback function to receive the result of the logsUnprocessedRowList operation.
|
|
216
|
+
* @callback module:api/LogsApi~logsUnprocessedRowListCallback
|
|
217
|
+
* @param {String} error Error message, if any.
|
|
218
|
+
* @param {module:model/PaginatedUnprocessedRowList} data The data returned by the service call.
|
|
219
|
+
* @param {String} response The complete HTTP response.
|
|
220
|
+
*/
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* **List all the information of unprocessed rows of the uploaded files uploaded by the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
224
|
+
* @param {Object} opts Optional parameters
|
|
225
|
+
* @param {Date} opts.createdAt
|
|
226
|
+
* @param {String} opts.errorMessage
|
|
227
|
+
* @param {String} opts.id
|
|
228
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
229
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
230
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
231
|
+
* @param {String} opts.owner
|
|
232
|
+
* @param {Number} opts.rowNumber
|
|
233
|
+
* @param {Date} opts.updatedAt
|
|
234
|
+
* @param {String} opts.uploadedFile
|
|
235
|
+
* @param {module:api/LogsApi~logsUnprocessedRowListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
236
|
+
* data is of type: {@link module:model/PaginatedUnprocessedRowList}
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
}, {
|
|
240
|
+
key: "logsUnprocessedRowList",
|
|
241
|
+
value: function logsUnprocessedRowList(opts, callback) {
|
|
242
|
+
opts = opts || {};
|
|
243
|
+
var postBody = null;
|
|
244
|
+
var pathParams = {};
|
|
245
|
+
var queryParams = {
|
|
246
|
+
'created_at': opts['createdAt'],
|
|
247
|
+
'error_message': opts['errorMessage'],
|
|
248
|
+
'id': opts['id'],
|
|
249
|
+
'limit': opts['limit'],
|
|
250
|
+
'offset': opts['offset'],
|
|
251
|
+
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
252
|
+
'owner': opts['owner'],
|
|
253
|
+
'row_number': opts['rowNumber'],
|
|
254
|
+
'updated_at': opts['updatedAt'],
|
|
255
|
+
'uploaded_file': opts['uploadedFile']
|
|
256
|
+
};
|
|
257
|
+
var headerParams = {};
|
|
258
|
+
var formParams = {};
|
|
259
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
260
|
+
var contentTypes = [];
|
|
261
|
+
var accepts = ['application/json'];
|
|
262
|
+
var returnType = _PaginatedUnprocessedRowList["default"];
|
|
263
|
+
return this.apiClient.callApi('/logs/unprocessed-row/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Callback function to receive the result of the logsUnprocessedRowRetrieve operation.
|
|
267
|
+
* @callback module:api/LogsApi~logsUnprocessedRowRetrieveCallback
|
|
268
|
+
* @param {String} error Error message, if any.
|
|
269
|
+
* @param {module:model/UnprocessedRow} data The data returned by the service call.
|
|
270
|
+
* @param {String} response The complete HTTP response.
|
|
271
|
+
*/
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* **Get a specific unprocessed row information.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
275
|
+
* @param {String} id A UUID string identifying this unprocessed row.
|
|
276
|
+
* @param {module:api/LogsApi~logsUnprocessedRowRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
277
|
+
* data is of type: {@link module:model/UnprocessedRow}
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
}, {
|
|
281
|
+
key: "logsUnprocessedRowRetrieve",
|
|
282
|
+
value: function logsUnprocessedRowRetrieve(id, callback) {
|
|
283
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
284
|
+
|
|
285
|
+
if (id === undefined || id === null) {
|
|
286
|
+
throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowRetrieve");
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
var pathParams = {
|
|
290
|
+
'id': id
|
|
291
|
+
};
|
|
292
|
+
var queryParams = {};
|
|
293
|
+
var headerParams = {};
|
|
294
|
+
var formParams = {};
|
|
295
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
296
|
+
var contentTypes = [];
|
|
297
|
+
var accepts = ['application/json'];
|
|
298
|
+
var returnType = _UnprocessedRow["default"];
|
|
299
|
+
return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Callback function to receive the result of the logsUploadFileDestroy operation.
|
|
303
|
+
* @callback module:api/LogsApi~logsUploadFileDestroyCallback
|
|
304
|
+
* @param {String} error Error message, if any.
|
|
305
|
+
* @param data This operation does not return a value.
|
|
306
|
+
* @param {String} response The complete HTTP response.
|
|
307
|
+
*/
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* **Delete a specific file.** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization. **Roles required**: Admin **User employed by an active allowed organization**: Consumer or Retailer
|
|
311
|
+
* @param {String} id A UUID string identifying this uploaded file.
|
|
312
|
+
* @param {module:api/LogsApi~logsUploadFileDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
313
|
+
*/
|
|
314
|
+
|
|
315
|
+
}, {
|
|
316
|
+
key: "logsUploadFileDestroy",
|
|
317
|
+
value: function logsUploadFileDestroy(id, callback) {
|
|
318
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
319
|
+
|
|
320
|
+
if (id === undefined || id === null) {
|
|
321
|
+
throw new Error("Missing the required parameter 'id' when calling logsUploadFileDestroy");
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
var pathParams = {
|
|
325
|
+
'id': id
|
|
326
|
+
};
|
|
327
|
+
var queryParams = {};
|
|
328
|
+
var headerParams = {};
|
|
329
|
+
var formParams = {};
|
|
330
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
331
|
+
var contentTypes = [];
|
|
332
|
+
var accepts = [];
|
|
333
|
+
var returnType = null;
|
|
334
|
+
return this.apiClient.callApi('/logs/upload-file/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Callback function to receive the result of the logsUploadFileList operation.
|
|
338
|
+
* @callback module:api/LogsApi~logsUploadFileListCallback
|
|
339
|
+
* @param {String} error Error message, if any.
|
|
340
|
+
* @param {module:model/PaginatedUploadedFileList} data The data returned by the service call.
|
|
341
|
+
* @param {String} response The complete HTTP response.
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* **List all the uploadedfiles owned by the user's organization.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
346
|
+
* @param {Object} opts Optional parameters
|
|
347
|
+
* @param {module:model/String} opts.contentType Required. Select from available choices.
|
|
348
|
+
* @param {Date} opts.createdAt
|
|
349
|
+
* @param {String} opts.id
|
|
350
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
351
|
+
* @param {String} opts.name
|
|
352
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
353
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
354
|
+
* @param {String} opts.owner
|
|
355
|
+
* @param {module:model/String} opts.status Status is set to `started` or `finished` if the file has been processed. Default `unstarted`.
|
|
356
|
+
* @param {Date} opts.updatedAt
|
|
357
|
+
* @param {module:api/LogsApi~logsUploadFileListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
358
|
+
* data is of type: {@link module:model/PaginatedUploadedFileList}
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
}, {
|
|
362
|
+
key: "logsUploadFileList",
|
|
363
|
+
value: function logsUploadFileList(opts, callback) {
|
|
364
|
+
opts = opts || {};
|
|
365
|
+
var postBody = null;
|
|
366
|
+
var pathParams = {};
|
|
367
|
+
var queryParams = {
|
|
368
|
+
'content_type': opts['contentType'],
|
|
369
|
+
'created_at': opts['createdAt'],
|
|
370
|
+
'id': opts['id'],
|
|
371
|
+
'limit': opts['limit'],
|
|
372
|
+
'name': opts['name'],
|
|
373
|
+
'offset': opts['offset'],
|
|
374
|
+
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
375
|
+
'owner': opts['owner'],
|
|
376
|
+
'status': opts['status'],
|
|
377
|
+
'updated_at': opts['updatedAt']
|
|
378
|
+
};
|
|
379
|
+
var headerParams = {};
|
|
380
|
+
var formParams = {};
|
|
381
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
382
|
+
var contentTypes = [];
|
|
383
|
+
var accepts = ['application/json'];
|
|
384
|
+
var returnType = _PaginatedUploadedFileList["default"];
|
|
385
|
+
return this.apiClient.callApi('/logs/upload-file/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Callback function to receive the result of the logsUploadFileRetrieve operation.
|
|
389
|
+
* @callback module:api/LogsApi~logsUploadFileRetrieveCallback
|
|
390
|
+
* @param {String} error Error message, if any.
|
|
391
|
+
* @param {module:model/UploadedFile} data The data returned by the service call.
|
|
392
|
+
* @param {String} response The complete HTTP response.
|
|
393
|
+
*/
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* **Get a specific file.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Staff and/or Admin
|
|
397
|
+
* @param {String} id A UUID string identifying this uploaded file.
|
|
398
|
+
* @param {module:api/LogsApi~logsUploadFileRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
399
|
+
* data is of type: {@link module:model/UploadedFile}
|
|
400
|
+
*/
|
|
401
|
+
|
|
402
|
+
}, {
|
|
403
|
+
key: "logsUploadFileRetrieve",
|
|
404
|
+
value: function logsUploadFileRetrieve(id, callback) {
|
|
405
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
406
|
+
|
|
407
|
+
if (id === undefined || id === null) {
|
|
408
|
+
throw new Error("Missing the required parameter 'id' when calling logsUploadFileRetrieve");
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
var pathParams = {
|
|
412
|
+
'id': id
|
|
413
|
+
};
|
|
414
|
+
var queryParams = {};
|
|
415
|
+
var headerParams = {};
|
|
416
|
+
var formParams = {};
|
|
417
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
418
|
+
var contentTypes = [];
|
|
419
|
+
var accepts = ['application/json'];
|
|
420
|
+
var returnType = _UploadedFile["default"];
|
|
421
|
+
return this.apiClient.callApi('/logs/upload-file/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
422
|
+
}
|
|
423
|
+
}]);
|
|
424
|
+
|
|
425
|
+
return LogsApi;
|
|
426
|
+
}();
|
|
427
|
+
|
|
428
|
+
exports["default"] = LogsApi;
|