@gizone/rrs-client 4.2.9-alpha.558 → 4.2.9-alpha.563

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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/apis/energy-cost-analysis-controller-api.ts +449 -0
  3. package/apis/energy-cost-controller-api.ts +89 -0
  4. package/dist/apis/energy-cost-analysis-controller-api.d.ts +232 -0
  5. package/dist/apis/energy-cost-analysis-controller-api.js +350 -0
  6. package/dist/apis/energy-cost-controller-api.d.ts +47 -0
  7. package/dist/apis/energy-cost-controller-api.js +68 -0
  8. package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +232 -0
  9. package/dist/esm/apis/energy-cost-analysis-controller-api.js +350 -0
  10. package/dist/esm/apis/energy-cost-controller-api.d.ts +47 -0
  11. package/dist/esm/apis/energy-cost-controller-api.js +68 -0
  12. package/dist/esm/models/energy-cost-add-record-dto.d.ts +2 -2
  13. package/dist/esm/models/energy-cost-analysis-query-dto.d.ts +6 -0
  14. package/dist/esm/models/energy-cost-two-list-vo.d.ts +114 -0
  15. package/dist/esm/models/energy-cost-two-list-vo.js +14 -0
  16. package/dist/esm/models/index.d.ts +4 -0
  17. package/dist/esm/models/index.js +4 -0
  18. package/dist/esm/models/json-result-list-energy-cost-two-list-vo.d.ts +62 -0
  19. package/dist/esm/models/json-result-list-energy-cost-two-list-vo.js +14 -0
  20. package/dist/esm/models/json-result-two-energy-consumption-summar-vo.d.ts +62 -0
  21. package/dist/esm/models/json-result-two-energy-consumption-summar-vo.js +14 -0
  22. package/dist/esm/models/sys-user.d.ts +4 -4
  23. package/dist/esm/models/two-energy-consumption-summar-vo.d.ts +30 -0
  24. package/dist/esm/models/two-energy-consumption-summar-vo.js +14 -0
  25. package/dist/models/energy-cost-add-record-dto.d.ts +2 -2
  26. package/dist/models/energy-cost-analysis-query-dto.d.ts +6 -0
  27. package/dist/models/energy-cost-two-list-vo.d.ts +114 -0
  28. package/dist/models/energy-cost-two-list-vo.js +15 -0
  29. package/dist/models/index.d.ts +4 -0
  30. package/dist/models/index.js +4 -0
  31. package/dist/models/json-result-list-energy-cost-two-list-vo.d.ts +62 -0
  32. package/dist/models/json-result-list-energy-cost-two-list-vo.js +15 -0
  33. package/dist/models/json-result-two-energy-consumption-summar-vo.d.ts +62 -0
  34. package/dist/models/json-result-two-energy-consumption-summar-vo.js +15 -0
  35. package/dist/models/sys-user.d.ts +4 -4
  36. package/dist/models/two-energy-consumption-summar-vo.d.ts +30 -0
  37. package/dist/models/two-energy-consumption-summar-vo.js +15 -0
  38. package/models/energy-cost-add-record-dto.ts +2 -2
  39. package/models/energy-cost-analysis-query-dto.ts +6 -0
  40. package/models/energy-cost-two-list-vo.ts +120 -0
  41. package/models/index.ts +4 -0
  42. package/models/json-result-list-energy-cost-two-list-vo.ts +72 -0
  43. package/models/json-result-two-energy-consumption-summar-vo.ts +72 -0
  44. package/models/sys-user.ts +4 -4
  45. package/models/two-energy-consumption-summar-vo.ts +36 -0
  46. package/ossutil.log +1089 -1086
  47. package/package.json +1 -1
@@ -164,6 +164,171 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
164
164
  options: localVarRequestOptions,
165
165
  };
166
166
  }),
