@gizone/rrs-client 4.2.9-alpha.537 → 4.2.9-alpha.538
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 +0 -1
- package/apis/energy-cost-controller-api.ts +199 -178
- package/dist/apis/energy-cost-controller-api.d.ts +113 -98
- package/dist/apis/energy-cost-controller-api.js +154 -140
- package/dist/esm/apis/energy-cost-controller-api.d.ts +113 -98
- package/dist/esm/apis/energy-cost-controller-api.js +153 -139
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +22 -0
- package/dist/esm/models/energy-cost-add-record-dto.js +9 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.d.ts +41 -35
- package/dist/esm/models/energy-cost-month-setting-list-vo.js +1 -10
- package/dist/esm/models/energy-cost-record-info-vo.d.ts +40 -0
- package/dist/esm/models/energy-cost-record-info-vo.js +9 -0
- package/dist/esm/models/energy-cost-scenarios-info-vo.d.ts +11 -1
- package/dist/esm/models/energy-cost-scenarios-info-vo.js +9 -0
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/esm/models/item.d.ts +22 -0
- package/dist/esm/models/item.js +9 -0
- package/dist/models/energy-cost-add-record-dto.d.ts +22 -0
- package/dist/models/energy-cost-add-record-dto.js +10 -1
- package/dist/models/energy-cost-month-setting-list-vo.d.ts +41 -35
- package/dist/models/energy-cost-month-setting-list-vo.js +0 -11
- package/dist/models/energy-cost-record-info-vo.d.ts +40 -0
- package/dist/models/energy-cost-record-info-vo.js +10 -1
- package/dist/models/energy-cost-scenarios-info-vo.d.ts +11 -1
- package/dist/models/energy-cost-scenarios-info-vo.js +10 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/item.d.ts +22 -0
- package/dist/models/item.js +10 -1
- package/models/energy-cost-add-record-dto.ts +23 -0
- package/models/energy-cost-month-setting-list-vo.ts +41 -39
- package/models/energy-cost-record-info-vo.ts +41 -0
- package/models/energy-cost-scenarios-info-vo.ts +12 -1
- package/models/index.ts +0 -1
- package/models/item.ts +23 -0
- package/ossutil.log +1050 -1047
- package/package.json +1 -1
- package/dist/esm/models/energy-cost-confirm-record-dto.d.ts +0 -42
- package/dist/esm/models/energy-cost-confirm-record-dto.js +0 -17
- package/dist/models/energy-cost-confirm-record-dto.d.ts +0 -42
- package/dist/models/energy-cost-confirm-record-dto.js +0 -20
- package/models/energy-cost-confirm-record-dto.ts +0 -53
|
@@ -34,32 +34,31 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @summary
|
|
38
|
-
* @param {
|
|
37
|
+
* @summary 新增能源消耗-返回详情
|
|
38
|
+
* @param {number} id
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
43
|
-
// verify required parameter '
|
|
44
|
-
assertParamExists('
|
|
45
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
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)));
|
|
46
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
48
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
49
|
let baseOptions;
|
|
49
50
|
if (configuration) {
|
|
50
51
|
baseOptions = configuration.baseOptions;
|
|
51
52
|
}
|
|
52
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
53
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
53
54
|
const localVarHeaderParameter = {};
|
|
54
55
|
const localVarQueryParameter = {};
|
|
55
56
|
// authentication tokenScheme required
|
|
56
57
|
// http bearer authentication required
|
|
57
58
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
61
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostConfirmRecordDTO, localVarRequestOptions, configuration);
|
|
63
62
|
return {
|
|
64
63
|
url: toPathString(localVarUrlObj),
|
|
65
64
|
options: localVarRequestOptions,
|
|
@@ -67,31 +66,32 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
67
66
|
}),
|
|
68
67
|
/**
|
|
69
68
|
*
|
|
70
|
-
* @summary
|
|
71
|
-
* @param {
|
|
69
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
70
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
72
71
|
* @param {*} [options] Override http request option.
|
|
73
72
|
* @throws {RequiredError}
|
|
74
73
|
*/
|
|
75
|
-
|
|
76
|
-
// verify required parameter '
|
|
77
|
-
assertParamExists('
|
|
78
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
79
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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`;
|
|
80
78
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
81
79
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82
80
|
let baseOptions;
|
|
83
81
|
if (configuration) {
|
|
84
82
|
baseOptions = configuration.baseOptions;
|
|
85
83
|
}
|
|
86
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
84
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
87
85
|
const localVarHeaderParameter = {};
|
|
88
86
|
const localVarQueryParameter = {};
|
|
89
87
|
// authentication tokenScheme required
|
|
90
88
|
// http bearer authentication required
|
|
91
89
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
90
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
92
91
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
92
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
93
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
94
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
95
95
|
return {
|
|
96
96
|
url: toPathString(localVarUrlObj),
|
|
97
97
|
options: localVarRequestOptions,
|
|
@@ -99,32 +99,55 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
99
99
|
}),
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
|
-
* @summary
|
|
103
|
-
* @param {
|
|
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]
|
|
104
110
|
* @param {*} [options] Override http request option.
|
|
105
111
|
* @throws {RequiredError}
|
|
106
112
|
*/
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
assertParamExists('energyCostAddRecordInput', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
110
|
-
const localVarPath = `/gizone/energy/cost/record/input`;
|
|
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`;
|
|
111
115
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
112
116
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
113
117
|
let baseOptions;
|
|
114
118
|
if (configuration) {
|
|
115
119
|
baseOptions = configuration.baseOptions;
|
|
116
120
|
}
|
|
117
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
118
122
|
const localVarHeaderParameter = {};
|
|
119
123
|
const localVarQueryParameter = {};
|
|
120
124
|
// authentication tokenScheme required
|
|
121
125
|
// http bearer authentication required
|
|
122
126
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
123
|
-
|
|
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
|
+
}
|
|
124
148
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
150
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
-
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
128
151
|
return {
|
|
129
152
|
url: toPathString(localVarUrlObj),
|
|
130
153
|
options: localVarRequestOptions,
|
|
@@ -132,15 +155,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
132
155
|
}),
|
|
133
156
|
/**
|
|
134
157
|
*
|
|
135
|
-
* @summary
|
|
158
|
+
* @summary 新增能源消耗-next
|
|
136
159
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
137
160
|
* @param {*} [options] Override http request option.
|
|
138
161
|
* @throws {RequiredError}
|
|
139
162
|
*/
|
|
140
|
-
|
|
163
|
+
energyCostAddRecordNext: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
141
164
|
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
142
|
-
assertParamExists('
|
|
143
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
165
|
+
assertParamExists('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
166
|
+
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
144
167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145
168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146
169
|
let baseOptions;
|
|
@@ -165,55 +188,32 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
165
188
|
}),
|
|
166
189
|
/**
|
|
167
190
|
*
|
|
168
|
-
* @summary
|
|
169
|
-
* @param {
|
|
170
|
-
* @param {number} [size]
|
|
171
|
-
* @param {string} [billNo]
|
|
172
|
-
* @param {string} [startTime]
|
|
173
|
-
* @param {string} [endTime]
|
|
174
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
175
|
-
* @param {number} [status]
|
|
191
|
+
* @summary 新增能源消耗-提交
|
|
192
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
176
193
|
* @param {*} [options] Override http request option.
|
|
177
194
|
* @throws {RequiredError}
|
|
178
195
|
*/
|
|
179
|
-
|
|
180
|
-
|
|
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`;
|
|
181
200
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
182
201
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
183
202
|
let baseOptions;
|
|
184
203
|
if (configuration) {
|
|
185
204
|
baseOptions = configuration.baseOptions;
|
|
186
205
|
}
|
|
187
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
206
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
188
207
|
const localVarHeaderParameter = {};
|
|
189
208
|
const localVarQueryParameter = {};
|
|
190
209
|
// authentication tokenScheme required
|
|
191
210
|
// http bearer authentication required
|
|
192
211
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
193
|
-
|
|
194
|
-
localVarQueryParameter['page'] = page;
|
|
195
|
-
}
|
|
196
|
-
if (size !== undefined) {
|
|
197
|
-
localVarQueryParameter['size'] = size;
|
|
198
|
-
}
|
|
199
|
-
if (billNo !== undefined) {
|
|
200
|
-
localVarQueryParameter['billNo'] = billNo;
|
|
201
|
-
}
|
|
202
|
-
if (startTime !== undefined) {
|
|
203
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
204
|
-
}
|
|
205
|
-
if (endTime !== undefined) {
|
|
206
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
207
|
-
}
|
|
208
|
-
if (energyType !== undefined) {
|
|
209
|
-
localVarQueryParameter['energyType'] = energyType;
|
|
210
|
-
}
|
|
211
|
-
if (status !== undefined) {
|
|
212
|
-
localVarQueryParameter['status'] = status;
|
|
213
|
-
}
|
|
212
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
214
213
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
215
214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
216
215
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
216
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
217
217
|
return {
|
|
218
218
|
url: toPathString(localVarUrlObj),
|
|
219
219
|
options: localVarRequestOptions,
|
|
@@ -255,12 +255,15 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
255
255
|
/**
|
|
256
256
|
*
|
|
257
257
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
258
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
258
259
|
* @param {string} [startTime]
|
|
259
260
|
* @param {string} [endTime]
|
|
260
261
|
* @param {*} [options] Override http request option.
|
|
261
262
|
* @throws {RequiredError}
|
|
262
263
|
*/
|
|
263
|
-
energyCostMonthSettingList: (startTime_1, endTime_1, ...args_1) => __awaiter(this, [startTime_1, endTime_1, ...args_1], void 0, function* (startTime, endTime, options = {}) {
|
|
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);
|
|
264
267
|
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
265
268
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
266
269
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -280,6 +283,9 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
280
283
|
if (endTime !== undefined) {
|
|
281
284
|
localVarQueryParameter['endTime'] = endTime;
|
|
282
285
|
}
|
|
286
|
+
if (energyType !== undefined) {
|
|
287
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
288
|
+
}
|
|
283
289
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
284
290
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
291
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -364,87 +370,87 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
364
370
|
return {
|
|
365
371
|
/**
|
|
366
372
|
*
|
|
367
|
-
* @summary
|
|
368
|
-
* @param {
|
|
373
|
+
* @summary 新增能源消耗-返回详情
|
|
374
|
+
* @param {number} id
|
|
369
375
|
* @param {*} [options] Override http request option.
|
|
370
376
|
* @throws {RequiredError}
|
|
371
377
|
*/
|
|
372
|
-
|
|
378
|
+
energyCostAddRecordDetail(id, options) {
|
|
373
379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
374
380
|
var _a, _b, _c;
|
|
375
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
381
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
376
382
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
377
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
383
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
378
384
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
379
385
|
});
|
|
380
386
|
},
|
|
381
387
|
/**
|
|
382
388
|
*
|
|
383
|
-
* @summary
|
|
384
|
-
* @param {
|
|
389
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
390
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
385
391
|
* @param {*} [options] Override http request option.
|
|
386
392
|
* @throws {RequiredError}
|
|
387
393
|
*/
|
|
388
|
-
|
|
394
|
+
energyCostAddRecordInputDraft(energyCostAddRecordDTO, options) {
|
|
389
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
390
396
|
var _a, _b, _c;
|
|
391
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
397
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordInputDraft(energyCostAddRecordDTO, options);
|
|
392
398
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
393
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
399
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordInputDraft']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
394
400
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
395
401
|
});
|
|
396
402
|
},
|
|
397
403
|
/**
|
|
398
404
|
*
|
|
399
|
-
* @summary
|
|
400
|
-
* @param {
|
|
405
|
+
* @summary 新增能源消耗-列表
|
|
406
|
+
* @param {number} [page]
|
|
407
|
+
* @param {number} [size]
|
|
408
|
+
* @param {string} [billCode]
|
|
409
|
+
* @param {string} [startTime]
|
|
410
|
+
* @param {string} [endTime]
|
|
411
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
412
|
+
* @param {number} [status]
|
|
401
413
|
* @param {*} [options] Override http request option.
|
|
402
414
|
* @throws {RequiredError}
|
|
403
415
|
*/
|
|
404
|
-
|
|
416
|
+
energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options) {
|
|
405
417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
406
418
|
var _a, _b, _c;
|
|
407
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
419
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
408
420
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
409
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
421
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
410
422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
411
423
|
});
|
|
412
424
|
},
|
|
413
425
|
/**
|
|
414
426
|
*
|
|
415
|
-
* @summary
|
|
427
|
+
* @summary 新增能源消耗-next
|
|
416
428
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
417
429
|
* @param {*} [options] Override http request option.
|
|
418
430
|
* @throws {RequiredError}
|
|
419
431
|
*/
|
|
420
|
-
|
|
432
|
+
energyCostAddRecordNext(energyCostAddRecordDTO, options) {
|
|
421
433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
422
434
|
var _a, _b, _c;
|
|
423
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
435
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
424
436
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
425
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
437
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
426
438
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
427
439
|
});
|
|
428
440
|
},
|
|
429
441
|
/**
|
|
430
442
|
*
|
|
431
|
-
* @summary
|
|
432
|
-
* @param {
|
|
433
|
-
* @param {number} [size]
|
|
434
|
-
* @param {string} [billNo]
|
|
435
|
-
* @param {string} [startTime]
|
|
436
|
-
* @param {string} [endTime]
|
|
437
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
438
|
-
* @param {number} [status]
|
|
443
|
+
* @summary 新增能源消耗-提交
|
|
444
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
439
445
|
* @param {*} [options] Override http request option.
|
|
440
446
|
* @throws {RequiredError}
|
|
441
447
|
*/
|
|
442
|
-
|
|
448
|
+
energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
|
|
443
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
444
450
|
var _a, _b, _c;
|
|
445
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
451
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
446
452
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
447
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
453
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
448
454
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
449
455
|
});
|
|
450
456
|
},
|
|
@@ -467,15 +473,16 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
467
473
|
/**
|
|
468
474
|
*
|
|
469
475
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
476
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
470
477
|
* @param {string} [startTime]
|
|
471
478
|
* @param {string} [endTime]
|
|
472
479
|
* @param {*} [options] Override http request option.
|
|
473
480
|
* @throws {RequiredError}
|
|
474
481
|
*/
|
|
475
|
-
energyCostMonthSettingList(startTime, endTime, options) {
|
|
482
|
+
energyCostMonthSettingList(energyType, startTime, endTime, options) {
|
|
476
483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
477
484
|
var _a, _b, _c;
|
|
478
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(startTime, endTime, options);
|
|
485
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
|
|
479
486
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
480
487
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
481
488
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -524,53 +531,53 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
524
531
|
return {
|
|
525
532
|
/**
|
|
526
533
|
*
|
|
527
|
-
* @summary
|
|
528
|
-
* @param {
|
|
534
|
+
* @summary 新增能源消耗-返回详情
|
|
535
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
529
536
|
* @param {*} [options] Override http request option.
|
|
530
537
|
* @throws {RequiredError}
|
|
531
538
|
*/
|
|
532
|
-
|
|
533
|
-
return localVarFp.
|
|
539
|
+
energyCostAddRecordDetail(requestParameters, options) {
|
|
540
|
+
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
534
541
|
},
|
|
535
542
|
/**
|
|
536
543
|
*
|
|
537
|
-
* @summary
|
|
538
|
-
* @param {
|
|
544
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
545
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
539
546
|
* @param {*} [options] Override http request option.
|
|
540
547
|
* @throws {RequiredError}
|
|
541
548
|
*/
|
|
542
|
-
|
|
543
|
-
return localVarFp.
|
|
549
|
+
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
550
|
+
return localVarFp.energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
544
551
|
},
|
|
545
552
|
/**
|
|
546
553
|
*
|
|
547
|
-
* @summary
|
|
548
|
-
* @param {
|
|
554
|
+
* @summary 新增能源消耗-列表
|
|
555
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
549
556
|
* @param {*} [options] Override http request option.
|
|
550
557
|
* @throws {RequiredError}
|
|
551
558
|
*/
|
|
552
|
-
|
|
553
|
-
return localVarFp.
|
|
559
|
+
energyCostAddRecordList(requestParameters = {}, options) {
|
|
560
|
+
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
554
561
|
},
|
|
555
562
|
/**
|
|
556
563
|
*
|
|
557
|
-
* @summary
|
|
558
|
-
* @param {
|
|
564
|
+
* @summary 新增能源消耗-next
|
|
565
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
559
566
|
* @param {*} [options] Override http request option.
|
|
560
567
|
* @throws {RequiredError}
|
|
561
568
|
*/
|
|
562
|
-
|
|
563
|
-
return localVarFp.
|
|
569
|
+
energyCostAddRecordNext(requestParameters, options) {
|
|
570
|
+
return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
564
571
|
},
|
|
565
572
|
/**
|
|
566
573
|
*
|
|
567
|
-
* @summary
|
|
568
|
-
* @param {
|
|
574
|
+
* @summary 新增能源消耗-提交
|
|
575
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
569
576
|
* @param {*} [options] Override http request option.
|
|
570
577
|
* @throws {RequiredError}
|
|
571
578
|
*/
|
|
572
|
-
|
|
573
|
-
return localVarFp.
|
|
579
|
+
energyCostAddRecordSubmit(requestParameters, options) {
|
|
580
|
+
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
574
581
|
},
|
|
575
582
|
/**
|
|
576
583
|
*
|
|
@@ -589,8 +596,8 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
589
596
|
* @param {*} [options] Override http request option.
|
|
590
597
|
* @throws {RequiredError}
|
|
591
598
|
*/
|
|
592
|
-
energyCostMonthSettingList(requestParameters
|
|
593
|
-
return localVarFp.energyCostMonthSettingList(requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
599
|
+
energyCostMonthSettingList(requestParameters, options) {
|
|
600
|
+
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
594
601
|
},
|
|
595
602
|
/**
|
|
596
603
|
*
|
|
@@ -623,58 +630,58 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
623
630
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
624
631
|
/**
|
|
625
632
|
*
|
|
626
|
-
* @summary
|
|
627
|
-
* @param {
|
|
633
|
+
* @summary 新增能源消耗-返回详情
|
|
634
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
628
635
|
* @param {*} [options] Override http request option.
|
|
629
636
|
* @throws {RequiredError}
|
|
630
637
|
* @memberof EnergyCostControllerApi
|
|
631
638
|
*/
|
|
632
|
-
|
|
633
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
639
|
+
energyCostAddRecordDetail(requestParameters, options) {
|
|
640
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
634
641
|
}
|
|
635
642
|
/**
|
|
636
643
|
*
|
|
637
|
-
* @summary
|
|
638
|
-
* @param {
|
|
644
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
645
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
639
646
|
* @param {*} [options] Override http request option.
|
|
640
647
|
* @throws {RequiredError}
|
|
641
648
|
* @memberof EnergyCostControllerApi
|
|
642
649
|
*/
|
|
643
|
-
|
|
644
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
650
|
+
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
651
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
645
652
|
}
|
|
646
653
|
/**
|
|
647
654
|
*
|
|
648
|
-
* @summary
|
|
649
|
-
* @param {
|
|
655
|
+
* @summary 新增能源消耗-列表
|
|
656
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
650
657
|
* @param {*} [options] Override http request option.
|
|
651
658
|
* @throws {RequiredError}
|
|
652
659
|
* @memberof EnergyCostControllerApi
|
|
653
660
|
*/
|
|
654
|
-
|
|
655
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
661
|
+
energyCostAddRecordList(requestParameters = {}, options) {
|
|
662
|
+
return EnergyCostControllerApiFp(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));
|
|
656
663
|
}
|
|
657
664
|
/**
|
|
658
665
|
*
|
|
659
|
-
* @summary
|
|
660
|
-
* @param {
|
|
666
|
+
* @summary 新增能源消耗-next
|
|
667
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
661
668
|
* @param {*} [options] Override http request option.
|
|
662
669
|
* @throws {RequiredError}
|
|
663
670
|
* @memberof EnergyCostControllerApi
|
|
664
671
|
*/
|
|
665
|
-
|
|
666
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
672
|
+
energyCostAddRecordNext(requestParameters, options) {
|
|
673
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
667
674
|
}
|
|
668
675
|
/**
|
|
669
676
|
*
|
|
670
|
-
* @summary
|
|
671
|
-
* @param {
|
|
677
|
+
* @summary 新增能源消耗-提交
|
|
678
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
672
679
|
* @param {*} [options] Override http request option.
|
|
673
680
|
* @throws {RequiredError}
|
|
674
681
|
* @memberof EnergyCostControllerApi
|
|
675
682
|
*/
|
|
676
|
-
|
|
677
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
683
|
+
energyCostAddRecordSubmit(requestParameters, options) {
|
|
684
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
678
685
|
}
|
|
679
686
|
/**
|
|
680
687
|
*
|
|
@@ -695,8 +702,8 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
695
702
|
* @throws {RequiredError}
|
|
696
703
|
* @memberof EnergyCostControllerApi
|
|
697
704
|
*/
|
|
698
|
-
energyCostMonthSettingList(requestParameters
|
|
699
|
-
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingList(requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
705
|
+
energyCostMonthSettingList(requestParameters, options) {
|
|
706
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
700
707
|
}
|
|
701
708
|
/**
|
|
702
709
|
*
|
|
@@ -728,3 +735,10 @@ export const EnergyCostAddRecordListEnergyTypeEnum = {
|
|
|
728
735
|
Electric: 'ELECTRIC',
|
|
729
736
|
Water: 'WATER'
|
|
730
737
|
};
|
|
738
|
+
/**
|
|
739
|
+
* @export
|
|
740
|
+
*/
|
|
741
|
+
export const EnergyCostMonthSettingListEnergyTypeEnum = {
|
|
742
|
+
Electric: 'ELECTRIC',
|
|
743
|
+
Water: 'WATER'
|
|
744
|
+
};
|
|
@@ -106,6 +106,18 @@ export interface EnergyCostAddRecordDTO {
|
|
|
106
106
|
* @memberof EnergyCostAddRecordDTO
|
|
107
107
|
*/
|
|
108
108
|
'totalVacantArea': number;
|
|
109
|
+
/**
|
|
110
|
+
* 超标原因
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof EnergyCostAddRecordDTO
|
|
113
|
+
*/
|
|
114
|
+
'overrunReason'?: EnergyCostAddRecordDTOOverrunReasonEnum;
|
|
115
|
+
/**
|
|
116
|
+
* 备注
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof EnergyCostAddRecordDTO
|
|
119
|
+
*/
|
|
120
|
+
'remark'?: string;
|
|
109
121
|
/**
|
|
110
122
|
* 附件
|
|
111
123
|
* @type {string}
|
|
@@ -136,3 +148,13 @@ export declare const EnergyCostAddRecordDTOPricingTypeEnum: {
|
|
|
136
148
|
readonly PeakValleyFlat: "PEAK_VALLEY_FLAT";
|
|
137
149
|
};
|
|
138
150
|
export type EnergyCostAddRecordDTOPricingTypeEnum = typeof EnergyCostAddRecordDTOPricingTypeEnum[keyof typeof EnergyCostAddRecordDTOPricingTypeEnum];
|
|
151
|
+
export declare const EnergyCostAddRecordDTOOverrunReasonEnum: {
|
|
152
|
+
readonly BusinessVolumeOperationTimeIncrease: "BUSINESS_VOLUME_OPERATION_TIME_INCREASE";
|
|
153
|
+
readonly BusinessVolumeChargingDeviceIncrease: "BUSINESS_VOLUME_CHARGING_DEVICE_INCREASE";
|
|
154
|
+
readonly BusinessVolumeAreaIncrease: "BUSINESS_VOLUME_AREA_INCREASE";
|
|
155
|
+
readonly SocialCustomerEnergyConsumptionIncrease: "SOCIAL_CUSTOMER_ENERGY_CONSUMPTION_INCREASE";
|
|
156
|
+
readonly EnergyConsumingEquipmentIncrease: "ENERGY_CONSUMING_EQUIPMENT_INCREASE";
|
|
157
|
+
readonly AbnormalWeather: "ABNORMAL_WEATHER";
|
|
158
|
+
readonly Other: "OTHER";
|
|
159
|
+
};
|
|
160
|
+
export type EnergyCostAddRecordDTOOverrunReasonEnum = typeof EnergyCostAddRecordDTOOverrunReasonEnum[keyof typeof EnergyCostAddRecordDTOOverrunReasonEnum];
|
|
@@ -25,3 +25,12 @@ export const EnergyCostAddRecordDTOPricingTypeEnum = {
|
|
|
25
25
|
UniformUnitPrice: 'UNIFORM_UNIT_PRICE',
|
|
26
26
|
PeakValleyFlat: 'PEAK_VALLEY_FLAT'
|
|
27
27
|
};
|
|
28
|
+
export const EnergyCostAddRecordDTOOverrunReasonEnum = {
|
|
29
|
+
BusinessVolumeOperationTimeIncrease: 'BUSINESS_VOLUME_OPERATION_TIME_INCREASE',
|
|
30
|
+
BusinessVolumeChargingDeviceIncrease: 'BUSINESS_VOLUME_CHARGING_DEVICE_INCREASE',
|
|
31
|
+
BusinessVolumeAreaIncrease: 'BUSINESS_VOLUME_AREA_INCREASE',
|
|
32
|
+
SocialCustomerEnergyConsumptionIncrease: 'SOCIAL_CUSTOMER_ENERGY_CONSUMPTION_INCREASE',
|
|
33
|
+
EnergyConsumingEquipmentIncrease: 'ENERGY_CONSUMING_EQUIPMENT_INCREASE',
|
|
34
|
+
AbnormalWeather: 'ABNORMAL_WEATHER',
|
|
35
|
+
Other: 'OTHER'
|
|
36
|
+
};
|