@gizone/rrs-client 4.2.0-alpha.288 → 4.2.0-alpha.292

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.
@@ -38,18 +38,14 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
38
38
  /**
39
39
  *
40
40
  * @summary 批量新增设施设备
41
- * @param {number} parkId
42
41
  * @param {SyncEquipmentVo} syncEquipmentVo
43
42
  * @param {*} [options] Override http request option.
44
43
  * @throws {RequiredError}
45
44
  */
46
- openApiEquipmentBatchAdd: (parkId_1, syncEquipmentVo_1, ...args_1) => __awaiter(this, [parkId_1, syncEquipmentVo_1, ...args_1], void 0, function* (parkId, syncEquipmentVo, options = {}) {
47
- // verify required parameter 'parkId' is not null or undefined
48
- (0, common_1.assertParamExists)('openApiEquipmentBatchAdd', 'parkId', parkId);
45
+ openApiEquipmentBatchAdd: (syncEquipmentVo_1, ...args_1) => __awaiter(this, [syncEquipmentVo_1, ...args_1], void 0, function* (syncEquipmentVo, options = {}) {
49
46
  // verify required parameter 'syncEquipmentVo' is not null or undefined
50
47
  (0, common_1.assertParamExists)('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo);
51
- const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batch`
52
- .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
48
+ const localVarPath = `/openapi/v1/main/parks/equipment/batch`;
53
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
50
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55
51
  let baseOptions;
@@ -105,6 +101,40 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
105
101
  options: localVarRequestOptions,
106
102
  };
107
103
  }),
104
+ /**
105
+ *
106
+ * @summary 获取空间列表
107
+ * @param {string} famParkCode 园区编码
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ openApiSpaceList: (famParkCode_1, ...args_1) => __awaiter(this, [famParkCode_1, ...args_1], void 0, function* (famParkCode, options = {}) {
112
+ // verify required parameter 'famParkCode' is not null or undefined
113
+ (0, common_1.assertParamExists)('openApiSpaceList', 'famParkCode', famParkCode);
114
+ const localVarPath = `/openapi/v1/main/parks/space`;
115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ // authentication tokenScheme required
125
+ // http bearer authentication required
126
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
127
+ if (famParkCode !== undefined) {
128
+ localVarQueryParameter['famParkCode'] = famParkCode;
129
+ }
130
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
132
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
133
+ return {
134
+ url: (0, common_1.toPathString)(localVarUrlObj),
135
+ options: localVarRequestOptions,
136
+ };
137
+ }),
108
138
  /**
109
139
  *
110
140
  * @summary 获取监控列表
@@ -152,15 +182,14 @@ const OpenApiApiFp = function (configuration) {
152
182
  /**
153
183
  *
154
184
  * @summary 批量新增设施设备
155
- * @param {number} parkId
156
185
  * @param {SyncEquipmentVo} syncEquipmentVo
157
186
  * @param {*} [options] Override http request option.
158
187
  * @throws {RequiredError}
159
188
  */
160
- openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options) {
189
+ openApiEquipmentBatchAdd(syncEquipmentVo, options) {
161
190
  return __awaiter(this, void 0, void 0, function* () {
162
191
  var _a, _b, _c;
163
- const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options);
192
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
164
193
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
165
194
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
166
195
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -182,6 +211,22 @@ const OpenApiApiFp = function (configuration) {
182
211
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
183
212
  });
184
213
  },
214
+ /**
215
+ *
216
+ * @summary 获取空间列表
217
+ * @param {string} famParkCode 园区编码
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ openApiSpaceList(famParkCode, options) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ var _a, _b, _c;
224
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiSpaceList(famParkCode, options);
225
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
226
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiSpaceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
227
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
228
+ });
229
+ },
185
230
  /**
186
231
  *
187
232
  * @summary 获取监控列表
@@ -216,7 +261,7 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
216
261
  * @throws {RequiredError}
217
262
  */
218
263
  openApiEquipmentBatchAdd(requestParameters, options) {
219
- return localVarFp.openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
264
+ return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
220
265
  },
221
266
  /**
222
267
  *
@@ -228,6 +273,16 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
228
273
  openApiEquipmentBatchStatusSync(requestParameters, options) {
229
274
  return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
230
275
  },
276
+ /**
277
+ *
278
+ * @summary 获取空间列表
279
+ * @param {OpenApiApiOpenApiSpaceListRequest} requestParameters Request parameters.
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ openApiSpaceList(requestParameters, options) {
284
+ return localVarFp.openApiSpaceList(requestParameters.famParkCode, options).then((request) => request(axios, basePath));
285
+ },
231
286
  /**
232
287
  *
233
288
  * @summary 获取监控列表
@@ -257,7 +312,7 @@ class OpenApiApi extends base_1.BaseAPI {
257
312
  * @memberof OpenApiApi
258
313
  */
259
314
  openApiEquipmentBatchAdd(requestParameters, options) {
260
- return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
315
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
261
316
  }
262
317
  /**
263
318
  *
@@ -270,6 +325,17 @@ class OpenApiApi extends base_1.BaseAPI {
270
325
  openApiEquipmentBatchStatusSync(requestParameters, options) {
271
326
  return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
272
327
  }
328
+ /**
329
+ *
330
+ * @summary 获取空间列表
331
+ * @param {OpenApiApiOpenApiSpaceListRequest} requestParameters Request parameters.
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ * @memberof OpenApiApi
335
+ */
336
+ openApiSpaceList(requestParameters, options) {
337
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiSpaceList(requestParameters.famParkCode, options).then((request) => request(this.axios, this.basePath));
338
+ }
273
339
  /**
274
340
  *
275
341
  * @summary 获取监控列表
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { AccessCompanyConfigAddOrUpdateVo } from '../models';
16
+ import type { AccessCompanyConfigSortVo } from '../models';
16
17
  import type { AccessConfigVo } from '../models';
17
18
  import type { AccessVisitorPersonTypeConfigVo } from '../models';
18
19
  import type { AdmissionTermsRecordAddBO } from '../models';
@@ -40,6 +41,14 @@ export declare const AccessApiAxiosParamCreator: (configuration?: Configuration)
40
41
  * @throws {RequiredError}
41
42
  */
42
43
  accessCompanyConfigAdd: (accessCompanyConfigAddOrUpdateVo: AccessCompanyConfigAddOrUpdateVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ *
46
+ * @summary 批量更新出入访问公司排序
47
+ * @param {Array<AccessCompanyConfigSortVo>} accessCompanyConfigSortVo
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ accessCompanyConfigBatchUpdateSort: (accessCompanyConfigSortVo: Array<AccessCompanyConfigSortVo>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
52
  /**
44
53
  *
45
54
  * @summary 删除出入访问公司
@@ -172,6 +181,14 @@ export declare const AccessApiFp: (configuration?: Configuration) => {
172
181
  * @throws {RequiredError}
173
182
  */
174
183
  accessCompanyConfigAdd(accessCompanyConfigAddOrUpdateVo: AccessCompanyConfigAddOrUpdateVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
184
+ /**
185
+ *
186
+ * @summary 批量更新出入访问公司排序
187
+ * @param {Array<AccessCompanyConfigSortVo>} accessCompanyConfigSortVo
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ accessCompanyConfigBatchUpdateSort(accessCompanyConfigSortVo: Array<AccessCompanyConfigSortVo>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
175
192
  /**
176
193
  *
177
194
  * @summary 删除出入访问公司
@@ -304,6 +321,14 @@ export declare const AccessApiFactory: (configuration?: Configuration, basePath?
304
321
  * @throws {RequiredError}
305
322
  */
306
323
  accessCompanyConfigAdd(requestParameters: AccessApiAccessCompanyConfigAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
324
+ /**
325
+ *
326
+ * @summary 批量更新出入访问公司排序
327
+ * @param {AccessApiAccessCompanyConfigBatchUpdateSortRequest} requestParameters Request parameters.
328
+ * @param {*} [options] Override http request option.
329
+ * @throws {RequiredError}
330
+ */
331
+ accessCompanyConfigBatchUpdateSort(requestParameters: AccessApiAccessCompanyConfigBatchUpdateSortRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
307
332
  /**
308
333
  *
309
334
  * @summary 删除出入访问公司
@@ -430,6 +455,19 @@ export interface AccessApiAccessCompanyConfigAddRequest {
430
455
  */
431
456
  readonly accessCompanyConfigAddOrUpdateVo: AccessCompanyConfigAddOrUpdateVo;
432
457
  }
458
+ /**
459
+ * Request parameters for accessCompanyConfigBatchUpdateSort operation in AccessApi.
460
+ * @export
461
+ * @interface AccessApiAccessCompanyConfigBatchUpdateSortRequest
462
+ */
463
+ export interface AccessApiAccessCompanyConfigBatchUpdateSortRequest {
464
+ /**
465
+ *
466
+ * @type {Array<AccessCompanyConfigSortVo>}
467
+ * @memberof AccessApiAccessCompanyConfigBatchUpdateSort
468
+ */
469
+ readonly accessCompanyConfigSortVo: Array<AccessCompanyConfigSortVo>;
470
+ }
433
471
  /**
434
472
  * Request parameters for accessCompanyConfigDelete operation in AccessApi.
435
473
  * @export
@@ -664,6 +702,15 @@ export declare class AccessApi extends BaseAPI {
664
702
  * @memberof AccessApi
665
703
  */
666
704
  accessCompanyConfigAdd(requestParameters: AccessApiAccessCompanyConfigAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
705
+ /**
706
+ *
707
+ * @summary 批量更新出入访问公司排序
708
+ * @param {AccessApiAccessCompanyConfigBatchUpdateSortRequest} requestParameters Request parameters.
709
+ * @param {*} [options] Override http request option.
710
+ * @throws {RequiredError}
711
+ * @memberof AccessApi
712
+ */
713
+ accessCompanyConfigBatchUpdateSort(requestParameters: AccessApiAccessCompanyConfigBatchUpdateSortRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
667
714
  /**
668
715
  *
669
716
  * @summary 删除出入访问公司
@@ -65,6 +65,39 @@ export const AccessApiAxiosParamCreator = function (configuration) {
65
65
  options: localVarRequestOptions,
66
66
  };
67
67
  }),
68
+ /**
69
+ *
70
+ * @summary 批量更新出入访问公司排序
71
+ * @param {Array<AccessCompanyConfigSortVo>} accessCompanyConfigSortVo
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ accessCompanyConfigBatchUpdateSort: (accessCompanyConfigSortVo_1, ...args_1) => __awaiter(this, [accessCompanyConfigSortVo_1, ...args_1], void 0, function* (accessCompanyConfigSortVo, options = {}) {
76
+ // verify required parameter 'accessCompanyConfigSortVo' is not null or undefined
77
+ assertParamExists('accessCompanyConfigBatchUpdateSort', 'accessCompanyConfigSortVo', accessCompanyConfigSortVo);
78
+ const localVarPath = `/access/company-config/batch/sort`;
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: 'PUT' }, 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(accessCompanyConfigSortVo, localVarRequestOptions, configuration);
96
+ return {
97
+ url: toPathString(localVarUrlObj),
98
+ options: localVarRequestOptions,
99
+ };
100
+ }),
68
101
  /**
69
102
  *
70
103
  * @summary 删除出入访问公司
@@ -576,6 +609,22 @@ export const AccessApiFp = function (configuration) {
576
609
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
577
610
  });
578
611
  },
612
+ /**
613
+ *
614
+ * @summary 批量更新出入访问公司排序
615
+ * @param {Array<AccessCompanyConfigSortVo>} accessCompanyConfigSortVo
616
+ * @param {*} [options] Override http request option.
617
+ * @throws {RequiredError}
618
+ */
619
+ accessCompanyConfigBatchUpdateSort(accessCompanyConfigSortVo, options) {
620
+ return __awaiter(this, void 0, void 0, function* () {
621
+ var _a, _b, _c;
622
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accessCompanyConfigBatchUpdateSort(accessCompanyConfigSortVo, options);
623
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
624
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessCompanyConfigBatchUpdateSort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
625
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
626
+ });
627
+ },
579
628
  /**
580
629
  *
581
630
  * @summary 删除出入访问公司
@@ -825,6 +874,16 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
825
874
  accessCompanyConfigAdd(requestParameters, options) {
826
875
  return localVarFp.accessCompanyConfigAdd(requestParameters.accessCompanyConfigAddOrUpdateVo, options).then((request) => request(axios, basePath));
827
876
  },
877
+ /**
878
+ *
879
+ * @summary 批量更新出入访问公司排序
880
+ * @param {AccessApiAccessCompanyConfigBatchUpdateSortRequest} requestParameters Request parameters.
881
+ * @param {*} [options] Override http request option.
882
+ * @throws {RequiredError}
883
+ */
884
+ accessCompanyConfigBatchUpdateSort(requestParameters, options) {
885
+ return localVarFp.accessCompanyConfigBatchUpdateSort(requestParameters.accessCompanyConfigSortVo, options).then((request) => request(axios, basePath));
886
+ },
828
887
  /**
829
888
  *
830
889
  * @summary 删除出入访问公司
@@ -985,6 +1044,17 @@ export class AccessApi extends BaseAPI {
985
1044
  accessCompanyConfigAdd(requestParameters, options) {
986
1045
  return AccessApiFp(this.configuration).accessCompanyConfigAdd(requestParameters.accessCompanyConfigAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
987
1046
  }
1047
+ /**
1048
+ *
1049
+ * @summary 批量更新出入访问公司排序
1050
+ * @param {AccessApiAccessCompanyConfigBatchUpdateSortRequest} requestParameters Request parameters.
1051
+ * @param {*} [options] Override http request option.
1052
+ * @throws {RequiredError}
1053
+ * @memberof AccessApi
1054
+ */
1055
+ accessCompanyConfigBatchUpdateSort(requestParameters, options) {
1056
+ return AccessApiFp(this.configuration).accessCompanyConfigBatchUpdateSort(requestParameters.accessCompanyConfigSortVo, options).then((request) => request(this.axios, this.basePath));
1057
+ }
988
1058
  /**
989
1059
  *
990
1060
  * @summary 删除出入访问公司
@@ -12,6 +12,7 @@
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 { JsonResultJsonResultListSpaceTreeDTO } from '../models';
15
16
  import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
16
17
  import type { JsonResultVoid } from '../models';
17
18
  import type { SyncEquipmentStatusVo } from '../models';
@@ -24,12 +25,11 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
24
25
  /**
25
26
  *
26
27
  * @summary 批量新增设施设备
27
- * @param {number} parkId
28
28
  * @param {SyncEquipmentVo} syncEquipmentVo
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
31
31
  */
32
- openApiEquipmentBatchAdd: (parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ openApiEquipmentBatchAdd: (syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
34
  *
35
35
  * @summary 批量更新设施设备状态
@@ -38,6 +38,14 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
38
38
  * @throws {RequiredError}
39
39
  */
40
40
  openApiEquipmentBatchStatusSync: (syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ *
43
+ * @summary 获取空间列表
44
+ * @param {string} famParkCode 园区编码
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ openApiSpaceList: (famParkCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
49
  /**
42
50
  *
43
51
  * @summary 获取监控列表
@@ -55,12 +63,11 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
55
63
  /**
56
64
  *
57
65
  * @summary 批量新增设施设备
58
- * @param {number} parkId
59
66
  * @param {SyncEquipmentVo} syncEquipmentVo
60
67
  * @param {*} [options] Override http request option.
61
68
  * @throws {RequiredError}
62
69
  */
63
- openApiEquipmentBatchAdd(parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
70
+ openApiEquipmentBatchAdd(syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
64
71
  /**
65
72
  *
66
73
  * @summary 批量更新设施设备状态
@@ -69,6 +76,14 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
69
76
  * @throws {RequiredError}
70
77
  */
71
78
  openApiEquipmentBatchStatusSync(syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
79
+ /**
80
+ *
81
+ * @summary 获取空间列表
82
+ * @param {string} famParkCode 园区编码
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ openApiSpaceList(famParkCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultJsonResultListSpaceTreeDTO>>;
72
87
  /**
73
88
  *
74
89
  * @summary 获取监控列表
@@ -99,6 +114,14 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
99
114
  * @throws {RequiredError}
100
115
  */
101
116
  openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
117
+ /**
118
+ *
119
+ * @summary 获取空间列表
120
+ * @param {OpenApiApiOpenApiSpaceListRequest} requestParameters Request parameters.
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ openApiSpaceList(requestParameters: OpenApiApiOpenApiSpaceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultJsonResultListSpaceTreeDTO>;
102
125
  /**
103
126
  *
104
127
  * @summary 获取监控列表
@@ -114,12 +137,6 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
114
137
  * @interface OpenApiApiOpenApiEquipmentBatchAddRequest
115
138
  */
116
139
  export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
117
- /**
118
- *
119
- * @type {number}
120
- * @memberof OpenApiApiOpenApiEquipmentBatchAdd
121
- */
122
- readonly parkId: number;
123
140
  /**
124
141
  *
125
142
  * @type {SyncEquipmentVo}
@@ -140,6 +157,19 @@ export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
140
157
  */
141
158
  readonly syncEquipmentStatusVo: SyncEquipmentStatusVo;
142
159
  }
160
+ /**
161
+ * Request parameters for openApiSpaceList operation in OpenApiApi.
162
+ * @export
163
+ * @interface OpenApiApiOpenApiSpaceListRequest
164
+ */
165
+ export interface OpenApiApiOpenApiSpaceListRequest {
166
+ /**
167
+ * 园区编码
168
+ * @type {string}
169
+ * @memberof OpenApiApiOpenApiSpaceList
170
+ */
171
+ readonly famParkCode: string;
172
+ }
143
173
  /**
144
174
  * Request parameters for openApiSurveillanceList operation in OpenApiApi.
145
175
  * @export
@@ -178,6 +208,15 @@ export declare class OpenApiApi extends BaseAPI {
178
208
  * @memberof OpenApiApi
179
209
  */
180
210
  openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
211
+ /**
212
+ *
213
+ * @summary 获取空间列表
214
+ * @param {OpenApiApiOpenApiSpaceListRequest} requestParameters Request parameters.
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ * @memberof OpenApiApi
218
+ */
219
+ openApiSpaceList(requestParameters: OpenApiApiOpenApiSpaceListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultJsonResultListSpaceTreeDTO, any>>;
181
220
  /**
182
221
  *
183
222
  * @summary 获取监控列表
@@ -35,18 +35,14 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
35
35
  /**
36
36
  *
37
37
  * @summary 批量新增设施设备
38
- * @param {number} parkId
39
38
  * @param {SyncEquipmentVo} syncEquipmentVo
40
39
  * @param {*} [options] Override http request option.
41
40
  * @throws {RequiredError}
42
41
  */
43
- openApiEquipmentBatchAdd: (parkId_1, syncEquipmentVo_1, ...args_1) => __awaiter(this, [parkId_1, syncEquipmentVo_1, ...args_1], void 0, function* (parkId, syncEquipmentVo, options = {}) {
44
- // verify required parameter 'parkId' is not null or undefined
45
- assertParamExists('openApiEquipmentBatchAdd', 'parkId', parkId);
42
+ openApiEquipmentBatchAdd: (syncEquipmentVo_1, ...args_1) => __awaiter(this, [syncEquipmentVo_1, ...args_1], void 0, function* (syncEquipmentVo, options = {}) {
46
43
  // verify required parameter 'syncEquipmentVo' is not null or undefined
47
44
  assertParamExists('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo);
48
- const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batch`
49
- .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
45
+ const localVarPath = `/openapi/v1/main/parks/equipment/batch`;
50
46
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
47
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52
48
  let baseOptions;
@@ -102,6 +98,40 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
102
98
  options: localVarRequestOptions,
103
99
  };
104
100
  }),
101
+ /**
102
+ *
103
+ * @summary 获取空间列表
104
+ * @param {string} famParkCode 园区编码
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ openApiSpaceList: (famParkCode_1, ...args_1) => __awaiter(this, [famParkCode_1, ...args_1], void 0, function* (famParkCode, options = {}) {
109
+ // verify required parameter 'famParkCode' is not null or undefined
110
+ assertParamExists('openApiSpaceList', 'famParkCode', famParkCode);
111
+ const localVarPath = `/openapi/v1/main/parks/space`;
112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
114
+ let baseOptions;
115
+ if (configuration) {
116
+ baseOptions = configuration.baseOptions;
117
+ }
118
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
119
+ const localVarHeaderParameter = {};
120
+ const localVarQueryParameter = {};
121
+ // authentication tokenScheme required
122
+ // http bearer authentication required
123
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
124
+ if (famParkCode !== undefined) {
125
+ localVarQueryParameter['famParkCode'] = famParkCode;
126
+ }
127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
130
+ return {
131
+ url: toPathString(localVarUrlObj),
132
+ options: localVarRequestOptions,
133
+ };
134
+ }),
105
135
  /**
106
136
  *
107
137
  * @summary 获取监控列表
@@ -148,15 +178,14 @@ export const OpenApiApiFp = function (configuration) {
148
178
  /**
149
179
  *
150
180
  * @summary 批量新增设施设备
151
- * @param {number} parkId
152
181
  * @param {SyncEquipmentVo} syncEquipmentVo
153
182
  * @param {*} [options] Override http request option.
154
183
  * @throws {RequiredError}
155
184
  */
156
- openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options) {
185
+ openApiEquipmentBatchAdd(syncEquipmentVo, options) {
157
186
  return __awaiter(this, void 0, void 0, function* () {
158
187
  var _a, _b, _c;
159
- const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options);
188
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
160
189
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
161
190
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
162
191
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -178,6 +207,22 @@ export const OpenApiApiFp = function (configuration) {
178
207
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
179
208
  });
180
209
  },
210
+ /**
211
+ *
212
+ * @summary 获取空间列表
213
+ * @param {string} famParkCode 园区编码
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ openApiSpaceList(famParkCode, options) {
218
+ return __awaiter(this, void 0, void 0, function* () {
219
+ var _a, _b, _c;
220
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiSpaceList(famParkCode, options);
221
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
222
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiSpaceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
223
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
224
+ });
225
+ },
181
226
  /**
182
227
  *
183
228
  * @summary 获取监控列表
@@ -211,7 +256,7 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
211
256
  * @throws {RequiredError}
212
257
  */
213
258
  openApiEquipmentBatchAdd(requestParameters, options) {
214
- return localVarFp.openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
259
+ return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
215
260
  },
216
261
  /**
217
262
  *
@@ -223,6 +268,16 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
223
268
  openApiEquipmentBatchStatusSync(requestParameters, options) {
224
269
  return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
225
270
  },
271
+ /**
272
+ *
273
+ * @summary 获取空间列表
274
+ * @param {OpenApiApiOpenApiSpaceListRequest} requestParameters Request parameters.
275
+ * @param {*} [options] Override http request option.
276
+ * @throws {RequiredError}
277
+ */
278
+ openApiSpaceList(requestParameters, options) {
279
+ return localVarFp.openApiSpaceList(requestParameters.famParkCode, options).then((request) => request(axios, basePath));
280
+ },
226
281
  /**
227
282
  *
228
283
  * @summary 获取监控列表
@@ -251,7 +306,7 @@ export class OpenApiApi extends BaseAPI {
251
306
  * @memberof OpenApiApi
252
307
  */
253
308
  openApiEquipmentBatchAdd(requestParameters, options) {
254
- return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
309
+ return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
255
310
  }
256
311
  /**
257
312
  *
@@ -264,6 +319,17 @@ export class OpenApiApi extends BaseAPI {
264
319
  openApiEquipmentBatchStatusSync(requestParameters, options) {
265
320
  return OpenApiApiFp(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
266
321
  }
322
+ /**
323
+ *
324
+ * @summary 获取空间列表
325
+ * @param {OpenApiApiOpenApiSpaceListRequest} requestParameters Request parameters.
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ * @memberof OpenApiApi
329
+ */
330
+ openApiSpaceList(requestParameters, options) {
331
+ return OpenApiApiFp(this.configuration).openApiSpaceList(requestParameters.famParkCode, options).then((request) => request(this.axios, this.basePath));
332
+ }
267
333
  /**
268
334
  *
269
335
  * @summary 获取监控列表
@@ -0,0 +1,30 @@
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
+ * 公司配置排序Vo
14
+ * @export
15
+ * @interface AccessCompanyConfigSortVo
16
+ */
17
+ export interface AccessCompanyConfigSortVo {
18
+ /**
19
+ * 公司配置ID
20
+ * @type {number}
21
+ * @memberof AccessCompanyConfigSortVo
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * 排序 数字越小越靠前
26
+ * @type {number}
27
+ * @memberof AccessCompanyConfigSortVo
28
+ */
29
+ 'sort'?: number;
30
+ }
@@ -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 {};