@gizone/rrs-client 4.2.9-alpha.2512161714 → 4.2.9-alpha.2512161737
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 +1 -0
- package/api.ts +1 -0
- package/apis/access-aes-controller-api.ts +596 -0
- package/apis/energy-cost-record-controller-api.ts +18 -18
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/access-aes-controller-api.d.ts +317 -0
- package/dist/apis/access-aes-controller-api.js +489 -0
- package/dist/apis/energy-cost-record-controller-api.d.ts +12 -12
- package/dist/apis/energy-cost-record-controller-api.js +14 -14
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/access-aes-controller-api.d.ts +317 -0
- package/dist/esm/apis/access-aes-controller-api.js +482 -0
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +12 -12
- package/dist/esm/apis/energy-cost-record-controller-api.js +13 -13
- package/dist/esm/models/ipage-energy-cost-analysis-list-vo.d.ts +3 -3
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/models/ipage-energy-cost-analysis-list-vo.d.ts +3 -3
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/models/ipage-energy-cost-analysis-list-vo.ts +3 -3
- package/models/ipage-energy-cost-record-info-vo.ts +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,482 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* AccessAesControllerApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const AccessAesControllerApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 出入记录信息加密
|
|
38
|
+
* @param {Array<number>} requestBody
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
accessRecord: (requestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
44
|
+
assertParamExists('accessRecord', 'requestBody', requestBody);
|
|
45
|
+
const localVarPath = `/access/aes/accessRecord`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 出入记录汇总信息加密
|
|
71
|
+
* @param {Array<number>} requestBody
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
accessRecordSummary: (requestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
77
|
+
assertParamExists('accessRecordSummary', 'requestBody', requestBody);
|
|
78
|
+
const localVarPath = `/access/aes/accessRecordSummary`;
|
|
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: 'POST' }, 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(requestBody, localVarRequestOptions, configuration);
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
}),
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary 出入白名单信息加密
|
|
104
|
+
* @param {Array<number>} requestBody
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
accessWhitelist: (requestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
110
|
+
assertParamExists('accessWhitelist', 'requestBody', requestBody);
|
|
111
|
+
const localVarPath = `/access/aes/accessWhitelist`;
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
const localVarHeaderParameter = {};
|
|
120
|
+
const localVarQueryParameter = {};
|
|
121
|
+
// authentication tokenScheme required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
128
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
129
|
+
return {
|
|
130
|
+
url: toPathString(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions,
|
|
132
|
+
};
|
|
133
|
+
}),
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @summary 出入白名单申请信息加密
|
|
137
|
+
* @param {Array<number>} requestBody
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
accessWhitelistApplication: (requestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
143
|
+
assertParamExists('accessWhitelistApplication', 'requestBody', requestBody);
|
|
144
|
+
const localVarPath = `/access/aes/accessWhitelistApplication`;
|
|
145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147
|
+
let baseOptions;
|
|
148
|
+
if (configuration) {
|
|
149
|
+
baseOptions = configuration.baseOptions;
|
|
150
|
+
}
|
|
151
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
152
|
+
const localVarHeaderParameter = {};
|
|
153
|
+
const localVarQueryParameter = {};
|
|
154
|
+
// authentication tokenScheme required
|
|
155
|
+
// http bearer authentication required
|
|
156
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
157
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
160
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
161
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
162
|
+
return {
|
|
163
|
+
url: toPathString(localVarUrlObj),
|
|
164
|
+
options: localVarRequestOptions,
|
|
165
|
+
};
|
|
166
|
+
}),
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @summary 预约记录申请信息加密
|
|
170
|
+
* @param {Array<number>} requestBody
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
appointmentRecord: (requestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
176
|
+
assertParamExists('appointmentRecord', 'requestBody', requestBody);
|
|
177
|
+
const localVarPath = `/access/aes/appointmentRecord`;
|
|
178
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
179
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
180
|
+
let baseOptions;
|
|
181
|
+
if (configuration) {
|
|
182
|
+
baseOptions = configuration.baseOptions;
|
|
183
|
+
}
|
|
184
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
185
|
+
const localVarHeaderParameter = {};
|
|
186
|
+
const localVarQueryParameter = {};
|
|
187
|
+
// authentication tokenScheme required
|
|
188
|
+
// http bearer authentication required
|
|
189
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
190
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
194
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
195
|
+
return {
|
|
196
|
+
url: toPathString(localVarUrlObj),
|
|
197
|
+
options: localVarRequestOptions,
|
|
198
|
+
};
|
|
199
|
+
}),
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @summary 黑名单信息加密
|
|
203
|
+
* @param {Array<number>} requestBody
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
blacklist: (requestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
208
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
209
|
+
assertParamExists('blacklist', 'requestBody', requestBody);
|
|
210
|
+
const localVarPath = `/access/aes/blacklist`;
|
|
211
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
213
|
+
let baseOptions;
|
|
214
|
+
if (configuration) {
|
|
215
|
+
baseOptions = configuration.baseOptions;
|
|
216
|
+
}
|
|
217
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
218
|
+
const localVarHeaderParameter = {};
|
|
219
|
+
const localVarQueryParameter = {};
|
|
220
|
+
// authentication tokenScheme required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
223
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
224
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
225
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
226
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
227
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
228
|
+
return {
|
|
229
|
+
url: toPathString(localVarUrlObj),
|
|
230
|
+
options: localVarRequestOptions,
|
|
231
|
+
};
|
|
232
|
+
}),
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* AccessAesControllerApi - functional programming interface
|
|
237
|
+
* @export
|
|
238
|
+
*/
|
|
239
|
+
export const AccessAesControllerApiFp = function (configuration) {
|
|
240
|
+
const localVarAxiosParamCreator = AccessAesControllerApiAxiosParamCreator(configuration);
|
|
241
|
+
return {
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @summary 出入记录信息加密
|
|
245
|
+
* @param {Array<number>} requestBody
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
accessRecord(requestBody, options) {
|
|
250
|
+
var _a, _b, _c;
|
|
251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessRecord(requestBody, options);
|
|
253
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
254
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccessAesControllerApi.accessRecord']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
255
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
256
|
+
});
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @summary 出入记录汇总信息加密
|
|
261
|
+
* @param {Array<number>} requestBody
|
|
262
|
+
* @param {*} [options] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
accessRecordSummary(requestBody, options) {
|
|
266
|
+
var _a, _b, _c;
|
|
267
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessRecordSummary(requestBody, options);
|
|
269
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
270
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccessAesControllerApi.accessRecordSummary']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
272
|
+
});
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @summary 出入白名单信息加密
|
|
277
|
+
* @param {Array<number>} requestBody
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
accessWhitelist(requestBody, options) {
|
|
282
|
+
var _a, _b, _c;
|
|
283
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelist(requestBody, options);
|
|
285
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
286
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccessAesControllerApi.accessWhitelist']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
287
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
288
|
+
});
|
|
289
|
+
},
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary 出入白名单申请信息加密
|
|
293
|
+
* @param {Array<number>} requestBody
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
accessWhitelistApplication(requestBody, options) {
|
|
298
|
+
var _a, _b, _c;
|
|
299
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
300
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplication(requestBody, options);
|
|
301
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
302
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccessAesControllerApi.accessWhitelistApplication']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
303
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
304
|
+
});
|
|
305
|
+
},
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @summary 预约记录申请信息加密
|
|
309
|
+
* @param {Array<number>} requestBody
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
appointmentRecord(requestBody, options) {
|
|
314
|
+
var _a, _b, _c;
|
|
315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.appointmentRecord(requestBody, options);
|
|
317
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
318
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccessAesControllerApi.appointmentRecord']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
320
|
+
});
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @summary 黑名单信息加密
|
|
325
|
+
* @param {Array<number>} requestBody
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
blacklist(requestBody, options) {
|
|
330
|
+
var _a, _b, _c;
|
|
331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
332
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blacklist(requestBody, options);
|
|
333
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
334
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccessAesControllerApi.blacklist']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
336
|
+
});
|
|
337
|
+
},
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* AccessAesControllerApi - factory interface
|
|
342
|
+
* @export
|
|
343
|
+
*/
|
|
344
|
+
export const AccessAesControllerApiFactory = function (configuration, basePath, axios) {
|
|
345
|
+
const localVarFp = AccessAesControllerApiFp(configuration);
|
|
346
|
+
return {
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @summary 出入记录信息加密
|
|
350
|
+
* @param {AccessAesControllerApiAccessRecordRequest} requestParameters Request parameters.
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
accessRecord(requestParameters, options) {
|
|
355
|
+
return localVarFp.accessRecord(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary 出入记录汇总信息加密
|
|
360
|
+
* @param {AccessAesControllerApiAccessRecordSummaryRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
accessRecordSummary(requestParameters, options) {
|
|
365
|
+
return localVarFp.accessRecordSummary(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @summary 出入白名单信息加密
|
|
370
|
+
* @param {AccessAesControllerApiAccessWhitelistRequest} requestParameters Request parameters.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
accessWhitelist(requestParameters, options) {
|
|
375
|
+
return localVarFp.accessWhitelist(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
376
|
+
},
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @summary 出入白名单申请信息加密
|
|
380
|
+
* @param {AccessAesControllerApiAccessWhitelistApplicationRequest} requestParameters Request parameters.
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
accessWhitelistApplication(requestParameters, options) {
|
|
385
|
+
return localVarFp.accessWhitelistApplication(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
386
|
+
},
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @summary 预约记录申请信息加密
|
|
390
|
+
* @param {AccessAesControllerApiAppointmentRecordRequest} requestParameters Request parameters.
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
appointmentRecord(requestParameters, options) {
|
|
395
|
+
return localVarFp.appointmentRecord(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
396
|
+
},
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @summary 黑名单信息加密
|
|
400
|
+
* @param {AccessAesControllerApiBlacklistRequest} requestParameters Request parameters.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
blacklist(requestParameters, options) {
|
|
405
|
+
return localVarFp.blacklist(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
406
|
+
},
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* AccessAesControllerApi - object-oriented interface
|
|
411
|
+
* @export
|
|
412
|
+
* @class AccessAesControllerApi
|
|
413
|
+
* @extends {BaseAPI}
|
|
414
|
+
*/
|
|
415
|
+
export class AccessAesControllerApi extends BaseAPI {
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @summary 出入记录信息加密
|
|
419
|
+
* @param {AccessAesControllerApiAccessRecordRequest} requestParameters Request parameters.
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
* @memberof AccessAesControllerApi
|
|
423
|
+
*/
|
|
424
|
+
accessRecord(requestParameters, options) {
|
|
425
|
+
return AccessAesControllerApiFp(this.configuration).accessRecord(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @summary 出入记录汇总信息加密
|
|
430
|
+
* @param {AccessAesControllerApiAccessRecordSummaryRequest} requestParameters Request parameters.
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
* @memberof AccessAesControllerApi
|
|
434
|
+
*/
|
|
435
|
+
accessRecordSummary(requestParameters, options) {
|
|
436
|
+
return AccessAesControllerApiFp(this.configuration).accessRecordSummary(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @summary 出入白名单信息加密
|
|
441
|
+
* @param {AccessAesControllerApiAccessWhitelistRequest} requestParameters Request parameters.
|
|
442
|
+
* @param {*} [options] Override http request option.
|
|
443
|
+
* @throws {RequiredError}
|
|
444
|
+
* @memberof AccessAesControllerApi
|
|
445
|
+
*/
|
|
446
|
+
accessWhitelist(requestParameters, options) {
|
|
447
|
+
return AccessAesControllerApiFp(this.configuration).accessWhitelist(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary 出入白名单申请信息加密
|
|
452
|
+
* @param {AccessAesControllerApiAccessWhitelistApplicationRequest} requestParameters Request parameters.
|
|
453
|
+
* @param {*} [options] Override http request option.
|
|
454
|
+
* @throws {RequiredError}
|
|
455
|
+
* @memberof AccessAesControllerApi
|
|
456
|
+
*/
|
|
457
|
+
accessWhitelistApplication(requestParameters, options) {
|
|
458
|
+
return AccessAesControllerApiFp(this.configuration).accessWhitelistApplication(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @summary 预约记录申请信息加密
|
|
463
|
+
* @param {AccessAesControllerApiAppointmentRecordRequest} requestParameters Request parameters.
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
* @memberof AccessAesControllerApi
|
|
467
|
+
*/
|
|
468
|
+
appointmentRecord(requestParameters, options) {
|
|
469
|
+
return AccessAesControllerApiFp(this.configuration).appointmentRecord(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @summary 黑名单信息加密
|
|
474
|
+
* @param {AccessAesControllerApiBlacklistRequest} requestParameters Request parameters.
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
* @memberof AccessAesControllerApi
|
|
478
|
+
*/
|
|
479
|
+
blacklist(requestParameters, options) {
|
|
480
|
+
return AccessAesControllerApiFp(this.configuration).blacklist(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
481
|
+
}
|
|
482
|
+
}
|
|
@@ -59,12 +59,12 @@ export declare const EnergyCostRecordControllerApiAxiosParamCreator: (configurat
|
|
|
59
59
|
* @param {string} [billCode]
|
|
60
60
|
* @param {string} [startTime]
|
|
61
61
|
* @param {string} [endTime]
|
|
62
|
-
* @param {
|
|
63
|
-
* @param {
|
|
62
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
63
|
+
* @param {number} [status]
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
energyCostAddRecordList: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string,
|
|
67
|
+
energyCostAddRecordList: (page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyType?: EnergyCostAddRecordListEnergyTypeEnum, status?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @summary 新增能源消耗-next
|
|
@@ -137,12 +137,12 @@ export declare const EnergyCostRecordControllerApiFp: (configuration?: Configura
|
|
|
137
137
|
* @param {string} [billCode]
|
|
138
138
|
* @param {string} [startTime]
|
|
139
139
|
* @param {string} [endTime]
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {
|
|
140
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
141
|
+
* @param {number} [status]
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
energyCostAddRecordList(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string,
|
|
145
|
+
energyCostAddRecordList(page?: number, size?: number, billCode?: string, startTime?: string, endTime?: string, energyType?: EnergyCostAddRecordListEnergyTypeEnum, status?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultIPageEnergyCostRecordInfoVO>>;
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
148
148
|
* @summary 新增能源消耗-next
|
|
@@ -335,16 +335,16 @@ export interface EnergyCostRecordControllerApiEnergyCostAddRecordListRequest {
|
|
|
335
335
|
readonly endTime?: string;
|
|
336
336
|
/**
|
|
337
337
|
*
|
|
338
|
-
* @type {
|
|
338
|
+
* @type {'ELECTRIC' | 'WATER'}
|
|
339
339
|
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
340
340
|
*/
|
|
341
|
-
readonly
|
|
341
|
+
readonly energyType?: EnergyCostAddRecordListEnergyTypeEnum;
|
|
342
342
|
/**
|
|
343
343
|
*
|
|
344
|
-
* @type {
|
|
344
|
+
* @type {number}
|
|
345
345
|
* @memberof EnergyCostRecordControllerApiEnergyCostAddRecordList
|
|
346
346
|
*/
|
|
347
|
-
readonly status?:
|
|
347
|
+
readonly status?: number;
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
350
|
* Request parameters for energyCostAddRecordNext operation in EnergyCostRecordControllerApi.
|
|
@@ -481,8 +481,8 @@ export declare class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
481
481
|
/**
|
|
482
482
|
* @export
|
|
483
483
|
*/
|
|
484
|
-
export declare const
|
|
484
|
+
export declare const EnergyCostAddRecordListEnergyTypeEnum: {
|
|
485
485
|
readonly Electric: "ELECTRIC";
|
|
486
486
|
readonly Water: "WATER";
|
|
487
487
|
};
|
|
488
|
-
export type
|
|
488
|
+
export type EnergyCostAddRecordListEnergyTypeEnum = typeof EnergyCostAddRecordListEnergyTypeEnum[keyof typeof EnergyCostAddRecordListEnergyTypeEnum];
|
|
@@ -147,12 +147,12 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
147
147
|
* @param {string} [billCode]
|
|
148
148
|
* @param {string} [startTime]
|
|
149
149
|
* @param {string} [endTime]
|
|
150
|
-
* @param {
|
|
151
|
-
* @param {
|
|
150
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
151
|
+
* @param {number} [status]
|
|
152
152
|
* @param {*} [options] Override http request option.
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
155
|
-
energyCostAddRecordList: (page, size, billCode, startTime, endTime,
|
|
155
|
+
energyCostAddRecordList: (page, size, billCode, startTime, endTime, energyType, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
156
156
|
const localVarPath = `/gizone/energy/cost/record/list`;
|
|
157
157
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
158
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -181,10 +181,10 @@ export const EnergyCostRecordControllerApiAxiosParamCreator = function (configur
|
|
|
181
181
|
if (endTime !== undefined) {
|
|
182
182
|
localVarQueryParameter['endTime'] = endTime;
|
|
183
183
|
}
|
|
184
|
-
if (
|
|
185
|
-
localVarQueryParameter['
|
|
184
|
+
if (energyType !== undefined) {
|
|
185
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
186
186
|
}
|
|
187
|
-
if (status) {
|
|
187
|
+
if (status !== undefined) {
|
|
188
188
|
localVarQueryParameter['status'] = status;
|
|
189
189
|
}
|
|
190
190
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -393,15 +393,15 @@ export const EnergyCostRecordControllerApiFp = function (configuration) {
|
|
|
393
393
|
* @param {string} [billCode]
|
|
394
394
|
* @param {string} [startTime]
|
|
395
395
|
* @param {string} [endTime]
|
|
396
|
-
* @param {
|
|
397
|
-
* @param {
|
|
396
|
+
* @param {EnergyCostAddRecordListEnergyTypeEnum} [energyType]
|
|
397
|
+
* @param {number} [status]
|
|
398
398
|
* @param {*} [options] Override http request option.
|
|
399
399
|
* @throws {RequiredError}
|
|
400
400
|
*/
|
|
401
|
-
energyCostAddRecordList(page, size, billCode, startTime, endTime,
|
|
401
|
+
energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options) {
|
|
402
402
|
var _a, _b, _c;
|
|
403
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
404
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime,
|
|
404
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
405
405
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
406
406
|
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostRecordControllerApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
407
407
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -518,7 +518,7 @@ export const EnergyCostRecordControllerApiFactory = function (configuration, bas
|
|
|
518
518
|
* @throws {RequiredError}
|
|
519
519
|
*/
|
|
520
520
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
521
|
-
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.
|
|
521
|
+
return localVarFp.energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
524
|
*
|
|
@@ -611,7 +611,7 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
611
611
|
* @memberof EnergyCostRecordControllerApi
|
|
612
612
|
*/
|
|
613
613
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
614
|
-
return EnergyCostRecordControllerApiFp(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.
|
|
614
|
+
return EnergyCostRecordControllerApiFp(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));
|
|
615
615
|
}
|
|
616
616
|
/**
|
|
617
617
|
*
|
|
@@ -661,7 +661,7 @@ export class EnergyCostRecordControllerApi extends BaseAPI {
|
|
|
661
661
|
/**
|
|
662
662
|
* @export
|
|
663
663
|
*/
|
|
664
|
-
export const
|
|
664
|
+
export const EnergyCostAddRecordListEnergyTypeEnum = {
|
|
665
665
|
Electric: 'ELECTRIC',
|
|
666
666
|
Water: 'WATER'
|
|
667
667
|
};
|
|
@@ -44,8 +44,9 @@ export interface IPageEnergyCostAnalysisListVO {
|
|
|
44
44
|
*
|
|
45
45
|
* @type {boolean}
|
|
46
46
|
* @memberof IPageEnergyCostAnalysisListVO
|
|
47
|
+
* @deprecated
|
|
47
48
|
*/
|
|
48
|
-
'
|
|
49
|
+
'hitCount'?: boolean;
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @type {number}
|
|
@@ -56,7 +57,6 @@ export interface IPageEnergyCostAnalysisListVO {
|
|
|
56
57
|
*
|
|
57
58
|
* @type {boolean}
|
|
58
59
|
* @memberof IPageEnergyCostAnalysisListVO
|
|
59
|
-
* @deprecated
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'searchCount'?: boolean;
|
|
62
62
|
}
|
|
@@ -44,8 +44,9 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
44
44
|
*
|
|
45
45
|
* @type {boolean}
|
|
46
46
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
47
|
+
* @deprecated
|
|
47
48
|
*/
|
|
48
|
-
'
|
|
49
|
+
'hitCount'?: boolean;
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @type {number}
|
|
@@ -56,7 +57,6 @@ export interface IPageEnergyCostRecordInfoVO {
|
|
|
56
57
|
*
|
|
57
58
|
* @type {boolean}
|
|
58
59
|
* @memberof IPageEnergyCostRecordInfoVO
|
|
59
|
-
* @deprecated
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'searchCount'?: boolean;
|
|
62
62
|
}
|