tencentcloud-sdk-nodejs-intl-en 3.0.1091 → 3.0.1092
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1092";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -19,12 +19,14 @@ const AbstractClient = require('../../common/abstract_client')
|
|
|
19
19
|
const GetLivenessResultResponse = models.GetLivenessResultResponse;
|
|
20
20
|
const GetFaceIdTokenIntlResponse = models.GetFaceIdTokenIntlResponse;
|
|
21
21
|
const InternationalIDPassport = models.InternationalIDPassport;
|
|
22
|
+
const NigeriaDrivingLicense = models.NigeriaDrivingLicense;
|
|
22
23
|
const GetSdkVerificationResultResponse = models.GetSdkVerificationResultResponse;
|
|
23
24
|
const GetSdkVerificationResultRequest = models.GetSdkVerificationResultRequest;
|
|
24
25
|
const DetectAIFakeFacesRequest = models.DetectAIFakeFacesRequest;
|
|
25
26
|
const AttackRiskDetail = models.AttackRiskDetail;
|
|
26
27
|
const ExtraInfo = models.ExtraInfo;
|
|
27
28
|
const CreateUploadUrlResponse = models.CreateUploadUrlResponse;
|
|
29
|
+
const NormalMLIDCard = models.NormalMLIDCard;
|
|
28
30
|
const ApplyCardVerificationResponse = models.ApplyCardVerificationResponse;
|
|
29
31
|
const DetectReflectLivenessAndCompareRequest = models.DetectReflectLivenessAndCompareRequest;
|
|
30
32
|
const GetFaceIdTokenIntlRequest = models.GetFaceIdTokenIntlRequest;
|
|
@@ -45,7 +47,7 @@ const NormalCardInfo = models.NormalCardInfo;
|
|
|
45
47
|
const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
|
|
46
48
|
const ApplySdkVerificationTokenRequest = models.ApplySdkVerificationTokenRequest;
|
|
47
49
|
const GenerateReflectSequenceRequest = models.GenerateReflectSequenceRequest;
|
|
48
|
-
const
|
|
50
|
+
const BangladeshIDCard = models.BangladeshIDCard;
|
|
49
51
|
const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
|
|
50
52
|
const PhilippinesSSSID = models.PhilippinesSSSID;
|
|
51
53
|
const CardVerifyResult = models.CardVerifyResult;
|
|
@@ -53,7 +55,7 @@ const TaiWanIDCard = models.TaiWanIDCard;
|
|
|
53
55
|
const VideoLivenessCompareRequest = models.VideoLivenessCompareRequest;
|
|
54
56
|
const ApplyWebVerificationTokenRequest = models.ApplyWebVerificationTokenRequest;
|
|
55
57
|
const ApplyWebVerificationBizTokenIntlResponse = models.ApplyWebVerificationBizTokenIntlResponse;
|
|
56
|
-
const
|
|
58
|
+
const PakistanIDCard = models.PakistanIDCard;
|
|
57
59
|
const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
|
|
58
60
|
const GetCardVerificationResultRequest = models.GetCardVerificationResultRequest;
|
|
59
61
|
const CardInfo = models.CardInfo;
|
|
@@ -62,11 +64,13 @@ const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
|
|
|
62
64
|
const MainlandIDCard = models.MainlandIDCard;
|
|
63
65
|
const Encryption = models.Encryption;
|
|
64
66
|
const Address = models.Address;
|
|
65
|
-
const
|
|
67
|
+
const RetrievalLivenessExtraInfo = models.RetrievalLivenessExtraInfo;
|
|
68
|
+
const NigeriaIDCard = models.NigeriaIDCard;
|
|
66
69
|
const NormalIndonesiaIDCard = models.NormalIndonesiaIDCard;
|
|
67
70
|
const CompareFaceLivenessResponse = models.CompareFaceLivenessResponse;
|
|
68
71
|
const IndonesiaIDCard = models.IndonesiaIDCard;
|
|
69
72
|
const ApplySdkVerificationTokenResponse = models.ApplySdkVerificationTokenResponse;
|
|
73
|
+
const HMTPermit = models.HMTPermit;
|
|
70
74
|
const CreateUploadUrlRequest = models.CreateUploadUrlRequest;
|
|
71
75
|
const ApplyWebVerificationBizTokenIntlRequest = models.ApplyWebVerificationBizTokenIntlRequest;
|
|
72
76
|
const GetWebVerificationResultResponse = models.GetWebVerificationResultResponse;
|
|
@@ -80,7 +84,7 @@ const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
|
|
|
80
84
|
const GetWebVerificationResultIntlRequest = models.GetWebVerificationResultIntlRequest;
|
|
81
85
|
const GeneralCard = models.GeneralCard;
|
|
82
86
|
const LivenessCompareResponse = models.LivenessCompareResponse;
|
|
83
|
-
const
|
|
87
|
+
const DetectAIFakeFacesResponse = models.DetectAIFakeFacesResponse;
|
|
84
88
|
const PhilippinesUMID = models.PhilippinesUMID;
|
|
85
89
|
const PhilippinesTinID = models.PhilippinesTinID;
|
|
86
90
|
const ApplyCardVerificationRequest = models.ApplyCardVerificationRequest;
|
|
@@ -89,6 +93,7 @@ const MLIDCard = models.MLIDCard;
|
|
|
89
93
|
const OCRResult = models.OCRResult;
|
|
90
94
|
const DetectReflectLivenessAndCompareResponse = models.DetectReflectLivenessAndCompareResponse;
|
|
91
95
|
const GetLivenessResultRequest = models.GetLivenessResultRequest;
|
|
96
|
+
const PakistanDrivingLicense = models.PakistanDrivingLicense;
|
|
92
97
|
const CompareResult = models.CompareResult;
|
|
93
98
|
|
|
94
99
|
|
|
@@ -173,7 +178,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
173
178
|
|
|
174
179
|
/**
|
|
175
180
|
* The types of national cards supported by the API and whether instructions on the back of the card are required are as follows:
|
|
176
|
-
<table> <thead> <tr> <td>Nationality</td> <td style="width:200px">CardType</td> <td style="width:200px">Back side required</td> </tr> </thead> <tbody> <tr> <td>Indonesia</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Indonesia</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Hongkong</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Thailand</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Thailand</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Japan</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Japan</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Taiwan</td> <td>ID Card</td> <td>Yes</td> </tr> </tbody> </table>
|
|
181
|
+
<table> <thead> <tr> <td>Nationality</td> <td style="width:200px">CardType</td> <td style="width:200px">Back side required</td> </tr> </thead> <tbody> <tr> <td>Indonesia</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Indonesia</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Hongkong</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Thailand</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Thailand</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Japan</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Japan</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Taiwan</td> <td>ID Card</td> <td>Yes</td> </tr> <tr> <td>Bangladesh</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Nigeria</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Nigeria</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Pakistan</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Pakistan</td> <td>Driving License</td> <td>Yes</td> </tr> </tbody> </table>
|
|
177
182
|
* @param {ApplyCardVerificationRequest} req
|
|
178
183
|
* @param {function(string, ApplyCardVerificationResponse):void} cb
|
|
179
184
|
* @public
|
|
@@ -226,6 +226,100 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
+
/**
|
|
230
|
+
* Nigeria driving license
|
|
231
|
+
* @class
|
|
232
|
+
*/
|
|
233
|
+
class NigeriaDrivingLicense extends AbstractModel {
|
|
234
|
+
constructor(){
|
|
235
|
+
super();
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Last name.
|
|
239
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
240
|
+
|
|
241
|
+
* @type {string || null}
|
|
242
|
+
*/
|
|
243
|
+
this.LastName = null;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* First name.
|
|
247
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
248
|
+
* @type {string || null}
|
|
249
|
+
*/
|
|
250
|
+
this.FirstName = null;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* License number.
|
|
254
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
255
|
+
* @type {string || null}
|
|
256
|
+
*/
|
|
257
|
+
this.LicenseNumber = null;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Age.
|
|
261
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
262
|
+
* @type {string || null}
|
|
263
|
+
*/
|
|
264
|
+
this.Age = null;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Birthday.
|
|
268
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
269
|
+
* @type {string || null}
|
|
270
|
+
*/
|
|
271
|
+
this.Birthday = null;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Issued country.
|
|
275
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
276
|
+
* @type {string || null}
|
|
277
|
+
*/
|
|
278
|
+
this.IssuedCountry = null;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Expiration date.
|
|
282
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
283
|
+
* @type {string || null}
|
|
284
|
+
*/
|
|
285
|
+
this.ExpirationDate = null;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Issued date.
|
|
289
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
290
|
+
* @type {string || null}
|
|
291
|
+
*/
|
|
292
|
+
this.IssuedDate = null;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Gender.
|
|
296
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
297
|
+
* @type {string || null}
|
|
298
|
+
*/
|
|
299
|
+
this.Sex = null;
|
|
300
|
+
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @private
|
|
305
|
+
*/
|
|
306
|
+
deserialize(params) {
|
|
307
|
+
if (!params) {
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
311
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
312
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
313
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
314
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
315
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
316
|
+
this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
|
|
317
|
+
this.IssuedDate = 'IssuedDate' in params ? params.IssuedDate : null;
|
|
318
|
+
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
319
|
+
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
229
323
|
/**
|
|
230
324
|
* GetSdkVerificationResult response structure.
|
|
231
325
|
* @class
|
|
@@ -510,6 +604,82 @@ class CreateUploadUrlResponse extends AbstractModel {
|
|
|
510
604
|
}
|
|
511
605
|
}
|
|
512
606
|
|
|
607
|
+
/**
|
|
608
|
+
* Malaysia ID card.
|
|
609
|
+
* @class
|
|
610
|
+
*/
|
|
611
|
+
class NormalMLIDCard extends AbstractModel {
|
|
612
|
+
constructor(){
|
|
613
|
+
super();
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Full Name
|
|
617
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
618
|
+
* @type {string || null}
|
|
619
|
+
*/
|
|
620
|
+
this.FullName = null;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* License number
|
|
624
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
625
|
+
* @type {string || null}
|
|
626
|
+
*/
|
|
627
|
+
this.LicenseNumber = null;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Gender
|
|
631
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
632
|
+
* @type {string || null}
|
|
633
|
+
*/
|
|
634
|
+
this.Sex = null;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Address
|
|
638
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
639
|
+
* @type {string || null}
|
|
640
|
+
*/
|
|
641
|
+
this.FormattedAddress = null;
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Lisence type
|
|
645
|
+
MyKad ID card
|
|
646
|
+
MyPR Permanent resident ID card
|
|
647
|
+
MyTentera Military ID card
|
|
648
|
+
MyKAS Temporary ID card
|
|
649
|
+
POLIS Police ID card
|
|
650
|
+
IKAD Labor ID card
|
|
651
|
+
MyKid Juvenile ID card
|
|
652
|
+
Example: MyKad
|
|
653
|
+
* @type {string || null}
|
|
654
|
+
*/
|
|
655
|
+
this.Type = null;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Birthday (Currently, this filed only supports IKAD labor ID card and MyKad ID card)
|
|
659
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
660
|
+
* @type {string || null}
|
|
661
|
+
*/
|
|
662
|
+
this.Birthday = null;
|
|
663
|
+
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @private
|
|
668
|
+
*/
|
|
669
|
+
deserialize(params) {
|
|
670
|
+
if (!params) {
|
|
671
|
+
return;
|
|
672
|
+
}
|
|
673
|
+
this.FullName = 'FullName' in params ? params.FullName : null;
|
|
674
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
675
|
+
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
676
|
+
this.FormattedAddress = 'FormattedAddress' in params ? params.FormattedAddress : null;
|
|
677
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
678
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
679
|
+
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
513
683
|
/**
|
|
514
684
|
* ApplyCardVerification response structure.
|
|
515
685
|
* @class
|
|
@@ -2151,36 +2321,54 @@ class GenerateReflectSequenceRequest extends AbstractModel {
|
|
|
2151
2321
|
}
|
|
2152
2322
|
|
|
2153
2323
|
/**
|
|
2154
|
-
*
|
|
2324
|
+
* Bangladesh ID card
|
|
2155
2325
|
* @class
|
|
2156
2326
|
*/
|
|
2157
|
-
class
|
|
2327
|
+
class BangladeshIDCard extends AbstractModel {
|
|
2158
2328
|
constructor(){
|
|
2159
2329
|
super();
|
|
2160
2330
|
|
|
2161
2331
|
/**
|
|
2162
|
-
*
|
|
2332
|
+
* Last name.
|
|
2333
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2163
2334
|
* @type {string || null}
|
|
2164
2335
|
*/
|
|
2165
|
-
this.
|
|
2336
|
+
this.LastName = null;
|
|
2166
2337
|
|
|
2167
2338
|
/**
|
|
2168
|
-
*
|
|
2169
|
-
|
|
2339
|
+
* First name.
|
|
2340
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2341
|
+
* @type {string || null}
|
|
2170
2342
|
*/
|
|
2171
|
-
this.
|
|
2343
|
+
this.FirstName = null;
|
|
2172
2344
|
|
|
2173
2345
|
/**
|
|
2174
|
-
*
|
|
2175
|
-
|
|
2346
|
+
* License number.
|
|
2347
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2348
|
+
* @type {string || null}
|
|
2176
2349
|
*/
|
|
2177
|
-
this.
|
|
2350
|
+
this.LicenseNumber = null;
|
|
2178
2351
|
|
|
2179
2352
|
/**
|
|
2180
|
-
*
|
|
2353
|
+
* Age.
|
|
2354
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2181
2355
|
* @type {string || null}
|
|
2182
2356
|
*/
|
|
2183
|
-
this.
|
|
2357
|
+
this.Age = null;
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* Birthday.
|
|
2361
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2362
|
+
* @type {string || null}
|
|
2363
|
+
*/
|
|
2364
|
+
this.Birthday = null;
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* Issued country.
|
|
2368
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2369
|
+
* @type {string || null}
|
|
2370
|
+
*/
|
|
2371
|
+
this.IssuedCountry = null;
|
|
2184
2372
|
|
|
2185
2373
|
}
|
|
2186
2374
|
|
|
@@ -2191,23 +2379,12 @@ class DetectAIFakeFacesResponse extends AbstractModel {
|
|
|
2191
2379
|
if (!params) {
|
|
2192
2380
|
return;
|
|
2193
2381
|
}
|
|
2194
|
-
this.
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
obj.deserialize(params.AttackRiskDetailList[z]);
|
|
2201
|
-
this.AttackRiskDetailList.push(obj);
|
|
2202
|
-
}
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
if (params.ExtraInfo) {
|
|
2206
|
-
let obj = new ExtraInfo();
|
|
2207
|
-
obj.deserialize(params.ExtraInfo)
|
|
2208
|
-
this.ExtraInfo = obj;
|
|
2209
|
-
}
|
|
2210
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2382
|
+
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
2383
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
2384
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
2385
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
2386
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
2387
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
2211
2388
|
|
|
2212
2389
|
}
|
|
2213
2390
|
}
|
|
@@ -2775,30 +2952,54 @@ Example: https://intl.faceid.qq.com/reflect/?token=81EEF678-28EE-4759-A82E-6CBBB
|
|
|
2775
2952
|
}
|
|
2776
2953
|
|
|
2777
2954
|
/**
|
|
2778
|
-
*
|
|
2955
|
+
* Pakistan ID card
|
|
2779
2956
|
* @class
|
|
2780
2957
|
*/
|
|
2781
|
-
class
|
|
2958
|
+
class PakistanIDCard extends AbstractModel {
|
|
2782
2959
|
constructor(){
|
|
2783
2960
|
super();
|
|
2784
2961
|
|
|
2785
2962
|
/**
|
|
2786
|
-
*
|
|
2963
|
+
* Last name.
|
|
2964
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2787
2965
|
* @type {string || null}
|
|
2788
2966
|
*/
|
|
2789
|
-
this.
|
|
2967
|
+
this.LastName = null;
|
|
2790
2968
|
|
|
2791
2969
|
/**
|
|
2792
|
-
*
|
|
2793
|
-
|
|
2970
|
+
* First name.
|
|
2971
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2972
|
+
* @type {string || null}
|
|
2794
2973
|
*/
|
|
2795
|
-
this.
|
|
2974
|
+
this.FirstName = null;
|
|
2796
2975
|
|
|
2797
2976
|
/**
|
|
2798
|
-
*
|
|
2977
|
+
* License number.
|
|
2978
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2799
2979
|
* @type {string || null}
|
|
2800
2980
|
*/
|
|
2801
|
-
this.
|
|
2981
|
+
this.LicenseNumber = null;
|
|
2982
|
+
|
|
2983
|
+
/**
|
|
2984
|
+
* Age.
|
|
2985
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2986
|
+
* @type {string || null}
|
|
2987
|
+
*/
|
|
2988
|
+
this.Age = null;
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Birthday.
|
|
2992
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2993
|
+
* @type {string || null}
|
|
2994
|
+
*/
|
|
2995
|
+
this.Birthday = null;
|
|
2996
|
+
|
|
2997
|
+
/**
|
|
2998
|
+
* Issued country.
|
|
2999
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3000
|
+
* @type {string || null}
|
|
3001
|
+
*/
|
|
3002
|
+
this.IssuedCountry = null;
|
|
2802
3003
|
|
|
2803
3004
|
}
|
|
2804
3005
|
|
|
@@ -2809,12 +3010,15 @@ class RetrievalLivenessExtraInfo extends AbstractModel {
|
|
|
2809
3010
|
if (!params) {
|
|
2810
3011
|
return;
|
|
2811
3012
|
}
|
|
2812
|
-
this.
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
3013
|
+
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
3014
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
3015
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
3016
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
3017
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
3018
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
3019
|
+
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
2818
3022
|
|
|
2819
3023
|
/**
|
|
2820
3024
|
* ApplyLivenessToken response structure.
|
|
@@ -2999,6 +3203,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2999
3203
|
*/
|
|
3000
3204
|
this.JapanIDCard = null;
|
|
3001
3205
|
|
|
3206
|
+
/**
|
|
3207
|
+
* Bangladesh ID Card
|
|
3208
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3209
|
+
* @type {BangladeshIDCard || null}
|
|
3210
|
+
*/
|
|
3211
|
+
this.BangladeshIDCard = null;
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* Nigeria ID Card
|
|
3215
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3216
|
+
* @type {NigeriaIDCard || null}
|
|
3217
|
+
*/
|
|
3218
|
+
this.NigeriaIDCard = null;
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* Nigeria driving license
|
|
3222
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3223
|
+
* @type {NigeriaDrivingLicense || null}
|
|
3224
|
+
*/
|
|
3225
|
+
this.NigeriaDrivingLicense = null;
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Pakistan ID Card
|
|
3229
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3230
|
+
* @type {PakistanIDCard || null}
|
|
3231
|
+
*/
|
|
3232
|
+
this.PakistanIDCard = null;
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Pakistan driving license
|
|
3236
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3237
|
+
* @type {PakistanDrivingLicense || null}
|
|
3238
|
+
*/
|
|
3239
|
+
this.PakistanDrivingLicense = null;
|
|
3240
|
+
|
|
3002
3241
|
}
|
|
3003
3242
|
|
|
3004
3243
|
/**
|
|
@@ -3105,6 +3344,36 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3105
3344
|
this.JapanIDCard = obj;
|
|
3106
3345
|
}
|
|
3107
3346
|
|
|
3347
|
+
if (params.BangladeshIDCard) {
|
|
3348
|
+
let obj = new BangladeshIDCard();
|
|
3349
|
+
obj.deserialize(params.BangladeshIDCard)
|
|
3350
|
+
this.BangladeshIDCard = obj;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
if (params.NigeriaIDCard) {
|
|
3354
|
+
let obj = new NigeriaIDCard();
|
|
3355
|
+
obj.deserialize(params.NigeriaIDCard)
|
|
3356
|
+
this.NigeriaIDCard = obj;
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
if (params.NigeriaDrivingLicense) {
|
|
3360
|
+
let obj = new NigeriaDrivingLicense();
|
|
3361
|
+
obj.deserialize(params.NigeriaDrivingLicense)
|
|
3362
|
+
this.NigeriaDrivingLicense = obj;
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
if (params.PakistanIDCard) {
|
|
3366
|
+
let obj = new PakistanIDCard();
|
|
3367
|
+
obj.deserialize(params.PakistanIDCard)
|
|
3368
|
+
this.PakistanIDCard = obj;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
if (params.PakistanDrivingLicense) {
|
|
3372
|
+
let obj = new PakistanDrivingLicense();
|
|
3373
|
+
obj.deserialize(params.PakistanDrivingLicense)
|
|
3374
|
+
this.PakistanDrivingLicense = obj;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3108
3377
|
}
|
|
3109
3378
|
}
|
|
3110
3379
|
|
|
@@ -3562,61 +3831,103 @@ class Address extends AbstractModel {
|
|
|
3562
3831
|
}
|
|
3563
3832
|
|
|
3564
3833
|
/**
|
|
3565
|
-
*
|
|
3834
|
+
*
|
|
3566
3835
|
* @class
|
|
3567
3836
|
*/
|
|
3568
|
-
class
|
|
3837
|
+
class RetrievalLivenessExtraInfo extends AbstractModel {
|
|
3569
3838
|
constructor(){
|
|
3570
3839
|
super();
|
|
3571
3840
|
|
|
3572
3841
|
/**
|
|
3573
|
-
*
|
|
3842
|
+
*
|
|
3843
|
+
* @type {string || null}
|
|
3844
|
+
*/
|
|
3845
|
+
this.HitGroup = null;
|
|
3846
|
+
|
|
3847
|
+
/**
|
|
3848
|
+
*
|
|
3849
|
+
* @type {number || null}
|
|
3850
|
+
*/
|
|
3851
|
+
this.SimilarityScore = null;
|
|
3852
|
+
|
|
3853
|
+
/**
|
|
3854
|
+
*
|
|
3855
|
+
* @type {string || null}
|
|
3856
|
+
*/
|
|
3857
|
+
this.HitTemplate = null;
|
|
3858
|
+
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
/**
|
|
3862
|
+
* @private
|
|
3863
|
+
*/
|
|
3864
|
+
deserialize(params) {
|
|
3865
|
+
if (!params) {
|
|
3866
|
+
return;
|
|
3867
|
+
}
|
|
3868
|
+
this.HitGroup = 'HitGroup' in params ? params.HitGroup : null;
|
|
3869
|
+
this.SimilarityScore = 'SimilarityScore' in params ? params.SimilarityScore : null;
|
|
3870
|
+
this.HitTemplate = 'HitTemplate' in params ? params.HitTemplate : null;
|
|
3871
|
+
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
/**
|
|
3876
|
+
* Nigeria ID card
|
|
3877
|
+
* @class
|
|
3878
|
+
*/
|
|
3879
|
+
class NigeriaIDCard extends AbstractModel {
|
|
3880
|
+
constructor(){
|
|
3881
|
+
super();
|
|
3882
|
+
|
|
3883
|
+
/**
|
|
3884
|
+
* Last name.
|
|
3574
3885
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3575
3886
|
* @type {string || null}
|
|
3576
3887
|
*/
|
|
3577
|
-
this.
|
|
3888
|
+
this.LastName = null;
|
|
3578
3889
|
|
|
3579
3890
|
/**
|
|
3580
|
-
*
|
|
3891
|
+
* First name.
|
|
3892
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3893
|
+
* @type {string || null}
|
|
3894
|
+
*/
|
|
3895
|
+
this.FirstName = null;
|
|
3896
|
+
|
|
3897
|
+
/**
|
|
3898
|
+
* License number.
|
|
3581
3899
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3582
3900
|
* @type {string || null}
|
|
3583
3901
|
*/
|
|
3584
3902
|
this.LicenseNumber = null;
|
|
3585
3903
|
|
|
3586
3904
|
/**
|
|
3587
|
-
*
|
|
3905
|
+
* Age.
|
|
3588
3906
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3589
3907
|
* @type {string || null}
|
|
3590
3908
|
*/
|
|
3591
|
-
this.
|
|
3909
|
+
this.Age = null;
|
|
3592
3910
|
|
|
3593
3911
|
/**
|
|
3594
|
-
*
|
|
3912
|
+
* Birthday.
|
|
3595
3913
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3596
3914
|
* @type {string || null}
|
|
3597
3915
|
*/
|
|
3598
|
-
this.
|
|
3916
|
+
this.Birthday = null;
|
|
3599
3917
|
|
|
3600
3918
|
/**
|
|
3601
|
-
*
|
|
3602
|
-
|
|
3603
|
-
MyPR Permanent resident ID card
|
|
3604
|
-
MyTentera Military ID card
|
|
3605
|
-
MyKAS Temporary ID card
|
|
3606
|
-
POLIS Police ID card
|
|
3607
|
-
IKAD Labor ID card
|
|
3608
|
-
MyKid Juvenile ID card
|
|
3609
|
-
Example: MyKad
|
|
3919
|
+
* Issued country.
|
|
3920
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3610
3921
|
* @type {string || null}
|
|
3611
3922
|
*/
|
|
3612
|
-
this.
|
|
3923
|
+
this.IssuedCountry = null;
|
|
3613
3924
|
|
|
3614
3925
|
/**
|
|
3615
|
-
*
|
|
3926
|
+
* Gender.
|
|
3616
3927
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3617
3928
|
* @type {string || null}
|
|
3618
3929
|
*/
|
|
3619
|
-
this.
|
|
3930
|
+
this.Sex = null;
|
|
3620
3931
|
|
|
3621
3932
|
}
|
|
3622
3933
|
|
|
@@ -3627,12 +3938,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3627
3938
|
if (!params) {
|
|
3628
3939
|
return;
|
|
3629
3940
|
}
|
|
3630
|
-
this.
|
|
3941
|
+
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
3942
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
3631
3943
|
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
3632
|
-
this.
|
|
3633
|
-
this.FormattedAddress = 'FormattedAddress' in params ? params.FormattedAddress : null;
|
|
3634
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
3944
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
3635
3945
|
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
3946
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
3947
|
+
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
3636
3948
|
|
|
3637
3949
|
}
|
|
3638
3950
|
}
|
|
@@ -4048,6 +4360,83 @@ class ApplySdkVerificationTokenResponse extends AbstractModel {
|
|
|
4048
4360
|
}
|
|
4049
4361
|
}
|
|
4050
4362
|
|
|
4363
|
+
/**
|
|
4364
|
+
* Exit/entry permit (card) for traveling to and from Hong Kong, Macao, or Taiwan
|
|
4365
|
+
* @class
|
|
4366
|
+
*/
|
|
4367
|
+
class HMTPermit extends AbstractModel {
|
|
4368
|
+
constructor(){
|
|
4369
|
+
super();
|
|
4370
|
+
|
|
4371
|
+
/**
|
|
4372
|
+
* Name
|
|
4373
|
+
* @type {string || null}
|
|
4374
|
+
*/
|
|
4375
|
+
this.Name = null;
|
|
4376
|
+
|
|
4377
|
+
/**
|
|
4378
|
+
* English name
|
|
4379
|
+
* @type {string || null}
|
|
4380
|
+
*/
|
|
4381
|
+
this.EnglishName = null;
|
|
4382
|
+
|
|
4383
|
+
/**
|
|
4384
|
+
* License number
|
|
4385
|
+
* @type {string || null}
|
|
4386
|
+
*/
|
|
4387
|
+
this.Number = null;
|
|
4388
|
+
|
|
4389
|
+
/**
|
|
4390
|
+
* Gender
|
|
4391
|
+
* @type {string || null}
|
|
4392
|
+
*/
|
|
4393
|
+
this.Sex = null;
|
|
4394
|
+
|
|
4395
|
+
/**
|
|
4396
|
+
* Valid date
|
|
4397
|
+
* @type {string || null}
|
|
4398
|
+
*/
|
|
4399
|
+
this.ValidDate = null;
|
|
4400
|
+
|
|
4401
|
+
/**
|
|
4402
|
+
* Issued authority
|
|
4403
|
+
* @type {string || null}
|
|
4404
|
+
*/
|
|
4405
|
+
this.IssueAuthority = null;
|
|
4406
|
+
|
|
4407
|
+
/**
|
|
4408
|
+
* Issued address
|
|
4409
|
+
* @type {string || null}
|
|
4410
|
+
*/
|
|
4411
|
+
this.IssueAddress = null;
|
|
4412
|
+
|
|
4413
|
+
/**
|
|
4414
|
+
* Birthday
|
|
4415
|
+
* @type {string || null}
|
|
4416
|
+
*/
|
|
4417
|
+
this.Birthday = null;
|
|
4418
|
+
|
|
4419
|
+
}
|
|
4420
|
+
|
|
4421
|
+
/**
|
|
4422
|
+
* @private
|
|
4423
|
+
*/
|
|
4424
|
+
deserialize(params) {
|
|
4425
|
+
if (!params) {
|
|
4426
|
+
return;
|
|
4427
|
+
}
|
|
4428
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
4429
|
+
this.EnglishName = 'EnglishName' in params ? params.EnglishName : null;
|
|
4430
|
+
this.Number = 'Number' in params ? params.Number : null;
|
|
4431
|
+
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
4432
|
+
this.ValidDate = 'ValidDate' in params ? params.ValidDate : null;
|
|
4433
|
+
this.IssueAuthority = 'IssueAuthority' in params ? params.IssueAuthority : null;
|
|
4434
|
+
this.IssueAddress = 'IssueAddress' in params ? params.IssueAddress : null;
|
|
4435
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
4436
|
+
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4051
4440
|
/**
|
|
4052
4441
|
* CreateUploadUrl request structure.
|
|
4053
4442
|
* @class
|
|
@@ -5075,60 +5464,36 @@ class LivenessCompareResponse extends AbstractModel {
|
|
|
5075
5464
|
}
|
|
5076
5465
|
|
|
5077
5466
|
/**
|
|
5078
|
-
*
|
|
5467
|
+
* DetectAIFakeFaces response structure.
|
|
5079
5468
|
* @class
|
|
5080
5469
|
*/
|
|
5081
|
-
class
|
|
5470
|
+
class DetectAIFakeFacesResponse extends AbstractModel {
|
|
5082
5471
|
constructor(){
|
|
5083
5472
|
super();
|
|
5084
5473
|
|
|
5085
5474
|
/**
|
|
5086
|
-
*
|
|
5087
|
-
* @type {string || null}
|
|
5088
|
-
*/
|
|
5089
|
-
this.Name = null;
|
|
5090
|
-
|
|
5091
|
-
/**
|
|
5092
|
-
* English name
|
|
5093
|
-
* @type {string || null}
|
|
5094
|
-
*/
|
|
5095
|
-
this.EnglishName = null;
|
|
5096
|
-
|
|
5097
|
-
/**
|
|
5098
|
-
* License number
|
|
5099
|
-
* @type {string || null}
|
|
5100
|
-
*/
|
|
5101
|
-
this.Number = null;
|
|
5102
|
-
|
|
5103
|
-
/**
|
|
5104
|
-
* Gender
|
|
5105
|
-
* @type {string || null}
|
|
5106
|
-
*/
|
|
5107
|
-
this.Sex = null;
|
|
5108
|
-
|
|
5109
|
-
/**
|
|
5110
|
-
* Valid date
|
|
5475
|
+
* Whether the detected image is an attack: Low: No attack risk Mid: Moderately suspected attack High: Highly suspected attack
|
|
5111
5476
|
* @type {string || null}
|
|
5112
5477
|
*/
|
|
5113
|
-
this.
|
|
5478
|
+
this.AttackRiskLevel = null;
|
|
5114
5479
|
|
|
5115
5480
|
/**
|
|
5116
|
-
*
|
|
5117
|
-
* @type {
|
|
5481
|
+
* A list of suspected attack traces detected. Note: When no attack traces are detected, an empty array is returned. This parameter is only used as a reference for result judgment. In actual applications, it is still recommended to use the result of AttackRiskLevel.
|
|
5482
|
+
* @type {Array.<AttackRiskDetail> || null}
|
|
5118
5483
|
*/
|
|
5119
|
-
this.
|
|
5484
|
+
this.AttackRiskDetailList = null;
|
|
5120
5485
|
|
|
5121
5486
|
/**
|
|
5122
|
-
*
|
|
5123
|
-
* @type {
|
|
5487
|
+
* Additional Information
|
|
5488
|
+
* @type {ExtraInfo || null}
|
|
5124
5489
|
*/
|
|
5125
|
-
this.
|
|
5490
|
+
this.ExtraInfo = null;
|
|
5126
5491
|
|
|
5127
5492
|
/**
|
|
5128
|
-
*
|
|
5493
|
+
* 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.
|
|
5129
5494
|
* @type {string || null}
|
|
5130
5495
|
*/
|
|
5131
|
-
this.
|
|
5496
|
+
this.RequestId = null;
|
|
5132
5497
|
|
|
5133
5498
|
}
|
|
5134
5499
|
|
|
@@ -5139,14 +5504,23 @@ class HMTPermit extends AbstractModel {
|
|
|
5139
5504
|
if (!params) {
|
|
5140
5505
|
return;
|
|
5141
5506
|
}
|
|
5142
|
-
this.
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5507
|
+
this.AttackRiskLevel = 'AttackRiskLevel' in params ? params.AttackRiskLevel : null;
|
|
5508
|
+
|
|
5509
|
+
if (params.AttackRiskDetailList) {
|
|
5510
|
+
this.AttackRiskDetailList = new Array();
|
|
5511
|
+
for (let z in params.AttackRiskDetailList) {
|
|
5512
|
+
let obj = new AttackRiskDetail();
|
|
5513
|
+
obj.deserialize(params.AttackRiskDetailList[z]);
|
|
5514
|
+
this.AttackRiskDetailList.push(obj);
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
if (params.ExtraInfo) {
|
|
5519
|
+
let obj = new ExtraInfo();
|
|
5520
|
+
obj.deserialize(params.ExtraInfo)
|
|
5521
|
+
this.ExtraInfo = obj;
|
|
5522
|
+
}
|
|
5523
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5150
5524
|
|
|
5151
5525
|
}
|
|
5152
5526
|
}
|
|
@@ -5306,6 +5680,9 @@ MYS: Malaysia
|
|
|
5306
5680
|
SGP: Singapore
|
|
5307
5681
|
JPN: Japan
|
|
5308
5682
|
TWN:Taiwan
|
|
5683
|
+
BGD:Bangladesh
|
|
5684
|
+
NGA:Nigeria
|
|
5685
|
+
PAK:Pakistan
|
|
5309
5686
|
AUTO: Automatic Identification
|
|
5310
5687
|
* @type {string || null}
|
|
5311
5688
|
*/
|
|
@@ -5724,6 +6101,75 @@ class GetLivenessResultRequest extends AbstractModel {
|
|
|
5724
6101
|
}
|
|
5725
6102
|
}
|
|
5726
6103
|
|
|
6104
|
+
/**
|
|
6105
|
+
* Pakistan driving license
|
|
6106
|
+
* @class
|
|
6107
|
+
*/
|
|
6108
|
+
class PakistanDrivingLicense extends AbstractModel {
|
|
6109
|
+
constructor(){
|
|
6110
|
+
super();
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
* Last name.
|
|
6114
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6115
|
+
* @type {string || null}
|
|
6116
|
+
*/
|
|
6117
|
+
this.LastName = null;
|
|
6118
|
+
|
|
6119
|
+
/**
|
|
6120
|
+
* First name.
|
|
6121
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6122
|
+
* @type {string || null}
|
|
6123
|
+
*/
|
|
6124
|
+
this.FirstName = null;
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* License number.
|
|
6128
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6129
|
+
* @type {string || null}
|
|
6130
|
+
*/
|
|
6131
|
+
this.LicenseNumber = null;
|
|
6132
|
+
|
|
6133
|
+
/**
|
|
6134
|
+
* Age.
|
|
6135
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6136
|
+
* @type {string || null}
|
|
6137
|
+
*/
|
|
6138
|
+
this.Age = null;
|
|
6139
|
+
|
|
6140
|
+
/**
|
|
6141
|
+
* Birthday.
|
|
6142
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6143
|
+
* @type {string || null}
|
|
6144
|
+
*/
|
|
6145
|
+
this.Birthday = null;
|
|
6146
|
+
|
|
6147
|
+
/**
|
|
6148
|
+
* Gender.
|
|
6149
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6150
|
+
* @type {string || null}
|
|
6151
|
+
*/
|
|
6152
|
+
this.IssuedCountry = null;
|
|
6153
|
+
|
|
6154
|
+
}
|
|
6155
|
+
|
|
6156
|
+
/**
|
|
6157
|
+
* @private
|
|
6158
|
+
*/
|
|
6159
|
+
deserialize(params) {
|
|
6160
|
+
if (!params) {
|
|
6161
|
+
return;
|
|
6162
|
+
}
|
|
6163
|
+
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
6164
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
6165
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
6166
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
6167
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
6168
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
6169
|
+
|
|
6170
|
+
}
|
|
6171
|
+
}
|
|
6172
|
+
|
|
5727
6173
|
/**
|
|
5728
6174
|
* The description of a single comparison result.
|
|
5729
6175
|
* @class
|
|
@@ -5896,12 +6342,14 @@ module.exports = {
|
|
|
5896
6342
|
GetLivenessResultResponse: GetLivenessResultResponse,
|
|
5897
6343
|
GetFaceIdTokenIntlResponse: GetFaceIdTokenIntlResponse,
|
|
5898
6344
|
InternationalIDPassport: InternationalIDPassport,
|
|
6345
|
+
NigeriaDrivingLicense: NigeriaDrivingLicense,
|
|
5899
6346
|
GetSdkVerificationResultResponse: GetSdkVerificationResultResponse,
|
|
5900
6347
|
GetSdkVerificationResultRequest: GetSdkVerificationResultRequest,
|
|
5901
6348
|
DetectAIFakeFacesRequest: DetectAIFakeFacesRequest,
|
|
5902
6349
|
AttackRiskDetail: AttackRiskDetail,
|
|
5903
6350
|
ExtraInfo: ExtraInfo,
|
|
5904
6351
|
CreateUploadUrlResponse: CreateUploadUrlResponse,
|
|
6352
|
+
NormalMLIDCard: NormalMLIDCard,
|
|
5905
6353
|
ApplyCardVerificationResponse: ApplyCardVerificationResponse,
|
|
5906
6354
|
DetectReflectLivenessAndCompareRequest: DetectReflectLivenessAndCompareRequest,
|
|
5907
6355
|
GetFaceIdTokenIntlRequest: GetFaceIdTokenIntlRequest,
|
|
@@ -5922,7 +6370,7 @@ module.exports = {
|
|
|
5922
6370
|
GetFaceIdResultIntlResponse: GetFaceIdResultIntlResponse,
|
|
5923
6371
|
ApplySdkVerificationTokenRequest: ApplySdkVerificationTokenRequest,
|
|
5924
6372
|
GenerateReflectSequenceRequest: GenerateReflectSequenceRequest,
|
|
5925
|
-
|
|
6373
|
+
BangladeshIDCard: BangladeshIDCard,
|
|
5926
6374
|
VideoLivenessCompareResponse: VideoLivenessCompareResponse,
|
|
5927
6375
|
PhilippinesSSSID: PhilippinesSSSID,
|
|
5928
6376
|
CardVerifyResult: CardVerifyResult,
|
|
@@ -5930,7 +6378,7 @@ module.exports = {
|
|
|
5930
6378
|
VideoLivenessCompareRequest: VideoLivenessCompareRequest,
|
|
5931
6379
|
ApplyWebVerificationTokenRequest: ApplyWebVerificationTokenRequest,
|
|
5932
6380
|
ApplyWebVerificationBizTokenIntlResponse: ApplyWebVerificationBizTokenIntlResponse,
|
|
5933
|
-
|
|
6381
|
+
PakistanIDCard: PakistanIDCard,
|
|
5934
6382
|
ApplyLivenessTokenResponse: ApplyLivenessTokenResponse,
|
|
5935
6383
|
GetCardVerificationResultRequest: GetCardVerificationResultRequest,
|
|
5936
6384
|
CardInfo: CardInfo,
|
|
@@ -5939,11 +6387,13 @@ module.exports = {
|
|
|
5939
6387
|
MainlandIDCard: MainlandIDCard,
|
|
5940
6388
|
Encryption: Encryption,
|
|
5941
6389
|
Address: Address,
|
|
5942
|
-
|
|
6390
|
+
RetrievalLivenessExtraInfo: RetrievalLivenessExtraInfo,
|
|
6391
|
+
NigeriaIDCard: NigeriaIDCard,
|
|
5943
6392
|
NormalIndonesiaIDCard: NormalIndonesiaIDCard,
|
|
5944
6393
|
CompareFaceLivenessResponse: CompareFaceLivenessResponse,
|
|
5945
6394
|
IndonesiaIDCard: IndonesiaIDCard,
|
|
5946
6395
|
ApplySdkVerificationTokenResponse: ApplySdkVerificationTokenResponse,
|
|
6396
|
+
HMTPermit: HMTPermit,
|
|
5947
6397
|
CreateUploadUrlRequest: CreateUploadUrlRequest,
|
|
5948
6398
|
ApplyWebVerificationBizTokenIntlRequest: ApplyWebVerificationBizTokenIntlRequest,
|
|
5949
6399
|
GetWebVerificationResultResponse: GetWebVerificationResultResponse,
|
|
@@ -5957,7 +6407,7 @@ module.exports = {
|
|
|
5957
6407
|
GetWebVerificationResultIntlRequest: GetWebVerificationResultIntlRequest,
|
|
5958
6408
|
GeneralCard: GeneralCard,
|
|
5959
6409
|
LivenessCompareResponse: LivenessCompareResponse,
|
|
5960
|
-
|
|
6410
|
+
DetectAIFakeFacesResponse: DetectAIFakeFacesResponse,
|
|
5961
6411
|
PhilippinesUMID: PhilippinesUMID,
|
|
5962
6412
|
PhilippinesTinID: PhilippinesTinID,
|
|
5963
6413
|
ApplyCardVerificationRequest: ApplyCardVerificationRequest,
|
|
@@ -5966,6 +6416,7 @@ module.exports = {
|
|
|
5966
6416
|
OCRResult: OCRResult,
|
|
5967
6417
|
DetectReflectLivenessAndCompareResponse: DetectReflectLivenessAndCompareResponse,
|
|
5968
6418
|
GetLivenessResultRequest: GetLivenessResultRequest,
|
|
6419
|
+
PakistanDrivingLicense: PakistanDrivingLicense,
|
|
5969
6420
|
CompareResult: CompareResult,
|
|
5970
6421
|
|
|
5971
6422
|
}
|