@gizone/rrs-client 4.2.0-alpha.292 → 4.2.0-alpha.294
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 +21 -0
- package/apis/access-api.ts +1986 -235
- package/dist/apis/access-api.d.ts +913 -1
- package/dist/apis/access-api.js +1400 -115
- package/dist/esm/apis/access-api.d.ts +913 -1
- package/dist/esm/apis/access-api.js +1400 -115
- package/dist/esm/models/access-blacklist-add-vo.d.ts +54 -0
- package/dist/esm/models/access-blacklist-add-vo.js +14 -0
- package/dist/esm/models/access-blacklist-details-dto.d.ts +72 -0
- package/dist/esm/models/access-blacklist-details-dto.js +14 -0
- package/dist/esm/models/access-blacklist-update-vo.d.ts +48 -0
- package/dist/esm/models/access-blacklist-update-vo.js +14 -0
- package/dist/esm/models/access-vehicle-length-enum.d.ts +25 -0
- package/dist/esm/models/access-vehicle-length-enum.js +26 -0
- package/dist/esm/models/access-vehicle-type-enum.d.ts +21 -0
- package/dist/esm/models/access-vehicle-type-enum.js +22 -0
- package/dist/esm/models/access-whitelist-application-add-vo.d.ts +100 -0
- package/dist/esm/models/access-whitelist-application-add-vo.js +14 -0
- package/dist/esm/models/access-whitelist-application-approval-vo.d.ts +30 -0
- package/dist/esm/models/access-whitelist-application-approval-vo.js +14 -0
- package/dist/esm/models/access-whitelist-application-batch-import-template-dto.d.ts +123 -0
- package/dist/esm/models/access-whitelist-application-batch-import-template-dto.js +14 -0
- package/dist/esm/models/access-whitelist-application-details-dto.d.ts +132 -0
- package/dist/esm/models/access-whitelist-application-details-dto.js +14 -0
- package/dist/esm/models/access-whitelist-application-internal-status-enum.d.ts +21 -0
- package/dist/esm/models/access-whitelist-application-internal-status-enum.js +22 -0
- package/dist/esm/models/access-whitelist-application-status-enum.d.ts +23 -0
- package/dist/esm/models/access-whitelist-application-status-enum.js +24 -0
- package/dist/esm/models/access-whitelist-application-update-vo.d.ts +94 -0
- package/dist/esm/models/access-whitelist-application-update-vo.js +14 -0
- package/dist/esm/models/excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.d.ts +31 -0
- package/dist/esm/models/excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.js +14 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/esm/models/json-result-access-blacklist-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-access-blacklist-details-dto.js +14 -0
- package/dist/esm/models/json-result-access-whitelist-application-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-access-whitelist-application-details-dto.js +14 -0
- package/dist/esm/models/json-result-excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.d.ts +62 -0
- package/dist/esm/models/json-result-excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-access-blacklist-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-access-blacklist-details-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-access-whitelist-application-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-access-whitelist-application-details-dto.js +14 -0
- package/dist/esm/models/page-dto-access-blacklist-details-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-access-blacklist-details-dto.js +14 -0
- package/dist/esm/models/page-dto-access-whitelist-application-details-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-access-whitelist-application-details-dto.js +14 -0
- package/dist/esm/models/sync-equipment-vo-equipment.d.ts +6 -0
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/esm/models/system-user-msg-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-type-enum.js +2 -1
- package/dist/esm/models/whitelist-other-info-vo.d.ts +54 -0
- package/dist/esm/models/whitelist-other-info-vo.js +14 -0
- package/dist/models/access-blacklist-add-vo.d.ts +54 -0
- package/dist/models/access-blacklist-add-vo.js +15 -0
- package/dist/models/access-blacklist-details-dto.d.ts +72 -0
- package/dist/models/access-blacklist-details-dto.js +15 -0
- package/dist/models/access-blacklist-update-vo.d.ts +48 -0
- package/dist/models/access-blacklist-update-vo.js +15 -0
- package/dist/models/access-vehicle-length-enum.d.ts +25 -0
- package/dist/models/access-vehicle-length-enum.js +29 -0
- package/dist/models/access-vehicle-type-enum.d.ts +21 -0
- package/dist/models/access-vehicle-type-enum.js +25 -0
- package/dist/models/access-whitelist-application-add-vo.d.ts +100 -0
- package/dist/models/access-whitelist-application-add-vo.js +15 -0
- package/dist/models/access-whitelist-application-approval-vo.d.ts +30 -0
- package/dist/models/access-whitelist-application-approval-vo.js +15 -0
- package/dist/models/access-whitelist-application-batch-import-template-dto.d.ts +123 -0
- package/dist/models/access-whitelist-application-batch-import-template-dto.js +15 -0
- package/dist/models/access-whitelist-application-details-dto.d.ts +132 -0
- package/dist/models/access-whitelist-application-details-dto.js +15 -0
- package/dist/models/access-whitelist-application-internal-status-enum.d.ts +21 -0
- package/dist/models/access-whitelist-application-internal-status-enum.js +25 -0
- package/dist/models/access-whitelist-application-status-enum.d.ts +23 -0
- package/dist/models/access-whitelist-application-status-enum.js +27 -0
- package/dist/models/access-whitelist-application-update-vo.d.ts +94 -0
- package/dist/models/access-whitelist-application-update-vo.js +15 -0
- package/dist/models/excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.d.ts +31 -0
- package/dist/models/excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.js +15 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/dist/models/json-result-access-blacklist-details-dto.d.ts +62 -0
- package/dist/models/json-result-access-blacklist-details-dto.js +15 -0
- package/dist/models/json-result-access-whitelist-application-details-dto.d.ts +62 -0
- package/dist/models/json-result-access-whitelist-application-details-dto.js +15 -0
- package/dist/models/json-result-excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.d.ts +62 -0
- package/dist/models/json-result-excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.js +15 -0
- package/dist/models/json-result-page-dto-access-blacklist-details-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-access-blacklist-details-dto.js +15 -0
- package/dist/models/json-result-page-dto-access-whitelist-application-details-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-access-whitelist-application-details-dto.js +15 -0
- package/dist/models/page-dto-access-blacklist-details-dto.d.ts +31 -0
- package/dist/models/page-dto-access-blacklist-details-dto.js +15 -0
- package/dist/models/page-dto-access-whitelist-application-details-dto.d.ts +31 -0
- package/dist/models/page-dto-access-whitelist-application-details-dto.js +15 -0
- package/dist/models/sync-equipment-vo-equipment.d.ts +6 -0
- package/dist/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/models/system-user-msg-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-type-enum.js +2 -1
- package/dist/models/whitelist-other-info-vo.d.ts +54 -0
- package/dist/models/whitelist-other-info-vo.js +15 -0
- package/models/access-blacklist-add-vo.ts +60 -0
- package/models/access-blacklist-details-dto.ts +78 -0
- package/models/access-blacklist-update-vo.ts +54 -0
- package/models/access-vehicle-length-enum.ts +35 -0
- package/models/access-vehicle-type-enum.ts +31 -0
- package/models/access-whitelist-application-add-vo.ts +116 -0
- package/models/access-whitelist-application-approval-vo.ts +36 -0
- package/models/access-whitelist-application-batch-import-template-dto.ts +137 -0
- package/models/access-whitelist-application-details-dto.ts +152 -0
- package/models/access-whitelist-application-internal-status-enum.ts +31 -0
- package/models/access-whitelist-application-status-enum.ts +33 -0
- package/models/access-whitelist-application-update-vo.ts +110 -0
- package/models/excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.ts +39 -0
- package/models/index.ts +21 -0
- package/models/json-result-access-blacklist-details-dto.ts +72 -0
- package/models/json-result-access-whitelist-application-details-dto.ts +72 -0
- package/models/json-result-excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.ts +72 -0
- package/models/json-result-page-dto-access-blacklist-details-dto.ts +72 -0
- package/models/json-result-page-dto-access-whitelist-application-details-dto.ts +72 -0
- package/models/page-dto-access-blacklist-details-dto.ts +39 -0
- package/models/page-dto-access-whitelist-application-details-dto.ts +39 -0
- package/models/sync-equipment-vo-equipment.ts +6 -0
- package/models/system-user-msg-source-type-enum.ts +2 -1
- package/models/system-user-msg-type-enum.ts +2 -1
- package/models/whitelist-other-info-vo.ts +60 -0
- package/package.json +1 -1
package/dist/apis/access-api.js
CHANGED
|
@@ -35,6 +35,236 @@ const base_1 = require("../base");
|
|
|
35
35
|
*/
|
|
36
36
|
const AccessApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
* 添加黑名单信息
|
|
40
|
+
* @summary 添加黑名单
|
|
41
|
+
* @param {AccessBlacklistAddVo} accessBlacklistAddVo
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
accessBlacklistAdd: (accessBlacklistAddVo_1, ...args_1) => __awaiter(this, [accessBlacklistAddVo_1, ...args_1], void 0, function* (accessBlacklistAddVo, options = {}) {
|
|
46
|
+
// verify required parameter 'accessBlacklistAddVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('accessBlacklistAdd', 'accessBlacklistAddVo', accessBlacklistAddVo);
|
|
48
|
+
const localVarPath = `/access/blacklist`;
|
|
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)(accessBlacklistAddVo, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
* 批量导出黑名单信息
|
|
73
|
+
* @summary 批量导出黑名单
|
|
74
|
+
* @param {number} parkId 园区id
|
|
75
|
+
* @param {string} [searchValue] 搜索值
|
|
76
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
accessBlacklistBatchExport: (parkId_1, searchValue_1, accessCompanyId_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, accessCompanyId_1, ...args_1], void 0, function* (parkId, searchValue, accessCompanyId, options = {}) {
|
|
81
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
82
|
+
(0, common_1.assertParamExists)('accessBlacklistBatchExport', 'parkId', parkId);
|
|
83
|
+
const localVarPath = `/access/blacklist/batchExport`;
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
91
|
+
const localVarHeaderParameter = {};
|
|
92
|
+
const localVarQueryParameter = {};
|
|
93
|
+
// authentication tokenScheme required
|
|
94
|
+
// http bearer authentication required
|
|
95
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
96
|
+
if (parkId !== undefined) {
|
|
97
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
98
|
+
}
|
|
99
|
+
if (searchValue !== undefined) {
|
|
100
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
101
|
+
}
|
|
102
|
+
if (accessCompanyId !== undefined) {
|
|
103
|
+
localVarQueryParameter['accessCompanyId'] = accessCompanyId;
|
|
104
|
+
}
|
|
105
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
108
|
+
return {
|
|
109
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
111
|
+
};
|
|
112
|
+
}),
|
|
113
|
+
/**
|
|
114
|
+
* 删除黑名单信息
|
|
115
|
+
* @summary 删除黑名单
|
|
116
|
+
* @param {number} id
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
accessBlacklistDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
121
|
+
// verify required parameter 'id' is not null or undefined
|
|
122
|
+
(0, common_1.assertParamExists)('accessBlacklistDelete', 'id', id);
|
|
123
|
+
const localVarPath = `/access/blacklist/{id}`
|
|
124
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
132
|
+
const localVarHeaderParameter = {};
|
|
133
|
+
const localVarQueryParameter = {};
|
|
134
|
+
// authentication tokenScheme required
|
|
135
|
+
// http bearer authentication required
|
|
136
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
137
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
140
|
+
return {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
};
|
|
144
|
+
}),
|
|
145
|
+
/**
|
|
146
|
+
* 获取指定ID的黑名单详情
|
|
147
|
+
* @summary 获取黑名单详情
|
|
148
|
+
* @param {number} id
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
accessBlacklistDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
153
|
+
// verify required parameter 'id' is not null or undefined
|
|
154
|
+
(0, common_1.assertParamExists)('accessBlacklistDetails', 'id', id);
|
|
155
|
+
const localVarPath = `/access/blacklist/{id}`
|
|
156
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
if (configuration) {
|
|
161
|
+
baseOptions = configuration.baseOptions;
|
|
162
|
+
}
|
|
163
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
164
|
+
const localVarHeaderParameter = {};
|
|
165
|
+
const localVarQueryParameter = {};
|
|
166
|
+
// authentication tokenScheme required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
169
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
170
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
172
|
+
return {
|
|
173
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
174
|
+
options: localVarRequestOptions,
|
|
175
|
+
};
|
|
176
|
+
}),
|
|
177
|
+
/**
|
|
178
|
+
* 查询黑名单列表
|
|
179
|
+
* @summary 查询黑名单列表
|
|
180
|
+
* @param {number} parkId 园区id
|
|
181
|
+
* @param {number} page 页码
|
|
182
|
+
* @param {number} pageSize 每页数量
|
|
183
|
+
* @param {string} [searchValue] 搜索值
|
|
184
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
accessBlacklistSelectList: (parkId_1, page_1, pageSize_1, searchValue_1, accessCompanyId_1, ...args_1) => __awaiter(this, [parkId_1, page_1, pageSize_1, searchValue_1, accessCompanyId_1, ...args_1], void 0, function* (parkId, page, pageSize, searchValue, accessCompanyId, options = {}) {
|
|
189
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
190
|
+
(0, common_1.assertParamExists)('accessBlacklistSelectList', 'parkId', parkId);
|
|
191
|
+
// verify required parameter 'page' is not null or undefined
|
|
192
|
+
(0, common_1.assertParamExists)('accessBlacklistSelectList', 'page', page);
|
|
193
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
194
|
+
(0, common_1.assertParamExists)('accessBlacklistSelectList', 'pageSize', pageSize);
|
|
195
|
+
const localVarPath = `/access/blacklist`;
|
|
196
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
197
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
198
|
+
let baseOptions;
|
|
199
|
+
if (configuration) {
|
|
200
|
+
baseOptions = configuration.baseOptions;
|
|
201
|
+
}
|
|
202
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
203
|
+
const localVarHeaderParameter = {};
|
|
204
|
+
const localVarQueryParameter = {};
|
|
205
|
+
// authentication tokenScheme required
|
|
206
|
+
// http bearer authentication required
|
|
207
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
208
|
+
if (parkId !== undefined) {
|
|
209
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
210
|
+
}
|
|
211
|
+
if (page !== undefined) {
|
|
212
|
+
localVarQueryParameter['page'] = page;
|
|
213
|
+
}
|
|
214
|
+
if (pageSize !== undefined) {
|
|
215
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
216
|
+
}
|
|
217
|
+
if (searchValue !== undefined) {
|
|
218
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
219
|
+
}
|
|
220
|
+
if (accessCompanyId !== undefined) {
|
|
221
|
+
localVarQueryParameter['accessCompanyId'] = accessCompanyId;
|
|
222
|
+
}
|
|
223
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
224
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
226
|
+
return {
|
|
227
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
228
|
+
options: localVarRequestOptions,
|
|
229
|
+
};
|
|
230
|
+
}),
|
|
231
|
+
/**
|
|
232
|
+
* 修改黑名单信息
|
|
233
|
+
* @summary 修改黑名单
|
|
234
|
+
* @param {number} id
|
|
235
|
+
* @param {AccessBlacklistUpdateVo} accessBlacklistUpdateVo
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
accessBlacklistUpdate: (id_1, accessBlacklistUpdateVo_1, ...args_1) => __awaiter(this, [id_1, accessBlacklistUpdateVo_1, ...args_1], void 0, function* (id, accessBlacklistUpdateVo, options = {}) {
|
|
240
|
+
// verify required parameter 'id' is not null or undefined
|
|
241
|
+
(0, common_1.assertParamExists)('accessBlacklistUpdate', 'id', id);
|
|
242
|
+
// verify required parameter 'accessBlacklistUpdateVo' is not null or undefined
|
|
243
|
+
(0, common_1.assertParamExists)('accessBlacklistUpdate', 'accessBlacklistUpdateVo', accessBlacklistUpdateVo);
|
|
244
|
+
const localVarPath = `/access/blacklist/{id}`
|
|
245
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
248
|
+
let baseOptions;
|
|
249
|
+
if (configuration) {
|
|
250
|
+
baseOptions = configuration.baseOptions;
|
|
251
|
+
}
|
|
252
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
253
|
+
const localVarHeaderParameter = {};
|
|
254
|
+
const localVarQueryParameter = {};
|
|
255
|
+
// authentication tokenScheme required
|
|
256
|
+
// http bearer authentication required
|
|
257
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
258
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
259
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
260
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
261
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
262
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessBlacklistUpdateVo, localVarRequestOptions, configuration);
|
|
263
|
+
return {
|
|
264
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
265
|
+
options: localVarRequestOptions,
|
|
266
|
+
};
|
|
267
|
+
}),
|
|
38
268
|
/**
|
|
39
269
|
*
|
|
40
270
|
* @summary 新增出入访问公司
|
|
@@ -344,15 +574,15 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
344
574
|
}),
|
|
345
575
|
/**
|
|
346
576
|
*
|
|
347
|
-
* @summary
|
|
348
|
-
* @param {
|
|
577
|
+
* @summary 新增出入白名单申请
|
|
578
|
+
* @param {AccessWhitelistApplicationAddVo} accessWhitelistApplicationAddVo
|
|
349
579
|
* @param {*} [options] Override http request option.
|
|
350
580
|
* @throws {RequiredError}
|
|
351
581
|
*/
|
|
352
|
-
|
|
353
|
-
// verify required parameter '
|
|
354
|
-
(0, common_1.assertParamExists)('
|
|
355
|
-
const localVarPath = `/
|
|
582
|
+
accessWhitelistApplicationAdd: (accessWhitelistApplicationAddVo_1, ...args_1) => __awaiter(this, [accessWhitelistApplicationAddVo_1, ...args_1], void 0, function* (accessWhitelistApplicationAddVo, options = {}) {
|
|
583
|
+
// verify required parameter 'accessWhitelistApplicationAddVo' is not null or undefined
|
|
584
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationAdd', 'accessWhitelistApplicationAddVo', accessWhitelistApplicationAddVo);
|
|
585
|
+
const localVarPath = `/access/whitelist/application`;
|
|
356
586
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
357
587
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
358
588
|
let baseOptions;
|
|
@@ -369,7 +599,7 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
369
599
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
370
600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
371
601
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
372
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
602
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessWhitelistApplicationAddVo, localVarRequestOptions, configuration);
|
|
373
603
|
return {
|
|
374
604
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
375
605
|
options: localVarRequestOptions,
|
|
@@ -377,15 +607,18 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
377
607
|
}),
|
|
378
608
|
/**
|
|
379
609
|
*
|
|
380
|
-
* @summary
|
|
610
|
+
* @summary 审批出入白名单申请
|
|
381
611
|
* @param {number} id
|
|
612
|
+
* @param {AccessWhitelistApplicationApprovalVo} accessWhitelistApplicationApprovalVo
|
|
382
613
|
* @param {*} [options] Override http request option.
|
|
383
614
|
* @throws {RequiredError}
|
|
384
615
|
*/
|
|
385
|
-
|
|
616
|
+
accessWhitelistApplicationApproval: (id_1, accessWhitelistApplicationApprovalVo_1, ...args_1) => __awaiter(this, [id_1, accessWhitelistApplicationApprovalVo_1, ...args_1], void 0, function* (id, accessWhitelistApplicationApprovalVo, options = {}) {
|
|
386
617
|
// verify required parameter 'id' is not null or undefined
|
|
387
|
-
(0, common_1.assertParamExists)('
|
|
388
|
-
|
|
618
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationApproval', 'id', id);
|
|
619
|
+
// verify required parameter 'accessWhitelistApplicationApprovalVo' is not null or undefined
|
|
620
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationApproval', 'accessWhitelistApplicationApprovalVo', accessWhitelistApplicationApprovalVo);
|
|
621
|
+
const localVarPath = `/access/whitelist/application/approval/{id}`
|
|
389
622
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
390
623
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
391
624
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -393,15 +626,17 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
393
626
|
if (configuration) {
|
|
394
627
|
baseOptions = configuration.baseOptions;
|
|
395
628
|
}
|
|
396
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
629
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
397
630
|
const localVarHeaderParameter = {};
|
|
398
631
|
const localVarQueryParameter = {};
|
|
399
632
|
// authentication tokenScheme required
|
|
400
633
|
// http bearer authentication required
|
|
401
634
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
635
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
402
636
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
403
637
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
638
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
639
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessWhitelistApplicationApprovalVo, localVarRequestOptions, configuration);
|
|
405
640
|
return {
|
|
406
641
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
407
642
|
options: localVarRequestOptions,
|
|
@@ -409,16 +644,19 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
409
644
|
}),
|
|
410
645
|
/**
|
|
411
646
|
*
|
|
412
|
-
* @summary
|
|
413
|
-
* @param {number}
|
|
647
|
+
* @summary 出入白名单申请-导出
|
|
648
|
+
* @param {number} parkId 园区ID
|
|
649
|
+
* @param {string} [searchValue] 搜索值
|
|
650
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
651
|
+
* @param {AccessVisitorPersonTypeEnum} [accessVisitorPersonType] 访问人员类型
|
|
652
|
+
* @param {AccessWhitelistApplicationStatusEnum} [applicationStatus] 申请状态
|
|
414
653
|
* @param {*} [options] Override http request option.
|
|
415
654
|
* @throws {RequiredError}
|
|
416
655
|
*/
|
|
417
|
-
|
|
418
|
-
// verify required parameter '
|
|
419
|
-
(0, common_1.assertParamExists)('
|
|
420
|
-
const localVarPath = `/
|
|
421
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
656
|
+
accessWhitelistApplicationBatchExport: (parkId_1, searchValue_1, accessCompanyId_1, accessVisitorPersonType_1, applicationStatus_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, accessCompanyId_1, accessVisitorPersonType_1, applicationStatus_1, ...args_1], void 0, function* (parkId, searchValue, accessCompanyId, accessVisitorPersonType, applicationStatus, options = {}) {
|
|
657
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
658
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationBatchExport', 'parkId', parkId);
|
|
659
|
+
const localVarPath = `/access/whitelist/application/batchExport`;
|
|
422
660
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
423
661
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
424
662
|
let baseOptions;
|
|
@@ -431,6 +669,21 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
431
669
|
// authentication tokenScheme required
|
|
432
670
|
// http bearer authentication required
|
|
433
671
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
672
|
+
if (parkId !== undefined) {
|
|
673
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
674
|
+
}
|
|
675
|
+
if (searchValue !== undefined) {
|
|
676
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
677
|
+
}
|
|
678
|
+
if (accessCompanyId !== undefined) {
|
|
679
|
+
localVarQueryParameter['accessCompanyId'] = accessCompanyId;
|
|
680
|
+
}
|
|
681
|
+
if (accessVisitorPersonType !== undefined) {
|
|
682
|
+
localVarQueryParameter['accessVisitorPersonType'] = accessVisitorPersonType;
|
|
683
|
+
}
|
|
684
|
+
if (applicationStatus !== undefined) {
|
|
685
|
+
localVarQueryParameter['applicationStatus'] = applicationStatus;
|
|
686
|
+
}
|
|
434
687
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
435
688
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
689
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -441,32 +694,24 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
441
694
|
}),
|
|
442
695
|
/**
|
|
443
696
|
*
|
|
444
|
-
* @summary
|
|
445
|
-
* @param {AdmissionTermsRecordSearchBO} bo
|
|
697
|
+
* @summary 出入白名单申请-确认导入
|
|
446
698
|
* @param {*} [options] Override http request option.
|
|
447
699
|
* @throws {RequiredError}
|
|
448
700
|
*/
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
(0, common_1.assertParamExists)('listEntryTerm', 'bo', bo);
|
|
452
|
-
const localVarPath = `/admissionTermRecord`;
|
|
701
|
+
accessWhitelistApplicationBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
702
|
+
const localVarPath = `/access/whitelist/application/batchImport/confirm`;
|
|
453
703
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
454
704
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
455
705
|
let baseOptions;
|
|
456
706
|
if (configuration) {
|
|
457
707
|
baseOptions = configuration.baseOptions;
|
|
458
708
|
}
|
|
459
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
709
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
460
710
|
const localVarHeaderParameter = {};
|
|
461
711
|
const localVarQueryParameter = {};
|
|
462
712
|
// authentication tokenScheme required
|
|
463
713
|
// http bearer authentication required
|
|
464
714
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
465
|
-
if (bo !== undefined) {
|
|
466
|
-
for (const [key, value] of Object.entries(bo)) {
|
|
467
|
-
localVarQueryParameter[key] = value;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
715
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
471
716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
472
717
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -477,16 +722,12 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
477
722
|
}),
|
|
478
723
|
/**
|
|
479
724
|
*
|
|
480
|
-
* @summary
|
|
481
|
-
* @param {number} parkId
|
|
482
|
-
* @param {string} [type]
|
|
725
|
+
* @summary 出入白名单申请-预览结果
|
|
483
726
|
* @param {*} [options] Override http request option.
|
|
484
727
|
* @throws {RequiredError}
|
|
485
728
|
*/
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
(0, common_1.assertParamExists)('selectStartUpAdmissionTerms', 'parkId', parkId);
|
|
489
|
-
const localVarPath = `/admissionTermRecord/selectStartUpAdmissionTerms`;
|
|
729
|
+
accessWhitelistApplicationBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
730
|
+
const localVarPath = `/access/whitelist/application/batchImport/preview`;
|
|
490
731
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
491
732
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
492
733
|
let baseOptions;
|
|
@@ -499,12 +740,6 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
499
740
|
// authentication tokenScheme required
|
|
500
741
|
// http bearer authentication required
|
|
501
742
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
502
|
-
if (parkId !== undefined) {
|
|
503
|
-
localVarQueryParameter['parkId'] = parkId;
|
|
504
|
-
}
|
|
505
|
-
if (type !== undefined) {
|
|
506
|
-
localVarQueryParameter['type'] = type;
|
|
507
|
-
}
|
|
508
743
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
509
744
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
510
745
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -515,36 +750,27 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
515
750
|
}),
|
|
516
751
|
/**
|
|
517
752
|
*
|
|
518
|
-
* @summary
|
|
519
|
-
* @param {number} id
|
|
520
|
-
* @param {AdmissionTermsRecordUpdateBO} admissionTermsRecordUpdateBO
|
|
753
|
+
* @summary 出入白名单申请-模板
|
|
521
754
|
* @param {*} [options] Override http request option.
|
|
522
755
|
* @throws {RequiredError}
|
|
523
756
|
*/
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
(0, common_1.assertParamExists)('updateEntryTerm', 'id', id);
|
|
527
|
-
// verify required parameter 'admissionTermsRecordUpdateBO' is not null or undefined
|
|
528
|
-
(0, common_1.assertParamExists)('updateEntryTerm', 'admissionTermsRecordUpdateBO', admissionTermsRecordUpdateBO);
|
|
529
|
-
const localVarPath = `/admissionTermRecord/{id}`
|
|
530
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
757
|
+
accessWhitelistApplicationBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
758
|
+
const localVarPath = `/access/whitelist/application/batchImport/template`;
|
|
531
759
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
532
760
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
533
761
|
let baseOptions;
|
|
534
762
|
if (configuration) {
|
|
535
763
|
baseOptions = configuration.baseOptions;
|
|
536
764
|
}
|
|
537
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
765
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
538
766
|
const localVarHeaderParameter = {};
|
|
539
767
|
const localVarQueryParameter = {};
|
|
540
768
|
// authentication tokenScheme required
|
|
541
769
|
// http bearer authentication required
|
|
542
770
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
543
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
544
771
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
545
772
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
546
773
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
547
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(admissionTermsRecordUpdateBO, localVarRequestOptions, configuration);
|
|
548
774
|
return {
|
|
549
775
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
550
776
|
options: localVarRequestOptions,
|
|
@@ -552,35 +778,453 @@ const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
552
778
|
}),
|
|
553
779
|
/**
|
|
554
780
|
*
|
|
555
|
-
* @summary
|
|
556
|
-
* @param {number} id
|
|
557
|
-
* @param {
|
|
781
|
+
* @summary 出入白名单申请-上传文件
|
|
782
|
+
* @param {number} parkId 园区id
|
|
783
|
+
* @param {File} file
|
|
784
|
+
* @param {string} [language] 语言
|
|
558
785
|
* @param {*} [options] Override http request option.
|
|
559
786
|
* @throws {RequiredError}
|
|
560
787
|
*/
|
|
561
|
-
|
|
562
|
-
// verify required parameter '
|
|
563
|
-
(0, common_1.assertParamExists)('
|
|
564
|
-
// verify required parameter '
|
|
565
|
-
(0, common_1.assertParamExists)('
|
|
566
|
-
const localVarPath = `/
|
|
567
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
788
|
+
accessWhitelistApplicationBatchImportUpload: (parkId_1, file_1, language_1, ...args_1) => __awaiter(this, [parkId_1, file_1, language_1, ...args_1], void 0, function* (parkId, file, language, options = {}) {
|
|
789
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
790
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationBatchImportUpload', 'parkId', parkId);
|
|
791
|
+
// verify required parameter 'file' is not null or undefined
|
|
792
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationBatchImportUpload', 'file', file);
|
|
793
|
+
const localVarPath = `/access/whitelist/application/batchImport/upload`;
|
|
568
794
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
569
795
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
570
796
|
let baseOptions;
|
|
571
797
|
if (configuration) {
|
|
572
798
|
baseOptions = configuration.baseOptions;
|
|
573
799
|
}
|
|
574
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
800
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
575
801
|
const localVarHeaderParameter = {};
|
|
576
802
|
const localVarQueryParameter = {};
|
|
803
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
577
804
|
// authentication tokenScheme required
|
|
578
805
|
// http bearer authentication required
|
|
579
806
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
807
|
+
if (parkId !== undefined) {
|
|
808
|
+
localVarFormParams.append('parkId', parkId);
|
|
809
|
+
}
|
|
810
|
+
if (language !== undefined) {
|
|
811
|
+
localVarFormParams.append('language', language);
|
|
812
|
+
}
|
|
813
|
+
if (file !== undefined) {
|
|
814
|
+
localVarFormParams.append('file', file);
|
|
815
|
+
}
|
|
816
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
817
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
819
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
820
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
821
|
+
return {
|
|
822
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
823
|
+
options: localVarRequestOptions,
|
|
824
|
+
};
|
|
825
|
+
}),
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @summary 删除出入白名单申请
|
|
829
|
+
* @param {number} id
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
accessWhitelistApplicationDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
834
|
+
// verify required parameter 'id' is not null or undefined
|
|
835
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationDelete', 'id', id);
|
|
836
|
+
const localVarPath = `/access/whitelist/application/{id}`
|
|
837
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
838
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
839
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
840
|
+
let baseOptions;
|
|
841
|
+
if (configuration) {
|
|
842
|
+
baseOptions = configuration.baseOptions;
|
|
843
|
+
}
|
|
844
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
845
|
+
const localVarHeaderParameter = {};
|
|
846
|
+
const localVarQueryParameter = {};
|
|
847
|
+
// authentication tokenScheme required
|
|
848
|
+
// http bearer authentication required
|
|
849
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
850
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
851
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
852
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
853
|
+
return {
|
|
854
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
855
|
+
options: localVarRequestOptions,
|
|
856
|
+
};
|
|
857
|
+
}),
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @summary 获取出入白名单申请详情
|
|
861
|
+
* @param {number} id
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
*/
|
|
865
|
+
accessWhitelistApplicationDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
866
|
+
// verify required parameter 'id' is not null or undefined
|
|
867
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationDetails', 'id', id);
|
|
868
|
+
const localVarPath = `/access/whitelist/application/{id}`
|
|
869
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
870
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
871
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
872
|
+
let baseOptions;
|
|
873
|
+
if (configuration) {
|
|
874
|
+
baseOptions = configuration.baseOptions;
|
|
875
|
+
}
|
|
876
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
877
|
+
const localVarHeaderParameter = {};
|
|
878
|
+
const localVarQueryParameter = {};
|
|
879
|
+
// authentication tokenScheme required
|
|
880
|
+
// http bearer authentication required
|
|
881
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
882
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
884
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
885
|
+
return {
|
|
886
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
887
|
+
options: localVarRequestOptions,
|
|
888
|
+
};
|
|
889
|
+
}),
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @summary 获取出入白名单申请列表
|
|
893
|
+
* @param {number} parkId 园区ID
|
|
894
|
+
* @param {number} page 页码
|
|
895
|
+
* @param {number} pageSize 每页数量
|
|
896
|
+
* @param {string} [searchValue] 搜索值
|
|
897
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
898
|
+
* @param {AccessVisitorPersonTypeEnum} [accessVisitorPersonType] 访问人员类型
|
|
899
|
+
* @param {AccessWhitelistApplicationStatusEnum} [applicationStatus] 申请状态
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
*/
|
|
903
|
+
accessWhitelistApplicationList: (parkId_1, page_1, pageSize_1, searchValue_1, accessCompanyId_1, accessVisitorPersonType_1, applicationStatus_1, ...args_1) => __awaiter(this, [parkId_1, page_1, pageSize_1, searchValue_1, accessCompanyId_1, accessVisitorPersonType_1, applicationStatus_1, ...args_1], void 0, function* (parkId, page, pageSize, searchValue, accessCompanyId, accessVisitorPersonType, applicationStatus, options = {}) {
|
|
904
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
905
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationList', 'parkId', parkId);
|
|
906
|
+
// verify required parameter 'page' is not null or undefined
|
|
907
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationList', 'page', page);
|
|
908
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
909
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationList', 'pageSize', pageSize);
|
|
910
|
+
const localVarPath = `/access/whitelist/application`;
|
|
911
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
912
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
913
|
+
let baseOptions;
|
|
914
|
+
if (configuration) {
|
|
915
|
+
baseOptions = configuration.baseOptions;
|
|
916
|
+
}
|
|
917
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
918
|
+
const localVarHeaderParameter = {};
|
|
919
|
+
const localVarQueryParameter = {};
|
|
920
|
+
// authentication tokenScheme required
|
|
921
|
+
// http bearer authentication required
|
|
922
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
923
|
+
if (parkId !== undefined) {
|
|
924
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
925
|
+
}
|
|
926
|
+
if (page !== undefined) {
|
|
927
|
+
localVarQueryParameter['page'] = page;
|
|
928
|
+
}
|
|
929
|
+
if (pageSize !== undefined) {
|
|
930
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
931
|
+
}
|
|
932
|
+
if (searchValue !== undefined) {
|
|
933
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
934
|
+
}
|
|
935
|
+
if (accessCompanyId !== undefined) {
|
|
936
|
+
localVarQueryParameter['accessCompanyId'] = accessCompanyId;
|
|
937
|
+
}
|
|
938
|
+
if (accessVisitorPersonType !== undefined) {
|
|
939
|
+
localVarQueryParameter['accessVisitorPersonType'] = accessVisitorPersonType;
|
|
940
|
+
}
|
|
941
|
+
if (applicationStatus !== undefined) {
|
|
942
|
+
localVarQueryParameter['applicationStatus'] = applicationStatus;
|
|
943
|
+
}
|
|
944
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
945
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
946
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
947
|
+
return {
|
|
948
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
949
|
+
options: localVarRequestOptions,
|
|
950
|
+
};
|
|
951
|
+
}),
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @summary 修改出入白名单申请
|
|
955
|
+
* @param {number} id
|
|
956
|
+
* @param {AccessWhitelistApplicationUpdateVo} accessWhitelistApplicationUpdateVo
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
*/
|
|
960
|
+
accessWhitelistApplicationUpdate: (id_1, accessWhitelistApplicationUpdateVo_1, ...args_1) => __awaiter(this, [id_1, accessWhitelistApplicationUpdateVo_1, ...args_1], void 0, function* (id, accessWhitelistApplicationUpdateVo, options = {}) {
|
|
961
|
+
// verify required parameter 'id' is not null or undefined
|
|
962
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationUpdate', 'id', id);
|
|
963
|
+
// verify required parameter 'accessWhitelistApplicationUpdateVo' is not null or undefined
|
|
964
|
+
(0, common_1.assertParamExists)('accessWhitelistApplicationUpdate', 'accessWhitelistApplicationUpdateVo', accessWhitelistApplicationUpdateVo);
|
|
965
|
+
const localVarPath = `/access/whitelist/application/{id}`
|
|
966
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
967
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
968
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
969
|
+
let baseOptions;
|
|
970
|
+
if (configuration) {
|
|
971
|
+
baseOptions = configuration.baseOptions;
|
|
972
|
+
}
|
|
973
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
974
|
+
const localVarHeaderParameter = {};
|
|
975
|
+
const localVarQueryParameter = {};
|
|
976
|
+
// authentication tokenScheme required
|
|
977
|
+
// http bearer authentication required
|
|
978
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
979
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
980
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
982
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
983
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessWhitelistApplicationUpdateVo, localVarRequestOptions, configuration);
|
|
984
|
+
return {
|
|
985
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
986
|
+
options: localVarRequestOptions,
|
|
987
|
+
};
|
|
988
|
+
}),
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @summary 添加入园条款
|
|
992
|
+
* @param {AdmissionTermsRecordAddBO} admissionTermsRecordAddBO
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @throws {RequiredError}
|
|
995
|
+
*/
|
|
996
|
+
createEntryTerm: (admissionTermsRecordAddBO_1, ...args_1) => __awaiter(this, [admissionTermsRecordAddBO_1, ...args_1], void 0, function* (admissionTermsRecordAddBO, options = {}) {
|
|
997
|
+
// verify required parameter 'admissionTermsRecordAddBO' is not null or undefined
|
|
998
|
+
(0, common_1.assertParamExists)('createEntryTerm', 'admissionTermsRecordAddBO', admissionTermsRecordAddBO);
|
|
999
|
+
const localVarPath = `/admissionTermRecord`;
|
|
1000
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1001
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1002
|
+
let baseOptions;
|
|
1003
|
+
if (configuration) {
|
|
1004
|
+
baseOptions = configuration.baseOptions;
|
|
1005
|
+
}
|
|
1006
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1007
|
+
const localVarHeaderParameter = {};
|
|
1008
|
+
const localVarQueryParameter = {};
|
|
1009
|
+
// authentication tokenScheme required
|
|
1010
|
+
// http bearer authentication required
|
|
1011
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1012
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1013
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1014
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1015
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1016
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(admissionTermsRecordAddBO, localVarRequestOptions, configuration);
|
|
1017
|
+
return {
|
|
1018
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1019
|
+
options: localVarRequestOptions,
|
|
1020
|
+
};
|
|
1021
|
+
}),
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @summary 删除
|
|
1025
|
+
* @param {number} id
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
deleteEntryTerm: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
1030
|
+
// verify required parameter 'id' is not null or undefined
|
|
1031
|
+
(0, common_1.assertParamExists)('deleteEntryTerm', 'id', id);
|
|
1032
|
+
const localVarPath = `/admissionTermRecord/{id}`
|
|
1033
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1034
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1035
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1036
|
+
let baseOptions;
|
|
1037
|
+
if (configuration) {
|
|
1038
|
+
baseOptions = configuration.baseOptions;
|
|
1039
|
+
}
|
|
1040
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1041
|
+
const localVarHeaderParameter = {};
|
|
1042
|
+
const localVarQueryParameter = {};
|
|
1043
|
+
// authentication tokenScheme required
|
|
1044
|
+
// http bearer authentication required
|
|
1045
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1046
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1047
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1048
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1049
|
+
return {
|
|
1050
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1051
|
+
options: localVarRequestOptions,
|
|
1052
|
+
};
|
|
1053
|
+
}),
|
|
1054
|
+
/**
|
|
1055
|
+
*
|
|
1056
|
+
* @summary 查询详情
|
|
1057
|
+
* @param {number} id
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
getEntryTerm: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
1062
|
+
// verify required parameter 'id' is not null or undefined
|
|
1063
|
+
(0, common_1.assertParamExists)('getEntryTerm', 'id', id);
|
|
1064
|
+
const localVarPath = `/admissionTermRecord/{id}`
|
|
1065
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1067
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1068
|
+
let baseOptions;
|
|
1069
|
+
if (configuration) {
|
|
1070
|
+
baseOptions = configuration.baseOptions;
|
|
1071
|
+
}
|
|
1072
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1073
|
+
const localVarHeaderParameter = {};
|
|
1074
|
+
const localVarQueryParameter = {};
|
|
1075
|
+
// authentication tokenScheme required
|
|
1076
|
+
// http bearer authentication required
|
|
1077
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1078
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1079
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1080
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1081
|
+
return {
|
|
1082
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1083
|
+
options: localVarRequestOptions,
|
|
1084
|
+
};
|
|
1085
|
+
}),
|
|
1086
|
+
/**
|
|
1087
|
+
*
|
|
1088
|
+
* @summary 查询列表
|
|
1089
|
+
* @param {AdmissionTermsRecordSearchBO} bo
|
|
1090
|
+
* @param {*} [options] Override http request option.
|
|
1091
|
+
* @throws {RequiredError}
|
|
1092
|
+
*/
|
|
1093
|
+
listEntryTerm: (bo_1, ...args_1) => __awaiter(this, [bo_1, ...args_1], void 0, function* (bo, options = {}) {
|
|
1094
|
+
// verify required parameter 'bo' is not null or undefined
|
|
1095
|
+
(0, common_1.assertParamExists)('listEntryTerm', 'bo', bo);
|
|
1096
|
+
const localVarPath = `/admissionTermRecord`;
|
|
1097
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1098
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1099
|
+
let baseOptions;
|
|
1100
|
+
if (configuration) {
|
|
1101
|
+
baseOptions = configuration.baseOptions;
|
|
1102
|
+
}
|
|
1103
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1104
|
+
const localVarHeaderParameter = {};
|
|
1105
|
+
const localVarQueryParameter = {};
|
|
1106
|
+
// authentication tokenScheme required
|
|
1107
|
+
// http bearer authentication required
|
|
1108
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1109
|
+
if (bo !== undefined) {
|
|
1110
|
+
for (const [key, value] of Object.entries(bo)) {
|
|
1111
|
+
localVarQueryParameter[key] = value;
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1115
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1116
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1117
|
+
return {
|
|
1118
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1119
|
+
options: localVarRequestOptions,
|
|
1120
|
+
};
|
|
1121
|
+
}),
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @summary 查询启用的条款
|
|
1125
|
+
* @param {number} parkId
|
|
1126
|
+
* @param {string} [type]
|
|
1127
|
+
* @param {*} [options] Override http request option.
|
|
1128
|
+
* @throws {RequiredError}
|
|
1129
|
+
*/
|
|
1130
|
+
selectStartUpAdmissionTerms: (parkId_1, type_1, ...args_1) => __awaiter(this, [parkId_1, type_1, ...args_1], void 0, function* (parkId, type, options = {}) {
|
|
1131
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
1132
|
+
(0, common_1.assertParamExists)('selectStartUpAdmissionTerms', 'parkId', parkId);
|
|
1133
|
+
const localVarPath = `/admissionTermRecord/selectStartUpAdmissionTerms`;
|
|
1134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1135
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1136
|
+
let baseOptions;
|
|
1137
|
+
if (configuration) {
|
|
1138
|
+
baseOptions = configuration.baseOptions;
|
|
1139
|
+
}
|
|
1140
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1141
|
+
const localVarHeaderParameter = {};
|
|
1142
|
+
const localVarQueryParameter = {};
|
|
1143
|
+
// authentication tokenScheme required
|
|
1144
|
+
// http bearer authentication required
|
|
1145
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1146
|
+
if (parkId !== undefined) {
|
|
1147
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
1148
|
+
}
|
|
1149
|
+
if (type !== undefined) {
|
|
1150
|
+
localVarQueryParameter['type'] = type;
|
|
1151
|
+
}
|
|
1152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1154
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1155
|
+
return {
|
|
1156
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1157
|
+
options: localVarRequestOptions,
|
|
1158
|
+
};
|
|
1159
|
+
}),
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @summary 修改入园条款
|
|
1163
|
+
* @param {number} id
|
|
1164
|
+
* @param {AdmissionTermsRecordUpdateBO} admissionTermsRecordUpdateBO
|
|
1165
|
+
* @param {*} [options] Override http request option.
|
|
1166
|
+
* @throws {RequiredError}
|
|
1167
|
+
*/
|
|
1168
|
+
updateEntryTerm: (id_1, admissionTermsRecordUpdateBO_1, ...args_1) => __awaiter(this, [id_1, admissionTermsRecordUpdateBO_1, ...args_1], void 0, function* (id, admissionTermsRecordUpdateBO, options = {}) {
|
|
1169
|
+
// verify required parameter 'id' is not null or undefined
|
|
1170
|
+
(0, common_1.assertParamExists)('updateEntryTerm', 'id', id);
|
|
1171
|
+
// verify required parameter 'admissionTermsRecordUpdateBO' is not null or undefined
|
|
1172
|
+
(0, common_1.assertParamExists)('updateEntryTerm', 'admissionTermsRecordUpdateBO', admissionTermsRecordUpdateBO);
|
|
1173
|
+
const localVarPath = `/admissionTermRecord/{id}`
|
|
1174
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1176
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1177
|
+
let baseOptions;
|
|
1178
|
+
if (configuration) {
|
|
1179
|
+
baseOptions = configuration.baseOptions;
|
|
1180
|
+
}
|
|
1181
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1182
|
+
const localVarHeaderParameter = {};
|
|
1183
|
+
const localVarQueryParameter = {};
|
|
1184
|
+
// authentication tokenScheme required
|
|
1185
|
+
// http bearer authentication required
|
|
1186
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1187
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1188
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1190
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1191
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(admissionTermsRecordUpdateBO, localVarRequestOptions, configuration);
|
|
1192
|
+
return {
|
|
1193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1194
|
+
options: localVarRequestOptions,
|
|
1195
|
+
};
|
|
1196
|
+
}),
|
|
1197
|
+
/**
|
|
1198
|
+
*
|
|
1199
|
+
* @summary 修改入园条款状态
|
|
1200
|
+
* @param {number} id
|
|
1201
|
+
* @param {AdmissionTermsRecordUpdateEnableBO} admissionTermsRecordUpdateEnableBO
|
|
1202
|
+
* @param {*} [options] Override http request option.
|
|
1203
|
+
* @throws {RequiredError}
|
|
1204
|
+
*/
|
|
1205
|
+
updateEntryTermStatus: (id_1, admissionTermsRecordUpdateEnableBO_1, ...args_1) => __awaiter(this, [id_1, admissionTermsRecordUpdateEnableBO_1, ...args_1], void 0, function* (id, admissionTermsRecordUpdateEnableBO, options = {}) {
|
|
1206
|
+
// verify required parameter 'id' is not null or undefined
|
|
1207
|
+
(0, common_1.assertParamExists)('updateEntryTermStatus', 'id', id);
|
|
1208
|
+
// verify required parameter 'admissionTermsRecordUpdateEnableBO' is not null or undefined
|
|
1209
|
+
(0, common_1.assertParamExists)('updateEntryTermStatus', 'admissionTermsRecordUpdateEnableBO', admissionTermsRecordUpdateEnableBO);
|
|
1210
|
+
const localVarPath = `/admissionTermRecord/{id}/isEnable`
|
|
1211
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1213
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1214
|
+
let baseOptions;
|
|
1215
|
+
if (configuration) {
|
|
1216
|
+
baseOptions = configuration.baseOptions;
|
|
1217
|
+
}
|
|
1218
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1219
|
+
const localVarHeaderParameter = {};
|
|
1220
|
+
const localVarQueryParameter = {};
|
|
1221
|
+
// authentication tokenScheme required
|
|
1222
|
+
// http bearer authentication required
|
|
1223
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1224
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1225
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1226
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1227
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
584
1228
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(admissionTermsRecordUpdateEnableBO, localVarRequestOptions, configuration);
|
|
585
1229
|
return {
|
|
586
1230
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -597,6 +1241,109 @@ exports.AccessApiAxiosParamCreator = AccessApiAxiosParamCreator;
|
|
|
597
1241
|
const AccessApiFp = function (configuration) {
|
|
598
1242
|
const localVarAxiosParamCreator = (0, exports.AccessApiAxiosParamCreator)(configuration);
|
|
599
1243
|
return {
|
|
1244
|
+
/**
|
|
1245
|
+
* 添加黑名单信息
|
|
1246
|
+
* @summary 添加黑名单
|
|
1247
|
+
* @param {AccessBlacklistAddVo} accessBlacklistAddVo
|
|
1248
|
+
* @param {*} [options] Override http request option.
|
|
1249
|
+
* @throws {RequiredError}
|
|
1250
|
+
*/
|
|
1251
|
+
accessBlacklistAdd(accessBlacklistAddVo, options) {
|
|
1252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1253
|
+
var _a, _b, _c;
|
|
1254
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessBlacklistAdd(accessBlacklistAddVo, options);
|
|
1255
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1256
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessBlacklistAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1257
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1258
|
+
});
|
|
1259
|
+
},
|
|
1260
|
+
/**
|
|
1261
|
+
* 批量导出黑名单信息
|
|
1262
|
+
* @summary 批量导出黑名单
|
|
1263
|
+
* @param {number} parkId 园区id
|
|
1264
|
+
* @param {string} [searchValue] 搜索值
|
|
1265
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
1266
|
+
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @throws {RequiredError}
|
|
1268
|
+
*/
|
|
1269
|
+
accessBlacklistBatchExport(parkId, searchValue, accessCompanyId, options) {
|
|
1270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1271
|
+
var _a, _b, _c;
|
|
1272
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessBlacklistBatchExport(parkId, searchValue, accessCompanyId, options);
|
|
1273
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1274
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessBlacklistBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1275
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1276
|
+
});
|
|
1277
|
+
},
|
|
1278
|
+
/**
|
|
1279
|
+
* 删除黑名单信息
|
|
1280
|
+
* @summary 删除黑名单
|
|
1281
|
+
* @param {number} id
|
|
1282
|
+
* @param {*} [options] Override http request option.
|
|
1283
|
+
* @throws {RequiredError}
|
|
1284
|
+
*/
|
|
1285
|
+
accessBlacklistDelete(id, options) {
|
|
1286
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1287
|
+
var _a, _b, _c;
|
|
1288
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessBlacklistDelete(id, options);
|
|
1289
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1290
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessBlacklistDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1291
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1292
|
+
});
|
|
1293
|
+
},
|
|
1294
|
+
/**
|
|
1295
|
+
* 获取指定ID的黑名单详情
|
|
1296
|
+
* @summary 获取黑名单详情
|
|
1297
|
+
* @param {number} id
|
|
1298
|
+
* @param {*} [options] Override http request option.
|
|
1299
|
+
* @throws {RequiredError}
|
|
1300
|
+
*/
|
|
1301
|
+
accessBlacklistDetails(id, options) {
|
|
1302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1303
|
+
var _a, _b, _c;
|
|
1304
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessBlacklistDetails(id, options);
|
|
1305
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1306
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessBlacklistDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1307
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1308
|
+
});
|
|
1309
|
+
},
|
|
1310
|
+
/**
|
|
1311
|
+
* 查询黑名单列表
|
|
1312
|
+
* @summary 查询黑名单列表
|
|
1313
|
+
* @param {number} parkId 园区id
|
|
1314
|
+
* @param {number} page 页码
|
|
1315
|
+
* @param {number} pageSize 每页数量
|
|
1316
|
+
* @param {string} [searchValue] 搜索值
|
|
1317
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
accessBlacklistSelectList(parkId, page, pageSize, searchValue, accessCompanyId, options) {
|
|
1322
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1323
|
+
var _a, _b, _c;
|
|
1324
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessBlacklistSelectList(parkId, page, pageSize, searchValue, accessCompanyId, options);
|
|
1325
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1326
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessBlacklistSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1327
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1328
|
+
});
|
|
1329
|
+
},
|
|
1330
|
+
/**
|
|
1331
|
+
* 修改黑名单信息
|
|
1332
|
+
* @summary 修改黑名单
|
|
1333
|
+
* @param {number} id
|
|
1334
|
+
* @param {AccessBlacklistUpdateVo} accessBlacklistUpdateVo
|
|
1335
|
+
* @param {*} [options] Override http request option.
|
|
1336
|
+
* @throws {RequiredError}
|
|
1337
|
+
*/
|
|
1338
|
+
accessBlacklistUpdate(id, accessBlacklistUpdateVo, options) {
|
|
1339
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1340
|
+
var _a, _b, _c;
|
|
1341
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessBlacklistUpdate(id, accessBlacklistUpdateVo, options);
|
|
1342
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1343
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessBlacklistUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1344
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1345
|
+
});
|
|
1346
|
+
},
|
|
600
1347
|
/**
|
|
601
1348
|
*
|
|
602
1349
|
* @summary 新增出入访问公司
|
|
@@ -615,132 +1362,319 @@ const AccessApiFp = function (configuration) {
|
|
|
615
1362
|
},
|
|
616
1363
|
/**
|
|
617
1364
|
*
|
|
618
|
-
* @summary 批量更新出入访问公司排序
|
|
619
|
-
* @param {Array<AccessCompanyConfigSortVo>} accessCompanyConfigSortVo
|
|
1365
|
+
* @summary 批量更新出入访问公司排序
|
|
1366
|
+
* @param {Array<AccessCompanyConfigSortVo>} accessCompanyConfigSortVo
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @throws {RequiredError}
|
|
1369
|
+
*/
|
|
1370
|
+
accessCompanyConfigBatchUpdateSort(accessCompanyConfigSortVo, options) {
|
|
1371
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1372
|
+
var _a, _b, _c;
|
|
1373
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigBatchUpdateSort(accessCompanyConfigSortVo, options);
|
|
1374
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1375
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessCompanyConfigBatchUpdateSort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1376
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1377
|
+
});
|
|
1378
|
+
},
|
|
1379
|
+
/**
|
|
1380
|
+
*
|
|
1381
|
+
* @summary 删除出入访问公司
|
|
1382
|
+
* @param {number} id
|
|
1383
|
+
* @param {*} [options] Override http request option.
|
|
1384
|
+
* @throws {RequiredError}
|
|
1385
|
+
*/
|
|
1386
|
+
accessCompanyConfigDelete(id, options) {
|
|
1387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1388
|
+
var _a, _b, _c;
|
|
1389
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigDelete(id, options);
|
|
1390
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1391
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessCompanyConfigDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1392
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1393
|
+
});
|
|
1394
|
+
},
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @summary 查询出入访问公司详情
|
|
1398
|
+
* @param {number} id
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
*/
|
|
1402
|
+
accessCompanyConfigSelectById(id, options) {
|
|
1403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1404
|
+
var _a, _b, _c;
|
|
1405
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigSelectById(id, options);
|
|
1406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1407
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessCompanyConfigSelectById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1408
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1409
|
+
});
|
|
1410
|
+
},
|
|
1411
|
+
/**
|
|
1412
|
+
*
|
|
1413
|
+
* @summary 查询出入访问公司列表
|
|
1414
|
+
* @param {number} parkId 园区ID
|
|
1415
|
+
* @param {*} [options] Override http request option.
|
|
1416
|
+
* @throws {RequiredError}
|
|
1417
|
+
*/
|
|
1418
|
+
accessCompanyConfigSelectList(parkId, options) {
|
|
1419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1420
|
+
var _a, _b, _c;
|
|
1421
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigSelectList(parkId, options);
|
|
1422
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1423
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessCompanyConfigSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1424
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1425
|
+
});
|
|
1426
|
+
},
|
|
1427
|
+
/**
|
|
1428
|
+
*
|
|
1429
|
+
* @summary 编辑出入访问公司
|
|
1430
|
+
* @param {number} id
|
|
1431
|
+
* @param {AccessCompanyConfigAddOrUpdateVo} accessCompanyConfigAddOrUpdateVo
|
|
1432
|
+
* @param {*} [options] Override http request option.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
*/
|
|
1435
|
+
accessCompanyConfigUpdate(id, accessCompanyConfigAddOrUpdateVo, options) {
|
|
1436
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1437
|
+
var _a, _b, _c;
|
|
1438
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigUpdate(id, accessCompanyConfigAddOrUpdateVo, options);
|
|
1439
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1440
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessCompanyConfigUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1441
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1442
|
+
});
|
|
1443
|
+
},
|
|
1444
|
+
/**
|
|
1445
|
+
*
|
|
1446
|
+
* @summary 编辑出入访问公司人员类型
|
|
1447
|
+
* @param {number} id
|
|
1448
|
+
* @param {Array<AccessVisitorPersonTypeConfigVo>} accessVisitorPersonTypeConfigVo
|
|
1449
|
+
* @param {*} [options] Override http request option.
|
|
1450
|
+
* @throws {RequiredError}
|
|
1451
|
+
*/
|
|
1452
|
+
accessCompanyVisitorPersonTypeConfigsUpdate(id, accessVisitorPersonTypeConfigVo, options) {
|
|
1453
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1454
|
+
var _a, _b, _c;
|
|
1455
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyVisitorPersonTypeConfigsUpdate(id, accessVisitorPersonTypeConfigVo, options);
|
|
1456
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1457
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessCompanyVisitorPersonTypeConfigsUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1458
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1459
|
+
});
|
|
1460
|
+
},
|
|
1461
|
+
/**
|
|
1462
|
+
* 根据园区ID查询出入配置
|
|
1463
|
+
* @summary 查询出入配置
|
|
1464
|
+
* @param {number} parkId
|
|
1465
|
+
* @param {*} [options] Override http request option.
|
|
1466
|
+
* @throws {RequiredError}
|
|
1467
|
+
*/
|
|
1468
|
+
accessConfigSelectById(parkId, options) {
|
|
1469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1470
|
+
var _a, _b, _c;
|
|
1471
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessConfigSelectById(parkId, options);
|
|
1472
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1473
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessConfigSelectById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1474
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1475
|
+
});
|
|
1476
|
+
},
|
|
1477
|
+
/**
|
|
1478
|
+
* 根据园区ID更新出入配置
|
|
1479
|
+
* @summary 更新出入配置
|
|
1480
|
+
* @param {number} parkId
|
|
1481
|
+
* @param {AccessConfigVo} accessConfigVo
|
|
1482
|
+
* @param {*} [options] Override http request option.
|
|
1483
|
+
* @throws {RequiredError}
|
|
1484
|
+
*/
|
|
1485
|
+
accessConfigUpdate(parkId, accessConfigVo, options) {
|
|
1486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1487
|
+
var _a, _b, _c;
|
|
1488
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessConfigUpdate(parkId, accessConfigVo, options);
|
|
1489
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1490
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessConfigUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1491
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1492
|
+
});
|
|
1493
|
+
},
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @summary 新增出入白名单申请
|
|
1497
|
+
* @param {AccessWhitelistApplicationAddVo} accessWhitelistApplicationAddVo
|
|
1498
|
+
* @param {*} [options] Override http request option.
|
|
1499
|
+
* @throws {RequiredError}
|
|
1500
|
+
*/
|
|
1501
|
+
accessWhitelistApplicationAdd(accessWhitelistApplicationAddVo, options) {
|
|
1502
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1503
|
+
var _a, _b, _c;
|
|
1504
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationAdd(accessWhitelistApplicationAddVo, options);
|
|
1505
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1506
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1507
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1508
|
+
});
|
|
1509
|
+
},
|
|
1510
|
+
/**
|
|
1511
|
+
*
|
|
1512
|
+
* @summary 审批出入白名单申请
|
|
1513
|
+
* @param {number} id
|
|
1514
|
+
* @param {AccessWhitelistApplicationApprovalVo} accessWhitelistApplicationApprovalVo
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
*/
|
|
1518
|
+
accessWhitelistApplicationApproval(id, accessWhitelistApplicationApprovalVo, options) {
|
|
1519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1520
|
+
var _a, _b, _c;
|
|
1521
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationApproval(id, accessWhitelistApplicationApprovalVo, options);
|
|
1522
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1523
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationApproval']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1524
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1525
|
+
});
|
|
1526
|
+
},
|
|
1527
|
+
/**
|
|
1528
|
+
*
|
|
1529
|
+
* @summary 出入白名单申请-导出
|
|
1530
|
+
* @param {number} parkId 园区ID
|
|
1531
|
+
* @param {string} [searchValue] 搜索值
|
|
1532
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
1533
|
+
* @param {AccessVisitorPersonTypeEnum} [accessVisitorPersonType] 访问人员类型
|
|
1534
|
+
* @param {AccessWhitelistApplicationStatusEnum} [applicationStatus] 申请状态
|
|
1535
|
+
* @param {*} [options] Override http request option.
|
|
1536
|
+
* @throws {RequiredError}
|
|
1537
|
+
*/
|
|
1538
|
+
accessWhitelistApplicationBatchExport(parkId, searchValue, accessCompanyId, accessVisitorPersonType, applicationStatus, options) {
|
|
1539
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1540
|
+
var _a, _b, _c;
|
|
1541
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationBatchExport(parkId, searchValue, accessCompanyId, accessVisitorPersonType, applicationStatus, options);
|
|
1542
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1543
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1544
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1545
|
+
});
|
|
1546
|
+
},
|
|
1547
|
+
/**
|
|
1548
|
+
*
|
|
1549
|
+
* @summary 出入白名单申请-确认导入
|
|
620
1550
|
* @param {*} [options] Override http request option.
|
|
621
1551
|
* @throws {RequiredError}
|
|
622
1552
|
*/
|
|
623
|
-
|
|
1553
|
+
accessWhitelistApplicationBatchImportConfirm(options) {
|
|
624
1554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
625
1555
|
var _a, _b, _c;
|
|
626
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1556
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationBatchImportConfirm(options);
|
|
627
1557
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
628
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1558
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
629
1559
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
630
1560
|
});
|
|
631
1561
|
},
|
|
632
1562
|
/**
|
|
633
1563
|
*
|
|
634
|
-
* @summary
|
|
635
|
-
* @param {number} id
|
|
1564
|
+
* @summary 出入白名单申请-预览结果
|
|
636
1565
|
* @param {*} [options] Override http request option.
|
|
637
1566
|
* @throws {RequiredError}
|
|
638
1567
|
*/
|
|
639
|
-
|
|
1568
|
+
accessWhitelistApplicationBatchImportPreview(options) {
|
|
640
1569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
641
1570
|
var _a, _b, _c;
|
|
642
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1571
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationBatchImportPreview(options);
|
|
643
1572
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
644
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1573
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
645
1574
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
646
1575
|
});
|
|
647
1576
|
},
|
|
648
1577
|
/**
|
|
649
1578
|
*
|
|
650
|
-
* @summary
|
|
651
|
-
* @param {number} id
|
|
1579
|
+
* @summary 出入白名单申请-模板
|
|
652
1580
|
* @param {*} [options] Override http request option.
|
|
653
1581
|
* @throws {RequiredError}
|
|
654
1582
|
*/
|
|
655
|
-
|
|
1583
|
+
accessWhitelistApplicationBatchImportTemplate(options) {
|
|
656
1584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
657
1585
|
var _a, _b, _c;
|
|
658
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1586
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationBatchImportTemplate(options);
|
|
659
1587
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
660
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1588
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
661
1589
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
662
1590
|
});
|
|
663
1591
|
},
|
|
664
1592
|
/**
|
|
665
1593
|
*
|
|
666
|
-
* @summary
|
|
667
|
-
* @param {number} parkId 园区
|
|
1594
|
+
* @summary 出入白名单申请-上传文件
|
|
1595
|
+
* @param {number} parkId 园区id
|
|
1596
|
+
* @param {File} file
|
|
1597
|
+
* @param {string} [language] 语言
|
|
668
1598
|
* @param {*} [options] Override http request option.
|
|
669
1599
|
* @throws {RequiredError}
|
|
670
1600
|
*/
|
|
671
|
-
|
|
1601
|
+
accessWhitelistApplicationBatchImportUpload(parkId, file, language, options) {
|
|
672
1602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
673
1603
|
var _a, _b, _c;
|
|
674
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationBatchImportUpload(parkId, file, language, options);
|
|
675
1605
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
676
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1606
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
677
1607
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
678
1608
|
});
|
|
679
1609
|
},
|
|
680
1610
|
/**
|
|
681
1611
|
*
|
|
682
|
-
* @summary
|
|
1612
|
+
* @summary 删除出入白名单申请
|
|
683
1613
|
* @param {number} id
|
|
684
|
-
* @param {AccessCompanyConfigAddOrUpdateVo} accessCompanyConfigAddOrUpdateVo
|
|
685
1614
|
* @param {*} [options] Override http request option.
|
|
686
1615
|
* @throws {RequiredError}
|
|
687
1616
|
*/
|
|
688
|
-
|
|
1617
|
+
accessWhitelistApplicationDelete(id, options) {
|
|
689
1618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
690
1619
|
var _a, _b, _c;
|
|
691
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1620
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationDelete(id, options);
|
|
692
1621
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
693
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1622
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
694
1623
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
695
1624
|
});
|
|
696
1625
|
},
|
|
697
1626
|
/**
|
|
698
1627
|
*
|
|
699
|
-
* @summary
|
|
1628
|
+
* @summary 获取出入白名单申请详情
|
|
700
1629
|
* @param {number} id
|
|
701
|
-
* @param {Array<AccessVisitorPersonTypeConfigVo>} accessVisitorPersonTypeConfigVo
|
|
702
1630
|
* @param {*} [options] Override http request option.
|
|
703
1631
|
* @throws {RequiredError}
|
|
704
1632
|
*/
|
|
705
|
-
|
|
1633
|
+
accessWhitelistApplicationDetails(id, options) {
|
|
706
1634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
707
1635
|
var _a, _b, _c;
|
|
708
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationDetails(id, options);
|
|
709
1637
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
710
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1638
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
711
1639
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
712
1640
|
});
|
|
713
1641
|
},
|
|
714
1642
|
/**
|
|
715
|
-
*
|
|
716
|
-
* @summary
|
|
717
|
-
* @param {number} parkId
|
|
1643
|
+
*
|
|
1644
|
+
* @summary 获取出入白名单申请列表
|
|
1645
|
+
* @param {number} parkId 园区ID
|
|
1646
|
+
* @param {number} page 页码
|
|
1647
|
+
* @param {number} pageSize 每页数量
|
|
1648
|
+
* @param {string} [searchValue] 搜索值
|
|
1649
|
+
* @param {number} [accessCompanyId] 访问公司
|
|
1650
|
+
* @param {AccessVisitorPersonTypeEnum} [accessVisitorPersonType] 访问人员类型
|
|
1651
|
+
* @param {AccessWhitelistApplicationStatusEnum} [applicationStatus] 申请状态
|
|
718
1652
|
* @param {*} [options] Override http request option.
|
|
719
1653
|
* @throws {RequiredError}
|
|
720
1654
|
*/
|
|
721
|
-
|
|
1655
|
+
accessWhitelistApplicationList(parkId, page, pageSize, searchValue, accessCompanyId, accessVisitorPersonType, applicationStatus, options) {
|
|
722
1656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
723
1657
|
var _a, _b, _c;
|
|
724
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1658
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationList(parkId, page, pageSize, searchValue, accessCompanyId, accessVisitorPersonType, applicationStatus, options);
|
|
725
1659
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
726
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1660
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
727
1661
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
728
1662
|
});
|
|
729
1663
|
},
|
|
730
1664
|
/**
|
|
731
|
-
*
|
|
732
|
-
* @summary
|
|
733
|
-
* @param {number}
|
|
734
|
-
* @param {
|
|
1665
|
+
*
|
|
1666
|
+
* @summary 修改出入白名单申请
|
|
1667
|
+
* @param {number} id
|
|
1668
|
+
* @param {AccessWhitelistApplicationUpdateVo} accessWhitelistApplicationUpdateVo
|
|
735
1669
|
* @param {*} [options] Override http request option.
|
|
736
1670
|
* @throws {RequiredError}
|
|
737
1671
|
*/
|
|
738
|
-
|
|
1672
|
+
accessWhitelistApplicationUpdate(id, accessWhitelistApplicationUpdateVo, options) {
|
|
739
1673
|
return __awaiter(this, void 0, void 0, function* () {
|
|
740
1674
|
var _a, _b, _c;
|
|
741
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1675
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationUpdate(id, accessWhitelistApplicationUpdateVo, options);
|
|
742
1676
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
743
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.
|
|
1677
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessWhitelistApplicationUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
744
1678
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
745
1679
|
});
|
|
746
1680
|
},
|
|
@@ -869,6 +1803,66 @@ exports.AccessApiFp = AccessApiFp;
|
|
|
869
1803
|
const AccessApiFactory = function (configuration, basePath, axios) {
|
|
870
1804
|
const localVarFp = (0, exports.AccessApiFp)(configuration);
|
|
871
1805
|
return {
|
|
1806
|
+
/**
|
|
1807
|
+
* 添加黑名单信息
|
|
1808
|
+
* @summary 添加黑名单
|
|
1809
|
+
* @param {AccessApiAccessBlacklistAddRequest} requestParameters Request parameters.
|
|
1810
|
+
* @param {*} [options] Override http request option.
|
|
1811
|
+
* @throws {RequiredError}
|
|
1812
|
+
*/
|
|
1813
|
+
accessBlacklistAdd(requestParameters, options) {
|
|
1814
|
+
return localVarFp.accessBlacklistAdd(requestParameters.accessBlacklistAddVo, options).then((request) => request(axios, basePath));
|
|
1815
|
+
},
|
|
1816
|
+
/**
|
|
1817
|
+
* 批量导出黑名单信息
|
|
1818
|
+
* @summary 批量导出黑名单
|
|
1819
|
+
* @param {AccessApiAccessBlacklistBatchExportRequest} requestParameters Request parameters.
|
|
1820
|
+
* @param {*} [options] Override http request option.
|
|
1821
|
+
* @throws {RequiredError}
|
|
1822
|
+
*/
|
|
1823
|
+
accessBlacklistBatchExport(requestParameters, options) {
|
|
1824
|
+
return localVarFp.accessBlacklistBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.accessCompanyId, options).then((request) => request(axios, basePath));
|
|
1825
|
+
},
|
|
1826
|
+
/**
|
|
1827
|
+
* 删除黑名单信息
|
|
1828
|
+
* @summary 删除黑名单
|
|
1829
|
+
* @param {AccessApiAccessBlacklistDeleteRequest} requestParameters Request parameters.
|
|
1830
|
+
* @param {*} [options] Override http request option.
|
|
1831
|
+
* @throws {RequiredError}
|
|
1832
|
+
*/
|
|
1833
|
+
accessBlacklistDelete(requestParameters, options) {
|
|
1834
|
+
return localVarFp.accessBlacklistDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1835
|
+
},
|
|
1836
|
+
/**
|
|
1837
|
+
* 获取指定ID的黑名单详情
|
|
1838
|
+
* @summary 获取黑名单详情
|
|
1839
|
+
* @param {AccessApiAccessBlacklistDetailsRequest} requestParameters Request parameters.
|
|
1840
|
+
* @param {*} [options] Override http request option.
|
|
1841
|
+
* @throws {RequiredError}
|
|
1842
|
+
*/
|
|
1843
|
+
accessBlacklistDetails(requestParameters, options) {
|
|
1844
|
+
return localVarFp.accessBlacklistDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1845
|
+
},
|
|
1846
|
+
/**
|
|
1847
|
+
* 查询黑名单列表
|
|
1848
|
+
* @summary 查询黑名单列表
|
|
1849
|
+
* @param {AccessApiAccessBlacklistSelectListRequest} requestParameters Request parameters.
|
|
1850
|
+
* @param {*} [options] Override http request option.
|
|
1851
|
+
* @throws {RequiredError}
|
|
1852
|
+
*/
|
|
1853
|
+
accessBlacklistSelectList(requestParameters, options) {
|
|
1854
|
+
return localVarFp.accessBlacklistSelectList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.accessCompanyId, options).then((request) => request(axios, basePath));
|
|
1855
|
+
},
|
|
1856
|
+
/**
|
|
1857
|
+
* 修改黑名单信息
|
|
1858
|
+
* @summary 修改黑名单
|
|
1859
|
+
* @param {AccessApiAccessBlacklistUpdateRequest} requestParameters Request parameters.
|
|
1860
|
+
* @param {*} [options] Override http request option.
|
|
1861
|
+
* @throws {RequiredError}
|
|
1862
|
+
*/
|
|
1863
|
+
accessBlacklistUpdate(requestParameters, options) {
|
|
1864
|
+
return localVarFp.accessBlacklistUpdate(requestParameters.id, requestParameters.accessBlacklistUpdateVo, options).then((request) => request(axios, basePath));
|
|
1865
|
+
},
|
|
872
1866
|
/**
|
|
873
1867
|
*
|
|
874
1868
|
* @summary 新增出入访问公司
|
|
@@ -959,6 +1953,113 @@ const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
959
1953
|
accessConfigUpdate(requestParameters, options) {
|
|
960
1954
|
return localVarFp.accessConfigUpdate(requestParameters.parkId, requestParameters.accessConfigVo, options).then((request) => request(axios, basePath));
|
|
961
1955
|
},
|
|
1956
|
+
/**
|
|
1957
|
+
*
|
|
1958
|
+
* @summary 新增出入白名单申请
|
|
1959
|
+
* @param {AccessApiAccessWhitelistApplicationAddRequest} requestParameters Request parameters.
|
|
1960
|
+
* @param {*} [options] Override http request option.
|
|
1961
|
+
* @throws {RequiredError}
|
|
1962
|
+
*/
|
|
1963
|
+
accessWhitelistApplicationAdd(requestParameters, options) {
|
|
1964
|
+
return localVarFp.accessWhitelistApplicationAdd(requestParameters.accessWhitelistApplicationAddVo, options).then((request) => request(axios, basePath));
|
|
1965
|
+
},
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @summary 审批出入白名单申请
|
|
1969
|
+
* @param {AccessApiAccessWhitelistApplicationApprovalRequest} requestParameters Request parameters.
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @throws {RequiredError}
|
|
1972
|
+
*/
|
|
1973
|
+
accessWhitelistApplicationApproval(requestParameters, options) {
|
|
1974
|
+
return localVarFp.accessWhitelistApplicationApproval(requestParameters.id, requestParameters.accessWhitelistApplicationApprovalVo, options).then((request) => request(axios, basePath));
|
|
1975
|
+
},
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @summary 出入白名单申请-导出
|
|
1979
|
+
* @param {AccessApiAccessWhitelistApplicationBatchExportRequest} requestParameters Request parameters.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
accessWhitelistApplicationBatchExport(requestParameters, options) {
|
|
1984
|
+
return localVarFp.accessWhitelistApplicationBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.accessCompanyId, requestParameters.accessVisitorPersonType, requestParameters.applicationStatus, options).then((request) => request(axios, basePath));
|
|
1985
|
+
},
|
|
1986
|
+
/**
|
|
1987
|
+
*
|
|
1988
|
+
* @summary 出入白名单申请-确认导入
|
|
1989
|
+
* @param {*} [options] Override http request option.
|
|
1990
|
+
* @throws {RequiredError}
|
|
1991
|
+
*/
|
|
1992
|
+
accessWhitelistApplicationBatchImportConfirm(options) {
|
|
1993
|
+
return localVarFp.accessWhitelistApplicationBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
1994
|
+
},
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @summary 出入白名单申请-预览结果
|
|
1998
|
+
* @param {*} [options] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
2000
|
+
*/
|
|
2001
|
+
accessWhitelistApplicationBatchImportPreview(options) {
|
|
2002
|
+
return localVarFp.accessWhitelistApplicationBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
2003
|
+
},
|
|
2004
|
+
/**
|
|
2005
|
+
*
|
|
2006
|
+
* @summary 出入白名单申请-模板
|
|
2007
|
+
* @param {*} [options] Override http request option.
|
|
2008
|
+
* @throws {RequiredError}
|
|
2009
|
+
*/
|
|
2010
|
+
accessWhitelistApplicationBatchImportTemplate(options) {
|
|
2011
|
+
return localVarFp.accessWhitelistApplicationBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
2012
|
+
},
|
|
2013
|
+
/**
|
|
2014
|
+
*
|
|
2015
|
+
* @summary 出入白名单申请-上传文件
|
|
2016
|
+
* @param {AccessApiAccessWhitelistApplicationBatchImportUploadRequest} requestParameters Request parameters.
|
|
2017
|
+
* @param {*} [options] Override http request option.
|
|
2018
|
+
* @throws {RequiredError}
|
|
2019
|
+
*/
|
|
2020
|
+
accessWhitelistApplicationBatchImportUpload(requestParameters, options) {
|
|
2021
|
+
return localVarFp.accessWhitelistApplicationBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
2022
|
+
},
|
|
2023
|
+
/**
|
|
2024
|
+
*
|
|
2025
|
+
* @summary 删除出入白名单申请
|
|
2026
|
+
* @param {AccessApiAccessWhitelistApplicationDeleteRequest} requestParameters Request parameters.
|
|
2027
|
+
* @param {*} [options] Override http request option.
|
|
2028
|
+
* @throws {RequiredError}
|
|
2029
|
+
*/
|
|
2030
|
+
accessWhitelistApplicationDelete(requestParameters, options) {
|
|
2031
|
+
return localVarFp.accessWhitelistApplicationDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2032
|
+
},
|
|
2033
|
+
/**
|
|
2034
|
+
*
|
|
2035
|
+
* @summary 获取出入白名单申请详情
|
|
2036
|
+
* @param {AccessApiAccessWhitelistApplicationDetailsRequest} requestParameters Request parameters.
|
|
2037
|
+
* @param {*} [options] Override http request option.
|
|
2038
|
+
* @throws {RequiredError}
|
|
2039
|
+
*/
|
|
2040
|
+
accessWhitelistApplicationDetails(requestParameters, options) {
|
|
2041
|
+
return localVarFp.accessWhitelistApplicationDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2042
|
+
},
|
|
2043
|
+
/**
|
|
2044
|
+
*
|
|
2045
|
+
* @summary 获取出入白名单申请列表
|
|
2046
|
+
* @param {AccessApiAccessWhitelistApplicationListRequest} requestParameters Request parameters.
|
|
2047
|
+
* @param {*} [options] Override http request option.
|
|
2048
|
+
* @throws {RequiredError}
|
|
2049
|
+
*/
|
|
2050
|
+
accessWhitelistApplicationList(requestParameters, options) {
|
|
2051
|
+
return localVarFp.accessWhitelistApplicationList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.accessCompanyId, requestParameters.accessVisitorPersonType, requestParameters.applicationStatus, options).then((request) => request(axios, basePath));
|
|
2052
|
+
},
|
|
2053
|
+
/**
|
|
2054
|
+
*
|
|
2055
|
+
* @summary 修改出入白名单申请
|
|
2056
|
+
* @param {AccessApiAccessWhitelistApplicationUpdateRequest} requestParameters Request parameters.
|
|
2057
|
+
* @param {*} [options] Override http request option.
|
|
2058
|
+
* @throws {RequiredError}
|
|
2059
|
+
*/
|
|
2060
|
+
accessWhitelistApplicationUpdate(requestParameters, options) {
|
|
2061
|
+
return localVarFp.accessWhitelistApplicationUpdate(requestParameters.id, requestParameters.accessWhitelistApplicationUpdateVo, options).then((request) => request(axios, basePath));
|
|
2062
|
+
},
|
|
962
2063
|
/**
|
|
963
2064
|
*
|
|
964
2065
|
* @summary 添加入园条款
|
|
@@ -1039,6 +2140,72 @@ exports.AccessApiFactory = AccessApiFactory;
|
|
|
1039
2140
|
* @extends {BaseAPI}
|
|
1040
2141
|
*/
|
|
1041
2142
|
class AccessApi extends base_1.BaseAPI {
|
|
2143
|
+
/**
|
|
2144
|
+
* 添加黑名单信息
|
|
2145
|
+
* @summary 添加黑名单
|
|
2146
|
+
* @param {AccessApiAccessBlacklistAddRequest} requestParameters Request parameters.
|
|
2147
|
+
* @param {*} [options] Override http request option.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
* @memberof AccessApi
|
|
2150
|
+
*/
|
|
2151
|
+
accessBlacklistAdd(requestParameters, options) {
|
|
2152
|
+
return (0, exports.AccessApiFp)(this.configuration).accessBlacklistAdd(requestParameters.accessBlacklistAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2153
|
+
}
|
|
2154
|
+
/**
|
|
2155
|
+
* 批量导出黑名单信息
|
|
2156
|
+
* @summary 批量导出黑名单
|
|
2157
|
+
* @param {AccessApiAccessBlacklistBatchExportRequest} requestParameters Request parameters.
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
2160
|
+
* @memberof AccessApi
|
|
2161
|
+
*/
|
|
2162
|
+
accessBlacklistBatchExport(requestParameters, options) {
|
|
2163
|
+
return (0, exports.AccessApiFp)(this.configuration).accessBlacklistBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.accessCompanyId, options).then((request) => request(this.axios, this.basePath));
|
|
2164
|
+
}
|
|
2165
|
+
/**
|
|
2166
|
+
* 删除黑名单信息
|
|
2167
|
+
* @summary 删除黑名单
|
|
2168
|
+
* @param {AccessApiAccessBlacklistDeleteRequest} requestParameters Request parameters.
|
|
2169
|
+
* @param {*} [options] Override http request option.
|
|
2170
|
+
* @throws {RequiredError}
|
|
2171
|
+
* @memberof AccessApi
|
|
2172
|
+
*/
|
|
2173
|
+
accessBlacklistDelete(requestParameters, options) {
|
|
2174
|
+
return (0, exports.AccessApiFp)(this.configuration).accessBlacklistDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2175
|
+
}
|
|
2176
|
+
/**
|
|
2177
|
+
* 获取指定ID的黑名单详情
|
|
2178
|
+
* @summary 获取黑名单详情
|
|
2179
|
+
* @param {AccessApiAccessBlacklistDetailsRequest} requestParameters Request parameters.
|
|
2180
|
+
* @param {*} [options] Override http request option.
|
|
2181
|
+
* @throws {RequiredError}
|
|
2182
|
+
* @memberof AccessApi
|
|
2183
|
+
*/
|
|
2184
|
+
accessBlacklistDetails(requestParameters, options) {
|
|
2185
|
+
return (0, exports.AccessApiFp)(this.configuration).accessBlacklistDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2186
|
+
}
|
|
2187
|
+
/**
|
|
2188
|
+
* 查询黑名单列表
|
|
2189
|
+
* @summary 查询黑名单列表
|
|
2190
|
+
* @param {AccessApiAccessBlacklistSelectListRequest} requestParameters Request parameters.
|
|
2191
|
+
* @param {*} [options] Override http request option.
|
|
2192
|
+
* @throws {RequiredError}
|
|
2193
|
+
* @memberof AccessApi
|
|
2194
|
+
*/
|
|
2195
|
+
accessBlacklistSelectList(requestParameters, options) {
|
|
2196
|
+
return (0, exports.AccessApiFp)(this.configuration).accessBlacklistSelectList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.accessCompanyId, options).then((request) => request(this.axios, this.basePath));
|
|
2197
|
+
}
|
|
2198
|
+
/**
|
|
2199
|
+
* 修改黑名单信息
|
|
2200
|
+
* @summary 修改黑名单
|
|
2201
|
+
* @param {AccessApiAccessBlacklistUpdateRequest} requestParameters Request parameters.
|
|
2202
|
+
* @param {*} [options] Override http request option.
|
|
2203
|
+
* @throws {RequiredError}
|
|
2204
|
+
* @memberof AccessApi
|
|
2205
|
+
*/
|
|
2206
|
+
accessBlacklistUpdate(requestParameters, options) {
|
|
2207
|
+
return (0, exports.AccessApiFp)(this.configuration).accessBlacklistUpdate(requestParameters.id, requestParameters.accessBlacklistUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
2208
|
+
}
|
|
1042
2209
|
/**
|
|
1043
2210
|
*
|
|
1044
2211
|
* @summary 新增出入访问公司
|
|
@@ -1138,6 +2305,124 @@ class AccessApi extends base_1.BaseAPI {
|
|
|
1138
2305
|
accessConfigUpdate(requestParameters, options) {
|
|
1139
2306
|
return (0, exports.AccessApiFp)(this.configuration).accessConfigUpdate(requestParameters.parkId, requestParameters.accessConfigVo, options).then((request) => request(this.axios, this.basePath));
|
|
1140
2307
|
}
|
|
2308
|
+
/**
|
|
2309
|
+
*
|
|
2310
|
+
* @summary 新增出入白名单申请
|
|
2311
|
+
* @param {AccessApiAccessWhitelistApplicationAddRequest} requestParameters Request parameters.
|
|
2312
|
+
* @param {*} [options] Override http request option.
|
|
2313
|
+
* @throws {RequiredError}
|
|
2314
|
+
* @memberof AccessApi
|
|
2315
|
+
*/
|
|
2316
|
+
accessWhitelistApplicationAdd(requestParameters, options) {
|
|
2317
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationAdd(requestParameters.accessWhitelistApplicationAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
*
|
|
2321
|
+
* @summary 审批出入白名单申请
|
|
2322
|
+
* @param {AccessApiAccessWhitelistApplicationApprovalRequest} requestParameters Request parameters.
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
* @memberof AccessApi
|
|
2326
|
+
*/
|
|
2327
|
+
accessWhitelistApplicationApproval(requestParameters, options) {
|
|
2328
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationApproval(requestParameters.id, requestParameters.accessWhitelistApplicationApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
2329
|
+
}
|
|
2330
|
+
/**
|
|
2331
|
+
*
|
|
2332
|
+
* @summary 出入白名单申请-导出
|
|
2333
|
+
* @param {AccessApiAccessWhitelistApplicationBatchExportRequest} requestParameters Request parameters.
|
|
2334
|
+
* @param {*} [options] Override http request option.
|
|
2335
|
+
* @throws {RequiredError}
|
|
2336
|
+
* @memberof AccessApi
|
|
2337
|
+
*/
|
|
2338
|
+
accessWhitelistApplicationBatchExport(requestParameters, options) {
|
|
2339
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.accessCompanyId, requestParameters.accessVisitorPersonType, requestParameters.applicationStatus, options).then((request) => request(this.axios, this.basePath));
|
|
2340
|
+
}
|
|
2341
|
+
/**
|
|
2342
|
+
*
|
|
2343
|
+
* @summary 出入白名单申请-确认导入
|
|
2344
|
+
* @param {*} [options] Override http request option.
|
|
2345
|
+
* @throws {RequiredError}
|
|
2346
|
+
* @memberof AccessApi
|
|
2347
|
+
*/
|
|
2348
|
+
accessWhitelistApplicationBatchImportConfirm(options) {
|
|
2349
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
2350
|
+
}
|
|
2351
|
+
/**
|
|
2352
|
+
*
|
|
2353
|
+
* @summary 出入白名单申请-预览结果
|
|
2354
|
+
* @param {*} [options] Override http request option.
|
|
2355
|
+
* @throws {RequiredError}
|
|
2356
|
+
* @memberof AccessApi
|
|
2357
|
+
*/
|
|
2358
|
+
accessWhitelistApplicationBatchImportPreview(options) {
|
|
2359
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
2360
|
+
}
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @summary 出入白名单申请-模板
|
|
2364
|
+
* @param {*} [options] Override http request option.
|
|
2365
|
+
* @throws {RequiredError}
|
|
2366
|
+
* @memberof AccessApi
|
|
2367
|
+
*/
|
|
2368
|
+
accessWhitelistApplicationBatchImportTemplate(options) {
|
|
2369
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
*
|
|
2373
|
+
* @summary 出入白名单申请-上传文件
|
|
2374
|
+
* @param {AccessApiAccessWhitelistApplicationBatchImportUploadRequest} requestParameters Request parameters.
|
|
2375
|
+
* @param {*} [options] Override http request option.
|
|
2376
|
+
* @throws {RequiredError}
|
|
2377
|
+
* @memberof AccessApi
|
|
2378
|
+
*/
|
|
2379
|
+
accessWhitelistApplicationBatchImportUpload(requestParameters, options) {
|
|
2380
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
2381
|
+
}
|
|
2382
|
+
/**
|
|
2383
|
+
*
|
|
2384
|
+
* @summary 删除出入白名单申请
|
|
2385
|
+
* @param {AccessApiAccessWhitelistApplicationDeleteRequest} requestParameters Request parameters.
|
|
2386
|
+
* @param {*} [options] Override http request option.
|
|
2387
|
+
* @throws {RequiredError}
|
|
2388
|
+
* @memberof AccessApi
|
|
2389
|
+
*/
|
|
2390
|
+
accessWhitelistApplicationDelete(requestParameters, options) {
|
|
2391
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2392
|
+
}
|
|
2393
|
+
/**
|
|
2394
|
+
*
|
|
2395
|
+
* @summary 获取出入白名单申请详情
|
|
2396
|
+
* @param {AccessApiAccessWhitelistApplicationDetailsRequest} requestParameters Request parameters.
|
|
2397
|
+
* @param {*} [options] Override http request option.
|
|
2398
|
+
* @throws {RequiredError}
|
|
2399
|
+
* @memberof AccessApi
|
|
2400
|
+
*/
|
|
2401
|
+
accessWhitelistApplicationDetails(requestParameters, options) {
|
|
2402
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2403
|
+
}
|
|
2404
|
+
/**
|
|
2405
|
+
*
|
|
2406
|
+
* @summary 获取出入白名单申请列表
|
|
2407
|
+
* @param {AccessApiAccessWhitelistApplicationListRequest} requestParameters Request parameters.
|
|
2408
|
+
* @param {*} [options] Override http request option.
|
|
2409
|
+
* @throws {RequiredError}
|
|
2410
|
+
* @memberof AccessApi
|
|
2411
|
+
*/
|
|
2412
|
+
accessWhitelistApplicationList(requestParameters, options) {
|
|
2413
|
+
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));
|
|
2414
|
+
}
|
|
2415
|
+
/**
|
|
2416
|
+
*
|
|
2417
|
+
* @summary 修改出入白名单申请
|
|
2418
|
+
* @param {AccessApiAccessWhitelistApplicationUpdateRequest} requestParameters Request parameters.
|
|
2419
|
+
* @param {*} [options] Override http request option.
|
|
2420
|
+
* @throws {RequiredError}
|
|
2421
|
+
* @memberof AccessApi
|
|
2422
|
+
*/
|
|
2423
|
+
accessWhitelistApplicationUpdate(requestParameters, options) {
|
|
2424
|
+
return (0, exports.AccessApiFp)(this.configuration).accessWhitelistApplicationUpdate(requestParameters.id, requestParameters.accessWhitelistApplicationUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
2425
|
+
}
|
|
1141
2426
|
/**
|
|
1142
2427
|
*
|
|
1143
2428
|
* @summary 添加入园条款
|