tencentcloud-sdk-nodejs 4.0.272 → 4.0.276
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 +755 -0
- package/SERVICE_CHANGELOG.md +673 -179
- package/package.json +1 -1
- package/products.md +41 -41
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +143 -87
- package/src/services/ame/v20190916/ame_models.ts +363 -43
- package/src/services/antiddos/v20200309/antiddos_client.ts +80 -16
- package/src/services/antiddos/v20200309/antiddos_models.ts +305 -19
- package/src/services/api/v20201106/api_client.ts +2 -2
- package/src/services/api/v20201106/api_models.ts +2 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +35 -0
- package/src/services/apm/v20210622/apm_client.ts +19 -1
- package/src/services/apm/v20210622/apm_models.ts +200 -8
- package/src/services/as/v20180419/as_models.ts +7 -8
- package/src/services/cat/v20180409/cat_models.ts +5 -0
- package/src/services/cbs/v20170312/cbs_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +5 -5
- package/src/services/cdb/v20170320/cdb_client.ts +468 -275
- package/src/services/cdb/v20170320/cdb_models.ts +4840 -3856
- package/src/services/cdn/v20180606/cdn_models.ts +7 -5
- package/src/services/cfw/v20190904/cfw_client.ts +13 -1
- package/src/services/cfw/v20190904/cfw_models.ts +25 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +32 -4
- package/src/services/clb/v20180317/clb_client.ts +9 -6
- package/src/services/clb/v20180317/clb_models.ts +10 -5
- package/src/services/cls/v20201016/cls_models.ts +4 -4
- package/src/services/cpdp/v20190820/cpdp_models.ts +9 -9
- package/src/services/cvm/v20170312/cvm_client.ts +14 -0
- package/src/services/cvm/v20170312/cvm_models.ts +35 -0
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +1 -1
- package/src/services/ecdn/v20191012/ecdn_client.ts +40 -20
- package/src/services/ecdn/v20191012/ecdn_models.ts +18 -12
- package/src/services/eiam/v20210420/eiam_models.ts +7 -1
- package/src/services/eis/v20210601/eis_models.ts +25 -0
- package/src/services/emr/v20190103/emr_client.ts +2 -0
- package/src/services/emr/v20190103/emr_models.ts +45 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/gme/v20180711/gme_models.ts +13 -2
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +27 -14
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +35 -0
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +3 -1
- package/src/services/ocr/v20181119/ocr_models.ts +25 -15
- package/src/services/organization/v20210331/organization_client.ts +1 -0
- package/src/services/organization/v20210331/organization_models.ts +52 -1
- package/src/services/redis/v20180412/redis_client.ts +43 -7
- package/src/services/redis/v20180412/redis_models.ts +111 -1
- package/src/services/rum/v20210622/rum_client.ts +36 -12
- package/src/services/rum/v20210622/rum_models.ts +489 -219
- package/src/services/ses/v20201002/ses_client.ts +152 -102
- package/src/services/ses/v20201002/ses_models.ts +294 -13
- package/src/services/ssl/v20191205/ssl_models.ts +5 -0
- package/src/services/tcb/v20180608/tcb_models.ts +11 -0
- package/src/services/tcss/v20201101/tcss_models.ts +20 -8
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +10 -0
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +5 -0
- package/src/services/tts/v20190823/tts_models.ts +8 -10
- package/src/services/vpc/v20170312/vpc_models.ts +13 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +49 -33
- package/tencentcloud/services/ame/v20190916/ame_client.js +72 -48
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +316 -39
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +25 -5
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +36 -6
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +261 -18
- package/tencentcloud/services/api/v20201106/api_client.d.ts +2 -2
- package/tencentcloud/services/api/v20201106/api_client.js +2 -2
- package/tencentcloud/services/api/v20201106/api_models.d.ts +2 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +28 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +171 -8
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -8
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +4 -0
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +5 -5
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +73 -13
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +108 -18
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4388 -3546
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -5
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +6 -2
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +7 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +22 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +27 -4
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +3 -0
- package/tencentcloud/services/clb/v20180317/clb_client.js +3 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +9 -5
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +9 -9
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +7 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +8 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +30 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +20 -0
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +20 -0
- package/tencentcloud/services/ecdn/v20191012/ecdn_models.d.ts +17 -12
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +6 -1
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +20 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +38 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +11 -2
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +11 -6
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +14 -7
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +30 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -15
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +44 -1
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +16 -4
- package/tencentcloud/services/redis/v20180412/redis_client.js +22 -4
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +95 -1
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
- package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +436 -216
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +52 -36
- package/tencentcloud/services/ses/v20201002/ses_client.js +76 -52
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +249 -13
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +4 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +17 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -0
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -6
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +13 -3
- package/test/ame.v20190916.test.js +76 -36
- package/test/antiddos.v20200309.test.js +54 -4
- package/test/apm.v20210622.test.js +10 -0
- package/test/cdb.v20170320.test.js +168 -18
- package/test/cfw.v20190904.test.js +10 -0
- package/test/cvm.v20170312.test.js +10 -0
- package/test/iotvideoindustry.v20201201.test.js +14 -4
- package/test/redis.v20180412.test.js +32 -2
- package/test/rum.v20210622.test.js +20 -0
- package/test/ses.v20201002.test.js +74 -34
|
@@ -105,12 +105,12 @@ export interface DescribeDomainsConfigResponse {
|
|
|
105
105
|
/**
|
|
106
106
|
* 域名列表。
|
|
107
107
|
*/
|
|
108
|
-
Domains
|
|
108
|
+
Domains: Array<DomainDetailInfo>
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* 符合查询条件的域名总数,用于分页查询。
|
|
112
112
|
*/
|
|
113
|
-
TotalCount
|
|
113
|
+
TotalCount: number
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -334,12 +334,12 @@ export interface DescribePurgeQuotaResponse {
|
|
|
334
334
|
/**
|
|
335
335
|
* Url刷新用量及配额。
|
|
336
336
|
*/
|
|
337
|
-
UrlPurge
|
|
337
|
+
UrlPurge: Quota
|
|
338
338
|
|
|
339
339
|
/**
|
|
340
340
|
* 目录刷新用量及配额。
|
|
341
341
|
*/
|
|
342
|
-
PathPurge
|
|
342
|
+
PathPurge: Quota
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -853,6 +853,12 @@ export interface DomainBriefInfo {
|
|
|
853
853
|
* 域名锁定状态,normal、global,分别表示未被锁定、全球锁定。
|
|
854
854
|
*/
|
|
855
855
|
Readonly: string
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* 域名标签。
|
|
859
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
860
|
+
*/
|
|
861
|
+
Tag: Array<Tag>
|
|
856
862
|
}
|
|
857
863
|
|
|
858
864
|
/**
|
|
@@ -925,9 +931,9 @@ export interface StopEcdnDomainResponse {
|
|
|
925
931
|
*/
|
|
926
932
|
export interface PurgePathCacheResponse {
|
|
927
933
|
/**
|
|
928
|
-
* 刷新任务Id
|
|
934
|
+
* 刷新任务Id。
|
|
929
935
|
*/
|
|
930
|
-
TaskId
|
|
936
|
+
TaskId: string
|
|
931
937
|
|
|
932
938
|
/**
|
|
933
939
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -940,9 +946,9 @@ export interface PurgePathCacheResponse {
|
|
|
940
946
|
*/
|
|
941
947
|
export interface PurgeUrlsCacheResponse {
|
|
942
948
|
/**
|
|
943
|
-
* 刷新任务Id
|
|
949
|
+
* 刷新任务Id。
|
|
944
950
|
*/
|
|
945
|
-
TaskId
|
|
951
|
+
TaskId: string
|
|
946
952
|
|
|
947
953
|
/**
|
|
948
954
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1065,12 +1071,12 @@ export interface DescribeDomainsResponse {
|
|
|
1065
1071
|
/**
|
|
1066
1072
|
* 域名信息列表。
|
|
1067
1073
|
*/
|
|
1068
|
-
Domains
|
|
1074
|
+
Domains: Array<DomainBriefInfo>
|
|
1069
1075
|
|
|
1070
1076
|
/**
|
|
1071
1077
|
* 域名总个数。
|
|
1072
1078
|
*/
|
|
1073
|
-
TotalCount
|
|
1079
|
+
TotalCount: number
|
|
1074
1080
|
|
|
1075
1081
|
/**
|
|
1076
1082
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1095,12 +1101,12 @@ export interface DescribePurgeTasksResponse {
|
|
|
1095
1101
|
/**
|
|
1096
1102
|
* 刷新历史记录。
|
|
1097
1103
|
*/
|
|
1098
|
-
PurgeLogs
|
|
1104
|
+
PurgeLogs: Array<PurgeTask>
|
|
1099
1105
|
|
|
1100
1106
|
/**
|
|
1101
1107
|
* 任务总数,用于分页。
|
|
1102
1108
|
*/
|
|
1103
|
-
TotalCount
|
|
1109
|
+
TotalCount: number
|
|
1104
1110
|
|
|
1105
1111
|
/**
|
|
1106
1112
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -848,7 +848,7 @@ export interface DescribeApplicationResponse {
|
|
|
848
848
|
ClientId: string
|
|
849
849
|
|
|
850
850
|
/**
|
|
851
|
-
*
|
|
851
|
+
* 应用类型,即创建应用时所选择的应用模板类型。
|
|
852
852
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
853
853
|
*/
|
|
854
854
|
ApplicationType: string
|
|
@@ -1188,6 +1188,12 @@ export interface DescribeUserInfoResponse {
|
|
|
1188
1188
|
*/
|
|
1189
1189
|
SecondaryOrgNodeIdList: Array<string>
|
|
1190
1190
|
|
|
1191
|
+
/**
|
|
1192
|
+
* 是否管理员标志,0为否、1为是。
|
|
1193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
|
+
*/
|
|
1195
|
+
AdminFlag: number
|
|
1196
|
+
|
|
1191
1197
|
/**
|
|
1192
1198
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1193
1199
|
*/
|
|
@@ -88,6 +88,26 @@ export interface RuntimeMC {
|
|
|
88
88
|
* 正在运行的应用实例数量
|
|
89
89
|
*/
|
|
90
90
|
RunningInstanceCount: number
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 已使用cpu核数
|
|
94
|
+
*/
|
|
95
|
+
CpuUsed: number
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* cpu核数上限
|
|
99
|
+
*/
|
|
100
|
+
CpuLimit: number
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 已使用内存 MB
|
|
104
|
+
*/
|
|
105
|
+
MemoryUsed: number
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* 内存上限 MB
|
|
109
|
+
*/
|
|
110
|
+
MemoryLimit: number
|
|
91
111
|
}
|
|
92
112
|
|
|
93
113
|
/**
|
|
@@ -360,4 +380,9 @@ export interface RuntimeDeployedInstanceMC {
|
|
|
360
380
|
* 应用实例部署更新时间
|
|
361
381
|
*/
|
|
362
382
|
UpdatedAt: number
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* 应用类型:0:NormalApp普通应用 1:TemplateApp模版应用 2:LightApp轻应用 3:MicroConnTemplate微连接模板 4:MicroConnApp微连接应用
|
|
386
|
+
*/
|
|
387
|
+
ProjectType: number
|
|
363
388
|
}
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
DescribeInstanceRenewNodesRequest,
|
|
31
31
|
ScaleOutInstanceResponse,
|
|
32
32
|
InquiryPriceCreateInstanceRequest,
|
|
33
|
+
CustomServiceDefine,
|
|
33
34
|
Resource,
|
|
34
35
|
PriceResource,
|
|
35
36
|
TerminateInstanceRequest,
|
|
@@ -41,6 +42,7 @@ import {
|
|
|
41
42
|
PersistentVolumeContext,
|
|
42
43
|
InquiryPriceRenewInstanceResponse,
|
|
43
44
|
DescribeJobFlowRequest,
|
|
45
|
+
ExternalService,
|
|
44
46
|
InquiryPriceCreateInstanceResponse,
|
|
45
47
|
BootstrapAction,
|
|
46
48
|
HostVolumeContext,
|
|
@@ -492,6 +492,26 @@ Hadoop-Presto
|
|
|
492
492
|
Hadoop-Hbase
|
|
493
493
|
*/
|
|
494
494
|
SceneName?: string
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* 共用组件信息
|
|
498
|
+
*/
|
|
499
|
+
ExternalService?: Array<ExternalService>
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* 共用自建组件参数
|
|
504
|
+
*/
|
|
505
|
+
export interface CustomServiceDefine {
|
|
506
|
+
/**
|
|
507
|
+
* 自定义参数key
|
|
508
|
+
*/
|
|
509
|
+
Name?: string
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* 自定义参数value
|
|
513
|
+
*/
|
|
514
|
+
Value?: string
|
|
495
515
|
}
|
|
496
516
|
|
|
497
517
|
/**
|
|
@@ -821,6 +841,31 @@ export interface DescribeJobFlowRequest {
|
|
|
821
841
|
JobFlowId: number
|
|
822
842
|
}
|
|
823
843
|
|
|
844
|
+
/**
|
|
845
|
+
* 共用组件信息
|
|
846
|
+
*/
|
|
847
|
+
export interface ExternalService {
|
|
848
|
+
/**
|
|
849
|
+
* 共用组件类型,EMR/CUSTOM
|
|
850
|
+
*/
|
|
851
|
+
ShareType: string
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* 自定义参数集合
|
|
855
|
+
*/
|
|
856
|
+
CustomServiceDefineList: Array<CustomServiceDefine>
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* 共用组件名
|
|
860
|
+
*/
|
|
861
|
+
Service: string
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* 共用组件集群
|
|
865
|
+
*/
|
|
866
|
+
InstanceId: string
|
|
867
|
+
}
|
|
868
|
+
|
|
824
869
|
/**
|
|
825
870
|
* InquiryPriceCreateInstance返回参数结构体
|
|
826
871
|
*/
|
|
@@ -83,8 +83,9 @@ export class Client extends AbstractClient {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* 此接口(GetDownloadFlowUrl
|
|
86
|
+
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
87
87
|
当前接口限制最多合同(流程)50个.
|
|
88
|
+
|
|
88
89
|
*/
|
|
89
90
|
async GetDownloadFlowUrl(
|
|
90
91
|
req: GetDownloadFlowUrlRequest,
|
|
@@ -227,7 +227,7 @@ export interface TemplateInfo {
|
|
|
227
227
|
*/
|
|
228
228
|
export interface GetDownloadFlowUrlResponse {
|
|
229
229
|
/**
|
|
230
|
-
*
|
|
230
|
+
* 合同(流程)下载地址
|
|
231
231
|
*/
|
|
232
232
|
DownLoadUrl: string
|
|
233
233
|
|
|
@@ -1267,7 +1267,7 @@ export interface FlowInfo {
|
|
|
1267
1267
|
Deadline: number
|
|
1268
1268
|
|
|
1269
1269
|
/**
|
|
1270
|
-
*
|
|
1270
|
+
* 模板ID
|
|
1271
1271
|
*/
|
|
1272
1272
|
TemplateId?: string
|
|
1273
1273
|
|
|
@@ -199,6 +199,12 @@ export interface RoomUser {
|
|
|
199
199
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
200
|
*/
|
|
201
201
|
Uins: Array<number>
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 字符串房间id
|
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
+
*/
|
|
207
|
+
StrRoomId: string
|
|
202
208
|
}
|
|
203
209
|
|
|
204
210
|
/**
|
|
@@ -211,9 +217,14 @@ export interface DescribeRoomInfoRequest {
|
|
|
211
217
|
SdkAppId: number
|
|
212
218
|
|
|
213
219
|
/**
|
|
214
|
-
* 房间号列表,最大不能超过10
|
|
220
|
+
* 房间号列表,最大不能超过10个(RoomIds、StrRoomIds必须填一个)
|
|
221
|
+
*/
|
|
222
|
+
RoomIds?: Array<number>
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* 字符串类型房间号列表,最大不能超过10个(RoomIds、StrRoomIds必须填一个)
|
|
215
226
|
*/
|
|
216
|
-
|
|
227
|
+
StrRoomIds?: Array<string>
|
|
217
228
|
}
|
|
218
229
|
|
|
219
230
|
/**
|
|
@@ -185,6 +185,7 @@ import {
|
|
|
185
185
|
DescribeStatisticSummaryRequest,
|
|
186
186
|
DescribeGroupsResponse,
|
|
187
187
|
ChannelDetail,
|
|
188
|
+
DescribeChannelLiveStreamURLResponse,
|
|
188
189
|
DescribeDeviceStreamsData,
|
|
189
190
|
DeleteLiveRecordPlanRequest,
|
|
190
191
|
ModifyBindRecordingPlanRequest,
|
|
@@ -194,6 +195,7 @@ import {
|
|
|
194
195
|
CreateTimeTemplateResponse,
|
|
195
196
|
DeleteLiveChannelRequest,
|
|
196
197
|
StatisticItem,
|
|
198
|
+
DescribeChannelLiveStreamURLRequest,
|
|
197
199
|
DescribeSIPServerResponse,
|
|
198
200
|
DescribeGroupByPathRequest,
|
|
199
201
|
DescribeRecordDatesByLiveResponse,
|
|
@@ -524,13 +526,14 @@ export class Client extends AbstractClient {
|
|
|
524
526
|
}
|
|
525
527
|
|
|
526
528
|
/**
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
529
|
+
* 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。
|
|
530
|
+
请使用DescribeRecordDatesByChannel接口
|
|
531
|
+
*/
|
|
532
|
+
async GetRecordDatesByDev(
|
|
533
|
+
req: GetRecordDatesByDevRequest,
|
|
534
|
+
cb?: (error: string, rep: GetRecordDatesByDevResponse) => void
|
|
535
|
+
): Promise<GetRecordDatesByDevResponse> {
|
|
536
|
+
return this.request("GetRecordDatesByDev", req, cb)
|
|
534
537
|
}
|
|
535
538
|
|
|
536
539
|
/**
|
|
@@ -615,6 +618,16 @@ export class Client extends AbstractClient {
|
|
|
615
618
|
return this.request("UpdateDevicePassWord", req, cb)
|
|
616
619
|
}
|
|
617
620
|
|
|
621
|
+
/**
|
|
622
|
+
* 编辑设备订阅状态
|
|
623
|
+
*/
|
|
624
|
+
async ModifySubscriptionStatus(
|
|
625
|
+
req: ModifySubscriptionStatusRequest,
|
|
626
|
+
cb?: (error: string, rep: ModifySubscriptionStatusResponse) => void
|
|
627
|
+
): Promise<ModifySubscriptionStatusResponse> {
|
|
628
|
+
return this.request("ModifySubscriptionStatus", req, cb)
|
|
629
|
+
}
|
|
630
|
+
|
|
618
631
|
/**
|
|
619
632
|
* 告警等级列表
|
|
620
633
|
*/
|
|
@@ -697,14 +710,14 @@ export class Client extends AbstractClient {
|
|
|
697
710
|
}
|
|
698
711
|
|
|
699
712
|
/**
|
|
700
|
-
* 本接口(
|
|
701
|
-
|
|
713
|
+
* 本接口(DescribeChannelLiveStreamURL)用于获取设备指定通道实时流地址,地址是动态生成,如重新播放需要调用此接口重新获取最新播放地址。
|
|
714
|
+
正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。
|
|
702
715
|
*/
|
|
703
|
-
async
|
|
704
|
-
req:
|
|
705
|
-
cb?: (error: string, rep:
|
|
706
|
-
): Promise<
|
|
707
|
-
return this.request("
|
|
716
|
+
async DescribeChannelLiveStreamURL(
|
|
717
|
+
req: DescribeChannelLiveStreamURLRequest,
|
|
718
|
+
cb?: (error: string, rep: DescribeChannelLiveStreamURLResponse) => void
|
|
719
|
+
): Promise<DescribeChannelLiveStreamURLResponse> {
|
|
720
|
+
return this.request("DescribeChannelLiveStreamURL", req, cb)
|
|
708
721
|
}
|
|
709
722
|
|
|
710
723
|
/**
|
|
@@ -3856,6 +3856,21 @@ export interface ChannelDetail {
|
|
|
3856
3856
|
BusinessGroupId: string
|
|
3857
3857
|
}
|
|
3858
3858
|
|
|
3859
|
+
/**
|
|
3860
|
+
* DescribeChannelLiveStreamURL返回参数结构体
|
|
3861
|
+
*/
|
|
3862
|
+
export interface DescribeChannelLiveStreamURLResponse {
|
|
3863
|
+
/**
|
|
3864
|
+
* 设备实时流地址列表
|
|
3865
|
+
*/
|
|
3866
|
+
Data: DescribeDeviceStreamsData
|
|
3867
|
+
|
|
3868
|
+
/**
|
|
3869
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3870
|
+
*/
|
|
3871
|
+
RequestId?: string
|
|
3872
|
+
}
|
|
3873
|
+
|
|
3859
3874
|
/**
|
|
3860
3875
|
* DescribeDeviceStreams的出参复杂类型
|
|
3861
3876
|
*/
|
|
@@ -4004,6 +4019,21 @@ export interface StatisticItem {
|
|
|
4004
4019
|
Sum: number
|
|
4005
4020
|
}
|
|
4006
4021
|
|
|
4022
|
+
/**
|
|
4023
|
+
* DescribeChannelLiveStreamURL请求参数结构体
|
|
4024
|
+
*/
|
|
4025
|
+
export interface DescribeChannelLiveStreamURLRequest {
|
|
4026
|
+
/**
|
|
4027
|
+
* 设备唯一标识,必填参数
|
|
4028
|
+
*/
|
|
4029
|
+
DeviceId: string
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* 通道唯一标识(接口升级字段为必填),必填参数
|
|
4033
|
+
*/
|
|
4034
|
+
ChannelId: string
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4007
4037
|
/**
|
|
4008
4038
|
* DescribeSIPServer返回参数结构体
|
|
4009
4039
|
*/
|
|
@@ -5112,6 +5142,11 @@ export interface DescribeChannelLocalRecordURLRequest {
|
|
|
5112
5142
|
*/
|
|
5113
5143
|
RecordId: string
|
|
5114
5144
|
|
|
5145
|
+
/**
|
|
5146
|
+
* UNIX 时间戳,30天内,URL失效时间,如180s无人观看此流则URL提前失效
|
|
5147
|
+
*/
|
|
5148
|
+
ExpireTime: number
|
|
5149
|
+
|
|
5115
5150
|
/**
|
|
5116
5151
|
* 录像文件推送的开始时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点
|
|
5117
5152
|
*/
|
|
@@ -1081,7 +1081,9 @@ export class Client extends AbstractClient {
|
|
|
1081
1081
|
|
|
1082
1082
|
驾驶证副页:包括证号、姓名、档案编号、记录。
|
|
1083
1083
|
|
|
1084
|
-
另外,本接口还支持复印件、翻拍和PS
|
|
1084
|
+
另外,本接口还支持复印件、翻拍和PS告警功能。同时支持识别交管12123APP发放的电子驾驶证正页。
|
|
1085
|
+
|
|
1086
|
+
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
|
1085
1087
|
*/
|
|
1086
1088
|
async DriverLicenseOCR(
|
|
1087
1089
|
req: DriverLicenseOCRRequest,
|
|
@@ -633,62 +633,62 @@ export interface DriverLicenseOCRResponse {
|
|
|
633
633
|
/**
|
|
634
634
|
* 姓名
|
|
635
635
|
*/
|
|
636
|
-
Name
|
|
636
|
+
Name: string
|
|
637
637
|
|
|
638
638
|
/**
|
|
639
639
|
* 性别
|
|
640
640
|
*/
|
|
641
|
-
Sex
|
|
641
|
+
Sex: string
|
|
642
642
|
|
|
643
643
|
/**
|
|
644
644
|
* 国籍
|
|
645
645
|
*/
|
|
646
|
-
Nationality
|
|
646
|
+
Nationality: string
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* 住址
|
|
650
650
|
*/
|
|
651
|
-
Address
|
|
651
|
+
Address: string
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
654
|
* 出生日期(YYYY-MM-DD)
|
|
655
655
|
*/
|
|
656
|
-
DateOfBirth
|
|
656
|
+
DateOfBirth: string
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* 初次领证日期(YYYY-MM-DD)
|
|
660
660
|
*/
|
|
661
|
-
DateOfFirstIssue
|
|
661
|
+
DateOfFirstIssue: string
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
664
|
* 准驾车型
|
|
665
665
|
*/
|
|
666
|
-
Class
|
|
666
|
+
Class: string
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* 有效期开始时间(YYYY-MM-DD)
|
|
670
670
|
*/
|
|
671
|
-
StartDate
|
|
671
|
+
StartDate: string
|
|
672
672
|
|
|
673
673
|
/**
|
|
674
674
|
* 有效期截止时间(YYYY-MM-DD)
|
|
675
675
|
*/
|
|
676
|
-
EndDate
|
|
676
|
+
EndDate: string
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
679
|
* 证号
|
|
680
680
|
*/
|
|
681
|
-
CardCode
|
|
681
|
+
CardCode: string
|
|
682
682
|
|
|
683
683
|
/**
|
|
684
684
|
* 档案编号
|
|
685
685
|
*/
|
|
686
|
-
ArchivesCode
|
|
686
|
+
ArchivesCode: string
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
689
|
* 记录
|
|
690
690
|
*/
|
|
691
|
-
Record
|
|
691
|
+
Record: string
|
|
692
692
|
|
|
693
693
|
/**
|
|
694
694
|
* Code 告警码列表和释义:
|
|
@@ -697,7 +697,7 @@ export interface DriverLicenseOCRResponse {
|
|
|
697
697
|
-9106 ps告警
|
|
698
698
|
注:告警码可以同时存在多个
|
|
699
699
|
*/
|
|
700
|
-
RecognizeWarnCode
|
|
700
|
+
RecognizeWarnCode: Array<number>
|
|
701
701
|
|
|
702
702
|
/**
|
|
703
703
|
* 告警码说明:
|
|
@@ -706,12 +706,22 @@ WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
|
|
|
706
706
|
WARN_DRIVER_LICENSE_PS_CARD ps告警
|
|
707
707
|
注:告警信息可以同时存在多个
|
|
708
708
|
*/
|
|
709
|
-
RecognizeWarnMsg
|
|
709
|
+
RecognizeWarnMsg: Array<string>
|
|
710
710
|
|
|
711
711
|
/**
|
|
712
712
|
* 发证单位
|
|
713
713
|
*/
|
|
714
|
-
IssuingAuthority
|
|
714
|
+
IssuingAuthority: string
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* 状态(仅电子驾驶证支持返回该字段)
|
|
718
|
+
*/
|
|
719
|
+
State: string
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* 累积记分(仅电子驾驶证支持返回该字段)
|
|
723
|
+
*/
|
|
724
|
+
CumulativeScore: string
|
|
715
725
|
|
|
716
726
|
/**
|
|
717
727
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -19,6 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
OrgPermission,
|
|
22
|
+
MemberIdentity,
|
|
22
23
|
DescribeOrganizationResponse,
|
|
23
24
|
BindOrganizationMemberAuthAccountRequest,
|
|
24
25
|
CreateOrganizationMemberRequest,
|
|
@@ -30,6 +30,23 @@ export interface OrgPermission {
|
|
|
30
30
|
Name: string
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* 成员管理身份
|
|
35
|
+
*/
|
|
36
|
+
export interface MemberIdentity {
|
|
37
|
+
/**
|
|
38
|
+
* 身份ID。
|
|
39
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40
|
+
*/
|
|
41
|
+
IdentityId: number
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 身份名称。
|
|
45
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
46
|
+
*/
|
|
47
|
+
IdentityAliasName: string
|
|
48
|
+
}
|
|
49
|
+
|
|
33
50
|
/**
|
|
34
51
|
* DescribeOrganization返回参数结构体
|
|
35
52
|
*/
|
|
@@ -142,7 +159,7 @@ export interface CreateOrganizationMemberRequest {
|
|
|
142
159
|
Name: string
|
|
143
160
|
|
|
144
161
|
/**
|
|
145
|
-
* 关系策略
|
|
162
|
+
* 关系策略 取值:Financial
|
|
146
163
|
*/
|
|
147
164
|
PolicyType: string
|
|
148
165
|
|
|
@@ -170,6 +187,16 @@ export interface CreateOrganizationMemberRequest {
|
|
|
170
187
|
* 重试创建传记录ID
|
|
171
188
|
*/
|
|
172
189
|
RecordId?: number
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* 代付者Uin
|
|
193
|
+
*/
|
|
194
|
+
PayUin?: string
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* 管理身份
|
|
198
|
+
*/
|
|
199
|
+
IdentityRoleID?: Array<number>
|
|
173
200
|
}
|
|
174
201
|
|
|
175
202
|
/**
|
|
@@ -282,6 +309,24 @@ export interface OrgMember {
|
|
|
282
309
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
283
310
|
*/
|
|
284
311
|
IsAllowQuit: string
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* 代付者Uin
|
|
315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
316
|
+
*/
|
|
317
|
+
PayUin: string
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* 代付者名称
|
|
321
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
322
|
+
*/
|
|
323
|
+
PayName: string
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* 管理身份
|
|
327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
328
|
+
*/
|
|
329
|
+
OrgIdentity: Array<MemberIdentity>
|
|
285
330
|
}
|
|
286
331
|
|
|
287
332
|
/**
|
|
@@ -318,6 +363,12 @@ export interface DescribeOrganizationMembersResponse {
|
|
|
318
363
|
* CreateOrganizationMember返回参数结构体
|
|
319
364
|
*/
|
|
320
365
|
export interface CreateOrganizationMemberResponse {
|
|
366
|
+
/**
|
|
367
|
+
* 成员Uin
|
|
368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
369
|
+
*/
|
|
370
|
+
Uin: number
|
|
371
|
+
|
|
321
372
|
/**
|
|
322
373
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
323
374
|
*/
|