167
+ /**
168
+ * 二级面板
169
+ * @summary 二级面板-用能汇总
170
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ twoEnergyConsumptionSummar: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
175
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
176
+ assertParamExists('twoEnergyConsumptionSummar', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
177
+ const localVarPath = `/gizone/energy/cost/analysis/two-energy-consumption-summar`;
178
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
+ let baseOptions;
181
+ if (configuration) {
182
+ baseOptions = configuration.baseOptions;
183
+ }
184
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
185
+ const localVarHeaderParameter = {};
186
+ const localVarQueryParameter = {};
187
+ // authentication tokenScheme required
188
+ // http bearer authentication required
189
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
190
+ localVarHeaderParameter['Content-Type'] = 'application/json';
191
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
193
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
194
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
195
+ return {
196
+ url: toPathString(localVarUrlObj),
197
+ options: localVarRequestOptions,
198
+ };
199
+ }),
200
+ /**
201
+ * 二级面板
202
+ * @summary 二级面板-列表
203
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ twoList: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
208
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
209
+ assertParamExists('twoList', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
210
+ const localVarPath = `/gizone/energy/cost/analysis/two-list`;
211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
+ let baseOptions;
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ }
217
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
218
+ const localVarHeaderParameter = {};
219
+ const localVarQueryParameter = {};
220
+ // authentication tokenScheme required
221
+ // http bearer authentication required
222
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
223
+ localVarHeaderParameter['Content-Type'] = 'application/json';
224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
226
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
227
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
228
+ return {
229
+ url: toPathString(localVarUrlObj),
230
+ options: localVarRequestOptions,
231
+ };
232
+ }),
233
+ /**
234
+ * 二级面板
235
+ * @summary 二级面板-单平单价分析
236
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ twoPerAreaAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
241
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
242
+ assertParamExists('twoPerAreaAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
243
+ const localVarPath = `/gizone/energy/cost/analysis/two-per-area-analysis`;
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ if (configuration) {
248
+ baseOptions = configuration.baseOptions;
249
+ }
250
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
251
+ const localVarHeaderParameter = {};
252
+ const localVarQueryParameter = {};
253
+ // authentication tokenScheme required
254
+ // http bearer authentication required
255
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
256
+ localVarHeaderParameter['Content-Type'] = 'application/json';
257
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
258
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
259
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
260
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
261
+ return {
262
+ url: toPathString(localVarUrlObj),
263
+ options: localVarRequestOptions,
264
+ };
265
+ }),
266
+ /**
267
+ * 二级面板
268
+ * @summary 二级面板-单耗分析
269
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ twoPerUnitAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
274
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
275
+ assertParamExists('twoPerUnitAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
276
+ const localVarPath = `/gizone/energy/cost/analysis/two-per-unit-analysis`;
277
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
278
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
279
+ let baseOptions;
280
+ if (configuration) {
281
+ baseOptions = configuration.baseOptions;
282
+ }
283
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
284
+ const localVarHeaderParameter = {};
285
+ const localVarQueryParameter = {};
286
+ // authentication tokenScheme required
287
+ // http bearer authentication required
288
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
289
+ localVarHeaderParameter['Content-Type'] = 'application/json';
290
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
291
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
293
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
294
+ return {
295
+ url: toPathString(localVarUrlObj),
296
+ options: localVarRequestOptions,
297
+ };
298
+ }),
299
+ /**
300
+ * 二级面板
301
+ * @summary 二级面板-单价分析
302
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
303
+ * @param {*} [options] Override http request option.
304
+ * @throws {RequiredError}
305
+ */
306
+ twoUnitPriceAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
307
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
308
+ assertParamExists('twoUnitPriceAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
309
+ const localVarPath = `/gizone/energy/cost/analysis/two-unit-price-analysis`;
310
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
311
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
312
+ let baseOptions;
313
+ if (configuration) {
314
+ baseOptions = configuration.baseOptions;
315
+ }
316
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
317
+ const localVarHeaderParameter = {};
318
+ const localVarQueryParameter = {};
319
+ // authentication tokenScheme required
320
+ // http bearer authentication required
321
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
322
+ localVarHeaderParameter['Content-Type'] = 'application/json';
323
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
324
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
325
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
326
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
327
+ return {
328
+ url: toPathString(localVarUrlObj),
329
+ options: localVarRequestOptions,
330
+ };
331
+ }),
167
332
  /**
168
333
  * 计算园区平均单价,包括当期、年平均、上月等指标
169
334
  * @summary 单价分析
@@ -270,6 +435,86 @@ export const EnergyCostAnalysisControllerApiFp = function (configuration) {
270
435
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
271
436
  });
272
437
  },
438
+ /**
439
+ * 二级面板
440
+ * @summary 二级面板-用能汇总
441
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ */
445
+ twoEnergyConsumptionSummar(energyCostAnalysisQueryDTO, options) {
446
+ return __awaiter(this, void 0, void 0, function* () {
447
+ var _a, _b, _c;
448
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoEnergyConsumptionSummar(energyCostAnalysisQueryDTO, options);
449
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
450
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoEnergyConsumptionSummar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
451
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
452
+ });
453
+ },
454
+ /**
455
+ * 二级面板
456
+ * @summary 二级面板-列表
457
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
458
+ * @param {*} [options] Override http request option.
459
+ * @throws {RequiredError}
460
+ */
461
+ twoList(energyCostAnalysisQueryDTO, options) {
462
+ return __awaiter(this, void 0, void 0, function* () {
463
+ var _a, _b, _c;
464
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoList(energyCostAnalysisQueryDTO, options);
465
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
466
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
467
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
468
+ });
469
+ },
470
+ /**
471
+ * 二级面板
472
+ * @summary 二级面板-单平单价分析
473
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ */
477
+ twoPerAreaAnalysis(energyCostAnalysisQueryDTO, options) {
478
+ return __awaiter(this, void 0, void 0, function* () {
479
+ var _a, _b, _c;
480
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoPerAreaAnalysis(energyCostAnalysisQueryDTO, options);
481
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
482
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoPerAreaAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
483
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
484
+ });
485
+ },
486
+ /**
487
+ * 二级面板
488
+ * @summary 二级面板-单耗分析
489
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ twoPerUnitAnalysis(energyCostAnalysisQueryDTO, options) {
494
+ return __awaiter(this, void 0, void 0, function* () {
495
+ var _a, _b, _c;
496
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoPerUnitAnalysis(energyCostAnalysisQueryDTO, options);
497
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
498
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoPerUnitAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
499
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
500
+ });
501
+ },
502
+ /**
503
+ * 二级面板
504
+ * @summary 二级面板-单价分析
505
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
506
+ * @param {*} [options] Override http request option.
507
+ * @throws {RequiredError}
508
+ */
509
+ twoUnitPriceAnalysis(energyCostAnalysisQueryDTO, options) {
510
+ return __awaiter(this, void 0, void 0, function* () {
511
+ var _a, _b, _c;
512
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoUnitPriceAnalysis(energyCostAnalysisQueryDTO, options);
513
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
514
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoUnitPriceAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
515
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
516
+ });
517
+ },
273
518
  /**
274
519
  * 计算园区平均单价,包括当期、年平均、上月等指标
275
520
  * @summary 单价分析
@@ -335,6 +580,56 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration, b
335
580
  perUnitAnalysis(requestParameters, options) {
336
581
  return localVarFp.perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
337
582
  },
583
+ /**
584
+ * 二级面板
585
+ * @summary 二级面板-用能汇总
586
+ * @param {EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarRequest} requestParameters Request parameters.
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ */
590
+ twoEnergyConsumptionSummar(requestParameters, options) {
591
+ return localVarFp.twoEnergyConsumptionSummar(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
592
+ },
593
+ /**
594
+ * 二级面板
595
+ * @summary 二级面板-列表
596
+ * @param {EnergyCostAnalysisControllerApiTwoListRequest} requestParameters Request parameters.
597
+ * @param {*} [options] Override http request option.
598
+ * @throws {RequiredError}
599
+ */
600
+ twoList(requestParameters, options) {
601
+ return localVarFp.twoList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
602
+ },
603
+ /**
604
+ * 二级面板
605
+ * @summary 二级面板-单平单价分析
606
+ * @param {EnergyCostAnalysisControllerApiTwoPerAreaAnalysisRequest} requestParameters Request parameters.
607
+ * @param {*} [options] Override http request option.
608
+ * @throws {RequiredError}
609
+ */
610
+ twoPerAreaAnalysis(requestParameters, options) {
611
+ return localVarFp.twoPerAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
612
+ },
613
+ /**
614
+ * 二级面板
615
+ * @summary 二级面板-单耗分析
616
+ * @param {EnergyCostAnalysisControllerApiTwoPerUnitAnalysisRequest} requestParameters Request parameters.
617
+ * @param {*} [options] Override http request option.
618
+ * @throws {RequiredError}
619
+ */
620
+ twoPerUnitAnalysis(requestParameters, options) {
621
+ return localVarFp.twoPerUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
622
+ },
623
+ /**
624
+ * 二级面板
625
+ * @summary 二级面板-单价分析
626
+ * @param {EnergyCostAnalysisControllerApiTwoUnitPriceAnalysisRequest} requestParameters Request parameters.
627
+ * @param {*} [options] Override http request option.
628
+ * @throws {RequiredError}
629
+ */
630
+ twoUnitPriceAnalysis(requestParameters, options) {
631
+ return localVarFp.twoUnitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
632
+ },
338
633
  /**
339
634
  * 计算园区平均单价,包括当期、年平均、上月等指标
340
635
  * @summary 单价分析
@@ -398,6 +693,61 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
398
693
  perUnitAnalysis(requestParameters, options) {
399
694
  return EnergyCostAnalysisControllerApiFp(this.configuration).perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
400
695
  }
696
+ /**
697
+ * 二级面板
698
+ * @summary 二级面板-用能汇总
699
+ * @param {EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarRequest} requestParameters Request parameters.
700
+ * @param {*} [options] Override http request option.
701
+ * @throws {RequiredError}
702
+ * @memberof EnergyCostAnalysisControllerApi
703
+ */
704
+ twoEnergyConsumptionSummar(requestParameters, options) {
705
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoEnergyConsumptionSummar(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
706
+ }
707
+ /**
708
+ * 二级面板
709
+ * @summary 二级面板-列表
710
+ * @param {EnergyCostAnalysisControllerApiTwoListRequest} requestParameters Request parameters.
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ * @memberof EnergyCostAnalysisControllerApi
714
+ */
715
+ twoList(requestParameters, options) {
716
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
717
+ }
718
+ /**
719
+ * 二级面板
720
+ * @summary 二级面板-单平单价分析
721
+ * @param {EnergyCostAnalysisControllerApiTwoPerAreaAnalysisRequest} requestParameters Request parameters.
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ * @memberof EnergyCostAnalysisControllerApi
725
+ */
726
+ twoPerAreaAnalysis(requestParameters, options) {
727
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoPerAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
728
+ }
729
+ /**
730
+ * 二级面板
731
+ * @summary 二级面板-单耗分析
732
+ * @param {EnergyCostAnalysisControllerApiTwoPerUnitAnalysisRequest} requestParameters Request parameters.
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ * @memberof EnergyCostAnalysisControllerApi
736
+ */
737
+ twoPerUnitAnalysis(requestParameters, options) {
738
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoPerUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
739
+ }
740
+ /**
741
+ * 二级面板
742
+ * @summary 二级面板-单价分析
743
+ * @param {EnergyCostAnalysisControllerApiTwoUnitPriceAnalysisRequest} requestParameters Request parameters.
744
+ * @param {*} [options] Override http request option.
745
+ * @throws {RequiredError}
746
+ * @memberof EnergyCostAnalysisControllerApi
747
+ */
748
+ twoUnitPriceAnalysis(requestParameters, options) {
749
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoUnitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
750
+ }
401
751
  /**
402
752
  * 计算园区平均单价,包括当期、年平均、上月等指标
403
753
  * @summary 单价分析
@@ -20,6 +20,7 @@ import type { EnergyCostUpdateSettingDTO } from '../models';
20
20
  import type { JsonResult } from '../models';
21
21
  import type { JsonResultListEnergyCostMonthSettingListSummaryStandardsVO } from '../models';
22
22
  import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
23
+ import type { UserBatchImportUploadRequest } from '../models';
23
24
  /**
24
25
  * EnergyCostControllerApi - axios parameter creator
25
26
  * @export
@@ -85,6 +86,14 @@ export declare const EnergyCostControllerApiAxiosParamCreator: (configuration?:
85
86
  * @throws {RequiredError}
86
87
  */
87
88
  energyCostMonthSettingUpdate: (energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89
+ /**
90
+ *
91
+ * @summary 能源费用管理设置-导入
92
+ * @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ importData1: (userBatchImportUploadRequest?: UserBatchImportUploadRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
88
97
  };
89
98
  /**
90
99
  * EnergyCostControllerApi - functional programming interface
@@ -151,6 +160,14 @@ export declare const EnergyCostControllerApiFp: (configuration?: Configuration)
151
160
  * @throws {RequiredError}
152
161
  */
153
162
  energyCostMonthSettingUpdate(energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
163
+ /**
164
+ *
165
+ * @summary 能源费用管理设置-导入
166
+ * @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ importData1(userBatchImportUploadRequest?: UserBatchImportUploadRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
154
171
  };
155
172
  /**
156
173
  * EnergyCostControllerApi - factory interface
@@ -213,6 +230,14 @@ export declare const EnergyCostControllerApiFactory: (configuration?: Configurat
213
230
  * @throws {RequiredError}
214
231
  */
215
232
  energyCostMonthSettingUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
233
+ /**
234
+ *
235
+ * @summary 能源费用管理设置-导入
236
+ * @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ importData1(requestParameters?: EnergyCostControllerApiImportData1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
216
241
  };
217
242
  /**
218
243
  * Request parameters for energyCostMonthSettingAdd operation in EnergyCostControllerApi.
@@ -329,6 +354,19 @@ export interface EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest {
329
354
  */
330
355
  readonly energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO;
331
356
  }
357
+ /**
358
+ * Request parameters for importData1 operation in EnergyCostControllerApi.
359
+ * @export
360
+ * @interface EnergyCostControllerApiImportData1Request
361
+ */
362
+ export interface EnergyCostControllerApiImportData1Request {
363
+ /**
364
+ *
365
+ * @type {UserBatchImportUploadRequest}
366
+ * @memberof EnergyCostControllerApiImportData1
367
+ */
368
+ readonly userBatchImportUploadRequest?: UserBatchImportUploadRequest;
369
+ }
332
370
  /**
333
371
  * EnergyCostControllerApi - object-oriented interface
334
372
  * @export
@@ -399,6 +437,15 @@ export declare class EnergyCostControllerApi extends BaseAPI {
399
437
  * @memberof EnergyCostControllerApi
400
438
  */
401
439
  energyCostMonthSettingUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
440
+ /**
441
+ *
442
+ * @summary 能源费用管理设置-导入
443
+ * @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ * @memberof EnergyCostControllerApi
447
+ */
448
+ importData1(requestParameters?: EnergyCostControllerApiImportData1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
402
449
  }
403
450
  /**
404
451
  * @export
@@ -281,6 +281,37 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
281
281
  options: localVarRequestOptions,
282
282
  };
283
283
  }),
284
+ /**
285
+ *
286
+ * @summary 能源费用管理设置-导入
287
+ * @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ importData1: (userBatchImportUploadRequest_1, ...args_1) => __awaiter(this, [userBatchImportUploadRequest_1, ...args_1], void 0, function* (userBatchImportUploadRequest, options = {}) {
292
+ const localVarPath = `/gizone/energy/cost/month/import`;
293
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
294
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
295
+ let baseOptions;
296
+ if (configuration) {
297
+ baseOptions = configuration.baseOptions;
298
+ }
299
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
300
+ const localVarHeaderParameter = {};
301
+ const localVarQueryParameter = {};
302
+ // authentication tokenScheme required
303
+ // http bearer authentication required
304
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
305
+ localVarHeaderParameter['Content-Type'] = 'application/json';
306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
308
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
309
+ localVarRequestOptions.data = serializeDataIfNeeded(userBatchImportUploadRequest, localVarRequestOptions, configuration);
310
+ return {
311
+ url: toPathString(localVarUrlObj),
312
+ options: localVarRequestOptions,
313
+ };
314
+ }),
284
315
  };
285
316
  };
286
317
  /**
@@ -406,6 +437,22 @@ export const EnergyCostControllerApiFp = function (configuration) {
406
437
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
407
438
  });
408
439
  },
440
+ /**
441
+ *
442
+ * @summary 能源费用管理设置-导入
443
+ * @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ */
447
+ importData1(userBatchImportUploadRequest, options) {
448
+ return __awaiter(this, void 0, void 0, function* () {
449
+ var _a, _b, _c;
450
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.importData1(userBatchImportUploadRequest, options);
451
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
452
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.importData1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
453
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
454
+ });
455
+ },
409
456
  };
410
457
  };
411
458
  /**
@@ -485,6 +532,16 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
485
532
  energyCostMonthSettingUpdate(requestParameters, options) {
486
533
  return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
487
534
  },
535
+ /**
536
+ *
537
+ * @summary 能源费用管理设置-导入
538
+ * @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
539
+ * @param {*} [options] Override http request option.
540
+ * @throws {RequiredError}
541
+ */
542
+ importData1(requestParameters = {}, options) {
543
+ return localVarFp.importData1(requestParameters.userBatchImportUploadRequest, options).then((request) => request(axios, basePath));
544
+ },
488
545
  };
