tencentcloud-sdk-nodejs 4.0.751 → 4.0.752
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/CHANGELOG.md +119 -0
- package/SERVICE_CHANGELOG.md +146 -38
- package/examples/hunyuan/v20230901/chat_std.js +40 -0
- package/examples/hunyuan/v20230901/chat_std.ts +42 -0
- package/package.json +1 -1
- package/products.md +8 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/v20220105/bi_models.ts +17 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
- package/src/services/ess/v20201111/ess_models.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -114
- package/src/services/faceid/v20180301/faceid_client.ts +15 -3
- package/src/services/faceid/v20180301/faceid_models.ts +123 -73
- package/src/services/gme/v20180711/gme_client.ts +7 -3
- package/src/services/teo/v20220901/teo_models.ts +51 -10
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +17 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -114
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -73
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -2
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +51 -10
- package/test/faceid.v20180301.test.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,122 @@
|
|
|
1
|
+
# Release 4.0.752
|
|
2
|
+
|
|
3
|
+
## 商业智能分析 BI(bi) 版本:2022-01-05
|
|
4
|
+
|
|
5
|
+
### 第 7 次发布
|
|
6
|
+
|
|
7
|
+
发布时间:2023-12-06 01:10:35
|
|
8
|
+
|
|
9
|
+
本次发布包含了以下内容:
|
|
10
|
+
|
|
11
|
+
改善已有的文档。
|
|
12
|
+
|
|
13
|
+
修改接口:
|
|
14
|
+
|
|
15
|
+
* [CreateDatasourceCloud](https://cloud.tencent.com/document/api/590/98853)
|
|
16
|
+
|
|
17
|
+
* 新增入参:ClusterId
|
|
18
|
+
|
|
19
|
+
* [CreateEmbedToken](https://cloud.tencent.com/document/api/590/73724)
|
|
20
|
+
|
|
21
|
+
* 新增入参:TicketNum
|
|
22
|
+
|
|
23
|
+
* [ModifyDatasourceCloud](https://cloud.tencent.com/document/api/590/98850)
|
|
24
|
+
|
|
25
|
+
* 新增入参:ClusterId
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
修改数据结构:
|
|
29
|
+
|
|
30
|
+
* [EmbedTokenInfo](https://cloud.tencent.com/document/api/590/73726#EmbedTokenInfo)
|
|
31
|
+
|
|
32
|
+
* 新增成员:TicketNum
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07
|
|
38
|
+
|
|
39
|
+
### 第 75 次发布
|
|
40
|
+
|
|
41
|
+
发布时间:2023-12-06 01:34:06
|
|
42
|
+
|
|
43
|
+
本次发布包含了以下内容:
|
|
44
|
+
|
|
45
|
+
改善已有的文档。
|
|
46
|
+
|
|
47
|
+
修改数据结构:
|
|
48
|
+
|
|
49
|
+
* [Package](https://cloud.tencent.com/document/api/1003/48097#Package)
|
|
50
|
+
|
|
51
|
+
* 新增成员:HistoryBindResourceInfos
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## 人脸核身(faceid) 版本:2018-03-01
|
|
57
|
+
|
|
58
|
+
### 第 67 次发布
|
|
59
|
+
|
|
60
|
+
发布时间:2023-12-06 01:49:35
|
|
61
|
+
|
|
62
|
+
本次发布包含了以下内容:
|
|
63
|
+
|
|
64
|
+
改善已有的文档。
|
|
65
|
+
|
|
66
|
+
新增接口:
|
|
67
|
+
|
|
68
|
+
* [ImageRecognitionV2](https://cloud.tencent.com/document/api/1007/102203)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## 游戏多媒体引擎(gme) 版本:2018-07-11
|
|
73
|
+
|
|
74
|
+
### 第 36 次发布
|
|
75
|
+
|
|
76
|
+
发布时间:2023-12-06 01:51:28
|
|
77
|
+
|
|
78
|
+
本次发布包含了以下内容:
|
|
79
|
+
|
|
80
|
+
改善已有的文档。
|
|
81
|
+
|
|
82
|
+
<font color="#dd0000">**预下线接口**:</font>
|
|
83
|
+
|
|
84
|
+
* CreateAgeDetectTask
|
|
85
|
+
* DescribeAgeDetectTask
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## 边缘安全加速平台(teo) 版本:2022-09-01
|
|
90
|
+
|
|
91
|
+
### 第 67 次发布
|
|
92
|
+
|
|
93
|
+
发布时间:2023-12-06 02:32:56
|
|
94
|
+
|
|
95
|
+
本次发布包含了以下内容:
|
|
96
|
+
|
|
97
|
+
改善已有的文档。
|
|
98
|
+
|
|
99
|
+
修改数据结构:
|
|
100
|
+
|
|
101
|
+
* [OriginDetail](https://cloud.tencent.com/document/api/1552/80721#OriginDetail)
|
|
102
|
+
|
|
103
|
+
* 新增成员:VodeoSubAppId, VodeoDistributionRange, VodeoBucketId
|
|
104
|
+
|
|
105
|
+
* [OriginInfo](https://cloud.tencent.com/document/api/1552/80721#OriginInfo)
|
|
106
|
+
|
|
107
|
+
* 新增成员:VodeoSubAppId, VodeoDistributionRange, VodeoBucketId
|
|
108
|
+
|
|
109
|
+
* [Resource](https://cloud.tencent.com/document/api/1552/80721#Resource)
|
|
110
|
+
|
|
111
|
+
* 新增成员:Type
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## 边缘安全加速平台(teo) 版本:2022-01-06
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
1
120
|
# Release 4.0.751
|
|
2
121
|
|
|
3
122
|
## Elasticsearch Service(es) 版本:2018-04-16
|
package/SERVICE_CHANGELOG.md
CHANGED
|
@@ -1,104 +1,119 @@
|
|
|
1
1
|
# 本版本更新包含以下内容:
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 商业智能分析 BI(bi) 版本:2022-01-05
|
|
4
4
|
|
|
5
|
-
### 第
|
|
5
|
+
### 第 7 次发布
|
|
6
6
|
|
|
7
|
-
发布时间:2023-12-
|
|
7
|
+
发布时间:2023-12-06 01:10:35
|
|
8
8
|
|
|
9
9
|
本次发布包含了以下内容:
|
|
10
10
|
|
|
11
11
|
改善已有的文档。
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* [InquirePriceRenewInstance](https://cloud.tencent.com/document/api/845/102193)
|
|
13
|
+
修改接口:
|
|
16
14
|
|
|
15
|
+
* [CreateDatasourceCloud](https://cloud.tencent.com/document/api/590/98853)
|
|
17
16
|
|
|
17
|
+
* 新增入参:ClusterId
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
* [CreateEmbedToken](https://cloud.tencent.com/document/api/590/73724)
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
* 新增入参:TicketNum
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
* [ModifyDatasourceCloud](https://cloud.tencent.com/document/api/590/98850)
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
* 新增入参:ClusterId
|
|
26
26
|
|
|
27
|
-
改善已有的文档。
|
|
28
27
|
|
|
29
28
|
修改数据结构:
|
|
30
29
|
|
|
31
|
-
* [
|
|
30
|
+
* [EmbedTokenInfo](https://cloud.tencent.com/document/api/590/73726#EmbedTokenInfo)
|
|
32
31
|
|
|
33
|
-
*
|
|
32
|
+
* 新增成员:TicketNum
|
|
34
33
|
|
|
35
34
|
|
|
36
35
|
|
|
37
36
|
|
|
38
|
-
##
|
|
37
|
+
## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07
|
|
39
38
|
|
|
40
|
-
### 第
|
|
39
|
+
### 第 75 次发布
|
|
41
40
|
|
|
42
|
-
发布时间:2023-12-
|
|
41
|
+
发布时间:2023-12-06 01:34:06
|
|
43
42
|
|
|
44
43
|
本次发布包含了以下内容:
|
|
45
44
|
|
|
46
45
|
改善已有的文档。
|
|
47
46
|
|
|
48
|
-
|
|
47
|
+
修改数据结构:
|
|
49
48
|
|
|
50
|
-
* [
|
|
49
|
+
* [Package](https://cloud.tencent.com/document/api/1003/48097#Package)
|
|
51
50
|
|
|
52
|
-
*
|
|
51
|
+
* 新增成员:HistoryBindResourceInfos
|
|
53
52
|
|
|
54
|
-
* [UpdateGrafanaNotificationChannel](https://cloud.tencent.com/document/api/248/79190)
|
|
55
53
|
|
|
56
|
-
* <font color="#dd0000">**修改入参**:</font>ChannelName
|
|
57
54
|
|
|
58
55
|
|
|
59
|
-
|
|
56
|
+
## 人脸核身(faceid) 版本:2018-03-01
|
|
60
57
|
|
|
61
|
-
|
|
58
|
+
### 第 67 次发布
|
|
62
59
|
|
|
63
|
-
|
|
60
|
+
发布时间:2023-12-06 01:49:35
|
|
64
61
|
|
|
65
|
-
|
|
62
|
+
本次发布包含了以下内容:
|
|
66
63
|
|
|
64
|
+
改善已有的文档。
|
|
67
65
|
|
|
66
|
+
新增接口:
|
|
68
67
|
|
|
68
|
+
* [ImageRecognitionV2](https://cloud.tencent.com/document/api/1007/102203)
|
|
69
69
|
|
|
70
|
-
## 移动应用安全(ms) 版本:2018-04-08
|
|
71
70
|
|
|
72
|
-
### 第 20 次发布
|
|
73
71
|
|
|
74
|
-
|
|
72
|
+
## 游戏多媒体引擎(gme) 版本:2018-07-11
|
|
73
|
+
|
|
74
|
+
### 第 36 次发布
|
|
75
|
+
|
|
76
|
+
发布时间:2023-12-06 01:51:28
|
|
75
77
|
|
|
76
78
|
本次发布包含了以下内容:
|
|
77
79
|
|
|
78
80
|
改善已有的文档。
|
|
79
81
|
|
|
80
|
-
|
|
82
|
+
<font color="#dd0000">**预下线接口**:</font>
|
|
81
83
|
|
|
82
|
-
*
|
|
84
|
+
* CreateAgeDetectTask
|
|
85
|
+
* DescribeAgeDetectTask
|
|
83
86
|
|
|
84
87
|
|
|
85
88
|
|
|
86
|
-
##
|
|
89
|
+
## 边缘安全加速平台(teo) 版本:2022-09-01
|
|
87
90
|
|
|
88
|
-
### 第
|
|
91
|
+
### 第 67 次发布
|
|
89
92
|
|
|
90
|
-
发布时间:2023-12-
|
|
93
|
+
发布时间:2023-12-06 02:32:56
|
|
91
94
|
|
|
92
95
|
本次发布包含了以下内容:
|
|
93
96
|
|
|
94
97
|
改善已有的文档。
|
|
95
98
|
|
|
96
|
-
|
|
99
|
+
修改数据结构:
|
|
97
100
|
|
|
98
|
-
* [
|
|
101
|
+
* [OriginDetail](https://cloud.tencent.com/document/api/1552/80721#OriginDetail)
|
|
99
102
|
|
|
100
|
-
*
|
|
103
|
+
* 新增成员:VodeoSubAppId, VodeoDistributionRange, VodeoBucketId
|
|
104
|
+
|
|
105
|
+
* [OriginInfo](https://cloud.tencent.com/document/api/1552/80721#OriginInfo)
|
|
106
|
+
|
|
107
|
+
* 新增成员:VodeoSubAppId, VodeoDistributionRange, VodeoBucketId
|
|
101
108
|
|
|
109
|
+
* [Resource](https://cloud.tencent.com/document/api/1552/80721#Resource)
|
|
110
|
+
|
|
111
|
+
* 新增成员:Type
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## 边缘安全加速平台(teo) 版本:2022-01-06
|
|
102
117
|
|
|
103
118
|
|
|
104
119
|
|
|
@@ -8341,6 +8356,36 @@
|
|
|
8341
8356
|
|
|
8342
8357
|
## 商业智能分析 BI(bi) 版本:2022-01-05
|
|
8343
8358
|
|
|
8359
|
+
### 第 7 次发布
|
|
8360
|
+
|
|
8361
|
+
发布时间:2023-12-06 01:10:35
|
|
8362
|
+
|
|
8363
|
+
本次发布包含了以下内容:
|
|
8364
|
+
|
|
8365
|
+
改善已有的文档。
|
|
8366
|
+
|
|
8367
|
+
修改接口:
|
|
8368
|
+
|
|
8369
|
+
* [CreateDatasourceCloud](https://cloud.tencent.com/document/api/590/98853)
|
|
8370
|
+
|
|
8371
|
+
* 新增入参:ClusterId
|
|
8372
|
+
|
|
8373
|
+
* [CreateEmbedToken](https://cloud.tencent.com/document/api/590/73724)
|
|
8374
|
+
|
|
8375
|
+
* 新增入参:TicketNum
|
|
8376
|
+
|
|
8377
|
+
* [ModifyDatasourceCloud](https://cloud.tencent.com/document/api/590/98850)
|
|
8378
|
+
|
|
8379
|
+
* 新增入参:ClusterId
|
|
8380
|
+
|
|
8381
|
+
|
|
8382
|
+
修改数据结构:
|
|
8383
|
+
|
|
8384
|
+
* [EmbedTokenInfo](https://cloud.tencent.com/document/api/590/73726#EmbedTokenInfo)
|
|
8385
|
+
|
|
8386
|
+
* 新增成员:TicketNum
|
|
8387
|
+
|
|
8388
|
+
|
|
8344
8389
|
### 第 6 次发布
|
|
8345
8390
|
|
|
8346
8391
|
发布时间:2023-10-20 01:06:54
|
|
@@ -41468,6 +41513,21 @@
|
|
|
41468
41513
|
|
|
41469
41514
|
## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07
|
|
41470
41515
|
|
|
41516
|
+
### 第 75 次发布
|
|
41517
|
+
|
|
41518
|
+
发布时间:2023-12-06 01:34:06
|
|
41519
|
+
|
|
41520
|
+
本次发布包含了以下内容:
|
|
41521
|
+
|
|
41522
|
+
改善已有的文档。
|
|
41523
|
+
|
|
41524
|
+
修改数据结构:
|
|
41525
|
+
|
|
41526
|
+
* [Package](https://cloud.tencent.com/document/api/1003/48097#Package)
|
|
41527
|
+
|
|
41528
|
+
* 新增成员:HistoryBindResourceInfos
|
|
41529
|
+
|
|
41530
|
+
|
|
41471
41531
|
### 第 74 次发布
|
|
41472
41532
|
|
|
41473
41533
|
发布时间:2023-11-14 01:12:41
|
|
@@ -55233,7 +55293,7 @@
|
|
|
55233
55293
|
|
|
55234
55294
|
新增接口:
|
|
55235
55295
|
|
|
55236
|
-
* [
|
|
55296
|
+
* [InquirePriceRenewInstance](https://cloud.tencent.com/document/api/845/102193)
|
|
55237
55297
|
|
|
55238
55298
|
### 第 50 次发布
|
|
55239
55299
|
|
|
@@ -61797,6 +61857,18 @@
|
|
|
61797
61857
|
|
|
61798
61858
|
## 人脸核身(faceid) 版本:2018-03-01
|
|
61799
61859
|
|
|
61860
|
+
### 第 67 次发布
|
|
61861
|
+
|
|
61862
|
+
发布时间:2023-12-06 01:49:35
|
|
61863
|
+
|
|
61864
|
+
本次发布包含了以下内容:
|
|
61865
|
+
|
|
61866
|
+
改善已有的文档。
|
|
61867
|
+
|
|
61868
|
+
新增接口:
|
|
61869
|
+
|
|
61870
|
+
* [[ImageRecognitionV2](https://cloud.tencent.com/document/api/1007/102203)](https://cloud.tencent.com/document/api/#/#)
|
|
61871
|
+
|
|
61800
61872
|
### 第 66 次发布
|
|
61801
61873
|
|
|
61802
61874
|
发布时间:2023-11-14 01:16:39
|
|
@@ -64380,6 +64452,19 @@
|
|
|
64380
64452
|
|
|
64381
64453
|
## 游戏多媒体引擎(gme) 版本:2018-07-11
|
|
64382
64454
|
|
|
64455
|
+
### 第 36 次发布
|
|
64456
|
+
|
|
64457
|
+
发布时间:2023-12-06 01:51:28
|
|
64458
|
+
|
|
64459
|
+
本次发布包含了以下内容:
|
|
64460
|
+
|
|
64461
|
+
改善已有的文档。
|
|
64462
|
+
|
|
64463
|
+
<font color="#dd0000">**预下线接口**:</font>
|
|
64464
|
+
|
|
64465
|
+
* CreateAgeDetectTask
|
|
64466
|
+
* DescribeAgeDetectTask
|
|
64467
|
+
|
|
64383
64468
|
### 第 35 次发布
|
|
64384
64469
|
|
|
64385
64470
|
发布时间:2023-08-24 01:19:31
|
|
@@ -86165,7 +86250,7 @@
|
|
|
86165
86250
|
|
|
86166
86251
|
新增接口:
|
|
86167
86252
|
|
|
86168
|
-
* [
|
|
86253
|
+
* [DestroyResourceInstances](https://cloud.tencent.com/document/api/283/102194)
|
|
86169
86254
|
|
|
86170
86255
|
### 第 19 次发布
|
|
86171
86256
|
|
|
@@ -114287,6 +114372,29 @@
|
|
|
114287
114372
|
|
|
114288
114373
|
## 边缘安全加速平台(teo) 版本:2022-09-01
|
|
114289
114374
|
|
|
114375
|
+
### 第 67 次发布
|
|
114376
|
+
|
|
114377
|
+
发布时间:2023-12-06 02:32:56
|
|
114378
|
+
|
|
114379
|
+
本次发布包含了以下内容:
|
|
114380
|
+
|
|
114381
|
+
改善已有的文档。
|
|
114382
|
+
|
|
114383
|
+
修改数据结构:
|
|
114384
|
+
|
|
114385
|
+
* [OriginDetail](https://cloud.tencent.com/document/api/1552/80721#OriginDetail)
|
|
114386
|
+
|
|
114387
|
+
* 新增成员:VodeoSubAppId, VodeoDistributionRange, VodeoBucketId
|
|
114388
|
+
|
|
114389
|
+
* [OriginInfo](https://cloud.tencent.com/document/api/1552/80721#OriginInfo)
|
|
114390
|
+
|
|
114391
|
+
* 新增成员:VodeoSubAppId, VodeoDistributionRange, VodeoBucketId
|
|
114392
|
+
|
|
114393
|
+
* [Resource](https://cloud.tencent.com/document/api/1552/80721#Resource)
|
|
114394
|
+
|
|
114395
|
+
* 新增成员:Type
|
|
114396
|
+
|
|
114397
|
+
|
|
114290
114398
|
### 第 66 次发布
|
|
114291
114399
|
|
|
114292
114400
|
发布时间:2023-11-28 01:26:13
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const tencentcloud = require("../../../../tencentcloud-sdk-nodejs")
|
|
2
|
+
|
|
3
|
+
// 导入对应产品模块的client models
|
|
4
|
+
const HunyuanClient = tencentcloud.hunyuan.v20230901.Client
|
|
5
|
+
|
|
6
|
+
// 实例化要请求产品的client对象。profile可选。
|
|
7
|
+
const client = new HunyuanClient({
|
|
8
|
+
credential: {
|
|
9
|
+
secretId: process.env.secretId,
|
|
10
|
+
secretKey: process.env.secretKey,
|
|
11
|
+
},
|
|
12
|
+
region: "ap-guangzhou",
|
|
13
|
+
profile: {
|
|
14
|
+
httpProfile: {
|
|
15
|
+
endpoint: 'hunyuan.tencentcloudapi.com'
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
// 通过client对象调用想要访问的接口,需要传入请求对象以及响应回调函数
|
|
21
|
+
|
|
22
|
+
client.ChatStd({
|
|
23
|
+
Messages: [{
|
|
24
|
+
Role: 'user',
|
|
25
|
+
Content: '你好, 可以讲个笑话吗'
|
|
26
|
+
}]
|
|
27
|
+
}).then(
|
|
28
|
+
async (res) => {
|
|
29
|
+
res.on('message', (message) => {
|
|
30
|
+
console.log(message)
|
|
31
|
+
})
|
|
32
|
+
// 或者
|
|
33
|
+
for await (let message of res) {
|
|
34
|
+
console.log(message)
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
(err) => {
|
|
38
|
+
console.error('error', err)
|
|
39
|
+
}
|
|
40
|
+
)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as tencentcloud from "../../../../tencentcloud-sdk-nodejs"
|
|
2
|
+
import { SSEResponseModel } from "../../../tencentcloud/common/sse_response_model"
|
|
3
|
+
import { ChatProResponse } from "../../../tencentcloud/services/hunyuan/v20230901/hunyuan_models"
|
|
4
|
+
|
|
5
|
+
// 导入对应产品模块的client models
|
|
6
|
+
const HunyuanClient = tencentcloud.hunyuan.v20230901.Client
|
|
7
|
+
|
|
8
|
+
// 实例化要请求产品的client对象。profile可选。
|
|
9
|
+
const client = new HunyuanClient({
|
|
10
|
+
credential: {
|
|
11
|
+
secretId: process.env.secretId,
|
|
12
|
+
secretKey: process.env.secretKey,
|
|
13
|
+
},
|
|
14
|
+
region: "ap-guangzhou",
|
|
15
|
+
profile: {
|
|
16
|
+
httpProfile: {
|
|
17
|
+
endpoint: 'hunyuan.tencentcloudapi.com'
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
// 通过client对象调用想要访问的接口,需要传入请求对象以及响应回调函数
|
|
23
|
+
|
|
24
|
+
client.ChatStd({
|
|
25
|
+
Messages: [{
|
|
26
|
+
Role: 'user',
|
|
27
|
+
Content: '你好, 可以讲个笑话吗'
|
|
28
|
+
}]
|
|
29
|
+
}).then(
|
|
30
|
+
async (res) => {
|
|
31
|
+
res.on('message', (message) => {
|
|
32
|
+
console.log(message)
|
|
33
|
+
})
|
|
34
|
+
// 或者
|
|
35
|
+
for await (let message of res) {
|
|
36
|
+
console.log(message)
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
(err) => {
|
|
40
|
+
console.error('error', err)
|
|
41
|
+
}
|
|
42
|
+
)
|
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2023-10-13 01:07:08 |
|
|
23
23
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-12-01 01:07:51 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-10-11 01:10:01 |
|
|
25
|
-
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-
|
|
25
|
+
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-12-06 01:10:35 |
|
|
26
26
|
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-12-01 01:08:07 |
|
|
27
27
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
28
28
|
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-10-18 01:14:30 |
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-12-04 00:06:28 |
|
|
72
72
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-11-29 01:11:08 |
|
|
73
73
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
74
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-
|
|
74
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-12-06 01:34:06 |
|
|
75
75
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-11-17 01:12:46 |
|
|
76
76
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
77
77
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
96
96
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-10-16 01:15:50 |
|
|
97
97
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-12-05 01:46:13 |
|
|
98
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-12-
|
|
99
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-12-
|
|
98
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-12-06 01:47:30 |
|
|
99
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-12-06 01:48:32 |
|
|
100
100
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
|
101
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-
|
|
101
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-12-06 01:49:35 |
|
|
102
102
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
103
103
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-08-17 03:12:58 |
|
|
104
104
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-11-14 01:16:54 |
|
|
105
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-
|
|
105
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-12-06 01:51:28 |
|
|
106
106
|
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-11-06 00:10:39 |
|
|
107
107
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
108
108
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-18 01:29:42 |
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
|
|
144
144
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-12-01 01:19:47 |
|
|
145
145
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
|
|
146
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-12-
|
|
146
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-12-06 02:06:58 |
|
|
147
147
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-10-25 01:21:31 |
|
|
148
148
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-11-30 05:22:15 |
|
|
149
149
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-12-05 02:07:42 |
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-11-28 01:25:42 |
|
|
203
203
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
|
|
204
204
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
205
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-
|
|
205
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-12-06 02:32:56 |
|
|
206
206
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 |
|
|
207
207
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
208
208
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.752"
|
|
@@ -371,6 +371,11 @@ export interface EmbedTokenInfo {
|
|
|
371
371
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
372
372
|
*/
|
|
373
373
|
UserId?: string
|
|
374
|
+
/**
|
|
375
|
+
* 访问次数限制,限制范围1-99999,为空则不设置访问次数限制
|
|
376
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
377
|
+
*/
|
|
378
|
+
TicketNum?: number
|
|
374
379
|
}
|
|
375
380
|
|
|
376
381
|
/**
|
|
@@ -693,6 +698,10 @@ export interface CreateEmbedTokenRequest {
|
|
|
693
698
|
* 使用者Id(仅用于多用户)
|
|
694
699
|
*/
|
|
695
700
|
UserId?: string
|
|
701
|
+
/**
|
|
702
|
+
* 访问次数限制,限制范围1-99999,为空则不设置访问次数限制
|
|
703
|
+
*/
|
|
704
|
+
TicketNum?: number
|
|
696
705
|
}
|
|
697
706
|
|
|
698
707
|
/**
|
|
@@ -964,6 +973,10 @@ export interface ModifyDatasourceCloudRequest {
|
|
|
964
973
|
* 第三方数据源id
|
|
965
974
|
*/
|
|
966
975
|
DataOriginDatasourceId?: string
|
|
976
|
+
/**
|
|
977
|
+
* 集群id
|
|
978
|
+
*/
|
|
979
|
+
ClusterId?: string
|
|
967
980
|
}
|
|
968
981
|
|
|
969
982
|
/**
|
|
@@ -2003,6 +2016,10 @@ export interface CreateDatasourceCloudRequest {
|
|
|
2003
2016
|
* 第三方数据源id
|
|
2004
2017
|
*/
|
|
2005
2018
|
DataOriginDatasourceId?: string
|
|
2019
|
+
/**
|
|
2020
|
+
* 集群id
|
|
2021
|
+
*/
|
|
2022
|
+
ClusterId?: string
|
|
2006
2023
|
}
|
|
2007
2024
|
|
|
2008
2025
|
/**
|
|
@@ -3180,7 +3180,7 @@ export interface DescribeFileUrlsRequest {
|
|
|
3180
3180
|
|
|
3181
3181
|
当控件的 ComponentType=‘SIGN_SEAL'时,FormField.ComponentValue填入印章id。
|
|
3182
3182
|
|
|
3183
|
-
*
|
|
3183
|
+
* 可用于指定自动签模板未设置自动签印章时,可由接口传入自动签印章
|
|
3184
3184
|
* 若指定的控件上已设置ComponentValue,那以已经设置的ComponentValue为准
|
|
3185
3185
|
|
|
3186
3186
|
```
|
|
@@ -4199,7 +4199,7 @@ export interface CreateEmbedWebUrlRequest {
|
|
|
4199
4199
|
* 用户自定义参数
|
|
4200
4200
|
<ul>
|
|
4201
4201
|
<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>
|
|
4202
|
-
<li
|
|
4202
|
+
<li>指定后,创建,编辑,删除模板时,回调都会携带该userData</li>
|
|
4203
4203
|
<li>支持的格式:json字符串的BASE64编码字符串</li>
|
|
4204
4204
|
<li>示例:<ul>
|
|
4205
4205
|
<li>json字符串:{"ComeFrom":"xxx"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>
|