tencentcloud-sdk-nodejs 4.0.841 → 4.0.842

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 (54) hide show
  1. package/CHANGELOG.md +176 -0
  2. package/README.md +7 -0
  3. package/SERVICE_CHANGELOG.md +234 -59
  4. package/examples/common/common_client.js +47 -0
  5. package/examples/common/common_client.ts +47 -0
  6. package/package.json +6 -1
  7. package/products.md +14 -14
  8. package/src/common/index.ts +3 -0
  9. package/src/common/sdk_version.ts +1 -1
  10. package/src/services/apm/v20210622/apm_client.ts +46 -8
  11. package/src/services/apm/v20210622/apm_models.ts +233 -24
  12. package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +1 -1
  13. package/src/services/ess/v20201111/ess_client.ts +2 -0
  14. package/src/services/ess/v20201111/ess_models.ts +30 -2
  15. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -0
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +30 -2
  17. package/src/services/ims/v20201229/ims_client.ts +2 -3
  18. package/src/services/ims/v20201229/ims_models.ts +54 -54
  19. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +13 -0
  20. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
  21. package/src/services/iss/v20230517/iss_models.ts +16 -0
  22. package/src/services/lke/v20231130/lke_client.ts +0 -24
  23. package/src/services/lke/v20231130/lke_models.ts +0 -81
  24. package/src/services/tdid/v20210519/tdid_client.ts +1 -1
  25. package/src/services/teo/v20220901/teo_models.ts +8 -9
  26. package/src/services/tione/v20211111/tione_client.ts +1 -0
  27. package/src/services/tione/v20211111/tione_models.ts +16 -0
  28. package/tencentcloud/common/index.d.ts +3 -0
  29. package/tencentcloud/common/index.js +6 -0
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +15 -3
  33. package/tencentcloud/services/apm/v20210622/apm_client.js +21 -3
  34. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +225 -24
  35. package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +1 -1
  36. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +28 -2
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +28 -2
  38. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -3
  39. package/tencentcloud/services/ims/v20201229/ims_client.js +2 -3
  40. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +54 -54
  41. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  42. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  43. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +44 -0
  44. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +16 -0
  45. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -9
  46. package/tencentcloud/services/lke/v20231130/lke_client.js +0 -12
  47. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +0 -77
  48. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +1 -1
  49. package/tencentcloud/services/tdid/v20210519/tdid_client.js +1 -1
  50. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -9
  51. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -0
  52. package/test/apm.v20210622.test.js +32 -2
  53. package/test/iotexplorer.v20190423.test.js +10 -0
  54. package/test/lke.v20231130.test.js +0 -20
