tencentcloud-sdk-nodejs 4.0.756 → 4.0.758

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 (69) hide show
  1. package/CHANGELOG.md +235 -0
  2. package/README.md +3 -2
  3. package/SERVICE_CHANGELOG.md +234 -80
  4. package/package.json +1 -1
  5. package/products.md +18 -17
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +25 -12
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +91 -42
  9. package/src/services/cdb/v20170320/cdb_models.ts +4 -0
  10. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -1
  11. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +2 -2
  12. package/src/services/cvm/v20170312/cvm_models.ts +12 -12
  13. package/src/services/eb/v20210416/eb_models.ts +2 -2
  14. package/src/services/ess/v20201111/ess_models.ts +9 -1
  15. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -3
  16. package/src/services/hai/v20230812/hai_client.ts +31 -7
  17. package/src/services/hai/v20230812/hai_models.ts +66 -4
  18. package/src/services/index.ts +1 -0
  19. package/src/services/ioa/index.ts +5 -0
  20. package/src/services/ioa/v20220601/index.ts +6 -0
  21. package/src/services/ioa/v20220601/ioa_client.ts +49 -0
  22. package/src/services/ioa/v20220601/ioa_models.ts +213 -0
  23. package/src/services/lcic/v20220817/lcic_models.ts +8 -0
  24. package/src/services/lighthouse/v20200324/lighthouse_models.ts +35 -27
  25. package/src/services/omics/v20221128/omics_client.ts +1 -1
  26. package/src/services/omics/v20221128/omics_models.ts +22 -4
  27. package/src/services/tdmq/v20200217/tdmq_models.ts +13 -5
  28. package/src/services/teo/v20220901/teo_models.ts +30 -18
  29. package/src/services/tsf/v20180326/tsf_client.ts +1 -1
  30. package/src/services/tsf/v20180326/tsf_models.ts +5 -5
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +10 -6
  34. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +13 -7
  35. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +88 -42
  36. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
  37. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +1 -1
  38. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +1 -1
  39. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +2 -2
  40. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +12 -12
  41. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +2 -2
  42. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -1
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -3
  44. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +11 -3
  45. package/tencentcloud/services/hai/v20230812/hai_client.js +15 -3
  46. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +62 -4
  47. package/tencentcloud/services/index.d.ts +1 -0
  48. package/tencentcloud/services/index.js +2 -0
  49. package/tencentcloud/services/ioa/index.d.ts +6 -0
  50. package/tencentcloud/services/ioa/index.js +7 -0
  51. package/tencentcloud/services/ioa/v20220601/index.d.ts +6 -0
  52. package/tencentcloud/services/ioa/v20220601/index.js +9 -0
  53. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +14 -0
  54. package/tencentcloud/services/ioa/v20220601/ioa_client.js +37 -0
  55. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +189 -0
  56. package/tencentcloud/services/ioa/v20220601/ioa_models.js +18 -0
  57. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
  58. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +35 -27
  59. package/tencentcloud/services/omics/v20221128/omics_client.d.ts +1 -1
  60. package/tencentcloud/services/omics/v20221128/omics_client.js +1 -1
  61. package/tencentcloud/services/omics/v20221128/omics_models.d.ts +22 -4
  62. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +13 -5
  63. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +30 -18
  64. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
  65. package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
  66. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -5
  67. package/test/antiddos.v20200309.test.js +14 -4
  68. package/test/hai.v20230812.test.js +22 -2
  69. package/test/ioa.v20220601.test.js +31 -0
