tencentcloud-sdk-nodejs-intl-en 3.0.1425 → 3.0.1427
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1427";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -26481,6 +26481,18 @@ class CynosdbClusterDetail extends AbstractModel {
|
|
|
26481
26481
|
*/
|
|
26482
26482
|
this.RealZone = null;
|
|
26483
26483
|
|
|
26484
|
+
/**
|
|
26485
|
+
* <p>Exceed limit enabled status</p><p>Enumeration value:</p><ul><li>yes: Exceed limit enabled</li><li>no: Exceed limit disabled</li></ul><p>Default value: no</p>
|
|
26486
|
+
* @type {string || null}
|
|
26487
|
+
*/
|
|
26488
|
+
this.StorageOverUse = null;
|
|
26489
|
+
|
|
26490
|
+
/**
|
|
26491
|
+
* <p>Auto-scaling enabled status</p><p>Enumeration value:</p><ul><li>yes: On</li><li>no: Off</li></ul><p>Default value: no</p>
|
|
26492
|
+
* @type {string || null}
|
|
26493
|
+
*/
|
|
26494
|
+
this.StorageAutoExpand = null;
|
|
26495
|
+
|
|
26484
26496
|
}
|
|
26485
26497
|
|
|
26486
26498
|
/**
|
|
@@ -26602,6 +26614,8 @@ class CynosdbClusterDetail extends AbstractModel {
|
|
|
26602
26614
|
this.ClusterLevel = 'ClusterLevel' in params ? params.ClusterLevel : null;
|
|
26603
26615
|
this.IsOpenTDE = 'IsOpenTDE' in params ? params.IsOpenTDE : null;
|
|
26604
26616
|
this.RealZone = 'RealZone' in params ? params.RealZone : null;
|
|
26617
|
+
this.StorageOverUse = 'StorageOverUse' in params ? params.StorageOverUse : null;
|
|
26618
|
+
this.StorageAutoExpand = 'StorageAutoExpand' in params ? params.StorageAutoExpand : null;
|
|
26605
26619
|
|
|
26606
26620
|
}
|
|
26607
26621
|
}
|
|
@@ -1752,6 +1752,12 @@ class GetFaceIdTokenIntlResponse extends AbstractModel {
|
|
|
1752
1752
|
*/
|
|
1753
1753
|
this.SdkToken = null;
|
|
1754
1754
|
|
|
1755
|
+
/**
|
|
1756
|
+
* Encrypted string of server-side parameters
|
|
1757
|
+
* @type {string || null}
|
|
1758
|
+
*/
|
|
1759
|
+
this.ServerParamInfo = null;
|
|
1760
|
+
|
|
1755
1761
|
/**
|
|
1756
1762
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1757
1763
|
* @type {string || null}
|
|
@@ -1768,6 +1774,7 @@ class GetFaceIdTokenIntlResponse extends AbstractModel {
|
|
|
1768
1774
|
return;
|
|
1769
1775
|
}
|
|
1770
1776
|
this.SdkToken = 'SdkToken' in params ? params.SdkToken : null;
|
|
1777
|
+
this.ServerParamInfo = 'ServerParamInfo' in params ? params.ServerParamInfo : null;
|
|
1771
1778
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1772
1779
|
|
|
1773
1780
|
}
|
|
@@ -2427,21 +2434,21 @@ Default value: 4
|
|
|
2427
2434
|
this.SecurityLevel = null;
|
|
2428
2435
|
|
|
2429
2436
|
/**
|
|
2430
|
-
* Specifies the identity document type used for authentication.
|
|
2437
|
+
* Specifies the identity document type used for authentication. Valid values:
|
|
2431
2438
|
|
|
2432
|
-
1. HK (default):
|
|
2433
|
-
2. ML:
|
|
2434
|
-
3.
|
|
2435
|
-
4. PhilippinesVoteID:
|
|
2436
|
-
5. PhilippinesDrivingLicense:
|
|
2437
|
-
6. PhilippinesTinID:
|
|
2438
|
-
7. PhilippinesSSSID:
|
|
2439
|
-
8.
|
|
2440
|
-
9. MLIDPassport:
|
|
2441
|
-
10. ThailandIDCard:
|
|
2442
|
-
11. Mainland
|
|
2443
|
-
12. SingaporeIDCard:
|
|
2444
|
-
13. HMTPermit:
|
|
2439
|
+
1. HK (default): Hong Kong (China) Identity Card.
|
|
2440
|
+
2. ML: Malaysia Identity Card.
|
|
2441
|
+
3. IndonesiaIDCard: Indonesia Identity Card.
|
|
2442
|
+
4. PhilippinesVoteID: Philippines Voter's ID.
|
|
2443
|
+
5. PhilippinesDrivingLicense: Philippines Driving License.
|
|
2444
|
+
6. PhilippinesTinID: Philippines TIN ID.
|
|
2445
|
+
7. PhilippinesSSSID: Philippines SSS ID.
|
|
2446
|
+
8. PhilippinesUMID: Philippines UMID.
|
|
2447
|
+
9. MLIDPassport: Passports of Hong Kong (China), Macao (China), and Taiwan (China), as well as overseas regions.
|
|
2448
|
+
10. ThailandIDCard: Thailand Identity Card.
|
|
2449
|
+
11. MainlandIDCard: Chinese Mainland Identity Card.
|
|
2450
|
+
12. SingaporeIDCard: Singapore Identity Card.
|
|
2451
|
+
13. HMTPermit: Travel Permit for Hong Kong (China), Macao (China), and Taiwan (China).
|
|
2445
2452
|
* @type {string || null}
|
|
2446
2453
|
*/
|
|
2447
2454
|
this.IdCardType = null;
|
|
@@ -2573,6 +2580,13 @@ false : Expired HKID is rejected and cannot enter the liveness process.
|
|
|
2573
2580
|
*/
|
|
2574
2581
|
this.AllowUploadPhoto = null;
|
|
2575
2582
|
|
|
2583
|
+
/**
|
|
2584
|
+
* <p>Whether to enable Bank of Thailand-specific background detection.<br>This parameter requires whitelist activation; please contact us to request access before it can take effect.</p><p>Default value: false</p>
|
|
2585
|
+
|
|
2586
|
+
* @type {boolean || null}
|
|
2587
|
+
*/
|
|
2588
|
+
this.EnableBotBgDetection = null;
|
|
2589
|
+
|
|
2576
2590
|
}
|
|
2577
2591
|
|
|
2578
2592
|
/**
|
|
@@ -2603,6 +2617,7 @@ false : Expired HKID is rejected and cannot enter the liveness process.
|
|
|
2603
2617
|
this.SkipOcrConfirmPage = 'SkipOcrConfirmPage' in params ? params.SkipOcrConfirmPage : null;
|
|
2604
2618
|
this.HideProgressBar = 'HideProgressBar' in params ? params.HideProgressBar : null;
|
|
2605
2619
|
this.AllowUploadPhoto = 'AllowUploadPhoto' in params ? params.AllowUploadPhoto : null;
|
|
2620
|
+
this.EnableBotBgDetection = 'EnableBotBgDetection' in params ? params.EnableBotBgDetection : null;
|
|
2606
2621
|
|
|
2607
2622
|
}
|
|
2608
2623
|
}
|
|
@@ -3410,6 +3425,13 @@ Please contact us to access enhance version & plus version.
|
|
|
3410
3425
|
*/
|
|
3411
3426
|
this.RetryLimit = null;
|
|
3412
3427
|
|
|
3428
|
+
/**
|
|
3429
|
+
* <p>Whether to enable Bank of Thailand-specific background detection.<br>This parameter requires whitelist activation; please contact us to request access before it can take effect.</p><p>Default value: false</p>
|
|
3430
|
+
|
|
3431
|
+
* @type {boolean || null}
|
|
3432
|
+
*/
|
|
3433
|
+
this.EnableBotBgDetection = null;
|
|
3434
|
+
|
|
3413
3435
|
}
|
|
3414
3436
|
|
|
3415
3437
|
/**
|
|
@@ -3426,6 +3448,7 @@ Please contact us to access enhance version & plus version.
|
|
|
3426
3448
|
this.ActionList = 'ActionList' in params ? params.ActionList : null;
|
|
3427
3449
|
this.SdkVersion = 'SdkVersion' in params ? params.SdkVersion : null;
|
|
3428
3450
|
this.RetryLimit = 'RetryLimit' in params ? params.RetryLimit : null;
|
|
3451
|
+
this.EnableBotBgDetection = 'EnableBotBgDetection' in params ? params.EnableBotBgDetection : null;
|
|
3429
3452
|
|
|
3430
3453
|
}
|
|
3431
3454
|
}
|
|
@@ -2718,6 +2718,41 @@ class DismissRoomResponse extends AbstractModel {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
2720
|
|
|
2721
|
+
/**
|
|
2722
|
+
* AI conversation context information
|
|
2723
|
+
* @class
|
|
2724
|
+
*/
|
|
2725
|
+
class MessageInfo extends AbstractModel {
|
|
2726
|
+
constructor(){
|
|
2727
|
+
super();
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Roles: user/assistant
|
|
2731
|
+
* @type {string || null}
|
|
2732
|
+
*/
|
|
2733
|
+
this.Role = null;
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* Contextual information
|
|
2737
|
+
* @type {string || null}
|
|
2738
|
+
*/
|
|
2739
|
+
this.Content = null;
|
|
2740
|
+
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
/**
|
|
2744
|
+
* @private
|
|
2745
|
+
*/
|
|
2746
|
+
deserialize(params) {
|
|
2747
|
+
if (!params) {
|
|
2748
|
+
return;
|
|
2749
|
+
}
|
|
2750
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
2751
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
2752
|
+
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2721
2756
|
/**
|
|
2722
2757
|
* The cloud storage information.
|
|
2723
2758
|
* @class
|
|
@@ -2949,6 +2984,56 @@ class CreateCloudRecordingResponse extends AbstractModel {
|
|
|
2949
2984
|
}
|
|
2950
2985
|
}
|
|
2951
2986
|
|
|
2987
|
+
/**
|
|
2988
|
+
* QueryAIMessageList response structure.
|
|
2989
|
+
* @class
|
|
2990
|
+
*/
|
|
2991
|
+
class QueryAIMessageListResponse extends AbstractModel {
|
|
2992
|
+
constructor(){
|
|
2993
|
+
super();
|
|
2994
|
+
|
|
2995
|
+
/**
|
|
2996
|
+
* Total number of AI conversation context messages.
|
|
2997
|
+
* @type {number || null}
|
|
2998
|
+
*/
|
|
2999
|
+
this.Total = null;
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* List of AI conversation context information.
|
|
3003
|
+
* @type {Array.<MessageInfo> || null}
|
|
3004
|
+
*/
|
|
3005
|
+
this.MessageList = null;
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3009
|
+
* @type {string || null}
|
|
3010
|
+
*/
|
|
3011
|
+
this.RequestId = null;
|
|
3012
|
+
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* @private
|
|
3017
|
+
*/
|
|
3018
|
+
deserialize(params) {
|
|
3019
|
+
if (!params) {
|
|
3020
|
+
return;
|
|
3021
|
+
}
|
|
3022
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
3023
|
+
|
|
3024
|
+
if (params.MessageList) {
|
|
3025
|
+
this.MessageList = new Array();
|
|
3026
|
+
for (let z in params.MessageList) {
|
|
3027
|
+
let obj = new MessageInfo();
|
|
3028
|
+
obj.deserialize(params.MessageList[z]);
|
|
3029
|
+
this.MessageList.push(obj);
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3033
|
+
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
|
|
2952
3037
|
/**
|
|
2953
3038
|
* DescribeWebRecord request structure.
|
|
2954
3039
|
* @class
|
|
@@ -9395,6 +9480,41 @@ class TermPair extends AbstractModel {
|
|
|
9395
9480
|
}
|
|
9396
9481
|
}
|
|
9397
9482
|
|
|
9483
|
+
/**
|
|
9484
|
+
* QueryAIMessageList request structure.
|
|
9485
|
+
* @class
|
|
9486
|
+
*/
|
|
9487
|
+
class QueryAIMessageListRequest extends AbstractModel {
|
|
9488
|
+
constructor(){
|
|
9489
|
+
super();
|
|
9490
|
+
|
|
9491
|
+
/**
|
|
9492
|
+
* The TRTC SdkAppId.Example value: 1600000000
|
|
9493
|
+
* @type {number || null}
|
|
9494
|
+
*/
|
|
9495
|
+
this.SdkAppId = null;
|
|
9496
|
+
|
|
9497
|
+
/**
|
|
9498
|
+
* Uniquely identifies a single task.
|
|
9499
|
+
* @type {string || null}
|
|
9500
|
+
*/
|
|
9501
|
+
this.TaskId = null;
|
|
9502
|
+
|
|
9503
|
+
}
|
|
9504
|
+
|
|
9505
|
+
/**
|
|
9506
|
+
* @private
|
|
9507
|
+
*/
|
|
9508
|
+
deserialize(params) {
|
|
9509
|
+
if (!params) {
|
|
9510
|
+
return;
|
|
9511
|
+
}
|
|
9512
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
9513
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
9514
|
+
|
|
9515
|
+
}
|
|
9516
|
+
}
|
|
9517
|
+
|
|
9398
9518
|
/**
|
|
9399
9519
|
* Convert speech to text parameter.
|
|
9400
9520
|
* @class
|
|
@@ -11064,11 +11184,13 @@ module.exports = {
|
|
|
11064
11184
|
DeleteCloudModerationResponse: DeleteCloudModerationResponse,
|
|
11065
11185
|
DescribeRelayUsageRequest: DescribeRelayUsageRequest,
|
|
11066
11186
|
DismissRoomResponse: DismissRoomResponse,
|
|
11187
|
+
MessageInfo: MessageInfo,
|
|
11067
11188
|
CloudStorage: CloudStorage,
|
|
11068
11189
|
VoicePrint: VoicePrint,
|
|
11069
11190
|
DescribeTrtcUsageResponse: DescribeTrtcUsageResponse,
|
|
11070
11191
|
TimeValue: TimeValue,
|
|
11071
11192
|
CreateCloudRecordingResponse: CreateCloudRecordingResponse,
|
|
11193
|
+
QueryAIMessageListResponse: QueryAIMessageListResponse,
|
|
11072
11194
|
DescribeWebRecordRequest: DescribeWebRecordRequest,
|
|
11073
11195
|
DescribeTRTCRealTimeScaleDataResponse: DescribeTRTCRealTimeScaleDataResponse,
|
|
11074
11196
|
DescribeRoomInfoRequest: DescribeRoomInfoRequest,
|
|
@@ -11190,6 +11312,7 @@ module.exports = {
|
|
|
11190
11312
|
TextToSpeechSSERequest: TextToSpeechSSERequest,
|
|
11191
11313
|
StopWebRecordResponse: StopWebRecordResponse,
|
|
11192
11314
|
TermPair: TermPair,
|
|
11315
|
+
QueryAIMessageListRequest: QueryAIMessageListRequest,
|
|
11193
11316
|
STTConfig: STTConfig,
|
|
11194
11317
|
StopWebRecordRequest: StopWebRecordRequest,
|
|
11195
11318
|
McuSeiParams: McuSeiParams,
|
|
@@ -64,11 +64,13 @@ const DescribeUserInfoRequest = models.DescribeUserInfoRequest;
|
|
|
64
64
|
const DeleteCloudModerationResponse = models.DeleteCloudModerationResponse;
|
|
65
65
|
const DescribeRelayUsageRequest = models.DescribeRelayUsageRequest;
|
|
66
66
|
const DismissRoomResponse = models.DismissRoomResponse;
|
|
67
|
+
const MessageInfo = models.MessageInfo;
|
|
67
68
|
const CloudStorage = models.CloudStorage;
|
|
68
69
|
const VoicePrint = models.VoicePrint;
|
|
69
70
|
const DescribeTrtcUsageResponse = models.DescribeTrtcUsageResponse;
|
|
70
71
|
const TimeValue = models.TimeValue;
|
|
71
72
|
const CreateCloudRecordingResponse = models.CreateCloudRecordingResponse;
|
|
73
|
+
const QueryAIMessageListResponse = models.QueryAIMessageListResponse;
|
|
72
74
|
const DescribeWebRecordRequest = models.DescribeWebRecordRequest;
|
|
73
75
|
const DescribeTRTCRealTimeScaleDataResponse = models.DescribeTRTCRealTimeScaleDataResponse;
|
|
74
76
|
const DescribeRoomInfoRequest = models.DescribeRoomInfoRequest;
|
|
@@ -190,6 +192,7 @@ const UpdateStreamIngestRequest = models.UpdateStreamIngestRequest;
|
|
|
190
192
|
const TextToSpeechSSERequest = models.TextToSpeechSSERequest;
|
|
191
193
|
const StopWebRecordResponse = models.StopWebRecordResponse;
|
|
192
194
|
const TermPair = models.TermPair;
|
|
195
|
+
const QueryAIMessageListRequest = models.QueryAIMessageListRequest;
|
|
193
196
|
const STTConfig = models.STTConfig;
|
|
194
197
|
const StopWebRecordRequest = models.StopWebRecordRequest;
|
|
195
198
|
const McuSeiParams = models.McuSeiParams;
|
|
@@ -576,6 +579,17 @@ Note:
|
|
|
576
579
|
this.request("ModifyCloudModeration", req, resp, cb);
|
|
577
580
|
}
|
|
578
581
|
|
|
582
|
+
/**
|
|
583
|
+
* input a task ID to query the list of AI conversation context information.
|
|
584
|
+
* @param {QueryAIMessageListRequest} req
|
|
585
|
+
* @param {function(string, QueryAIMessageListResponse):void} cb
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
QueryAIMessageList(req, cb) {
|
|
589
|
+
let resp = new QueryAIMessageListResponse();
|
|
590
|
+
this.request("QueryAIMessageList", req, resp, cb);
|
|
591
|
+
}
|
|
592
|
+
|
|
579
593
|
/**
|
|
580
594
|
* This API is used to query the status of the slicing task after it is started, which is valid only when the task is in progress. An error will be returned if the task is exited.
|
|
581
595
|
* @param {DescribeCloudSliceTaskRequest} req
|