green_link_api 0.49.4 → 0.49.5
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 +10 -4
- package/dist/ApiClient.js +2 -2
- package/dist/api/EnergyAssetsApi.js +44 -8
- package/dist/api/EnergyDataApi.js +79 -7
- package/dist/api/HealthCheckApi.js +1 -1
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +1 -1
- package/dist/api/LocationsApi.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 +35 -11
- package/dist/model/Consumer.js +1 -1
- package/dist/model/{FileList.js → ConsumptionDataFileList.js} +22 -22
- 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 +5 -5
- package/dist/model/{FileUpload.js → ConsumptionSiteFileUpload.js} +22 -22
- 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 +98 -0
- package/dist/model/GridOperator.js +1 -1
- package/dist/model/Issuer.js +1 -1
- package/dist/model/JWT.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/PaginatedConsumerList.js +1 -1
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.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/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/PaginatedProductionDataPointListOrDetailList.js +1 -1
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
- package/dist/model/PaginatedRetailerList.js +1 -1
- package/dist/model/PaginatedUserList.js +1 -1
- package/dist/model/PasswordChange.js +1 -1
- package/dist/model/PasswordReset.js +1 -1
- package/dist/model/PasswordResetConfirm.js +1 -1
- package/dist/model/PatchedConsumer.js +1 -1
- package/dist/model/PatchedConsumptionDataPointUpdate.js +1 -1
- package/dist/model/PatchedConsumptionSite.js +5 -5
- 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 +5 -6
- package/dist/model/PatchedRetailer.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 +132 -0
- 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 +8 -11
- package/dist/model/ProductionSiteFileUpload.js +177 -0
- package/dist/model/ProductionSiteListOrDetail.js +5 -7
- package/dist/model/ProductionSiteUpdate.js +8 -11
- package/dist/model/Register.js +1 -1
- package/dist/model/RestAuthDetail.js +1 -1
- package/dist/model/Retailer.js +1 -1
- package/dist/model/TokenRefresh.js +1 -1
- package/dist/model/TokenVerify.js +1 -1
- package/dist/model/User.js +1 -1
- package/dist/model/UserDetail.js +1 -1
- package/dist/model/VerifyEmail.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: 0.49.
|
|
8
|
-
- Package version: 0.49.
|
|
7
|
+
- API version: 0.49.5
|
|
8
|
+
- Package version: 0.49.5
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
@@ -151,6 +151,7 @@ Class | Method | HTTP request | Description
|
|
|
151
151
|
*GreenLinkApi.EnergyAssetsApi* | [**energyAssetsProductionSitesPartialUpdate**](docs/EnergyAssetsApi.md#energyAssetsProductionSitesPartialUpdate) | **PATCH** /energy-assets/production-sites/{id}/ |
|
|
152
152
|
*GreenLinkApi.EnergyAssetsApi* | [**energyAssetsProductionSitesRetrieve**](docs/EnergyAssetsApi.md#energyAssetsProductionSitesRetrieve) | **GET** /energy-assets/production-sites/{id}/ |
|
|
153
153
|
*GreenLinkApi.EnergyAssetsApi* | [**energyAssetsProductionSitesUpdate**](docs/EnergyAssetsApi.md#energyAssetsProductionSitesUpdate) | **PUT** /energy-assets/production-sites/{id}/ |
|
|
154
|
+
*GreenLinkApi.EnergyAssetsApi* | [**energyAssetsProductionSitesUploadProductionSitesCreate**](docs/EnergyAssetsApi.md#energyAssetsProductionSitesUploadProductionSitesCreate) | **POST** /energy-assets/production-sites/upload_production_sites/ |
|
|
154
155
|
*GreenLinkApi.EnergyDataApi* | [**energyDataConsumptionDataCreate**](docs/EnergyDataApi.md#energyDataConsumptionDataCreate) | **POST** /energy-data/consumption-data/ |
|
|
155
156
|
*GreenLinkApi.EnergyDataApi* | [**energyDataConsumptionDataDestroy**](docs/EnergyDataApi.md#energyDataConsumptionDataDestroy) | **DELETE** /energy-data/consumption-data/{id}/ |
|
|
156
157
|
*GreenLinkApi.EnergyDataApi* | [**energyDataConsumptionDataList**](docs/EnergyDataApi.md#energyDataConsumptionDataList) | **GET** /energy-data/consumption-data/ |
|
|
@@ -173,10 +174,12 @@ Class | Method | HTTP request | Description
|
|
|
173
174
|
*GreenLinkApi.EnergyDataApi* | [**energyDataMatchedEnergyDataRetrieve**](docs/EnergyDataApi.md#energyDataMatchedEnergyDataRetrieve) | **GET** /energy-data/matched-energy-data/{id}/ |
|
|
174
175
|
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataCreate**](docs/EnergyDataApi.md#energyDataProductionDataCreate) | **POST** /energy-data/production-data/ |
|
|
175
176
|
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataDestroy**](docs/EnergyDataApi.md#energyDataProductionDataDestroy) | **DELETE** /energy-data/production-data/{id}/ |
|
|
177
|
+
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataGetFromEpiasAndInsertCreate**](docs/EnergyDataApi.md#energyDataProductionDataGetFromEpiasAndInsertCreate) | **POST** /energy-data/production-data/get_from_epias_and_insert/ |
|
|
176
178
|
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataList**](docs/EnergyDataApi.md#energyDataProductionDataList) | **GET** /energy-data/production-data/ |
|
|
177
179
|
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataPartialUpdate**](docs/EnergyDataApi.md#energyDataProductionDataPartialUpdate) | **PATCH** /energy-data/production-data/{id}/ |
|
|
178
180
|
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataRetrieve**](docs/EnergyDataApi.md#energyDataProductionDataRetrieve) | **GET** /energy-data/production-data/{id}/ |
|
|
179
181
|
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataUpdate**](docs/EnergyDataApi.md#energyDataProductionDataUpdate) | **PUT** /energy-data/production-data/{id}/ |
|
|
182
|
+
*GreenLinkApi.EnergyDataApi* | [**energyDataProductionDataUploadProductionDataPointsCreate**](docs/EnergyDataApi.md#energyDataProductionDataUploadProductionDataPointsCreate) | **POST** /energy-data/production-data/upload_production_data_points/ |
|
|
180
183
|
*GreenLinkApi.HealthCheckApi* | [**healthCheckRetrieve**](docs/HealthCheckApi.md#healthCheckRetrieve) | **GET** /health-check/ |
|
|
181
184
|
*GreenLinkApi.LicensedProductionSitesOnEpiasApi* | [**licensedProductionSitesOnEpiasRetrieve**](docs/LicensedProductionSitesOnEpiasApi.md#licensedProductionSitesOnEpiasRetrieve) | **GET** /licensed-production-sites-on-epias/ |
|
|
182
185
|
*GreenLinkApi.LocationsApi* | [**locationsConsumptionSitesRetrieve**](docs/LocationsApi.md#locationsConsumptionSitesRetrieve) | **GET** /locations/consumption-sites/ |
|
|
@@ -247,16 +250,17 @@ Class | Method | HTTP request | Description
|
|
|
247
250
|
## Documentation for Models
|
|
248
251
|
|
|
249
252
|
- [GreenLinkApi.Consumer](docs/Consumer.md)
|
|
253
|
+
- [GreenLinkApi.ConsumptionDataFileList](docs/ConsumptionDataFileList.md)
|
|
250
254
|
- [GreenLinkApi.ConsumptionDataPointCreate](docs/ConsumptionDataPointCreate.md)
|
|
251
255
|
- [GreenLinkApi.ConsumptionDataPointListOrDetail](docs/ConsumptionDataPointListOrDetail.md)
|
|
252
256
|
- [GreenLinkApi.ConsumptionDataPointUpdate](docs/ConsumptionDataPointUpdate.md)
|
|
253
257
|
- [GreenLinkApi.ConsumptionSite](docs/ConsumptionSite.md)
|
|
258
|
+
- [GreenLinkApi.ConsumptionSiteFileUpload](docs/ConsumptionSiteFileUpload.md)
|
|
254
259
|
- [GreenLinkApi.ConsumptionSiteListOrDetail](docs/ConsumptionSiteListOrDetail.md)
|
|
255
260
|
- [GreenLinkApi.EmissionFactor](docs/EmissionFactor.md)
|
|
256
261
|
- [GreenLinkApi.EnergySourceEnum](docs/EnergySourceEnum.md)
|
|
257
262
|
- [GreenLinkApi.EnergySourcePreference](docs/EnergySourcePreference.md)
|
|
258
|
-
- [GreenLinkApi.
|
|
259
|
-
- [GreenLinkApi.FileUpload](docs/FileUpload.md)
|
|
263
|
+
- [GreenLinkApi.GetFromEpias](docs/GetFromEpias.md)
|
|
260
264
|
- [GreenLinkApi.GridOperator](docs/GridOperator.md)
|
|
261
265
|
- [GreenLinkApi.Issuer](docs/Issuer.md)
|
|
262
266
|
- [GreenLinkApi.JWT](docs/JWT.md)
|
|
@@ -302,10 +306,12 @@ Class | Method | HTTP request | Description
|
|
|
302
306
|
- [GreenLinkApi.PatchedUserDetail](docs/PatchedUserDetail.md)
|
|
303
307
|
- [GreenLinkApi.PriorityEnum](docs/PriorityEnum.md)
|
|
304
308
|
- [GreenLinkApi.Producer](docs/Producer.md)
|
|
309
|
+
- [GreenLinkApi.ProductionDataFileList](docs/ProductionDataFileList.md)
|
|
305
310
|
- [GreenLinkApi.ProductionDataPointCreate](docs/ProductionDataPointCreate.md)
|
|
306
311
|
- [GreenLinkApi.ProductionDataPointListOrDetail](docs/ProductionDataPointListOrDetail.md)
|
|
307
312
|
- [GreenLinkApi.ProductionDataPointUpdate](docs/ProductionDataPointUpdate.md)
|
|
308
313
|
- [GreenLinkApi.ProductionSite](docs/ProductionSite.md)
|
|
314
|
+
- [GreenLinkApi.ProductionSiteFileUpload](docs/ProductionSiteFileUpload.md)
|
|
309
315
|
- [GreenLinkApi.ProductionSiteListOrDetail](docs/ProductionSiteListOrDetail.md)
|
|
310
316
|
- [GreenLinkApi.ProductionSiteUpdate](docs/ProductionSiteUpdate.md)
|
|
311
317
|
- [GreenLinkApi.Register](docs/Register.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @module ApiClient
|
|
24
|
-
* @version 0.49.
|
|
24
|
+
* @version 0.49.5
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -79,7 +79,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
79
79
|
*/
|
|
80
80
|
|
|
81
81
|
this.defaultHeaders = {
|
|
82
|
-
'User-Agent': 'OpenAPI-Generator/0.49.
|
|
82
|
+
'User-Agent': 'OpenAPI-Generator/0.49.5/Javascript'
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* The default HTTP timeout for all API calls.
|
|
@@ -9,9 +9,9 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
9
9
|
|
|
10
10
|
var _ConsumptionSite = _interopRequireDefault(require("../model/ConsumptionSite"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _ConsumptionSiteFileUpload = _interopRequireDefault(require("../model/ConsumptionSiteFileUpload"));
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _ConsumptionSiteListOrDetail = _interopRequireDefault(require("../model/ConsumptionSiteListOrDetail"));
|
|
15
15
|
|
|
16
16
|
var _PaginatedConsumptionSiteListOrDetailList = _interopRequireDefault(require("../model/PaginatedConsumptionSiteListOrDetailList"));
|
|
17
17
|
|
|
@@ -23,6 +23,8 @@ var _PatchedProductionSiteUpdate = _interopRequireDefault(require("../model/Patc
|
|
|
23
23
|
|
|
24
24
|
var _ProductionSite = _interopRequireDefault(require("../model/ProductionSite"));
|
|
25
25
|
|
|
26
|
+
var _ProductionSiteFileUpload = _interopRequireDefault(require("../model/ProductionSiteFileUpload"));
|
|
27
|
+
|
|
26
28
|
var _ProductionSiteListOrDetail = _interopRequireDefault(require("../model/ProductionSiteListOrDetail"));
|
|
27
29
|
|
|
28
30
|
var _ProductionSiteUpdate = _interopRequireDefault(require("../model/ProductionSiteUpdate"));
|
|
@@ -38,7 +40,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
38
40
|
/**
|
|
39
41
|
* EnergyAssets service.
|
|
40
42
|
* @module api/EnergyAssetsApi
|
|
41
|
-
* @version 0.49.
|
|
43
|
+
* @version 0.49.5
|
|
42
44
|
*/
|
|
43
45
|
var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
44
46
|
/**
|
|
@@ -309,18 +311,18 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
309
311
|
|
|
310
312
|
/**
|
|
311
313
|
* **Add consumption sites by uploading an Excel file .** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization or retailer. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Retailer
|
|
312
|
-
* @param {module:model/
|
|
314
|
+
* @param {module:model/ConsumptionSiteFileUpload} consumptionSiteFileUpload
|
|
313
315
|
* @param {module:api/EnergyAssetsApi~energyAssetsConsumptionSitesUploadConsumptionSitesCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
314
316
|
* data is of type: {@link module:model/ConsumptionSite}
|
|
315
317
|
*/
|
|
316
318
|
|
|
317
319
|
}, {
|
|
318
320
|
key: "energyAssetsConsumptionSitesUploadConsumptionSitesCreate",
|
|
319
|
-
value: function energyAssetsConsumptionSitesUploadConsumptionSitesCreate(
|
|
320
|
-
var postBody =
|
|
321
|
+
value: function energyAssetsConsumptionSitesUploadConsumptionSitesCreate(consumptionSiteFileUpload, callback) {
|
|
322
|
+
var postBody = consumptionSiteFileUpload; // verify the required parameter 'consumptionSiteFileUpload' is set
|
|
321
323
|
|
|
322
|
-
if (
|
|
323
|
-
throw new Error("Missing the required parameter '
|
|
324
|
+
if (consumptionSiteFileUpload === undefined || consumptionSiteFileUpload === null) {
|
|
325
|
+
throw new Error("Missing the required parameter 'consumptionSiteFileUpload' when calling energyAssetsConsumptionSitesUploadConsumptionSitesCreate");
|
|
324
326
|
}
|
|
325
327
|
|
|
326
328
|
var pathParams = {};
|
|
@@ -588,6 +590,40 @@ var EnergyAssetsApi = /*#__PURE__*/function () {
|
|
|
588
590
|
var returnType = _ProductionSiteUpdate["default"];
|
|
589
591
|
return this.apiClient.callApi('/energy-assets/production-sites/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
590
592
|
}
|
|
593
|
+
/**
|
|
594
|
+
* Callback function to receive the result of the energyAssetsProductionSitesUploadProductionSitesCreate operation.
|
|
595
|
+
* @callback module:api/EnergyAssetsApi~energyAssetsProductionSitesUploadProductionSitesCreateCallback
|
|
596
|
+
* @param {String} error Error message, if any.
|
|
597
|
+
* @param {module:model/ProductionSite} data The data returned by the service call.
|
|
598
|
+
* @param {String} response The complete HTTP response.
|
|
599
|
+
*/
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* **Add production sites by uploading an Excel file .** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization or retailer. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Retailer
|
|
603
|
+
* @param {module:model/ProductionSiteFileUpload} productionSiteFileUpload
|
|
604
|
+
* @param {module:api/EnergyAssetsApi~energyAssetsProductionSitesUploadProductionSitesCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
605
|
+
* data is of type: {@link module:model/ProductionSite}
|
|
606
|
+
*/
|
|
607
|
+
|
|
608
|
+
}, {
|
|
609
|
+
key: "energyAssetsProductionSitesUploadProductionSitesCreate",
|
|
610
|
+
value: function energyAssetsProductionSitesUploadProductionSitesCreate(productionSiteFileUpload, callback) {
|
|
611
|
+
var postBody = productionSiteFileUpload; // verify the required parameter 'productionSiteFileUpload' is set
|
|
612
|
+
|
|
613
|
+
if (productionSiteFileUpload === undefined || productionSiteFileUpload === null) {
|
|
614
|
+
throw new Error("Missing the required parameter 'productionSiteFileUpload' when calling energyAssetsProductionSitesUploadProductionSitesCreate");
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
var pathParams = {};
|
|
618
|
+
var queryParams = {};
|
|
619
|
+
var headerParams = {};
|
|
620
|
+
var formParams = {};
|
|
621
|
+
var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
|
|
622
|
+
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
623
|
+
var accepts = ['application/json'];
|
|
624
|
+
var returnType = _ProductionSite["default"];
|
|
625
|
+
return this.apiClient.callApi('/energy-assets/production-sites/upload_production_sites/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
626
|
+
}
|
|
591
627
|
}]);
|
|
592
628
|
|
|
593
629
|
return EnergyAssetsApi;
|
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
9
|
|
|
10
|
+
var _ConsumptionDataFileList = _interopRequireDefault(require("../model/ConsumptionDataFileList"));
|
|
11
|
+
|
|
10
12
|
var _ConsumptionDataPointCreate = _interopRequireDefault(require("../model/ConsumptionDataPointCreate"));
|
|
11
13
|
|
|
12
14
|
var _ConsumptionDataPointListOrDetail = _interopRequireDefault(require("../model/ConsumptionDataPointListOrDetail"));
|
|
@@ -15,7 +17,7 @@ var _ConsumptionDataPointUpdate = _interopRequireDefault(require("../model/Consu
|
|
|
15
17
|
|
|
16
18
|
var _EmissionFactor = _interopRequireDefault(require("../model/EmissionFactor"));
|
|
17
19
|
|
|
18
|
-
var
|
|
20
|
+
var _GetFromEpias = _interopRequireDefault(require("../model/GetFromEpias"));
|
|
19
21
|
|
|
20
22
|
var _MatchRequest = _interopRequireDefault(require("../model/MatchRequest"));
|
|
21
23
|
|
|
@@ -41,6 +43,8 @@ var _PatchedEmissionFactor = _interopRequireDefault(require("../model/PatchedEmi
|
|
|
41
43
|
|
|
42
44
|
var _PatchedProductionDataPointUpdate = _interopRequireDefault(require("../model/PatchedProductionDataPointUpdate"));
|
|
43
45
|
|
|
46
|
+
var _ProductionDataFileList = _interopRequireDefault(require("../model/ProductionDataFileList"));
|
|
47
|
+
|
|
44
48
|
var _ProductionDataPointCreate = _interopRequireDefault(require("../model/ProductionDataPointCreate"));
|
|
45
49
|
|
|
46
50
|
var _ProductionDataPointListOrDetail = _interopRequireDefault(require("../model/ProductionDataPointListOrDetail"));
|
|
@@ -58,7 +62,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
58
62
|
/**
|
|
59
63
|
* EnergyData service.
|
|
60
64
|
* @module api/EnergyDataApi
|
|
61
|
-
* @version 0.49.
|
|
65
|
+
* @version 0.49.5
|
|
62
66
|
*/
|
|
63
67
|
var EnergyDataApi = /*#__PURE__*/function () {
|
|
64
68
|
/**
|
|
@@ -348,18 +352,18 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
348
352
|
|
|
349
353
|
/**
|
|
350
354
|
* **Add consumption data by uploading an Excel file .** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization or retailer. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Retailer
|
|
351
|
-
* @param {module:model/
|
|
355
|
+
* @param {module:model/ConsumptionDataFileList} consumptionDataFileList
|
|
352
356
|
* @param {module:api/EnergyDataApi~energyDataConsumptionDataUploadConsumptionDataPointsCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
353
357
|
* data is of type: {@link module:model/ConsumptionDataPointCreate}
|
|
354
358
|
*/
|
|
355
359
|
|
|
356
360
|
}, {
|
|
357
361
|
key: "energyDataConsumptionDataUploadConsumptionDataPointsCreate",
|
|
358
|
-
value: function energyDataConsumptionDataUploadConsumptionDataPointsCreate(
|
|
359
|
-
var postBody =
|
|
362
|
+
value: function energyDataConsumptionDataUploadConsumptionDataPointsCreate(consumptionDataFileList, callback) {
|
|
363
|
+
var postBody = consumptionDataFileList; // verify the required parameter 'consumptionDataFileList' is set
|
|
360
364
|
|
|
361
|
-
if (
|
|
362
|
-
throw new Error("Missing the required parameter '
|
|
365
|
+
if (consumptionDataFileList === undefined || consumptionDataFileList === null) {
|
|
366
|
+
throw new Error("Missing the required parameter 'consumptionDataFileList' when calling energyDataConsumptionDataUploadConsumptionDataPointsCreate");
|
|
363
367
|
}
|
|
364
368
|
|
|
365
369
|
var pathParams = {};
|
|
@@ -992,6 +996,40 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
992
996
|
var returnType = null;
|
|
993
997
|
return this.apiClient.callApi('/energy-data/production-data/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
994
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* Callback function to receive the result of the energyDataProductionDataGetFromEpiasAndInsertCreate operation.
|
|
1001
|
+
* @callback module:api/EnergyDataApi~energyDataProductionDataGetFromEpiasAndInsertCreateCallback
|
|
1002
|
+
* @param {String} error Error message, if any.
|
|
1003
|
+
* @param {module:model/ProductionDataPointCreate} data The data returned by the service call.
|
|
1004
|
+
* @param {String} response The complete HTTP response.
|
|
1005
|
+
*/
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* 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``.
|
|
1009
|
+
* @param {module:model/GetFromEpias} getFromEpias
|
|
1010
|
+
* @param {module:api/EnergyDataApi~energyDataProductionDataGetFromEpiasAndInsertCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1011
|
+
* data is of type: {@link module:model/ProductionDataPointCreate}
|
|
1012
|
+
*/
|
|
1013
|
+
|
|
1014
|
+
}, {
|
|
1015
|
+
key: "energyDataProductionDataGetFromEpiasAndInsertCreate",
|
|
1016
|
+
value: function energyDataProductionDataGetFromEpiasAndInsertCreate(getFromEpias, callback) {
|
|
1017
|
+
var postBody = getFromEpias; // verify the required parameter 'getFromEpias' is set
|
|
1018
|
+
|
|
1019
|
+
if (getFromEpias === undefined || getFromEpias === null) {
|
|
1020
|
+
throw new Error("Missing the required parameter 'getFromEpias' when calling energyDataProductionDataGetFromEpiasAndInsertCreate");
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
var pathParams = {};
|
|
1024
|
+
var queryParams = {};
|
|
1025
|
+
var headerParams = {};
|
|
1026
|
+
var formParams = {};
|
|
1027
|
+
var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
|
|
1028
|
+
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1029
|
+
var accepts = ['application/json'];
|
|
1030
|
+
var returnType = _ProductionDataPointCreate["default"];
|
|
1031
|
+
return this.apiClient.callApi('/energy-data/production-data/get_from_epias_and_insert/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1032
|
+
}
|
|
995
1033
|
/**
|
|
996
1034
|
* Callback function to receive the result of the energyDataProductionDataList operation.
|
|
997
1035
|
* @callback module:api/EnergyDataApi~energyDataProductionDataListCallback
|
|
@@ -1177,6 +1215,40 @@ var EnergyDataApi = /*#__PURE__*/function () {
|
|
|
1177
1215
|
var returnType = _ProductionDataPointUpdate["default"];
|
|
1178
1216
|
return this.apiClient.callApi('/energy-data/production-data/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1179
1217
|
}
|
|
1218
|
+
/**
|
|
1219
|
+
* Callback function to receive the result of the energyDataProductionDataUploadProductionDataPointsCreate operation.
|
|
1220
|
+
* @callback module:api/EnergyDataApi~energyDataProductionDataUploadProductionDataPointsCreateCallback
|
|
1221
|
+
* @param {String} error Error message, if any.
|
|
1222
|
+
* @param {module:model/ProductionDataPointCreate} data The data returned by the service call.
|
|
1223
|
+
* @param {String} response The complete HTTP response.
|
|
1224
|
+
*/
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* **Add production data by uploading an Excel file .** User should be *authenticated* and have an *active* (is_active=True) account. **Note:** Object should be owned by the user's organization or retailer. **Roles required**: Staff and/or Admin **User employed by an active allowed organization**: Retailer
|
|
1228
|
+
* @param {module:model/ProductionDataFileList} productionDataFileList
|
|
1229
|
+
* @param {module:api/EnergyDataApi~energyDataProductionDataUploadProductionDataPointsCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1230
|
+
* data is of type: {@link module:model/ProductionDataPointCreate}
|
|
1231
|
+
*/
|
|
1232
|
+
|
|
1233
|
+
}, {
|
|
1234
|
+
key: "energyDataProductionDataUploadProductionDataPointsCreate",
|
|
1235
|
+
value: function energyDataProductionDataUploadProductionDataPointsCreate(productionDataFileList, callback) {
|
|
1236
|
+
var postBody = productionDataFileList; // verify the required parameter 'productionDataFileList' is set
|
|
1237
|
+
|
|
1238
|
+
if (productionDataFileList === undefined || productionDataFileList === null) {
|
|
1239
|
+
throw new Error("Missing the required parameter 'productionDataFileList' when calling energyDataProductionDataUploadProductionDataPointsCreate");
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
var pathParams = {};
|
|
1243
|
+
var queryParams = {};
|
|
1244
|
+
var headerParams = {};
|
|
1245
|
+
var formParams = {};
|
|
1246
|
+
var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
|
|
1247
|
+
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
1248
|
+
var accepts = ['application/json'];
|
|
1249
|
+
var returnType = _ProductionDataPointCreate["default"];
|
|
1250
|
+
return this.apiClient.callApi('/energy-data/production-data/upload_production_data_points/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1251
|
+
}
|
|
1180
1252
|
}]);
|
|
1181
1253
|
|
|
1182
1254
|
return EnergyDataApi;
|
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* LicensedProductionSitesOnEpias service.
|
|
20
20
|
* @module api/LicensedProductionSitesOnEpiasApi
|
|
21
|
-
* @version 0.49.
|
|
21
|
+
* @version 0.49.5
|
|
22
22
|
*/
|
|
23
23
|
var LicensedProductionSitesOnEpiasApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/api/LocationsApi.js
CHANGED
|
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
18
18
|
/**
|
|
19
19
|
* MaintenanceCheck service.
|
|
20
20
|
* @module api/MaintenanceCheckApi
|
|
21
|
-
* @version 0.49.
|
|
21
|
+
* @version 0.49.5
|
|
22
22
|
*/
|
|
23
23
|
var MaintenanceCheckApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -24,7 +24,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
24
24
|
/**
|
|
25
25
|
* Organizationprofiles service.
|
|
26
26
|
* @module api/OrganizationprofilesApi
|
|
27
|
-
* @version 0.49.
|
|
27
|
+
* @version 0.49.5
|
|
28
28
|
*/
|
|
29
29
|
var OrganizationprofilesApi = /*#__PURE__*/function () {
|
|
30
30
|
/**
|
package/dist/api/SchemaApi.js
CHANGED
package/dist/api/UsersApi.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "Consumer", {
|
|
|
15
15
|
return _Consumer["default"];
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "ConsumptionDataFileList", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _ConsumptionDataFileList["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
18
24
|
Object.defineProperty(exports, "ConsumptionDataPointCreate", {
|
|
19
25
|
enumerable: true,
|
|
20
26
|
get: function get() {
|
|
@@ -39,6 +45,12 @@ Object.defineProperty(exports, "ConsumptionSite", {
|
|
|
39
45
|
return _ConsumptionSite["default"];
|
|
40
46
|
}
|
|
41
47
|
});
|
|
48
|
+
Object.defineProperty(exports, "ConsumptionSiteFileUpload", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _ConsumptionSiteFileUpload["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
42
54
|
Object.defineProperty(exports, "ConsumptionSiteListOrDetail", {
|
|
43
55
|
enumerable: true,
|
|
44
56
|
get: function get() {
|
|
@@ -75,16 +87,10 @@ Object.defineProperty(exports, "EnergySourcePreference", {
|
|
|
75
87
|
return _EnergySourcePreference["default"];
|
|
76
88
|
}
|
|
77
89
|
});
|
|
78
|
-
Object.defineProperty(exports, "
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function get() {
|
|
81
|
-
return _FileList["default"];
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "FileUpload", {
|
|
90
|
+
Object.defineProperty(exports, "GetFromEpias", {
|
|
85
91
|
enumerable: true,
|
|
86
92
|
get: function get() {
|
|
87
|
-
return
|
|
93
|
+
return _GetFromEpias["default"];
|
|
88
94
|
}
|
|
89
95
|
});
|
|
90
96
|
Object.defineProperty(exports, "GridOperator", {
|
|
@@ -393,6 +399,12 @@ Object.defineProperty(exports, "Producer", {
|
|
|
393
399
|
return _Producer["default"];
|
|
394
400
|
}
|
|
395
401
|
});
|
|
402
|
+
Object.defineProperty(exports, "ProductionDataFileList", {
|
|
403
|
+
enumerable: true,
|
|
404
|
+
get: function get() {
|
|
405
|
+
return _ProductionDataFileList["default"];
|
|
406
|
+
}
|
|
407
|
+
});
|
|
396
408
|
Object.defineProperty(exports, "ProductionDataPointCreate", {
|
|
397
409
|
enumerable: true,
|
|
398
410
|
get: function get() {
|
|
@@ -417,6 +429,12 @@ Object.defineProperty(exports, "ProductionSite", {
|
|
|
417
429
|
return _ProductionSite["default"];
|
|
418
430
|
}
|
|
419
431
|
});
|
|
432
|
+
Object.defineProperty(exports, "ProductionSiteFileUpload", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function get() {
|
|
435
|
+
return _ProductionSiteFileUpload["default"];
|
|
436
|
+
}
|
|
437
|
+
});
|
|
420
438
|
Object.defineProperty(exports, "ProductionSiteListOrDetail", {
|
|
421
439
|
enumerable: true,
|
|
422
440
|
get: function get() {
|
|
@@ -506,6 +524,8 @@ var _ApiClient = _interopRequireDefault(require("./ApiClient"));
|
|
|
506
524
|
|
|
507
525
|
var _Consumer = _interopRequireDefault(require("./model/Consumer"));
|
|
508
526
|
|
|
527
|
+
var _ConsumptionDataFileList = _interopRequireDefault(require("./model/ConsumptionDataFileList"));
|
|
528
|
+
|
|
509
529
|
var _ConsumptionDataPointCreate = _interopRequireDefault(require("./model/ConsumptionDataPointCreate"));
|
|
510
530
|
|
|
511
531
|
var _ConsumptionDataPointListOrDetail = _interopRequireDefault(require("./model/ConsumptionDataPointListOrDetail"));
|
|
@@ -514,6 +534,8 @@ var _ConsumptionDataPointUpdate = _interopRequireDefault(require("./model/Consum
|
|
|
514
534
|
|
|
515
535
|
var _ConsumptionSite = _interopRequireDefault(require("./model/ConsumptionSite"));
|
|
516
536
|
|
|
537
|
+
var _ConsumptionSiteFileUpload = _interopRequireDefault(require("./model/ConsumptionSiteFileUpload"));
|
|
538
|
+
|
|
517
539
|
var _ConsumptionSiteListOrDetail = _interopRequireDefault(require("./model/ConsumptionSiteListOrDetail"));
|
|
518
540
|
|
|
519
541
|
var _EmissionFactor = _interopRequireDefault(require("./model/EmissionFactor"));
|
|
@@ -522,9 +544,7 @@ var _EnergySourceEnum = _interopRequireDefault(require("./model/EnergySourceEnum
|
|
|
522
544
|
|
|
523
545
|
var _EnergySourcePreference = _interopRequireDefault(require("./model/EnergySourcePreference"));
|
|
524
546
|
|
|
525
|
-
var
|
|
526
|
-
|
|
527
|
-
var _FileUpload = _interopRequireDefault(require("./model/FileUpload"));
|
|
547
|
+
var _GetFromEpias = _interopRequireDefault(require("./model/GetFromEpias"));
|
|
528
548
|
|
|
529
549
|
var _GridOperator = _interopRequireDefault(require("./model/GridOperator"));
|
|
530
550
|
|
|
@@ -616,6 +636,8 @@ var _PriorityEnum = _interopRequireDefault(require("./model/PriorityEnum"));
|
|
|
616
636
|
|
|
617
637
|
var _Producer = _interopRequireDefault(require("./model/Producer"));
|
|
618
638
|
|
|
639
|
+
var _ProductionDataFileList = _interopRequireDefault(require("./model/ProductionDataFileList"));
|
|
640
|
+
|
|
619
641
|
var _ProductionDataPointCreate = _interopRequireDefault(require("./model/ProductionDataPointCreate"));
|
|
620
642
|
|
|
621
643
|
var _ProductionDataPointListOrDetail = _interopRequireDefault(require("./model/ProductionDataPointListOrDetail"));
|
|
@@ -624,6 +646,8 @@ var _ProductionDataPointUpdate = _interopRequireDefault(require("./model/Product
|
|
|
624
646
|
|
|
625
647
|
var _ProductionSite = _interopRequireDefault(require("./model/ProductionSite"));
|
|
626
648
|
|
|
649
|
+
var _ProductionSiteFileUpload = _interopRequireDefault(require("./model/ProductionSiteFileUpload"));
|
|
650
|
+
|
|
627
651
|
var _ProductionSiteListOrDetail = _interopRequireDefault(require("./model/ProductionSiteListOrDetail"));
|
|
628
652
|
|
|
629
653
|
var _ProductionSiteUpdate = _interopRequireDefault(require("./model/ProductionSiteUpdate"));
|
package/dist/model/Consumer.js
CHANGED
|
@@ -16,24 +16,24 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* The
|
|
20
|
-
* @module model/
|
|
21
|
-
* @version 0.49.
|
|
19
|
+
* The ConsumptionDataFileList model module.
|
|
20
|
+
* @module model/ConsumptionDataFileList
|
|
21
|
+
* @version 0.49.5
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var ConsumptionDataFileList = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
25
|
-
* Constructs a new <code>
|
|
26
|
-
* @alias module:model/
|
|
25
|
+
* Constructs a new <code>ConsumptionDataFileList</code>.
|
|
26
|
+
* @alias module:model/ConsumptionDataFileList
|
|
27
27
|
* @param fileList {Array.<String>}
|
|
28
28
|
* @param consumer {String}
|
|
29
29
|
* @param eicColumnName {String}
|
|
30
30
|
* @param consumptionStartColumnName {String}
|
|
31
31
|
* @param amountConsumedColumnName {String}
|
|
32
32
|
*/
|
|
33
|
-
function
|
|
34
|
-
_classCallCheck(this,
|
|
33
|
+
function ConsumptionDataFileList(fileList, consumer, eicColumnName, consumptionStartColumnName, amountConsumedColumnName) {
|
|
34
|
+
_classCallCheck(this, ConsumptionDataFileList);
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
ConsumptionDataFileList.initialize(this, fileList, consumer, eicColumnName, consumptionStartColumnName, amountConsumedColumnName);
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Initializes the fields of this object.
|
|
@@ -42,7 +42,7 @@ var FileList = /*#__PURE__*/function () {
|
|
|
42
42
|
*/
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
_createClass(
|
|
45
|
+
_createClass(ConsumptionDataFileList, null, [{
|
|
46
46
|
key: "initialize",
|
|
47
47
|
value: function initialize(obj, fileList, consumer, eicColumnName, consumptionStartColumnName, amountConsumedColumnName) {
|
|
48
48
|
obj['file_list'] = fileList;
|
|
@@ -52,18 +52,18 @@ var FileList = /*#__PURE__*/function () {
|
|
|
52
52
|
obj['amount_consumed_column_name'] = amountConsumedColumnName;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* Constructs a <code>
|
|
55
|
+
* Constructs a <code>ConsumptionDataFileList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
56
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
57
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
-
* @param {module:model/
|
|
59
|
-
* @return {module:model/
|
|
58
|
+
* @param {module:model/ConsumptionDataFileList} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/ConsumptionDataFileList} The populated <code>ConsumptionDataFileList</code> instance.
|
|
60
60
|
*/
|
|
61
61
|
|
|
62
62
|
}, {
|
|
63
63
|
key: "constructFromObject",
|
|
64
64
|
value: function constructFromObject(data, obj) {
|
|
65
65
|
if (data) {
|
|
66
|
-
obj = obj || new
|
|
66
|
+
obj = obj || new ConsumptionDataFileList();
|
|
67
67
|
|
|
68
68
|
if (data.hasOwnProperty('file_list')) {
|
|
69
69
|
obj['file_list'] = _ApiClient["default"].convertToType(data['file_list'], ['String']);
|
|
@@ -94,39 +94,39 @@ var FileList = /*#__PURE__*/function () {
|
|
|
94
94
|
}
|
|
95
95
|
}]);
|
|
96
96
|
|
|
97
|
-
return
|
|
97
|
+
return ConsumptionDataFileList;
|
|
98
98
|
}();
|
|
99
99
|
/**
|
|
100
100
|
* @member {Array.<String>} file_list
|
|
101
101
|
*/
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
ConsumptionDataFileList.prototype['file_list'] = undefined;
|
|
105
105
|
/**
|
|
106
106
|
* @member {String} consumer
|
|
107
107
|
*/
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
ConsumptionDataFileList.prototype['consumer'] = undefined;
|
|
110
110
|
/**
|
|
111
111
|
* @member {String} eic_column_name
|
|
112
112
|
*/
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
ConsumptionDataFileList.prototype['eic_column_name'] = undefined;
|
|
115
115
|
/**
|
|
116
116
|
* @member {String} consumption_start_column_name
|
|
117
117
|
*/
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
ConsumptionDataFileList.prototype['consumption_start_column_name'] = undefined;
|
|
120
120
|
/**
|
|
121
121
|
* @member {String} amount_consumed_column_name
|
|
122
122
|
*/
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
ConsumptionDataFileList.prototype['amount_consumed_column_name'] = undefined;
|
|
125
125
|
/**
|
|
126
126
|
* @member {String} timezone
|
|
127
127
|
* @default 'Europe/Istanbul'
|
|
128
128
|
*/
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
var _default =
|
|
130
|
+
ConsumptionDataFileList.prototype['timezone'] = 'Europe/Istanbul';
|
|
131
|
+
var _default = ConsumptionDataFileList;
|
|
132
132
|
exports["default"] = _default;
|