@gizone/rrs-client 4.2.0-alpha.333 → 4.2.0-alpha.335

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.
@@ -134,6 +134,72 @@ export const AccessApiAxiosParamCreator = function (configuration) {
134
134
  options: localVarRequestOptions,
135
135
  };
136
136
  }),
137
+ /**
138
+ *
139
+ * @summary 导出出入预约记录
140
+ * @param {number} parkId 园区ID
141
+ * @param {string} [searchValue] 搜索值
142
+ * @param {AccessAppointmentSourceEnum} [appointmentSource] 预约来源
143
+ * @param {AccessDirectionEnum} [accessDirection] 出入方向
144
+ * @param {Array<AccessVisitorPersonTypeEnum>} [accessVisitorPersonTypes] 访问人员类型
145
+ * @param {Array<AccessAppointmentStatusEnum>} [appointmentStatuses] 预约状态
146
+ * @param {string} [startTime] 预约开始时间
147
+ * @param {string} [endTime] 预约结束时间
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ accessAppointmentRecordExport: (parkId_1, searchValue_1, appointmentSource_1, accessDirection_1, accessVisitorPersonTypes_1, appointmentStatuses_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, appointmentSource_1, accessDirection_1, accessVisitorPersonTypes_1, appointmentStatuses_1, startTime_1, endTime_1, ...args_1], void 0, function* (parkId, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options = {}) {
152
+ // verify required parameter 'parkId' is not null or undefined
153
+ assertParamExists('accessAppointmentRecordExport', 'parkId', parkId);
154
+ const localVarPath = `/gizone/access/appointment-record/export`;
155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
157
+ let baseOptions;
158
+ if (configuration) {
159
+ baseOptions = configuration.baseOptions;
160
+ }
161
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
162
+ const localVarHeaderParameter = {};
163
+ const localVarQueryParameter = {};
164
+ // authentication tokenScheme required
165
+ // http bearer authentication required
166
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
167
+ if (parkId !== undefined) {
168
+ localVarQueryParameter['parkId'] = parkId;
169
+ }
170
+ if (searchValue !== undefined) {
171
+ localVarQueryParameter['searchValue'] = searchValue;
172
+ }
173
+ if (appointmentSource !== undefined) {
174
+ localVarQueryParameter['appointmentSource'] = appointmentSource;
175
+ }
176
+ if (accessDirection !== undefined) {
177
+ localVarQueryParameter['accessDirection'] = accessDirection;
178
+ }
179
+ if (accessVisitorPersonTypes) {
180
+ localVarQueryParameter['accessVisitorPersonTypes'] = accessVisitorPersonTypes;
181
+ }
182
+ if (appointmentStatuses) {
183
+ localVarQueryParameter['appointmentStatuses'] = appointmentStatuses;
184
+ }
185
+ if (startTime !== undefined) {
186
+ localVarQueryParameter['startTime'] = (startTime instanceof Date) ?
187
+ startTime.toISOString() :
188
+ startTime;
189
+ }
190
+ if (endTime !== undefined) {
191
+ localVarQueryParameter['endTime'] = (endTime instanceof Date) ?
192
+ endTime.toISOString() :
193
+ endTime;
194
+ }
195
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
196
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
197
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
198
+ return {
199
+ url: toPathString(localVarUrlObj),
200
+ options: localVarRequestOptions,
201
+ };
202
+ }),
137
203
  /**
138
204
  *
139
205
  * @summary 查询出入预约记录流程详情
@@ -1660,6 +1726,38 @@ export const AccessApiAxiosParamCreator = function (configuration) {
1660
1726
  options: localVarRequestOptions,
1661
1727
  };
1662
1728
  }),
1729
+ /**
1730
+ *
1731
+ * @param {AccessLaneSyncVo} accessLaneSyncVo
1732
+ * @param {*} [options] Override http request option.
1733
+ * @throws {RequiredError}
1734
+ */
1735
+ syncIotLane: (accessLaneSyncVo_1, ...args_1) => __awaiter(this, [accessLaneSyncVo_1, ...args_1], void 0, function* (accessLaneSyncVo, options = {}) {
1736
+ // verify required parameter 'accessLaneSyncVo' is not null or undefined
1737
+ assertParamExists('syncIotLane', 'accessLaneSyncVo', accessLaneSyncVo);
1738
+ const localVarPath = `/gizone/access/lane/syncIotLane`;
1739
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1740
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1741
+ let baseOptions;
1742
+ if (configuration) {
1743
+ baseOptions = configuration.baseOptions;
1744
+ }
1745
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1746
+ const localVarHeaderParameter = {};
1747
+ const localVarQueryParameter = {};
1748
+ // authentication tokenScheme required
1749
+ // http bearer authentication required
1750
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1751
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1754
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1755
+ localVarRequestOptions.data = serializeDataIfNeeded(accessLaneSyncVo, localVarRequestOptions, configuration);
1756
+ return {
1757
+ url: toPathString(localVarUrlObj),
1758
+ options: localVarRequestOptions,
1759
+ };
1760
+ }),
1663
1761
  /**
1664
1762
  *
1665
1763
  * @summary 修改入园条款
@@ -1792,6 +1890,29 @@ export const AccessApiFp = function (configuration) {
1792
1890
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1793
1891
  });
1794
1892
  },
1893
+ /**
1894
+ *
1895
+ * @summary 导出出入预约记录
1896
+ * @param {number} parkId 园区ID
1897
+ * @param {string} [searchValue] 搜索值
1898
+ * @param {AccessAppointmentSourceEnum} [appointmentSource] 预约来源
1899
+ * @param {AccessDirectionEnum} [accessDirection] 出入方向
1900
+ * @param {Array<AccessVisitorPersonTypeEnum>} [accessVisitorPersonTypes] 访问人员类型
1901
+ * @param {Array<AccessAppointmentStatusEnum>} [appointmentStatuses] 预约状态
1902
+ * @param {string} [startTime] 预约开始时间
1903
+ * @param {string} [endTime] 预约结束时间
1904
+ * @param {*} [options] Override http request option.
1905
+ * @throws {RequiredError}
1906
+ */
1907
+ accessAppointmentRecordExport(parkId, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options) {
1908
+ return __awaiter(this, void 0, void 0, function* () {
1909
+ var _a, _b, _c;
1910
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordExport(parkId, searchValue, appointmentSource, accessDirection, accessVisitorPersonTypes, appointmentStatuses, startTime, endTime, options);
1911
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1912
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1913
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1914
+ });
1915
+ },
1795
1916
  /**
1796
1917
  *
1797
1918
  * @summary 查询出入预约记录流程详情
@@ -2468,6 +2589,21 @@ export const AccessApiFp = function (configuration) {
2468
2589
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2469
2590
  });
2470
2591
  },
2592
+ /**
2593
+ *
2594
+ * @param {AccessLaneSyncVo} accessLaneSyncVo
2595
+ * @param {*} [options] Override http request option.
2596
+ * @throws {RequiredError}
2597
+ */
2598
+ syncIotLane(accessLaneSyncVo, options) {
2599
+ return __awaiter(this, void 0, void 0, function* () {
2600
+ var _a, _b, _c;
2601
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.syncIotLane(accessLaneSyncVo, options);
2602
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2603
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.syncIotLane']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2604
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2605
+ });
2606
+ },
2471
2607
  /**
2472
2608
  *
2473
2609
  * @summary 修改入园条款
@@ -2541,6 +2677,16 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
2541
2677
  accessAppointmentRecordDetails(requestParameters, options) {
2542
2678
  return localVarFp.accessAppointmentRecordDetails(requestParameters.id, options).then((request) => request(axios, basePath));
2543
2679
  },
2680
+ /**
2681
+ *
2682
+ * @summary 导出出入预约记录
2683
+ * @param {AccessApiAccessAppointmentRecordExportRequest} requestParameters Request parameters.
2684
+ * @param {*} [options] Override http request option.
2685
+ * @throws {RequiredError}
2686
+ */
2687
+ accessAppointmentRecordExport(requestParameters, options) {
2688
+ return localVarFp.accessAppointmentRecordExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.appointmentSource, requestParameters.accessDirection, requestParameters.accessVisitorPersonTypes, requestParameters.appointmentStatuses, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
2689
+ },
2544
2690
  /**
2545
2691
  *
2546
2692
  * @summary 查询出入预约记录流程详情
@@ -2928,6 +3074,15 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
2928
3074
  selectStartUpAdmissionTerms(requestParameters, options) {
2929
3075
  return localVarFp.selectStartUpAdmissionTerms(requestParameters.parkId, requestParameters.type, options).then((request) => request(axios, basePath));
2930
3076
  },
3077
+ /**
3078
+ *
3079
+ * @param {AccessApiSyncIotLaneRequest} requestParameters Request parameters.
3080
+ * @param {*} [options] Override http request option.
3081
+ * @throws {RequiredError}
3082
+ */
3083
+ syncIotLane(requestParameters, options) {
3084
+ return localVarFp.syncIotLane(requestParameters.accessLaneSyncVo, options).then((request) => request(axios, basePath));
3085
+ },
2931
3086
  /**
2932
3087
  *
2933
3088
  * @summary 修改入园条款
@@ -2990,6 +3145,17 @@ export class AccessApi extends BaseAPI {
2990
3145
  accessAppointmentRecordDetails(requestParameters, options) {
2991
3146
  return AccessApiFp(this.configuration).accessAppointmentRecordDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2992
3147
  }
3148
+ /**
3149
+ *
3150
+ * @summary 导出出入预约记录
3151
+ * @param {AccessApiAccessAppointmentRecordExportRequest} requestParameters Request parameters.
3152
+ * @param {*} [options] Override http request option.
3153
+ * @throws {RequiredError}
3154
+ * @memberof AccessApi
3155
+ */
3156
+ accessAppointmentRecordExport(requestParameters, options) {
3157
+ return AccessApiFp(this.configuration).accessAppointmentRecordExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.appointmentSource, requestParameters.accessDirection, requestParameters.accessVisitorPersonTypes, requestParameters.appointmentStatuses, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
3158
+ }
2993
3159
  /**
2994
3160
  *
2995
3161
  * @summary 查询出入预约记录流程详情
@@ -3416,6 +3582,16 @@ export class AccessApi extends BaseAPI {
3416
3582
  selectStartUpAdmissionTerms(requestParameters, options) {
3417
3583
  return AccessApiFp(this.configuration).selectStartUpAdmissionTerms(requestParameters.parkId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
3418
3584
  }
3585
+ /**
3586
+ *
3587
+ * @param {AccessApiSyncIotLaneRequest} requestParameters Request parameters.
3588
+ * @param {*} [options] Override http request option.
3589
+ * @throws {RequiredError}
3590
+ * @memberof AccessApi
3591
+ */
3592
+ syncIotLane(requestParameters, options) {
3593
+ return AccessApiFp(this.configuration).syncIotLane(requestParameters.accessLaneSyncVo, options).then((request) => request(this.axios, this.basePath));
3594
+ }
3419
3595
  /**
3420
3596
  *
3421
3597
  * @summary 修改入园条款
@@ -0,0 +1,42 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * 查询车道信息
14
+ * @export
15
+ * @interface AccessLaneSyncVo
16
+ */
17
+ export interface AccessLaneSyncVo {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AccessLaneSyncVo
22
+ */
23
+ 'parkId'?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof AccessLaneSyncVo
28
+ */
29
+ 'page'?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof AccessLaneSyncVo
34
+ */
35
+ 'pageSize'?: number;
36
+ /**
37
+ * 1 停车场 2出入口 3车道
38
+ * @type {number}
39
+ * @memberof AccessLaneSyncVo
40
+ */
41
+ 'type'?: number;
42
+ }
@@ -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 {};
@@ -23,6 +23,7 @@ export * from './access-company-config-sort-vo';
23
23
  export * from './access-config-entity';
