@gizone/rrs-client 4.2.9-alpha.679 → 4.2.9-alpha.680
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/apis/energy-cost-analysis-controller-api.ts +31 -297
- package/dist/apis/energy-cost-analysis-controller-api.d.ts +14 -174
- package/dist/apis/energy-cost-analysis-controller-api.js +29 -135
- package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +14 -174
- package/dist/esm/apis/energy-cost-analysis-controller-api.js +29 -135
- package/ossutil.log +1221 -1221
- package/package.json +1 -1
|
@@ -36,21 +36,11 @@ export declare const EnergyCostAnalysisControllerApiAxiosParamCreator: (configur
|
|
|
36
36
|
/**
|
|
37
37
|
* 获取账单分析列表数据
|
|
38
38
|
* @summary 分析列表数据-导出
|
|
39
|
-
* @param {
|
|
40
|
-
* @param {string} energyTypes 能源类型列表
|
|
41
|
-
* @param {string} [parkIds] 园区ID列表
|
|
42
|
-
* @param {string} [scenarios] 场景来源
|
|
43
|
-
* @param {string} [startTime] 开始时间
|
|
44
|
-
* @param {string} [endTime] 结束时间
|
|
45
|
-
* @param {string} [srmAreaCodes] SRM区域编码
|
|
46
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
47
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
48
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
49
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
39
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
50
40
|
* @param {*} [options] Override http request option.
|
|
51
41
|
* @throws {RequiredError}
|
|
52
42
|
*/
|
|
53
|
-
getAnalysisListExport: (
|
|
43
|
+
getAnalysisListExport: (energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
44
|
/**
|
|
55
45
|
* 获取当年各场景的用量趋势图数据
|
|
56
46
|
* @summary 用量趋势分析
|
|
@@ -86,21 +76,11 @@ export declare const EnergyCostAnalysisControllerApiAxiosParamCreator: (configur
|
|
|
86
76
|
/**
|
|
87
77
|
* 二级面板
|
|
88
78
|
* @summary 二级面板-列表导出
|
|
89
|
-
* @param {
|
|
90
|
-
* @param {string} energyTypes 能源类型列表
|
|
91
|
-
* @param {string} [parkIds] 园区ID列表
|
|
92
|
-
* @param {string} [scenarios] 场景来源
|
|
93
|
-
* @param {string} [startTime] 开始时间
|
|
94
|
-
* @param {string} [endTime] 结束时间
|
|
95
|
-
* @param {string} [srmAreaCodes] SRM区域编码
|
|
96
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
97
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
98
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
99
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
79
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
100
80
|
* @param {*} [options] Override http request option.
|
|
101
81
|
* @throws {RequiredError}
|
|
102
82
|
*/
|
|
103
|
-
twoListExport: (
|
|
83
|
+
twoListExport: (energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
84
|
/**
|
|
105
85
|
* 二级面板
|
|
106
86
|
* @summary 二级面板-获取下拉选项的园区
|
|
@@ -157,21 +137,11 @@ export declare const EnergyCostAnalysisControllerApiFp: (configuration?: Configu
|
|
|
157
137
|
/**
|
|
158
138
|
* 获取账单分析列表数据
|
|
159
139
|
* @summary 分析列表数据-导出
|
|
160
|
-
* @param {
|
|
161
|
-
* @param {string} energyTypes 能源类型列表
|
|
162
|
-
* @param {string} [parkIds] 园区ID列表
|
|
163
|
-
* @param {string} [scenarios] 场景来源
|
|
164
|
-
* @param {string} [startTime] 开始时间
|
|
165
|
-
* @param {string} [endTime] 结束时间
|
|
166
|
-
* @param {string} [srmAreaCodes] SRM区域编码
|
|
167
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
168
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
169
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
170
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
140
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
171
141
|
* @param {*} [options] Override http request option.
|
|
172
142
|
* @throws {RequiredError}
|
|
173
143
|
*/
|
|
174
|
-
getAnalysisListExport(
|
|
144
|
+
getAnalysisListExport(energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
175
145
|
/**
|
|
176
146
|
* 获取当年各场景的用量趋势图数据
|
|
177
147
|
* @summary 用量趋势分析
|
|
@@ -207,21 +177,11 @@ export declare const EnergyCostAnalysisControllerApiFp: (configuration?: Configu
|
|
|
207
177
|
/**
|
|
208
178
|
* 二级面板
|
|
209
179
|
* @summary 二级面板-列表导出
|
|
210
|
-
* @param {
|
|
211
|
-
* @param {string} energyTypes 能源类型列表
|
|
212
|
-
* @param {string} [parkIds] 园区ID列表
|
|
213
|
-
* @param {string} [scenarios] 场景来源
|
|
214
|
-
* @param {string} [startTime] 开始时间
|
|
215
|
-
* @param {string} [endTime] 结束时间
|
|
216
|
-
* @param {string} [srmAreaCodes] SRM区域编码
|
|
217
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
218
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
219
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
220
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
180
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
221
181
|
* @param {*} [options] Override http request option.
|
|
222
182
|
* @throws {RequiredError}
|
|
223
183
|
*/
|
|
224
|
-
twoListExport(
|
|
184
|
+
twoListExport(energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
225
185
|
/**
|
|
226
186
|
* 二级面板
|
|
227
187
|
* @summary 二级面板-获取下拉选项的园区
|
|
@@ -383,71 +343,11 @@ export interface EnergyCostAnalysisControllerApiGetAnalysisListRequest {
|
|
|
383
343
|
*/
|
|
384
344
|
export interface EnergyCostAnalysisControllerApiGetAnalysisListExportRequest {
|
|
385
345
|
/**
|
|
386
|
-
*
|
|
387
|
-
* @type {
|
|
388
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
389
|
-
*/
|
|
390
|
-
readonly billMonths: string;
|
|
391
|
-
/**
|
|
392
|
-
* 能源类型列表
|
|
393
|
-
* @type {string}
|
|
394
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
395
|
-
*/
|
|
396
|
-
readonly energyTypes: string;
|
|
397
|
-
/**
|
|
398
|
-
* 园区ID列表
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
401
|
-
*/
|
|
402
|
-
readonly parkIds?: string;
|
|
403
|
-
/**
|
|
404
|
-
* 场景来源
|
|
405
|
-
* @type {string}
|
|
406
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
407
|
-
*/
|
|
408
|
-
readonly scenarios?: string;
|
|
409
|
-
/**
|
|
410
|
-
* 开始时间
|
|
411
|
-
* @type {string}
|
|
412
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
413
|
-
*/
|
|
414
|
-
readonly startTime?: string;
|
|
415
|
-
/**
|
|
416
|
-
* 结束时间
|
|
417
|
-
* @type {string}
|
|
418
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
419
|
-
*/
|
|
420
|
-
readonly endTime?: string;
|
|
421
|
-
/**
|
|
422
|
-
* SRM区域编码
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
425
|
-
*/
|
|
426
|
-
readonly srmAreaCodes?: string;
|
|
427
|
-
/**
|
|
428
|
-
* SRM小微编码
|
|
429
|
-
* @type {string}
|
|
430
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
431
|
-
*/
|
|
432
|
-
readonly srmXwCodes?: string;
|
|
433
|
-
/**
|
|
434
|
-
* SRM中心编码
|
|
435
|
-
* @type {string}
|
|
436
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
437
|
-
*/
|
|
438
|
-
readonly srmCenterCodes?: string;
|
|
439
|
-
/**
|
|
440
|
-
* 应执行开始时间
|
|
441
|
-
* @type {string}
|
|
442
|
-
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
443
|
-
*/
|
|
444
|
-
readonly plannedStartTime?: string;
|
|
445
|
-
/**
|
|
446
|
-
* 应执行结束时间
|
|
447
|
-
* @type {string}
|
|
346
|
+
*
|
|
347
|
+
* @type {EnergyCostAnalysisQueryDTO}
|
|
448
348
|
* @memberof EnergyCostAnalysisControllerApiGetAnalysisListExport
|
|
449
349
|
*/
|
|
450
|
-
readonly
|
|
350
|
+
readonly energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO;
|
|
451
351
|
}
|
|
452
352
|
/**
|
|
453
353
|
* Request parameters for getUsageTrend operation in EnergyCostAnalysisControllerApi.
|
|
@@ -508,71 +408,11 @@ export interface EnergyCostAnalysisControllerApiTwoListRequest {
|
|
|
508
408
|
*/
|
|
509
409
|
export interface EnergyCostAnalysisControllerApiTwoListExportRequest {
|
|
510
410
|
/**
|
|
511
|
-
*
|
|
512
|
-
* @type {
|
|
513
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
514
|
-
*/
|
|
515
|
-
readonly billMonths: string;
|
|
516
|
-
/**
|
|
517
|
-
* 能源类型列表
|
|
518
|
-
* @type {string}
|
|
519
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
520
|
-
*/
|
|
521
|
-
readonly energyTypes: string;
|
|
522
|
-
/**
|
|
523
|
-
* 园区ID列表
|
|
524
|
-
* @type {string}
|
|
525
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
526
|
-
*/
|
|
527
|
-
readonly parkIds?: string;
|
|
528
|
-
/**
|
|
529
|
-
* 场景来源
|
|
530
|
-
* @type {string}
|
|
531
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
532
|
-
*/
|
|
533
|
-
readonly scenarios?: string;
|
|
534
|
-
/**
|
|
535
|
-
* 开始时间
|
|
536
|
-
* @type {string}
|
|
537
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
538
|
-
*/
|
|
539
|
-
readonly startTime?: string;
|
|
540
|
-
/**
|
|
541
|
-
* 结束时间
|
|
542
|
-
* @type {string}
|
|
543
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
544
|
-
*/
|
|
545
|
-
readonly endTime?: string;
|
|
546
|
-
/**
|
|
547
|
-
* SRM区域编码
|
|
548
|
-
* @type {string}
|
|
549
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
550
|
-
*/
|
|
551
|
-
readonly srmAreaCodes?: string;
|
|
552
|
-
/**
|
|
553
|
-
* SRM小微编码
|
|
554
|
-
* @type {string}
|
|
555
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
556
|
-
*/
|
|
557
|
-
readonly srmXwCodes?: string;
|
|
558
|
-
/**
|
|
559
|
-
* SRM中心编码
|
|
560
|
-
* @type {string}
|
|
561
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
562
|
-
*/
|
|
563
|
-
readonly srmCenterCodes?: string;
|
|
564
|
-
/**
|
|
565
|
-
* 应执行开始时间
|
|
566
|
-
* @type {string}
|
|
567
|
-
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
568
|
-
*/
|
|
569
|
-
readonly plannedStartTime?: string;
|
|
570
|
-
/**
|
|
571
|
-
* 应执行结束时间
|
|
572
|
-
* @type {string}
|
|
411
|
+
*
|
|
412
|
+
* @type {EnergyCostAnalysisQueryDTO}
|
|
573
413
|
* @memberof EnergyCostAnalysisControllerApiTwoListExport
|
|
574
414
|
*/
|
|
575
|
-
readonly
|
|
415
|
+
readonly energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO;
|
|
576
416
|
}
|
|
577
417
|
/**
|
|
578
418
|
* Request parameters for twoPerAreaAnalysis operation in EnergyCostAnalysisControllerApi.
|
|
@@ -71,25 +71,13 @@ const EnergyCostAnalysisControllerApiAxiosParamCreator = function (configuration
|
|
|
71
71
|
/**
|
|
72
72
|
* 获取账单分析列表数据
|
|
73
73
|
* @summary 分析列表数据-导出
|
|
74
|
-
* @param {
|
|
75
|
-
* @param {
|
|
76
|
-
* @
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
82
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
83
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
84
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
85
|
-
* @param {*} [options] Override http request option.
|
|
86
|
-
* @throws {RequiredError}
|
|
87
|
-
*/
|
|
88
|
-
getAnalysisListExport: (billMonths_1, energyTypes_1, parkIds_1, scenarios_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1) => __awaiter(this, [billMonths_1, energyTypes_1, parkIds_1, scenarios_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1], void 0, function* (billMonths, energyTypes, parkIds, scenarios, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options = {}) {
|
|
89
|
-
// verify required parameter 'billMonths' is not null or undefined
|
|
90
|
-
(0, common_1.assertParamExists)('getAnalysisListExport', 'billMonths', billMonths);
|
|
91
|
-
// verify required parameter 'energyTypes' is not null or undefined
|
|
92
|
-
(0, common_1.assertParamExists)('getAnalysisListExport', 'energyTypes', energyTypes);
|
|
74
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
getAnalysisListExport: (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)('getAnalysisListExport', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
93
81
|
const localVarPath = `/gizone/energy/cost/analysis/list/export`;
|
|
94
82
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95
83
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -97,48 +85,17 @@ const EnergyCostAnalysisControllerApiAxiosParamCreator = function (configuration
|
|
|
97
85
|
if (configuration) {
|
|
98
86
|
baseOptions = configuration.baseOptions;
|
|
99
87
|
}
|
|
100
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
101
89
|
const localVarHeaderParameter = {};
|
|
102
90
|
const localVarQueryParameter = {};
|
|
103
91
|
// authentication tokenScheme required
|
|
104
92
|
// http bearer authentication required
|
|
105
93
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
106
|
-
|
|
107
|
-
localVarQueryParameter['billMonths'] = billMonths;
|
|
108
|
-
}
|
|
109
|
-
if (energyTypes !== undefined) {
|
|
110
|
-
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
111
|
-
}
|
|
112
|
-
if (parkIds !== undefined) {
|
|
113
|
-
localVarQueryParameter['parkIds'] = parkIds;
|
|
114
|
-
}
|
|
115
|
-
if (scenarios !== undefined) {
|
|
116
|
-
localVarQueryParameter['scenarios'] = scenarios;
|
|
117
|
-
}
|
|
118
|
-
if (startTime !== undefined) {
|
|
119
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
120
|
-
}
|
|
121
|
-
if (endTime !== undefined) {
|
|
122
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
123
|
-
}
|
|
124
|
-
if (srmAreaCodes !== undefined) {
|
|
125
|
-
localVarQueryParameter['srmAreaCodes'] = srmAreaCodes;
|
|
126
|
-
}
|
|
127
|
-
if (srmXwCodes !== undefined) {
|
|
128
|
-
localVarQueryParameter['srmXwCodes'] = srmXwCodes;
|
|
129
|
-
}
|
|
130
|
-
if (srmCenterCodes !== undefined) {
|
|
131
|
-
localVarQueryParameter['srmCenterCodes'] = srmCenterCodes;
|
|
132
|
-
}
|
|
133
|
-
if (plannedStartTime !== undefined) {
|
|
134
|
-
localVarQueryParameter['plannedStartTime'] = plannedStartTime;
|
|
135
|
-
}
|
|
136
|
-
if (plannedEndTime !== undefined) {
|
|
137
|
-
localVarQueryParameter['plannedEndTime'] = plannedEndTime;
|
|
138
|
-
}
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
139
95
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
96
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
97
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
142
99
|
return {
|
|
143
100
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
144
101
|
options: localVarRequestOptions,
|
|
@@ -279,25 +236,13 @@ const EnergyCostAnalysisControllerApiAxiosParamCreator = function (configuration
|
|
|
279
236
|
/**
|
|
280
237
|
* 二级面板
|
|
281
238
|
* @summary 二级面板-列表导出
|
|
282
|
-
* @param {
|
|
283
|
-
* @param {
|
|
284
|
-
* @
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
290
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
291
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
292
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
293
|
-
* @param {*} [options] Override http request option.
|
|
294
|
-
* @throws {RequiredError}
|
|
295
|
-
*/
|
|
296
|
-
twoListExport: (billMonths_1, energyTypes_1, parkIds_1, scenarios_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1) => __awaiter(this, [billMonths_1, energyTypes_1, parkIds_1, scenarios_1, startTime_1, endTime_1, srmAreaCodes_1, srmXwCodes_1, srmCenterCodes_1, plannedStartTime_1, plannedEndTime_1, ...args_1], void 0, function* (billMonths, energyTypes, parkIds, scenarios, startTime, endTime, srmAreaCodes, srmXwCodes, srmCenterCodes, plannedStartTime, plannedEndTime, options = {}) {
|
|
297
|
-
// verify required parameter 'billMonths' is not null or undefined
|
|
298
|
-
(0, common_1.assertParamExists)('twoListExport', 'billMonths', billMonths);
|
|
299
|
-
// verify required parameter 'energyTypes' is not null or undefined
|
|
300
|
-
(0, common_1.assertParamExists)('twoListExport', 'energyTypes', energyTypes);
|
|
239
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
twoListExport: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
|
|
244
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
245
|
+
(0, common_1.assertParamExists)('twoListExport', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
301
246
|
const localVarPath = `/gizone/energy/cost/analysis/two-list/export`;
|
|
302
247
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
303
248
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -311,42 +256,11 @@ const EnergyCostAnalysisControllerApiAxiosParamCreator = function (configuration
|
|
|
311
256
|
// authentication tokenScheme required
|
|
312
257
|
// http bearer authentication required
|
|
313
258
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
314
|
-
|
|
315
|
-
localVarQueryParameter['billMonths'] = billMonths;
|
|
316
|
-
}
|
|
317
|
-
if (energyTypes !== undefined) {
|
|
318
|
-
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
319
|
-
}
|
|
320
|
-
if (parkIds !== undefined) {
|
|
321
|
-
localVarQueryParameter['parkIds'] = parkIds;
|
|
322
|
-
}
|
|
323
|
-
if (scenarios !== undefined) {
|
|
324
|
-
localVarQueryParameter['scenarios'] = scenarios;
|
|
325
|
-
}
|
|
326
|
-
if (startTime !== undefined) {
|
|
327
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
328
|
-
}
|
|
329
|
-
if (endTime !== undefined) {
|
|
330
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
331
|
-
}
|
|
332
|
-
if (srmAreaCodes !== undefined) {
|
|
333
|
-
localVarQueryParameter['srmAreaCodes'] = srmAreaCodes;
|
|
334
|
-
}
|
|
335
|
-
if (srmXwCodes !== undefined) {
|
|
336
|
-
localVarQueryParameter['srmXwCodes'] = srmXwCodes;
|
|
337
|
-
}
|
|
338
|
-
if (srmCenterCodes !== undefined) {
|
|
339
|
-
localVarQueryParameter['srmCenterCodes'] = srmCenterCodes;
|
|
340
|
-
}
|
|
341
|
-
if (plannedStartTime !== undefined) {
|
|
342
|
-
localVarQueryParameter['plannedStartTime'] = plannedStartTime;
|
|
343
|
-
}
|
|
344
|
-
if (plannedEndTime !== undefined) {
|
|
345
|
-
localVarQueryParameter['plannedEndTime'] = plannedEndTime;
|
|
346
|
-
}
|
|
259
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
347
260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
348
261
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
349
262
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
263
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
350
264
|
return {
|
|
351
265
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
352
266
|
options: localVarRequestOptions,
|
|
@@ -541,24 +455,14 @@ const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
|
541
455
|
/**
|
|
542
456
|
* 获取账单分析列表数据
|
|
543
457
|
* @summary 分析列表数据-导出
|
|
544
|
-
* @param {
|
|
545
|
-
* @param {string} energyTypes 能源类型列表
|
|
546
|
-
* @param {string} [parkIds] 园区ID列表
|
|
547
|
-
* @param {string} [scenarios] 场景来源
|
|
548
|
-
* @param {string} [startTime] 开始时间
|
|
549
|
-
* @param {string} [endTime] 结束时间
|
|
550
|
-
* @param {string} [srmAreaCodes] SRM区域编码
|
|
551
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
552
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
553
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
554
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
458
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
555
459
|
* @param {*} [options] Override http request option.
|
|
556
460
|
* @throws {RequiredError}
|
|
557
461
|
*/
|
|
558
|
-
getAnalysisListExport(
|
|
462
|
+
getAnalysisListExport(energyCostAnalysisQueryDTO, options) {
|
|
559
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
560
464
|
var _a, _b, _c;
|
|
561
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnalysisListExport(
|
|
465
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnalysisListExport(energyCostAnalysisQueryDTO, options);
|
|
562
466
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
563
467
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
564
468
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -631,24 +535,14 @@ const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
|
631
535
|
/**
|
|
632
536
|
* 二级面板
|
|
633
537
|
* @summary 二级面板-列表导出
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {string} energyTypes 能源类型列表
|
|
636
|
-
* @param {string} [parkIds] 园区ID列表
|
|
637
|
-
* @param {string} [scenarios] 场景来源
|
|
638
|
-
* @param {string} [startTime] 开始时间
|
|
639
|
-
* @param {string} [endTime] 结束时间
|
|
640
|
-
* @param {string} [srmAreaCodes] SRM区域编码
|
|
641
|
-
* @param {string} [srmXwCodes] SRM小微编码
|
|
642
|
-
* @param {string} [srmCenterCodes] SRM中心编码
|
|
643
|
-
* @param {string} [plannedStartTime] 应执行开始时间
|
|
644
|
-
* @param {string} [plannedEndTime] 应执行结束时间
|
|
538
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
645
539
|
* @param {*} [options] Override http request option.
|
|
646
540
|
* @throws {RequiredError}
|
|
647
541
|
*/
|
|
648
|
-
twoListExport(
|
|
542
|
+
twoListExport(energyCostAnalysisQueryDTO, options) {
|
|
649
543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
650
544
|
var _a, _b, _c;
|
|
651
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.twoListExport(
|
|
545
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.twoListExport(energyCostAnalysisQueryDTO, options);
|
|
652
546
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
653
547
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostAnalysisControllerApi.twoListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
654
548
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -761,7 +655,7 @@ const EnergyCostAnalysisControllerApiFactory = function (configuration, basePath
|
|
|
761
655
|
* @throws {RequiredError}
|
|
762
656
|
*/
|
|
763
657
|
getAnalysisListExport(requestParameters, options) {
|
|
764
|
-
return localVarFp.getAnalysisListExport(requestParameters.
|
|
658
|
+
return localVarFp.getAnalysisListExport(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
765
659
|
},
|
|
766
660
|
/**
|
|
767
661
|
* 获取当年各场景的用量趋势图数据
|
|
@@ -811,7 +705,7 @@ const EnergyCostAnalysisControllerApiFactory = function (configuration, basePath
|
|
|
811
705
|
* @throws {RequiredError}
|
|
812
706
|
*/
|
|
813
707
|
twoListExport(requestParameters, options) {
|
|
814
|
-
return localVarFp.twoListExport(requestParameters.
|
|
708
|
+
return localVarFp.twoListExport(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
815
709
|
},
|
|
816
710
|
/**
|
|
817
711
|
* 二级面板
|
|
@@ -892,7 +786,7 @@ class EnergyCostAnalysisControllerApi extends base_1.BaseAPI {
|
|
|
892
786
|
* @memberof EnergyCostAnalysisControllerApi
|
|
893
787
|
*/
|
|
894
788
|
getAnalysisListExport(requestParameters, options) {
|
|
895
|
-
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).getAnalysisListExport(requestParameters.
|
|
789
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).getAnalysisListExport(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
896
790
|
}
|
|
897
791
|
/**
|
|
898
792
|
* 获取当年各场景的用量趋势图数据
|
|
@@ -947,7 +841,7 @@ class EnergyCostAnalysisControllerApi extends base_1.BaseAPI {
|
|
|
947
841
|
* @memberof EnergyCostAnalysisControllerApi
|
|
948
842
|
*/
|
|
949
843
|
twoListExport(requestParameters, options) {
|
|
950
|
-
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).twoListExport(requestParameters.
|
|
844
|
+
return (0, exports.EnergyCostAnalysisControllerApiFp)(this.configuration).twoListExport(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
951
845
|
}
|
|
952
846
|
/**
|
|
953
847
|
* 二级面板
|