tencentcloud-sdk-nodejs 4.0.971 → 4.0.972

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 (45) hide show
  1. package/CHANGELOG.md +87 -0
  2. package/SERVICE_CHANGELOG.md +111 -331
  3. package/package.json +1 -1
  4. package/products.md +11 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +189 -150
  7. package/src/services/cdc/v20201214/cdc_models.ts +9 -9
  8. package/src/services/cls/v20201016/cls_client.ts +63 -14
  9. package/src/services/cls/v20201016/cls_models.ts +342 -111
  10. package/src/services/ess/v20201111/ess_models.ts +5 -4
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +5 -6
  12. package/src/services/ig/index.ts +5 -0
  13. package/src/services/ig/v20210518/ig_client.ts +40 -0
  14. package/src/services/ig/v20210518/ig_models.ts +52 -0
  15. package/src/services/ig/v20210518/index.ts +6 -0
  16. package/src/services/index.ts +1 -0
  17. package/src/services/lke/v20231130/lke_models.ts +8 -8
  18. package/src/services/mrs/v20200910/mrs_models.ts +8 -0
  19. package/src/services/soe/v20180724/soe_models.ts +10 -10
  20. package/src/services/tat/v20201028/tat_models.ts +3 -12
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/as/v20180419/as_models.d.ts +189 -150
  24. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +9 -9
  25. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
  26. package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
  27. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +333 -111
  28. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -4
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -6
  30. package/tencentcloud/services/ig/index.d.ts +6 -0
  31. package/tencentcloud/services/ig/index.js +7 -0
  32. package/tencentcloud/services/ig/v20210518/ig_client.d.ts +14 -0
  33. package/tencentcloud/services/ig/v20210518/ig_client.js +37 -0
  34. package/tencentcloud/services/ig/v20210518/ig_models.d.ts +34 -0
  35. package/tencentcloud/services/ig/v20210518/ig_models.js +18 -0
  36. package/tencentcloud/services/ig/v20210518/index.d.ts +6 -0
  37. package/tencentcloud/services/ig/v20210518/index.js +9 -0
  38. package/tencentcloud/services/index.d.ts +1 -0
  39. package/tencentcloud/services/index.js +2 -0
  40. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +8 -8
  41. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +8 -0
  42. package/tencentcloud/services/soe/v20180724/soe_models.d.ts +10 -10
  43. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +3 -12
  44. package/test/cls.v20201016.test.js +42 -2
  45. package/test/ig.v20210518.test.js +31 -0
