tencentcloud-sdk-nodejs-intl-en 3.0.955 → 3.0.957

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.955",
3
+ "version": "3.0.957",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.955";
1
+ const sdkVersion = "3.0.957";
2
2
  module.exports = sdkVersion
@@ -1359,6 +1359,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
1359
1359
  */
1360
1360
  this.ChName = null;
1361
1361
 
1362
+ /**
1363
+ * Chinese name
1364
+ Note: This field may return null, indicating that no valid values can be obtained.
1365
+ * @type {string || null}
1366
+ */
1367
+ this.ChineseName = null;
1368
+
1362
1369
  /**
1363
1370
  * English name
1364
1371
  Note: This field may return null, indicating that no valid values can be obtained.
@@ -1366,6 +1373,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
1366
1373
  */
1367
1374
  this.EnName = null;
1368
1375
 
1376
+ /**
1377
+ * English name
1378
+ Note: This field may return null, indicating that no valid values can be obtained.
1379
+ * @type {string || null}
1380
+ */
1381
+ this.FullName = null;
1382
+
1369
1383
  /**
1370
1384
  * License number
1371
1385
  Note: This field may return null, indicating that no valid values can be obtained.
@@ -1373,6 +1387,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
1373
1387
  */
1374
1388
  this.ID = null;
1375
1389
 
1390
+ /**
1391
+ * License number
1392
+ Note: This field may return null, indicating that no valid values can be obtained.
1393
+ * @type {string || null}
1394
+ */
1395
+ this.LicenseNumber = null;
1396
+
1376
1397
  /**
1377
1398
  * Gender
1378
1399
  Note: This field may return null, indicating that no valid values can be obtained.
@@ -1387,6 +1408,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
1387
1408
  */
1388
1409
  this.CountryOfBirth = null;
1389
1410
 
1411
+ /**
1412
+ * Nationality
1413
+ Note: This field may return null, indicating that no valid values can be obtained.
1414
+ * @type {string || null}
1415
+ */
1416
+ this.Nationality = null;
1417
+
1390
1418
  /**
1391
1419
  * Birthday
1392
1420
  Note: This field may return null, indicating that no valid values can be obtained.
@@ -1402,7 +1430,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
1402
1430
  this.Address = null;
1403
1431
 
1404
1432
  /**
1405
- * Nationality (on the back)
1433
+ * Race (on the back)
1406
1434
  Note: This field may return null, indicating that no valid values can be obtained.
1407
1435
  * @type {string || null}
1408
1436
  */
@@ -1446,10 +1474,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
1446
1474
  return;
1447
1475
  }
1448
1476
  this.ChName = 'ChName' in params ? params.ChName : null;
1477
+ this.ChineseName = 'ChineseName' in params ? params.ChineseName : null;
1449
1478
  this.EnName = 'EnName' in params ? params.EnName : null;
1479
+ this.FullName = 'FullName' in params ? params.FullName : null;
1450
1480
  this.ID = 'ID' in params ? params.ID : null;
1481
+ this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
1451
1482
  this.Sex = 'Sex' in params ? params.Sex : null;
1452
1483
  this.CountryOfBirth = 'CountryOfBirth' in params ? params.CountryOfBirth : null;
1484
+ this.Nationality = 'Nationality' in params ? params.Nationality : null;
1453
1485
  this.Birthday = 'Birthday' in params ? params.Birthday : null;
1454
1486
  this.Address = 'Address' in params ? params.Address : null;
1455
1487
  this.Race = 'Race' in params ? params.Race : null;
@@ -1680,13 +1712,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
1680
1712
  */
1681
1713
  this.MacaoIDCard = null;
1682
1714
 
1683
- /**
1684
- * Mainland ID Card
1685
- Note: This field may return null, indicating that no valid values can be obtained.
1686
- * @type {MainlandIDCard || null}
1687
- */
1688
- this.MainlandIDCard = null;
1689
-
1690
1715
  }
1691
1716
 
