tencentcloud-sdk-nodejs-intl-en 3.0.1364 → 3.0.1366

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.
@@ -1915,7 +1915,7 @@ class CreateDBInstanceParamTplRequest extends AbstractModel {
1915
1915
  this.TplName = null;
1916
1916
 
1917
1917
  /**
1918
- * Template version number. This field is required when **MirrorTplId** is empty. For the purchasable versions supported by the parameter template, use the interface [DescribeSpecInfo](https://www.tencentcloud.com/document/product/240/35767?from_cn_redirect=1).
1918
+ * Template version number. This field is required when **MirrorTplId** is empty. For the purchasable versions supported by the parameter template, use the interface [DescribeSpecInfo](https://www.tencentcloud.com/document/product/240/34701).
1919
1919
  - MONGO_36_WT: Version of the MongoDB 3.6 WiredTiger storage engine.
1920
1920
  - MONGO_40_WT: Version of the MongoDB 4.0 WiredTiger storage engine.
1921
1921
  - MONGO_42_WT: Version of the MongoDB 4.2 WiredTiger storage engine.
@@ -1122,7 +1122,7 @@ class PermitOCRResponse extends AbstractModel {
1122
1122
  this.Name = null;
1123
1123
 
1124
1124
  /**
1125
- * Name in English
1125
+ * English name
1126
1126
  * @type {string || null}
1127
1127
  */
1128
1128
  this.EnglishName = null;
@@ -1152,7 +1152,7 @@ class PermitOCRResponse extends AbstractModel {
1152
1152
  this.IssueAuthority = null;
1153
1153
 
1154
1154
  /**
1155
- * Place of issue
1155
+ * Issuing place
1156
1156
  * @type {string || null}
1157
1157
  */
1158
1158
  this.IssueAddress = null;
@@ -1164,17 +1164,31 @@ class PermitOCRResponse extends AbstractModel {
1164
1164
  this.Birthday = null;
1165
1165
 
1166
1166
  /**
1167
- * Base64 of profile picture
1167
+ * base64 of the avatar image
1168
1168
  * @type {string || null}
1169
1169
  */
1170
1170
  this.PortraitImage = null;
1171
1171
 
1172
1172
  /**
1173
- * return type
1173
+ * Return type
1174
1174
  * @type {string || null}
1175
1175
  */
1176
1176
  this.Type = null;
1177
1177
 
1178
+ /**
1179
+ * Card Warning Information
1180
+
1181
+ -9101 Alarm for covered certificate,
1182
+ -9102 Alarm for photocopied certificate,
1183
+ -9103 Alarm for photographed certificate,
1184
+ -9104 Alarm for PS certificate,
1185
+ -9107 Alarm for reflective certificate,
1186
+ -9108 Alarm for blurry image,
1187
+ -9109 This capability is not enabled.
1188
+ * @type {Array.<number> || null}
1189
+ */
1190
+ this.WarnCardInfos = null;
1191
+
1178
1192
  /**
1179
1193
  * 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.
1180
1194
  * @type {string || null}
@@ -1200,6 +1214,7 @@ class PermitOCRResponse extends AbstractModel {
1200
1214
  this.Birthday = 'Birthday' in params ? params.Birthday : null;
1201
1215
  this.PortraitImage = 'PortraitImage' in params ? params.PortraitImage : null;
1202
1216
  this.Type = 'Type' in params ? params.Type : null;
1217
+ this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
1203
1218
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1204
1219
 
1205
1220
  }
@@ -5056,26 +5071,20 @@ class PermitOCRRequest extends AbstractModel {
5056
5071
  super();
5057
5072
 
5058
5073
  /**
5059
- * The Base64-encoded value of the image.
5060
- Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
5061
- Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
5062
- Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.
5074
+ * The Base64 value of the image. Supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. Supported image size: the downloaded image after Base64 encoding is no more than 7M. Image download time is not more than 3 seconds. Either ImageUrl or ImageBase64 must be provided. If both are provided, only use ImageUrl.
5063
5075
  * @type {string || null}
5064
5076
  */
5065
5077
  this.ImageBase64 = null;
5066
5078
 
5067
5079
  /**
5068
- * The URL of the image.
5069
- Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
5070
- Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
5071
- We recommend that you store the image in Tencent Cloud for higher download speed and stability.
5080
+ * The URL of the image. Supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. Supported image size: no more than 7M after Base64 encoding. Image download time: no more than 3 seconds. We recommend that you store the image in Tencent Cloud for higher download speed and stability.
5072
5081
  The download speed and stability of non-Tencent Cloud URLs may be low.
5073
5082
  * @type {string || null}
5074
5083
  */
5075
5084
  this.ImageUrl = null;
5076
5085
 
5077
5086
  /**
5078
- * Whether to return the profile photo, default is false.
5087
+ * Whether to return the avatar image. Default is false.
5079
5088
  * @type {boolean || null}
5080
5089
  */
5081
5090
  this.CropPortrait = null;
@@ -9574,19 +9583,19 @@ class RecognizeIndonesiaIDCardOCRResponse extends AbstractModel {
9574
9583
  this.IssuedDate = null;
9575
9584
 
9576
9585
  /**
9577
- * The photo.
9586
+ * The portraitImage.
9578
9587
  * @type {string || null}
9579
9588
  */
9580
9589
  this.Photo = null;
9581
9590
 
9582
9591
  /**
9583
- * The province, which is supported when the value of `Scene` is `V2`.
9592
+ * The province.
9584
9593
  * @type {string || null}
9585
9594
  */
9586
9595
  this.Provinsi = null;
9587
9596
 
9588
9597
  /**
9589
- * The city, which is supported when the value of `Scene` is `V2`.
9598
+ * The city.
9590
9599
  * @type {string || null}
9591
9600
  */
9592
9601
  this.Kota = null;
@@ -9597,8 +9606,11 @@ class RecognizeIndonesiaIDCardOCRResponse extends AbstractModel {
9597
9606
  -9101 Alarm for covered certificate,
9598
9607
  -9102 Alarm for photocopied certificate,
9599
9608
  -9103 Alarm for photographed certificate,
9609
+ -9104 Alarm for PS certificate,
9600
9610
  -9107 Alarm for reflective certificate,
9601
9611
  -9108 Alarm for blurry image,
9612
+ -8101 Alarm for document information format verification,
9613
+ -8102 Alarm for document information consistency verification,
9602
9614
  -9109 This capability is not enabled.
9603
9615
  * @type {Array.<number> || null}
9604
9616
  */
@@ -11808,18 +11820,15 @@ class RecognizeIndonesiaIDCardOCRRequest extends AbstractModel {
11808
11820
  super();
11809
11821
 
11810
11822
  /**
11811
- * The Base64-encoded value of an image.
11812
- Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
11813
- Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
11814
- Either the `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` will be used.
11823
+ * The Base64 value of the image. Supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. Supported image size: the downloaded image after Base64 encoding is no more than 7M. Image download time is not more than 3 seconds. Either ImageUrl or ImageBase64 must be provided. If both are provided, only use ImageUrl.
11815
11824
  * @type {string || null}
11816
11825
  */
11817
11826
  this.ImageBase64 = null;
11818
11827
 
11819
11828
  /**
11820
- * The URL of the image.
11821
- Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
11822
- Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
11829
+ * The Url address of the image.
11830
+ Supported image formats: PNG, JPG, JPEG. GIF format is not currently supported.
11831
+ Supported image size: the downloaded image after Base64 encoding is no more than 7M. Image download time is no more than 3 seconds.
11823
11832
  We recommend that you store the image in Tencent Cloud for higher download speed and stability.
11824
11833
  For a non-Tencent Cloud URL, the download speed and stability may be affected.
11825
11834
  * @type {string || null}
@@ -11827,14 +11836,17 @@ For a non-Tencent Cloud URL, the download speed and stability may be affected.
11827
11836
  this.ImageUrl = null;
11828
11837
 
11829
11838
  /**
11830
- * Whether to return the identity photo.
11839
+ * Whether to return the portrait photo.
11840
+ If selected true, image restrictions are: Image size after encoding must not exceed 5M, jpg format long side pixel cannot exceed 4000, other formats image long edge pixel maximum of 2000. Short side pixel of all format images not less than 64.
11841
+ Support PNG, jpg, JPEG, BMP, no support for GIF images.
11842
+ If portrait matting fails, return an empty string.
11831
11843
  * @type {boolean || null}
11832
11844
  */
11833
11845
  this.ReturnHeadImage = null;
11834
11846
 
11835
11847
  /**
11836
- * The scene, which defaults to `V1`.
11837
- Valid values:
11848
+ * Scene parameter, default value is V1
11849
+ Available values:
11838
11850
  V1
11839
11851
  V2
11840
11852
  * @type {string || null}
@@ -1017,9 +1017,9 @@ A maximum of 10 requests can be initiated per second for this API.
1017
1017
  }
1018
1018
 
1019
1019
  /**
1020
- * This API is used to recognize an Indonesian identity card.
1020
+ * Indonesian identity card recognition
1021
1021
 
1022
- The API request rate is limited to 20 requests/sec by default.
1022
+ Default API request rate limit: 5 requests/second.
1023
1023
  * @param {RecognizeIndonesiaIDCardOCRRequest} req
1024
1024
  * @param {function(string, RecognizeIndonesiaIDCardOCRResponse):void} cb
1025
1025
  * @public