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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/.openapi-generator/FILES +5 -1
  2. package/api.ts +2 -1
  3. package/apis/energy-cost-controller-api.ts +769 -0
  4. package/apis/energy-cost-record-controller-api.ts +686 -0
  5. package/dist/api.d.ts +2 -1
  6. package/dist/api.js +2 -1
  7. package/dist/apis/energy-cost-controller-api.d.ts +418 -0
  8. package/dist/apis/energy-cost-controller-api.js +595 -0
  9. package/dist/apis/energy-cost-record-controller-api.d.ts +377 -0
  10. package/dist/apis/energy-cost-record-controller-api.js +523 -0
  11. package/dist/esm/api.d.ts +2 -1
  12. package/dist/esm/api.js +2 -1
  13. package/dist/esm/apis/energy-cost-controller-api.d.ts +418 -0
  14. package/dist/esm/apis/energy-cost-controller-api.js +588 -0
  15. package/dist/esm/apis/energy-cost-record-controller-api.d.ts +377 -0
  16. package/dist/esm/apis/energy-cost-record-controller-api.js +516 -0
  17. package/dist/esm/models/energy-cost-add-record-dto.d.ts +7 -0
  18. package/dist/esm/models/energy-cost-add-setting-dto.d.ts +4 -39
  19. package/dist/esm/models/energy-cost-add-setting-dto.js +1 -10
  20. package/dist/esm/models/energy-cost-setting-delete-dto.d.ts +41 -0
  21. package/dist/esm/models/energy-cost-setting-delete-dto.js +17 -0
  22. package/dist/esm/models/energy-cost-update-setting-dto.d.ts +1 -1
  23. package/dist/esm/models/index.d.ts +3 -0
  24. package/dist/esm/models/index.js +3 -0
  25. package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
  26. package/dist/esm/models/item.d.ts +4 -4
  27. package/dist/esm/models/park-setting.d.ts +42 -0
  28. package/dist/esm/models/park-setting.js +17 -0
  29. package/dist/esm/models/pricing-item.d.ts +50 -0
  30. package/dist/esm/models/pricing-item.js +20 -0
  31. package/dist/esm/models/sys-user.d.ts +4 -4
  32. package/dist/models/energy-cost-add-record-dto.d.ts +7 -0
  33. package/dist/models/energy-cost-add-setting-dto.d.ts +4 -39
  34. package/dist/models/energy-cost-add-setting-dto.js +0 -11
  35. package/dist/models/energy-cost-setting-delete-dto.d.ts +41 -0
  36. package/dist/models/energy-cost-setting-delete-dto.js +20 -0
  37. package/dist/models/energy-cost-update-setting-dto.d.ts +1 -1
  38. package/dist/models/index.d.ts +3 -0
  39. package/dist/models/index.js +3 -0
  40. package/dist/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
  41. package/dist/models/item.d.ts +4 -4
  42. package/dist/models/park-setting.d.ts +42 -0
  43. package/dist/models/park-setting.js +20 -0
  44. package/dist/models/pricing-item.d.ts +50 -0
  45. package/dist/models/pricing-item.js +23 -0
  46. package/dist/models/sys-user.d.ts +4 -4
  47. package/models/energy-cost-add-record-dto.ts +9 -0
  48. package/models/energy-cost-add-setting-dto.ts +6 -43
  49. package/models/energy-cost-setting-delete-dto.ts +50 -0
  50. package/models/energy-cost-update-setting-dto.ts +1 -1
  51. package/models/index.ts +3 -0
  52. package/models/ipage-energy-cost-record-info-vo.ts +5 -5
  53. package/models/item.ts +4 -4
  54. package/models/park-setting.ts +53 -0
  55. package/models/pricing-item.ts +59 -0
  56. package/models/sys-user.ts +4 -4
  57. package/ossutil.log +1056 -1056
  58. package/package.json +1 -1
  59. package/apis/default-api.ts +0 -1302
  60. package/dist/apis/default-api.d.ts +0 -707
  61. package/dist/apis/default-api.js +0 -979
  62. package/dist/esm/apis/default-api.d.ts +0 -707
  63. package/dist/esm/apis/default-api.js +0 -972