1692
1717
  /**
@@ -1781,12 +1806,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
1781
1806
  this.MacaoIDCard = obj;
1782
1807
  }
1783
1808
 
1784
- if (params.MainlandIDCard) {
1785
- let obj = new MainlandIDCard();
1786
- obj.deserialize(params.MainlandIDCard)
1787
- this.MainlandIDCard = obj;
1788
- }
1789
-
1790
1809
  }
1791
1810
  }
1792
1811
 
@@ -144,16 +144,16 @@ class HKIDCardOCRRequest extends AbstractModel {
144
144
  super();
145
145
 
146
146
  /**
147
- * Whether to check for authenticity.
147
+ * Whether to return identity photo.
148
148
  * @type {boolean || null}
149
149
  */
150
- this.DetectFake = null;
150
+ this.ReturnHeadImage = null;
151
151
 
152
152
  /**
153
- * Whether to return identity photo.
153
+ * Whether to check for authenticity.
154
154
  * @type {boolean || null}
155
155
  */
156
- this.ReturnHeadImage = null;
156
+ this.DetectFake = null;
157
157
 
158
158
  /**
159
159
  * Base64 string of the image
@@ -182,8 +182,8 @@ The download speed and stability of non-Tencent Cloud URLs may be low.
182
182
  if (!params) {
183
183
  return;
184
184
  }
185
- this.DetectFake = 'DetectFake' in params ? params.DetectFake : null;
186
185
  this.ReturnHeadImage = 'ReturnHeadImage' in params ? params.ReturnHeadImage : null;
186
+ this.DetectFake = 'DetectFake' in params ? params.DetectFake : null;
187
187
  this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
188
188
  this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
189
189
 
@@ -3064,7 +3064,21 @@ Note: this field may return null, indicating that no valid values can be obtaine
3064
3064
  this.WarningCode = null;
3065
3065
 
3066
3066
  /**
3067
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3067
+ * Card Warning Information
3068
+
3069
+ -9101 Alarm for covered certificate,
3070
+ -9102 Alarm for photocopied certificate,
3071
+ -9103 Alarm for photographed certificate,
3072
+ -9104 Alarm for PS certificate,
3073
+ -9107 Alarm for reflective certificate,
3074
+ -9108 Alarm for blurry image,
3075
+ -9109 This capability is not enabled.
3076
+ * @type {Array.<number> || null}
3077
+ */
3078
+ this.WarnCardInfos = null;
3079
+
3080
+ /**
3081
+ * 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.
3068
3082
  * @type {string || null}
3069
3083
  */
3070
3084
  this.RequestId = null;
@@ -3091,6 +3105,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
3091
3105
  this.FakeDetectResult = 'FakeDetectResult' in params ? params.FakeDetectResult : null;
3092
3106
  this.HeadImage = 'HeadImage' in params ? params.HeadImage : null;
3093
3107
  this.WarningCode = 'WarningCode' in params ? params.WarningCode : null;
3108
+ this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
3094
3109
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
3095
3110
 
3096
3111
  }
