tencentcloud-sdk-nodejs-ocr 4.0.1047 → 4.0.1049
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/package.json +9 -4
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +1 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -2
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "tencentcloud-sdk-nodejs-ocr",
|
3
|
-
"version": "4.0.
|
4
|
-
"description": "
|
3
|
+
"version": "4.0.1049",
|
4
|
+
"description": "腾讯云 API NODEJS SDK",
|
5
5
|
"main": "tencentcloud/index.js",
|
6
6
|
"scripts": {
|
7
7
|
"test": "mocha -t 10000",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"author": "tencentcloudapi",
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"tencentcloud-sdk-nodejs-common": "
|
25
|
+
"tencentcloud-sdk-nodejs-common": "*",
|
26
26
|
"tslib": "1.13.0"
|
27
27
|
},
|
28
28
|
"directories": {
|
@@ -35,14 +35,19 @@
|
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/form-data": "^2.5.0",
|
38
|
+
"@types/json-bigint": "^1.0.1",
|
38
39
|
"@types/node": "^14.0.26",
|
39
40
|
"@types/node-fetch": "^2.5.7",
|
41
|
+
"@types/uuid": "^9.0.8",
|
40
42
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
41
43
|
"@typescript-eslint/parser": "^2.34.0",
|
44
|
+
"babel-eslint": "^10.0.2",
|
42
45
|
"chai": "^4.2.0",
|
43
46
|
"eslint": "^6.8.0",
|
47
|
+
"eslint-plugin-react": "^7.17.0",
|
44
48
|
"mocha": "^8.1.1",
|
49
|
+
"prettier": "^2.3.0",
|
45
50
|
"ts-node": "^8.10.2",
|
46
51
|
"typescript": "^3.9.7"
|
47
52
|
}
|
48
|
-
}
|
53
|
+
}
|
@@ -1505,7 +1505,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1505
1505
|
}
|
1506
1506
|
|
1507
1507
|
/**
|
1508
|
-
* 本接口支持OFD
|
1508
|
+
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
1509
1509
|
*/
|
1510
1510
|
async VerifyOfdVatInvoiceOCR(
|
1511
1511
|
req: VerifyOfdVatInvoiceOCRRequest,
|
@@ -7541,8 +7541,7 @@ export interface VerifyOfdVatInvoiceOCRRequest {
|
|
7541
7541
|
*/
|
7542
7542
|
OfdFileUrl?: string
|
7543
7543
|
/**
|
7544
|
-
* OFD文件的 Base64 值。
|
7545
|
-
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
|
7544
|
+
* OFD文件的 Base64 值。OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只使用OfdFileUrl。
|
7546
7545
|
*/
|
7547
7546
|
OfdFileBase64?: string
|
7548
7547
|
/**
|
@@ -774,7 +774,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
774
774
|
*/
|
775
775
|
RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
|
776
776
|
/**
|
777
|
-
* 本接口支持OFD
|
777
|
+
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
778
778
|
*/
|
779
779
|
VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
|
780
780
|
/**
|
@@ -925,7 +925,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
925
925
|
return this.request("RecognizeTravelCardOCR", req, cb);
|
926
926
|
}
|
927
927
|
/**
|
928
|
-
* 本接口支持OFD
|
928
|
+
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
929
929
|
*/
|
930
930
|
async VerifyOfdVatInvoiceOCR(req, cb) {
|
931
931
|
return this.request("VerifyOfdVatInvoiceOCR", req, cb);
|
@@ -7326,8 +7326,7 @@ export interface VerifyOfdVatInvoiceOCRRequest {
|
|
7326
7326
|
*/
|
7327
7327
|
OfdFileUrl?: string;
|
7328
7328
|
/**
|
7329
|
-
* OFD文件的 Base64 值。
|
7330
|
-
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
|
7329
|
+
* OFD文件的 Base64 值。OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只使用OfdFileUrl。
|
7331
7330
|
*/
|
7332
7331
|
OfdFileBase64?: string;
|
7333
7332
|
/**
|