green_link_api 1.15.2 → 1.16.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +21 -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 +93 -52
- 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
@@ -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.6
|
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
|
* HealthCheck service.
|
28
28
|
* @module api/HealthCheckApi
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.16.6
|
30
30
|
*/
|
31
31
|
var HealthCheckApi = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -60,7 +60,7 @@ var HealthCheckApi = /*#__PURE__*/function () {
|
|
60
60
|
var queryParams = {};
|
61
61
|
var headerParams = {};
|
62
62
|
var formParams = {};
|
63
|
-
var authNames = [
|
63
|
+
var authNames = [];
|
64
64
|
var contentTypes = [];
|
65
65
|
var accepts = [];
|
66
66
|
var returnType = null;
|
@@ -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.6
|
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
|
* LicensedProductionSitesOnEpias service.
|
28
28
|
* @module api/LicensedProductionSitesOnEpiasApi
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.16.6
|
30
30
|
*/
|
31
31
|
var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -61,7 +61,7 @@ var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
61
61
|
var queryParams = {};
|
62
62
|
var headerParams = {};
|
63
63
|
var formParams = {};
|
64
|
-
var authNames = [
|
64
|
+
var authNames = [];
|
65
65
|
var contentTypes = [];
|
66
66
|
var accepts = [];
|
67
67
|
var returnType = null;
|
package/dist/api/LocationsApi.js
CHANGED
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
18
18
|
* GreenLink API
|
19
19
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
20
20
|
*
|
21
|
-
* The version of the OpenAPI document: 1.
|
21
|
+
* The version of the OpenAPI document: 1.16.6
|
22
22
|
*
|
23
23
|
*
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
29
29
|
/**
|
30
30
|
* Locations service.
|
31
31
|
* @module api/LocationsApi
|
32
|
-
* @version 1.
|
32
|
+
* @version 1.16.6
|
33
33
|
*/
|
34
34
|
var LocationsApi = /*#__PURE__*/function () {
|
35
35
|
/**
|
@@ -65,7 +65,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
65
65
|
var queryParams = {};
|
66
66
|
var headerParams = {};
|
67
67
|
var formParams = {};
|
68
|
-
var authNames = [
|
68
|
+
var authNames = [];
|
69
69
|
var contentTypes = [];
|
70
70
|
var accepts = ['application/json'];
|
71
71
|
var returnType = _Location["default"];
|
@@ -98,7 +98,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
98
98
|
var queryParams = {};
|
99
99
|
var headerParams = {};
|
100
100
|
var formParams = {};
|
101
|
-
var authNames = [
|
101
|
+
var authNames = [];
|
102
102
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
103
103
|
var accepts = ['application/json'];
|
104
104
|
var returnType = _Location["default"];
|
@@ -132,7 +132,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
132
132
|
var queryParams = {};
|
133
133
|
var headerParams = {};
|
134
134
|
var formParams = {};
|
135
|
-
var authNames = [
|
135
|
+
var authNames = [];
|
136
136
|
var contentTypes = [];
|
137
137
|
var accepts = [];
|
138
138
|
var returnType = null;
|
@@ -201,7 +201,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
201
201
|
};
|
202
202
|
var headerParams = {};
|
203
203
|
var formParams = {};
|
204
|
-
var authNames = [
|
204
|
+
var authNames = [];
|
205
205
|
var contentTypes = [];
|
206
206
|
var accepts = ['application/json'];
|
207
207
|
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 = [
|
242
|
+
var authNames = [];
|
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 = [
|
270
|
+
var authNames = [];
|
271
271
|
var contentTypes = [];
|
272
272
|
var accepts = ['application/json'];
|
273
273
|
var returnType = _Location["default"];
|
@@ -302,7 +302,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
302
302
|
var queryParams = {};
|
303
303
|
var headerParams = {};
|
304
304
|
var formParams = {};
|
305
|
-
var authNames = [
|
305
|
+
var authNames = [];
|
306
306
|
var contentTypes = [];
|
307
307
|
var accepts = ['application/json'];
|
308
308
|
var returnType = _Location["default"];
|
@@ -342,7 +342,7 @@ var LocationsApi = /*#__PURE__*/function () {
|
|
342
342
|
var queryParams = {};
|
343
343
|
var headerParams = {};
|
344
344
|
var formParams = {};
|
345
|
-
var authNames = [
|
345
|
+
var authNames = [];
|
346
346
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
347
347
|
var accepts = ['application/json'];
|
348
348
|
var returnType = _Location["default"];
|
package/dist/api/LogsApi.js
CHANGED
@@ -7,15 +7,15 @@ exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
8
8
|
var _Activities = _interopRequireDefault(require("../model/Activities"));
|
9
9
|
var _PaginatedActivitiesList = _interopRequireDefault(require("../model/PaginatedActivitiesList"));
|
10
|
-
var
|
10
|
+
var _PaginatedProductionDataFromEpiasTaskList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasTaskList"));
|
11
11
|
var _PaginatedUnprocessedRowList = _interopRequireDefault(require("../model/PaginatedUnprocessedRowList"));
|
12
12
|
var _PaginatedUploadedCertificateListorDetailList = _interopRequireDefault(require("../model/PaginatedUploadedCertificateListorDetailList"));
|
13
|
-
var
|
14
|
-
var
|
13
|
+
var _PaginatedUploadedFileTaskList = _interopRequireDefault(require("../model/PaginatedUploadedFileTaskList"));
|
14
|
+
var _ProductionDataFromEpiasTask = _interopRequireDefault(require("../model/ProductionDataFromEpiasTask"));
|
15
15
|
var _UnprocessedRow = _interopRequireDefault(require("../model/UnprocessedRow"));
|
16
16
|
var _UploadedCertificate = _interopRequireDefault(require("../model/UploadedCertificate"));
|
17
17
|
var _UploadedCertificateListorDetail = _interopRequireDefault(require("../model/UploadedCertificateListorDetail"));
|
18
|
-
var
|
18
|
+
var _UploadedFileTask = _interopRequireDefault(require("../model/UploadedFileTask"));
|
19
19
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
20
20
|
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); }
|
21
21
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
26
26
|
* GreenLink API
|
27
27
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
28
28
|
*
|
29
|
-
* The version of the OpenAPI document: 1.
|
29
|
+
* The version of the OpenAPI document: 1.16.6
|
30
30
|
*
|
31
31
|
*
|
32
32
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -37,7 +37,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
37
37
|
/**
|
38
38
|
* Logs service.
|
39
39
|
* @module api/LogsApi
|
40
|
-
* @version 1.
|
40
|
+
* @version 1.16.6
|
41
41
|
*/
|
42
42
|
var LogsApi = /*#__PURE__*/function () {
|
43
43
|
/**
|
@@ -63,14 +63,17 @@ var LogsApi = /*#__PURE__*/function () {
|
|
63
63
|
/**
|
64
64
|
* 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``.
|
65
65
|
* @param {Object} opts Optional parameters
|
66
|
-
* @param {
|
67
|
-
* @param {
|
68
|
-
* @param {
|
66
|
+
* @param {Date} opts.dateTimeAfter
|
67
|
+
* @param {Date} opts.dateTimeBefore
|
68
|
+
* @param {module:model/String} opts.event * `Added` - Added * `Updated` - Updated * `Deleted` - Deleted
|
69
69
|
* @param {Number} opts.limit Number of results to return per page.
|
70
|
-
* @param {String} opts.
|
70
|
+
* @param {String} opts.modelName
|
71
|
+
* @param {String} opts.modelObjectId Model Object ID
|
71
72
|
* @param {Number} opts.offset The initial index from which to return the results.
|
72
|
-
* @param {
|
73
|
-
* @param {String} opts.
|
73
|
+
* @param {String} opts.organization
|
74
|
+
* @param {String} opts.relatedLogId Related Log ID
|
75
|
+
* @param {module:model/String} opts.status * `success` - Success * `failure` - Failure
|
76
|
+
* @param {String} opts.user
|
74
77
|
* @param {module:api/LogsApi~logsActivitiesListCallback} callback The callback function, accepting three arguments: error, data, response
|
75
78
|
* data is of type: {@link module:model/PaginatedActivitiesList}
|
76
79
|
*/
|
@@ -81,24 +84,62 @@ var LogsApi = /*#__PURE__*/function () {
|
|
81
84
|
var postBody = null;
|
82
85
|
var pathParams = {};
|
83
86
|
var queryParams = {
|
84
|
-
'
|
85
|
-
'
|
86
|
-
'
|
87
|
+
'date_time_after': opts['dateTimeAfter'],
|
88
|
+
'date_time_before': opts['dateTimeBefore'],
|
89
|
+
'event': opts['event'],
|
87
90
|
'limit': opts['limit'],
|
88
|
-
'
|
91
|
+
'model_name': opts['modelName'],
|
92
|
+
'model_object_id': opts['modelObjectId'],
|
89
93
|
'offset': opts['offset'],
|
90
|
-
'
|
94
|
+
'organization': opts['organization'],
|
95
|
+
'related_log_id': opts['relatedLogId'],
|
96
|
+
'status': opts['status'],
|
91
97
|
'user': opts['user']
|
92
98
|
};
|
93
99
|
var headerParams = {};
|
94
100
|
var formParams = {};
|
95
|
-
var authNames = [
|
101
|
+
var authNames = [];
|
96
102
|
var contentTypes = [];
|
97
103
|
var accepts = ['application/json'];
|
98
104
|
var returnType = _PaginatedActivitiesList["default"];
|
99
105
|
return this.apiClient.callApi('/logs/activities/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
100
106
|
}
|
101
107
|
|
108
|
+
/**
|
109
|
+
* Callback function to receive the result of the logsActivitiesRelatedLogRetrieve operation.
|
110
|
+
* @callback module:api/LogsApi~logsActivitiesRelatedLogRetrieveCallback
|
111
|
+
* @param {String} error Error message, if any.
|
112
|
+
* @param {module:model/Activities} data The data returned by the service call.
|
113
|
+
* @param {String} response The complete HTTP response.
|
114
|
+
*/
|
115
|
+
|
116
|
+
/**
|
117
|
+
* 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``.
|
118
|
+
* @param {String} relatedLogId
|
119
|
+
* @param {module:api/LogsApi~logsActivitiesRelatedLogRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
120
|
+
* data is of type: {@link module:model/Activities}
|
121
|
+
*/
|
122
|
+
}, {
|
123
|
+
key: "logsActivitiesRelatedLogRetrieve",
|
124
|
+
value: function logsActivitiesRelatedLogRetrieve(relatedLogId, callback) {
|
125
|
+
var postBody = null;
|
126
|
+
// verify the required parameter 'relatedLogId' is set
|
127
|
+
if (relatedLogId === undefined || relatedLogId === null) {
|
128
|
+
throw new Error("Missing the required parameter 'relatedLogId' when calling logsActivitiesRelatedLogRetrieve");
|
129
|
+
}
|
130
|
+
var pathParams = {
|
131
|
+
'related_log_id': relatedLogId
|
132
|
+
};
|
133
|
+
var queryParams = {};
|
134
|
+
var headerParams = {};
|
135
|
+
var formParams = {};
|
136
|
+
var authNames = [];
|
137
|
+
var contentTypes = [];
|
138
|
+
var accepts = ['application/json'];
|
139
|
+
var returnType = _Activities["default"];
|
140
|
+
return this.apiClient.callApi('/logs/activities/related_log/{related_log_id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
141
|
+
}
|
142
|
+
|
102
143
|
/**
|
103
144
|
* Callback function to receive the result of the logsActivitiesRetrieve operation.
|
104
145
|
* @callback module:api/LogsApi~logsActivitiesRetrieveCallback
|
@@ -109,7 +150,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
109
150
|
|
110
151
|
/**
|
111
152
|
* 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``.
|
112
|
-
* @param {
|
153
|
+
* @param {String} id A UUID string identifying this User Activity Log.
|
113
154
|
* @param {module:api/LogsApi~logsActivitiesRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
114
155
|
* data is of type: {@link module:model/Activities}
|
115
156
|
*/
|
@@ -127,7 +168,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
127
168
|
var queryParams = {};
|
128
169
|
var headerParams = {};
|
129
170
|
var formParams = {};
|
130
|
-
var authNames = [
|
171
|
+
var authNames = [];
|
131
172
|
var contentTypes = [];
|
132
173
|
var accepts = ['application/json'];
|
133
174
|
var returnType = _Activities["default"];
|
@@ -160,7 +201,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
160
201
|
var queryParams = {};
|
161
202
|
var headerParams = {};
|
162
203
|
var formParams = {};
|
163
|
-
var authNames = [
|
204
|
+
var authNames = [];
|
164
205
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
165
206
|
var accepts = ['application/json'];
|
166
207
|
var returnType = _UploadedCertificate["default"];
|
@@ -194,7 +235,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
194
235
|
var queryParams = {};
|
195
236
|
var headerParams = {};
|
196
237
|
var formParams = {};
|
197
|
-
var authNames = [
|
238
|
+
var authNames = [];
|
198
239
|
var contentTypes = [];
|
199
240
|
var accepts = [];
|
200
241
|
var returnType = null;
|
@@ -222,7 +263,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
222
263
|
* @param {Array.<module:model/String>} opts.orderBy Ordering * `period_start` - Period start * `-period_start` - Period start (descending) * `created_at` - Created at * `-created_at` - Created at (descending) * `eac_type` - Eac type * `-eac_type` - Eac type (descending) * `producer` - Producer * `-producer` - Producer (descending) * `owner` - Owner * `-owner` - Owner (descending)
|
223
264
|
* @param {String} opts.owner
|
224
265
|
* @param {String} opts.producer
|
225
|
-
* @param {module:model/String} opts.status Status is set to `started` or `finished` if the file has been processed. Default `unstarted`. * `
|
266
|
+
* @param {module:model/String} opts.status 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
|
226
267
|
* @param {module:api/LogsApi~logsCertificatesListCallback} callback The callback function, accepting three arguments: error, data, response
|
227
268
|
* data is of type: {@link module:model/PaginatedUploadedCertificateListorDetailList}
|
228
269
|
*/
|
@@ -247,7 +288,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
247
288
|
};
|
248
289
|
var headerParams = {};
|
249
290
|
var formParams = {};
|
250
|
-
var authNames = [
|
291
|
+
var authNames = [];
|
251
292
|
var contentTypes = [];
|
252
293
|
var accepts = ['application/json'];
|
253
294
|
var returnType = _PaginatedUploadedCertificateListorDetailList["default"];
|
@@ -282,7 +323,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
282
323
|
var queryParams = {};
|
283
324
|
var headerParams = {};
|
284
325
|
var formParams = {};
|
285
|
-
var authNames = [
|
326
|
+
var authNames = [];
|
286
327
|
var contentTypes = [];
|
287
328
|
var accepts = ['application/json'];
|
288
329
|
var returnType = _UploadedCertificateListorDetail["default"];
|
@@ -299,7 +340,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
299
340
|
|
300
341
|
/**
|
301
342
|
* This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
|
302
|
-
* @param {String} id A UUID string identifying this production data from epias
|
343
|
+
* @param {String} id A UUID string identifying this production data from epias task.
|
303
344
|
* @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
304
345
|
*/
|
305
346
|
}, {
|
@@ -316,7 +357,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
316
357
|
var queryParams = {};
|
317
358
|
var headerParams = {};
|
318
359
|
var formParams = {};
|
319
|
-
var authNames = [
|
360
|
+
var authNames = [];
|
320
361
|
var contentTypes = [];
|
321
362
|
var accepts = [];
|
322
363
|
var returnType = null;
|
@@ -327,7 +368,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
327
368
|
* Callback function to receive the result of the logsProductionEpiasList operation.
|
328
369
|
* @callback module:api/LogsApi~logsProductionEpiasListCallback
|
329
370
|
* @param {String} error Error message, if any.
|
330
|
-
* @param {module:model/
|
371
|
+
* @param {module:model/PaginatedProductionDataFromEpiasTaskList} data The data returned by the service call.
|
331
372
|
* @param {String} response The complete HTTP response.
|
332
373
|
*/
|
333
374
|
|
@@ -346,10 +387,10 @@ var LogsApi = /*#__PURE__*/function () {
|
|
346
387
|
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
347
388
|
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
348
389
|
* @param {Date} opts.startTime
|
349
|
-
* @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`. * `
|
390
|
+
* @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`. * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
350
391
|
* @param {Date} opts.updatedAt
|
351
392
|
* @param {module:api/LogsApi~logsProductionEpiasListCallback} callback The callback function, accepting three arguments: error, data, response
|
352
|
-
* data is of type: {@link module:model/
|
393
|
+
* data is of type: {@link module:model/PaginatedProductionDataFromEpiasTaskList}
|
353
394
|
*/
|
354
395
|
}, {
|
355
396
|
key: "logsProductionEpiasList",
|
@@ -375,10 +416,10 @@ var LogsApi = /*#__PURE__*/function () {
|
|
375
416
|
};
|
376
417
|
var headerParams = {};
|
377
418
|
var formParams = {};
|
378
|
-
var authNames = [
|
419
|
+
var authNames = [];
|
379
420
|
var contentTypes = [];
|
380
421
|
var accepts = ['application/json'];
|
381
|
-
var returnType =
|
422
|
+
var returnType = _PaginatedProductionDataFromEpiasTaskList["default"];
|
382
423
|
return this.apiClient.callApi('/logs/production-epias/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
383
424
|
}
|
384
425
|
|
@@ -386,15 +427,15 @@ var LogsApi = /*#__PURE__*/function () {
|
|
386
427
|
* Callback function to receive the result of the logsProductionEpiasRetrieve operation.
|
387
428
|
* @callback module:api/LogsApi~logsProductionEpiasRetrieveCallback
|
388
429
|
* @param {String} error Error message, if any.
|
389
|
-
* @param {module:model/
|
430
|
+
* @param {module:model/ProductionDataFromEpiasTask} data The data returned by the service call.
|
390
431
|
* @param {String} response The complete HTTP response.
|
391
432
|
*/
|
392
433
|
|
393
434
|
/**
|
394
435
|
* This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
|
395
|
-
* @param {String} id A UUID string identifying this production data from epias
|
436
|
+
* @param {String} id A UUID string identifying this production data from epias task.
|
396
437
|
* @param {module:api/LogsApi~logsProductionEpiasRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
397
|
-
* data is of type: {@link module:model/
|
438
|
+
* data is of type: {@link module:model/ProductionDataFromEpiasTask}
|
398
439
|
*/
|
399
440
|
}, {
|
400
441
|
key: "logsProductionEpiasRetrieve",
|
@@ -410,10 +451,10 @@ var LogsApi = /*#__PURE__*/function () {
|
|
410
451
|
var queryParams = {};
|
411
452
|
var headerParams = {};
|
412
453
|
var formParams = {};
|
413
|
-
var authNames = [
|
454
|
+
var authNames = [];
|
414
455
|
var contentTypes = [];
|
415
456
|
var accepts = ['application/json'];
|
416
|
-
var returnType =
|
457
|
+
var returnType = _ProductionDataFromEpiasTask["default"];
|
417
458
|
return this.apiClient.callApi('/logs/production-epias/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
418
459
|
}
|
419
460
|
|
@@ -444,7 +485,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
444
485
|
var queryParams = {};
|
445
486
|
var headerParams = {};
|
446
487
|
var formParams = {};
|
447
|
-
var authNames = [
|
488
|
+
var authNames = [];
|
448
489
|
var contentTypes = [];
|
449
490
|
var accepts = [];
|
450
491
|
var returnType = null;
|
@@ -495,7 +536,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
495
536
|
};
|
496
537
|
var headerParams = {};
|
497
538
|
var formParams = {};
|
498
|
-
var authNames = [
|
539
|
+
var authNames = [];
|
499
540
|
var contentTypes = [];
|
500
541
|
var accepts = ['application/json'];
|
501
542
|
var returnType = _PaginatedUnprocessedRowList["default"];
|
@@ -530,7 +571,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
530
571
|
var queryParams = {};
|
531
572
|
var headerParams = {};
|
532
573
|
var formParams = {};
|
533
|
-
var authNames = [
|
574
|
+
var authNames = [];
|
534
575
|
var contentTypes = [];
|
535
576
|
var accepts = ['application/json'];
|
536
577
|
var returnType = _UnprocessedRow["default"];
|
@@ -547,7 +588,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
547
588
|
|
548
589
|
/**
|
549
590
|
* This class manages the uploaded files owned by the user's organization. The following operations are supported: - List all the uploaded files: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get a specific file: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** The `destroy` method throws a `_concurrencymetafield` error.
|
550
|
-
* @param {String} id A UUID string identifying this uploaded file.
|
591
|
+
* @param {String} id A UUID string identifying this uploaded file task.
|
551
592
|
* @param {module:api/LogsApi~logsUploadFileDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
552
593
|
*/
|
553
594
|
}, {
|
@@ -564,7 +605,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
564
605
|
var queryParams = {};
|
565
606
|
var headerParams = {};
|
566
607
|
var formParams = {};
|
567
|
-
var authNames = [
|
608
|
+
var authNames = [];
|
568
609
|
var contentTypes = [];
|
569
610
|
var accepts = [];
|
570
611
|
var returnType = null;
|
@@ -575,7 +616,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
575
616
|
* Callback function to receive the result of the logsUploadFileList operation.
|
576
617
|
* @callback module:api/LogsApi~logsUploadFileListCallback
|
577
618
|
* @param {String} error Error message, if any.
|
578
|
-
* @param {module:model/
|
619
|
+
* @param {module:model/PaginatedUploadedFileTaskList} data The data returned by the service call.
|
579
620
|
* @param {String} response The complete HTTP response.
|
580
621
|
*/
|
581
622
|
|
@@ -590,10 +631,10 @@ var LogsApi = /*#__PURE__*/function () {
|
|
590
631
|
* @param {Number} opts.offset The initial index from which to return the results.
|
591
632
|
* @param {Array.<module:model/String>} opts.orderBy Ordering * `status` - Status * `-status` - Status (descending) * `created_at` - Created at * `-created_at` - Created at (descending) * `updated_at` - Updated at * `-updated_at` - Updated at (descending) * `content_type` - Content type * `-content_type` - Content type (descending) * `owner` - Owner * `-owner` - Owner (descending)
|
592
633
|
* @param {String} opts.owner
|
593
|
-
* @param {module:model/String} opts.status Status is set to `started` or `finished` if the file has been processed. Default `unstarted`. * `
|
634
|
+
* @param {module:model/String} opts.status 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
|
594
635
|
* @param {Date} opts.updatedAt
|
595
636
|
* @param {module:api/LogsApi~logsUploadFileListCallback} callback The callback function, accepting three arguments: error, data, response
|
596
|
-
* data is of type: {@link module:model/
|
637
|
+
* data is of type: {@link module:model/PaginatedUploadedFileTaskList}
|
597
638
|
*/
|
598
639
|
}, {
|
599
640
|
key: "logsUploadFileList",
|
@@ -615,10 +656,10 @@ var LogsApi = /*#__PURE__*/function () {
|
|
615
656
|
};
|
616
657
|
var headerParams = {};
|
617
658
|
var formParams = {};
|
618
|
-
var authNames = [
|
659
|
+
var authNames = [];
|
619
660
|
var contentTypes = [];
|
620
661
|
var accepts = ['application/json'];
|
621
|
-
var returnType =
|
662
|
+
var returnType = _PaginatedUploadedFileTaskList["default"];
|
622
663
|
return this.apiClient.callApi('/logs/upload-file/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
623
664
|
}
|
624
665
|
|
@@ -626,15 +667,15 @@ var LogsApi = /*#__PURE__*/function () {
|
|
626
667
|
* Callback function to receive the result of the logsUploadFileRetrieve operation.
|
627
668
|
* @callback module:api/LogsApi~logsUploadFileRetrieveCallback
|
628
669
|
* @param {String} error Error message, if any.
|
629
|
-
* @param {module:model/
|
670
|
+
* @param {module:model/UploadedFileTask} data The data returned by the service call.
|
630
671
|
* @param {String} response The complete HTTP response.
|
631
672
|
*/
|
632
673
|
|
633
674
|
/**
|
634
675
|
* This class manages the uploaded files owned by the user's organization. The following operations are supported: - List all the uploaded files: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get a specific file: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** The `destroy` method throws a `_concurrencymetafield` error.
|
635
|
-
* @param {String} id A UUID string identifying this uploaded file.
|
676
|
+
* @param {String} id A UUID string identifying this uploaded file task.
|
636
677
|
* @param {module:api/LogsApi~logsUploadFileRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
637
|
-
* data is of type: {@link module:model/
|
678
|
+
* data is of type: {@link module:model/UploadedFileTask}
|
638
679
|
*/
|
639
680
|
}, {
|
640
681
|
key: "logsUploadFileRetrieve",
|
@@ -650,10 +691,10 @@ var LogsApi = /*#__PURE__*/function () {
|
|
650
691
|
var queryParams = {};
|
651
692
|
var headerParams = {};
|
652
693
|
var formParams = {};
|
653
|
-
var authNames = [
|
694
|
+
var authNames = [];
|
654
695
|
var contentTypes = [];
|
655
696
|
var accepts = ['application/json'];
|
656
|
-
var returnType =
|
697
|
+
var returnType = _UploadedFileTask["default"];
|
657
698
|
return this.apiClient.callApi('/logs/upload-file/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
658
699
|
}
|
659
700
|
}]);
|
@@ -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.6
|
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
|
* MaintenanceCheck service.
|
28
28
|
* @module api/MaintenanceCheckApi
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.16.6
|
30
30
|
*/
|
31
31
|
var MaintenanceCheckApi = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -60,7 +60,7 @@ var MaintenanceCheckApi = /*#__PURE__*/function () {
|
|
60
60
|
var queryParams = {};
|
61
61
|
var headerParams = {};
|
62
62
|
var formParams = {};
|
63
|
-
var authNames = [
|
63
|
+
var authNames = [];
|
64
64
|
var contentTypes = [];
|
65
65
|
var accepts = [];
|
66
66
|
var returnType = null;
|