@gizone/rrs-client 4.2.7-alpha.437 → 4.2.7-alpha.439
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 +14 -0
- package/apis/common-api.ts +286 -0
- package/apis/dashboard-api.ts +368 -0
- package/apis/work-order-api.ts +134 -10
- package/dist/apis/common-api.d.ts +149 -0
- package/dist/apis/common-api.js +215 -0
- package/dist/apis/dashboard-api.d.ts +190 -0
- package/dist/apis/dashboard-api.js +280 -0
- package/dist/apis/work-order-api.d.ts +71 -4
- package/dist/apis/work-order-api.js +90 -10
- package/dist/esm/apis/common-api.d.ts +149 -0
- package/dist/esm/apis/common-api.js +215 -0
- package/dist/esm/apis/dashboard-api.d.ts +190 -0
- package/dist/esm/apis/dashboard-api.js +280 -0
- package/dist/esm/apis/work-order-api.d.ts +71 -4
- package/dist/esm/apis/work-order-api.js +90 -10
- package/dist/esm/models/access-appointment-source-enum.d.ts +1 -0
- package/dist/esm/models/access-appointment-source-enum.js +2 -1
- package/dist/esm/models/access-record-details-dto.d.ts +7 -0
- package/dist/esm/models/dashboard-access-park-group-stats-vo.d.ts +96 -0
- package/dist/esm/models/dashboard-access-park-group-stats-vo.js +14 -0
- package/dist/esm/models/dashboard-access-search-dto.d.ts +68 -0
- package/dist/esm/models/dashboard-access-search-dto.js +14 -0
- package/dist/esm/models/dashboard-access-source-group-stats-vo.d.ts +55 -0
- package/dist/esm/models/dashboard-access-source-group-stats-vo.js +14 -0
- package/dist/esm/models/dashboard-base-search-dto.d.ts +18 -0
- package/dist/esm/models/dashboard-equipment-search-dto.d.ts +18 -0
- package/dist/esm/models/dashboard-series-stats-base-vo.d.ts +30 -0
- package/dist/esm/models/dashboard-series-stats-base-vo.js +14 -0
- package/dist/esm/models/dashboard-surveillance-park-group-stats-vo.d.ts +36 -0
- package/dist/esm/models/dashboard-surveillance-search-dto.d.ts +18 -0
- package/dist/esm/models/dashboard-work-order-by-park-search-dto.d.ts +19 -1
- package/dist/esm/models/dashboard-work-order-by-work-order-type-search-dto.d.ts +18 -0
- package/dist/esm/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.d.ts +18 -0
- package/dist/esm/models/dashboard-work-order-list-search-dto.d.ts +117 -0
- package/dist/esm/models/dashboard-work-order-list-search-dto.js +18 -0
- package/dist/esm/models/dashboard-work-order-park-group-stats-vo.d.ts +36 -0
- package/dist/esm/models/dept-relation-dto.d.ts +24 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-access-park-group-stats-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-access-park-group-stats-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-access-source-group-stats-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-access-source-group-stats-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-series-stats-base-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-series-stats-base-vo.js +14 -0
- package/dist/esm/models/json-result-list-inspection-point.d.ts +62 -0
- package/dist/esm/models/json-result-list-inspection-point.js +14 -0
- package/dist/esm/models/json-result-list-srm-center-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-srm-center-vo.js +14 -0
- package/dist/esm/models/json-result-srm-center-entity.d.ts +62 -0
- package/dist/esm/models/json-result-srm-center-entity.js +14 -0
- package/dist/esm/models/park-list-dto.d.ts +24 -0
- package/dist/esm/models/srm-center-entity.d.ts +54 -0
- package/dist/esm/models/srm-center-entity.js +14 -0
- package/dist/esm/models/srm-center-vo.d.ts +54 -0
- package/dist/esm/models/srm-center-vo.js +14 -0
- package/dist/esm/models/srm-level-add-dto.d.ts +48 -0
- package/dist/esm/models/srm-level-add-dto.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/work-order-search-dto.d.ts +12 -0
- package/dist/models/access-appointment-source-enum.d.ts +1 -0
- package/dist/models/access-appointment-source-enum.js +2 -1
- package/dist/models/access-record-details-dto.d.ts +7 -0
- package/dist/models/dashboard-access-park-group-stats-vo.d.ts +96 -0
- package/dist/models/dashboard-access-park-group-stats-vo.js +15 -0
- package/dist/models/dashboard-access-search-dto.d.ts +68 -0
- package/dist/models/dashboard-access-search-dto.js +15 -0
- package/dist/models/dashboard-access-source-group-stats-vo.d.ts +55 -0
- package/dist/models/dashboard-access-source-group-stats-vo.js +15 -0
- package/dist/models/dashboard-base-search-dto.d.ts +18 -0
- package/dist/models/dashboard-equipment-search-dto.d.ts +18 -0
- package/dist/models/dashboard-series-stats-base-vo.d.ts +30 -0
- package/dist/models/dashboard-series-stats-base-vo.js +15 -0
- package/dist/models/dashboard-surveillance-park-group-stats-vo.d.ts +36 -0
- package/dist/models/dashboard-surveillance-search-dto.d.ts +18 -0
- package/dist/models/dashboard-work-order-by-park-search-dto.d.ts +19 -1
- package/dist/models/dashboard-work-order-by-work-order-type-search-dto.d.ts +18 -0
- package/dist/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.d.ts +18 -0
- package/dist/models/dashboard-work-order-list-search-dto.d.ts +117 -0
- package/dist/models/dashboard-work-order-list-search-dto.js +21 -0
- package/dist/models/dashboard-work-order-park-group-stats-vo.d.ts +36 -0
- package/dist/models/dept-relation-dto.d.ts +24 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/json-result-list-dashboard-access-park-group-stats-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-access-park-group-stats-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-access-source-group-stats-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-access-source-group-stats-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-series-stats-base-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-series-stats-base-vo.js +15 -0
- package/dist/models/json-result-list-inspection-point.d.ts +62 -0
- package/dist/models/json-result-list-inspection-point.js +15 -0
- package/dist/models/json-result-list-srm-center-vo.d.ts +62 -0
- package/dist/models/json-result-list-srm-center-vo.js +15 -0
- package/dist/models/json-result-srm-center-entity.d.ts +62 -0
- package/dist/models/json-result-srm-center-entity.js +15 -0
- package/dist/models/park-list-dto.d.ts +24 -0
- package/dist/models/srm-center-entity.d.ts +54 -0
- package/dist/models/srm-center-entity.js +15 -0
- package/dist/models/srm-center-vo.d.ts +54 -0
- package/dist/models/srm-center-vo.js +15 -0
- package/dist/models/srm-level-add-dto.d.ts +48 -0
- package/dist/models/srm-level-add-dto.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/work-order-search-dto.d.ts +12 -0
- package/models/access-appointment-source-enum.ts +2 -1
- package/models/access-record-details-dto.ts +9 -0
- package/models/dashboard-access-park-group-stats-vo.ts +102 -0
- package/models/dashboard-access-search-dto.ts +80 -0
- package/models/dashboard-access-source-group-stats-vo.ts +65 -0
- package/models/dashboard-base-search-dto.ts +18 -0
- package/models/dashboard-equipment-search-dto.ts +18 -0
- package/models/dashboard-series-stats-base-vo.ts +36 -0
- package/models/dashboard-surveillance-park-group-stats-vo.ts +36 -0
- package/models/dashboard-surveillance-search-dto.ts +18 -0
- package/models/dashboard-work-order-by-park-search-dto.ts +19 -1
- package/models/dashboard-work-order-by-work-order-type-search-dto.ts +18 -0
- package/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.ts +18 -0
- package/models/dashboard-work-order-list-search-dto.ts +132 -0
- package/models/dashboard-work-order-park-group-stats-vo.ts +36 -0
- package/models/dept-relation-dto.ts +24 -0
- package/models/index.ts +14 -0
- package/models/json-result-list-dashboard-access-park-group-stats-vo.ts +72 -0
- package/models/json-result-list-dashboard-access-source-group-stats-vo.ts +72 -0
- package/models/json-result-list-dashboard-series-stats-base-vo.ts +72 -0
- package/models/json-result-list-inspection-point.ts +72 -0
- package/models/json-result-list-srm-center-vo.ts +72 -0
- package/models/json-result-srm-center-entity.ts +72 -0
- package/models/park-list-dto.ts +24 -0
- package/models/srm-center-entity.ts +60 -0
- package/models/srm-center-vo.ts +60 -0
- package/models/srm-level-add-dto.ts +54 -0
- package/models/sys-user.ts +4 -4
- package/models/work-order-search-dto.ts +12 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -119,10 +119,14 @@ models/change-password-dto.ts
|
|
|
119
119
|
models/choose-pak-body.ts
|
|
120
120
|
models/cuser-info.ts
|
|
121
121
|
models/cuser-update-pass-word-vo.ts
|
|
122
|
+
models/dashboard-access-park-group-stats-vo.ts
|
|
123
|
+
models/dashboard-access-search-dto.ts
|
|
124
|
+
models/dashboard-access-source-group-stats-vo.ts
|
|
122
125
|
models/dashboard-base-search-dto.ts
|
|
123
126
|
models/dashboard-equipment-park-group-stats-vo.ts
|
|
124
127
|
models/dashboard-equipment-search-dto.ts
|
|
125
128
|
models/dashboard-equipment-system-group-stats-vo.ts
|
|
129
|
+
models/dashboard-series-stats-base-vo.ts
|
|
126
130
|
models/dashboard-surveillance-functional-area-group-stats-vo.ts
|
|
127
131
|
models/dashboard-surveillance-park-group-stats-vo.ts
|
|
128
132
|
models/dashboard-surveillance-search-dto.ts
|
|
@@ -130,6 +134,7 @@ models/dashboard-work-order-by-park-search-dto.ts
|
|
|
130
134
|
models/dashboard-work-order-by-work-order-type-search-dto.ts
|
|
131
135
|
models/dashboard-work-order-by-work-order-type-subcategory-search-dto.ts
|
|
132
136
|
models/dashboard-work-order-issue-type-group-stats-vo.ts
|
|
137
|
+
models/dashboard-work-order-list-search-dto.ts
|
|
133
138
|
models/dashboard-work-order-park-group-stats-vo.ts
|
|
134
139
|
models/dashboard-work-order-type-group-stats-vo.ts
|
|
135
140
|
models/dashboard-work-order-type-subcategory-group-stats-vo.ts
|
|
@@ -242,8 +247,11 @@ models/json-result-list-applet-sys-user-drop-down-box-list-dto.ts
|
|
|
242
247
|
models/json-result-list-area-park-dto.ts
|
|
243
248
|
models/json-result-list-calendar-entity.ts
|
|
244
249
|
models/json-result-list-center-list-dto.ts
|
|
250
|
+
models/json-result-list-dashboard-access-park-group-stats-vo.ts
|
|
251
|
+
models/json-result-list-dashboard-access-source-group-stats-vo.ts
|
|
245
252
|
models/json-result-list-dashboard-equipment-park-group-stats-vo.ts
|
|
246
253
|
models/json-result-list-dashboard-equipment-system-group-stats-vo.ts
|
|
254
|
+
models/json-result-list-dashboard-series-stats-base-vo.ts
|
|
247
255
|
models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.ts
|
|
248
256
|
models/json-result-list-dashboard-surveillance-park-group-stats-vo.ts
|
|
249
257
|
models/json-result-list-dashboard-work-order-park-group-stats-vo.ts
|
|
@@ -253,6 +261,7 @@ models/json-result-list-equipment-detail-dto.ts
|
|
|
253
261
|
models/json-result-list-equipment-qr-code-dto.ts
|
|
254
262
|
models/json-result-list-equipment-system-tree-dto.ts
|
|
255
263
|
models/json-result-list-equipment-tree-dto.ts
|
|
264
|
+
models/json-result-list-inspection-point.ts
|
|
256
265
|
models/json-result-list-inspection-standard-entity.ts
|
|
257
266
|
models/json-result-list-maintenance-standard-entity.ts
|
|
258
267
|
models/json-result-list-park-list-dto.ts
|
|
@@ -263,6 +272,7 @@ models/json-result-list-space-point-dto.ts
|
|
|
263
272
|
models/json-result-list-space-qr-code-dto.ts
|
|
264
273
|
models/json-result-list-space-tree-dto.ts
|
|
265
274
|
models/json-result-list-space-url-dto.ts
|
|
275
|
+
models/json-result-list-srm-center-vo.ts
|
|
266
276
|
models/json-result-list-supplier-select-dto.ts
|
|
267
277
|
models/json-result-list-surveillance-settings-coverage-standard-dto.ts
|
|
268
278
|
models/json-result-list-sys-dept-drop-down-box-list-dto.ts
|
|
@@ -303,6 +313,7 @@ models/json-result-period-detail-resp.ts
|
|
|
303
313
|
models/json-result-plan-detail-dto.ts
|
|
304
314
|
models/json-result-space-add-redis-list-dto.ts
|
|
305
315
|
models/json-result-space-image-detail-dto.ts
|
|
316
|
+
models/json-result-srm-center-entity.ts
|
|
306
317
|
models/json-result-string.ts
|
|
307
318
|
models/json-result-supplier-contract-details-dto.ts
|
|
308
319
|
models/json-result-supplier-entity.ts
|
|
@@ -423,6 +434,9 @@ models/space-url-add-vo.ts
|
|
|
423
434
|
models/space-url-dto.ts
|
|
424
435
|
models/space-url-edit-vo.ts
|
|
425
436
|
models/space.ts
|
|
437
|
+
models/srm-center-entity.ts
|
|
438
|
+
models/srm-center-vo.ts
|
|
439
|
+
models/srm-level-add-dto.ts
|
|
426
440
|
models/srm-park-contract-change-vo.ts
|
|
427
441
|
models/standard-delete-vo.ts
|
|
428
442
|
models/sub-buttons.ts
|
package/apis/common-api.ts
CHANGED
|
@@ -34,6 +34,8 @@ import type { JsonResultListCenterListDTO } from '../models';
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
import type { JsonResultListParkListDTO } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
|
+
import type { JsonResultListSrmCenterVO } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
37
39
|
import type { JsonResultListSysDept } from '../models';
|
|
38
40
|
// @ts-ignore
|
|
39
41
|
import type { JsonResultListSysDeptDropDownBoxListDTO } from '../models';
|
|
@@ -42,6 +44,8 @@ import type { JsonResultParkInfoDTO } from '../models';
|
|
|
42
44
|
// @ts-ignore
|
|
43
45
|
import type { JsonResultParkSettingsDetailsDTO } from '../models';
|
|
44
46
|
// @ts-ignore
|
|
47
|
+
import type { JsonResultSrmCenterEntity } from '../models';
|
|
48
|
+
// @ts-ignore
|
|
45
49
|
import type { JsonResultString } from '../models';
|
|
46
50
|
// @ts-ignore
|
|
47
51
|
import type { JsonResultSysDept } from '../models';
|
|
@@ -56,6 +60,8 @@ import type { ParkPlatFormEnum } from '../models';
|
|
|
56
60
|
// @ts-ignore
|
|
57
61
|
import type { ParkSettingsVO } from '../models';
|
|
58
62
|
// @ts-ignore
|
|
63
|
+
import type { SrmLevelAddDTO } from '../models';
|
|
64
|
+
// @ts-ignore
|
|
59
65
|
import type { SysDept } from '../models';
|
|
60
66
|
// @ts-ignore
|
|
61
67
|
import type { SysDeptDropDownVO } from '../models';
|
|
@@ -73,6 +79,46 @@ import type { UserBatchImportUploadRequest } from '../models';
|
|
|
73
79
|
*/
|
|
74
80
|
export const CommonApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
75
81
|
return {
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @summary 新增srmLevel
|
|
85
|
+
* @param {SrmLevelAddDTO} srmLevelAddDTO
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
addSrmLevel: async (srmLevelAddDTO: SrmLevelAddDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
90
|
+
// verify required parameter 'srmLevelAddDTO' is not null or undefined
|
|
91
|
+
assertParamExists('addSrmLevel', 'srmLevelAddDTO', srmLevelAddDTO)
|
|
92
|
+
const localVarPath = `/srm/level`;
|
|
93
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
95
|
+
let baseOptions;
|
|
96
|
+
if (configuration) {
|
|
97
|
+
baseOptions = configuration.baseOptions;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
101
|
+
const localVarHeaderParameter = {} as any;
|
|
102
|
+
const localVarQueryParameter = {} as any;
|
|
103
|
+
|
|
104
|
+
// authentication tokenScheme required
|
|
105
|
+
// http bearer authentication required
|
|
106
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
111
|
+
|
|
112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
114
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
115
|
+
localVarRequestOptions.data = serializeDataIfNeeded(srmLevelAddDTO, localVarRequestOptions, configuration)
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
url: toPathString(localVarUrlObj),
|
|
119
|
+
options: localVarRequestOptions,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
76
122
|
/**
|
|
77
123
|
*
|
|
78
124
|
* @param {number} pid
|
|
@@ -1582,6 +1628,91 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1582
1628
|
|
|
1583
1629
|
|
|
1584
1630
|
|
|
1631
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1632
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1633
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1634
|
+
|
|
1635
|
+
return {
|
|
1636
|
+
url: toPathString(localVarUrlObj),
|
|
1637
|
+
options: localVarRequestOptions,
|
|
1638
|
+
};
|
|
1639
|
+
},
|
|
1640
|
+
/**
|
|
1641
|
+
*
|
|
1642
|
+
* @summary 通过权限标识查询用户所有园区
|
|
1643
|
+
* @param {string} permission 权限标识
|
|
1644
|
+
* @param {*} [options] Override http request option.
|
|
1645
|
+
* @throws {RequiredError}
|
|
1646
|
+
*/
|
|
1647
|
+
selectParkListByPermission: async (permission: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1648
|
+
// verify required parameter 'permission' is not null or undefined
|
|
1649
|
+
assertParamExists('selectParkListByPermission', 'permission', permission)
|
|
1650
|
+
const localVarPath = `/system/dept/park/permission`;
|
|
1651
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1652
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1653
|
+
let baseOptions;
|
|
1654
|
+
if (configuration) {
|
|
1655
|
+
baseOptions = configuration.baseOptions;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1659
|
+
const localVarHeaderParameter = {} as any;
|
|
1660
|
+
const localVarQueryParameter = {} as any;
|
|
1661
|
+
|
|
1662
|
+
// authentication tokenScheme required
|
|
1663
|
+
// http bearer authentication required
|
|
1664
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1665
|
+
|
|
1666
|
+
if (permission !== undefined) {
|
|
1667
|
+
localVarQueryParameter['permission'] = permission;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1674
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1675
|
+
|
|
1676
|
+
return {
|
|
1677
|
+
url: toPathString(localVarUrlObj),
|
|
1678
|
+
options: localVarRequestOptions,
|
|
1679
|
+
};
|
|
1680
|
+
},
|
|
1681
|
+
/**
|
|
1682
|
+
*
|
|
1683
|
+
* @summary 查询srmLevel
|
|
1684
|
+
* @param {string} [parentCode] 上级编码
|
|
1685
|
+
* @param {number} [level] 要查询的level
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
selectSrmLevel: async (parentCode?: string, level?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1690
|
+
const localVarPath = `/srm/level`;
|
|
1691
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1692
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1693
|
+
let baseOptions;
|
|
1694
|
+
if (configuration) {
|
|
1695
|
+
baseOptions = configuration.baseOptions;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1699
|
+
const localVarHeaderParameter = {} as any;
|
|
1700
|
+
const localVarQueryParameter = {} as any;
|
|
1701
|
+
|
|
1702
|
+
// authentication tokenScheme required
|
|
1703
|
+
// http bearer authentication required
|
|
1704
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1705
|
+
|
|
1706
|
+
if (parentCode !== undefined) {
|
|
1707
|
+
localVarQueryParameter['parentCode'] = parentCode;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
if (level !== undefined) {
|
|
1711
|
+
localVarQueryParameter['level'] = level;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
|
|
1585
1716
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1586
1717
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1587
1718
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1935,6 +2066,19 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1935
2066
|
export const CommonApiFp = function(configuration?: Configuration) {
|
|
1936
2067
|
const localVarAxiosParamCreator = CommonApiAxiosParamCreator(configuration)
|
|
1937
2068
|
return {
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
* @summary 新增srmLevel
|
|
2072
|
+
* @param {SrmLevelAddDTO} srmLevelAddDTO
|
|
2073
|
+
* @param {*} [options] Override http request option.
|
|
2074
|
+
* @throws {RequiredError}
|
|
2075
|
+
*/
|
|
2076
|
+
async addSrmLevel(srmLevelAddDTO: SrmLevelAddDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSrmCenterEntity>> {
|
|
2077
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addSrmLevel(srmLevelAddDTO, options);
|
|
2078
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2079
|
+
const localVarOperationServerBasePath = operationServerMap['CommonApi.addSrmLevel']?.[localVarOperationServerIndex]?.url;
|
|
2080
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2081
|
+
},
|
|
1938
2082
|
/**
|
|
1939
2083
|
*
|
|
1940
2084
|
* @param {number} pid
|
|
@@ -2409,6 +2553,33 @@ export const CommonApiFp = function(configuration?: Configuration) {
|
|
|
2409
2553
|
const localVarOperationServerBasePath = operationServerMap['CommonApi.selectParkList']?.[localVarOperationServerIndex]?.url;
|
|
2410
2554
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2411
2555
|
},
|
|
2556
|
+
/**
|
|
2557
|
+
*
|
|
2558
|
+
* @summary 通过权限标识查询用户所有园区
|
|
2559
|
+
* @param {string} permission 权限标识
|
|
2560
|
+
* @param {*} [options] Override http request option.
|
|
2561
|
+
* @throws {RequiredError}
|
|
2562
|
+
*/
|
|
2563
|
+
async selectParkListByPermission(permission: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>> {
|
|
2564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectParkListByPermission(permission, options);
|
|
2565
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2566
|
+
const localVarOperationServerBasePath = operationServerMap['CommonApi.selectParkListByPermission']?.[localVarOperationServerIndex]?.url;
|
|
2567
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2568
|
+
},
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @summary 查询srmLevel
|
|
2572
|
+
* @param {string} [parentCode] 上级编码
|
|
2573
|
+
* @param {number} [level] 要查询的level
|
|
2574
|
+
* @param {*} [options] Override http request option.
|
|
2575
|
+
* @throws {RequiredError}
|
|
2576
|
+
*/
|
|
2577
|
+
async selectSrmLevel(parentCode?: string, level?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListSrmCenterVO>> {
|
|
2578
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectSrmLevel(parentCode, level, options);
|
|
2579
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2580
|
+
const localVarOperationServerBasePath = operationServerMap['CommonApi.selectSrmLevel']?.[localVarOperationServerIndex]?.url;
|
|
2581
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2582
|
+
},
|
|
2412
2583
|
/**
|
|
2413
2584
|
*
|
|
2414
2585
|
* @param {string} host 目标主机地址
|
|
@@ -2520,6 +2691,16 @@ export const CommonApiFp = function(configuration?: Configuration) {
|
|
|
2520
2691
|
export const CommonApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2521
2692
|
const localVarFp = CommonApiFp(configuration)
|
|
2522
2693
|
return {
|
|
2694
|
+
/**
|
|
2695
|
+
*
|
|
2696
|
+
* @summary 新增srmLevel
|
|
2697
|
+
* @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
|
|
2698
|
+
* @param {*} [options] Override http request option.
|
|
2699
|
+
* @throws {RequiredError}
|
|
2700
|
+
*/
|
|
2701
|
+
addSrmLevel(requestParameters: CommonApiAddSrmLevelRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSrmCenterEntity> {
|
|
2702
|
+
return localVarFp.addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(axios, basePath));
|
|
2703
|
+
},
|
|
2523
2704
|
/**
|
|
2524
2705
|
*
|
|
2525
2706
|
* @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
|
|
@@ -2875,6 +3056,26 @@ export const CommonApiFactory = function (configuration?: Configuration, basePat
|
|
|
2875
3056
|
selectParkList(requestParameters: CommonApiSelectParkListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO> {
|
|
2876
3057
|
return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
|
|
2877
3058
|
},
|
|
3059
|
+
/**
|
|
3060
|
+
*
|
|
3061
|
+
* @summary 通过权限标识查询用户所有园区
|
|
3062
|
+
* @param {CommonApiSelectParkListByPermissionRequest} requestParameters Request parameters.
|
|
3063
|
+
* @param {*} [options] Override http request option.
|
|
3064
|
+
* @throws {RequiredError}
|
|
3065
|
+
*/
|
|
3066
|
+
selectParkListByPermission(requestParameters: CommonApiSelectParkListByPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO> {
|
|
3067
|
+
return localVarFp.selectParkListByPermission(requestParameters.permission, options).then((request) => request(axios, basePath));
|
|
3068
|
+
},
|
|
3069
|
+
/**
|
|
3070
|
+
*
|
|
3071
|
+
* @summary 查询srmLevel
|
|
3072
|
+
* @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
|
|
3073
|
+
* @param {*} [options] Override http request option.
|
|
3074
|
+
* @throws {RequiredError}
|
|
3075
|
+
*/
|
|
3076
|
+
selectSrmLevel(requestParameters: CommonApiSelectSrmLevelRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListSrmCenterVO> {
|
|
3077
|
+
return localVarFp.selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(axios, basePath));
|
|
3078
|
+
},
|
|
2878
3079
|
/**
|
|
2879
3080
|
*
|
|
2880
3081
|
* @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
|
|
@@ -2953,6 +3154,20 @@ export const CommonApiFactory = function (configuration?: Configuration, basePat
|
|
|
2953
3154
|
};
|
|
2954
3155
|
};
|
|
2955
3156
|
|
|
3157
|
+
/**
|
|
3158
|
+
* Request parameters for addSrmLevel operation in CommonApi.
|
|
3159
|
+
* @export
|
|
3160
|
+
* @interface CommonApiAddSrmLevelRequest
|
|
3161
|
+
*/
|
|
3162
|
+
export interface CommonApiAddSrmLevelRequest {
|
|
3163
|
+
/**
|
|
3164
|
+
*
|
|
3165
|
+
* @type {SrmLevelAddDTO}
|
|
3166
|
+
* @memberof CommonApiAddSrmLevel
|
|
3167
|
+
*/
|
|
3168
|
+
readonly srmLevelAddDTO: SrmLevelAddDTO
|
|
3169
|
+
}
|
|
3170
|
+
|
|
2956
3171
|
/**
|
|
2957
3172
|
* Request parameters for addressRegionList operation in CommonApi.
|
|
2958
3173
|
* @export
|
|
@@ -3478,6 +3693,41 @@ export interface CommonApiSelectParkListRequest {
|
|
|
3478
3693
|
readonly parkCenterAttribute?: ParkCenterAttributeEnum
|
|
3479
3694
|
}
|
|
3480
3695
|
|
|
3696
|
+
/**
|
|
3697
|
+
* Request parameters for selectParkListByPermission operation in CommonApi.
|
|
3698
|
+
* @export
|
|
3699
|
+
* @interface CommonApiSelectParkListByPermissionRequest
|
|
3700
|
+
*/
|
|
3701
|
+
export interface CommonApiSelectParkListByPermissionRequest {
|
|
3702
|
+
/**
|
|
3703
|
+
* 权限标识
|
|
3704
|
+
* @type {string}
|
|
3705
|
+
* @memberof CommonApiSelectParkListByPermission
|
|
3706
|
+
*/
|
|
3707
|
+
readonly permission: string
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
/**
|
|
3711
|
+
* Request parameters for selectSrmLevel operation in CommonApi.
|
|
3712
|
+
* @export
|
|
3713
|
+
* @interface CommonApiSelectSrmLevelRequest
|
|
3714
|
+
*/
|
|
3715
|
+
export interface CommonApiSelectSrmLevelRequest {
|
|
3716
|
+
/**
|
|
3717
|
+
* 上级编码
|
|
3718
|
+
* @type {string}
|
|
3719
|
+
* @memberof CommonApiSelectSrmLevel
|
|
3720
|
+
*/
|
|
3721
|
+
readonly parentCode?: string
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* 要查询的level
|
|
3725
|
+
* @type {number}
|
|
3726
|
+
* @memberof CommonApiSelectSrmLevel
|
|
3727
|
+
*/
|
|
3728
|
+
readonly level?: number
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3481
3731
|
/**
|
|
3482
3732
|
* Request parameters for tcpConnect operation in CommonApi.
|
|
3483
3733
|
* @export
|
|
@@ -3611,6 +3861,18 @@ export interface CommonApiUploadPrivacyRequest {
|
|
|
3611
3861
|
* @extends {BaseAPI}
|
|
3612
3862
|
*/
|
|
3613
3863
|
export class CommonApi extends BaseAPI {
|
|
3864
|
+
/**
|
|
3865
|
+
*
|
|
3866
|
+
* @summary 新增srmLevel
|
|
3867
|
+
* @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
|
|
3868
|
+
* @param {*} [options] Override http request option.
|
|
3869
|
+
* @throws {RequiredError}
|
|
3870
|
+
* @memberof CommonApi
|
|
3871
|
+
*/
|
|
3872
|
+
public addSrmLevel(requestParameters: CommonApiAddSrmLevelRequest, options?: RawAxiosRequestConfig) {
|
|
3873
|
+
return CommonApiFp(this.configuration).addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3614
3876
|
/**
|
|
3615
3877
|
*
|
|
3616
3878
|
* @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
|
|
@@ -4042,6 +4304,30 @@ export class CommonApi extends BaseAPI {
|
|
|
4042
4304
|
return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
|
|
4043
4305
|
}
|
|
4044
4306
|
|
|
4307
|
+
/**
|
|
4308
|
+
*
|
|
4309
|
+
* @summary 通过权限标识查询用户所有园区
|
|
4310
|
+
* @param {CommonApiSelectParkListByPermissionRequest} requestParameters Request parameters.
|
|
4311
|
+
* @param {*} [options] Override http request option.
|
|
4312
|
+
* @throws {RequiredError}
|
|
4313
|
+
* @memberof CommonApi
|
|
4314
|
+
*/
|
|
4315
|
+
public selectParkListByPermission(requestParameters: CommonApiSelectParkListByPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
4316
|
+
return CommonApiFp(this.configuration).selectParkListByPermission(requestParameters.permission, options).then((request) => request(this.axios, this.basePath));
|
|
4317
|
+
}
|
|
4318
|
+
|
|
4319
|
+
/**
|
|
4320
|
+
*
|
|
4321
|
+
* @summary 查询srmLevel
|
|
4322
|
+
* @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
|
|
4323
|
+
* @param {*} [options] Override http request option.
|
|
4324
|
+
* @throws {RequiredError}
|
|
4325
|
+
* @memberof CommonApi
|
|
4326
|
+
*/
|
|
4327
|
+
public selectSrmLevel(requestParameters: CommonApiSelectSrmLevelRequest = {}, options?: RawAxiosRequestConfig) {
|
|
4328
|
+
return CommonApiFp(this.configuration).selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(this.axios, this.basePath));
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4045
4331
|
/**
|
|
4046
4332
|
*
|
|
4047
4333
|
* @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
|