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