@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
@@ -1,972 +0,0 @@
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
- * DefaultApi - axios parameter creator
31
- * @export
32
- */
33
- export const DefaultApiAxiosParamCreator = function (configuration) {
34
- return {
35
- /**
36
- *
37
- * @summary 新增能源消耗-返回详情
38
- * @param {number} id
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- energyCostAddRecordDetail: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
43
- // verify required parameter 'id' is not null or undefined
44
- assertParamExists('energyCostAddRecordDetail', 'id', id);
45
- const localVarPath = `/gizone/energy/cost/record/detail/{id}`
46
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
47
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
- let baseOptions;
50
- if (configuration) {
51
- baseOptions = configuration.baseOptions;
52
- }
53
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
54
- const localVarHeaderParameter = {};
55
- const localVarQueryParameter = {};
56
- // authentication tokenScheme required
57
- // http bearer authentication required
58
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
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
- return {
63
- url: toPathString(localVarUrlObj),
64
- options: localVarRequestOptions,
65
- };
66
- }),
67
- /**
68
- *
69
- * @summary 新增能源消耗-录入保存为草稿
70
- * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- energyCostAddRecordInputDraft: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
75
- // verify required parameter 'energyCostAddRecordDTO' is not null or undefined
76
- assertParamExists('energyCostAddRecordInputDraft', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
77
- const localVarPath = `/gizone/energy/cost/record/input/draft`;
78
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
79
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80
- let baseOptions;
81
- if (configuration) {
82
- baseOptions = configuration.baseOptions;
83
- }
84
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
85
- const localVarHeaderParameter = {};
86
- const localVarQueryParameter = {};
87
- // authentication tokenScheme required
88
- // http bearer authentication required
89
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
90
- localVarHeaderParameter['Content-Type'] = 'application/json';
91
- setSearchParams(localVarUrlObj, localVarQueryParameter);
92
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
95
- return {
96
- url: toPathString(localVarUrlObj),
97
- options: localVarRequestOptions,
98
- };
99
- }),
100
- /**
101
- *
102
- * @summary 新增能源消耗-列表
103
- * @param {number} [page]
104
- * @param {number} [size]
105
- * @param {string} [billCode]
106
- * @param {string} [startTime]
107
- * @param {string} [endTime]
108
- * @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
109
- * @param {number} [status]
110
- * @param {*} [options] Override http request option.
111
- * @throws {RequiredError}
112
- */
113
- energyCostAddRecordList: (page_1, size_1, billCode_1, startTime_1, endTime_1, energyType_1, status_1, ...args_1) => __awaiter(this, [page_1, size_1, billCode_1, startTime_1, endTime_1, energyType_1, status_1, ...args_1], void 0, function* (page, size, billCode, startTime, endTime, energyType, status, options = {}) {
114
- const localVarPath = `/gizone/energy/cost/record/list`;
115
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
117
- let baseOptions;
118
- if (configuration) {
119
- baseOptions = configuration.baseOptions;
120
- }
121
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
122
- const localVarHeaderParameter = {};
123
- const localVarQueryParameter = {};
124
- // authentication tokenScheme required
125
- // http bearer authentication required
126
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
127
- if (page !== undefined) {
128
- localVarQueryParameter['page'] = page;
129
- }
130
- if (size !== undefined) {
131
- localVarQueryParameter['size'] = size;
132
- }
133
- if (billCode !== undefined) {
134
- localVarQueryParameter['billCode'] = billCode;
135
- }
136
- if (startTime !== undefined) {
137
- localVarQueryParameter['startTime'] = startTime;
138
- }
139
- if (endTime !== undefined) {
140
- localVarQueryParameter['endTime'] = endTime;
141
- }
142
- if (energyType !== undefined) {
143
- localVarQueryParameter['energyType'] = energyType;
144
- }
145
- if (status !== undefined) {
146
- localVarQueryParameter['status'] = status;
147
- }
148
- setSearchParams(localVarUrlObj, localVarQueryParameter);
149
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
151
- return {
152
- url: toPathString(localVarUrlObj),
153
- options: localVarRequestOptions,
154
- };
155
- }),
156
- /**
157
- *
158
- * @summary 新增能源消耗-next
159
- * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
160
- * @param {*} [options] Override http request option.
161
- * @throws {RequiredError}
162
- */
163
- energyCostAddRecordNext: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
164
- // verify required parameter 'energyCostAddRecordDTO' is not null or undefined
165
- assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
166
- const localVarPath = `/gizone/energy/cost/record/next`;
167
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
168
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
169
- let baseOptions;
170
- if (configuration) {
171
- baseOptions = configuration.baseOptions;
172
- }
173
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
174
- const localVarHeaderParameter = {};
175
- const localVarQueryParameter = {};
176
- // authentication tokenScheme required
177
- // http bearer authentication required
178
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
179
- localVarHeaderParameter['Content-Type'] = 'application/json';
180
- 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
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
184
- return {
185
- url: toPathString(localVarUrlObj),
186
- options: localVarRequestOptions,
187
- };
188
- }),
189
- /**
190
- *
191
- * @summary 新增能源消耗-提交
192
- * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
193
- * @param {*} [options] Override http request option.
194
- * @throws {RequiredError}
195
- */
196
- energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
197
- // verify required parameter 'energyCostAddRecordDTO' is not null or undefined
198
- assertParamExists('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
199
- const localVarPath = `/gizone/energy/cost/record/submit`;
200
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
201
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
202
- let baseOptions;
203
- if (configuration) {
204
- baseOptions = configuration.baseOptions;
205
- }
206
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
207
- const localVarHeaderParameter = {};
208
- const localVarQueryParameter = {};
209
- // authentication tokenScheme required
210
- // http bearer authentication required
211
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
212
- localVarHeaderParameter['Content-Type'] = 'application/json';
213
- setSearchParams(localVarUrlObj, localVarQueryParameter);
214
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
215
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
216
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
217
- return {
218
- url: toPathString(localVarUrlObj),
219
- options: localVarRequestOptions,
220
- };
221
- }),
222
- /**
223
- *
224
- * @summary 新增能源费用管理设置-单条新增
225
- * @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
226
- * @param {*} [options] Override http request option.
227
- * @throws {RequiredError}
228
- */
229
- energyCostMonthSettingAdd: (energyCostAddSettingDTO_1, ...args_1) => __awaiter(this, [energyCostAddSettingDTO_1, ...args_1], void 0, function* (energyCostAddSettingDTO, options = {}) {
230
- // verify required parameter 'energyCostAddSettingDTO' is not null or undefined
231
- assertParamExists('energyCostMonthSettingAdd', 'energyCostAddSettingDTO', energyCostAddSettingDTO);
232
- const localVarPath = `/gizone/energy/cost/month/setting`;
233
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
234
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
235
- let baseOptions;
236
- if (configuration) {
237
- baseOptions = configuration.baseOptions;
238
- }
239
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
240
- const localVarHeaderParameter = {};
241
- const localVarQueryParameter = {};
242
- // authentication tokenScheme required
243
- // http bearer authentication required
244
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
245
- localVarHeaderParameter['Content-Type'] = 'application/json';
246
- setSearchParams(localVarUrlObj, localVarQueryParameter);
247
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
248
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
249
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddSettingDTO, localVarRequestOptions, configuration);
250
- return {
251
- url: toPathString(localVarUrlObj),
252
- options: localVarRequestOptions,
253
- };
254
- }),
255
- /**
256
- *
257
- * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
258
- * @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
259
- * @param {string} [startTime]
260
- * @param {string} [endTime]
261
- * @param {*} [options] Override http request option.
262
- * @throws {RequiredError}
263
- */
264
- 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 = {}) {
265
- // verify required parameter 'energyType' is not null or undefined
266
- assertParamExists('energyCostMonthSettingList', 'energyType', energyType);
267
- const localVarPath = `/gizone/energy/cost/month/setting`;
268
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
269
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
270
- let baseOptions;
271
- if (configuration) {
272
- baseOptions = configuration.baseOptions;
273
- }
274
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
275
- const localVarHeaderParameter = {};
276
- const localVarQueryParameter = {};
277
- // authentication tokenScheme required
278
- // http bearer authentication required
279
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
280
- if (startTime !== undefined) {
281
- localVarQueryParameter['startTime'] = startTime;
282
- }
283
- if (endTime !== undefined) {
284
- localVarQueryParameter['endTime'] = endTime;
285
- }
286
- if (energyType !== undefined) {
287
- localVarQueryParameter['energyType'] = energyType;
288
- }
289
- setSearchParams(localVarUrlObj, localVarQueryParameter);
290
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
291
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
292
- return {
293
- url: toPathString(localVarUrlObj),
294
- options: localVarRequestOptions,
295
- };
296
- }),
297
- /**
298
- *
299
- * @summary 新增能源费用管理设置-园区汇总标准新增
300
- * @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
301
- * @param {*} [options] Override http request option.
302
- * @throws {RequiredError}
303
- */
304
- energyCostMonthSettingSummaryAdd: (energyCostSettingSummyAddDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyAddDTO_1, ...args_1], void 0, function* (energyCostSettingSummyAddDTO, options = {}) {
305
- // verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
306
- assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO);
307
- const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
308
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
310
- let baseOptions;
311
- if (configuration) {
312
- baseOptions = configuration.baseOptions;
313
- }
314
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
315
- const localVarHeaderParameter = {};
316
- const localVarQueryParameter = {};
317
- // authentication tokenScheme required
318
- // http bearer authentication required
319
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
320
- localVarHeaderParameter['Content-Type'] = 'application/json';
321
- setSearchParams(localVarUrlObj, localVarQueryParameter);
322
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
323
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
324
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration);
325
- return {
326
- url: toPathString(localVarUrlObj),
327
- options: localVarRequestOptions,
328
- };
329
- }),
330
- /**
331
- *
332
- * @summary 新增能源费用管理设置-列表-查询园区汇总标准
333
- * @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
334
- * @param {string} [startTime]
335
- * @param {string} [endTime]
336
- * @param {*} [options] Override http request option.
337
- * @throws {RequiredError}
338
- */
339
- 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 = {}) {
340
- // verify required parameter 'energyType' is not null or undefined
341
- assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType);
342
- const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
343
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
344
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
345
- let baseOptions;
346
- if (configuration) {
347
- baseOptions = configuration.baseOptions;
348
- }
349
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
350
- const localVarHeaderParameter = {};
351
- const localVarQueryParameter = {};
352
- // authentication tokenScheme required
353
- // http bearer authentication required
354
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
355
- if (startTime !== undefined) {
356
- localVarQueryParameter['startTime'] = startTime;
357
- }
358
- if (endTime !== undefined) {
359
- localVarQueryParameter['endTime'] = endTime;
360
- }
361
- if (energyType !== undefined) {
362
- localVarQueryParameter['energyType'] = energyType;
363
- }
364
- setSearchParams(localVarUrlObj, localVarQueryParameter);
365
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
366
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
367
- return {
368
- url: toPathString(localVarUrlObj),
369
- options: localVarRequestOptions,
370
- };
371
- }),
372
- /**
373
- *
374
- * @summary 新增能源费用管理设置-园区汇总标准修改
375
- * @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
376
- * @param {*} [options] Override http request option.
377
- * @throws {RequiredError}
378
- */
379
- energyCostMonthSettingSummaryUpdate: (energyCostSettingSummyUpdateDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyUpdateDTO_1, ...args_1], void 0, function* (energyCostSettingSummyUpdateDTO, options = {}) {
380
- // verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
381
- assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO);
382
- const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
383
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
384
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
385
- let baseOptions;
386
- if (configuration) {
387
- baseOptions = configuration.baseOptions;
388
- }
389
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
390
- const localVarHeaderParameter = {};
391
- const localVarQueryParameter = {};
392
- // authentication tokenScheme required
393
- // http bearer authentication required
394
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
395
- localVarHeaderParameter['Content-Type'] = 'application/json';
396
- setSearchParams(localVarUrlObj, localVarQueryParameter);
397
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
398
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
399
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration);
400
- return {
401
- url: toPathString(localVarUrlObj),
402
- options: localVarRequestOptions,
403
- };
404
- }),
405
- /**
406
- *
407
- * @summary 新增能源费用管理设置-单条修改
408
- * @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
409
- * @param {*} [options] Override http request option.
410
- * @throws {RequiredError}
411
- */
412
- energyCostMonthSettingUpdate: (energyCostUpdateSettingDTO_1, ...args_1) => __awaiter(this, [energyCostUpdateSettingDTO_1, ...args_1], void 0, function* (energyCostUpdateSettingDTO, options = {}) {
413
- // verify required parameter 'energyCostUpdateSettingDTO' is not null or undefined
414
- assertParamExists('energyCostMonthSettingUpdate', 'energyCostUpdateSettingDTO', energyCostUpdateSettingDTO);
415
- const localVarPath = `/gizone/energy/cost/month/setting`;
416
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
417
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
418
- let baseOptions;
419
- if (configuration) {
420
- baseOptions = configuration.baseOptions;
421
- }
422
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
423
- const localVarHeaderParameter = {};
424
- const localVarQueryParameter = {};
425
- // authentication tokenScheme required
426
- // http bearer authentication required
427
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
428
- localVarHeaderParameter['Content-Type'] = 'application/json';
429
- setSearchParams(localVarUrlObj, localVarQueryParameter);
430
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
432
- localVarRequestOptions.data = serializeDataIfNeeded(energyCostUpdateSettingDTO, localVarRequestOptions, configuration);
433
- return {
434
- url: toPathString(localVarUrlObj),
435
- options: localVarRequestOptions,
436
- };
437
- }),
438
- /**
439
- *
440
- * @summary 获取下拉框内容
441
- * @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- */
445
- getOptions: (type_1, ...args_1) => __awaiter(this, [type_1, ...args_1], void 0, function* (type, options = {}) {
446
- const localVarPath = `/gizone/energy/cost/record/getOptions`;
447
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
448
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
449
- let baseOptions;
450
- if (configuration) {
451
- baseOptions = configuration.baseOptions;
452
- }
453
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
454
- const localVarHeaderParameter = {};
455
- const localVarQueryParameter = {};
456
- // authentication tokenScheme required
457
- // http bearer authentication required
458
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
459
- if (type !== undefined) {
460
- localVarQueryParameter['type'] = type;
461
- }
462
- setSearchParams(localVarUrlObj, localVarQueryParameter);
463
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
464
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
465
- return {
466
- url: toPathString(localVarUrlObj),
467
- options: localVarRequestOptions,
468
- };
469
- }),
470
- };
471
- };
472
- /**
473
- * DefaultApi - functional programming interface
474
- * @export
475
- */
476
- export const DefaultApiFp = function (configuration) {
477
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
478
- return {
479
- /**
480
- *
481
- * @summary 新增能源消耗-返回详情
482
- * @param {number} id
483
- * @param {*} [options] Override http request option.
484
- * @throws {RequiredError}
485
- */
486
- energyCostAddRecordDetail(id, options) {
487
- return __awaiter(this, void 0, void 0, function* () {
488
- var _a, _b, _c;
489
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
490
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
491
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
492
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
493
- });
494
- },
495
- /**
496
- *
497
- * @summary 新增能源消耗-录入保存为草稿
498
- * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
499
- * @param {*} [options] Override http request option.
500
- * @throws {RequiredError}
501
- */
502
- energyCostAddRecordInputDraft(energyCostAddRecordDTO, options) {
503
- return __awaiter(this, void 0, void 0, function* () {
504
- var _a, _b, _c;
505
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordInputDraft(energyCostAddRecordDTO, options);
506
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
507
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordInputDraft']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
508
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
509
- });
510
- },
511
- /**
512
- *
513
- * @summary 新增能源消耗-列表
514
- * @param {number} [page]
515
- * @param {number} [size]
516
- * @param {string} [billCode]
517
- * @param {string} [startTime]
518
- * @param {string} [endTime]
519
- * @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
520
- * @param {number} [status]
521
- * @param {*} [options] Override http request option.
522
- * @throws {RequiredError}
523
- */
524
- energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options) {
525
- return __awaiter(this, void 0, void 0, function* () {
526
- var _a, _b, _c;
527
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
528
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
529
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
530
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
531
- });
532
- },
533
- /**
534
- *
535
- * @summary 新增能源消耗-next
536
- * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
537
- * @param {*} [options] Override http request option.
538
- * @throws {RequiredError}
539
- */
540
- energyCostAddRecordNext(energyCostAddRecordDTO, options) {
541
- return __awaiter(this, void 0, void 0, function* () {
542
- var _a, _b, _c;
543
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
544
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
545
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
546
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
547
- });
548
- },
549
- /**
550
- *
551
- * @summary 新增能源消耗-提交
552
- * @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
553
- * @param {*} [options] Override http request option.
554
- * @throws {RequiredError}
555
- */
556
- energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
557
- return __awaiter(this, void 0, void 0, function* () {
558
- var _a, _b, _c;
559
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
560
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
561
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
562
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
563
- });
564
- },
565
- /**
566
- *
567
- * @summary 新增能源费用管理设置-单条新增
568
- * @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
569
- * @param {*} [options] Override http request option.
570
- * @throws {RequiredError}
571
- */
572
- energyCostMonthSettingAdd(energyCostAddSettingDTO, options) {
573
- return __awaiter(this, void 0, void 0, function* () {
574
- var _a, _b, _c;
575
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
576
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
577
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
578
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
579
- });
580
- },
581
- /**
582
- *
583
- * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
584
- * @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
585
- * @param {string} [startTime]
586
- * @param {string} [endTime]
587
- * @param {*} [options] Override http request option.
588
- * @throws {RequiredError}
589
- */
590
- energyCostMonthSettingList(energyType, startTime, endTime, options) {
591
- return __awaiter(this, void 0, void 0, function* () {
592
- var _a, _b, _c;
593
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
594
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
595
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
596
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
597
- });
598
- },
599
- /**
600
- *
601
- * @summary 新增能源费用管理设置-园区汇总标准新增
602
- * @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
603
- * @param {*} [options] Override http request option.
604
- * @throws {RequiredError}
605
- */
606
- energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options) {
607
- return __awaiter(this, void 0, void 0, function* () {
608
- var _a, _b, _c;
609
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
610
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
611
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingSummaryAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
612
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
613
- });
614
- },
615
- /**
616
- *
617
- * @summary 新增能源费用管理设置-列表-查询园区汇总标准
618
- * @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
619
- * @param {string} [startTime]
620
- * @param {string} [endTime]
621
- * @param {*} [options] Override http request option.
622
- * @throws {RequiredError}
623
- */
624
- energyCostMonthSettingSummaryList(energyType, startTime, endTime, options) {
625
- return __awaiter(this, void 0, void 0, function* () {
626
- var _a, _b, _c;
627
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
628
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
629
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingSummaryList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
630
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
631
- });
632
- },
633
- /**
634
- *
635
- * @summary 新增能源费用管理设置-园区汇总标准修改
636
- * @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
637
- * @param {*} [options] Override http request option.
638
- * @throws {RequiredError}
639
- */
640
- energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options) {
641
- return __awaiter(this, void 0, void 0, function* () {
642
- var _a, _b, _c;
643
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
644
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
645
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingSummaryUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
646
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
647
- });
648
- },
649
- /**
650
- *
651
- * @summary 新增能源费用管理设置-单条修改
652
- * @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
653
- * @param {*} [options] Override http request option.
654
- * @throws {RequiredError}
655
- */
656
- energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options) {
657
- return __awaiter(this, void 0, void 0, function* () {
658
- var _a, _b, _c;
659
- const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options);
660
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
661
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
662
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
663
- });
664
- },
665
- /**
666
- *
667
- * @summary 获取下拉框内容
668
- * @param {string} [type] 能源类型<energyType> 账单来源(类型电)<billSourceElectric> 账单来源(类型水)<billSourceWater> 单价类型 <pricingTypeEnum>
669
- * @param {*} [options] Override http request option.
670
- * @throws {RequiredError}
671
- */
672
- getOptions(type, options) {
673
- return __awaiter(this, void 0, void 0, function* () {
674
- var _a, _b, _c;
675
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(type, options);
676
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
677
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
678
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
679
- });
680
- },
681
- };
682
- };
683
- /**
684
- * DefaultApi - factory interface
685
- * @export
686
- */
687
- export const DefaultApiFactory = function (configuration, basePath, axios) {
688
- const localVarFp = DefaultApiFp(configuration);
689
- return {
690
- /**
691
- *
692
- * @summary 新增能源消耗-返回详情
693
- * @param {DefaultApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
694
- * @param {*} [options] Override http request option.
695
- * @throws {RequiredError}
696
- */
697
- energyCostAddRecordDetail(requestParameters, options) {
698
- return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
699
- },
700
- /**
701
- *
702
- * @summary 新增能源消耗-录入保存为草稿
703
- * @param {DefaultApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
704
- * @param {*} [options] Override http request option.
705
- * @throws {RequiredError}
706
- */
707
- energyCostAddRecordInputDraft(requestParameters, options) {
708
- return localVarFp.energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
709
- },
710
- /**
711
- *
712
- * @summary 新增能源消耗-列表
713
- * @param {DefaultApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
714
- * @param {*} [options] Override http request option.
715
- * @throws {RequiredError}
716
- */
717
- energyCostAddRecordList(requestParameters = {}, options) {
718
- return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(axios, basePath));
719
- },
720
- /**
721
- *
722
- * @summary 新增能源消耗-next
723
- * @param {DefaultApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
724
- * @param {*} [options] Override http request option.
725
- * @throws {RequiredError}
726
- */
727
- energyCostAddRecordNext(requestParameters, options) {
728
- return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
729
- },
730
- /**
731
- *
732
- * @summary 新增能源消耗-提交
733
- * @param {DefaultApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
734
- * @param {*} [options] Override http request option.
735
- * @throws {RequiredError}
736
- */
737
- energyCostAddRecordSubmit(requestParameters, options) {
738
- return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
739
- },
740
- /**
741
- *
742
- * @summary 新增能源费用管理设置-单条新增
743
- * @param {DefaultApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
744
- * @param {*} [options] Override http request option.
745
- * @throws {RequiredError}
746
- */
747
- energyCostMonthSettingAdd(requestParameters, options) {
748
- return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
749
- },
750
- /**
751
- *
752
- * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
753
- * @param {DefaultApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
754
- * @param {*} [options] Override http request option.
755
- * @throws {RequiredError}
756
- */
757
- energyCostMonthSettingList(requestParameters, options) {
758
- return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
759
- },
760
- /**
761
- *
762
- * @summary 新增能源费用管理设置-园区汇总标准新增
763
- * @param {DefaultApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
764
- * @param {*} [options] Override http request option.
765
- * @throws {RequiredError}
766
- */
767
- energyCostMonthSettingSummaryAdd(requestParameters, options) {
768
- return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
769
- },
770
- /**
771
- *
772
- * @summary 新增能源费用管理设置-列表-查询园区汇总标准
773
- * @param {DefaultApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
774
- * @param {*} [options] Override http request option.
775
- * @throws {RequiredError}
776
- */
777
- energyCostMonthSettingSummaryList(requestParameters, options) {
778
- return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
779
- },
780
- /**
781
- *
782
- * @summary 新增能源费用管理设置-园区汇总标准修改
783
- * @param {DefaultApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
784
- * @param {*} [options] Override http request option.
785
- * @throws {RequiredError}
786
- */
787
- energyCostMonthSettingSummaryUpdate(requestParameters, options) {
788
- return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
789
- },
790
- /**
791
- *
792
- * @summary 新增能源费用管理设置-单条修改
793
- * @param {DefaultApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
794
- * @param {*} [options] Override http request option.
795
- * @throws {RequiredError}
796
- */
797
- energyCostMonthSettingUpdate(requestParameters, options) {
798
- return localVarFp.energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(axios, basePath));
799
- },
800
- /**
801
- *
802
- * @summary 获取下拉框内容
803
- * @param {DefaultApiGetOptionsRequest} requestParameters Request parameters.
804
- * @param {*} [options] Override http request option.
805
- * @throws {RequiredError}
806
- */
807
- getOptions(requestParameters = {}, options) {
808
- return localVarFp.getOptions(requestParameters.type, options).then((request) => request(axios, basePath));
809
- },
810
- };
811
- };
812
- /**
813
- * DefaultApi - object-oriented interface
814
- * @export
815
- * @class DefaultApi
816
- * @extends {BaseAPI}
817
- */
818
- export class DefaultApi extends BaseAPI {
819
- /**
820
- *
821
- * @summary 新增能源消耗-返回详情
822
- * @param {DefaultApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- * @memberof DefaultApi
826
- */
827
- energyCostAddRecordDetail(requestParameters, options) {
828
- return DefaultApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
829
- }
830
- /**
831
- *
832
- * @summary 新增能源消耗-录入保存为草稿
833
- * @param {DefaultApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
834
- * @param {*} [options] Override http request option.
835
- * @throws {RequiredError}
836
- * @memberof DefaultApi
837
- */
838
- energyCostAddRecordInputDraft(requestParameters, options) {
839
- return DefaultApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
840
- }
841
- /**
842
- *
843
- * @summary 新增能源消耗-列表
844
- * @param {DefaultApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
845
- * @param {*} [options] Override http request option.
846
- * @throws {RequiredError}
847
- * @memberof DefaultApi
848
- */
849
- energyCostAddRecordList(requestParameters = {}, options) {
850
- return DefaultApiFp(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
851
- }
852
- /**
853
- *
854
- * @summary 新增能源消耗-next
855
- * @param {DefaultApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
856
- * @param {*} [options] Override http request option.
857
- * @throws {RequiredError}
858
- * @memberof DefaultApi
859
- */
860
- energyCostAddRecordNext(requestParameters, options) {
861
- return DefaultApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
862
- }
863
- /**
864
- *
865
- * @summary 新增能源消耗-提交
866
- * @param {DefaultApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
867
- * @param {*} [options] Override http request option.
868
- * @throws {RequiredError}
869
- * @memberof DefaultApi
870
- */
871
- energyCostAddRecordSubmit(requestParameters, options) {
872
- return DefaultApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
873
- }
874
- /**
875
- *
876
- * @summary 新增能源费用管理设置-单条新增
877
- * @param {DefaultApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
878
- * @param {*} [options] Override http request option.
879
- * @throws {RequiredError}
880
- * @memberof DefaultApi
881
- */
882
- energyCostMonthSettingAdd(requestParameters, options) {
883
- return DefaultApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
884
- }
885
- /**
886
- *
887
- * @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
888
- * @param {DefaultApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
889
- * @param {*} [options] Override http request option.
890
- * @throws {RequiredError}
891
- * @memberof DefaultApi
892
- */
893
- energyCostMonthSettingList(requestParameters, options) {
894
- return DefaultApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
895
- }
896
- /**
897
- *
898
- * @summary 新增能源费用管理设置-园区汇总标准新增
899
- * @param {DefaultApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
900
- * @param {*} [options] Override http request option.
901
- * @throws {RequiredError}
902
- * @memberof DefaultApi
903
- */
904
- energyCostMonthSettingSummaryAdd(requestParameters, options) {
905
- return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
906
- }
907
- /**
908
- *
909
- * @summary 新增能源费用管理设置-列表-查询园区汇总标准
910
- * @param {DefaultApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
911
- * @param {*} [options] Override http request option.
912
- * @throws {RequiredError}
913
- * @memberof DefaultApi
914
- */
915
- energyCostMonthSettingSummaryList(requestParameters, options) {
916
- return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
917
- }
918
- /**
919
- *
920
- * @summary 新增能源费用管理设置-园区汇总标准修改
921
- * @param {DefaultApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
922
- * @param {*} [options] Override http request option.
923
- * @throws {RequiredError}
924
- * @memberof DefaultApi
925
- */
926
- energyCostMonthSettingSummaryUpdate(requestParameters, options) {
927
- return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
928
- }
929
- /**
930
- *
931
- * @summary 新增能源费用管理设置-单条修改
932
- * @param {DefaultApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
933
- * @param {*} [options] Override http request option.
934
- * @throws {RequiredError}
935
- * @memberof DefaultApi
936
- */
937
- energyCostMonthSettingUpdate(requestParameters, options) {
938
- return DefaultApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
939
- }
940
- /**
941
- *
942
- * @summary 获取下拉框内容
943
- * @param {DefaultApiGetOptionsRequest} requestParameters Request parameters.
944
- * @param {*} [options] Override http request option.
945
- * @throws {RequiredError}
946
- * @memberof DefaultApi
947
- */
948
- getOptions(requestParameters = {}, options) {
949
- return DefaultApiFp(this.configuration).getOptions(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
950
- }
951
- }
952
- /**
953
- * @export
954
- */
955
- export const EnergyCostAddRecordListEnergyTypeEnum = {
956
- Electric: 'ELECTRIC',
957
- Water: 'WATER'
958
- };
959
- /**
960
- * @export
961
- */
962
- export const EnergyCostMonthSettingListEnergyTypeEnum = {
963
- Electric: 'ELECTRIC',
964
- Water: 'WATER'
965
- };
966
- /**
967
- * @export
968
- */
969
- export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
970
- Electric: 'ELECTRIC',
971
- Water: 'WATER'
972
- };