@gizone/rrs-client 4.1.3-alpha.188 → 4.1.3-alpha.190
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 +16 -16
- 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 +6 -6
- 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 +16 -16
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- 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 +16 -16
- package/models/index.ts +4 -0
- package/models/ipage-access-vo.ts +6 -6
- 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
package/.openapi-generator/FILES
CHANGED
|
@@ -133,6 +133,7 @@ models/call-police-history-dto.ts
|
|
|
133
133
|
models/call-police-history-handle.ts
|
|
134
134
|
models/call-police-type-dto.ts
|
|
135
135
|
models/call-police-type-enum.ts
|
|
136
|
+
models/center-list-dto.ts
|
|
136
137
|
models/change-password-dto.ts
|
|
137
138
|
models/choice-energy-meter-bo.ts
|
|
138
139
|
models/choice-water-meter-vo.ts
|
|
@@ -458,6 +459,7 @@ models/json-result-list-appointment-registration-unloading-area-list-details-dto
|
|
|
458
459
|
models/json-result-list-area-park-dto.ts
|
|
459
460
|
models/json-result-list-calendar-entity.ts
|
|
460
461
|
models/json-result-list-call-police-type-dto.ts
|
|
462
|
+
models/json-result-list-center-list-dto.ts
|
|
461
463
|
models/json-result-list-cold-store-dashboard-access-series-dto.ts
|
|
462
464
|
models/json-result-list-cold-store-dashboard-alarm-list-dto.ts
|
|
463
465
|
models/json-result-list-cold-store-dashboard-device-dto.ts
|
|
@@ -503,6 +505,7 @@ models/json-result-list-owner-kanban-work-order-type-statistics-dto.ts
|
|
|
503
505
|
models/json-result-list-owner-two-park-operation-work-order-histogram-statistics-dto.ts
|
|
504
506
|
models/json-result-list-owner-two-park-operation-work-order-response-shi-statistics-dto.ts
|
|
505
507
|
models/json-result-list-park-drop-down-box-dto.ts
|
|
508
|
+
models/json-result-list-park-list-dto.ts
|
|
506
509
|
models/json-result-list-plan-calendar-list-vo.ts
|
|
507
510
|
models/json-result-list-plan-calendar-vo.ts
|
|
508
511
|
models/json-result-list-renovation-activity-list-vo.ts
|
|
@@ -741,6 +744,7 @@ models/park-center-attribute-enum.ts
|
|
|
741
744
|
models/park-drop-down-box-dto.ts
|
|
742
745
|
models/park-info-dto.ts
|
|
743
746
|
models/park-info-edit-vo.ts
|
|
747
|
+
models/park-list-dto.ts
|
|
744
748
|
models/park-plat-form-enum.ts
|
|
745
749
|
models/park-push-settings-add-bo.ts
|
|
746
750
|
models/park-settings-details-dto.ts
|
package/apis/common-api.ts
CHANGED
|
@@ -26,8 +26,12 @@ import type { JsonResult } from '../models';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { JsonResultFileDTO } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
+
import type { JsonResultListCenterListDTO } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
29
31
|
import type { JsonResultListParkDropDownBoxDTO } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
33
|
+
import type { JsonResultListParkListDTO } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
31
35
|
import type { JsonResultListSysDept } from '../models';
|
|
32
36
|
// @ts-ignore
|
|
33
37
|
import type { JsonResultListSysDeptDropDownBoxListDTO } from '../models';
|
|
@@ -44,6 +48,8 @@ import type { JsonResultVoid } from '../models';
|
|
|
44
48
|
// @ts-ignore
|
|
45
49
|
import type { ParkInfoEditVO } from '../models';
|
|
46
50
|
// @ts-ignore
|
|
51
|
+
import type { ParkPlatFormEnum } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
47
53
|
import type { ParkSettingsVO } from '../models';
|
|
48
54
|
// @ts-ignore
|
|
49
55
|
import type { SysDept } from '../models';
|
|
@@ -1532,6 +1538,96 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1532
1538
|
|
|
1533
1539
|
|
|
1534
1540
|
|
|
1541
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1542
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1543
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1544
|
+
|
|
1545
|
+
return {
|
|
1546
|
+
url: toPathString(localVarUrlObj),
|
|
1547
|
+
options: localVarRequestOptions,
|
|
1548
|
+
};
|
|
1549
|
+
},
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* @summary 查询中心列表
|
|
1553
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
1554
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
1555
|
+
* @param {*} [options] Override http request option.
|
|
1556
|
+
* @throws {RequiredError}
|
|
1557
|
+
*/
|
|
1558
|
+
selectCenterList: async (isSrm: boolean, platForm?: ParkPlatFormEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1559
|
+
// verify required parameter 'isSrm' is not null or undefined
|
|
1560
|
+
assertParamExists('selectCenterList', 'isSrm', isSrm)
|
|
1561
|
+
const localVarPath = `/system/dept/center`;
|
|
1562
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1563
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1564
|
+
let baseOptions;
|
|
1565
|
+
if (configuration) {
|
|
1566
|
+
baseOptions = configuration.baseOptions;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1570
|
+
const localVarHeaderParameter = {} as any;
|
|
1571
|
+
const localVarQueryParameter = {} as any;
|
|
1572
|
+
|
|
1573
|
+
// authentication tokenScheme required
|
|
1574
|
+
// http bearer authentication required
|
|
1575
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1576
|
+
|
|
1577
|
+
if (platForm !== undefined) {
|
|
1578
|
+
localVarQueryParameter['platForm'] = platForm;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
if (isSrm !== undefined) {
|
|
1582
|
+
localVarQueryParameter['isSrm'] = isSrm;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1588
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1589
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1590
|
+
|
|
1591
|
+
return {
|
|
1592
|
+
url: toPathString(localVarUrlObj),
|
|
1593
|
+
options: localVarRequestOptions,
|
|
1594
|
+
};
|
|
1595
|
+
},
|
|
1596
|
+
/**
|
|
1597
|
+
*
|
|
1598
|
+
* @summary 查询园区列表(无权限验证)
|
|
1599
|
+
* @param {string} [centerCode] 中心编码
|
|
1600
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
*/
|
|
1604
|
+
selectParkList: async (centerCode?: string, isSrm?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1605
|
+
const localVarPath = `/system/dept/park`;
|
|
1606
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1607
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1608
|
+
let baseOptions;
|
|
1609
|
+
if (configuration) {
|
|
1610
|
+
baseOptions = configuration.baseOptions;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1614
|
+
const localVarHeaderParameter = {} as any;
|
|
1615
|
+
const localVarQueryParameter = {} as any;
|
|
1616
|
+
|
|
1617
|
+
// authentication tokenScheme required
|
|
1618
|
+
// http bearer authentication required
|
|
1619
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1620
|
+
|
|
1621
|
+
if (centerCode !== undefined) {
|
|
1622
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
if (isSrm !== undefined) {
|
|
1626
|
+
localVarQueryParameter['isSrm'] = isSrm;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1535
1631
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1536
1632
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1537
1633
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2291,6 +2387,34 @@ export const CommonApiFp = function(configuration?: Configuration) {
|
|
|
2291
2387
|
const localVarOperationServerBasePath = operationServerMap['CommonApi.resourceDownload']?.[localVarOperationServerIndex]?.url;
|
|
2292
2388
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2293
2389
|
},
|
|
2390
|
+
/**
|
|
2391
|
+
*
|
|
2392
|
+
* @summary 查询中心列表
|
|
2393
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
2394
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
2395
|
+
* @param {*} [options] Override http request option.
|
|
2396
|
+
* @throws {RequiredError}
|
|
2397
|
+
*/
|
|
2398
|
+
async selectCenterList(isSrm: boolean, platForm?: ParkPlatFormEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListCenterListDTO>> {
|
|
2399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectCenterList(isSrm, platForm, options);
|
|
2400
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2401
|
+
const localVarOperationServerBasePath = operationServerMap['CommonApi.selectCenterList']?.[localVarOperationServerIndex]?.url;
|
|
2402
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2403
|
+
},
|
|
2404
|
+
/**
|
|
2405
|
+
*
|
|
2406
|
+
* @summary 查询园区列表(无权限验证)
|
|
2407
|
+
* @param {string} [centerCode] 中心编码
|
|
2408
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
2409
|
+
* @param {*} [options] Override http request option.
|
|
2410
|
+
* @throws {RequiredError}
|
|
2411
|
+
*/
|
|
2412
|
+
async selectParkList(centerCode?: string, isSrm?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>> {
|
|
2413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectParkList(centerCode, isSrm, options);
|
|
2414
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2415
|
+
const localVarOperationServerBasePath = operationServerMap['CommonApi.selectParkList']?.[localVarOperationServerIndex]?.url;
|
|
2416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2417
|
+
},
|
|
2294
2418
|
/**
|
|
2295
2419
|
*
|
|
2296
2420
|
* @param {SysDept} sysDept
|
|
@@ -2733,6 +2857,26 @@ export const CommonApiFactory = function (configuration?: Configuration, basePat
|
|
|
2733
2857
|
resourceDownload(requestParameters: CommonApiResourceDownloadRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2734
2858
|
return localVarFp.resourceDownload(requestParameters.resource, options).then((request) => request(axios, basePath));
|
|
2735
2859
|
},
|
|
2860
|
+
/**
|
|
2861
|
+
*
|
|
2862
|
+
* @summary 查询中心列表
|
|
2863
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
2864
|
+
* @param {*} [options] Override http request option.
|
|
2865
|
+
* @throws {RequiredError}
|
|
2866
|
+
*/
|
|
2867
|
+
selectCenterList(requestParameters: CommonApiSelectCenterListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListCenterListDTO> {
|
|
2868
|
+
return localVarFp.selectCenterList(requestParameters.isSrm, requestParameters.platForm, options).then((request) => request(axios, basePath));
|
|
2869
|
+
},
|
|
2870
|
+
/**
|
|
2871
|
+
*
|
|
2872
|
+
* @summary 查询园区列表(无权限验证)
|
|
2873
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
2874
|
+
* @param {*} [options] Override http request option.
|
|
2875
|
+
* @throws {RequiredError}
|
|
2876
|
+
*/
|
|
2877
|
+
selectParkList(requestParameters: CommonApiSelectParkListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO> {
|
|
2878
|
+
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, options).then((request) => request(axios, basePath));
|
|
2879
|
+
},
|
|
2736
2880
|
/**
|
|
2737
2881
|
*
|
|
2738
2882
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -3306,6 +3450,48 @@ export interface CommonApiResourceDownloadRequest {
|
|
|
3306
3450
|
readonly resource: string
|
|
3307
3451
|
}
|
|
3308
3452
|
|
|
3453
|
+
/**
|
|
3454
|
+
* Request parameters for selectCenterList operation in CommonApi.
|
|
3455
|
+
* @export
|
|
3456
|
+
* @interface CommonApiSelectCenterListRequest
|
|
3457
|
+
*/
|
|
3458
|
+
export interface CommonApiSelectCenterListRequest {
|
|
3459
|
+
/**
|
|
3460
|
+
* 是否查询srm数据
|
|
3461
|
+
* @type {boolean}
|
|
3462
|
+
* @memberof CommonApiSelectCenterList
|
|
3463
|
+
*/
|
|
3464
|
+
readonly isSrm: boolean
|
|
3465
|
+
|
|
3466
|
+
/**
|
|
3467
|
+
* 平台
|
|
3468
|
+
* @type {ParkPlatFormEnum}
|
|
3469
|
+
* @memberof CommonApiSelectCenterList
|
|
3470
|
+
*/
|
|
3471
|
+
readonly platForm?: ParkPlatFormEnum
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Request parameters for selectParkList operation in CommonApi.
|
|
3476
|
+
* @export
|
|
3477
|
+
* @interface CommonApiSelectParkListRequest
|
|
3478
|
+
*/
|
|
3479
|
+
export interface CommonApiSelectParkListRequest {
|
|
3480
|
+
/**
|
|
3481
|
+
* 中心编码
|
|
3482
|
+
* @type {string}
|
|
3483
|
+
* @memberof CommonApiSelectParkList
|
|
3484
|
+
*/
|
|
3485
|
+
readonly centerCode?: string
|
|
3486
|
+
|
|
3487
|
+
/**
|
|
3488
|
+
* 是否查询srm数据
|
|
3489
|
+
* @type {boolean}
|
|
3490
|
+
* @memberof CommonApiSelectParkList
|
|
3491
|
+
*/
|
|
3492
|
+
readonly isSrm?: boolean
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3309
3495
|
/**
|
|
3310
3496
|
* Request parameters for updateDept operation in CommonApi.
|
|
3311
3497
|
* @export
|
|
@@ -3830,6 +4016,30 @@ export class CommonApi extends BaseAPI {
|
|
|
3830
4016
|
return CommonApiFp(this.configuration).resourceDownload(requestParameters.resource, options).then((request) => request(this.axios, this.basePath));
|
|
3831
4017
|
}
|
|
3832
4018
|
|
|
4019
|
+
/**
|
|
4020
|
+
*
|
|
4021
|
+
* @summary 查询中心列表
|
|
4022
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
4023
|
+
* @param {*} [options] Override http request option.
|
|
4024
|
+
* @throws {RequiredError}
|
|
4025
|
+
* @memberof CommonApi
|
|
4026
|
+
*/
|
|
4027
|
+
public selectCenterList(requestParameters: CommonApiSelectCenterListRequest, options?: RawAxiosRequestConfig) {
|
|
4028
|
+
return CommonApiFp(this.configuration).selectCenterList(requestParameters.isSrm, requestParameters.platForm, options).then((request) => request(this.axios, this.basePath));
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
*
|
|
4033
|
+
* @summary 查询园区列表(无权限验证)
|
|
4034
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
4035
|
+
* @param {*} [options] Override http request option.
|
|
4036
|
+
* @throws {RequiredError}
|
|
4037
|
+
* @memberof CommonApi
|
|
4038
|
+
*/
|
|
4039
|
+
public selectParkList(requestParameters: CommonApiSelectParkListRequest = {}, options?: RawAxiosRequestConfig) {
|
|
4040
|
+
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, options).then((request) => request(this.axios, this.basePath));
|
|
4041
|
+
}
|
|
4042
|
+
|
|
3833
4043
|
/**
|
|
3834
4044
|
*
|
|
3835
4045
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -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.
|
package/dist/apis/common-api.js
CHANGED
|
@@ -1263,6 +1263,80 @@ const CommonApiAxiosParamCreator = function (configuration) {
|
|
|
1263
1263
|
options: localVarRequestOptions,
|
|
1264
1264
|
};
|
|
1265
1265
|
}),
|
|
1266
|
+
/**
|
|
1267
|
+
*
|
|
1268
|
+
* @summary 查询中心列表
|
|
1269
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
1270
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
*/
|
|
1274
|
+
selectCenterList: (isSrm_1, platForm_1, ...args_1) => __awaiter(this, [isSrm_1, platForm_1, ...args_1], void 0, function* (isSrm, platForm, options = {}) {
|
|
1275
|
+
// verify required parameter 'isSrm' is not null or undefined
|
|
1276
|
+
(0, common_1.assertParamExists)('selectCenterList', 'isSrm', isSrm);
|
|
1277
|
+
const localVarPath = `/system/dept/center`;
|
|
1278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1279
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1280
|
+
let baseOptions;
|
|
1281
|
+
if (configuration) {
|
|
1282
|
+
baseOptions = configuration.baseOptions;
|
|
1283
|
+
}
|
|
1284
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1285
|
+
const localVarHeaderParameter = {};
|
|
1286
|
+
const localVarQueryParameter = {};
|
|
1287
|
+
// authentication tokenScheme required
|
|
1288
|
+
// http bearer authentication required
|
|
1289
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1290
|
+
if (platForm !== undefined) {
|
|
1291
|
+
localVarQueryParameter['platForm'] = platForm;
|
|
1292
|
+
}
|
|
1293
|
+
if (isSrm !== undefined) {
|
|
1294
|
+
localVarQueryParameter['isSrm'] = isSrm;
|
|
1295
|
+
}
|
|
1296
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1297
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1298
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1299
|
+
return {
|
|
1300
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1301
|
+
options: localVarRequestOptions,
|
|
1302
|
+
};
|
|
1303
|
+
}),
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @summary 查询园区列表(无权限验证)
|
|
1307
|
+
* @param {string} [centerCode] 中心编码
|
|
1308
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
selectParkList: (centerCode_1, isSrm_1, ...args_1) => __awaiter(this, [centerCode_1, isSrm_1, ...args_1], void 0, function* (centerCode, isSrm, options = {}) {
|
|
1313
|
+
const localVarPath = `/system/dept/park`;
|
|
1314
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1315
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1316
|
+
let baseOptions;
|
|
1317
|
+
if (configuration) {
|
|
1318
|
+
baseOptions = configuration.baseOptions;
|
|
1319
|
+
}
|
|
1320
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1321
|
+
const localVarHeaderParameter = {};
|
|
1322
|
+
const localVarQueryParameter = {};
|
|
1323
|
+
// authentication tokenScheme required
|
|
1324
|
+
// http bearer authentication required
|
|
1325
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1326
|
+
if (centerCode !== undefined) {
|
|
1327
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
1328
|
+
}
|
|
1329
|
+
if (isSrm !== undefined) {
|
|
1330
|
+
localVarQueryParameter['isSrm'] = isSrm;
|
|
1331
|
+
}
|
|
1332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1333
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1334
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1335
|
+
return {
|
|
1336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1337
|
+
options: localVarRequestOptions,
|
|
1338
|
+
};
|
|
1339
|
+
}),
|
|
1266
1340
|
/**
|
|
1267
1341
|
*
|
|
1268
1342
|
* @param {SysDept} sysDept
|
|
@@ -2074,6 +2148,40 @@ const CommonApiFp = function (configuration) {
|
|
|
2074
2148
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2075
2149
|
});
|
|
2076
2150
|
},
|
|
2151
|
+
/**
|
|
2152
|
+
*
|
|
2153
|
+
* @summary 查询中心列表
|
|
2154
|
+
* @param {boolean} isSrm 是否查询srm数据
|
|
2155
|
+
* @param {ParkPlatFormEnum} [platForm] 平台
|
|
2156
|
+
* @param {*} [options] Override http request option.
|
|
2157
|
+
* @throws {RequiredError}
|
|
2158
|
+
*/
|
|
2159
|
+
selectCenterList(isSrm, platForm, options) {
|
|
2160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2161
|
+
var _a, _b, _c;
|
|
2162
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectCenterList(isSrm, platForm, options);
|
|
2163
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2164
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.selectCenterList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2165
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2166
|
+
});
|
|
2167
|
+
},
|
|
2168
|
+
/**
|
|
2169
|
+
*
|
|
2170
|
+
* @summary 查询园区列表(无权限验证)
|
|
2171
|
+
* @param {string} [centerCode] 中心编码
|
|
2172
|
+
* @param {boolean} [isSrm] 是否查询srm数据
|
|
2173
|
+
* @param {*} [options] Override http request option.
|
|
2174
|
+
* @throws {RequiredError}
|
|
2175
|
+
*/
|
|
2176
|
+
selectParkList(centerCode, isSrm, options) {
|
|
2177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2178
|
+
var _a, _b, _c;
|
|
2179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkList(centerCode, isSrm, options);
|
|
2180
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2181
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.selectParkList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2182
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2183
|
+
});
|
|
2184
|
+
},
|
|
2077
2185
|
/**
|
|
2078
2186
|
*
|
|
2079
2187
|
* @param {SysDept} sysDept
|
|
@@ -2537,6 +2645,26 @@ const CommonApiFactory = function (configuration, basePath, axios) {
|
|
|
2537
2645
|
resourceDownload(requestParameters, options) {
|
|
2538
2646
|
return localVarFp.resourceDownload(requestParameters.resource, options).then((request) => request(axios, basePath));
|
|
2539
2647
|
},
|
|
2648
|
+
/**
|
|
2649
|
+
*
|
|
2650
|
+
* @summary 查询中心列表
|
|
2651
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
2652
|
+
* @param {*} [options] Override http request option.
|
|
2653
|
+
* @throws {RequiredError}
|
|
2654
|
+
*/
|
|
2655
|
+
selectCenterList(requestParameters, options) {
|
|
2656
|
+
return localVarFp.selectCenterList(requestParameters.isSrm, requestParameters.platForm, options).then((request) => request(axios, basePath));
|
|
2657
|
+
},
|
|
2658
|
+
/**
|
|
2659
|
+
*
|
|
2660
|
+
* @summary 查询园区列表(无权限验证)
|
|
2661
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
2662
|
+
* @param {*} [options] Override http request option.
|
|
2663
|
+
* @throws {RequiredError}
|
|
2664
|
+
*/
|
|
2665
|
+
selectParkList(requestParameters = {}, options) {
|
|
2666
|
+
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, options).then((request) => request(axios, basePath));
|
|
2667
|
+
},
|
|
2540
2668
|
/**
|
|
2541
2669
|
*
|
|
2542
2670
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|
|
@@ -2995,6 +3123,28 @@ class CommonApi extends base_1.BaseAPI {
|
|
|
2995
3123
|
resourceDownload(requestParameters, options) {
|
|
2996
3124
|
return (0, exports.CommonApiFp)(this.configuration).resourceDownload(requestParameters.resource, options).then((request) => request(this.axios, this.basePath));
|
|
2997
3125
|
}
|
|
3126
|
+
/**
|
|
3127
|
+
*
|
|
3128
|
+
* @summary 查询中心列表
|
|
3129
|
+
* @param {CommonApiSelectCenterListRequest} requestParameters Request parameters.
|
|
3130
|
+
* @param {*} [options] Override http request option.
|
|
3131
|
+
* @throws {RequiredError}
|
|
3132
|
+
* @memberof CommonApi
|
|
3133
|
+
*/
|
|
3134
|
+
selectCenterList(requestParameters, options) {
|
|
3135
|
+
return (0, exports.CommonApiFp)(this.configuration).selectCenterList(requestParameters.isSrm, requestParameters.platForm, options).then((request) => request(this.axios, this.basePath));
|
|
3136
|
+
}
|
|
3137
|
+
/**
|
|
3138
|
+
*
|
|
3139
|
+
* @summary 查询园区列表(无权限验证)
|
|
3140
|
+
* @param {CommonApiSelectParkListRequest} requestParameters Request parameters.
|
|
3141
|
+
* @param {*} [options] Override http request option.
|
|
3142
|
+
* @throws {RequiredError}
|
|
3143
|
+
* @memberof CommonApi
|
|
3144
|
+
*/
|
|
3145
|
+
selectParkList(requestParameters = {}, options) {
|
|
3146
|
+
return (0, exports.CommonApiFp)(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, options).then((request) => request(this.axios, this.basePath));
|
|
3147
|
+
}
|
|
2998
3148
|
/**
|
|
2999
3149
|
*
|
|
3000
3150
|
* @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
|