@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
package/.openapi-generator/FILES
CHANGED
|
@@ -156,6 +156,7 @@ models/energy-cost-month-setting-list-summary-standards-vo.ts
|
|
|
156
156
|
models/energy-cost-month-setting-list-vo.ts
|
|
157
157
|
models/energy-cost-record-info-vo.ts
|
|
158
158
|
models/energy-cost-scenarios-info-vo.ts
|
|
159
|
+
models/energy-cost-setting-delete-dto.ts
|
|
159
160
|
models/energy-cost-setting-summy-add-dto.ts
|
|
160
161
|
models/energy-cost-setting-summy-update-dto.ts
|
|
161
162
|
models/energy-cost-update-setting-dto.ts
|
|
@@ -409,6 +410,7 @@ models/park-info-edit-vo.ts
|
|
|
409
410
|
models/park-list-dto.ts
|
|
410
411
|
models/park-plat-form-enum.ts
|
|
411
412
|
models/park-push-settings-add-bo.ts
|
|
413
|
+
models/park-setting.ts
|
|
412
414
|
models/park-settings-details-dto.ts
|
|
413
415
|
models/park-settings-vo.ts
|
|
414
416
|
models/park.ts
|
|
@@ -426,6 +428,7 @@ models/plan-level-enum.ts
|
|
|
426
428
|
models/plan-search-dto.ts
|
|
427
429
|
models/plan-search-dtoplan-item.ts
|
|
428
430
|
models/plan-to-state-vo.ts
|
|
431
|
+
models/pricing-item.ts
|
|
429
432
|
models/privacy-add-vo.ts
|
|
430
433
|
models/privacy-update-state-dto.ts
|
|
431
434
|
models/process-network-monitor-repair-vo.ts
|
|
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { EnergyCostAddSettingDTO } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
+
import type { EnergyCostSettingDeleteDTO } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
27
29
|
import type { EnergyCostSettingSummyAddDTO } from '../models';
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import type { EnergyCostSettingSummyUpdateDTO } from '../models';
|
|
@@ -43,7 +45,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
43
45
|
return {
|
|
44
46
|
/**
|
|
45
47
|
*
|
|
46
|
-
* @summary
|
|
48
|
+
* @summary 能源费用管理设置-新增
|
|
47
49
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
48
50
|
* @param {*} [options] Override http request option.
|
|
49
51
|
* @throws {RequiredError}
|
|
@@ -81,6 +83,46 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
81
83
|
options: localVarRequestOptions,
|
|
82
84
|
};
|
|
83
85
|
},
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary 能源费用管理设置-删除
|
|
89
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
energyCostMonthSettingDelete: async (energyCostSettingDeleteDTO: EnergyCostSettingDeleteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
// verify required parameter 'energyCostSettingDeleteDTO' is not null or undefined
|
|
95
|
+
assertParamExists('energyCostMonthSettingDelete', 'energyCostSettingDeleteDTO', energyCostSettingDeleteDTO)
|
|
96
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
97
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
|
+
let baseOptions;
|
|
100
|
+
if (configuration) {
|
|
101
|
+
baseOptions = configuration.baseOptions;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
105
|
+
const localVarHeaderParameter = {} as any;
|
|
106
|
+
const localVarQueryParameter = {} as any;
|
|
107
|
+
|
|
108
|
+
// authentication tokenScheme required
|
|
109
|
+
// http bearer authentication required
|
|
110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
115
|
+
|
|
116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
119
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingDeleteDTO, localVarRequestOptions, configuration)
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
url: toPathString(localVarUrlObj),
|
|
123
|
+
options: localVarRequestOptions,
|
|
124
|
+
};
|
|
125
|
+
},
|
|
84
126
|
/**
|
|
85
127
|
*
|
|
86
128
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -265,7 +307,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
265
307
|
},
|
|
266
308
|
/**
|
|
267
309
|
*
|
|
268
|
-
* @summary
|
|
310
|
+
* @summary 能源费用管理设置-修改
|
|
269
311
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
270
312
|
* @param {*} [options] Override http request option.
|
|
271
313
|
* @throws {RequiredError}
|
|
@@ -315,7 +357,7 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
315
357
|
return {
|
|
316
358
|
/**
|
|
317
359
|
*
|
|
318
|
-
* @summary
|
|
360
|
+
* @summary 能源费用管理设置-新增
|
|
319
361
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
320
362
|
* @param {*} [options] Override http request option.
|
|
321
363
|
* @throws {RequiredError}
|
|
@@ -326,6 +368,19 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
326
368
|
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingAdd']?.[localVarOperationServerIndex]?.url;
|
|
327
369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @summary 能源费用管理设置-删除
|
|
374
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
async energyCostMonthSettingDelete(energyCostSettingDeleteDTO: EnergyCostSettingDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options);
|
|
380
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
381
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostMonthSettingDelete']?.[localVarOperationServerIndex]?.url;
|
|
382
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
383
|
+
},
|
|
329
384
|
/**
|
|
330
385
|
*
|
|
331
386
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -384,7 +439,7 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
384
439
|
},
|
|
385
440
|
/**
|
|
386
441
|
*
|
|
387
|
-
* @summary
|
|
442
|
+
* @summary 能源费用管理设置-修改
|
|
388
443
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
389
444
|
* @param {*} [options] Override http request option.
|
|
390
445
|
* @throws {RequiredError}
|
|
@@ -407,7 +462,7 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
|
|
|
407
462
|
return {
|
|
408
463
|
/**
|
|
409
464
|
*
|
|
410
|
-
* @summary
|
|
465
|
+
* @summary 能源费用管理设置-新增
|
|
411
466
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
412
467
|
* @param {*} [options] Override http request option.
|
|
413
468
|
* @throws {RequiredError}
|
|
@@ -415,6 +470,16 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
|
|
|
415
470
|
energyCostMonthSettingAdd(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
416
471
|
return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
|
|
417
472
|
},
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @summary 能源费用管理设置-删除
|
|
476
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
477
|
+
* @param {*} [options] Override http request option.
|
|
478
|
+
* @throws {RequiredError}
|
|
479
|
+
*/
|
|
480
|
+
energyCostMonthSettingDelete(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
481
|
+
return localVarFp.energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(axios, basePath));
|
|
482
|
+
},
|
|
418
483
|
/**
|
|
419
484
|
*
|
|
420
485
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -457,7 +522,7 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
|
|
|
457
522
|
},
|
|
458
523
|
/**
|
|
459
524
|
*
|
|
460
|
-
* @summary
|
|
525
|
+
* @summary 能源费用管理设置-修改
|
|
461
526
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
462
527
|
* @param {*} [options] Override http request option.
|
|
463
528
|
* @throws {RequiredError}
|
|
@@ -482,6 +547,20 @@ export interface EnergyCostControllerApiEnergyCostMonthSettingAddRequest {
|
|
|
482
547
|
readonly energyCostAddSettingDTO: EnergyCostAddSettingDTO
|
|
483
548
|
}
|
|
484
549
|
|
|
550
|
+
/**
|
|
551
|
+
* Request parameters for energyCostMonthSettingDelete operation in EnergyCostControllerApi.
|
|
552
|
+
* @export
|
|
553
|
+
* @interface EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest
|
|
554
|
+
*/
|
|
555
|
+
export interface EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest {
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {EnergyCostSettingDeleteDTO}
|
|
559
|
+
* @memberof EnergyCostControllerApiEnergyCostMonthSettingDelete
|
|
560
|
+
*/
|
|
561
|
+
readonly energyCostSettingDeleteDTO: EnergyCostSettingDeleteDTO
|
|
562
|
+
}
|
|
563
|
+
|
|
485
564
|
/**
|
|
486
565
|
* Request parameters for energyCostMonthSettingList operation in EnergyCostControllerApi.
|
|
487
566
|
* @export
|
|
@@ -589,7 +668,7 @@ export interface EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest {
|
|
|
589
668
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
590
669
|
/**
|
|
591
670
|
*
|
|
592
|
-
* @summary
|
|
671
|
+
* @summary 能源费用管理设置-新增
|
|
593
672
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
594
673
|
* @param {*} [options] Override http request option.
|
|
595
674
|
* @throws {RequiredError}
|
|
@@ -599,6 +678,18 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
599
678
|
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
600
679
|
}
|
|
601
680
|
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @summary 能源费用管理设置-删除
|
|
684
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
685
|
+
* @param {*} [options] Override http request option.
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
* @memberof EnergyCostControllerApi
|
|
688
|
+
*/
|
|
689
|
+
public energyCostMonthSettingDelete(requestParameters: EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest, options?: RawAxiosRequestConfig) {
|
|
690
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
691
|
+
}
|
|
692
|
+
|
|
602
693
|
/**
|
|
603
694
|
*
|
|
604
695
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -649,7 +740,7 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
649
740
|
|
|
650
741
|
/**
|
|
651
742
|
*
|
|
652
|
-
* @summary
|
|
743
|
+
* @summary 能源费用管理设置-修改
|
|
653
744
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
654
745
|
* @param {*} [options] Override http request option.
|
|
655
746
|
* @throws {RequiredError}
|
|
@@ -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}
|
|
@@ -37,7 +37,7 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @summary
|
|
40
|
+
* @summary 能源费用管理设置-新增
|
|
41
41
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
@@ -68,6 +68,39 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
68
68
|
options: localVarRequestOptions,
|
|
69
69
|
};
|
|
70
70
|
}),
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary 能源费用管理设置-删除
|
|
74
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
energyCostMonthSettingDelete: (energyCostSettingDeleteDTO_1, ...args_1) => __awaiter(this, [energyCostSettingDeleteDTO_1, ...args_1], void 0, function* (energyCostSettingDeleteDTO, options = {}) {
|
|
79
|
+
// verify required parameter 'energyCostSettingDeleteDTO' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('energyCostMonthSettingDelete', 'energyCostSettingDeleteDTO', energyCostSettingDeleteDTO);
|
|
81
|
+
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostSettingDeleteDTO, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
71
104
|
/**
|
|
72
105
|
*
|
|
73
106
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -220,7 +253,7 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
220
253
|
}),
|
|
221
254
|
/**
|
|
222
255
|
*
|
|
223
|
-
* @summary
|
|
256
|
+
* @summary 能源费用管理设置-修改
|
|
224
257
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
225
258
|
* @param {*} [options] Override http request option.
|
|
226
259
|
* @throws {RequiredError}
|
|
@@ -263,7 +296,7 @@ const EnergyCostControllerApiFp = function (configuration) {
|
|
|
263
296
|
return {
|
|
264
297
|
/**
|
|
265
298
|
*
|
|
266
|
-
* @summary
|
|
299
|
+
* @summary 能源费用管理设置-新增
|
|
267
300
|
* @param {EnergyCostAddSettingDTO} energyCostAddSettingDTO
|
|
268
301
|
* @param {*} [options] Override http request option.
|
|
269
302
|
* @throws {RequiredError}
|
|
@@ -277,6 +310,22 @@ const EnergyCostControllerApiFp = function (configuration) {
|
|
|
277
310
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
278
311
|
});
|
|
279
312
|
},
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @summary 能源费用管理设置-删除
|
|
316
|
+
* @param {EnergyCostSettingDeleteDTO} energyCostSettingDeleteDTO
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options) {
|
|
321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
322
|
+
var _a, _b, _c;
|
|
323
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingDelete(energyCostSettingDeleteDTO, options);
|
|
324
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
325
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostMonthSettingDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
326
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
327
|
+
});
|
|
328
|
+
},
|
|
280
329
|
/**
|
|
281
330
|
*
|
|
282
331
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -347,7 +396,7 @@ const EnergyCostControllerApiFp = function (configuration) {
|
|
|
347
396
|
},
|
|
348
397
|
/**
|
|
349
398
|
*
|
|
350
|
-
* @summary
|
|
399
|
+
* @summary 能源费用管理设置-修改
|
|
351
400
|
* @param {EnergyCostUpdateSettingDTO} energyCostUpdateSettingDTO
|
|
352
401
|
* @param {*} [options] Override http request option.
|
|
353
402
|
* @throws {RequiredError}
|
|
@@ -373,7 +422,7 @@ const EnergyCostControllerApiFactory = function (configuration, basePath, axios)
|
|
|
373
422
|
return {
|
|
374
423
|
/**
|
|
375
424
|
*
|
|
376
|
-
* @summary
|
|
425
|
+
* @summary 能源费用管理设置-新增
|
|
377
426
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
378
427
|
* @param {*} [options] Override http request option.
|
|
379
428
|
* @throws {RequiredError}
|
|
@@ -381,6 +430,16 @@ const EnergyCostControllerApiFactory = function (configuration, basePath, axios)
|
|
|
381
430
|
energyCostMonthSettingAdd(requestParameters, options) {
|
|
382
431
|
return localVarFp.energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(axios, basePath));
|
|
383
432
|
},
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @summary 能源费用管理设置-删除
|
|
436
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
energyCostMonthSettingDelete(requestParameters, options) {
|
|
441
|
+
return localVarFp.energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(axios, basePath));
|
|
442
|
+
},
|
|
384
443
|
/**
|
|
385
444
|
*
|
|
386
445
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -423,7 +482,7 @@ const EnergyCostControllerApiFactory = function (configuration, basePath, axios)
|
|
|
423
482
|
},
|
|
424
483
|
/**
|
|
425
484
|
*
|
|
426
|
-
* @summary
|
|
485
|
+
* @summary 能源费用管理设置-修改
|
|
427
486
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
428
487
|
* @param {*} [options] Override http request option.
|
|
429
488
|
* @throws {RequiredError}
|
|
@@ -443,7 +502,7 @@ exports.EnergyCostControllerApiFactory = EnergyCostControllerApiFactory;
|
|
|
443
502
|
class EnergyCostControllerApi extends base_1.BaseAPI {
|
|
444
503
|
/**
|
|
445
504
|
*
|
|
446
|
-
* @summary
|
|
505
|
+
* @summary 能源费用管理设置-新增
|
|
447
506
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
448
507
|
* @param {*} [options] Override http request option.
|
|
449
508
|
* @throws {RequiredError}
|
|
@@ -452,6 +511,17 @@ class EnergyCostControllerApi extends base_1.BaseAPI {
|
|
|
452
511
|
energyCostMonthSettingAdd(requestParameters, options) {
|
|
453
512
|
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
454
513
|
}
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @summary 能源费用管理设置-删除
|
|
517
|
+
* @param {EnergyCostControllerApiEnergyCostMonthSettingDeleteRequest} requestParameters Request parameters.
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
* @memberof EnergyCostControllerApi
|
|
521
|
+
*/
|
|
522
|
+
energyCostMonthSettingDelete(requestParameters, options) {
|
|
523
|
+
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostMonthSettingDelete(requestParameters.energyCostSettingDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
524
|
+
}
|
|
455
525
|
/**
|
|
456
526
|
*
|
|
457
527
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
@@ -498,7 +568,7 @@ class EnergyCostControllerApi extends base_1.BaseAPI {
|
|
|
498
568
|
}
|
|
499
569
|
/**
|
|
500
570
|
*
|
|
501
|
-
* @summary
|
|
571
|
+
* @summary 能源费用管理设置-修改
|
|
502
572
|
* @param {EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
503
573
|
* @param {*} [options] Override http request option.
|
|
504
574
|
* @throws {RequiredError}
|