tencentcloud-sdk-nodejs 4.0.980 → 4.0.982
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 +531 -0
- package/SERVICE_CHANGELOG.md +597 -155
- package/package.json +1 -1
- package/products.md +38 -38
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +47 -22
- package/src/services/apigateway/v20180808/apigateway_models.ts +187 -81
- package/src/services/as/v20180419/as_models.ts +7 -6
- package/src/services/bi/v20220105/bi_client.ts +37 -9
- package/src/services/bi/v20220105/bi_models.ts +240 -47
- package/src/services/billing/v20180709/billing_models.ts +49 -80
- package/src/services/bpaas/v20181217/bpaas_models.ts +20 -20
- package/src/services/cam/v20190116/cam_models.ts +27 -27
- package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
- package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +40 -120
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +8 -2
- package/src/services/config/v20220802/config_client.ts +29 -3
- package/src/services/config/v20220802/config_models.ts +226 -41
- package/src/services/dcdb/v20180411/dcdb_models.ts +54 -54
- package/src/services/dnspod/v20210323/dnspod_client.ts +34 -10
- package/src/services/dnspod/v20210323/dnspod_models.ts +116 -60
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +10 -6
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +6 -4
- package/src/services/goosefs/v20220519/goosefs_models.ts +4 -0
- package/src/services/gwlb/v20240906/gwlb_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +7 -2
- package/src/services/ivld/v20210903/ivld_client.ts +0 -1
- package/src/services/ivld/v20210903/ivld_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_client.ts +25 -1
- package/src/services/lcic/v20220817/lcic_models.ts +244 -104
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -2
- package/src/services/live/v20180801/live_client.ts +93 -17
- package/src/services/live/v20180801/live_models.ts +453 -263
- package/src/services/lke/v20231130/lke_client.ts +1 -1
- package/src/services/lke/v20231130/lke_models.ts +11 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +56 -56
- package/src/services/mps/v20190612/mps_models.ts +6 -2
- package/src/services/oceanus/v20190422/oceanus_models.ts +4 -0
- package/src/services/ocr/v20181119/ocr_client.ts +901 -992
- package/src/services/ocr/v20181119/ocr_models.ts +73 -586
- package/src/services/organization/v20181225/organization_models.ts +20 -20
- package/src/services/organization/v20210331/organization_models.ts +42 -206
- package/src/services/privatedns/v20201028/privatedns_client.ts +49 -172
- package/src/services/privatedns/v20201028/privatedns_models.ts +547 -1012
- package/src/services/tke/v20220501/tke_models.ts +3 -1
- package/src/services/trtc/v20190722/trtc_client.ts +32 -7
- package/src/services/trtc/v20190722/trtc_models.ts +106 -42
- package/src/services/vod/v20180717/vod_models.ts +8 -0
- package/src/services/vpc/v20170312/vpc_models.ts +8 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +16 -8
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +22 -10
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +182 -81
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -6
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +11 -3
- package/tencentcloud/services/bi/v20220105/bi_client.js +15 -3
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +231 -46
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +42 -73
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +20 -20
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +27 -27
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
- package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +40 -120
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -2
- package/tencentcloud/services/config/v20220802/config_client.d.ts +9 -1
- package/tencentcloud/services/config/v20220802/config_client.js +12 -0
- package/tencentcloud/services/config/v20220802/config_models.d.ts +219 -40
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +54 -54
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +11 -3
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +15 -3
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +112 -60
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +6 -4
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +4 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +7 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +0 -1
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +0 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +240 -104
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -2
- package/tencentcloud/services/live/v20180801/live_client.d.ts +31 -3
- package/tencentcloud/services/live/v20180801/live_client.js +43 -3
- package/tencentcloud/services/live/v20180801/live_models.d.ts +440 -262
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +11 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +56 -56
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +6 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +533 -567
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +688 -736
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +64 -562
- package/tencentcloud/services/organization/v20181225/organization_models.d.ts +20 -20
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +41 -205
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.d.ts +3 -43
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.js +3 -63
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +548 -990
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +3 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +12 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +16 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +102 -42
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +8 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -0
- package/test/apigateway.v20180808.test.js +32 -12
- package/test/bi.v20220105.test.js +22 -2
- package/test/config.v20220802.test.js +20 -0
- package/test/dnspod.v20210323.test.js +22 -2
- package/test/lcic.v20220817.test.js +20 -0
- package/test/live.v20180801.test.js +62 -2
- package/test/ocr.v20181119.test.js +158 -228
- package/test/privatedns.v20201028.test.js +2 -102
- package/test/trtc.v20190722.test.js +22 -2
|
@@ -18,19 +18,9 @@ const client = new tencentcloud.ocr.v20181119.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ocr.v20181119.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("ocr.v20181119.
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.TextDetect({})
|
|
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("ocr.v20181119.QrcodeOCR", async function () {
|
|
21
|
+
it("ocr.v20181119.GeneralBasicOCR", async function () {
|
|
32
22
|
try {
|
|
33
|
-
const data = await client.
|
|
23
|
+
const data = await client.GeneralBasicOCR({})
|
|
34
24
|
expect(data).to.be.ok
|
|
35
25
|
} catch(error) {
|
|
36
26
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +28,9 @@ it("ocr.v20181119.QrcodeOCR", async function () {
|
|
|
38
28
|
}
|
|
39
29
|
})
|
|
40
30
|
|
|
41
|
-
it("ocr.v20181119.
|
|
31
|
+
it("ocr.v20181119.ImageEnhancement", async function () {
|
|
42
32
|
try {
|
|
43
|
-
const data = await client.
|
|
33
|
+
const data = await client.ImageEnhancement({})
|
|
44
34
|
expect(data).to.be.ok
|
|
45
35
|
} catch(error) {
|
|
46
36
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +38,9 @@ it("ocr.v20181119.GeneralAccurateOCR", async function () {
|
|
|
48
38
|
}
|
|
49
39
|
})
|
|
50
40
|
|
|
51
|
-
it("ocr.v20181119.
|
|
41
|
+
it("ocr.v20181119.SmartStructuralOCRV2", async function () {
|
|
52
42
|
try {
|
|
53
|
-
const data = await client.
|
|
43
|
+
const data = await client.SmartStructuralOCRV2({})
|
|
54
44
|
expect(data).to.be.ok
|
|
55
45
|
} catch(error) {
|
|
56
46
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +48,9 @@ it("ocr.v20181119.RecognizeContainerOCR", async function () {
|
|
|
58
48
|
}
|
|
59
49
|
})
|
|
60
50
|
|
|
61
|
-
it("ocr.v20181119.
|
|
51
|
+
it("ocr.v20181119.EnterpriseLicenseOCR", async function () {
|
|
62
52
|
try {
|
|
63
|
-
const data = await client.
|
|
53
|
+
const data = await client.EnterpriseLicenseOCR({})
|
|
64
54
|
expect(data).to.be.ok
|
|
65
55
|
} catch(error) {
|
|
66
56
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +58,9 @@ it("ocr.v20181119.RecognizeEncryptedIDCardOCR", async function () {
|
|
|
68
58
|
}
|
|
69
59
|
})
|
|
70
60
|
|
|
71
|
-
it("ocr.v20181119.
|
|
61
|
+
it("ocr.v20181119.BusinessCardOCR", async function () {
|
|
72
62
|
try {
|
|
73
|
-
const data = await client.
|
|
63
|
+
const data = await client.BusinessCardOCR({})
|
|
74
64
|
expect(data).to.be.ok
|
|
75
65
|
} catch(error) {
|
|
76
66
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +68,9 @@ it("ocr.v20181119.RecognizeStoreName", async function () {
|
|
|
78
68
|
}
|
|
79
69
|
})
|
|
80
70
|
|
|
81
|
-
it("ocr.v20181119.
|
|
71
|
+
it("ocr.v20181119.InsuranceBillOCR", async function () {
|
|
82
72
|
try {
|
|
83
|
-
const data = await client.
|
|
73
|
+
const data = await client.InsuranceBillOCR({})
|
|
84
74
|
expect(data).to.be.ok
|
|
85
75
|
} catch(error) {
|
|
86
76
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +78,9 @@ it("ocr.v20181119.MLIDPassportOCR", async function () {
|
|
|
88
78
|
}
|
|
89
79
|
})
|
|
90
80
|
|
|
91
|
-
it("ocr.v20181119.
|
|
81
|
+
it("ocr.v20181119.IDCardOCR", async function () {
|
|
92
82
|
try {
|
|
93
|
-
const data = await client.
|
|
83
|
+
const data = await client.IDCardOCR({})
|
|
94
84
|
expect(data).to.be.ok
|
|
95
85
|
} catch(error) {
|
|
96
86
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +88,9 @@ it("ocr.v20181119.TrainTicketOCR", async function () {
|
|
|
98
88
|
}
|
|
99
89
|
})
|
|
100
90
|
|
|
101
|
-
it("ocr.v20181119.
|
|
91
|
+
it("ocr.v20181119.TollInvoiceOCR", async function () {
|
|
102
92
|
try {
|
|
103
|
-
const data = await client.
|
|
93
|
+
const data = await client.TollInvoiceOCR({})
|
|
104
94
|
expect(data).to.be.ok
|
|
105
95
|
} catch(error) {
|
|
106
96
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +98,9 @@ it("ocr.v20181119.PropOwnerCertOCR", async function () {
|
|
|
108
98
|
}
|
|
109
99
|
})
|
|
110
100
|
|
|
111
|
-
it("ocr.v20181119.
|
|
101
|
+
it("ocr.v20181119.MLIDCardOCR", async function () {
|
|
112
102
|
try {
|
|
113
|
-
const data = await client.
|
|
103
|
+
const data = await client.MLIDCardOCR({})
|
|
114
104
|
expect(data).to.be.ok
|
|
115
105
|
} catch(error) {
|
|
116
106
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +108,9 @@ it("ocr.v20181119.InvoiceGeneralOCR", async function () {
|
|
|
118
108
|
}
|
|
119
109
|
})
|
|
120
110
|
|
|
121
|
-
it("ocr.v20181119.
|
|
111
|
+
it("ocr.v20181119.VatInvoiceVerifyNew", async function () {
|
|
122
112
|
try {
|
|
123
|
-
const data = await client.
|
|
113
|
+
const data = await client.VatInvoiceVerifyNew({})
|
|
124
114
|
expect(data).to.be.ok
|
|
125
115
|
} catch(error) {
|
|
126
116
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +118,9 @@ it("ocr.v20181119.ReconstructDocument", async function () {
|
|
|
128
118
|
}
|
|
129
119
|
})
|
|
130
120
|
|
|
131
|
-
it("ocr.v20181119.
|
|
121
|
+
it("ocr.v20181119.QrcodeOCR", async function () {
|
|
132
122
|
try {
|
|
133
|
-
const data = await client.
|
|
123
|
+
const data = await client.QrcodeOCR({})
|
|
134
124
|
expect(data).to.be.ok
|
|
135
125
|
} catch(error) {
|
|
136
126
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +128,9 @@ it("ocr.v20181119.HKIDCardOCR", async function () {
|
|
|
138
128
|
}
|
|
139
129
|
})
|
|
140
130
|
|
|
141
|
-
it("ocr.v20181119.
|
|
131
|
+
it("ocr.v20181119.GeneralAccurateOCR", async function () {
|
|
142
132
|
try {
|
|
143
|
-
const data = await client.
|
|
133
|
+
const data = await client.GeneralAccurateOCR({})
|
|
144
134
|
expect(data).to.be.ok
|
|
145
135
|
} catch(error) {
|
|
146
136
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +138,9 @@ it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
|
148
138
|
}
|
|
149
139
|
})
|
|
150
140
|
|
|
151
|
-
it("ocr.v20181119.
|
|
141
|
+
it("ocr.v20181119.RecognizeContainerOCR", async function () {
|
|
152
142
|
try {
|
|
153
|
-
const data = await client.
|
|
143
|
+
const data = await client.RecognizeContainerOCR({})
|
|
154
144
|
expect(data).to.be.ok
|
|
155
145
|
} catch(error) {
|
|
156
146
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +148,9 @@ it("ocr.v20181119.PermitOCR", async function () {
|
|
|
158
148
|
}
|
|
159
149
|
})
|
|
160
150
|
|
|
161
|
-
it("ocr.v20181119.
|
|
151
|
+
it("ocr.v20181119.RecognizeTableAccurateOCR", async function () {
|
|
162
152
|
try {
|
|
163
|
-
const data = await client.
|
|
153
|
+
const data = await client.RecognizeTableAccurateOCR({})
|
|
164
154
|
expect(data).to.be.ok
|
|
165
155
|
} catch(error) {
|
|
166
156
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +158,9 @@ it("ocr.v20181119.BusInvoiceOCR", async function () {
|
|
|
168
158
|
}
|
|
169
159
|
})
|
|
170
160
|
|
|
171
|
-
it("ocr.v20181119.
|
|
161
|
+
it("ocr.v20181119.RecognizeEncryptedIDCardOCR", async function () {
|
|
172
162
|
try {
|
|
173
|
-
const data = await client.
|
|
163
|
+
const data = await client.RecognizeEncryptedIDCardOCR({})
|
|
174
164
|
expect(data).to.be.ok
|
|
175
165
|
} catch(error) {
|
|
176
166
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +168,9 @@ it("ocr.v20181119.EnglishOCR", async function () {
|
|
|
178
168
|
}
|
|
179
169
|
})
|
|
180
170
|
|
|
181
|
-
it("ocr.v20181119.
|
|
171
|
+
it("ocr.v20181119.MixedInvoiceDetect", async function () {
|
|
182
172
|
try {
|
|
183
|
-
const data = await client.
|
|
173
|
+
const data = await client.MixedInvoiceDetect({})
|
|
184
174
|
expect(data).to.be.ok
|
|
185
175
|
} catch(error) {
|
|
186
176
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +178,9 @@ it("ocr.v20181119.SmartStructuralOCR", async function () {
|
|
|
188
178
|
}
|
|
189
179
|
})
|
|
190
180
|
|
|
191
|
-
it("ocr.v20181119.
|
|
181
|
+
it("ocr.v20181119.VehicleRegCertOCR", async function () {
|
|
192
182
|
try {
|
|
193
|
-
const data = await client.
|
|
183
|
+
const data = await client.VehicleRegCertOCR({})
|
|
194
184
|
expect(data).to.be.ok
|
|
195
185
|
} catch(error) {
|
|
196
186
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +188,9 @@ it("ocr.v20181119.ClassifyStoreName", async function () {
|
|
|
198
188
|
}
|
|
199
189
|
})
|
|
200
190
|
|
|
201
|
-
it("ocr.v20181119.
|
|
191
|
+
it("ocr.v20181119.ShipInvoiceOCR", async function () {
|
|
202
192
|
try {
|
|
203
|
-
const data = await client.
|
|
193
|
+
const data = await client.ShipInvoiceOCR({})
|
|
204
194
|
expect(data).to.be.ok
|
|
205
195
|
} catch(error) {
|
|
206
196
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +198,9 @@ it("ocr.v20181119.TaxiInvoiceOCR", async function () {
|
|
|
208
198
|
}
|
|
209
199
|
})
|
|
210
200
|
|
|
211
|
-
it("ocr.v20181119.
|
|
201
|
+
it("ocr.v20181119.RecognizeStoreName", async function () {
|
|
212
202
|
try {
|
|
213
|
-
const data = await client.
|
|
203
|
+
const data = await client.RecognizeStoreName({})
|
|
214
204
|
expect(data).to.be.ok
|
|
215
205
|
} catch(error) {
|
|
216
206
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +208,9 @@ it("ocr.v20181119.RideHailingDriverLicenseOCR", async function () {
|
|
|
218
208
|
}
|
|
219
209
|
})
|
|
220
210
|
|
|
221
|
-
it("ocr.v20181119.
|
|
211
|
+
it("ocr.v20181119.MLIDPassportOCR", async function () {
|
|
222
212
|
try {
|
|
223
|
-
const data = await client.
|
|
213
|
+
const data = await client.MLIDPassportOCR({})
|
|
224
214
|
expect(data).to.be.ok
|
|
225
215
|
} catch(error) {
|
|
226
216
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +218,9 @@ it("ocr.v20181119.DutyPaidProofOCR", async function () {
|
|
|
228
218
|
}
|
|
229
219
|
})
|
|
230
220
|
|
|
231
|
-
it("ocr.v20181119.
|
|
221
|
+
it("ocr.v20181119.VatRollInvoiceOCR", async function () {
|
|
232
222
|
try {
|
|
233
|
-
const data = await client.
|
|
223
|
+
const data = await client.VatRollInvoiceOCR({})
|
|
234
224
|
expect(data).to.be.ok
|
|
235
225
|
} catch(error) {
|
|
236
226
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +228,9 @@ it("ocr.v20181119.MainlandPermitOCR", async function () {
|
|
|
238
228
|
}
|
|
239
229
|
})
|
|
240
230
|
|
|
241
|
-
it("ocr.v20181119.
|
|
231
|
+
it("ocr.v20181119.QuotaInvoiceOCR", async function () {
|
|
242
232
|
try {
|
|
243
|
-
const data = await client.
|
|
233
|
+
const data = await client.QuotaInvoiceOCR({})
|
|
244
234
|
expect(data).to.be.ok
|
|
245
235
|
} catch(error) {
|
|
246
236
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +238,9 @@ it("ocr.v20181119.FlightInvoiceOCR", async function () {
|
|
|
248
238
|
}
|
|
249
239
|
})
|
|
250
240
|
|
|
251
|
-
it("ocr.v20181119.
|
|
241
|
+
it("ocr.v20181119.WaybillOCR", async function () {
|
|
252
242
|
try {
|
|
253
|
-
const data = await client.
|
|
243
|
+
const data = await client.WaybillOCR({})
|
|
254
244
|
expect(data).to.be.ok
|
|
255
245
|
} catch(error) {
|
|
256
246
|
expect(error.requestId).to.be.ok
|
|
@@ -258,9 +248,9 @@ it("ocr.v20181119.RecognizeGeneralInvoice", async function () {
|
|
|
258
248
|
}
|
|
259
249
|
})
|
|
260
250
|
|
|
261
|
-
it("ocr.v20181119.
|
|
251
|
+
it("ocr.v20181119.VinOCR", async function () {
|
|
262
252
|
try {
|
|
263
|
-
const data = await client.
|
|
253
|
+
const data = await client.VinOCR({})
|
|
264
254
|
expect(data).to.be.ok
|
|
265
255
|
} catch(error) {
|
|
266
256
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +258,9 @@ it("ocr.v20181119.InsuranceBillOCR", async function () {
|
|
|
268
258
|
}
|
|
269
259
|
})
|
|
270
260
|
|
|
271
|
-
it("ocr.v20181119.
|
|
261
|
+
it("ocr.v20181119.GeneralFastOCR", async function () {
|
|
272
262
|
try {
|
|
273
|
-
const data = await client.
|
|
263
|
+
const data = await client.GeneralFastOCR({})
|
|
274
264
|
expect(data).to.be.ok
|
|
275
265
|
} catch(error) {
|
|
276
266
|
expect(error.requestId).to.be.ok
|
|
@@ -278,9 +268,9 @@ it("ocr.v20181119.VatInvoiceVerifyNew", async function () {
|
|
|
278
268
|
}
|
|
279
269
|
})
|
|
280
270
|
|
|
281
|
-
it("ocr.v20181119.
|
|
271
|
+
it("ocr.v20181119.PropOwnerCertOCR", async function () {
|
|
282
272
|
try {
|
|
283
|
-
const data = await client.
|
|
273
|
+
const data = await client.PropOwnerCertOCR({})
|
|
284
274
|
expect(data).to.be.ok
|
|
285
275
|
} catch(error) {
|
|
286
276
|
expect(error.requestId).to.be.ok
|
|
@@ -288,9 +278,9 @@ it("ocr.v20181119.VinOCR", async function () {
|
|
|
288
278
|
}
|
|
289
279
|
})
|
|
290
280
|
|
|
291
|
-
it("ocr.v20181119.
|
|
281
|
+
it("ocr.v20181119.SmartStructuralPro", async function () {
|
|
292
282
|
try {
|
|
293
|
-
const data = await client.
|
|
283
|
+
const data = await client.SmartStructuralPro({})
|
|
294
284
|
expect(data).to.be.ok
|
|
295
285
|
} catch(error) {
|
|
296
286
|
expect(error.requestId).to.be.ok
|
|
@@ -308,19 +298,9 @@ it("ocr.v20181119.BizLicenseOCR", async function () {
|
|
|
308
298
|
}
|
|
309
299
|
})
|
|
310
300
|
|
|
311
|
-
it("ocr.v20181119.
|
|
312
|
-
try {
|
|
313
|
-
const data = await client.GetTaskState({})
|
|
314
|
-
expect(data).to.be.ok
|
|
315
|
-
} catch(error) {
|
|
316
|
-
expect(error.requestId).to.be.ok
|
|
317
|
-
expect(error.code).to.be.ok
|
|
318
|
-
}
|
|
319
|
-
})
|
|
320
|
-
|
|
321
|
-
it("ocr.v20181119.GeneralBasicOCR", async function () {
|
|
301
|
+
it("ocr.v20181119.GeneralHandwritingOCR", async function () {
|
|
322
302
|
try {
|
|
323
|
-
const data = await client.
|
|
303
|
+
const data = await client.GeneralHandwritingOCR({})
|
|
324
304
|
expect(data).to.be.ok
|
|
325
305
|
} catch(error) {
|
|
326
306
|
expect(error.requestId).to.be.ok
|
|
@@ -328,9 +308,9 @@ it("ocr.v20181119.GeneralBasicOCR", async function () {
|
|
|
328
308
|
}
|
|
329
309
|
})
|
|
330
310
|
|
|
331
|
-
it("ocr.v20181119.
|
|
311
|
+
it("ocr.v20181119.RecognizeForeignPermanentResidentIdCard", async function () {
|
|
332
312
|
try {
|
|
333
|
-
const data = await client.
|
|
313
|
+
const data = await client.RecognizeForeignPermanentResidentIdCard({})
|
|
334
314
|
expect(data).to.be.ok
|
|
335
315
|
} catch(error) {
|
|
336
316
|
expect(error.requestId).to.be.ok
|
|
@@ -338,9 +318,9 @@ it("ocr.v20181119.RecognizeThaiIDCardOCR", async function () {
|
|
|
338
318
|
}
|
|
339
319
|
})
|
|
340
320
|
|
|
341
|
-
it("ocr.v20181119.
|
|
321
|
+
it("ocr.v20181119.VatInvoiceVerify", async function () {
|
|
342
322
|
try {
|
|
343
|
-
const data = await client.
|
|
323
|
+
const data = await client.VatInvoiceVerify({})
|
|
344
324
|
expect(data).to.be.ok
|
|
345
325
|
} catch(error) {
|
|
346
326
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +328,9 @@ it("ocr.v20181119.TableOCR", async function () {
|
|
|
348
328
|
}
|
|
349
329
|
})
|
|
350
330
|
|
|
351
|
-
it("ocr.v20181119.
|
|
331
|
+
it("ocr.v20181119.TaxiInvoiceOCR", async function () {
|
|
352
332
|
try {
|
|
353
|
-
const data = await client.
|
|
333
|
+
const data = await client.TaxiInvoiceOCR({})
|
|
354
334
|
expect(data).to.be.ok
|
|
355
335
|
} catch(error) {
|
|
356
336
|
expect(error.requestId).to.be.ok
|
|
@@ -358,9 +338,9 @@ it("ocr.v20181119.ArithmeticOCR", async function () {
|
|
|
358
338
|
}
|
|
359
339
|
})
|
|
360
340
|
|
|
361
|
-
it("ocr.v20181119.
|
|
341
|
+
it("ocr.v20181119.InvoiceGeneralOCR", async function () {
|
|
362
342
|
try {
|
|
363
|
-
const data = await client.
|
|
343
|
+
const data = await client.InvoiceGeneralOCR({})
|
|
364
344
|
expect(data).to.be.ok
|
|
365
345
|
} catch(error) {
|
|
366
346
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +348,9 @@ it("ocr.v20181119.EstateCertOCR", async function () {
|
|
|
368
348
|
}
|
|
369
349
|
})
|
|
370
350
|
|
|
371
|
-
it("ocr.v20181119.
|
|
351
|
+
it("ocr.v20181119.RideHailingTransportLicenseOCR", async function () {
|
|
372
352
|
try {
|
|
373
|
-
const data = await client.
|
|
353
|
+
const data = await client.RideHailingTransportLicenseOCR({})
|
|
374
354
|
expect(data).to.be.ok
|
|
375
355
|
} catch(error) {
|
|
376
356
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +358,9 @@ it("ocr.v20181119.RecognizePhilippinesUMIDOCR", async function () {
|
|
|
378
358
|
}
|
|
379
359
|
})
|
|
380
360
|
|
|
381
|
-
it("ocr.v20181119.
|
|
361
|
+
it("ocr.v20181119.GetTaskState", async function () {
|
|
382
362
|
try {
|
|
383
|
-
const data = await client.
|
|
363
|
+
const data = await client.GetTaskState({})
|
|
384
364
|
expect(data).to.be.ok
|
|
385
365
|
} catch(error) {
|
|
386
366
|
expect(error.requestId).to.be.ok
|
|
@@ -388,9 +368,9 @@ it("ocr.v20181119.RecognizeValidIDCardOCR", async function () {
|
|
|
388
368
|
}
|
|
389
369
|
})
|
|
390
370
|
|
|
391
|
-
it("ocr.v20181119.
|
|
371
|
+
it("ocr.v20181119.RecognizeOnlineTaxiItineraryOCR", async function () {
|
|
392
372
|
try {
|
|
393
|
-
const data = await client.
|
|
373
|
+
const data = await client.RecognizeOnlineTaxiItineraryOCR({})
|
|
394
374
|
expect(data).to.be.ok
|
|
395
375
|
} catch(error) {
|
|
396
376
|
expect(error.requestId).to.be.ok
|
|
@@ -398,9 +378,9 @@ it("ocr.v20181119.BankCardOCR", async function () {
|
|
|
398
378
|
}
|
|
399
379
|
})
|
|
400
380
|
|
|
401
|
-
it("ocr.v20181119.
|
|
381
|
+
it("ocr.v20181119.HKIDCardOCR", async function () {
|
|
402
382
|
try {
|
|
403
|
-
const data = await client.
|
|
383
|
+
const data = await client.HKIDCardOCR({})
|
|
404
384
|
expect(data).to.be.ok
|
|
405
385
|
} catch(error) {
|
|
406
386
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +388,9 @@ it("ocr.v20181119.VatInvoiceVerify", async function () {
|
|
|
408
388
|
}
|
|
409
389
|
})
|
|
410
390
|
|
|
411
|
-
it("ocr.v20181119.
|
|
391
|
+
it("ocr.v20181119.RecognizeTableOCR", async function () {
|
|
412
392
|
try {
|
|
413
|
-
const data = await client.
|
|
393
|
+
const data = await client.RecognizeTableOCR({})
|
|
414
394
|
expect(data).to.be.ok
|
|
415
395
|
} catch(error) {
|
|
416
396
|
expect(error.requestId).to.be.ok
|
|
@@ -418,9 +398,9 @@ it("ocr.v20181119.RecognizePhilippinesDrivingLicenseOCR", async function () {
|
|
|
418
398
|
}
|
|
419
399
|
})
|
|
420
400
|
|
|
421
|
-
it("ocr.v20181119.
|
|
401
|
+
it("ocr.v20181119.CreateAIFormTask", async function () {
|
|
422
402
|
try {
|
|
423
|
-
const data = await client.
|
|
403
|
+
const data = await client.CreateAIFormTask({})
|
|
424
404
|
expect(data).to.be.ok
|
|
425
405
|
} catch(error) {
|
|
426
406
|
expect(error.requestId).to.be.ok
|
|
@@ -428,9 +408,9 @@ it("ocr.v20181119.EduPaperOCR", async function () {
|
|
|
428
408
|
}
|
|
429
409
|
})
|
|
430
410
|
|
|
431
|
-
it("ocr.v20181119.
|
|
411
|
+
it("ocr.v20181119.DutyPaidProofOCR", async function () {
|
|
432
412
|
try {
|
|
433
|
-
const data = await client.
|
|
413
|
+
const data = await client.DutyPaidProofOCR({})
|
|
434
414
|
expect(data).to.be.ok
|
|
435
415
|
} catch(error) {
|
|
436
416
|
expect(error.requestId).to.be.ok
|
|
@@ -438,9 +418,9 @@ it("ocr.v20181119.EnterpriseLicenseOCR", async function () {
|
|
|
438
418
|
}
|
|
439
419
|
})
|
|
440
420
|
|
|
441
|
-
it("ocr.v20181119.
|
|
421
|
+
it("ocr.v20181119.FlightInvoiceOCR", async function () {
|
|
442
422
|
try {
|
|
443
|
-
const data = await client.
|
|
423
|
+
const data = await client.FlightInvoiceOCR({})
|
|
444
424
|
expect(data).to.be.ok
|
|
445
425
|
} catch(error) {
|
|
446
426
|
expect(error.requestId).to.be.ok
|
|
@@ -448,9 +428,9 @@ it("ocr.v20181119.BusinessCardOCR", async function () {
|
|
|
448
428
|
}
|
|
449
429
|
})
|
|
450
430
|
|
|
451
|
-
it("ocr.v20181119.
|
|
431
|
+
it("ocr.v20181119.PermitOCR", async function () {
|
|
452
432
|
try {
|
|
453
|
-
const data = await client.
|
|
433
|
+
const data = await client.PermitOCR({})
|
|
454
434
|
expect(data).to.be.ok
|
|
455
435
|
} catch(error) {
|
|
456
436
|
expect(error.requestId).to.be.ok
|
|
@@ -458,9 +438,9 @@ it("ocr.v20181119.IDCardOCR", async function () {
|
|
|
458
438
|
}
|
|
459
439
|
})
|
|
460
440
|
|
|
461
|
-
it("ocr.v20181119.
|
|
441
|
+
it("ocr.v20181119.OrgCodeCertOCR", async function () {
|
|
462
442
|
try {
|
|
463
|
-
const data = await client.
|
|
443
|
+
const data = await client.OrgCodeCertOCR({})
|
|
464
444
|
expect(data).to.be.ok
|
|
465
445
|
} catch(error) {
|
|
466
446
|
expect(error.requestId).to.be.ok
|
|
@@ -468,9 +448,9 @@ it("ocr.v20181119.RecognizeGeneralTextImageWarn", async function () {
|
|
|
468
448
|
}
|
|
469
449
|
})
|
|
470
450
|
|
|
471
|
-
it("ocr.v20181119.
|
|
451
|
+
it("ocr.v20181119.TextDetect", async function () {
|
|
472
452
|
try {
|
|
473
|
-
const data = await client.
|
|
453
|
+
const data = await client.TextDetect({})
|
|
474
454
|
expect(data).to.be.ok
|
|
475
455
|
} catch(error) {
|
|
476
456
|
expect(error.requestId).to.be.ok
|
|
@@ -478,9 +458,9 @@ it("ocr.v20181119.InstitutionOCR", async function () {
|
|
|
478
458
|
}
|
|
479
459
|
})
|
|
480
460
|
|
|
481
|
-
it("ocr.v20181119.
|
|
461
|
+
it("ocr.v20181119.FinanBillSliceOCR", async function () {
|
|
482
462
|
try {
|
|
483
|
-
const data = await client.
|
|
463
|
+
const data = await client.FinanBillSliceOCR({})
|
|
484
464
|
expect(data).to.be.ok
|
|
485
465
|
} catch(error) {
|
|
486
466
|
expect(error.requestId).to.be.ok
|
|
@@ -488,9 +468,9 @@ it("ocr.v20181119.SmartStructuralOCRV2", async function () {
|
|
|
488
468
|
}
|
|
489
469
|
})
|
|
490
470
|
|
|
491
|
-
it("ocr.v20181119.
|
|
471
|
+
it("ocr.v20181119.BusInvoiceOCR", async function () {
|
|
492
472
|
try {
|
|
493
|
-
const data = await client.
|
|
473
|
+
const data = await client.BusInvoiceOCR({})
|
|
494
474
|
expect(data).to.be.ok
|
|
495
475
|
} catch(error) {
|
|
496
476
|
expect(error.requestId).to.be.ok
|
|
@@ -498,9 +478,9 @@ it("ocr.v20181119.RecognizeTableAccurateOCR", async function () {
|
|
|
498
478
|
}
|
|
499
479
|
})
|
|
500
480
|
|
|
501
|
-
it("ocr.v20181119.
|
|
481
|
+
it("ocr.v20181119.RecognizeMedicalInvoiceOCR", async function () {
|
|
502
482
|
try {
|
|
503
|
-
const data = await client.
|
|
483
|
+
const data = await client.RecognizeMedicalInvoiceOCR({})
|
|
504
484
|
expect(data).to.be.ok
|
|
505
485
|
} catch(error) {
|
|
506
486
|
expect(error.requestId).to.be.ok
|
|
@@ -508,9 +488,9 @@ it("ocr.v20181119.MixedInvoiceDetect", async function () {
|
|
|
508
488
|
}
|
|
509
489
|
})
|
|
510
490
|
|
|
511
|
-
it("ocr.v20181119.
|
|
491
|
+
it("ocr.v20181119.VatInvoiceOCR", async function () {
|
|
512
492
|
try {
|
|
513
|
-
const data = await client.
|
|
493
|
+
const data = await client.VatInvoiceOCR({})
|
|
514
494
|
expect(data).to.be.ok
|
|
515
495
|
} catch(error) {
|
|
516
496
|
expect(error.requestId).to.be.ok
|
|
@@ -518,9 +498,9 @@ it("ocr.v20181119.VatRollInvoiceOCR", async function () {
|
|
|
518
498
|
}
|
|
519
499
|
})
|
|
520
500
|
|
|
521
|
-
it("ocr.v20181119.
|
|
501
|
+
it("ocr.v20181119.TableOCR", async function () {
|
|
522
502
|
try {
|
|
523
|
-
const data = await client.
|
|
503
|
+
const data = await client.TableOCR({})
|
|
524
504
|
expect(data).to.be.ok
|
|
525
505
|
} catch(error) {
|
|
526
506
|
expect(error.requestId).to.be.ok
|
|
@@ -528,9 +508,9 @@ it("ocr.v20181119.QuotaInvoiceOCR", async function () {
|
|
|
528
508
|
}
|
|
529
509
|
})
|
|
530
510
|
|
|
531
|
-
it("ocr.v20181119.
|
|
511
|
+
it("ocr.v20181119.RideHailingDriverLicenseOCR", async function () {
|
|
532
512
|
try {
|
|
533
|
-
const data = await client.
|
|
513
|
+
const data = await client.RideHailingDriverLicenseOCR({})
|
|
534
514
|
expect(data).to.be.ok
|
|
535
515
|
} catch(error) {
|
|
536
516
|
expect(error.requestId).to.be.ok
|
|
@@ -538,9 +518,9 @@ it("ocr.v20181119.GeneralHandwritingOCR", async function () {
|
|
|
538
518
|
}
|
|
539
519
|
})
|
|
540
520
|
|
|
541
|
-
it("ocr.v20181119.
|
|
521
|
+
it("ocr.v20181119.HmtResidentPermitOCR", async function () {
|
|
542
522
|
try {
|
|
543
|
-
const data = await client.
|
|
523
|
+
const data = await client.HmtResidentPermitOCR({})
|
|
544
524
|
expect(data).to.be.ok
|
|
545
525
|
} catch(error) {
|
|
546
526
|
expect(error.requestId).to.be.ok
|
|
@@ -548,9 +528,9 @@ it("ocr.v20181119.RecognizeOnlineTaxiItineraryOCR", async function () {
|
|
|
548
528
|
}
|
|
549
529
|
})
|
|
550
530
|
|
|
551
|
-
it("ocr.v20181119.
|
|
531
|
+
it("ocr.v20181119.RecognizeGeneralTextImageWarn", async function () {
|
|
552
532
|
try {
|
|
553
|
-
const data = await client.
|
|
533
|
+
const data = await client.RecognizeGeneralTextImageWarn({})
|
|
554
534
|
expect(data).to.be.ok
|
|
555
535
|
} catch(error) {
|
|
556
536
|
expect(error.requestId).to.be.ok
|
|
@@ -558,9 +538,9 @@ it("ocr.v20181119.RecognizeTableOCR", async function () {
|
|
|
558
538
|
}
|
|
559
539
|
})
|
|
560
540
|
|
|
561
|
-
it("ocr.v20181119.
|
|
541
|
+
it("ocr.v20181119.SmartStructuralOCR", async function () {
|
|
562
542
|
try {
|
|
563
|
-
const data = await client.
|
|
543
|
+
const data = await client.SmartStructuralOCR({})
|
|
564
544
|
expect(data).to.be.ok
|
|
565
545
|
} catch(error) {
|
|
566
546
|
expect(error.requestId).to.be.ok
|
|
@@ -568,9 +548,9 @@ it("ocr.v20181119.CreateAIFormTask", async function () {
|
|
|
568
548
|
}
|
|
569
549
|
})
|
|
570
550
|
|
|
571
|
-
it("ocr.v20181119.
|
|
551
|
+
it("ocr.v20181119.ArithmeticOCR", async function () {
|
|
572
552
|
try {
|
|
573
|
-
const data = await client.
|
|
553
|
+
const data = await client.ArithmeticOCR({})
|
|
574
554
|
expect(data).to.be.ok
|
|
575
555
|
} catch(error) {
|
|
576
556
|
expect(error.requestId).to.be.ok
|
|
@@ -578,9 +558,9 @@ it("ocr.v20181119.WaybillOCR", async function () {
|
|
|
578
558
|
}
|
|
579
559
|
})
|
|
580
560
|
|
|
581
|
-
it("ocr.v20181119.
|
|
561
|
+
it("ocr.v20181119.LicensePlateOCR", async function () {
|
|
582
562
|
try {
|
|
583
|
-
const data = await client.
|
|
563
|
+
const data = await client.LicensePlateOCR({})
|
|
584
564
|
expect(data).to.be.ok
|
|
585
565
|
} catch(error) {
|
|
586
566
|
expect(error.requestId).to.be.ok
|
|
@@ -588,9 +568,9 @@ it("ocr.v20181119.HmtResidentPermitOCR", async function () {
|
|
|
588
568
|
}
|
|
589
569
|
})
|
|
590
570
|
|
|
591
|
-
it("ocr.v20181119.
|
|
571
|
+
it("ocr.v20181119.EstateCertOCR", async function () {
|
|
592
572
|
try {
|
|
593
|
-
const data = await client.
|
|
573
|
+
const data = await client.EstateCertOCR({})
|
|
594
574
|
expect(data).to.be.ok
|
|
595
575
|
} catch(error) {
|
|
596
576
|
expect(error.requestId).to.be.ok
|
|
@@ -618,9 +598,9 @@ it("ocr.v20181119.SealOCR", async function () {
|
|
|
618
598
|
}
|
|
619
599
|
})
|
|
620
600
|
|
|
621
|
-
it("ocr.v20181119.
|
|
601
|
+
it("ocr.v20181119.ClassifyStoreName", async function () {
|
|
622
602
|
try {
|
|
623
|
-
const data = await client.
|
|
603
|
+
const data = await client.ClassifyStoreName({})
|
|
624
604
|
expect(data).to.be.ok
|
|
625
605
|
} catch(error) {
|
|
626
606
|
expect(error.requestId).to.be.ok
|
|
@@ -638,49 +618,9 @@ it("ocr.v20181119.BankSlipOCR", async function () {
|
|
|
638
618
|
}
|
|
639
619
|
})
|
|
640
620
|
|
|
641
|
-
it("ocr.v20181119.
|
|
642
|
-
try {
|
|
643
|
-
const data = await client.VehicleRegCertOCR({})
|
|
644
|
-
expect(data).to.be.ok
|
|
645
|
-
} catch(error) {
|
|
646
|
-
expect(error.requestId).to.be.ok
|
|
647
|
-
expect(error.code).to.be.ok
|
|
648
|
-
}
|
|
649
|
-
})
|
|
650
|
-
|
|
651
|
-
it("ocr.v20181119.RecognizeTravelCardOCR", async function () {
|
|
652
|
-
try {
|
|
653
|
-
const data = await client.RecognizeTravelCardOCR({})
|
|
654
|
-
expect(data).to.be.ok
|
|
655
|
-
} catch(error) {
|
|
656
|
-
expect(error.requestId).to.be.ok
|
|
657
|
-
expect(error.code).to.be.ok
|
|
658
|
-
}
|
|
659
|
-
})
|
|
660
|
-
|
|
661
|
-
it("ocr.v20181119.RecognizeKoreanIDCardOCR", async function () {
|
|
662
|
-
try {
|
|
663
|
-
const data = await client.RecognizeKoreanIDCardOCR({})
|
|
664
|
-
expect(data).to.be.ok
|
|
665
|
-
} catch(error) {
|
|
666
|
-
expect(error.requestId).to.be.ok
|
|
667
|
-
expect(error.code).to.be.ok
|
|
668
|
-
}
|
|
669
|
-
})
|
|
670
|
-
|
|
671
|
-
it("ocr.v20181119.VerifyOfdVatInvoiceOCR", async function () {
|
|
672
|
-
try {
|
|
673
|
-
const data = await client.VerifyOfdVatInvoiceOCR({})
|
|
674
|
-
expect(data).to.be.ok
|
|
675
|
-
} catch(error) {
|
|
676
|
-
expect(error.requestId).to.be.ok
|
|
677
|
-
expect(error.code).to.be.ok
|
|
678
|
-
}
|
|
679
|
-
})
|
|
680
|
-
|
|
681
|
-
it("ocr.v20181119.DriverLicenseOCR", async function () {
|
|
621
|
+
it("ocr.v20181119.GeneralEfficientOCR", async function () {
|
|
682
622
|
try {
|
|
683
|
-
const data = await client.
|
|
623
|
+
const data = await client.GeneralEfficientOCR({})
|
|
684
624
|
expect(data).to.be.ok
|
|
685
625
|
} catch(error) {
|
|
686
626
|
expect(error.requestId).to.be.ok
|
|
@@ -688,9 +628,9 @@ it("ocr.v20181119.DriverLicenseOCR", async function () {
|
|
|
688
628
|
}
|
|
689
629
|
})
|
|
690
630
|
|
|
691
|
-
it("ocr.v20181119.
|
|
631
|
+
it("ocr.v20181119.AdvertiseOCR", async function () {
|
|
692
632
|
try {
|
|
693
|
-
const data = await client.
|
|
633
|
+
const data = await client.AdvertiseOCR({})
|
|
694
634
|
expect(data).to.be.ok
|
|
695
635
|
} catch(error) {
|
|
696
636
|
expect(error.requestId).to.be.ok
|
|
@@ -698,9 +638,9 @@ it("ocr.v20181119.RecognizeKoreanDrivingLicenseOCR", async function () {
|
|
|
698
638
|
}
|
|
699
639
|
})
|
|
700
640
|
|
|
701
|
-
it("ocr.v20181119.
|
|
641
|
+
it("ocr.v20181119.TrainTicketOCR", async function () {
|
|
702
642
|
try {
|
|
703
|
-
const data = await client.
|
|
643
|
+
const data = await client.TrainTicketOCR({})
|
|
704
644
|
expect(data).to.be.ok
|
|
705
645
|
} catch(error) {
|
|
706
646
|
expect(error.requestId).to.be.ok
|
|
@@ -708,9 +648,9 @@ it("ocr.v20181119.FinanBillOCR", async function () {
|
|
|
708
648
|
}
|
|
709
649
|
})
|
|
710
650
|
|
|
711
|
-
it("ocr.v20181119.
|
|
651
|
+
it("ocr.v20181119.ResidenceBookletOCR", async function () {
|
|
712
652
|
try {
|
|
713
|
-
const data = await client.
|
|
653
|
+
const data = await client.ResidenceBookletOCR({})
|
|
714
654
|
expect(data).to.be.ok
|
|
715
655
|
} catch(error) {
|
|
716
656
|
expect(error.requestId).to.be.ok
|
|
@@ -718,9 +658,9 @@ it("ocr.v20181119.SmartStructuralPro", async function () {
|
|
|
718
658
|
}
|
|
719
659
|
})
|
|
720
660
|
|
|
721
|
-
it("ocr.v20181119.
|
|
661
|
+
it("ocr.v20181119.RecognizeTravelCardOCR", async function () {
|
|
722
662
|
try {
|
|
723
|
-
const data = await client.
|
|
663
|
+
const data = await client.RecognizeTravelCardOCR({})
|
|
724
664
|
expect(data).to.be.ok
|
|
725
665
|
} catch(error) {
|
|
726
666
|
expect(error.requestId).to.be.ok
|
|
@@ -728,9 +668,9 @@ it("ocr.v20181119.ImageEnhancement", async function () {
|
|
|
728
668
|
}
|
|
729
669
|
})
|
|
730
670
|
|
|
731
|
-
it("ocr.v20181119.
|
|
671
|
+
it("ocr.v20181119.InstitutionOCR", async function () {
|
|
732
672
|
try {
|
|
733
|
-
const data = await client.
|
|
673
|
+
const data = await client.InstitutionOCR({})
|
|
734
674
|
expect(data).to.be.ok
|
|
735
675
|
} catch(error) {
|
|
736
676
|
expect(error.requestId).to.be.ok
|
|
@@ -738,9 +678,9 @@ it("ocr.v20181119.MLIDCardOCR", async function () {
|
|
|
738
678
|
}
|
|
739
679
|
})
|
|
740
680
|
|
|
741
|
-
it("ocr.v20181119.
|
|
681
|
+
it("ocr.v20181119.EnglishOCR", async function () {
|
|
742
682
|
try {
|
|
743
|
-
const data = await client.
|
|
683
|
+
const data = await client.EnglishOCR({})
|
|
744
684
|
expect(data).to.be.ok
|
|
745
685
|
} catch(error) {
|
|
746
686
|
expect(error.requestId).to.be.ok
|
|
@@ -748,9 +688,9 @@ it("ocr.v20181119.RecognizeMedicalInvoiceOCR", async function () {
|
|
|
748
688
|
}
|
|
749
689
|
})
|
|
750
690
|
|
|
751
|
-
it("ocr.v20181119.
|
|
691
|
+
it("ocr.v20181119.RecognizeValidIDCardOCR", async function () {
|
|
752
692
|
try {
|
|
753
|
-
const data = await client.
|
|
693
|
+
const data = await client.RecognizeValidIDCardOCR({})
|
|
754
694
|
expect(data).to.be.ok
|
|
755
695
|
} catch(error) {
|
|
756
696
|
expect(error.requestId).to.be.ok
|
|
@@ -758,9 +698,9 @@ it("ocr.v20181119.GeneralFastOCR", async function () {
|
|
|
758
698
|
}
|
|
759
699
|
})
|
|
760
700
|
|
|
761
|
-
it("ocr.v20181119.
|
|
701
|
+
it("ocr.v20181119.BankCardOCR", async function () {
|
|
762
702
|
try {
|
|
763
|
-
const data = await client.
|
|
703
|
+
const data = await client.BankCardOCR({})
|
|
764
704
|
expect(data).to.be.ok
|
|
765
705
|
} catch(error) {
|
|
766
706
|
expect(error.requestId).to.be.ok
|
|
@@ -768,9 +708,9 @@ it("ocr.v20181119.VatInvoiceOCR", async function () {
|
|
|
768
708
|
}
|
|
769
709
|
})
|
|
770
710
|
|
|
771
|
-
it("ocr.v20181119.
|
|
711
|
+
it("ocr.v20181119.CarInvoiceOCR", async function () {
|
|
772
712
|
try {
|
|
773
|
-
const data = await client.
|
|
713
|
+
const data = await client.CarInvoiceOCR({})
|
|
774
714
|
expect(data).to.be.ok
|
|
775
715
|
} catch(error) {
|
|
776
716
|
expect(error.requestId).to.be.ok
|
|
@@ -778,9 +718,9 @@ it("ocr.v20181119.RecognizeForeignPermanentResidentIdCard", async function () {
|
|
|
778
718
|
}
|
|
779
719
|
})
|
|
780
720
|
|
|
781
|
-
it("ocr.v20181119.
|
|
721
|
+
it("ocr.v20181119.DriverLicenseOCR", async function () {
|
|
782
722
|
try {
|
|
783
|
-
const data = await client.
|
|
723
|
+
const data = await client.DriverLicenseOCR({})
|
|
784
724
|
expect(data).to.be.ok
|
|
785
725
|
} catch(error) {
|
|
786
726
|
expect(error.requestId).to.be.ok
|
|
@@ -788,9 +728,9 @@ it("ocr.v20181119.OrgCodeCertOCR", async function () {
|
|
|
788
728
|
}
|
|
789
729
|
})
|
|
790
730
|
|
|
791
|
-
it("ocr.v20181119.
|
|
731
|
+
it("ocr.v20181119.MainlandPermitOCR", async function () {
|
|
792
732
|
try {
|
|
793
|
-
const data = await client.
|
|
733
|
+
const data = await client.MainlandPermitOCR({})
|
|
794
734
|
expect(data).to.be.ok
|
|
795
735
|
} catch(error) {
|
|
796
736
|
expect(error.requestId).to.be.ok
|
|
@@ -798,9 +738,9 @@ it("ocr.v20181119.FinanBillSliceOCR", async function () {
|
|
|
798
738
|
}
|
|
799
739
|
})
|
|
800
740
|
|
|
801
|
-
it("ocr.v20181119.
|
|
741
|
+
it("ocr.v20181119.FormulaOCR", async function () {
|
|
802
742
|
try {
|
|
803
|
-
const data = await client.
|
|
743
|
+
const data = await client.FormulaOCR({})
|
|
804
744
|
expect(data).to.be.ok
|
|
805
745
|
} catch(error) {
|
|
806
746
|
expect(error.requestId).to.be.ok
|
|
@@ -808,9 +748,9 @@ it("ocr.v20181119.LicensePlateOCR", async function () {
|
|
|
808
748
|
}
|
|
809
749
|
})
|
|
810
750
|
|
|
811
|
-
it("ocr.v20181119.
|
|
751
|
+
it("ocr.v20181119.PassportOCR", async function () {
|
|
812
752
|
try {
|
|
813
|
-
const data = await client.
|
|
753
|
+
const data = await client.PassportOCR({})
|
|
814
754
|
expect(data).to.be.ok
|
|
815
755
|
} catch(error) {
|
|
816
756
|
expect(error.requestId).to.be.ok
|
|
@@ -818,9 +758,9 @@ it("ocr.v20181119.GeneralEfficientOCR", async function () {
|
|
|
818
758
|
}
|
|
819
759
|
})
|
|
820
760
|
|
|
821
|
-
it("ocr.v20181119.
|
|
761
|
+
it("ocr.v20181119.FinanBillOCR", async function () {
|
|
822
762
|
try {
|
|
823
|
-
const data = await client.
|
|
763
|
+
const data = await client.FinanBillOCR({})
|
|
824
764
|
expect(data).to.be.ok
|
|
825
765
|
} catch(error) {
|
|
826
766
|
expect(error.requestId).to.be.ok
|
|
@@ -828,9 +768,9 @@ it("ocr.v20181119.AdvertiseOCR", async function () {
|
|
|
828
768
|
}
|
|
829
769
|
})
|
|
830
770
|
|
|
831
|
-
it("ocr.v20181119.
|
|
771
|
+
it("ocr.v20181119.VerifyOfdVatInvoiceOCR", async function () {
|
|
832
772
|
try {
|
|
833
|
-
const data = await client.
|
|
773
|
+
const data = await client.VerifyOfdVatInvoiceOCR({})
|
|
834
774
|
expect(data).to.be.ok
|
|
835
775
|
} catch(error) {
|
|
836
776
|
expect(error.requestId).to.be.ok
|
|
@@ -838,9 +778,9 @@ it("ocr.v20181119.ResidenceBookletOCR", async function () {
|
|
|
838
778
|
}
|
|
839
779
|
})
|
|
840
780
|
|
|
841
|
-
it("ocr.v20181119.
|
|
781
|
+
it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
842
782
|
try {
|
|
843
|
-
const data = await client.
|
|
783
|
+
const data = await client.MixedInvoiceOCR({})
|
|
844
784
|
expect(data).to.be.ok
|
|
845
785
|
} catch(error) {
|
|
846
786
|
expect(error.requestId).to.be.ok
|
|
@@ -858,19 +798,9 @@ it("ocr.v20181119.RecognizeHealthCodeOCR", async function () {
|
|
|
858
798
|
}
|
|
859
799
|
})
|
|
860
800
|
|
|
861
|
-
it("ocr.v20181119.
|
|
862
|
-
try {
|
|
863
|
-
const data = await client.RecognizePhilippinesSssIDOCR({})
|
|
864
|
-
expect(data).to.be.ok
|
|
865
|
-
} catch(error) {
|
|
866
|
-
expect(error.requestId).to.be.ok
|
|
867
|
-
expect(error.code).to.be.ok
|
|
868
|
-
}
|
|
869
|
-
})
|
|
870
|
-
|
|
871
|
-
it("ocr.v20181119.FormulaOCR", async function () {
|
|
801
|
+
it("ocr.v20181119.EduPaperOCR", async function () {
|
|
872
802
|
try {
|
|
873
|
-
const data = await client.
|
|
803
|
+
const data = await client.EduPaperOCR({})
|
|
874
804
|
expect(data).to.be.ok
|
|
875
805
|
} catch(error) {
|
|
876
806
|
expect(error.requestId).to.be.ok
|
|
@@ -878,9 +808,9 @@ it("ocr.v20181119.FormulaOCR", async function () {
|
|
|
878
808
|
}
|
|
879
809
|
})
|
|
880
810
|
|
|
881
|
-
it("ocr.v20181119.
|
|
811
|
+
it("ocr.v20181119.ReconstructDocument", async function () {
|
|
882
812
|
try {
|
|
883
|
-
const data = await client.
|
|
813
|
+
const data = await client.ReconstructDocument({})
|
|
884
814
|
expect(data).to.be.ok
|
|
885
815
|
} catch(error) {
|
|
886
816
|
expect(error.requestId).to.be.ok
|
|
@@ -888,9 +818,9 @@ it("ocr.v20181119.PassportOCR", async function () {
|
|
|
888
818
|
}
|
|
889
819
|
})
|
|
890
820
|
|
|
891
|
-
it("ocr.v20181119.
|
|
821
|
+
it("ocr.v20181119.RecognizeThaiIDCardOCR", async function () {
|
|
892
822
|
try {
|
|
893
|
-
const data = await client.
|
|
823
|
+
const data = await client.RecognizeThaiIDCardOCR({})
|
|
894
824
|
expect(data).to.be.ok
|
|
895
825
|
} catch(error) {
|
|
896
826
|
expect(error.requestId).to.be.ok
|
|
@@ -898,9 +828,9 @@ it("ocr.v20181119.ShipInvoiceOCR", async function () {
|
|
|
898
828
|
}
|
|
899
829
|
})
|
|
900
830
|
|
|
901
|
-
it("ocr.v20181119.
|
|
831
|
+
it("ocr.v20181119.RecognizeKoreanDrivingLicenseOCR", async function () {
|
|
902
832
|
try {
|
|
903
|
-
const data = await client.
|
|
833
|
+
const data = await client.RecognizeKoreanDrivingLicenseOCR({})
|
|
904
834
|
expect(data).to.be.ok
|
|
905
835
|
} catch(error) {
|
|
906
836
|
expect(error.requestId).to.be.ok
|
|
@@ -908,9 +838,9 @@ it("ocr.v20181119.RecognizeIndonesiaIDCardOCR", async function () {
|
|
|
908
838
|
}
|
|
909
839
|
})
|
|
910
840
|
|
|
911
|
-
it("ocr.v20181119.
|
|
841
|
+
it("ocr.v20181119.RecognizeGeneralInvoice", async function () {
|
|
912
842
|
try {
|
|
913
|
-
const data = await client.
|
|
843
|
+
const data = await client.RecognizeGeneralInvoice({})
|
|
914
844
|
expect(data).to.be.ok
|
|
915
845
|
} catch(error) {
|
|
916
846
|
expect(error.requestId).to.be.ok
|
|
@@ -918,9 +848,9 @@ it("ocr.v20181119.RideHailingTransportLicenseOCR", async function () {
|
|
|
918
848
|
}
|
|
919
849
|
})
|
|
920
850
|
|
|
921
|
-
it("ocr.v20181119.
|
|
851
|
+
it("ocr.v20181119.VehicleLicenseOCR", async function () {
|
|
922
852
|
try {
|
|
923
|
-
const data = await client.
|
|
853
|
+
const data = await client.VehicleLicenseOCR({})
|
|
924
854
|
expect(data).to.be.ok
|
|
925
855
|
} catch(error) {
|
|
926
856
|
expect(error.requestId).to.be.ok
|