@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
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.EnergyCostAddRecordListEnergyTypeEnum = exports.EnergyCostControllerApi = exports.EnergyCostControllerApiFactory = exports.EnergyCostControllerApiFp = exports.EnergyCostControllerApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.EnergyCostMonthSettingListEnergyTypeEnum = exports.EnergyCostAddRecordListEnergyTypeEnum = exports.EnergyCostControllerApi = exports.EnergyCostControllerApiFactory = exports.EnergyCostControllerApiFp = exports.EnergyCostControllerApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -37,32 +37,31 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @summary
|
|
41
|
-
* @param {
|
|
40
|
+
* @summary 新增能源消耗-返回详情
|
|
41
|
+
* @param {number} id
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
(0, common_1.assertParamExists)('
|
|
48
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
45
|
+
energyCostAddRecordDetail: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
46
|
+
// verify required parameter 'id' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('energyCostAddRecordDetail', 'id', id);
|
|
48
|
+
const localVarPath = `/gizone/energy/cost/record/detail/{id}`
|
|
49
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
49
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
51
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
52
|
let baseOptions;
|
|
52
53
|
if (configuration) {
|
|
53
54
|
baseOptions = configuration.baseOptions;
|
|
54
55
|
}
|
|
55
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
56
57
|
const localVarHeaderParameter = {};
|
|
57
58
|
const localVarQueryParameter = {};
|
|
58
59
|
// authentication tokenScheme required
|
|
59
60
|
// http bearer authentication required
|
|
60
61
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostConfirmRecordDTO, localVarRequestOptions, configuration);
|
|
66
65
|
return {
|
|
67
66
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
67
|
options: localVarRequestOptions,
|
|
@@ -70,31 +69,32 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
}),
|
|
71
70
|
/**
|
|
72
71
|
*
|
|
73
|
-
* @summary
|
|
74
|
-
* @param {
|
|
72
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
73
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
75
74
|
* @param {*} [options] Override http request option.
|
|
76
75
|
* @throws {RequiredError}
|
|
77
76
|
*/
|
|
78
|
-
|
|
79
|
-
// verify required parameter '
|
|
80
|
-
(0, common_1.assertParamExists)('
|
|
81
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
82
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
77
|
+
energyCostAddRecordInputDraft: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
78
|
+
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('energyCostAddRecordInputDraft', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
80
|
+
const localVarPath = `/gizone/energy/cost/record/input/draft`;
|
|
83
81
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
82
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
85
83
|
let baseOptions;
|
|
86
84
|
if (configuration) {
|
|
87
85
|
baseOptions = configuration.baseOptions;
|
|
88
86
|
}
|
|
89
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
87
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
90
88
|
const localVarHeaderParameter = {};
|
|
91
89
|
const localVarQueryParameter = {};
|
|
92
90
|
// authentication tokenScheme required
|
|
93
91
|
// http bearer authentication required
|
|
94
92
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
93
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
94
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
95
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
96
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
97
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
98
98
|
return {
|
|
99
99
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
100
100
|
options: localVarRequestOptions,
|
|
@@ -102,32 +102,55 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
102
102
|
}),
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
|
-
* @summary
|
|
106
|
-
* @param {
|
|
105
|
+
* @summary 新增能源消耗-列表
|
|
106
|
+
* @param {number} [page]
|
|
107
|
+
* @param {number} [size]
|
|
108
|
+
* @param {string} [billCode]
|
|
109
|
+
* @param {string} [startTime]
|
|
110
|
+
* @param {string} [endTime]
|
|
111
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
112
|
+
* @param {number} [status]
|
|
107
113
|
* @param {*} [options] Override http request option.
|
|
108
114
|
* @throws {RequiredError}
|
|
109
115
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
(0, common_1.assertParamExists)('energyCostAddRecordInput', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
113
|
-
const localVarPath = `/gizone/energy/cost/record/input`;
|
|
116
|
+
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 = {}) {
|
|
117
|
+
const localVarPath = `/gizone/energy/cost/record/list`;
|
|
114
118
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
119
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
120
|
let baseOptions;
|
|
117
121
|
if (configuration) {
|
|
118
122
|
baseOptions = configuration.baseOptions;
|
|
119
123
|
}
|
|
120
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
124
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
121
125
|
const localVarHeaderParameter = {};
|
|
122
126
|
const localVarQueryParameter = {};
|
|
123
127
|
// authentication tokenScheme required
|
|
124
128
|
// http bearer authentication required
|
|
125
129
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
126
|
-
|
|
130
|
+
if (page !== undefined) {
|
|
131
|
+
localVarQueryParameter['page'] = page;
|
|
132
|
+
}
|
|
133
|
+
if (size !== undefined) {
|
|
134
|
+
localVarQueryParameter['size'] = size;
|
|
135
|
+
}
|
|
136
|
+
if (billCode !== undefined) {
|
|
137
|
+
localVarQueryParameter['billCode'] = billCode;
|
|
138
|
+
}
|
|
139
|
+
if (startTime !== undefined) {
|
|
140
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
141
|
+
}
|
|
142
|
+
if (endTime !== undefined) {
|
|
143
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
144
|
+
}
|
|
145
|
+
if (energyType !== undefined) {
|
|
146
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
147
|
+
}
|
|
148
|
+
if (status !== undefined) {
|
|
149
|
+
localVarQueryParameter['status'] = status;
|
|
150
|
+
}
|
|
127
151
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
128
152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
153
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
130
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
131
154
|
return {
|
|
132
155
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
133
156
|
options: localVarRequestOptions,
|
|
@@ -135,15 +158,15 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
135
158
|
}),
|
|
136
159
|
/**
|
|
137
160
|
*
|
|
138
|
-
* @summary
|
|
161
|
+
* @summary 新增能源消耗-next
|
|
139
162
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
140
163
|
* @param {*} [options] Override http request option.
|
|
141
164
|
* @throws {RequiredError}
|
|
142
165
|
*/
|
|
143
|
-
|
|
166
|
+
energyCostAddRecordNext: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
144
167
|
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
145
|
-
(0, common_1.assertParamExists)('
|
|
146
|
-
const localVarPath = `/gizone/energy/cost/record/
|
|
168
|
+
(0, common_1.assertParamExists)('energyCostAddRecordNext', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
169
|
+
const localVarPath = `/gizone/energy/cost/record/next`;
|
|
147
170
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
171
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
149
172
|
let baseOptions;
|
|
@@ -168,55 +191,32 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
168
191
|
}),
|
|
169
192
|
/**
|
|
170
193
|
*
|
|
171
|
-
* @summary
|
|
172
|
-
* @param {
|
|
173
|
-
* @param {number} [size]
|
|
174
|
-
* @param {string} [billNo]
|
|
175
|
-
* @param {string} [startTime]
|
|
176
|
-
* @param {string} [endTime]
|
|
177
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
178
|
-
* @param {number} [status]
|
|
194
|
+
* @summary 新增能源消耗-提交
|
|
195
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
179
196
|
* @param {*} [options] Override http request option.
|
|
180
197
|
* @throws {RequiredError}
|
|
181
198
|
*/
|
|
182
|
-
|
|
183
|
-
|
|
199
|
+
energyCostAddRecordSubmit: (energyCostAddRecordDTO_1, ...args_1) => __awaiter(this, [energyCostAddRecordDTO_1, ...args_1], void 0, function* (energyCostAddRecordDTO, options = {}) {
|
|
200
|
+
// verify required parameter 'energyCostAddRecordDTO' is not null or undefined
|
|
201
|
+
(0, common_1.assertParamExists)('energyCostAddRecordSubmit', 'energyCostAddRecordDTO', energyCostAddRecordDTO);
|
|
202
|
+
const localVarPath = `/gizone/energy/cost/record/submit`;
|
|
184
203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
185
204
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
186
205
|
let baseOptions;
|
|
187
206
|
if (configuration) {
|
|
188
207
|
baseOptions = configuration.baseOptions;
|
|
189
208
|
}
|
|
190
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
209
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
191
210
|
const localVarHeaderParameter = {};
|
|
192
211
|
const localVarQueryParameter = {};
|
|
193
212
|
// authentication tokenScheme required
|
|
194
213
|
// http bearer authentication required
|
|
195
214
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
196
|
-
|
|
197
|
-
localVarQueryParameter['page'] = page;
|
|
198
|
-
}
|
|
199
|
-
if (size !== undefined) {
|
|
200
|
-
localVarQueryParameter['size'] = size;
|
|
201
|
-
}
|
|
202
|
-
if (billNo !== undefined) {
|
|
203
|
-
localVarQueryParameter['billNo'] = billNo;
|
|
204
|
-
}
|
|
205
|
-
if (startTime !== undefined) {
|
|
206
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
207
|
-
}
|
|
208
|
-
if (endTime !== undefined) {
|
|
209
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
210
|
-
}
|
|
211
|
-
if (energyType !== undefined) {
|
|
212
|
-
localVarQueryParameter['energyType'] = energyType;
|
|
213
|
-
}
|
|
214
|
-
if (status !== undefined) {
|
|
215
|
-
localVarQueryParameter['status'] = status;
|
|
216
|
-
}
|
|
215
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
217
216
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
218
217
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
218
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
219
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(energyCostAddRecordDTO, localVarRequestOptions, configuration);
|
|
220
220
|
return {
|
|
221
221
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
222
222
|
options: localVarRequestOptions,
|
|
@@ -258,12 +258,15 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
258
258
|
/**
|
|
259
259
|
*
|
|
260
260
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
261
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
261
262
|
* @param {string} [startTime]
|
|
262
263
|
* @param {string} [endTime]
|
|
263
264
|
* @param {*} [options] Override http request option.
|
|
264
265
|
* @throws {RequiredError}
|
|
265
266
|
*/
|
|
266
|
-
energyCostMonthSettingList: (startTime_1, endTime_1, ...args_1) => __awaiter(this, [startTime_1, endTime_1, ...args_1], void 0, function* (startTime, endTime, options = {}) {
|
|
267
|
+
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 = {}) {
|
|
268
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
269
|
+
(0, common_1.assertParamExists)('energyCostMonthSettingList', 'energyType', energyType);
|
|
267
270
|
const localVarPath = `/gizone/energy/cost/month/setting`;
|
|
268
271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
269
272
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -283,6 +286,9 @@ const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
|
283
286
|
if (endTime !== undefined) {
|
|
284
287
|
localVarQueryParameter['endTime'] = endTime;
|
|
285
288
|
}
|
|
289
|
+
if (energyType !== undefined) {
|
|
290
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
291
|
+
}
|
|
286
292
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
287
293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
288
294
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -368,87 +374,87 @@ const EnergyCostControllerApiFp = function (configuration) {
|
|
|
368
374
|
return {
|
|
369
375
|
/**
|
|
370
376
|
*
|
|
371
|
-
* @summary
|
|
372
|
-
* @param {
|
|
377
|
+
* @summary 新增能源消耗-返回详情
|
|
378
|
+
* @param {number} id
|
|
373
379
|
* @param {*} [options] Override http request option.
|
|
374
380
|
* @throws {RequiredError}
|
|
375
381
|
*/
|
|
376
|
-
|
|
382
|
+
energyCostAddRecordDetail(id, options) {
|
|
377
383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
378
384
|
var _a, _b, _c;
|
|
379
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
385
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
380
386
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
381
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.
|
|
387
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
382
388
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
383
389
|
});
|
|
384
390
|
},
|
|
385
391
|
/**
|
|
386
392
|
*
|
|
387
|
-
* @summary
|
|
388
|
-
* @param {
|
|
393
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
394
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
389
395
|
* @param {*} [options] Override http request option.
|
|
390
396
|
* @throws {RequiredError}
|
|
391
397
|
*/
|
|
392
|
-
|
|
398
|
+
energyCostAddRecordInputDraft(energyCostAddRecordDTO, options) {
|
|
393
399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
394
400
|
var _a, _b, _c;
|
|
395
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
401
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordInputDraft(energyCostAddRecordDTO, options);
|
|
396
402
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
397
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.
|
|
403
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostAddRecordInputDraft']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
398
404
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
399
405
|
});
|
|
400
406
|
},
|
|
401
407
|
/**
|
|
402
408
|
*
|
|
403
|
-
* @summary
|
|
404
|
-
* @param {
|
|
409
|
+
* @summary 新增能源消耗-列表
|
|
410
|
+
* @param {number} [page]
|
|
411
|
+
* @param {number} [size]
|
|
412
|
+
* @param {string} [billCode]
|
|
413
|
+
* @param {string} [startTime]
|
|
414
|
+
* @param {string} [endTime]
|
|
415
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
416
|
+
* @param {number} [status]
|
|
405
417
|
* @param {*} [options] Override http request option.
|
|
406
418
|
* @throws {RequiredError}
|
|
407
419
|
*/
|
|
408
|
-
|
|
420
|
+
energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options) {
|
|
409
421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
410
422
|
var _a, _b, _c;
|
|
411
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
423
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
412
424
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
413
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.
|
|
425
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
414
426
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
415
427
|
});
|
|
416
428
|
},
|
|
417
429
|
/**
|
|
418
430
|
*
|
|
419
|
-
* @summary
|
|
431
|
+
* @summary 新增能源消耗-next
|
|
420
432
|
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
421
433
|
* @param {*} [options] Override http request option.
|
|
422
434
|
* @throws {RequiredError}
|
|
423
435
|
*/
|
|
424
|
-
|
|
436
|
+
energyCostAddRecordNext(energyCostAddRecordDTO, options) {
|
|
425
437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
426
438
|
var _a, _b, _c;
|
|
427
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
439
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
428
440
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
429
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.
|
|
441
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
430
442
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
431
443
|
});
|
|
432
444
|
},
|
|
433
445
|
/**
|
|
434
446
|
*
|
|
435
|
-
* @summary
|
|
436
|
-
* @param {
|
|
437
|
-
* @param {number} [size]
|
|
438
|
-
* @param {string} [billNo]
|
|
439
|
-
* @param {string} [startTime]
|
|
440
|
-
* @param {string} [endTime]
|
|
441
|
-
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
442
|
-
* @param {number} [status]
|
|
447
|
+
* @summary 新增能源消耗-提交
|
|
448
|
+
* @param {EnergyCostAddRecordDTO} energyCostAddRecordDTO
|
|
443
449
|
* @param {*} [options] Override http request option.
|
|
444
450
|
* @throws {RequiredError}
|
|
445
451
|
*/
|
|
446
|
-
|
|
452
|
+
energyCostAddRecordSubmit(energyCostAddRecordDTO, options) {
|
|
447
453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
448
454
|
var _a, _b, _c;
|
|
449
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
455
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
450
456
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
451
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.
|
|
457
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
452
458
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
453
459
|
});
|
|
454
460
|
},
|
|
@@ -471,15 +477,16 @@ const EnergyCostControllerApiFp = function (configuration) {
|
|
|
471
477
|
/**
|
|
472
478
|
*
|
|
473
479
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
480
|
+
* @param {EnergyCostMonthSettingListEnergyTypeEnum} energyType
|
|
474
481
|
* @param {string} [startTime]
|
|
475
482
|
* @param {string} [endTime]
|
|
476
483
|
* @param {*} [options] Override http request option.
|
|
477
484
|
* @throws {RequiredError}
|
|
478
485
|
*/
|
|
479
|
-
energyCostMonthSettingList(startTime, endTime, options) {
|
|
486
|
+
energyCostMonthSettingList(energyType, startTime, endTime, options) {
|
|
480
487
|
return __awaiter(this, void 0, void 0, function* () {
|
|
481
488
|
var _a, _b, _c;
|
|
482
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(startTime, endTime, options);
|
|
489
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
|
|
483
490
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
484
491
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnergyCostControllerApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
485
492
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -529,53 +536,53 @@ const EnergyCostControllerApiFactory = function (configuration, basePath, axios)
|
|
|
529
536
|
return {
|
|
530
537
|
/**
|
|
531
538
|
*
|
|
532
|
-
* @summary
|
|
533
|
-
* @param {
|
|
539
|
+
* @summary 新增能源消耗-返回详情
|
|
540
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
534
541
|
* @param {*} [options] Override http request option.
|
|
535
542
|
* @throws {RequiredError}
|
|
536
543
|
*/
|
|
537
|
-
|
|
538
|
-
return localVarFp.
|
|
544
|
+
energyCostAddRecordDetail(requestParameters, options) {
|
|
545
|
+
return localVarFp.energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
539
546
|
},
|
|
540
547
|
/**
|
|
541
548
|
*
|
|
542
|
-
* @summary
|
|
543
|
-
* @param {
|
|
549
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
550
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
544
551
|
* @param {*} [options] Override http request option.
|
|
545
552
|
* @throws {RequiredError}
|
|
546
553
|
*/
|
|
547
|
-
|
|
548
|
-
return localVarFp.
|
|
554
|
+
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
555
|
+
return localVarFp.energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
549
556
|
},
|
|
550
557
|
/**
|
|
551
558
|
*
|
|
552
|
-
* @summary
|
|
553
|
-
* @param {
|
|
559
|
+
* @summary 新增能源消耗-列表
|
|
560
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
554
561
|
* @param {*} [options] Override http request option.
|
|
555
562
|
* @throws {RequiredError}
|
|
556
563
|
*/
|
|
557
|
-
|
|
558
|
-
return localVarFp.
|
|
564
|
+
energyCostAddRecordList(requestParameters = {}, options) {
|
|
565
|
+
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
559
566
|
},
|
|
560
567
|
/**
|
|
561
568
|
*
|
|
562
|
-
* @summary
|
|
563
|
-
* @param {
|
|
569
|
+
* @summary 新增能源消耗-next
|
|
570
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
564
571
|
* @param {*} [options] Override http request option.
|
|
565
572
|
* @throws {RequiredError}
|
|
566
573
|
*/
|
|
567
|
-
|
|
568
|
-
return localVarFp.
|
|
574
|
+
energyCostAddRecordNext(requestParameters, options) {
|
|
575
|
+
return localVarFp.energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
569
576
|
},
|
|
570
577
|
/**
|
|
571
578
|
*
|
|
572
|
-
* @summary
|
|
573
|
-
* @param {
|
|
579
|
+
* @summary 新增能源消耗-提交
|
|
580
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
574
581
|
* @param {*} [options] Override http request option.
|
|
575
582
|
* @throws {RequiredError}
|
|
576
583
|
*/
|
|
577
|
-
|
|
578
|
-
return localVarFp.
|
|
584
|
+
energyCostAddRecordSubmit(requestParameters, options) {
|
|
585
|
+
return localVarFp.energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(axios, basePath));
|
|
579
586
|
},
|
|
580
587
|
/**
|
|
581
588
|
*
|
|
@@ -594,8 +601,8 @@ const EnergyCostControllerApiFactory = function (configuration, basePath, axios)
|
|
|
594
601
|
* @param {*} [options] Override http request option.
|
|
595
602
|
* @throws {RequiredError}
|
|
596
603
|
*/
|
|
597
|
-
energyCostMonthSettingList(requestParameters
|
|
598
|
-
return localVarFp.energyCostMonthSettingList(requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
604
|
+
energyCostMonthSettingList(requestParameters, options) {
|
|
605
|
+
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
599
606
|
},
|
|
600
607
|
/**
|
|
601
608
|
*
|
|
@@ -629,58 +636,58 @@ exports.EnergyCostControllerApiFactory = EnergyCostControllerApiFactory;
|
|
|
629
636
|
class EnergyCostControllerApi extends base_1.BaseAPI {
|
|
630
637
|
/**
|
|
631
638
|
*
|
|
632
|
-
* @summary
|
|
633
|
-
* @param {
|
|
639
|
+
* @summary 新增能源消耗-返回详情
|
|
640
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
634
641
|
* @param {*} [options] Override http request option.
|
|
635
642
|
* @throws {RequiredError}
|
|
636
643
|
* @memberof EnergyCostControllerApi
|
|
637
644
|
*/
|
|
638
|
-
|
|
639
|
-
return (0, exports.EnergyCostControllerApiFp)(this.configuration).
|
|
645
|
+
energyCostAddRecordDetail(requestParameters, options) {
|
|
646
|
+
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
640
647
|
}
|
|
641
648
|
/**
|
|
642
649
|
*
|
|
643
|
-
* @summary
|
|
644
|
-
* @param {
|
|
650
|
+
* @summary 新增能源消耗-录入保存为草稿
|
|
651
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
645
652
|
* @param {*} [options] Override http request option.
|
|
646
653
|
* @throws {RequiredError}
|
|
647
654
|
* @memberof EnergyCostControllerApi
|
|
648
655
|
*/
|
|
649
|
-
|
|
650
|
-
return (0, exports.EnergyCostControllerApiFp)(this.configuration).
|
|
656
|
+
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
657
|
+
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
651
658
|
}
|
|
652
659
|
/**
|
|
653
660
|
*
|
|
654
|
-
* @summary
|
|
655
|
-
* @param {
|
|
661
|
+
* @summary 新增能源消耗-列表
|
|
662
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
656
663
|
* @param {*} [options] Override http request option.
|
|
657
664
|
* @throws {RequiredError}
|
|
658
665
|
* @memberof EnergyCostControllerApi
|
|
659
666
|
*/
|
|
660
|
-
|
|
661
|
-
return (0, exports.EnergyCostControllerApiFp)(this.configuration).
|
|
667
|
+
energyCostAddRecordList(requestParameters = {}, options) {
|
|
668
|
+
return (0, exports.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));
|
|
662
669
|
}
|
|
663
670
|
/**
|
|
664
671
|
*
|
|
665
|
-
* @summary
|
|
666
|
-
* @param {
|
|
672
|
+
* @summary 新增能源消耗-next
|
|
673
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
667
674
|
* @param {*} [options] Override http request option.
|
|
668
675
|
* @throws {RequiredError}
|
|
669
676
|
* @memberof EnergyCostControllerApi
|
|
670
677
|
*/
|
|
671
|
-
|
|
672
|
-
return (0, exports.EnergyCostControllerApiFp)(this.configuration).
|
|
678
|
+
energyCostAddRecordNext(requestParameters, options) {
|
|
679
|
+
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
673
680
|
}
|
|
674
681
|
/**
|
|
675
682
|
*
|
|
676
|
-
* @summary
|
|
677
|
-
* @param {
|
|
683
|
+
* @summary 新增能源消耗-提交
|
|
684
|
+
* @param {EnergyCostControllerApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
678
685
|
* @param {*} [options] Override http request option.
|
|
679
686
|
* @throws {RequiredError}
|
|
680
687
|
* @memberof EnergyCostControllerApi
|
|
681
688
|
*/
|
|
682
|
-
|
|
683
|
-
return (0, exports.EnergyCostControllerApiFp)(this.configuration).
|
|
689
|
+
energyCostAddRecordSubmit(requestParameters, options) {
|
|
690
|
+
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
684
691
|
}
|
|
685
692
|
/**
|
|
686
693
|
*
|
|
@@ -701,8 +708,8 @@ class EnergyCostControllerApi extends base_1.BaseAPI {
|
|
|
701
708
|
* @throws {RequiredError}
|
|
702
709
|
* @memberof EnergyCostControllerApi
|
|
703
710
|
*/
|
|
704
|
-
energyCostMonthSettingList(requestParameters
|
|
705
|
-
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostMonthSettingList(requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
711
|
+
energyCostMonthSettingList(requestParameters, options) {
|
|
712
|
+
return (0, exports.EnergyCostControllerApiFp)(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
706
713
|
}
|
|
707
714
|
/**
|
|
708
715
|
*
|
|
@@ -735,3 +742,10 @@ exports.EnergyCostAddRecordListEnergyTypeEnum = {
|
|
|
735
742
|
Electric: 'ELECTRIC',
|
|
736
743
|
Water: 'WATER'
|
|
737
744
|
};
|
|
745
|
+
/**
|
|
746
|
+
* @export
|
|
747
|
+
*/
|
|
748
|
+
exports.EnergyCostMonthSettingListEnergyTypeEnum = {
|
|
749
|
+
Electric: 'ELECTRIC',
|
|
750
|
+
Water: 'WATER'
|
|
751
|
+
};
|