tencentcloud-sdk-nodejs 4.0.523 → 4.0.524
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 +156 -0
- package/SERVICE_CHANGELOG.md +202 -170
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +15 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +16 -3
- package/src/services/ess/v20201111/ess_models.ts +230 -161
- package/src/services/essbasic/v20210526/essbasic_client.ts +15 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +83 -13
- package/src/services/gme/v20180711/gme_client.ts +6 -6
- package/src/services/gme/v20180711/gme_models.ts +25 -25
- package/src/services/lcic/v20220817/lcic_client.ts +4 -2
- package/src/services/lcic/v20220817/lcic_models.ts +58 -23
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/tiw/v20190919/tiw_models.ts +29 -11
- package/src/services/trp/v20210515/trp_models.ts +10 -0
- package/src/services/vod/v20180717/vod_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +197 -138
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +72 -13
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -6
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -6
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +25 -25
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +49 -20
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +26 -11
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +8 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/test/ess.v20201111.test.js +10 -0
- package/test/essbasic.v20210526.test.js +10 -0
|
@@ -154,32 +154,32 @@ export declare class Client extends AbstractClient {
|
|
|
154
154
|
"HitFlag": true,
|
|
155
155
|
"MainType": "abuse",
|
|
156
156
|
"RoomId": "123",
|
|
157
|
-
"OpenId": "
|
|
157
|
+
"OpenId": "111",
|
|
158
158
|
"Info":"",
|
|
159
159
|
"Offset": 0,
|
|
160
160
|
"Duration": 3400,
|
|
161
161
|
"PieceStartTime":1574684231,
|
|
162
162
|
"ScanDetail": [{
|
|
163
163
|
"EndTime": 1110,
|
|
164
|
-
"KeyWord": "
|
|
164
|
+
"KeyWord": "违规字",
|
|
165
165
|
"Label": "abuse",
|
|
166
166
|
"Rate": "90.00",
|
|
167
167
|
"StartTime": 1110
|
|
168
168
|
}, {
|
|
169
169
|
"EndTime": 1380,
|
|
170
|
-
"KeyWord": "
|
|
170
|
+
"KeyWord": "违规字",
|
|
171
171
|
"Label": "abuse",
|
|
172
172
|
"Rate": "90.00",
|
|
173
173
|
"StartTime": 930
|
|
174
174
|
}, {
|
|
175
175
|
"EndTime": 1560,
|
|
176
|
-
"KeyWord": "
|
|
176
|
+
"KeyWord": "违规字",
|
|
177
177
|
"Label": "abuse",
|
|
178
178
|
"Rate": "90.00",
|
|
179
179
|
"StartTime": 930
|
|
180
180
|
}, {
|
|
181
181
|
"EndTime": 2820,
|
|
182
|
-
"KeyWord": "
|
|
182
|
+
"KeyWord": "违规字",
|
|
183
183
|
"Label": "abuse",
|
|
184
184
|
"Rate": "90.00",
|
|
185
185
|
"StartTime": 2490
|
|
@@ -190,7 +190,7 @@ export declare class Client extends AbstractClient {
|
|
|
190
190
|
"default"
|
|
191
191
|
],
|
|
192
192
|
"Status": "Success",
|
|
193
|
-
"TaskId": "
|
|
193
|
+
"TaskId": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b",
|
|
194
194
|
"Url": "https://xxx/xxx.m4a"
|
|
195
195
|
}
|
|
196
196
|
</code></pre>
|
|
@@ -194,32 +194,32 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
194
194
|
"HitFlag": true,
|
|
195
195
|
"MainType": "abuse",
|
|
196
196
|
"RoomId": "123",
|
|
197
|
-
"OpenId": "
|
|
197
|
+
"OpenId": "111",
|
|
198
198
|
"Info":"",
|
|
199
199
|
"Offset": 0,
|
|
200
200
|
"Duration": 3400,
|
|
201
201
|
"PieceStartTime":1574684231,
|
|
202
202
|
"ScanDetail": [{
|
|
203
203
|
"EndTime": 1110,
|
|
204
|
-
"KeyWord": "
|
|
204
|
+
"KeyWord": "违规字",
|
|
205
205
|
"Label": "abuse",
|
|
206
206
|
"Rate": "90.00",
|
|
207
207
|
"StartTime": 1110
|
|
208
208
|
}, {
|
|
209
209
|
"EndTime": 1380,
|
|
210
|
-
"KeyWord": "
|
|
210
|
+
"KeyWord": "违规字",
|
|
211
211
|
"Label": "abuse",
|
|
212
212
|
"Rate": "90.00",
|
|
213
213
|
"StartTime": 930
|
|
214
214
|
}, {
|
|
215
215
|
"EndTime": 1560,
|
|
216
|
-
"KeyWord": "
|
|
216
|
+
"KeyWord": "违规字",
|
|
217
217
|
"Label": "abuse",
|
|
218
218
|
"Rate": "90.00",
|
|
219
219
|
"StartTime": 930
|
|
220
220
|
}, {
|
|
221
221
|
"EndTime": 2820,
|
|
222
|
-
"KeyWord": "
|
|
222
|
+
"KeyWord": "违规字",
|
|
223
223
|
"Label": "abuse",
|
|
224
224
|
"Rate": "90.00",
|
|
225
225
|
"StartTime": 2490
|
|
@@ -230,7 +230,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
230
230
|
"default"
|
|
231
231
|
],
|
|
232
232
|
"Status": "Success",
|
|
233
|
-
"TaskId": "
|
|
233
|
+
"TaskId": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b",
|
|
234
234
|
"Url": "https://xxx/xxx.m4a"
|
|
235
235
|
}
|
|
236
236
|
</code></pre>
|
|
@@ -109,7 +109,7 @@ export interface CreateCustomizationResponse {
|
|
|
109
109
|
/**
|
|
110
110
|
* 模型ID
|
|
111
111
|
*/
|
|
112
|
-
ModelId
|
|
112
|
+
ModelId?: string;
|
|
113
113
|
/**
|
|
114
114
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
115
115
|
*/
|
|
@@ -166,11 +166,11 @@ export interface DescribeApplicationListResponse {
|
|
|
166
166
|
/**
|
|
167
167
|
* 获取应用列表返回
|
|
168
168
|
*/
|
|
169
|
-
ApplicationList
|
|
169
|
+
ApplicationList?: Array<ApplicationList>;
|
|
170
170
|
/**
|
|
171
171
|
* 应用总数
|
|
172
172
|
*/
|
|
173
|
-
Total
|
|
173
|
+
Total?: number;
|
|
174
174
|
/**
|
|
175
175
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
176
176
|
*/
|
|
@@ -183,7 +183,7 @@ export interface CreateScanUserResponse {
|
|
|
183
183
|
/**
|
|
184
184
|
* 返回结果码
|
|
185
185
|
*/
|
|
186
|
-
ErrorCode
|
|
186
|
+
ErrorCode?: number;
|
|
187
187
|
/**
|
|
188
188
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
189
189
|
*/
|
|
@@ -196,31 +196,31 @@ export interface DescribeRealtimeScanConfigResponse {
|
|
|
196
196
|
/**
|
|
197
197
|
* 返回结果码,0正常,非0失败
|
|
198
198
|
*/
|
|
199
|
-
ErrorCode
|
|
199
|
+
ErrorCode?: number;
|
|
200
200
|
/**
|
|
201
201
|
* 应用ID
|
|
202
202
|
*/
|
|
203
|
-
BizId
|
|
203
|
+
BizId?: number;
|
|
204
204
|
/**
|
|
205
205
|
* 送检类型,0: 全量送审,1: 自定义送审
|
|
206
206
|
*/
|
|
207
|
-
AuditType
|
|
207
|
+
AuditType?: number;
|
|
208
208
|
/**
|
|
209
209
|
* 用户号正则表达式
|
|
210
210
|
*/
|
|
211
|
-
UserIdRegex
|
|
211
|
+
UserIdRegex?: Array<string>;
|
|
212
212
|
/**
|
|
213
213
|
* 房间号正则表达式
|
|
214
214
|
*/
|
|
215
|
-
RoomIdRegex
|
|
215
|
+
RoomIdRegex?: Array<string>;
|
|
216
216
|
/**
|
|
217
217
|
* 用户号字符串,逗号分隔,示例:"0001,0002,0003"
|
|
218
218
|
*/
|
|
219
|
-
UserIdString
|
|
219
|
+
UserIdString?: string;
|
|
220
220
|
/**
|
|
221
221
|
* 房间号字符串,逗号分隔,示例:"0001,0002,0003"
|
|
222
222
|
*/
|
|
223
|
-
RoomIdString
|
|
223
|
+
RoomIdString?: string;
|
|
224
224
|
/**
|
|
225
225
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
226
226
|
*/
|
|
@@ -394,11 +394,11 @@ export interface ModifyCustomizationResponse {
|
|
|
394
394
|
/**
|
|
395
395
|
* 返回值。0为成功,非0为失败。
|
|
396
396
|
*/
|
|
397
|
-
ErrorCode
|
|
397
|
+
ErrorCode?: number;
|
|
398
398
|
/**
|
|
399
399
|
* 模型ID
|
|
400
400
|
*/
|
|
401
|
-
ModelId
|
|
401
|
+
ModelId?: string;
|
|
402
402
|
/**
|
|
403
403
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
404
404
|
*/
|
|
@@ -437,11 +437,11 @@ export interface ModifyCustomizationStateResponse {
|
|
|
437
437
|
/**
|
|
438
438
|
* 模型ID
|
|
439
439
|
*/
|
|
440
|
-
ModelId
|
|
440
|
+
ModelId?: string;
|
|
441
441
|
/**
|
|
442
442
|
* 返回值。0为成功,非0为失败。
|
|
443
443
|
*/
|
|
444
|
-
ErrorCode
|
|
444
|
+
ErrorCode?: number;
|
|
445
445
|
/**
|
|
446
446
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
447
447
|
*/
|
|
@@ -589,7 +589,7 @@ export interface DescribeAgeDetectTaskResponse {
|
|
|
589
589
|
/**
|
|
590
590
|
* 任务ID
|
|
591
591
|
*/
|
|
592
|
-
TaskId
|
|
592
|
+
TaskId?: string;
|
|
593
593
|
/**
|
|
594
594
|
* 语音检测返回。Results 字段是 JSON 数组,每一个元素包含:
|
|
595
595
|
DataId: 请求中对应的 DataId。
|
|
@@ -597,7 +597,7 @@ Url :该请求中对应的 Url。
|
|
|
597
597
|
Status :子任务状态,0:已创建,1:运行中,2:已完成,3:任务异常,4:任务超时。
|
|
598
598
|
Age :子任务完成后的结果,0:成年人,1:未成年人,100:未知结果。
|
|
599
599
|
*/
|
|
600
|
-
Results
|
|
600
|
+
Results?: Array<AgeDetectTaskResult>;
|
|
601
601
|
/**
|
|
602
602
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
603
603
|
*/
|
|
@@ -611,7 +611,7 @@ export interface GetCustomizationListResponse {
|
|
|
611
611
|
* 语音消息转文本热句模型配置
|
|
612
612
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
613
613
|
*/
|
|
614
|
-
CustomizationConfigs
|
|
614
|
+
CustomizationConfigs?: Array<CustomizationConfigs>;
|
|
615
615
|
/**
|
|
616
616
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
617
617
|
*/
|
|
@@ -717,7 +717,7 @@ export interface DescribeAppStatisticsResponse {
|
|
|
717
717
|
/**
|
|
718
718
|
* 应用用量统计数据
|
|
719
719
|
*/
|
|
720
|
-
Data
|
|
720
|
+
Data?: DescribeAppStatisticsResp;
|
|
721
721
|
/**
|
|
722
722
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
723
723
|
*/
|
|
@@ -731,7 +731,7 @@ export interface UpdateScanRoomsResponse {
|
|
|
731
731
|
* 返回结果码
|
|
732
732
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
733
733
|
*/
|
|
734
|
-
ErrorCode
|
|
734
|
+
ErrorCode?: number;
|
|
735
735
|
/**
|
|
736
736
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
737
737
|
*/
|
|
@@ -744,7 +744,7 @@ export interface UpdateScanUsersResponse {
|
|
|
744
744
|
/**
|
|
745
745
|
* 返回结果码
|
|
746
746
|
*/
|
|
747
|
-
ErrorCode
|
|
747
|
+
ErrorCode?: number;
|
|
748
748
|
/**
|
|
749
749
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
750
750
|
*/
|
|
@@ -783,7 +783,7 @@ export interface DeleteScanUserResponse {
|
|
|
783
783
|
/**
|
|
784
784
|
* 返回结果码
|
|
785
785
|
*/
|
|
786
|
-
ErrorCode
|
|
786
|
+
ErrorCode?: number;
|
|
787
787
|
/**
|
|
788
788
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
789
789
|
*/
|
|
@@ -893,7 +893,7 @@ export interface DescribeAgeDetectTaskRequest {
|
|
|
893
893
|
*/
|
|
894
894
|
BizId: number;
|
|
895
895
|
/**
|
|
896
|
-
*
|
|
896
|
+
* [创建年龄语音识别任务](https://cloud.tencent.com/document/product/607/60620)时返回的taskid
|
|
897
897
|
*/
|
|
898
898
|
TaskId: string;
|
|
899
899
|
}
|
|
@@ -904,7 +904,7 @@ export interface DeleteCustomizationResponse {
|
|
|
904
904
|
/**
|
|
905
905
|
* 返回值。0为成功,非0为失败。
|
|
906
906
|
*/
|
|
907
|
-
ErrorCode
|
|
907
|
+
ErrorCode?: number;
|
|
908
908
|
/**
|
|
909
909
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
910
910
|
*/
|
|
@@ -1153,7 +1153,7 @@ export interface CreateAgeDetectTaskResponse {
|
|
|
1153
1153
|
/**
|
|
1154
1154
|
* 本次任务提交后唯一id,用于获取任务运行结果
|
|
1155
1155
|
*/
|
|
1156
|
-
TaskId
|
|
1156
|
+
TaskId?: string;
|
|
1157
1157
|
/**
|
|
1158
1158
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1159
1159
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateRoomRequest, SetAppCustomContentRequest, UnbindDocumentFromRoomResponse, DescribeUserRequest, CreateDocumentResponse, DescribeRoomStatisticsRequest, BindDocumentToRoomRequest, CreateDocumentRequest, SetAppCustomContentResponse, LoginOriginIdResponse, LoginUserResponse, DescribeAppDetailRequest, ModifyAppResponse, DescribeRoomResponse, DeleteRoomResponse, DescribeRoomStatisticsResponse, CreateSupervisorResponse, DeleteRoomRequest, RegisterUserResponse, DescribeAppDetailResponse, ModifyAppRequest, CreateSupervisorRequest, UnbindDocumentFromRoomRequest, LoginOriginIdRequest,
|
|
3
|
+
import { CreateRoomRequest, SetAppCustomContentRequest, UnbindDocumentFromRoomResponse, DescribeUserRequest, CreateDocumentResponse, DescribeRoomStatisticsRequest, BindDocumentToRoomRequest, CreateDocumentRequest, SetAppCustomContentResponse, LoginOriginIdResponse, LoginUserResponse, DescribeAppDetailRequest, ModifyAppResponse, DescribeRoomResponse, DeleteRoomResponse, DescribeRoomStatisticsResponse, CreateSupervisorResponse, DeleteRoomRequest, RegisterUserResponse, DescribeAppDetailResponse, ModifyAppRequest, CreateSupervisorRequest, UnbindDocumentFromRoomRequest, LoginOriginIdRequest, LoginUserRequest, BindDocumentToRoomResponse, CreateRoomResponse, DescribeUserResponse, DescribeRoomRequest, RegisterUserRequest } from "./lcic_models";
|
|
4
4
|
/**
|
|
5
5
|
* lcic client
|
|
6
6
|
* @class
|
|
@@ -10,7 +10,7 @@ export declare class Client extends AbstractClient {
|
|
|
10
10
|
/**
|
|
11
11
|
* 获取应用详情
|
|
12
12
|
*/
|
|
13
|
-
DescribeAppDetail(req
|
|
13
|
+
DescribeAppDetail(req: DescribeAppDetailRequest, cb?: (error: string, rep: DescribeAppDetailResponse) => void): Promise<DescribeAppDetailResponse>;
|
|
14
14
|
/**
|
|
15
15
|
* 创建房间内可以使用的文档。
|
|
16
16
|
*/
|
|
@@ -235,7 +235,16 @@ export interface LoginUserResponse {
|
|
|
235
235
|
/**
|
|
236
236
|
* DescribeAppDetail请求参数结构体
|
|
237
237
|
*/
|
|
238
|
-
export
|
|
238
|
+
export interface DescribeAppDetailRequest {
|
|
239
|
+
/**
|
|
240
|
+
* 应用ID
|
|
241
|
+
*/
|
|
242
|
+
ApplicationId: string;
|
|
243
|
+
/**
|
|
244
|
+
* 开发商ID
|
|
245
|
+
*/
|
|
246
|
+
DeveloperId: string;
|
|
247
|
+
}
|
|
239
248
|
/**
|
|
240
249
|
* ModifyApp返回参数结构体
|
|
241
250
|
*/
|
|
@@ -389,6 +398,10 @@ export interface CreateSupervisorResponse {
|
|
|
389
398
|
*/
|
|
390
399
|
RequestId?: string;
|
|
391
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* 场景配置
|
|
403
|
+
*/
|
|
404
|
+
export declare type SceneItem = null;
|
|
392
405
|
/**
|
|
393
406
|
* DeleteRoom请求参数结构体
|
|
394
407
|
*/
|
|
@@ -419,6 +432,18 @@ export interface RegisterUserResponse {
|
|
|
419
432
|
* DescribeAppDetail返回参数结构体
|
|
420
433
|
*/
|
|
421
434
|
export interface DescribeAppDetailResponse {
|
|
435
|
+
/**
|
|
436
|
+
* SdkAppId
|
|
437
|
+
*/
|
|
438
|
+
SdkAppId?: string;
|
|
439
|
+
/**
|
|
440
|
+
* 应用配置
|
|
441
|
+
*/
|
|
442
|
+
AppConfig?: AppConfig;
|
|
443
|
+
/**
|
|
444
|
+
* 场景配置
|
|
445
|
+
*/
|
|
446
|
+
SceneConfig?: Array<SceneItem>;
|
|
422
447
|
/**
|
|
423
448
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
424
449
|
*/
|
|
@@ -521,26 +546,9 @@ export interface LoginOriginIdRequest {
|
|
|
521
546
|
OriginId: string;
|
|
522
547
|
}
|
|
523
548
|
/**
|
|
524
|
-
*
|
|
549
|
+
* 应用配置信息
|
|
525
550
|
*/
|
|
526
|
-
export
|
|
527
|
-
/**
|
|
528
|
-
* 低代码互动课堂的SdkAppId。
|
|
529
|
-
*/
|
|
530
|
-
SdkAppId: number;
|
|
531
|
-
/**
|
|
532
|
-
* 用户名称。
|
|
533
|
-
*/
|
|
534
|
-
Name?: string;
|
|
535
|
-
/**
|
|
536
|
-
* 用户在客户系统的Id,需要在同一应用下唯一。
|
|
537
|
-
*/
|
|
538
|
-
OriginId?: string;
|
|
539
|
-
/**
|
|
540
|
-
* 用户头像。
|
|
541
|
-
*/
|
|
542
|
-
Avatar?: string;
|
|
543
|
-
}
|
|
551
|
+
export declare type AppConfig = null;
|
|
544
552
|
/**
|
|
545
553
|
* LoginUser请求参数结构体
|
|
546
554
|
*/
|
|
@@ -606,3 +614,24 @@ export interface DescribeRoomRequest {
|
|
|
606
614
|
*/
|
|
607
615
|
RoomId: number;
|
|
608
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* RegisterUser请求参数结构体
|
|
619
|
+
*/
|
|
620
|
+
export interface RegisterUserRequest {
|
|
621
|
+
/**
|
|
622
|
+
* 低代码互动课堂的SdkAppId。
|
|
623
|
+
*/
|
|
624
|
+
SdkAppId: number;
|
|
625
|
+
/**
|
|
626
|
+
* 用户名称。
|
|
627
|
+
*/
|
|
628
|
+
Name?: string;
|
|
629
|
+
/**
|
|
630
|
+
* 用户在客户系统的Id,需要在同一应用下唯一。
|
|
631
|
+
*/
|
|
632
|
+
OriginId?: string;
|
|
633
|
+
/**
|
|
634
|
+
* 用户头像。
|
|
635
|
+
*/
|
|
636
|
+
Avatar?: string;
|
|
637
|
+
}
|
|
@@ -1397,7 +1397,7 @@ export interface DescribeOriginProtectionResponse {
|
|
|
1397
1397
|
* 源站防护信息。
|
|
1398
1398
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1399
1399
|
*/
|
|
1400
|
-
OriginProtectionInfo
|
|
1400
|
+
OriginProtectionInfo?: Array<OriginProtectionInfo>;
|
|
1401
1401
|
/**
|
|
1402
1402
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1403
1403
|
*/
|
|
@@ -2504,7 +2504,7 @@ export interface DescribeOriginProtectionRequest {
|
|
|
2504
2504
|
<li>need-update<br> 按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:需要更新<br> false:无需更新<br></li>
|
|
2505
2505
|
<li>plan-support<br> 按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:支持<br> false:不支持<br></li>
|
|
2506
2506
|
*/
|
|
2507
|
-
Filters?: Filter
|
|
2507
|
+
Filters?: Array<Filter>;
|
|
2508
2508
|
/**
|
|
2509
2509
|
* 分页查询偏移量,默认为0。
|
|
2510
2510
|
*/
|
|
@@ -172,12 +172,12 @@ export interface StartWhiteboardPushRequest {
|
|
|
172
172
|
*/
|
|
173
173
|
RoomId: number;
|
|
174
174
|
/**
|
|
175
|
-
* 用于白板推流服务进入白板房间的用户ID
|
|
176
|
-
用户ID最大长度不能大于60
|
|
175
|
+
* 用于白板推流服务进入白板房间的用户ID。在没有额外指定`IMAuthParam`和`TRTCAuthParam`的情况下,这个用户ID同时会用于IM登录、IM加群、TRTC进房推流等操作。
|
|
176
|
+
用户ID最大长度不能大于60个字节,该用户ID必须是一个单独的未同时在其他地方使用的用户ID,白板推流服务使用这个用户ID进入房间进行白板音视频推流,若该用户ID和其他地方同时在使用的用户ID重复,会导致白板推流服务与其他使用场景帐号互踢,影响正常推流。
|
|
177
177
|
*/
|
|
178
178
|
PushUserId: string;
|
|
179
179
|
/**
|
|
180
|
-
* 与PushUserId
|
|
180
|
+
* 与PushUserId对应的IM签名(usersig)。
|
|
181
181
|
*/
|
|
182
182
|
PushUserSig: string;
|
|
183
183
|
/**
|
|
@@ -279,23 +279,28 @@ SdkAppID = 12345678,RoomID = 12345,PushUserID = push_user_1
|
|
|
279
279
|
*/
|
|
280
280
|
TRTCRoomIdStr?: string;
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
283
|
-
|
|
284
|
-
IM鉴权信息参数,用于IM鉴权。
|
|
282
|
+
* IM鉴权信息参数,用于IM鉴权。
|
|
285
283
|
当白板信令所使用的IM应用与白板应用的SdkAppId不一致时,可以通过此参数提供对应IM应用鉴权信息。
|
|
286
284
|
|
|
287
285
|
如果提供了此参数,白板推流服务会优先使用此参数指定的SdkAppId作为白板信令的传输通道,否则使用公共参数中的SdkAppId作为白板信令的传输通道。
|
|
288
286
|
*/
|
|
289
287
|
IMAuthParam?: AuthParam;
|
|
290
288
|
/**
|
|
291
|
-
*
|
|
292
|
-
|
|
293
|
-
TRTC鉴权信息参数,用于TRTC进房推流鉴权。
|
|
289
|
+
* TRTC鉴权信息参数,用于TRTC进房推流鉴权。
|
|
294
290
|
当需要推流到的TRTC房间所对应的TRTC应用与白板应用的SdkAppId不一致时,可以通过此参数提供对应的TRTC应用鉴权信息。
|
|
295
291
|
|
|
296
292
|
如果提供了此参数,白板推流服务会优先使用此参数指定的SdkAppId作为白板推流的目标TRTC应用,否则使用公共参数中的SdkAppId作为白板推流的目标TRTC应用。
|
|
297
293
|
*/
|
|
298
294
|
TRTCAuthParam?: AuthParam;
|
|
295
|
+
/**
|
|
296
|
+
* 内测参数,需要提前申请白名单进行体验。
|
|
297
|
+
|
|
298
|
+
指定白板推流时推流用户进TRTC房间的进房模式。默认为 TRTCAppSceneVideoCall
|
|
299
|
+
|
|
300
|
+
TRTCAppSceneVideoCall - 视频通话场景,即绝大多数时间都是两人或两人以上视频通话的场景,内部编码器和网络协议优化侧重流畅性,降低通话延迟和卡顿率。
|
|
301
|
+
TRTCAppSceneLIVE - 直播场景,即绝大多数时间都是一人直播,偶尔有多人视频互动的场景,内部编码器和网络协议优化侧重性能和兼容性,性能和清晰度表现更佳。
|
|
302
|
+
*/
|
|
303
|
+
TRTCEnterRoomMode?: string;
|
|
299
304
|
}
|
|
300
305
|
/**
|
|
301
306
|
* DescribeTIWRoomDailyUsage请求参数结构体
|
|
@@ -588,12 +593,12 @@ export interface StartWhiteboardPushResponse {
|
|
|
588
593
|
/**
|
|
589
594
|
* 推流任务Id
|
|
590
595
|
*/
|
|
591
|
-
TaskId
|
|
596
|
+
TaskId?: string;
|
|
592
597
|
/**
|
|
593
598
|
* 备份任务结果参数
|
|
594
599
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
595
600
|
*/
|
|
596
|
-
Backup
|
|
601
|
+
Backup?: string;
|
|
597
602
|
/**
|
|
598
603
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
599
604
|
*/
|
|
@@ -1341,6 +1346,16 @@ export interface DescribeTranscodeResponse {
|
|
|
1341
1346
|
* 转码压缩文件下载的URL,如果发起文档转码请求参数中`CompressFileType`为空或者不是支持的压缩格式,该参数为空字符串
|
|
1342
1347
|
*/
|
|
1343
1348
|
CompressFileUrl?: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* 资源清单文件下载URL(内测体验)
|
|
1351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1352
|
+
*/
|
|
1353
|
+
ResourceListUrl?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* 文档制作方式(内测体验)
|
|
1356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1357
|
+
*/
|
|
1358
|
+
Ext?: string;
|
|
1344
1359
|
/**
|
|
1345
1360
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1346
1361
|
*/
|
|
@@ -238,6 +238,16 @@ it("ess.v20201111.UploadFiles", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
+
it("ess.v20201111.CreateFlowSignUrl", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CreateFlowSignUrl({})
|
|
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("ess.v20201111.DescribeThirdPartyAuthCode", async function () {
|
|
242
252
|
try {
|
|
243
253
|
const data = await client.DescribeThirdPartyAuthCode({})
|
|
@@ -288,6 +288,16 @@ it("essbasic.v20210526.UploadFiles", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("essbasic.v20210526.ChannelCreateFlowSignUrl", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ChannelCreateFlowSignUrl({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
291
301
|
it("essbasic.v20210526.SyncProxyOrganization", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.SyncProxyOrganization({})
|