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