@gizone/rrs-client 4.2.0-alpha.294 → 4.2.0-alpha.297
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 +19 -0
- package/apis/access-api.ts +595 -0
- package/apis/open-api-api.ts +93 -0
- package/dist/apis/access-api.d.ts +318 -0
- package/dist/apis/access-api.js +407 -0
- package/dist/apis/open-api-api.d.ts +48 -0
- package/dist/apis/open-api-api.js +70 -0
- package/dist/esm/apis/access-api.d.ts +318 -0
- package/dist/esm/apis/access-api.js +407 -0
- package/dist/esm/apis/open-api-api.d.ts +48 -0
- package/dist/esm/apis/open-api-api.js +70 -0
- package/dist/esm/models/access-appointment-internal-status-enum.d.ts +21 -0
- package/dist/esm/models/access-appointment-internal-status-enum.js +22 -0
- package/dist/esm/models/access-appointment-record-add-vo.d.ts +128 -0
- package/dist/esm/models/access-appointment-record-add-vo.js +14 -0
- package/dist/esm/models/access-appointment-record-approval-vo.d.ts +30 -0
- package/dist/esm/models/access-appointment-record-approval-vo.js +14 -0
- package/dist/esm/models/access-appointment-record-details-dto.d.ts +178 -0
- package/dist/esm/models/access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/access-appointment-record-in-other-info-vo.d.ts +54 -0
- package/dist/esm/models/access-appointment-record-in-other-info-vo.js +14 -0
- package/dist/esm/models/access-appointment-record-out-other-info-vo.d.ts +30 -0
- package/dist/esm/models/access-appointment-record-out-other-info-vo.js +14 -0
- package/dist/esm/models/access-appointment-source-enum.d.ts +24 -0
- package/dist/esm/models/access-appointment-source-enum.js +25 -0
- package/dist/esm/models/access-appointment-status-enum.d.ts +25 -0
- package/dist/esm/models/access-appointment-status-enum.js +26 -0
- package/dist/esm/models/access-approval-config-enum.d.ts +1 -1
- package/dist/esm/models/access-approval-config-enum.js +1 -1
- package/dist/esm/models/access-direction-enum.d.ts +22 -0
- package/dist/esm/models/access-direction-enum.js +23 -0
- package/dist/esm/models/access-reason-enum.d.ts +26 -0
- package/dist/esm/models/access-reason-enum.js +27 -0
- package/dist/esm/models/access-whitelist-application-process-details-dto.d.ts +81 -0
- package/dist/esm/models/access-whitelist-application-process-details-dto.js +14 -0
- package/dist/esm/models/access-whitelist-application-process-details-user-info.d.ts +36 -0
- package/dist/esm/models/access-whitelist-application-process-details-user-info.js +14 -0
- package/dist/esm/models/access-whitelist-process-handler-status-enum.d.ts +21 -0
- package/dist/esm/models/access-whitelist-process-handler-status-enum.js +22 -0
- package/dist/esm/models/access-whitelist-process-type-enum.d.ts +23 -0
- package/dist/esm/models/access-whitelist-process-type-enum.js +24 -0
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/esm/models/json-result-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/json-result-list-access-whitelist-application-process-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-list-access-whitelist-application-process-details-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/open-api-access-appointment-record-add-vo.d.ts +120 -0
- package/dist/esm/models/open-api-access-appointment-record-add-vo.js +14 -0
- package/dist/esm/models/page-dto-access-appointment-record-details-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-access-appointment-record-details-dto.js +14 -0
- package/dist/esm/models/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/models/access-appointment-internal-status-enum.d.ts +21 -0
- package/dist/models/access-appointment-internal-status-enum.js +25 -0
- package/dist/models/access-appointment-record-add-vo.d.ts +128 -0
- package/dist/models/access-appointment-record-add-vo.js +15 -0
- package/dist/models/access-appointment-record-approval-vo.d.ts +30 -0
- package/dist/models/access-appointment-record-approval-vo.js +15 -0
- package/dist/models/access-appointment-record-details-dto.d.ts +178 -0
- package/dist/models/access-appointment-record-details-dto.js +15 -0
- package/dist/models/access-appointment-record-in-other-info-vo.d.ts +54 -0
- package/dist/models/access-appointment-record-in-other-info-vo.js +15 -0
- package/dist/models/access-appointment-record-out-other-info-vo.d.ts +30 -0
- package/dist/models/access-appointment-record-out-other-info-vo.js +15 -0
- package/dist/models/access-appointment-source-enum.d.ts +24 -0
- package/dist/models/access-appointment-source-enum.js +28 -0
- package/dist/models/access-appointment-status-enum.d.ts +25 -0
- package/dist/models/access-appointment-status-enum.js +29 -0
- package/dist/models/access-approval-config-enum.d.ts +1 -1
- package/dist/models/access-approval-config-enum.js +1 -1
- package/dist/models/access-direction-enum.d.ts +22 -0
- package/dist/models/access-direction-enum.js +26 -0
- package/dist/models/access-reason-enum.d.ts +26 -0
- package/dist/models/access-reason-enum.js +30 -0
- package/dist/models/access-whitelist-application-process-details-dto.d.ts +81 -0
- package/dist/models/access-whitelist-application-process-details-dto.js +15 -0
- package/dist/models/access-whitelist-application-process-details-user-info.d.ts +36 -0
- package/dist/models/access-whitelist-application-process-details-user-info.js +15 -0
- package/dist/models/access-whitelist-process-handler-status-enum.d.ts +21 -0
- package/dist/models/access-whitelist-process-handler-status-enum.js +25 -0
- package/dist/models/access-whitelist-process-type-enum.d.ts +23 -0
- package/dist/models/access-whitelist-process-type-enum.js +27 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/models/json-result-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/models/json-result-access-appointment-record-details-dto.js +15 -0
- package/dist/models/json-result-list-access-whitelist-application-process-details-dto.d.ts +62 -0
- package/dist/models/json-result-list-access-whitelist-application-process-details-dto.js +15 -0
- package/dist/models/json-result-page-dto-access-appointment-record-details-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-access-appointment-record-details-dto.js +15 -0
- package/dist/models/open-api-access-appointment-record-add-vo.d.ts +120 -0
- package/dist/models/open-api-access-appointment-record-add-vo.js +15 -0
- package/dist/models/page-dto-access-appointment-record-details-dto.d.ts +31 -0
- package/dist/models/page-dto-access-appointment-record-details-dto.js +15 -0
- package/dist/models/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/models/access-appointment-internal-status-enum.ts +31 -0
- package/models/access-appointment-record-add-vo.ts +152 -0
- package/models/access-appointment-record-approval-vo.ts +36 -0
- package/models/access-appointment-record-details-dto.ts +206 -0
- package/models/access-appointment-record-in-other-info-vo.ts +60 -0
- package/models/access-appointment-record-out-other-info-vo.ts +36 -0
- package/models/access-appointment-source-enum.ts +34 -0
- package/models/access-appointment-status-enum.ts +35 -0
- package/models/access-approval-config-enum.ts +1 -1
- package/models/access-direction-enum.ts +32 -0
- package/models/access-reason-enum.ts +36 -0
- package/models/access-whitelist-application-process-details-dto.ts +95 -0
- package/models/access-whitelist-application-process-details-user-info.ts +42 -0
- package/models/access-whitelist-process-handler-status-enum.ts +31 -0
- package/models/access-whitelist-process-type-enum.ts +33 -0
- package/models/index.ts +19 -0
- package/models/json-result-access-appointment-record-details-dto.ts +72 -0
- package/models/json-result-list-access-whitelist-application-process-details-dto.ts +72 -0
- package/models/json-result-page-dto-access-appointment-record-details-dto.ts +72 -0
- package/models/open-api-access-appointment-record-add-vo.ts +140 -0
- package/models/page-dto-access-appointment-record-details-dto.ts +39 -0
- package/models/system-user-msg-source-type-enum.ts +2 -1
- package/models/system-user-msg-type-enum.ts +2 -1
- package/package.json +1 -1
|
@@ -32,6 +32,186 @@ 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 {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
accessAppointmentRecordAdd: (accessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [accessAppointmentRecordAddVo_1, ...args_1], void 0, function* (accessAppointmentRecordAddVo, options = {}) {
|
|
43
|
+
// verify required parameter 'accessAppointmentRecordAddVo' is not null or undefined
|
|
44
|
+
assertParamExists('accessAppointmentRecordAdd', 'accessAppointmentRecordAddVo', accessAppointmentRecordAddVo);
|
|
45
|
+
const localVarPath = `/access/appointment-record`;
|
|
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(accessAppointmentRecordAddVo, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 审批出入预约记录
|
|
71
|
+
* @param {number} id
|
|
72
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
accessAppointmentRecordApproval: (id_1, accessAppointmentRecordApprovalVo_1, ...args_1) => __awaiter(this, [id_1, accessAppointmentRecordApprovalVo_1, ...args_1], void 0, function* (id, accessAppointmentRecordApprovalVo, options = {}) {
|
|
77
|
+
// verify required parameter 'id' is not null or undefined
|
|
78
|
+
assertParamExists('accessAppointmentRecordApproval', 'id', id);
|
|
79
|
+
// verify required parameter 'accessAppointmentRecordApprovalVo' is not null or undefined
|
|
80
|
+
assertParamExists('accessAppointmentRecordApproval', 'accessAppointmentRecordApprovalVo', accessAppointmentRecordApprovalVo);
|
|
81
|
+
const localVarPath = `/access/appointment-record/approval/{id}`
|
|
82
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
83
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
85
|
+
let baseOptions;
|
|
86
|
+
if (configuration) {
|
|
87
|
+
baseOptions = configuration.baseOptions;
|
|
88
|
+
}
|
|
89
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
90
|
+
const localVarHeaderParameter = {};
|
|
91
|
+
const localVarQueryParameter = {};
|
|
92
|
+
// authentication tokenScheme required
|
|
93
|
+
// http bearer authentication required
|
|
94
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
95
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
96
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
97
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
99
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessAppointmentRecordApprovalVo, localVarRequestOptions, configuration);
|
|
100
|
+
return {
|
|
101
|
+
url: toPathString(localVarUrlObj),
|
|
102
|
+
options: localVarRequestOptions,
|
|
103
|
+
};
|
|
104
|
+
}),
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @summary 获取出入预约记录详情
|
|
108
|
+
* @param {number} id
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
accessAppointmentRecordDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
113
|
+
// verify required parameter 'id' is not null or undefined
|
|
114
|
+
assertParamExists('accessAppointmentRecordDetails', 'id', id);
|
|
115
|
+
const localVarPath = `/access/appointment-record/{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: 'GET' }, baseOptions), options);
|
|
124
|
+
const localVarHeaderParameter = {};
|
|
125
|
+
const localVarQueryParameter = {};
|
|
126
|
+
// authentication tokenScheme required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
132
|
+
return {
|
|
133
|
+
url: toPathString(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary 查询出入预约记录列表
|
|
140
|
+
* @param {number} parkId 园区ID
|
|
141
|
+
* @param {number} page 页码
|
|
142
|
+
* @param {number} pageSize 每页数量
|
|
143
|
+
* @param {string} [searchValue] 搜索值
|
|
144
|
+
* @param {AccessAppointmentSourceEnum} [appointmentSource] 预约来源
|
|
145
|
+
* @param {AccessDirectionEnum} [accessDirection] 出入方向
|
|
146
|
+
* @param {Array<AccessVisitorPersonTypeEnum>} [accessVisitorPersonTypes] 访问人员类型
|
|
147
|
+
* @param {Array<AccessAppointmentStatusEnum>} [appointmentStatuses] 预约状态
|
|
148
|
+
* @param {string} [startTime] 预约开始时间
|
|
149
|
+
* @param {string} [endTime] 预约结束时间
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
accessAppointmentRecordSelectPageList: (parkId_1, page_1, pageSize_1, searchValue_1, appointmentSource_1, accessDirection_1, accessVisitorPersonTypes_1, appointmentStatuses_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [parkId_1, page_1, pageSize_1, searchValue_1, appointmentSource_1, accessDirection_1, accessVisitorPersonTypes_1, appointmentStatuses_1, startTime_1, endTime_1, ...args_1], void 0, function* (parkId, page, pageSize, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options = {}) {
|
|
154
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
155
|
+
assertParamExists('accessAppointmentRecordSelectPageList', 'parkId', parkId);
|
|
156
|
+
// verify required parameter 'page' is not null or undefined
|
|
157
|
+
assertParamExists('accessAppointmentRecordSelectPageList', 'page', page);
|
|
158
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
159
|
+
assertParamExists('accessAppointmentRecordSelectPageList', 'pageSize', pageSize);
|
|
160
|
+
const localVarPath = `/access/appointment-record`;
|
|
161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
168
|
+
const localVarHeaderParameter = {};
|
|
169
|
+
const localVarQueryParameter = {};
|
|
170
|
+
// authentication tokenScheme required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
173
|
+
if (parkId !== undefined) {
|
|
174
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
175
|
+
}
|
|
176
|
+
if (page !== undefined) {
|
|
177
|
+
localVarQueryParameter['page'] = page;
|
|
178
|
+
}
|
|
179
|
+
if (pageSize !== undefined) {
|
|
180
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
181
|
+
}
|
|
182
|
+
if (searchValue !== undefined) {
|
|
183
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
184
|
+
}
|
|
185
|
+
if (appointmentSource !== undefined) {
|
|
186
|
+
localVarQueryParameter['appointmentSource'] = appointmentSource;
|
|
187
|
+
}
|
|
188
|
+
if (accessDirection !== undefined) {
|
|
189
|
+
localVarQueryParameter['accessDirection'] = accessDirection;
|
|
190
|
+
}
|
|
191
|
+
if (accessVisitorPersonTypes) {
|
|
192
|
+
localVarQueryParameter['accessVisitorPersonTypes'] = accessVisitorPersonTypes;
|
|
193
|
+
}
|
|
194
|
+
if (appointmentStatuses) {
|
|
195
|
+
localVarQueryParameter['appointmentStatuses'] = appointmentStatuses;
|
|
196
|
+
}
|
|
197
|
+
if (startTime !== undefined) {
|
|
198
|
+
localVarQueryParameter['startTime'] = (startTime instanceof Date) ?
|
|
199
|
+
startTime.toISOString() :
|
|
200
|
+
startTime;
|
|
201
|
+
}
|
|
202
|
+
if (endTime !== undefined) {
|
|
203
|
+
localVarQueryParameter['endTime'] = (endTime instanceof Date) ?
|
|
204
|
+
endTime.toISOString() :
|
|
205
|
+
endTime;
|
|
206
|
+
}
|
|
207
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
209
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
210
|
+
return {
|
|
211
|
+
url: toPathString(localVarUrlObj),
|
|
212
|
+
options: localVarRequestOptions,
|
|
213
|
+
};
|
|
214
|
+
}),
|
|
35
215
|
/**
|
|
36
216
|
* 添加黑名单信息
|
|
37
217
|
* @summary 添加黑名单
|
|
@@ -946,6 +1126,38 @@ export const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
946
1126
|
options: localVarRequestOptions,
|
|
947
1127
|
};
|
|
948
1128
|
}),
|
|
1129
|
+
/**
|
|
1130
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
1131
|
+
* @summary 查询白名单申请流程记录
|
|
1132
|
+
* @param {number} id
|
|
1133
|
+
* @param {*} [options] Override http request option.
|
|
1134
|
+
* @throws {RequiredError}
|
|
1135
|
+
*/
|
|
1136
|
+
accessWhitelistApplicationProcess: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
1137
|
+
// verify required parameter 'id' is not null or undefined
|
|
1138
|
+
assertParamExists('accessWhitelistApplicationProcess', 'id', id);
|
|
1139
|
+
const localVarPath = `/access/whitelist/application/{id}/process`
|
|
1140
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1143
|
+
let baseOptions;
|
|
1144
|
+
if (configuration) {
|
|
1145
|
+
baseOptions = configuration.baseOptions;
|
|
1146
|
+
}
|
|
1147
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1148
|
+
const localVarHeaderParameter = {};
|
|
1149
|
+
const localVarQueryParameter = {};
|
|
1150
|
+
// authentication tokenScheme required
|
|
1151
|
+
// http bearer authentication required
|
|
1152
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1153
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1155
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1156
|
+
return {
|
|
1157
|
+
url: toPathString(localVarUrlObj),
|
|
1158
|
+
options: localVarRequestOptions,
|
|
1159
|
+
};
|
|
1160
|
+
}),
|
|
949
1161
|
/**
|
|
950
1162
|
*
|
|
951
1163
|
* @summary 修改出入白名单申请
|
|
@@ -1237,6 +1449,80 @@ export const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
1237
1449
|
export const AccessApiFp = function (configuration) {
|
|
1238
1450
|
const localVarAxiosParamCreator = AccessApiAxiosParamCreator(configuration);
|
|
1239
1451
|
return {
|
|
1452
|
+
/**
|
|
1453
|
+
*
|
|
1454
|
+
* @summary 新增出入预约
|
|
1455
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
1456
|
+
* @param {*} [options] Override http request option.
|
|
1457
|
+
* @throws {RequiredError}
|
|
1458
|
+
*/
|
|
1459
|
+
accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options) {
|
|
1460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1461
|
+
var _a, _b, _c;
|
|
1462
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options);
|
|
1463
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1464
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1465
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1466
|
+
});
|
|
1467
|
+
},
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @summary 审批出入预约记录
|
|
1471
|
+
* @param {number} id
|
|
1472
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
1473
|
+
* @param {*} [options] Override http request option.
|
|
1474
|
+
* @throws {RequiredError}
|
|
1475
|
+
*/
|
|
1476
|
+
accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options) {
|
|
1477
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1478
|
+
var _a, _b, _c;
|
|
1479
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options);
|
|
1480
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1481
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordApproval']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1482
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1483
|
+
});
|
|
1484
|
+
},
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @summary 获取出入预约记录详情
|
|
1488
|
+
* @param {number} id
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
*/
|
|
1492
|
+
accessAppointmentRecordDetails(id, options) {
|
|
1493
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1494
|
+
var _a, _b, _c;
|
|
1495
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordDetails(id, options);
|
|
1496
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1497
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1498
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1499
|
+
});
|
|
1500
|
+
},
|
|
1501
|
+
/**
|
|
1502
|
+
*
|
|
1503
|
+
* @summary 查询出入预约记录列表
|
|
1504
|
+
* @param {number} parkId 园区ID
|
|
1505
|
+
* @param {number} page 页码
|
|
1506
|
+
* @param {number} pageSize 每页数量
|
|
1507
|
+
* @param {string} [searchValue] 搜索值
|
|
1508
|
+
* @param {AccessAppointmentSourceEnum} [appointmentSource] 预约来源
|
|
1509
|
+
* @param {AccessDirectionEnum} [accessDirection] 出入方向
|
|
1510
|
+
* @param {Array<AccessVisitorPersonTypeEnum>} [accessVisitorPersonTypes] 访问人员类型
|
|
1511
|
+
* @param {Array<AccessAppointmentStatusEnum>} [appointmentStatuses] 预约状态
|
|
1512
|
+
* @param {string} [startTime] 预约开始时间
|
|
1513
|
+
* @param {string} [endTime] 预约结束时间
|
|
1514
|
+
* @param {*} [options] Override http request option.
|
|
1515
|
+
* @throws {RequiredError}
|
|
1516
|
+
*/
|
|
1517
|
+
accessAppointmentRecordSelectPageList(parkId, page, pageSize, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options) {
|
|
1518
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1519
|
+
var _a, _b, _c;
|
|
1520
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordSelectPageList(parkId, page, pageSize, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options);
|
|
1521
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1522
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordSelectPageList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1523
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1524
|
+
});
|
|
1525
|
+
},
|
|
1240
1526
|
/**
|
|
1241
1527
|
* 添加黑名单信息
|
|
1242
1528
|
* @summary 添加黑名单
|
|
@@ -1657,6 +1943,22 @@ export const AccessApiFp = function (configuration) {
|
|
|
1657
1943
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1658
1944
|
});
|
|
1659
1945
|
},
|
|
1946
|
+
/**
|
|
1947
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
1948
|
+
* @summary 查询白名单申请流程记录
|
|
1949
|
+
* @param {number} id
|
|
1950
|
+
* @param {*} [options] Override http request option.
|
|
1951
|
+
* @throws {RequiredError}
|
|
1952
|
+
*/
|
|
1953
|
+
accessWhitelistApplicationProcess(id, options) {
|
|
1954
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1955
|
+
var _a, _b, _c;
|
|
1956
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessWhitelistApplicationProcess(id, options);
|
|
1957
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1958
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessWhitelistApplicationProcess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1959
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1960
|
+
});
|
|
1961
|
+
},
|
|
1660
1962
|
/**
|
|
1661
1963
|
*
|
|
1662
1964
|
* @summary 修改出入白名单申请
|
|
@@ -1798,6 +2100,46 @@ export const AccessApiFp = function (configuration) {
|
|
|
1798
2100
|
export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
1799
2101
|
const localVarFp = AccessApiFp(configuration);
|
|
1800
2102
|
return {
|
|
2103
|
+
/**
|
|
2104
|
+
*
|
|
2105
|
+
* @summary 新增出入预约
|
|
2106
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
2107
|
+
* @param {*} [options] Override http request option.
|
|
2108
|
+
* @throws {RequiredError}
|
|
2109
|
+
*/
|
|
2110
|
+
accessAppointmentRecordAdd(requestParameters, options) {
|
|
2111
|
+
return localVarFp.accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
|
|
2112
|
+
},
|
|
2113
|
+
/**
|
|
2114
|
+
*
|
|
2115
|
+
* @summary 审批出入预约记录
|
|
2116
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
2117
|
+
* @param {*} [options] Override http request option.
|
|
2118
|
+
* @throws {RequiredError}
|
|
2119
|
+
*/
|
|
2120
|
+
accessAppointmentRecordApproval(requestParameters, options) {
|
|
2121
|
+
return localVarFp.accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(axios, basePath));
|
|
2122
|
+
},
|
|
2123
|
+
/**
|
|
2124
|
+
*
|
|
2125
|
+
* @summary 获取出入预约记录详情
|
|
2126
|
+
* @param {AccessApiAccessAppointmentRecordDetailsRequest} requestParameters Request parameters.
|
|
2127
|
+
* @param {*} [options] Override http request option.
|
|
2128
|
+
* @throws {RequiredError}
|
|
2129
|
+
*/
|
|
2130
|
+
accessAppointmentRecordDetails(requestParameters, options) {
|
|
2131
|
+
return localVarFp.accessAppointmentRecordDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2132
|
+
},
|
|
2133
|
+
/**
|
|
2134
|
+
*
|
|
2135
|
+
* @summary 查询出入预约记录列表
|
|
2136
|
+
* @param {AccessApiAccessAppointmentRecordSelectPageListRequest} requestParameters Request parameters.
|
|
2137
|
+
* @param {*} [options] Override http request option.
|
|
2138
|
+
* @throws {RequiredError}
|
|
2139
|
+
*/
|
|
2140
|
+
accessAppointmentRecordSelectPageList(requestParameters, options) {
|
|
2141
|
+
return localVarFp.accessAppointmentRecordSelectPageList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.appointmentSource, requestParameters.accessDirection, requestParameters.accessVisitorPersonTypes, requestParameters.appointmentStatuses, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
2142
|
+
},
|
|
1801
2143
|
/**
|
|
1802
2144
|
* 添加黑名单信息
|
|
1803
2145
|
* @summary 添加黑名单
|
|
@@ -2045,6 +2387,16 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
2045
2387
|
accessWhitelistApplicationList(requestParameters, options) {
|
|
2046
2388
|
return localVarFp.accessWhitelistApplicationList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.accessCompanyId, requestParameters.accessVisitorPersonType, requestParameters.applicationStatus, options).then((request) => request(axios, basePath));
|
|
2047
2389
|
},
|
|
2390
|
+
/**
|
|
2391
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
2392
|
+
* @summary 查询白名单申请流程记录
|
|
2393
|
+
* @param {AccessApiAccessWhitelistApplicationProcessRequest} requestParameters Request parameters.
|
|
2394
|
+
* @param {*} [options] Override http request option.
|
|
2395
|
+
* @throws {RequiredError}
|
|
2396
|
+
*/
|
|
2397
|
+
accessWhitelistApplicationProcess(requestParameters, options) {
|
|
2398
|
+
return localVarFp.accessWhitelistApplicationProcess(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2399
|
+
},
|
|
2048
2400
|
/**
|
|
2049
2401
|
*
|
|
2050
2402
|
* @summary 修改出入白名单申请
|
|
@@ -2134,6 +2486,50 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
2134
2486
|
* @extends {BaseAPI}
|
|
2135
2487
|
*/
|
|
2136
2488
|
export class AccessApi extends BaseAPI {
|
|
2489
|
+
/**
|
|
2490
|
+
*
|
|
2491
|
+
* @summary 新增出入预约
|
|
2492
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
2493
|
+
* @param {*} [options] Override http request option.
|
|
2494
|
+
* @throws {RequiredError}
|
|
2495
|
+
* @memberof AccessApi
|
|
2496
|
+
*/
|
|
2497
|
+
accessAppointmentRecordAdd(requestParameters, options) {
|
|
2498
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
*
|
|
2502
|
+
* @summary 审批出入预约记录
|
|
2503
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
2504
|
+
* @param {*} [options] Override http request option.
|
|
2505
|
+
* @throws {RequiredError}
|
|
2506
|
+
* @memberof AccessApi
|
|
2507
|
+
*/
|
|
2508
|
+
accessAppointmentRecordApproval(requestParameters, options) {
|
|
2509
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
2510
|
+
}
|
|
2511
|
+
/**
|
|
2512
|
+
*
|
|
2513
|
+
* @summary 获取出入预约记录详情
|
|
2514
|
+
* @param {AccessApiAccessAppointmentRecordDetailsRequest} requestParameters Request parameters.
|
|
2515
|
+
* @param {*} [options] Override http request option.
|
|
2516
|
+
* @throws {RequiredError}
|
|
2517
|
+
* @memberof AccessApi
|
|
2518
|
+
*/
|
|
2519
|
+
accessAppointmentRecordDetails(requestParameters, options) {
|
|
2520
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2521
|
+
}
|
|
2522
|
+
/**
|
|
2523
|
+
*
|
|
2524
|
+
* @summary 查询出入预约记录列表
|
|
2525
|
+
* @param {AccessApiAccessAppointmentRecordSelectPageListRequest} requestParameters Request parameters.
|
|
2526
|
+
* @param {*} [options] Override http request option.
|
|
2527
|
+
* @throws {RequiredError}
|
|
2528
|
+
* @memberof AccessApi
|
|
2529
|
+
*/
|
|
2530
|
+
accessAppointmentRecordSelectPageList(requestParameters, options) {
|
|
2531
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordSelectPageList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.appointmentSource, requestParameters.accessDirection, requestParameters.accessVisitorPersonTypes, requestParameters.appointmentStatuses, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
2532
|
+
}
|
|
2137
2533
|
/**
|
|
2138
2534
|
* 添加黑名单信息
|
|
2139
2535
|
* @summary 添加黑名单
|
|
@@ -2406,6 +2802,17 @@ export class AccessApi extends BaseAPI {
|
|
|
2406
2802
|
accessWhitelistApplicationList(requestParameters, options) {
|
|
2407
2803
|
return 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));
|
|
2408
2804
|
}
|
|
2805
|
+
/**
|
|
2806
|
+
* 根据白名单申请ID查询对应的流程记录
|
|
2807
|
+
* @summary 查询白名单申请流程记录
|
|
2808
|
+
* @param {AccessApiAccessWhitelistApplicationProcessRequest} requestParameters Request parameters.
|
|
2809
|
+
* @param {*} [options] Override http request option.
|
|
2810
|
+
* @throws {RequiredError}
|
|
2811
|
+
* @memberof AccessApi
|
|
2812
|
+
*/
|
|
2813
|
+
accessWhitelistApplicationProcess(requestParameters, options) {
|
|
2814
|
+
return AccessApiFp(this.configuration).accessWhitelistApplicationProcess(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2815
|
+
}
|
|
2409
2816
|
/**
|
|
2410
2817
|
*
|
|
2411
2818
|
* @summary 修改出入白名单申请
|
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResultBoolean } from '../models';
|
|
15
16
|
import type { JsonResultJsonResultListSpaceTreeDTO } from '../models';
|
|
16
17
|
import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
|
|
17
18
|
import type { JsonResultVoid } from '../models';
|
|
19
|
+
import type { OpenApiAccessAppointmentRecordAddVo } from '../models';
|
|
18
20
|
import type { SyncEquipmentStatusVo } from '../models';
|
|
19
21
|
import type { SyncEquipmentVo } from '../models';
|
|
20
22
|
/**
|
|
@@ -22,6 +24,14 @@ import type { SyncEquipmentVo } from '../models';
|
|
|
22
24
|
* @export
|
|
23
25
|
*/
|
|
24
26
|
export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary 新增出入预约
|
|
30
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25
35
|
/**
|
|
26
36
|
*
|
|
27
37
|
* @summary 批量新增设施设备
|
|
@@ -60,6 +70,14 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
70
|
* @export
|
|
61
71
|
*/
|
|
62
72
|
export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary 新增出入预约
|
|
76
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
|
|
63
81
|
/**
|
|
64
82
|
*
|
|
65
83
|
* @summary 批量新增设施设备
|
|
@@ -98,6 +116,14 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
|
98
116
|
* @export
|
|
99
117
|
*/
|
|
100
118
|
export declare const OpenApiApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @summary 新增出入预约
|
|
122
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
|
|
101
127
|
/**
|
|
102
128
|
*
|
|
103
129
|
* @summary 批量新增设施设备
|
|
@@ -131,6 +157,19 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
|
|
|
131
157
|
*/
|
|
132
158
|
openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>;
|
|
133
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Request parameters for openApiAccessAppointmentAdd operation in OpenApiApi.
|
|
162
|
+
* @export
|
|
163
|
+
* @interface OpenApiApiOpenApiAccessAppointmentAddRequest
|
|
164
|
+
*/
|
|
165
|
+
export interface OpenApiApiOpenApiAccessAppointmentAddRequest {
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {OpenApiAccessAppointmentRecordAddVo}
|
|
169
|
+
* @memberof OpenApiApiOpenApiAccessAppointmentAdd
|
|
170
|
+
*/
|
|
171
|
+
readonly openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo;
|
|
172
|
+
}
|
|
134
173
|
/**
|
|
135
174
|
* Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
|
|
136
175
|
* @export
|
|
@@ -190,6 +229,15 @@ export interface OpenApiApiOpenApiSurveillanceListRequest {
|
|
|
190
229
|
* @extends {BaseAPI}
|
|
191
230
|
*/
|
|
192
231
|
export declare class OpenApiApi extends BaseAPI {
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @summary 新增出入预约
|
|
235
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
* @memberof OpenApiApi
|
|
239
|
+
*/
|
|
240
|
+
openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
|
|
193
241
|
/**
|
|
194
242
|
*
|
|
195
243
|
* @summary 批量新增设施设备
|
|
@@ -32,6 +32,39 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 新增出入预约
|
|
38
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [openApiAccessAppointmentRecordAddVo_1, ...args_1], void 0, function* (openApiAccessAppointmentRecordAddVo, options = {}) {
|
|
43
|
+
// verify required parameter 'openApiAccessAppointmentRecordAddVo' is not null or undefined
|
|
44
|
+
assertParamExists('openApiAccessAppointmentAdd', 'openApiAccessAppointmentRecordAddVo', openApiAccessAppointmentRecordAddVo);
|
|
45
|
+
const localVarPath = `/openapi/v1/main/parks/accessAppointment`;
|
|
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(openApiAccessAppointmentRecordAddVo, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
35
68
|
/**
|
|
36
69
|
*
|
|
37
70
|
* @summary 批量新增设施设备
|
|
@@ -175,6 +208,22 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
175
208
|
export const OpenApiApiFp = function (configuration) {
|
|
176
209
|
const localVarAxiosParamCreator = OpenApiApiAxiosParamCreator(configuration);
|
|
177
210
|
return {
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary 新增出入预约
|
|
214
|
+
* @param {OpenApiAccessAppointmentRecordAddVo} openApiAccessAppointmentRecordAddVo
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo, options) {
|
|
219
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
220
|
+
var _a, _b, _c;
|
|
221
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo, options);
|
|
222
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
223
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiAccessAppointmentAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
224
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
225
|
+
});
|
|
226
|
+
},
|
|
178
227
|
/**
|
|
179
228
|
*
|
|
180
229
|
* @summary 批量新增设施设备
|
|
@@ -248,6 +297,16 @@ export const OpenApiApiFp = function (configuration) {
|
|
|
248
297
|
export const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
249
298
|
const localVarFp = OpenApiApiFp(configuration);
|
|
250
299
|
return {
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @summary 新增出入预约
|
|
303
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
openApiAccessAppointmentAdd(requestParameters, options) {
|
|
308
|
+
return localVarFp.openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
|
|
309
|
+
},
|
|
251
310
|
/**
|
|
252
311
|
*
|
|
253
312
|
* @summary 批量新增设施设备
|
|
@@ -297,6 +356,17 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
297
356
|
* @extends {BaseAPI}
|
|
298
357
|
*/
|
|
299
358
|
export class OpenApiApi extends BaseAPI {
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @summary 新增出入预约
|
|
362
|
+
* @param {OpenApiApiOpenApiAccessAppointmentAddRequest} requestParameters Request parameters.
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
* @memberof OpenApiApi
|
|
366
|
+
*/
|
|
367
|
+
openApiAccessAppointmentAdd(requestParameters, options) {
|
|
368
|
+
return OpenApiApiFp(this.configuration).openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
369
|
+
}
|
|
300
370
|
/**
|
|
301
371
|
*
|
|
302
372
|
* @summary 批量新增设施设备
|