tencentcloud-sdk-nodejs-ocr 4.1.255 → 4.1.256
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
CHANGED
|
@@ -755,15 +755,19 @@ export interface OverseasInvoice {
|
|
|
755
755
|
*/
|
|
756
756
|
export interface ItemInfo {
|
|
757
757
|
/**
|
|
758
|
-
* key
|
|
758
|
+
* <p>key信息组</p>
|
|
759
759
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
760
|
*/
|
|
761
761
|
Key?: Key;
|
|
762
762
|
/**
|
|
763
|
-
* Value
|
|
763
|
+
* <p>Value信息组</p>
|
|
764
764
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
765
765
|
*/
|
|
766
766
|
Value?: Value;
|
|
767
|
+
/**
|
|
768
|
+
* <p>返回这个字段是否比对审核通过</p><p>默认值:false</p>
|
|
769
|
+
*/
|
|
770
|
+
AuditResult?: boolean;
|
|
767
771
|
}
|
|
768
772
|
/**
|
|
769
773
|
* TextDetect返回参数结构体
|
|
@@ -3977,19 +3981,25 @@ export interface QuotaInvoice {
|
|
|
3977
3981
|
*/
|
|
3978
3982
|
export interface ItemNames {
|
|
3979
3983
|
/**
|
|
3980
|
-
*
|
|
3984
|
+
* <p>自定义抽取功能需返回的字段名称。</p>
|
|
3981
3985
|
*/
|
|
3982
3986
|
KeyName?: string;
|
|
3983
3987
|
/**
|
|
3984
|
-
*
|
|
3985
|
-
|
|
3988
|
+
* <p>默认 0;0表示kv对 1表示 表格字段。</p>
|
|
3986
3989
|
*/
|
|
3987
3990
|
KeyType?: number;
|
|
3988
3991
|
/**
|
|
3989
|
-
*
|
|
3990
|
-
|
|
3992
|
+
* <p>抽取字段的描述内容。</p>
|
|
3991
3993
|
*/
|
|
3992
3994
|
KeyPrompt?: string;
|
|
3995
|
+
/**
|
|
3996
|
+
* <p>自定义字段对应期望的值内容(这个一般需要对字段审核比对才需要输入)。</p>
|
|
3997
|
+
*/
|
|
3998
|
+
KeyExpectedValue?: string;
|
|
3999
|
+
/**
|
|
4000
|
+
* <p>自定义字段审核比对的规则prompt。</p><p>比如keyname是姓名,KeyExpectedValue 张三,KeyAuditPrompt设置为“字符需要完全匹配则审核返回正确”/“字符匹配90%就审核返回正确”</p>
|
|
4001
|
+
*/
|
|
4002
|
+
KeyAuditPrompt?: string;
|
|
3993
4003
|
}
|
|
3994
4004
|
/**
|
|
3995
4005
|
* 混贴票据中单张发票的内容
|