@@ -0,0 +1,588 @@
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 {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ energyCostMonthSettingDelete: (energyCostSettingDeleteDTO_1, ...args_1) => __awaiter(this, [energyCostSettingDeleteDTO_1, ...args_1], void 0, function* (energyCostSettingDeleteDTO, options = {}) {
76
+ // verify required parameter 'energyCostSettingDeleteDTO' is not null or undefined
77
+ assertParamExists('energyCostMonthSettingDelete', 'energyCostSettingDeleteDTO', energyCostSettingDeleteDTO);
78
+ const localVarPath = `/gizone/energy/cost/month/setting`;
79
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
+ let baseOptions;
82
+ if (configuration) {
83
+ baseOptions = configuration.baseOptions;
84
+ }
85
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
86
+ const localVarHeaderParameter = {};
87
+ const localVarQueryParameter = {};
88
+ // authentication tokenScheme required
89
+ // http bearer authentication required
90
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
91
+ localVarHeaderParameter['Content-Type'] = 'application/json';
92
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
95
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingDeleteDTO, localVarRequestOptions, configuration);
96
+ return {
97
+ url: toPathString(localVarUrlObj),
98
+ options: localVarRequestOptions,
99
+ };
100
+ }),
101
+ /**
102
+ *
103
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
104
+ * @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
105
+ * @param {string} [startTime]
106
+ * @param {string} [endTime]
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ 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 = {}) {
111
+ // verify required parameter 'energyType' is not null or undefined
112
+ assertParamExists('energyCostMonthSettingList', 'energyType', energyType);
113
+ const localVarPath = `/gizone/energy/cost/month/setting`;
114
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
115
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
116
+ let baseOptions;
117
+ if (configuration) {
118
+ baseOptions = configuration.baseOptions;
119
+ }
120
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
121
+ const localVarHeaderParameter = {};
122
+ const localVarQueryParameter = {};
123
+ // authentication tokenScheme required
124
+ // http bearer authentication required
125
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
126
+ if (startTime !== undefined) {
127
+ localVarQueryParameter['startTime'] = startTime;
128
+ }
129
+ if (endTime !== undefined) {
130
+ localVarQueryParameter['endTime'] = endTime;
131
+ }
132
+ if (energyType !== undefined) {
133
+ localVarQueryParameter['energyType'] = energyType;
134
+ }
135
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
136
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
+ return {
139
+ url: toPathString(localVarUrlObj),
140
+ options: localVarRequestOptions,
141
+ };
142
+ }),
143
+ /**
144
+ *
145
+ * @summary 新增能源费用管理设置-园区汇总标准新增
146
+ * @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ energyCostMonthSettingSummaryAdd: (energyCostSettingSummyAddDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyAddDTO_1, ...args_1], void 0, function* (energyCostSettingSummyAddDTO, options = {}) {
151
+ // verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
152
+ assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO);
153
+ const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
156
+ let baseOptions;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ }
160
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
161
+ const localVarHeaderParameter = {};
162
+ const localVarQueryParameter = {};
163
+ // authentication tokenScheme required
164
+ // http bearer authentication required
165
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
166
+ localVarHeaderParameter['Content-Type'] = 'application/json';
167
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
168
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
170
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration);
171
+ return {
172
+ url: toPathString(localVarUrlObj),
173
+ options: localVarRequestOptions,
174
+ };
175
+ }),
176
+ /**
177
+ *
178
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
179
+ * @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
180
+ * @param {string} [startTime]
181
+ * @param {string} [endTime]
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ 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 = {}) {
186
+ // verify required parameter 'energyType' is not null or undefined
187
+ assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType);
188
+ const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
189
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
190
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
191
+ let baseOptions;
192
+ if (configuration) {
193
+ baseOptions = configuration.baseOptions;
194
+ }
195
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
196
+ const localVarHeaderParameter = {};
197
+ const localVarQueryParameter = {};
198
+ // authentication tokenScheme required
199
+ // http bearer authentication required
200
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
201
+ if (startTime !== undefined) {
202
+ localVarQueryParameter['startTime'] = startTime;
203
+ }
204
+ if (endTime !== undefined) {
205
+ localVarQueryParameter['endTime'] = endTime;
206
+ }
207
+ if (energyType !== undefined) {
208
+ localVarQueryParameter['energyType'] = energyType;
209
+ }
210
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
211
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
212
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
213
+ return {
214
+ url: toPathString(localVarUrlObj),
215
+ options: localVarRequestOptions,
216
+ };
217
+ }),
218
+ /**
219
+ *
220
+ * @summary 新增能源费用管理设置-园区汇总标准修改
221
+ * @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ energyCostMonthSettingSummaryUpdate: (energyCostSettingSummyUpdateDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyUpdateDTO_1, ...args_1], void 0, function* (energyCostSettingSummyUpdateDTO, options = {}) {
226
+ // verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
227
+ assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO);
228
+ const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
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(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration);
246
+ return {
247
+ url: toPathString(localVarUrlObj),
248
+ options: localVarRequestOptions,
249
+ };
250
+ }),
251
+ /**
252
+ *
253
+ * @summary 能源费用管理设置-修改
254
+ * @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ energyCostMonthSettingUpdate: (energyCostUpdateSettingDTO_1, ...args_1) => __awaiter(this, [energyCostUpdateSettingDTO_1, ...args_1], void 0, function* (energyCostUpdateSettingDTO, options = {}) {
259
+ // verify required parameter 'energyCostUpdateSettingDTO' is not null or undefined
260
+ assertParamExists('energyCostMonthSettingUpdate', 'energyCostUpdateSettingDTO', energyCostUpdateSettingDTO);
261
+ const localVarPath = `/gizone/energy/cost/month/setting`;
262
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
263
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
264
+ let baseOptions;
265
+ if (configuration) {
266
+ baseOptions = configuration.baseOptions;
267
+ }
268
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
269
+ const localVarHeaderParameter = {};
270
+ const localVarQueryParameter = {};
271
+ // authentication tokenScheme required
272
+ // http bearer authentication required
273
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
274
+ localVarHeaderParameter['Content-Type'] = 'application/json';
275
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
276
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
277
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
278
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostUpdateSettingDTO, localVarRequestOptions, configuration);
279
+ return {
280
+ url: toPathString(localVarUrlObj),
281
+ options: localVarRequestOptions,
282
+ };
283
+ }),
284
+ };
285
+ };
286
+ /**
287
+ * EnergyCostControllerApi - functional programming interface
288
+ * @export
289
+ */
290
+ export const EnergyCostControllerApiFp = function (configuration) {
291
+ const localVarAxiosParamCreator = EnergyCostControllerApiAxiosParamCreator(configuration);
292
+ return {
293
+ /**
294
+ *
295
+ * @summary 能源费用管理设置-新增
296
+ * @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ energyCostMonthSettingAdd(energyCostAddSettingDTO, options) {
301
+ return __awaiter(this, void 0, void 0, function* () {
302
+ var _a, _b, _c;
303
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
304
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
305
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
306
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
307
+ });
308
+ },
309
+ /**
310
+ *
311
+ * @summary 能源费用管理设置-删除
312
+ * @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options) {
317
+ return __awaiter(this, void 0, void 0, function* () {
318
+ var _a, _b, _c;
319
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options);
320
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
321
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
322
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
323
+ });
324
+ },
325
+ /**
326
+ *
327
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
328
+ * @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
329
+ * @param {string} [startTime]
330
+ * @param {string} [endTime]
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ energyCostMonthSettingList(energyType, startTime, endTime, options) {
335
+ return __awaiter(this, void 0, void 0, function* () {
336
+ var _a, _b, _c;
337
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
338
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
339
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
340
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
341
+ });
342
+ },
343
+ /**
344
+ *
345
+ * @summary 新增能源费用管理设置-园区汇总标准新增
346
+ * @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options) {
351
+ return __awaiter(this, void 0, void 0, function* () {
352
+ var _a, _b, _c;
353
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
354
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
355
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
356
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
357
+ });
358
+ },
359
+ /**
360
+ *
361
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
362
+ * @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
363
+ * @param {string} [startTime]
364
+ * @param {string} [endTime]
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ energyCostMonthSettingSummaryList(energyType, startTime, endTime, options) {
369
+ return __awaiter(this, void 0, void 0, function* () {
370
+ var _a, _b, _c;
371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
372
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
373
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
374
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
375
+ });
376
+ },
377
+ /**
378
+ *
379
+ * @summary 新增能源费用管理设置-园区汇总标准修改
380
+ * @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options) {
385
+ return __awaiter(this, void 0, void 0, function* () {
386
+ var _a, _b, _c;
387
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
388
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
389
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingSummaryUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
390
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
391
+ });
392
+ },
393
+ /**
394
+ *
395
+ * @summary 能源费用管理设置-修改
396
+ * @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options) {
401
+ return __awaiter(this, void 0, void 0, function* () {
402
+ var _a, _b, _c;
403
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options);
404
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
405
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
406
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
407
+ });
408
+ },
409
+ };
410
+ };
411
+ /**
412
+ * EnergyCostControllerApi - factory interface
413
+ * @export
414
+ */
415
+ export const EnergyCostControllerApiFactory = function (configuration, basePath, axios) {
416
+ const localVarFp = EnergyCostControllerApiFp(configuration);
417
+ return {
418
+ /**
419
+ *
420
+ * @summary 能源费用管理设置-新增
421
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ energyCostMonthSettingAdd(requestParameters, options) {
426
+ return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
427
+ },
428
+ /**
429
+ *
430
+ * @summary 能源费用管理设置-删除
431
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ energyCostMonthSettingDelete(requestParameters, options) {
436
+ return localVarFp.energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(axios, basePath));
437
+ },
438
+ /**
439
+ *
440
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
441
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ */
445
+ energyCostMonthSettingList(requestParameters, options) {
446
+ return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
447
+ },
448
+ /**
449
+ *
450
+ * @summary 新增能源费用管理设置-园区汇总标准新增
451
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ */
455
+ energyCostMonthSettingSummaryAdd(requestParameters, options) {
456
+ return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
457
+ },
458
+ /**
459
+ *
460
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
461
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ energyCostMonthSettingSummaryList(requestParameters, options) {
466
+ return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
467
+ },
468
+ /**
469
+ *
470
+ * @summary 新增能源费用管理设置-园区汇总标准修改
471
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ */
475
+ energyCostMonthSettingSummaryUpdate(requestParameters, options) {
476
+ return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
477
+ },
478
+ /**
479
+ *
480
+ * @summary 能源费用管理设置-修改
481
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
482
+ * @param {*} [options] Override http request option.
483
+ * @throws {RequiredError}
484
+ */
485
+ energyCostMonthSettingUpdate(requestParameters, options) {
486
+ return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
487
+ },
488
+ };
489
+ };
490
+ /**
491
+ * EnergyCostControllerApi - object-oriented interface
492
+ * @export
493
+ * @class EnergyCostControllerApi
494
+ * @extends {BaseAPI}
495
+ */
496
+ export class EnergyCostControllerApi extends BaseAPI {
497
+ /**
498
+ *
499
+ * @summary 能源费用管理设置-新增
500
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ * @memberof EnergyCostControllerApi
504
+ */
505
+ energyCostMonthSettingAdd(requestParameters, options) {
506
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
507
+ }
508
+ /**
509
+ *
510
+ * @summary 能源费用管理设置-删除
511
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
512
+ * @param {*} [options] Override http request option.
513
+ * @throws {RequiredError}
514
+ * @memberof EnergyCostControllerApi
515
+ */
516
+ energyCostMonthSettingDelete(requestParameters, options) {
517
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(this.axios, this.basePath));
518
+ }
519
+ /**
520
+ *
521
+ * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
522
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
523
+ * @param {*} [options] Override http request option.
524
+ * @throws {RequiredError}
525
+ * @memberof EnergyCostControllerApi
526
+ */
527
+ energyCostMonthSettingList(requestParameters, options) {
528
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
529
+ }
530
+ /**
531
+ *
532
+ * @summary 新增能源费用管理设置-园区汇总标准新增
533
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
534
+ * @param {*} [options] Override http request option.
535
+ * @throws {RequiredError}
536
+ * @memberof EnergyCostControllerApi
537
+ */
538
+ energyCostMonthSettingSummaryAdd(requestParameters, options) {
539
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
540
+ }
541
+ /**
542
+ *
543
+ * @summary 新增能源费用管理设置-列表-查询园区汇总标准
544
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
545
+ * @param {*} [options] Override http request option.
546
+ * @throws {RequiredError}
547
+ * @memberof EnergyCostControllerApi
548
+ */
549
+ energyCostMonthSettingSummaryList(requestParameters, options) {
550
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
551
+ }
552
+ /**
553
+ *
554
+ * @summary 新增能源费用管理设置-园区汇总标准修改
555
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ * @memberof EnergyCostControllerApi
559
+ */
560
+ energyCostMonthSettingSummaryUpdate(requestParameters, options) {
561
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
562
+ }
563
+ /**
564
+ *
565
+ * @summary 能源费用管理设置-修改
566
+ * @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ * @memberof EnergyCostControllerApi
570
+ */
571
+ energyCostMonthSettingUpdate(requestParameters, options) {
572
+ return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
573
+ }
574
+ }
575
+ /**
576
+ * @export
577
+ */
578
+ export const EnergyCostMonthSettingListEnergyTypeEnum = {
579
+ Electric: 'ELECTRIC',
580
+ Water: 'WATER'
581
+ };
582
+ /**
583
+ * @export
584
+ */
585
+ export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
586
+ Electric: 'ELECTRIC',
587
+ Water: 'WATER'
588
+ };