@@ -305,12 +305,6 @@ class Client extends abstract_client_1.AbstractClient {
305
305
  async CreateQA(req, cb) {
306
306
  return this.request("CreateQA", req, cb);
307
307
  }
308
- /**
309
- * 查询文件解析结果
310
- */
311
- async QueryParseDocResult(req, cb) {
312
- return this.request("QueryParseDocResult", req, cb);
313
- }
314
308
  /**
315
309
  * 查询属性标签列表
316
310
  */
@@ -377,12 +371,6 @@ class Client extends abstract_client_1.AbstractClient {
377
371
  async ModifyDoc(req, cb) {
378
372
  return this.request("ModifyDoc", req, cb);
379
373
  }
380
- /**
381
- * 解析拆分文件
382
- */
383
- async ParseDoc(req, cb) {
384
- return this.request("ParseDoc", req, cb);
385
- }
386
374
  /**
387
375
  * 获取ws token
388
376
  */
@@ -970,32 +970,6 @@ export interface DeleteQARequest {
970
970
  */
971
971
  QaBizIds: Array<string>;
972
972
  }
973
- /**
974
- * ParseDoc请求参数结构体
975
- */
976
- export interface ParseDocRequest {
977
- /**
978
- * 文件名称(需要包括文件后缀, 最大长度1024字节)
979
- */
980
- Name: string;
981
- /**
982
- * 文件下载链接 (支持的文件类型: docx, txt, markdown, pdf)
983
- */
984
- Url: string;
985
- /**
986
- * 任务ID, 用于幂等去重, 业务自行定义(最大长度64字节)
987
- */
988
- TaskId: string;
989
- /**
990
- * 切分策略
991
- */
992
- Policy?: string;
993
- /**
994
- * 默认值: parse
995
- * @deprecated
996
- */
997
- Operate?: string;
998
- }
999
973
  /**
1000
974
  * ListRelease请求参数结构体
1001
975
  */
@@ -1772,35 +1746,6 @@ export interface DeleteQACateResponse {
1772
1746
  */
1773
1747
  RequestId?: string;
1774
1748
  }
1775
- /**
1776
- * QueryParseDocResult返回参数结构体
1777
- */
1778
- export interface QueryParseDocResultResponse {
1779
- /**
1780
- * 等待 / 执行中 / 成功 / 失败
1781
- */
1782
- Status?: string;
1783
- /**
1784
- * 解析后的文件内容
1785
- */
1786
- Name?: string;
1787
- /**
1788
- * 文件下载地址
1789
- */
1790
- Url?: string;
1791
- /**
1792
- * 解析失败原因
1793
- */
1794
- Reason?: string;
1795
- /**
1796
- * 消耗量,输出页数
1797
- */
1798
- Usage?: Usage;
1799
- /**
1800
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1801
- */
1802
- RequestId?: string;
1803
- }
1804
1749
  /**
1805
1750
  * ListReleaseDocPreview返回参数结构体
1806
1751
  */
@@ -3029,15 +2974,6 @@ export interface AppInfo {
3029
2974
  */
3030
2975
  ModelAliasName?: string;
3031
2976
  }
3032
- /**
3033
- * QueryParseDocResult请求参数结构体
3034
- */
3035
- export interface QueryParseDocResultRequest {
3036
- /**
3037
- * 任务ID
3038
- */
3039
- TaskId: string;
3040
- }
3041
2977
  /**
3042
2978
  * 知识问答配置
3043
2979
  */
@@ -3699,19 +3635,6 @@ export interface StopDocParseResponse {
3699
3635
  */
3700
3636
  RequestId?: string;
3701
3637
  }
3702
- /**
3703
- * ParseDoc返回参数结构体
3704
- */
3705
- export interface ParseDocResponse {
3706
- /**
3707
- * 任务ID
3708
- */
3709
- TaskId?: string;
3710
- /**
3711
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3712
- */
3713
- RequestId?: string;
3714
- }
3715
3638
  /**
3716
3639
  * ListQACate请求参数结构体
3717
3640
  */
@@ -20,7 +20,7 @@ export declare class Client extends AbstractClient {
20
20
  */
21
21
  VerifyCredentials(req: VerifyCredentialsRequest, cb?: (error: string, rep: VerifyCredentialsResponse) => void): Promise<VerifyCredentialsResponse>;
22
22
  /**
23
- * 查询凭证模版内容
23
+ * 查询凭证模板内容
24
24
  */
25
25
  QueryCPT(req: QueryCPTRequest, cb?: (error: string, rep: QueryCPTResponse) => void): Promise<QueryCPTResponse>;
26
26
  /**
@@ -46,7 +46,7 @@ class Client extends abstract_client_1.AbstractClient {
46
46
  return this.request("VerifyCredentials", req, cb);
47
47
  }
48
48
  /**
49
- * 查询凭证模版内容
49
+ * 查询凭证模板内容
50
50
  */
51
51
  async QueryCPT(req, cb) {
52
52
  return this.request("QueryCPT", req, cb);
@@ -148,7 +148,7 @@ export interface OriginDetail {
148
148
  <li>COS:腾讯云 COS 对象存储源站;</li>
149
149
  <li>AWS_S3:AWS S3 对象存储源站;</li>
150
150
  <li>ORIGIN_GROUP:源站组类型源站;</li>
151
- <li>VODEO:云点播(混合云版);</li>
151
+ <li>VODEO:云点播(混合云版);</li>
152
152
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
153
153
  <li>LB:负载均衡,当前仅白名单开放。</li>
154
154
  */
@@ -160,7 +160,6 @@ export interface OriginDetail {
160
160
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
161
161
  <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
162
162
  <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
163
-
164
163
  */
165
164
  Origin?: string;
166
165
  /**
@@ -176,10 +175,10 @@ export interface OriginDetail {
176
175
  */
177
176
  BackOriginGroupName?: string;
178
177
  /**
179
- * 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWS_S3 时会生效,取值有:
178
+ * 指定是否允许访问私有对象存储源站,该参数仅当源站类型OriginType = COS 或 AWS_S3 时会生效,取值有:
180
179
  <li>on:使用私有鉴权;</li>
181
180
  <li>off:不使用私有鉴权。</li>
182
- 不填写,默认值为off。
181
+ 不填写,默认值为 off。
183
182
  */
184
183
  PrivateAccess?: string;
185
184
  /**
@@ -7799,6 +7798,11 @@ export interface AccelerationDomain {
7799
7798
  注意:此字段可能返回 null,表示取不到有效值。
7800
7799
  */
7801
7800
  OriginProtocol?: string;
7801
+ /**
7802
+ * 域名证书信息
7803
+ 注意:此字段可能返回 null,表示取不到有效值。
7804
+ */
7805
+ Certificate?: AccelerationDomainCertificate;
7802
7806
  /**
7803
7807
  * HTTP回源端口。
7804
7808
  注意:此字段可能返回 null,表示取不到有效值。
@@ -7839,11 +7843,6 @@ export interface AccelerationDomain {
7839
7843
  注意:此字段可能返回 null,表示取不到有效值。
7840
7844
  */
7841
7845
  OwnershipVerification?: OwnershipVerification;
7842
- /**
7843
- * 域名证书信息
7844
- 注意:此字段可能返回 null,表示取不到有效值。
7845
- */
7846
- Certificate?: AccelerationDomainCertificate;
7847
7846
  }
7848
7847
  /**
7849
7848
  * 慢速攻击的基础配置。
@@ -6768,6 +6768,16 @@ export interface CronInfo {
6768
6768
  */
6769
6769
  EndTime?: string;
6770
6770
  }
6771
+ /**
6772
+ * 本地磁盘信息
6773
+ */
6774
+ export interface LocalDisk {
6775
+ /**
6776
+ * 节点ID
6777
+ 注意:此字段可能返回 null,表示取不到有效值。
6778
+ */
6779
+ InstanceId: string;
6780
+ }
6771
6781
  /**
6772
6782
  * 框架信息列表
6773
6783
  */
@@ -7183,6 +7193,11 @@ export interface DataConfig {
7183
7193
  注意:此字段可能返回 null,表示取不到有效值。
7184
7194
  */
7185
7195
  CFSTurboSource?: CFSTurbo;
7196
+ /**
7197
+ * 来自本地磁盘的信息
7198
+ 注意:此字段可能返回 null,表示取不到有效值。
7199
+ */
7200
+ LocalDiskSource?: LocalDisk;
7186
7201
  }
7187
7202
  /**
7188
7203
  * DescribeTrainingModelVersion请求参数结构体
@@ -18,9 +18,19 @@ const client = new tencentcloud.apm.v20210622.Client({
18
18
  })
19
19
  describe("apm.v20210622.test.js", function () {
20
20
 
21
- it("apm.v20210622.ModifyApmInstance", async function () {
21
+ it("apm.v20210622.DescribeGeneralApmApplicationConfig", async function () {
22
22
  try {
23
- const data = await client.ModifyApmInstance({})
23
+ const data = await client.DescribeGeneralApmApplicationConfig({})
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
+ it("apm.v20210622.DescribeTagValues", async function () {
32
+ try {
33
+ const data = await client.DescribeTagValues({})
24
34
  expect(data).to.be.ok
25
35
  } catch(error) {
26
36
  expect(error.requestId).to.be.ok
@@ -58,6 +68,26 @@ it("apm.v20210622.DescribeApmAgent", async function () {
58
68
  }
59
69
  })
60
70
 
71
+ it("apm.v20210622.ModifyApmInstance", async function () {
72
+ try {
73
+ const data = await client.ModifyApmInstance({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("apm.v20210622.ModifyGeneralApmApplicationConfig", async function () {
82
+ try {
83
+ const data = await client.ModifyGeneralApmApplicationConfig({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
61
91
  it("apm.v20210622.DescribeGeneralMetricData", async function () {
62
92
  try {
63
93
  const data = await client.DescribeGeneralMetricData({})
@@ -828,6 +828,16 @@ it("iotexplorer.v20190423.DescribeDevicePositionList", async function () {
828
828
  }
829
829
  })
830
830
 
831
+ it("iotexplorer.v20190423.DescribeDeviceFirmwares", async function () {
832
+ try {
833
+ const data = await client.DescribeDeviceFirmwares({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
831
841
  it("iotexplorer.v20190423.BindDevices", async function () {
832
842
  try {
833
843
  const data = await client.BindDevices({})
@@ -478,16 +478,6 @@ it("lke.v20231130.CreateQA", async function () {
478
478
  }
479
479
  })
480
480
 
481
- it("lke.v20231130.QueryParseDocResult", async function () {
482
- try {
483
- const data = await client.QueryParseDocResult({})
484
- expect(data).to.be.ok
485
- } catch(error) {
486
- expect(error.requestId).to.be.ok
487
- expect(error.code).to.be.ok
488
- }
489
- })
490
-
491
481
  it("lke.v20231130.ListAttributeLabel", async function () {
492
482
  try {
493
483
  const data = await client.ListAttributeLabel({})
@@ -598,16 +588,6 @@ it("lke.v20231130.ModifyDoc", async function () {
598
588
  }
599
589
  })
600
590
 
601
- it("lke.v20231130.ParseDoc", async function () {
602
- try {
603
- const data = await client.ParseDoc({})
604
- expect(data).to.be.ok
605
- } catch(error) {
606
- expect(error.requestId).to.be.ok
607
- expect(error.code).to.be.ok
608
- }
609
- })
610
-
611
591
  it("lke.v20231130.GetWsToken", async function () {
612
592
  try {
613
593
  const data = await client.GetWsToken({})