@gizone/rrs-client 4.2.5-alpha.414 → 4.2.6-alpha.416

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @gizone/rrs-client@4.2.5
1
+ ## @gizone/rrs-client@4.2.6
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @gizone/rrs-client@4.2.5 --save
39
+ npm install @gizone/rrs-client@4.2.6 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
24
24
  // @ts-ignore
25
25
  import type { JsonResult } from '../models';
26
26
  // @ts-ignore
27
+ import type { JsonResultBoolean } from '../models';
28
+ // @ts-ignore
27
29
  import type { JsonResultFileDTO } from '../models';
28
30
  // @ts-ignore
29
31
  import type { JsonResultListAddressRegionEntity } from '../models';
@@ -1404,6 +1406,47 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
1404
1406
 
1405
1407
 
1406
1408
 
1409
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1410
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1411
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1412
+
1413
+ return {
1414
+ url: toPathString(localVarUrlObj),
1415
+ options: localVarRequestOptions,
1416
+ };
1417
+ },
1418
+ /**
1419
+ *
1420
+ * @summary DNS解析域名
1421
+ * @param {string} domain 需要解析的域名
1422
+ * @param {*} [options] Override http request option.
1423
+ * @throws {RequiredError}
1424
+ */
1425
+ resolveDomain: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1426
+ // verify required parameter 'domain' is not null or undefined
1427
+ assertParamExists('resolveDomain', 'domain', domain)
1428
+ const localVarPath = `/gizone/ip/resolveDomain`;
1429
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1430
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1431
+ let baseOptions;
1432
+ if (configuration) {
1433
+ baseOptions = configuration.baseOptions;
1434
+ }
1435
+
1436
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1437
+ const localVarHeaderParameter = {} as any;
1438
+ const localVarQueryParameter = {} as any;
1439
+
1440
+ // authentication tokenScheme required
1441
+ // http bearer authentication required
1442
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1443
+
1444
+ if (domain !== undefined) {
1445
+ localVarQueryParameter['domain'] = domain;
1446
+ }
1447
+
1448
+
1449
+
1407
1450
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1408
1451
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1409
1452
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1539,6 +1582,60 @@ export const CommonApiAxiosParamCreator = function (configuration?: Configuratio
1539
1582
 
1540
1583
 
1541
1584
 
1585
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1586
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1587
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1588
+
1589
+ return {
1590
+ url: toPathString(localVarUrlObj),
1591
+ options: localVarRequestOptions,
1592
+ };
1593
+ },
1594
+ /**
1595
+ *
1596
+ * @param {string} host 目标主机地址
1597
+ * @param {number} port 目标端口号
1598
+ * @param {number} timeOutMs 连接超时时间(毫秒)
1599
+ * @param {*} [options] Override http request option.
1600
+ * @throws {RequiredError}
1601
+ */
1602
+ tcpConnect: async (host: string, port: number, timeOutMs: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1603
+ // verify required parameter 'host' is not null or undefined
1604
+ assertParamExists('tcpConnect', 'host', host)
1605
+ // verify required parameter 'port' is not null or undefined
1606
+ assertParamExists('tcpConnect', 'port', port)
1607
+ // verify required parameter 'timeOutMs' is not null or undefined
1608
+ assertParamExists('tcpConnect', 'timeOutMs', timeOutMs)
1609
+ const localVarPath = `/gizone/ip/tcpConnect`;
1610
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1611
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1612
+ let baseOptions;
1613
+ if (configuration) {
1614
+ baseOptions = configuration.baseOptions;
1615
+ }
1616
+
1617
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1618
+ const localVarHeaderParameter = {} as any;
1619
+ const localVarQueryParameter = {} as any;
1620
+
1621
+ // authentication tokenScheme required
1622
+ // http bearer authentication required
1623
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1624
+
1625
+ if (host !== undefined) {
1626
+ localVarQueryParameter['host'] = host;
1627
+ }
1628
+
1629
+ if (port !== undefined) {
1630
+ localVarQueryParameter['port'] = port;
1631
+ }
1632
+
1633
+ if (timeOutMs !== undefined) {
1634
+ localVarQueryParameter['timeOutMs'] = timeOutMs;
1635
+ }
1636
+
1637
+
1638
+
1542
1639
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1543
1640
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1544
1641
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2258,6 +2355,19 @@ export const CommonApiFp = function(configuration?: Configuration) {
2258
2355
  const localVarOperationServerBasePath = operationServerMap['CommonApi.listPark']?.[localVarOperationServerIndex]?.url;
2259
2356
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2260
2357
  },
2358
+ /**
2359
+ *
2360
+ * @summary DNS解析域名
2361
+ * @param {string} domain 需要解析的域名
2362
+ * @param {*} [options] Override http request option.
2363
+ * @throws {RequiredError}
2364
+ */
2365
+ async resolveDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultString>> {
2366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resolveDomain(domain, options);
2367
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2368
+ const localVarOperationServerBasePath = operationServerMap['CommonApi.resolveDomain']?.[localVarOperationServerIndex]?.url;
2369
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2370
+ },
2261
2371
  /**
2262
2372
  *
2263
2373
  * @param {string} resource
@@ -2299,6 +2409,20 @@ export const CommonApiFp = function(configuration?: Configuration) {
2299
2409
  const localVarOperationServerBasePath = operationServerMap['CommonApi.selectParkList']?.[localVarOperationServerIndex]?.url;
2300
2410
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2301
2411
  },
2412
+ /**
2413
+ *
2414
+ * @param {string} host 目标主机地址
2415
+ * @param {number} port 目标端口号
2416
+ * @param {number} timeOutMs 连接超时时间(毫秒)
2417
+ * @param {*} [options] Override http request option.
2418
+ * @throws {RequiredError}
2419
+ */
2420
+ async tcpConnect(host: string, port: number, timeOutMs: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
2421
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tcpConnect(host, port, timeOutMs, options);
2422
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2423
+ const localVarOperationServerBasePath = operationServerMap['CommonApi.tcpConnect']?.[localVarOperationServerIndex]?.url;
2424
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2425
+ },
2302
2426
  /**
2303
2427
  *
2304
2428
  * @param {SysDept} sysDept
@@ -2712,6 +2836,16 @@ export const CommonApiFactory = function (configuration?: Configuration, basePat
2712
2836
  listPark(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListSysDept> {
2713
2837
  return localVarFp.listPark(options).then((request) => request(axios, basePath));
2714
2838
  },
2839
+ /**
2840
+ *
2841
+ * @summary DNS解析域名
2842
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
2843
+ * @param {*} [options] Override http request option.
2844
+ * @throws {RequiredError}
2845
+ */
2846
+ resolveDomain(requestParameters: CommonApiResolveDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultString> {
2847
+ return localVarFp.resolveDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
2848
+ },
2715
2849
  /**
2716
2850
  *
2717
2851
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2741,6 +2875,15 @@ export const CommonApiFactory = function (configuration?: Configuration, basePat
2741
2875
  selectParkList(requestParameters: CommonApiSelectParkListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO> {
2742
2876
  return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
2743
2877
  },
2878
+ /**
2879
+ *
2880
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
2881
+ * @param {*} [options] Override http request option.
2882
+ * @throws {RequiredError}
2883
+ */
2884
+ tcpConnect(requestParameters: CommonApiTcpConnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
2885
+ return localVarFp.tcpConnect(requestParameters.host, requestParameters.port, requestParameters.timeOutMs, options).then((request) => request(axios, basePath));
2886
+ },
2744
2887
  /**
2745
2888
  *
2746
2889
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -3258,6 +3401,20 @@ export interface CommonApiListMenuTreeByRoleRequest {
3258
3401
  readonly roleId: number
3259
3402
  }
3260
3403
 
3404
+ /**
3405
+ * Request parameters for resolveDomain operation in CommonApi.
3406
+ * @export
3407
+ * @interface CommonApiResolveDomainRequest
3408
+ */
3409
+ export interface CommonApiResolveDomainRequest {
3410
+ /**
3411
+ * 需要解析的域名
3412
+ * @type {string}
3413
+ * @memberof CommonApiResolveDomain
3414
+ */
3415
+ readonly domain: string
3416
+ }
3417
+
3261
3418
  /**
3262
3419
  * Request parameters for resourceDownload operation in CommonApi.
3263
3420
  * @export
@@ -3321,6 +3478,34 @@ export interface CommonApiSelectParkListRequest {
3321
3478
  readonly parkCenterAttribute?: ParkCenterAttributeEnum
3322
3479
  }
3323
3480
 
3481
+ /**
3482
+ * Request parameters for tcpConnect operation in CommonApi.
3483
+ * @export
3484
+ * @interface CommonApiTcpConnectRequest
3485
+ */
3486
+ export interface CommonApiTcpConnectRequest {
3487
+ /**
3488
+ * 目标主机地址
3489
+ * @type {string}
3490
+ * @memberof CommonApiTcpConnect
3491
+ */
3492
+ readonly host: string
3493
+
3494
+ /**
3495
+ * 目标端口号
3496
+ * @type {number}
3497
+ * @memberof CommonApiTcpConnect
3498
+ */
3499
+ readonly port: number
3500
+
3501
+ /**
3502
+ * 连接超时时间(毫秒)
3503
+ * @type {number}
3504
+ * @memberof CommonApiTcpConnect
3505
+ */
3506
+ readonly timeOutMs: number
3507
+ }
3508
+
3324
3509
  /**
3325
3510
  * Request parameters for updateDept operation in CommonApi.
3326
3511
  * @export
@@ -3810,6 +3995,18 @@ export class CommonApi extends BaseAPI {
3810
3995
  return CommonApiFp(this.configuration).listPark(options).then((request) => request(this.axios, this.basePath));
3811
3996
  }
3812
3997
 
3998
+ /**
3999
+ *
4000
+ * @summary DNS解析域名
4001
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
4002
+ * @param {*} [options] Override http request option.
4003
+ * @throws {RequiredError}
4004
+ * @memberof CommonApi
4005
+ */
4006
+ public resolveDomain(requestParameters: CommonApiResolveDomainRequest, options?: RawAxiosRequestConfig) {
4007
+ return CommonApiFp(this.configuration).resolveDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4008
+ }
4009
+
3813
4010
  /**
3814
4011
  *
3815
4012
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -3845,6 +4042,17 @@ export class CommonApi extends BaseAPI {
3845
4042
  return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
3846
4043
  }
3847
4044
 
4045
+ /**
4046
+ *
4047
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
4048
+ * @param {*} [options] Override http request option.
4049
+ * @throws {RequiredError}
4050
+ * @memberof CommonApi
4051
+ */
4052
+ public tcpConnect(requestParameters: CommonApiTcpConnectRequest, options?: RawAxiosRequestConfig) {
4053
+ return CommonApiFp(this.configuration).tcpConnect(requestParameters.host, requestParameters.port, requestParameters.timeOutMs, options).then((request) => request(this.axios, this.basePath));
4054
+ }
4055
+
3848
4056
  /**
3849
4057
  *
3850
4058
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
package/configuration.ts CHANGED
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/4.2.5/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/4.2.6/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { JsonResult } from '../models';
16
+ import type { JsonResultBoolean } from '../models';
16
17
  import type { JsonResultFileDTO } from '../models';
17
18
  import type { JsonResultListAddressRegionEntity } from '../models';
18
19
  import type { JsonResultListCenterListDTO } from '../models';
@@ -289,6 +290,14 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
289
290
  * @throws {RequiredError}
290
291
  */
291
292
  listPark: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
293
+ /**
294
+ *
295
+ * @summary DNS解析域名
296
+ * @param {string} domain 需要解析的域名
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ resolveDomain: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
292
301
  /**
293
302
  *
294
303
  * @param {string} resource
@@ -315,6 +324,15 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
315
324
  * @throws {RequiredError}
316
325
  */
317
326
  selectParkList: (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
327
+ /**
328
+ *
329
+ * @param {string} host 目标主机地址
330
+ * @param {number} port 目标端口号
331
+ * @param {number} timeOutMs 连接超时时间(毫秒)
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ tcpConnect: (host: string, port: number, timeOutMs: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
318
336
  /**
319
337
  *
320
338
  * @param {SysDept} sysDept
@@ -657,6 +675,14 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
657
675
  * @throws {RequiredError}
658
676
  */
659
677
  listPark(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListSysDept>>;
678
+ /**
679
+ *
680
+ * @summary DNS解析域名
681
+ * @param {string} domain 需要解析的域名
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ resolveDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultString>>;
660
686
  /**
661
687
  *
662
688
  * @param {string} resource
@@ -683,6 +709,15 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
683
709
  * @throws {RequiredError}
684
710
  */
685
711
  selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
712
+ /**
713
+ *
714
+ * @param {string} host 目标主机地址
715
+ * @param {number} port 目标端口号
716
+ * @param {number} timeOutMs 连接超时时间(毫秒)
717
+ * @param {*} [options] Override http request option.
718
+ * @throws {RequiredError}
719
+ */
720
+ tcpConnect(host: string, port: number, timeOutMs: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
686
721
  /**
687
722
  *
688
723
  * @param {SysDept} sysDept
@@ -1031,6 +1066,14 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
1031
1066
  * @throws {RequiredError}
1032
1067
  */
1033
1068
  listPark(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListSysDept>;
1069
+ /**
1070
+ *
1071
+ * @summary DNS解析域名
1072
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
1073
+ * @param {*} [options] Override http request option.
1074
+ * @throws {RequiredError}
1075
+ */
1076
+ resolveDomain(requestParameters: CommonApiResolveDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultString>;
1034
1077
  /**
1035
1078
  *
1036
1079
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -1054,6 +1097,13 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
1054
1097
  * @throws {RequiredError}
1055
1098
  */
1056
1099
  selectParkList(requestParameters?: CommonApiSelectParkListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO>;
1100
+ /**
1101
+ *
1102
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ */
1106
+ tcpConnect(requestParameters: CommonApiTcpConnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
1057
1107
  /**
1058
1108
  *
1059
1109
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -1530,6 +1580,19 @@ export interface CommonApiListMenuTreeByRoleRequest {
1530
1580
  */
1531
1581
  readonly roleId: number;
1532
1582
  }
1583
+ /**
1584
+ * Request parameters for resolveDomain operation in CommonApi.
1585
+ * @export
1586
+ * @interface CommonApiResolveDomainRequest
1587
+ */
1588
+ export interface CommonApiResolveDomainRequest {
1589
+ /**
1590
+ * 需要解析的域名
1591
+ * @type {string}
1592
+ * @memberof CommonApiResolveDomain
1593
+ */
1594
+ readonly domain: string;
1595
+ }
1533
1596
  /**
1534
1597
  * Request parameters for resourceDownload operation in CommonApi.
1535
1598
  * @export
@@ -1587,6 +1650,31 @@ export interface CommonApiSelectParkListRequest {
1587
1650
  */
1588
1651
  readonly parkCenterAttribute?: ParkCenterAttributeEnum;
1589
1652
  }
1653
+ /**
1654
+ * Request parameters for tcpConnect operation in CommonApi.
1655
+ * @export
1656
+ * @interface CommonApiTcpConnectRequest
1657
+ */
1658
+ export interface CommonApiTcpConnectRequest {
1659
+ /**
1660
+ * 目标主机地址
1661
+ * @type {string}
1662
+ * @memberof CommonApiTcpConnect
1663
+ */
1664
+ readonly host: string;
1665
+ /**
1666
+ * 目标端口号
1667
+ * @type {number}
1668
+ * @memberof CommonApiTcpConnect
1669
+ */
1670
+ readonly port: number;
1671
+ /**
1672
+ * 连接超时时间(毫秒)
1673
+ * @type {number}
1674
+ * @memberof CommonApiTcpConnect
1675
+ */
1676
+ readonly timeOutMs: number;
1677
+ }
1590
1678
  /**
1591
1679
  * Request parameters for updateDept operation in CommonApi.
1592
1680
  * @export
@@ -2001,6 +2089,15 @@ export declare class CommonApi extends BaseAPI {
2001
2089
  * @memberof CommonApi
2002
2090
  */
2003
2091
  listPark(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListSysDept, any>>;
2092
+ /**
2093
+ *
2094
+ * @summary DNS解析域名
2095
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
2096
+ * @param {*} [options] Override http request option.
2097
+ * @throws {RequiredError}
2098
+ * @memberof CommonApi
2099
+ */
2100
+ resolveDomain(requestParameters: CommonApiResolveDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultString, any>>;
2004
2101
  /**
2005
2102
  *
2006
2103
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2027,6 +2124,14 @@ export declare class CommonApi extends BaseAPI {
2027
2124
  * @memberof CommonApi
2028
2125
  */
2029
2126
  selectParkList(requestParameters?: CommonApiSelectParkListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListParkListDTO, any>>;
2127
+ /**
2128
+ *
2129
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
2130
+ * @param {*} [options] Override http request option.
2131
+ * @throws {RequiredError}
2132
+ * @memberof CommonApi
2133
+ */
2134
+ tcpConnect(requestParameters: CommonApiTcpConnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
2030
2135
  /**
2031
2136
  *
2032
2137
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -1150,6 +1150,40 @@ const CommonApiAxiosParamCreator = function (configuration) {
1150
1150
  options: localVarRequestOptions,
1151
1151
  };
1152
1152
  }),
1153
+ /**
1154
+ *
1155
+ * @summary DNS解析域名
1156
+ * @param {string} domain 需要解析的域名
1157
+ * @param {*} [options] Override http request option.
1158
+ * @throws {RequiredError}
1159
+ */
1160
+ resolveDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
1161
+ // verify required parameter 'domain' is not null or undefined
1162
+ (0, common_1.assertParamExists)('resolveDomain', 'domain', domain);
1163
+ const localVarPath = `/gizone/ip/resolveDomain`;
1164
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1165
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1166
+ let baseOptions;
1167
+ if (configuration) {
1168
+ baseOptions = configuration.baseOptions;
1169
+ }
1170
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1171
+ const localVarHeaderParameter = {};
1172
+ const localVarQueryParameter = {};
1173
+ // authentication tokenScheme required
1174
+ // http bearer authentication required
1175
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1176
+ if (domain !== undefined) {
1177
+ localVarQueryParameter['domain'] = domain;
1178
+ }
1179
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1180
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1181
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1182
+ return {
1183
+ url: (0, common_1.toPathString)(localVarUrlObj),
1184
+ options: localVarRequestOptions,
1185
+ };
1186
+ }),
1153
1187
  /**
1154
1188
  *
1155
1189
  * @param {string} resource
@@ -1261,6 +1295,51 @@ const CommonApiAxiosParamCreator = function (configuration) {
1261
1295
  options: localVarRequestOptions,
1262
1296
  };
1263
1297
  }),
1298
+ /**
1299
+ *
1300
+ * @param {string} host 目标主机地址
1301
+ * @param {number} port 目标端口号
1302
+ * @param {number} timeOutMs 连接超时时间(毫秒)
1303
+ * @param {*} [options] Override http request option.
1304
+ * @throws {RequiredError}
1305
+ */
1306
+ tcpConnect: (host_1, port_1, timeOutMs_1, ...args_1) => __awaiter(this, [host_1, port_1, timeOutMs_1, ...args_1], void 0, function* (host, port, timeOutMs, options = {}) {
1307
+ // verify required parameter 'host' is not null or undefined
1308
+ (0, common_1.assertParamExists)('tcpConnect', 'host', host);
1309
+ // verify required parameter 'port' is not null or undefined
1310
+ (0, common_1.assertParamExists)('tcpConnect', 'port', port);
1311
+ // verify required parameter 'timeOutMs' is not null or undefined
1312
+ (0, common_1.assertParamExists)('tcpConnect', 'timeOutMs', timeOutMs);
1313
+ const localVarPath = `/gizone/ip/tcpConnect`;
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 (host !== undefined) {
1327
+ localVarQueryParameter['host'] = host;
1328
+ }
1329
+ if (port !== undefined) {
1330
+ localVarQueryParameter['port'] = port;
1331
+ }
1332
+ if (timeOutMs !== undefined) {
1333
+ localVarQueryParameter['timeOutMs'] = timeOutMs;
1334
+ }
1335
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1336
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1337
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1338
+ return {
1339
+ url: (0, common_1.toPathString)(localVarUrlObj),
1340
+ options: localVarRequestOptions,
1341
+ };
1342
+ }),
1264
1343
  /**
1265
1344
  *
1266
1345
  * @param {SysDept} sysDept
@@ -2023,6 +2102,22 @@ const CommonApiFp = function (configuration) {
2023
2102
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2024
2103
  });
2025
2104
  },
2105
+ /**
2106
+ *
2107
+ * @summary DNS解析域名
2108
+ * @param {string} domain 需要解析的域名
2109
+ * @param {*} [options] Override http request option.
2110
+ * @throws {RequiredError}
2111
+ */
2112
+ resolveDomain(domain, options) {
2113
+ return __awaiter(this, void 0, void 0, function* () {
2114
+ var _a, _b, _c;
2115
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resolveDomain(domain, options);
2116
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2117
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.resolveDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2118
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2119
+ });
2120
+ },
2026
2121
  /**
2027
2122
  *
2028
2123
  * @param {string} resource
@@ -2073,6 +2168,23 @@ const CommonApiFp = function (configuration) {
2073
2168
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2074
2169
  });
2075
2170
  },
2171
+ /**
2172
+ *
2173
+ * @param {string} host 目标主机地址
2174
+ * @param {number} port 目标端口号
2175
+ * @param {number} timeOutMs 连接超时时间(毫秒)
2176
+ * @param {*} [options] Override http request option.
2177
+ * @throws {RequiredError}
2178
+ */
2179
+ tcpConnect(host, port, timeOutMs, options) {
2180
+ return __awaiter(this, void 0, void 0, function* () {
2181
+ var _a, _b, _c;
2182
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tcpConnect(host, port, timeOutMs, options);
2183
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2184
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.tcpConnect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2185
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2186
+ });
2187
+ },
2076
2188
  /**
2077
2189
  *
2078
2190
  * @param {SysDept} sysDept
@@ -2507,6 +2619,16 @@ const CommonApiFactory = function (configuration, basePath, axios) {
2507
2619
  listPark(options) {
2508
2620
  return localVarFp.listPark(options).then((request) => request(axios, basePath));
2509
2621
  },
2622
+ /**
2623
+ *
2624
+ * @summary DNS解析域名
2625
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
2626
+ * @param {*} [options] Override http request option.
2627
+ * @throws {RequiredError}
2628
+ */
2629
+ resolveDomain(requestParameters, options) {
2630
+ return localVarFp.resolveDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
2631
+ },
2510
2632
  /**
2511
2633
  *
2512
2634
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2536,6 +2658,15 @@ const CommonApiFactory = function (configuration, basePath, axios) {
2536
2658
  selectParkList(requestParameters = {}, options) {
2537
2659
  return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
2538
2660
  },
2661
+ /**
2662
+ *
2663
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
2664
+ * @param {*} [options] Override http request option.
2665
+ * @throws {RequiredError}
2666
+ */
2667
+ tcpConnect(requestParameters, options) {
2668
+ return localVarFp.tcpConnect(requestParameters.host, requestParameters.port, requestParameters.timeOutMs, options).then((request) => request(axios, basePath));
2669
+ },
2539
2670
  /**
2540
2671
  *
2541
2672
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -2962,6 +3093,17 @@ class CommonApi extends base_1.BaseAPI {
2962
3093
  listPark(options) {
2963
3094
  return (0, exports.CommonApiFp)(this.configuration).listPark(options).then((request) => request(this.axios, this.basePath));
2964
3095
  }
3096
+ /**
3097
+ *
3098
+ * @summary DNS解析域名
3099
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ * @memberof CommonApi
3103
+ */
3104
+ resolveDomain(requestParameters, options) {
3105
+ return (0, exports.CommonApiFp)(this.configuration).resolveDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
3106
+ }
2965
3107
  /**
2966
3108
  *
2967
3109
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2994,6 +3136,16 @@ class CommonApi extends base_1.BaseAPI {
2994
3136
  selectParkList(requestParameters = {}, options) {
2995
3137
  return (0, exports.CommonApiFp)(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
2996
3138
  }
3139
+ /**
3140
+ *
3141
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
3142
+ * @param {*} [options] Override http request option.
3143
+ * @throws {RequiredError}
3144
+ * @memberof CommonApi
3145
+ */
3146
+ tcpConnect(requestParameters, options) {
3147
+ return (0, exports.CommonApiFp)(this.configuration).tcpConnect(requestParameters.host, requestParameters.port, requestParameters.timeOutMs, options).then((request) => request(this.axios, this.basePath));
3148
+ }
2997
3149
  /**
2998
3150
  *
2999
3151
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.5/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.6/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { JsonResult } from '../models';
16
+ import type { JsonResultBoolean } from '../models';
16
17
  import type { JsonResultFileDTO } from '../models';
17
18
  import type { JsonResultListAddressRegionEntity } from '../models';
18
19
  import type { JsonResultListCenterListDTO } from '../models';
@@ -289,6 +290,14 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
289
290
  * @throws {RequiredError}
290
291
  */
291
292
  listPark: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
293
+ /**
294
+ *
295
+ * @summary DNS解析域名
296
+ * @param {string} domain 需要解析的域名
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ resolveDomain: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
292
301
  /**
293
302
  *
294
303
  * @param {string} resource
@@ -315,6 +324,15 @@ export declare const CommonApiAxiosParamCreator: (configuration?: Configuration)
315
324
  * @throws {RequiredError}
316
325
  */
317
326
  selectParkList: (centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
327
+ /**
328
+ *
329
+ * @param {string} host 目标主机地址
330
+ * @param {number} port 目标端口号
331
+ * @param {number} timeOutMs 连接超时时间(毫秒)
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ tcpConnect: (host: string, port: number, timeOutMs: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
318
336
  /**
319
337
  *
320
338
  * @param {SysDept} sysDept
@@ -657,6 +675,14 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
657
675
  * @throws {RequiredError}
658
676
  */
659
677
  listPark(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListSysDept>>;
678
+ /**
679
+ *
680
+ * @summary DNS解析域名
681
+ * @param {string} domain 需要解析的域名
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ resolveDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultString>>;
660
686
  /**
661
687
  *
662
688
  * @param {string} resource
@@ -683,6 +709,15 @@ export declare const CommonApiFp: (configuration?: Configuration) => {
683
709
  * @throws {RequiredError}
684
710
  */
685
711
  selectParkList(centerCode?: string, isSrm?: boolean, parkCenterAttribute?: ParkCenterAttributeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
712
+ /**
713
+ *
714
+ * @param {string} host 目标主机地址
715
+ * @param {number} port 目标端口号
716
+ * @param {number} timeOutMs 连接超时时间(毫秒)
717
+ * @param {*} [options] Override http request option.
718
+ * @throws {RequiredError}
719
+ */
720
+ tcpConnect(host: string, port: number, timeOutMs: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
686
721
  /**
687
722
  *
688
723
  * @param {SysDept} sysDept
@@ -1031,6 +1066,14 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
1031
1066
  * @throws {RequiredError}
1032
1067
  */
1033
1068
  listPark(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListSysDept>;
1069
+ /**
1070
+ *
1071
+ * @summary DNS解析域名
1072
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
1073
+ * @param {*} [options] Override http request option.
1074
+ * @throws {RequiredError}
1075
+ */
1076
+ resolveDomain(requestParameters: CommonApiResolveDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultString>;
1034
1077
  /**
1035
1078
  *
1036
1079
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -1054,6 +1097,13 @@ export declare const CommonApiFactory: (configuration?: Configuration, basePath?
1054
1097
  * @throws {RequiredError}
1055
1098
  */
1056
1099
  selectParkList(requestParameters?: CommonApiSelectParkListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO>;
1100
+ /**
1101
+ *
1102
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ */
1106
+ tcpConnect(requestParameters: CommonApiTcpConnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
1057
1107
  /**
1058
1108
  *
1059
1109
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -1530,6 +1580,19 @@ export interface CommonApiListMenuTreeByRoleRequest {
1530
1580
  */
1531
1581
  readonly roleId: number;
1532
1582
  }
1583
+ /**
1584
+ * Request parameters for resolveDomain operation in CommonApi.
1585
+ * @export
1586
+ * @interface CommonApiResolveDomainRequest
1587
+ */
1588
+ export interface CommonApiResolveDomainRequest {
1589
+ /**
1590
+ * 需要解析的域名
1591
+ * @type {string}
1592
+ * @memberof CommonApiResolveDomain
1593
+ */
1594
+ readonly domain: string;
1595
+ }
1533
1596
  /**
1534
1597
  * Request parameters for resourceDownload operation in CommonApi.
1535
1598
  * @export
@@ -1587,6 +1650,31 @@ export interface CommonApiSelectParkListRequest {
1587
1650
  */
1588
1651
  readonly parkCenterAttribute?: ParkCenterAttributeEnum;
1589
1652
  }
1653
+ /**
1654
+ * Request parameters for tcpConnect operation in CommonApi.
1655
+ * @export
1656
+ * @interface CommonApiTcpConnectRequest
1657
+ */
1658
+ export interface CommonApiTcpConnectRequest {
1659
+ /**
1660
+ * 目标主机地址
1661
+ * @type {string}
1662
+ * @memberof CommonApiTcpConnect
1663
+ */
1664
+ readonly host: string;
1665
+ /**
1666
+ * 目标端口号
1667
+ * @type {number}
1668
+ * @memberof CommonApiTcpConnect
1669
+ */
1670
+ readonly port: number;
1671
+ /**
1672
+ * 连接超时时间(毫秒)
1673
+ * @type {number}
1674
+ * @memberof CommonApiTcpConnect
1675
+ */
1676
+ readonly timeOutMs: number;
1677
+ }
1590
1678
  /**
1591
1679
  * Request parameters for updateDept operation in CommonApi.
1592
1680
  * @export
@@ -2001,6 +2089,15 @@ export declare class CommonApi extends BaseAPI {
2001
2089
  * @memberof CommonApi
2002
2090
  */
2003
2091
  listPark(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListSysDept, any>>;
2092
+ /**
2093
+ *
2094
+ * @summary DNS解析域名
2095
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
2096
+ * @param {*} [options] Override http request option.
2097
+ * @throws {RequiredError}
2098
+ * @memberof CommonApi
2099
+ */
2100
+ resolveDomain(requestParameters: CommonApiResolveDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultString, any>>;
2004
2101
  /**
2005
2102
  *
2006
2103
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2027,6 +2124,14 @@ export declare class CommonApi extends BaseAPI {
2027
2124
  * @memberof CommonApi
2028
2125
  */
2029
2126
  selectParkList(requestParameters?: CommonApiSelectParkListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListParkListDTO, any>>;
2127
+ /**
2128
+ *
2129
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
2130
+ * @param {*} [options] Override http request option.
2131
+ * @throws {RequiredError}
2132
+ * @memberof CommonApi
2133
+ */
2134
+ tcpConnect(requestParameters: CommonApiTcpConnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
2030
2135
  /**
2031
2136
  *
2032
2137
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -1147,6 +1147,40 @@ export const CommonApiAxiosParamCreator = function (configuration) {
1147
1147
  options: localVarRequestOptions,
1148
1148
  };
1149
1149
  }),
1150
+ /**
1151
+ *
1152
+ * @summary DNS解析域名
1153
+ * @param {string} domain 需要解析的域名
1154
+ * @param {*} [options] Override http request option.
1155
+ * @throws {RequiredError}
1156
+ */
1157
+ resolveDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
1158
+ // verify required parameter 'domain' is not null or undefined
1159
+ assertParamExists('resolveDomain', 'domain', domain);
1160
+ const localVarPath = `/gizone/ip/resolveDomain`;
1161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1163
+ let baseOptions;
1164
+ if (configuration) {
1165
+ baseOptions = configuration.baseOptions;
1166
+ }
1167
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1168
+ const localVarHeaderParameter = {};
1169
+ const localVarQueryParameter = {};
1170
+ // authentication tokenScheme required
1171
+ // http bearer authentication required
1172
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1173
+ if (domain !== undefined) {
1174
+ localVarQueryParameter['domain'] = domain;
1175
+ }
1176
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1177
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1178
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1179
+ return {
1180
+ url: toPathString(localVarUrlObj),
1181
+ options: localVarRequestOptions,
1182
+ };
1183
+ }),
1150
1184
  /**
1151
1185
  *
1152
1186
  * @param {string} resource
@@ -1258,6 +1292,51 @@ export const CommonApiAxiosParamCreator = function (configuration) {
1258
1292
  options: localVarRequestOptions,
1259
1293
  };
1260
1294
  }),
1295
+ /**
1296
+ *
1297
+ * @param {string} host 目标主机地址
1298
+ * @param {number} port 目标端口号
1299
+ * @param {number} timeOutMs 连接超时时间(毫秒)
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ */
1303
+ tcpConnect: (host_1, port_1, timeOutMs_1, ...args_1) => __awaiter(this, [host_1, port_1, timeOutMs_1, ...args_1], void 0, function* (host, port, timeOutMs, options = {}) {
1304
+ // verify required parameter 'host' is not null or undefined
1305
+ assertParamExists('tcpConnect', 'host', host);
1306
+ // verify required parameter 'port' is not null or undefined
1307
+ assertParamExists('tcpConnect', 'port', port);
1308
+ // verify required parameter 'timeOutMs' is not null or undefined
1309
+ assertParamExists('tcpConnect', 'timeOutMs', timeOutMs);
1310
+ const localVarPath = `/gizone/ip/tcpConnect`;
1311
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1312
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1313
+ let baseOptions;
1314
+ if (configuration) {
1315
+ baseOptions = configuration.baseOptions;
1316
+ }
1317
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1318
+ const localVarHeaderParameter = {};
1319
+ const localVarQueryParameter = {};
1320
+ // authentication tokenScheme required
1321
+ // http bearer authentication required
1322
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1323
+ if (host !== undefined) {
1324
+ localVarQueryParameter['host'] = host;
1325
+ }
1326
+ if (port !== undefined) {
1327
+ localVarQueryParameter['port'] = port;
1328
+ }
1329
+ if (timeOutMs !== undefined) {
1330
+ localVarQueryParameter['timeOutMs'] = timeOutMs;
1331
+ }
1332
+ 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: toPathString(localVarUrlObj),
1337
+ options: localVarRequestOptions,
1338
+ };
1339
+ }),
1261
1340
  /**
1262
1341
  *
1263
1342
  * @param {SysDept} sysDept
@@ -2019,6 +2098,22 @@ export const CommonApiFp = function (configuration) {
2019
2098
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2020
2099
  });
2021
2100
  },
2101
+ /**
2102
+ *
2103
+ * @summary DNS解析域名
2104
+ * @param {string} domain 需要解析的域名
2105
+ * @param {*} [options] Override http request option.
2106
+ * @throws {RequiredError}
2107
+ */
2108
+ resolveDomain(domain, options) {
2109
+ return __awaiter(this, void 0, void 0, function* () {
2110
+ var _a, _b, _c;
2111
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resolveDomain(domain, options);
2112
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2113
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.resolveDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2114
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2115
+ });
2116
+ },
2022
2117
  /**
2023
2118
  *
2024
2119
  * @param {string} resource
@@ -2069,6 +2164,23 @@ export const CommonApiFp = function (configuration) {
2069
2164
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2070
2165
  });
2071
2166
  },
2167
+ /**
2168
+ *
2169
+ * @param {string} host 目标主机地址
2170
+ * @param {number} port 目标端口号
2171
+ * @param {number} timeOutMs 连接超时时间(毫秒)
2172
+ * @param {*} [options] Override http request option.
2173
+ * @throws {RequiredError}
2174
+ */
2175
+ tcpConnect(host, port, timeOutMs, options) {
2176
+ return __awaiter(this, void 0, void 0, function* () {
2177
+ var _a, _b, _c;
2178
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tcpConnect(host, port, timeOutMs, options);
2179
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2180
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.tcpConnect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2181
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2182
+ });
2183
+ },
2072
2184
  /**
2073
2185
  *
2074
2186
  * @param {SysDept} sysDept
@@ -2502,6 +2614,16 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
2502
2614
  listPark(options) {
2503
2615
  return localVarFp.listPark(options).then((request) => request(axios, basePath));
2504
2616
  },
2617
+ /**
2618
+ *
2619
+ * @summary DNS解析域名
2620
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
2621
+ * @param {*} [options] Override http request option.
2622
+ * @throws {RequiredError}
2623
+ */
2624
+ resolveDomain(requestParameters, options) {
2625
+ return localVarFp.resolveDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
2626
+ },
2505
2627
  /**
2506
2628
  *
2507
2629
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2531,6 +2653,15 @@ export const CommonApiFactory = function (configuration, basePath, axios) {
2531
2653
  selectParkList(requestParameters = {}, options) {
2532
2654
  return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
2533
2655
  },
2656
+ /**
2657
+ *
2658
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
2659
+ * @param {*} [options] Override http request option.
2660
+ * @throws {RequiredError}
2661
+ */
2662
+ tcpConnect(requestParameters, options) {
2663
+ return localVarFp.tcpConnect(requestParameters.host, requestParameters.port, requestParameters.timeOutMs, options).then((request) => request(axios, basePath));
2664
+ },
2534
2665
  /**
2535
2666
  *
2536
2667
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -2956,6 +3087,17 @@ export class CommonApi extends BaseAPI {
2956
3087
  listPark(options) {
2957
3088
  return CommonApiFp(this.configuration).listPark(options).then((request) => request(this.axios, this.basePath));
2958
3089
  }
3090
+ /**
3091
+ *
3092
+ * @summary DNS解析域名
3093
+ * @param {CommonApiResolveDomainRequest} requestParameters Request parameters.
3094
+ * @param {*} [options] Override http request option.
3095
+ * @throws {RequiredError}
3096
+ * @memberof CommonApi
3097
+ */
3098
+ resolveDomain(requestParameters, options) {
3099
+ return CommonApiFp(this.configuration).resolveDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
3100
+ }
2959
3101
  /**
2960
3102
  *
2961
3103
  * @param {CommonApiResourceDownloadRequest} requestParameters Request parameters.
@@ -2988,6 +3130,16 @@ export class CommonApi extends BaseAPI {
2988
3130
  selectParkList(requestParameters = {}, options) {
2989
3131
  return CommonApiFp(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
2990
3132
  }
3133
+ /**
3134
+ *
3135
+ * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
3136
+ * @param {*} [options] Override http request option.
3137
+ * @throws {RequiredError}
3138
+ * @memberof CommonApi
3139
+ */
3140
+ tcpConnect(requestParameters, options) {
3141
+ return CommonApiFp(this.configuration).tcpConnect(requestParameters.host, requestParameters.port, requestParameters.timeOutMs, options).then((request) => request(this.axios, this.basePath));
3142
+ }
2991
3143
  /**
2992
3144
  *
2993
3145
  * @param {CommonApiUpdateDeptRequest} requestParameters Request parameters.
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.accessToken = param.accessToken;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.5/typescript-axios" }) }, param.baseOptions);
23
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.6/typescript-axios" }) }, param.baseOptions);
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -377,14 +377,14 @@ export interface SysUser {
377
377
  'sourceUserId'?: string;
378
378
  /**
379
379
  *
380
- * @type {string}
380
+ * @type {number}
381
381
  * @memberof SysUser
382
382
  */
383
- 'cid'?: string;
383
+ 'cuserId'?: number;
384
384
  /**
385
385
  *
386
- * @type {number}
386
+ * @type {string}
387
387
  * @memberof SysUser
388
388
  */
389
- 'cuserId'?: number;
389
+ 'cid'?: string;
390
390
  }
@@ -27,5 +27,7 @@ export declare const SystemUserMsgSourceTypeEnum: {
27
27
  readonly AccessAppointmentInApproval: "ACCESS_APPOINTMENT_IN_APPROVAL";
28
28
  readonly AccessAppointmentOutApproval: "ACCESS_APPOINTMENT_OUT_APPROVAL";
29
29
  readonly ExplorationWorkOrder: "EXPLORATION_WORK_ORDER";
30
+ readonly MonitoringCoverageAlertWorkOrder: "MONITORING_COVERAGE_ALERT_WORK_ORDER";
31
+ readonly DisasterWarningWorkOrder: "DISASTER_WARNING_WORK_ORDER";
30
32
  };
31
33
  export type SystemUserMsgSourceTypeEnum = typeof SystemUserMsgSourceTypeEnum[keyof typeof SystemUserMsgSourceTypeEnum];
@@ -28,5 +28,7 @@ export const SystemUserMsgSourceTypeEnum = {
28
28
  AccessWhitelistApplicationApproval: 'ACCESS_WHITELIST_APPLICATION_APPROVAL',
29
29
  AccessAppointmentInApproval: 'ACCESS_APPOINTMENT_IN_APPROVAL',
30
30
  AccessAppointmentOutApproval: 'ACCESS_APPOINTMENT_OUT_APPROVAL',
31
- ExplorationWorkOrder: 'EXPLORATION_WORK_ORDER'
31
+ ExplorationWorkOrder: 'EXPLORATION_WORK_ORDER',
32
+ MonitoringCoverageAlertWorkOrder: 'MONITORING_COVERAGE_ALERT_WORK_ORDER',
33
+ DisasterWarningWorkOrder: 'DISASTER_WARNING_WORK_ORDER'
32
34
  };
@@ -377,14 +377,14 @@ export interface SysUser {
377
377
  'sourceUserId'?: string;
378
378
  /**
379
379
  *
380
- * @type {string}
380
+ * @type {number}
381
381
  * @memberof SysUser
382
382
  */
383
- 'cid'?: string;
383
+ 'cuserId'?: number;
384
384
  /**
385
385
  *
386
- * @type {number}
386
+ * @type {string}
387
387
  * @memberof SysUser
388
388
  */
389
- 'cuserId'?: number;
389
+ 'cid'?: string;
390
390
  }
@@ -27,5 +27,7 @@ export declare const SystemUserMsgSourceTypeEnum: {
27
27
  readonly AccessAppointmentInApproval: "ACCESS_APPOINTMENT_IN_APPROVAL";
28
28
  readonly AccessAppointmentOutApproval: "ACCESS_APPOINTMENT_OUT_APPROVAL";
29
29
  readonly ExplorationWorkOrder: "EXPLORATION_WORK_ORDER";
30
+ readonly MonitoringCoverageAlertWorkOrder: "MONITORING_COVERAGE_ALERT_WORK_ORDER";
31
+ readonly DisasterWarningWorkOrder: "DISASTER_WARNING_WORK_ORDER";
30
32
  };
31
33
  export type SystemUserMsgSourceTypeEnum = typeof SystemUserMsgSourceTypeEnum[keyof typeof SystemUserMsgSourceTypeEnum];
@@ -31,5 +31,7 @@ exports.SystemUserMsgSourceTypeEnum = {
31
31
  AccessWhitelistApplicationApproval: 'ACCESS_WHITELIST_APPLICATION_APPROVAL',
32
32
  AccessAppointmentInApproval: 'ACCESS_APPOINTMENT_IN_APPROVAL',
33
33
  AccessAppointmentOutApproval: 'ACCESS_APPOINTMENT_OUT_APPROVAL',
34
- ExplorationWorkOrder: 'EXPLORATION_WORK_ORDER'
34
+ ExplorationWorkOrder: 'EXPLORATION_WORK_ORDER',
35
+ MonitoringCoverageAlertWorkOrder: 'MONITORING_COVERAGE_ALERT_WORK_ORDER',
36
+ DisasterWarningWorkOrder: 'DISASTER_WARNING_WORK_ORDER'
35
37
  };
@@ -388,16 +388,16 @@ export interface SysUser {
388
388
  'sourceUserId'?: string;
389
389
  /**
390
390
  *
391
- * @type {string}
391
+ * @type {number}
392
392
  * @memberof SysUser
393
393
  */
394
- 'cid'?: string;
394
+ 'cuserId'?: number;
395
395
  /**
396
396
  *
397
- * @type {number}
397
+ * @type {string}
398
398
  * @memberof SysUser
399
399
  */
400
- 'cuserId'?: number;
400
+ 'cid'?: string;
401
401
  }
402
402
 
403
403
 
@@ -32,7 +32,9 @@ export const SystemUserMsgSourceTypeEnum = {
32
32
  AccessWhitelistApplicationApproval: 'ACCESS_WHITELIST_APPLICATION_APPROVAL',
33
33
  AccessAppointmentInApproval: 'ACCESS_APPOINTMENT_IN_APPROVAL',
34
34
  AccessAppointmentOutApproval: 'ACCESS_APPOINTMENT_OUT_APPROVAL',
35
- ExplorationWorkOrder: 'EXPLORATION_WORK_ORDER'
35
+ ExplorationWorkOrder: 'EXPLORATION_WORK_ORDER',
36
+ MonitoringCoverageAlertWorkOrder: 'MONITORING_COVERAGE_ALERT_WORK_ORDER',
37
+ DisasterWarningWorkOrder: 'DISASTER_WARNING_WORK_ORDER'
36
38
  } as const;
37
39
 
38
40
  export type SystemUserMsgSourceTypeEnum = typeof SystemUserMsgSourceTypeEnum[keyof typeof SystemUserMsgSourceTypeEnum];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.5-alpha.414",
3
+ "version": "4.2.6-alpha.416",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {