tencentcloud-sdk-nodejs 4.0.1017 → 4.0.1019
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 +492 -0
- package/SERVICE_CHANGELOG.md +489 -18
- package/package.json +1 -1
- package/products.md +19 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +2 -0
- package/src/services/bi/v20220105/bi_models.ts +51 -18
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +27 -47
- package/src/services/cfg/v20210820/cfg_models.ts +12 -0
- package/src/services/cmq/v20190304/cmq_models.ts +48 -48
- package/src/services/cwp/v20180228/cwp_client.ts +12 -44
- package/src/services/cwp/v20180228/cwp_models.ts +260 -456
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +4 -0
- package/src/services/dlc/v20210125/dlc_models.ts +47 -47
- package/src/services/essbasic/v20210526/essbasic_client.ts +1251 -1234
- package/src/services/essbasic/v20210526/essbasic_models.ts +60 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +5 -0
- package/src/services/index.ts +1 -0
- package/src/services/lke/v20231130/lke_client.ts +10 -2
- package/src/services/lke/v20231130/lke_models.ts +408 -31
- package/src/services/ocr/v20181119/ocr_client.ts +958 -945
- package/src/services/ocr/v20181119/ocr_models.ts +152 -50
- package/src/services/rum/v20210622/rum_client.ts +2 -1
- package/src/services/rum/v20210622/rum_models.ts +95 -64
- package/src/services/scf/v20180416/scf_models.ts +2 -2
- package/src/services/ssl/v20191205/ssl_client.ts +36 -24
- package/src/services/ssl/v20191205/ssl_models.ts +25 -0
- package/src/services/tccatalog/index.ts +5 -0
- package/src/services/tccatalog/v20241024/index.ts +6 -0
- package/src/services/tccatalog/v20241024/tccatalog_client.ts +84 -0
- package/src/services/tccatalog/v20241024/tccatalog_models.ts +266 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/teo/v20220901/teo_client.ts +166 -34
- package/src/services/teo/v20220901/teo_models.ts +1796 -180
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +51 -18
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +26 -46
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +12 -0
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +48 -48
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -13
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -16
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +264 -452
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +47 -47
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +769 -760
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +946 -935
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +58 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +400 -31
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +535 -531
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +718 -712
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +149 -50
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +94 -64
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +2 -2
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +13 -9
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +18 -12
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +23 -0
- package/tencentcloud/services/tccatalog/index.d.ts +6 -0
- package/tencentcloud/services/tccatalog/index.js +7 -0
- package/tencentcloud/services/tccatalog/v20241024/index.d.ts +6 -0
- package/tencentcloud/services/tccatalog/v20241024/index.js +9 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_client.d.ts +26 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_client.js +55 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_models.d.ts +237 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_models.js +18 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +35 -11
- package/tencentcloud/services/teo/v20220901/teo_client.js +48 -12
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1710 -166
- package/test/cwp.v20180228.test.js +0 -20
- package/test/essbasic.v20210526.test.js +176 -166
- package/test/ocr.v20181119.test.js +174 -164
- package/test/ssl.v20191205.test.js +18 -8
- package/test/tccatalog.v20241024.test.js +61 -0
- package/test/teo.v20220901.test.js +64 -4
|
@@ -18,9 +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.
|
|
21
|
+
it("ocr.v20181119.TextDetect", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.TextDetect({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("ocr.v20181119.GeneralBasicOCR", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("ocr.v20181119.
|
|
31
|
+
it("ocr.v20181119.QrcodeOCR", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.QrcodeOCR({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("ocr.v20181119.ImageEnhancement", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("ocr.v20181119.
|
|
41
|
+
it("ocr.v20181119.GeneralAccurateOCR", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.GeneralAccurateOCR({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("ocr.v20181119.SmartStructuralOCRV2", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("ocr.v20181119.
|
|
51
|
+
it("ocr.v20181119.RecognizeContainerOCR", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.RecognizeContainerOCR({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("ocr.v20181119.EnterpriseLicenseOCR", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("ocr.v20181119.
|
|
61
|
+
it("ocr.v20181119.RecognizeEncryptedIDCardOCR", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.RecognizeEncryptedIDCardOCR({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("ocr.v20181119.BusinessCardOCR", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("ocr.v20181119.
|
|
71
|
+
it("ocr.v20181119.RecognizeStoreName", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.RecognizeStoreName({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("ocr.v20181119.InsuranceBillOCR", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("ocr.v20181119.
|
|
81
|
+
it("ocr.v20181119.MLIDPassportOCR", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.MLIDPassportOCR({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("ocr.v20181119.RecognizeOnlineTaxiItineraryOCR", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("ocr.v20181119.
|
|
91
|
+
it("ocr.v20181119.TrainTicketOCR", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.TrainTicketOCR({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("ocr.v20181119.IDCardOCR", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("ocr.v20181119.
|
|
101
|
+
it("ocr.v20181119.PropOwnerCertOCR", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.PropOwnerCertOCR({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("ocr.v20181119.TollInvoiceOCR", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("ocr.v20181119.
|
|
111
|
+
it("ocr.v20181119.InvoiceGeneralOCR", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.InvoiceGeneralOCR({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("ocr.v20181119.MLIDCardOCR", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("ocr.v20181119.
|
|
121
|
+
it("ocr.v20181119.ReconstructDocument", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.ReconstructDocument({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("ocr.v20181119.VatInvoiceVerifyNew", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("ocr.v20181119.
|
|
131
|
+
it("ocr.v20181119.HKIDCardOCR", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.HKIDCardOCR({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("ocr.v20181119.QrcodeOCR", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("ocr.v20181119.
|
|
141
|
+
it("ocr.v20181119.PermitOCR", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.PermitOCR({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("ocr.v20181119.GeneralAccurateOCR", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("ocr.v20181119.
|
|
151
|
+
it("ocr.v20181119.BusInvoiceOCR", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.BusInvoiceOCR({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +158,9 @@ it("ocr.v20181119.RecognizeContainerOCR", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("ocr.v20181119.
|
|
161
|
+
it("ocr.v20181119.EnglishOCR", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.EnglishOCR({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,9 @@ it("ocr.v20181119.RecognizeTableAccurateOCR", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("ocr.v20181119.
|
|
171
|
+
it("ocr.v20181119.SmartStructuralOCR", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.SmartStructuralOCR({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("ocr.v20181119.RecognizeEncryptedIDCardOCR", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("ocr.v20181119.
|
|
181
|
+
it("ocr.v20181119.ClassifyStoreName", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.ClassifyStoreName({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("ocr.v20181119.MixedInvoiceDetect", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("ocr.v20181119.
|
|
191
|
+
it("ocr.v20181119.TaxiInvoiceOCR", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.TaxiInvoiceOCR({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,9 @@ it("ocr.v20181119.VehicleRegCertOCR", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("ocr.v20181119.
|
|
201
|
+
it("ocr.v20181119.RideHailingDriverLicenseOCR", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.RideHailingDriverLicenseOCR({})
|
|
204
204
|
expect(data).to.be.ok
|
|
205
205
|
} catch(error) {
|
|
206
206
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +208,9 @@ it("ocr.v20181119.ShipInvoiceOCR", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
-
it("ocr.v20181119.
|
|
211
|
+
it("ocr.v20181119.DutyPaidProofOCR", async function () {
|
|
212
212
|
try {
|
|
213
|
-
const data = await client.
|
|
213
|
+
const data = await client.DutyPaidProofOCR({})
|
|
214
214
|
expect(data).to.be.ok
|
|
215
215
|
} catch(error) {
|
|
216
216
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +218,9 @@ it("ocr.v20181119.RecognizeStoreName", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("ocr.v20181119.
|
|
221
|
+
it("ocr.v20181119.MainlandPermitOCR", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.MainlandPermitOCR({})
|
|
224
224
|
expect(data).to.be.ok
|
|
225
225
|
} catch(error) {
|
|
226
226
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +228,9 @@ it("ocr.v20181119.MLIDPassportOCR", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
-
it("ocr.v20181119.
|
|
231
|
+
it("ocr.v20181119.FlightInvoiceOCR", async function () {
|
|
232
232
|
try {
|
|
233
|
-
const data = await client.
|
|
233
|
+
const data = await client.FlightInvoiceOCR({})
|
|
234
234
|
expect(data).to.be.ok
|
|
235
235
|
} catch(error) {
|
|
236
236
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +238,9 @@ it("ocr.v20181119.VatRollInvoiceOCR", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
-
it("ocr.v20181119.
|
|
241
|
+
it("ocr.v20181119.RecognizeThaiIDCardOCR", async function () {
|
|
242
242
|
try {
|
|
243
|
-
const data = await client.
|
|
243
|
+
const data = await client.RecognizeThaiIDCardOCR({})
|
|
244
244
|
expect(data).to.be.ok
|
|
245
245
|
} catch(error) {
|
|
246
246
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +248,9 @@ it("ocr.v20181119.QuotaInvoiceOCR", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
-
it("ocr.v20181119.
|
|
251
|
+
it("ocr.v20181119.RecognizeGeneralInvoice", async function () {
|
|
252
252
|
try {
|
|
253
|
-
const data = await client.
|
|
253
|
+
const data = await client.RecognizeGeneralInvoice({})
|
|
254
254
|
expect(data).to.be.ok
|
|
255
255
|
} catch(error) {
|
|
256
256
|
expect(error.requestId).to.be.ok
|
|
@@ -258,9 +258,9 @@ it("ocr.v20181119.WaybillOCR", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
-
it("ocr.v20181119.
|
|
261
|
+
it("ocr.v20181119.InsuranceBillOCR", async function () {
|
|
262
262
|
try {
|
|
263
|
-
const data = await client.
|
|
263
|
+
const data = await client.InsuranceBillOCR({})
|
|
264
264
|
expect(data).to.be.ok
|
|
265
265
|
} catch(error) {
|
|
266
266
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +268,9 @@ it("ocr.v20181119.VinOCR", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
-
it("ocr.v20181119.
|
|
271
|
+
it("ocr.v20181119.VatInvoiceVerifyNew", async function () {
|
|
272
272
|
try {
|
|
273
|
-
const data = await client.
|
|
273
|
+
const data = await client.VatInvoiceVerifyNew({})
|
|
274
274
|
expect(data).to.be.ok
|
|
275
275
|
} catch(error) {
|
|
276
276
|
expect(error.requestId).to.be.ok
|
|
@@ -278,9 +278,9 @@ it("ocr.v20181119.GeneralFastOCR", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
-
it("ocr.v20181119.
|
|
281
|
+
it("ocr.v20181119.VinOCR", async function () {
|
|
282
282
|
try {
|
|
283
|
-
const data = await client.
|
|
283
|
+
const data = await client.VinOCR({})
|
|
284
284
|
expect(data).to.be.ok
|
|
285
285
|
} catch(error) {
|
|
286
286
|
expect(error.requestId).to.be.ok
|
|
@@ -288,9 +288,9 @@ it("ocr.v20181119.PropOwnerCertOCR", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
-
it("ocr.v20181119.
|
|
291
|
+
it("ocr.v20181119.VehicleLicenseOCR", async function () {
|
|
292
292
|
try {
|
|
293
|
-
const data = await client.
|
|
293
|
+
const data = await client.VehicleLicenseOCR({})
|
|
294
294
|
expect(data).to.be.ok
|
|
295
295
|
} catch(error) {
|
|
296
296
|
expect(error.requestId).to.be.ok
|
|
@@ -308,9 +308,9 @@ it("ocr.v20181119.BizLicenseOCR", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
-
it("ocr.v20181119.
|
|
311
|
+
it("ocr.v20181119.GetTaskState", async function () {
|
|
312
312
|
try {
|
|
313
|
-
const data = await client.
|
|
313
|
+
const data = await client.GetTaskState({})
|
|
314
314
|
expect(data).to.be.ok
|
|
315
315
|
} catch(error) {
|
|
316
316
|
expect(error.requestId).to.be.ok
|
|
@@ -318,9 +318,9 @@ it("ocr.v20181119.GeneralHandwritingOCR", async function () {
|
|
|
318
318
|
}
|
|
319
319
|
})
|
|
320
320
|
|
|
321
|
-
it("ocr.v20181119.
|
|
321
|
+
it("ocr.v20181119.RecognizeGeneralCardWarn", async function () {
|
|
322
322
|
try {
|
|
323
|
-
const data = await client.
|
|
323
|
+
const data = await client.RecognizeGeneralCardWarn({})
|
|
324
324
|
expect(data).to.be.ok
|
|
325
325
|
} catch(error) {
|
|
326
326
|
expect(error.requestId).to.be.ok
|
|
@@ -328,9 +328,9 @@ it("ocr.v20181119.RecognizeForeignPermanentResidentIdCard", async function () {
|
|
|
328
328
|
}
|
|
329
329
|
})
|
|
330
330
|
|
|
331
|
-
it("ocr.v20181119.
|
|
331
|
+
it("ocr.v20181119.GeneralBasicOCR", async function () {
|
|
332
332
|
try {
|
|
333
|
-
const data = await client.
|
|
333
|
+
const data = await client.GeneralBasicOCR({})
|
|
334
334
|
expect(data).to.be.ok
|
|
335
335
|
} catch(error) {
|
|
336
336
|
expect(error.requestId).to.be.ok
|
|
@@ -338,9 +338,9 @@ it("ocr.v20181119.VatInvoiceVerify", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
-
it("ocr.v20181119.
|
|
341
|
+
it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
342
342
|
try {
|
|
343
|
-
const data = await client.
|
|
343
|
+
const data = await client.MixedInvoiceOCR({})
|
|
344
344
|
expect(data).to.be.ok
|
|
345
345
|
} catch(error) {
|
|
346
346
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +348,9 @@ it("ocr.v20181119.TaxiInvoiceOCR", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
-
it("ocr.v20181119.
|
|
351
|
+
it("ocr.v20181119.TableOCR", async function () {
|
|
352
352
|
try {
|
|
353
|
-
const data = await client.
|
|
353
|
+
const data = await client.TableOCR({})
|
|
354
354
|
expect(data).to.be.ok
|
|
355
355
|
} catch(error) {
|
|
356
356
|
expect(error.requestId).to.be.ok
|
|
@@ -358,9 +358,9 @@ it("ocr.v20181119.InvoiceGeneralOCR", async function () {
|
|
|
358
358
|
}
|
|
359
359
|
})
|
|
360
360
|
|
|
361
|
-
it("ocr.v20181119.
|
|
361
|
+
it("ocr.v20181119.ArithmeticOCR", async function () {
|
|
362
362
|
try {
|
|
363
|
-
const data = await client.
|
|
363
|
+
const data = await client.ArithmeticOCR({})
|
|
364
364
|
expect(data).to.be.ok
|
|
365
365
|
} catch(error) {
|
|
366
366
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +368,9 @@ it("ocr.v20181119.RideHailingTransportLicenseOCR", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
-
it("ocr.v20181119.
|
|
371
|
+
it("ocr.v20181119.EstateCertOCR", async function () {
|
|
372
372
|
try {
|
|
373
|
-
const data = await client.
|
|
373
|
+
const data = await client.EstateCertOCR({})
|
|
374
374
|
expect(data).to.be.ok
|
|
375
375
|
} catch(error) {
|
|
376
376
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +378,9 @@ it("ocr.v20181119.GetTaskState", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
-
it("ocr.v20181119.
|
|
381
|
+
it("ocr.v20181119.RecognizeValidIDCardOCR", async function () {
|
|
382
382
|
try {
|
|
383
|
-
const data = await client.
|
|
383
|
+
const data = await client.RecognizeValidIDCardOCR({})
|
|
384
384
|
expect(data).to.be.ok
|
|
385
385
|
} catch(error) {
|
|
386
386
|
expect(error.requestId).to.be.ok
|
|
@@ -388,9 +388,9 @@ it("ocr.v20181119.GetOCRResult", async function () {
|
|
|
388
388
|
}
|
|
389
389
|
})
|
|
390
390
|
|
|
391
|
-
it("ocr.v20181119.
|
|
391
|
+
it("ocr.v20181119.BankCardOCR", async function () {
|
|
392
392
|
try {
|
|
393
|
-
const data = await client.
|
|
393
|
+
const data = await client.BankCardOCR({})
|
|
394
394
|
expect(data).to.be.ok
|
|
395
395
|
} catch(error) {
|
|
396
396
|
expect(error.requestId).to.be.ok
|
|
@@ -398,9 +398,9 @@ it("ocr.v20181119.HKIDCardOCR", async function () {
|
|
|
398
398
|
}
|
|
399
399
|
})
|
|
400
400
|
|
|
401
|
-
it("ocr.v20181119.
|
|
401
|
+
it("ocr.v20181119.VatInvoiceVerify", async function () {
|
|
402
402
|
try {
|
|
403
|
-
const data = await client.
|
|
403
|
+
const data = await client.VatInvoiceVerify({})
|
|
404
404
|
expect(data).to.be.ok
|
|
405
405
|
} catch(error) {
|
|
406
406
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +408,9 @@ it("ocr.v20181119.RecognizeTableOCR", async function () {
|
|
|
408
408
|
}
|
|
409
409
|
})
|
|
410
410
|
|
|
411
|
-
it("ocr.v20181119.
|
|
411
|
+
it("ocr.v20181119.GetOCRToken", async function () {
|
|
412
412
|
try {
|
|
413
|
-
const data = await client.
|
|
413
|
+
const data = await client.GetOCRToken({})
|
|
414
414
|
expect(data).to.be.ok
|
|
415
415
|
} catch(error) {
|
|
416
416
|
expect(error.requestId).to.be.ok
|
|
@@ -418,9 +418,9 @@ it("ocr.v20181119.CreateAIFormTask", async function () {
|
|
|
418
418
|
}
|
|
419
419
|
})
|
|
420
420
|
|
|
421
|
-
it("ocr.v20181119.
|
|
421
|
+
it("ocr.v20181119.EduPaperOCR", async function () {
|
|
422
422
|
try {
|
|
423
|
-
const data = await client.
|
|
423
|
+
const data = await client.EduPaperOCR({})
|
|
424
424
|
expect(data).to.be.ok
|
|
425
425
|
} catch(error) {
|
|
426
426
|
expect(error.requestId).to.be.ok
|
|
@@ -428,9 +428,9 @@ it("ocr.v20181119.DutyPaidProofOCR", async function () {
|
|
|
428
428
|
}
|
|
429
429
|
})
|
|
430
430
|
|
|
431
|
-
it("ocr.v20181119.
|
|
431
|
+
it("ocr.v20181119.EnterpriseLicenseOCR", async function () {
|
|
432
432
|
try {
|
|
433
|
-
const data = await client.
|
|
433
|
+
const data = await client.EnterpriseLicenseOCR({})
|
|
434
434
|
expect(data).to.be.ok
|
|
435
435
|
} catch(error) {
|
|
436
436
|
expect(error.requestId).to.be.ok
|
|
@@ -438,9 +438,9 @@ it("ocr.v20181119.FlightInvoiceOCR", async function () {
|
|
|
438
438
|
}
|
|
439
439
|
})
|
|
440
440
|
|
|
441
|
-
it("ocr.v20181119.
|
|
441
|
+
it("ocr.v20181119.BusinessCardOCR", async function () {
|
|
442
442
|
try {
|
|
443
|
-
const data = await client.
|
|
443
|
+
const data = await client.BusinessCardOCR({})
|
|
444
444
|
expect(data).to.be.ok
|
|
445
445
|
} catch(error) {
|
|
446
446
|
expect(error.requestId).to.be.ok
|
|
@@ -448,9 +448,9 @@ it("ocr.v20181119.PermitOCR", async function () {
|
|
|
448
448
|
}
|
|
449
449
|
})
|
|
450
450
|
|
|
451
|
-
it("ocr.v20181119.
|
|
451
|
+
it("ocr.v20181119.IDCardOCR", async function () {
|
|
452
452
|
try {
|
|
453
|
-
const data = await client.
|
|
453
|
+
const data = await client.IDCardOCR({})
|
|
454
454
|
expect(data).to.be.ok
|
|
455
455
|
} catch(error) {
|
|
456
456
|
expect(error.requestId).to.be.ok
|
|
@@ -458,9 +458,9 @@ it("ocr.v20181119.OrgCodeCertOCR", async function () {
|
|
|
458
458
|
}
|
|
459
459
|
})
|
|
460
460
|
|
|
461
|
-
it("ocr.v20181119.
|
|
461
|
+
it("ocr.v20181119.RecognizeGeneralTextImageWarn", async function () {
|
|
462
462
|
try {
|
|
463
|
-
const data = await client.
|
|
463
|
+
const data = await client.RecognizeGeneralTextImageWarn({})
|
|
464
464
|
expect(data).to.be.ok
|
|
465
465
|
} catch(error) {
|
|
466
466
|
expect(error.requestId).to.be.ok
|
|
@@ -468,9 +468,9 @@ it("ocr.v20181119.TextDetect", async function () {
|
|
|
468
468
|
}
|
|
469
469
|
})
|
|
470
470
|
|
|
471
|
-
it("ocr.v20181119.
|
|
471
|
+
it("ocr.v20181119.InstitutionOCR", async function () {
|
|
472
472
|
try {
|
|
473
|
-
const data = await client.
|
|
473
|
+
const data = await client.InstitutionOCR({})
|
|
474
474
|
expect(data).to.be.ok
|
|
475
475
|
} catch(error) {
|
|
476
476
|
expect(error.requestId).to.be.ok
|
|
@@ -478,9 +478,9 @@ it("ocr.v20181119.FinanBillSliceOCR", async function () {
|
|
|
478
478
|
}
|
|
479
479
|
})
|
|
480
480
|
|
|
481
|
-
it("ocr.v20181119.
|
|
481
|
+
it("ocr.v20181119.SmartStructuralOCRV2", async function () {
|
|
482
482
|
try {
|
|
483
|
-
const data = await client.
|
|
483
|
+
const data = await client.SmartStructuralOCRV2({})
|
|
484
484
|
expect(data).to.be.ok
|
|
485
485
|
} catch(error) {
|
|
486
486
|
expect(error.requestId).to.be.ok
|
|
@@ -488,9 +488,9 @@ it("ocr.v20181119.BusInvoiceOCR", async function () {
|
|
|
488
488
|
}
|
|
489
489
|
})
|
|
490
490
|
|
|
491
|
-
it("ocr.v20181119.
|
|
491
|
+
it("ocr.v20181119.RecognizeTableAccurateOCR", async function () {
|
|
492
492
|
try {
|
|
493
|
-
const data = await client.
|
|
493
|
+
const data = await client.RecognizeTableAccurateOCR({})
|
|
494
494
|
expect(data).to.be.ok
|
|
495
495
|
} catch(error) {
|
|
496
496
|
expect(error.requestId).to.be.ok
|
|
@@ -498,9 +498,9 @@ it("ocr.v20181119.RecognizeMedicalInvoiceOCR", async function () {
|
|
|
498
498
|
}
|
|
499
499
|
})
|
|
500
500
|
|
|
501
|
-
it("ocr.v20181119.
|
|
501
|
+
it("ocr.v20181119.MixedInvoiceDetect", async function () {
|
|
502
502
|
try {
|
|
503
|
-
const data = await client.
|
|
503
|
+
const data = await client.MixedInvoiceDetect({})
|
|
504
504
|
expect(data).to.be.ok
|
|
505
505
|
} catch(error) {
|
|
506
506
|
expect(error.requestId).to.be.ok
|
|
@@ -508,9 +508,9 @@ it("ocr.v20181119.VatInvoiceOCR", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
-
it("ocr.v20181119.
|
|
511
|
+
it("ocr.v20181119.VatRollInvoiceOCR", async function () {
|
|
512
512
|
try {
|
|
513
|
-
const data = await client.
|
|
513
|
+
const data = await client.VatRollInvoiceOCR({})
|
|
514
514
|
expect(data).to.be.ok
|
|
515
515
|
} catch(error) {
|
|
516
516
|
expect(error.requestId).to.be.ok
|
|
@@ -518,9 +518,9 @@ it("ocr.v20181119.TableOCR", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
-
it("ocr.v20181119.
|
|
521
|
+
it("ocr.v20181119.QuotaInvoiceOCR", async function () {
|
|
522
522
|
try {
|
|
523
|
-
const data = await client.
|
|
523
|
+
const data = await client.QuotaInvoiceOCR({})
|
|
524
524
|
expect(data).to.be.ok
|
|
525
525
|
} catch(error) {
|
|
526
526
|
expect(error.requestId).to.be.ok
|
|
@@ -528,9 +528,9 @@ it("ocr.v20181119.RideHailingDriverLicenseOCR", async function () {
|
|
|
528
528
|
}
|
|
529
529
|
})
|
|
530
530
|
|
|
531
|
-
it("ocr.v20181119.
|
|
531
|
+
it("ocr.v20181119.GeneralHandwritingOCR", async function () {
|
|
532
532
|
try {
|
|
533
|
-
const data = await client.
|
|
533
|
+
const data = await client.GeneralHandwritingOCR({})
|
|
534
534
|
expect(data).to.be.ok
|
|
535
535
|
} catch(error) {
|
|
536
536
|
expect(error.requestId).to.be.ok
|
|
@@ -538,9 +538,9 @@ it("ocr.v20181119.HmtResidentPermitOCR", async function () {
|
|
|
538
538
|
}
|
|
539
539
|
})
|
|
540
540
|
|
|
541
|
-
it("ocr.v20181119.
|
|
541
|
+
it("ocr.v20181119.RecognizeOnlineTaxiItineraryOCR", async function () {
|
|
542
542
|
try {
|
|
543
|
-
const data = await client.
|
|
543
|
+
const data = await client.RecognizeOnlineTaxiItineraryOCR({})
|
|
544
544
|
expect(data).to.be.ok
|
|
545
545
|
} catch(error) {
|
|
546
546
|
expect(error.requestId).to.be.ok
|
|
@@ -548,9 +548,9 @@ it("ocr.v20181119.RecognizeGeneralTextImageWarn", async function () {
|
|
|
548
548
|
}
|
|
549
549
|
})
|
|
550
550
|
|
|
551
|
-
it("ocr.v20181119.
|
|
551
|
+
it("ocr.v20181119.RecognizeTableOCR", async function () {
|
|
552
552
|
try {
|
|
553
|
-
const data = await client.
|
|
553
|
+
const data = await client.RecognizeTableOCR({})
|
|
554
554
|
expect(data).to.be.ok
|
|
555
555
|
} catch(error) {
|
|
556
556
|
expect(error.requestId).to.be.ok
|
|
@@ -558,9 +558,9 @@ it("ocr.v20181119.SmartStructuralOCR", async function () {
|
|
|
558
558
|
}
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
-
it("ocr.v20181119.
|
|
561
|
+
it("ocr.v20181119.CreateAIFormTask", async function () {
|
|
562
562
|
try {
|
|
563
|
-
const data = await client.
|
|
563
|
+
const data = await client.CreateAIFormTask({})
|
|
564
564
|
expect(data).to.be.ok
|
|
565
565
|
} catch(error) {
|
|
566
566
|
expect(error.requestId).to.be.ok
|
|
@@ -568,9 +568,9 @@ it("ocr.v20181119.ArithmeticOCR", async function () {
|
|
|
568
568
|
}
|
|
569
569
|
})
|
|
570
570
|
|
|
571
|
-
it("ocr.v20181119.
|
|
571
|
+
it("ocr.v20181119.WaybillOCR", async function () {
|
|
572
572
|
try {
|
|
573
|
-
const data = await client.
|
|
573
|
+
const data = await client.WaybillOCR({})
|
|
574
574
|
expect(data).to.be.ok
|
|
575
575
|
} catch(error) {
|
|
576
576
|
expect(error.requestId).to.be.ok
|
|
@@ -578,9 +578,19 @@ it("ocr.v20181119.LicensePlateOCR", async function () {
|
|
|
578
578
|
}
|
|
579
579
|
})
|
|
580
580
|
|
|
581
|
-
it("ocr.v20181119.
|
|
581
|
+
it("ocr.v20181119.HmtResidentPermitOCR", async function () {
|
|
582
582
|
try {
|
|
583
|
-
const data = await client.
|
|
583
|
+
const data = await client.HmtResidentPermitOCR({})
|
|
584
|
+
expect(data).to.be.ok
|
|
585
|
+
} catch(error) {
|
|
586
|
+
expect(error.requestId).to.be.ok
|
|
587
|
+
expect(error.code).to.be.ok
|
|
588
|
+
}
|
|
589
|
+
})
|
|
590
|
+
|
|
591
|
+
it("ocr.v20181119.TollInvoiceOCR", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.TollInvoiceOCR({})
|
|
584
594
|
expect(data).to.be.ok
|
|
585
595
|
} catch(error) {
|
|
586
596
|
expect(error.requestId).to.be.ok
|
|
@@ -608,9 +618,9 @@ it("ocr.v20181119.SealOCR", async function () {
|
|
|
608
618
|
}
|
|
609
619
|
})
|
|
610
620
|
|
|
611
|
-
it("ocr.v20181119.
|
|
621
|
+
it("ocr.v20181119.BankSlipOCR", async function () {
|
|
612
622
|
try {
|
|
613
|
-
const data = await client.
|
|
623
|
+
const data = await client.BankSlipOCR({})
|
|
614
624
|
expect(data).to.be.ok
|
|
615
625
|
} catch(error) {
|
|
616
626
|
expect(error.requestId).to.be.ok
|
|
@@ -618,9 +628,9 @@ it("ocr.v20181119.ClassifyStoreName", async function () {
|
|
|
618
628
|
}
|
|
619
629
|
})
|
|
620
630
|
|
|
621
|
-
it("ocr.v20181119.
|
|
631
|
+
it("ocr.v20181119.ResidenceBookletOCR", async function () {
|
|
622
632
|
try {
|
|
623
|
-
const data = await client.
|
|
633
|
+
const data = await client.ResidenceBookletOCR({})
|
|
624
634
|
expect(data).to.be.ok
|
|
625
635
|
} catch(error) {
|
|
626
636
|
expect(error.requestId).to.be.ok
|
|
@@ -628,9 +638,9 @@ it("ocr.v20181119.BankSlipOCR", async function () {
|
|
|
628
638
|
}
|
|
629
639
|
})
|
|
630
640
|
|
|
631
|
-
it("ocr.v20181119.
|
|
641
|
+
it("ocr.v20181119.RecognizeTravelCardOCR", async function () {
|
|
632
642
|
try {
|
|
633
|
-
const data = await client.
|
|
643
|
+
const data = await client.RecognizeTravelCardOCR({})
|
|
634
644
|
expect(data).to.be.ok
|
|
635
645
|
} catch(error) {
|
|
636
646
|
expect(error.requestId).to.be.ok
|
|
@@ -638,9 +648,9 @@ it("ocr.v20181119.GeneralEfficientOCR", async function () {
|
|
|
638
648
|
}
|
|
639
649
|
})
|
|
640
650
|
|
|
641
|
-
it("ocr.v20181119.
|
|
651
|
+
it("ocr.v20181119.VerifyOfdVatInvoiceOCR", async function () {
|
|
642
652
|
try {
|
|
643
|
-
const data = await client.
|
|
653
|
+
const data = await client.VerifyOfdVatInvoiceOCR({})
|
|
644
654
|
expect(data).to.be.ok
|
|
645
655
|
} catch(error) {
|
|
646
656
|
expect(error.requestId).to.be.ok
|
|
@@ -648,9 +658,9 @@ it("ocr.v20181119.AdvertiseOCR", async function () {
|
|
|
648
658
|
}
|
|
649
659
|
})
|
|
650
660
|
|
|
651
|
-
it("ocr.v20181119.
|
|
661
|
+
it("ocr.v20181119.DriverLicenseOCR", async function () {
|
|
652
662
|
try {
|
|
653
|
-
const data = await client.
|
|
663
|
+
const data = await client.DriverLicenseOCR({})
|
|
654
664
|
expect(data).to.be.ok
|
|
655
665
|
} catch(error) {
|
|
656
666
|
expect(error.requestId).to.be.ok
|
|
@@ -658,9 +668,9 @@ it("ocr.v20181119.TrainTicketOCR", async function () {
|
|
|
658
668
|
}
|
|
659
669
|
})
|
|
660
670
|
|
|
661
|
-
it("ocr.v20181119.
|
|
671
|
+
it("ocr.v20181119.FinanBillOCR", async function () {
|
|
662
672
|
try {
|
|
663
|
-
const data = await client.
|
|
673
|
+
const data = await client.FinanBillOCR({})
|
|
664
674
|
expect(data).to.be.ok
|
|
665
675
|
} catch(error) {
|
|
666
676
|
expect(error.requestId).to.be.ok
|
|
@@ -668,9 +678,9 @@ it("ocr.v20181119.ResidenceBookletOCR", async function () {
|
|
|
668
678
|
}
|
|
669
679
|
})
|
|
670
680
|
|
|
671
|
-
it("ocr.v20181119.
|
|
681
|
+
it("ocr.v20181119.SmartStructuralPro", async function () {
|
|
672
682
|
try {
|
|
673
|
-
const data = await client.
|
|
683
|
+
const data = await client.SmartStructuralPro({})
|
|
674
684
|
expect(data).to.be.ok
|
|
675
685
|
} catch(error) {
|
|
676
686
|
expect(error.requestId).to.be.ok
|
|
@@ -678,9 +688,9 @@ it("ocr.v20181119.RecognizeTravelCardOCR", async function () {
|
|
|
678
688
|
}
|
|
679
689
|
})
|
|
680
690
|
|
|
681
|
-
it("ocr.v20181119.
|
|
691
|
+
it("ocr.v20181119.RecognizeHealthCodeOCR", async function () {
|
|
682
692
|
try {
|
|
683
|
-
const data = await client.
|
|
693
|
+
const data = await client.RecognizeHealthCodeOCR({})
|
|
684
694
|
expect(data).to.be.ok
|
|
685
695
|
} catch(error) {
|
|
686
696
|
expect(error.requestId).to.be.ok
|
|
@@ -688,9 +698,9 @@ it("ocr.v20181119.InstitutionOCR", async function () {
|
|
|
688
698
|
}
|
|
689
699
|
})
|
|
690
700
|
|
|
691
|
-
it("ocr.v20181119.
|
|
701
|
+
it("ocr.v20181119.ImageEnhancement", async function () {
|
|
692
702
|
try {
|
|
693
|
-
const data = await client.
|
|
703
|
+
const data = await client.ImageEnhancement({})
|
|
694
704
|
expect(data).to.be.ok
|
|
695
705
|
} catch(error) {
|
|
696
706
|
expect(error.requestId).to.be.ok
|
|
@@ -698,9 +708,9 @@ it("ocr.v20181119.EnglishOCR", async function () {
|
|
|
698
708
|
}
|
|
699
709
|
})
|
|
700
710
|
|
|
701
|
-
it("ocr.v20181119.
|
|
711
|
+
it("ocr.v20181119.MLIDCardOCR", async function () {
|
|
702
712
|
try {
|
|
703
|
-
const data = await client.
|
|
713
|
+
const data = await client.MLIDCardOCR({})
|
|
704
714
|
expect(data).to.be.ok
|
|
705
715
|
} catch(error) {
|
|
706
716
|
expect(error.requestId).to.be.ok
|
|
@@ -708,9 +718,9 @@ it("ocr.v20181119.RecognizeValidIDCardOCR", async function () {
|
|
|
708
718
|
}
|
|
709
719
|
})
|
|
710
720
|
|
|
711
|
-
it("ocr.v20181119.
|
|
721
|
+
it("ocr.v20181119.RecognizeMedicalInvoiceOCR", async function () {
|
|
712
722
|
try {
|
|
713
|
-
const data = await client.
|
|
723
|
+
const data = await client.RecognizeMedicalInvoiceOCR({})
|
|
714
724
|
expect(data).to.be.ok
|
|
715
725
|
} catch(error) {
|
|
716
726
|
expect(error.requestId).to.be.ok
|
|
@@ -718,9 +728,9 @@ it("ocr.v20181119.BankCardOCR", async function () {
|
|
|
718
728
|
}
|
|
719
729
|
})
|
|
720
730
|
|
|
721
|
-
it("ocr.v20181119.
|
|
731
|
+
it("ocr.v20181119.GeneralFastOCR", async function () {
|
|
722
732
|
try {
|
|
723
|
-
const data = await client.
|
|
733
|
+
const data = await client.GeneralFastOCR({})
|
|
724
734
|
expect(data).to.be.ok
|
|
725
735
|
} catch(error) {
|
|
726
736
|
expect(error.requestId).to.be.ok
|
|
@@ -728,9 +738,9 @@ it("ocr.v20181119.CarInvoiceOCR", async function () {
|
|
|
728
738
|
}
|
|
729
739
|
})
|
|
730
740
|
|
|
731
|
-
it("ocr.v20181119.
|
|
741
|
+
it("ocr.v20181119.VatInvoiceOCR", async function () {
|
|
732
742
|
try {
|
|
733
|
-
const data = await client.
|
|
743
|
+
const data = await client.VatInvoiceOCR({})
|
|
734
744
|
expect(data).to.be.ok
|
|
735
745
|
} catch(error) {
|
|
736
746
|
expect(error.requestId).to.be.ok
|
|
@@ -738,9 +748,9 @@ it("ocr.v20181119.DriverLicenseOCR", async function () {
|
|
|
738
748
|
}
|
|
739
749
|
})
|
|
740
750
|
|
|
741
|
-
it("ocr.v20181119.
|
|
751
|
+
it("ocr.v20181119.RecognizeForeignPermanentResidentIdCard", async function () {
|
|
742
752
|
try {
|
|
743
|
-
const data = await client.
|
|
753
|
+
const data = await client.RecognizeForeignPermanentResidentIdCard({})
|
|
744
754
|
expect(data).to.be.ok
|
|
745
755
|
} catch(error) {
|
|
746
756
|
expect(error.requestId).to.be.ok
|
|
@@ -748,9 +758,9 @@ it("ocr.v20181119.MainlandPermitOCR", async function () {
|
|
|
748
758
|
}
|
|
749
759
|
})
|
|
750
760
|
|
|
751
|
-
it("ocr.v20181119.
|
|
761
|
+
it("ocr.v20181119.OrgCodeCertOCR", async function () {
|
|
752
762
|
try {
|
|
753
|
-
const data = await client.
|
|
763
|
+
const data = await client.OrgCodeCertOCR({})
|
|
754
764
|
expect(data).to.be.ok
|
|
755
765
|
} catch(error) {
|
|
756
766
|
expect(error.requestId).to.be.ok
|
|
@@ -758,9 +768,9 @@ it("ocr.v20181119.FormulaOCR", async function () {
|
|
|
758
768
|
}
|
|
759
769
|
})
|
|
760
770
|
|
|
761
|
-
it("ocr.v20181119.
|
|
771
|
+
it("ocr.v20181119.FinanBillSliceOCR", async function () {
|
|
762
772
|
try {
|
|
763
|
-
const data = await client.
|
|
773
|
+
const data = await client.FinanBillSliceOCR({})
|
|
764
774
|
expect(data).to.be.ok
|
|
765
775
|
} catch(error) {
|
|
766
776
|
expect(error.requestId).to.be.ok
|
|
@@ -768,9 +778,9 @@ it("ocr.v20181119.PassportOCR", async function () {
|
|
|
768
778
|
}
|
|
769
779
|
})
|
|
770
780
|
|
|
771
|
-
it("ocr.v20181119.
|
|
781
|
+
it("ocr.v20181119.LicensePlateOCR", async function () {
|
|
772
782
|
try {
|
|
773
|
-
const data = await client.
|
|
783
|
+
const data = await client.LicensePlateOCR({})
|
|
774
784
|
expect(data).to.be.ok
|
|
775
785
|
} catch(error) {
|
|
776
786
|
expect(error.requestId).to.be.ok
|
|
@@ -778,9 +788,9 @@ it("ocr.v20181119.FinanBillOCR", async function () {
|
|
|
778
788
|
}
|
|
779
789
|
})
|
|
780
790
|
|
|
781
|
-
it("ocr.v20181119.
|
|
791
|
+
it("ocr.v20181119.GeneralEfficientOCR", async function () {
|
|
782
792
|
try {
|
|
783
|
-
const data = await client.
|
|
793
|
+
const data = await client.GeneralEfficientOCR({})
|
|
784
794
|
expect(data).to.be.ok
|
|
785
795
|
} catch(error) {
|
|
786
796
|
expect(error.requestId).to.be.ok
|
|
@@ -788,9 +798,9 @@ it("ocr.v20181119.GetOCRToken", async function () {
|
|
|
788
798
|
}
|
|
789
799
|
})
|
|
790
800
|
|
|
791
|
-
it("ocr.v20181119.
|
|
801
|
+
it("ocr.v20181119.AdvertiseOCR", async function () {
|
|
792
802
|
try {
|
|
793
|
-
const data = await client.
|
|
803
|
+
const data = await client.AdvertiseOCR({})
|
|
794
804
|
expect(data).to.be.ok
|
|
795
805
|
} catch(error) {
|
|
796
806
|
expect(error.requestId).to.be.ok
|
|
@@ -798,9 +808,9 @@ it("ocr.v20181119.VerifyOfdVatInvoiceOCR", async function () {
|
|
|
798
808
|
}
|
|
799
809
|
})
|
|
800
810
|
|
|
801
|
-
it("ocr.v20181119.
|
|
811
|
+
it("ocr.v20181119.VehicleRegCertOCR", async function () {
|
|
802
812
|
try {
|
|
803
|
-
const data = await client.
|
|
813
|
+
const data = await client.VehicleRegCertOCR({})
|
|
804
814
|
expect(data).to.be.ok
|
|
805
815
|
} catch(error) {
|
|
806
816
|
expect(error.requestId).to.be.ok
|
|
@@ -808,9 +818,9 @@ it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
|
808
818
|
}
|
|
809
819
|
})
|
|
810
820
|
|
|
811
|
-
it("ocr.v20181119.
|
|
821
|
+
it("ocr.v20181119.CarInvoiceOCR", async function () {
|
|
812
822
|
try {
|
|
813
|
-
const data = await client.
|
|
823
|
+
const data = await client.CarInvoiceOCR({})
|
|
814
824
|
expect(data).to.be.ok
|
|
815
825
|
} catch(error) {
|
|
816
826
|
expect(error.requestId).to.be.ok
|
|
@@ -818,9 +828,9 @@ it("ocr.v20181119.RecognizeHealthCodeOCR", async function () {
|
|
|
818
828
|
}
|
|
819
829
|
})
|
|
820
830
|
|
|
821
|
-
it("ocr.v20181119.
|
|
831
|
+
it("ocr.v20181119.GetOCRResult", async function () {
|
|
822
832
|
try {
|
|
823
|
-
const data = await client.
|
|
833
|
+
const data = await client.GetOCRResult({})
|
|
824
834
|
expect(data).to.be.ok
|
|
825
835
|
} catch(error) {
|
|
826
836
|
expect(error.requestId).to.be.ok
|
|
@@ -828,9 +838,9 @@ it("ocr.v20181119.EduPaperOCR", async function () {
|
|
|
828
838
|
}
|
|
829
839
|
})
|
|
830
840
|
|
|
831
|
-
it("ocr.v20181119.
|
|
841
|
+
it("ocr.v20181119.FormulaOCR", async function () {
|
|
832
842
|
try {
|
|
833
|
-
const data = await client.
|
|
843
|
+
const data = await client.FormulaOCR({})
|
|
834
844
|
expect(data).to.be.ok
|
|
835
845
|
} catch(error) {
|
|
836
846
|
expect(error.requestId).to.be.ok
|
|
@@ -838,9 +848,9 @@ it("ocr.v20181119.ReconstructDocument", async function () {
|
|
|
838
848
|
}
|
|
839
849
|
})
|
|
840
850
|
|
|
841
|
-
it("ocr.v20181119.
|
|
851
|
+
it("ocr.v20181119.PassportOCR", async function () {
|
|
842
852
|
try {
|
|
843
|
-
const data = await client.
|
|
853
|
+
const data = await client.PassportOCR({})
|
|
844
854
|
expect(data).to.be.ok
|
|
845
855
|
} catch(error) {
|
|
846
856
|
expect(error.requestId).to.be.ok
|
|
@@ -848,9 +858,9 @@ it("ocr.v20181119.RecognizeThaiIDCardOCR", async function () {
|
|
|
848
858
|
}
|
|
849
859
|
})
|
|
850
860
|
|
|
851
|
-
it("ocr.v20181119.
|
|
861
|
+
it("ocr.v20181119.ShipInvoiceOCR", async function () {
|
|
852
862
|
try {
|
|
853
|
-
const data = await client.
|
|
863
|
+
const data = await client.ShipInvoiceOCR({})
|
|
854
864
|
expect(data).to.be.ok
|
|
855
865
|
} catch(error) {
|
|
856
866
|
expect(error.requestId).to.be.ok
|
|
@@ -858,9 +868,9 @@ it("ocr.v20181119.RecognizeGeneralInvoice", async function () {
|
|
|
858
868
|
}
|
|
859
869
|
})
|
|
860
870
|
|
|
861
|
-
it("ocr.v20181119.
|
|
871
|
+
it("ocr.v20181119.RideHailingTransportLicenseOCR", async function () {
|
|
862
872
|
try {
|
|
863
|
-
const data = await client.
|
|
873
|
+
const data = await client.RideHailingTransportLicenseOCR({})
|
|
864
874
|
expect(data).to.be.ok
|
|
865
875
|
} catch(error) {
|
|
866
876
|
expect(error.requestId).to.be.ok
|