@gizone/rrs-client 4.2.9-alpha.561 → 4.2.9-alpha.564
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 +2 -0
- package/apis/energy-cost-analysis-controller-api.ts +91 -0
- package/apis/energy-cost-controller-api.ts +89 -0
- package/dist/apis/energy-cost-analysis-controller-api.d.ts +47 -0
- package/dist/apis/energy-cost-analysis-controller-api.js +70 -0
- package/dist/apis/energy-cost-controller-api.d.ts +47 -0
- package/dist/apis/energy-cost-controller-api.js +68 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +47 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.js +70 -0
- package/dist/esm/apis/energy-cost-controller-api.d.ts +47 -0
- package/dist/esm/apis/energy-cost-controller-api.js +68 -0
- package/dist/esm/models/energy-cost-analysis-query-dto.d.ts +6 -0
- package/dist/esm/models/energy-cost-two-list-vo.d.ts +114 -0
- package/dist/esm/models/energy-cost-two-list-vo.js +14 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/esm/models/json-result-list-energy-cost-two-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-two-list-vo.js +14 -0
- package/dist/models/energy-cost-analysis-query-dto.d.ts +6 -0
- package/dist/models/energy-cost-two-list-vo.d.ts +114 -0
- package/dist/models/energy-cost-two-list-vo.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +4 -4
- package/dist/models/json-result-list-energy-cost-two-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-two-list-vo.js +15 -0
- package/models/energy-cost-analysis-query-dto.ts +6 -0
- package/models/energy-cost-two-list-vo.ts +120 -0
- package/models/index.ts +2 -0
- package/models/ipage-energy-cost-record-info-vo.ts +4 -4
- package/models/json-result-list-energy-cost-two-list-vo.ts +72 -0
- package/ossutil.log +1092 -1089
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ import type { JsonResultEnergyCostPerUnitAnalysisVO } from '../models';
|
|
|
18
18
|
import type { JsonResultEnergyCostUnitPriceAnalysisVO } from '../models';
|
|
19
19
|
import type { JsonResultListEnergyCostAnalysisListVO } from '../models';
|
|
20
20
|
import type { JsonResultListEnergyCostTrendVO } from '../models';
|
|
21
|
+
import type { JsonResultListEnergyCostTwoListVO } from '../models';
|
|
21
22
|
import type { JsonResultTwoEnergyConsumptionSummarVO } from '../models';
|
|
22
23
|
/**
|
|
23
24
|
* EnergyCostAnalysisControllerApi - axios parameter creator
|
|
@@ -64,6 +65,14 @@ export declare const EnergyCostAnalysisControllerApiAxiosParamCreator: (configur
|
|
|
64
65
|
* @throws {RequiredError}
|
|
65
66
|
*/
|
|
66
67
|
twoEnergyConsumptionSummar: (energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* 二级面板
|
|
70
|
+
* @summary 二级面板-列表
|
|
71
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
twoList: (energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
76
|
/**
|
|
68
77
|
* 二级面板
|
|
69
78
|
* @summary 二级面板-单平单价分析
|
|
@@ -142,6 +151,14 @@ export declare const EnergyCostAnalysisControllerApiFp: (configuration?: Configu
|
|
|
142
151
|
* @throws {RequiredError}
|
|
143
152
|
*/
|
|
144
153
|
twoEnergyConsumptionSummar(energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultTwoEnergyConsumptionSummarVO>>;
|
|
154
|
+
/**
|
|
155
|
+
* 二级面板
|
|
156
|
+
* @summary 二级面板-列表
|
|
157
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
twoList(energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEnergyCostTwoListVO>>;
|
|
145
162
|
/**
|
|
146
163
|
* 二级面板
|
|
147
164
|
* @summary 二级面板-单平单价分析
|
|
@@ -220,6 +237,14 @@ export declare const EnergyCostAnalysisControllerApiFactory: (configuration?: Co
|
|
|
220
237
|
* @throws {RequiredError}
|
|
221
238
|
*/
|
|
222
239
|
twoEnergyConsumptionSummar(requestParameters: EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultTwoEnergyConsumptionSummarVO>;
|
|
240
|
+
/**
|
|
241
|
+
* 二级面板
|
|
242
|
+
* @summary 二级面板-列表
|
|
243
|
+
* @param {EnergyCostAnalysisControllerApiTwoListRequest} requestParameters Request parameters.
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
twoList(requestParameters: EnergyCostAnalysisControllerApiTwoListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEnergyCostTwoListVO>;
|
|
223
248
|
/**
|
|
224
249
|
* 二级面板
|
|
225
250
|
* @summary 二级面板-单平单价分析
|
|
@@ -318,6 +343,19 @@ export interface EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarReques
|
|
|
318
343
|
*/
|
|
319
344
|
readonly energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO;
|
|
320
345
|
}
|
|
346
|
+
/**
|
|
347
|
+
* Request parameters for twoList operation in EnergyCostAnalysisControllerApi.
|
|
348
|
+
* @export
|
|
349
|
+
* @interface EnergyCostAnalysisControllerApiTwoListRequest
|
|
350
|
+
*/
|
|
351
|
+
export interface EnergyCostAnalysisControllerApiTwoListRequest {
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @type {EnergyCostAnalysisQueryDTO}
|
|
355
|
+
* @memberof EnergyCostAnalysisControllerApiTwoList
|
|
356
|
+
*/
|
|
357
|
+
readonly energyCostAnalysisQueryDTO: EnergyCostAnalysisQueryDTO;
|
|
358
|
+
}
|
|
321
359
|
/**
|
|
322
360
|
* Request parameters for twoPerAreaAnalysis operation in EnergyCostAnalysisControllerApi.
|
|
323
361
|
* @export
|
|
@@ -422,6 +460,15 @@ export declare class EnergyCostAnalysisControllerApi extends BaseAPI {
|
|
|
422
460
|
* @memberof EnergyCostAnalysisControllerApi
|
|
423
461
|
*/
|
|
424
462
|
twoEnergyConsumptionSummar(requestParameters: EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultTwoEnergyConsumptionSummarVO, any, {}>>;
|
|
463
|
+
/**
|
|
464
|
+
* 二级面板
|
|
465
|
+
* @summary 二级面板-列表
|
|
466
|
+
* @param {EnergyCostAnalysisControllerApiTwoListRequest} requestParameters Request parameters.
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
470
|
+
*/
|
|
471
|
+
twoList(requestParameters: EnergyCostAnalysisControllerApiTwoListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListEnergyCostTwoListVO, any, {}>>;
|
|
425
472
|
/**
|
|
426
473
|
* 二级面板
|
|
427
474
|
* @summary 二级面板-单平单价分析
|
|
@@ -197,6 +197,39 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
|
|
|
197
197
|
options: localVarRequestOptions,
|
|
198
198
|
};
|
|
199
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
|
+
}),
|
|
200
233
|
/**
|
|
201
234
|
* 二级面板
|
|
202
235
|
* @summary 二级面板-单平单价分析
|
|
@@ -418,6 +451,22 @@ export const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
|
418
451
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
419
452
|
});
|
|
420
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
|
+
},
|
|
421
470
|
/**
|
|
422
471
|
* 二级面板
|
|
423
472
|
* @summary 二级面板-单平单价分析
|
|
@@ -541,6 +590,16 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration, b
|
|
|
541
590
|
twoEnergyConsumptionSummar(requestParameters, options) {
|
|
542
591
|
return localVarFp.twoEnergyConsumptionSummar(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
543
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
|
+
},
|
|
544
603
|
/**
|
|
545
604
|
* 二级面板
|
|
546
605
|
* @summary 二级面板-单平单价分析
|
|
@@ -645,6 +704,17 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
|
|
|
645
704
|
twoEnergyConsumptionSummar(requestParameters, options) {
|
|
646
705
|
return EnergyCostAnalysisControllerApiFp(this.configuration).twoEnergyConsumptionSummar(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
647
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
|
+
}
|
|
648
718
|
/**
|
|
649
719
|
* 二级面板
|
|
650
720
|
* @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
|
|
@@ -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";
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 能源看板-二级面板-列表VO
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EnergyCostTwoListVO
|
|
16
|
+
*/
|
|
17
|
+
export interface EnergyCostTwoListVO {
|
|
18
|
+
/**
|
|
19
|
+
* 大区
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EnergyCostTwoListVO
|
|
22
|
+
*/
|
|
23
|
+
'region'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 小微
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EnergyCostTwoListVO
|
|
28
|
+
*/
|
|
29
|
+
'smallWe'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 中心
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EnergyCostTwoListVO
|
|
34
|
+
*/
|
|
35
|
+
'center'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 园区
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EnergyCostTwoListVO
|
|
40
|
+
*/
|
|
41
|
+
'parkName'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 园区ID
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof EnergyCostTwoListVO
|
|
46
|
+
*/
|
|
47
|
+
'parkId'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* 账单月
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof EnergyCostTwoListVO
|
|
52
|
+
*/
|
|
53
|
+
'yearMonths'?: number;
|
|
54
|
+
/**
|
|
55
|
+
* 当期用量
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof EnergyCostTwoListVO
|
|
58
|
+
*/
|
|
59
|
+
'currentUsage'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* 本期费用
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof EnergyCostTwoListVO
|
|
64
|
+
*/
|
|
65
|
+
'currentCost'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* 上期费用
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof EnergyCostTwoListVO
|
|
70
|
+
*/
|
|
71
|
+
'lastPeriodCost'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* 当期费用单价
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof EnergyCostTwoListVO
|
|
76
|
+
*/
|
|
77
|
+
'currentUnitPrice'?: number;
|
|
78
|
+
/**
|
|
79
|
+
* 本期单平单价
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof EnergyCostTwoListVO
|
|
82
|
+
*/
|
|
83
|
+
'currentPricePerSquareMeter'?: number;
|
|
84
|
+
/**
|
|
85
|
+
* 年平均单平单价
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof EnergyCostTwoListVO
|
|
88
|
+
*/
|
|
89
|
+
'yearAvgPricePerSquareMeter'?: number;
|
|
90
|
+
/**
|
|
91
|
+
* 去年同期单平单价
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof EnergyCostTwoListVO
|
|
94
|
+
*/
|
|
95
|
+
'lastYearSamePeriodPricePerSquareMeter'?: number;
|
|
96
|
+
/**
|
|
97
|
+
* 本期单耗
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof EnergyCostTwoListVO
|
|
100
|
+
*/
|
|
101
|
+
'currentCostPerSquareMeter'?: number;
|
|
102
|
+
/**
|
|
103
|
+
* 年平均单耗
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof EnergyCostTwoListVO
|
|
106
|
+
*/
|
|
107
|
+
'yearAvgCostPerSquareMeter'?: number;
|
|
108
|
+
/**
|
|
109
|
+
* 去年同期单耗
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof EnergyCostTwoListVO
|
|
112
|
+
*/
|
|
113
|
+
'lastYearSamePeriodCostPerSquareMeter'?: number;
|
|
114
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -124,6 +124,7 @@ export * from './energy-cost-setting-delete-dto';
|
|
|
124
124
|
export * from './energy-cost-setting-summy-add-dto';
|
|
125
125
|
export * from './energy-cost-setting-summy-update-dto';
|
|
126
126
|
export * from './energy-cost-trend-vo';
|
|
127
|
+
export * from './energy-cost-two-list-vo';
|
|
127
128
|
export * from './energy-cost-unit-price-analysis-vo';
|
|
128
129
|
export * from './energy-cost-update-setting-dto';
|
|
129
130
|
export * from './equipment';
|
|
@@ -252,6 +253,7 @@ export * from './json-result-list-energy-cost-analysis-list-vo';
|
|
|
252
253
|
export * from './json-result-list-energy-cost-month-setting-list-summary-standards-vo';
|
|
253
254
|
export * from './json-result-list-energy-cost-month-setting-list-vo';
|
|
254
255
|
export * from './json-result-list-energy-cost-trend-vo';
|
|
256
|
+
export * from './json-result-list-energy-cost-two-list-vo';
|
|
255
257
|
export * from './json-result-list-equipment-detail-dto';
|
|
256
258
|
export * from './json-result-list-equipment-qr-code-dto';
|
|
257
259
|
export * from './json-result-list-equipment-system-tree-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -124,6 +124,7 @@ export * from './energy-cost-setting-delete-dto';
|
|
|
124
124
|
export * from './energy-cost-setting-summy-add-dto';
|
|
125
125
|
export * from './energy-cost-setting-summy-update-dto';
|
|
126
126
|
export * from './energy-cost-trend-vo';
|
|
127
|
+
export * from './energy-cost-two-list-vo';
|
|
127
128
|
export * from './energy-cost-unit-price-analysis-vo';
|
|
128
129
|
export * from './energy-cost-update-setting-dto';
|
|
129
130
|
export * from './equipment';
|
|
@@ -252,6 +253,7 @@ export * from './json-result-list-energy-cost-analysis-list-vo';
|
|
|
252
253
|
export * from './json-result-list-energy-cost-month-setting-list-summary-standards-vo';
|
|
253
254
|
export * from './json-result-list-energy-cost-month-setting-list-vo';
|
|
254
255
|
export * from './json-result-list-energy-cost-trend-vo';
|
|
256
|
+
export * from './json-result-list-energy-cost-two-list-vo';
|
|
255
257
|
export * from './json-result-list-equipment-detail-dto';
|
|
256
258
|
export * from './json-result-list-equipment-qr-code-dto';
|
|
257
259
|
export * from './json-result-list-equipment-system-tree-dto';
|
|
@@ -36,16 +36,16 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
36
36
|
'records'?: Array<EnergyCostRecordInfoVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {number}
|
|
40
40
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'pages'?: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {boolean}
|
|
46
46
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
47
47
|
*/
|
|
48
|
-
'
|
|
48
|
+
'searchCount'?: boolean;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {boolean}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BaseErrorResult } from './base-error-result';
|
|
13
|
+
import type { EnergyCostTwoListVO } from './energy-cost-two-list-vo';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultListEnergyCostTwoListVO
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultListEnergyCostTwoListVO {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 返回数据,可以是任意类型的值
|
|
40
|
+
* @type {Array<EnergyCostTwoListVO>}
|
|
41
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
42
|
+
*/
|
|
43
|
+
'data'?: Array<EnergyCostTwoListVO> | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultListEnergyCostTwoListVO
|
|
60
|
+
*/
|
|
61
|
+
'requestId'?: string | null;
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -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";
|