tencentcloud-sdk-nodejs 4.0.356 → 4.0.357
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 +270 -0
- package/SERVICE_CHANGELOG.md +491 -513
- package/package.json +1 -1
- package/products.md +14 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/index.ts +5 -0
- package/src/services/acp/v20220105/acp_client.ts +106 -0
- package/src/services/acp/v20220105/acp_models.ts +605 -0
- package/src/services/acp/v20220105/index.ts +6 -0
- package/src/services/ams/v20201229/ams_client.ts +2 -0
- package/src/services/ams/v20201229/ams_models.ts +54 -0
- package/src/services/asr/v20190614/asr_models.ts +2 -2
- package/src/services/bsca/v20210811/bsca_client.ts +12 -0
- package/src/services/bsca/v20210811/bsca_models.ts +25 -0
- package/src/services/ecm/v20190719/ecm_models.ts +10 -2
- package/src/services/emr/v20190103/emr_client.ts +6 -4
- package/src/services/emr/v20190103/emr_models.ts +7 -1
- package/src/services/index.ts +2 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/mmps/index.ts +5 -0
- package/src/services/mmps/v20200710/index.ts +6 -0
- package/src/services/mmps/v20200710/mmps_client.ts +167 -0
- package/src/services/mmps/v20200710/mmps_models.ts +846 -0
- package/src/services/ocr/v20181119/ocr_client.ts +38 -1
- package/src/services/ocr/v20181119/ocr_models.ts +329 -10
- package/src/services/tem/v20210701/tem_models.ts +7 -2
- package/src/services/tiia/v20190529/tiia_client.ts +17 -2
- package/src/services/tiia/v20190529/tiia_models.ts +74 -35
- package/src/services/tke/v20180525/tke_client.ts +1 -0
- package/src/services/tke/v20180525/tke_models.ts +20 -0
- package/src/services/vm/v20201229/vm_client.ts +2 -0
- package/src/services/vm/v20201229/vm_models.ts +54 -0
- package/src/services/vod/v20180717/vod_models.ts +5 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/index.d.ts +6 -0
- package/tencentcloud/services/acp/index.js +7 -0
- package/tencentcloud/services/acp/v20220105/acp_client.d.ts +34 -0
- package/tencentcloud/services/acp/v20220105/acp_client.js +67 -0
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +491 -0
- package/tencentcloud/services/acp/v20220105/acp_models.js +18 -0
- package/tencentcloud/services/acp/v20220105/index.d.ts +6 -0
- package/tencentcloud/services/acp/v20220105/index.js +9 -0
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +47 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/bsca/v20210811/bsca_client.d.ts +5 -1
- package/tencentcloud/services/bsca/v20210811/bsca_client.js +6 -0
- package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +22 -0
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +9 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +4 -2
- package/tencentcloud/services/emr/v20190103/emr_client.js +4 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +7 -1
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/mmps/index.d.ts +6 -0
- package/tencentcloud/services/mmps/index.js +7 -0
- package/tencentcloud/services/mmps/v20200710/index.d.ts +6 -0
- package/tencentcloud/services/mmps/v20200710/index.js +9 -0
- package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +54 -0
- package/tencentcloud/services/mmps/v20200710/mmps_client.js +97 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +695 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.js +18 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +13 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +18 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +275 -8
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +6 -2
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +8 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +64 -29
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +17 -0
- package/tencentcloud/services/vm/v20201229/vm_models.d.ts +47 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -4
- package/test/acp.v20220105.test.js +81 -0
- package/test/bsca.v20210811.test.js +10 -0
- package/test/mmps.v20200710.test.js +131 -0
- package/test/ocr.v20181119.test.js +30 -0
- package/test/tiia.v20190529.test.js +10 -0
|
@@ -499,6 +499,21 @@ export interface TaskFilter {
|
|
|
499
499
|
*/
|
|
500
500
|
TaskStatus?: string;
|
|
501
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* 识别类标签结果信息
|
|
504
|
+
*/
|
|
505
|
+
export interface RecognitionResult {
|
|
506
|
+
/**
|
|
507
|
+
* 可能的取值有:Teenager 、Gender
|
|
508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
509
|
+
*/
|
|
510
|
+
Label: string;
|
|
511
|
+
/**
|
|
512
|
+
* 识别标签列表
|
|
513
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
514
|
+
*/
|
|
515
|
+
Tags: Array<Tag>;
|
|
516
|
+
}
|
|
502
517
|
/**
|
|
503
518
|
* CancelTask返回参数结构体
|
|
504
519
|
*/
|
|
@@ -619,6 +634,11 @@ export interface AudioResult {
|
|
|
619
634
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
620
635
|
*/
|
|
621
636
|
SubLabel: string;
|
|
637
|
+
/**
|
|
638
|
+
* 识别类标签结果信息列表
|
|
639
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
640
|
+
*/
|
|
641
|
+
RecognitionResults: Array<RecognitionResult>;
|
|
622
642
|
}
|
|
623
643
|
/**
|
|
624
644
|
* 音频呻吟审核结果
|
|
@@ -718,6 +738,33 @@ export interface MediaInfo {
|
|
|
718
738
|
*/
|
|
719
739
|
Duration: number;
|
|
720
740
|
}
|
|
741
|
+
/**
|
|
742
|
+
* 音频切片识别标签
|
|
743
|
+
*/
|
|
744
|
+
export interface Tag {
|
|
745
|
+
/**
|
|
746
|
+
* 根据Label字段确定具体名称:
|
|
747
|
+
当Label 为Teenager 时 Name可能取值有:Teenager
|
|
748
|
+
当Label 为Gender 时 Name可能取值有:Male 、Female
|
|
749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
750
|
+
*/
|
|
751
|
+
Name: string;
|
|
752
|
+
/**
|
|
753
|
+
* 置信分:0~100,数值越大表示置信度越高
|
|
754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
|
+
*/
|
|
756
|
+
Score: number;
|
|
757
|
+
/**
|
|
758
|
+
* 识别开始偏移时间,单位:毫秒
|
|
759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
|
+
*/
|
|
761
|
+
StartTime: number;
|
|
762
|
+
/**
|
|
763
|
+
* 识别结束偏移时间,单位:毫秒
|
|
764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
765
|
+
*/
|
|
766
|
+
EndTime: number;
|
|
767
|
+
}
|
|
721
768
|
/**
|
|
722
769
|
* 用于返回音频片段的审核结果
|
|
723
770
|
*/
|
|
@@ -8141,6 +8141,10 @@ export interface ApplyUploadRequest {
|
|
|
8141
8141
|
* 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。
|
|
8142
8142
|
*/
|
|
8143
8143
|
MediaType: string;
|
|
8144
|
+
/**
|
|
8145
|
+
* <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
8146
|
+
*/
|
|
8147
|
+
SubAppId?: number;
|
|
8144
8148
|
/**
|
|
8145
8149
|
* 媒体名称。
|
|
8146
8150
|
*/
|
|
@@ -8178,10 +8182,6 @@ export interface ApplyUploadRequest {
|
|
|
8178
8182
|
* 保留字段,特殊用途时使用。
|
|
8179
8183
|
*/
|
|
8180
8184
|
ExtInfo?: string;
|
|
8181
|
-
/**
|
|
8182
|
-
* 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
|
8183
|
-
*/
|
|
8184
|
-
SubAppId?: number;
|
|
8185
8185
|
}
|
|
8186
8186
|
/**
|
|
8187
8187
|
* CreateSampleSnapshotTemplate返回参数结构体
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.acp.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("acp.v20220105.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("acp.v20220105.CreateAppScanTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateAppScanTask({})
|
|
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("acp.v20220105.CreateAppScanTaskRepeat", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateAppScanTaskRepeat({})
|
|
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
|
+
it("acp.v20220105.DescribeFileTicket", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFileTicket({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("acp.v20220105.DescribeScanTaskReportUrl", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeScanTaskReportUrl({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("acp.v20220105.DescribeScanTaskStatus", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeScanTaskStatus({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("acp.v20220105.DescribeScanTaskList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeScanTaskList({})
|
|
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
|
+
|
|
81
|
+
})
|
|
@@ -58,4 +58,14 @@ it("bsca.v20210811.DescribeKBVulnerability", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("bsca.v20210811.MatchKBPURLList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.MatchKBPURLList({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
})
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.mmps.v20200710.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("mmps.v20200710.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("mmps.v20200710.CreateAppScanTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateAppScanTask({})
|
|
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("mmps.v20200710.DescribeScanTaskList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeScanTaskList({})
|
|
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
|
+
it("mmps.v20200710.DescribeFlySecMiniAppReportUrl", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFlySecMiniAppReportUrl({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("mmps.v20200710.DescribeFlySecMiniAppScanTaskStatus", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeFlySecMiniAppScanTaskStatus({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("mmps.v20200710.CreateFlySecMiniAppScanTask", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateFlySecMiniAppScanTask({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("mmps.v20200710.CreateFlySecMiniAppScanTaskRepeat", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateFlySecMiniAppScanTaskRepeat({})
|
|
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
|
+
|
|
81
|
+
it("mmps.v20200710.DescribeScanTaskReportUrl", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeScanTaskReportUrl({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("mmps.v20200710.DescribeFlySecMiniAppScanTaskList", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeFlySecMiniAppScanTaskList({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("mmps.v20200710.DescribeScanTaskStatus", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeScanTaskStatus({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("mmps.v20200710.CreateAppScanTaskRepeat", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateAppScanTaskRepeat({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
it("mmps.v20200710.DescribeFlySecMiniAppScanTaskParam", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeFlySecMiniAppScanTaskParam({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
})
|
|
@@ -508,6 +508,16 @@ it("ocr.v20181119.SealOCR", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
+
it("ocr.v20181119.RecognizePhilippinesVoteIDOCR", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.RecognizePhilippinesVoteIDOCR({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
511
521
|
it("ocr.v20181119.TrainTicketOCR", async function () {
|
|
512
522
|
try {
|
|
513
523
|
const data = await client.TrainTicketOCR({})
|
|
@@ -668,6 +678,16 @@ it("ocr.v20181119.FinanBillOCR", async function () {
|
|
|
668
678
|
}
|
|
669
679
|
})
|
|
670
680
|
|
|
681
|
+
it("ocr.v20181119.RecognizePhilippinesDrivingLicenseOCR", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.RecognizePhilippinesDrivingLicenseOCR({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
671
691
|
it("ocr.v20181119.VerifyOfdVatInvoiceOCR", async function () {
|
|
672
692
|
try {
|
|
673
693
|
const data = await client.VerifyOfdVatInvoiceOCR({})
|
|
@@ -688,6 +708,16 @@ it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
|
688
708
|
}
|
|
689
709
|
})
|
|
690
710
|
|
|
711
|
+
it("ocr.v20181119.RecognizeIndonesiaIDCardOCR", async function () {
|
|
712
|
+
try {
|
|
713
|
+
const data = await client.RecognizeIndonesiaIDCardOCR({})
|
|
714
|
+
expect(data).to.be.ok
|
|
715
|
+
} catch(error) {
|
|
716
|
+
expect(error.requestId).to.be.ok
|
|
717
|
+
expect(error.code).to.be.ok
|
|
718
|
+
}
|
|
719
|
+
})
|
|
720
|
+
|
|
691
721
|
it("ocr.v20181119.RecognizeHealthCodeOCR", async function () {
|
|
692
722
|
try {
|
|
693
723
|
const data = await client.RecognizeHealthCodeOCR({})
|
|
@@ -38,6 +38,16 @@ it("tiia.v20190529.DetectProductBeta", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("tiia.v20190529.DetectLabelPro", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DetectLabelPro({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("tiia.v20190529.RecognizeCar", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.RecognizeCar({})
|