@gizone/rrs-client 4.2.9-alpha.540 → 4.2.9-alpha.541
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -0
- package/apis/energy-cost-controller-api.ts +99 -8
- package/dist/apis/energy-cost-controller-api.d.ts +55 -8
- package/dist/apis/energy-cost-controller-api.js +78 -8
- package/dist/esm/apis/energy-cost-controller-api.d.ts +55 -8
- package/dist/esm/apis/energy-cost-controller-api.js +78 -8
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +7 -0
- package/dist/esm/models/energy-cost-add-setting-dto.d.ts +4 -39
- package/dist/esm/models/energy-cost-add-setting-dto.js +1 -10
- package/dist/esm/models/energy-cost-setting-delete-dto.d.ts +41 -0
- package/dist/esm/models/energy-cost-setting-delete-dto.js +17 -0
- package/dist/esm/models/energy-cost-update-setting-dto.d.ts +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/esm/models/item.d.ts +4 -4
- package/dist/esm/models/park-setting.d.ts +42 -0
- package/dist/esm/models/park-setting.js +17 -0
- package/dist/esm/models/pricing-item.d.ts +50 -0
- package/dist/esm/models/pricing-item.js +20 -0
- package/dist/models/energy-cost-add-record-dto.d.ts +7 -0
- package/dist/models/energy-cost-add-setting-dto.d.ts +4 -39
- package/dist/models/energy-cost-add-setting-dto.js +0 -11
- package/dist/models/energy-cost-setting-delete-dto.d.ts +41 -0
- package/dist/models/energy-cost-setting-delete-dto.js +20 -0
- package/dist/models/energy-cost-update-setting-dto.d.ts +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/models/item.d.ts +4 -4
- package/dist/models/park-setting.d.ts +42 -0
- package/dist/models/park-setting.js +20 -0
- package/dist/models/pricing-item.d.ts +50 -0
- package/dist/models/pricing-item.js +23 -0
- package/models/energy-cost-add-record-dto.ts +9 -0
- package/models/energy-cost-add-setting-dto.ts +6 -43
- package/models/energy-cost-setting-delete-dto.ts +50 -0
- package/models/energy-cost-update-setting-dto.ts +1 -1
- package/models/index.ts +3 -0
- package/models/ipage-energy-cost-record-info-vo.ts +3 -3
- package/models/item.ts +4 -4
- package/models/park-setting.ts +53 -0
- package/models/pricing-item.ts +59 -0
- package/ossutil.log +1056 -1056
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { EnergyCostAddSettingDTO } from '../models';
|
|
16
|
+
import type { EnergyCostSettingDeleteDTO } from '../models';
|
|
16
17
|
import type { EnergyCostSettingSummyAddDTO } from '../models';
|
|
17
18
|
import type { EnergyCostSettingSummyUpdateDTO } from '../models';
|
|
18
19
|
import type { EnergyCostUpdateSettingDTO } from '../models';
|
|
@@ -26,12 +27,20 @@ import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
|
|
|
26
27
|
export declare const EnergyCostControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
28
|
/**
|
|
28
29
|
*
|
|
29
|
-
* @summary
|
|
30
|
+
* @summary 能源费用管理设置-新增
|
|
30
31
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
35
|
energyCostMonthSettingAdd: (energyCostAddSettingDTO: EnergyCostAddSettingDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary 能源费用管理设置-删除
|
|
39
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
energyCostMonthSettingDelete: (energyCostSettingDeleteDTO: EnergyCostSettingDeleteDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
44
|
/**
|
|
36
45
|
*
|
|
37
46
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -70,7 +79,7 @@ export declare const EnergyCostControllerApiAxiosParamCreator: (configuration?:
|
|
|
70
79
|
energyCostMonthSettingSummaryUpdate: (energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
80
|
/**
|
|
72
81
|
*
|
|
73
|
-
* @summary
|
|
82
|
+
* @summary 能源费用管理设置-修改
|
|
74
83
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
75
84
|
* @param {*} [options] Override http request option.
|
|
76
85
|
* @throws {RequiredError}
|
|
@@ -84,12 +93,20 @@ export declare const EnergyCostControllerApiAxiosParamCreator: (configuration?:
|
|
|
84
93
|
export declare const EnergyCostControllerApiFp: (configuration?: Configuration) => {
|
|
85
94
|
/**
|
|
86
95
|
*
|
|
87
|
-
* @summary
|
|
96
|
+
* @summary 能源费用管理设置-新增
|
|
88
97
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
89
98
|
* @param {*} [options] Override http request option.
|
|
90
99
|
* @throws {RequiredError}
|
|
91
100
|
*/
|
|
92
101
|
energyCostMonthSettingAdd(energyCostAddSettingDTO: EnergyCostAddSettingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @summary 能源费用管理设置-删除
|
|
105
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
energyCostMonthSettingDelete(energyCostSettingDeleteDTO: EnergyCostSettingDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
93
110
|
/**
|
|
94
111
|
*
|
|
95
112
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -128,7 +145,7 @@ export declare const EnergyCostControllerApiFp: (configuration?: Configuration)
|
|
|
128
145
|
energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO: EnergyCostSettingSummyUpdateDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
129
146
|
/**
|
|
130
147
|
*
|
|
131
|
-
* @summary
|
|
148
|
+
* @summary 能源费用管理设置-修改
|
|
132
149
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
133
150
|
* @param {*} [options] Override http request option.
|
|
134
151
|
* @throws {RequiredError}
|
|
@@ -142,12 +159,20 @@ export declare const EnergyCostControllerApiFp: (configuration?: Configuration)
|
|
|
142
159
|
export declare const EnergyCostControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
143
160
|
/**
|
|
144
161
|
*
|
|
145
|
-
* @summary
|
|
162
|
+
* @summary 能源费用管理设置-新增
|
|
146
163
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
147
164
|
* @param {*} [options] Override http request option.
|
|
148
165
|
* @throws {RequiredError}
|
|
149
166
|
*/
|
|
150
167
|
energyCostMonthSettingAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @summary 能源费用管理设置-删除
|
|
171
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
energyCostMonthSettingDelete(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
151
176
|
/**
|
|
152
177
|
*
|
|
153
178
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -182,7 +207,7 @@ export declare const EnergyCostControllerApiFactory: (configuration?: Configurat
|
|
|
182
207
|
energyCostMonthSettingSummaryUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
183
208
|
/**
|
|
184
209
|
*
|
|
185
|
-
* @summary
|
|
210
|
+
* @summary 能源费用管理设置-修改
|
|
186
211
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
187
212
|
* @param {*} [options] Override http request option.
|
|
188
213
|
* @throws {RequiredError}
|
|
@@ -202,6 +227,19 @@ export interface EnergyCostControllerApiEnergyCostMonthSettingAddRequest {
|
|
|
202
227
|
*/
|
|
203
228
|
readonly energyCostAddSettingDTO: EnergyCostAddSettingDTO;
|
|
204
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Request parameters for energyCostMonthSettingDelete operation in EnergyCostControllerApi.
|
|
232
|
+
* @export
|
|
233
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest
|
|
234
|
+
*/
|
|
235
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest {
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {EnergyCostSettingDeleteDTO}
|
|
239
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingDelete
|
|
240
|
+
*/
|
|
241
|
+
readonly energyCostSettingDeleteDTO: EnergyCostSettingDeleteDTO;
|
|
242
|
+
}
|
|
205
243
|
/**
|
|
206
244
|
* Request parameters for energyCostMonthSettingList operation in EnergyCostControllerApi.
|
|
207
245
|
* @export
|
|
@@ -300,13 +338,22 @@ export interface EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest {
|
|
|
300
338
|
export declare class EnergyCostControllerApi extends BaseAPI {
|
|
301
339
|
/**
|
|
302
340
|
*
|
|
303
|
-
* @summary
|
|
341
|
+
* @summary 能源费用管理设置-新增
|
|
304
342
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
305
343
|
* @param {*} [options] Override http request option.
|
|
306
344
|
* @throws {RequiredError}
|
|
307
345
|
* @memberof EnergyCostControllerApi
|
|
308
346
|
*/
|
|
309
347
|
energyCostMonthSettingAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @summary 能源费用管理设置-删除
|
|
351
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof EnergyCostControllerApi
|
|
355
|
+
*/
|
|
356
|
+
energyCostMonthSettingDelete(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
|
|
310
357
|
/**
|
|
311
358
|
*
|
|
312
359
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -345,7 +392,7 @@ export declare class EnergyCostControllerApi extends BaseAPI {
|
|
|
345
392
|
energyCostMonthSettingSummaryUpdate(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingSummaryUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
|
|
346
393
|
/**
|
|
347
394
|
*
|
|
348
|
-
* @summary
|
|
395
|
+
* @summary 能源费用管理设置-修改
|
|
349
396
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
350
397
|
* @param {*} [options] Override http request option.
|
|
351
398
|
* @throws {RequiredError}
|
|
@@ -34,7 +34,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @summary
|
|
37
|
+
* @summary 能源费用管理设置-新增
|
|
38
38
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
@@ -65,6 +65,39 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
65
65
|
options: localVarRequestOptions,
|
|
66
66
|
};
|
|
67
67
|
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 能源费用管理设置-删除
|
|
71
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
energyCostMonthSettingDelete: (energyCostSettingDeleteDTO_1, ...args_1) => __awaiter(this, [energyCostSettingDeleteDTO_1, ...args_1], void 0, function* (energyCostSettingDeleteDTO, options = {}) {
|
|
76
|
+
// verify required parameter 'energyCostSettingDeleteDTO' is not null or undefined
|
|
77
|
+
assertParamExists('energyCostMonthSettingDelete', 'energyCostSettingDeleteDTO', energyCostSettingDeleteDTO);
|
|
78
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
if (configuration) {
|
|
83
|
+
baseOptions = configuration.baseOptions;
|
|
84
|
+
}
|
|
85
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
86
|
+
const localVarHeaderParameter = {};
|
|
87
|
+
const localVarQueryParameter = {};
|
|
88
|
+
// authentication tokenScheme required
|
|
89
|
+
// http bearer authentication required
|
|
90
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
91
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
95
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingDeleteDTO, localVarRequestOptions, configuration);
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
}),
|
|
68
101
|
/**
|
|
69
102
|
*
|
|
70
103
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -217,7 +250,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
217
250
|
}),
|
|
218
251
|
/**
|
|
219
252
|
*
|
|
220
|
-
* @summary
|
|
253
|
+
* @summary 能源费用管理设置-修改
|
|
221
254
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
222
255
|
* @param {*} [options] Override http request option.
|
|
223
256
|
* @throws {RequiredError}
|
|
@@ -259,7 +292,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
259
292
|
return {
|
|
260
293
|
/**
|
|
261
294
|
*
|
|
262
|
-
* @summary
|
|
295
|
+
* @summary 能源费用管理设置-新增
|
|
263
296
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
264
297
|
* @param {*} [options] Override http request option.
|
|
265
298
|
* @throws {RequiredError}
|
|
@@ -273,6 +306,22 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
273
306
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
274
307
|
});
|
|
275
308
|
},
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @summary 能源费用管理设置-删除
|
|
312
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options) {
|
|
317
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
+
var _a, _b, _c;
|
|
319
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options);
|
|
320
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
321
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
322
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
323
|
+
});
|
|
324
|
+
},
|
|
276
325
|
/**
|
|
277
326
|
*
|
|
278
327
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -343,7 +392,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
343
392
|
},
|
|
344
393
|
/**
|
|
345
394
|
*
|
|
346
|
-
* @summary
|
|
395
|
+
* @summary 能源费用管理设置-修改
|
|
347
396
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
348
397
|
* @param {*} [options] Override http request option.
|
|
349
398
|
* @throws {RequiredError}
|
|
@@ -368,7 +417,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
368
417
|
return {
|
|
369
418
|
/**
|
|
370
419
|
*
|
|
371
|
-
* @summary
|
|
420
|
+
* @summary 能源费用管理设置-新增
|
|
372
421
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
373
422
|
* @param {*} [options] Override http request option.
|
|
374
423
|
* @throws {RequiredError}
|
|
@@ -376,6 +425,16 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
376
425
|
energyCostMonthSettingAdd(requestParameters, options) {
|
|
377
426
|
return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
|
|
378
427
|
},
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @summary 能源费用管理设置-删除
|
|
431
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
energyCostMonthSettingDelete(requestParameters, options) {
|
|
436
|
+
return localVarFp.energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(axios, basePath));
|
|
437
|
+
},
|
|
379
438
|
/**
|
|
380
439
|
*
|
|
381
440
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -418,7 +477,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
418
477
|
},
|
|
419
478
|
/**
|
|
420
479
|
*
|
|
421
|
-
* @summary
|
|
480
|
+
* @summary 能源费用管理设置-修改
|
|
422
481
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
423
482
|
* @param {*} [options] Override http request option.
|
|
424
483
|
* @throws {RequiredError}
|
|
@@ -437,7 +496,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
437
496
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
438
497
|
/**
|
|
439
498
|
*
|
|
440
|
-
* @summary
|
|
499
|
+
* @summary 能源费用管理设置-新增
|
|
441
500
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
442
501
|
* @param {*} [options] Override http request option.
|
|
443
502
|
* @throws {RequiredError}
|
|
@@ -446,6 +505,17 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
446
505
|
energyCostMonthSettingAdd(requestParameters, options) {
|
|
447
506
|
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
448
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @summary 能源费用管理设置-删除
|
|
511
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
512
|
+
* @param {*} [options] Override http request option.
|
|
513
|
+
* @throws {RequiredError}
|
|
514
|
+
* @memberof EnergyCostControllerApi
|
|
515
|
+
*/
|
|
516
|
+
energyCostMonthSettingDelete(requestParameters, options) {
|
|
517
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
518
|
+
}
|
|
449
519
|
/**
|
|
450
520
|
*
|
|
451
521
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -492,7 +562,7 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
492
562
|
}
|
|
493
563
|
/**
|
|
494
564
|
*
|
|
495
|
-
* @summary
|
|
565
|
+
* @summary 能源费用管理设置-修改
|
|
496
566
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
497
567
|
* @param {*} [options] Override http request option.
|
|
498
568
|
* @throws {RequiredError}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Item } from './item';
|
|
13
|
+
import type { PricingItem } from './pricing-item';
|
|
13
14
|
/**
|
|
14
15
|
* 新增能源消耗记录-新增-入参
|
|
15
16
|
* @export
|
|
@@ -130,6 +131,12 @@ export interface EnergyCostAddRecordDTO {
|
|
|
130
131
|
* @memberof EnergyCostAddRecordDTO
|
|
131
132
|
*/
|
|
132
133
|
'scenarios'?: Array<Item>;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {Array<PricingItem>}
|
|
137
|
+
* @memberof EnergyCostAddRecordDTO
|
|
138
|
+
*/
|
|
139
|
+
'pricingItem'?: Array<PricingItem>;
|
|
133
140
|
}
|
|
134
141
|
export declare const EnergyCostAddRecordDTOEnergyTypeEnum: {
|
|
135
142
|
readonly Electric: "ELECTRIC";
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ParkSetting } from './park-setting';
|
|
12
13
|
/**
|
|
13
14
|
* 新增能源费用管理设置-新增-入参
|
|
14
15
|
* @export
|
|
@@ -16,45 +17,9 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface EnergyCostAddSettingDTO {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
20
|
+
* list
|
|
21
|
+
* @type {Array<ParkSetting>}
|
|
21
22
|
* @memberof EnergyCostAddSettingDTO
|
|
22
23
|
*/
|
|
23
|
-
'
|
|
24
|
-
/**
|
|
25
|
-
* 能源类型
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof EnergyCostAddSettingDTO
|
|
28
|
-
*/
|
|
29
|
-
'energyType': EnergyCostAddSettingDTOEnergyTypeEnum;
|
|
30
|
-
/**
|
|
31
|
-
* 标准值
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof EnergyCostAddSettingDTO
|
|
34
|
-
*/
|
|
35
|
-
'standardValue': number;
|
|
36
|
-
/**
|
|
37
|
-
* 使用场景
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof EnergyCostAddSettingDTO
|
|
40
|
-
*/
|
|
41
|
-
'usageScenariosType'?: EnergyCostAddSettingDTOUsageScenariosTypeEnum;
|
|
42
|
-
/**
|
|
43
|
-
* 日期-年月
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof EnergyCostAddSettingDTO
|
|
46
|
-
*/
|
|
47
|
-
'yearMonths': string;
|
|
24
|
+
'parkSettingList'?: Array<ParkSetting>;
|
|
48
25
|
}
|
|
49
|
-
export declare const EnergyCostAddSettingDTOEnergyTypeEnum: {
|
|
50
|
-
readonly Electric: "ELECTRIC";
|
|
51
|
-
readonly Water: "WATER";
|
|
52
|
-
};
|
|
53
|
-
export type EnergyCostAddSettingDTOEnergyTypeEnum = typeof EnergyCostAddSettingDTOEnergyTypeEnum[keyof typeof EnergyCostAddSettingDTOEnergyTypeEnum];
|
|
54
|
-
export declare const EnergyCostAddSettingDTOUsageScenariosTypeEnum: {
|
|
55
|
-
readonly ColdStorage: "COLD_STORAGE";
|
|
56
|
-
readonly SmartWarehouse: "SMART_WAREHOUSE";
|
|
57
|
-
readonly LeasingTenant: "LEASING_TENANT";
|
|
58
|
-
readonly PrivateConventionalWarehouse: "PRIVATE_CONVENTIONAL_WAREHOUSE";
|
|
59
|
-
};
|
|
60
|
-
export type EnergyCostAddSettingDTOUsageScenariosTypeEnum = typeof EnergyCostAddSettingDTOUsageScenariosTypeEnum[keyof typeof EnergyCostAddSettingDTOUsageScenariosTypeEnum];
|
|
@@ -11,13 +11,4 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
Electric: 'ELECTRIC',
|
|
16
|
-
Water: 'WATER'
|
|
17
|
-
};
|
|
18
|
-
export const EnergyCostAddSettingDTOUsageScenariosTypeEnum = {
|
|
19
|
-
ColdStorage: 'COLD_STORAGE',
|
|
20
|
-
SmartWarehouse: 'SMART_WAREHOUSE',
|
|
21
|
-
LeasingTenant: 'LEASING_TENANT',
|
|
22
|
-
PrivateConventionalWarehouse: 'PRIVATE_CONVENTIONAL_WAREHOUSE'
|
|
23
|
-
};
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 新增能源费用管理设置-修改-入参
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EnergyCostSettingDeleteDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface EnergyCostSettingDeleteDTO {
|
|
18
|
+
/**
|
|
19
|
+
* 园区id
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof EnergyCostSettingDeleteDTO
|
|
22
|
+
*/
|
|
23
|
+
'parkIds': Array<number>;
|
|
24
|
+
/**
|
|
25
|
+
* 能源类型
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EnergyCostSettingDeleteDTO
|
|
28
|
+
*/
|
|
29
|
+
'energyType': EnergyCostSettingDeleteDTOEnergyTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* 日期-年月
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EnergyCostSettingDeleteDTO
|
|
34
|
+
*/
|
|
35
|
+
'yearMonths': string;
|
|
36
|
+
}
|
|
37
|
+
export declare const EnergyCostSettingDeleteDTOEnergyTypeEnum: {
|
|
38
|
+
readonly Electric: "ELECTRIC";
|
|
39
|
+
readonly Water: "WATER";
|
|
40
|
+
};
|
|
41
|
+
export type EnergyCostSettingDeleteDTOEnergyTypeEnum = typeof EnergyCostSettingDeleteDTOEnergyTypeEnum[keyof typeof EnergyCostSettingDeleteDTOEnergyTypeEnum];
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export const EnergyCostSettingDeleteDTOEnergyTypeEnum = {
|
|
15
|
+
Electric: 'ELECTRIC',
|
|
16
|
+
Water: 'WATER'
|
|
17
|
+
};
|
|
@@ -110,6 +110,7 @@ export * from './energy-cost-month-setting-list-summary-standards-vo';
|
|
|
110
110
|
export * from './energy-cost-month-setting-list-vo';
|
|
111
111
|
export * from './energy-cost-record-info-vo';
|
|
112
112
|
export * from './energy-cost-scenarios-info-vo';
|
|
113
|
+
export * from './energy-cost-setting-delete-dto';
|
|
113
114
|
export * from './energy-cost-setting-summy-add-dto';
|
|
114
115
|
export * from './energy-cost-setting-summy-update-dto';
|
|
115
116
|
export * from './energy-cost-update-setting-dto';
|
|
@@ -363,6 +364,7 @@ export * from './park-info-edit-vo';
|
|
|
363
364
|
export * from './park-list-dto';
|
|
364
365
|
export * from './park-plat-form-enum';
|
|
365
366
|
export * from './park-push-settings-add-bo';
|
|
367
|
+
export * from './park-setting';
|
|
366
368
|
export * from './park-settings-details-dto';
|
|
367
369
|
export * from './park-settings-vo';
|
|
368
370
|
export * from './period-detail-resp';
|
|
@@ -379,6 +381,7 @@ export * from './plan-level-enum';
|
|
|
379
381
|
export * from './plan-search-dto';
|
|
380
382
|
export * from './plan-search-dtoplan-item';
|
|
381
383
|
export * from './plan-to-state-vo';
|
|
384
|
+
export * from './pricing-item';
|
|
382
385
|
export * from './privacy-add-vo';
|
|
383
386
|
export * from './privacy-update-state-dto';
|
|
384
387
|
export * from './process-network-monitor-repair-vo';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -110,6 +110,7 @@ export * from './energy-cost-month-setting-list-summary-standards-vo';
|
|
|
110
110
|
export * from './energy-cost-month-setting-list-vo';
|
|
111
111
|
export * from './energy-cost-record-info-vo';
|
|
112
112
|
export * from './energy-cost-scenarios-info-vo';
|
|
113
|
+
export * from './energy-cost-setting-delete-dto';
|
|
113
114
|
export * from './energy-cost-setting-summy-add-dto';
|
|
114
115
|
export * from './energy-cost-setting-summy-update-dto';
|
|
115
116
|
export * from './energy-cost-update-setting-dto';
|
|
@@ -363,6 +364,7 @@ export * from './park-info-edit-vo';
|
|
|
363
364
|
export * from './park-list-dto';
|
|
364
365
|
export * from './park-plat-form-enum';
|
|
365
366
|
export * from './park-push-settings-add-bo';
|
|
367
|
+
export * from './park-setting';
|
|
366
368
|
export * from './park-settings-details-dto';
|
|
367
369
|
export * from './park-settings-vo';
|
|
368
370
|
export * from './period-detail-resp';
|
|
@@ -379,6 +381,7 @@ export * from './plan-level-enum';
|
|
|
379
381
|
export * from './plan-search-dto';
|
|
380
382
|
export * from './plan-search-dtoplan-item';
|
|
381
383
|
export * from './plan-to-state-vo';
|
|
384
|
+
export * from './pricing-item';
|
|
382
385
|
export * from './privacy-add-vo';
|
|
383
386
|
export * from './privacy-update-state-dto';
|
|
384
387
|
export * from './process-network-monitor-repair-vo';
|
|
@@ -38,9 +38,8 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
38
38
|
*
|
|
39
39
|
* @type {boolean}
|
|
40
40
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
41
|
-
* @deprecated
|
|
42
41
|
*/
|
|
43
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
44
43
|
/**
|
|
45
44
|
*
|
|
46
45
|
* @type {number}
|
|
@@ -51,8 +50,9 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
51
50
|
*
|
|
52
51
|
* @type {boolean}
|
|
53
52
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'hitCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -20,25 +20,25 @@ export interface Item {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Item
|
|
22
22
|
*/
|
|
23
|
-
'scenario'
|
|
23
|
+
'scenario'?: ItemScenarioEnum;
|
|
24
24
|
/**
|
|
25
25
|
* 面积
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof Item
|
|
28
28
|
*/
|
|
29
|
-
'totalArea'
|
|
29
|
+
'totalArea'?: number;
|
|
30
30
|
/**
|
|
31
31
|
* 用量
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof Item
|
|
34
34
|
*/
|
|
35
|
-
'consumption'
|
|
35
|
+
'consumption'?: number;
|
|
36
36
|
/**
|
|
37
37
|
* 费用
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof Item
|
|
40
40
|
*/
|
|
41
|
-
'cost'
|
|
41
|
+
'cost'?: number;
|
|
42
42
|
/**
|
|
43
43
|
* 超标原因
|
|
44
44
|
* @type {string}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Item } from './item';
|
|
13
|
+
/**
|
|
14
|
+
* list
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ParkSetting
|
|
17
|
+
*/
|
|
18
|
+
export interface ParkSetting {
|
|
19
|
+
/**
|
|
20
|
+
* 园区id
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ParkSetting
|
|
23
|
+
*/
|
|
24
|
+
'parkId'?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 能源类型
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ParkSetting
|
|
29
|
+
*/
|
|
30
|
+
'energyType'?: ParkSettingEnergyTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Item>}
|
|
34
|
+
* @memberof ParkSetting
|
|
35
|
+
*/
|
|
36
|
+
'list'?: Array<Item>;
|
|
37
|
+
}
|
|
38
|
+
export declare const ParkSettingEnergyTypeEnum: {
|
|
39
|
+
readonly Electric: "ELECTRIC";
|
|
40
|
+
readonly Water: "WATER";
|
|
41
|
+
};
|
|
42
|
+
export type ParkSettingEnergyTypeEnum = typeof ParkSettingEnergyTypeEnum[keyof typeof ParkSettingEnergyTypeEnum];
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export const ParkSettingEnergyTypeEnum = {
|
|
15
|
+
Electric: 'ELECTRIC',
|
|
16
|
+
Water: 'WATER'
|
|
17
|
+
};
|