tencentcloud-sdk-nodejs 4.0.567 → 4.0.568
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 +160 -0
- package/SERVICE_CHANGELOG.md +259 -296
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +5 -5
- package/src/services/cat/v20180409/cat_models.ts +4 -4
- package/src/services/ccc/v20200210/ccc_models.ts +14 -4
- package/src/services/cdb/v20170320/cdb_models.ts +14 -4
- package/src/services/cdn/v20180606/cdn_models.ts +8 -1
- package/src/services/cls/v20201016/cls_models.ts +39 -8
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +57 -5
- package/src/services/ess/v20201111/ess_models.ts +335 -50
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +23 -11
- package/src/services/monitor/v20180724/monitor_models.ts +5 -0
- package/src/services/mps/v20190612/mps_models.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +30 -15
- package/src/services/ocr/v20181119/ocr_models.ts +34 -34
- package/src/services/tcss/v20201101/tcss_models.ts +31 -6
- package/src/services/trtc/v20190722/trtc_client.ts +2 -2
- package/src/services/trtc/v20190722/trtc_models.ts +27 -7
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +5 -5
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +4 -4
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +12 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -4
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +34 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +17 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +290 -48
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +20 -10
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +16 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +16 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +34 -34
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +26 -6
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +24 -7
- package/test/ess.v20201111.test.js +40 -0
|
@@ -429,8 +429,10 @@ export class Client extends AbstractClient {
|
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
|
-
|
|
433
|
-
|
|
432
|
+
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
433
|
+
|
|
434
|
+
默认接口请求频率限制:5次/秒。
|
|
435
|
+
*/
|
|
434
436
|
async QrcodeOCR(
|
|
435
437
|
req: QrcodeOCRRequest,
|
|
436
438
|
cb?: (error: string, rep: QrcodeOCRResponse) => void
|
|
@@ -524,7 +526,7 @@ export class Client extends AbstractClient {
|
|
|
524
526
|
|
|
525
527
|
/**
|
|
526
528
|
* 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
|
|
527
|
-
|
|
529
|
+
默认接口请求频率限制:5次/秒。
|
|
528
530
|
*/
|
|
529
531
|
async RecognizeContainerOCR(
|
|
530
532
|
req: RecognizeContainerOCRRequest,
|
|
@@ -544,8 +546,9 @@ export class Client extends AbstractClient {
|
|
|
544
546
|
}
|
|
545
547
|
|
|
546
548
|
/**
|
|
547
|
-
|
|
548
|
-
|
|
549
|
+
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
|
550
|
+
默认接口请求频率限制:5次/秒。
|
|
551
|
+
*/
|
|
549
552
|
async MixedInvoiceDetect(
|
|
550
553
|
req: MixedInvoiceDetectRequest,
|
|
551
554
|
cb?: (error: string, rep: MixedInvoiceDetectResponse) => void
|
|
@@ -626,6 +629,8 @@ export class Client extends AbstractClient {
|
|
|
626
629
|
/**
|
|
627
630
|
* 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
|
|
628
631
|
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
|
632
|
+
|
|
633
|
+
默认接口请求频率限制:5次/秒。
|
|
629
634
|
*/
|
|
630
635
|
async PropOwnerCertOCR(
|
|
631
636
|
req: PropOwnerCertOCRRequest,
|
|
@@ -849,8 +854,10 @@ export class Client extends AbstractClient {
|
|
|
849
854
|
}
|
|
850
855
|
|
|
851
856
|
/**
|
|
852
|
-
|
|
853
|
-
|
|
857
|
+
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
|
858
|
+
|
|
859
|
+
默认接口请求频率限制:10次/秒。
|
|
860
|
+
*/
|
|
854
861
|
async PermitOCR(
|
|
855
862
|
req: PermitOCRRequest,
|
|
856
863
|
cb?: (error: string, rep: PermitOCRResponse) => void
|
|
@@ -859,8 +866,10 @@ export class Client extends AbstractClient {
|
|
|
859
866
|
}
|
|
860
867
|
|
|
861
868
|
/**
|
|
862
|
-
|
|
863
|
-
|
|
869
|
+
* 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
|
870
|
+
|
|
871
|
+
默认接口请求频率限制:5次/秒。
|
|
872
|
+
*/
|
|
864
873
|
async OrgCodeCertOCR(
|
|
865
874
|
req: OrgCodeCertOCRRequest,
|
|
866
875
|
cb?: (error: string, rep: OrgCodeCertOCRResponse) => void
|
|
@@ -879,8 +888,10 @@ export class Client extends AbstractClient {
|
|
|
879
888
|
}
|
|
880
889
|
|
|
881
890
|
/**
|
|
882
|
-
|
|
883
|
-
|
|
891
|
+
* 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
|
892
|
+
|
|
893
|
+
默认接口请求频率限制:5次/秒。
|
|
894
|
+
*/
|
|
884
895
|
async FinanBillSliceOCR(
|
|
885
896
|
req: FinanBillSliceOCRRequest,
|
|
886
897
|
cb?: (error: string, rep: FinanBillSliceOCRResponse) => void
|
|
@@ -1269,8 +1280,10 @@ export class Client extends AbstractClient {
|
|
|
1269
1280
|
}
|
|
1270
1281
|
|
|
1271
1282
|
/**
|
|
1272
|
-
|
|
1273
|
-
|
|
1283
|
+
* 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
|
1284
|
+
|
|
1285
|
+
默认接口请求频率限制:20次/秒。
|
|
1286
|
+
*/
|
|
1274
1287
|
async MainlandPermitOCR(
|
|
1275
1288
|
req: MainlandPermitOCRRequest,
|
|
1276
1289
|
cb?: (error: string, rep: MainlandPermitOCRResponse) => void
|
|
@@ -1291,8 +1304,10 @@ export class Client extends AbstractClient {
|
|
|
1291
1304
|
}
|
|
1292
1305
|
|
|
1293
1306
|
/**
|
|
1294
|
-
|
|
1295
|
-
|
|
1307
|
+
* 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
1308
|
+
|
|
1309
|
+
默认接口请求频率限制:10次/秒。
|
|
1310
|
+
*/
|
|
1296
1311
|
async PassportOCR(
|
|
1297
1312
|
req: PassportOCRRequest,
|
|
1298
1313
|
cb?: (error: string, rep: PassportOCRResponse) => void
|
|
@@ -969,42 +969,42 @@ export interface PermitOCRResponse {
|
|
|
969
969
|
/**
|
|
970
970
|
* 姓名
|
|
971
971
|
*/
|
|
972
|
-
Name
|
|
972
|
+
Name?: string
|
|
973
973
|
|
|
974
974
|
/**
|
|
975
975
|
* 英文姓名
|
|
976
976
|
*/
|
|
977
|
-
EnglishName
|
|
977
|
+
EnglishName?: string
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* 证件号
|
|
981
981
|
*/
|
|
982
|
-
Number
|
|
982
|
+
Number?: string
|
|
983
983
|
|
|
984
984
|
/**
|
|
985
985
|
* 性别
|
|
986
986
|
*/
|
|
987
|
-
Sex
|
|
987
|
+
Sex?: string
|
|
988
988
|
|
|
989
989
|
/**
|
|
990
990
|
* 有效期限
|
|
991
991
|
*/
|
|
992
|
-
ValidDate
|
|
992
|
+
ValidDate?: string
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
995
|
* 签发机关
|
|
996
996
|
*/
|
|
997
|
-
IssueAuthority
|
|
997
|
+
IssueAuthority?: string
|
|
998
998
|
|
|
999
999
|
/**
|
|
1000
1000
|
* 签发地点
|
|
1001
1001
|
*/
|
|
1002
|
-
IssueAddress
|
|
1002
|
+
IssueAddress?: string
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* 出生日期
|
|
1006
1006
|
*/
|
|
1007
|
-
Birthday
|
|
1007
|
+
Birthday?: string
|
|
1008
1008
|
|
|
1009
1009
|
/**
|
|
1010
1010
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1722,12 +1722,12 @@ export interface QrcodeOCRResponse {
|
|
|
1722
1722
|
/**
|
|
1723
1723
|
* 二维码/条形码识别结果信息,具体内容请点击左侧链接。
|
|
1724
1724
|
*/
|
|
1725
|
-
CodeResults
|
|
1725
|
+
CodeResults?: Array<QrcodeResultsInfo>
|
|
1726
1726
|
|
|
1727
1727
|
/**
|
|
1728
1728
|
* 图片大小,具体内容请点击左侧链接。
|
|
1729
1729
|
*/
|
|
1730
|
-
ImgSize
|
|
1730
|
+
ImgSize?: QrcodeImgSize
|
|
1731
1731
|
|
|
1732
1732
|
/**
|
|
1733
1733
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1974,32 +1974,32 @@ export interface PropOwnerCertOCRResponse {
|
|
|
1974
1974
|
/**
|
|
1975
1975
|
* 房地产权利人
|
|
1976
1976
|
*/
|
|
1977
|
-
Owner
|
|
1977
|
+
Owner?: string
|
|
1978
1978
|
|
|
1979
1979
|
/**
|
|
1980
1980
|
* 共有情况
|
|
1981
1981
|
*/
|
|
1982
|
-
Possession
|
|
1982
|
+
Possession?: string
|
|
1983
1983
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* 登记时间
|
|
1986
1986
|
*/
|
|
1987
|
-
RegisterTime
|
|
1987
|
+
RegisterTime?: string
|
|
1988
1988
|
|
|
1989
1989
|
/**
|
|
1990
1990
|
* 规划用途
|
|
1991
1991
|
*/
|
|
1992
|
-
Purpose
|
|
1992
|
+
Purpose?: string
|
|
1993
1993
|
|
|
1994
1994
|
/**
|
|
1995
1995
|
* 房屋性质
|
|
1996
1996
|
*/
|
|
1997
|
-
Nature
|
|
1997
|
+
Nature?: string
|
|
1998
1998
|
|
|
1999
1999
|
/**
|
|
2000
2000
|
* 房地坐落
|
|
2001
2001
|
*/
|
|
2002
|
-
Location
|
|
2002
|
+
Location?: string
|
|
2003
2003
|
|
|
2004
2004
|
/**
|
|
2005
2005
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2398,7 +2398,7 @@ export interface MixedInvoiceDetectResponse {
|
|
|
2398
2398
|
/**
|
|
2399
2399
|
* 检测出的票据类型列表,具体内容请点击左侧链接。
|
|
2400
2400
|
*/
|
|
2401
|
-
InvoiceDetectInfos
|
|
2401
|
+
InvoiceDetectInfos?: Array<InvoiceDetectInfo>
|
|
2402
2402
|
|
|
2403
2403
|
/**
|
|
2404
2404
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3227,22 +3227,22 @@ export interface OrgCodeCertOCRResponse {
|
|
|
3227
3227
|
/**
|
|
3228
3228
|
* 代码
|
|
3229
3229
|
*/
|
|
3230
|
-
OrgCode
|
|
3230
|
+
OrgCode?: string
|
|
3231
3231
|
|
|
3232
3232
|
/**
|
|
3233
3233
|
* 机构名称
|
|
3234
3234
|
*/
|
|
3235
|
-
Name
|
|
3235
|
+
Name?: string
|
|
3236
3236
|
|
|
3237
3237
|
/**
|
|
3238
3238
|
* 地址
|
|
3239
3239
|
*/
|
|
3240
|
-
Address
|
|
3240
|
+
Address?: string
|
|
3241
3241
|
|
|
3242
3242
|
/**
|
|
3243
3243
|
* 有效期
|
|
3244
3244
|
*/
|
|
3245
|
-
ValidDate
|
|
3245
|
+
ValidDate?: string
|
|
3246
3246
|
|
|
3247
3247
|
/**
|
|
3248
3248
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5068,7 +5068,7 @@ export interface FinanBillSliceOCRRequest {
|
|
|
5068
5068
|
/**
|
|
5069
5069
|
* 图片的 Base64 值。
|
|
5070
5070
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
5071
|
-
支持的图片大小:所下载图片经Base64编码后不超过
|
|
5071
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
5072
5072
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
5073
5073
|
*/
|
|
5074
5074
|
ImageBase64?: string
|
|
@@ -5076,7 +5076,7 @@ export interface FinanBillSliceOCRRequest {
|
|
|
5076
5076
|
/**
|
|
5077
5077
|
* 图片的 Url 地址。
|
|
5078
5078
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
5079
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过
|
|
5079
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
5080
5080
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
5081
5081
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
5082
5082
|
*/
|
|
@@ -6531,57 +6531,57 @@ export interface MainlandPermitOCRResponse {
|
|
|
6531
6531
|
/**
|
|
6532
6532
|
* 中文姓名
|
|
6533
6533
|
*/
|
|
6534
|
-
Name
|
|
6534
|
+
Name?: string
|
|
6535
6535
|
|
|
6536
6536
|
/**
|
|
6537
6537
|
* 英文姓名
|
|
6538
6538
|
*/
|
|
6539
|
-
EnglishName
|
|
6539
|
+
EnglishName?: string
|
|
6540
6540
|
|
|
6541
6541
|
/**
|
|
6542
6542
|
* 性别
|
|
6543
6543
|
*/
|
|
6544
|
-
Sex
|
|
6544
|
+
Sex?: string
|
|
6545
6545
|
|
|
6546
6546
|
/**
|
|
6547
6547
|
* 出生日期
|
|
6548
6548
|
*/
|
|
6549
|
-
Birthday
|
|
6549
|
+
Birthday?: string
|
|
6550
6550
|
|
|
6551
6551
|
/**
|
|
6552
6552
|
* 签发机关
|
|
6553
6553
|
*/
|
|
6554
|
-
IssueAuthority
|
|
6554
|
+
IssueAuthority?: string
|
|
6555
6555
|
|
|
6556
6556
|
/**
|
|
6557
6557
|
* 有效期限
|
|
6558
6558
|
*/
|
|
6559
|
-
ValidDate
|
|
6559
|
+
ValidDate?: string
|
|
6560
6560
|
|
|
6561
6561
|
/**
|
|
6562
6562
|
* 证件号
|
|
6563
6563
|
*/
|
|
6564
|
-
Number
|
|
6564
|
+
Number?: string
|
|
6565
6565
|
|
|
6566
6566
|
/**
|
|
6567
6567
|
* 签发地点
|
|
6568
6568
|
*/
|
|
6569
|
-
IssueAddress
|
|
6569
|
+
IssueAddress?: string
|
|
6570
6570
|
|
|
6571
6571
|
/**
|
|
6572
6572
|
* 签发次数
|
|
6573
6573
|
*/
|
|
6574
|
-
IssueNumber
|
|
6574
|
+
IssueNumber?: string
|
|
6575
6575
|
|
|
6576
6576
|
/**
|
|
6577
6577
|
* 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证。
|
|
6578
6578
|
*/
|
|
6579
|
-
Type
|
|
6579
|
+
Type?: string
|
|
6580
6580
|
|
|
6581
6581
|
/**
|
|
6582
6582
|
* RetProfile为True时返回头像字段, Base64编码
|
|
6583
6583
|
*/
|
|
6584
|
-
Profile
|
|
6584
|
+
Profile?: string
|
|
6585
6585
|
|
|
6586
6586
|
/**
|
|
6587
6587
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -14442,32 +14442,57 @@ export interface DescribeVulSummaryResponse {
|
|
|
14442
14442
|
/**
|
|
14443
14443
|
* 漏洞总数量
|
|
14444
14444
|
*/
|
|
14445
|
-
VulTotalCount
|
|
14445
|
+
VulTotalCount?: number
|
|
14446
14446
|
|
|
14447
14447
|
/**
|
|
14448
14448
|
* 严重及高危漏洞数量
|
|
14449
14449
|
*/
|
|
14450
|
-
SeriousVulCount
|
|
14450
|
+
SeriousVulCount?: number
|
|
14451
14451
|
|
|
14452
14452
|
/**
|
|
14453
14453
|
* 重点关注漏洞数量
|
|
14454
14454
|
*/
|
|
14455
|
-
SuggestVulCount
|
|
14455
|
+
SuggestVulCount?: number
|
|
14456
14456
|
|
|
14457
14457
|
/**
|
|
14458
14458
|
* 有Poc或者Exp的漏洞数量
|
|
14459
14459
|
*/
|
|
14460
|
-
PocExpLevelVulCount
|
|
14460
|
+
PocExpLevelVulCount?: number
|
|
14461
14461
|
|
|
14462
14462
|
/**
|
|
14463
14463
|
* 有远程Exp的漏洞数量
|
|
14464
14464
|
*/
|
|
14465
|
-
RemoteExpLevelVulCount
|
|
14465
|
+
RemoteExpLevelVulCount?: number
|
|
14466
14466
|
|
|
14467
14467
|
/**
|
|
14468
14468
|
* 受严重或高危漏洞影响的最新版本镜像数
|
|
14469
14469
|
*/
|
|
14470
|
-
SeriousVulNewestImageCount
|
|
14470
|
+
SeriousVulNewestImageCount?: number
|
|
14471
|
+
|
|
14472
|
+
/**
|
|
14473
|
+
* 系统漏洞重点关注数
|
|
14474
|
+
*/
|
|
14475
|
+
SystemVulnerabilityFocusCount?: number
|
|
14476
|
+
|
|
14477
|
+
/**
|
|
14478
|
+
* web漏洞重点关注数
|
|
14479
|
+
*/
|
|
14480
|
+
WebVulnerabilityFocusCount?: number
|
|
14481
|
+
|
|
14482
|
+
/**
|
|
14483
|
+
* 受影响本地镜像数
|
|
14484
|
+
*/
|
|
14485
|
+
SeriousVulnerabilityLocalImageCount?: number
|
|
14486
|
+
|
|
14487
|
+
/**
|
|
14488
|
+
* 受影响仓库镜像数
|
|
14489
|
+
*/
|
|
14490
|
+
SeriousVulnerabilityRegistryImageCount?: number
|
|
14491
|
+
|
|
14492
|
+
/**
|
|
14493
|
+
* 应急漏洞数量
|
|
14494
|
+
*/
|
|
14495
|
+
EmergencyVulnerabilityCount?: number
|
|
14471
14496
|
|
|
14472
14497
|
/**
|
|
14473
14498
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -231,7 +231,7 @@ networkDelay :网络延迟率。
|
|
|
231
231
|
其他使用说明如下:
|
|
232
232
|
1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。
|
|
233
233
|
2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。
|
|
234
|
-
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec
|
|
234
|
+
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐,如您有转码/非转码切换,其余参数则必须全量带齐。
|
|
235
235
|
4、发起单流旁路任务时,AudioParams和VideoParams都填写表示音视频旁路,如果仅填写AudioParams表示纯音频旁路,任务进行过程中不支持纯音频到音视频的切换。音视频旁路时,VideoParams中的Width、Height、Fps、BitRate、Gop需要按照真实上行参数填写。
|
|
236
236
|
5、更新转推任务(UpdatePublishCdnStream)必须携带SequenceNumber参数,用于防止请求乱序。客户保证对同一个任务更新时的SequenceNumber参数递增:腾讯云返回InternalError错误码时,需重试请求(不换SequenceNumber);腾讯云返回FailedOperation.OutdateRequest过期错误码时,无需处理即可。
|
|
237
237
|
6、您可以在主播进房前,提前创建转推任务,结束转推任务时需要主动调用停止接口。如果您没有调用停止转推任务接口时,腾讯云后台会按照所有参与混流的用户没有任何数据上行的时间算起,直到超过启动转推任务时设置的超时时间(AgentParams.MaxIdleTime)为止,自动停止混流转推任务。
|
|
@@ -557,7 +557,7 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
557
557
|
- 默认接口请求频率限制:1次/15秒。
|
|
558
558
|
*/
|
|
559
559
|
async DescribeTrtcRoomUsage(
|
|
560
|
-
req
|
|
560
|
+
req: DescribeTrtcRoomUsageRequest,
|
|
561
561
|
cb?: (error: string, rep: DescribeTrtcRoomUsageResponse) => void
|
|
562
562
|
): Promise<DescribeTrtcRoomUsageResponse> {
|
|
563
563
|
return this.request("DescribeTrtcRoomUsage", req, cb)
|
|
@@ -1359,6 +1359,11 @@ export interface McuLayoutParams {
|
|
|
1359
1359
|
* 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
|
|
1360
1360
|
*/
|
|
1361
1361
|
MaxVideoUser?: MaxVideoUser
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* 屏幕分享模板、悬浮模板、九宫格模版有效,画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底
|
|
1365
|
+
*/
|
|
1366
|
+
RenderMode?: number
|
|
1362
1367
|
}
|
|
1363
1368
|
|
|
1364
1369
|
/**
|
|
@@ -1598,7 +1603,7 @@ export interface StartPublishCdnStreamResponse {
|
|
|
1598
1603
|
/**
|
|
1599
1604
|
* 用于唯一标识转推任务,由腾讯云服务端生成,后续更新和停止请求都需要携带TaskiD参数。
|
|
1600
1605
|
*/
|
|
1601
|
-
TaskId
|
|
1606
|
+
TaskId?: string
|
|
1602
1607
|
|
|
1603
1608
|
/**
|
|
1604
1609
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2502,12 +2507,12 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2502
2507
|
AgentParams: AgentParams
|
|
2503
2508
|
|
|
2504
2509
|
/**
|
|
2505
|
-
* 是否转码,0表示无需转码,1
|
|
2510
|
+
* 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转吗费用。
|
|
2506
2511
|
*/
|
|
2507
2512
|
WithTranscoding: number
|
|
2508
2513
|
|
|
2509
2514
|
/**
|
|
2510
|
-
*
|
|
2515
|
+
* 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
|
|
2511
2516
|
*/
|
|
2512
2517
|
AudioParams?: McuAudioParams
|
|
2513
2518
|
|
|
@@ -2522,7 +2527,7 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2522
2527
|
SingleSubscribeParams?: SingleSubscribeParams
|
|
2523
2528
|
|
|
2524
2529
|
/**
|
|
2525
|
-
* 转推的CDN
|
|
2530
|
+
* 转推的CDN参数。和回推房间参数必须要有一个。
|
|
2526
2531
|
*/
|
|
2527
2532
|
PublishCdnParams?: Array<McuPublishCdnParam>
|
|
2528
2533
|
|
|
@@ -2532,7 +2537,7 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2532
2537
|
SeiParams?: McuSeiParams
|
|
2533
2538
|
|
|
2534
2539
|
/**
|
|
2535
|
-
*
|
|
2540
|
+
* 回推房间信息,和转推CDN参数必须要有一个。
|
|
2536
2541
|
*/
|
|
2537
2542
|
FeedBackRoomParams?: Array<McuFeedBackRoomParams>
|
|
2538
2543
|
}
|
|
@@ -2708,7 +2713,22 @@ export interface DescribePictureResponse {
|
|
|
2708
2713
|
/**
|
|
2709
2714
|
* DescribeTrtcRoomUsage请求参数结构体
|
|
2710
2715
|
*/
|
|
2711
|
-
export
|
|
2716
|
+
export interface DescribeTrtcRoomUsageRequest {
|
|
2717
|
+
/**
|
|
2718
|
+
* TRTC的SdkAppId,和房间所对应的SdkAppId相同。
|
|
2719
|
+
*/
|
|
2720
|
+
SdkAppid: number
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* 查询开始时间,格式为YYYY-MM-DD HH:MM,精确到分钟级。
|
|
2724
|
+
*/
|
|
2725
|
+
StartTime: string
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* 查询结束时间,格式为YYYY-MM-DD HH:MM,单次查询不超过24h。
|
|
2729
|
+
*/
|
|
2730
|
+
EndTime: string
|
|
2731
|
+
}
|
|
2712
2732
|
|
|
2713
2733
|
/**
|
|
2714
2734
|
* DescribeTrtcMcuTranscodeTime请求参数结构体
|
|
@@ -3080,7 +3100,7 @@ export interface UpdatePublishCdnStreamResponse {
|
|
|
3080
3100
|
/**
|
|
3081
3101
|
* 转推任务唯一的String Id
|
|
3082
3102
|
*/
|
|
3083
|
-
TaskId
|
|
3103
|
+
TaskId?: string
|
|
3084
3104
|
|
|
3085
3105
|
/**
|
|
3086
3106
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.568";
|
|
@@ -812,16 +812,16 @@ export interface DescribeVoucherInfoResponse {
|
|
|
812
812
|
/**
|
|
813
813
|
* 券总数
|
|
814
814
|
*/
|
|
815
|
-
TotalCount
|
|
815
|
+
TotalCount?: number;
|
|
816
816
|
/**
|
|
817
817
|
* 总余额(微分)
|
|
818
818
|
*/
|
|
819
|
-
TotalBalance
|
|
819
|
+
TotalBalance?: number;
|
|
820
820
|
/**
|
|
821
821
|
* 代金券相关信息
|
|
822
822
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
823
823
|
*/
|
|
824
|
-
VoucherInfos
|
|
824
|
+
VoucherInfos?: Array<VoucherInfos>;
|
|
825
825
|
/**
|
|
826
826
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
827
827
|
*/
|
|
@@ -1669,11 +1669,11 @@ export interface DescribeVoucherInfoRequest {
|
|
|
1669
1669
|
*/
|
|
1670
1670
|
VoucherName?: string;
|
|
1671
1671
|
/**
|
|
1672
|
-
*
|
|
1672
|
+
* 发放开始时间,例:2021-01-01
|
|
1673
1673
|
*/
|
|
1674
1674
|
TimeFrom?: string;
|
|
1675
1675
|
/**
|
|
1676
|
-
*
|
|
1676
|
+
* 发放结束时间,例:2021-01-01
|
|
1677
1677
|
*/
|
|
1678
1678
|
TimeTo?: string;
|
|
1679
1679
|
/**
|
|
@@ -151,7 +151,7 @@ export interface DescribeProbeMetricDataResponse {
|
|
|
151
151
|
* 返回指标 JSON 序列化后的字符串,具体如下所示:
|
|
152
152
|
"[{\"name\":\"task_navigate_request_gauge\",\"columns\":[\"time\",\"avg(first_screen_time) / 1000\"],\"values\":[[1641571200,6.756600000000001]],\"tags\":null}]"
|
|
153
153
|
*/
|
|
154
|
-
MetricSet
|
|
154
|
+
MetricSet?: string;
|
|
155
155
|
/**
|
|
156
156
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
157
157
|
*/
|
|
@@ -284,11 +284,11 @@ export interface DescribeDetailedSingleProbeDataResponse {
|
|
|
284
284
|
/**
|
|
285
285
|
* 单次详情数据
|
|
286
286
|
*/
|
|
287
|
-
DataSet
|
|
287
|
+
DataSet?: Array<DetailedSingleDataDefine>;
|
|
288
288
|
/**
|
|
289
289
|
* 符合条件的数据总数
|
|
290
290
|
*/
|
|
291
|
-
TotalNumber
|
|
291
|
+
TotalNumber?: number;
|
|
292
292
|
/**
|
|
293
293
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
294
294
|
*/
|
|
@@ -359,7 +359,7 @@ export interface DescribeProbeNodesResponse {
|
|
|
359
359
|
* 节点列表
|
|
360
360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
361
361
|
*/
|
|
362
|
-
NodeSet
|
|
362
|
+
NodeSet?: Array<NodeDefine>;
|
|
363
363
|
/**
|
|
364
364
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
365
365
|
*/
|
|
@@ -355,19 +355,27 @@ export interface DescribeTelCallInfoResponse {
|
|
|
355
355
|
/**
|
|
356
356
|
* 呼出套餐包消耗分钟数
|
|
357
357
|
*/
|
|
358
|
-
TelCallOutCount
|
|
358
|
+
TelCallOutCount?: number;
|
|
359
359
|
/**
|
|
360
360
|
* 呼入套餐包消耗分钟数
|
|
361
361
|
*/
|
|
362
|
-
TelCallInCount
|
|
362
|
+
TelCallInCount?: number;
|
|
363
363
|
/**
|
|
364
364
|
* 坐席使用统计个数
|
|
365
365
|
*/
|
|
366
|
-
SeatUsedCount
|
|
366
|
+
SeatUsedCount?: number;
|
|
367
367
|
/**
|
|
368
368
|
* 音频套餐包消耗分钟数
|
|
369
369
|
*/
|
|
370
|
-
VoipCallInCount
|
|
370
|
+
VoipCallInCount?: number;
|
|
371
|
+
/**
|
|
372
|
+
* 离线语音转文字套餐包消耗分钟数
|
|
373
|
+
*/
|
|
374
|
+
AsrOfflineCount?: number;
|
|
375
|
+
/**
|
|
376
|
+
* 实时语音转文字套餐包消耗分钟数
|
|
377
|
+
*/
|
|
378
|
+
AsrRealtimeCount?: number;
|
|
371
379
|
/**
|
|
372
380
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
373
381
|
*/
|
|
@@ -726,6 +726,10 @@ export interface DescribeDBInstancesRequest {
|
|
|
726
726
|
* 数据库代理 ID 。
|
|
727
727
|
*/
|
|
728
728
|
ProxyIds?: Array<string>;
|
|
729
|
+
/**
|
|
730
|
+
* 数据库引擎类型。
|
|
731
|
+
*/
|
|
732
|
+
EngineTypes?: Array<string>;
|
|
729
733
|
}
|
|
730
734
|
/**
|
|
731
735
|
* 表名
|
|
@@ -3474,11 +3478,11 @@ export interface DescribeDBInstancesResponse {
|
|
|
3474
3478
|
/**
|
|
3475
3479
|
* 符合查询条件的实例总数。
|
|
3476
3480
|
*/
|
|
3477
|
-
TotalCount
|
|
3481
|
+
TotalCount?: number;
|
|
3478
3482
|
/**
|
|
3479
3483
|
* 实例详细信息列表。
|
|
3480
3484
|
*/
|
|
3481
|
-
Items
|
|
3485
|
+
Items?: Array<InstanceInfo>;
|
|
3482
3486
|
/**
|
|
3483
3487
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3484
3488
|
*/
|
|
@@ -5422,6 +5426,10 @@ export interface InstanceInfo {
|
|
|
5422
5426
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5423
5427
|
*/
|
|
5424
5428
|
MaxDelayTime: number;
|
|
5429
|
+
/**
|
|
5430
|
+
* 实例磁盘类型,仅云盘版实例才返回该值。可能的值为 CLOUD_SSD:SSD云硬盘, CLOUD_HSSD:增强型SSD云硬盘
|
|
5431
|
+
*/
|
|
5432
|
+
DiskType: string;
|
|
5425
5433
|
}
|
|
5426
5434
|
/**
|
|
5427
5435
|
* DescribeDefaultParams返回参数结构体
|
|
@@ -6551,11 +6559,11 @@ export interface DescribeTasksResponse {
|
|
|
6551
6559
|
/**
|
|
6552
6560
|
* 符合查询条件的实例总数。
|
|
6553
6561
|
*/
|
|
6554
|
-
TotalCount
|
|
6562
|
+
TotalCount?: number;
|
|
6555
6563
|
/**
|
|
6556
6564
|
* 返回的实例任务信息。
|
|
6557
6565
|
*/
|
|
6558
|
-
Items
|
|
6566
|
+
Items?: Array<TaskDetail>;
|
|
6559
6567
|
/**
|
|
6560
6568
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6561
6569
|
*/
|