tencentcloud-sdk-nodejs 4.0.750 → 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.
Files changed (58) hide show
  1. package/CHANGELOG.md +223 -0
  2. package/SERVICE_CHANGELOG.md +280 -8
  3. package/examples/hunyuan/v20230901/chat_std.js +40 -0
  4. package/examples/hunyuan/v20230901/chat_std.ts +42 -0
  5. package/package.json +1 -1
  6. package/products.md +21 -21
  7. package/src/common/sdk_version.ts +1 -1
  8. package/src/services/bi/v20220105/bi_models.ts +17 -0
  9. package/src/services/car/v20220110/car_models.ts +1 -1
  10. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  11. package/src/services/cdc/v20201214/cdc_models.ts +12 -12
  12. package/src/services/clb/v20180317/clb_models.ts +4 -4
  13. package/src/services/cls/v20201016/cls_models.ts +12 -12
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
  15. package/src/services/dts/v20211206/dts_models.ts +8 -8
  16. package/src/services/es/v20180416/es_client.ts +14 -2
  17. package/src/services/es/v20180416/es_models.ts +59 -23
  18. package/src/services/ess/v20201111/ess_models.ts +55 -2
  19. package/src/services/essbasic/v20210526/essbasic_models.ts +55 -114
  20. package/src/services/faceid/v20180301/faceid_client.ts +15 -3
  21. package/src/services/faceid/v20180301/faceid_models.ts +123 -73
  22. package/src/services/gme/v20180711/gme_client.ts +7 -3
  23. package/src/services/lighthouse/v20200324/lighthouse_models.ts +41 -41
  24. package/src/services/monitor/v20180724/monitor_models.ts +73 -33
  25. package/src/services/ms/v20180408/ms_client.ts +13 -0
  26. package/src/services/ms/v20180408/ms_models.ts +40 -0
  27. package/src/services/ocr/v20181119/ocr_models.ts +6 -0
  28. package/src/services/teo/v20220901/teo_models.ts +51 -10
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +17 -0
  32. package/tencentcloud/services/car/v20220110/car_models.d.ts +1 -1
  33. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  34. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +12 -12
  35. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
  36. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +12 -12
  37. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
  38. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +8 -8
  39. package/tencentcloud/services/es/v20180416/es_client.d.ts +5 -1
  40. package/tencentcloud/services/es/v20180416/es_client.js +6 -0
  41. package/tencentcloud/services/es/v20180416/es_models.d.ts +57 -23
  42. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +55 -2
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +55 -114
  44. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
  45. package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
  46. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -73
  47. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -2
  48. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -2
  49. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +41 -41
  50. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +73 -33
  51. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +6 -1
  52. package/tencentcloud/services/ms/v20180408/ms_client.js +7 -0
  53. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +38 -0
  54. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -0
  55. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +51 -10
  56. package/test/es.v20180416.test.js +10 -0
  57. package/test/faceid.v20180301.test.js +10 -0
  58. package/test/ms.v20180408.test.js +10 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,226 @@
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
+
120
+ # Release 4.0.751
121
+
122
+ ## Elasticsearch Service(es) 版本:2018-04-16
123
+
124
+ ### 第 51 次发布
125
+
126
+ 发布时间:2023-12-05 01:46:13
127
+
128
+ 本次发布包含了以下内容:
129
+
130
+ 改善已有的文档。
131
+
132
+ 新增接口:
133
+
134
+ * [InquirePriceRenewInstance](https://cloud.tencent.com/document/api/845/102193)
135
+
136
+
137
+
138
+ ## 轻量应用服务器(lighthouse) 版本:2020-03-24
139
+
140
+ ### 第 56 次发布
141
+
142
+ 发布时间:2023-12-05 01:59:59
143
+
144
+ 本次发布包含了以下内容:
145
+
146
+ 改善已有的文档。
147
+
148
+ 修改数据结构:
149
+
150
+ * [PolicyDetail](https://cloud.tencent.com/document/api/1207/47576#PolicyDetail)
151
+
152
+ * <font color="#dd0000">**修改成员**:</font>UserDiscount, CommonDiscount, FinalDiscount, ActivityDiscount, DiscountType
153
+
154
+
155
+
156
+
157
+ ## 腾讯云可观测平台(monitor) 版本:2018-07-24
158
+
159
+ ### 第 97 次发布
160
+
161
+ 发布时间:2023-12-05 02:04:16
162
+
163
+ 本次发布包含了以下内容:
164
+
165
+ 改善已有的文档。
166
+
167
+ 修改接口:
168
+
169
+ * [CreateGrafanaNotificationChannel](https://cloud.tencent.com/document/api/248/79217)
170
+
171
+ * <font color="#dd0000">**修改入参**:</font>OrgId
172
+
173
+ * [UpdateGrafanaNotificationChannel](https://cloud.tencent.com/document/api/248/79190)
174
+
175
+ * <font color="#dd0000">**修改入参**:</font>ChannelName
176
+
177
+
178
+ 修改数据结构:
179
+
180
+ * [AlarmHistory](https://cloud.tencent.com/document/api/248/30354#AlarmHistory)
181
+
182
+ * 新增成员:ShieldFlag, AlarmShieldingType, AlarmShieldingTime, AlarmShieldingShowType, AlarmShieldingShowTime, AlarmShieldReason, InternalDimensions, MetricName
183
+
184
+ * <font color="#dd0000">**修改成员**:</font>AlarmLevel
185
+
186
+
187
+
188
+
189
+ ## 移动应用安全(ms) 版本:2018-04-08
190
+
191
+ ### 第 20 次发布
192
+
193
+ 发布时间:2023-12-05 02:07:42
194
+
195
+ 本次发布包含了以下内容:
196
+
197
+ 改善已有的文档。
198
+
199
+ 新增接口:
200
+
201
+ * [DestroyResourceInstances](https://cloud.tencent.com/document/api/283/102194)
202
+
203
+
204
+
205
+ ## 文字识别(ocr) 版本:2018-11-19
206
+
207
+ ### 第 123 次发布
208
+
209
+ 发布时间:2023-12-05 02:08:42
210
+
211
+ 本次发布包含了以下内容:
212
+
213
+ 改善已有的文档。
214
+
215
+ 修改接口:
216
+
217
+ * [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215)
218
+
219
+ * 新增出参:Angle
220
+
221
+
222
+
223
+
1
224
  # Release 4.0.750
2
225
 
3
226
  ## 流计算 Oceanus(oceanus) 版本:2019-04-22
@@ -1,10 +1,63 @@
1
1
  # 本版本更新包含以下内容:
2
2
 
3
- ## 流计算 Oceanus(oceanus) 版本:2019-04-22
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
+
4
34
 
5
- ### 第 49 次发布
6
35
 
7
- 发布时间:2023-12-04 15:28:57
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
8
61
 
9
62
  本次发布包含了以下内容:
10
63
 
@@ -12,11 +65,55 @@
12
65
 
13
66
  新增接口:
14
67
 
15
- * [DescribeFolder](https://cloud.tencent.com/document/api/849/102187)
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
16
112
 
17
- 新增数据结构:
18
113
 
19
- * [SubFolderInfo](https://cloud.tencent.com/document/api/849/52010#SubFolderInfo)
114
+
115
+
116
+ ## 边缘安全加速平台(teo) 版本:2022-01-06
20
117
 
21
118
 
22
119
 
@@ -8259,6 +8356,36 @@
8259
8356
 
8260
8357
  ## 商业智能分析 BI(bi) 版本:2022-01-05
8261
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
+
8262
8389
  ### 第 6 次发布
8263
8390
 
8264
8391
  发布时间:2023-10-20 01:06:54
@@ -41386,6 +41513,21 @@
41386
41513
 
41387
41514
  ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07
41388
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
+
41389
41531
  ### 第 74 次发布
41390
41532
 
41391
41533
  发布时间:2023-11-14 01:12:41
@@ -55141,6 +55283,18 @@
55141
55283
 
55142
55284
  ## Elasticsearch Service(es) 版本:2018-04-16
55143
55285
 
55286
+ ### 第 51 次发布
55287
+
55288
+ 发布时间:2023-12-05 01:46:13
55289
+
55290
+ 本次发布包含了以下内容:
55291
+
55292
+ 改善已有的文档。
55293
+
55294
+ 新增接口:
55295
+
55296
+ * [InquirePriceRenewInstance](https://cloud.tencent.com/document/api/845/102193)
55297
+
55144
55298
  ### 第 50 次发布
55145
55299
 
55146
55300
  发布时间:2023-11-23 01:18:36
@@ -61703,6 +61857,18 @@
61703
61857
 
61704
61858
  ## 人脸核身(faceid) 版本:2018-03-01
61705
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
+
61706
61872
  ### 第 66 次发布
61707
61873
 
61708
61874
  发布时间:2023-11-14 01:16:39
@@ -64286,6 +64452,19 @@
64286
64452
 
64287
64453
  ## 游戏多媒体引擎(gme) 版本:2018-07-11
64288
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
+
64289
64468
  ### 第 35 次发布
64290
64469
 
64291
64470
  发布时间:2023-08-24 01:19:31
@@ -74785,6 +74964,21 @@
74785
74964
 
74786
74965
  ## 轻量应用服务器(lighthouse) 版本:2020-03-24
74787
74966
 
74967
+ ### 第 56 次发布
74968
+
74969
+ 发布时间:2023-12-05 01:59:59
74970
+
74971
+ 本次发布包含了以下内容:
74972
+
74973
+ 改善已有的文档。
74974
+
74975
+ 修改数据结构:
74976
+
74977
+ * [PolicyDetail](https://cloud.tencent.com/document/api/1207/47576#PolicyDetail)
74978
+
74979
+ * <font color="#dd0000">**修改成员**:</font>UserDiscount, CommonDiscount, FinalDiscount, ActivityDiscount, DiscountType
74980
+
74981
+
74788
74982
  ### 第 55 次发布
74789
74983
 
74790
74984
  发布时间:2023-11-07 01:54:12
@@ -80796,6 +80990,34 @@
80796
80990
 
80797
80991
  ## 腾讯云可观测平台(monitor) 版本:2018-07-24
80798
80992
 
80993
+ ### 第 97 次发布
80994
+
80995
+ 发布时间:2023-12-05 02:04:16
80996
+
80997
+ 本次发布包含了以下内容:
80998
+
80999
+ 改善已有的文档。
81000
+
81001
+ 修改接口:
81002
+
81003
+ * [CreateGrafanaNotificationChannel](https://cloud.tencent.com/document/api/248/79217)
81004
+
81005
+ * <font color="#dd0000">**修改入参**:</font>OrgId
81006
+
81007
+ * [UpdateGrafanaNotificationChannel](https://cloud.tencent.com/document/api/248/79190)
81008
+
81009
+ * <font color="#dd0000">**修改入参**:</font>ChannelName
81010
+
81011
+
81012
+ 修改数据结构:
81013
+
81014
+ * [AlarmHistory](https://cloud.tencent.com/document/api/248/30354#AlarmHistory)
81015
+
81016
+ * 新增成员:ShieldFlag, AlarmShieldingType, AlarmShieldingTime, AlarmShieldingShowType, AlarmShieldingShowTime, AlarmShieldReason, InternalDimensions, MetricName
81017
+
81018
+ * <font color="#dd0000">**修改成员**:</font>AlarmLevel
81019
+
81020
+
80799
81021
  ### 第 96 次发布
80800
81022
 
80801
81023
  发布时间:2023-10-17 01:21:47
@@ -86018,6 +86240,18 @@
86018
86240
 
86019
86241
  ## 移动应用安全(ms) 版本:2018-04-08
86020
86242
 
86243
+ ### 第 20 次发布
86244
+
86245
+ 发布时间:2023-12-05 02:07:42
86246
+
86247
+ 本次发布包含了以下内容:
86248
+
86249
+ 改善已有的文档。
86250
+
86251
+ 新增接口:
86252
+
86253
+ * [DestroyResourceInstances](https://cloud.tencent.com/document/api/283/102194)
86254
+
86021
86255
  ### 第 19 次发布
86022
86256
 
86023
86257
  发布时间:2023-11-15 02:10:37
@@ -87023,11 +87257,11 @@
87023
87257
 
87024
87258
  新增接口:
87025
87259
 
87026
- * [[DescribeFolder](https://cloud.tencent.com/document/api/849/102187)](https://cloud.tencent.com/document/api/#/#)
87260
+ * [DescribeFolder](https://cloud.tencent.com/document/api/849/102187)
87027
87261
 
87028
87262
  新增数据结构:
87029
87263
 
87030
- * [[SubFolderInfo](https://cloud.tencent.com/document/api/849/52010#SubFolderInfo)](https://cloud.tencent.com/document/api/849/52010#[SubFolderInfo](https://cloud.tencent.com/document/api/849/52010#SubFolderInfo))
87264
+ * [SubFolderInfo](https://cloud.tencent.com/document/api/849/52010#SubFolderInfo)
87031
87265
 
87032
87266
  ### 第 48 次发布
87033
87267
 
@@ -88013,6 +88247,21 @@
88013
88247
 
88014
88248
  ## 文字识别(ocr) 版本:2018-11-19
88015
88249
 
88250
+ ### 第 123 次发布
88251
+
88252
+ 发布时间:2023-12-05 02:08:42
88253
+
88254
+ 本次发布包含了以下内容:
88255
+
88256
+ 改善已有的文档。
88257
+
88258
+ 修改接口:
88259
+
88260
+ * [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215)
88261
+
88262
+ * 新增出参:Angle
88263
+
88264
+
88016
88265
  ### 第 122 次发布
88017
88266
 
88018
88267
  发布时间:2023-11-30 05:24:08
@@ -114123,6 +114372,29 @@
114123
114372
 
114124
114373
  ## 边缘安全加速平台(teo) 版本:2022-09-01
114125
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
+
114126
114398
  ### 第 66 次发布
114127
114399
 
114128
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.750",
3
+ "version": "4.0.752",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {