@gizone/rrs-client 4.2.7-alpha.438 → 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.
Files changed (37) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/apis/common-api.ts +196 -0
  3. package/dist/apis/common-api.d.ts +103 -0
  4. package/dist/apis/common-api.js +144 -0
  5. package/dist/esm/apis/common-api.d.ts +103 -0
  6. package/dist/esm/apis/common-api.js +144 -0
  7. package/dist/esm/models/index.d.ts +5 -0
  8. package/dist/esm/models/index.js +5 -0
  9. package/dist/esm/models/json-result-list-srm-center-vo.d.ts +62 -0
  10. package/dist/esm/models/json-result-list-srm-center-vo.js +14 -0
  11. package/dist/esm/models/json-result-srm-center-entity.d.ts +62 -0
  12. package/dist/esm/models/json-result-srm-center-entity.js +14 -0
  13. package/dist/esm/models/srm-center-entity.d.ts +54 -0
  14. package/dist/esm/models/srm-center-entity.js +14 -0
  15. package/dist/esm/models/srm-center-vo.d.ts +54 -0
  16. package/dist/esm/models/srm-center-vo.js +14 -0
  17. package/dist/esm/models/srm-level-add-dto.d.ts +48 -0
  18. package/dist/esm/models/srm-level-add-dto.js +14 -0
  19. package/dist/models/index.d.ts +5 -0
  20. package/dist/models/index.js +5 -0
  21. package/dist/models/json-result-list-srm-center-vo.d.ts +62 -0
  22. package/dist/models/json-result-list-srm-center-vo.js +15 -0
  23. package/dist/models/json-result-srm-center-entity.d.ts +62 -0
  24. package/dist/models/json-result-srm-center-entity.js +15 -0
  25. package/dist/models/srm-center-entity.d.ts +54 -0
  26. package/dist/models/srm-center-entity.js +15 -0
  27. package/dist/models/srm-center-vo.d.ts +54 -0
  28. package/dist/models/srm-center-vo.js +15 -0
  29. package/dist/models/srm-level-add-dto.d.ts +48 -0
  30. package/dist/models/srm-level-add-dto.js +15 -0
  31. package/models/index.ts +5 -0
  32. package/models/json-result-list-srm-center-vo.ts +72 -0
  33. package/models/json-result-srm-center-entity.ts +72 -0
  34. package/models/srm-center-entity.ts +60 -0
  35. package/models/srm-center-vo.ts +60 -0
  36. package/models/srm-level-add-dto.ts +54 -0
  37. package/package.json +1 -1
@@ -35,6 +35,39 @@ const base_1 = require("../base");
35
35
  */
36
36
  const CommonApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
