tencentcloud-sdk-nodejs-intl-en 3.0.672 → 3.0.675

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.672",
3
+ "version": "3.0.675",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -930,13 +930,25 @@ class DescribeBillDetailRequest extends AbstractModel {
930
930
  this.Month = null;
931
931
 
932
932
  /**
933
- * The start time of the period; format: Y-m-d H:i:s. You only have to enter either Month or BeginTime and EndTime. When you enter values for BeginTime and EndTime, Month becomes invalid. BeginTime and EndTime must be inputted as a pair. This value must be no earlier than the month when Bill 2.0 is activated; last 24 months data are available.
933
+ * The start time of the query range, which should be in the format Y-m-d H:i:s . The query range must be in the last 18 months and cannot be earlier than May 2018 (when Bill 2.0 was introduced). The start time and end time must be in the same month.
934
+
935
+ Example: tccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --BeginTime '2023-04-01 12:05:15' --EndTime '2023-04-18 12:00:10' --ProjectId 1000000731 --version "2018-07-09"
936
+
937
+ Alternatively, you can use Month to query the billing details of a month.
938
+ Example:
939
+ ccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --Month 2023-04 --version "2018-07-09" --ResourceId "disk-oj9okstm"
934
940
  * @type {string || null}
935
941
  */
936
942
  this.BeginTime = null;
937
943
 
938
944
  /**
939
- * The end time of the period; format: Y-m-d H:i:s. You only have to enter either Month or BeginTime and EndTime. When you enter values for BeginTime and EndTime, Month becomes invalid. BeginTime and EndTime must be inputted as a pair. This value must be no earlier than the month when Bill 2.0 is activated; last 24 months data are available.
945
+ * The end time of the query range, which should be in the format `Y-m-d H:i:s `. The query range must be in the last 18 months and cannot be earlier than May 2018 (when Bill 2.0 was introduced). The start time and end time must be in the same month.
946
+
947
+ Example: tccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --BeginTime '2023-04-01 12:05:15' --EndTime '2023-04-18 12:00:10' --ProjectId 1000000731 --version "2018-07-09"
948
+
949
+ Alternatively, you can use `Month` to query the billing details of a month.
950
+ Example:
951
+ ccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --Month 2023-04 --version "2018-07-09" --ResourceId "disk-oj9okstm"
940
952
  * @type {string || null}
941
953
  */
942
954
  this.EndTime = null;
@@ -1158,7 +1170,7 @@ class DescribeAccountBalanceResponse extends AbstractModel {
1158
1170
  this.IsCreditLimited = null;
1159
1171
 
1160
1172
  /**
1161
- * Credit limit. Credit limit-available credit balance = consumption amount
1173
+ * Credit limit in cents. Credit limit-available credit balance = consumption amount
1162
1174
  * @type {number || null}
1163
1175
  */
1164
1176
  this.CreditAmount = null;
@@ -567,7 +567,9 @@ Note that once an instance is deactivated, its resources and data will not be re
567
567
  }
568
568
 
569
569
  /**
570
- * This API is used to modify the description of database proxy.
570
+ * 当前接口已经废弃,请使用+ModifyCdbProxyAddressDesc+进行替代。
571
+
572
+ This API is used to modify the description of database proxy.
571
573
  * @param {ModifyCDBProxyDescRequest} req
572
574
  * @param {function(string, ModifyCDBProxyDescResponse):void} cb
573
575
  * @public
@@ -809,7 +811,9 @@ Note: the HTTP response packet will be very large if it contain a single large e
809
811
  }
810
812
 
811
813
  /**
812
- * This API is used to query the proxy details.
814
+ * 当前接口已经废弃,请使用+DescribeCdbProxyInfo+进行替代。
815
+
816
+ This API is used to query the proxy details.
813
817
  * @param {QueryCDBProxyRequest} req
814
818
  * @param {function(string, QueryCDBProxyResponse):void} cb
815
819
  * @public
@@ -949,7 +953,9 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
949
953
  }
950
954
 
951
955
  /**
952
- * This API is used to configure the connection pool of database proxy. You can use the `DescribeProxyConnectionPoolConf` API to query the supported connection pool configurations.
956
+ * 当前接口已经废弃,请使用+AdjustCdbProxyAddress+进行替代。
957
+
958
+ This API is used to configure the connection pool of database proxy. You can use the `DescribeProxyConnectionPoolConf` API to query the supported connection pool configurations.
953
959
  * @param {ModifyCDBProxyConnectionPoolRequest} req
954
960
  * @param {function(string, ModifyCDBProxyConnectionPoolResponse):void} cb
955
961
  * @public
@@ -1200,7 +1206,9 @@ This is an asynchronous API. You can also use the [DescribeDBInstances](https://
1200
1206
  }
1201
1207
 
1202
1208
  /**
1203
- * This API is used to modify the VIP or port of database proxy.
1209
+ * 当前接口已经废弃,请使用+ModifyCdbProxyAddressVipAndVPort+进行替代。
1210
+
1211
+ This API is used to modify the VIP or port of database proxy.
1204
1212
  * @param {ModifyCDBProxyVipVPortRequest} req
1205
1213
  * @param {function(string, ModifyCDBProxyVipVPortResponse):void} cb
1206
1214
  * @public
@@ -1451,7 +1459,9 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
1451
1459
  }
1452
1460
 
1453
1461
  /**
1454
- * This API is used to query database proxy. It will be deprecated and replaced by the `QueryCDBProxy` API.
1462
+ * 接口已经废弃,请使用+DescribeCdbProxyInfo+进行替换。
1463
+
1464
+ This API is used to query database proxy. It will be deprecated and replaced by the `QueryCDBProxy` API.
1455
1465
  * @param {DescribeCDBProxyRequest} req
1456
1466
  * @param {function(string, DescribeCDBProxyResponse):void} cb
1457
1467
  * @public
@@ -1632,7 +1642,9 @@ Note that before enabling public network access, you need to first [initialize t
1632
1642
  }
1633
1643
 
1634
1644
  /**
1635
- * This API is used to query the connection pool configuration of database proxy.
1645
+ * 当前接口已经废弃,请使用+DescribeCdbProxyInfo+替代。
1646
+
1647
+ This API is used to query the connection pool configuration of database proxy.
1636
1648
  * @param {DescribeProxyConnectionPoolConfRequest} req
1637
1649
  * @param {function(string, DescribeProxyConnectionPoolConfResponse):void} cb
1638
1650
  * @public
@@ -1114,13 +1114,13 @@ class UpgradeDBInstanceRequest extends AbstractModel {
1114
1114
  this.DeviceType = null;
1115
1115
 
1116
1116
  /**
1117
- * The number of CPU cores after the instance is upgraded. If this parameter is left empty, the number of CPU cores will be automatically filled in according to the `Memory` value.
1117
+ * The number of CPU cores after the instance is upgraded. If this parameter is left empty, it will be subject to the `Memory` value.
1118
1118
  * @type {number || null}
1119
1119
  */
1120
1120
  this.Cpu = null;
1121
1121
 
1122
1122
  /**
1123
- * Whether to enable QuickChange. Valid values: `0` (no), `1` (yes), `2` (QuickChange preferred). After QuickChange is enabled, the required resources will be checked. QuickChange is performed only when the required resources support the feature; otherwise, an error message will be returned.
1123
+ * QuickChange options. Valid values: `0` (common upgrade), `1` (QuickChange), `2` (QuickChange first). After QuickChange is enabled, the required resources will be checked. QuickChange will be performed only when the required resources support the feature; otherwise, an error message will be returned.
1124
1124
  * @type {number || null}
1125
1125
  */
1126
1126
  this.FastUpgrade = null;
@@ -1143,6 +1143,12 @@ class UpgradeDBInstanceRequest extends AbstractModel {
1143
1143
  */
1144
1144
  this.ZoneId = null;
1145
1145
 
1146
+ /**
1147
+ * Processing logic of the intra-AZ read-only instance for cross-cluster migration. Valid values: `together` (intra-AZ read-only instances will be migrated to the target AZ with the source instance by default.), `severally` (intra-AZ read-only instances will maintain the original deployment mode and will not be migrated to the target AZ.).
1148
+ * @type {string || null}
1149
+ */
1150
+ this.RoTransType = null;
1151
+
1146
1152
  }
1147
1153
 
1148
1154
  /**
@@ -1168,6 +1174,7 @@ class UpgradeDBInstanceRequest extends AbstractModel {
1168
1174
  this.MaxDelayTime = 'MaxDelayTime' in params ? params.MaxDelayTime : null;
1169
1175
  this.CrossCluster = 'CrossCluster' in params ? params.CrossCluster : null;
1170
1176
  this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
1177
+ this.RoTransType = 'RoTransType' in params ? params.RoTransType : null;
1171
1178
 
1172
1179
  }
1173
1180
  }
@@ -16356,7 +16363,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
16356
16363
  this.Key = null;
16357
16364
 
16358
16365
  /**
16359
- * Number of keys in the statistic report
16366
+ * Number of occurrences of the key value
16360
16367
  * @type {number || null}
16361
16368
  */
16362
16369
  this.Count = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.672";
1
+ const sdkVersion = "3.0.675";
2
2
  module.exports = sdkVersion
@@ -17,8 +17,10 @@
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
19
  const CreateRoomRequest = models.CreateRoomRequest;
20
+ const DescribeQuestionListRequest = models.DescribeQuestionListRequest;
20
21
  const ModifyRoomResponse = models.ModifyRoomResponse;
21
22
  const GetWatermarkResponse = models.GetWatermarkResponse;
23
+ const DescribeSupervisorsResponse = models.DescribeSupervisorsResponse;
22
24
  const BatchDeleteRecordRequest = models.BatchDeleteRecordRequest;
23
25
  const BatchRegisterRequest = models.BatchRegisterRequest;
24
26
  const DeleteRoomResponse = models.DeleteRoomResponse;
@@ -26,10 +28,9 @@ const ModifyUserProfileRequest = models.ModifyUserProfileRequest;
26
28
  const CreateGroupWithMembersRequest = models.CreateGroupWithMembersRequest;
27
29
  const DescribeDocumentsByRoomRequest = models.DescribeDocumentsByRoomRequest;
28
30
  const BatchCreateGroupWithMembersResponse = models.BatchCreateGroupWithMembersResponse;
29
- const AddGroupMemberResponse = models.AddGroupMemberResponse;
30
31
  const GetRoomEventResponse = models.GetRoomEventResponse;
31
- const CreateGroupWithMembersResponse = models.CreateGroupWithMembersResponse;
32
- const DeleteAppCustomContentRequest = models.DeleteAppCustomContentRequest;
32
+ const MemberRecord = models.MemberRecord;
33
+ const GetRoomsRequest = models.GetRoomsRequest;
33
34
  const BatchAddGroupMemberResponse = models.BatchAddGroupMemberResponse;
34
35
  const ModifyUserProfileResponse = models.ModifyUserProfileResponse;
35
36
  const ModifyAppResponse = models.ModifyAppResponse;
@@ -37,6 +38,7 @@ const LoginOriginIdRequest = models.LoginOriginIdRequest;
37
38
  const BatchRegisterResponse = models.BatchRegisterResponse;
38
39
  const BindDocumentToRoomResponse = models.BindDocumentToRoomResponse;
39
40
  const CreateGroupWithSubGroupRequest = models.CreateGroupWithSubGroupRequest;
41
+ const RoomItem = models.RoomItem;
40
42
  const SetWatermarkRequest = models.SetWatermarkRequest;
41
43
  const DescribeRoomRequest = models.DescribeRoomRequest;
42
44
  const BatchCreateRoomResponse = models.BatchCreateRoomResponse;
@@ -56,6 +58,7 @@ const DeleteDocumentResponse = models.DeleteDocumentResponse;
56
58
  const DeleteRecordRequest = models.DeleteRecordRequest;
57
59
  const BatchDeleteGroupMemberResponse = models.BatchDeleteGroupMemberResponse;
58
60
  const CreateGroupWithSubGroupResponse = models.CreateGroupWithSubGroupResponse;
61
+ const MessageItem = models.MessageItem;
59
62
  const GroupInfo = models.GroupInfo;
60
63
  const GetRoomEventRequest = models.GetRoomEventRequest;
61
64
  const DescribeDocumentResponse = models.DescribeDocumentResponse;
@@ -63,6 +66,7 @@ const DeleteGroupMemberResponse = models.DeleteGroupMemberResponse;
63
66
  const DescribeGroupMemberListResponse = models.DescribeGroupMemberListResponse;
64
67
  const EventInfo = models.EventInfo;
65
68
  const DeleteRecordResponse = models.DeleteRecordResponse;
69
+ const DescribeAnswerListRequest = models.DescribeAnswerListRequest;
66
70
  const BatchCreateRoomRequest = models.BatchCreateRoomRequest;
67
71
  const DescribeGroupMemberListRequest = models.DescribeGroupMemberListRequest;
68
72
  const UserInfo = models.UserInfo;
@@ -82,29 +86,37 @@ const DescribeRoomResponse = models.DescribeRoomResponse;
82
86
  const DescribeCurrentMemberListRequest = models.DescribeCurrentMemberListRequest;
83
87
  const DescribeSdkAppIdUsersResponse = models.DescribeSdkAppIdUsersResponse;
84
88
  const EventDataInfo = models.EventDataInfo;
89
+ const DescribeAnswerListResponse = models.DescribeAnswerListResponse;
85
90
  const DescribeRoomStatisticsResponse = models.DescribeRoomStatisticsResponse;
86
91
  const DeleteDocumentRequest = models.DeleteDocumentRequest;
92
+ const DescribeSupervisorsRequest = models.DescribeSupervisorsRequest;
87
93
  const MessageList = models.MessageList;
88
94
  const DeleteGroupMemberRequest = models.DeleteGroupMemberRequest;
89
95
  const GetWatermarkRequest = models.GetWatermarkRequest;
90
- const MemberRecord = models.MemberRecord;
96
+ const CreateGroupWithMembersResponse = models.CreateGroupWithMembersResponse;
91
97
  const BatchDeleteGroupMemberRequest = models.BatchDeleteGroupMemberRequest;
92
98
  const ModifyAppRequest = models.ModifyAppRequest;
93
99
  const UnbindDocumentFromRoomRequest = models.UnbindDocumentFromRoomRequest;
94
100
  const RegisterUserRequest = models.RegisterUserRequest;
95
101
  const GroupBaseInfo = models.GroupBaseInfo;
96
102
  const LoginUserRequest = models.LoginUserRequest;
103
+ const AnswerStat = models.AnswerStat;
97
104
  const SetWatermarkResponse = models.SetWatermarkResponse;
98
105
  const RoomInfo = models.RoomInfo;
99
106
  const ModifyRoomRequest = models.ModifyRoomRequest;
107
+ const AnswerInfo = models.AnswerInfo;
100
108
  const DescribeRoomStatisticsRequest = models.DescribeRoomStatisticsRequest;
101
109
  const DescribeDocumentsByRoomResponse = models.DescribeDocumentsByRoomResponse;
102
110
  const LoginOriginIdResponse = models.LoginOriginIdResponse;
111
+ const DescribeQuestionListResponse = models.DescribeQuestionListResponse;
112
+ const GetRoomsResponse = models.GetRoomsResponse;
113
+ const QuestionInfo = models.QuestionInfo;
114
+ const DeleteAppCustomContentRequest = models.DeleteAppCustomContentRequest;
103
115
  const DescribeDeveloperRequest = models.DescribeDeveloperRequest;
104
116
  const AppCustomContent = models.AppCustomContent;
105
117
  const DeleteGroupResponse = models.DeleteGroupResponse;
106
118
  const DescribeSdkAppIdUsersRequest = models.DescribeSdkAppIdUsersRequest;
107
- const MessageItem = models.MessageItem;
119
+ const AddGroupMemberResponse = models.AddGroupMemberResponse;
108
120
  const CreateSupervisorResponse = models.CreateSupervisorResponse;
109
121
  const DeleteRoomRequest = models.DeleteRoomRequest;
110
122
  const BatchCreateGroupWithMembersRequest = models.BatchCreateGroupWithMembersRequest;
@@ -270,6 +282,17 @@ A maximum of 20 requests can be initiated per second for this API.
270
282
  this.request("CreateDocument", req, resp, cb);
271
283
  }
272
284
 
285
+ /**
286
+ * This API is used to get the spectators of a room.
287
+ * @param {DescribeSupervisorsRequest} req
288
+ * @param {function(string, DescribeSupervisorsResponse):void} cb
289
+ * @public
290
+ */
291
+ DescribeSupervisors(req, cb) {
292
+ let resp = new DescribeSupervisorsResponse();
293
+ this.request("DescribeSupervisors", req, resp, cb);
294
+ }
295
+
273
296
  /**
274
297
  * This API is used to delete one or multiple groups.
275
298
  A maximum of 20 requests can be initiated per second for this API.
@@ -502,6 +525,17 @@ A maximum of 20 requests can be initiated per second for this API.
502
525
  this.request("CreateSupervisor", req, resp, cb);
503
526
  }
504
527
 
528
+ /**
529
+ * This API is used to get the quiz details of a room.
530
+ * @param {DescribeQuestionListRequest} req
531
+ * @param {function(string, DescribeQuestionListResponse):void} cb
532
+ * @public
533
+ */
534
+ DescribeQuestionList(req, cb) {
535
+ let resp = new DescribeQuestionListResponse();
536
+ this.request("DescribeQuestionList", req, resp, cb);
537
+ }
538
+
505
539
  /**
506
540
  * This API is used to set or update the custom content of an application, including the application icon and custom code. After you update JS and CSS content, you also need to call this API for the updates to take effect.
507
541
  * @param {SetAppCustomContentRequest} req
@@ -548,6 +582,17 @@ A maximum of 20 requests can be initiated per second for this API.
548
582
  this.request("BatchCreateRoom", req, resp, cb);
549
583
  }
550
584
 
585
+ /**
586
+ * This API is used to get the answers to a quiz question in a room.
587
+ * @param {DescribeAnswerListRequest} req
588
+ * @param {function(string, DescribeAnswerListResponse):void} cb
589
+ * @public
590
+ */
591
+ DescribeAnswerList(req, cb) {
592
+ let resp = new DescribeAnswerListResponse();
593
+ this.request("DescribeAnswerList", req, resp, cb);
594
+ }
595
+
551
596
  /**
552
597
  * This API is used to delete a document.
553
598
  A maximum of 20 requests can be initiated per second for this API.
@@ -572,6 +617,17 @@ A maximum of 20 requests can be initiated per second for this API.
572
617
  this.request("BatchDeleteRecord", req, resp, cb);
573
618
  }
574
619
 
620
+ /**
621
+ * This API is used to get the room list.
622
+ * @param {GetRoomsRequest} req
623
+ * @param {function(string, GetRoomsResponse):void} cb
624
+ * @public
625
+ */
626
+ GetRooms(req, cb) {
627
+ let resp = new GetRoomsResponse();
628
+ this.request("GetRooms", req, resp, cb);
629
+ }
630
+
575
631
  /**
576
632
  * This API is used to delete a room.
577
633
  * @param {DeleteRoomRequest} req