@gizone/rrs-client 4.2.0-alpha.350 → 4.2.0-alpha.351

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.
@@ -316,6 +316,7 @@ models/offline-alert-work-order-details-dto.ts
316
316
  models/offline-alert-work-order-info.ts
317
317
  models/offline-alert-work-order-vo.ts
318
318
  models/open-api-access-appointment-record-add-vo.ts
319
+ models/open-api-access-appointment-record-delete-vo.ts
319
320
  models/open-api-equipment-list-dto.ts
320
321
  models/page-dto-access-appointment-record-details-dto.ts
321
322
  models/page-dto-access-blacklist-details-dto.ts
@@ -36,6 +36,8 @@ import type { JsonResultVoid } from '../models';
36
36
  // @ts-ignore
37
37
  import type { OpenApiAccessAppointmentRecordAddVo } from '../models';
38
38
  // @ts-ignore
39
+ import type { OpenApiAccessAppointmentRecordDeleteVo } from '../models';
40
+ // @ts-ignore
39
41
  import type { SyncEquipmentStatusVo } from '../models';
40
42
  // @ts-ignore
41
43
  import type { SyncEquipmentVo } from '../models';
@@ -55,7 +57,7 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
55
57
  openApiAccessAppointmentAdd: async (openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56
58
  // verify required parameter 'openApiAccessAppointmentRecordAddVo' is not null or undefined
57
59
  assertParamExists('openApiAccessAppointmentAdd', 'openApiAccessAppointmentRecordAddVo', openApiAccessAppointmentRecordAddVo)
58
- const localVarPath = `/openapi/v1/main/parks/accessAppointment`;
60
+ const localVarPath = `/openapi/v1/main/parks/access/appointment`;
59
61
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
60
62
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61
63
  let baseOptions;
@@ -85,6 +87,46 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
85
87
  options: localVarRequestOptions,
86
88
  };
87
89
  },