+ /**
39
+ *
40
+ * @summary 新增srmLevel
41
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ addSrmLevel: (srmLevelAddDTO_1, ...args_1) => __awaiter(this, [srmLevelAddDTO_1, ...args_1], void 0, function* (srmLevelAddDTO, options = {}) {
46
+ // verify required parameter 'srmLevelAddDTO' is not null or undefined
47
+ (0, common_1.assertParamExists)('addSrmLevel', 'srmLevelAddDTO', srmLevelAddDTO);
48
+ const localVarPath = `/srm/level`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication tokenScheme required
59
+ // http bearer authentication required
60
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(srmLevelAddDTO, localVarRequestOptions, configuration);
66
+ return {
67
+ url: (0, common_1.toPathString)(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
38
71
  /**
39
72
  *
40
73
  * @param {number} pid
@@ -1329,6 +1362,42 @@ const CommonApiAxiosParamCreator = function (configuration) {
1329
1362
  options: localVarRequestOptions,
1330
1363
  };
1331
1364
  }),
1365
+ /**
1366
+ *
1367
+ * @summary 查询srmLevel
1368
+ * @param {string} [parentCode] 上级编码
1369
+ * @param {number} [level] 要查询的level
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ */
1373
+ selectSrmLevel: (parentCode_1, level_1, ...args_1) => __awaiter(this, [parentCode_1, level_1, ...args_1], void 0, function* (parentCode, level, options = {}) {
1374
+ const localVarPath = `/srm/level`;
1375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1376
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1377
+ let baseOptions;
1378
+ if (configuration) {
1379
+ baseOptions = configuration.baseOptions;
1380
+ }
1381
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1382
+ const localVarHeaderParameter = {};
1383
+ const localVarQueryParameter = {};
1384
+ // authentication tokenScheme required
1385
+ // http bearer authentication required
1386
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1387
+ if (parentCode !== undefined) {
1388
+ localVarQueryParameter['parentCode'] = parentCode;
1389
+ }
1390
+ if (level !== undefined) {
1391
+ localVarQueryParameter['level'] = level;
1392
+ }
1393
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1394
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1395
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1396
+ return {
1397
+ url: (0, common_1.toPathString)(localVarUrlObj),
1398
+ options: localVarRequestOptions,
1399
+ };
1400
+ }),
1332
1401
  /**
1333
1402
  *
1334
1403
  * @param {string} host 目标主机地址
@@ -1614,6 +1683,22 @@ exports.CommonApiAxiosParamCreator = CommonApiAxiosParamCreator;
1614
1683
  const CommonApiFp = function (configuration) {
1615
1684
  const localVarAxiosParamCreator = (0, exports.CommonApiAxiosParamCreator)(configuration);
1616
1685
  return {
1686
+ /**
1687
+ *
1688
+ * @summary 新增srmLevel
1689
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
1690
+ * @param {*} [options] Override http request option.
1691
+ * @throws {RequiredError}
1692
+ */
1693
+ addSrmLevel(srmLevelAddDTO, options) {
1694
+ return __awaiter(this, void 0, void 0, function* () {
1695
+ var _a, _b, _c;
1696
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addSrmLevel(srmLevelAddDTO, options);
1697
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1698
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.addSrmLevel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1699
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1700
+ });
1701
+ },
1617
1702
  /**
1618
1703
  *
1619
1704
  * @param {number} pid
@@ -2218,6 +2303,23 @@ const CommonApiFp = function (configuration) {
2218
2303
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2219
2304
  });
2220
2305
  },
2306
+ /**
2307
+ *
2308
+ * @summary 查询srmLevel
2309
+ * @param {string} [parentCode] 上级编码
2310
+ * @param {number} [level] 要查询的level
2311
+ * @param {*} [options] Override http request option.
2312
+ * @throws {RequiredError}
2313
+ */
2314
+ selectSrmLevel(parentCode, level, options) {
2315
+ return __awaiter(this, void 0, void 0, function* () {
2316
+ var _a, _b, _c;
2317
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.selectSrmLevel(parentCode, level, options);
2318
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2319
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.selectSrmLevel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2320
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2321
+ });
2322
+ },
2221
2323
  /**
2222
2324
  *
2223
2325
  * @param {string} host 目标主机地址
@@ -2353,6 +2455,16 @@ exports.CommonApiFp = CommonApiFp;
2353
2455
  const CommonApiFactory = function (configuration, basePath, axios) {
2354
2456
  const localVarFp = (0, exports.CommonApiFp)(configuration);
2355
2457
  return {
2458
+ /**
2459
+ *
2460
+ * @summary 新增srmLevel
2461
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
2462
+ * @param {*} [options] Override http request option.
2463
+ * @throws {RequiredError}
2464
+ */
2465
+ addSrmLevel(requestParameters, options) {
2466
+ return localVarFp.addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(axios, basePath));
2467
+ },
2356
2468
  /**
2357
2469
  *
2358
2470
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -2718,6 +2830,16 @@ const CommonApiFactory = function (configuration, basePath, axios) {
2718
2830
  selectParkListByPermission(requestParameters, options) {
2719
2831
  return localVarFp.selectParkListByPermission(requestParameters.permission, options).then((request) => request(axios, basePath));
2720
2832
  },
2833
+ /**
2834
+ *
2835
+ * @summary 查询srmLevel
2836
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
2837
+ * @param {*} [options] Override http request option.
2838
+ * @throws {RequiredError}
2839
+ */
2840
+ selectSrmLevel(requestParameters = {}, options) {
2841
+ return localVarFp.selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(axios, basePath));
2842
+ },
2721
2843
  /**
2722
2844
  *
2723
2845
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -2803,6 +2925,17 @@ exports.CommonApiFactory = CommonApiFactory;
2803
2925
  * @extends {BaseAPI}
2804
2926
  */