@@ -487,7 +487,7 @@ export interface CreateConnectionResponse {
487
487
  /**
488
488
  * 连接器ID
489
489
  */
490
- ConnectionId: string;
490
+ ConnectionId?: string;
491
491
  /**
492
492
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
493
493
  */
@@ -1641,7 +1641,7 @@ export interface CreateConnectionRequest {
1641
1641
  */
1642
1642
  Enable?: boolean;
1643
1643
  /**
1644
- * 类型
1644
+ * 连接器类型,目前支持以下类型:apigw/ckafka/dts/tdmq
1645
1645
  */
1646
1646
  Type?: string;
1647
1647
  }
@@ -129,6 +129,7 @@ export interface CreateSealRequest {
129
129
  <li>**CONTRACT**: 合同专用章;</li>
130
130
  <li>**FINANCE**: 财务专用章;</li>
131
131
  <li>**PERSONNEL**: 人事专用章</li>
132
+ <li>**INVOICE**: 发票专用章</li>
132
133
  </ul>
133
134
  注: `同企业下只能有一个公章, 重复创建会报错`
134
135
  */
@@ -192,9 +193,16 @@ export interface CreateSealRequest {
192
193
  * 印章尺寸取值描述, 可以选择的尺寸如下:
193
194
  <ul><li> **42_42**: 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li>
194
195
  <li> **40_40**: 圆形企业印章直径40mm, 当SealStyle是圆形的时候才有效</li>
195
- <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li></ul>
196
+ <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li>
197
+ <li> **40_30**: 椭圆形印章40mm x 30mm, 当SealStyle是椭圆的时候才有效</li></ul>
196
198
  */
197
199
  SealSize?: string;
200
+ /**
201
+ * 企业税号
202
+ 注: `1.印章类型SealType是INVOICE类型时,此参数才会生效`
203
+ `2.印章类型SealType是INVOICE类型,且该字段没有传入值或传入空时,会取该企业对应的统一社会信用代码作为默认的企业税号`
204
+ */
205
+ TaxIdentifyCode?: string;
198
206
  }
199
207
  /**
200
208
  * ModifyIntegrationDepartment返回参数结构体
@@ -1112,7 +1112,7 @@ export interface ReleasedApprover {
1112
1112
  export interface CreateConsoleLoginUrlResponse {
1113
1113
  /**
1114
1114
  * 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
1115
- <table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC/CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/APP</td> <td>一年</td> </tr> </tbody> </table>
1115
+ <table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/APP</td> <td>一年</td> </tr> </tbody> </table>
1116
1116
  注:
1117
1117
  `1.链接仅单次有效,每次登录需要需要重新创建新的链接`
1118
1118
  `2.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
@@ -3049,9 +3049,9 @@ export interface CreateConsoleLoginUrlRequest {
3049
3049
  MenuStatus?: string;
3050
3050
  /**
3051
3051
  * 生成链接的类型:
3052
- 生成链接的类型
3053
3052
  <ul><li>**PC**:(默认)web控制台链接, 需要在PC浏览器中打开</li>
3054
- <li>**CHANNEL**:H5跳转到电子签小程序链接, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
3053
+ <li>**CHANNEL**:H5跳转到电子签小程序链接, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
3054
+ <li>**SHORT_URL**:H5跳转到电子签小程序链接的短链形式, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
3055
3055
  <li>**APP**:第三方APP或小程序跳转电子签小程序链接, 一般用于贵方小程序或者APP跳转过来, 打开后进入腾讯电子签小程序</li></ul>
3056
3056
  */
3057
3057
  Endpoint?: string;
@@ -6729,6 +6729,7 @@ export interface CreateSealByImageRequest {
6729
6729
  <li>**CONTRACT**: 合同专用章;</li>
6730
6730
  <li>**FINANCE**: 财务专用章;</li>
6731
6731
  <li>**PERSONNEL**: 人事专用章</li>
6732
+ <li>**INVOICE**: 发票专用章</li>
6732
6733
  </ul>
6733
6734
  注: `同企业下只能有一个公章, 重复创建会报错`
6734
6735
  */
@@ -6754,6 +6755,12 @@ export interface CreateSealByImageRequest {
6754
6755
  <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li></ul>
6755
6756
  */
6756
6757
  SealSize?: string;
6758
+ /**
6759
+ * 企业税号
6760
+ 注: `1.印章类型SealType是INVOICE类型时,此参数才会生效`
6761
+ `2.印章类型SealType是INVOICE类型,且该字段没有传入值或传入空时,会取该企业对应的统一社会信用代码作为默认的企业税号`
6762
+ */
6763
+ TaxIdentifyCode?: string;
6757
6764
  }
6758
6765
  /**
6759
6766
  * ChannelCreateFlowApprovers请求参数结构体
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { InquirePriceRunInstancesResponse, TerminateInstancesRequest, DescribeServiceLoginSettingsResponse, DescribeInstanceNetworkStatusResponse, TerminateInstancesResponse, DescribeRegionsRequest, DescribeScenesResponse, DescribeApplicationsRequest, RunInstancesRequest, DescribeInstancesResponse, RunInstancesResponse, DescribeInstancesRequest, DescribeScenesRequest, DescribeRegionsResponse, InquirePriceRunInstancesRequest, DescribeServiceLoginSettingsRequest, DescribeApplicationsResponse, DescribeInstanceNetworkStatusRequest } from "./hai_models";
3
+ import { InquirePriceRunInstancesResponse, StopInstanceRequest, DescribeServiceLoginSettingsResponse, DescribeInstanceNetworkStatusResponse, TerminateInstancesResponse, DescribeRegionsRequest, StartInstanceRequest, TerminateInstancesRequest, DescribeScenesResponse, DescribeApplicationsRequest, RunInstancesRequest, DescribeInstancesResponse, RunInstancesResponse, DescribeInstancesRequest, DescribeScenesRequest, DescribeRegionsResponse, InquirePriceRunInstancesRequest, StartInstanceResponse, DescribeServiceLoginSettingsRequest, DescribeApplicationsResponse, DescribeInstanceNetworkStatusRequest, StopInstanceResponse } from "./hai_models";
4
4
  /**
5
5
  * hai client
6
6
  * @class
@@ -27,6 +27,14 @@ export declare class Client extends AbstractClient {
27
27
  * 本接口 (RunInstances) 用于创建一个或多个指定配置的实例。
28
28
  */
29
29
  RunInstances(req: RunInstancesRequest, cb?: (error: string, rep: RunInstancesResponse) => void): Promise<RunInstancesResponse>;
30
+ /**
31
+ * 本接口 (StartInstance) 用于主动启动实例。
32
+ */
33
+ StartInstance(req: StartInstanceRequest, cb?: (error: string, rep: StartInstanceResponse) => void): Promise<StartInstanceResponse>;
34
+ /**
35
+ * 本接口 (TerminateInstances) 用于主动退还实例。
36
+ */
37
+ TerminateInstances(req: TerminateInstancesRequest, cb?: (error: string, rep: TerminateInstancesResponse) => void): Promise<TerminateInstancesResponse>;
30
38
  /**
31
39
  * 查询实例的网络配置及消耗情况
32
40
  */
@@ -40,7 +48,7 @@ export declare class Client extends AbstractClient {
40
48
  */
41
49
  InquirePriceRunInstances(req: InquirePriceRunInstancesRequest, cb?: (error: string, rep: InquirePriceRunInstancesResponse) => void): Promise<InquirePriceRunInstancesResponse>;
42
50
  /**
43
- * 本接口 (TerminateInstances) 用于主动退还实例。
51
+ * 本接口 (StopInstance) 用于主动关闭实例。
44
52
  */
45
- TerminateInstances(req: TerminateInstancesRequest, cb?: (error: string, rep: TerminateInstancesResponse) => void): Promise<TerminateInstancesResponse>;
53
+ StopInstance(req: StopInstanceRequest, cb?: (error: string, rep: StopInstanceResponse) => void): Promise<StopInstanceResponse>;
46
54
  }
@@ -57,6 +57,18 @@ class Client extends abstract_client_1.AbstractClient {
57
57
  async RunInstances(req, cb) {
58
58
  return this.request("RunInstances", req, cb);
59
59
  }
60
+ /**
61
+ * 本接口 (StartInstance) 用于主动启动实例。
62
+ */
63
+ async StartInstance(req, cb) {
64
+ return this.request("StartInstance", req, cb);
65
+ }
66
+ /**
67
+ * 本接口 (TerminateInstances) 用于主动退还实例。
68
+ */
69
+ async TerminateInstances(req, cb) {
70
+ return this.request("TerminateInstances", req, cb);
71
+ }
60
72
  /**
61
73
  * 查询实例的网络配置及消耗情况
62
74
  */
@@ -76,10 +88,10 @@ class Client extends abstract_client_1.AbstractClient {
76
88
  return this.request("InquirePriceRunInstances", req, cb);
77
89
  }
78
90
  /**
79
- * 本接口 (TerminateInstances) 用于主动退还实例。
91
+ * 本接口 (StopInstance) 用于主动关闭实例。
80
92
  */
81
- async TerminateInstances(req, cb) {
82
- return this.request("TerminateInstances", req, cb);
93
+ async StopInstance(req, cb) {
94
+ return this.request("StopInstance", req, cb);
83
95
  }
84
96
  }
85
97
  exports.Client = Client;
@@ -43,13 +43,19 @@ export interface InquirePriceRunInstancesResponse {
43
43
  RequestId?: string;
44
44
  }
45
45
  /**
46
- * TerminateInstances请求参数结构体
46
+ * StopInstance请求参数结构体
47
47
  */
48
- export interface TerminateInstancesRequest {
48
+ export interface StopInstanceRequest {
49
49
  /**
50
- * 实例ID列表
50
+ * 实例ID
51
51
  */
52
- InstanceIds: Array<string>;
52
+ InstanceId: string;
53
+ /**
54
+ * hai实例关机的模式,目前仅支持关机不收费:
55
+ STOP_CHARGE -- 关闭hai实例,释放计算资源,停止收取计算资源的费用。
56
+ 注意:默认值为STOP_CHARGE
57
+ */
58
+ StopMode?: string;
53
59
  /**
54
60
  * 默认为False,True代表只验证接口连通性
55
61
  */
@@ -225,6 +231,19 @@ export interface TerminateInstancesResponse {
225
231
  * DescribeRegions请求参数结构体
226
232
  */
227
233
  export declare type DescribeRegionsRequest = null;
234
+ /**
235
+ * StartInstance请求参数结构体
236
+ */
237
+ export interface StartInstanceRequest {
238
+ /**
239
+ * 实例ID
240
+ */
241
+ InstanceId: string;
242
+ /**
243
+ * 默认为False,True代表只验证接口连通性
244
+ */
245
+ DryRun?: boolean;
246
+ }
228
247
  /**
229
248
  * 某服务的登录配置
230
249
  */
@@ -255,6 +274,19 @@ export interface Price {
255
274
  */
256
275
  CloudDiskPrice?: ItemPrice;
257
276
  }
277
+ /**
278
+ * TerminateInstances请求参数结构体
279
+ */
280
+ export interface TerminateInstancesRequest {
281
+ /**
282
+ * 实例ID列表
283
+ */
284
+ InstanceIds: Array<string>;
285
+ /**
286
+ * 默认为False,True代表只验证接口连通性
287
+ */
288
+ DryRun?: boolean;
289
+ }
258
290
  /**
259
291
  * 地域列表
260
292
  */
@@ -506,6 +538,19 @@ export interface InquirePriceRunInstancesRequest {
506
538
  */
507
539
  DryRun?: boolean;
508
540
  }
541
+ /**
542
+ * StartInstance返回参数结构体
543
+ */
544
+ export interface StartInstanceResponse {
545
+ /**
546
+ * task任务id
547
+ */
548
+ TaskId?: number;
549
+ /**
550
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
551
+ */
552
+ RequestId?: string;
553
+ }
509
554
  /**
510
555
  * DescribeServiceLoginSettings请求参数结构体
511
556
  */
@@ -620,6 +665,19 @@ export interface LoginService {
620
665
  */
621
666
  ServiceName?: string;
622
667
  }
668
+ /**
669
+ * StopInstance返回参数结构体
670
+ */
671
+ export interface StopInstanceResponse {
672
+ /**
673
+ * task任务id
674
+ */
675
+ TaskId?: number;
676
+ /**
677
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
678
+ */
679
+ RequestId?: string;
680
+ }
623
681
  /**
624
682
  * 场景详情
625
683
  */
@@ -118,6 +118,7 @@ export { ie } from "./ie";
118
118
  export { iecp } from "./iecp";
119
119
  export { iir } from "./iir";
120
120
  export { ims } from "./ims";
121
+ export { ioa } from "./ioa";
121
122
  export { iot } from "./iot";
122
123
  export { iotcloud } from "./iotcloud";
123
124
  export { iotexplorer } from "./iotexplorer";
@@ -240,6 +240,8 @@ var iir_1 = require("./iir");
240
240
  Object.defineProperty(exports, "iir", { enumerable: true, get: function () { return iir_1.iir; } });
241
241
  var ims_1 = require("./ims");
242
242
  Object.defineProperty(exports, "ims", { enumerable: true, get: function () { return ims_1.ims; } });
243
+ var ioa_1 = require("./ioa");
244
+ Object.defineProperty(exports, "ioa", { enumerable: true, get: function () { return ioa_1.ioa; } });
243
245
  var iot_1 = require("./iot");
244
246
  Object.defineProperty(exports, "iot", { enumerable: true, get: function () { return iot_1.iot; } });
245
247
  var iotcloud_1 = require("./iotcloud");
@@ -0,0 +1,6 @@
1
+ export declare const ioa: {
2
+ v20220601: {
3
+ Client: typeof import("./v20220601/ioa_client").Client;
4
+ Models: typeof import("./v20220601/ioa_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ioa = void 0;
4
+ const v20220601_1 = require("./v20220601");
5
+ exports.ioa = {
6
+ v20220601: v20220601_1.v20220601,
7
+ };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./ioa_models";
2
+ import { Client } from "./ioa_client";
3
+ export declare const v20220601: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20220601 = void 0;
4
+ const Models = require("./ioa_models");
5
+ const ioa_client_1 = require("./ioa_client");
6
+ exports.v20220601 = {
7
+ Client: ioa_client_1.Client,
8
+ Models: Models
9
+ };
@@ -0,0 +1,14 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { DescribeDevicesResponse, DescribeDevicesRequest } from "./ioa_models";
4
+ /**
5
+ * ioa client
6
+ * @class
7
+ */
8
+ export declare class Client extends AbstractClient {
9
+ constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
12
+ */
13
+ DescribeDevices(req: DescribeDevicesRequest, cb?: (error: string, rep: DescribeDevicesResponse) => void): Promise<DescribeDevicesResponse>;
14
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * ioa client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("ioa.tencentcloudapi.com", "2022-06-01", clientConfig);
29
+ }
30
+ /**
31
+ * 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
32
+ */
33
+ async DescribeDevices(req, cb) {
34
+ return this.request("DescribeDevices", req, cb);
35
+ }
36
+ }
37
+ exports.Client = Client;
@@ -0,0 +1,189 @@
1
+ /**
2
+ * Sort 排序字段
3
+ */
4
+ export interface Sort {
5
+ /**
6
+ * 排序字段
7
+ 注意:此字段可能返回 null,表示取不到有效值。
8
+ */
9
+ Field?: string;
10
+ /**
11
+ * 排序方式
12
+ 注意:此字段可能返回 null,表示取不到有效值。
13
+ */
14
+ Order?: string;
15
+ }
16
+ /**
17
+ * 分页的data数据
18
+ */
19
+ export interface DescribeDevicesPageRsp {
20
+ /**
21
+ * 数据分页信息
22
+ 注意:此字段可能返回 null,表示取不到有效值。
23
+ */
24
+ Paging?: Paging;
25
+ }
26
+ /**
27
+ * FilterGroups 条件过滤组
28
+ */
29
+ export interface FilterGroup {
30
+ /**
31
+ * Filters 条件过滤
32
+ 注意:此字段可能返回 null,表示取不到有效值。
33
+ */
34
+ Filters?: Array<Filter>;
35
+ }
36
+ /**
37
+ * DescribeDevices返回参数结构体
38
+ */
39
+ export interface DescribeDevicesResponse {
40
+ /**
41
+ * 分页的data数据
42
+ 注意:此字段可能返回 null,表示取不到有效值。
43
+ */
44
+ Data?: DescribeDevicesPageRsp;
45
+ /**
46
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
47
+ */
48
+ RequestId?: string;
49
+ }
50
+ /**
51
+ * Filters 条件过滤
52
+ */
53
+ export interface Filter {
54
+ /**
55
+ * 过滤字段
56
+ 注意:此字段可能返回 null,表示取不到有效值。
57
+ */
58
+ Field?: string;
59
+ /**
60
+ * 过滤方式 eq:等于,net:不等于,like,nlike,gt:大于,lt:小于,egt:大于等于,elt:小于等于
61
+ 注意:此字段可能返回 null,表示取不到有效值。
62
+ */
63
+ Operator?: string;
64
+ /**
65
+ * 过滤条件
66
+ 注意:此字段可能返回 null,表示取不到有效值。
67
+ */
68
+ Values?: Array<string>;
69
+ }
70
+ /**
71
+ * DescribeDevices请求参数结构体
72
+ */
73
+ export interface DescribeDevicesRequest {
74
+ /**
75
+ * 过滤条件<br>
76
+ <li>Ip - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照Ip进行过滤。</li>
77
+ <li>MacAddr - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照mac地址进行过滤。</li>
78
+ <li>IoaUserName - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照ioa用户名进行过滤。</li>
79
+ 分页参数<br>
80
+ <li>PageNum 从1开始,小于等于0时使用默认参数。</li>
81
+ <li>PageSize 最大值5000,最好不超过100。</li>
82
+ */
83
+ Condition?: Condition;
84
+ /**
85
+ * 私有化默认分组id-名称-操作系统
86
+ 1 全网终端 Win
87
+ 2 未分组终端 Win
88
+ 30000000 服务器 Win
89
+ 40000101 全网终端 Linux
90
+ 40000102 未分组终端 Linux
91
+ 40000103 服务器 Linux
92
+ 40000201 全网终端 macOS
93
+ 40000202 未分组终端 macOS
94
+ 40000203 服务器 macOS
95
+ 40000401 全网终端 Android
96
+ 40000402 未分组终端 Android
97
+ 40000501 全网终端 iOS
98
+ 40000502 未分组终端 iOS
99
+ */
100
+ GroupId?: number;
101
+ /**
102
+ * 系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0)
103
+ */
104
+ OsType?: number;
105
+ /**
106
+ * 在线状态 2 在线 0,1 离线
107
+ */
108
+ OnlineStatus?: number;
109
+ /**
110
+ * 过滤条件--兼容旧接口,参数同Condition
111
+ */
112
+ Filters?: Array<Filter>;
113
+ /**
114
+ * 排序字段--兼容旧接口,参数同Condition
115
+ */
116
+ Sort?: Sort;
117
+ /**
118
+ * 获取第几页--兼容旧接口,参数同Condition(只支持32位)
119
+ */
120
+ PageNum?: number;
121
+ /**
122
+ * 每页获取数--兼容旧接口,参数同Condition(只支持32位)
123
+ */
124
+ PageSize?: number;
125
+ /**
126
+ * 授权状态 4未授权 5已授权
127
+ */
128
+ Status?: number;
129
+ }
130
+ /**
131
+ * 数据分页信息
132
+ */
133
+ export interface Paging {
134
+ /**
135
+ * 每页条数(只支持32位)
136
+ 注意:此字段可能返回 null,表示取不到有效值。
137
+ */
138
+ PageSize?: number;
139
+ /**
140
+ * 页码(只支持32位)
141
+ 注意:此字段可能返回 null,表示取不到有效值。
142
+ */
143
+ PageNum?: number;
144
+ /**
145
+ * 总页数(只支持32位)
146
+ 注意:此字段可能返回 null,表示取不到有效值。
147
+ */
148
+ PageCount?: number;
149
+ /**
150
+ * 记录总数
151
+ 注意:此字段可能返回 null,表示取不到有效值。
152
+ */
153
+ Total?: number;
154
+ }
155
+ /**
156
+ * - [ ] 过滤条件<br>
157
+
158
+ <li>Name - String - 是否必填:否 - 操作符: ilike - 排序支持:否- 根据分组名称进行查询。</li>
159
+ 分页参数<br>
160
+ <li>PageNum 从1开始,小于等于0时使用默认参数。</li>
161
+ <li>PageSize 最大值5000,最好不超过100。</li>
162
+ */
163
+ export interface Condition {
164
+ /**
165
+ * Filters 条件过滤
166
+ 注意:此字段可能返回 null,表示取不到有效值。
167
+ */
168
+ Filters?: Array<Filter>;
169
+ /**
170
+ * FilterGroups 条件过滤组
171
+ 注意:此字段可能返回 null,表示取不到有效值。
172
+ */
173
+ FilterGroups?: Array<FilterGroup>;
174
+ /**
175
+ * Sort 排序字段
176
+ 注意:此字段可能返回 null,表示取不到有效值。
177
+ */
178
+ Sort?: Sort;
179
+ /**
180
+ * PageSize 每页获取数(只支持32位)
181
+ 注意:此字段可能返回 null,表示取不到有效值。
182
+ */
183
+ PageSize?: number;
184
+ /**
185
+ * PageNum 获取第几页(只支持32位)
186
+ 注意:此字段可能返回 null,表示取不到有效值。
187
+ */
188
+ PageNum?: number;
189
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -124,6 +124,10 @@ export interface CreateRoomRequest {
124
124
  * 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
125
125
  */
126
126
  EnableAutoStart?: number;
127
+ /**
128
+ * 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
129
+ */
130
+ RecordBackground?: string;
127
131
  }
128
132
  /**
129
133
  * DescribeQuestionList请求参数结构体
@@ -2026,6 +2030,10 @@ export interface DescribeRoomResponse {
2026
2030
  * 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
2027
2031
  */
2028
2032
  EnableAutoStart?: number;
2033
+ /**
2034
+ * 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
2035
+ */
2036
+ RecordBackground?: string;
2029
2037
  /**
2030
2038
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2031
2039
  */