tencentcloud-sdk-nodejs-intl-en 3.0.1161 → 3.0.1163
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 +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +15 -0
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +216 -0
- package/tencentcloud/ocr/v20181119/models.js +365 -167
- package/tencentcloud/ocr/v20181119/ocr_client.js +32 -19
- package/tencentcloud/vod/v20180717/models.js +21 -14
- package/tencentcloud/wedata/v20210820/models.js +1030 -316
- package/tencentcloud/wedata/v20210820/wedata_client.js +61 -18
|
@@ -2758,90 +2758,37 @@ class OtherInvoice extends AbstractModel {
|
|
|
2758
2758
|
}
|
|
2759
2759
|
|
|
2760
2760
|
/**
|
|
2761
|
-
*
|
|
2761
|
+
* RecognizePhilippinesUMIDOCR request structure.
|
|
2762
2762
|
* @class
|
|
2763
2763
|
*/
|
|
2764
|
-
class
|
|
2764
|
+
class RecognizePhilippinesUMIDOCRRequest extends AbstractModel {
|
|
2765
2765
|
constructor(){
|
|
2766
2766
|
super();
|
|
2767
2767
|
|
|
2768
2768
|
/**
|
|
2769
|
-
* The Base64-encoded
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
/**
|
|
2775
|
-
* The full name.
|
|
2776
|
-
* @type {TextDetectionResult || null}
|
|
2777
|
-
*/
|
|
2778
|
-
this.Name = null;
|
|
2779
|
-
|
|
2780
|
-
/**
|
|
2781
|
-
* The last name.
|
|
2782
|
-
* @type {TextDetectionResult || null}
|
|
2783
|
-
*/
|
|
2784
|
-
this.LastName = null;
|
|
2785
|
-
|
|
2786
|
-
/**
|
|
2787
|
-
* The first name.
|
|
2788
|
-
* @type {TextDetectionResult || null}
|
|
2789
|
-
*/
|
|
2790
|
-
this.FirstName = null;
|
|
2791
|
-
|
|
2792
|
-
/**
|
|
2793
|
-
* The middle name.
|
|
2794
|
-
* @type {TextDetectionResult || null}
|
|
2795
|
-
*/
|
|
2796
|
-
this.MiddleName = null;
|
|
2797
|
-
|
|
2798
|
-
/**
|
|
2799
|
-
* The nationality.
|
|
2800
|
-
* @type {TextDetectionResult || null}
|
|
2801
|
-
*/
|
|
2802
|
-
this.Nationality = null;
|
|
2803
|
-
|
|
2804
|
-
/**
|
|
2805
|
-
* The gender.
|
|
2806
|
-
* @type {TextDetectionResult || null}
|
|
2807
|
-
*/
|
|
2808
|
-
this.Sex = null;
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* The address.
|
|
2812
|
-
* @type {TextDetectionResult || null}
|
|
2813
|
-
*/
|
|
2814
|
-
this.Address = null;
|
|
2815
|
-
|
|
2816
|
-
/**
|
|
2817
|
-
* The license No.
|
|
2818
|
-
* @type {TextDetectionResult || null}
|
|
2819
|
-
*/
|
|
2820
|
-
this.LicenseNo = null;
|
|
2821
|
-
|
|
2822
|
-
/**
|
|
2823
|
-
* The expiration date.
|
|
2824
|
-
* @type {TextDetectionResult || null}
|
|
2825
|
-
*/
|
|
2826
|
-
this.ExpiresDate = null;
|
|
2827
|
-
|
|
2828
|
-
/**
|
|
2829
|
-
* The agency code.
|
|
2830
|
-
* @type {TextDetectionResult || null}
|
|
2769
|
+
* The Base64-encoded value of the image.
|
|
2770
|
+
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
|
|
2771
|
+
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
|
|
2772
|
+
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.
|
|
2773
|
+
* @type {string || null}
|
|
2831
2774
|
*/
|
|
2832
|
-
this.
|
|
2775
|
+
this.ImageBase64 = null;
|
|
2833
2776
|
|
|
2834
2777
|
/**
|
|
2835
|
-
* The
|
|
2836
|
-
|
|
2778
|
+
* The URL of the image.
|
|
2779
|
+
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
|
|
2780
|
+
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
|
|
2781
|
+
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
2782
|
+
The download speed and stability of non-Tencent Cloud URLs may be low.
|
|
2783
|
+
* @type {string || null}
|
|
2837
2784
|
*/
|
|
2838
|
-
this.
|
|
2785
|
+
this.ImageUrl = null;
|
|
2839
2786
|
|
|
2840
2787
|
/**
|
|
2841
|
-
*
|
|
2842
|
-
* @type {
|
|
2788
|
+
* Whether to return the identity photo.
|
|
2789
|
+
* @type {boolean || null}
|
|
2843
2790
|
*/
|
|
2844
|
-
this.
|
|
2791
|
+
this.ReturnHeadImage = null;
|
|
2845
2792
|
|
|
2846
2793
|
}
|
|
2847
2794
|
|
|
@@ -2852,79 +2799,9 @@ class RecognizePhilippinesDrivingLicenseOCRResponse extends AbstractModel {
|
|
|
2852
2799
|
if (!params) {
|
|
2853
2800
|
return;
|
|
2854
2801
|
}
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
obj.deserialize(params.HeadPortrait)
|
|
2859
|
-
this.HeadPortrait = obj;
|
|
2860
|
-
}
|
|
2861
|
-
|
|
2862
|
-
if (params.Name) {
|
|
2863
|
-
let obj = new TextDetectionResult();
|
|
2864
|
-
obj.deserialize(params.Name)
|
|
2865
|
-
this.Name = obj;
|
|
2866
|
-
}
|
|
2867
|
-
|
|
2868
|
-
if (params.LastName) {
|
|
2869
|
-
let obj = new TextDetectionResult();
|
|
2870
|
-
obj.deserialize(params.LastName)
|
|
2871
|
-
this.LastName = obj;
|
|
2872
|
-
}
|
|
2873
|
-
|
|
2874
|
-
if (params.FirstName) {
|
|
2875
|
-
let obj = new TextDetectionResult();
|
|
2876
|
-
obj.deserialize(params.FirstName)
|
|
2877
|
-
this.FirstName = obj;
|
|
2878
|
-
}
|
|
2879
|
-
|
|
2880
|
-
if (params.MiddleName) {
|
|
2881
|
-
let obj = new TextDetectionResult();
|
|
2882
|
-
obj.deserialize(params.MiddleName)
|
|
2883
|
-
this.MiddleName = obj;
|
|
2884
|
-
}
|
|
2885
|
-
|
|
2886
|
-
if (params.Nationality) {
|
|
2887
|
-
let obj = new TextDetectionResult();
|
|
2888
|
-
obj.deserialize(params.Nationality)
|
|
2889
|
-
this.Nationality = obj;
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
|
-
if (params.Sex) {
|
|
2893
|
-
let obj = new TextDetectionResult();
|
|
2894
|
-
obj.deserialize(params.Sex)
|
|
2895
|
-
this.Sex = obj;
|
|
2896
|
-
}
|
|
2897
|
-
|
|
2898
|
-
if (params.Address) {
|
|
2899
|
-
let obj = new TextDetectionResult();
|
|
2900
|
-
obj.deserialize(params.Address)
|
|
2901
|
-
this.Address = obj;
|
|
2902
|
-
}
|
|
2903
|
-
|
|
2904
|
-
if (params.LicenseNo) {
|
|
2905
|
-
let obj = new TextDetectionResult();
|
|
2906
|
-
obj.deserialize(params.LicenseNo)
|
|
2907
|
-
this.LicenseNo = obj;
|
|
2908
|
-
}
|
|
2909
|
-
|
|
2910
|
-
if (params.ExpiresDate) {
|
|
2911
|
-
let obj = new TextDetectionResult();
|
|
2912
|
-
obj.deserialize(params.ExpiresDate)
|
|
2913
|
-
this.ExpiresDate = obj;
|
|
2914
|
-
}
|
|
2915
|
-
|
|
2916
|
-
if (params.AgencyCode) {
|
|
2917
|
-
let obj = new TextDetectionResult();
|
|
2918
|
-
obj.deserialize(params.AgencyCode)
|
|
2919
|
-
this.AgencyCode = obj;
|
|
2920
|
-
}
|
|
2921
|
-
|
|
2922
|
-
if (params.Birthday) {
|
|
2923
|
-
let obj = new TextDetectionResult();
|
|
2924
|
-
obj.deserialize(params.Birthday)
|
|
2925
|
-
this.Birthday = obj;
|
|
2926
|
-
}
|
|
2927
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2802
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
2803
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
2804
|
+
this.ReturnHeadImage = 'ReturnHeadImage' in params ? params.ReturnHeadImage : null;
|
|
2928
2805
|
|
|
2929
2806
|
}
|
|
2930
2807
|
}
|
|
@@ -5940,6 +5817,146 @@ class TaxiTicket extends AbstractModel {
|
|
|
5940
5817
|
}
|
|
5941
5818
|
}
|
|
5942
5819
|
|
|
5820
|
+
/**
|
|
5821
|
+
* RecognizeBrazilRNMOCR response structure.
|
|
5822
|
+
* @class
|
|
5823
|
+
*/
|
|
5824
|
+
class RecognizeBrazilRNMOCRResponse extends AbstractModel {
|
|
5825
|
+
constructor(){
|
|
5826
|
+
super();
|
|
5827
|
+
|
|
5828
|
+
/**
|
|
5829
|
+
* Last name
|
|
5830
|
+
* @type {string || null}
|
|
5831
|
+
*/
|
|
5832
|
+
this.SOBRENOME = null;
|
|
5833
|
+
|
|
5834
|
+
/**
|
|
5835
|
+
* First name
|
|
5836
|
+
* @type {string || null}
|
|
5837
|
+
*/
|
|
5838
|
+
this.NOME = null;
|
|
5839
|
+
|
|
5840
|
+
/**
|
|
5841
|
+
* Date of Birth
|
|
5842
|
+
* @type {string || null}
|
|
5843
|
+
*/
|
|
5844
|
+
this.DATADENASCIMENTO = null;
|
|
5845
|
+
|
|
5846
|
+
/**
|
|
5847
|
+
* Gender
|
|
5848
|
+
* @type {string || null}
|
|
5849
|
+
*/
|
|
5850
|
+
this.SEXO = null;
|
|
5851
|
+
|
|
5852
|
+
/**
|
|
5853
|
+
* Parents name
|
|
5854
|
+
* @type {string || null}
|
|
5855
|
+
*/
|
|
5856
|
+
this.MEMBERSHIP = null;
|
|
5857
|
+
|
|
5858
|
+
/**
|
|
5859
|
+
* Nationality
|
|
5860
|
+
* @type {string || null}
|
|
5861
|
+
*/
|
|
5862
|
+
this.NACIONALIDADE = null;
|
|
5863
|
+
|
|
5864
|
+
/**
|
|
5865
|
+
* Expiry Date
|
|
5866
|
+
* @type {string || null}
|
|
5867
|
+
*/
|
|
5868
|
+
this.VALIDADE = null;
|
|
5869
|
+
|
|
5870
|
+
/**
|
|
5871
|
+
* RNM
|
|
5872
|
+
* @type {string || null}
|
|
5873
|
+
*/
|
|
5874
|
+
this.RNM = null;
|
|
5875
|
+
|
|
5876
|
+
/**
|
|
5877
|
+
* CPF
|
|
5878
|
+
* @type {string || null}
|
|
5879
|
+
*/
|
|
5880
|
+
this.CPF = null;
|
|
5881
|
+
|
|
5882
|
+
/**
|
|
5883
|
+
*
|
|
5884
|
+
* @type {string || null}
|
|
5885
|
+
*/
|
|
5886
|
+
this.CLASSIFICATION = null;
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
*
|
|
5890
|
+
* @type {string || null}
|
|
5891
|
+
*/
|
|
5892
|
+
this.PRAZODERESIDENCIA = null;
|
|
5893
|
+
|
|
5894
|
+
/**
|
|
5895
|
+
* Issue Date
|
|
5896
|
+
* @type {string || null}
|
|
5897
|
+
*/
|
|
5898
|
+
this.ISSUANCE = null;
|
|
5899
|
+
|
|
5900
|
+
/**
|
|
5901
|
+
* Legal basis
|
|
5902
|
+
* @type {string || null}
|
|
5903
|
+
*/
|
|
5904
|
+
this.AMPAROLEGAL = null;
|
|
5905
|
+
|
|
5906
|
+
/**
|
|
5907
|
+
* Machine readable zone code
|
|
5908
|
+
* @type {string || null}
|
|
5909
|
+
*/
|
|
5910
|
+
this.MRZ = null;
|
|
5911
|
+
|
|
5912
|
+
/**
|
|
5913
|
+
* PortraitImage
|
|
5914
|
+
* @type {string || null}
|
|
5915
|
+
*/
|
|
5916
|
+
this.PortraitImage = null;
|
|
5917
|
+
|
|
5918
|
+
/**
|
|
5919
|
+
* PortraitImage(Back)
|
|
5920
|
+
* @type {string || null}
|
|
5921
|
+
*/
|
|
5922
|
+
this.PortraitImageBack = null;
|
|
5923
|
+
|
|
5924
|
+
/**
|
|
5925
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5926
|
+
* @type {string || null}
|
|
5927
|
+
*/
|
|
5928
|
+
this.RequestId = null;
|
|
5929
|
+
|
|
5930
|
+
}
|
|
5931
|
+
|
|
5932
|
+
/**
|
|
5933
|
+
* @private
|
|
5934
|
+
*/
|
|
5935
|
+
deserialize(params) {
|
|
5936
|
+
if (!params) {
|
|
5937
|
+
return;
|
|
5938
|
+
}
|
|
5939
|
+
this.SOBRENOME = 'SOBRENOME' in params ? params.SOBRENOME : null;
|
|
5940
|
+
this.NOME = 'NOME' in params ? params.NOME : null;
|
|
5941
|
+
this.DATADENASCIMENTO = 'DATADENASCIMENTO' in params ? params.DATADENASCIMENTO : null;
|
|
5942
|
+
this.SEXO = 'SEXO' in params ? params.SEXO : null;
|
|
5943
|
+
this.MEMBERSHIP = 'MEMBERSHIP' in params ? params.MEMBERSHIP : null;
|
|
5944
|
+
this.NACIONALIDADE = 'NACIONALIDADE' in params ? params.NACIONALIDADE : null;
|
|
5945
|
+
this.VALIDADE = 'VALIDADE' in params ? params.VALIDADE : null;
|
|
5946
|
+
this.RNM = 'RNM' in params ? params.RNM : null;
|
|
5947
|
+
this.CPF = 'CPF' in params ? params.CPF : null;
|
|
5948
|
+
this.CLASSIFICATION = 'CLASSIFICATION' in params ? params.CLASSIFICATION : null;
|
|
5949
|
+
this.PRAZODERESIDENCIA = 'PRAZODERESIDENCIA' in params ? params.PRAZODERESIDENCIA : null;
|
|
5950
|
+
this.ISSUANCE = 'ISSUANCE' in params ? params.ISSUANCE : null;
|
|
5951
|
+
this.AMPAROLEGAL = 'AMPAROLEGAL' in params ? params.AMPAROLEGAL : null;
|
|
5952
|
+
this.MRZ = 'MRZ' in params ? params.MRZ : null;
|
|
5953
|
+
this.PortraitImage = 'PortraitImage' in params ? params.PortraitImage : null;
|
|
5954
|
+
this.PortraitImageBack = 'PortraitImageBack' in params ? params.PortraitImageBack : null;
|
|
5955
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5956
|
+
|
|
5957
|
+
}
|
|
5958
|
+
}
|
|
5959
|
+
|
|
5943
5960
|
/**
|
|
5944
5961
|
* LicensePlateOCR request structure.
|
|
5945
5962
|
* @class
|
|
@@ -6080,6 +6097,62 @@ Valid values:
|
|
|
6080
6097
|
}
|
|
6081
6098
|
}
|
|
6082
6099
|
|
|
6100
|
+
/**
|
|
6101
|
+
* RecognizeBrazilRNMOCR request structure.
|
|
6102
|
+
* @class
|
|
6103
|
+
*/
|
|
6104
|
+
class RecognizeBrazilRNMOCRRequest extends AbstractModel {
|
|
6105
|
+
constructor(){
|
|
6106
|
+
super();
|
|
6107
|
+
|
|
6108
|
+
/**
|
|
6109
|
+
* Base64 value of the image. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image downloading time should not exceed 3 seconds.
|
|
6110
|
+
* @type {string || null}
|
|
6111
|
+
*/
|
|
6112
|
+
this.ImageBase64 = null;
|
|
6113
|
+
|
|
6114
|
+
/**
|
|
6115
|
+
* URL address of the image. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image download time should not exceed 3 seconds. URLs of images stored in Tencent Cloud can guarantee higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The speed and stability of URLs not stored in Tencent Cloud may be affected to a certain extent.
|
|
6116
|
+
* @type {string || null}
|
|
6117
|
+
*/
|
|
6118
|
+
this.ImageUrl = null;
|
|
6119
|
+
|
|
6120
|
+
/**
|
|
6121
|
+
* Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image download time should not exceed 3 seconds. An ImageUrl and ImageBase64 must be provided. If both are provided, only ImageUrl will be used.
|
|
6122
|
+
* @type {string || null}
|
|
6123
|
+
*/
|
|
6124
|
+
this.BackImageBase64 = null;
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* The URL address of the image on the back of the card. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download time does not exceed 3 seconds. The URL of the image stored in Tencent Cloud can ensure higher download speed and stability. It is recommended to store the image in Tencent Cloud. The speed and stability of the URL stored outside Tencent Cloud may be affected to a certain extent.
|
|
6128
|
+
* @type {string || null}
|
|
6129
|
+
*/
|
|
6130
|
+
this.BackImageUrl = null;
|
|
6131
|
+
|
|
6132
|
+
/**
|
|
6133
|
+
* Whether to return portrait photos.
|
|
6134
|
+
* @type {boolean || null}
|
|
6135
|
+
*/
|
|
6136
|
+
this.ReturnHeadImage = null;
|
|
6137
|
+
|
|
6138
|
+
}
|
|
6139
|
+
|
|
6140
|
+
/**
|
|
6141
|
+
* @private
|
|
6142
|
+
*/
|
|
6143
|
+
deserialize(params) {
|
|
6144
|
+
if (!params) {
|
|
6145
|
+
return;
|
|
6146
|
+
}
|
|
6147
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
6148
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
6149
|
+
this.BackImageBase64 = 'BackImageBase64' in params ? params.BackImageBase64 : null;
|
|
6150
|
+
this.BackImageUrl = 'BackImageUrl' in params ? params.BackImageUrl : null;
|
|
6151
|
+
this.ReturnHeadImage = 'ReturnHeadImage' in params ? params.ReturnHeadImage : null;
|
|
6152
|
+
|
|
6153
|
+
}
|
|
6154
|
+
}
|
|
6155
|
+
|
|
6083
6156
|
/**
|
|
6084
6157
|
* RecognizeBrazilIDCardOCR response structure.
|
|
6085
6158
|
* @class
|
|
@@ -10561,37 +10634,90 @@ class RecognizeThaiPinkCardResponse extends AbstractModel {
|
|
|
10561
10634
|
}
|
|
10562
10635
|
|
|
10563
10636
|
/**
|
|
10564
|
-
*
|
|
10637
|
+
* RecognizePhilippinesDrivingLicenseOCR response structure.
|
|
10565
10638
|
* @class
|
|
10566
10639
|
*/
|
|
10567
|
-
class
|
|
10640
|
+
class RecognizePhilippinesDrivingLicenseOCRResponse extends AbstractModel {
|
|
10568
10641
|
constructor(){
|
|
10569
10642
|
super();
|
|
10570
10643
|
|
|
10571
10644
|
/**
|
|
10572
|
-
* The Base64-encoded
|
|
10573
|
-
|
|
10574
|
-
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
|
|
10575
|
-
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.
|
|
10576
|
-
* @type {string || null}
|
|
10645
|
+
* The Base64-encoded identity photo.
|
|
10646
|
+
* @type {TextDetectionResult || null}
|
|
10577
10647
|
*/
|
|
10578
|
-
this.
|
|
10648
|
+
this.HeadPortrait = null;
|
|
10579
10649
|
|
|
10580
10650
|
/**
|
|
10581
|
-
* The
|
|
10582
|
-
|
|
10583
|
-
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
|
|
10584
|
-
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
10585
|
-
The download speed and stability of non-Tencent Cloud URLs may be low.
|
|
10586
|
-
* @type {string || null}
|
|
10651
|
+
* The full name.
|
|
10652
|
+
* @type {TextDetectionResult || null}
|
|
10587
10653
|
*/
|
|
10588
|
-
this.
|
|
10654
|
+
this.Name = null;
|
|
10589
10655
|
|
|
10590
10656
|
/**
|
|
10591
|
-
*
|
|
10592
|
-
* @type {
|
|
10657
|
+
* The last name.
|
|
10658
|
+
* @type {TextDetectionResult || null}
|
|
10593
10659
|
*/
|
|
10594
|
-
this.
|
|
10660
|
+
this.LastName = null;
|
|
10661
|
+
|
|
10662
|
+
/**
|
|
10663
|
+
* The first name.
|
|
10664
|
+
* @type {TextDetectionResult || null}
|
|
10665
|
+
*/
|
|
10666
|
+
this.FirstName = null;
|
|
10667
|
+
|
|
10668
|
+
/**
|
|
10669
|
+
* The middle name.
|
|
10670
|
+
* @type {TextDetectionResult || null}
|
|
10671
|
+
*/
|
|
10672
|
+
this.MiddleName = null;
|
|
10673
|
+
|
|
10674
|
+
/**
|
|
10675
|
+
* The nationality.
|
|
10676
|
+
* @type {TextDetectionResult || null}
|
|
10677
|
+
*/
|
|
10678
|
+
this.Nationality = null;
|
|
10679
|
+
|
|
10680
|
+
/**
|
|
10681
|
+
* The gender.
|
|
10682
|
+
* @type {TextDetectionResult || null}
|
|
10683
|
+
*/
|
|
10684
|
+
this.Sex = null;
|
|
10685
|
+
|
|
10686
|
+
/**
|
|
10687
|
+
* The address.
|
|
10688
|
+
* @type {TextDetectionResult || null}
|
|
10689
|
+
*/
|
|
10690
|
+
this.Address = null;
|
|
10691
|
+
|
|
10692
|
+
/**
|
|
10693
|
+
* The license No.
|
|
10694
|
+
* @type {TextDetectionResult || null}
|
|
10695
|
+
*/
|
|
10696
|
+
this.LicenseNo = null;
|
|
10697
|
+
|
|
10698
|
+
/**
|
|
10699
|
+
* The expiration date.
|
|
10700
|
+
* @type {TextDetectionResult || null}
|
|
10701
|
+
*/
|
|
10702
|
+
this.ExpiresDate = null;
|
|
10703
|
+
|
|
10704
|
+
/**
|
|
10705
|
+
* The agency code.
|
|
10706
|
+
* @type {TextDetectionResult || null}
|
|
10707
|
+
*/
|
|
10708
|
+
this.AgencyCode = null;
|
|
10709
|
+
|
|
10710
|
+
/**
|
|
10711
|
+
* The date of birth.
|
|
10712
|
+
* @type {TextDetectionResult || null}
|
|
10713
|
+
*/
|
|
10714
|
+
this.Birthday = null;
|
|
10715
|
+
|
|
10716
|
+
/**
|
|
10717
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
10718
|
+
* @type {string || null}
|
|
10719
|
+
*/
|
|
10720
|
+
this.RequestId = null;
|
|
10595
10721
|
|
|
10596
10722
|
}
|
|
10597
10723
|
|
|
@@ -10602,9 +10728,79 @@ The download speed and stability of non-Tencent Cloud URLs may be low.
|
|
|
10602
10728
|
if (!params) {
|
|
10603
10729
|
return;
|
|
10604
10730
|
}
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10731
|
+
|
|
10732
|
+
if (params.HeadPortrait) {
|
|
10733
|
+
let obj = new TextDetectionResult();
|
|
10734
|
+
obj.deserialize(params.HeadPortrait)
|
|
10735
|
+
this.HeadPortrait = obj;
|
|
10736
|
+
}
|
|
10737
|
+
|
|
10738
|
+
if (params.Name) {
|
|
10739
|
+
let obj = new TextDetectionResult();
|
|
10740
|
+
obj.deserialize(params.Name)
|
|
10741
|
+
this.Name = obj;
|
|
10742
|
+
}
|
|
10743
|
+
|
|
10744
|
+
if (params.LastName) {
|
|
10745
|
+
let obj = new TextDetectionResult();
|
|
10746
|
+
obj.deserialize(params.LastName)
|
|
10747
|
+
this.LastName = obj;
|
|
10748
|
+
}
|
|
10749
|
+
|
|
10750
|
+
if (params.FirstName) {
|
|
10751
|
+
let obj = new TextDetectionResult();
|
|
10752
|
+
obj.deserialize(params.FirstName)
|
|
10753
|
+
this.FirstName = obj;
|
|
10754
|
+
}
|
|
10755
|
+
|
|
10756
|
+
if (params.MiddleName) {
|
|
10757
|
+
let obj = new TextDetectionResult();
|
|
10758
|
+
obj.deserialize(params.MiddleName)
|
|
10759
|
+
this.MiddleName = obj;
|
|
10760
|
+
}
|
|
10761
|
+
|
|
10762
|
+
if (params.Nationality) {
|
|
10763
|
+
let obj = new TextDetectionResult();
|
|
10764
|
+
obj.deserialize(params.Nationality)
|
|
10765
|
+
this.Nationality = obj;
|
|
10766
|
+
}
|
|
10767
|
+
|
|
10768
|
+
if (params.Sex) {
|
|
10769
|
+
let obj = new TextDetectionResult();
|
|
10770
|
+
obj.deserialize(params.Sex)
|
|
10771
|
+
this.Sex = obj;
|
|
10772
|
+
}
|
|
10773
|
+
|
|
10774
|
+
if (params.Address) {
|
|
10775
|
+
let obj = new TextDetectionResult();
|
|
10776
|
+
obj.deserialize(params.Address)
|
|
10777
|
+
this.Address = obj;
|
|
10778
|
+
}
|
|
10779
|
+
|
|
10780
|
+
if (params.LicenseNo) {
|
|
10781
|
+
let obj = new TextDetectionResult();
|
|
10782
|
+
obj.deserialize(params.LicenseNo)
|
|
10783
|
+
this.LicenseNo = obj;
|
|
10784
|
+
}
|
|
10785
|
+
|
|
10786
|
+
if (params.ExpiresDate) {
|
|
10787
|
+
let obj = new TextDetectionResult();
|
|
10788
|
+
obj.deserialize(params.ExpiresDate)
|
|
10789
|
+
this.ExpiresDate = obj;
|
|
10790
|
+
}
|
|
10791
|
+
|
|
10792
|
+
if (params.AgencyCode) {
|
|
10793
|
+
let obj = new TextDetectionResult();
|
|
10794
|
+
obj.deserialize(params.AgencyCode)
|
|
10795
|
+
this.AgencyCode = obj;
|
|
10796
|
+
}
|
|
10797
|
+
|
|
10798
|
+
if (params.Birthday) {
|
|
10799
|
+
let obj = new TextDetectionResult();
|
|
10800
|
+
obj.deserialize(params.Birthday)
|
|
10801
|
+
this.Birthday = obj;
|
|
10802
|
+
}
|
|
10803
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10608
10804
|
|
|
10609
10805
|
}
|
|
10610
10806
|
}
|
|
@@ -10649,7 +10845,7 @@ module.exports = {
|
|
|
10649
10845
|
GeneralBasicOCRResponse: GeneralBasicOCRResponse,
|
|
10650
10846
|
PermitOCRRequest: PermitOCRRequest,
|
|
10651
10847
|
OtherInvoice: OtherInvoice,
|
|
10652
|
-
|
|
10848
|
+
RecognizePhilippinesUMIDOCRRequest: RecognizePhilippinesUMIDOCRRequest,
|
|
10653
10849
|
BankCardOCRRequest: BankCardOCRRequest,
|
|
10654
10850
|
RecognizePhilippinesSssIDOCRRequest: RecognizePhilippinesSssIDOCRRequest,
|
|
10655
10851
|
Key: Key,
|
|
@@ -10674,8 +10870,10 @@ module.exports = {
|
|
|
10674
10870
|
PassportRecognizeInfos: PassportRecognizeInfos,
|
|
10675
10871
|
RecognizeSingaporeIDCardOCRRequest: RecognizeSingaporeIDCardOCRRequest,
|
|
10676
10872
|
TaxiTicket: TaxiTicket,
|
|
10873
|
+
RecognizeBrazilRNMOCRResponse: RecognizeBrazilRNMOCRResponse,
|
|
10677
10874
|
LicensePlateOCRRequest: LicensePlateOCRRequest,
|
|
10678
10875
|
GeneralBasicOCRRequest: GeneralBasicOCRRequest,
|
|
10876
|
+
RecognizeBrazilRNMOCRRequest: RecognizeBrazilRNMOCRRequest,
|
|
10679
10877
|
RecognizeBrazilIDCardOCRResponse: RecognizeBrazilIDCardOCRResponse,
|
|
10680
10878
|
RecognizeBrazilRNEOCRRequest: RecognizeBrazilRNEOCRRequest,
|
|
10681
10879
|
VatElectronicInfo: VatElectronicInfo,
|
|
@@ -10723,6 +10921,6 @@ module.exports = {
|
|
|
10723
10921
|
RecognizeThaiPinkCardRequest: RecognizeThaiPinkCardRequest,
|
|
10724
10922
|
BankCardOCRResponse: BankCardOCRResponse,
|
|
10725
10923
|
RecognizeThaiPinkCardResponse: RecognizeThaiPinkCardResponse,
|
|
10726
|
-
|
|
10924
|
+
RecognizePhilippinesDrivingLicenseOCRResponse: RecognizePhilippinesDrivingLicenseOCRResponse,
|
|
10727
10925
|
|
|
10728
10926
|
}
|