2805
2927
  class CommonApi extends base_1.BaseAPI {
2928
+ /**
2929
+ *
2930
+ * @summary 新增srmLevel
2931
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
2932
+ * @param {*} [options] Override http request option.
2933
+ * @throws {RequiredError}
2934
+ * @memberof CommonApi
2935
+ */
2936
+ addSrmLevel(requestParameters, options) {
2937
+ return (0, exports.CommonApiFp)(this.configuration).addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(this.axios, this.basePath));
2938
+ }
2806
2939
  /**
2807
2940
  *
2808
2941
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -3207,6 +3340,17 @@ class CommonApi extends base_1.BaseAPI {
3207
3340
  selectParkListByPermission(requestParameters, options) {
3208
3341
  return (0, exports.CommonApiFp)(this.configuration).selectParkListByPermission(requestParameters.permission, options).then((request) => request(this.axios, this.basePath));
3209
3342
  }
3343
+ /**
3344
+ *
3345
+ * @summary 查询srmLevel
3346
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
3347
+ * @param {*} [options] Override http request option.
3348
+ * @throws {RequiredError}
3349
+ * @memberof CommonApi
3350
+ */
3351
+ selectSrmLevel(requestParameters = {}, options) {
3352
+ return (0, exports.CommonApiFp)(this.configuration).selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(this.axios, this.basePath));
3353
+ }
3210
3354
  /**
3211
3355
  *
3212
3356
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -18,10 +18,12 @@ import type { JsonResultFileDTO } from '../models';
18
18
  import type { JsonResultListAddressRegionEntity } from '../models';
19
19
  import type { JsonResultListCenterListDTO } from '../models';
20
20
  import type { JsonResultListParkListDTO } from '../models';
21
+ import type { JsonResultListSrmCenterVO } from '../models';
21
22
  import type { JsonResultListSysDept } from '../models';
22
23
  import type { JsonResultListSysDeptDropDownBoxListDTO } from '../models';
23
24
  import type { JsonResultParkInfoDTO } from '../models';
24
25
  import type { JsonResultParkSettingsDetailsDTO } from '../models';
26
+ import type { JsonResultSrmCenterEntity } from '../models';
25
27
  import type { JsonResultString } from '../models';
26
28
  import type { JsonResultSysDept } from '../models';
27
29
  import type { JsonResultVoid } from '../models';
@@ -29,6 +31,7 @@ import type { ParkCenterAttributeEnum } from '../models';
29
31
  import type { ParkInfoEditVO } from '../models';
30
32
  import type { ParkPlatFormEnum } from '../models';
31
33
  import type { ParkSettingsVO } from '../models';
34
+ import type { SrmLevelAddDTO } from '../models';
32
35
  import type { SysDept } from '../models';
33
36
  import type { SysDeptDropDownVO } from '../models';
34
37
  import type { SysMenu } from '../models';
@@ -40,6 +43,14 @@ import type { UserBatchImportUploadRequest } from '../models';
40
43
  * @export
41
44
  */
