green_link_api 1.16.0 → 1.16.7
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 +3 -4
- package/dist/ApiClient.js +3 -3
- package/dist/api/BlockchainApi.js +2 -2
- package/dist/api/EnergyAssetsApi.js +2 -2
- package/dist/api/EnergyDataApi.js +4 -4
- package/dist/api/HealthCheckApi.js +2 -2
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
- package/dist/api/LocationsApi.js +2 -2
- package/dist/api/LogsApi.js +22 -50
- package/dist/api/MaintenanceCheckApi.js +2 -2
- package/dist/api/OrganizationprofilesApi.js +2 -2
- package/dist/api/OrganizationsApi.js +2 -2
- package/dist/api/SchemaApi.js +2 -2
- package/dist/api/SentryDebugApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/index.js +3 -3
- package/dist/model/Activities.js +2 -2
- package/dist/model/ActivitiesStatusEnum.js +1 -1
- package/dist/model/BlockchainTransactionTask.js +5 -5
- 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 +2 -2
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/ConsumptionDataTask.js +5 -5
- 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/EventEnum.js +1 -1
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/ImportedConsumptionDataPoint.js +2 -2
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/MatchedDataPoint.js +2 -2
- package/dist/model/MatchedDataTask.js +5 -6
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/NullEnum.js +1 -1
- 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/PaginatedConsumptionDataTaskList.js +2 -2
- 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 +2 -2
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/PaginatedMatchedDataPointList.js +2 -2
- package/dist/model/PaginatedMatchedDataTaskList.js +2 -2
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/PaginatedProductionDataFromEpiasTaskList.js +2 -2
- 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/PaginatedUploadedFileTaskList.js +2 -2
- 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/ProductionDataFromEpiasTask.js +5 -6
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +2 -2
- 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/{Status90bEnum.js → Status965Enum.js} +10 -15
- 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/UploadedFileTask.js +5 -6
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ GreenLinkApi - JavaScript client for green_link_api
|
|
|
4
4
|
⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
5
5
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
6
6
|
|
|
7
|
-
- API version: 1.16.
|
|
8
|
-
- Package version: 1.16.
|
|
7
|
+
- API version: 1.16.7
|
|
8
|
+
- Package version: 1.16.7
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
@@ -189,7 +189,6 @@ Class | Method | HTTP request | Description
|
|
|
189
189
|
*GreenLinkApi.LocationsApi* | [**locationsProductionSitesRetrieve**](docs/LocationsApi.md#locationsProductionSitesRetrieve) | **GET** /locations/production-sites/ |
|
|
190
190
|
*GreenLinkApi.LocationsApi* | [**locationsRetrieve**](docs/LocationsApi.md#locationsRetrieve) | **GET** /locations/{id}/ |
|
|
191
191
|
*GreenLinkApi.LocationsApi* | [**locationsUpdate**](docs/LocationsApi.md#locationsUpdate) | **PUT** /locations/{id}/ |
|
|
192
|
-
*GreenLinkApi.LogsApi* | [**logsActivitiesAllRelatedLogsRetrieve**](docs/LogsApi.md#logsActivitiesAllRelatedLogsRetrieve) | **GET** /logs/activities/all_related_logs/ |
|
|
193
192
|
*GreenLinkApi.LogsApi* | [**logsActivitiesList**](docs/LogsApi.md#logsActivitiesList) | **GET** /logs/activities/ |
|
|
194
193
|
*GreenLinkApi.LogsApi* | [**logsActivitiesRelatedLogRetrieve**](docs/LogsApi.md#logsActivitiesRelatedLogRetrieve) | **GET** /logs/activities/related_log/{related_log_id}/ |
|
|
195
194
|
*GreenLinkApi.LogsApi* | [**logsActivitiesRetrieve**](docs/LogsApi.md#logsActivitiesRetrieve) | **GET** /logs/activities/{id}/ |
|
|
@@ -344,7 +343,7 @@ Class | Method | HTTP request | Description
|
|
|
344
343
|
- [GreenLinkApi.Register](docs/Register.md)
|
|
345
344
|
- [GreenLinkApi.Retailer](docs/Retailer.md)
|
|
346
345
|
- [GreenLinkApi.SmartContract](docs/SmartContract.md)
|
|
347
|
-
- [GreenLinkApi.
|
|
346
|
+
- [GreenLinkApi.Status965Enum](docs/Status965Enum.md)
|
|
348
347
|
- [GreenLinkApi.TypeEnum](docs/TypeEnum.md)
|
|
349
348
|
- [GreenLinkApi.UnprocessedRow](docs/UnprocessedRow.md)
|
|
350
349
|
- [GreenLinkApi.UploadedCertificate](docs/UploadedCertificate.md)
|
package/dist/ApiClient.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.16.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.7
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* 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
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 1.16.
|
|
29
|
+
* @version 1.16.7
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -63,7 +63,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
63
63
|
* @default {}
|
|
64
64
|
*/
|
|
65
65
|
this.defaultHeaders = {
|
|
66
|
-
'User-Agent': 'OpenAPI-Generator/1.16.
|
|
66
|
+
'User-Agent': 'OpenAPI-Generator/1.16.7/Javascript'
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
/**
|
|
@@ -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.16.
|
|
21
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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
|
* Blockchain service.
|
|
31
31
|
* @module api/BlockchainApi
|
|
32
|
-
* @version 1.16.
|
|
32
|
+
* @version 1.16.7
|
|
33
33
|
*/
|
|
34
34
|
var BlockchainApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
30
|
* GreenLink API
|
|
31
31
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
32
32
|
*
|
|
33
|
-
* The version of the OpenAPI document: 1.16.
|
|
33
|
+
* The version of the OpenAPI document: 1.16.7
|
|
34
34
|
*
|
|
35
35
|
*
|
|
36
36
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,7 +41,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
41
41
|
/**
|
|
42
42
|
* EnergyAssets service.
|
|
43
43
|
* @module api/EnergyAssetsApi
|
|
44
|
-
* @version 1.16.
|
|
44
|
+
* @version 1.16.7
|
|
45
45
|
*/
|
|
46
46
|
var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
47
47
|
/**
|
|
@@ -42,7 +42,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
42
42
|
* GreenLink API
|
|
43
43
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
44
44
|
*
|
|
45
|
-
* The version of the OpenAPI document: 1.16.
|
|
45
|
+
* The version of the OpenAPI document: 1.16.7
|
|
46
46
|
*
|
|
47
47
|
*
|
|
48
48
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -53,7 +53,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
53
53
|
/**
|
|
54
54
|
* EnergyData service.
|
|
55
55
|
* @module api/EnergyDataApi
|
|
56
|
-
* @version 1.16.
|
|
56
|
+
* @version 1.16.7
|
|
57
57
|
*/
|
|
58
58
|
var EnergyDataApi = /*#__PURE__*/function () {
|
|
59
59
|
/**
|
|
@@ -643,7 +643,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
643
643
|
* @param {Number} opts.offset The initial index from which to return the results.
|
|
644
644
|
* @param {Array.<module:model/String>} opts.orderBy Ordering * `status` - Status * `-status` - Status (descending) * `consumption_start` - Consumption start * `-consumption_start` - Consumption start (descending) * `consumer` - Consumer * `-consumer` - Consumer (descending) * `retailer` - Retailer * `-retailer` - Retailer (descending) * `created_at` - Created at * `-created_at` - Created at (descending)
|
|
645
645
|
* @param {String} opts.retailer
|
|
646
|
-
* @param {module:model/String} opts.status * `
|
|
646
|
+
* @param {module:model/String} opts.status * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
647
647
|
* @param {Date} opts.updatedAt
|
|
648
648
|
* @param {module:api/EnergyDataApi~energyDataImportRequestListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
649
649
|
* data is of type: {@link module:model/PaginatedConsumptionDataTaskList}
|
|
@@ -824,7 +824,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
824
824
|
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
825
825
|
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
826
826
|
* @param {Date} opts.startTime
|
|
827
|
-
* @param {module:model/String} opts.status
|
|
827
|
+
* @param {module:model/String} opts.status * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
828
828
|
* @param {Number} opts.targetPercentageMatched
|
|
829
829
|
* @param {Number} opts.totalNumberOfAttemptedMatches
|
|
830
830
|
* @param {Number} opts.totalNumberOfConsumptionDatapoints
|
|
@@ -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.16.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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.16.
|
|
29
|
+
* @version 1.16.7
|
|
30
30
|
*/
|
|
31
31
|
var HealthCheckApi = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -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.16.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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.16.
|
|
29
|
+
* @version 1.16.7
|
|
30
30
|
*/
|
|
31
31
|
var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
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.16.
|
|
21
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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.16.
|
|
32
|
+
* @version 1.16.7
|
|
33
33
|
*/
|
|
34
34
|
var LocationsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/LogsApi.js
CHANGED
|
@@ -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.16.
|
|
29
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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.16.
|
|
40
|
+
* @version 1.16.7
|
|
41
41
|
*/
|
|
42
42
|
var LogsApi = /*#__PURE__*/function () {
|
|
43
43
|
/**
|
|
@@ -53,59 +53,31 @@ var LogsApi = /*#__PURE__*/function () {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Callback function to receive the result of the
|
|
57
|
-
* @callback module:api/LogsApi~
|
|
56
|
+
* Callback function to receive the result of the logsActivitiesList operation.
|
|
57
|
+
* @callback module:api/LogsApi~logsActivitiesListCallback
|
|
58
58
|
* @param {String} error Error message, if any.
|
|
59
|
-
* @param {module:model/
|
|
59
|
+
* @param {module:model/PaginatedActivitiesList} data The data returned by the service call.
|
|
60
60
|
* @param {String} response The complete HTTP response.
|
|
61
61
|
*/
|
|
62
62
|
|
|
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
|
-
* @param {
|
|
66
|
-
*
|
|
65
|
+
* @param {Object} opts Optional parameters
|
|
66
|
+
* @param {Date} opts.dateTimeAfter
|
|
67
|
+
* @param {Date} opts.dateTimeBefore
|
|
68
|
+
* @param {module:model/String} opts.event * `Added` - Added * `Updated` - Updated * `Deleted` - Deleted
|
|
69
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
70
|
+
* @param {String} opts.modelName
|
|
71
|
+
* @param {String} opts.modelObjectId Model Object ID
|
|
72
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
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
|
|
77
|
+
* @param {module:api/LogsApi~logsActivitiesListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
78
|
+
* data is of type: {@link module:model/PaginatedActivitiesList}
|
|
67
79
|
*/
|
|
68
80
|
_createClass(LogsApi, [{
|
|
69
|
-
key: "logsActivitiesAllRelatedLogsRetrieve",
|
|
70
|
-
value: function logsActivitiesAllRelatedLogsRetrieve(callback) {
|
|
71
|
-
var postBody = null;
|
|
72
|
-
var pathParams = {};
|
|
73
|
-
var queryParams = {};
|
|
74
|
-
var headerParams = {};
|
|
75
|
-
var formParams = {};
|
|
76
|
-
var authNames = [];
|
|
77
|
-
var contentTypes = [];
|
|
78
|
-
var accepts = ['application/json'];
|
|
79
|
-
var returnType = _Activities["default"];
|
|
80
|
-
return this.apiClient.callApi('/logs/activities/all_related_logs/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Callback function to receive the result of the logsActivitiesList operation.
|
|
85
|
-
* @callback module:api/LogsApi~logsActivitiesListCallback
|
|
86
|
-
* @param {String} error Error message, if any.
|
|
87
|
-
* @param {module:model/PaginatedActivitiesList} data The data returned by the service call.
|
|
88
|
-
* @param {String} response The complete HTTP response.
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* 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``.
|
|
93
|
-
* @param {Object} opts Optional parameters
|
|
94
|
-
* @param {Date} opts.dateTimeAfter
|
|
95
|
-
* @param {Date} opts.dateTimeBefore
|
|
96
|
-
* @param {module:model/String} opts.event * `Added` - Added * `Updated` - Updated * `Deleted` - Deleted
|
|
97
|
-
* @param {Number} opts.limit Number of results to return per page.
|
|
98
|
-
* @param {String} opts.modelName
|
|
99
|
-
* @param {String} opts.modelObjectId Model Object ID
|
|
100
|
-
* @param {Number} opts.offset The initial index from which to return the results.
|
|
101
|
-
* @param {String} opts.organization
|
|
102
|
-
* @param {String} opts.relatedLogId Related Log ID
|
|
103
|
-
* @param {module:model/String} opts.status * `success` - Success * `failure` - Failure
|
|
104
|
-
* @param {String} opts.user
|
|
105
|
-
* @param {module:api/LogsApi~logsActivitiesListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
106
|
-
* data is of type: {@link module:model/PaginatedActivitiesList}
|
|
107
|
-
*/
|
|
108
|
-
}, {
|
|
109
81
|
key: "logsActivitiesList",
|
|
110
82
|
value: function logsActivitiesList(opts, callback) {
|
|
111
83
|
opts = opts || {};
|
|
@@ -291,7 +263,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
|
291
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)
|
|
292
264
|
* @param {String} opts.owner
|
|
293
265
|
* @param {String} opts.producer
|
|
294
|
-
* @param {module:model/String} opts.status
|
|
266
|
+
* @param {module:model/String} opts.status * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
295
267
|
* @param {module:api/LogsApi~logsCertificatesListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
296
268
|
* data is of type: {@link module:model/PaginatedUploadedCertificateListorDetailList}
|
|
297
269
|
*/
|
|
@@ -415,7 +387,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
|
415
387
|
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
416
388
|
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
417
389
|
* @param {Date} opts.startTime
|
|
418
|
-
* @param {module:model/String} opts.status
|
|
390
|
+
* @param {module:model/String} opts.status * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
419
391
|
* @param {Date} opts.updatedAt
|
|
420
392
|
* @param {module:api/LogsApi~logsProductionEpiasListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
421
393
|
* data is of type: {@link module:model/PaginatedProductionDataFromEpiasTaskList}
|
|
@@ -659,7 +631,7 @@ var LogsApi = /*#__PURE__*/function () {
|
|
|
659
631
|
* @param {Number} opts.offset The initial index from which to return the results.
|
|
660
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)
|
|
661
633
|
* @param {String} opts.owner
|
|
662
|
-
* @param {module:model/String} opts.status
|
|
634
|
+
* @param {module:model/String} opts.status * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
663
635
|
* @param {Date} opts.updatedAt
|
|
664
636
|
* @param {module:api/LogsApi~logsUploadFileListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
665
637
|
* data is of type: {@link module:model/PaginatedUploadedFileTaskList}
|
|
@@ -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.16.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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.16.
|
|
29
|
+
* @version 1.16.7
|
|
30
30
|
*/
|
|
31
31
|
var MaintenanceCheckApi = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -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.16.
|
|
21
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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
|
* Organizationprofiles service.
|
|
31
31
|
* @module api/OrganizationprofilesApi
|
|
32
|
-
* @version 1.16.
|
|
32
|
+
* @version 1.16.7
|
|
33
33
|
*/
|
|
34
34
|
var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
30
|
* GreenLink API
|
|
31
31
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
32
32
|
*
|
|
33
|
-
* The version of the OpenAPI document: 1.16.
|
|
33
|
+
* The version of the OpenAPI document: 1.16.7
|
|
34
34
|
*
|
|
35
35
|
*
|
|
36
36
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,7 +41,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
41
41
|
/**
|
|
42
42
|
* Organizations service.
|
|
43
43
|
* @module api/OrganizationsApi
|
|
44
|
-
* @version 1.16.
|
|
44
|
+
* @version 1.16.7
|
|
45
45
|
*/
|
|
46
46
|
var OrganizationsApi = /*#__PURE__*/function () {
|
|
47
47
|
/**
|
package/dist/api/SchemaApi.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.16.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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
|
* Schema service.
|
|
28
28
|
* @module api/SchemaApi
|
|
29
|
-
* @version 1.16.
|
|
29
|
+
* @version 1.16.7
|
|
30
30
|
*/
|
|
31
31
|
var SchemaApi = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -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.16.
|
|
18
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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
|
* SentryDebug service.
|
|
28
28
|
* @module api/SentryDebugApi
|
|
29
|
-
* @version 1.16.
|
|
29
|
+
* @version 1.16.7
|
|
30
30
|
*/
|
|
31
31
|
var SentryDebugApi = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/api/UsersApi.js
CHANGED
|
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
21
21
|
* GreenLink API
|
|
22
22
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
23
23
|
*
|
|
24
|
-
* The version of the OpenAPI document: 1.16.
|
|
24
|
+
* The version of the OpenAPI document: 1.16.7
|
|
25
25
|
*
|
|
26
26
|
*
|
|
27
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
32
32
|
/**
|
|
33
33
|
* Users service.
|
|
34
34
|
* @module api/UsersApi
|
|
35
|
-
* @version 1.16.
|
|
35
|
+
* @version 1.16.7
|
|
36
36
|
*/
|
|
37
37
|
var UsersApi = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/index.js
CHANGED
|
@@ -603,10 +603,10 @@ Object.defineProperty(exports, "SmartContract", {
|
|
|
603
603
|
return _SmartContract["default"];
|
|
604
604
|
}
|
|
605
605
|
});
|
|
606
|
-
Object.defineProperty(exports, "
|
|
606
|
+
Object.defineProperty(exports, "Status965Enum", {
|
|
607
607
|
enumerable: true,
|
|
608
608
|
get: function get() {
|
|
609
|
-
return
|
|
609
|
+
return _Status965Enum["default"];
|
|
610
610
|
}
|
|
611
611
|
});
|
|
612
612
|
Object.defineProperty(exports, "TypeEnum", {
|
|
@@ -745,7 +745,7 @@ var _ProductionSiteUpdate = _interopRequireDefault(require("./model/ProductionSi
|
|
|
745
745
|
var _Register = _interopRequireDefault(require("./model/Register"));
|
|
746
746
|
var _Retailer = _interopRequireDefault(require("./model/Retailer"));
|
|
747
747
|
var _SmartContract = _interopRequireDefault(require("./model/SmartContract"));
|
|
748
|
-
var
|
|
748
|
+
var _Status965Enum = _interopRequireDefault(require("./model/Status965Enum"));
|
|
749
749
|
var _TypeEnum = _interopRequireDefault(require("./model/TypeEnum"));
|
|
750
750
|
var _UnprocessedRow = _interopRequireDefault(require("./model/UnprocessedRow"));
|
|
751
751
|
var _UploadedCertificate = _interopRequireDefault(require("./model/UploadedCertificate"));
|
package/dist/model/Activities.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.16.
|
|
21
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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
|
* The Activities model module.
|
|
31
31
|
* @module model/Activities
|
|
32
|
-
* @version 1.16.
|
|
32
|
+
* @version 1.16.7
|
|
33
33
|
*/
|
|
34
34
|
var Activities = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -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.16.
|
|
19
|
+
* The version of the OpenAPI document: 1.16.7
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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 _Status965Enum = _interopRequireDefault(require("./Status965Enum"));
|
|
9
9
|
var _TypeEnum = _interopRequireDefault(require("./TypeEnum"));
|
|
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); }
|
|
@@ -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.16.
|
|
20
|
+
* The version of the OpenAPI document: 1.16.7
|
|
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 BlockchainTransactionTask model module.
|
|
30
30
|
* @module model/BlockchainTransactionTask
|
|
31
|
-
* @version 1.16.
|
|
31
|
+
* @version 1.16.7
|
|
32
32
|
*/
|
|
33
33
|
var BlockchainTransactionTask = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -84,7 +84,7 @@ var BlockchainTransactionTask = /*#__PURE__*/function () {
|
|
|
84
84
|
obj['energy_amounts'] = _ApiClient["default"].convertToType(data['energy_amounts'], ['Number']);
|
|
85
85
|
}
|
|
86
86
|
if (data.hasOwnProperty('status')) {
|
|
87
|
-
obj['status'] =
|
|
87
|
+
obj['status'] = _Status965Enum["default"].constructFromObject(data['status']);
|
|
88
88
|
}
|
|
89
89
|
if (data.hasOwnProperty('type')) {
|
|
90
90
|
obj['type'] = _TypeEnum["default"].constructFromObject(data['type']);
|
|
@@ -132,7 +132,7 @@ BlockchainTransactionTask.prototype['token_ids'] = undefined;
|
|
|
132
132
|
BlockchainTransactionTask.prototype['energy_amounts'] = undefined;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* @member {module:model/
|
|
135
|
+
* @member {module:model/Status965Enum} status
|
|
136
136
|
*/
|
|
137
137
|
BlockchainTransactionTask.prototype['status'] = undefined;
|
|
138
138
|
|