90
+ /**
91
+ *
92
+ * @summary 删除出入预约
93
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ openApiAccessAppointmentDelete: async (openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
98
+ // verify required parameter 'openApiAccessAppointmentRecordDeleteVo' is not null or undefined
99
+ assertParamExists('openApiAccessAppointmentDelete', 'openApiAccessAppointmentRecordDeleteVo', openApiAccessAppointmentRecordDeleteVo)
100
+ const localVarPath = `/openapi/v1/main/parks/access/appointment`;
101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103
+ let baseOptions;
104
+ if (configuration) {
105
+ baseOptions = configuration.baseOptions;
106
+ }
107
+
108
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
109
+ const localVarHeaderParameter = {} as any;
110
+ const localVarQueryParameter = {} as any;
111
+
112
+ // authentication tokenScheme required
113
+ // http bearer authentication required
114
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
115
+
116
+
117
+
118
+ localVarHeaderParameter['Content-Type'] = 'application/json';
119
+
120
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
121
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
122
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
123
+ localVarRequestOptions.data = serializeDataIfNeeded(openApiAccessAppointmentRecordDeleteVo, localVarRequestOptions, configuration)
124
+
125
+ return {
126
+ url: toPathString(localVarUrlObj),
127
+ options: localVarRequestOptions,
128
+ };
129
+ },
88
130
  /**
89
131
  *
90
132
  * @summary 批量新增设施设备
@@ -366,6 +408,19 @@ export const OpenApiApiFp = function(configuration?: Configuration) {
366
408
  const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiAccessAppointmentAdd']?.[localVarOperationServerIndex]?.url;
367
409
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
368
410
  },
411
+ /**
412
+ *
413
+ * @summary 删除出入预约
414
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
415
+ * @param {*} [options] Override http request option.
416
+ * @throws {RequiredError}
417
+ */
418
+ async openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo, options);
420
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
421
+ const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiAccessAppointmentDelete']?.[localVarOperationServerIndex]?.url;
422
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
423
+ },
369
424
  /**
370
425
  *
371
426
  * @summary 批量新增设施设备
@@ -466,6 +521,16 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
466
521
  openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
467
522
  return localVarFp.openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
468
523
  },
524
+ /**
525
+ *
526
+ * @summary 删除出入预约
527
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ openApiAccessAppointmentDelete(requestParameters: OpenApiApiOpenApiAccessAppointmentDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
532
+ return localVarFp.openApiAccessAppointmentDelete(requestParameters.openApiAccessAppointmentRecordDeleteVo, options).then((request) => request(axios, basePath));
533
+ },
469
534
  /**
470
535
  *
471
536
  * @summary 批量新增设施设备
@@ -543,6 +608,20 @@ export interface OpenApiApiOpenApiAccessAppointmentAddRequest {
543
608
  readonly openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo
544
609
  }
545
610
 
611
+ /**
612
+ * Request parameters for openApiAccessAppointmentDelete operation in OpenApiApi.
613
+ * @export
614
+ * @interface OpenApiApiOpenApiAccessAppointmentDeleteRequest
615
+ */
616
+ export interface OpenApiApiOpenApiAccessAppointmentDeleteRequest {
617
+ /**
618
+ *
619
+ * @type {OpenApiAccessAppointmentRecordDeleteVo}
620
+ * @memberof OpenApiApiOpenApiAccessAppointmentDelete
621
+ */
622
+ readonly openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo
623
+ }
624
+
546
625
  /**
547
626
  * Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
548
627
  * @export
@@ -660,6 +739,18 @@ export class OpenApiApi extends BaseAPI {
660
739
  return OpenApiApiFp(this.configuration).openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
661
740
  }
662
741
 
742
+ /**
743
+ *
744
+ * @summary 删除出入预约
745
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ * @memberof OpenApiApi
749
+ */
750
+ public openApiAccessAppointmentDelete(requestParameters: OpenApiApiOpenApiAccessAppointmentDeleteRequest, options?: RawAxiosRequestConfig) {
751
+ return OpenApiApiFp(this.configuration).openApiAccessAppointmentDelete(requestParameters.openApiAccessAppointmentRecordDeleteVo, options).then((request) => request(this.axios, this.basePath));
752
+ }
753
+
663
754
  /**
664
755
  *
665
756
  * @summary 批量新增设施设备
@@ -19,6 +19,7 @@ import type { JsonResultPageDtoOpenApiEquipmentListDto } from '../models';
19
19
  import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
20
20
  import type { JsonResultVoid } from '../models';
21
21
  import type { OpenApiAccessAppointmentRecordAddVo } from '../models';
22
+ import type { OpenApiAccessAppointmentRecordDeleteVo } from '../models';
22
23
  import type { SyncEquipmentStatusVo } from '../models';
23
24
  import type { SyncEquipmentVo } from '../models';
24
25
  /**
@@ -34,6 +35,14 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
34
35
  * @throws {RequiredError}
35
36
  */
36
37
  openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary 删除出入预约
41
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ openApiAccessAppointmentDelete: (openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
46
  /**
38
47
  *
39
48
  * @summary 批量新增设施设备
@@ -98,6 +107,14 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
98
107
  * @throws {RequiredError}
99
108
  */
100
109
  openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
110
+ /**
111
+ *
112
+ * @summary 删除出入预约
113
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
101
118
  /**
102
119
  *
103
120
  * @summary 批量新增设施设备
@@ -162,6 +179,14 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
162
179
  * @throws {RequiredError}
163
180
  */
164
181
  openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
182
+ /**
183
+ *
184
+ * @summary 删除出入预约
185
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ openApiAccessAppointmentDelete(requestParameters: OpenApiApiOpenApiAccessAppointmentDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
165
190
  /**
166
191
  *
167
192
  * @summary 批量新增设施设备
@@ -224,6 +249,19 @@ export interface OpenApiApiOpenApiAccessAppointmentAddRequest {
224
249
  */
225
250
  readonly openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo;
226
251
  }
252
+ /**
253
+ * Request parameters for openApiAccessAppointmentDelete operation in OpenApiApi.
254
+ * @export
255
+ * @interface OpenApiApiOpenApiAccessAppointmentDeleteRequest
256
+ */
257
+ export interface OpenApiApiOpenApiAccessAppointmentDeleteRequest {
258
+ /**
259
+ *
260
+ * @type {OpenApiAccessAppointmentRecordDeleteVo}
261
+ * @memberof OpenApiApiOpenApiAccessAppointmentDelete
262
+ */
263
+ readonly openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo;
264
+ }
227
265
  /**
228
266
  * Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
229
267
  * @export
@@ -330,6 +368,15 @@ export declare class OpenApiApi extends BaseAPI {
330
368
  * @memberof OpenApiApi
331
369
  */
332
370
  openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
371
+ /**
372
+ *
373
+ * @summary 删除出入预约
374
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ * @memberof OpenApiApi
378
+ */
379
+ openApiAccessAppointmentDelete(requestParameters: OpenApiApiOpenApiAccessAppointmentDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
333
380
  /**
334
381
  *
335
382
  * @summary 批量新增设施设备
@@ -45,7 +45,7 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
45
45
  openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [openApiAccessAppointmentRecordAddVo_1, ...args_1], void 0, function* (openApiAccessAppointmentRecordAddVo, options = {}) {
46
46
  // verify required parameter 'openApiAccessAppointmentRecordAddVo' is not null or undefined
47
47
  (0, common_1.assertParamExists)('openApiAccessAppointmentAdd', 'openApiAccessAppointmentRecordAddVo', openApiAccessAppointmentRecordAddVo);
48
- const localVarPath = `/openapi/v1/main/parks/accessAppointment`;
48
+ const localVarPath = `/openapi/v1/main/parks/access/appointment`;
49
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
50
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
51
  let baseOptions;
@@ -68,6 +68,39 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
68
68
  options: localVarRequestOptions,
69
69
  };
70
70
  }),
71
+ /**
72
+ *
73
+ * @summary 删除出入预约
74
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ openApiAccessAppointmentDelete: (openApiAccessAppointmentRecordDeleteVo_1, ...args_1) => __awaiter(this, [openApiAccessAppointmentRecordDeleteVo_1, ...args_1], void 0, function* (openApiAccessAppointmentRecordDeleteVo, options = {}) {
79
+ // verify required parameter 'openApiAccessAppointmentRecordDeleteVo' is not null or undefined
80
+ (0, common_1.assertParamExists)('openApiAccessAppointmentDelete', 'openApiAccessAppointmentRecordDeleteVo', openApiAccessAppointmentRecordDeleteVo);
81
+ const localVarPath = `/openapi/v1/main/parks/access/appointment`;
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication tokenScheme required
92
+ // http bearer authentication required
93
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Content-Type'] = 'application/json';
95
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
96
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(openApiAccessAppointmentRecordDeleteVo, localVarRequestOptions, configuration);
99
+ return {
100
+ url: (0, common_1.toPathString)(localVarUrlObj),
101
+ options: localVarRequestOptions,
102
+ };
103
+ }),
71
104
  /**
72
105
  *
73
106
  * @summary 批量新增设施设备
@@ -308,6 +341,22 @@ const OpenApiApiFp = function (configuration) {
308
341
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
309
342
  });
310
343
  },
344
+ /**
345
+ *
346
+ * @summary 删除出入预约
347
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
348
+ * @param {*} [options] Override http request option.
349
+ * @throws {RequiredError}
350
+ */
351
+ openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo, options) {
352
+ return __awaiter(this, void 0, void 0, function* () {
353
+ var _a, _b, _c;
354
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo, options);
355
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
356
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiAccessAppointmentDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
357
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
358
+ });
359
+ },
311
360
  /**
312
361
  *
313
362
  * @summary 批量新增设施设备
@@ -426,6 +475,16 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
426
475
  openApiAccessAppointmentAdd(requestParameters, options) {
427
476
  return localVarFp.openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
428
477
  },
478
+ /**
479
+ *
480
+ * @summary 删除出入预约
481
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
482
+ * @param {*} [options] Override http request option.
483
+ * @throws {RequiredError}
484
+ */
485
+ openApiAccessAppointmentDelete(requestParameters, options) {
486
+ return localVarFp.openApiAccessAppointmentDelete(requestParameters.openApiAccessAppointmentRecordDeleteVo, options).then((request) => request(axios, basePath));
487
+ },
429
488
  /**
430
489
  *
431
490
  * @summary 批量新增设施设备
@@ -507,6 +566,17 @@ class OpenApiApi extends base_1.BaseAPI {
507
566
  openApiAccessAppointmentAdd(requestParameters, options) {
508
567
  return (0, exports.OpenApiApiFp)(this.configuration).openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
509
568
  }
569
+ /**
570
+ *
571
+ * @summary 删除出入预约
572
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
573
+ * @param {*} [options] Override http request option.
574
+ * @throws {RequiredError}
575
+ * @memberof OpenApiApi
576
+ */
577
+ openApiAccessAppointmentDelete(requestParameters, options) {
578
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiAccessAppointmentDelete(requestParameters.openApiAccessAppointmentRecordDeleteVo, options).then((request) => request(this.axios, this.basePath));
579
+ }
510
580
  /**
511
581
  *
512
582
  * @summary 批量新增设施设备
@@ -19,6 +19,7 @@ import type { JsonResultPageDtoOpenApiEquipmentListDto } from '../models';
19
19
  import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
20
20
  import type { JsonResultVoid } from '../models';
21
21
  import type { OpenApiAccessAppointmentRecordAddVo } from '../models';
22
+ import type { OpenApiAccessAppointmentRecordDeleteVo } from '../models';
22
23
  import type { SyncEquipmentStatusVo } from '../models';
23
24
  import type { SyncEquipmentVo } from '../models';
24
25
  /**
@@ -34,6 +35,14 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
34
35
  * @throws {RequiredError}
35
36
  */
