tencentcloud-sdk-nodejs-ocr 4.0.658 → 4.0.661
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 +1000 -0
- package/SERVICE_CHANGELOG.md +1214 -44
- package/package.json +1 -1
- package/products.md +30 -29
- package/src/services/ocr/v20181119/ocr_client.ts +3 -38
- package/src/services/ocr/v20181119/ocr_models.ts +42 -381
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -19
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -22
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +42 -376
@@ -646,152 +646,6 @@ export interface TollInvoiceOCRResponse {
|
|
646
646
|
RequestId?: string
|
647
647
|
}
|
648
648
|
|
649
|
-
/**
|
650
|
-
* VerifyBizLicense返回参数结构体
|
651
|
-
*/
|
652
|
-
export interface VerifyBizLicenseResponse {
|
653
|
-
/**
|
654
|
-
* 状态码
|
655
|
-
*/
|
656
|
-
ErrorCode?: number
|
657
|
-
/**
|
658
|
-
* 统一社会信用代码
|
659
|
-
*/
|
660
|
-
CreditCode?: string
|
661
|
-
/**
|
662
|
-
* 组织机构代码
|
663
|
-
*/
|
664
|
-
OrgCode?: string
|
665
|
-
/**
|
666
|
-
* 经营期限自(YYYY-MM-DD)
|
667
|
-
*/
|
668
|
-
OpenFrom?: string
|
669
|
-
/**
|
670
|
-
* 经营期限至(YYYY-MM-DD)
|
671
|
-
*/
|
672
|
-
OpenTo?: string
|
673
|
-
/**
|
674
|
-
* 法人姓名
|
675
|
-
*/
|
676
|
-
FrName?: string
|
677
|
-
/**
|
678
|
-
* 经营状态,包括:成立、筹建、存续、在营、开业、在册、正常经营、开业登记中、登记成立、撤销、撤销登记、非正常户、告解、个体暂时吊销、个体转企业、吊销(未注销)、拟注销、已注销、(待)迁入、(待)迁出、停业、歇业、清算等。
|
679
|
-
*/
|
680
|
-
EnterpriseStatus?: string
|
681
|
-
/**
|
682
|
-
* 经营(业务)范围及方式
|
683
|
-
*/
|
684
|
-
OperateScopeAndForm?: string
|
685
|
-
/**
|
686
|
-
* 注册资金(单位:万元)
|
687
|
-
*/
|
688
|
-
RegCap?: string
|
689
|
-
/**
|
690
|
-
* 注册币种
|
691
|
-
*/
|
692
|
-
RegCapCur?: string
|
693
|
-
/**
|
694
|
-
* 登记机关
|
695
|
-
*/
|
696
|
-
RegOrg?: string
|
697
|
-
/**
|
698
|
-
* 开业日期(YYYY-MM-DD)
|
699
|
-
*/
|
700
|
-
EsDate?: string
|
701
|
-
/**
|
702
|
-
* 企业(机构)类型
|
703
|
-
*/
|
704
|
-
EnterpriseType?: string
|
705
|
-
/**
|
706
|
-
* 注销日期
|
707
|
-
*/
|
708
|
-
CancelDate?: string
|
709
|
-
/**
|
710
|
-
* 吊销日期
|
711
|
-
*/
|
712
|
-
RevokeDate?: string
|
713
|
-
/**
|
714
|
-
* 许可经营项目
|
715
|
-
*/
|
716
|
-
AbuItem?: string
|
717
|
-
/**
|
718
|
-
* 一般经营项目
|
719
|
-
*/
|
720
|
-
CbuItem?: string
|
721
|
-
/**
|
722
|
-
* 核准时间
|
723
|
-
*/
|
724
|
-
ApprDate?: string
|
725
|
-
/**
|
726
|
-
* 省(返回空值)
|
727
|
-
*/
|
728
|
-
Province?: string
|
729
|
-
/**
|
730
|
-
* 地级市(返回空值)
|
731
|
-
*/
|
732
|
-
City?: string
|
733
|
-
/**
|
734
|
-
* 区\县(返回空值)
|
735
|
-
*/
|
736
|
-
County?: string
|
737
|
-
/**
|
738
|
-
* 住所所在行政区划代码(返回空值)
|
739
|
-
*/
|
740
|
-
AreaCode?: string
|
741
|
-
/**
|
742
|
-
* 行业门类代码(返回空值)
|
743
|
-
*/
|
744
|
-
IndustryPhyCode?: string
|
745
|
-
/**
|
746
|
-
* 行业门类名称(返回空值)
|
747
|
-
*/
|
748
|
-
IndustryPhyName?: string
|
749
|
-
/**
|
750
|
-
* 国民经济行业代码(返回空值)
|
751
|
-
*/
|
752
|
-
IndustryCode?: string
|
753
|
-
/**
|
754
|
-
* 国民经济行业名称(返回空值)
|
755
|
-
*/
|
756
|
-
IndustryName?: string
|
757
|
-
/**
|
758
|
-
* 经营(业务)范围
|
759
|
-
*/
|
760
|
-
OperateScope?: string
|
761
|
-
/**
|
762
|
-
* 要核验的工商注册号
|
763
|
-
*/
|
764
|
-
VerifyRegNo?: string
|
765
|
-
/**
|
766
|
-
* 工商注册号
|
767
|
-
*/
|
768
|
-
RegNo?: string
|
769
|
-
/**
|
770
|
-
* 要核验的企业名称
|
771
|
-
*/
|
772
|
-
VerifyEnterpriseName?: string
|
773
|
-
/**
|
774
|
-
* 企业名称
|
775
|
-
*/
|
776
|
-
EnterpriseName?: string
|
777
|
-
/**
|
778
|
-
* 要核验的注册地址
|
779
|
-
*/
|
780
|
-
VerifyAddress?: string
|
781
|
-
/**
|
782
|
-
* 注册地址
|
783
|
-
*/
|
784
|
-
Address?: string
|
785
|
-
/**
|
786
|
-
* 验证结果
|
787
|
-
*/
|
788
|
-
RegNumResult?: BizLicenseVerifyResult
|
789
|
-
/**
|
790
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
791
|
-
*/
|
792
|
-
RequestId?: string
|
793
|
-
}
|
794
|
-
|
795
649
|
/**
|
796
650
|
* FinanBillSliceOCR返回参数结构体
|
797
651
|
*/
|
@@ -941,46 +795,6 @@ export interface Words {
|
|
941
795
|
Character: string
|
942
796
|
}
|
943
797
|
|
944
|
-
/**
|
945
|
-
* VerifyBizLicense请求参数结构体
|
946
|
-
*/
|
947
|
-
export interface VerifyBizLicenseRequest {
|
948
|
-
/**
|
949
|
-
* 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
950
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
951
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
952
|
-
*/
|
953
|
-
ImageBase64?: string
|
954
|
-
/**
|
955
|
-
* 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
956
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
957
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
958
|
-
*/
|
959
|
-
ImageUrl?: string
|
960
|
-
/**
|
961
|
-
* 用于入参是营业执照图片的场景,表示需要校验的参数:RegNum(注册号或者统一社会信用代码),Name(企业名称),Address(经营地址)。选择后会返回相关参数校验结果。RegNum为必选,Name和Address可选。
|
962
|
-
格式为{RegNum: true, Name:true/false, Address:true/false}
|
963
|
-
|
964
|
-
设置方式参考:
|
965
|
-
Config = Json.stringify({"Name":true,"Address":true})
|
966
|
-
API 3.0 Explorer 设置方式参考:
|
967
|
-
Config = {"Name":true,"Address":true}
|
968
|
-
*/
|
969
|
-
ImageConfig?: string
|
970
|
-
/**
|
971
|
-
* 用于入参是文本的场景,RegNum表示注册号或者统一社会信用代码。若没有传入营业执照图片,则RegNum为必选项,若图片和RegNum都传入,则只使用RegNum。
|
972
|
-
*/
|
973
|
-
RegNum?: string
|
974
|
-
/**
|
975
|
-
* 用于入参是文本的场景,Name表示企业名称。Name为可选项,填写后会返回Name的校验结果。
|
976
|
-
*/
|
977
|
-
Name?: string
|
978
|
-
/**
|
979
|
-
* 用于入参是文本的场景,Address表示经营地址,填写后会返回Address的校验结果。
|
980
|
-
*/
|
981
|
-
Address?: string
|
982
|
-
}
|
983
|
-
|
984
798
|
/**
|
985
799
|
* 英文识别结果
|
986
800
|
*/
|
@@ -1639,26 +1453,17 @@ BACK 为驾驶证副页正面(有档案编号的一面)。
|
|
1639
1453
|
}
|
1640
1454
|
|
1641
1455
|
/**
|
1642
|
-
*
|
1456
|
+
* OtherInvoiceItem
|
1643
1457
|
*/
|
1644
|
-
export interface
|
1645
|
-
/**
|
1646
|
-
* “0“:一致
|
1647
|
-
“-1”:不一致
|
1648
|
-
*/
|
1649
|
-
RegNum: string
|
1458
|
+
export interface OtherInvoiceItem {
|
1650
1459
|
/**
|
1651
|
-
*
|
1652
|
-
“-1”:不一致
|
1653
|
-
“”:不验真
|
1460
|
+
* 票面key值
|
1654
1461
|
*/
|
1655
|
-
Name
|
1462
|
+
Name?: string
|
1656
1463
|
/**
|
1657
|
-
*
|
1658
|
-
“-1”:不一致
|
1659
|
-
“”:不验真
|
1464
|
+
* 票面value值
|
1660
1465
|
*/
|
1661
|
-
|
1466
|
+
Value?: string
|
1662
1467
|
}
|
1663
1468
|
|
1664
1469
|
/**
|
@@ -2607,41 +2412,17 @@ export interface VatInvoiceUserInfo {
|
|
2607
2412
|
}
|
2608
2413
|
|
2609
2414
|
/**
|
2610
|
-
*
|
2415
|
+
* InsuranceBillOCR返回参数结构体
|
2611
2416
|
*/
|
2612
|
-
export interface
|
2613
|
-
/**
|
2614
|
-
* 项目名称
|
2615
|
-
*/
|
2616
|
-
Name?: string
|
2617
|
-
/**
|
2618
|
-
* 规格型号
|
2619
|
-
*/
|
2620
|
-
Specification?: string
|
2621
|
-
/**
|
2622
|
-
* 单位
|
2623
|
-
*/
|
2624
|
-
Unit?: string
|
2625
|
-
/**
|
2626
|
-
* 数量
|
2627
|
-
*/
|
2628
|
-
Quantity?: string
|
2629
|
-
/**
|
2630
|
-
* 单价
|
2631
|
-
*/
|
2632
|
-
Price?: string
|
2633
|
-
/**
|
2634
|
-
* 金额
|
2635
|
-
*/
|
2636
|
-
Total?: string
|
2417
|
+
export interface InsuranceBillOCRResponse {
|
2637
2418
|
/**
|
2638
|
-
*
|
2419
|
+
* 保险单据识别结果,具体内容请点击左侧链接。
|
2639
2420
|
*/
|
2640
|
-
|
2421
|
+
InsuranceBillInfos: Array<InsuranceBillInfo>
|
2641
2422
|
/**
|
2642
|
-
*
|
2423
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2643
2424
|
*/
|
2644
|
-
|
2425
|
+
RequestId?: string
|
2645
2426
|
}
|
2646
2427
|
|
2647
2428
|
/**
|
@@ -4851,88 +4632,6 @@ export interface PassportOCRResponse {
|
|
4851
4632
|
RequestId?: string
|
4852
4633
|
}
|
4853
4634
|
|
4854
|
-
/**
|
4855
|
-
* VerifyBasicBizLicense返回参数结构体
|
4856
|
-
*/
|
4857
|
-
export interface VerifyBasicBizLicenseResponse {
|
4858
|
-
/**
|
4859
|
-
* 状态码,成功时返回0
|
4860
|
-
*/
|
4861
|
-
ErrorCode?: number
|
4862
|
-
/**
|
4863
|
-
* 统一社会信用代码
|
4864
|
-
*/
|
4865
|
-
CreditCode?: string
|
4866
|
-
/**
|
4867
|
-
* 经营期限自(YYYY-MM-DD)
|
4868
|
-
*/
|
4869
|
-
Opfrom?: string
|
4870
|
-
/**
|
4871
|
-
* 经营期限至(YYYY-MM-DD)
|
4872
|
-
*/
|
4873
|
-
Opto?: string
|
4874
|
-
/**
|
4875
|
-
* 法人姓名
|
4876
|
-
*/
|
4877
|
-
Frname?: string
|
4878
|
-
/**
|
4879
|
-
* 经营状态,包括:成立、筹建、存续、在营、开业、在册、正常经营、开业登记中、登记成立、撤销、撤销登记、非正常户、告解、个体暂时吊销、个体转企业、吊销(未注销)、拟注销、已注销、(待)迁入、(待)迁出、停业、歇业、清算等。
|
4880
|
-
*/
|
4881
|
-
Entstatus?: string
|
4882
|
-
/**
|
4883
|
-
* 经营业务范围
|
4884
|
-
*/
|
4885
|
-
Zsopscope?: string
|
4886
|
-
/**
|
4887
|
-
* 查询的状态信息
|
4888
|
-
*/
|
4889
|
-
Reason?: string
|
4890
|
-
/**
|
4891
|
-
* 原注册号
|
4892
|
-
*/
|
4893
|
-
Oriregno?: string
|
4894
|
-
/**
|
4895
|
-
* 要核验的工商注册号
|
4896
|
-
*/
|
4897
|
-
VerifyRegno?: string
|
4898
|
-
/**
|
4899
|
-
* 工商注册号
|
4900
|
-
*/
|
4901
|
-
Regno?: string
|
4902
|
-
/**
|
4903
|
-
* 要核验的企业名称
|
4904
|
-
*/
|
4905
|
-
VerifyEntname?: string
|
4906
|
-
/**
|
4907
|
-
* 企业名称
|
4908
|
-
*/
|
4909
|
-
Entname?: string
|
4910
|
-
/**
|
4911
|
-
* 要核验的住址
|
4912
|
-
*/
|
4913
|
-
VerifyDom?: string
|
4914
|
-
/**
|
4915
|
-
* 住址
|
4916
|
-
*/
|
4917
|
-
Dom?: string
|
4918
|
-
/**
|
4919
|
-
* 验证结果
|
4920
|
-
*/
|
4921
|
-
RegNumResult?: BizLicenseVerifyResult
|
4922
|
-
/**
|
4923
|
-
* 注册资本(单位:万元),只有输入参数regCapital为1的时候才输出
|
4924
|
-
*/
|
4925
|
-
RegCapital?: string
|
4926
|
-
/**
|
4927
|
-
* 成立/注册日期,只有输入参数EstablishTime为true时展示,默认为空
|
4928
|
-
*/
|
4929
|
-
EstablishTime?: string
|
4930
|
-
/**
|
4931
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4932
|
-
*/
|
4933
|
-
RequestId?: string
|
4934
|
-
}
|
4935
|
-
|
4936
4635
|
/**
|
4937
4636
|
* TextDetect请求参数结构体
|
4938
4637
|
*/
|
@@ -7360,17 +7059,41 @@ export interface RecognizeMedicalInvoiceOCRRequest {
|
|
7360
7059
|
}
|
7361
7060
|
|
7362
7061
|
/**
|
7363
|
-
*
|
7062
|
+
* 通用机打发票条目
|
7364
7063
|
*/
|
7365
|
-
export interface
|
7064
|
+
export interface GeneralMachineItem {
|
7366
7065
|
/**
|
7367
|
-
*
|
7066
|
+
* 项目名称
|
7368
7067
|
*/
|
7369
|
-
|
7068
|
+
Name?: string
|
7370
7069
|
/**
|
7371
|
-
*
|
7070
|
+
* 规格型号
|
7372
7071
|
*/
|
7373
|
-
|
7072
|
+
Specification?: string
|
7073
|
+
/**
|
7074
|
+
* 单位
|
7075
|
+
*/
|
7076
|
+
Unit?: string
|
7077
|
+
/**
|
7078
|
+
* 数量
|
7079
|
+
*/
|
7080
|
+
Quantity?: string
|
7081
|
+
/**
|
7082
|
+
* 单价
|
7083
|
+
*/
|
7084
|
+
Price?: string
|
7085
|
+
/**
|
7086
|
+
* 金额
|
7087
|
+
*/
|
7088
|
+
Total?: string
|
7089
|
+
/**
|
7090
|
+
* 税率
|
7091
|
+
*/
|
7092
|
+
TaxRate?: string
|
7093
|
+
/**
|
7094
|
+
* 税额
|
7095
|
+
*/
|
7096
|
+
Tax?: string
|
7374
7097
|
}
|
7375
7098
|
|
7376
7099
|
/**
|
@@ -7905,20 +7628,6 @@ export interface MLIDCardOCRRequest {
|
|
7905
7628
|
RetImage?: boolean
|
7906
7629
|
}
|
7907
7630
|
|
7908
|
-
/**
|
7909
|
-
* OtherInvoiceItem
|
7910
|
-
*/
|
7911
|
-
export interface OtherInvoiceItem {
|
7912
|
-
/**
|
7913
|
-
* 票面key值
|
7914
|
-
*/
|
7915
|
-
Name?: string
|
7916
|
-
/**
|
7917
|
-
* 票面value值
|
7918
|
-
*/
|
7919
|
-
Value?: string
|
7920
|
-
}
|
7921
|
-
|
7922
7631
|
/**
|
7923
7632
|
* 出租车发票
|
7924
7633
|
*/
|
@@ -8784,54 +8493,6 @@ export interface EstateCertOCRRequest {
|
|
8784
8493
|
ImageUrl?: string
|
8785
8494
|
}
|
8786
8495
|
|
8787
|
-
/**
|
8788
|
-
* VerifyBasicBizLicense请求参数结构体
|
8789
|
-
*/
|
8790
|
-
export interface VerifyBasicBizLicenseRequest {
|
8791
|
-
/**
|
8792
|
-
* 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
8793
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8794
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
8795
|
-
*/
|
8796
|
-
ImageBase64?: string
|
8797
|
-
/**
|
8798
|
-
* 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
8799
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
8800
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
8801
|
-
*/
|
8802
|
-
ImageUrl?: string
|
8803
|
-
/**
|
8804
|
-
* 用于入参是营业执照图片的场景,表示需要校验的参数:RegNum(注册号或者统一社会信用代码),Name(企业名称),Address(经营地址)。选择后会返回相关参数校验结果。RegNum为必选,Name和Address可选。
|
8805
|
-
格式为{RegNum: true, Name:true/false, Address:true/false}
|
8806
|
-
|
8807
|
-
设置方式参考:
|
8808
|
-
Config = Json.stringify({"Name":true,"Address":true})
|
8809
|
-
API 3.0 Explorer 设置方式参考:
|
8810
|
-
Config = {"Name":true,"Address":true}
|
8811
|
-
*/
|
8812
|
-
ImageConfig?: string
|
8813
|
-
/**
|
8814
|
-
* 用于入参是文本的场景,RegNum表示注册号或者统一社会信用代码。若没有传入营业执照图片,则RegNum为必选项,若图片和RegNum都传入,则只使用RegNum。
|
8815
|
-
*/
|
8816
|
-
RegNum?: string
|
8817
|
-
/**
|
8818
|
-
* 用于入参是文本的场景,Name表示企业名称。Name为可选项,填写后会返回Name的校验结果。
|
8819
|
-
*/
|
8820
|
-
Name?: string
|
8821
|
-
/**
|
8822
|
-
* 用于入参是文本的场景,Address表示经营地址。Address为可选项,填写后会返回Address的校验结果。
|
8823
|
-
*/
|
8824
|
-
Address?: string
|
8825
|
-
/**
|
8826
|
-
* 1表示输出注册资本字段(单位:万元),其他值表示不输出。默认不输出。
|
8827
|
-
*/
|
8828
|
-
RegCapital?: number
|
8829
|
-
/**
|
8830
|
-
* true表示展示成立/注册日期
|
8831
|
-
*/
|
8832
|
-
EstablishTime?: boolean
|
8833
|
-
}
|
8834
|
-
|
8835
8496
|
/**
|
8836
8497
|
* BizLicenseOCR返回参数结构体
|
8837
8498
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
2
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse,
|
2
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, GeneralFastOCRResponse } from "./ocr_models";
|
3
3
|
/**
|
4
4
|
* ocr client
|
5
5
|
* @class
|
@@ -12,14 +12,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
12
12
|
默认接口请求频率限制:1次/秒。
|
13
13
|
*/
|
14
14
|
InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
|
15
|
-
/**
|
16
|
-
* 库源服务调整,该接口在2023年6月1日将正式下线。
|
17
|
-
|
18
|
-
本接口支持营业执照信息的识别与准确性核验。
|
19
|
-
|
20
|
-
您可以通过输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询)进行核验,接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。查询到工商信息包括:统一社会信用代码、经营期限、法人姓名、经营状态、经营业务范围、注册资本等。
|
21
|
-
*/
|
22
|
-
VerifyBasicBizLicense(req: VerifyBasicBizLicenseRequest, cb?: (error: string, rep: VerifyBasicBizLicenseResponse) => void): Promise<VerifyBasicBizLicenseResponse>;
|
23
15
|
/**
|
24
16
|
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
25
17
|
|
@@ -663,16 +655,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
663
655
|
默认接口请求频率限制:10次/秒。
|
664
656
|
*/
|
665
657
|
PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
|
666
|
-
/**
|
667
|
-
* 库源服务调整,该接口在2023年6月1日将正式下线。
|
668
|
-
|
669
|
-
本接口支持营业执照信息的识别与准确性核验,返回的真实工商照面信息比营业执照识别及核验(基础版)接口更详细。
|
670
|
-
|
671
|
-
您可以输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询),接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。
|
672
|
-
|
673
|
-
查询到工商信息包括:统一社会信用代码、组织机构代码、经营期限、法人姓名、经营状态、经营业务范围及方式、注册资金、注册币种、登记机关、开业日期、企业(机构)类型、注销日期、吊销日期、许可经营项目、一般经营项目、核准时间、省、地级市、区/县、住所所在行政区划代码、行业门类代码、行业门类名称、国民经济行业代码、国民经济行业名称、经营(业务)范围等。
|
674
|
-
*/
|
675
|
-
VerifyBizLicense(req: VerifyBizLicenseRequest, cb?: (error: string, rep: VerifyBizLicenseResponse) => void): Promise<VerifyBizLicenseResponse>;
|
676
658
|
/**
|
677
659
|
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
678
660
|
|
@@ -35,16 +35,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
35
35
|
async InsuranceBillOCR(req, cb) {
|
36
36
|
return this.request("InsuranceBillOCR", req, cb);
|
37
37
|
}
|
38
|
-
/**
|
39
|
-
* 库源服务调整,该接口在2023年6月1日将正式下线。
|
40
|
-
|
41
|
-
本接口支持营业执照信息的识别与准确性核验。
|
42
|
-
|
43
|
-
您可以通过输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询)进行核验,接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。查询到工商信息包括:统一社会信用代码、经营期限、法人姓名、经营状态、经营业务范围、注册资本等。
|
44
|
-
*/
|
45
|
-
async VerifyBasicBizLicense(req, cb) {
|
46
|
-
return this.request("VerifyBasicBizLicense", req, cb);
|
47
|
-
}
|
48
38
|
/**
|
49
39
|
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
50
40
|
|
@@ -826,18 +816,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
826
816
|
async PassportOCR(req, cb) {
|
827
817
|
return this.request("PassportOCR", req, cb);
|
828
818
|
}
|
829
|
-
/**
|
830
|
-
* 库源服务调整,该接口在2023年6月1日将正式下线。
|
831
|
-
|
832
|
-
本接口支持营业执照信息的识别与准确性核验,返回的真实工商照面信息比营业执照识别及核验(基础版)接口更详细。
|
833
|
-
|
834
|
-
您可以输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询),接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。
|
835
|
-
|
836
|
-
查询到工商信息包括:统一社会信用代码、组织机构代码、经营期限、法人姓名、经营状态、经营业务范围及方式、注册资金、注册币种、登记机关、开业日期、企业(机构)类型、注销日期、吊销日期、许可经营项目、一般经营项目、核准时间、省、地级市、区/县、住所所在行政区划代码、行业门类代码、行业门类名称、国民经济行业代码、国民经济行业名称、经营(业务)范围等。
|
837
|
-
*/
|
838
|
-
async VerifyBizLicense(req, cb) {
|
839
|
-
return this.request("VerifyBizLicense", req, cb);
|
840
|
-
}
|
841
819
|
/**
|
842
820
|
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
843
821
|
|