@gizone/rrs-client 4.2.9-alpha.556 → 4.2.9-alpha.558
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/.openapi-generator/FILES +13 -0
- package/api.ts +1 -0
- package/apis/energy-cost-analysis-controller-api.ts +517 -0
- package/apis/energy-cost-record-controller-api.ts +18 -18
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/energy-cost-analysis-controller-api.d.ts +276 -0
- package/dist/apis/energy-cost-analysis-controller-api.js +419 -0
- package/dist/apis/energy-cost-record-controller-api.d.ts +12 -12
- package/dist/apis/energy-cost-record-controller-api.js +14 -14
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +276 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.js +412 -0
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +12 -12
- package/dist/esm/apis/energy-cost-record-controller-api.js +13 -13
- package/dist/esm/models/energy-cost-analysis-list-vo.d.ts +102 -0
- package/dist/esm/models/energy-cost-analysis-list-vo.js +23 -0
- package/dist/esm/models/energy-cost-analysis-query-dto.d.ts +83 -0
- package/dist/esm/models/energy-cost-analysis-query-dto.js +17 -0
- package/dist/esm/models/energy-cost-per-area-analysis-vo.d.ts +42 -0
- package/dist/esm/models/energy-cost-per-area-analysis-vo.js +14 -0
- package/dist/esm/models/energy-cost-per-unit-analysis-vo.d.ts +48 -0
- package/dist/esm/models/energy-cost-per-unit-analysis-vo.js +14 -0
- package/dist/esm/models/energy-cost-trend-vo.d.ts +38 -0
- package/dist/esm/models/energy-cost-trend-vo.js +19 -0
- package/dist/esm/models/energy-cost-unit-price-analysis-vo.d.ts +36 -0
- package/dist/esm/models/energy-cost-unit-price-analysis-vo.js +14 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/models/json-result-energy-cost-per-area-analysis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-per-area-analysis-vo.js +14 -0
- package/dist/esm/models/json-result-energy-cost-per-unit-analysis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-per-unit-analysis-vo.js +14 -0
- package/dist/esm/models/json-result-energy-cost-unit-price-analysis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-unit-price-analysis-vo.js +14 -0
- package/dist/esm/models/json-result-list-energy-cost-analysis-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-analysis-list-vo.js +14 -0
- package/dist/esm/models/json-result-list-energy-cost-trend-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-trend-vo.js +14 -0
- package/dist/esm/models/monthly-data-vo.d.ts +48 -0
- package/dist/esm/models/monthly-data-vo.js +14 -0
- package/dist/models/energy-cost-analysis-list-vo.d.ts +102 -0
- package/dist/models/energy-cost-analysis-list-vo.js +26 -0
- package/dist/models/energy-cost-analysis-query-dto.d.ts +83 -0
- package/dist/models/energy-cost-analysis-query-dto.js +20 -0
- package/dist/models/energy-cost-per-area-analysis-vo.d.ts +42 -0
- package/dist/models/energy-cost-per-area-analysis-vo.js +15 -0
- package/dist/models/energy-cost-per-unit-analysis-vo.d.ts +48 -0
- package/dist/models/energy-cost-per-unit-analysis-vo.js +15 -0
- package/dist/models/energy-cost-trend-vo.d.ts +38 -0
- package/dist/models/energy-cost-trend-vo.js +22 -0
- package/dist/models/energy-cost-unit-price-analysis-vo.d.ts +36 -0
- package/dist/models/energy-cost-unit-price-analysis-vo.js +15 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/models/json-result-energy-cost-per-area-analysis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-per-area-analysis-vo.js +15 -0
- package/dist/models/json-result-energy-cost-per-unit-analysis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-per-unit-analysis-vo.js +15 -0
- package/dist/models/json-result-energy-cost-unit-price-analysis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-unit-price-analysis-vo.js +15 -0
- package/dist/models/json-result-list-energy-cost-analysis-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-analysis-list-vo.js +15 -0
- package/dist/models/json-result-list-energy-cost-trend-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-trend-vo.js +15 -0
- package/dist/models/monthly-data-vo.d.ts +48 -0
- package/dist/models/monthly-data-vo.js +15 -0
- package/models/energy-cost-analysis-list-vo.ts +112 -0
- package/models/energy-cost-analysis-query-dto.ts +92 -0
- package/models/energy-cost-per-area-analysis-vo.ts +48 -0
- package/models/energy-cost-per-unit-analysis-vo.ts +54 -0
- package/models/energy-cost-trend-vo.ts +49 -0
- package/models/energy-cost-unit-price-analysis-vo.ts +42 -0
- package/models/index.ts +12 -0
- package/models/json-result-energy-cost-per-area-analysis-vo.ts +72 -0
- package/models/json-result-energy-cost-per-unit-analysis-vo.ts +72 -0
- package/models/json-result-energy-cost-unit-price-analysis-vo.ts +72 -0
- package/models/json-result-list-energy-cost-analysis-list-vo.ts +72 -0
- package/models/json-result-list-energy-cost-trend-vo.ts +72 -0
- package/models/monthly-data-vo.ts +54 -0
- package/ossutil.log +1086 -1080
- package/package.json +1 -1
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.EnergyCostAnalysisControllerApi = exports.EnergyCostAnalysisControllerApiFactory = exports.EnergyCostAnalysisControllerApiFp = exports.EnergyCostAnalysisControllerApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* EnergyCostAnalysisControllerApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const EnergyCostAnalysisControllerApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* 获取账单分析列表数据
|
|
40
|
+
* @summary 分析列表数据
|
|
41
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
getAnalysisList: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
|
|
46
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('getAnalysisList', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
48
|
+
const localVarPath = `/gizone/energy/cost/analysis/list`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
* 获取当年各场景的用量趋势图数据
|
|
73
|
+
* @summary 用量趋势分析
|
|
74
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
getUsageTrend: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
|
|
79
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('getUsageTrend', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
81
|
+
const localVarPath = `/gizone/energy/cost/analysis/trend`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
106
|
+
* @summary 单平单价分析
|
|
107
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
perAreaAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
|
|
112
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('perAreaAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
114
|
+
const localVarPath = `/gizone/energy/cost/analysis/per-area-analysis`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication tokenScheme required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
132
|
+
return {
|
|
133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
137
|
+
/**
|
|
138
|
+
* 计算园区单耗,包括实际/标准、年平均、上月、去年同期
|
|
139
|
+
* @summary 单耗分析
|
|
140
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
perUnitAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
|
|
145
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
146
|
+
(0, common_1.assertParamExists)('perUnitAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
147
|
+
const localVarPath = `/gizone/energy/cost/analysis/per-unit-analysis`;
|
|
148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
150
|
+
let baseOptions;
|
|
151
|
+
if (configuration) {
|
|
152
|
+
baseOptions = configuration.baseOptions;
|
|
153
|
+
}
|
|
154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
155
|
+
const localVarHeaderParameter = {};
|
|
156
|
+
const localVarQueryParameter = {};
|
|
157
|
+
// authentication tokenScheme required
|
|
158
|
+
// http bearer authentication required
|
|
159
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
160
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
165
|
+
return {
|
|
166
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
167
|
+
options: localVarRequestOptions,
|
|
168
|
+
};
|
|
169
|
+
}),
|
|
170
|
+
/**
|
|
171
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
172
|
+
* @summary 单价分析
|
|
173
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
unitPriceAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
|
|
178
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
179
|
+
(0, common_1.assertParamExists)('unitPriceAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
180
|
+
const localVarPath = `/gizone/energy/cost/analysis/unit-price-analysis`;
|
|
181
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
182
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
183
|
+
let baseOptions;
|
|
184
|
+
if (configuration) {
|
|
185
|
+
baseOptions = configuration.baseOptions;
|
|
186
|
+
}
|
|
187
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
188
|
+
const localVarHeaderParameter = {};
|
|
189
|
+
const localVarQueryParameter = {};
|
|
190
|
+
// authentication tokenScheme required
|
|
191
|
+
// http bearer authentication required
|
|
192
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
193
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
194
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
196
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
197
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
198
|
+
return {
|
|
199
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
}),
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
exports.EnergyCostAnalysisControllerApiAxiosParamCreator = EnergyCostAnalysisControllerApiAxiosParamCreator;
|
|
206
|
+
/**
|
|
207
|
+
* EnergyCostAnalysisControllerApi - functional programming interface
|
|
208
|
+
* @export
|
|
209
|
+
*/
|
|
210
|
+
const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
211
|
+
const localVarAxiosParamCreator = (0, exports.EnergyCostAnalysisControllerApiAxiosParamCreator)(configuration);
|
|
212
|
+
return {
|
|
213
|
+
/**
|
|
214
|
+
* 获取账单分析列表数据
|
|
215
|
+
* @summary 分析列表数据
|
|
216
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
getAnalysisList(energyCostAnalysisQueryDTO, options) {
|
|
221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
+
var _a, _b, _c;
|
|
223
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnalysisList(energyCostAnalysisQueryDTO, options);
|
|
224
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
225
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
226
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
227
|
+
});
|
|
228
|
+
},
|
|
229
|
+
/**
|
|
230
|
+
* 获取当年各场景的用量趋势图数据
|
|
231
|
+
* @summary 用量趋势分析
|
|
232
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
getUsageTrend(energyCostAnalysisQueryDTO, options) {
|
|
237
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
238
|
+
var _a, _b, _c;
|
|
239
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsageTrend(energyCostAnalysisQueryDTO, options);
|
|
240
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
241
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.getUsageTrend']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
242
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
243
|
+
});
|
|
244
|
+
},
|
|
245
|
+
/**
|
|
246
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
247
|
+
* @summary 单平单价分析
|
|
248
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
perAreaAnalysis(energyCostAnalysisQueryDTO, options) {
|
|
253
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
254
|
+
var _a, _b, _c;
|
|
255
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.perAreaAnalysis(energyCostAnalysisQueryDTO, options);
|
|
256
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
257
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.perAreaAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
258
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
259
|
+
});
|
|
260
|
+
},
|
|
261
|
+
/**
|
|
262
|
+
* 计算园区单耗,包括实际/标准、年平均、上月、去年同期
|
|
263
|
+
* @summary 单耗分析
|
|
264
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
perUnitAnalysis(energyCostAnalysisQueryDTO, options) {
|
|
269
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
270
|
+
var _a, _b, _c;
|
|
271
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.perUnitAnalysis(energyCostAnalysisQueryDTO, options);
|
|
272
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
273
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.perUnitAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
274
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
275
|
+
});
|
|
276
|
+
},
|
|
277
|
+
/**
|
|
278
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
279
|
+
* @summary 单价分析
|
|
280
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
unitPriceAnalysis(energyCostAnalysisQueryDTO, options) {
|
|
285
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
286
|
+
var _a, _b, _c;
|
|
287
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.unitPriceAnalysis(energyCostAnalysisQueryDTO, options);
|
|
288
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
289
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.unitPriceAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
290
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
291
|
+
});
|
|
292
|
+
},
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
exports.EnergyCostAnalysisControllerApiFp = EnergyCostAnalysisControllerApiFp;
|
|
296
|
+
/**
|
|
297
|
+
* EnergyCostAnalysisControllerApi - factory interface
|
|
298
|
+
* @export
|
|
299
|
+
*/
|
|
300
|
+
const EnergyCostAnalysisControllerApiFactory = function (configuration, basePath, axios) {
|
|
301
|
+
const localVarFp = (0, exports.EnergyCostAnalysisControllerApiFp)(configuration);
|
|
302
|
+
return {
|
|
303
|
+
/**
|
|
304
|
+
* 获取账单分析列表数据
|
|
305
|
+
* @summary 分析列表数据
|
|
306
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisListRequest} requestParameters Request parameters.
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
getAnalysisList(requestParameters, options) {
|
|
311
|
+
return localVarFp.getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
312
|
+
},
|
|
313
|
+
/**
|
|
314
|
+
* 获取当年各场景的用量趋势图数据
|
|
315
|
+
* @summary 用量趋势分析
|
|
316
|
+
* @param {EnergyCostAnalysisControllerApiGetUsageTrendRequest} requestParameters Request parameters.
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
getUsageTrend(requestParameters, options) {
|
|
321
|
+
return localVarFp.getUsageTrend(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
322
|
+
},
|
|
323
|
+
/**
|
|
324
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
325
|
+
* @summary 单平单价分析
|
|
326
|
+
* @param {EnergyCostAnalysisControllerApiPerAreaAnalysisRequest} requestParameters Request parameters.
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
perAreaAnalysis(requestParameters, options) {
|
|
331
|
+
return localVarFp.perAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* 计算园区单耗,包括实际/标准、年平均、上月、去年同期
|
|
335
|
+
* @summary 单耗分析
|
|
336
|
+
* @param {EnergyCostAnalysisControllerApiPerUnitAnalysisRequest} requestParameters Request parameters.
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
perUnitAnalysis(requestParameters, options) {
|
|
341
|
+
return localVarFp.perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
345
|
+
* @summary 单价分析
|
|
346
|
+
* @param {EnergyCostAnalysisControllerApiUnitPriceAnalysisRequest} requestParameters Request parameters.
|
|
347
|
+
* @param {*} [options] Override http request option.
|
|
348
|
+
* @throws {RequiredError}
|
|
349
|
+
*/
|
|
350
|
+
unitPriceAnalysis(requestParameters, options) {
|
|
351
|
+
return localVarFp.unitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
352
|
+
},
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
exports.EnergyCostAnalysisControllerApiFactory = EnergyCostAnalysisControllerApiFactory;
|
|
356
|
+
/**
|
|
357
|
+
* EnergyCostAnalysisControllerApi - object-oriented interface
|
|
358
|
+
* @export
|
|
359
|
+
* @class EnergyCostAnalysisControllerApi
|
|
360
|
+
* @extends {BaseAPI}
|
|
361
|
+
*/
|
|
362
|
+
class EnergyCostAnalysisControllerApi extends base_1.BaseAPI {
|
|
363
|
+
/**
|
|
364
|
+
* 获取账单分析列表数据
|
|
365
|
+
* @summary 分析列表数据
|
|
366
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisListRequest} requestParameters Request parameters.
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
370
|
+
*/
|
|
371
|
+
getAnalysisList(requestParameters, options) {
|
|
372
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* 获取当年各场景的用量趋势图数据
|
|
376
|
+
* @summary 用量趋势分析
|
|
377
|
+
* @param {EnergyCostAnalysisControllerApiGetUsageTrendRequest} requestParameters Request parameters.
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
381
|
+
*/
|
|
382
|
+
getUsageTrend(requestParameters, options) {
|
|
383
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).getUsageTrend(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
387
|
+
* @summary 单平单价分析
|
|
388
|
+
* @param {EnergyCostAnalysisControllerApiPerAreaAnalysisRequest} requestParameters Request parameters.
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
392
|
+
*/
|
|
393
|
+
perAreaAnalysis(requestParameters, options) {
|
|
394
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).perAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* 计算园区单耗,包括实际/标准、年平均、上月、去年同期
|
|
398
|
+
* @summary 单耗分析
|
|
399
|
+
* @param {EnergyCostAnalysisControllerApiPerUnitAnalysisRequest} requestParameters Request parameters.
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
403
|
+
*/
|
|
404
|
+
perUnitAnalysis(requestParameters, options) {
|
|
405
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
409
|
+
* @summary 单价分析
|
|
410
|
+
* @param {EnergyCostAnalysisControllerApiUnitPriceAnalysisRequest} requestParameters Request parameters.
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
414
|
+
*/
|
|
415
|
+
unitPriceAnalysis(requestParameters, options) {
|
|
416
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).unitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
exports.EnergyCostAnalysisControllerApi = EnergyCostAnalysisControllerApi;
|
|
@@ -59,12 +59,12 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
|
|
|
59
59
|
* @param {string} [billCode]
|
|
60
60
|
* @param {string} [startTime]
|
|
61
61
|
* @param {string} [endTime]
|
|
62
|
-
* @param {
|
|
63
|
-
* @param {number} [status]
|
|
62
|
+
* @param {Array<EnergyCostAddRecordListEnergyTypesEnum>} [energyTypes]
|
|
63
|
+
* @param {Array<number>} [status]
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
energyCostAddRecordList: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string,
|
|
67
|
+
energyCostAddRecordList: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @summary 新增能源消耗-next
|
|
@@ -137,12 +137,12 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
|
|
|
137
137
|
* @param {string} [billCode]
|
|
138
138
|
* @param {string} [startTime]
|
|
139
139
|
* @param {string} [endTime]
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {number} [status]
|
|
140
|
+
* @param {Array<EnergyCostAddRecordListEnergyTypesEnum>} [energyTypes]
|
|
141
|
+
* @param {Array<number>} [status]
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
energyCostAddRecordList(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string,
|
|
145
|
+
energyCostAddRecordList(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyTypes?: Array<EnergyCostAddRecordListEnergyTypesEnum>, status?: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>>;
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
148
148
|
* @summary 新增能源消耗-next
|
|
@@ -335,16 +335,16 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
|
|
|
335
335
|
readonly endTime?: string;
|
|
336
336
|
/**
|
|
337
337
|
*
|
|
338
|
-
* @type {'ELECTRIC' | 'WATER'}
|
|
338
|
+
* @type {Array<'ELECTRIC' | 'WATER'>}
|
|
339
339
|
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
340
340
|
*/
|
|
341
|
-
readonly
|
|
341
|
+
readonly energyTypes?: Array<EnergyCostAddRecordListEnergyTypesEnum>;
|
|
342
342
|
/**
|
|
343
343
|
*
|
|
344
|
-
* @type {number}
|
|
344
|
+
* @type {Array<number>}
|
|
345
345
|
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
346
346
|
*/
|
|
347
|
-
readonly status?: number
|
|
347
|
+
readonly status?: Array<number>;
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
350
|
* Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
|
|
@@ -481,8 +481,8 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
481
481
|
/**
|
|
482
482
|
* @export
|
|
483
483
|
*/
|
|
484
|
-
export declare const
|
|
484
|
+
export declare const EnergyCostAddRecordListEnergyTypesEnum: {
|
|
485
485
|
readonly Electric: "ELECTRIC";
|
|
486
486
|
readonly Water: "WATER";
|
|
487
487
|
};
|
|
488
|
-
export type
|
|
488
|
+
export type EnergyCostAddRecordListEnergyTypesEnum = typeof EnergyCostAddRecordListEnergyTypesEnum[keyof typeof EnergyCostAddRecordListEnergyTypesEnum];
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.EnergyCostAddRecordListEnergyTypesEnum = exports.EnergyCostRecordControllerApi = exports.EnergyCostRecordControllerApiFactory = exports.EnergyCostRecordControllerApiFp = exports.EnergyCostRecordControllerApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -150,12 +150,12 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
|
|
|
150
150
|
* @param {string} [billCode]
|
|
151
151
|
* @param {string} [startTime]
|
|
152
152
|
* @param {string} [endTime]
|
|
153
|
-
* @param {
|
|
154
|
-
* @param {number} [status]
|
|
153
|
+
* @param {Array<EnergyCostAddRecordListEnergyTypesEnum>} [energyTypes]
|
|
154
|
+
* @param {Array<number>} [status]
|
|
155
155
|
* @param {*} [options] Override http request option.
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
energyCostAddRecordList: (page_1, size_1, billCode_1, startTime_1, endTime_1,
|
|
158
|
+
energyCostAddRecordList: (page_1, size_1, billCode_1, startTime_1, endTime_1, energyTypes_1, status_1, ...args_1) => __awaiter(this, [page_1, size_1, billCode_1, startTime_1, endTime_1, energyTypes_1, status_1, ...args_1], void 0, function* (page, size, billCode, startTime, endTime, energyTypes, status, options = {}) {
|
|
159
159
|
const localVarPath = `/gizone/energy/cost/record/list`;
|
|
160
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
161
161
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -184,10 +184,10 @@ const EnergyCostRecordControllerApiAxiosParamCreator = function (configuration)
|
|
|
184
184
|
if (endTime !== undefined) {
|
|
185
185
|
localVarQueryParameter['endTime'] = endTime;
|
|
186
186
|
}
|
|
187
|
-
if (
|
|
188
|
-
localVarQueryParameter['
|
|
187
|
+
if (energyTypes) {
|
|
188
|
+
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
189
189
|
}
|
|
190
|
-
if (status
|
|
190
|
+
if (status) {
|
|
191
191
|
localVarQueryParameter['status'] = status;
|
|
192
192
|
}
|
|
193
193
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -397,15 +397,15 @@ const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
397
397
|
* @param {string} [billCode]
|
|
398
398
|
* @param {string} [startTime]
|
|
399
399
|
* @param {string} [endTime]
|
|
400
|
-
* @param {
|
|
401
|
-
* @param {number} [status]
|
|
400
|
+
* @param {Array<EnergyCostAddRecordListEnergyTypesEnum>} [energyTypes]
|
|
401
|
+
* @param {Array<number>} [status]
|
|
402
402
|
* @param {*} [options] Override http request option.
|
|
403
403
|
* @throws {RequiredError}
|
|
404
404
|
*/
|
|
405
|
-
energyCostAddRecordList(page, size, billCode, startTime, endTime,
|
|
405
|
+
energyCostAddRecordList(page, size, billCode, startTime, endTime, energyTypes, status, options) {
|
|
406
406
|
return __awaiter(this, void 0, void 0, function* () {
|
|
407
407
|
var _a, _b, _c;
|
|
408
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime,
|
|
408
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyTypes, status, options);
|
|
409
409
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
410
410
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
411
411
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -523,7 +523,7 @@ const EnergyCostRecordControllerApiFactory = function (configuration, basePath,
|
|
|
523
523
|
* @throws {RequiredError}
|
|
524
524
|
*/
|
|
525
525
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
526
|
-
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.
|
|
526
|
+
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
527
527
|
},
|
|
528
528
|
/**
|
|
529
529
|
*
|
|
@@ -617,7 +617,7 @@ class EnergyCostRecordControllerApi extends base_1.BaseAPI {
|
|
|
617
617
|
* @memberof EnergyCostRecordControllerApi
|
|
618
618
|
*/
|
|
619
619
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
620
|
-
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.
|
|
620
|
+
return (0, exports.EnergyCostRecordControllerApiFp)(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyTypes, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
621
621
|
}
|
|
622
622
|
/**
|
|
623
623
|
*
|
|
@@ -668,7 +668,7 @@ exports.EnergyCostRecordControllerApi = EnergyCostRecordControllerApi;
|
|
|
668
668
|
/**
|
|
669
669
|
* @export
|
|
670
670
|
*/
|
|
671
|
-
exports.
|
|
671
|
+
exports.EnergyCostAddRecordListEnergyTypesEnum = {
|
|
672
672
|
Electric: 'ELECTRIC',
|
|
673
673
|
Water: 'WATER'
|
|
674
674
|
};
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './apis/common-api';
|
|
|
19
19
|
export * from './apis/dashboard-api';
|
|
20
20
|
export * from './apis/device-api';
|
|
21
21
|
export * from './apis/disaster-warning-standard-api';
|
|
22
|
+
export * from './apis/energy-cost-analysis-controller-api';
|
|
22
23
|
export * from './apis/energy-cost-controller-api';
|
|
23
24
|
export * from './apis/energy-cost-record-controller-api';
|
|
24
25
|
export * from './apis/equipment-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -21,6 +21,7 @@ export * from './apis/common-api';
|
|
|
21
21
|
export * from './apis/dashboard-api';
|
|
22
22
|
export * from './apis/device-api';
|
|
23
23
|
export * from './apis/disaster-warning-standard-api';
|
|
24
|
+
export * from './apis/energy-cost-analysis-controller-api';
|
|
24
25
|
export * from './apis/energy-cost-controller-api';
|
|
25
26
|
export * from './apis/energy-cost-record-controller-api';
|
|
26
27
|
export * from './apis/equipment-api';
|