@@ -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
+ * ig client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("ig.tencentcloudapi.com", "2021-05-18", clientConfig);
29
+ }
30
+ /**
31
+ * 查询智能导诊订单列表
32
+ */
33
+ async DescribeIgOrderList(req, cb) {
34
+ return this.request("DescribeIgOrderList", req, cb);
35
+ }
36
+ }
37
+ exports.Client = Client;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * DescribeIgOrderList请求参数结构体
3
+ */
4
+ export interface DescribeIgOrderListRequest {
5
+ /**
6
+ * 页码
7
+ */
8
+ PageNumber: number;
9
+ /**
10
+ * 每页数目
11
+ */
12
+ PageSize: number;
13
+ /**
14
+ * 产品类型
15
+ */
16
+ ProductType: string;
17
+ /**
18
+ * 订单状态
19
+ */
20
+ OrderStatus?: number;
21
+ /**
22
+ * 搜索关键字
23
+ */
24
+ KeyWord?: string;
25
+ }
26
+ /**
27
+ * DescribeIgOrderList返回参数结构体
28
+ */
29
+ export interface DescribeIgOrderListResponse {
30
+ /**
31
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
32
+ */
33
+ RequestId?: string;
34
+ }
@@ -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 });
@@ -0,0 +1,6 @@
1
+ import * as Models from "./ig_models";
2
+ import { Client } from "./ig_client";
3
+ export declare const v20210518: {
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.v20210518 = void 0;
4
+ const Models = require("./ig_models");
5
+ const ig_client_1 = require("./ig_client");
6
+ exports.v20210518 = {
7
+ Client: ig_client_1.Client,
8
+ Models: Models
9
+ };
@@ -120,6 +120,7 @@ export { ic } from "./ic";
120
120
  export { icr } from "./icr";
121
121
  export { ie } from "./ie";
122
122
  export { iecp } from "./iecp";
123
+ export { ig } from "./ig";
123
124
  export { iir } from "./iir";
124
125
  export { ims } from "./ims";
125
126
  export { ioa } from "./ioa";
@@ -244,6 +244,8 @@ var ie_1 = require("./ie");
244
244
  Object.defineProperty(exports, "ie", { enumerable: true, get: function () { return ie_1.ie; } });
245
245
  var iecp_1 = require("./iecp");
246
246
  Object.defineProperty(exports, "iecp", { enumerable: true, get: function () { return iecp_1.iecp; } });
247
+ var ig_1 = require("./ig");
248
+ Object.defineProperty(exports, "ig", { enumerable: true, get: function () { return ig_1.ig; } });
247
249
  var iir_1 = require("./iir");
248
250
  Object.defineProperty(exports, "iir", { enumerable: true, get: function () { return iir_1.iir; } });
249
251
  var ims_1 = require("./ims");
@@ -1463,7 +1463,7 @@ export interface ListDocResponse {
1463
1463
  */
1464
1464
  export interface GetDocPreviewRequest {
1465
1465
  /**
1466
- * 文档业务ID
1466
+ * 文档BizID
1467
1467
  */
1468
1468
  DocBizId: string;
1469
1469
  /**
@@ -3000,7 +3000,7 @@ export interface ListReleaseDocPreviewRequest {
3000
3000
  */
3001
3001
  Query?: string;
3002
3002
  /**
3003
- * 发布业务ID
3003
+ * 发布单ID
3004
3004
  */
3005
3005
  ReleaseBizId?: string;
3006
3006
  /**
@@ -3368,7 +3368,7 @@ export interface GroupQARequest {
3368
3368
  */
3369
3369
  BotBizId: string;
3370
3370
  /**
3371
- * QA业务ID列表
3371
+ * QaBizID列表
3372
3372
  */
3373
3373
  QaBizIds: Array<string>;
3374
3374
  /**
@@ -3474,7 +3474,7 @@ export interface DescribeAppRequest {
3474
3474
  */
3475
3475
  export interface GetReconstructDocumentResultRequest {
3476
3476
  /**
3477
- * 任务唯一id
3477
+ * 任务唯一Id。[CreateReconstructDocumentFlow](https://cloud.tencent.com/document/product/1759/107506) 返回的TaskId。
3478
3478
  */
3479
3479
  TaskId: string;
3480
3480
  }
@@ -3950,15 +3950,15 @@ export interface RetryDocAuditResponse {
3950
3950
  */
3951
3951
  export interface GetReconstructDocumentResultResponse {
3952
3952
  /**
3953
- * 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行;
3953
+ * 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行。
3954
3954
  */
3955
3955
  Status?: string;
3956
3956
  /**
3957
- * 输入文件中嵌入的图片中文字内容的识别结果,存储在腾讯云cos的下载地址
3957
+ * 本次文档解析的结果文件,存储在腾讯云COS的下载URL,下载URL的有效期为10分钟。
3958
3958
  */
3959
3959
  DocumentRecognizeResultUrl?: string;
3960
3960
  /**
3961
- * 文档解析失败的页码
3961
+ * 本次文档解析失败的页码信息。
3962
3962
  */
3963
3963
  FailedPages?: Array<ReconstructDocumentFailedPage>;
3964
3964
  /**
@@ -5373,7 +5373,7 @@ export interface DescribeStorageCredentialRequest {
5373
5373
  */
5374
5374
  FileType?: string;
5375
5375
  /**
5376
- * IsPublic为空用于上传文件时选择场景,当上传为图片文件是IsPublic为true,上传文档文件时场景IsPublic为false
5376
+ * IsPublic用于上传文件时选择场景,当上传为对话端文件时IsPublic为true,上传文档库文件时场景IsPublic为false
5377
5377
  */
5378
5378
  IsPublic?: boolean;
5379
5379
  /**
@@ -1070,6 +1070,10 @@ export interface ImageMaskAsyncRequest {
1070
1070
  * 图片脱敏选项, 不传默认都脱敏
1071
1071
  */
1072
1072
  MaskFlag?: ImageMaskFlags;
1073
+ /**
1074
+ * 是否自动矫正图片方向
1075
+ */
1076
+ AutoFixImageDirection?: boolean;
1073
1077
  }
1074
1078
  /**
1075
1079
  * 基础类型
@@ -5697,6 +5701,10 @@ export interface ImageMaskRequest {
5697
5701
  * 图片脱敏选项, 不传默认都脱敏
5698
5702
  */
5699
5703
  MaskFlag?: ImageMaskFlags;
5704
+ /**
5705
+ * 是否自动矫正图片方向
5706
+ */
5707
+ AutoFixImageDirection?: boolean;
5700
5708
  }
5701
5709
  /**
5702
5710
  * 生命体征
@@ -5,42 +5,42 @@ export interface SentenceInfo {
5
5
  /**
6
6
  * 句子序号,在段落、自由说模式下有效,表示断句序号,最后的综合结果的为-1.
7
7
  */
8
- SentenceId: number;
8
+ SentenceId?: number;
9
9
  /**
10
10
  * 详细发音评估结果
11
11
  */
12
- Words: Array<WordRsp>;
12
+ Words?: Array<WordRsp>;
13
13
  /**
14
14
  * 发音精准度,取值范围[-1, 100],当取-1时指完全不匹配,当为句子模式时,是所有已识别单词准确度的加权平均值,在reftext中但未识别出来的词不计入分数中。
15
15
  */
16
- PronAccuracy: number;
16
+ PronAccuracy?: number;
17
17
  /**
18
18
  * 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义
19
19
  */
20
- PronFluency: number;
20
+ PronFluency?: number;
21
21
  /**
22
22
  * 发音完整度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义
23
23
  */
24
- PronCompletion: number;
24
+ PronCompletion?: number;
25
25
  /**
26
- * 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)* 完整度(PronCompletionfloat)*(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
26
+ * 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)× 完整度(PronCompletionfloat)×(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
27
27
  */
28
- SuggestedScore: number;
28
+ SuggestedScore?: number;
29
29
  /**
30
30
  * 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
31
31
  注意:此字段可能返回 null,表示取不到有效值。
32
32
  */
33
- RefTextId: number;
33
+ RefTextId?: number;
34
34
  /**
35
35
  * 主题词命中标志,0表示没命中,1表示命中
36
36
  注意:此字段可能返回 null,表示取不到有效值。
37
37
  */
38
- KeyWordHits: Array<number>;
38
+ KeyWordHits?: Array<number>;
39
39
  /**
40
40
  * 负向主题词命中标志,0表示没命中,1表示命中
41
41
  注意:此字段可能返回 null,表示取不到有效值。
42
42
  */
43
- UnKeyWordHits: Array<number>;
43
+ UnKeyWordHits?: Array<number>;
44
44
  }
45
45
  /**
46
46
  * 中文声调检测结果
@@ -692,17 +692,14 @@ export interface EnableInvokerRequest {
692
692
  export interface DefaultParameterConf {
693
693
  /**
694
694
  * 参数名。
695
- 注意:此字段可能返回 null,表示取不到有效值。
696
695
  */
697
696
  ParameterName: string;
698
697
  /**
699
698
  * 参数默认值。
700
- 注意:此字段可能返回 null,表示取不到有效值。
701
699
  */
702
700
  ParameterValue: string;
703
701
  /**
704
702
  * 参数描述。
705
- 注意:此字段可能返回 null,表示取不到有效值。
706
703
  */
707
704
  ParameterDescription?: string;
708
705
  }
@@ -773,11 +770,11 @@ export interface DescribeInvokersResponse {
773
770
  /**
774
771
  * 满足条件的执行器数量。
775
772
  */
776
- TotalCount: number;
773
+ TotalCount?: number;
777
774
  /**
778
775
  * 执行器信息。
779
776
  */
780
- InvokerSet: Array<Invoker>;
777
+ InvokerSet?: Array<Invoker>;
781
778
  /**
782
779
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
783
780
  */
@@ -1001,11 +998,7 @@ export interface DescribeInvokersRequest {
1001
998
  */
1002
999
  InvokerIds?: Array<string>;
1003
1000
  /**
1004
- * 过滤条件:
1005
-
1006
- <li> invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。
1007
- <li> command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。
1008
- <li> type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。
1001
+ * 过滤条件:<li> invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。</li> <li> command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。</li> <li> type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。</li>
1009
1002
  */
1010
1003
  Filters?: Array<Filter>;
1011
1004
  /**
@@ -1193,12 +1186,10 @@ export interface Command {
1193
1186
  DefaultParameters?: string;
1194
1187
  /**
1195
1188
  * 自定义参数的默认取值。
1196
- 注意:此字段可能返回 null,表示取不到有效值。
1197
1189
  */
1198
1190
  DefaultParameterConfs?: Array<DefaultParameterConf>;
1199
1191
  /**
1200
1192
  * 命令关联的场景
1201
- 注意:此字段可能返回 null,表示取不到有效值。
1202
1193
  */
1203
1194
  Scenes?: Array<string>;
1204
1195
  /**
@@ -158,6 +158,26 @@ it("cls.v20201016.CreateTopic", async function () {
158
158
  }
159
159
  })
160
160
 
161
+ it("cls.v20201016.DescribeCloudProductLogTasks", async function () {
162
+ try {
163
+ const data = await client.DescribeCloudProductLogTasks({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
171
+ it("cls.v20201016.DeleteCloudProductLogTask", async function () {
172
+ try {
173
+ const data = await client.DeleteCloudProductLogTask({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
161
181
  it("cls.v20201016.DeleteAlarmNotice", async function () {
162
182
  try {
163
183
  const data = await client.DeleteAlarmNotice({})
@@ -318,6 +338,16 @@ it("cls.v20201016.CreateNoticeContent", async function () {
318
338
  }
319
339
  })
320
340
 
341
+ it("cls.v20201016.ModifyCloudProductLogTask", async function () {
342
+ try {
343
+ const data = await client.ModifyCloudProductLogTask({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
321
351
  it("cls.v20201016.DeleteConsumer", async function () {
322
352
  try {
323
353
  const data = await client.DeleteConsumer({})
@@ -488,9 +518,9 @@ it("cls.v20201016.ModifyAlarmShield", async function () {
488
518
  }
489
519
  })
490
520
 
491
- it("cls.v20201016.SearchDashboardSubscribe", async function () {
521
+ it("cls.v20201016.CreateCloudProductLogTask", async function () {
492
522
  try {
493
- const data = await client.SearchDashboardSubscribe({})
523
+ const data = await client.CreateCloudProductLogTask({})
494
524
  expect(data).to.be.ok
495
525
  } catch(error) {
496
526
  expect(error.requestId).to.be.ok
@@ -868,6 +898,16 @@ it("cls.v20201016.DescribeConfigExtras", async function () {
868
898
  }
869
899
  })
870
900
 
901
+ it("cls.v20201016.SearchDashboardSubscribe", async function () {
902
+ try {
903
+ const data = await client.SearchDashboardSubscribe({})
904
+ expect(data).to.be.ok
905
+ } catch(error) {
906
+ expect(error.requestId).to.be.ok
907
+ expect(error.code).to.be.ok
908
+ }
909
+ })
910
+
871
911
  it("cls.v20201016.CheckRechargeKafkaServer", async function () {
872
912
  try {
873
913
  const data = await client.CheckRechargeKafkaServer({})
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.ig.v20210518.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("ig.v20210518.test.js", function () {
20
+
21
+ it("ig.v20210518.DescribeIgOrderList", async function () {
22
+ try {
23
+ const data = await client.DescribeIgOrderList({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ })