@gizone/rrs-client 4.2.9-alpha.539 → 4.2.9-alpha.540

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.
@@ -0,0 +1,518 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * EnergyCostControllerApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
34
+ return {
35
+ /**
36
+ *
37
+ * @summary 新增能源费用管理设置-单条新增
38
+ * @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ energyCostMonthSettingAdd: (energyCostAddSettingDTO_1, ...args_1) => __awaiter(this, [energyCostAddSettingDTO_1, ...args_1], void 0, function* (energyCostAddSettingDTO, options = {}) {
43
+ // verify required parameter 'energyCostAddSettingDTO' is not null or undefined
44
+ assertParamExists('energyCostMonthSettingAdd', 'energyCostAddSettingDTO', energyCostAddSettingDTO);
45
+ const localVarPath = `/gizone/energy/cost/month/setting`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
53
+ const localVarHeaderParameter = {};
54
+ const localVarQueryParameter = {};
55
+ // authentication tokenScheme required
56
+ // http bearer authentication required
57
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
58
+ localVarHeaderParameter['Content-Type'] = 'application/json';
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddSettingDTO, localVarRequestOptions, configuration);
63
+ return {
64
+ url: toPathString(localVarUrlObj),
65
+ options: localVarRequestOptions,
66
+ };
67
+ }),
68
+ /**
69
+ *
70
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
71
+ * @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
72
+ * @param {string} [startTime]
73
+ * @param {string} [endTime]
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ energyCostMonthSettingList: (energyType_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [energyType_1, startTime_1, endTime_1, ...args_1], void 0, function* (energyType, startTime, endTime, options = {}) {
78
+ // verify required parameter 'energyType' is not null or undefined
79
+ assertParamExists('energyCostMonthSettingList', 'energyType', energyType);
80
+ const localVarPath = `/gizone/energy/cost/month/setting`;
81
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
82
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
83
+ let baseOptions;
84
+ if (configuration) {
85
+ baseOptions = configuration.baseOptions;
86
+ }
87
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
88
+ const localVarHeaderParameter = {};
89
+ const localVarQueryParameter = {};
90
+ // authentication tokenScheme required
91
+ // http bearer authentication required
92
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
93
+ if (startTime !== undefined) {
94
+ localVarQueryParameter['startTime'] = startTime;
95
+ }
96
+ if (endTime !== undefined) {
97
+ localVarQueryParameter['endTime'] = endTime;
98
+ }
99
+ if (energyType !== undefined) {
100
+ localVarQueryParameter['energyType'] = energyType;
101
+ }
102
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
103
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
105
+ return {
106
+ url: toPathString(localVarUrlObj),
107
+ options: localVarRequestOptions,
108
+ };
109
+ }),
110
+ /**
111
+ *
112
+ * @summary 新增能源费用管理设置-园区汇总标准新增
113
+ * @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ energyCostMonthSettingSummaryAdd: (energyCostSettingSummyAddDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyAddDTO_1, ...args_1], void 0, function* (energyCostSettingSummyAddDTO, options = {}) {
118
+ // verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
119
+ assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO);
120
+ const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
121
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
123
+ let baseOptions;
124
+ if (configuration) {
125
+ baseOptions = configuration.baseOptions;
126
+ }
127
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
128
+ const localVarHeaderParameter = {};
129
+ const localVarQueryParameter = {};
130
+ // authentication tokenScheme required
131
+ // http bearer authentication required
132
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
133
+ localVarHeaderParameter['Content-Type'] = 'application/json';
134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
137
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration);
138
+ return {
139
+ url: toPathString(localVarUrlObj),
140
+ options: localVarRequestOptions,
141
+ };
142
+ }),
143
+ /**
144
+ *
145
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
146
+ * @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
147
+ * @param {string} [startTime]
148
+ * @param {string} [endTime]
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ energyCostMonthSettingSummaryList: (energyType_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [energyType_1, startTime_1, endTime_1, ...args_1], void 0, function* (energyType, startTime, endTime, options = {}) {
153
+ // verify required parameter 'energyType' is not null or undefined
154
+ assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType);
155
+ const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
156
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
157
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
158
+ let baseOptions;
159
+ if (configuration) {
160
+ baseOptions = configuration.baseOptions;
161
+ }
162
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
163
+ const localVarHeaderParameter = {};
164
+ const localVarQueryParameter = {};
165
+ // authentication tokenScheme required
166
+ // http bearer authentication required
167
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
168
+ if (startTime !== undefined) {
169
+ localVarQueryParameter['startTime'] = startTime;
170
+ }
171
+ if (endTime !== undefined) {
172
+ localVarQueryParameter['endTime'] = endTime;
173
+ }
174
+ if (energyType !== undefined) {
175
+ localVarQueryParameter['energyType'] = energyType;
176
+ }
177
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
178
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
179
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
180
+ return {
181
+ url: toPathString(localVarUrlObj),
182
+ options: localVarRequestOptions,
183
+ };
184
+ }),
185
+ /**
186
+ *
187
+ * @summary 新增能源费用管理设置-园区汇总标准修改
188
+ * @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ energyCostMonthSettingSummaryUpdate: (energyCostSettingSummyUpdateDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyUpdateDTO_1, ...args_1], void 0, function* (energyCostSettingSummyUpdateDTO, options = {}) {
193
+ // verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
194
+ assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO);
195
+ const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
196
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
197
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
198
+ let baseOptions;
199
+ if (configuration) {
200
+ baseOptions = configuration.baseOptions;
201
+ }
202
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
203
+ const localVarHeaderParameter = {};
204
+ const localVarQueryParameter = {};
205
+ // authentication tokenScheme required
206
+ // http bearer authentication required
207
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
208
+ localVarHeaderParameter['Content-Type'] = 'application/json';
209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
212
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration);
213
+ return {
214
+ url: toPathString(localVarUrlObj),
215
+ options: localVarRequestOptions,
216
+ };
217
+ }),
218
+ /**
219
+ *
220
+ * @summary 新增能源费用管理设置-单条修改
221
+ * @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ energyCostMonthSettingUpdate: (energyCostUpdateSettingDTO_1, ...args_1) => __awaiter(this, [energyCostUpdateSettingDTO_1, ...args_1], void 0, function* (energyCostUpdateSettingDTO, options = {}) {
226
+ // verify required parameter 'energyCostUpdateSettingDTO' is not null or undefined
227
+ assertParamExists('energyCostMonthSettingUpdate', 'energyCostUpdateSettingDTO', energyCostUpdateSettingDTO);
228
+ const localVarPath = `/gizone/energy/cost/month/setting`;
229
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
230
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
231
+ let baseOptions;
232
+ if (configuration) {
233
+ baseOptions = configuration.baseOptions;
234
+ }
235
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
236
+ const localVarHeaderParameter = {};
237
+ const localVarQueryParameter = {};
238
+ // authentication tokenScheme required
239
+ // http bearer authentication required
240
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
241
+ localVarHeaderParameter['Content-Type'] = 'application/json';
242
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
243
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
244
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
245
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostUpdateSettingDTO, localVarRequestOptions, configuration);
246
+ return {
247
+ url: toPathString(localVarUrlObj),
248
+ options: localVarRequestOptions,
249
+ };
250
+ }),
251
+ };
252
+ };
253
+ /**
254
+ * EnergyCostControllerApi - functional programming interface
255
+ * @export
256
+ */
257
+ export const EnergyCostControllerApiFp = function (configuration) {
258
+ const localVarAxiosParamCreator = EnergyCostControllerApiAxiosParamCreator(configuration);
259
+ return {
260
+ /**
261
+ *
262
+ * @summary 新增能源费用管理设置-单条新增
263
+ * @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
264
+ * @param {*} [options] Override http request option.
265
+ * @throws {RequiredError}
266
+ */
267
+ energyCostMonthSettingAdd(energyCostAddSettingDTO, options) {
268
+ return __awaiter(this, void 0, void 0, function* () {
269
+ var _a, _b, _c;
270
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
271
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
272
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
273
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
274
+ });
275
+ },
276
+ /**
277
+ *
278
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
279
+ * @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
280
+ * @param {string} [startTime]
281
+ * @param {string} [endTime]
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ energyCostMonthSettingList(energyType, startTime, endTime, options) {
286
+ return __awaiter(this, void 0, void 0, function* () {
287
+ var _a, _b, _c;
288
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
289
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
290
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
291
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
292
+ });
293
+ },
294
+ /**
295
+ *
296
+ * @summary 新增能源费用管理设置-园区汇总标准新增
297
+ * @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options) {
302
+ return __awaiter(this, void 0, void 0, function* () {
303
+ var _a, _b, _c;
304
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
305
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
306
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
307
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
308
+ });
309
+ },
310
+ /**
311
+ *
312
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
313
+ * @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
314
+ * @param {string} [startTime]
315
+ * @param {string} [endTime]
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ energyCostMonthSettingSummaryList(energyType, startTime, endTime, options) {
320
+ return __awaiter(this, void 0, void 0, function* () {
321
+ var _a, _b, _c;
322
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
323
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
324
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
325
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
326
+ });
327
+ },
328
+ /**
329
+ *
330
+ * @summary 新增能源费用管理设置-园区汇总标准修改
331
+ * @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options) {
336
+ return __awaiter(this, void 0, void 0, function* () {
337
+ var _a, _b, _c;
338
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
339
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
340
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
341
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
342
+ });
343
+ },
344
+ /**
345
+ *
346
+ * @summary 新增能源费用管理设置-单条修改
347
+ * @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
348
+ * @param {*} [options] Override http request option.
349
+ * @throws {RequiredError}
350
+ */
351
+ energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options) {
352
+ return __awaiter(this, void 0, void 0, function* () {
353
+ var _a, _b, _c;
354
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options);
355
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
356
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
357
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
358
+ });
359
+ },
360
+ };
361
+ };
362
+ /**
363
+ * EnergyCostControllerApi - factory interface
364
+ * @export
365
+ */
366
+ export const EnergyCostControllerApiFactory = function (configuration, basePath, axios) {
367
+ const localVarFp = EnergyCostControllerApiFp(configuration);
368
+ return {
369
+ /**
370
+ *
371
+ * @summary 新增能源费用管理设置-单条新增
372
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ energyCostMonthSettingAdd(requestParameters, options) {
377
+ return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
378
+ },
379
+ /**
380
+ *
381
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
382
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ */
386
+ energyCostMonthSettingList(requestParameters, options) {
387
+ return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
388
+ },
389
+ /**
390
+ *
391
+ * @summary 新增能源费用管理设置-园区汇总标准新增
392
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ energyCostMonthSettingSummaryAdd(requestParameters, options) {
397
+ return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
398
+ },
399
+ /**
400
+ *
401
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
402
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ energyCostMonthSettingSummaryList(requestParameters, options) {
407
+ return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
408
+ },
409
+ /**
410
+ *
411
+ * @summary 新增能源费用管理设置-园区汇总标准修改
412
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ energyCostMonthSettingSummaryUpdate(requestParameters, options) {
417
+ return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
418
+ },
419
+ /**
420
+ *
421
+ * @summary 新增能源费用管理设置-单条修改
422
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ energyCostMonthSettingUpdate(requestParameters, options) {
427
+ return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
428
+ },
429
+ };
430
+ };
431
+ /**
432
+ * EnergyCostControllerApi - object-oriented interface
433
+ * @export
434
+ * @class EnergyCostControllerApi
435
+ * @extends {BaseAPI}
436
+ */
437
+ export class EnergyCostControllerApi extends BaseAPI {
438
+ /**
439
+ *
440
+ * @summary 新增能源费用管理设置-单条新增
441
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ * @memberof EnergyCostControllerApi
445
+ */
446
+ energyCostMonthSettingAdd(requestParameters, options) {
447
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
448
+ }
449
+ /**
450
+ *
451
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
452
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ * @memberof EnergyCostControllerApi
456
+ */
457
+ energyCostMonthSettingList(requestParameters, options) {
458
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
459
+ }
460
+ /**
461
+ *
462
+ * @summary 新增能源费用管理设置-园区汇总标准新增
463
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ * @memberof EnergyCostControllerApi
467
+ */
468
+ energyCostMonthSettingSummaryAdd(requestParameters, options) {
469
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
470
+ }
471
+ /**
472
+ *
473
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
474
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ * @memberof EnergyCostControllerApi
478
+ */
479
+ energyCostMonthSettingSummaryList(requestParameters, options) {
480
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
481
+ }
482
+ /**
483
+ *
484
+ * @summary 新增能源费用管理设置-园区汇总标准修改
485
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ * @memberof EnergyCostControllerApi
489
+ */
490
+ energyCostMonthSettingSummaryUpdate(requestParameters, options) {
491
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
492
+ }
493
+ /**
494
+ *
495
+ * @summary 新增能源费用管理设置-单条修改
496
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
497
+ * @param {*} [options] Override http request option.
498
+ * @throws {RequiredError}
499
+ * @memberof EnergyCostControllerApi
500
+ */
501
+ energyCostMonthSettingUpdate(requestParameters, options) {
502
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
503
+ }
504
+ }
505
+ /**
506
+ * @export
507
+ */
508
+ export const EnergyCostMonthSettingListEnergyTypeEnum = {
509
+ Electric: 'ELECTRIC',
510
+ Water: 'WATER'
511
+ };
512
+ /**
513
+ * @export
514
+ */
515
+ export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
516
+ Electric: 'ELECTRIC',
517
+ Water: 'WATER'
518
+ };