green_link_api 1.10.5 → 1.10.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 +6 -2
- package/dist/ApiClient.js +2 -2
- package/dist/api/BlockchainApi.js +1 -1
- package/dist/api/EnergyAssetsApi.js +1 -1
- package/dist/api/EnergyDataApi.js +83 -1
- package/dist/api/HealthCheckApi.js +1 -1
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +1 -1
- package/dist/api/LocationsApi.js +1 -1
- package/dist/api/LogsApi.js +1 -1
- package/dist/api/MaintenanceCheckApi.js +1 -1
- package/dist/api/OrganizationprofilesApi.js +1 -1
- package/dist/api/OrganizationsApi.js +1 -1
- package/dist/api/SchemaApi.js +1 -1
- package/dist/api/SentryDebugApi.js +1 -1
- package/dist/api/UsersApi.js +1 -1
- package/dist/index.js +14 -0
- package/dist/model/Activities.js +1 -1
- package/dist/model/BlockchainTransaction.js +1 -1
- package/dist/model/Consumer.js +1 -1
- package/dist/model/ConsumptionDataFileList.js +1 -1
- package/dist/model/ConsumptionDataFromRetailerRequest.js +1 -1
- package/dist/model/ConsumptionDataPointCreate.js +1 -1
- package/dist/model/ConsumptionDataPointListOrDetail.js +1 -1
- package/dist/model/ConsumptionDataPointUpdate.js +1 -1
- package/dist/model/ConsumptionSite.js +1 -1
- package/dist/model/ConsumptionSiteContract.js +1 -1
- package/dist/model/ConsumptionSiteContractImport.js +1 -1
- package/dist/model/ConsumptionSiteCreate.js +1 -1
- package/dist/model/ConsumptionSiteFileUpload.js +1 -1
- package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
- package/dist/model/EmissionFactor.js +1 -1
- package/dist/model/EnergySourcePreference.js +1 -1
- package/dist/model/GetFromEpias.js +1 -1
- package/dist/model/GridOperator.js +1 -1
- package/dist/model/ImportRequest.js +1 -1
- package/dist/model/ImportRequestRaw.js +106 -0
- package/dist/model/ImportedEnergyDataPoint.js +1 -1
- package/dist/model/Issuer.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login.js +1 -1
- package/dist/model/MatchRequest.js +1 -1
- package/dist/model/MatchedEnergyDataPoint.js +1 -1
- package/dist/model/MatchingConsumerRequest.js +1 -1
- package/dist/model/MatchingSiteRequest.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +1 -1
- package/dist/model/PaginatedConsumerList.js +1 -1
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedConsumptionSiteContractList.js +1 -1
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedEmissionFactorList.js +1 -1
- package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
- package/dist/model/PaginatedGridOperatorList.js +1 -1
- package/dist/model/PaginatedImportRequestList.js +1 -1
- package/dist/model/PaginatedImportRequestRawList.js +87 -0
- package/dist/model/PaginatedImportedEnergyDataPointList.js +1 -1
- package/dist/model/PaginatedIssuerList.js +1 -1
- package/dist/model/PaginatedLocationList.js +1 -1
- package/dist/model/PaginatedMatchRequestList.js +1 -1
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
- package/dist/model/PaginatedProducerList.js +1 -1
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +1 -1
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedRetailerList.js +1 -1
- package/dist/model/PaginatedSmartContractList.js +1 -1
- package/dist/model/PaginatedUnprocessedRowList.js +1 -1
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +1 -1
- package/dist/model/PaginatedUploadedFileList.js +1 -1
- package/dist/model/PaginatedUserList.js +1 -1
- package/dist/model/PatchedConsumer.js +1 -1
- package/dist/model/PatchedConsumptionDataPointUpdate.js +1 -1
- package/dist/model/PatchedConsumptionSite.js +1 -1
- package/dist/model/PatchedEmissionFactor.js +1 -1
- package/dist/model/PatchedEnergySourcePreference.js +1 -1
- package/dist/model/PatchedGridOperator.js +1 -1
- package/dist/model/PatchedIssuer.js +1 -1
- package/dist/model/PatchedLocation.js +1 -1
- package/dist/model/PatchedProducer.js +1 -1
- package/dist/model/PatchedProductionDataPointUpdate.js +1 -1
- package/dist/model/PatchedProductionSiteUpdate.js +1 -1
- package/dist/model/PatchedRetailer.js +1 -1
- package/dist/model/PatchedSmartContract.js +1 -1
- package/dist/model/PatchedUser.js +1 -1
- package/dist/model/PatchedUserDetail.js +1 -1
- package/dist/model/Producer.js +1 -1
- package/dist/model/ProductionDataFileList.js +1 -1
- package/dist/model/ProductionDataFromEpiasRequest.js +1 -1
- package/dist/model/ProductionDataPointCreate.js +1 -1
- package/dist/model/ProductionDataPointListOrDetail.js +1 -1
- package/dist/model/ProductionDataPointUpdate.js +1 -1
- package/dist/model/ProductionSite.js +1 -1
- package/dist/model/ProductionSiteFileUpload.js +1 -1
- package/dist/model/ProductionSiteListOrDetail.js +1 -1
- package/dist/model/ProductionSiteUpdate.js +1 -1
- package/dist/model/Register.js +1 -1
- package/dist/model/Retailer.js +1 -1
- package/dist/model/SmartContract.js +1 -1
- package/dist/model/Token.js +1 -1
- package/dist/model/UnprocessedRow.js +1 -1
- package/dist/model/UploadedCertificate.js +1 -1
- package/dist/model/UploadedCertificateListorDetail.js +1 -1
- package/dist/model/UploadedFile.js +1 -1
- package/dist/model/User.js +1 -1
- package/dist/model/UserDetail.js +1 -1
- 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.10.
|
|
8
|
-
- Package version: 1.10.
|
|
7
|
+
- API version: 1.10.7
|
|
8
|
+
- Package version: 1.10.7
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
@@ -174,6 +174,8 @@ Class | Method | HTTP request | Description
|
|
|
174
174
|
*GreenLinkApi.EnergyDataApi* | [**energyDataEmissionFactorRetrieve**](docs/EnergyDataApi.md#energyDataEmissionFactorRetrieve) | **GET** /energy-data/emission-factor/{id}/ |
|
|
175
175
|
*GreenLinkApi.EnergyDataApi* | [**energyDataEmissionFactorUpdate**](docs/EnergyDataApi.md#energyDataEmissionFactorUpdate) | **PUT** /energy-data/emission-factor/{id}/ |
|
|
176
176
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestList**](docs/EnergyDataApi.md#energyDataImportRequestList) | **GET** /energy-data/import-request/ |
|
|
177
|
+
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestRawList**](docs/EnergyDataApi.md#energyDataImportRequestRawList) | **GET** /energy-data/import-request-raw/ |
|
|
178
|
+
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestRawRetrieve**](docs/EnergyDataApi.md#energyDataImportRequestRawRetrieve) | **GET** /energy-data/import-request-raw/{id}/ |
|
|
177
179
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportRequestRetrieve**](docs/EnergyDataApi.md#energyDataImportRequestRetrieve) | **GET** /energy-data/import-request/{id}/ |
|
|
178
180
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportedEnergyDataList**](docs/EnergyDataApi.md#energyDataImportedEnergyDataList) | **GET** /energy-data/imported-energy-data/ |
|
|
179
181
|
*GreenLinkApi.EnergyDataApi* | [**energyDataImportedEnergyDataRetrieve**](docs/EnergyDataApi.md#energyDataImportedEnergyDataRetrieve) | **GET** /energy-data/imported-energy-data/{id}/ |
|
|
@@ -292,6 +294,7 @@ Class | Method | HTTP request | Description
|
|
|
292
294
|
- [GreenLinkApi.GetFromEpias](docs/GetFromEpias.md)
|
|
293
295
|
- [GreenLinkApi.GridOperator](docs/GridOperator.md)
|
|
294
296
|
- [GreenLinkApi.ImportRequest](docs/ImportRequest.md)
|
|
297
|
+
- [GreenLinkApi.ImportRequestRaw](docs/ImportRequestRaw.md)
|
|
295
298
|
- [GreenLinkApi.ImportRequestStatusEnum](docs/ImportRequestStatusEnum.md)
|
|
296
299
|
- [GreenLinkApi.ImportedEnergyDataPoint](docs/ImportedEnergyDataPoint.md)
|
|
297
300
|
- [GreenLinkApi.Issuer](docs/Issuer.md)
|
|
@@ -312,6 +315,7 @@ Class | Method | HTTP request | Description
|
|
|
312
315
|
- [GreenLinkApi.PaginatedEnergySourcePreferenceList](docs/PaginatedEnergySourcePreferenceList.md)
|
|
313
316
|
- [GreenLinkApi.PaginatedGridOperatorList](docs/PaginatedGridOperatorList.md)
|
|
314
317
|
- [GreenLinkApi.PaginatedImportRequestList](docs/PaginatedImportRequestList.md)
|
|
318
|
+
- [GreenLinkApi.PaginatedImportRequestRawList](docs/PaginatedImportRequestRawList.md)
|
|
315
319
|
- [GreenLinkApi.PaginatedImportedEnergyDataPointList](docs/PaginatedImportedEnergyDataPointList.md)
|
|
316
320
|
- [GreenLinkApi.PaginatedIssuerList](docs/PaginatedIssuerList.md)
|
|
317
321
|
- [GreenLinkApi.PaginatedLocationList](docs/PaginatedLocationList.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -13,7 +13,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
13
13
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
14
|
/**
|
|
15
15
|
* @module ApiClient
|
|
16
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.7
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
* @default {}
|
|
69
69
|
*/
|
|
70
70
|
this.defaultHeaders = {
|
|
71
|
-
'User-Agent': 'OpenAPI-Generator/1.10.
|
|
71
|
+
'User-Agent': 'OpenAPI-Generator/1.10.7/Javascript'
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/**
|
|
@@ -13,6 +13,7 @@ var _ConsumptionDataPointUpdate = _interopRequireDefault(require("../model/Consu
|
|
|
13
13
|
var _EmissionFactor = _interopRequireDefault(require("../model/EmissionFactor"));
|
|
14
14
|
var _GetFromEpias = _interopRequireDefault(require("../model/GetFromEpias"));
|
|
15
15
|
var _ImportRequest = _interopRequireDefault(require("../model/ImportRequest"));
|
|
16
|
+
var _ImportRequestRaw = _interopRequireDefault(require("../model/ImportRequestRaw"));
|
|
16
17
|
var _ImportedEnergyDataPoint = _interopRequireDefault(require("../model/ImportedEnergyDataPoint"));
|
|
17
18
|
var _MatchRequest = _interopRequireDefault(require("../model/MatchRequest"));
|
|
18
19
|
var _MatchedEnergyDataPoint = _interopRequireDefault(require("../model/MatchedEnergyDataPoint"));
|
|
@@ -21,6 +22,7 @@ var _MatchingSiteRequest = _interopRequireDefault(require("../model/MatchingSite
|
|
|
21
22
|
var _PaginatedConsumptionDataPointListOrDetailList = _interopRequireDefault(require("../model/PaginatedConsumptionDataPointListOrDetailList"));
|
|
22
23
|
var _PaginatedEmissionFactorList = _interopRequireDefault(require("../model/PaginatedEmissionFactorList"));
|
|
23
24
|
var _PaginatedImportRequestList = _interopRequireDefault(require("../model/PaginatedImportRequestList"));
|
|
25
|
+
var _PaginatedImportRequestRawList = _interopRequireDefault(require("../model/PaginatedImportRequestRawList"));
|
|
24
26
|
var _PaginatedImportedEnergyDataPointList = _interopRequireDefault(require("../model/PaginatedImportedEnergyDataPointList"));
|
|
25
27
|
var _PaginatedMatchRequestList = _interopRequireDefault(require("../model/PaginatedMatchRequestList"));
|
|
26
28
|
var _PaginatedMatchedEnergyDataPointList = _interopRequireDefault(require("../model/PaginatedMatchedEnergyDataPointList"));
|
|
@@ -39,7 +41,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
39
41
|
/**
|
|
40
42
|
* EnergyData service.
|
|
41
43
|
* @module api/EnergyDataApi
|
|
42
|
-
* @version 1.10.
|
|
44
|
+
* @version 1.10.7
|
|
43
45
|
*/
|
|
44
46
|
var EnergyDataApi = /*#__PURE__*/function () {
|
|
45
47
|
/**
|
|
@@ -661,6 +663,86 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
661
663
|
return this.apiClient.callApi('/energy-data/import-request/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
662
664
|
}
|
|
663
665
|
|
|
666
|
+
/**
|
|
667
|
+
* Callback function to receive the result of the energyDataImportRequestRawList operation.
|
|
668
|
+
* @callback module:api/EnergyDataApi~energyDataImportRequestRawListCallback
|
|
669
|
+
* @param {String} error Error message, if any.
|
|
670
|
+
* @param {module:model/PaginatedImportRequestRawList} data The data returned by the service call.
|
|
671
|
+
* @param {String} response The complete HTTP response.
|
|
672
|
+
*/
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* 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``.
|
|
676
|
+
* @param {Object} opts Optional parameters
|
|
677
|
+
* @param {Date} opts.createdAt
|
|
678
|
+
* @param {String} opts.datapoint
|
|
679
|
+
* @param {String} opts.id
|
|
680
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
681
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
682
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
683
|
+
* @param {Date} opts.updatedAt
|
|
684
|
+
* @param {module:api/EnergyDataApi~energyDataImportRequestRawListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
685
|
+
* data is of type: {@link module:model/PaginatedImportRequestRawList}
|
|
686
|
+
*/
|
|
687
|
+
}, {
|
|
688
|
+
key: "energyDataImportRequestRawList",
|
|
689
|
+
value: function energyDataImportRequestRawList(opts, callback) {
|
|
690
|
+
opts = opts || {};
|
|
691
|
+
var postBody = null;
|
|
692
|
+
var pathParams = {};
|
|
693
|
+
var queryParams = {
|
|
694
|
+
'created_at': opts['createdAt'],
|
|
695
|
+
'datapoint': opts['datapoint'],
|
|
696
|
+
'id': opts['id'],
|
|
697
|
+
'limit': opts['limit'],
|
|
698
|
+
'offset': opts['offset'],
|
|
699
|
+
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
700
|
+
'updated_at': opts['updatedAt']
|
|
701
|
+
};
|
|
702
|
+
var headerParams = {};
|
|
703
|
+
var formParams = {};
|
|
704
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
705
|
+
var contentTypes = [];
|
|
706
|
+
var accepts = ['application/json'];
|
|
707
|
+
var returnType = _PaginatedImportRequestRawList["default"];
|
|
708
|
+
return this.apiClient.callApi('/energy-data/import-request-raw/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Callback function to receive the result of the energyDataImportRequestRawRetrieve operation.
|
|
713
|
+
* @callback module:api/EnergyDataApi~energyDataImportRequestRawRetrieveCallback
|
|
714
|
+
* @param {String} error Error message, if any.
|
|
715
|
+
* @param {module:model/ImportRequestRaw} data The data returned by the service call.
|
|
716
|
+
* @param {String} response The complete HTTP response.
|
|
717
|
+
*/
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* 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``.
|
|
721
|
+
* @param {String} id A UUID string identifying this import request raw.
|
|
722
|
+
* @param {module:api/EnergyDataApi~energyDataImportRequestRawRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
723
|
+
* data is of type: {@link module:model/ImportRequestRaw}
|
|
724
|
+
*/
|
|
725
|
+
}, {
|
|
726
|
+
key: "energyDataImportRequestRawRetrieve",
|
|
727
|
+
value: function energyDataImportRequestRawRetrieve(id, callback) {
|
|
728
|
+
var postBody = null;
|
|
729
|
+
// verify the required parameter 'id' is set
|
|
730
|
+
if (id === undefined || id === null) {
|
|
731
|
+
throw new Error("Missing the required parameter 'id' when calling energyDataImportRequestRawRetrieve");
|
|
732
|
+
}
|
|
733
|
+
var pathParams = {
|
|
734
|
+
'id': id
|
|
735
|
+
};
|
|
736
|
+
var queryParams = {};
|
|
737
|
+
var headerParams = {};
|
|
738
|
+
var formParams = {};
|
|
739
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
740
|
+
var contentTypes = [];
|
|
741
|
+
var accepts = ['application/json'];
|
|
742
|
+
var returnType = _ImportRequestRaw["default"];
|
|
743
|
+
return this.apiClient.callApi('/energy-data/import-request-raw/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
744
|
+
}
|
|
745
|
+
|
|
664
746
|
/**
|
|
665
747
|
* Callback function to receive the result of the energyDataImportRequestRetrieve operation.
|
|
666
748
|
* @callback module:api/EnergyDataApi~energyDataImportRequestRetrieveCallback
|
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* LicensedProductionSitesOnEpias service.
|
|
14
14
|
* @module api/LicensedProductionSitesOnEpiasApi
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
package/dist/api/LocationsApi.js
CHANGED
package/dist/api/LogsApi.js
CHANGED
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* MaintenanceCheck service.
|
|
14
14
|
* @module api/MaintenanceCheckApi
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var MaintenanceCheckApi = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
|
@@ -15,7 +15,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
15
15
|
/**
|
|
16
16
|
* Organizationprofiles service.
|
|
17
17
|
* @module api/OrganizationprofilesApi
|
|
18
|
-
* @version 1.10.
|
|
18
|
+
* @version 1.10.7
|
|
19
19
|
*/
|
|
20
20
|
var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
package/dist/api/SchemaApi.js
CHANGED
package/dist/api/UsersApi.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -165,6 +165,12 @@ Object.defineProperty(exports, "ImportRequest", {
|
|
|
165
165
|
return _ImportRequest["default"];
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
|
+
Object.defineProperty(exports, "ImportRequestRaw", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _ImportRequestRaw["default"];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
168
174
|
Object.defineProperty(exports, "ImportRequestStatusEnum", {
|
|
169
175
|
enumerable: true,
|
|
170
176
|
get: function get() {
|
|
@@ -321,6 +327,12 @@ Object.defineProperty(exports, "PaginatedImportRequestList", {
|
|
|
321
327
|
return _PaginatedImportRequestList["default"];
|
|
322
328
|
}
|
|
323
329
|
});
|
|
330
|
+
Object.defineProperty(exports, "PaginatedImportRequestRawList", {
|
|
331
|
+
enumerable: true,
|
|
332
|
+
get: function get() {
|
|
333
|
+
return _PaginatedImportRequestRawList["default"];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
324
336
|
Object.defineProperty(exports, "PaginatedImportedEnergyDataPointList", {
|
|
325
337
|
enumerable: true,
|
|
326
338
|
get: function get() {
|
|
@@ -680,6 +692,7 @@ var _EnergySourcePreference = _interopRequireDefault(require("./model/EnergySour
|
|
|
680
692
|
var _GetFromEpias = _interopRequireDefault(require("./model/GetFromEpias"));
|
|
681
693
|
var _GridOperator = _interopRequireDefault(require("./model/GridOperator"));
|
|
682
694
|
var _ImportRequest = _interopRequireDefault(require("./model/ImportRequest"));
|
|
695
|
+
var _ImportRequestRaw = _interopRequireDefault(require("./model/ImportRequestRaw"));
|
|
683
696
|
var _ImportRequestStatusEnum = _interopRequireDefault(require("./model/ImportRequestStatusEnum"));
|
|
684
697
|
var _ImportedEnergyDataPoint = _interopRequireDefault(require("./model/ImportedEnergyDataPoint"));
|
|
685
698
|
var _Issuer = _interopRequireDefault(require("./model/Issuer"));
|
|
@@ -700,6 +713,7 @@ var _PaginatedEmissionFactorList = _interopRequireDefault(require("./model/Pagin
|
|
|
700
713
|
var _PaginatedEnergySourcePreferenceList = _interopRequireDefault(require("./model/PaginatedEnergySourcePreferenceList"));
|
|
701
714
|
var _PaginatedGridOperatorList = _interopRequireDefault(require("./model/PaginatedGridOperatorList"));
|
|
702
715
|
var _PaginatedImportRequestList = _interopRequireDefault(require("./model/PaginatedImportRequestList"));
|
|
716
|
+
var _PaginatedImportRequestRawList = _interopRequireDefault(require("./model/PaginatedImportRequestRawList"));
|
|
703
717
|
var _PaginatedImportedEnergyDataPointList = _interopRequireDefault(require("./model/PaginatedImportedEnergyDataPointList"));
|
|
704
718
|
var _PaginatedIssuerList = _interopRequireDefault(require("./model/PaginatedIssuerList"));
|
|
705
719
|
var _PaginatedLocationList = _interopRequireDefault(require("./model/PaginatedLocationList"));
|
package/dist/model/Activities.js
CHANGED
|
@@ -14,7 +14,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
14
14
|
/**
|
|
15
15
|
* The BlockchainTransaction model module.
|
|
16
16
|
* @module model/BlockchainTransaction
|
|
17
|
-
* @version 1.10.
|
|
17
|
+
* @version 1.10.7
|
|
18
18
|
*/
|
|
19
19
|
var BlockchainTransaction = /*#__PURE__*/function () {
|
|
20
20
|
/**
|
package/dist/model/Consumer.js
CHANGED
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* The ConsumptionDataFileList model module.
|
|
14
14
|
* @module model/ConsumptionDataFileList
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var ConsumptionDataFileList = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* The ConsumptionDataFromRetailerRequest model module.
|
|
14
14
|
* @module model/ConsumptionDataFromRetailerRequest
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
13
13
|
/**
|
|
14
14
|
* The ConsumptionDataPointCreate model module.
|
|
15
15
|
* @module model/ConsumptionDataPointCreate
|
|
16
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.7
|
|
17
17
|
*/
|
|
18
18
|
var ConsumptionDataPointCreate = /*#__PURE__*/function () {
|
|
19
19
|
/**
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* The ConsumptionDataPointListOrDetail model module.
|
|
20
20
|
* @module model/ConsumptionDataPointListOrDetail
|
|
21
|
-
* @version 1.10.
|
|
21
|
+
* @version 1.10.7
|
|
22
22
|
*/
|
|
23
23
|
var ConsumptionDataPointListOrDetail = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
13
13
|
/**
|
|
14
14
|
* The ConsumptionDataPointUpdate model module.
|
|
15
15
|
* @module model/ConsumptionDataPointUpdate
|
|
16
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.7
|
|
17
17
|
*/
|
|
18
18
|
var ConsumptionDataPointUpdate = /*#__PURE__*/function () {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
13
13
|
/**
|
|
14
14
|
* The ConsumptionSite model module.
|
|
15
15
|
* @module model/ConsumptionSite
|
|
16
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.7
|
|
17
17
|
*/
|
|
18
18
|
var ConsumptionSite = /*#__PURE__*/function () {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
13
13
|
/**
|
|
14
14
|
* The ConsumptionSiteContract model module.
|
|
15
15
|
* @module model/ConsumptionSiteContract
|
|
16
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.7
|
|
17
17
|
*/
|
|
18
18
|
var ConsumptionSiteContract = /*#__PURE__*/function () {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* The ConsumptionSiteContractImport model module.
|
|
14
14
|
* @module model/ConsumptionSiteContractImport
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var ConsumptionSiteContractImport = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
13
13
|
/**
|
|
14
14
|
* The ConsumptionSiteCreate model module.
|
|
15
15
|
* @module model/ConsumptionSiteCreate
|
|
16
|
-
* @version 1.10.
|
|
16
|
+
* @version 1.10.7
|
|
17
17
|
*/
|
|
18
18
|
var ConsumptionSiteCreate = /*#__PURE__*/function () {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* The ConsumptionSiteFileUpload model module.
|
|
14
14
|
* @module model/ConsumptionSiteFileUpload
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var ConsumptionSiteFileUpload = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
|
@@ -15,7 +15,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
15
15
|
/**
|
|
16
16
|
* The ConsumptionSiteListOrDetail model module.
|
|
17
17
|
* @module model/ConsumptionSiteListOrDetail
|
|
18
|
-
* @version 1.10.
|
|
18
|
+
* @version 1.10.7
|
|
19
19
|
*/
|
|
20
20
|
var ConsumptionSiteListOrDetail = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* The EmissionFactor model module.
|
|
14
14
|
* @module model/EmissionFactor
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var EmissionFactor = /*#__PURE__*/function () {
|
|
18
18
|
/**
|
|
@@ -14,7 +14,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
14
14
|
/**
|
|
15
15
|
* The EnergySourcePreference model module.
|
|
16
16
|
* @module model/EnergySourcePreference
|
|
17
|
-
* @version 1.10.
|
|
17
|
+
* @version 1.10.7
|
|
18
18
|
*/
|
|
19
19
|
var EnergySourcePreference = /*#__PURE__*/function () {
|
|
20
20
|
/**
|
|
@@ -14,7 +14,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
14
14
|
/**
|
|
15
15
|
* The ImportRequest model module.
|
|
16
16
|
* @module model/ImportRequest
|
|
17
|
-
* @version 1.10.
|
|
17
|
+
* @version 1.10.7
|
|
18
18
|
*/
|
|
19
19
|
var ImportRequest = /*#__PURE__*/function () {
|
|
20
20
|
/**
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _ImportedEnergyDataPoint = _interopRequireDefault(require("./ImportedEnergyDataPoint"));
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
/**
|
|
14
|
+
* The ImportRequestRaw model module.
|
|
15
|
+
* @module model/ImportRequestRaw
|
|
16
|
+
* @version 1.10.7
|
|
17
|
+
*/
|
|
18
|
+
var ImportRequestRaw = /*#__PURE__*/function () {
|
|
19
|
+
/**
|
|
20
|
+
* Constructs a new <code>ImportRequestRaw</code>.
|
|
21
|
+
* @alias module:model/ImportRequestRaw
|
|
22
|
+
* @param datapoint {module:model/ImportedEnergyDataPoint}
|
|
23
|
+
*/
|
|
24
|
+
function ImportRequestRaw(datapoint) {
|
|
25
|
+
_classCallCheck(this, ImportRequestRaw);
|
|
26
|
+
ImportRequestRaw.initialize(this, datapoint);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Initializes the fields of this object.
|
|
31
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
32
|
+
* Only for internal use.
|
|
33
|
+
*/
|
|
34
|
+
_createClass(ImportRequestRaw, null, [{
|
|
35
|
+
key: "initialize",
|
|
36
|
+
value: function initialize(obj, datapoint) {
|
|
37
|
+
obj['datapoint'] = datapoint;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Constructs a <code>ImportRequestRaw</code> from a plain JavaScript object, optionally creating a new instance.
|
|
42
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
43
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
44
|
+
* @param {module:model/ImportRequestRaw} obj Optional instance to populate.
|
|
45
|
+
* @return {module:model/ImportRequestRaw} The populated <code>ImportRequestRaw</code> instance.
|
|
46
|
+
*/
|
|
47
|
+
}, {
|
|
48
|
+
key: "constructFromObject",
|
|
49
|
+
value: function constructFromObject(data, obj) {
|
|
50
|
+
if (data) {
|
|
51
|
+
obj = obj || new ImportRequestRaw();
|
|
52
|
+
if (data.hasOwnProperty('id')) {
|
|
53
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
54
|
+
}
|
|
55
|
+
if (data.hasOwnProperty('datapoint')) {
|
|
56
|
+
obj['datapoint'] = _ImportedEnergyDataPoint["default"].constructFromObject(data['datapoint']);
|
|
57
|
+
}
|
|
58
|
+
if (data.hasOwnProperty('response')) {
|
|
59
|
+
obj['response'] = _ApiClient["default"].convertToType(data['response'], 'String');
|
|
60
|
+
}
|
|
61
|
+
if (data.hasOwnProperty('request')) {
|
|
62
|
+
obj['request'] = _ApiClient["default"].convertToType(data['request'], 'String');
|
|
63
|
+
}
|
|
64
|
+
if (data.hasOwnProperty('created_at')) {
|
|
65
|
+
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
|
66
|
+
}
|
|
67
|
+
if (data.hasOwnProperty('updated_at')) {
|
|
68
|
+
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
}
|
|
73
|
+
}]);
|
|
74
|
+
return ImportRequestRaw;
|
|
75
|
+
}();
|
|
76
|
+
/**
|
|
77
|
+
* @member {String} id
|
|
78
|
+
*/
|
|
79
|
+
ImportRequestRaw.prototype['id'] = undefined;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @member {module:model/ImportedEnergyDataPoint} datapoint
|
|
83
|
+
*/
|
|
84
|
+
ImportRequestRaw.prototype['datapoint'] = undefined;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @member {String} response
|
|
88
|
+
*/
|
|
89
|
+
ImportRequestRaw.prototype['response'] = undefined;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @member {String} request
|
|
93
|
+
*/
|
|
94
|
+
ImportRequestRaw.prototype['request'] = undefined;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @member {Date} created_at
|
|
98
|
+
*/
|
|
99
|
+
ImportRequestRaw.prototype['created_at'] = undefined;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @member {Date} updated_at
|
|
103
|
+
*/
|
|
104
|
+
ImportRequestRaw.prototype['updated_at'] = undefined;
|
|
105
|
+
var _default = ImportRequestRaw;
|
|
106
|
+
exports["default"] = _default;
|
|
@@ -12,7 +12,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
/**
|
|
13
13
|
* The ImportedEnergyDataPoint model module.
|
|
14
14
|
* @module model/ImportedEnergyDataPoint
|
|
15
|
-
* @version 1.10.
|
|
15
|
+
* @version 1.10.7
|
|
16
16
|
*/
|
|
17
17
|
var ImportedEnergyDataPoint = /*#__PURE__*/function () {
|
|
18
18
|
/**
|