@gizone/rrs-client 4.1.3-alpha.189 → 4.1.3-alpha.191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/apis/common-api.ts +210 -0
- package/dist/apis/common-api.d.ts +111 -0
- package/dist/apis/common-api.js +150 -0
- package/dist/esm/apis/common-api.d.ts +111 -0
- package/dist/esm/apis/common-api.js +150 -0
- package/dist/esm/models/center-list-dto.d.ts +37 -0
- package/dist/esm/models/center-list-dto.js +14 -0
- package/dist/esm/models/dept-relation-dto.d.ts +18 -0
- package/dist/esm/models/dept-relation.d.ts +18 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +8 -8
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/ipage-access-vo.d.ts +4 -4
- package/dist/esm/models/json-result-list-center-list-dto.d.ts +62 -0
- package/dist/esm/models/json-result-list-center-list-dto.js +14 -0
- package/dist/esm/models/json-result-list-park-list-dto.d.ts +62 -0
- package/dist/esm/models/json-result-list-park-list-dto.js +14 -0
- package/dist/esm/models/park-list-dto.d.ts +54 -0
- package/dist/esm/models/park-list-dto.js +14 -0
- package/dist/models/center-list-dto.d.ts +37 -0
- package/dist/models/center-list-dto.js +15 -0
- package/dist/models/dept-relation-dto.d.ts +18 -0
- package/dist/models/dept-relation.d.ts +18 -0
- package/dist/models/get-user-wx200-response.d.ts +8 -8
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/ipage-access-vo.d.ts +4 -4
- package/dist/models/json-result-list-center-list-dto.d.ts +62 -0
- package/dist/models/json-result-list-center-list-dto.js +15 -0
- package/dist/models/json-result-list-park-list-dto.d.ts +62 -0
- package/dist/models/json-result-list-park-list-dto.js +15 -0
- package/dist/models/park-list-dto.d.ts +54 -0
- package/dist/models/park-list-dto.js +15 -0
- package/models/center-list-dto.ts +47 -0
- package/models/dept-relation-dto.ts +18 -0
- package/models/dept-relation.ts +18 -0
- package/models/get-user-wx200-response.ts +8 -8
- package/models/index.ts +4 -0
- package/models/ipage-access-vo.ts +4 -4
- package/models/json-result-list-center-list-dto.ts +72 -0
- package/models/json-result-list-park-list-dto.ts +72 -0
- package/models/park-list-dto.ts +60 -0
- package/package.json +1 -1
|
@@ -14,7 +14,9 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { JsonResult } from '../models';
|
|
16
16
|
import type { JsonResultFileDTO } from '../models';
|
|
17
|
+
import type { JsonResultListCenterListDTO } from '../models';
|
|
17
18
|
import type { JsonResultListParkDropDownBoxDTO } from '../models';
|
|
19
|
+
import type { JsonResultListParkListDTO } from '../models';
|
|
18
20
|
import type { JsonResultListSysDept } from '../models';
|
|
19
21
|
import type { JsonResultListSysDeptDropDownBoxListDTO } from '../models';
|
|
20
22
|
import type { JsonResultParkInfoDTO } from '../models';
|
|
@@ -23,6 +25,7 @@ import type { JsonResultString } from '../models';
|
|
|
23
25
|
import type { JsonResultSysDept } from '../models';
|
|
24
26
|
import type { JsonResultVoid } from '../models';
|
|
25
27
|
import type { ParkInfoEditVO } from '../models';
|
|
28
|
+
import type { ParkPlatFormEnum } from '../models';
|
|
26
29
|
import type { ParkSettingsVO } from '../models';
|
|
27
30
|
import type { SysDept } from '../models';
|
|
28
31
|
import type { SysDeptDropDownVO } from '../models';
|
|
@@ -310,6 +313,24 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
310
313
|
* @throws {RequiredError}
|
|
311
314
|
*/
|
|
312
315
|
resourceDownload: (resource: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @summary 查询中心列表
|
|
319
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
320
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
selectCenterList: (isSrm: boolean, platForm?: ParkPlatFormEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @summary 查询园区列表(无权限验证)
|
|
328
|
+
* @param {string} [centerCode] 中心编码
|
|
329
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
selectParkList: (centerCode?: string, isSrm?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
313
334
|
/**
|
|
314
335
|
*
|
|
315
336
|
* @param {SysDept} sysDept
|
|
@@ -677,6 +698,24 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
|
677
698
|
* @throws {RequiredError}
|
|
678
699
|
*/
|
|
679
700
|
resourceDownload(resource: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
701
|
+
/**
|
|
702
|
+
*
|
|
703
|
+
* @summary 查询中心列表
|
|
704
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
705
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
selectCenterList(isSrm: boolean, platForm?: ParkPlatFormEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListCenterListDTO>>;
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @summary 查询园区列表(无权限验证)
|
|
713
|
+
* @param {string} [centerCode] 中心编码
|
|
714
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
selectParkList(centerCode?: string, isSrm?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
|
|
680
719
|
/**
|
|
681
720
|
*
|
|
682
721
|
* @param {SysDept} sysDept
|
|
@@ -1048,6 +1087,22 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
|
|
|
1048
1087
|
* @throws {RequiredError}
|
|
1049
1088
|
*/
|
|
1050
1089
|
resourceDownload(requestParameters: CommonApiResourceDownloadRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* @summary 查询中心列表
|
|
1093
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
1094
|
+
* @param {*} [options] Override http request option.
|
|
1095
|
+
* @throws {RequiredError}
|
|
1096
|
+
*/
|
|
1097
|
+
selectCenterList(requestParameters: CommonApiSelectCenterListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListCenterListDTO>;
|
|
1098
|
+
/**
|
|
1099
|
+
*
|
|
1100
|
+
* @summary 查询园区列表(无权限验证)
|
|
1101
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
*/
|
|
1105
|
+
selectParkList(requestParameters?: CommonApiSelectParkListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO>;
|
|
1051
1106
|
/**
|
|
1052
1107
|
*
|
|
1053
1108
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -1575,6 +1630,44 @@ export interface CommonApiResourceDownloadRequest {
|
|
|
1575
1630
|
*/
|
|
1576
1631
|
readonly resource: string;
|
|
1577
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
* Request parameters for selectCenterList operation in CommonApi.
|
|
1635
|
+
* @export
|
|
1636
|
+
* @interface CommonApiSelectCenterListRequest
|
|
1637
|
+
*/
|
|
1638
|
+
export interface CommonApiSelectCenterListRequest {
|
|
1639
|
+
/**
|
|
1640
|
+
* 是否查询srm数据
|
|
1641
|
+
* @type {boolean}
|
|
1642
|
+
* @memberof CommonApiSelectCenterList
|
|
1643
|
+
*/
|
|
1644
|
+
readonly isSrm: boolean;
|
|
1645
|
+
/**
|
|
1646
|
+
* 平台
|
|
1647
|
+
* @type {ParkPlatFormEnum}
|
|
1648
|
+
* @memberof CommonApiSelectCenterList
|
|
1649
|
+
*/
|
|
1650
|
+
readonly platForm?: ParkPlatFormEnum;
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* Request parameters for selectParkList operation in CommonApi.
|
|
1654
|
+
* @export
|
|
1655
|
+
* @interface CommonApiSelectParkListRequest
|
|
1656
|
+
*/
|
|
1657
|
+
export interface CommonApiSelectParkListRequest {
|
|
1658
|
+
/**
|
|
1659
|
+
* 中心编码
|
|
1660
|
+
* @type {string}
|
|
1661
|
+
* @memberof CommonApiSelectParkList
|
|
1662
|
+
*/
|
|
1663
|
+
readonly centerCode?: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* 是否查询srm数据
|
|
1666
|
+
* @type {boolean}
|
|
1667
|
+
* @memberof CommonApiSelectParkList
|
|
1668
|
+
*/
|
|
1669
|
+
readonly isSrm?: boolean;
|
|
1670
|
+
}
|
|
1578
1671
|
/**
|
|
1579
1672
|
* Request parameters for updateDept operation in CommonApi.
|
|
1580
1673
|
* @export
|
|
@@ -2015,6 +2108,24 @@ export declare class CommonApi extends BaseAPI {
|
|
|
2015
2108
|
* @memberof CommonApi
|
|
2016
2109
|
*/
|
|
2017
2110
|
resourceDownload(requestParameters: CommonApiResourceDownloadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2111
|
+
/**
|
|
2112
|
+
*
|
|
2113
|
+
* @summary 查询中心列表
|
|
2114
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
2115
|
+
* @param {*} [options] Override http request option.
|
|
2116
|
+
* @throws {RequiredError}
|
|
2117
|
+
* @memberof CommonApi
|
|
2118
|
+
*/
|
|
2119
|
+
selectCenterList(requestParameters: CommonApiSelectCenterListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListCenterListDTO, any>>;
|
|
2120
|
+
/**
|
|
2121
|
+
*
|
|
2122
|
+
* @summary 查询园区列表(无权限验证)
|
|
2123
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
2124
|
+
* @param {*} [options] Override http request option.
|
|
2125
|
+
* @throws {RequiredError}
|
|
2126
|
+
* @memberof CommonApi
|
|
2127
|
+
*/
|
|
2128
|
+
selectParkList(requestParameters?: CommonApiSelectParkListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListParkListDTO, any>>;
|
|
2018
2129
|
/**
|
|
2019
2130
|
*
|
|
2020
2131
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -1260,6 +1260,80 @@ export const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1260
1260
|
options: localVarRequestOptions,
|
|
1261
1261
|
};
|
|
1262
1262
|
}),
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @summary 查询中心列表
|
|
1266
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
1267
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
1268
|
+
* @param {*} [options] Override http request option.
|
|
1269
|
+
* @throws {RequiredError}
|
|
1270
|
+
*/
|
|
1271
|
+
selectCenterList: (isSrm_1, platForm_1, ...args_1) => __awaiter(this, [isSrm_1, platForm_1, ...args_1], void 0, function* (isSrm, platForm, options = {}) {
|
|
1272
|
+
// verify required parameter 'isSrm' is not null or undefined
|
|
1273
|
+
assertParamExists('selectCenterList', 'isSrm', isSrm);
|
|
1274
|
+
const localVarPath = `/system/dept/center`;
|
|
1275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1277
|
+
let baseOptions;
|
|
1278
|
+
if (configuration) {
|
|
1279
|
+
baseOptions = configuration.baseOptions;
|
|
1280
|
+
}
|
|
1281
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1282
|
+
const localVarHeaderParameter = {};
|
|
1283
|
+
const localVarQueryParameter = {};
|
|
1284
|
+
// authentication tokenScheme required
|
|
1285
|
+
// http bearer authentication required
|
|
1286
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1287
|
+
if (platForm !== undefined) {
|
|
1288
|
+
localVarQueryParameter['platForm'] = platForm;
|
|
1289
|
+
}
|
|
1290
|
+
if (isSrm !== undefined) {
|
|
1291
|
+
localVarQueryParameter['isSrm'] = isSrm;
|
|
1292
|
+
}
|
|
1293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1294
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1295
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1296
|
+
return {
|
|
1297
|
+
url: toPathString(localVarUrlObj),
|
|
1298
|
+
options: localVarRequestOptions,
|
|
1299
|
+
};
|
|
1300
|
+
}),
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @summary 查询园区列表(无权限验证)
|
|
1304
|
+
* @param {string} [centerCode] 中心编码
|
|
1305
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
selectParkList: (centerCode_1, isSrm_1, ...args_1) => __awaiter(this, [centerCode_1, isSrm_1, ...args_1], void 0, function* (centerCode, isSrm, options = {}) {
|
|
1310
|
+
const localVarPath = `/system/dept/park`;
|
|
1311
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1312
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1313
|
+
let baseOptions;
|
|
1314
|
+
if (configuration) {
|
|
1315
|
+
baseOptions = configuration.baseOptions;
|
|
1316
|
+
}
|
|
1317
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1318
|
+
const localVarHeaderParameter = {};
|
|
1319
|
+
const localVarQueryParameter = {};
|
|
1320
|
+
// authentication tokenScheme required
|
|
1321
|
+
// http bearer authentication required
|
|
1322
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1323
|
+
if (centerCode !== undefined) {
|
|
1324
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
1325
|
+
}
|
|
1326
|
+
if (isSrm !== undefined) {
|
|
1327
|
+
localVarQueryParameter['isSrm'] = isSrm;
|
|
1328
|
+
}
|
|
1329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1331
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1332
|
+
return {
|
|
1333
|
+
url: toPathString(localVarUrlObj),
|
|
1334
|
+
options: localVarRequestOptions,
|
|
1335
|
+
};
|
|
1336
|
+
}),
|
|
1263
1337
|
/**
|
|
1264
1338
|
*
|
|
1265
1339
|
* @param {SysDept} sysDept
|
|
@@ -2070,6 +2144,40 @@ export const CommonApiFp = function (configuration) {
|
|
|
2070
2144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2071
2145
|
});
|
|
2072
2146
|
},
|
|
2147
|
+
/**
|
|
2148
|
+
*
|
|
2149
|
+
* @summary 查询中心列表
|
|
2150
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
2151
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
2152
|
+
* @param {*} [options] Override http request option.
|
|
2153
|
+
* @throws {RequiredError}
|
|
2154
|
+
*/
|
|
2155
|
+
selectCenterList(isSrm, platForm, options) {
|
|
2156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2157
|
+
var _a, _b, _c;
|
|
2158
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectCenterList(isSrm, platForm, options);
|
|
2159
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2160
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.selectCenterList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2161
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2162
|
+
});
|
|
2163
|
+
},
|
|
2164
|
+
/**
|
|
2165
|
+
*
|
|
2166
|
+
* @summary 查询园区列表(无权限验证)
|
|
2167
|
+
* @param {string} [centerCode] 中心编码
|
|
2168
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
2169
|
+
* @param {*} [options] Override http request option.
|
|
2170
|
+
* @throws {RequiredError}
|
|
2171
|
+
*/
|
|
2172
|
+
selectParkList(centerCode, isSrm, options) {
|
|
2173
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2174
|
+
var _a, _b, _c;
|
|
2175
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkList(centerCode, isSrm, options);
|
|
2176
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2177
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.selectParkList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2178
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2179
|
+
});
|
|
2180
|
+
},
|
|
2073
2181
|
/**
|
|
2074
2182
|
*
|
|
2075
2183
|
* @param {SysDept} sysDept
|
|
@@ -2532,6 +2640,26 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
|
|
|
2532
2640
|
resourceDownload(requestParameters, options) {
|
|
2533
2641
|
return localVarFp.resourceDownload(requestParameters.resource, options).then((request) => request(axios, basePath));
|
|
2534
2642
|
},
|
|
2643
|
+
/**
|
|
2644
|
+
*
|
|
2645
|
+
* @summary 查询中心列表
|
|
2646
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
2647
|
+
* @param {*} [options] Override http request option.
|
|
2648
|
+
* @throws {RequiredError}
|
|
2649
|
+
*/
|
|
2650
|
+
selectCenterList(requestParameters, options) {
|
|
2651
|
+
return localVarFp.selectCenterList(requestParameters.isSrm, requestParameters.platForm, options).then((request) => request(axios, basePath));
|
|
2652
|
+
},
|
|
2653
|
+
/**
|
|
2654
|
+
*
|
|
2655
|
+
* @summary 查询园区列表(无权限验证)
|
|
2656
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
2657
|
+
* @param {*} [options] Override http request option.
|
|
2658
|
+
* @throws {RequiredError}
|
|
2659
|
+
*/
|
|
2660
|
+
selectParkList(requestParameters = {}, options) {
|
|
2661
|
+
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, options).then((request) => request(axios, basePath));
|
|
2662
|
+
},
|
|
2535
2663
|
/**
|
|
2536
2664
|
*
|
|
2537
2665
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -2989,6 +3117,28 @@ export class CommonApi extends BaseAPI {
|
|
|
2989
3117
|
resourceDownload(requestParameters, options) {
|
|
2990
3118
|
return CommonApiFp(this.configuration).resourceDownload(requestParameters.resource, options).then((request) => request(this.axios, this.basePath));
|
|
2991
3119
|
}
|
|
3120
|
+
/**
|
|
3121
|
+
*
|
|
3122
|
+
* @summary 查询中心列表
|
|
3123
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
3124
|
+
* @param {*} [options] Override http request option.
|
|
3125
|
+
* @throws {RequiredError}
|
|
3126
|
+
* @memberof CommonApi
|
|
3127
|
+
*/
|
|
3128
|
+
selectCenterList(requestParameters, options) {
|
|
3129
|
+
return CommonApiFp(this.configuration).selectCenterList(requestParameters.isSrm, requestParameters.platForm, options).then((request) => request(this.axios, this.basePath));
|
|
3130
|
+
}
|
|
3131
|
+
/**
|
|
3132
|
+
*
|
|
3133
|
+
* @summary 查询园区列表(无权限验证)
|
|
3134
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
3135
|
+
* @param {*} [options] Override http request option.
|
|
3136
|
+
* @throws {RequiredError}
|
|
3137
|
+
* @memberof CommonApi
|
|
3138
|
+
*/
|
|
3139
|
+
selectParkList(requestParameters = {}, options) {
|
|
3140
|
+
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, options).then((request) => request(this.axios, this.basePath));
|
|
3141
|
+
}
|
|
2992
3142
|
/**
|
|
2993
3143
|
*
|
|
2994
3144
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { ParkPlatFormEnum } from './park-plat-form-enum';
|
|
13
|
+
/**
|
|
14
|
+
* 中心详情
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CenterListDTO
|
|
17
|
+
*/
|
|
18
|
+
export interface CenterListDTO {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ParkPlatFormEnum}
|
|
22
|
+
* @memberof CenterListDTO
|
|
23
|
+
*/
|
|
24
|
+
'platForm'?: ParkPlatFormEnum;
|
|
25
|
+
/**
|
|
26
|
+
* 所属中心
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CenterListDTO
|
|
29
|
+
*/
|
|
30
|
+
'center'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* 中心名称
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CenterListDTO
|
|
35
|
+
*/
|
|
36
|
+
'centerCode'?: string;
|
|
37
|
+
}
|
|
@@ -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 {};
|
|
@@ -137,4 +137,22 @@ export interface DeptRelationDTO {
|
|
|
137
137
|
* @memberof DeptRelationDTO
|
|
138
138
|
*/
|
|
139
139
|
'parkRentalArea'?: string;
|
|
140
|
+
/**
|
|
141
|
+
* 中心编码
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof DeptRelationDTO
|
|
144
|
+
*/
|
|
145
|
+
'centerCode'?: string;
|
|
146
|
+
/**
|
|
147
|
+
* 所属园区
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof DeptRelationDTO
|
|
150
|
+
*/
|
|
151
|
+
'srmPark'?: string;
|
|
152
|
+
/**
|
|
153
|
+
* 园区编码
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof DeptRelationDTO
|
|
156
|
+
*/
|
|
157
|
+
'srmParkCode'?: string;
|
|
140
158
|
}
|
|
@@ -83,4 +83,22 @@ export interface DeptRelation {
|
|
|
83
83
|
* @memberof DeptRelation
|
|
84
84
|
*/
|
|
85
85
|
'emptyWarehouseArea': number;
|
|
86
|
+
/**
|
|
87
|
+
* 中心编码
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof DeptRelation
|
|
90
|
+
*/
|
|
91
|
+
'centerCode': string;
|
|
92
|
+
/**
|
|
93
|
+
* 所属园区
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof DeptRelation
|
|
96
|
+
*/
|
|
97
|
+
'srmPark': string;
|
|
98
|
+
/**
|
|
99
|
+
* 园区编码
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof DeptRelation
|
|
102
|
+
*/
|
|
103
|
+
'srmParkCode': string;
|
|
86
104
|
}
|
|
@@ -17,12 +17,6 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
17
17
|
* @interface GetUserWx200Response
|
|
18
18
|
*/
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {object}
|
|
23
|
-
* @memberof GetUserWx200Response
|
|
24
|
-
*/
|
|
25
|
-
'trailerFields'?: object;
|
|
26
20
|
/**
|
|
27
21
|
*
|
|
28
22
|
* @type {number}
|
|
@@ -37,10 +31,10 @@ export interface GetUserWx200Response {
|
|
|
37
31
|
'headerNames'?: Array<string>;
|
|
38
32
|
/**
|
|
39
33
|
*
|
|
40
|
-
* @type {
|
|
34
|
+
* @type {object}
|
|
41
35
|
* @memberof GetUserWx200Response
|
|
42
36
|
*/
|
|
43
|
-
'
|
|
37
|
+
'trailerFields'?: object;
|
|
44
38
|
/**
|
|
45
39
|
*
|
|
46
40
|
* @type {string}
|
|
@@ -59,6 +53,12 @@ export interface GetUserWx200Response {
|
|
|
59
53
|
* @memberof GetUserWx200Response
|
|
60
54
|
*/
|
|
61
55
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {GetUserWx200ResponseLocale}
|
|
59
|
+
* @memberof GetUserWx200Response
|
|
60
|
+
*/
|
|
61
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {number}
|
|
@@ -71,6 +71,7 @@ export * from './call-police-history-dto';
|
|
|
71
71
|
export * from './call-police-history-handle';
|
|
72
72
|
export * from './call-police-type-dto';
|
|
73
73
|
export * from './call-police-type-enum';
|
|
74
|
+
export * from './center-list-dto';
|
|
74
75
|
export * from './change-password-dto';
|
|
75
76
|
export * from './choice-energy-meter-bo';
|
|
76
77
|
export * from './choice-water-meter-vo';
|
|
@@ -394,6 +395,7 @@ export * from './json-result-list-appointment-registration-unloading-area-list-d
|
|
|
394
395
|
export * from './json-result-list-area-park-dto';
|
|
395
396
|
export * from './json-result-list-calendar-entity';
|
|
396
397
|
export * from './json-result-list-call-police-type-dto';
|
|
398
|
+
export * from './json-result-list-center-list-dto';
|
|
397
399
|
export * from './json-result-list-cold-store-dashboard-access-series-dto';
|
|
398
400
|
export * from './json-result-list-cold-store-dashboard-alarm-list-dto';
|
|
399
401
|
export * from './json-result-list-cold-store-dashboard-device-dto';
|
|
@@ -439,6 +441,7 @@ export * from './json-result-list-owner-kanban-work-order-type-statistics-dto';
|
|
|
439
441
|
export * from './json-result-list-owner-two-park-operation-work-order-histogram-statistics-dto';
|
|
440
442
|
export * from './json-result-list-owner-two-park-operation-work-order-response-shi-statistics-dto';
|
|
441
443
|
export * from './json-result-list-park-drop-down-box-dto';
|
|
444
|
+
export * from './json-result-list-park-list-dto';
|
|
442
445
|
export * from './json-result-list-plan-calendar-list-vo';
|
|
443
446
|
export * from './json-result-list-plan-calendar-vo';
|
|
444
447
|
export * from './json-result-list-renovation-activity-list-vo';
|
|
@@ -677,6 +680,7 @@ export * from './park-center-attribute-enum';
|
|
|
677
680
|
export * from './park-drop-down-box-dto';
|
|
678
681
|
export * from './park-info-dto';
|
|
679
682
|
export * from './park-info-edit-vo';
|
|
683
|
+
export * from './park-list-dto';
|
|
680
684
|
export * from './park-plat-form-enum';
|
|
681
685
|
export * from './park-push-settings-add-bo';
|
|
682
686
|
export * from './park-settings-details-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -71,6 +71,7 @@ export * from './call-police-history-dto';
|
|
|
71
71
|
export * from './call-police-history-handle';
|
|
72
72
|
export * from './call-police-type-dto';
|
|
73
73
|
export * from './call-police-type-enum';
|
|
74
|
+
export * from './center-list-dto';
|
|
74
75
|
export * from './change-password-dto';
|
|
75
76
|
export * from './choice-energy-meter-bo';
|
|
76
77
|
export * from './choice-water-meter-vo';
|
|
@@ -394,6 +395,7 @@ export * from './json-result-list-appointment-registration-unloading-area-list-d
|
|
|
394
395
|
export * from './json-result-list-area-park-dto';
|
|
395
396
|
export * from './json-result-list-calendar-entity';
|
|
396
397
|
export * from './json-result-list-call-police-type-dto';
|
|
398
|
+
export * from './json-result-list-center-list-dto';
|
|
397
399
|
export * from './json-result-list-cold-store-dashboard-access-series-dto';
|
|
398
400
|
export * from './json-result-list-cold-store-dashboard-alarm-list-dto';
|
|
399
401
|
export * from './json-result-list-cold-store-dashboard-device-dto';
|
|
@@ -439,6 +441,7 @@ export * from './json-result-list-owner-kanban-work-order-type-statistics-dto';
|
|
|
439
441
|
export * from './json-result-list-owner-two-park-operation-work-order-histogram-statistics-dto';
|
|
440
442
|
export * from './json-result-list-owner-two-park-operation-work-order-response-shi-statistics-dto';
|
|
441
443
|
export * from './json-result-list-park-drop-down-box-dto';
|
|
444
|
+
export * from './json-result-list-park-list-dto';
|
|
442
445
|
export * from './json-result-list-plan-calendar-list-vo';
|
|
443
446
|
export * from './json-result-list-plan-calendar-vo';
|
|
444
447
|
export * from './json-result-list-renovation-activity-list-vo';
|
|
@@ -677,6 +680,7 @@ export * from './park-center-attribute-enum';
|
|
|
677
680
|
export * from './park-drop-down-box-dto';
|
|
678
681
|
export * from './park-info-dto';
|
|
679
682
|
export * from './park-info-edit-vo';
|
|
683
|
+
export * from './park-list-dto';
|
|
680
684
|
export * from './park-plat-form-enum';
|
|
681
685
|
export * from './park-push-settings-add-bo';
|
|
682
686
|
export * from './park-settings-details-dto';
|
|
@@ -36,10 +36,10 @@ export interface IPageAccessVO {
|
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {number}
|
|
40
40
|
* @memberof IPageAccessVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'pages'?: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {boolean}
|
|
@@ -49,10 +49,10 @@ export interface IPageAccessVO {
|
|
|
49
49
|
'hitCount'?: boolean;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {boolean}
|
|
53
53
|
* @memberof IPageAccessVO
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'searchCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { BaseErrorResult } from './base-error-result';
|
|
13
|
+
import type { CenterListDTO } from './center-list-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultListCenterListDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultListCenterListDTO {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultListCenterListDTO
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultListCenterListDTO
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultListCenterListDTO
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 返回数据,可以是任意类型的值
|
|
40
|
+
* @type {Array<CenterListDTO>}
|
|
41
|
+
* @memberof JsonResultListCenterListDTO
|
|
42
|
+
*/
|
|
43
|
+
'data'?: Array<CenterListDTO> | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultListCenterListDTO
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultListCenterListDTO
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultListCenterListDTO
|
|
60
|
+
*/
|
|
61
|
+
'requestId'?: string | null;
|
|
62
|
+
}
|
|
@@ -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 {};
|