tencentcloud-sdk-nodejs-ocr 4.0.1029 → 4.0.1031
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
@@ -929,42 +929,42 @@ export interface IDCardInfoResult {
|
|
929
929
|
*/
|
930
930
|
WarnCodes?: Array<number | bigint>
|
931
931
|
/**
|
932
|
-
*
|
932
|
+
* 地址(人像面)
|
933
933
|
注意:此字段可能返回 null,表示取不到有效值。
|
934
934
|
*/
|
935
935
|
Address?: string
|
936
936
|
/**
|
937
|
-
*
|
937
|
+
* 发证机关(国徽面)
|
938
938
|
注意:此字段可能返回 null,表示取不到有效值。
|
939
939
|
*/
|
940
940
|
Authority?: string
|
941
941
|
/**
|
942
|
-
*
|
942
|
+
* 出生日期(人像面)
|
943
943
|
注意:此字段可能返回 null,表示取不到有效值。
|
944
944
|
*/
|
945
945
|
Birth?: string
|
946
946
|
/**
|
947
|
-
*
|
947
|
+
* 身份证号(人像面)
|
948
948
|
注意:此字段可能返回 null,表示取不到有效值。
|
949
949
|
*/
|
950
950
|
IdNum?: string
|
951
951
|
/**
|
952
|
-
*
|
952
|
+
* 名字(人像面)
|
953
953
|
注意:此字段可能返回 null,表示取不到有效值。
|
954
954
|
*/
|
955
955
|
Name?: string
|
956
956
|
/**
|
957
|
-
*
|
957
|
+
* 民族(人像面)
|
958
958
|
注意:此字段可能返回 null,表示取不到有效值。
|
959
959
|
*/
|
960
960
|
Nation?: string
|
961
961
|
/**
|
962
|
-
*
|
962
|
+
* 性别(人像面)
|
963
963
|
注意:此字段可能返回 null,表示取不到有效值。
|
964
964
|
*/
|
965
965
|
Sex?: string
|
966
966
|
/**
|
967
|
-
*
|
967
|
+
* 证件有效期(国徽面)
|
968
968
|
注意:此字段可能返回 null,表示取不到有效值。
|
969
969
|
*/
|
970
970
|
ValidDate?: string
|
@@ -987,6 +987,10 @@ export interface IDCardInfoResult {
|
|
987
987
|
* 原图地址
|
988
988
|
*/
|
989
989
|
ImageUrl?: string
|
990
|
+
/**
|
991
|
+
* 身份证头像照片的地址(人像面)
|
992
|
+
*/
|
993
|
+
PortraitUrl?: string
|
990
994
|
}
|
991
995
|
|
992
996
|
/**
|
@@ -8438,6 +8442,10 @@ export interface IDCardConfig {
|
|
8438
8442
|
* 是否开启反光检测,默认为false
|
8439
8443
|
*/
|
8440
8444
|
ReflectWarn?: boolean
|
8445
|
+
/**
|
8446
|
+
* 是否开启头像剪切
|
8447
|
+
*/
|
8448
|
+
CropPortrait?: boolean
|
8441
8449
|
}
|
8442
8450
|
|
8443
8451
|
/**
|
@@ -885,42 +885,42 @@ export interface IDCardInfoResult {
|
|
885
885
|
*/
|
886
886
|
WarnCodes?: Array<number | bigint>;
|
887
887
|
/**
|
888
|
-
*
|
888
|
+
* 地址(人像面)
|
889
889
|
注意:此字段可能返回 null,表示取不到有效值。
|
890
890
|
*/
|
891
891
|
Address?: string;
|
892
892
|
/**
|
893
|
-
*
|
893
|
+
* 发证机关(国徽面)
|
894
894
|
注意:此字段可能返回 null,表示取不到有效值。
|
895
895
|
*/
|
896
896
|
Authority?: string;
|
897
897
|
/**
|
898
|
-
*
|
898
|
+
* 出生日期(人像面)
|
899
899
|
注意:此字段可能返回 null,表示取不到有效值。
|
900
900
|
*/
|
901
901
|
Birth?: string;
|
902
902
|
/**
|
903
|
-
*
|
903
|
+
* 身份证号(人像面)
|
904
904
|
注意:此字段可能返回 null,表示取不到有效值。
|
905
905
|
*/
|
906
906
|
IdNum?: string;
|
907
907
|
/**
|
908
|
-
*
|
908
|
+
* 名字(人像面)
|
909
909
|
注意:此字段可能返回 null,表示取不到有效值。
|
910
910
|
*/
|
911
911
|
Name?: string;
|
912
912
|
/**
|
913
|
-
*
|
913
|
+
* 民族(人像面)
|
914
914
|
注意:此字段可能返回 null,表示取不到有效值。
|
915
915
|
*/
|
916
916
|
Nation?: string;
|
917
917
|
/**
|
918
|
-
*
|
918
|
+
* 性别(人像面)
|
919
919
|
注意:此字段可能返回 null,表示取不到有效值。
|
920
920
|
*/
|
921
921
|
Sex?: string;
|
922
922
|
/**
|
923
|
-
*
|
923
|
+
* 证件有效期(国徽面)
|
924
924
|
注意:此字段可能返回 null,表示取不到有效值。
|
925
925
|
*/
|
926
926
|
ValidDate?: string;
|
@@ -943,6 +943,10 @@ export interface IDCardInfoResult {
|
|
943
943
|
* 原图地址
|
944
944
|
*/
|
945
945
|
ImageUrl?: string;
|
946
|
+
/**
|
947
|
+
* 身份证头像照片的地址(人像面)
|
948
|
+
*/
|
949
|
+
PortraitUrl?: string;
|
946
950
|
}
|
947
951
|
/**
|
948
952
|
* FinanBillSliceOCR返回参数结构体
|
@@ -8195,6 +8199,10 @@ export interface IDCardConfig {
|
|
8195
8199
|
* 是否开启反光检测,默认为false
|
8196
8200
|
*/
|
8197
8201
|
ReflectWarn?: boolean;
|
8202
|
+
/**
|
8203
|
+
* 是否开启头像剪切
|
8204
|
+
*/
|
8205
|
+
CropPortrait?: boolean;
|
8198
8206
|
}
|
8199
8207
|
/**
|
8200
8208
|
* ResidenceBookletOCR返回参数结构体
|