green_link_api 1.15.2 → 1.16.0
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 +22 -31
- package/dist/ApiClient.js +4 -8
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +22 -22
- package/dist/api/EnergyDataApi.js +82 -164
- package/dist/api/HealthCheckApi.js +3 -3
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +3 -3
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +129 -60
- package/dist/api/MaintenanceCheckApi.js +3 -3
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +32 -32
- package/dist/api/SchemaApi.js +3 -3
- package/dist/api/SentryDebugApi.js +3 -3
- package/dist/api/UsersApi.js +10 -10
- package/dist/index.js +73 -73
- package/dist/model/Activities.js +79 -26
- package/dist/model/ActivitiesStatusEnum.js +60 -0
- package/dist/model/{BlockchainTransaction.js → BlockchainTransactionTask.js} +31 -33
- package/dist/model/Consumer.js +2 -2
- package/dist/model/ConsumptionDataFileList.js +2 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
- package/dist/model/ConsumptionDataPointCreate.js +2 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +6 -6
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/{ImportRequest.js → ConsumptionDataTask.js} +33 -33
- package/dist/model/ConsumptionSite.js +2 -2
- package/dist/model/ConsumptionSiteContract.js +2 -2
- package/dist/model/ConsumptionSiteContractImport.js +2 -2
- package/dist/model/ConsumptionSiteCreate.js +2 -2
- package/dist/model/ConsumptionSiteFileUpload.js +2 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
- package/dist/model/ContentTypeEnum.js +1 -1
- package/dist/model/EacTypeEnum.js +1 -1
- package/dist/model/EmissionFactor.js +2 -2
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/{Status619Enum.js → EventEnum.js} +21 -16
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/{ImportedEnergyDataPoint.js → ImportedConsumptionDataPoint.js} +26 -26
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/{MatchedEnergyDataPoint.js → MatchedDataPoint.js} +33 -33
- package/dist/model/{MatchRequest.js → MatchedDataTask.js} +42 -42
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/NullEnum.js +55 -0
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +2 -2
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
- package/dist/model/{PaginatedUploadedFileList.js → PaginatedConsumptionDataTaskList.js} +24 -24
- package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedEmissionFactorList.js +2 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
- package/dist/model/PaginatedGridOperatorList.js +2 -2
- package/dist/model/PaginatedImportedConsumptionDataPointList.js +101 -0
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/{PaginatedImportRequestRawList.js → PaginatedMatchedDataPointList.js} +24 -24
- package/dist/model/{PaginatedImportRequestList.js → PaginatedMatchedDataTaskList.js} +24 -24
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/{PaginatedImportedEnergyDataPointList.js → PaginatedProductionDataFromEpiasTaskList.js} +24 -24
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedRetailerList.js +2 -2
- package/dist/model/PaginatedSmartContractList.js +2 -2
- package/dist/model/PaginatedUnprocessedRowList.js +2 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
- package/dist/model/{PaginatedMatchRequestList.js → PaginatedUploadedFileTaskList.js} +24 -24
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +2 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
- package/dist/model/PatchedConsumptionSite.js +2 -2
- package/dist/model/PatchedEmissionFactor.js +2 -2
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +2 -2
- package/dist/model/PatchedProducer.js +2 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
- package/dist/model/PatchedProductionSiteUpdate.js +2 -2
- package/dist/model/PatchedRetailer.js +2 -2
- package/dist/model/PatchedSmartContract.js +2 -2
- package/dist/model/PatchedUser.js +2 -2
- package/dist/model/PatchedUserDetail.js +2 -2
- package/dist/model/PriorityEnum.js +1 -1
- package/dist/model/Producer.js +2 -2
- package/dist/model/ProductionDataFileList.js +2 -2
- package/dist/model/{ProductionDataFromEpiasRequest.js → ProductionDataFromEpiasTask.js} +30 -30
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +6 -6
- package/dist/model/ProductionDataPointUpdate.js +2 -2
- package/dist/model/ProductionSite.js +2 -2
- package/dist/model/ProductionSiteFileUpload.js +2 -2
- package/dist/model/ProductionSiteListOrDetail.js +2 -2
- package/dist/model/ProductionSiteUpdate.js +2 -2
- package/dist/model/Register.js +2 -2
- package/dist/model/Retailer.js +2 -2
- package/dist/model/SmartContract.js +2 -2
- package/dist/model/{ImportRequestStatusEnum.js → Status90bEnum.js} +15 -10
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UnprocessedRow.js +2 -2
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/{UploadedFile.js → UploadedFileTask.js} +29 -29
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
- package/dist/model/ImportRequestRaw.js +0 -120
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +0 -101
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +0 -101
|
@@ -10,22 +10,20 @@ var _ConsumptionDataFromRetailerRequest = _interopRequireDefault(require("../mod
|
|
|
10
10
|
var _ConsumptionDataPointCreate = _interopRequireDefault(require("../model/ConsumptionDataPointCreate"));
|
|
11
11
|
var _ConsumptionDataPointListOrDetail = _interopRequireDefault(require("../model/ConsumptionDataPointListOrDetail"));
|
|
12
12
|
var _ConsumptionDataPointUpdate = _interopRequireDefault(require("../model/ConsumptionDataPointUpdate"));
|
|
13
|
+
var _ConsumptionDataTask = _interopRequireDefault(require("../model/ConsumptionDataTask"));
|
|
13
14
|
var _EmissionFactor = _interopRequireDefault(require("../model/EmissionFactor"));
|
|
14
15
|
var _GetFromEpias = _interopRequireDefault(require("../model/GetFromEpias"));
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var _MatchRequest = _interopRequireDefault(require("../model/MatchRequest"));
|
|
19
|
-
var _MatchedEnergyDataPoint = _interopRequireDefault(require("../model/MatchedEnergyDataPoint"));
|
|
16
|
+
var _ImportedConsumptionDataPoint = _interopRequireDefault(require("../model/ImportedConsumptionDataPoint"));
|
|
17
|
+
var _MatchedDataPoint = _interopRequireDefault(require("../model/MatchedDataPoint"));
|
|
18
|
+
var _MatchedDataTask = _interopRequireDefault(require("../model/MatchedDataTask"));
|
|
20
19
|
var _MatchingConsumerRequest = _interopRequireDefault(require("../model/MatchingConsumerRequest"));
|
|
21
20
|
var _MatchingSiteRequest = _interopRequireDefault(require("../model/MatchingSiteRequest"));
|
|
22
21
|
var _PaginatedConsumptionDataPointListOrDetailList = _interopRequireDefault(require("../model/PaginatedConsumptionDataPointListOrDetailList"));
|
|
22
|
+
var _PaginatedConsumptionDataTaskList = _interopRequireDefault(require("../model/PaginatedConsumptionDataTaskList"));
|
|
23
23
|
var _PaginatedEmissionFactorList = _interopRequireDefault(require("../model/PaginatedEmissionFactorList"));
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var _PaginatedMatchRequestList = _interopRequireDefault(require("../model/PaginatedMatchRequestList"));
|
|
28
|
-
var _PaginatedMatchedEnergyDataPointList = _interopRequireDefault(require("../model/PaginatedMatchedEnergyDataPointList"));
|
|
24
|
+
var _PaginatedImportedConsumptionDataPointList = _interopRequireDefault(require("../model/PaginatedImportedConsumptionDataPointList"));
|
|
25
|
+
var _PaginatedMatchedDataPointList = _interopRequireDefault(require("../model/PaginatedMatchedDataPointList"));
|
|
26
|
+
var _PaginatedMatchedDataTaskList = _interopRequireDefault(require("../model/PaginatedMatchedDataTaskList"));
|
|
29
27
|
var _PaginatedProductionDataPointListOrDetailList = _interopRequireDefault(require("../model/PaginatedProductionDataPointListOrDetailList"));
|
|
30
28
|
var _PatchedConsumptionDataPointUpdate = _interopRequireDefault(require("../model/PatchedConsumptionDataPointUpdate"));
|
|
31
29
|
var _PatchedEmissionFactor = _interopRequireDefault(require("../model/PatchedEmissionFactor"));
|
|
@@ -44,7 +42,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
44
42
|
* GreenLink API
|
|
45
43
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
|
46
44
|
*
|
|
47
|
-
* The version of the OpenAPI document: 1.
|
|
45
|
+
* The version of the OpenAPI document: 1.16.0
|
|
48
46
|
*
|
|
49
47
|
*
|
|
50
48
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -55,7 +53,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
55
53
|
/**
|
|
56
54
|
* EnergyData service.
|
|
57
55
|
* @module api/EnergyDataApi
|
|
58
|
-
* @version 1.
|
|
56
|
+
* @version 1.16.0
|
|
59
57
|
*/
|
|
60
58
|
var EnergyDataApi = /*#__PURE__*/function () {
|
|
61
59
|
/**
|
|
@@ -96,7 +94,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
96
94
|
var queryParams = {};
|
|
97
95
|
var headerParams = {};
|
|
98
96
|
var formParams = {};
|
|
99
|
-
var authNames = [
|
|
97
|
+
var authNames = [];
|
|
100
98
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
101
99
|
var accepts = ['application/json'];
|
|
102
100
|
var returnType = _ConsumptionDataPointCreate["default"];
|
|
@@ -130,7 +128,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
130
128
|
var queryParams = {};
|
|
131
129
|
var headerParams = {};
|
|
132
130
|
var formParams = {};
|
|
133
|
-
var authNames = [
|
|
131
|
+
var authNames = [];
|
|
134
132
|
var contentTypes = [];
|
|
135
133
|
var accepts = [];
|
|
136
134
|
var returnType = null;
|
|
@@ -163,7 +161,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
163
161
|
var queryParams = {};
|
|
164
162
|
var headerParams = {};
|
|
165
163
|
var formParams = {};
|
|
166
|
-
var authNames = [
|
|
164
|
+
var authNames = [];
|
|
167
165
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
168
166
|
var accepts = ['application/json'];
|
|
169
167
|
var returnType = _ConsumptionDataPointCreate["default"];
|
|
@@ -244,7 +242,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
244
242
|
};
|
|
245
243
|
var headerParams = {};
|
|
246
244
|
var formParams = {};
|
|
247
|
-
var authNames = [
|
|
245
|
+
var authNames = [];
|
|
248
246
|
var contentTypes = [];
|
|
249
247
|
var accepts = ['application/json'];
|
|
250
248
|
var returnType = _PaginatedConsumptionDataPointListOrDetailList["default"];
|
|
@@ -282,7 +280,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
282
280
|
var queryParams = {};
|
|
283
281
|
var headerParams = {};
|
|
284
282
|
var formParams = {};
|
|
285
|
-
var authNames = [
|
|
283
|
+
var authNames = [];
|
|
286
284
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
287
285
|
var accepts = ['application/json'];
|
|
288
286
|
var returnType = _ConsumptionDataPointUpdate["default"];
|
|
@@ -317,7 +315,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
317
315
|
var queryParams = {};
|
|
318
316
|
var headerParams = {};
|
|
319
317
|
var formParams = {};
|
|
320
|
-
var authNames = [
|
|
318
|
+
var authNames = [];
|
|
321
319
|
var contentTypes = [];
|
|
322
320
|
var accepts = ['application/json'];
|
|
323
321
|
var returnType = _ConsumptionDataPointListOrDetail["default"];
|
|
@@ -355,7 +353,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
355
353
|
var queryParams = {};
|
|
356
354
|
var headerParams = {};
|
|
357
355
|
var formParams = {};
|
|
358
|
-
var authNames = [
|
|
356
|
+
var authNames = [];
|
|
359
357
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
360
358
|
var accepts = ['application/json'];
|
|
361
359
|
var returnType = _ConsumptionDataPointUpdate["default"];
|
|
@@ -388,7 +386,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
388
386
|
var queryParams = {};
|
|
389
387
|
var headerParams = {};
|
|
390
388
|
var formParams = {};
|
|
391
|
-
var authNames = [
|
|
389
|
+
var authNames = [];
|
|
392
390
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
393
391
|
var accepts = ['application/json'];
|
|
394
392
|
var returnType = _ConsumptionDataPointCreate["default"];
|
|
@@ -421,7 +419,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
421
419
|
var queryParams = {};
|
|
422
420
|
var headerParams = {};
|
|
423
421
|
var formParams = {};
|
|
424
|
-
var authNames = [
|
|
422
|
+
var authNames = [];
|
|
425
423
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
426
424
|
var accepts = ['application/json'];
|
|
427
425
|
var returnType = _EmissionFactor["default"];
|
|
@@ -455,7 +453,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
455
453
|
var queryParams = {};
|
|
456
454
|
var headerParams = {};
|
|
457
455
|
var formParams = {};
|
|
458
|
-
var authNames = [
|
|
456
|
+
var authNames = [];
|
|
459
457
|
var contentTypes = [];
|
|
460
458
|
var accepts = [];
|
|
461
459
|
var returnType = null;
|
|
@@ -506,7 +504,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
506
504
|
};
|
|
507
505
|
var headerParams = {};
|
|
508
506
|
var formParams = {};
|
|
509
|
-
var authNames = [
|
|
507
|
+
var authNames = [];
|
|
510
508
|
var contentTypes = [];
|
|
511
509
|
var accepts = ['application/json'];
|
|
512
510
|
var returnType = _PaginatedEmissionFactorList["default"];
|
|
@@ -544,7 +542,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
544
542
|
var queryParams = {};
|
|
545
543
|
var headerParams = {};
|
|
546
544
|
var formParams = {};
|
|
547
|
-
var authNames = [
|
|
545
|
+
var authNames = [];
|
|
548
546
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
549
547
|
var accepts = ['application/json'];
|
|
550
548
|
var returnType = _EmissionFactor["default"];
|
|
@@ -579,7 +577,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
579
577
|
var queryParams = {};
|
|
580
578
|
var headerParams = {};
|
|
581
579
|
var formParams = {};
|
|
582
|
-
var authNames = [
|
|
580
|
+
var authNames = [];
|
|
583
581
|
var contentTypes = [];
|
|
584
582
|
var accepts = ['application/json'];
|
|
585
583
|
var returnType = _EmissionFactor["default"];
|
|
@@ -619,7 +617,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
619
617
|
var queryParams = {};
|
|
620
618
|
var headerParams = {};
|
|
621
619
|
var formParams = {};
|
|
622
|
-
var authNames = [
|
|
620
|
+
var authNames = [];
|
|
623
621
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
624
622
|
var accepts = ['application/json'];
|
|
625
623
|
var returnType = _EmissionFactor["default"];
|
|
@@ -630,7 +628,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
630
628
|
* Callback function to receive the result of the energyDataImportRequestList operation.
|
|
631
629
|
* @callback module:api/EnergyDataApi~energyDataImportRequestListCallback
|
|
632
630
|
* @param {String} error Error message, if any.
|
|
633
|
-
* @param {module:model/
|
|
631
|
+
* @param {module:model/PaginatedConsumptionDataTaskList} data The data returned by the service call.
|
|
634
632
|
* @param {String} response The complete HTTP response.
|
|
635
633
|
*/
|
|
636
634
|
|
|
@@ -645,10 +643,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
645
643
|
* @param {Number} opts.offset The initial index from which to return the results.
|
|
646
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)
|
|
647
645
|
* @param {String} opts.retailer
|
|
648
|
-
* @param {module:model/String} opts.status * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished
|
|
646
|
+
* @param {module:model/String} opts.status * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
649
647
|
* @param {Date} opts.updatedAt
|
|
650
648
|
* @param {module:api/EnergyDataApi~energyDataImportRequestListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
651
|
-
* data is of type: {@link module:model/
|
|
649
|
+
* data is of type: {@link module:model/PaginatedConsumptionDataTaskList}
|
|
652
650
|
*/
|
|
653
651
|
}, {
|
|
654
652
|
key: "energyDataImportRequestList",
|
|
@@ -670,106 +668,26 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
670
668
|
};
|
|
671
669
|
var headerParams = {};
|
|
672
670
|
var formParams = {};
|
|
673
|
-
var authNames = [
|
|
671
|
+
var authNames = [];
|
|
674
672
|
var contentTypes = [];
|
|
675
673
|
var accepts = ['application/json'];
|
|
676
|
-
var returnType =
|
|
674
|
+
var returnType = _PaginatedConsumptionDataTaskList["default"];
|
|
677
675
|
return this.apiClient.callApi('/energy-data/import-request/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
678
676
|
}
|
|
679
677
|
|
|
680
|
-
/**
|
|
681
|
-
* Callback function to receive the result of the energyDataImportRequestRawList operation.
|
|
682
|
-
* @callback module:api/EnergyDataApi~energyDataImportRequestRawListCallback
|
|
683
|
-
* @param {String} error Error message, if any.
|
|
684
|
-
* @param {module:model/PaginatedImportRequestRawList} data The data returned by the service call.
|
|
685
|
-
* @param {String} response The complete HTTP response.
|
|
686
|
-
*/
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* 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``.
|
|
690
|
-
* @param {Object} opts Optional parameters
|
|
691
|
-
* @param {Date} opts.createdAt
|
|
692
|
-
* @param {String} opts.datapoint
|
|
693
|
-
* @param {String} opts.id
|
|
694
|
-
* @param {Number} opts.limit Number of results to return per page.
|
|
695
|
-
* @param {Number} opts.offset The initial index from which to return the results.
|
|
696
|
-
* @param {Array.<module:model/String>} opts.orderBy Ordering * `created_at` - Created at * `-created_at` - Created at (descending) * `datapoint` - Datapoint * `-datapoint` - Datapoint (descending)
|
|
697
|
-
* @param {Date} opts.updatedAt
|
|
698
|
-
* @param {module:api/EnergyDataApi~energyDataImportRequestRawListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
699
|
-
* data is of type: {@link module:model/PaginatedImportRequestRawList}
|
|
700
|
-
*/
|
|
701
|
-
}, {
|
|
702
|
-
key: "energyDataImportRequestRawList",
|
|
703
|
-
value: function energyDataImportRequestRawList(opts, callback) {
|
|
704
|
-
opts = opts || {};
|
|
705
|
-
var postBody = null;
|
|
706
|
-
var pathParams = {};
|
|
707
|
-
var queryParams = {
|
|
708
|
-
'created_at': opts['createdAt'],
|
|
709
|
-
'datapoint': opts['datapoint'],
|
|
710
|
-
'id': opts['id'],
|
|
711
|
-
'limit': opts['limit'],
|
|
712
|
-
'offset': opts['offset'],
|
|
713
|
-
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
714
|
-
'updated_at': opts['updatedAt']
|
|
715
|
-
};
|
|
716
|
-
var headerParams = {};
|
|
717
|
-
var formParams = {};
|
|
718
|
-
var authNames = ['FirebaseAuthentication'];
|
|
719
|
-
var contentTypes = [];
|
|
720
|
-
var accepts = ['application/json'];
|
|
721
|
-
var returnType = _PaginatedImportRequestRawList["default"];
|
|
722
|
-
return this.apiClient.callApi('/energy-data/import-request-raw/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* Callback function to receive the result of the energyDataImportRequestRawRetrieve operation.
|
|
727
|
-
* @callback module:api/EnergyDataApi~energyDataImportRequestRawRetrieveCallback
|
|
728
|
-
* @param {String} error Error message, if any.
|
|
729
|
-
* @param {module:model/ImportRequestRaw} data The data returned by the service call.
|
|
730
|
-
* @param {String} response The complete HTTP response.
|
|
731
|
-
*/
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* 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``.
|
|
735
|
-
* @param {String} id A UUID string identifying this import request raw.
|
|
736
|
-
* @param {module:api/EnergyDataApi~energyDataImportRequestRawRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
737
|
-
* data is of type: {@link module:model/ImportRequestRaw}
|
|
738
|
-
*/
|
|
739
|
-
}, {
|
|
740
|
-
key: "energyDataImportRequestRawRetrieve",
|
|
741
|
-
value: function energyDataImportRequestRawRetrieve(id, callback) {
|
|
742
|
-
var postBody = null;
|
|
743
|
-
// verify the required parameter 'id' is set
|
|
744
|
-
if (id === undefined || id === null) {
|
|
745
|
-
throw new Error("Missing the required parameter 'id' when calling energyDataImportRequestRawRetrieve");
|
|
746
|
-
}
|
|
747
|
-
var pathParams = {
|
|
748
|
-
'id': id
|
|
749
|
-
};
|
|
750
|
-
var queryParams = {};
|
|
751
|
-
var headerParams = {};
|
|
752
|
-
var formParams = {};
|
|
753
|
-
var authNames = ['FirebaseAuthentication'];
|
|
754
|
-
var contentTypes = [];
|
|
755
|
-
var accepts = ['application/json'];
|
|
756
|
-
var returnType = _ImportRequestRaw["default"];
|
|
757
|
-
return this.apiClient.callApi('/energy-data/import-request-raw/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
758
|
-
}
|
|
759
|
-
|
|
760
678
|
/**
|
|
761
679
|
* Callback function to receive the result of the energyDataImportRequestRetrieve operation.
|
|
762
680
|
* @callback module:api/EnergyDataApi~energyDataImportRequestRetrieveCallback
|
|
763
681
|
* @param {String} error Error message, if any.
|
|
764
|
-
* @param {module:model/
|
|
682
|
+
* @param {module:model/ConsumptionDataTask} data The data returned by the service call.
|
|
765
683
|
* @param {String} response The complete HTTP response.
|
|
766
684
|
*/
|
|
767
685
|
|
|
768
686
|
/**
|
|
769
687
|
* 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``.
|
|
770
|
-
* @param {String} id A UUID string identifying this
|
|
688
|
+
* @param {String} id A UUID string identifying this consumption data task.
|
|
771
689
|
* @param {module:api/EnergyDataApi~energyDataImportRequestRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
772
|
-
* data is of type: {@link module:model/
|
|
690
|
+
* data is of type: {@link module:model/ConsumptionDataTask}
|
|
773
691
|
*/
|
|
774
692
|
}, {
|
|
775
693
|
key: "energyDataImportRequestRetrieve",
|
|
@@ -785,10 +703,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
785
703
|
var queryParams = {};
|
|
786
704
|
var headerParams = {};
|
|
787
705
|
var formParams = {};
|
|
788
|
-
var authNames = [
|
|
706
|
+
var authNames = [];
|
|
789
707
|
var contentTypes = [];
|
|
790
708
|
var accepts = ['application/json'];
|
|
791
|
-
var returnType =
|
|
709
|
+
var returnType = _ConsumptionDataTask["default"];
|
|
792
710
|
return this.apiClient.callApi('/energy-data/import-request/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
793
711
|
}
|
|
794
712
|
|
|
@@ -796,7 +714,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
796
714
|
* Callback function to receive the result of the energyDataImportedEnergyDataList operation.
|
|
797
715
|
* @callback module:api/EnergyDataApi~energyDataImportedEnergyDataListCallback
|
|
798
716
|
* @param {String} error Error message, if any.
|
|
799
|
-
* @param {module:model/
|
|
717
|
+
* @param {module:model/PaginatedImportedConsumptionDataPointList} data The data returned by the service call.
|
|
800
718
|
* @param {String} response The complete HTTP response.
|
|
801
719
|
*/
|
|
802
720
|
|
|
@@ -814,7 +732,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
814
732
|
* @param {Array.<module:model/String>} opts.orderBy Ordering * `completed` - Completed * `-completed` - Completed (descending) * `consumption_site` - Consumption site * `-consumption_site` - Consumption site (descending) * `consumption_start` - Consumption start * `-consumption_start` - Consumption start (descending) * `consumption_amount` - Consumption amount * `-consumption_amount` - Consumption amount (descending) * `consumption_request` - Consumption request * `-consumption_request` - Consumption request (descending)
|
|
815
733
|
* @param {Date} opts.updatedAt
|
|
816
734
|
* @param {module:api/EnergyDataApi~energyDataImportedEnergyDataListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
817
|
-
* data is of type: {@link module:model/
|
|
735
|
+
* data is of type: {@link module:model/PaginatedImportedConsumptionDataPointList}
|
|
818
736
|
*/
|
|
819
737
|
}, {
|
|
820
738
|
key: "energyDataImportedEnergyDataList",
|
|
@@ -836,10 +754,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
836
754
|
};
|
|
837
755
|
var headerParams = {};
|
|
838
756
|
var formParams = {};
|
|
839
|
-
var authNames = [
|
|
757
|
+
var authNames = [];
|
|
840
758
|
var contentTypes = [];
|
|
841
759
|
var accepts = ['application/json'];
|
|
842
|
-
var returnType =
|
|
760
|
+
var returnType = _PaginatedImportedConsumptionDataPointList["default"];
|
|
843
761
|
return this.apiClient.callApi('/energy-data/imported-energy-data/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
844
762
|
}
|
|
845
763
|
|
|
@@ -847,15 +765,15 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
847
765
|
* Callback function to receive the result of the energyDataImportedEnergyDataRetrieve operation.
|
|
848
766
|
* @callback module:api/EnergyDataApi~energyDataImportedEnergyDataRetrieveCallback
|
|
849
767
|
* @param {String} error Error message, if any.
|
|
850
|
-
* @param {module:model/
|
|
768
|
+
* @param {module:model/ImportedConsumptionDataPoint} data The data returned by the service call.
|
|
851
769
|
* @param {String} response The complete HTTP response.
|
|
852
770
|
*/
|
|
853
771
|
|
|
854
772
|
/**
|
|
855
773
|
* 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``.
|
|
856
|
-
* @param {String} id A UUID string identifying this imported
|
|
774
|
+
* @param {String} id A UUID string identifying this imported consumption data point.
|
|
857
775
|
* @param {module:api/EnergyDataApi~energyDataImportedEnergyDataRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
858
|
-
* data is of type: {@link module:model/
|
|
776
|
+
* data is of type: {@link module:model/ImportedConsumptionDataPoint}
|
|
859
777
|
*/
|
|
860
778
|
}, {
|
|
861
779
|
key: "energyDataImportedEnergyDataRetrieve",
|
|
@@ -871,10 +789,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
871
789
|
var queryParams = {};
|
|
872
790
|
var headerParams = {};
|
|
873
791
|
var formParams = {};
|
|
874
|
-
var authNames = [
|
|
792
|
+
var authNames = [];
|
|
875
793
|
var contentTypes = [];
|
|
876
794
|
var accepts = ['application/json'];
|
|
877
|
-
var returnType =
|
|
795
|
+
var returnType = _ImportedConsumptionDataPoint["default"];
|
|
878
796
|
return this.apiClient.callApi('/energy-data/imported-energy-data/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
879
797
|
}
|
|
880
798
|
|
|
@@ -882,7 +800,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
882
800
|
* Callback function to receive the result of the energyDataMatchRequestList operation.
|
|
883
801
|
* @callback module:api/EnergyDataApi~energyDataMatchRequestListCallback
|
|
884
802
|
* @param {String} error Error message, if any.
|
|
885
|
-
* @param {module:model/
|
|
803
|
+
* @param {module:model/PaginatedMatchedDataTaskList} data The data returned by the service call.
|
|
886
804
|
* @param {String} response The complete HTTP response.
|
|
887
805
|
*/
|
|
888
806
|
|
|
@@ -906,14 +824,14 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
906
824
|
* @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
|
|
907
825
|
* @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
|
|
908
826
|
* @param {Date} opts.startTime
|
|
909
|
-
* @param {module:model/String} opts.status Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `
|
|
827
|
+
* @param {module:model/String} opts.status Status is set to `started` or `finished` if at least one or all consumption datapoints have been matched. Default `unstarted`. * `pending` - pending * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
|
|
910
828
|
* @param {Number} opts.targetPercentageMatched
|
|
911
829
|
* @param {Number} opts.totalNumberOfAttemptedMatches
|
|
912
830
|
* @param {Number} opts.totalNumberOfConsumptionDatapoints
|
|
913
831
|
* @param {Number} opts.totalNumberOfFullyMatchedConsumptionDatapoints
|
|
914
832
|
* @param {Date} opts.updatedAt
|
|
915
833
|
* @param {module:api/EnergyDataApi~energyDataMatchRequestListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
916
|
-
* data is of type: {@link module:model/
|
|
834
|
+
* data is of type: {@link module:model/PaginatedMatchedDataTaskList}
|
|
917
835
|
*/
|
|
918
836
|
}, {
|
|
919
837
|
key: "energyDataMatchRequestList",
|
|
@@ -948,10 +866,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
948
866
|
};
|
|
949
867
|
var headerParams = {};
|
|
950
868
|
var formParams = {};
|
|
951
|
-
var authNames = [
|
|
869
|
+
var authNames = [];
|
|
952
870
|
var contentTypes = [];
|
|
953
871
|
var accepts = ['application/json'];
|
|
954
|
-
var returnType =
|
|
872
|
+
var returnType = _PaginatedMatchedDataTaskList["default"];
|
|
955
873
|
return this.apiClient.callApi('/energy-data/match-request/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
956
874
|
}
|
|
957
875
|
|
|
@@ -959,15 +877,15 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
959
877
|
* Callback function to receive the result of the energyDataMatchRequestRetrieve operation.
|
|
960
878
|
* @callback module:api/EnergyDataApi~energyDataMatchRequestRetrieveCallback
|
|
961
879
|
* @param {String} error Error message, if any.
|
|
962
|
-
* @param {module:model/
|
|
880
|
+
* @param {module:model/MatchedDataTask} data The data returned by the service call.
|
|
963
881
|
* @param {String} response The complete HTTP response.
|
|
964
882
|
*/
|
|
965
883
|
|
|
966
884
|
/**
|
|
967
885
|
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: Lists all match requests. - `retrieve(self, request, *args, **kwargs)`: Retrieves a specific match request.
|
|
968
|
-
* @param {String} id A UUID string identifying this
|
|
886
|
+
* @param {String} id A UUID string identifying this matched data task.
|
|
969
887
|
* @param {module:api/EnergyDataApi~energyDataMatchRequestRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
970
|
-
* data is of type: {@link module:model/
|
|
888
|
+
* data is of type: {@link module:model/MatchedDataTask}
|
|
971
889
|
*/
|
|
972
890
|
}, {
|
|
973
891
|
key: "energyDataMatchRequestRetrieve",
|
|
@@ -983,10 +901,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
983
901
|
var queryParams = {};
|
|
984
902
|
var headerParams = {};
|
|
985
903
|
var formParams = {};
|
|
986
|
-
var authNames = [
|
|
904
|
+
var authNames = [];
|
|
987
905
|
var contentTypes = [];
|
|
988
906
|
var accepts = ['application/json'];
|
|
989
|
-
var returnType =
|
|
907
|
+
var returnType = _MatchedDataTask["default"];
|
|
990
908
|
return this.apiClient.callApi('/energy-data/match-request/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
991
909
|
}
|
|
992
910
|
|
|
@@ -994,32 +912,32 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
994
912
|
* Callback function to receive the result of the energyDataMatchedEnergyDataCreate operation.
|
|
995
913
|
* @callback module:api/EnergyDataApi~energyDataMatchedEnergyDataCreateCallback
|
|
996
914
|
* @param {String} error Error message, if any.
|
|
997
|
-
* @param {module:model/
|
|
915
|
+
* @param {module:model/MatchedDataPoint} data The data returned by the service call.
|
|
998
916
|
* @param {String} response The complete HTTP response.
|
|
999
917
|
*/
|
|
1000
918
|
|
|
1001
919
|
/**
|
|
1002
920
|
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all matched energy data points related to the user's organization. - `retrieve(self, request, *args, **kwargs)`: Get a specific matched energy data point details.
|
|
1003
|
-
* @param {module:model/
|
|
921
|
+
* @param {module:model/MatchedDataPoint} matchedDataPoint
|
|
1004
922
|
* @param {module:api/EnergyDataApi~energyDataMatchedEnergyDataCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1005
|
-
* data is of type: {@link module:model/
|
|
923
|
+
* data is of type: {@link module:model/MatchedDataPoint}
|
|
1006
924
|
*/
|
|
1007
925
|
}, {
|
|
1008
926
|
key: "energyDataMatchedEnergyDataCreate",
|
|
1009
|
-
value: function energyDataMatchedEnergyDataCreate(
|
|
1010
|
-
var postBody =
|
|
1011
|
-
// verify the required parameter '
|
|
1012
|
-
if (
|
|
1013
|
-
throw new Error("Missing the required parameter '
|
|
927
|
+
value: function energyDataMatchedEnergyDataCreate(matchedDataPoint, callback) {
|
|
928
|
+
var postBody = matchedDataPoint;
|
|
929
|
+
// verify the required parameter 'matchedDataPoint' is set
|
|
930
|
+
if (matchedDataPoint === undefined || matchedDataPoint === null) {
|
|
931
|
+
throw new Error("Missing the required parameter 'matchedDataPoint' when calling energyDataMatchedEnergyDataCreate");
|
|
1014
932
|
}
|
|
1015
933
|
var pathParams = {};
|
|
1016
934
|
var queryParams = {};
|
|
1017
935
|
var headerParams = {};
|
|
1018
936
|
var formParams = {};
|
|
1019
|
-
var authNames = [
|
|
937
|
+
var authNames = [];
|
|
1020
938
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1021
939
|
var accepts = ['application/json'];
|
|
1022
|
-
var returnType =
|
|
940
|
+
var returnType = _MatchedDataPoint["default"];
|
|
1023
941
|
return this.apiClient.callApi('/energy-data/matched-energy-data/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1024
942
|
}
|
|
1025
943
|
|
|
@@ -1027,7 +945,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1027
945
|
* Callback function to receive the result of the energyDataMatchedEnergyDataList operation.
|
|
1028
946
|
* @callback module:api/EnergyDataApi~energyDataMatchedEnergyDataListCallback
|
|
1029
947
|
* @param {String} error Error message, if any.
|
|
1030
|
-
* @param {module:model/
|
|
948
|
+
* @param {module:model/PaginatedMatchedDataPointList} data The data returned by the service call.
|
|
1031
949
|
* @param {String} response The complete HTTP response.
|
|
1032
950
|
*/
|
|
1033
951
|
|
|
@@ -1052,7 +970,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1052
970
|
* @param {String} opts.tx
|
|
1053
971
|
* @param {Date} opts.updatedAt
|
|
1054
972
|
* @param {module:api/EnergyDataApi~energyDataMatchedEnergyDataListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1055
|
-
* data is of type: {@link module:model/
|
|
973
|
+
* data is of type: {@link module:model/PaginatedMatchedDataPointList}
|
|
1056
974
|
*/
|
|
1057
975
|
}, {
|
|
1058
976
|
key: "energyDataMatchedEnergyDataList",
|
|
@@ -1081,10 +999,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1081
999
|
};
|
|
1082
1000
|
var headerParams = {};
|
|
1083
1001
|
var formParams = {};
|
|
1084
|
-
var authNames = [
|
|
1002
|
+
var authNames = [];
|
|
1085
1003
|
var contentTypes = [];
|
|
1086
1004
|
var accepts = ['application/json'];
|
|
1087
|
-
var returnType =
|
|
1005
|
+
var returnType = _PaginatedMatchedDataPointList["default"];
|
|
1088
1006
|
return this.apiClient.callApi('/energy-data/matched-energy-data/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1089
1007
|
}
|
|
1090
1008
|
|
|
@@ -1113,7 +1031,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1113
1031
|
var queryParams = {};
|
|
1114
1032
|
var headerParams = {};
|
|
1115
1033
|
var formParams = {};
|
|
1116
|
-
var authNames = [
|
|
1034
|
+
var authNames = [];
|
|
1117
1035
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1118
1036
|
var accepts = [];
|
|
1119
1037
|
var returnType = null;
|
|
@@ -1145,7 +1063,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1145
1063
|
var queryParams = {};
|
|
1146
1064
|
var headerParams = {};
|
|
1147
1065
|
var formParams = {};
|
|
1148
|
-
var authNames = [
|
|
1066
|
+
var authNames = [];
|
|
1149
1067
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1150
1068
|
var accepts = [];
|
|
1151
1069
|
var returnType = null;
|
|
@@ -1156,15 +1074,15 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1156
1074
|
* Callback function to receive the result of the energyDataMatchedEnergyDataRetrieve operation.
|
|
1157
1075
|
* @callback module:api/EnergyDataApi~energyDataMatchedEnergyDataRetrieveCallback
|
|
1158
1076
|
* @param {String} error Error message, if any.
|
|
1159
|
-
* @param {module:model/
|
|
1077
|
+
* @param {module:model/MatchedDataPoint} data The data returned by the service call.
|
|
1160
1078
|
* @param {String} response The complete HTTP response.
|
|
1161
1079
|
*/
|
|
1162
1080
|
|
|
1163
1081
|
/**
|
|
1164
1082
|
* Manages match requests for an active, authenticated user's organization. All methods require an active, authenticated Staff or Admin user. - `list(self, request)`: List all matched energy data points related to the user's organization. - `retrieve(self, request, *args, **kwargs)`: Get a specific matched energy data point details.
|
|
1165
|
-
* @param {String} id A UUID string identifying this matched
|
|
1083
|
+
* @param {String} id A UUID string identifying this matched data point.
|
|
1166
1084
|
* @param {module:api/EnergyDataApi~energyDataMatchedEnergyDataRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1167
|
-
* data is of type: {@link module:model/
|
|
1085
|
+
* data is of type: {@link module:model/MatchedDataPoint}
|
|
1168
1086
|
*/
|
|
1169
1087
|
}, {
|
|
1170
1088
|
key: "energyDataMatchedEnergyDataRetrieve",
|
|
@@ -1180,10 +1098,10 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1180
1098
|
var queryParams = {};
|
|
1181
1099
|
var headerParams = {};
|
|
1182
1100
|
var formParams = {};
|
|
1183
|
-
var authNames = [
|
|
1101
|
+
var authNames = [];
|
|
1184
1102
|
var contentTypes = [];
|
|
1185
1103
|
var accepts = ['application/json'];
|
|
1186
|
-
var returnType =
|
|
1104
|
+
var returnType = _MatchedDataPoint["default"];
|
|
1187
1105
|
return this.apiClient.callApi('/energy-data/matched-energy-data/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1188
1106
|
}
|
|
1189
1107
|
|
|
@@ -1213,7 +1131,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1213
1131
|
var queryParams = {};
|
|
1214
1132
|
var headerParams = {};
|
|
1215
1133
|
var formParams = {};
|
|
1216
|
-
var authNames = [
|
|
1134
|
+
var authNames = [];
|
|
1217
1135
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1218
1136
|
var accepts = ['application/json'];
|
|
1219
1137
|
var returnType = _ProductionDataPointCreate["default"];
|
|
@@ -1247,7 +1165,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1247
1165
|
var queryParams = {};
|
|
1248
1166
|
var headerParams = {};
|
|
1249
1167
|
var formParams = {};
|
|
1250
|
-
var authNames = [
|
|
1168
|
+
var authNames = [];
|
|
1251
1169
|
var contentTypes = [];
|
|
1252
1170
|
var accepts = [];
|
|
1253
1171
|
var returnType = null;
|
|
@@ -1280,7 +1198,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1280
1198
|
var queryParams = {};
|
|
1281
1199
|
var headerParams = {};
|
|
1282
1200
|
var formParams = {};
|
|
1283
|
-
var authNames = [
|
|
1201
|
+
var authNames = [];
|
|
1284
1202
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1285
1203
|
var accepts = ['application/json'];
|
|
1286
1204
|
var returnType = _ProductionDataPointCreate["default"];
|
|
@@ -1351,7 +1269,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1351
1269
|
};
|
|
1352
1270
|
var headerParams = {};
|
|
1353
1271
|
var formParams = {};
|
|
1354
|
-
var authNames = [
|
|
1272
|
+
var authNames = [];
|
|
1355
1273
|
var contentTypes = [];
|
|
1356
1274
|
var accepts = ['application/json'];
|
|
1357
1275
|
var returnType = _PaginatedProductionDataPointListOrDetailList["default"];
|
|
@@ -1389,7 +1307,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1389
1307
|
var queryParams = {};
|
|
1390
1308
|
var headerParams = {};
|
|
1391
1309
|
var formParams = {};
|
|
1392
|
-
var authNames = [
|
|
1310
|
+
var authNames = [];
|
|
1393
1311
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1394
1312
|
var accepts = ['application/json'];
|
|
1395
1313
|
var returnType = _ProductionDataPointUpdate["default"];
|
|
@@ -1424,7 +1342,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1424
1342
|
var queryParams = {};
|
|
1425
1343
|
var headerParams = {};
|
|
1426
1344
|
var formParams = {};
|
|
1427
|
-
var authNames = [
|
|
1345
|
+
var authNames = [];
|
|
1428
1346
|
var contentTypes = [];
|
|
1429
1347
|
var accepts = ['application/json'];
|
|
1430
1348
|
var returnType = _ProductionDataPointListOrDetail["default"];
|
|
@@ -1462,7 +1380,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1462
1380
|
var queryParams = {};
|
|
1463
1381
|
var headerParams = {};
|
|
1464
1382
|
var formParams = {};
|
|
1465
|
-
var authNames = [
|
|
1383
|
+
var authNames = [];
|
|
1466
1384
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1467
1385
|
var accepts = ['application/json'];
|
|
1468
1386
|
var returnType = _ProductionDataPointUpdate["default"];
|
|
@@ -1495,7 +1413,7 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1495
1413
|
var queryParams = {};
|
|
1496
1414
|
var headerParams = {};
|
|
1497
1415
|
var formParams = {};
|
|
1498
|
-
var authNames = [
|
|
1416
|
+
var authNames = [];
|
|
1499
1417
|
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1500
1418
|
var accepts = ['application/json'];
|
|
1501
1419
|
var returnType = _ProductionDataPointCreate["default"];
|