24
24
  export * from './access-config-vo';
25
25
  export * from './access-direction-enum';
26
+ export * from './access-lane-sync-vo';
26
27
  export * from './access-object-type-enum';
27
28
  export * from './access-reason-enum';
28
29
  export * from './access-record-details-dto';
@@ -23,6 +23,7 @@ export * from './access-company-config-sort-vo';
23
23
  export * from './access-config-entity';
24
24
  export * from './access-config-vo';
25
25
  export * from './access-direction-enum';
26
+ export * from './access-lane-sync-vo';
26
27
  export * from './access-object-type-enum';
27
28
  export * from './access-reason-enum';
28
29
  export * from './access-record-details-dto';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * 查询车道信息
14
+ * @export
15
+ * @interface AccessLaneSyncVo
16
+ */
17
+ export interface AccessLaneSyncVo {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AccessLaneSyncVo
22
+ */
23
+ 'parkId'?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof AccessLaneSyncVo
28
+ */
29
+ 'page'?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof AccessLaneSyncVo
34
+ */
35
+ 'pageSize'?: number;
36
+ /**
37
+ * 1 停车场 2出入口 3车道
38
+ * @type {number}
39
+ * @memberof AccessLaneSyncVo
40
+ */
41
+ 'type'?: number;
42
+ }
@@ -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 });
@@ -23,6 +23,7 @@ export * from './access-company-config-sort-vo';
23
23
  export * from './access-config-entity';