@@ -3250,34 +3265,64 @@ class RecognizeThaiIDCardOCRResponse extends AbstractModel {
3250
3265
  this.EnFirstName = null;
3251
3266
 
3252
3267
  /**
3253
- * Address
3268
+ * Name in English
3254
3269
  * @type {string || null}
3255
3270
  */
3256
- this.Address = null;
3271
+ this.EnLastName = null;
3257
3272
 
3258
3273
  /**
3259
- * Date of birth
3274
+ * Date of issue in Thai
3275
+ * @type {string || null}
3276
+ */
3277
+ this.IssueDate = null;
3278
+
3279
+ /**
3280
+ * Expiration date in Thai
3281
+ * @type {string || null}
3282
+ */
3283
+ this.ExpirationDate = null;
3284
+
3285
+ /**
3286
+ * Date of issue in English
3287
+ * @type {string || null}
3288
+ */
3289
+ this.EnIssueDate = null;
3290
+
3291
+ /**
3292
+ * Expiration date in English
3293
+ * @type {string || null}
3294
+ */
3295
+ this.EnExpirationDate = null;
3296
+
3297
+ /**
3298
+ * Date of birth in Thai
3260
3299
  * @type {string || null}
3261
3300
  */
3262
3301
  this.Birthday = null;
3263
3302
 
3264
3303
  /**
3265
- * Date of issue
3304
+ * Date of birth in English
3266
3305
  * @type {string || null}
3267
3306
  */
3268
- this.IssueDate = null;
3307
+ this.EnBirthday = null;
3269
3308
 
3270
3309
  /**
3271
- * Expiration date
3310
+ * Religion
3272
3311
  * @type {string || null}
3273
3312
  */
3274
- this.ExpirationDate = null;
3313
+ this.Religion = null;
3275
3314
 
3276
3315
  /**
3277
- * Name in English
3316
+ * Serial number
3278
3317
  * @type {string || null}
3279
3318
  */
3280
- this.EnLastName = null;
3319
+ this.SerialNumber = null;
3320
+
3321
+ /**
3322
+ * Address
3323
+ * @type {string || null}
3324
+ */
3325
+ this.Address = null;
3281
3326
 
3282
3327
  /**
3283
3328
  * Identity photo
@@ -3286,7 +3331,20 @@ class RecognizeThaiIDCardOCRResponse extends AbstractModel {
3286
3331
  this.PortraitImage = null;
3287
3332
 
3288
3333
  /**
3289
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3334
+ * Card Warning Information
3335
+
3336
+ -9101 Alarm for covered certificate,
3337
+ -9102 Alarm for photocopied certificate,
3338
+ -9103 Alarm for photographed certificate,
3339
+ -9107 Alarm for reflective certificate,
3340
+ -9108 Alarm for blurry image,
3341
+ -9109 This capability is not enabled.
3342
+ * @type {Array.<number> || null}
3343
+ */
3344
+ this.WarnCardInfos = null;
3345
+
3346
+ /**
3347
+ * 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.
3290
3348
  * @type {string || null}
3291
3349
  */
3292
3350
  this.RequestId = null;
@@ -3303,12 +3361,18 @@ class RecognizeThaiIDCardOCRResponse extends AbstractModel {
3303
3361
  this.ID = 'ID' in params ? params.ID : null;
3304
3362
  this.ThaiName = 'ThaiName' in params ? params.ThaiName : null;
3305
3363
  this.EnFirstName = 'EnFirstName' in params ? params.EnFirstName : null;
3306
- this.Address = 'Address' in params ? params.Address : null;
3307
- this.Birthday = 'Birthday' in params ? params.Birthday : null;
3364
+ this.EnLastName = 'EnLastName' in params ? params.EnLastName : null;
3308
3365
  this.IssueDate = 'IssueDate' in params ? params.IssueDate : null;
3309
3366
  this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
3310
- this.EnLastName = 'EnLastName' in params ? params.EnLastName : null;
3367
+ this.EnIssueDate = 'EnIssueDate' in params ? params.EnIssueDate : null;
3368
+ this.EnExpirationDate = 'EnExpirationDate' in params ? params.EnExpirationDate : null;
3369
+ this.Birthday = 'Birthday' in params ? params.Birthday : null;
3370
+ this.EnBirthday = 'EnBirthday' in params ? params.EnBirthday : null;
3371
+ this.Religion = 'Religion' in params ? params.Religion : null;
3372
+ this.SerialNumber = 'SerialNumber' in params ? params.SerialNumber : null;
3373
+ this.Address = 'Address' in params ? params.Address : null;
3311
3374
  this.PortraitImage = 'PortraitImage' in params ? params.PortraitImage : null;
3375
+ this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
3312
3376
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
3313
3377
 
3314
3378
  }
@@ -5236,6 +5300,48 @@ class PassportRecognizeInfos extends AbstractModel {
5236
5300
  }
5237
5301
  }
5238
5302
 
5303
+ /**
5304
+ * RecognizeSingaporeIDCardOCR request structure.
5305
+ * @class
5306
+ */
5307
+ class RecognizeSingaporeIDCardOCRRequest extends AbstractModel {
5308
+ constructor(){
5309
+ super();
5310
+
5311
+ /**
5312
+ * The Base64 value of the image. The image is required to be no larger than 7M after Base64 encoding, and the resolution is recommended to be 500*800 or above. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
5313
+ * @type {string || null}
5314
+ */
5315
+ this.ImageBase64 = null;
5316
+
5317
+ /**
5318
+ * The URL address of the image. The image is required to be no larger than 7M after Base64 encoding, and the resolution is recommended to be 500*800 or above. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
5319
+ * @type {string || null}
5320
+ */
5321
+ this.ImageUrl = null;
5322
+
5323
+ /**
5324
+ * Whether to return portrait photos.
5325
+ * @type {boolean || null}
5326
+ */
5327
+ this.ReturnHeadImage = null;
5328
+
5329
+ }
5330
+
5331
+ /**
5332
+ * @private
5333
+ */
5334
+ deserialize(params) {
5335
+ if (!params) {
5336
+ return;
5337
+ }
5338
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
5339
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
5340
+ this.ReturnHeadImage = 'ReturnHeadImage' in params ? params.ReturnHeadImage : null;
5341
+
5342
+ }
5343
+ }
5344
+
5239
5345
  /**
5240
5346
  * Taxi receipt
5241
5347
  * @class
@@ -6893,7 +6999,20 @@ class RecognizeIndonesiaIDCardOCRResponse extends AbstractModel {
6893
6999
  this.Kota = null;
6894
7000
 
6895
7001
  /**
6896
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7002
+ * Card Warning Information
7003
+
7004
+ -9101 Alarm for covered certificate,
7005
+ -9102 Alarm for photocopied certificate,
7006
+ -9103 Alarm for photographed certificate,
7007
+ -9107 Alarm for reflective certificate,
7008
+ -9108 Alarm for blurry image,
7009
+ -9109 This capability is not enabled.
7010
+ * @type {Array.<number> || null}
7011
+ */
7012
+ this.WarnCardInfos = null;
7013
+
7014
+ /**
7015
+ * 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.
6897
7016
  * @type {string || null}
6898
7017
  */
6899
7018
  this.RequestId = null;
@@ -6925,6 +7044,7 @@ class RecognizeIndonesiaIDCardOCRResponse extends AbstractModel {
6925
7044
  this.Photo = 'Photo' in params ? params.Photo : null;
6926
7045
  this.Provinsi = 'Provinsi' in params ? params.Provinsi : null;
6927
7046
  this.Kota = 'Kota' in params ? params.Kota : null;
7047
+ this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
6928
7048
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
6929
7049
 
6930
7050
  }
@@ -7861,6 +7981,140 @@ class RecognizeGeneralInvoiceResponse extends AbstractModel {
7861
7981
  }
7862
7982
  }
7863
7983
 
