tencentcloud-sdk-nodejs 4.0.339 → 4.0.340
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 +103 -0
- package/SERVICE_CHANGELOG.md +136 -44
- package/package.json +1 -1
- package/products.md +9 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/index.ts +5 -0
- package/src/services/bi/v20220105/bi_client.ts +57 -0
- package/src/services/bi/v20220105/bi_models.ts +214 -0
- package/src/services/bi/v20220105/index.ts +6 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +40 -0
- package/src/services/ess/v20201111/ess_models.ts +26 -8
- package/src/services/gaap/v20180529/gaap_client.ts +68 -28
- package/src/services/gaap/v20180529/gaap_models.ts +280 -68
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +7 -15
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +6 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/index.d.ts +6 -0
- package/tencentcloud/services/bi/index.js +7 -0
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +18 -0
- package/tencentcloud/services/bi/v20220105/bi_client.js +43 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +168 -0
- package/tencentcloud/services/bi/v20220105/bi_models.js +18 -0
- package/tencentcloud/services/bi/v20220105/index.d.ts +6 -0
- package/tencentcloud/services/bi/v20220105/index.js +9 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +34 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +23 -7
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +21 -9
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +30 -12
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +245 -60
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -15
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -0
- package/test/bi.v20220105.test.js +41 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/gaap.v20180529.test.js +44 -14
|
@@ -38,6 +38,15 @@ export interface RegionDetail {
|
|
|
38
38
|
*/
|
|
39
39
|
FeatureBitmap: number;
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* 网络加速的目标地址信息
|
|
43
|
+
*/
|
|
44
|
+
export interface DestAddressInfo {
|
|
45
|
+
/**
|
|
46
|
+
* 加速的目标IP,可多ip一起加速
|
|
47
|
+
*/
|
|
48
|
+
DestIp: Array<string>;
|
|
49
|
+
}
|
|
41
50
|
/**
|
|
42
51
|
* DescribeUDPListeners请求参数结构体
|
|
43
52
|
*/
|
|
@@ -433,6 +442,15 @@ export interface DescribeHTTPListenersRequest {
|
|
|
433
442
|
*/
|
|
434
443
|
GroupId?: string;
|
|
435
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* BindListenerRealServers返回参数结构体
|
|
447
|
+
*/
|
|
448
|
+
export interface BindListenerRealServersResponse {
|
|
449
|
+
/**
|
|
450
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
451
|
+
*/
|
|
452
|
+
RequestId?: string;
|
|
453
|
+
}
|
|
436
454
|
/**
|
|
437
455
|
* DescribeCustomHeader返回参数结构体
|
|
438
456
|
*/
|
|
@@ -599,23 +617,6 @@ export interface DescribeHTTPSListenersRequest {
|
|
|
599
617
|
*/
|
|
600
618
|
Http3Supported?: number;
|
|
601
619
|
}
|
|
602
|
-
/**
|
|
603
|
-
* DescribeAccessRegionsByDestRegion返回参数结构体
|
|
604
|
-
*/
|
|
605
|
-
export interface DescribeAccessRegionsByDestRegionResponse {
|
|
606
|
-
/**
|
|
607
|
-
* 可用加速区域数量
|
|
608
|
-
*/
|
|
609
|
-
TotalCount: number;
|
|
610
|
-
/**
|
|
611
|
-
* 可用加速区域信息列表
|
|
612
|
-
*/
|
|
613
|
-
AccessRegionSet: Array<AccessRegionDetial>;
|
|
614
|
-
/**
|
|
615
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
616
|
-
*/
|
|
617
|
-
RequestId?: string;
|
|
618
|
-
}
|
|
619
620
|
/**
|
|
620
621
|
* DescribeCountryAreaMapping请求参数结构体
|
|
621
622
|
*/
|
|
@@ -796,36 +797,13 @@ export interface BindListenerRealServersRequest {
|
|
|
796
797
|
RealServerBindSet?: Array<RealServerBindSetReq>;
|
|
797
798
|
}
|
|
798
799
|
/**
|
|
799
|
-
*
|
|
800
|
+
* DeleteDomainErrorPageInfo返回参数结构体
|
|
800
801
|
*/
|
|
801
|
-
export interface
|
|
802
|
-
/**
|
|
803
|
-
* (旧参数,请切换到ProxyId)通道的实例ID。
|
|
804
|
-
*/
|
|
805
|
-
InstanceId?: string;
|
|
806
|
-
/**
|
|
807
|
-
* 需要调整到的目标带宽,单位:Mbps。
|
|
808
|
-
Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
|
|
809
|
-
*/
|
|
810
|
-
Bandwidth?: number;
|
|
811
|
-
/**
|
|
812
|
-
* 需要调整到的目标并发值,单位:万。
|
|
813
|
-
Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
|
|
814
|
-
*/
|
|
815
|
-
Concurrent?: number;
|
|
816
|
-
/**
|
|
817
|
-
* 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
818
|
-
更多详细信息请参阅:如何保证幂等性。
|
|
819
|
-
*/
|
|
820
|
-
ClientToken?: string;
|
|
821
|
-
/**
|
|
822
|
-
* (新参数)通道的实例ID。
|
|
823
|
-
*/
|
|
824
|
-
ProxyId?: string;
|
|
802
|
+
export interface DeleteDomainErrorPageInfoResponse {
|
|
825
803
|
/**
|
|
826
|
-
*
|
|
804
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
827
805
|
*/
|
|
828
|
-
|
|
806
|
+
RequestId?: string;
|
|
829
807
|
}
|
|
830
808
|
/**
|
|
831
809
|
* DescribeRuleRealServers请求参数结构体
|
|
@@ -1108,17 +1086,29 @@ export interface DeleteDomainRequest {
|
|
|
1108
1086
|
Force: number;
|
|
1109
1087
|
}
|
|
1110
1088
|
/**
|
|
1111
|
-
*
|
|
1089
|
+
* CreateFirstLinkSession请求参数结构体
|
|
1112
1090
|
*/
|
|
1113
|
-
export interface
|
|
1091
|
+
export interface CreateFirstLinkSessionRequest {
|
|
1114
1092
|
/**
|
|
1115
|
-
*
|
|
1093
|
+
* 模版ID
|
|
1116
1094
|
*/
|
|
1117
|
-
|
|
1095
|
+
TemplateId: string;
|
|
1118
1096
|
/**
|
|
1119
|
-
*
|
|
1097
|
+
* 终端网络信息
|
|
1120
1098
|
*/
|
|
1121
|
-
|
|
1099
|
+
SrcAddressInfo: SrcAddressInfo;
|
|
1100
|
+
/**
|
|
1101
|
+
* 加速目标网络信息
|
|
1102
|
+
*/
|
|
1103
|
+
DestAddressInfo: DestAddressInfo;
|
|
1104
|
+
/**
|
|
1105
|
+
* 终端设备信息
|
|
1106
|
+
*/
|
|
1107
|
+
DeviceInfo?: DeviceInfo;
|
|
1108
|
+
/**
|
|
1109
|
+
* 接口扩展参数,如果是电信用户,需要填充CTCC Token字段
|
|
1110
|
+
*/
|
|
1111
|
+
Capacity?: Capacity;
|
|
1122
1112
|
}
|
|
1123
1113
|
/**
|
|
1124
1114
|
* ModifyCertificateAttributes返回参数结构体
|
|
@@ -1414,6 +1404,15 @@ export interface DescribeRealServerStatisticsRequest {
|
|
|
1414
1404
|
*/
|
|
1415
1405
|
Granularity?: number;
|
|
1416
1406
|
}
|
|
1407
|
+
/**
|
|
1408
|
+
* DeleteFirstLinkSession请求参数结构体
|
|
1409
|
+
*/
|
|
1410
|
+
export interface DeleteFirstLinkSessionRequest {
|
|
1411
|
+
/**
|
|
1412
|
+
* 单次加速唯一会话Id
|
|
1413
|
+
*/
|
|
1414
|
+
SessionId: string;
|
|
1415
|
+
}
|
|
1417
1416
|
/**
|
|
1418
1417
|
* 添加源站的源站信息返回值
|
|
1419
1418
|
*/
|
|
@@ -1587,9 +1586,17 @@ concurrent_connections:依据通道并发排序;
|
|
|
1587
1586
|
OrderField?: string;
|
|
1588
1587
|
}
|
|
1589
1588
|
/**
|
|
1590
|
-
*
|
|
1589
|
+
* DescribeAccessRegionsByDestRegion返回参数结构体
|
|
1591
1590
|
*/
|
|
1592
|
-
export interface
|
|
1591
|
+
export interface DescribeAccessRegionsByDestRegionResponse {
|
|
1592
|
+
/**
|
|
1593
|
+
* 可用加速区域数量
|
|
1594
|
+
*/
|
|
1595
|
+
TotalCount: number;
|
|
1596
|
+
/**
|
|
1597
|
+
* 可用加速区域信息列表
|
|
1598
|
+
*/
|
|
1599
|
+
AccessRegionSet: Array<AccessRegionDetial>;
|
|
1593
1600
|
/**
|
|
1594
1601
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1595
1602
|
*/
|
|
@@ -2062,17 +2069,36 @@ export interface ModifyCertificateAttributesRequest {
|
|
|
2062
2069
|
CertificateAlias?: string;
|
|
2063
2070
|
}
|
|
2064
2071
|
/**
|
|
2065
|
-
*
|
|
2072
|
+
* ModifyProxyConfiguration请求参数结构体
|
|
2066
2073
|
*/
|
|
2067
|
-
export interface
|
|
2074
|
+
export interface ModifyProxyConfigurationRequest {
|
|
2068
2075
|
/**
|
|
2069
|
-
*
|
|
2076
|
+
* (旧参数,请切换到ProxyId)通道的实例ID。
|
|
2070
2077
|
*/
|
|
2071
|
-
|
|
2078
|
+
InstanceId?: string;
|
|
2072
2079
|
/**
|
|
2073
|
-
*
|
|
2080
|
+
* 需要调整到的目标带宽,单位:Mbps。
|
|
2081
|
+
Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
|
|
2074
2082
|
*/
|
|
2075
|
-
|
|
2083
|
+
Bandwidth?: number;
|
|
2084
|
+
/**
|
|
2085
|
+
* 需要调整到的目标并发值,单位:万。
|
|
2086
|
+
Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
|
|
2087
|
+
*/
|
|
2088
|
+
Concurrent?: number;
|
|
2089
|
+
/**
|
|
2090
|
+
* 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
2091
|
+
更多详细信息请参阅:如何保证幂等性。
|
|
2092
|
+
*/
|
|
2093
|
+
ClientToken?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* (新参数)通道的实例ID。
|
|
2096
|
+
*/
|
|
2097
|
+
ProxyId?: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费)
|
|
2100
|
+
*/
|
|
2101
|
+
BillingType?: number;
|
|
2076
2102
|
}
|
|
2077
2103
|
/**
|
|
2078
2104
|
* CreateSecurityRules请求参数结构体
|
|
@@ -2445,6 +2471,19 @@ MOVING表示通道迁移中。
|
|
|
2445
2471
|
*/
|
|
2446
2472
|
Http3Supported: number;
|
|
2447
2473
|
}
|
|
2474
|
+
/**
|
|
2475
|
+
* 接口扩展参数
|
|
2476
|
+
*/
|
|
2477
|
+
export interface Capacity {
|
|
2478
|
+
/**
|
|
2479
|
+
* 电信鉴权的Token
|
|
2480
|
+
*/
|
|
2481
|
+
CTCCToken?: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* 终端所处在的省份,建议不填写由服务端自动获取,若需填写请填写带有省、市、自治区、特别行政区等后缀的省份中文全称
|
|
2484
|
+
*/
|
|
2485
|
+
Province?: string;
|
|
2486
|
+
}
|
|
2448
2487
|
/**
|
|
2449
2488
|
* CreateProxyGroupDomain返回参数结构体
|
|
2450
2489
|
*/
|
|
@@ -3249,6 +3288,46 @@ export interface NewRealServer {
|
|
|
3249
3288
|
*/
|
|
3250
3289
|
RealServerIP: string;
|
|
3251
3290
|
}
|
|
3291
|
+
/**
|
|
3292
|
+
* DescribeFirstLinkSession返回参数结构体
|
|
3293
|
+
*/
|
|
3294
|
+
export interface DescribeFirstLinkSessionResponse {
|
|
3295
|
+
/**
|
|
3296
|
+
* 会话状态,具体如下:
|
|
3297
|
+
1: 加速中;
|
|
3298
|
+
0: 非加速中。
|
|
3299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3300
|
+
*/
|
|
3301
|
+
Status: number;
|
|
3302
|
+
/**
|
|
3303
|
+
* 剩余加速时间,单位秒。
|
|
3304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3305
|
+
*/
|
|
3306
|
+
Duration: number;
|
|
3307
|
+
/**
|
|
3308
|
+
* 加速套餐类型。
|
|
3309
|
+
套餐说明如下:
|
|
3310
|
+
T100K:上/下行保障100kbps;
|
|
3311
|
+
BD4M:下行带宽保障4Mbps;
|
|
3312
|
+
BU4M:上行带宽保障4Mbps。
|
|
3313
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3314
|
+
*/
|
|
3315
|
+
SuiteType: string;
|
|
3316
|
+
/**
|
|
3317
|
+
* 加速终端的公网ip
|
|
3318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3319
|
+
*/
|
|
3320
|
+
SrcPublicIpv4: string;
|
|
3321
|
+
/**
|
|
3322
|
+
* 加速目标ip
|
|
3323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3324
|
+
*/
|
|
3325
|
+
DestIpv4: Array<string>;
|
|
3326
|
+
/**
|
|
3327
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3328
|
+
*/
|
|
3329
|
+
RequestId?: string;
|
|
3330
|
+
}
|
|
3252
3331
|
/**
|
|
3253
3332
|
* DescribeHTTPListeners返回参数结构体
|
|
3254
3333
|
*/
|
|
@@ -3526,6 +3605,25 @@ export interface SecurityPolicyRuleOut {
|
|
|
3526
3605
|
*/
|
|
3527
3606
|
PolicyId: string;
|
|
3528
3607
|
}
|
|
3608
|
+
/**
|
|
3609
|
+
* CreateFirstLinkSession返回参数结构体
|
|
3610
|
+
*/
|
|
3611
|
+
export interface CreateFirstLinkSessionResponse {
|
|
3612
|
+
/**
|
|
3613
|
+
* 加速成功时返回,单次加速唯一会话Id。。
|
|
3614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3615
|
+
*/
|
|
3616
|
+
SessionId: string;
|
|
3617
|
+
/**
|
|
3618
|
+
* 剩余的加速时间,单位秒。
|
|
3619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3620
|
+
*/
|
|
3621
|
+
Duration: number;
|
|
3622
|
+
/**
|
|
3623
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3624
|
+
*/
|
|
3625
|
+
RequestId?: string;
|
|
3626
|
+
}
|
|
3529
3627
|
/**
|
|
3530
3628
|
* 已绑定的源站信息
|
|
3531
3629
|
*/
|
|
@@ -3577,6 +3675,19 @@ export interface GroupStatisticsInfo {
|
|
|
3577
3675
|
*/
|
|
3578
3676
|
ProxySet: Array<ProxySimpleInfo>;
|
|
3579
3677
|
}
|
|
3678
|
+
/**
|
|
3679
|
+
* 标签键值对
|
|
3680
|
+
*/
|
|
3681
|
+
export interface TagPair {
|
|
3682
|
+
/**
|
|
3683
|
+
* 标签键
|
|
3684
|
+
*/
|
|
3685
|
+
TagKey: string;
|
|
3686
|
+
/**
|
|
3687
|
+
* 标签值
|
|
3688
|
+
*/
|
|
3689
|
+
TagValue: string;
|
|
3690
|
+
}
|
|
3580
3691
|
/**
|
|
3581
3692
|
* CreateProxyGroup返回参数结构体
|
|
3582
3693
|
*/
|
|
@@ -3612,6 +3723,15 @@ export interface DeleteRuleResponse {
|
|
|
3612
3723
|
*/
|
|
3613
3724
|
RequestId?: string;
|
|
3614
3725
|
}
|
|
3726
|
+
/**
|
|
3727
|
+
* DescribeFirstLinkSession请求参数结构体
|
|
3728
|
+
*/
|
|
3729
|
+
export interface DescribeFirstLinkSessionRequest {
|
|
3730
|
+
/**
|
|
3731
|
+
* 单次加速唯一会话Id
|
|
3732
|
+
*/
|
|
3733
|
+
SessionId: string;
|
|
3734
|
+
}
|
|
3615
3735
|
/**
|
|
3616
3736
|
* BindRuleRealServers返回参数结构体
|
|
3617
3737
|
*/
|
|
@@ -3630,6 +3750,19 @@ export interface DescribeGroupAndStatisticsProxyRequest {
|
|
|
3630
3750
|
*/
|
|
3631
3751
|
ProjectId: number;
|
|
3632
3752
|
}
|
|
3753
|
+
/**
|
|
3754
|
+
* 网络加速的原地址信息
|
|
3755
|
+
*/
|
|
3756
|
+
export interface SrcAddressInfo {
|
|
3757
|
+
/**
|
|
3758
|
+
* 内网Ip4地址
|
|
3759
|
+
*/
|
|
3760
|
+
SrcIpv4: string;
|
|
3761
|
+
/**
|
|
3762
|
+
* 公网Ip4地址
|
|
3763
|
+
*/
|
|
3764
|
+
SrcPublicIpv4: string;
|
|
3765
|
+
}
|
|
3633
3766
|
/**
|
|
3634
3767
|
* ModifyUDPListenerAttribute请求参数结构体
|
|
3635
3768
|
*/
|
|
@@ -4063,9 +4196,9 @@ export interface CloseProxyGroupResponse {
|
|
|
4063
4196
|
RequestId?: string;
|
|
4064
4197
|
}
|
|
4065
4198
|
/**
|
|
4066
|
-
*
|
|
4199
|
+
* DeleteFirstLinkSession返回参数结构体
|
|
4067
4200
|
*/
|
|
4068
|
-
export interface
|
|
4201
|
+
export interface DeleteFirstLinkSessionResponse {
|
|
4069
4202
|
/**
|
|
4070
4203
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4071
4204
|
*/
|
|
@@ -4448,6 +4581,45 @@ export interface OpenProxyGroupRequest {
|
|
|
4448
4581
|
*/
|
|
4449
4582
|
GroupId: string;
|
|
4450
4583
|
}
|
|
4584
|
+
/**
|
|
4585
|
+
* 终端设备信息
|
|
4586
|
+
*/
|
|
4587
|
+
export interface DeviceInfo {
|
|
4588
|
+
/**
|
|
4589
|
+
* 设备数据卡所属的运营商
|
|
4590
|
+
1:移动
|
|
4591
|
+
2:电信
|
|
4592
|
+
3:联通
|
|
4593
|
+
4:广电
|
|
4594
|
+
99:其他
|
|
4595
|
+
*/
|
|
4596
|
+
Vendor?: number;
|
|
4597
|
+
/**
|
|
4598
|
+
* 设备操作系统
|
|
4599
|
+
1:Android
|
|
4600
|
+
2: IOS
|
|
4601
|
+
99:其他
|
|
4602
|
+
*/
|
|
4603
|
+
OS?: number;
|
|
4604
|
+
/**
|
|
4605
|
+
* 设备唯一标识
|
|
4606
|
+
IOS 填写 IDFV
|
|
4607
|
+
Android 填写 IMEI
|
|
4608
|
+
*/
|
|
4609
|
+
DeviceId?: string;
|
|
4610
|
+
/**
|
|
4611
|
+
* 用户手机号码
|
|
4612
|
+
*/
|
|
4613
|
+
PhoneNum?: string;
|
|
4614
|
+
/**
|
|
4615
|
+
* 无线信息
|
|
4616
|
+
1:4G
|
|
4617
|
+
2:5G
|
|
4618
|
+
3:WIFI
|
|
4619
|
+
99:其他
|
|
4620
|
+
*/
|
|
4621
|
+
Wireless?: number;
|
|
4622
|
+
}
|
|
4451
4623
|
/**
|
|
4452
4624
|
* UDP类型监听器信息
|
|
4453
4625
|
*/
|
|
@@ -4701,6 +4873,19 @@ export interface DescribeRulesByRuleIdsRequest {
|
|
|
4701
4873
|
*/
|
|
4702
4874
|
RuleIds: Array<string>;
|
|
4703
4875
|
}
|
|
4876
|
+
/**
|
|
4877
|
+
* OpenSecurityPolicy返回参数结构体
|
|
4878
|
+
*/
|
|
4879
|
+
export interface OpenSecurityPolicyResponse {
|
|
4880
|
+
/**
|
|
4881
|
+
* 异步流程ID,可以通过DescribeAsyncTaskStatus接口查询流程运行状态
|
|
4882
|
+
*/
|
|
4883
|
+
TaskId: string;
|
|
4884
|
+
/**
|
|
4885
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4886
|
+
*/
|
|
4887
|
+
RequestId?: string;
|
|
4888
|
+
}
|
|
4704
4889
|
/**
|
|
4705
4890
|
* 绑定的源站信息
|
|
4706
4891
|
*/
|
|
@@ -17,6 +17,7 @@ export { asw } from "./asw";
|
|
|
17
17
|
export { ba } from "./ba";
|
|
18
18
|
export { batch } from "./batch";
|
|
19
19
|
export { bda } from "./bda";
|
|
20
|
+
export { bi } from "./bi";
|
|
20
21
|
export { billing } from "./billing";
|
|
21
22
|
export { bizlive } from "./bizlive";
|
|
22
23
|
export { bm } from "./bm";
|
|
@@ -38,6 +38,8 @@ var batch_1 = require("./batch");
|
|
|
38
38
|
Object.defineProperty(exports, "batch", { enumerable: true, get: function () { return batch_1.batch; } });
|
|
39
39
|
var bda_1 = require("./bda");
|
|
40
40
|
Object.defineProperty(exports, "bda", { enumerable: true, get: function () { return bda_1.bda; } });
|
|
41
|
+
var bi_1 = require("./bi");
|
|
42
|
+
Object.defineProperty(exports, "bi", { enumerable: true, get: function () { return bi_1.bi; } });
|
|
41
43
|
var billing_1 = require("./billing");
|
|
42
44
|
Object.defineProperty(exports, "billing", { enumerable: true, get: function () { return billing_1.billing; } });
|
|
43
45
|
var bizlive_1 = require("./bizlive");
|
|
@@ -8,7 +8,7 @@ import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DeleteFenceBind
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
* 本接口(GetCOSURL
|
|
11
|
+
* 本接口(GetCOSURL)用于获取固件COS存储的上传请求URL地址
|
|
12
12
|
*/
|
|
13
13
|
GetCOSURL(req: GetCOSURLRequest, cb?: (error: string, rep: GetCOSURLResponse) => void): Promise<GetCOSURLResponse>;
|
|
14
14
|
/**
|
|
@@ -212,7 +212,7 @@ export declare class Client extends AbstractClient {
|
|
|
212
212
|
*/
|
|
213
213
|
CreateTopicPolicy(req: CreateTopicPolicyRequest, cb?: (error: string, rep: CreateTopicPolicyResponse) => void): Promise<CreateTopicPolicyResponse>;
|
|
214
214
|
/**
|
|
215
|
-
* 本接口(UploadFirmware
|
|
215
|
+
* 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
216
216
|
*/
|
|
217
217
|
UploadFirmware(req: UploadFirmwareRequest, cb?: (error: string, rep: UploadFirmwareResponse) => void): Promise<UploadFirmwareResponse>;
|
|
218
218
|
/**
|
|
@@ -28,7 +28,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("iotexplorer.tencentcloudapi.com", "2019-04-23", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* 本接口(GetCOSURL
|
|
31
|
+
* 本接口(GetCOSURL)用于获取固件COS存储的上传请求URL地址
|
|
32
32
|
*/
|
|
33
33
|
async GetCOSURL(req, cb) {
|
|
34
34
|
return this.request("GetCOSURL", req, cb);
|
|
@@ -334,7 +334,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
334
334
|
return this.request("CreateTopicPolicy", req, cb);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* 本接口(UploadFirmware
|
|
337
|
+
* 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
338
338
|
*/
|
|
339
339
|
async UploadFirmware(req, cb) {
|
|
340
340
|
return this.request("UploadFirmware", req, cb);
|
|
@@ -550,7 +550,7 @@ export declare class Client extends AbstractClient {
|
|
|
550
550
|
*/
|
|
551
551
|
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
552
552
|
/**
|
|
553
|
-
*
|
|
553
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
554
554
|
*/
|
|
555
555
|
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
|
556
556
|
/**
|
|
@@ -704,7 +704,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
704
704
|
return this.request("MixedInvoiceOCR", req, cb);
|
|
705
705
|
}
|
|
706
706
|
/**
|
|
707
|
-
*
|
|
707
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
708
708
|
*/
|
|
709
709
|
async RecognizeHealthCodeOCR(req, cb) {
|
|
710
710
|
return this.request("RecognizeHealthCodeOCR", req, cb);
|
|
@@ -3876,14 +3876,6 @@ export interface RecognizeHealthCodeOCRRequest {
|
|
|
3876
3876
|
/**
|
|
3877
3877
|
* 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
3878
3878
|
0:自动识别
|
|
3879
|
-
|
|
3880
|
-
1:粤康码
|
|
3881
|
-
|
|
3882
|
-
2:随申码
|
|
3883
|
-
|
|
3884
|
-
3:健康宝
|
|
3885
|
-
|
|
3886
|
-
4.穗康码
|
|
3887
3879
|
*/
|
|
3888
3880
|
Type?: number;
|
|
3889
3881
|
}
|
|
@@ -4069,31 +4061,31 @@ export interface DutyPaidProofOCRRequest {
|
|
|
4069
4061
|
*/
|
|
4070
4062
|
export interface RecognizeHealthCodeOCRResponse {
|
|
4071
4063
|
/**
|
|
4072
|
-
*
|
|
4064
|
+
* 持码人姓名,如:王*(允许返回空值)
|
|
4073
4065
|
*/
|
|
4074
4066
|
Name: string;
|
|
4075
4067
|
/**
|
|
4076
|
-
* 持码人身份证号,如:11**************01
|
|
4068
|
+
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
4077
4069
|
*/
|
|
4078
4070
|
IDNumber: string;
|
|
4079
4071
|
/**
|
|
4080
|
-
*
|
|
4072
|
+
* 健康码更新时间(允许返回空值)
|
|
4081
4073
|
*/
|
|
4082
4074
|
Time: string;
|
|
4083
4075
|
/**
|
|
4084
|
-
*
|
|
4076
|
+
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
4085
4077
|
*/
|
|
4086
4078
|
Color: string;
|
|
4087
4079
|
/**
|
|
4088
|
-
*
|
|
4080
|
+
* 核酸检测间隔时长(允许返回空值)
|
|
4089
4081
|
*/
|
|
4090
4082
|
TestingInterval: string;
|
|
4091
4083
|
/**
|
|
4092
|
-
*
|
|
4084
|
+
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
4093
4085
|
*/
|
|
4094
4086
|
TestingResult: string;
|
|
4095
4087
|
/**
|
|
4096
|
-
*
|
|
4088
|
+
* 核酸检测时间(允许返回空值)
|
|
4097
4089
|
*/
|
|
4098
4090
|
TestingTime: string;
|
|
4099
4091
|
/**
|
|
@@ -1028,7 +1028,7 @@ export interface PresetLayoutConfig {
|
|
|
1028
1028
|
*/
|
|
1029
1029
|
MixInputType?: number;
|
|
1030
1030
|
/**
|
|
1031
|
-
* 占位图ID
|
|
1031
|
+
* 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769
|
|
1032
1032
|
*/
|
|
1033
1033
|
PlaceImageId?: number;
|
|
1034
1034
|
}
|
|
@@ -4585,6 +4585,11 @@ export interface ContainerGroupDeploy {
|
|
|
4585
4585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4586
4586
|
*/
|
|
4587
4587
|
KubeInjectEnable: boolean;
|
|
4588
|
+
/**
|
|
4589
|
+
* 仓库类型 (person, tcr)
|
|
4590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4591
|
+
*/
|
|
4592
|
+
RepoType: string;
|
|
4588
4593
|
}
|
|
4589
4594
|
/**
|
|
4590
4595
|
* Tsf命名空间分页对象
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.bi.v20220105.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("bi.v20220105.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("bi.v20220105.CreateEmbedToken", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateEmbedToken({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ApplyEmbedInterval({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
})
|
|
@@ -68,6 +68,16 @@ it("ckafka.v20190819.DescribeTopicSubscribeGroup", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("ckafka.v20190819.ModifyInstancePre", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyInstancePre({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("ckafka.v20190819.BatchModifyTopicAttributes", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.BatchModifyTopicAttributes({})
|