tencentcloud-sdk-nodejs 4.0.912 → 4.0.914
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 +330 -0
- package/SERVICE_CHANGELOG.md +343 -169
- package/examples/hunyuan/v20230901/{chat_std.js → chat_completions.js} +5 -3
- package/examples/hunyuan/v20230901/{chat_std.ts → chat_completions.ts} +5 -3
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +5 -0
- package/src/services/as/v20180419/as_models.ts +38 -20
- package/src/services/cls/v20201016/cls_client.ts +61 -11
- package/src/services/cls/v20201016/cls_models.ts +312 -145
- package/src/services/dlc/v20210125/dlc_models.ts +8 -0
- package/src/services/es/v20180416/es_models.ts +13 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -4
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +15 -0
- package/src/services/organization/v20210331/organization_client.ts +51 -13
- package/src/services/organization/v20210331/organization_models.ts +204 -39
- package/src/services/pts/v20210728/pts_models.ts +9 -9
- package/src/services/sms/v20210111/sms_models.ts +1 -2
- package/src/services/ssl/v20191205/ssl_models.ts +36 -26
- package/src/services/tcbr/v20220217/tcbr_models.ts +7 -0
- package/src/services/tcss/v20201101/tcss_models.ts +99 -52
- package/src/services/trocket/v20230308/trocket_client.ts +16 -4
- package/src/services/trocket/v20230308/trocket_models.ts +94 -58
- package/src/services/trtc/v20190722/trtc_client.ts +4 -2
- package/src/services/trtc/v20190722/trtc_models.ts +62 -27
- package/src/services/wedata/v20210820/wedata_models.ts +6 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +5 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +38 -20
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +297 -140
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +8 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +13 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -4
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +15 -0
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +17 -5
- package/tencentcloud/services/organization/v20210331/organization_client.js +24 -6
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +196 -39
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +9 -9
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +1 -2
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +36 -26
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +7 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +99 -52
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +5 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +6 -0
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +91 -57
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +61 -26
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +6 -2
- package/test/cls.v20201016.test.js +42 -2
- package/test/organization.v20210331.test.js +34 -4
- package/test/trocket.v20230308.test.js +10 -0
|
@@ -641,6 +641,27 @@ export interface ImportSourceClusterConsumerGroupsRequest {
|
|
|
641
641
|
*/
|
|
642
642
|
GroupList: Array<SourceClusterGroupConfig>;
|
|
643
643
|
}
|
|
644
|
+
/**
|
|
645
|
+
* DescribeConsumerLag请求参数结构体
|
|
646
|
+
*/
|
|
647
|
+
export interface DescribeConsumerLagRequest {
|
|
648
|
+
/**
|
|
649
|
+
* 实例ID
|
|
650
|
+
*/
|
|
651
|
+
InstanceId: string;
|
|
652
|
+
/**
|
|
653
|
+
* 消费组名称
|
|
654
|
+
*/
|
|
655
|
+
ConsumerGroup?: string;
|
|
656
|
+
/**
|
|
657
|
+
* 命名空间,4.x集群必填
|
|
658
|
+
*/
|
|
659
|
+
Namespace?: string;
|
|
660
|
+
/**
|
|
661
|
+
* 订阅主题,不为空则查询订阅了该主题的消费组的堆积
|
|
662
|
+
*/
|
|
663
|
+
SubscribeTopic?: string;
|
|
664
|
+
}
|
|
644
665
|
/**
|
|
645
666
|
* 标签数据
|
|
646
667
|
*/
|
|
@@ -841,15 +862,6 @@ export interface CreateConsumerGroupRequest {
|
|
|
841
862
|
*/
|
|
842
863
|
Remark?: string;
|
|
843
864
|
}
|
|
844
|
-
/**
|
|
845
|
-
* ModifyMQTTTopic返回参数结构体
|
|
846
|
-
*/
|
|
847
|
-
export interface ModifyMQTTTopicResponse {
|
|
848
|
-
/**
|
|
849
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
850
|
-
*/
|
|
851
|
-
RequestId?: string;
|
|
852
|
-
}
|
|
853
865
|
/**
|
|
854
866
|
* 消息记录
|
|
855
867
|
*/
|
|
@@ -2104,6 +2116,19 @@ export interface ModifyTopicResponse {
|
|
|
2104
2116
|
*/
|
|
2105
2117
|
RequestId?: string;
|
|
2106
2118
|
}
|
|
2119
|
+
/**
|
|
2120
|
+
* DescribeConsumerLag返回参数结构体
|
|
2121
|
+
*/
|
|
2122
|
+
export interface DescribeConsumerLagResponse {
|
|
2123
|
+
/**
|
|
2124
|
+
* 堆积数
|
|
2125
|
+
*/
|
|
2126
|
+
ConsumerLag?: number;
|
|
2127
|
+
/**
|
|
2128
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2129
|
+
*/
|
|
2130
|
+
RequestId?: string;
|
|
2131
|
+
}
|
|
2107
2132
|
/**
|
|
2108
2133
|
* DescribeMQTTInsPublicEndpoints请求参数结构体
|
|
2109
2134
|
*/
|
|
@@ -2136,24 +2161,9 @@ export interface Filter {
|
|
|
2136
2161
|
Values: Array<string>;
|
|
2137
2162
|
}
|
|
2138
2163
|
/**
|
|
2139
|
-
*
|
|
2164
|
+
* ModifyMQTTTopic返回参数结构体
|
|
2140
2165
|
*/
|
|
2141
|
-
export interface
|
|
2142
|
-
/**
|
|
2143
|
-
* 集群id
|
|
2144
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2145
|
-
*/
|
|
2146
|
-
InstanceId?: string;
|
|
2147
|
-
/**
|
|
2148
|
-
* 服务端证书id
|
|
2149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2150
|
-
*/
|
|
2151
|
-
SSLServerCertId?: string;
|
|
2152
|
-
/**
|
|
2153
|
-
* CA证书id
|
|
2154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2155
|
-
*/
|
|
2156
|
-
SSLCaCertId?: string;
|
|
2166
|
+
export interface ModifyMQTTTopicResponse {
|
|
2157
2167
|
/**
|
|
2158
2168
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2159
2169
|
*/
|
|
@@ -2797,6 +2807,24 @@ export interface StatisticsReport {
|
|
|
2797
2807
|
*/
|
|
2798
2808
|
Items?: Array<PacketStatistics>;
|
|
2799
2809
|
}
|
|
2810
|
+
/**
|
|
2811
|
+
* IP规则
|
|
2812
|
+
*/
|
|
2813
|
+
export interface IpRule {
|
|
2814
|
+
/**
|
|
2815
|
+
* IP地址
|
|
2816
|
+
*/
|
|
2817
|
+
Ip: string;
|
|
2818
|
+
/**
|
|
2819
|
+
* 是否允许放行
|
|
2820
|
+
*/
|
|
2821
|
+
Allow: boolean;
|
|
2822
|
+
/**
|
|
2823
|
+
* 备注信息
|
|
2824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2825
|
+
*/
|
|
2826
|
+
Remark: string;
|
|
2827
|
+
}
|
|
2800
2828
|
/**
|
|
2801
2829
|
* 角色信息
|
|
2802
2830
|
*/
|
|
@@ -2939,37 +2967,28 @@ export interface DeleteTopicResponse {
|
|
|
2939
2967
|
RequestId?: string;
|
|
2940
2968
|
}
|
|
2941
2969
|
/**
|
|
2942
|
-
*
|
|
2970
|
+
* DescribeMQTTInstanceCert返回参数结构体
|
|
2943
2971
|
*/
|
|
2944
|
-
export interface
|
|
2945
|
-
/**
|
|
2946
|
-
* 实例ID
|
|
2947
|
-
*/
|
|
2948
|
-
InstanceId: string;
|
|
2949
|
-
/**
|
|
2950
|
-
* 主题
|
|
2951
|
-
*/
|
|
2952
|
-
Topic: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* 开始时间
|
|
2955
|
-
*/
|
|
2956
|
-
StartTime: number;
|
|
2972
|
+
export interface DescribeMQTTInstanceCertResponse {
|
|
2957
2973
|
/**
|
|
2958
|
-
*
|
|
2974
|
+
* 集群id
|
|
2975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2959
2976
|
*/
|
|
2960
|
-
|
|
2977
|
+
InstanceId?: string;
|
|
2961
2978
|
/**
|
|
2962
|
-
*
|
|
2979
|
+
* 服务端证书id
|
|
2980
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2963
2981
|
*/
|
|
2964
|
-
|
|
2982
|
+
SSLServerCertId?: string;
|
|
2965
2983
|
/**
|
|
2966
|
-
*
|
|
2984
|
+
* CA证书id
|
|
2985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2967
2986
|
*/
|
|
2968
|
-
|
|
2987
|
+
SSLCaCertId?: string;
|
|
2969
2988
|
/**
|
|
2970
|
-
*
|
|
2989
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2971
2990
|
*/
|
|
2972
|
-
|
|
2991
|
+
RequestId?: string;
|
|
2973
2992
|
}
|
|
2974
2993
|
/**
|
|
2975
2994
|
* DescribeMQTTTopic返回参数结构体
|
|
@@ -3020,20 +3039,35 @@ export interface DescribeProductSKUsResponse {
|
|
|
3020
3039
|
RequestId?: string;
|
|
3021
3040
|
}
|
|
3022
3041
|
/**
|
|
3023
|
-
*
|
|
3042
|
+
* DescribeMQTTMessageList请求参数结构体
|
|
3024
3043
|
*/
|
|
3025
|
-
export interface
|
|
3044
|
+
export interface DescribeMQTTMessageListRequest {
|
|
3026
3045
|
/**
|
|
3027
|
-
*
|
|
3046
|
+
* 实例ID
|
|
3028
3047
|
*/
|
|
3029
|
-
|
|
3048
|
+
InstanceId: string;
|
|
3030
3049
|
/**
|
|
3031
|
-
*
|
|
3050
|
+
* 主题
|
|
3032
3051
|
*/
|
|
3033
|
-
|
|
3052
|
+
Topic: string;
|
|
3034
3053
|
/**
|
|
3035
|
-
*
|
|
3036
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3054
|
+
* 开始时间
|
|
3037
3055
|
*/
|
|
3038
|
-
|
|
3056
|
+
StartTime: number;
|
|
3057
|
+
/**
|
|
3058
|
+
* 结束时间
|
|
3059
|
+
*/
|
|
3060
|
+
EndTime: number;
|
|
3061
|
+
/**
|
|
3062
|
+
* 请求任务id
|
|
3063
|
+
*/
|
|
3064
|
+
TaskRequestId: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* 查询起始位置
|
|
3067
|
+
*/
|
|
3068
|
+
Offset?: number;
|
|
3069
|
+
/**
|
|
3070
|
+
* 查询结果限制数量
|
|
3071
|
+
*/
|
|
3072
|
+
Limit?: number;
|
|
3039
3073
|
}
|
|
@@ -87,7 +87,9 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
87
87
|
*/
|
|
88
88
|
DescribeTRTCMarketScaleMetricData(req: DescribeTRTCMarketScaleMetricDataRequest, cb?: (error: string, rep: DescribeTRTCMarketScaleMetricDataResponse) => void): Promise<DescribeTRTCMarketScaleMetricDataResponse>;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
91
|
+
|
|
92
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
91
93
|
*/
|
|
92
94
|
StartAIConversation(req: StartAIConversationRequest, cb?: (error: string, rep: StartAIConversationResponse) => void): Promise<StartAIConversationResponse>;
|
|
93
95
|
/**
|
|
@@ -127,7 +127,9 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
127
127
|
return this.request("DescribeTRTCMarketScaleMetricData", req, cb);
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
131
|
+
|
|
132
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
131
133
|
*/
|
|
132
134
|
async StartAIConversation(req, cb) {
|
|
133
135
|
return this.request("StartAIConversation", req, cb);
|
|
@@ -18,10 +18,15 @@ export interface AgentConfig {
|
|
|
18
18
|
*/
|
|
19
19
|
TargetUserId: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* 房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。
|
|
22
22
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23
23
|
*/
|
|
24
24
|
MaxIdleTime?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 机器人的欢迎语
|
|
27
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28
|
+
*/
|
|
29
|
+
WelcomeMessage?: string;
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
27
32
|
* CreatePicture请求参数结构体
|
|
@@ -89,6 +94,10 @@ export interface ServerPushText {
|
|
|
89
94
|
* 是否允许该文本打断机器人说话
|
|
90
95
|
*/
|
|
91
96
|
Interrupt?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* 播报完文本后,是否自动关闭对话任务
|
|
99
|
+
*/
|
|
100
|
+
StopAfterPlay?: boolean;
|
|
92
101
|
}
|
|
93
102
|
/**
|
|
94
103
|
* DescribeTRTCMarketQualityMetricData返回参数结构体
|
|
@@ -262,7 +271,8 @@ export interface STTConfig {
|
|
|
262
271
|
*/
|
|
263
272
|
Language?: string;
|
|
264
273
|
/**
|
|
265
|
-
*
|
|
274
|
+
* 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
|
|
275
|
+
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
266
276
|
|
|
267
277
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
268
278
|
*/
|
|
@@ -1523,7 +1533,7 @@ export interface DescribeAIConversationResponse {
|
|
|
1523
1533
|
*/
|
|
1524
1534
|
Status?: string;
|
|
1525
1535
|
/**
|
|
1526
|
-
*
|
|
1536
|
+
* 任务的唯一标识,在启动任务时生成
|
|
1527
1537
|
*/
|
|
1528
1538
|
TaskId?: string;
|
|
1529
1539
|
/**
|
|
@@ -1865,6 +1875,21 @@ export interface StartStreamIngestRequest {
|
|
|
1865
1875
|
* 指定视频从某个秒时间戳播放
|
|
1866
1876
|
*/
|
|
1867
1877
|
SeekSecond?: number;
|
|
1878
|
+
/**
|
|
1879
|
+
* 开启自动旁路推流,请确认控制台已经开启该功能。
|
|
1880
|
+
*/
|
|
1881
|
+
AutoPush?: boolean;
|
|
1882
|
+
/**
|
|
1883
|
+
* 循环播放次数, 取值范围[-1, 1000], 默认1次。
|
|
1884
|
+
- 0 无效值
|
|
1885
|
+
- -1 循环播放, 需要主动调用停止接口或设置MaxDuration
|
|
1886
|
+
|
|
1887
|
+
*/
|
|
1888
|
+
RepeatNum?: number;
|
|
1889
|
+
/**
|
|
1890
|
+
* 循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。
|
|
1891
|
+
*/
|
|
1892
|
+
MaxDuration?: number;
|
|
1868
1893
|
}
|
|
1869
1894
|
/**
|
|
1870
1895
|
* DescribeRecordingUsage返回参数结构体
|
|
@@ -2503,34 +2528,42 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
|
|
|
2503
2528
|
*/
|
|
2504
2529
|
export interface RecognizeConfig {
|
|
2505
2530
|
/**
|
|
2506
|
-
*
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2531
|
+
* 语音转文字支持识别的语言,默认是"zh" 中文
|
|
2532
|
+
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2533
|
+
可通过购买「语音转文本时长包」解锁或领取包月套餐体验版解锁此功能。
|
|
2534
|
+
|
|
2535
|
+
语音转文本支持语言类型如下:
|
|
2536
|
+
- Chinese = "zh" # 中文
|
|
2537
|
+
- Chinese_TW = "zh-TW" # 中国台湾
|
|
2538
|
+
- English = "en" # 英语
|
|
2539
|
+
- Chinese_YUE = "zh-yue" # 中国粤语
|
|
2540
|
+
- Chinese_DIALECT = "zh-dialect" # 中国方言
|
|
2541
|
+
- English = "en" # 英语
|
|
2542
|
+
- Vietnamese = "vi" # 越南语
|
|
2543
|
+
- Japanese = "ja" # 日语
|
|
2544
|
+
- Korean = "ko" # 汉语
|
|
2545
|
+
- Indonesia = "id" # 印度尼西亚语
|
|
2546
|
+
- Thai = "th" # 泰语
|
|
2547
|
+
- Portuguese = "pt" # 葡萄牙语
|
|
2548
|
+
- Turkish = "tr" # 土耳其语
|
|
2549
|
+
- Arabic = "ar" # 阿拉伯语
|
|
2550
|
+
- Spanish = "es" # 西班牙语
|
|
2551
|
+
- Hindi = "hi" # 印地语
|
|
2552
|
+
- French = "fr" # 法语
|
|
2553
|
+
- Malay = "ms" # 马来语
|
|
2554
|
+
- Filipino = "fil" # 菲律宾语
|
|
2555
|
+
- German = "de" # 德语
|
|
2556
|
+
- Italian = "it" # 意大利语
|
|
2557
|
+
- Russian = "ru" # 俄语
|
|
2527
2558
|
|
|
2528
2559
|
注意:
|
|
2529
2560
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2561
|
+
示例值:zh
|
|
2530
2562
|
*/
|
|
2531
2563
|
Language?: string;
|
|
2532
2564
|
/**
|
|
2533
|
-
*
|
|
2565
|
+
* 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
|
|
2566
|
+
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
2534
2567
|
*/
|
|
2535
2568
|
AlternativeLanguage?: Array<string>;
|
|
2536
2569
|
/**
|
|
@@ -2540,6 +2573,7 @@ export interface RecognizeConfig {
|
|
|
2540
2573
|
Model?: string;
|
|
2541
2574
|
/**
|
|
2542
2575
|
* 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
|
|
2576
|
+
注:文本翻译功能需要购买「语音转文本时长包」解锁或领取包月套餐-体验版解。
|
|
2543
2577
|
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2544
2578
|
Chinese = "zh"
|
|
2545
2579
|
Chinese_TW = "zh-TW"
|
|
@@ -2563,6 +2597,7 @@ export interface RecognizeConfig {
|
|
|
2563
2597
|
|
|
2564
2598
|
注意:
|
|
2565
2599
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2600
|
+
示例值:en
|
|
2566
2601
|
*/
|
|
2567
2602
|
TranslationLanguage?: string;
|
|
2568
2603
|
}
|
|
@@ -2618,7 +2653,7 @@ export interface StartAIConversationRequest {
|
|
|
2618
2653
|
*/
|
|
2619
2654
|
AgentConfig: AgentConfig;
|
|
2620
2655
|
/**
|
|
2621
|
-
* 调用方传入的唯一Id
|
|
2656
|
+
* 调用方传入的唯一Id,可用于客户侧防止重复发起任务以及可以通过该字段查询任务状态。
|
|
2622
2657
|
*/
|
|
2623
2658
|
SessionId?: string;
|
|
2624
2659
|
/**
|
|
@@ -545,6 +545,10 @@ export interface CreateDataSourceRequest {
|
|
|
545
545
|
* 开发环境数据源配置
|
|
546
546
|
*/
|
|
547
547
|
DevelopmentParams?: string;
|
|
548
|
+
/**
|
|
549
|
+
* 新建数据源的项目ID
|
|
550
|
+
*/
|
|
551
|
+
ProjectId?: string;
|
|
548
552
|
}
|
|
549
553
|
/**
|
|
550
554
|
* 用户文件信息
|
|
@@ -5643,7 +5647,7 @@ export interface IntegrationTaskInfo {
|
|
|
5643
5647
|
*/
|
|
5644
5648
|
AppId?: string;
|
|
5645
5649
|
/**
|
|
5646
|
-
* 1:未开始|2:操作中|3:运行中|4:暂停|5:任务停止中|6:停止|7:执行失败|20:异常|21:未知|
|
|
5650
|
+
* 0:新建(任务开发态默认状态)|1:未开始|2:操作中|3:运行中|4:暂停|5:任务停止中|6:停止|7:执行失败|20:异常|21:未知|
|
|
5647
5651
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5648
5652
|
*/
|
|
5649
5653
|
Status?: number;
|
|
@@ -20674,7 +20678,7 @@ export interface DescribeIntegrationTasksRequest {
|
|
|
20674
20678
|
*/
|
|
20675
20679
|
PageSize: number;
|
|
20676
20680
|
/**
|
|
20677
|
-
* 查询filter
|
|
20681
|
+
* 查询filter;默认查询任务的开发态,如需查询生产态任务需添加{"Values":["true"],"Name":"ProductionState"};如需查询查询任务状态需要查询生产态任务列表
|
|
20678
20682
|
*/
|
|
20679
20683
|
Filters?: Array<Filter>;
|
|
20680
20684
|
/**
|
|
@@ -48,6 +48,16 @@ it("cls.v20201016.DescribeExports", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("cls.v20201016.GetAlarmLog", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.GetAlarmLog({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
51
61
|
it("cls.v20201016.CreateIndex", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.CreateIndex({})
|
|
@@ -538,9 +548,19 @@ it("cls.v20201016.DeleteMachineGroupInfo", async function () {
|
|
|
538
548
|
}
|
|
539
549
|
})
|
|
540
550
|
|
|
541
|
-
it("cls.v20201016.
|
|
551
|
+
it("cls.v20201016.DescribeConsoleSharingList", async function () {
|
|
542
552
|
try {
|
|
543
|
-
const data = await client.
|
|
553
|
+
const data = await client.DescribeConsoleSharingList({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
561
|
+
it("cls.v20201016.CreateConsoleSharing", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.CreateConsoleSharing({})
|
|
544
564
|
expect(data).to.be.ok
|
|
545
565
|
} catch(error) {
|
|
546
566
|
expect(error.requestId).to.be.ok
|
|
@@ -738,6 +758,16 @@ it("cls.v20201016.SplitPartition", async function () {
|
|
|
738
758
|
}
|
|
739
759
|
})
|
|
740
760
|
|
|
761
|
+
it("cls.v20201016.DeleteConsoleSharing", async function () {
|
|
762
|
+
try {
|
|
763
|
+
const data = await client.DeleteConsoleSharing({})
|
|
764
|
+
expect(data).to.be.ok
|
|
765
|
+
} catch(error) {
|
|
766
|
+
expect(error.requestId).to.be.ok
|
|
767
|
+
expect(error.code).to.be.ok
|
|
768
|
+
}
|
|
769
|
+
})
|
|
770
|
+
|
|
741
771
|
it("cls.v20201016.DescribeMachineGroups", async function () {
|
|
742
772
|
try {
|
|
743
773
|
const data = await client.DescribeMachineGroups({})
|
|
@@ -848,6 +878,16 @@ it("cls.v20201016.DescribeShippers", async function () {
|
|
|
848
878
|
}
|
|
849
879
|
})
|
|
850
880
|
|
|
881
|
+
it("cls.v20201016.ModifyConsoleSharing", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.ModifyConsoleSharing({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
851
891
|
it("cls.v20201016.DescribeDashboards", async function () {
|
|
852
892
|
try {
|
|
853
893
|
const data = await client.DescribeDashboards({})
|
|
@@ -228,6 +228,16 @@ it("organization.v20210331.DeleteAccount", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("organization.v20210331.ListOrgServiceAssignMember", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ListOrgServiceAssignMember({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
231
241
|
it("organization.v20210331.RejectJoinShareUnitInvitation", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.RejectJoinShareUnitInvitation({})
|
|
@@ -248,6 +258,16 @@ it("organization.v20210331.DeleteOrganizationNodes", async function () {
|
|
|
248
258
|
}
|
|
249
259
|
})
|
|
250
260
|
|
|
261
|
+
it("organization.v20210331.CreateOrgServiceAssign", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.CreateOrgServiceAssign({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
251
271
|
it("organization.v20210331.DescribeEffectivePolicy", async function () {
|
|
252
272
|
try {
|
|
253
273
|
const data = await client.DescribeEffectivePolicy({})
|
|
@@ -418,6 +438,16 @@ it("organization.v20210331.CreateOrganizationIdentity", async function () {
|
|
|
418
438
|
}
|
|
419
439
|
})
|
|
420
440
|
|
|
441
|
+
it("organization.v20210331.DeleteOrgServiceAssign", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DeleteOrgServiceAssign({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
421
451
|
it("organization.v20210331.DeleteOrganizationIdentity", async function () {
|
|
422
452
|
try {
|
|
423
453
|
const data = await client.DeleteOrganizationIdentity({})
|
|
@@ -588,9 +618,9 @@ it("organization.v20210331.DeletePolicy", async function () {
|
|
|
588
618
|
}
|
|
589
619
|
})
|
|
590
620
|
|
|
591
|
-
it("organization.v20210331.
|
|
621
|
+
it("organization.v20210331.DeleteOrganizationMemberAuthIdentity", async function () {
|
|
592
622
|
try {
|
|
593
|
-
const data = await client.
|
|
623
|
+
const data = await client.DeleteOrganizationMemberAuthIdentity({})
|
|
594
624
|
expect(data).to.be.ok
|
|
595
625
|
} catch(error) {
|
|
596
626
|
expect(error.requestId).to.be.ok
|
|
@@ -638,9 +668,9 @@ it("organization.v20210331.ListTargetsForPolicy", async function () {
|
|
|
638
668
|
}
|
|
639
669
|
})
|
|
640
670
|
|
|
641
|
-
it("organization.v20210331.
|
|
671
|
+
it("organization.v20210331.CheckAccountDelete", async function () {
|
|
642
672
|
try {
|
|
643
|
-
const data = await client.
|
|
673
|
+
const data = await client.CheckAccountDelete({})
|
|
644
674
|
expect(data).to.be.ok
|
|
645
675
|
} catch(error) {
|
|
646
676
|
expect(error.requestId).to.be.ok
|
|
@@ -238,6 +238,16 @@ it("trocket.v20230308.DescribeMQTTMessage", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
+
it("trocket.v20230308.DescribeConsumerLag", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeConsumerLag({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
241
251
|
it("trocket.v20230308.DescribeMQTTTopic", async function () {
|
|
242
252
|
try {
|
|
243
253
|
const data = await client.DescribeMQTTTopic({})
|