36
37
  openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary 删除出入预约
41
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ openApiAccessAppointmentDelete: (openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
46
  /**
38
47
  *
39
48
  * @summary 批量新增设施设备
@@ -98,6 +107,14 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
98
107
  * @throws {RequiredError}
99
108
  */
100
109
  openApiAccessAppointmentAdd(openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
110
+ /**
111
+ *
112
+ * @summary 删除出入预约
113
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
101
118
  /**
102
119
  *
103
120
  * @summary 批量新增设施设备
@@ -162,6 +179,14 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
162
179
  * @throws {RequiredError}
163
180
  */
164
181
  openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
182
+ /**
183
+ *
184
+ * @summary 删除出入预约
185
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ openApiAccessAppointmentDelete(requestParameters: OpenApiApiOpenApiAccessAppointmentDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
165
190
  /**
166
191
  *
167
192
  * @summary 批量新增设施设备
@@ -224,6 +249,19 @@ export interface OpenApiApiOpenApiAccessAppointmentAddRequest {
224
249
  */
225
250
  readonly openApiAccessAppointmentRecordAddVo: OpenApiAccessAppointmentRecordAddVo;
226
251
  }
252
+ /**
253
+ * Request parameters for openApiAccessAppointmentDelete operation in OpenApiApi.
254
+ * @export
255
+ * @interface OpenApiApiOpenApiAccessAppointmentDeleteRequest
256
+ */
257
+ export interface OpenApiApiOpenApiAccessAppointmentDeleteRequest {
258
+ /**
259
+ *
260
+ * @type {OpenApiAccessAppointmentRecordDeleteVo}
261
+ * @memberof OpenApiApiOpenApiAccessAppointmentDelete
262
+ */
263
+ readonly openApiAccessAppointmentRecordDeleteVo: OpenApiAccessAppointmentRecordDeleteVo;
264
+ }
227
265
  /**
228
266
  * Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
229
267
  * @export
@@ -330,6 +368,15 @@ export declare class OpenApiApi extends BaseAPI {
330
368
  * @memberof OpenApiApi
331
369
  */
332
370
  openApiAccessAppointmentAdd(requestParameters: OpenApiApiOpenApiAccessAppointmentAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
371
+ /**
372
+ *
373
+ * @summary 删除出入预约
374
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ * @memberof OpenApiApi
378
+ */
379
+ openApiAccessAppointmentDelete(requestParameters: OpenApiApiOpenApiAccessAppointmentDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
333
380
  /**
334
381
  *
335
382
  * @summary 批量新增设施设备
@@ -42,7 +42,7 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
42
42
  openApiAccessAppointmentAdd: (openApiAccessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [openApiAccessAppointmentRecordAddVo_1, ...args_1], void 0, function* (openApiAccessAppointmentRecordAddVo, options = {}) {
43
43
  // verify required parameter 'openApiAccessAppointmentRecordAddVo' is not null or undefined
44
44
  assertParamExists('openApiAccessAppointmentAdd', 'openApiAccessAppointmentRecordAddVo', openApiAccessAppointmentRecordAddVo);
45
- const localVarPath = `/openapi/v1/main/parks/accessAppointment`;
45
+ const localVarPath = `/openapi/v1/main/parks/access/appointment`;
46
46
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
47
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
48
  let baseOptions;
@@ -65,6 +65,39 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
65
65
  options: localVarRequestOptions,
66
66
  };
67
67
  }),
68
+ /**
69
+ *
70
+ * @summary 删除出入预约
71
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ openApiAccessAppointmentDelete: (openApiAccessAppointmentRecordDeleteVo_1, ...args_1) => __awaiter(this, [openApiAccessAppointmentRecordDeleteVo_1, ...args_1], void 0, function* (openApiAccessAppointmentRecordDeleteVo, options = {}) {
76
+ // verify required parameter 'openApiAccessAppointmentRecordDeleteVo' is not null or undefined
77
+ assertParamExists('openApiAccessAppointmentDelete', 'openApiAccessAppointmentRecordDeleteVo', openApiAccessAppointmentRecordDeleteVo);
78
+ const localVarPath = `/openapi/v1/main/parks/access/appointment`;
79
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
+ let baseOptions;
82
+ if (configuration) {
83
+ baseOptions = configuration.baseOptions;
84
+ }
85
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
86
+ const localVarHeaderParameter = {};
87
+ const localVarQueryParameter = {};
88
+ // authentication tokenScheme required
89
+ // http bearer authentication required
90
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
91
+ localVarHeaderParameter['Content-Type'] = 'application/json';
92
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
95
+ localVarRequestOptions.data = serializeDataIfNeeded(openApiAccessAppointmentRecordDeleteVo, localVarRequestOptions, configuration);
96
+ return {
97
+ url: toPathString(localVarUrlObj),
98
+ options: localVarRequestOptions,
99
+ };
100
+ }),
68
101
  /**
69
102
  *
70
103
  * @summary 批量新增设施设备
@@ -304,6 +337,22 @@ export const OpenApiApiFp = function (configuration) {
304
337
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
305
338
  });
306
339
  },
340
+ /**
341
+ *
342
+ * @summary 删除出入预约
343
+ * @param {OpenApiAccessAppointmentRecordDeleteVo} openApiAccessAppointmentRecordDeleteVo
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo, options) {
348
+ return __awaiter(this, void 0, void 0, function* () {
349
+ var _a, _b, _c;
350
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiAccessAppointmentDelete(openApiAccessAppointmentRecordDeleteVo, options);
351
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
352
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiAccessAppointmentDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
353
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
354
+ });
355
+ },
307
356
  /**
308
357
  *
309
358
  * @summary 批量新增设施设备
@@ -421,6 +470,16 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
421
470
  openApiAccessAppointmentAdd(requestParameters, options) {
422
471
  return localVarFp.openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
423
472
  },
473
+ /**
474
+ *
475
+ * @summary 删除出入预约
476
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
477
+ * @param {*} [options] Override http request option.
478
+ * @throws {RequiredError}
479
+ */
480
+ openApiAccessAppointmentDelete(requestParameters, options) {
481
+ return localVarFp.openApiAccessAppointmentDelete(requestParameters.openApiAccessAppointmentRecordDeleteVo, options).then((request) => request(axios, basePath));
482
+ },
424
483
  /**
425
484
  *
426
485
  * @summary 批量新增设施设备
@@ -501,6 +560,17 @@ export class OpenApiApi extends BaseAPI {
501
560
  openApiAccessAppointmentAdd(requestParameters, options) {
502
561
  return OpenApiApiFp(this.configuration).openApiAccessAppointmentAdd(requestParameters.openApiAccessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
503
562
  }
563
+ /**
564
+ *
565
+ * @summary 删除出入预约
566
+ * @param {OpenApiApiOpenApiAccessAppointmentDeleteRequest} requestParameters Request parameters.
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ * @memberof OpenApiApi
570
+ */
571
+ openApiAccessAppointmentDelete(requestParameters, options) {
572
+ return OpenApiApiFp(this.configuration).openApiAccessAppointmentDelete(requestParameters.openApiAccessAppointmentRecordDeleteVo, options).then((request) => request(this.axios, this.basePath));
573
+ }
504
574
  /**
505
575
  *
506
576
  * @summary 批量新增设施设备
@@ -272,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
272
272
  export * from './offline-alert-work-order-info';
273
273
  export * from './offline-alert-work-order-vo';
274
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-access-appointment-record-delete-vo';
275
276
  export * from './open-api-equipment-list-dto';
276
277
  export * from './page-dto-access-appointment-record-details-dto';
277
278
  export * from './page-dto-access-blacklist-details-dto';
@@ -272,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
272
272
  export * from './offline-alert-work-order-info';
273
273
  export * from './offline-alert-work-order-vo';
274
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-access-appointment-record-delete-vo';
275
276
  export * from './open-api-equipment-list-dto';
276
277
  export * from './page-dto-access-appointment-record-details-dto';
277
278
  export * from './page-dto-access-blacklist-details-dto';
@@ -0,0 +1,31 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AccessAppointmentSourceEnum } from './access-appointment-source-enum';
13
+ /**
14
+ * 删除出入记录
15
+ * @export
16
+ * @interface OpenApiAccessAppointmentRecordDeleteVo
17
+ */
18
+ export interface OpenApiAccessAppointmentRecordDeleteVo {
19
+ /**
20
+ *
21
+ * @type {AccessAppointmentSourceEnum}
22
+ * @memberof OpenApiAccessAppointmentRecordDeleteVo
23
+ */
24
+ 'appointmentSource': AccessAppointmentSourceEnum;
25
+ /**
26
+ * 消息ID
27
+ * @type {string}
28
+ * @memberof OpenApiAccessAppointmentRecordDeleteVo
29
+ */
30
+ 'msgId': string;
31
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -377,14 +377,14 @@ export interface SysUser {
377
377
  'sourceUserId'?: string;
378
378
  /**
379
379
  *
380
- * @type {number}
380
+ * @type {string}
381
381
  * @memberof SysUser
382
382
  */
383
- 'cuserId'?: number;
383
+ 'cid'?: string;
384
384
  /**
385
385
  *
386
- * @type {string}
386
+ * @type {number}
387
387
  * @memberof SysUser
388
388
  */
389
- 'cid'?: string;
389
+ 'cuserId'?: number;
390
390
  }
@@ -272,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
272
272
  export * from './offline-alert-work-order-info';
273
273
  export * from './offline-alert-work-order-vo';
274
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-access-appointment-record-delete-vo';
275
276
  export * from './open-api-equipment-list-dto';
276
277
  export * from './page-dto-access-appointment-record-details-dto';
277
278
  export * from './page-dto-access-blacklist-details-dto';
@@ -288,6 +288,7 @@ __exportStar(require("./offline-alert-work-order-details-dto"), exports);
288
288
  __exportStar(require("./offline-alert-work-order-info"), exports);
289
289
  __exportStar(require("./offline-alert-work-order-vo"), exports);
290
290
  __exportStar(require("./open-api-access-appointment-record-add-vo"), exports);
291
+ __exportStar(require("./open-api-access-appointment-record-delete-vo"), exports);
291
292
  __exportStar(require("./open-api-equipment-list-dto"), exports);
292
293
  __exportStar(require("./page-dto-access-appointment-record-details-dto"), exports);
293
294
  __exportStar(require("./page-dto-access-blacklist-details-dto"), exports);
@@ -0,0 +1,31 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AccessAppointmentSourceEnum } from './access-appointment-source-enum';
13
+ /**
14
+ * 删除出入记录
15
+ * @export
16
+ * @interface OpenApiAccessAppointmentRecordDeleteVo
17
+ */
18
+ export interface OpenApiAccessAppointmentRecordDeleteVo {
19
+ /**
20
+ *
21
+ * @type {AccessAppointmentSourceEnum}
22
+ * @memberof OpenApiAccessAppointmentRecordDeleteVo
23
+ */
24
+ 'appointmentSource': AccessAppointmentSourceEnum;
25
+ /**
26
+ * 消息ID
27
+ * @type {string}
28
+ * @memberof OpenApiAccessAppointmentRecordDeleteVo
29
+ */
30
+ 'msgId': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -377,14 +377,14 @@ export interface SysUser {
377
377
  'sourceUserId'?: string;
378
378
  /**
379
379
  *
380
- * @type {number}
380
+ * @type {string}
381
381
  * @memberof SysUser
382
382
  */
383
- 'cuserId'?: number;
383
+ 'cid'?: string;
384
384
  /**
385
385
  *
386
- * @type {string}
386
+ * @type {number}
387
387
  * @memberof SysUser
388
388
  */
389
- 'cid'?: string;
389
+ 'cuserId'?: number;
390
390
  }
package/models/index.ts CHANGED
@@ -272,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
272
272
  export * from './offline-alert-work-order-info';
273
273
  export * from './offline-alert-work-order-vo';
274
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-access-appointment-record-delete-vo';
275
276
  export * from './open-api-equipment-list-dto';
276
277
  export * from './page-dto-access-appointment-record-details-dto';
277
278
  export * from './page-dto-access-blacklist-details-dto';
@@ -0,0 +1,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { AccessAppointmentSourceEnum } from './access-appointment-source-enum';
19
+
20
+ /**
21
+ * 删除出入记录
22
+ * @export
23
+ * @interface OpenApiAccessAppointmentRecordDeleteVo
24
+ */
25
+ export interface OpenApiAccessAppointmentRecordDeleteVo {
26
+ /**
27
+ *
28
+ * @type {AccessAppointmentSourceEnum}
29
+ * @memberof OpenApiAccessAppointmentRecordDeleteVo
30
+ */
31
+ 'appointmentSource': AccessAppointmentSourceEnum;
32
+ /**
33
+ * 消息ID
34
+ * @type {string}
35
+ * @memberof OpenApiAccessAppointmentRecordDeleteVo
36
+ */
37
+ 'msgId': string;
38
+ }
39
+
40
+
41
+
@@ -388,16 +388,16 @@ export interface SysUser {
388
388
  'sourceUserId'?: string;
389
389
  /**
390
390
  *
391
- * @type {number}
391
+ * @type {string}
392
392
  * @memberof SysUser
393
393
  */
394
- 'cuserId'?: number;
394
+ 'cid'?: string;
395
395
  /**
396
396
  *
397
- * @type {string}
397
+ * @type {number}
398
398
  * @memberof SysUser
399
399
  */
400
- 'cid'?: string;
400
+ 'cuserId'?: number;
401
401
  }
402
402
 
403
403
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.0-alpha.350",
3
+ "version": "4.2.0-alpha.351",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {