tencentcloud-sdk-nodejs 4.1.53 → 4.1.54
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/es/common/sdk_version.js +1 -1
- package/es/services/ess/v20201111/ess_client.js +12 -6
- package/es/services/gs/v20191118/gs_client.js +27 -6
- package/es/services/tem/v20210701/tem_client.js +3 -0
- package/es/services/wedata/v20210820/wedata_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +5 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +3 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +3 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +3 -3
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +2 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +137 -65
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +32 -14
- package/tencentcloud/services/ess/v20201111/ess_client.js +38 -16
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +128 -55
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +35 -7
- package/tencentcloud/services/gs/v20191118/gs_client.js +51 -9
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +248 -20
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +110 -81
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
- package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +60 -7
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +395 -52
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +0 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +612 -21
|
@@ -69,6 +69,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
69
69
|
async DisableAndroidInstancesApp(req, cb) {
|
|
70
70
|
return this.request("DisableAndroidInstancesApp", req, cb);
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* 将文件下载到指定实例列表的实例上,每个实例都会从公网下载文件。如果您需要将同一个文件分发到多个实例,建议使用 DistributeFileToAndroidInstances 接口减少公网下载的流量。如果您需要将不同的文件下载到不同的实例,可考虑使用 UploadFilesToAndroidInstances 接口批量将不同文件下载到不同的实例。
|
|
74
|
+
*/
|
|
75
|
+
async UploadFileToAndroidInstances(req, cb) {
|
|
76
|
+
return this.request("UploadFileToAndroidInstances", req, cb);
|
|
77
|
+
}
|
|
72
78
|
/**
|
|
73
79
|
* 使用指定存储数据还原云手机,支持 COS 和兼容 AWS S3 协议的对象存储服务。如果还原数据来自 COS 时,会使用公网流量,授权 COS bucket 请在控制台中操作。
|
|
74
80
|
*/
|
|
@@ -111,6 +117,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
111
117
|
async EnableAndroidInstancesApp(req, cb) {
|
|
112
118
|
return this.request("EnableAndroidInstancesApp", req, cb);
|
|
113
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 开始云端推流
|
|
122
|
+
*/
|
|
123
|
+
async StartPublishStreamToCSS(req, cb) {
|
|
124
|
+
return this.request("StartPublishStreamToCSS", req, cb);
|
|
125
|
+
}
|
|
114
126
|
/**
|
|
115
127
|
* 修改安卓实例的信息
|
|
116
128
|
*/
|
|
@@ -129,6 +141,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
129
141
|
async ModifyAndroidInstancesInformation(req, cb) {
|
|
130
142
|
return this.request("ModifyAndroidInstancesInformation", req, cb);
|
|
131
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* 修改安卓实例应用黑名单
|
|
146
|
+
*/
|
|
147
|
+
async ModifyAndroidInstancesAppBlacklist(req, cb) {
|
|
148
|
+
return this.request("ModifyAndroidInstancesAppBlacklist", req, cb);
|
|
149
|
+
}
|
|
132
150
|
/**
|
|
133
151
|
* 安装安卓实例应用
|
|
134
152
|
*/
|
|
@@ -190,10 +208,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
190
208
|
return this.request("CreateAndroidApp", req, cb);
|
|
191
209
|
}
|
|
192
210
|
/**
|
|
193
|
-
*
|
|
211
|
+
* 批量修改安卓实例资源限制
|
|
194
212
|
*/
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
213
|
+
async ModifyAndroidInstancesResources(req, cb) {
|
|
214
|
+
return this.request("ModifyAndroidInstancesResources", req, cb);
|
|
197
215
|
}
|
|
198
216
|
/**
|
|
199
217
|
* 创建安卓实例 WebShell 连接信息,返回的 ConnectUrl 可通过浏览器直接打开访问,链接有效期 1 小时,链接打开后可持续使用。
|
|
@@ -232,10 +250,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
232
250
|
return this.request("SyncAndroidInstanceImage", req, cb);
|
|
233
251
|
}
|
|
234
252
|
/**
|
|
235
|
-
*
|
|
253
|
+
* 查询安卓实例黑名单
|
|
236
254
|
*/
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
255
|
+
async DescribeAndroidInstancesAppBlacklist(req, cb) {
|
|
256
|
+
return this.request("DescribeAndroidInstancesAppBlacklist", req, cb);
|
|
239
257
|
}
|
|
240
258
|
/**
|
|
241
259
|
* 重启安卓实例
|
|
@@ -336,6 +354,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
336
354
|
async InstallAndroidInstancesApp(req, cb) {
|
|
337
355
|
return this.request("InstallAndroidInstancesApp", req, cb);
|
|
338
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* 批量设置安卓实例应用前台保活,开启应用保活,只是降低应用被杀死或回收的优先级,并不能保证应用不会被杀死或回收(如出现内存不足等资源限制时,应用也有概率被杀死或回收)
|
|
359
|
+
*/
|
|
360
|
+
async SetAndroidInstancesFGAppKeepAlive(req, cb) {
|
|
361
|
+
return this.request("SetAndroidInstancesFGAppKeepAlive", req, cb);
|
|
362
|
+
}
|
|
339
363
|
/**
|
|
340
364
|
* 查询安卓应用信息
|
|
341
365
|
*/
|
|
@@ -376,6 +400,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
376
400
|
async CreateAndroidInstanceADB(req, cb) {
|
|
377
401
|
return this.request("CreateAndroidInstanceADB", req, cb);
|
|
378
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* 批量设置安卓实例应用后台保活,开启应用保活,只是降低应用被杀死或回收的优先级,并不能保证应用不会被杀死或回收(如出现内存不足等资源限制时,应用也有概率被杀死或回收)
|
|
405
|
+
*/
|
|
406
|
+
async SetAndroidInstancesBGAppKeepAlive(req, cb) {
|
|
407
|
+
return this.request("SetAndroidInstancesBGAppKeepAlive", req, cb);
|
|
408
|
+
}
|
|
379
409
|
/**
|
|
380
410
|
* 批量将实例的 logcat 日志文件上传到您已授权的 COS bucket 中,授权 COS bucket 请在控制台中操作。
|
|
381
411
|
*/
|
|
@@ -389,10 +419,22 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
389
419
|
return this.request("ExecuteCommandOnAndroidInstances", req, cb);
|
|
390
420
|
}
|
|
391
421
|
/**
|
|
392
|
-
*
|
|
422
|
+
* 重启安卓实例
|
|
393
423
|
*/
|
|
394
|
-
async
|
|
395
|
-
return this.request("
|
|
424
|
+
async RebootAndroidInstances(req, cb) {
|
|
425
|
+
return this.request("RebootAndroidInstances", req, cb);
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* 导入安卓实例镜像,当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像导入完成处于可用状态。
|
|
429
|
+
*/
|
|
430
|
+
async ImportAndroidInstanceImage(req, cb) {
|
|
431
|
+
return this.request("ImportAndroidInstanceImage", req, cb);
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* 查询安装指定应用的安卓实例
|
|
435
|
+
*/
|
|
436
|
+
async DescribeAndroidInstancesByApps(req, cb) {
|
|
437
|
+
return this.request("DescribeAndroidInstancesByApps", req, cb);
|
|
396
438
|
}
|
|
397
439
|
/**
|
|
398
440
|
* 修改安卓应用版本
|
|
@@ -266,6 +266,20 @@ export interface AndroidApp {
|
|
|
266
266
|
*/
|
|
267
267
|
AppMode?: string;
|
|
268
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* DescribeAndroidInstancesAppBlacklist返回参数结构体
|
|
271
|
+
*/
|
|
272
|
+
export interface DescribeAndroidInstancesAppBlacklistResponse {
|
|
273
|
+
/**
|
|
274
|
+
* 黑名单集合
|
|
275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
276
|
+
*/
|
|
277
|
+
AppBlacklistSet?: Array<AndroidInstanceAppBlacklist>;
|
|
278
|
+
/**
|
|
279
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
280
|
+
*/
|
|
281
|
+
RequestId?: string;
|
|
282
|
+
}
|
|
269
283
|
/**
|
|
270
284
|
* ModifyAndroidApp请求参数结构体
|
|
271
285
|
*/
|
|
@@ -338,6 +352,19 @@ export interface CreateAndroidAppVersionRequest {
|
|
|
338
352
|
*/
|
|
339
353
|
CleanupMode?: string;
|
|
340
354
|
}
|
|
355
|
+
/**
|
|
356
|
+
* ModifyAndroidInstancesResources请求参数结构体
|
|
357
|
+
*/
|
|
358
|
+
export interface ModifyAndroidInstancesResourcesRequest {
|
|
359
|
+
/**
|
|
360
|
+
* 安卓实例 ID 列表(最大100条数据)
|
|
361
|
+
*/
|
|
362
|
+
AndroidInstanceIds: Array<string>;
|
|
363
|
+
/**
|
|
364
|
+
* 内存配额(单位 MB)
|
|
365
|
+
*/
|
|
366
|
+
MemoryQuota: number;
|
|
367
|
+
}
|
|
341
368
|
/**
|
|
342
369
|
* ModifyAndroidInstancesLabels请求参数结构体
|
|
343
370
|
*/
|
|
@@ -723,6 +750,19 @@ export interface SyncExecuteCommandOnAndroidInstancesResponse {
|
|
|
723
750
|
*/
|
|
724
751
|
RequestId?: string;
|
|
725
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* StartAndroidInstances返回参数结构体
|
|
755
|
+
*/
|
|
756
|
+
export interface StartAndroidInstancesResponse {
|
|
757
|
+
/**
|
|
758
|
+
* 任务集合
|
|
759
|
+
*/
|
|
760
|
+
TaskSet?: Array<AndroidInstanceTask>;
|
|
761
|
+
/**
|
|
762
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
763
|
+
*/
|
|
764
|
+
RequestId?: string;
|
|
765
|
+
}
|
|
726
766
|
/**
|
|
727
767
|
* RestoreAndroidInstanceFromStorage返回参数结构体
|
|
728
768
|
*/
|
|
@@ -774,6 +814,19 @@ export interface ModifyAndroidAppVersionRequest {
|
|
|
774
814
|
*/
|
|
775
815
|
UninstallCommand?: string;
|
|
776
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* ModifyAndroidInstancesResources返回参数结构体
|
|
819
|
+
*/
|
|
820
|
+
export interface ModifyAndroidInstancesResourcesResponse {
|
|
821
|
+
/**
|
|
822
|
+
* 任务集合
|
|
823
|
+
*/
|
|
824
|
+
TaskSet?: Array<AndroidInstanceTask>;
|
|
825
|
+
/**
|
|
826
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
827
|
+
*/
|
|
828
|
+
RequestId?: string;
|
|
829
|
+
}
|
|
777
830
|
/**
|
|
778
831
|
* UploadFilesToAndroidInstances请求参数结构体
|
|
779
832
|
*/
|
|
@@ -845,9 +898,26 @@ export interface ModifyAndroidInstancesUserIdRequest {
|
|
|
845
898
|
UserId?: string;
|
|
846
899
|
}
|
|
847
900
|
/**
|
|
848
|
-
*
|
|
901
|
+
* InstallAndroidInstancesAppWithURL请求参数结构体
|
|
849
902
|
*/
|
|
850
|
-
export interface
|
|
903
|
+
export interface InstallAndroidInstancesAppWithURLRequest {
|
|
904
|
+
/**
|
|
905
|
+
* 实例ID
|
|
906
|
+
*/
|
|
907
|
+
AndroidInstanceIds: Array<string>;
|
|
908
|
+
/**
|
|
909
|
+
* 安卓应用下载 URL
|
|
910
|
+
*/
|
|
911
|
+
AndroidAppURL: string;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* RebootAndroidInstances返回参数结构体
|
|
915
|
+
*/
|
|
916
|
+
export interface RebootAndroidInstancesResponse {
|
|
917
|
+
/**
|
|
918
|
+
* 任务集合
|
|
919
|
+
*/
|
|
920
|
+
TaskSet?: Array<AndroidInstanceTask>;
|
|
851
921
|
/**
|
|
852
922
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
853
923
|
*/
|
|
@@ -863,13 +933,13 @@ export interface StopPublishStreamResponse {
|
|
|
863
933
|
RequestId?: string;
|
|
864
934
|
}
|
|
865
935
|
/**
|
|
866
|
-
*
|
|
936
|
+
* ImportAndroidInstanceImage返回参数结构体
|
|
867
937
|
*/
|
|
868
|
-
export interface
|
|
938
|
+
export interface ImportAndroidInstanceImageResponse {
|
|
869
939
|
/**
|
|
870
|
-
*
|
|
940
|
+
* 安卓实例镜像 ID
|
|
871
941
|
*/
|
|
872
|
-
|
|
942
|
+
AndroidInstanceImageId?: string;
|
|
873
943
|
/**
|
|
874
944
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
875
945
|
*/
|
|
@@ -1030,6 +1100,23 @@ export interface SyncExecuteCommandResult {
|
|
|
1030
1100
|
*/
|
|
1031
1101
|
Status?: string;
|
|
1032
1102
|
}
|
|
1103
|
+
/**
|
|
1104
|
+
* ModifyAndroidInstancesAppBlacklist请求参数结构体
|
|
1105
|
+
*/
|
|
1106
|
+
export interface ModifyAndroidInstancesAppBlacklistRequest {
|
|
1107
|
+
/**
|
|
1108
|
+
* 实例ID列表,数量上限100
|
|
1109
|
+
*/
|
|
1110
|
+
AndroidInstanceIds: Array<string>;
|
|
1111
|
+
/**
|
|
1112
|
+
* 应用列表
|
|
1113
|
+
*/
|
|
1114
|
+
AppList: Array<string>;
|
|
1115
|
+
/**
|
|
1116
|
+
* ADD、REMOVE、CLEAR
|
|
1117
|
+
*/
|
|
1118
|
+
Operation: string;
|
|
1119
|
+
}
|
|
1033
1120
|
/**
|
|
1034
1121
|
* ModifyAndroidInstancesInformation请求参数结构体
|
|
1035
1122
|
*/
|
|
@@ -1048,6 +1135,23 @@ export interface RestartAndroidInstancesAppResponse {
|
|
|
1048
1135
|
*/
|
|
1049
1136
|
RequestId?: string;
|
|
1050
1137
|
}
|
|
1138
|
+
/**
|
|
1139
|
+
* DescribeAndroidInstancesByApps返回参数结构体
|
|
1140
|
+
*/
|
|
1141
|
+
export interface DescribeAndroidInstancesByAppsResponse {
|
|
1142
|
+
/**
|
|
1143
|
+
* 实例总数量
|
|
1144
|
+
*/
|
|
1145
|
+
TotalCount?: number;
|
|
1146
|
+
/**
|
|
1147
|
+
* 实例列表
|
|
1148
|
+
*/
|
|
1149
|
+
AndroidInstances?: Array<AndroidInstance>;
|
|
1150
|
+
/**
|
|
1151
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1152
|
+
*/
|
|
1153
|
+
RequestId?: string;
|
|
1154
|
+
}
|
|
1051
1155
|
/**
|
|
1052
1156
|
* DescribeAndroidInstanceTasksStatus请求参数结构体
|
|
1053
1157
|
*/
|
|
@@ -1604,17 +1708,21 @@ export interface StopGameRequest {
|
|
|
1604
1708
|
HostUserId?: string;
|
|
1605
1709
|
}
|
|
1606
1710
|
/**
|
|
1607
|
-
*
|
|
1711
|
+
* DescribeAndroidInstancesByApps请求参数结构体
|
|
1608
1712
|
*/
|
|
1609
|
-
export interface
|
|
1713
|
+
export interface DescribeAndroidInstancesByAppsRequest {
|
|
1610
1714
|
/**
|
|
1611
|
-
*
|
|
1715
|
+
* 偏移量,默认为 0
|
|
1612
1716
|
*/
|
|
1613
|
-
|
|
1717
|
+
Offset: number;
|
|
1614
1718
|
/**
|
|
1615
|
-
*
|
|
1719
|
+
* 限制量,默认为20,最大值为100
|
|
1616
1720
|
*/
|
|
1617
|
-
|
|
1721
|
+
Limit: number;
|
|
1722
|
+
/**
|
|
1723
|
+
* 应用 ID 列表。通过应用 ID 做集合查询
|
|
1724
|
+
*/
|
|
1725
|
+
AndroidAppIds: Array<string>;
|
|
1618
1726
|
}
|
|
1619
1727
|
/**
|
|
1620
1728
|
* TrylockWorker返回参数结构体
|
|
@@ -1646,6 +1754,15 @@ export interface S3Options {
|
|
|
1646
1754
|
*/
|
|
1647
1755
|
SecretAccessKey: string;
|
|
1648
1756
|
}
|
|
1757
|
+
/**
|
|
1758
|
+
* DescribeAndroidInstancesAppBlacklist请求参数结构体
|
|
1759
|
+
*/
|
|
1760
|
+
export interface DescribeAndroidInstancesAppBlacklistRequest {
|
|
1761
|
+
/**
|
|
1762
|
+
* 实例 ID 列表,数量上限 100
|
|
1763
|
+
*/
|
|
1764
|
+
AndroidInstanceIds: Array<string>;
|
|
1765
|
+
}
|
|
1649
1766
|
/**
|
|
1650
1767
|
* CreateAndroidInstanceWebShell请求参数结构体
|
|
1651
1768
|
*/
|
|
@@ -1655,6 +1772,19 @@ export interface CreateAndroidInstanceWebShellRequest {
|
|
|
1655
1772
|
*/
|
|
1656
1773
|
AndroidInstanceId: string;
|
|
1657
1774
|
}
|
|
1775
|
+
/**
|
|
1776
|
+
* ModifyAndroidInstancesAppBlacklist返回参数结构体
|
|
1777
|
+
*/
|
|
1778
|
+
export interface ModifyAndroidInstancesAppBlacklistResponse {
|
|
1779
|
+
/**
|
|
1780
|
+
* 任务集合
|
|
1781
|
+
*/
|
|
1782
|
+
TaskSet?: Array<AndroidInstanceTask>;
|
|
1783
|
+
/**
|
|
1784
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1785
|
+
*/
|
|
1786
|
+
RequestId?: string;
|
|
1787
|
+
}
|
|
1658
1788
|
/**
|
|
1659
1789
|
* ModifyAndroidInstancesLabels返回参数结构体
|
|
1660
1790
|
*/
|
|
@@ -1698,6 +1828,23 @@ export interface CopyAndroidInstanceResponse {
|
|
|
1698
1828
|
*/
|
|
1699
1829
|
RequestId?: string;
|
|
1700
1830
|
}
|
|
1831
|
+
/**
|
|
1832
|
+
* SetAndroidInstancesFGAppKeepAlive请求参数结构体
|
|
1833
|
+
*/
|
|
1834
|
+
export interface SetAndroidInstancesFGAppKeepAliveRequest {
|
|
1835
|
+
/**
|
|
1836
|
+
* 安卓实例 ID 列表(最大100条数据)
|
|
1837
|
+
*/
|
|
1838
|
+
AndroidInstanceIds: Array<string>;
|
|
1839
|
+
/**
|
|
1840
|
+
* 操作类型,取值:ENABLE 开启保活、DISABLE 关闭保活。当关闭保活时,PackageName 参数传空即可
|
|
1841
|
+
*/
|
|
1842
|
+
Operation: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* 应用包名,开启保活时,必须传入 PackageName
|
|
1845
|
+
*/
|
|
1846
|
+
PackageName?: string;
|
|
1847
|
+
}
|
|
1701
1848
|
/**
|
|
1702
1849
|
* DeleteAndroidInstanceLabel返回参数结构体
|
|
1703
1850
|
*/
|
|
@@ -1716,6 +1863,19 @@ export interface ModifyAndroidAppResponse {
|
|
|
1716
1863
|
*/
|
|
1717
1864
|
RequestId?: string;
|
|
1718
1865
|
}
|
|
1866
|
+
/**
|
|
1867
|
+
* SetAndroidInstancesFGAppKeepAlive返回参数结构体
|
|
1868
|
+
*/
|
|
1869
|
+
export interface SetAndroidInstancesFGAppKeepAliveResponse {
|
|
1870
|
+
/**
|
|
1871
|
+
* 错误列表。如果实例操作都成功,则响应没有这个字段;如果有实例操作失败,该字段包含了实例操作的错误信息
|
|
1872
|
+
*/
|
|
1873
|
+
AndroidInstanceErrors?: Array<AndroidInstanceError>;
|
|
1874
|
+
/**
|
|
1875
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1876
|
+
*/
|
|
1877
|
+
RequestId?: string;
|
|
1878
|
+
}
|
|
1719
1879
|
/**
|
|
1720
1880
|
* 安卓实例属性
|
|
1721
1881
|
*/
|
|
@@ -1779,6 +1939,34 @@ export interface AndroidInstanceTaskStatus {
|
|
|
1779
1939
|
*/
|
|
1780
1940
|
CompleteTime?: string;
|
|
1781
1941
|
}
|
|
1942
|
+
/**
|
|
1943
|
+
* ImportAndroidInstanceImage请求参数结构体
|
|
1944
|
+
*/
|
|
1945
|
+
export interface ImportAndroidInstanceImageRequest {
|
|
1946
|
+
/**
|
|
1947
|
+
* 镜像名称
|
|
1948
|
+
*/
|
|
1949
|
+
Name: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* 镜像文件下载地址,要求是 tgz 压缩文件
|
|
1952
|
+
*/
|
|
1953
|
+
URL: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* 镜像文件 MD5 值
|
|
1956
|
+
*/
|
|
1957
|
+
MD5: string;
|
|
1958
|
+
/**
|
|
1959
|
+
* 安卓版本。
|
|
1960
|
+
ANDROID10:默认值,安卓10
|
|
1961
|
+
ANDROID12:安卓12
|
|
1962
|
+
ANDROID14:安卓14
|
|
1963
|
+
*/
|
|
1964
|
+
AndroidVersion?: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* 镜像可用区
|
|
1967
|
+
*/
|
|
1968
|
+
Zone?: string;
|
|
1969
|
+
}
|
|
1782
1970
|
/**
|
|
1783
1971
|
* UninstallAndroidInstancesApp请求参数结构体
|
|
1784
1972
|
*/
|
|
@@ -1822,6 +2010,23 @@ export interface CreateAndroidInstancesResponse {
|
|
|
1822
2010
|
*/
|
|
1823
2011
|
RequestId?: string;
|
|
1824
2012
|
}
|
|
2013
|
+
/**
|
|
2014
|
+
* SetAndroidInstancesBGAppKeepAlive请求参数结构体
|
|
2015
|
+
*/
|
|
2016
|
+
export interface SetAndroidInstancesBGAppKeepAliveRequest {
|
|
2017
|
+
/**
|
|
2018
|
+
* 安卓实例 ID 列表(最大100条数据)
|
|
2019
|
+
*/
|
|
2020
|
+
AndroidInstanceIds: Array<string>;
|
|
2021
|
+
/**
|
|
2022
|
+
* 操作类型,取值:ADD 添加应用到后台保活列表、REMOVE 从后台保活列表中移除应用、SET 全量设置后台保活列表,替换当前列表。
|
|
2023
|
+
*/
|
|
2024
|
+
Operation: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* 应用包名列表
|
|
2027
|
+
*/
|
|
2028
|
+
PackageNames: Array<string>;
|
|
2029
|
+
}
|
|
1825
2030
|
/**
|
|
1826
2031
|
* StopGame返回参数结构体
|
|
1827
2032
|
*/
|
|
@@ -2036,6 +2241,20 @@ export interface UploadFileToAndroidInstancesResponse {
|
|
|
2036
2241
|
*/
|
|
2037
2242
|
RequestId?: string;
|
|
2038
2243
|
}
|
|
2244
|
+
/**
|
|
2245
|
+
* 安卓实例应用黑名单
|
|
2246
|
+
*/
|
|
2247
|
+
export interface AndroidInstanceAppBlacklist {
|
|
2248
|
+
/**
|
|
2249
|
+
* 安卓实例 ID
|
|
2250
|
+
*/
|
|
2251
|
+
AndroidInstanceId?: string;
|
|
2252
|
+
/**
|
|
2253
|
+
* 应用黑名单
|
|
2254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2255
|
+
*/
|
|
2256
|
+
AppBlacklist?: Array<string>;
|
|
2257
|
+
}
|
|
2039
2258
|
/**
|
|
2040
2259
|
* CreateAndroidInstances请求参数结构体
|
|
2041
2260
|
*/
|
|
@@ -2073,17 +2292,13 @@ export interface CreateAndroidInstancesRequest {
|
|
|
2073
2292
|
ImageId?: string;
|
|
2074
2293
|
}
|
|
2075
2294
|
/**
|
|
2076
|
-
*
|
|
2295
|
+
* CreateAndroidInstanceLabel返回参数结构体
|
|
2077
2296
|
*/
|
|
2078
|
-
export interface
|
|
2079
|
-
/**
|
|
2080
|
-
* 实例ID
|
|
2081
|
-
*/
|
|
2082
|
-
AndroidInstanceIds: Array<string>;
|
|
2297
|
+
export interface CreateAndroidInstanceLabelResponse {
|
|
2083
2298
|
/**
|
|
2084
|
-
*
|
|
2299
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2085
2300
|
*/
|
|
2086
|
-
|
|
2301
|
+
RequestId?: string;
|
|
2087
2302
|
}
|
|
2088
2303
|
/**
|
|
2089
2304
|
* StartPublishStream返回参数结构体
|
|
@@ -2193,6 +2408,19 @@ export interface AndroidInstanceUploadFile {
|
|
|
2193
2408
|
*/
|
|
2194
2409
|
DestinationDirectory?: string;
|
|
2195
2410
|
}
|
|
2411
|
+
/**
|
|
2412
|
+
* SetAndroidInstancesBGAppKeepAlive返回参数结构体
|
|
2413
|
+
*/
|
|
2414
|
+
export interface SetAndroidInstancesBGAppKeepAliveResponse {
|
|
2415
|
+
/**
|
|
2416
|
+
* 错误列表。如果实例操作都成功,则响应没有这个字段;如果有实例操作失败,该字段包含了实例操作的错误信息
|
|
2417
|
+
*/
|
|
2418
|
+
AndroidInstanceErrors?: Array<AndroidInstanceError>;
|
|
2419
|
+
/**
|
|
2420
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2421
|
+
*/
|
|
2422
|
+
RequestId?: string;
|
|
2423
|
+
}
|
|
2196
2424
|
/**
|
|
2197
2425
|
* UploadFilesToAndroidInstances返回参数结构体
|
|
2198
2426
|
*/
|
|
@@ -310,7 +310,7 @@ export declare class Client extends AbstractClient {
|
|
|
310
310
|
*/
|
|
311
311
|
GetDeviceSumStatistics(req: GetDeviceSumStatisticsRequest, cb?: (error: string, rep: GetDeviceSumStatisticsResponse) => void): Promise<GetDeviceSumStatisticsResponse>;
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
313
|
+
* 提供删除某个项目的能力。
|
|
314
314
|
*/
|
|
315
315
|
DeleteProject(req: DeleteProjectRequest, cb?: (error: string, rep: DeleteProjectResponse) => void): Promise<DeleteProjectResponse>;
|
|
316
316
|
/**
|
|
@@ -406,7 +406,7 @@ export declare class Client extends AbstractClient {
|
|
|
406
406
|
*/
|
|
407
407
|
UpdateDevicesEnableState(req: UpdateDevicesEnableStateRequest, cb?: (error: string, rep: UpdateDevicesEnableStateResponse) => void): Promise<UpdateDevicesEnableStateResponse>;
|
|
408
408
|
/**
|
|
409
|
-
*
|
|
409
|
+
* 修改项目。
|
|
410
410
|
*/
|
|
411
411
|
ModifyProject(req: ModifyProjectRequest, cb?: (error: string, rep: ModifyProjectResponse) => void): Promise<ModifyProjectResponse>;
|
|
412
412
|
/**
|
|
@@ -480,7 +480,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
480
480
|
return this.request("GetDeviceSumStatistics", req, cb);
|
|
481
481
|
}
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* 提供删除某个项目的能力。
|
|
484
484
|
*/
|
|
485
485
|
async DeleteProject(req, cb) {
|
|
486
486
|
return this.request("DeleteProject", req, cb);
|
|
@@ -622,7 +622,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
622
622
|
return this.request("UpdateDevicesEnableState", req, cb);
|
|
623
623
|
}
|
|
624
624
|
/**
|
|
625
|
-
*
|
|
625
|
+
* 修改项目。
|
|
626
626
|
*/
|
|
627
627
|
async ModifyProject(req, cb) {
|
|
628
628
|
return this.request("ModifyProject", req, cb);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse,
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -718,7 +718,7 @@ export declare class Client extends AbstractClient {
|
|
|
718
718
|
*/
|
|
719
719
|
DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
|
|
720
720
|
/**
|
|
721
|
-
*
|
|
721
|
+
* 智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
|
722
722
|
|
|
723
723
|
默认接口请求频率限制:20次/秒。
|
|
724
724
|
*/
|
|
@@ -882,7 +882,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
882
882
|
return this.request("DriverLicenseOCR", req, cb);
|
|
883
883
|
}
|
|
884
884
|
/**
|
|
885
|
-
*
|
|
885
|
+
* 智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
|
886
886
|
|
|
887
887
|
默认接口请求频率限制:20次/秒。
|
|
888
888
|
*/
|