24
24
  export * from './access-config-vo';
25
25
  export * from './access-direction-enum';
26
+ export * from './access-lane-sync-vo';
26
27
  export * from './access-object-type-enum';
27
28
  export * from './access-reason-enum';
28
29
  export * from './access-record-details-dto';
@@ -39,6 +39,7 @@ __exportStar(require("./access-company-config-sort-vo"), exports);
39
39
  __exportStar(require("./access-config-entity"), exports);
40
40
  __exportStar(require("./access-config-vo"), exports);
41
41
  __exportStar(require("./access-direction-enum"), exports);
42
+ __exportStar(require("./access-lane-sync-vo"), exports);
42
43
  __exportStar(require("./access-object-type-enum"), exports);
43
44
  __exportStar(require("./access-reason-enum"), exports);
44
45
  __exportStar(require("./access-record-details-dto"), exports);
@@ -0,0 +1,48 @@
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
+
17
+ /**
18
+ * 查询车道信息
19
+ * @export
20
+ * @interface AccessLaneSyncVo
21
+ */
22
+ export interface AccessLaneSyncVo {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof AccessLaneSyncVo
27
+ */
28
+ 'parkId'?: number;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof AccessLaneSyncVo
33
+ */
34
+ 'page'?: number;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof AccessLaneSyncVo
39
+ */
40
+ 'pageSize'?: number;
41
+ /**
42
+ * 1 停车场 2出入口 3车道
43
+ * @type {number}
44
+ * @memberof AccessLaneSyncVo
45
+ */
46
+ 'type'?: number;
47
+ }
48
+
package/models/index.ts CHANGED
@@ -23,6 +23,7 @@ export * from './access-company-config-sort-vo';
23
23
  export * from './access-config-entity';
24
24
  export * from './access-config-vo';
25
25
  export * from './access-direction-enum';
26
+ export * from './access-lane-sync-vo';
26
27
  export * from './access-object-type-enum';
27
28
  export * from './access-reason-enum';
28
29
  export * from './access-record-details-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.0-alpha.333",
3
+ "version": "4.2.0-alpha.335",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {