tencentcloud-sdk-nodejs-intl-en 3.0.1424 → 3.0.1426
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 +1 -1
- package/tencentcloud/cls/v20201016/models.js +2 -2
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/models.js +14 -0
- package/tencentcloud/ocr/v20181119/models.js +8 -1
- package/tencentcloud/sms/v20210111/models.js +1 -1
- package/tencentcloud/sms/v20210111/sms_client.js +2 -4
- package/tencentcloud/teo/v20220901/models.js +117 -3
- package/tencentcloud/teo/v20220901/teo_client.js +24 -7
- package/tencentcloud/trtc/v20190722/models.js +123 -0
- package/tencentcloud/trtc/v20190722/trtc_client.js +14 -0
package/package.json
CHANGED
|
@@ -17150,7 +17150,7 @@ class DescribeDashboardsRequest extends AbstractModel {
|
|
|
17150
17150
|
-dashboardName: Filter by fuzzy search as dashboard name. Type: String. Required: No.
|
|
17151
17151
|
-Example value: Business dashboard
|
|
17152
17152
|
-dashboardRegion filter by dashboard region (compatible with legacy dashboards). This property for dashboards created via cloud API, type: String, required: No.
|
|
17153
|
-
-See [Regions and Availability Zones](https://www.tencentcloud.com/document/product/614/18940
|
|
17153
|
+
-See [Regions and Availability Zones](https://www.tencentcloud.com/document/product/614/18940)
|
|
17154
17154
|
-Example: ap-guangzhou
|
|
17155
17155
|
- tagKey - String - Required: No - Filter by the tag key.
|
|
17156
17156
|
-Example value:
|
|
@@ -17166,7 +17166,7 @@ class DescribeDashboardsRequest extends AbstractModel {
|
|
|
17166
17166
|
```
|
|
17167
17167
|
|
|
17168
17168
|
-tag:tagKey Filter by [tag key-value pair]. Replace tagKey with a specific tag key. Type: String. Required: No.
|
|
17169
|
-
-Refer to
|
|
17169
|
+
-Refer to Example 1 for usage.
|
|
17170
17170
|
```
|
|
17171
17171
|
"Filters": [
|
|
17172
17172
|
{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1426";
|
|
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
|
}
|
|
@@ -6032,7 +6032,7 @@ class PODAuditAIResponse extends AbstractModel {
|
|
|
6032
6032
|
this.AuditorDecision = null;
|
|
6033
6033
|
|
|
6034
6034
|
/**
|
|
6035
|
-
* <p>
|
|
6035
|
+
* <p>Non-compliance reason code. If there are multiple, return a list of multiple codes</p><p>Enumeration values:</p><ul><li>-2: Not supported currently or internal logic error</li><li>100: Delivered to the wrong address</li><li>104: No shipping label</li><li>105: Shipping label number not the same as the system</li><li>200: Package delivery location unclear</li><li>202: Acknowledgment contains personal privacy</li></ul>
|
|
6036
6036
|
* @type {Array.<string> || null}
|
|
6037
6037
|
*/
|
|
6038
6038
|
this.FailCode = null;
|
|
@@ -6814,6 +6814,12 @@ class PODAuditAIRequest extends AbstractModel {
|
|
|
6814
6814
|
*/
|
|
6815
6815
|
this.SignType = null;
|
|
6816
6816
|
|
|
6817
|
+
/**
|
|
6818
|
+
* <p>Shipping address of the waybill in the business system</p>
|
|
6819
|
+
* @type {string || null}
|
|
6820
|
+
*/
|
|
6821
|
+
this.ShipToAddress = null;
|
|
6822
|
+
|
|
6817
6823
|
}
|
|
6818
6824
|
|
|
6819
6825
|
/**
|
|
@@ -6827,6 +6833,7 @@ class PODAuditAIRequest extends AbstractModel {
|
|
|
6827
6833
|
this.ImageUrlList = 'ImageUrlList' in params ? params.ImageUrlList : null;
|
|
6828
6834
|
this.WaybillNumber = 'WaybillNumber' in params ? params.WaybillNumber : null;
|
|
6829
6835
|
this.SignType = 'SignType' in params ? params.SignType : null;
|
|
6836
|
+
this.ShipToAddress = 'ShipToAddress' in params ? params.ShipToAddress : null;
|
|
6830
6837
|
|
|
6831
6838
|
}
|
|
6832
6839
|
}
|
|
@@ -1908,7 +1908,7 @@ class PhoneNumberInfo extends AbstractModel {
|
|
|
1908
1908
|
this.IsoCode = null;
|
|
1909
1909
|
|
|
1910
1910
|
/**
|
|
1911
|
-
* Country code or region name such as China. For more information, see [Global SMS Price Overview](https://
|
|
1911
|
+
* Country code or region name such as China. For more information, see [Global SMS Price Overview](https://www.tencentcloud.com/document/product/382/8414?pg=#3c47bbea-5699-48a6-83d3-6b97cf2a23bc)
|
|
1912
1912
|
* @type {string || null}
|
|
1913
1913
|
*/
|
|
1914
1914
|
this.IsoName = null;
|
|
@@ -123,11 +123,10 @@ class SmsClient extends AbstractClient {
|
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* This API is used to pull SMS delivery status.
|
|
126
|
-
Currently, you can also [configure the callback](https://
|
|
126
|
+
Currently, you can also [configure the callback](https://www.tencentcloud.com/document/product/382/35469#38206134-503f-4344-b118-cfc7a72c4a9b) to get the delivery status.
|
|
127
127
|
>- Note: you need to contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) to activate this API.
|
|
128
128
|
>- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
129
129
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
130
|
-
|
|
131
130
|
* @param {PullSmsSendStatusRequest} req
|
|
132
131
|
* @param {function(string, PullSmsSendStatusResponse):void} cb
|
|
133
132
|
* @public
|
|
@@ -232,10 +231,9 @@ Note: individual users cannot use this API to query SMS signatures. For more inf
|
|
|
232
231
|
|
|
233
232
|
/**
|
|
234
233
|
* This API is used to pull SMS delivery status for one single number.
|
|
235
|
-
Currently, you can also [configure the callback](https://
|
|
234
|
+
Currently, you can also [configure the callback](https://www.tencentcloud.com/document/product/382/35469#38206134-503f-4344-b118-cfc7a72c4a9b) to get the delivery status.
|
|
236
235
|
>- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
237
236
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) to eliminate the need to calculate signatures. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
238
|
-
|
|
239
237
|
* @param {PullSmsSendStatusByPhoneNumberRequest} req
|
|
240
238
|
* @param {function(string, PullSmsSendStatusByPhoneNumberResponse):void} cb
|
|
241
239
|
* @public
|
|
@@ -481,6 +481,41 @@ class ModifySecurityJSInjectionRuleRequest extends AbstractModel {
|
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
+
/**
|
|
485
|
+
* CreateLogAnalysisDownloadTask response structure.
|
|
486
|
+
* @class
|
|
487
|
+
*/
|
|
488
|
+
class CreateLogAnalysisDownloadTaskResponse extends AbstractModel {
|
|
489
|
+
constructor(){
|
|
490
|
+
super();
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* <p>Log analysis download task ID.</p>
|
|
494
|
+
* @type {string || null}
|
|
495
|
+
*/
|
|
496
|
+
this.TaskId = null;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* 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.
|
|
500
|
+
* @type {string || null}
|
|
501
|
+
*/
|
|
502
|
+
this.RequestId = null;
|
|
503
|
+
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @private
|
|
508
|
+
*/
|
|
509
|
+
deserialize(params) {
|
|
510
|
+
if (!params) {
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
514
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
515
|
+
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
484
519
|
/**
|
|
485
520
|
* DescribeSecurityIPGroupInfo response structure.
|
|
486
521
|
* @class
|
|
@@ -22960,7 +22995,7 @@ class ImportZoneConfigResponse extends AbstractModel {
|
|
|
22960
22995
|
super();
|
|
22961
22996
|
|
|
22962
22997
|
/**
|
|
22963
|
-
*
|
|
22998
|
+
* <p>Task Id of this import configuration. Use the site configuration import result query API (DescribeZoneConfigImportResult) to get the execution result of this import job. Note: The import task Id only supports querying the most recent 7 days of import tasks.</p>
|
|
22964
22999
|
* @type {string || null}
|
|
22965
23000
|
*/
|
|
22966
23001
|
this.TaskId = null;
|
|
@@ -30816,6 +30851,83 @@ class ExceptUserRuleScope extends AbstractModel {
|
|
|
30816
30851
|
}
|
|
30817
30852
|
}
|
|
30818
30853
|
|
|
30854
|
+
/**
|
|
30855
|
+
* CreateLogAnalysisDownloadTask request structure.
|
|
30856
|
+
* @class
|
|
30857
|
+
*/
|
|
30858
|
+
class CreateLogAnalysisDownloadTaskRequest extends AbstractModel {
|
|
30859
|
+
constructor(){
|
|
30860
|
+
super();
|
|
30861
|
+
|
|
30862
|
+
/**
|
|
30863
|
+
* <p>Site ID.</p>
|
|
30864
|
+
* @type {string || null}
|
|
30865
|
+
*/
|
|
30866
|
+
this.ZoneId = null;
|
|
30867
|
+
|
|
30868
|
+
/**
|
|
30869
|
+
* <p>Data service area. Available values:<ul><li>mainland: within the Chinese mainland;</li><li>overseas: global (excluding Mainland China).</li></ul>Note: If the service area of the site is "global availability zone", you need to query the data of mainland and overseas separately to obtain all data.</p>
|
|
30870
|
+
* @type {string || null}
|
|
30871
|
+
*/
|
|
30872
|
+
this.Area = null;
|
|
30873
|
+
|
|
30874
|
+
/**
|
|
30875
|
+
* <p>Start time, example value: 2020-04-29T00:00:00Z. The maximum span from the supported query start time to this day varies for different package versions. For details, see <a href="https://www.tencentcloud.com/document/product/1552/94165?from_cn_redirect=1#45435466-9103-4ff6-be22-e31717044fb2">Package Selection Comparison</a>.</p>
|
|
30876
|
+
* @type {string || null}
|
|
30877
|
+
*/
|
|
30878
|
+
this.StartTime = null;
|
|
30879
|
+
|
|
30880
|
+
/**
|
|
30881
|
+
* <p>End time, for example, 2020-04-30T00:00:00Z. The time span from the start time to the end time per request is up to 31 days.</p>
|
|
30882
|
+
* @type {string || null}
|
|
30883
|
+
*/
|
|
30884
|
+
this.EndTime = null;
|
|
30885
|
+
|
|
30886
|
+
/**
|
|
30887
|
+
* <p>Log type. Value range: <ul><li> l7-access-logs: Layer 7 Access Logs;</li><li>web-attack: managed rule log.</li></ul>Defaults to l7-access-logs.</p>
|
|
30888
|
+
* @type {string || null}
|
|
30889
|
+
*/
|
|
30890
|
+
this.LogType = null;
|
|
30891
|
+
|
|
30892
|
+
/**
|
|
30893
|
+
* <p><a href="https://www.tencentcloud.com/document/product/1552/124662?from_cn_redirect=1">Log match condition</a>. Maximum length 12KB.</p>
|
|
30894
|
+
* @type {string || null}
|
|
30895
|
+
*/
|
|
30896
|
+
this.Condition = null;
|
|
30897
|
+
|
|
30898
|
+
/**
|
|
30899
|
+
* <p>File format, available values: <ul><li>csv</li></ul>Defaults to csv.</p>
|
|
30900
|
+
* @type {string || null}
|
|
30901
|
+
*/
|
|
30902
|
+
this.Format = null;
|
|
30903
|
+
|
|
30904
|
+
/**
|
|
30905
|
+
* <p>Time sorting of raw logs. Available values: <ul><li>asc: ascending order;</li> <li>desc: descending order.</li></ul> Default is desc.</p>
|
|
30906
|
+
* @type {string || null}
|
|
30907
|
+
*/
|
|
30908
|
+
this.Sort = null;
|
|
30909
|
+
|
|
30910
|
+
}
|
|
30911
|
+
|
|
30912
|
+
/**
|
|
30913
|
+
* @private
|
|
30914
|
+
*/
|
|
30915
|
+
deserialize(params) {
|
|
30916
|
+
if (!params) {
|
|
30917
|
+
return;
|
|
30918
|
+
}
|
|
30919
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
30920
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
30921
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
30922
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
30923
|
+
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
30924
|
+
this.Condition = 'Condition' in params ? params.Condition : null;
|
|
30925
|
+
this.Format = 'Format' in params ? params.Format : null;
|
|
30926
|
+
this.Sort = 'Sort' in params ? params.Sort : null;
|
|
30927
|
+
|
|
30928
|
+
}
|
|
30929
|
+
}
|
|
30930
|
+
|
|
30819
30931
|
/**
|
|
30820
30932
|
* Module settings of the exception rule
|
|
30821
30933
|
* @class
|
|
@@ -35849,13 +35961,13 @@ class ImportZoneConfigRequest extends AbstractModel {
|
|
|
35849
35961
|
super();
|
|
35850
35962
|
|
|
35851
35963
|
/**
|
|
35852
|
-
*
|
|
35964
|
+
* <p>Site ID.</p>
|
|
35853
35965
|
* @type {string || null}
|
|
35854
35966
|
*/
|
|
35855
35967
|
this.ZoneId = null;
|
|
35856
35968
|
|
|
35857
35969
|
/**
|
|
35858
|
-
*
|
|
35970
|
+
* <p>Configuration content to be imported. Use JSON format and encode by UTF-8. You can obtain the configuration content through the site configuration export interface (ExportZoneConfig). You can individually import "Site Acceleration - Global Acceleration Configuration" or "Site Acceleration - Rule Engine". Just pass in the corresponding fields. For specific details, see the example below.<br>Note: AccelerationDomain (acceleration domain name configuration) and Origin (origin configuration) exported by ExportZoneConfig are temporary not supported for import through this interface. If the Content contains the above configuration content, it will cause import failure.</p>
|
|
35859
35971
|
* @type {string || null}
|
|
35860
35972
|
*/
|
|
35861
35973
|
this.Content = null;
|
|
@@ -44111,6 +44223,7 @@ module.exports = {
|
|
|
44111
44223
|
DeleteL4ProxyRulesRequest: DeleteL4ProxyRulesRequest,
|
|
44112
44224
|
DescribeOriginGroupResponse: DescribeOriginGroupResponse,
|
|
44113
44225
|
ModifySecurityJSInjectionRuleRequest: ModifySecurityJSInjectionRuleRequest,
|
|
44226
|
+
CreateLogAnalysisDownloadTaskResponse: CreateLogAnalysisDownloadTaskResponse,
|
|
44114
44227
|
DescribeSecurityIPGroupInfoResponse: DescribeSecurityIPGroupInfoResponse,
|
|
44115
44228
|
AdaptiveFrequencyControl: AdaptiveFrequencyControl,
|
|
44116
44229
|
RenewFlag: RenewFlag,
|
|
@@ -44678,6 +44791,7 @@ module.exports = {
|
|
|
44678
44791
|
DropPageConfig: DropPageConfig,
|
|
44679
44792
|
DescribeSecurityIPGroupInfoRequest: DescribeSecurityIPGroupInfoRequest,
|
|
44680
44793
|
ExceptUserRuleScope: ExceptUserRuleScope,
|
|
44794
|
+
CreateLogAnalysisDownloadTaskRequest: CreateLogAnalysisDownloadTaskRequest,
|
|
44681
44795
|
PartialModule: PartialModule,
|
|
44682
44796
|
DescribeZoneConfigImportResultRequest: DescribeZoneConfigImportResultRequest,
|
|
44683
44797
|
ModifyApplicationProxyRuleStatusRequest: ModifyApplicationProxyRuleStatusRequest,
|
|
@@ -26,6 +26,7 @@ const RequestFieldsForException = models.RequestFieldsForException;
|
|
|
26
26
|
const DeleteL4ProxyRulesRequest = models.DeleteL4ProxyRulesRequest;
|
|
27
27
|
const DescribeOriginGroupResponse = models.DescribeOriginGroupResponse;
|
|
28
28
|
const ModifySecurityJSInjectionRuleRequest = models.ModifySecurityJSInjectionRuleRequest;
|
|
29
|
+
const CreateLogAnalysisDownloadTaskResponse = models.CreateLogAnalysisDownloadTaskResponse;
|
|
29
30
|
const DescribeSecurityIPGroupInfoResponse = models.DescribeSecurityIPGroupInfoResponse;
|
|
30
31
|
const AdaptiveFrequencyControl = models.AdaptiveFrequencyControl;
|
|
31
32
|
const RenewFlag = models.RenewFlag;
|
|
@@ -593,6 +594,7 @@ const DescribeSecurityJSInjectionRuleRequest = models.DescribeSecurityJSInjectio
|
|
|
593
594
|
const DropPageConfig = models.DropPageConfig;
|
|
594
595
|
const DescribeSecurityIPGroupInfoRequest = models.DescribeSecurityIPGroupInfoRequest;
|
|
595
596
|
const ExceptUserRuleScope = models.ExceptUserRuleScope;
|
|
597
|
+
const CreateLogAnalysisDownloadTaskRequest = models.CreateLogAnalysisDownloadTaskRequest;
|
|
596
598
|
const PartialModule = models.PartialModule;
|
|
597
599
|
const DescribeZoneConfigImportResultRequest = models.DescribeZoneConfigImportResultRequest;
|
|
598
600
|
const ModifyApplicationProxyRuleStatusRequest = models.ModifyApplicationProxyRuleStatusRequest;
|
|
@@ -1917,6 +1919,17 @@ This API is used to return post-protection traffic request data by default. User
|
|
|
1917
1919
|
this.request("DescribeTopL7AnalysisData", req, resp, cb);
|
|
1918
1920
|
}
|
|
1919
1921
|
|
|
1922
|
+
/**
|
|
1923
|
+
* This API is used to query API services under a site.
|
|
1924
|
+
* @param {DescribeSecurityAPIServiceRequest} req
|
|
1925
|
+
* @param {function(string, DescribeSecurityAPIServiceResponse):void} cb
|
|
1926
|
+
* @public
|
|
1927
|
+
*/
|
|
1928
|
+
DescribeSecurityAPIService(req, cb) {
|
|
1929
|
+
let resp = new DescribeSecurityAPIServiceResponse();
|
|
1930
|
+
this.request("DescribeSecurityAPIService", req, resp, cb);
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1920
1933
|
/**
|
|
1921
1934
|
* You can use this API to batch delete DNS records.
|
|
1922
1935
|
* @param {DeleteDnsRecordsRequest} req
|
|
@@ -3195,18 +3208,22 @@ This API is used to query the configuration information of an IP group, includin
|
|
|
3195
3208
|
}
|
|
3196
3209
|
|
|
3197
3210
|
/**
|
|
3198
|
-
* This API is used to query
|
|
3199
|
-
|
|
3200
|
-
|
|
3211
|
+
* This API is used to create a log analysis download task. After creation, you can query the download task via the DescribeLogAnalysisDownloadTasks API.
|
|
3212
|
+
Note:
|
|
3213
|
+
1. Supports up to 50 million log entries per download.
|
|
3214
|
+
2. Log files are reserved for 3 days.
|
|
3215
|
+
3. When multiple tasks exist at the same time, they are processed sequentially based on task creation time.
|
|
3216
|
+
* @param {CreateLogAnalysisDownloadTaskRequest} req
|
|
3217
|
+
* @param {function(string, CreateLogAnalysisDownloadTaskResponse):void} cb
|
|
3201
3218
|
* @public
|
|
3202
3219
|
*/
|
|
3203
|
-
|
|
3204
|
-
let resp = new
|
|
3205
|
-
this.request("
|
|
3220
|
+
CreateLogAnalysisDownloadTask(req, cb) {
|
|
3221
|
+
let resp = new CreateLogAnalysisDownloadTaskResponse();
|
|
3222
|
+
this.request("CreateLogAnalysisDownloadTask", req, resp, cb);
|
|
3206
3223
|
}
|
|
3207
3224
|
|
|
3208
3225
|
/**
|
|
3209
|
-
* This API is used to quickly import site configuration files. After the import is initiated, the API will return the corresponding task ID
|
|
3226
|
+
* This API is used to quickly import site configuration files. After the import is initiated, the API will return the corresponding task ID. Users need to use the site configuration import result query API to obtain the execution result of this import task.
|
|
3210
3227
|
* @param {ImportZoneConfigRequest} req
|
|
3211
3228
|
* @param {function(string, ImportZoneConfigResponse):void} cb
|
|
3212
3229
|
* @public
|
|
@@ -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
|