7984
+ /**
7985
+ * RecognizeSingaporeIDCardOCR response structure.
7986
+ * @class
7987
+ */
7988
+ class RecognizeSingaporeIDCardOCRResponse extends AbstractModel {
7989
+ constructor(){
7990
+ super();
7991
+
7992
+ /**
7993
+ * Chinese name
7994
+ * @type {string || null}
7995
+ */
7996
+ this.ChName = null;
7997
+
7998
+ /**
7999
+ * English name
8000
+ * @type {string || null}
8001
+ */
8002
+ this.EnName = null;
8003
+
8004
+ /**
8005
+ * gender
8006
+ * @type {string || null}
8007
+ */
8008
+ this.Sex = null;
8009
+
8010
+ /**
8011
+ * Birth Country
8012
+ * @type {string || null}
8013
+ */
8014
+ this.CountryOfBirth = null;
8015
+
8016
+ /**
8017
+ * Brithday
8018
+ * @type {string || null}
8019
+ */
8020
+ this.Birthday = null;
8021
+
8022
+ /**
8023
+ * Address(back side)
8024
+ * @type {string || null}
8025
+ */
8026
+ this.Address = null;
8027
+
8028
+ /**
8029
+ * License number
8030
+ * @type {string || null}
8031
+ */
8032
+ this.ID = null;
8033
+
8034
+ /**
8035
+ * Nationality(back side)
8036
+ * @type {string || null}
8037
+ */
8038
+ this.Race = null;
8039
+
8040
+ /**
8041
+ * NRIC code(back side)
8042
+ * @type {string || null}
8043
+ */
8044
+ this.NRICCode = null;
8045
+
8046
+ /**
8047
+ * Post code(back side)
8048
+ * @type {string || null}
8049
+ */
8050
+ this.PostCode = null;
8051
+
8052
+ /**
8053
+ * Date of Expiration(back side)
8054
+ * @type {string || null}
8055
+ */
8056
+ this.DateOfExpiration = null;
8057
+
8058
+ /**
8059
+ * Date of issue(back side)
8060
+ * @type {string || null}
8061
+ */
8062
+ this.DateOfIssue = null;
8063
+
8064
+ /**
8065
+ * Head image
8066
+ * @type {string || null}
8067
+ */
8068
+ this.Photo = null;
8069
+
8070
+ /**
8071
+ * Card Warning Information
8072
+
8073
+ -9101 Alarm for covered certificate,
8074
+ -9102 Alarm for photocopied certificate,
8075
+ -9103 Alarm for photographed certificate,
8076
+ -9104 Alarm for PS certificate,
8077
+ -9107 Alarm for reflective certificate,
8078
+ -9108 Alarm for blurry image,
8079
+ -9109 This capability is not enabled.
8080
+ * @type {Array.<number> || null}
8081
+ */
8082
+ this.WarnCardInfos = null;
8083
+
8084
+ /**
8085
+ * 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.
8086
+ * @type {string || null}
8087
+ */
8088
+ this.RequestId = null;
8089
+
8090
+ }
8091
+
8092
+ /**
8093
+ * @private
8094
+ */
8095
+ deserialize(params) {
8096
+ if (!params) {
8097
+ return;
8098
+ }
8099
+ this.ChName = 'ChName' in params ? params.ChName : null;
8100
+ this.EnName = 'EnName' in params ? params.EnName : null;
8101
+ this.Sex = 'Sex' in params ? params.Sex : null;
8102
+ this.CountryOfBirth = 'CountryOfBirth' in params ? params.CountryOfBirth : null;
8103
+ this.Birthday = 'Birthday' in params ? params.Birthday : null;
8104
+ this.Address = 'Address' in params ? params.Address : null;
8105
+ this.ID = 'ID' in params ? params.ID : null;
8106
+ this.Race = 'Race' in params ? params.Race : null;
8107
+ this.NRICCode = 'NRICCode' in params ? params.NRICCode : null;
8108
+ this.PostCode = 'PostCode' in params ? params.PostCode : null;
8109
+ this.DateOfExpiration = 'DateOfExpiration' in params ? params.DateOfExpiration : null;
8110
+ this.DateOfIssue = 'DateOfIssue' in params ? params.DateOfIssue : null;
8111
+ this.Photo = 'Photo' in params ? params.Photo : null;
8112
+ this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
8113
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8114
+
8115
+ }
8116
+ }
8117
+
7864
8118
  /**
7865
8119
  * SealOCR request structure.
7866
8120
  * @class
@@ -8268,6 +8522,7 @@ class RecognizeMainlandIDCardOCRResponse extends AbstractModel {
8268
8522
  -9101 Alarm for covered certificate,
8269
8523
  -9102 Alarm for photocopied certificate,
8270
8524
  -9103 Alarm for photographed certificate,
8525
+ -9104 Alarm for PS certificate,
8271
8526
  -9107 Alarm for reflective certificate,
8272
8527
  -9108 Alarm for blurry image,
8273
8528
  -9109 This capability is not enabled.
@@ -8900,7 +9155,21 @@ MyKid Kid card
8900
9155
  this.Birthday = null;
8901
9156
 
8902
9157
  /**
8903
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
9158
+ * Card Warning Information
9159
+
9160
+ -9101 Alarm for covered certificate,
9161
+ -9102 Alarm for photocopied certificate,
9162
+ -9103 Alarm for photographed certificate,
9163
+ -9104 Alarm for PS certificate,
9164
+ -9107 Alarm for reflective certificate,
9165
+ -9108 Alarm for blurry image,
9166
+ -9109 This capability is not enabled.
9167
+ * @type {Array.<number> || null}
9168
+ */
9169
+ this.WarnCardInfos = null;
9170
+
9171
+ /**
9172
+ * 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.
8904
9173
  * @type {string || null}
8905
9174
  */
8906
9175
  this.RequestId = null;
@@ -8923,6 +9192,7 @@ MyKid Kid card
8923
9192
  this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
8924
9193
  this.Type = 'Type' in params ? params.Type : null;
8925
9194
  this.Birthday = 'Birthday' in params ? params.Birthday : null;
9195
+ this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
8926
9196
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
8927
9197
 
8928
9198
  }
