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