489
546
  };
490
547
  /**
@@ -571,6 +628,17 @@ export class EnergyCostControllerApi extends BaseAPI {
571
628
  energyCostMonthSettingUpdate(requestParameters, options) {
572
629
  return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
573
630
  }
631
+ /**
632
+ *
633
+ * @summary 能源费用管理设置-导入
634
+ * @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
635
+ * @param {*} [options] Override http request option.
636
+ * @throws {RequiredError}
637
+ * @memberof EnergyCostControllerApi
638
+ */
639
+ importData1(requestParameters = {}, options) {
640
+ return EnergyCostControllerApiFp(this.configuration).importData1(requestParameters.userBatchImportUploadRequest, options).then((request) => request(this.axios, this.basePath));
641
+ }
574
642
  }
575
643
  /**
576
644
  * @export
@@ -82,13 +82,13 @@ export interface EnergyCostAddRecordDTO {
82
82
  * @type {number}
83
83
  * @memberof EnergyCostAddRecordDTO
84
84
  */
85
- 'powerFactorSurcharge': number;
85
+ 'powerFactorSurcharge'?: number;
86
86
  /**
87
87
  * 调前电费
88
88
  * @type {number}
89
89
  * @memberof EnergyCostAddRecordDTO
90
90
  */
91
- 'billAmountBefore': number;
91
+ 'billAmountBefore'?: number;
92
92
  /**
93
93
  * 单价
94
94
  * @type {number}
@@ -75,6 +75,12 @@ export interface EnergyCostAnalysisQueryDTO {
75
75
  * @memberof EnergyCostAnalysisQueryDTO
76
76
  */
77
77
  'energyTypes': Array<EnergyCostAnalysisQueryDTOEnergyTypesEnum>;
78
+ /**
79
+ * 场景来源
80
+ * @type {Array<string>}
81
+ * @memberof EnergyCostAnalysisQueryDTO
82
+ */
83
+ 'billSource'?: Array<string>;
78
84
  }
79
85
  export declare const EnergyCostAnalysisQueryDTOEnergyTypesEnum: {
80
86
  readonly Electric: "ELECTRIC";