@@ -9185,6 +9455,7 @@ module.exports = {
9185
9455
  MotorVehicleSaleInvoice: MotorVehicleSaleInvoice,
9186
9456
  TableOCRRequest: TableOCRRequest,
9187
9457
  PassportRecognizeInfos: PassportRecognizeInfos,
9458
+ RecognizeSingaporeIDCardOCRRequest: RecognizeSingaporeIDCardOCRRequest,
9188
9459
  TaxiTicket: TaxiTicket,
9189
9460
  LicensePlateOCRRequest: LicensePlateOCRRequest,
9190
9461
  GeneralBasicOCRRequest: GeneralBasicOCRRequest,
@@ -9210,6 +9481,7 @@ module.exports = {
9210
9481
  Polygon: Polygon,
9211
9482
  TextDetectionResult: TextDetectionResult,
9212
9483
  RecognizeGeneralInvoiceResponse: RecognizeGeneralInvoiceResponse,
9484
+ RecognizeSingaporeIDCardOCRResponse: RecognizeSingaporeIDCardOCRResponse,
9213
9485
  SealOCRRequest: SealOCRRequest,
9214
9486
  MedicalInvoice: MedicalInvoice,
9215
9487
  TextTable: TextTable,
@@ -73,6 +73,7 @@ const RecognizeThaiIDCardOCRRequest = models.RecognizeThaiIDCardOCRRequest;
73
73
  const MotorVehicleSaleInvoice = models.MotorVehicleSaleInvoice;
74
74
  const TableOCRRequest = models.TableOCRRequest;
75
75
  const PassportRecognizeInfos = models.PassportRecognizeInfos;
76
+ const RecognizeSingaporeIDCardOCRRequest = models.RecognizeSingaporeIDCardOCRRequest;
76
77
  const TaxiTicket = models.TaxiTicket;
77
78
  const LicensePlateOCRRequest = models.LicensePlateOCRRequest;
78
79
  const GeneralBasicOCRRequest = models.GeneralBasicOCRRequest;
@@ -98,6 +99,7 @@ const VatInvoiceRoll = models.VatInvoiceRoll;
98
99
  const Polygon = models.Polygon;
99
100
  const TextDetectionResult = models.TextDetectionResult;
100
101
  const RecognizeGeneralInvoiceResponse = models.RecognizeGeneralInvoiceResponse;
102
+ const RecognizeSingaporeIDCardOCRResponse = models.RecognizeSingaporeIDCardOCRResponse;
101
103
  const SealOCRRequest = models.SealOCRRequest;
102
104
  const MedicalInvoice = models.MedicalInvoice;
103
105
  const TextTable = models.TextTable;
@@ -420,6 +422,18 @@ The API request rate is limited to 20 requests/sec by default.
420
422
  this.request("RecognizePhilippinesUMIDOCR", req, resp, cb);
421
423
  }
422
424
 
425
+ /**
426
+ * This interface supports the identification of all fields on the front side of ID card for Singapore residents.The identification accuracy reaches more than 99%.In addition, this interface also supports a variety of value-added capabilities to meet the needs of different scenarios. Such as the cropping function of ID card photos and portrait photos, and also has 5 alarm functions.
427
+ As shown in the table below. <table style="width:650px"> <thead> <tr> <th width="150">Value-added ability</th> <th width="500">Ability items</th> </tr> </thead> <tbody> <tr> <td rowspan="9">Alarm function</td> </tr> <tr> <td>ID card copy warning</td> </tr> <tr> <td>ID card copy warning</td> </tr> <tr> <td>Alarm for occlusion in the ID card frame</td> </tr> <tr> <td>ID card reflective warning</td> </tr> <tr> <td>Blurry picture warning</td> </tr> </tbody> </table> Default interface request frequency limit: 20 times/second
428
+ * @param {RecognizeSingaporeIDCardOCRRequest} req
429
+ * @param {function(string, RecognizeSingaporeIDCardOCRResponse):void} cb
430
+ * @public
431
+ */
432
+ RecognizeSingaporeIDCardOCR(req, cb) {
433
+ let resp = new RecognizeSingaporeIDCardOCRResponse();
434
+ this.request("RecognizeSingaporeIDCardOCR", req, resp, cb);
435
+ }
436
+
423
437
  /**
424
438
  * This API is used to detect and recognize key fields such as the card number, bank information, and expiration date on mainstream bank cards in Mainland China.
425
439