@gizone/rrs-client 4.2.0-alpha.295 → 4.2.0-alpha.298
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 +12 -0
- package/apis/access-api.ts +401 -0
- package/apis/open-api-api.ts +93 -0
- package/dist/apis/access-api.d.ts +216 -0
- package/dist/apis/access-api.js +262 -0
- package/dist/apis/open-api-api.d.ts +48 -0
- package/dist/apis/open-api-api.js +70 -0
- package/dist/esm/apis/access-api.d.ts +216 -0
- package/dist/esm/apis/access-api.js +262 -0
- package/dist/esm/apis/open-api-api.d.ts +48 -0
- package/dist/esm/apis/open-api-api.js +70 -0
- package/dist/esm/models/access-appointment-internal-status-enum.d.ts +21 -0
- package/dist/esm/models/access-appointment-internal-status-enum.js +22 -0
- package/dist/esm/models/access-appointment-record-details-dto.d.ts +178 -0
- package/dist/esm/models/access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/access-appointment-status-enum.d.ts +25 -0
- package/dist/esm/models/access-appointment-status-enum.js +26 -0
- package/dist/esm/models/access-whitelist-application-add-vo.d.ts +2 -2
- package/dist/esm/models/access-whitelist-application-process-details-dto.d.ts +81 -0
- package/dist/esm/models/access-whitelist-application-process-details-dto.js +14 -0
- package/dist/esm/models/access-whitelist-application-process-details-user-info.d.ts +36 -0
- package/dist/esm/models/access-whitelist-application-process-details-user-info.js +14 -0
- package/dist/esm/models/access-whitelist-application-update-vo.d.ts +6 -6
- package/dist/esm/models/access-whitelist-process-handler-status-enum.d.ts +21 -0
- package/dist/esm/models/access-whitelist-process-handler-status-enum.js +22 -0
- package/dist/esm/models/access-whitelist-process-type-enum.d.ts +23 -0
- package/dist/esm/models/access-whitelist-process-type-enum.js +24 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/models/json-result-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/json-result-list-access-whitelist-application-process-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-list-access-whitelist-application-process-details-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/open-api-access-appointment-record-add-vo.d.ts +120 -0
- package/dist/esm/models/open-api-access-appointment-record-add-vo.js +14 -0
- package/dist/esm/models/page-dto-access-appointment-record-details-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/access-appointment-internal-status-enum.d.ts +21 -0
- package/dist/models/access-appointment-internal-status-enum.js +25 -0
- package/dist/models/access-appointment-record-details-dto.d.ts +178 -0
- package/dist/models/access-appointment-record-details-dto.js +15 -0
- package/dist/models/access-appointment-status-enum.d.ts +25 -0
- package/dist/models/access-appointment-status-enum.js +29 -0
- package/dist/models/access-whitelist-application-add-vo.d.ts +2 -2
- package/dist/models/access-whitelist-application-process-details-dto.d.ts +81 -0
- package/dist/models/access-whitelist-application-process-details-dto.js +15 -0
- package/dist/models/access-whitelist-application-process-details-user-info.d.ts +36 -0
- package/dist/models/access-whitelist-application-process-details-user-info.js +15 -0
- package/dist/models/access-whitelist-application-update-vo.d.ts +6 -6
- package/dist/models/access-whitelist-process-handler-status-enum.d.ts +21 -0
- package/dist/models/access-whitelist-process-handler-status-enum.js +25 -0
- package/dist/models/access-whitelist-process-type-enum.d.ts +23 -0
- package/dist/models/access-whitelist-process-type-enum.js +27 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/models/json-result-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/models/json-result-access-appointment-record-details-dto.js +15 -0
- package/dist/models/json-result-list-access-whitelist-application-process-details-dto.d.ts +62 -0
- package/dist/models/json-result-list-access-whitelist-application-process-details-dto.js +15 -0
- package/dist/models/json-result-page-dto-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-access-appointment-record-details-dto.js +15 -0
- package/dist/models/open-api-access-appointment-record-add-vo.d.ts +120 -0
- package/dist/models/open-api-access-appointment-record-add-vo.js +15 -0
- package/dist/models/page-dto-access-appointment-record-details-dto.d.ts +31 -0
- package/dist/models/page-dto-access-appointment-record-details-dto.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/access-appointment-internal-status-enum.ts +31 -0
- package/models/access-appointment-record-details-dto.ts +206 -0
- package/models/access-appointment-status-enum.ts +35 -0
- package/models/access-whitelist-application-add-vo.ts +2 -2
- package/models/access-whitelist-application-process-details-dto.ts +95 -0
- package/models/access-whitelist-application-process-details-user-info.ts +42 -0
- package/models/access-whitelist-application-update-vo.ts +6 -6
- package/models/access-whitelist-process-handler-status-enum.ts +31 -0
- package/models/access-whitelist-process-type-enum.ts +33 -0
- package/models/index.ts +12 -0
- package/models/json-result-access-appointment-record-details-dto.ts +72 -0
- package/models/json-result-list-access-whitelist-application-process-details-dto.ts +72 -0
- package/models/json-result-page-dto-access-appointment-record-details-dto.ts +72 -0
- package/models/open-api-access-appointment-record-add-vo.ts +140 -0
- package/models/page-dto-access-appointment-record-details-dto.ts +39 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
package/dist/apis/access-api.js
CHANGED
|
@@ -105,6 +105,116 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
105
105
|
options: localVarRequestOptions,
|
|
106
106
|
};
|
|
107
107
|
}),
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary 获取出入预约记录详情
|
|
111
|
+
* @param {number} id
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
accessAppointmentRecordDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
116
|
+
// verify required parameter 'id' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordDetails', 'id', id);
|
|
118
|
+
const localVarPath = `/access/appointment-record/{id}`
|
|
119
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
121
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
let baseOptions;
|
|
123
|
+
if (configuration) {
|
|
124
|
+
baseOptions = configuration.baseOptions;
|
|
125
|
+
}
|
|
126
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
127
|
+
const localVarHeaderParameter = {};
|
|
128
|
+
const localVarQueryParameter = {};
|
|
129
|
+
// authentication tokenScheme required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
return {
|
|
136
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
};
|
|
139
|
+
}),
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary 查询出入预约记录列表
|
|
143
|
+
* @param {number} parkId 园区ID
|
|
144
|
+
* @param {number} page 页码
|
|
145
|
+
* @param {number} pageSize 每页数量
|
|
146
|
+
* @param {string} [searchValue] 搜索值
|
|
147
|
+
* @param {AccessAppointmentSourceEnum} [appointmentSource] 预约来源
|
|
148
|
+
* @param {AccessDirectionEnum} [accessDirection] 出入方向
|
|
149
|
+
* @param {Array<AccessVisitorPersonTypeEnum>} [accessVisitorPersonTypes] 访问人员类型
|
|
150
|
+
* @param {Array<AccessAppointmentStatusEnum>} [appointmentStatuses] 预约状态
|
|
151
|
+
* @param {string} [startTime] 预约开始时间
|
|
152
|
+
* @param {string} [endTime] 预约结束时间
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
accessAppointmentRecordSelectPageList: (parkId_1, page_1, pageSize_1, searchValue_1, appointmentSource_1, accessDirection_1, accessVisitorPersonTypes_1, appointmentStatuses_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [parkId_1, page_1, pageSize_1, searchValue_1, appointmentSource_1, accessDirection_1, accessVisitorPersonTypes_1, appointmentStatuses_1, startTime_1, endTime_1, ...args_1], void 0, function* (parkId, page, pageSize, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options = {}) {
|
|
157
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
158
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordSelectPageList', 'parkId', parkId);
|
|
159
|
+
// verify required parameter 'page' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordSelectPageList', 'page', page);
|
|
161
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
162
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordSelectPageList', 'pageSize', pageSize);
|
|
163
|
+
const localVarPath = `/access/appointment-record`;
|
|
164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
165
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
166
|
+
let baseOptions;
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
}
|
|
170
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
171
|
+
const localVarHeaderParameter = {};
|
|
172
|
+
const localVarQueryParameter = {};
|
|
173
|
+
// authentication tokenScheme required
|
|
174
|
+
// http bearer authentication required
|
|
175
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
176
|
+
if (parkId !== undefined) {
|
|
177
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
178
|
+
}
|
|
179
|
+
if (page !== undefined) {
|
|
180
|
+
localVarQueryParameter['page'] = page;
|
|
181
|
+
}
|
|
182
|
+
if (pageSize !== undefined) {
|
|
183
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
184
|
+
}
|
|
185
|
+
if (searchValue !== undefined) {
|
|
186
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
187
|
+
}
|
|
188
|
+
if (appointmentSource !== undefined) {
|
|
189
|
+
localVarQueryParameter['appointmentSource'] = appointmentSource;
|
|
190
|
+
}
|
|
191
|
+
if (accessDirection !== undefined) {
|
|
192
|
+
localVarQueryParameter['accessDirection'] = accessDirection;
|
|
193
|
+
}
|
|
194
|
+
if (accessVisitorPersonTypes) {
|
|
195
|
+
localVarQueryParameter['accessVisitorPersonTypes'] = accessVisitorPersonTypes;
|
|
196
|
+
}
|
|
197
|
+
if (appointmentStatuses) {
|
|
198
|
+
localVarQueryParameter['appointmentStatuses'] = appointmentStatuses;
|
|
199
|
+
}
|
|
200
|
+
if (startTime !== undefined) {
|
|
201
|
+
localVarQueryParameter['startTime'] = (startTime instanceof Date) ?
|
|
202
|
+
startTime.toISOString() :
|
|
203
|
+
startTime;
|
|
204
|
+
}
|
|
205
|
+
if (endTime !== undefined) {
|
|
206
|
+
localVarQueryParameter['endTime'] = (endTime instanceof Date) ?
|
|
207
|
+
endTime.toISOString() :
|
|
208
|
+
endTime;
|
|
209
|
+
}
|
|
210
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
212
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
213
|
+
return {
|
|
214
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
215
|
+
options: localVarRequestOptions,
|
|
216
|
+
};
|
|
217
|
+
}),
|
|
108
218
|
/**
|
|
109
219
|
* 添加黑名单信息
|
|
110
220
|
* @summary 添加黑名单
|
|
@@ -1019,6 +1129,38 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
1019
1129
|
options: localVarRequestOptions,
|
|
1020
1130
|
};
|
|
1021
1131
|
}),
|
|
1132
|
+
/**
|
|
1133
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
1134
|
+
* @summary 查询白名单申请流程记录
|
|
1135
|
+
* @param {number} id
|
|
1136
|
+
* @param {*} [options] Override http request option.
|
|
1137
|
+
* @throws {RequiredError}
|
|
1138
|
+
*/
|
|
1139
|
+
accessWhitelistApplicationProcess: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
1140
|
+
// verify required parameter 'id' is not null or undefined
|
|
1141
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationProcess', 'id', id);
|
|
1142
|
+
const localVarPath = `/access/whitelist/application/{id}/process`
|
|
1143
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1144
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1145
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1146
|
+
let baseOptions;
|
|
1147
|
+
if (configuration) {
|
|
1148
|
+
baseOptions = configuration.baseOptions;
|
|
1149
|
+
}
|
|
1150
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1151
|
+
const localVarHeaderParameter = {};
|
|
1152
|
+
const localVarQueryParameter = {};
|
|
1153
|
+
// authentication tokenScheme required
|
|
1154
|
+
// http bearer authentication required
|
|
1155
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1156
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1158
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1159
|
+
return {
|
|
1160
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1161
|
+
options: localVarRequestOptions,
|
|
1162
|
+
};
|
|
1163
|
+
}),
|
|
1022
1164
|
/**
|
|
1023
1165
|
*
|
|
1024
1166
|
* @summary 修改出入白名单申请
|
|
@@ -1344,6 +1486,47 @@ const AccessApiFp = function (configuration) {
|
|
|
1344
1486
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1345
1487
|
});
|
|
1346
1488
|
},
|
|
1489
|
+
/**
|
|
1490
|
+
*
|
|
1491
|
+
* @summary 获取出入预约记录详情
|
|
1492
|
+
* @param {number} id
|
|
1493
|
+
* @param {*} [options] Override http request option.
|
|
1494
|
+
* @throws {RequiredError}
|
|
1495
|
+
*/
|
|
1496
|
+
accessAppointmentRecordDetails(id, options) {
|
|
1497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1498
|
+
var _a, _b, _c;
|
|
1499
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordDetails(id, options);
|
|
1500
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1501
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessAppointmentRecordDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1502
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1503
|
+
});
|
|
1504
|
+
},
|
|
1505
|
+
/**
|
|
1506
|
+
*
|
|
1507
|
+
* @summary 查询出入预约记录列表
|
|
1508
|
+
* @param {number} parkId 园区ID
|
|
1509
|
+
* @param {number} page 页码
|
|
1510
|
+
* @param {number} pageSize 每页数量
|
|
1511
|
+
* @param {string} [searchValue] 搜索值
|
|
1512
|
+
* @param {AccessAppointmentSourceEnum} [appointmentSource] 预约来源
|
|
1513
|
+
* @param {AccessDirectionEnum} [accessDirection] 出入方向
|
|
1514
|
+
* @param {Array<AccessVisitorPersonTypeEnum>} [accessVisitorPersonTypes] 访问人员类型
|
|
1515
|
+
* @param {Array<AccessAppointmentStatusEnum>} [appointmentStatuses] 预约状态
|
|
1516
|
+
* @param {string} [startTime] 预约开始时间
|
|
1517
|
+
* @param {string} [endTime] 预约结束时间
|
|
1518
|
+
* @param {*} [options] Override http request option.
|
|
1519
|
+
* @throws {RequiredError}
|
|
1520
|
+
*/
|
|
1521
|
+
accessAppointmentRecordSelectPageList(parkId, page, pageSize, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options) {
|
|
1522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1523
|
+
var _a, _b, _c;
|
|
1524
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordSelectPageList(parkId, page, pageSize, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options);
|
|
1525
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1526
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessAppointmentRecordSelectPageList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1527
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1528
|
+
});
|
|
1529
|
+
},
|
|
1347
1530
|
/**
|
|
1348
1531
|
* 添加黑名单信息
|
|
1349
1532
|
* @summary 添加黑名单
|
|
@@ -1764,6 +1947,22 @@ const AccessApiFp = function (configuration) {
|
|
|
1764
1947
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1765
1948
|
});
|
|
1766
1949
|
},
|
|
1950
|
+
/**
|
|
1951
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
1952
|
+
* @summary 查询白名单申请流程记录
|
|
1953
|
+
* @param {number} id
|
|
1954
|
+
* @param {*} [options] Override http request option.
|
|
1955
|
+
* @throws {RequiredError}
|
|
1956
|
+
*/
|
|
1957
|
+
accessWhitelistApplicationProcess(id, options) {
|
|
1958
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1959
|
+
var _a, _b, _c;
|
|
1960
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationProcess(id, options);
|
|
1961
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1962
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationProcess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1963
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1964
|
+
});
|
|
1965
|
+
},
|
|
1767
1966
|
/**
|
|
1768
1967
|
*
|
|
1769
1968
|
* @summary 修改出入白名单申请
|
|
@@ -1926,6 +2125,26 @@ const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
1926
2125
|
accessAppointmentRecordApproval(requestParameters, options) {
|
|
1927
2126
|
return localVarFp.accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(axios, basePath));
|
|
1928
2127
|
},
|
|
2128
|
+
/**
|
|
2129
|
+
*
|
|
2130
|
+
* @summary 获取出入预约记录详情
|
|
2131
|
+
* @param {AccessApiAccessAppointmentRecordDetailsRequest} requestParameters Request parameters.
|
|
2132
|
+
* @param {*} [options] Override http request option.
|
|
2133
|
+
* @throws {RequiredError}
|
|
2134
|
+
*/
|
|
2135
|
+
accessAppointmentRecordDetails(requestParameters, options) {
|
|
2136
|
+
return localVarFp.accessAppointmentRecordDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2137
|
+
},
|
|
2138
|
+
/**
|
|
2139
|
+
*
|
|
2140
|
+
* @summary 查询出入预约记录列表
|
|
2141
|
+
* @param {AccessApiAccessAppointmentRecordSelectPageListRequest} requestParameters Request parameters.
|
|
2142
|
+
* @param {*} [options] Override http request option.
|
|
2143
|
+
* @throws {RequiredError}
|
|
2144
|
+
*/
|
|
2145
|
+
accessAppointmentRecordSelectPageList(requestParameters, options) {
|
|
2146
|
+
return localVarFp.accessAppointmentRecordSelectPageList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.appointmentSource, requestParameters.accessDirection, requestParameters.accessVisitorPersonTypes, requestParameters.appointmentStatuses, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
2147
|
+
},
|
|
1929
2148
|
/**
|
|
1930
2149
|
* 添加黑名单信息
|
|
1931
2150
|
* @summary 添加黑名单
|
|
@@ -2173,6 +2392,16 @@ const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
2173
2392
|
accessWhitelistApplicationList(requestParameters, options) {
|
|
2174
2393
|
return localVarFp.accessWhitelistApplicationList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.accessCompanyId, requestParameters.accessVisitorPersonType, requestParameters.applicationStatus, options).then((request) => request(axios, basePath));
|
|
2175
2394
|
},
|
|
2395
|
+
/**
|
|
2396
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
2397
|
+
* @summary 查询白名单申请流程记录
|
|
2398
|
+
* @param {AccessApiAccessWhitelistApplicationProcessRequest} requestParameters Request parameters.
|
|
2399
|
+
* @param {*} [options] Override http request option.
|
|
2400
|
+
* @throws {RequiredError}
|
|
2401
|
+
*/
|
|
2402
|
+
accessWhitelistApplicationProcess(requestParameters, options) {
|
|
2403
|
+
return localVarFp.accessWhitelistApplicationProcess(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2404
|
+
},
|
|
2176
2405
|
/**
|
|
2177
2406
|
*
|
|
2178
2407
|
* @summary 修改出入白名单申请
|
|
@@ -2285,6 +2514,28 @@ class AccessApi extends base_1.BaseAPI {
|
|
|
2285
2514
|
accessAppointmentRecordApproval(requestParameters, options) {
|
|
2286
2515
|
return (0, exports.AccessApiFp)(this.configuration).accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
2287
2516
|
}
|
|
2517
|
+
/**
|
|
2518
|
+
*
|
|
2519
|
+
* @summary 获取出入预约记录详情
|
|
2520
|
+
* @param {AccessApiAccessAppointmentRecordDetailsRequest} requestParameters Request parameters.
|
|
2521
|
+
* @param {*} [options] Override http request option.
|
|
2522
|
+
* @throws {RequiredError}
|
|
2523
|
+
* @memberof AccessApi
|
|
2524
|
+
*/
|
|
2525
|
+
accessAppointmentRecordDetails(requestParameters, options) {
|
|
2526
|
+
return (0, exports.AccessApiFp)(this.configuration).accessAppointmentRecordDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2527
|
+
}
|
|
2528
|
+
/**
|
|
2529
|
+
*
|
|
2530
|
+
* @summary 查询出入预约记录列表
|
|
2531
|
+
* @param {AccessApiAccessAppointmentRecordSelectPageListRequest} requestParameters Request parameters.
|
|
2532
|
+
* @param {*} [options] Override http request option.
|
|
2533
|
+
* @throws {RequiredError}
|
|
2534
|
+
* @memberof AccessApi
|
|
2535
|
+
*/
|
|
2536
|
+
accessAppointmentRecordSelectPageList(requestParameters, options) {
|
|
2537
|
+
return (0, exports.AccessApiFp)(this.configuration).accessAppointmentRecordSelectPageList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.appointmentSource, requestParameters.accessDirection, requestParameters.accessVisitorPersonTypes, requestParameters.appointmentStatuses, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
2538
|
+
}
|
|
2288
2539
|
/**
|
|
2289
2540
|
* 添加黑名单信息
|
|
2290
2541
|
* @summary 添加黑名单
|
|
@@ -2557,6 +2808,17 @@ class AccessApi extends base_1.BaseAPI {
|
|
|
2557
2808
|
accessWhitelistApplicationList(requestParameters, options) {
|
|
2558
2809
|
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.accessCompanyId, requestParameters.accessVisitorPersonType, requestParameters.applicationStatus, options).then((request) => request(this.axios, this.basePath));
|
|
2559
2810
|
}
|
|
2811
|
+
/**
|
|
2812
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
2813
|
+
* @summary 查询白名单申请流程记录
|
|
2814
|
+
* @param {AccessApiAccessWhitelistApplicationProcessRequest} requestParameters Request parameters.
|
|
2815
|
+
* @param {*} [options] Override http request option.
|
|
2816
|
+
* @throws {RequiredError}
|
|
2817
|
+
* @memberof AccessApi
|
|
2818
|
+
*/
|
|
2819
|
+
accessWhitelistApplicationProcess(requestParameters, options) {
|
|
2820
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationProcess(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2821
|
+
}
|
|
2560
2822
|
/**
|
|
2561
2823
|
*
|
|
2562
2824
|
* @summary 修改出入白名单申请
|
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResultBoolean } from '../models';
|
|
15
16
|
import type { JsonResultJsonResultListSpaceTreeDTO } from '../models';
|
|
16
17
|
import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
|
|
17
18
|
import type { JsonResultVoid } from '../models';
|
|
19
|
+
import type { OpenApiAccessAppointmentRecordAddVo } from '../models';
|
|
18
20
|
import type { SyncEquipmentStatusVo } from '../models';
|
|
19
21
|
import type { SyncEquipmentVo } from '../models';
|
|
20
22
|
/**
|
|
@@ -22,6 +24,14 @@ import type { SyncEquipmentVo } from '../models';
|
|
|
22
24
|
* @export
|
|
23
25
|
*/
|
|
24
26
|
export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary 新增出入预约
|
|
30
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25
35
|
/**
|
|
26
36
|
*
|
|
27
37
|
* @summary 批量新增设施设备
|
|
@@ -60,6 +70,14 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
70
|
* @export
|
|
61
71
|
*/
|
|
62
72
|
export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary 新增出入预约
|
|
76
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
|
|
63
81
|
/**
|
|
64
82
|
*
|
|
65
83
|
* @summary 批量新增设施设备
|
|
@@ -98,6 +116,14 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
|
98
116
|
* @export
|
|
99
117
|
*/
|
|
100
118
|
export declare const OpenApiApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @summary 新增出入预约
|
|
122
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
|
|
101
127
|
/**
|
|
102
128
|
*
|
|
103
129
|
* @summary 批量新增设施设备
|
|
@@ -131,6 +157,19 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
|
|
|
131
157
|
*/
|
|
132
158
|
openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>;
|
|
133
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Request parameters for openApiAccessAppointmentAdd operation in OpenApiApi.
|
|
162
|
+
* @export
|
|
163
|
+
* @interface OpenApiApiOpenApiAccessAppointmentAddRequest
|
|
164
|
+
*/
|
|
165
|
+
export interface OpenApiApiOpenApiAccessAppointmentAddRequest {
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {OpenApiAccessAppointmentRecordAddVo}
|
|
169
|
+
* @memberof OpenApiApiOpenApiAccessAppointmentAdd
|
|
170
|
+
*/
|
|
171
|
+
readonly openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo;
|
|
172
|
+
}
|
|
134
173
|
/**
|
|
135
174
|
* Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
|
|
136
175
|
* @export
|
|
@@ -190,6 +229,15 @@ export interface OpenApiApiOpenApiSurveillanceListRequest {
|
|
|
190
229
|
* @extends {BaseAPI}
|
|
191
230
|
*/
|
|
192
231
|
export declare class OpenApiApi extends BaseAPI {
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @summary 新增出入预约
|
|
235
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
* @memberof OpenApiApi
|
|
239
|
+
*/
|
|
240
|
+
openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
|
|
193
241
|
/**
|
|
194
242
|
*
|
|
195
243
|
* @summary 批量新增设施设备
|
|
@@ -35,6 +35,39 @@ const base_1 = require("../base");
|
|
|
35
35
|
*/
|
|
36
36
|
const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 新增出入预约
|
|
41
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [openApiAccessAppointmentRecordAddVo_1, ...args_1], void 0, function* (openApiAccessAppointmentRecordAddVo, options = {}) {
|
|
46
|
+
// verify required parameter 'openApiAccessAppointmentRecordAddVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('openApiAccessAppointmentAdd', 'openApiAccessAppointmentRecordAddVo', openApiAccessAppointmentRecordAddVo);
|
|
48
|
+
const localVarPath = `/openapi/v1/main/parks/accessAppointment`;
|
|
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)(openApiAccessAppointmentRecordAddVo, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
38
71
|
/**
|
|
39
72
|
*
|
|
40
73
|
* @summary 批量新增设施设备
|
|
@@ -179,6 +212,22 @@ exports.OpenApiApiAxiosParamCreator = OpenApiApiAxiosParamCreator;
|
|
|
179
212
|
const OpenApiApiFp = function (configuration) {
|
|
180
213
|
const localVarAxiosParamCreator = (0, exports.OpenApiApiAxiosParamCreator)(configuration);
|
|
181
214
|
return {
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @summary 新增出入预约
|
|
218
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo, options) {
|
|
223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
224
|
+
var _a, _b, _c;
|
|
225
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo, options);
|
|
226
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
227
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiAccessAppointmentAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
228
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
229
|
+
});
|
|
230
|
+
},
|
|
182
231
|
/**
|
|
183
232
|
*
|
|
184
233
|
* @summary 批量新增设施设备
|
|
@@ -253,6 +302,16 @@ exports.OpenApiApiFp = OpenApiApiFp;
|
|
|
253
302
|
const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
254
303
|
const localVarFp = (0, exports.OpenApiApiFp)(configuration);
|
|
255
304
|
return {
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @summary 新增出入预约
|
|
308
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
openApiAccessAppointmentAdd(requestParameters, options) {
|
|
313
|
+
return localVarFp.openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
|
|
314
|
+
},
|
|
256
315
|
/**
|
|
257
316
|
*
|
|
258
317
|
* @summary 批量新增设施设备
|
|
@@ -303,6 +362,17 @@ exports.OpenApiApiFactory = OpenApiApiFactory;
|
|
|
303
362
|
* @extends {BaseAPI}
|
|
304
363
|
*/
|
|
305
364
|
class OpenApiApi extends base_1.BaseAPI {
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary 新增出入预约
|
|
368
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof OpenApiApi
|
|
372
|
+
*/
|
|
373
|
+
openApiAccessAppointmentAdd(requestParameters, options) {
|
|
374
|
+
return (0, exports.OpenApiApiFp)(this.configuration).openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
375
|
+
}
|
|
306
376
|
/**
|
|
307
377
|
*
|
|
308
378
|
* @summary 批量新增设施设备
|