42
45
  export declare const CommonApiAxiosParamCreator: (configuration?: Configuration) => {
46
+ /**
47
+ *
48
+ * @summary 新增srmLevel
49
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ addSrmLevel: (srmLevelAddDTO: SrmLevelAddDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
54
  /**
44
55
  *
45
56
  * @param {number} pid
@@ -332,6 +343,15 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
332
343
  * @throws {RequiredError}
333
344
  */
334
345
  selectParkListByPermission: (permission: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
346
+ /**
347
+ *
348
+ * @summary 查询srmLevel
349
+ * @param {string} [parentCode] 上级编码
350
+ * @param {number} [level] 要查询的level
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ */
354
+ selectSrmLevel: (parentCode?: string, level?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
335
355
  /**
336
356
  *
337
357
  * @param {string} host 目标主机地址
@@ -399,6 +419,14 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
399
419
  * @export
400
420
  */
401
421
  export declare const CommonApiFp: (configuration?: Configuration) => {
422
+ /**
423
+ *
424
+ * @summary 新增srmLevel
425
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
426
+ * @param {*} [options] Override http request option.
427
+ * @throws {RequiredError}
428
+ */
429
+ addSrmLevel(srmLevelAddDTO: SrmLevelAddDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSrmCenterEntity>>;
402
430
  /**
403
431
  *
404
432
  * @param {number} pid
@@ -725,6 +753,15 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
725
753
  * @throws {RequiredError}
726
754
  */
727
755
  selectParkListByPermission(permission: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
756
+ /**
757
+ *
758
+ * @summary 查询srmLevel
759
+ * @param {string} [parentCode] 上级编码
760
+ * @param {number} [level] 要查询的level
761
+ * @param {*} [options] Override http request option.
762
+ * @throws {RequiredError}
763
+ */
764
+ selectSrmLevel(parentCode?: string, level?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListSrmCenterVO>>;
728
765
  /**
729
766
  *
730
767
  * @param {string} host 目标主机地址
@@ -800,6 +837,14 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
800
837
  * @export
801
838
  */
802
839
  export declare const CommonApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
840
+ /**
841
+ *
842
+ * @summary 新增srmLevel
843
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
844
+ * @param {*} [options] Override http request option.
845
+ * @throws {RequiredError}
846
+ */
847
+ addSrmLevel(requestParameters: CommonApiAddSrmLevelRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSrmCenterEntity>;
803
848
  /**
804
849
  *
805
850
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -1121,6 +1166,14 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
1121
1166
  * @throws {RequiredError}
1122
1167
  */
1123
1168
  selectParkListByPermission(requestParameters: CommonApiSelectParkListByPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO>;
1169
+ /**
1170
+ *
1171
+ * @summary 查询srmLevel
1172
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
1173
+ * @param {*} [options] Override http request option.
1174
+ * @throws {RequiredError}
1175
+ */
1176
+ selectSrmLevel(requestParameters?: CommonApiSelectSrmLevelRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListSrmCenterVO>;
1124
1177
  /**
1125
1178
  *
1126
1179
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -1189,6 +1242,19 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
1189
1242
  */
1190
1243
  uploadPrivacy(requestParameters?: CommonApiUploadPrivacyRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
1191
1244
  };
1245
+ /**
1246
+ * Request parameters for addSrmLevel operation in CommonApi.
1247
+ * @export
1248
+ * @interface CommonApiAddSrmLevelRequest
1249
+ */
1250
+ export interface CommonApiAddSrmLevelRequest {
1251
+ /**
1252
+ *
1253
+ * @type {SrmLevelAddDTO}
1254
+ * @memberof CommonApiAddSrmLevel
1255
+ */
1256
+ readonly srmLevelAddDTO: SrmLevelAddDTO;
1257
+ }
1192
1258
  /**
1193
1259
  * Request parameters for addressRegionList operation in CommonApi.
1194
1260
  * @export
@@ -1687,6 +1753,25 @@ export interface CommonApiSelectParkListByPermissionRequest {
1687
1753
  */
1688
1754
  readonly permission: string;
1689
1755
  }
1756
+ /**
1757
+ * Request parameters for selectSrmLevel operation in CommonApi.
1758
+ * @export
1759
+ * @interface CommonApiSelectSrmLevelRequest
1760
+ */
1761
+ export interface CommonApiSelectSrmLevelRequest {
1762
+ /**
1763
+ * 上级编码
1764
+ * @type {string}
1765
+ * @memberof CommonApiSelectSrmLevel
1766
+ */
1767
+ readonly parentCode?: string;
1768
+ /**
1769
+ * 要查询的level
1770
+ * @type {number}
1771
+ * @memberof CommonApiSelectSrmLevel
1772
+ */
1773
+ readonly level?: number;
1774
+ }
1690
1775
  /**
1691
1776
  * Request parameters for tcpConnect operation in CommonApi.
1692
1777
  * @export
@@ -1810,6 +1895,15 @@ export interface CommonApiUploadPrivacyRequest {
1810
1895
  * @extends {BaseAPI}
1811
1896
  */
1812
1897
  export declare class CommonApi extends BaseAPI {
1898
+ /**
1899
+ *
1900
+ * @summary 新增srmLevel
1901
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
1902
+ * @param {*} [options] Override http request option.
1903
+ * @throws {RequiredError}
1904
+ * @memberof CommonApi
1905
+ */
1906
+ addSrmLevel(requestParameters: CommonApiAddSrmLevelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSrmCenterEntity, any>>;
1813
1907
  /**
1814
1908
  *
1815
1909
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -2170,6 +2264,15 @@ export declare class CommonApi extends BaseAPI {
2170
2264
  * @memberof CommonApi
2171
2265
  */
2172
2266
  selectParkListByPermission(requestParameters: CommonApiSelectParkListByPermissionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListParkListDTO, any>>;
2267
+ /**
2268
+ *
2269
+ * @summary 查询srmLevel
2270
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
2271
+ * @param {*} [options] Override http request option.
2272
+ * @throws {RequiredError}
2273
+ * @memberof CommonApi
2274
+ */
2275
+ selectSrmLevel(requestParameters?: CommonApiSelectSrmLevelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListSrmCenterVO, any>>;
2173
2276
  /**
2174
2277
  *
2175
2278
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -32,6 +32,39 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
32
32
  */
33
33
  export const CommonApiAxiosParamCreator = function (configuration) {
34
34
  return {
35
+ /**
36
+ *
37
+ * @summary 新增srmLevel
38
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ addSrmLevel: (srmLevelAddDTO_1, ...args_1) => __awaiter(this, [srmLevelAddDTO_1, ...args_1], void 0, function* (srmLevelAddDTO, options = {}) {
43
+ // verify required parameter 'srmLevelAddDTO' is not null or undefined
44
+ assertParamExists('addSrmLevel', 'srmLevelAddDTO', srmLevelAddDTO);
45
+ const localVarPath = `/srm/level`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
53
+ const localVarHeaderParameter = {};
54
+ const localVarQueryParameter = {};
55
+ // authentication tokenScheme required
56
+ // http bearer authentication required
57
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
58
+ localVarHeaderParameter['Content-Type'] = 'application/json';
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ localVarRequestOptions.data = serializeDataIfNeeded(srmLevelAddDTO, localVarRequestOptions, configuration);
63
+ return {
64
+ url: toPathString(localVarUrlObj),
65
+ options: localVarRequestOptions,
66
+ };
67
+ }),
35
68
  /**
36
69
  *
37
70
  * @param {number} pid
@@ -1326,6 +1359,42 @@ export const CommonApiAxiosParamCreator = function (configuration) {
1326
1359
  options: localVarRequestOptions,
1327
1360
  };
1328
1361
  }),
1362
+ /**
1363
+ *
1364
+ * @summary 查询srmLevel
1365
+ * @param {string} [parentCode] 上级编码
1366
+ * @param {number} [level] 要查询的level
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ selectSrmLevel: (parentCode_1, level_1, ...args_1) => __awaiter(this, [parentCode_1, level_1, ...args_1], void 0, function* (parentCode, level, options = {}) {
1371
+ const localVarPath = `/srm/level`;
1372
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1373
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1374
+ let baseOptions;
1375
+ if (configuration) {
1376
+ baseOptions = configuration.baseOptions;
1377
+ }
1378
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1379
+ const localVarHeaderParameter = {};
1380
+ const localVarQueryParameter = {};
1381
+ // authentication tokenScheme required
1382
+ // http bearer authentication required
1383
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1384
+ if (parentCode !== undefined) {
1385
+ localVarQueryParameter['parentCode'] = parentCode;
1386
+ }
1387
+ if (level !== undefined) {
1388
+ localVarQueryParameter['level'] = level;
1389
+ }
1390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1392
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1393
+ return {
1394
+ url: toPathString(localVarUrlObj),
1395
+ options: localVarRequestOptions,
1396
+ };
1397
+ }),
1329
1398
  /**
1330
1399
  *
1331
1400
  * @param {string} host 目标主机地址
@@ -1610,6 +1679,22 @@ export const CommonApiAxiosParamCreator = function (configuration) {
1610
1679
  export const CommonApiFp = function (configuration) {
1611
1680
  const localVarAxiosParamCreator = CommonApiAxiosParamCreator(configuration);
1612
1681
  return {
1682
+ /**
1683
+ *
1684
+ * @summary 新增srmLevel
1685
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
1686
+ * @param {*} [options] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ */
1689
+ addSrmLevel(srmLevelAddDTO, options) {
1690
+ return __awaiter(this, void 0, void 0, function* () {
1691
+ var _a, _b, _c;
1692
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addSrmLevel(srmLevelAddDTO, options);
1693
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1694
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.addSrmLevel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1695
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1696
+ });
1697
+ },
1613
1698
  /**
1614
1699
  *
1615
1700
  * @param {number} pid
@@ -2214,6 +2299,23 @@ export const CommonApiFp = function (configuration) {
2214
2299
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2215
2300
  });
2216
2301
  },
2302
+ /**
2303
+ *
2304
+ * @summary 查询srmLevel
2305
+ * @param {string} [parentCode] 上级编码
2306
+ * @param {number} [level] 要查询的level
2307
+ * @param {*} [options] Override http request option.
2308
+ * @throws {RequiredError}
2309
+ */
2310
+ selectSrmLevel(parentCode, level, options) {
2311
+ return __awaiter(this, void 0, void 0, function* () {
2312
+ var _a, _b, _c;
2313
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.selectSrmLevel(parentCode, level, options);
2314
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2315
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.selectSrmLevel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2316
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2317
+ });
2318
+ },
2217
2319
  /**
2218
2320
  *
2219
2321
  * @param {string} host 目标主机地址
@@ -2348,6 +2450,16 @@ export const CommonApiFp = function (configuration) {
2348
2450
  export const CommonApiFactory = function (configuration, basePath, axios) {
2349
2451
  const localVarFp = CommonApiFp(configuration);
2350
2452
  return {
2453
+ /**
2454
+ *
2455
+ * @summary 新增srmLevel
2456
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
2457
+ * @param {*} [options] Override http request option.
2458
+ * @throws {RequiredError}
2459
+ */
2460
+ addSrmLevel(requestParameters, options) {
2461
+ return localVarFp.addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(axios, basePath));
2462
+ },
2351
2463
  /**
2352
2464
  *
2353
2465
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -2713,6 +2825,16 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
2713
2825
  selectParkListByPermission(requestParameters, options) {
2714
2826
  return localVarFp.selectParkListByPermission(requestParameters.permission, options).then((request) => request(axios, basePath));
2715
2827
  },
2828
+ /**
2829
+ *
2830
+ * @summary 查询srmLevel
2831
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
2832
+ * @param {*} [options] Override http request option.
2833
+ * @throws {RequiredError}
2834
+ */
2835
+ selectSrmLevel(requestParameters = {}, options) {
2836
+ return localVarFp.selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(axios, basePath));
2837
+ },
2716
2838
  /**
2717
2839
  *
2718
2840
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -2797,6 +2919,17 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
2797
2919
  * @extends {BaseAPI}
2798
2920
  */
2799
2921
  export class CommonApi extends BaseAPI {
2922
+ /**
2923
+ *
2924
+ * @summary 新增srmLevel
2925
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
2926
+ * @param {*} [options] Override http request option.
2927
+ * @throws {RequiredError}
2928
+ * @memberof CommonApi
2929
+ */
2930
+ addSrmLevel(requestParameters, options) {
2931
+ return CommonApiFp(this.configuration).addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(this.axios, this.basePath));
2932
+ }
2800
2933
  /**
2801
2934
  *
2802
2935
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -3201,6 +3334,17 @@ export class CommonApi extends BaseAPI {
3201
3334
  selectParkListByPermission(requestParameters, options) {
3202
3335
  return CommonApiFp(this.configuration).selectParkListByPermission(requestParameters.permission, options).then((request) => request(this.axios, this.basePath));
3203
3336
  }
3337
+ /**
3338
+ *
3339
+ * @summary 查询srmLevel
3340
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
3341
+ * @param {*} [options] Override http request option.
3342
+ * @throws {RequiredError}
3343
+ * @memberof CommonApi
3344
+ */
3345
+ selectSrmLevel(requestParameters = {}, options) {
3346
+ return CommonApiFp(this.configuration).selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(this.axios, this.basePath));
3347
+ }
3204
3348
  /**
3205
3349
  *
3206
3350
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -228,6 +228,7 @@ export * from './json-result-list-space-point-dto';
228
228
  export * from './json-result-list-space-qr-code-dto';
229
229
  export * from './json-result-list-space-tree-dto';
230
230
  export * from './json-result-list-space-url-dto';
231
+ export * from './json-result-list-srm-center-vo';
231
232
  export * from './json-result-list-supplier-select-dto';
232
233
  export * from './json-result-list-surveillance-settings-coverage-standard-dto';
233
234
  export * from './json-result-list-sys-dept';
@@ -268,6 +269,7 @@ export * from './json-result-period-detail-resp';
268
269
  export * from './json-result-plan-detail-dto';
269
270
  export * from './json-result-space-add-redis-list-dto';
270
271
  export * from './json-result-space-image-detail-dto';
272
+ export * from './json-result-srm-center-entity';
271
273
  export * from './json-result-string';
272
274
  export * from './json-result-supplier-contract-details-dto';
273
275
  export * from './json-result-supplier-entity';
@@ -387,6 +389,9 @@ export * from './space-type-enum';
387
389
  export * from './space-url-add-vo';
388
390
  export * from './space-url-dto';
389
391
  export * from './space-url-edit-vo';
392
+ export * from './srm-center-entity';
393
+ export * from './srm-center-vo';
394
+ export * from './srm-level-add-dto';
390
395
  export * from './srm-park-contract-change-vo';
391
396
  export * from './standard-delete-vo';
392
397
  export * from './sub-buttons';
@@ -228,6 +228,7 @@ export * from './json-result-list-space-point-dto';
228
228
  export * from './json-result-list-space-qr-code-dto';
229
229
  export * from './json-result-list-space-tree-dto';
230
230
  export * from './json-result-list-space-url-dto';
231
+ export * from './json-result-list-srm-center-vo';
231
232
  export * from './json-result-list-supplier-select-dto';
232
233
  export * from './json-result-list-surveillance-settings-coverage-standard-dto';
233
234
  export * from './json-result-list-sys-dept';
@@ -268,6 +269,7 @@ export * from './json-result-period-detail-resp';
268
269
  export * from './json-result-plan-detail-dto';
269
270
  export * from './json-result-space-add-redis-list-dto';
270
271
  export * from './json-result-space-image-detail-dto';
272
+ export * from './json-result-srm-center-entity';
271
273
  export * from './json-result-string';
272
274
  export * from './json-result-supplier-contract-details-dto';
273
275
  export * from './json-result-supplier-entity';
@@ -387,6 +389,9 @@ export * from './space-type-enum';
387
389
  export * from './space-url-add-vo';
388
390
  export * from './space-url-dto';
389
391
  export * from './space-url-edit-vo';
392
+ export * from './srm-center-entity';
393
+ export * from './srm-center-vo';
394
+ export * from './srm-level-add-dto';
390
395
  export * from './srm-park-contract-change-vo';
391
396
  export * from './standard-delete-vo';
392
397
  export * from './sub-buttons';