green_link_api 1.16.11 → 1.16.13
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -7
- 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 +2 -2
- 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 +2 -124
- 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 +0 -14
- package/dist/model/Activities.js +2 -2
- package/dist/model/ActivitiesStatusEnum.js +1 -1
- package/dist/model/BlockchainTransactionTask.js +2 -2
- 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 +2 -2
- 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 +25 -5
- 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 +2 -2
- 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/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 +2 -2
- 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/Status965Enum.js +1 -1
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/UploadedFileTask.js +2 -2
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
- package/dist/model/PaginatedUnprocessedRowList.js +0 -101
- package/dist/model/UnprocessedRow.js +0 -135
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.13
|
8
|
+
- Package version: 1.16.13
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
10
10
|
|
11
11
|
## Installation
|
@@ -199,9 +199,6 @@ Class | Method | HTTP request | Description
|
|
199
199
|
*GreenLinkApi.LogsApi* | [**logsProductionEpiasDestroy**](docs/LogsApi.md#logsProductionEpiasDestroy) | **DELETE** /logs/production-epias/{id}/ |
|
200
200
|
*GreenLinkApi.LogsApi* | [**logsProductionEpiasList**](docs/LogsApi.md#logsProductionEpiasList) | **GET** /logs/production-epias/ |
|
201
201
|
*GreenLinkApi.LogsApi* | [**logsProductionEpiasRetrieve**](docs/LogsApi.md#logsProductionEpiasRetrieve) | **GET** /logs/production-epias/{id}/ |
|
202
|
-
*GreenLinkApi.LogsApi* | [**logsUnprocessedRowDestroy**](docs/LogsApi.md#logsUnprocessedRowDestroy) | **DELETE** /logs/unprocessed-row/{id}/ |
|
203
|
-
*GreenLinkApi.LogsApi* | [**logsUnprocessedRowList**](docs/LogsApi.md#logsUnprocessedRowList) | **GET** /logs/unprocessed-row/ |
|
204
|
-
*GreenLinkApi.LogsApi* | [**logsUnprocessedRowRetrieve**](docs/LogsApi.md#logsUnprocessedRowRetrieve) | **GET** /logs/unprocessed-row/{id}/ |
|
205
202
|
*GreenLinkApi.LogsApi* | [**logsUploadFileDestroy**](docs/LogsApi.md#logsUploadFileDestroy) | **DELETE** /logs/upload-file/{id}/ |
|
206
203
|
*GreenLinkApi.LogsApi* | [**logsUploadFileList**](docs/LogsApi.md#logsUploadFileList) | **GET** /logs/upload-file/ |
|
207
204
|
*GreenLinkApi.LogsApi* | [**logsUploadFileRetrieve**](docs/LogsApi.md#logsUploadFileRetrieve) | **GET** /logs/upload-file/{id}/ |
|
@@ -310,7 +307,6 @@ Class | Method | HTTP request | Description
|
|
310
307
|
- [GreenLinkApi.PaginatedProductionSiteListOrDetailList](docs/PaginatedProductionSiteListOrDetailList.md)
|
311
308
|
- [GreenLinkApi.PaginatedRetailerList](docs/PaginatedRetailerList.md)
|
312
309
|
- [GreenLinkApi.PaginatedSmartContractList](docs/PaginatedSmartContractList.md)
|
313
|
-
- [GreenLinkApi.PaginatedUnprocessedRowList](docs/PaginatedUnprocessedRowList.md)
|
314
310
|
- [GreenLinkApi.PaginatedUploadedCertificateListorDetailList](docs/PaginatedUploadedCertificateListorDetailList.md)
|
315
311
|
- [GreenLinkApi.PaginatedUploadedFileTaskList](docs/PaginatedUploadedFileTaskList.md)
|
316
312
|
- [GreenLinkApi.PaginatedUserList](docs/PaginatedUserList.md)
|
@@ -345,7 +341,6 @@ Class | Method | HTTP request | Description
|
|
345
341
|
- [GreenLinkApi.SmartContract](docs/SmartContract.md)
|
346
342
|
- [GreenLinkApi.Status965Enum](docs/Status965Enum.md)
|
347
343
|
- [GreenLinkApi.TypeEnum](docs/TypeEnum.md)
|
348
|
-
- [GreenLinkApi.UnprocessedRow](docs/UnprocessedRow.md)
|
349
344
|
- [GreenLinkApi.UploadedCertificate](docs/UploadedCertificate.md)
|
350
345
|
- [GreenLinkApi.UploadedCertificateListorDetail](docs/UploadedCertificateListorDetail.md)
|
351
346
|
- [GreenLinkApi.UploadedFileTask](docs/UploadedFileTask.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.13
|
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.13
|
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.13/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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
57
57
|
*/
|
58
58
|
var EnergyDataApi = /*#__PURE__*/function () {
|
59
59
|
/**
|
@@ -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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
33
33
|
*/
|
34
34
|
var LocationsApi = /*#__PURE__*/function () {
|
35
35
|
/**
|
package/dist/api/LogsApi.js
CHANGED
@@ -8,11 +8,9 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Activities = _interopRequireDefault(require("../model/Activities"));
|
9
9
|
var _PaginatedActivitiesList = _interopRequireDefault(require("../model/PaginatedActivitiesList"));
|
10
10
|
var _PaginatedProductionDataFromEpiasTaskList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasTaskList"));
|
11
|
-
var _PaginatedUnprocessedRowList = _interopRequireDefault(require("../model/PaginatedUnprocessedRowList"));
|
12
11
|
var _PaginatedUploadedCertificateListorDetailList = _interopRequireDefault(require("../model/PaginatedUploadedCertificateListorDetailList"));
|
13
12
|
var _PaginatedUploadedFileTaskList = _interopRequireDefault(require("../model/PaginatedUploadedFileTaskList"));
|
14
13
|
var _ProductionDataFromEpiasTask = _interopRequireDefault(require("../model/ProductionDataFromEpiasTask"));
|
15
|
-
var _UnprocessedRow = _interopRequireDefault(require("../model/UnprocessedRow"));
|
16
14
|
var _UploadedCertificate = _interopRequireDefault(require("../model/UploadedCertificate"));
|
17
15
|
var _UploadedCertificateListorDetail = _interopRequireDefault(require("../model/UploadedCertificateListorDetail"));
|
18
16
|
var _UploadedFileTask = _interopRequireDefault(require("../model/UploadedFileTask"));
|
@@ -26,7 +24,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
26
24
|
* GreenLink API
|
27
25
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
28
26
|
*
|
29
|
-
* The version of the OpenAPI document: 1.16.
|
27
|
+
* The version of the OpenAPI document: 1.16.13
|
30
28
|
*
|
31
29
|
*
|
32
30
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -37,7 +35,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
37
35
|
/**
|
38
36
|
* Logs service.
|
39
37
|
* @module api/LogsApi
|
40
|
-
* @version 1.16.
|
38
|
+
* @version 1.16.13
|
41
39
|
*/
|
42
40
|
var LogsApi = /*#__PURE__*/function () {
|
43
41
|
/**
|
@@ -458,126 +456,6 @@ var LogsApi = /*#__PURE__*/function () {
|
|
458
456
|
return this.apiClient.callApi('/logs/production-epias/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
459
457
|
}
|
460
458
|
|
461
|
-
/**
|
462
|
-
* Callback function to receive the result of the logsUnprocessedRowDestroy operation.
|
463
|
-
* @callback module:api/LogsApi~logsUnprocessedRowDestroyCallback
|
464
|
-
* @param {String} error Error message, if any.
|
465
|
-
* @param data This operation does not return a value.
|
466
|
-
* @param {String} response The complete HTTP response.
|
467
|
-
*/
|
468
|
-
|
469
|
-
/**
|
470
|
-
* This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: 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 unprocessed row information: 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:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
|
471
|
-
* @param {String} id A UUID string identifying this unprocessed row.
|
472
|
-
* @param {module:api/LogsApi~logsUnprocessedRowDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
473
|
-
*/
|
474
|
-
}, {
|
475
|
-
key: "logsUnprocessedRowDestroy",
|
476
|
-
value: function logsUnprocessedRowDestroy(id, callback) {
|
477
|
-
var postBody = null;
|
478
|
-
// verify the required parameter 'id' is set
|
479
|
-
if (id === undefined || id === null) {
|
480
|
-
throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowDestroy");
|
481
|
-
}
|
482
|
-
var pathParams = {
|
483
|
-
'id': id
|
484
|
-
};
|
485
|
-
var queryParams = {};
|
486
|
-
var headerParams = {};
|
487
|
-
var formParams = {};
|
488
|
-
var authNames = [];
|
489
|
-
var contentTypes = [];
|
490
|
-
var accepts = [];
|
491
|
-
var returnType = null;
|
492
|
-
return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
493
|
-
}
|
494
|
-
|
495
|
-
/**
|
496
|
-
* Callback function to receive the result of the logsUnprocessedRowList operation.
|
497
|
-
* @callback module:api/LogsApi~logsUnprocessedRowListCallback
|
498
|
-
* @param {String} error Error message, if any.
|
499
|
-
* @param {module:model/PaginatedUnprocessedRowList} data The data returned by the service call.
|
500
|
-
* @param {String} response The complete HTTP response.
|
501
|
-
*/
|
502
|
-
|
503
|
-
/**
|
504
|
-
* This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: 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 unprocessed row information: 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:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
|
505
|
-
* @param {Object} opts Optional parameters
|
506
|
-
* @param {Date} opts.createdAt
|
507
|
-
* @param {String} opts.errorMessage
|
508
|
-
* @param {String} opts.id
|
509
|
-
* @param {Number} opts.limit Number of results to return per page.
|
510
|
-
* @param {Number} opts.offset The initial index from which to return the results.
|
511
|
-
* @param {Array.<module:model/String>} opts.orderBy Ordering * `row_number` - Row number * `-row_number` - Row number (descending) * `error_message` - Error message * `-error_message` - Error message (descending) * `uploaded_file` - Uploaded file * `-uploaded_file` - Uploaded file (descending)
|
512
|
-
* @param {String} opts.owner
|
513
|
-
* @param {Number} opts.rowNumber
|
514
|
-
* @param {Date} opts.updatedAt
|
515
|
-
* @param {String} opts.uploadedFile
|
516
|
-
* @param {module:api/LogsApi~logsUnprocessedRowListCallback} callback The callback function, accepting three arguments: error, data, response
|
517
|
-
* data is of type: {@link module:model/PaginatedUnprocessedRowList}
|
518
|
-
*/
|
519
|
-
}, {
|
520
|
-
key: "logsUnprocessedRowList",
|
521
|
-
value: function logsUnprocessedRowList(opts, callback) {
|
522
|
-
opts = opts || {};
|
523
|
-
var postBody = null;
|
524
|
-
var pathParams = {};
|
525
|
-
var queryParams = {
|
526
|
-
'created_at': opts['createdAt'],
|
527
|
-
'error_message': opts['errorMessage'],
|
528
|
-
'id': opts['id'],
|
529
|
-
'limit': opts['limit'],
|
530
|
-
'offset': opts['offset'],
|
531
|
-
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
532
|
-
'owner': opts['owner'],
|
533
|
-
'row_number': opts['rowNumber'],
|
534
|
-
'updated_at': opts['updatedAt'],
|
535
|
-
'uploaded_file': opts['uploadedFile']
|
536
|
-
};
|
537
|
-
var headerParams = {};
|
538
|
-
var formParams = {};
|
539
|
-
var authNames = [];
|
540
|
-
var contentTypes = [];
|
541
|
-
var accepts = ['application/json'];
|
542
|
-
var returnType = _PaginatedUnprocessedRowList["default"];
|
543
|
-
return this.apiClient.callApi('/logs/unprocessed-row/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
544
|
-
}
|
545
|
-
|
546
|
-
/**
|
547
|
-
* Callback function to receive the result of the logsUnprocessedRowRetrieve operation.
|
548
|
-
* @callback module:api/LogsApi~logsUnprocessedRowRetrieveCallback
|
549
|
-
* @param {String} error Error message, if any.
|
550
|
-
* @param {module:model/UnprocessedRow} data The data returned by the service call.
|
551
|
-
* @param {String} response The complete HTTP response.
|
552
|
-
*/
|
553
|
-
|
554
|
-
/**
|
555
|
-
* This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: 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 unprocessed row information: 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:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
|
556
|
-
* @param {String} id A UUID string identifying this unprocessed row.
|
557
|
-
* @param {module:api/LogsApi~logsUnprocessedRowRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
558
|
-
* data is of type: {@link module:model/UnprocessedRow}
|
559
|
-
*/
|
560
|
-
}, {
|
561
|
-
key: "logsUnprocessedRowRetrieve",
|
562
|
-
value: function logsUnprocessedRowRetrieve(id, callback) {
|
563
|
-
var postBody = null;
|
564
|
-
// verify the required parameter 'id' is set
|
565
|
-
if (id === undefined || id === null) {
|
566
|
-
throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowRetrieve");
|
567
|
-
}
|
568
|
-
var pathParams = {
|
569
|
-
'id': id
|
570
|
-
};
|
571
|
-
var queryParams = {};
|
572
|
-
var headerParams = {};
|
573
|
-
var formParams = {};
|
574
|
-
var authNames = [];
|
575
|
-
var contentTypes = [];
|
576
|
-
var accepts = ['application/json'];
|
577
|
-
var returnType = _UnprocessedRow["default"];
|
578
|
-
return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
579
|
-
}
|
580
|
-
|
581
459
|
/**
|
582
460
|
* Callback function to receive the result of the logsUploadFileDestroy operation.
|
583
461
|
* @callback module:api/LogsApi~logsUploadFileDestroyCallback
|
@@ -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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
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.13
|
36
36
|
*/
|
37
37
|
var UsersApi = /*#__PURE__*/function () {
|
38
38
|
/**
|
package/dist/index.js
CHANGED
@@ -393,12 +393,6 @@ Object.defineProperty(exports, "PaginatedSmartContractList", {
|
|
393
393
|
return _PaginatedSmartContractList["default"];
|
394
394
|
}
|
395
395
|
});
|
396
|
-
Object.defineProperty(exports, "PaginatedUnprocessedRowList", {
|
397
|
-
enumerable: true,
|
398
|
-
get: function get() {
|
399
|
-
return _PaginatedUnprocessedRowList["default"];
|
400
|
-
}
|
401
|
-
});
|
402
396
|
Object.defineProperty(exports, "PaginatedUploadedCertificateListorDetailList", {
|
403
397
|
enumerable: true,
|
404
398
|
get: function get() {
|
@@ -615,12 +609,6 @@ Object.defineProperty(exports, "TypeEnum", {
|
|
615
609
|
return _TypeEnum["default"];
|
616
610
|
}
|
617
611
|
});
|
618
|
-
Object.defineProperty(exports, "UnprocessedRow", {
|
619
|
-
enumerable: true,
|
620
|
-
get: function get() {
|
621
|
-
return _UnprocessedRow["default"];
|
622
|
-
}
|
623
|
-
});
|
624
612
|
Object.defineProperty(exports, "UploadedCertificate", {
|
625
613
|
enumerable: true,
|
626
614
|
get: function get() {
|
@@ -712,7 +700,6 @@ var _PaginatedProductionDataPointListOrDetailList = _interopRequireDefault(requi
|
|
712
700
|
var _PaginatedProductionSiteListOrDetailList = _interopRequireDefault(require("./model/PaginatedProductionSiteListOrDetailList"));
|
713
701
|
var _PaginatedRetailerList = _interopRequireDefault(require("./model/PaginatedRetailerList"));
|
714
702
|
var _PaginatedSmartContractList = _interopRequireDefault(require("./model/PaginatedSmartContractList"));
|
715
|
-
var _PaginatedUnprocessedRowList = _interopRequireDefault(require("./model/PaginatedUnprocessedRowList"));
|
716
703
|
var _PaginatedUploadedCertificateListorDetailList = _interopRequireDefault(require("./model/PaginatedUploadedCertificateListorDetailList"));
|
717
704
|
var _PaginatedUploadedFileTaskList = _interopRequireDefault(require("./model/PaginatedUploadedFileTaskList"));
|
718
705
|
var _PaginatedUserList = _interopRequireDefault(require("./model/PaginatedUserList"));
|
@@ -747,7 +734,6 @@ var _Retailer = _interopRequireDefault(require("./model/Retailer"));
|
|
747
734
|
var _SmartContract = _interopRequireDefault(require("./model/SmartContract"));
|
748
735
|
var _Status965Enum = _interopRequireDefault(require("./model/Status965Enum"));
|
749
736
|
var _TypeEnum = _interopRequireDefault(require("./model/TypeEnum"));
|
750
|
-
var _UnprocessedRow = _interopRequireDefault(require("./model/UnprocessedRow"));
|
751
737
|
var _UploadedCertificate = _interopRequireDefault(require("./model/UploadedCertificate"));
|
752
738
|
var _UploadedCertificateListorDetail = _interopRequireDefault(require("./model/UploadedCertificateListorDetail"));
|
753
739
|
var _UploadedFileTask = _interopRequireDefault(require("./model/UploadedFileTask"));
|
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.13
|
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.13
|
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.13
|
20
20
|
*
|
21
21
|
*
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|