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