@gizone/rrs-client 4.2.0-alpha.284 → 4.2.0-alpha.286
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 +13 -0
- package/apis/access-api.ts +581 -0
- package/apis/common-api.ts +88 -0
- package/dist/apis/access-api.d.ts +306 -0
- package/dist/apis/access-api.js +435 -0
- package/dist/apis/common-api.d.ts +43 -0
- package/dist/apis/common-api.js +67 -0
- package/dist/esm/apis/access-api.d.ts +306 -0
- package/dist/esm/apis/access-api.js +435 -0
- package/dist/esm/apis/common-api.d.ts +43 -0
- package/dist/esm/apis/common-api.js +67 -0
- package/dist/esm/models/access-approval-config-enum.d.ts +21 -0
- package/dist/esm/models/access-approval-config-enum.js +22 -0
- package/dist/esm/models/access-approval-config-vo-reminder.d.ts +36 -0
- package/dist/esm/models/access-approval-config-vo-reminder.js +14 -0
- package/dist/esm/models/access-approval-config-vo.d.ts +50 -0
- package/dist/esm/models/access-approval-config-vo.js +14 -0
- package/dist/esm/models/access-company-config-add-or-update-vo.d.ts +36 -0
- package/dist/esm/models/access-company-config-add-or-update-vo.js +14 -0
- package/dist/esm/models/access-company-config-entity.d.ts +67 -0
- package/dist/esm/models/access-company-config-entity.js +14 -0
- package/dist/esm/models/access-config-entity.d.ts +49 -0
- package/dist/esm/models/access-config-entity.js +14 -0
- package/dist/esm/models/access-config-vo.d.ts +25 -0
- package/dist/esm/models/access-config-vo.js +14 -0
- package/dist/esm/models/access-visitor-person-type-config-vo.d.ts +31 -0
- package/dist/esm/models/access-visitor-person-type-config-vo.js +14 -0
- package/dist/esm/models/access-visitor-person-type-enum.d.ts +26 -0
- package/dist/esm/models/access-visitor-person-type-enum.js +27 -0
- package/dist/esm/models/address-region-entity.d.ts +42 -0
- package/dist/esm/models/address-region-entity.js +14 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/models/json-result-access-config-entity.d.ts +62 -0
- package/dist/esm/models/json-result-access-config-entity.js +14 -0
- package/dist/esm/models/json-result-list-access-company-config-entity.d.ts +62 -0
- package/dist/esm/models/json-result-list-access-company-config-entity.js +14 -0
- package/dist/esm/models/json-result-list-address-region-entity.d.ts +62 -0
- package/dist/esm/models/json-result-list-address-region-entity.js +14 -0
- package/dist/models/access-approval-config-enum.d.ts +21 -0
- package/dist/models/access-approval-config-enum.js +25 -0
- package/dist/models/access-approval-config-vo-reminder.d.ts +36 -0
- package/dist/models/access-approval-config-vo-reminder.js +15 -0
- package/dist/models/access-approval-config-vo.d.ts +50 -0
- package/dist/models/access-approval-config-vo.js +15 -0
- package/dist/models/access-company-config-add-or-update-vo.d.ts +36 -0
- package/dist/models/access-company-config-add-or-update-vo.js +15 -0
- package/dist/models/access-company-config-entity.d.ts +67 -0
- package/dist/models/access-company-config-entity.js +15 -0
- package/dist/models/access-config-entity.d.ts +49 -0
- package/dist/models/access-config-entity.js +15 -0
- package/dist/models/access-config-vo.d.ts +25 -0
- package/dist/models/access-config-vo.js +15 -0
- package/dist/models/access-visitor-person-type-config-vo.d.ts +31 -0
- package/dist/models/access-visitor-person-type-config-vo.js +15 -0
- package/dist/models/access-visitor-person-type-enum.d.ts +26 -0
- package/dist/models/access-visitor-person-type-enum.js +30 -0
- package/dist/models/address-region-entity.d.ts +42 -0
- package/dist/models/address-region-entity.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/json-result-access-config-entity.d.ts +62 -0
- package/dist/models/json-result-access-config-entity.js +15 -0
- package/dist/models/json-result-list-access-company-config-entity.d.ts +62 -0
- package/dist/models/json-result-list-access-company-config-entity.js +15 -0
- package/dist/models/json-result-list-address-region-entity.d.ts +62 -0
- package/dist/models/json-result-list-address-region-entity.js +15 -0
- package/models/access-approval-config-enum.ts +31 -0
- package/models/access-approval-config-vo-reminder.ts +42 -0
- package/models/access-approval-config-vo.ts +62 -0
- package/models/access-company-config-add-or-update-vo.ts +42 -0
- package/models/access-company-config-entity.ts +75 -0
- package/models/access-config-entity.ts +57 -0
- package/models/access-config-vo.ts +33 -0
- package/models/access-visitor-person-type-config-vo.ts +41 -0
- package/models/access-visitor-person-type-enum.ts +36 -0
- package/models/address-region-entity.ts +48 -0
- package/models/index.ts +13 -0
- package/models/json-result-access-config-entity.ts +72 -0
- package/models/json-result-list-access-company-config-entity.ts +72 -0
- package/models/json-result-list-address-region-entity.ts +72 -0
- package/package.json +1 -1
|
@@ -32,6 +32,216 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const AccessApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 新增出入访问公司
|
|
38
|
+
* @param {AccessCompanyConfigAddOrUpdateVo} accessCompanyConfigAddOrUpdateVo
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
accessCompanyConfigAdd: (accessCompanyConfigAddOrUpdateVo_1, ...args_1) => __awaiter(this, [accessCompanyConfigAddOrUpdateVo_1, ...args_1], void 0, function* (accessCompanyConfigAddOrUpdateVo, options = {}) {
|
|
43
|
+
// verify required parameter 'accessCompanyConfigAddOrUpdateVo' is not null or undefined
|
|
44
|
+
assertParamExists('accessCompanyConfigAdd', 'accessCompanyConfigAddOrUpdateVo', accessCompanyConfigAddOrUpdateVo);
|
|
45
|
+
const localVarPath = `/access/company-config`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessCompanyConfigAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 查询出入访问公司列表
|
|
71
|
+
* @param {number} parkId 园区ID
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
accessCompanyConfigSelectList: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
76
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
77
|
+
assertParamExists('accessCompanyConfigSelectList', 'parkId', parkId);
|
|
78
|
+
const localVarPath = `/access/company-config`;
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
if (configuration) {
|
|
83
|
+
baseOptions = configuration.baseOptions;
|
|
84
|
+
}
|
|
85
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
86
|
+
const localVarHeaderParameter = {};
|
|
87
|
+
const localVarQueryParameter = {};
|
|
88
|
+
// authentication tokenScheme required
|
|
89
|
+
// http bearer authentication required
|
|
90
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
91
|
+
if (parkId !== undefined) {
|
|
92
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
93
|
+
}
|
|
94
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
97
|
+
return {
|
|
98
|
+
url: toPathString(localVarUrlObj),
|
|
99
|
+
options: localVarRequestOptions,
|
|
100
|
+
};
|
|
101
|
+
}),
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @summary 编辑出入访问公司
|
|
105
|
+
* @param {number} id
|
|
106
|
+
* @param {AccessCompanyConfigAddOrUpdateVo} accessCompanyConfigAddOrUpdateVo
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
accessCompanyConfigUpdate: (id_1, accessCompanyConfigAddOrUpdateVo_1, ...args_1) => __awaiter(this, [id_1, accessCompanyConfigAddOrUpdateVo_1, ...args_1], void 0, function* (id, accessCompanyConfigAddOrUpdateVo, options = {}) {
|
|
111
|
+
// verify required parameter 'id' is not null or undefined
|
|
112
|
+
assertParamExists('accessCompanyConfigUpdate', 'id', id);
|
|
113
|
+
// verify required parameter 'accessCompanyConfigAddOrUpdateVo' is not null or undefined
|
|
114
|
+
assertParamExists('accessCompanyConfigUpdate', 'accessCompanyConfigAddOrUpdateVo', accessCompanyConfigAddOrUpdateVo);
|
|
115
|
+
const localVarPath = `/access/company-config/{id}`
|
|
116
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
117
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
119
|
+
let baseOptions;
|
|
120
|
+
if (configuration) {
|
|
121
|
+
baseOptions = configuration.baseOptions;
|
|
122
|
+
}
|
|
123
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
124
|
+
const localVarHeaderParameter = {};
|
|
125
|
+
const localVarQueryParameter = {};
|
|
126
|
+
// authentication tokenScheme required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
129
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
133
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessCompanyConfigAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
134
|
+
return {
|
|
135
|
+
url: toPathString(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
}),
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @summary 编辑出入访问公司人员类型
|
|
142
|
+
* @param {number} id
|
|
143
|
+
* @param {Array<AccessVisitorPersonTypeConfigVo>} accessVisitorPersonTypeConfigVo
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
accessCompanyVisitorPersonTypeConfigsUpdate: (id_1, accessVisitorPersonTypeConfigVo_1, ...args_1) => __awaiter(this, [id_1, accessVisitorPersonTypeConfigVo_1, ...args_1], void 0, function* (id, accessVisitorPersonTypeConfigVo, options = {}) {
|
|
148
|
+
// verify required parameter 'id' is not null or undefined
|
|
149
|
+
assertParamExists('accessCompanyVisitorPersonTypeConfigsUpdate', 'id', id);
|
|
150
|
+
// verify required parameter 'accessVisitorPersonTypeConfigVo' is not null or undefined
|
|
151
|
+
assertParamExists('accessCompanyVisitorPersonTypeConfigsUpdate', 'accessVisitorPersonTypeConfigVo', accessVisitorPersonTypeConfigVo);
|
|
152
|
+
const localVarPath = `/access/company-config/{id}/visitorPersonType`
|
|
153
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
156
|
+
let baseOptions;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
}
|
|
160
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
161
|
+
const localVarHeaderParameter = {};
|
|
162
|
+
const localVarQueryParameter = {};
|
|
163
|
+
// authentication tokenScheme required
|
|
164
|
+
// http bearer authentication required
|
|
165
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
170
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessVisitorPersonTypeConfigVo, localVarRequestOptions, configuration);
|
|
171
|
+
return {
|
|
172
|
+
url: toPathString(localVarUrlObj),
|
|
173
|
+
options: localVarRequestOptions,
|
|
174
|
+
};
|
|
175
|
+
}),
|
|
176
|
+
/**
|
|
177
|
+
* 根据园区ID查询出入配置
|
|
178
|
+
* @summary 查询出入配置
|
|
179
|
+
* @param {number} parkId
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
accessConfigSelectById: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
184
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
185
|
+
assertParamExists('accessConfigSelectById', 'parkId', parkId);
|
|
186
|
+
const localVarPath = `/access/config/{parkId}`
|
|
187
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
190
|
+
let baseOptions;
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
}
|
|
194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
195
|
+
const localVarHeaderParameter = {};
|
|
196
|
+
const localVarQueryParameter = {};
|
|
197
|
+
// authentication tokenScheme required
|
|
198
|
+
// http bearer authentication required
|
|
199
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
202
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
203
|
+
return {
|
|
204
|
+
url: toPathString(localVarUrlObj),
|
|
205
|
+
options: localVarRequestOptions,
|
|
206
|
+
};
|
|
207
|
+
}),
|
|
208
|
+
/**
|
|
209
|
+
* 根据园区ID更新出入配置
|
|
210
|
+
* @summary 更新出入配置
|
|
211
|
+
* @param {number} parkId
|
|
212
|
+
* @param {AccessConfigVo} accessConfigVo
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
accessConfigUpdate: (parkId_1, accessConfigVo_1, ...args_1) => __awaiter(this, [parkId_1, accessConfigVo_1, ...args_1], void 0, function* (parkId, accessConfigVo, options = {}) {
|
|
217
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
218
|
+
assertParamExists('accessConfigUpdate', 'parkId', parkId);
|
|
219
|
+
// verify required parameter 'accessConfigVo' is not null or undefined
|
|
220
|
+
assertParamExists('accessConfigUpdate', 'accessConfigVo', accessConfigVo);
|
|
221
|
+
const localVarPath = `/access/config/{parkId}`
|
|
222
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
225
|
+
let baseOptions;
|
|
226
|
+
if (configuration) {
|
|
227
|
+
baseOptions = configuration.baseOptions;
|
|
228
|
+
}
|
|
229
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
230
|
+
const localVarHeaderParameter = {};
|
|
231
|
+
const localVarQueryParameter = {};
|
|
232
|
+
// authentication tokenScheme required
|
|
233
|
+
// http bearer authentication required
|
|
234
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
235
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
236
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
237
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
238
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
239
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessConfigVo, localVarRequestOptions, configuration);
|
|
240
|
+
return {
|
|
241
|
+
url: toPathString(localVarUrlObj),
|
|
242
|
+
options: localVarRequestOptions,
|
|
243
|
+
};
|
|
244
|
+
}),
|
|
35
245
|
/**
|
|
36
246
|
*
|
|
37
247
|
* @summary 添加入园条款
|
|
@@ -286,6 +496,105 @@ export const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
286
496
|
export const AccessApiFp = function (configuration) {
|
|
287
497
|
const localVarAxiosParamCreator = AccessApiAxiosParamCreator(configuration);
|
|
288
498
|
return {
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @summary 新增出入访问公司
|
|
502
|
+
* @param {AccessCompanyConfigAddOrUpdateVo} accessCompanyConfigAddOrUpdateVo
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
accessCompanyConfigAdd(accessCompanyConfigAddOrUpdateVo, options) {
|
|
507
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
508
|
+
var _a, _b, _c;
|
|
509
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigAdd(accessCompanyConfigAddOrUpdateVo, options);
|
|
510
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
511
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessCompanyConfigAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
512
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
513
|
+
});
|
|
514
|
+
},
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @summary 查询出入访问公司列表
|
|
518
|
+
* @param {number} parkId 园区ID
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
accessCompanyConfigSelectList(parkId, options) {
|
|
523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
524
|
+
var _a, _b, _c;
|
|
525
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigSelectList(parkId, options);
|
|
526
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
527
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessCompanyConfigSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
529
|
+
});
|
|
530
|
+
},
|
|
531
|
+
/**
|
|
532
|
+
*
|
|
533
|
+
* @summary 编辑出入访问公司
|
|
534
|
+
* @param {number} id
|
|
535
|
+
* @param {AccessCompanyConfigAddOrUpdateVo} accessCompanyConfigAddOrUpdateVo
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
*/
|
|
539
|
+
accessCompanyConfigUpdate(id, accessCompanyConfigAddOrUpdateVo, options) {
|
|
540
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
+
var _a, _b, _c;
|
|
542
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigUpdate(id, accessCompanyConfigAddOrUpdateVo, options);
|
|
543
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
544
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessCompanyConfigUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
546
|
+
});
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @summary 编辑出入访问公司人员类型
|
|
551
|
+
* @param {number} id
|
|
552
|
+
* @param {Array<AccessVisitorPersonTypeConfigVo>} accessVisitorPersonTypeConfigVo
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
accessCompanyVisitorPersonTypeConfigsUpdate(id, accessVisitorPersonTypeConfigVo, options) {
|
|
557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
558
|
+
var _a, _b, _c;
|
|
559
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyVisitorPersonTypeConfigsUpdate(id, accessVisitorPersonTypeConfigVo, options);
|
|
560
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
561
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessCompanyVisitorPersonTypeConfigsUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
563
|
+
});
|
|
564
|
+
},
|
|
565
|
+
/**
|
|
566
|
+
* 根据园区ID查询出入配置
|
|
567
|
+
* @summary 查询出入配置
|
|
568
|
+
* @param {number} parkId
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
accessConfigSelectById(parkId, options) {
|
|
573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
574
|
+
var _a, _b, _c;
|
|
575
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessConfigSelectById(parkId, options);
|
|
576
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
577
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessConfigSelectById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
578
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
579
|
+
});
|
|
580
|
+
},
|
|
581
|
+
/**
|
|
582
|
+
* 根据园区ID更新出入配置
|
|
583
|
+
* @summary 更新出入配置
|
|
584
|
+
* @param {number} parkId
|
|
585
|
+
* @param {AccessConfigVo} accessConfigVo
|
|
586
|
+
* @param {*} [options] Override http request option.
|
|
587
|
+
* @throws {RequiredError}
|
|
588
|
+
*/
|
|
589
|
+
accessConfigUpdate(parkId, accessConfigVo, options) {
|
|
590
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
591
|
+
var _a, _b, _c;
|
|
592
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessConfigUpdate(parkId, accessConfigVo, options);
|
|
593
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
594
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessConfigUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
595
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
596
|
+
});
|
|
597
|
+
},
|
|
289
598
|
/**
|
|
290
599
|
*
|
|
291
600
|
* @summary 添加入园条款
|
|
@@ -410,6 +719,66 @@ export const AccessApiFp = function (configuration) {
|
|
|
410
719
|
export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
411
720
|
const localVarFp = AccessApiFp(configuration);
|
|
412
721
|
return {
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @summary 新增出入访问公司
|
|
725
|
+
* @param {AccessApiAccessCompanyConfigAddRequest} requestParameters Request parameters.
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
accessCompanyConfigAdd(requestParameters, options) {
|
|
730
|
+
return localVarFp.accessCompanyConfigAdd(requestParameters.accessCompanyConfigAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
731
|
+
},
|
|
732
|
+
/**
|
|
733
|
+
*
|
|
734
|
+
* @summary 查询出入访问公司列表
|
|
735
|
+
* @param {AccessApiAccessCompanyConfigSelectListRequest} requestParameters Request parameters.
|
|
736
|
+
* @param {*} [options] Override http request option.
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
*/
|
|
739
|
+
accessCompanyConfigSelectList(requestParameters, options) {
|
|
740
|
+
return localVarFp.accessCompanyConfigSelectList(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
741
|
+
},
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @summary 编辑出入访问公司
|
|
745
|
+
* @param {AccessApiAccessCompanyConfigUpdateRequest} requestParameters Request parameters.
|
|
746
|
+
* @param {*} [options] Override http request option.
|
|
747
|
+
* @throws {RequiredError}
|
|
748
|
+
*/
|
|
749
|
+
accessCompanyConfigUpdate(requestParameters, options) {
|
|
750
|
+
return localVarFp.accessCompanyConfigUpdate(requestParameters.id, requestParameters.accessCompanyConfigAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
751
|
+
},
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @summary 编辑出入访问公司人员类型
|
|
755
|
+
* @param {AccessApiAccessCompanyVisitorPersonTypeConfigsUpdateRequest} requestParameters Request parameters.
|
|
756
|
+
* @param {*} [options] Override http request option.
|
|
757
|
+
* @throws {RequiredError}
|
|
758
|
+
*/
|
|
759
|
+
accessCompanyVisitorPersonTypeConfigsUpdate(requestParameters, options) {
|
|
760
|
+
return localVarFp.accessCompanyVisitorPersonTypeConfigsUpdate(requestParameters.id, requestParameters.accessVisitorPersonTypeConfigVo, options).then((request) => request(axios, basePath));
|
|
761
|
+
},
|
|
762
|
+
/**
|
|
763
|
+
* 根据园区ID查询出入配置
|
|
764
|
+
* @summary 查询出入配置
|
|
765
|
+
* @param {AccessApiAccessConfigSelectByIdRequest} requestParameters Request parameters.
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
*/
|
|
769
|
+
accessConfigSelectById(requestParameters, options) {
|
|
770
|
+
return localVarFp.accessConfigSelectById(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
771
|
+
},
|
|
772
|
+
/**
|
|
773
|
+
* 根据园区ID更新出入配置
|
|
774
|
+
* @summary 更新出入配置
|
|
775
|
+
* @param {AccessApiAccessConfigUpdateRequest} requestParameters Request parameters.
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
*/
|
|
779
|
+
accessConfigUpdate(requestParameters, options) {
|
|
780
|
+
return localVarFp.accessConfigUpdate(requestParameters.parkId, requestParameters.accessConfigVo, options).then((request) => request(axios, basePath));
|
|
781
|
+
},
|
|
413
782
|
/**
|
|
414
783
|
*
|
|
415
784
|
* @summary 添加入园条款
|
|
@@ -489,6 +858,72 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
489
858
|
* @extends {BaseAPI}
|
|
490
859
|
*/
|
|
491
860
|
export class AccessApi extends BaseAPI {
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @summary 新增出入访问公司
|
|
864
|
+
* @param {AccessApiAccessCompanyConfigAddRequest} requestParameters Request parameters.
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
* @memberof AccessApi
|
|
868
|
+
*/
|
|
869
|
+
accessCompanyConfigAdd(requestParameters, options) {
|
|
870
|
+
return AccessApiFp(this.configuration).accessCompanyConfigAdd(requestParameters.accessCompanyConfigAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
*
|
|
874
|
+
* @summary 查询出入访问公司列表
|
|
875
|
+
* @param {AccessApiAccessCompanyConfigSelectListRequest} requestParameters Request parameters.
|
|
876
|
+
* @param {*} [options] Override http request option.
|
|
877
|
+
* @throws {RequiredError}
|
|
878
|
+
* @memberof AccessApi
|
|
879
|
+
*/
|
|
880
|
+
accessCompanyConfigSelectList(requestParameters, options) {
|
|
881
|
+
return AccessApiFp(this.configuration).accessCompanyConfigSelectList(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @summary 编辑出入访问公司
|
|
886
|
+
* @param {AccessApiAccessCompanyConfigUpdateRequest} requestParameters Request parameters.
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
* @memberof AccessApi
|
|
890
|
+
*/
|
|
891
|
+
accessCompanyConfigUpdate(requestParameters, options) {
|
|
892
|
+
return AccessApiFp(this.configuration).accessCompanyConfigUpdate(requestParameters.id, requestParameters.accessCompanyConfigAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @summary 编辑出入访问公司人员类型
|
|
897
|
+
* @param {AccessApiAccessCompanyVisitorPersonTypeConfigsUpdateRequest} requestParameters Request parameters.
|
|
898
|
+
* @param {*} [options] Override http request option.
|
|
899
|
+
* @throws {RequiredError}
|
|
900
|
+
* @memberof AccessApi
|
|
901
|
+
*/
|
|
902
|
+
accessCompanyVisitorPersonTypeConfigsUpdate(requestParameters, options) {
|
|
903
|
+
return AccessApiFp(this.configuration).accessCompanyVisitorPersonTypeConfigsUpdate(requestParameters.id, requestParameters.accessVisitorPersonTypeConfigVo, options).then((request) => request(this.axios, this.basePath));
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* 根据园区ID查询出入配置
|
|
907
|
+
* @summary 查询出入配置
|
|
908
|
+
* @param {AccessApiAccessConfigSelectByIdRequest} requestParameters Request parameters.
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @throws {RequiredError}
|
|
911
|
+
* @memberof AccessApi
|
|
912
|
+
*/
|
|
913
|
+
accessConfigSelectById(requestParameters, options) {
|
|
914
|
+
return AccessApiFp(this.configuration).accessConfigSelectById(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* 根据园区ID更新出入配置
|
|
918
|
+
* @summary 更新出入配置
|
|
919
|
+
* @param {AccessApiAccessConfigUpdateRequest} requestParameters Request parameters.
|
|
920
|
+
* @param {*} [options] Override http request option.
|
|
921
|
+
* @throws {RequiredError}
|
|
922
|
+
* @memberof AccessApi
|
|
923
|
+
*/
|
|
924
|
+
accessConfigUpdate(requestParameters, options) {
|
|
925
|
+
return AccessApiFp(this.configuration).accessConfigUpdate(requestParameters.parkId, requestParameters.accessConfigVo, options).then((request) => request(this.axios, this.basePath));
|
|
926
|
+
}
|
|
492
927
|
/**
|
|
493
928
|
*
|
|
494
929
|
* @summary 添加入园条款
|
|
@@ -14,6 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { JsonResult } from '../models';
|
|
16
16
|
import type { JsonResultFileDTO } from '../models';
|
|
17
|
+
import type { JsonResultListAddressRegionEntity } from '../models';
|
|
17
18
|
import type { JsonResultListCenterListDTO } from '../models';
|
|
18
19
|
import type { JsonResultListParkListDTO } from '../models';
|
|
19
20
|
import type { JsonResultListSysDept } from '../models';
|
|
@@ -38,6 +39,13 @@ import type { UserBatchImportUploadRequest } from '../models';
|
|
|
38
39
|
* @export
|
|
39
40
|
*/
|
|
40
41
|
export declare const CommonApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {number} pid
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
addressRegionList: (pid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
49
|
/**
|
|
42
50
|
*
|
|
43
51
|
* @summary 删除文件
|
|
@@ -365,6 +373,13 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
365
373
|
* @export
|
|
366
374
|
*/
|
|
367
375
|
export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @param {number} pid
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
addressRegionList(pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListAddressRegionEntity>>;
|
|
368
383
|
/**
|
|
369
384
|
*
|
|
370
385
|
* @summary 删除文件
|
|
@@ -734,6 +749,13 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
|
734
749
|
* @export
|
|
735
750
|
*/
|
|
736
751
|
export declare const CommonApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
|
|
755
|
+
* @param {*} [options] Override http request option.
|
|
756
|
+
* @throws {RequiredError}
|
|
757
|
+
*/
|
|
758
|
+
addressRegionList(requestParameters: CommonApiAddressRegionListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListAddressRegionEntity>;
|
|
737
759
|
/**
|
|
738
760
|
*
|
|
739
761
|
* @summary 删除文件
|
|
@@ -1093,6 +1115,19 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
|
|
|
1093
1115
|
*/
|
|
1094
1116
|
uploadPrivacy(requestParameters?: CommonApiUploadPrivacyRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
1095
1117
|
};
|
|
1118
|
+
/**
|
|
1119
|
+
* Request parameters for addressRegionList operation in CommonApi.
|
|
1120
|
+
* @export
|
|
1121
|
+
* @interface CommonApiAddressRegionListRequest
|
|
1122
|
+
*/
|
|
1123
|
+
export interface CommonApiAddressRegionListRequest {
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {number}
|
|
1127
|
+
* @memberof CommonApiAddressRegionList
|
|
1128
|
+
*/
|
|
1129
|
+
readonly pid: number;
|
|
1130
|
+
}
|
|
1096
1131
|
/**
|
|
1097
1132
|
* Request parameters for commonDeleteFile operation in CommonApi.
|
|
1098
1133
|
* @export
|
|
@@ -1650,6 +1685,14 @@ export interface CommonApiUploadPrivacyRequest {
|
|
|
1650
1685
|
* @extends {BaseAPI}
|
|
1651
1686
|
*/
|
|
1652
1687
|
export declare class CommonApi extends BaseAPI {
|
|
1688
|
+
/**
|
|
1689
|
+
*
|
|
1690
|
+
* @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
|
|
1691
|
+
* @param {*} [options] Override http request option.
|
|
1692
|
+
* @throws {RequiredError}
|
|
1693
|
+
* @memberof CommonApi
|
|
1694
|
+
*/
|
|
1695
|
+
addressRegionList(requestParameters: CommonApiAddressRegionListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListAddressRegionEntity, any>>;
|
|
1653
1696
|
/**
|
|
1654
1697
|
*
|
|
1655
1698
|
* @summary 删除文件
|
|
@@ -32,6 +32,39 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const CommonApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param {number} pid
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
addressRegionList: (pid_1, ...args_1) => __awaiter(this, [pid_1, ...args_1], void 0, function* (pid, options = {}) {
|
|
42
|
+
// verify required parameter 'pid' is not null or undefined
|
|
43
|
+
assertParamExists('addressRegionList', 'pid', pid);
|
|
44
|
+
const localVarPath = `/address/list`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication tokenScheme required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
57
|
+
if (pid !== undefined) {
|
|
58
|
+
localVarQueryParameter['pid'] = pid;
|
|
59
|
+
}
|
|
60
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
35
68
|
/**
|
|
36
69
|
*
|
|
37
70
|
* @summary 删除文件
|
|
@@ -1464,6 +1497,21 @@ export const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1464
1497
|
export const CommonApiFp = function (configuration) {
|
|
1465
1498
|
const localVarAxiosParamCreator = CommonApiAxiosParamCreator(configuration);
|
|
1466
1499
|
return {
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @param {number} pid
|
|
1503
|
+
* @param {*} [options] Override http request option.
|
|
1504
|
+
* @throws {RequiredError}
|
|
1505
|
+
*/
|
|
1506
|
+
addressRegionList(pid, options) {
|
|
1507
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1508
|
+
var _a, _b, _c;
|
|
1509
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addressRegionList(pid, options);
|
|
1510
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1511
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.addressRegionList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1512
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1513
|
+
});
|
|
1514
|
+
},
|
|
1467
1515
|
/**
|
|
1468
1516
|
*
|
|
1469
1517
|
* @summary 删除文件
|
|
@@ -2138,6 +2186,15 @@ export const CommonApiFp = function (configuration) {
|
|
|
2138
2186
|
export const CommonApiFactory = function (configuration, basePath, axios) {
|
|
2139
2187
|
const localVarFp = CommonApiFp(configuration);
|
|
2140
2188
|
return {
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
|
|
2192
|
+
* @param {*} [options] Override http request option.
|
|
2193
|
+
* @throws {RequiredError}
|
|
2194
|
+
*/
|
|
2195
|
+
addressRegionList(requestParameters, options) {
|
|
2196
|
+
return localVarFp.addressRegionList(requestParameters.pid, options).then((request) => request(axios, basePath));
|
|
2197
|
+
},
|
|
2141
2198
|
/**
|
|
2142
2199
|
*
|
|
2143
2200
|
* @summary 删除文件
|
|
@@ -2549,6 +2606,16 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
|
|
|
2549
2606
|
* @extends {BaseAPI}
|
|
2550
2607
|
*/
|
|
2551
2608
|
export class CommonApi extends BaseAPI {
|
|
2609
|
+
/**
|
|
2610
|
+
*
|
|
2611
|
+
* @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
|
|
2612
|
+
* @param {*} [options] Override http request option.
|
|
2613
|
+
* @throws {RequiredError}
|
|
2614
|
+
* @memberof CommonApi
|
|
2615
|
+
*/
|
|
2616
|
+
addressRegionList(requestParameters, options) {
|
|
2617
|
+
return CommonApiFp(this.configuration).addressRegionList(requestParameters.pid, options).then((request) => request(this.axios, this.basePath));
|
|
2618
|
+
}
|
|
2552
2619
|
/**
|
|
2553
2620
|
*
|
|
2554
2621
|
* @summary 删除文件
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 出入审批配置
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const AccessApprovalConfigEnum: {
|
|
18
|
+
readonly WhiteListApply: "WHITE_LIST_APPLY";
|
|
19
|
+
readonly VisitorReservation: "VISITOR_RESERVATION";
|
|
20
|
+
};
|
|
21
|
+
export type AccessApprovalConfigEnum = typeof AccessApprovalConfigEnum[keyof typeof AccessApprovalConfigEnum];
|