tencentcloud-sdk-nodejs-intl-en 3.0.1384 → 3.0.1386
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/cdn/v20180606/cdn_client.js +40 -109
- package/tencentcloud/cdn/v20180606/models.js +468 -2283
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/models.js +9 -9
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/ocr/v20181119/models.js +249 -117
- package/tencentcloud/ocr/v20181119/ocr_client.js +2 -2
- package/tencentcloud/rum/v20210622/models.js +1 -1
- package/tencentcloud/sqlserver/v20180328/models.js +627 -9
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +110 -18
- package/tencentcloud/tokenhub/index.js +3 -0
- package/tencentcloud/tokenhub/v20260322/index.js +4 -0
- package/tencentcloud/tokenhub/v20260322/models.js +975 -0
- package/tencentcloud/tokenhub/v20260322/tokenhub_client.js +145 -0
- package/tencentcloud/trtc/v20190722/models.js +34 -13
|
@@ -1030,48 +1030,60 @@ class GetCardVerificationExternalResultResponse extends AbstractModel {
|
|
|
1030
1030
|
super();
|
|
1031
1031
|
|
|
1032
1032
|
/**
|
|
1033
|
-
*
|
|
1034
|
-
PASSED
|
|
1033
|
+
* Verification status. Valid values:
|
|
1035
1034
|
PROCESSING
|
|
1036
|
-
|
|
1035
|
+
ABNORMAL
|
|
1036
|
+
COMPLETED
|
|
1037
1037
|
* @type {string || null}
|
|
1038
1038
|
*/
|
|
1039
1039
|
this.Status = null;
|
|
1040
1040
|
|
|
1041
1041
|
/**
|
|
1042
|
-
*
|
|
1043
|
-
-ScreenshotSuspected: The image is a screenshot.
|
|
1044
|
-
-RetakeSuspected: The image is taken from another screen.
|
|
1045
|
-
-PaperCopy: The image is a black and white, or color photocopy.
|
|
1046
|
-
-FakeSuspected: The image of the card, or the information on the card has been edited or altered.
|
|
1047
|
-
-
|
|
1042
|
+
* Anti-counterfeiting information.
|
|
1043
|
+
- ScreenshotSuspected: The image is a screenshot.
|
|
1044
|
+
- RetakeSuspected: The image is taken from another screen.
|
|
1045
|
+
- PaperCopy: The image is a black and white, or color photocopy.
|
|
1046
|
+
- FakeSuspected: The image of the card, or the information on the card has been edited or altered.
|
|
1047
|
+
- PoorImageQuality: The image is bad quality.
|
|
1048
|
+
- InformationVerificationFailed: Information verification failed based on OCR recognition results
|
|
1049
|
+
- TooManyCards: Multiple cards present in the frame.
|
|
1050
|
+
- IncompleteCard: Captured document is incomplete.
|
|
1051
|
+
- OtherWarning: Document's authenticity is not verified for various reasons.
|
|
1052
|
+
|
|
1048
1053
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1049
1054
|
* @type {Array.<string> || null}
|
|
1050
1055
|
*/
|
|
1051
1056
|
this.WarnInfo = null;
|
|
1052
1057
|
|
|
1053
1058
|
/**
|
|
1054
|
-
* Country
|
|
1059
|
+
* Country or region of the document.
|
|
1055
1060
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1056
1061
|
* @type {string || null}
|
|
1057
1062
|
*/
|
|
1058
1063
|
this.Nationality = null;
|
|
1059
1064
|
|
|
1060
1065
|
/**
|
|
1061
|
-
*
|
|
1066
|
+
* Front-side document recognition results.
|
|
1062
1067
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1063
1068
|
* @type {GeneralCard || null}
|
|
1064
1069
|
*/
|
|
1065
1070
|
this.CardInfo = null;
|
|
1066
1071
|
|
|
1067
1072
|
/**
|
|
1068
|
-
*
|
|
1073
|
+
* Back-side document recognition results.
|
|
1074
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1075
|
+
* @type {GeneralCard || null}
|
|
1076
|
+
*/
|
|
1077
|
+
this.BackCardInfo = null;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* The token passed in the input parameters.
|
|
1069
1081
|
* @type {string || null}
|
|
1070
1082
|
*/
|
|
1071
1083
|
this.CardVerificationToken = null;
|
|
1072
1084
|
|
|
1073
1085
|
/**
|
|
1074
|
-
*
|
|
1086
|
+
* Base64-encoded head image from the document. If ReturnHeadImage was set to false or not provided in the request, this field returns an empty string. If ReturnHeadImage was set to true and this field returns an empty string, indicating a failure to extract the head image extraction failed. Please check the input document photo.
|
|
1075
1087
|
* @type {string || null}
|
|
1076
1088
|
*/
|
|
1077
1089
|
this.HeadImageBase64 = null;
|
|
@@ -1100,6 +1112,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1100
1112
|
obj.deserialize(params.CardInfo)
|
|
1101
1113
|
this.CardInfo = obj;
|
|
1102
1114
|
}
|
|
1115
|
+
|
|
1116
|
+
if (params.BackCardInfo) {
|
|
1117
|
+
let obj = new GeneralCard();
|
|
1118
|
+
obj.deserialize(params.BackCardInfo)
|
|
1119
|
+
this.BackCardInfo = obj;
|
|
1120
|
+
}
|
|
1103
1121
|
this.CardVerificationToken = 'CardVerificationToken' in params ? params.CardVerificationToken : null;
|
|
1104
1122
|
this.HeadImageBase64 = 'HeadImageBase64' in params ? params.HeadImageBase64 : null;
|
|
1105
1123
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
@@ -2391,42 +2409,94 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2391
2409
|
this.LicenseNumber = null;
|
|
2392
2410
|
|
|
2393
2411
|
/**
|
|
2394
|
-
* Personal number.
|
|
2412
|
+
* Personal number.
|
|
2395
2413
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2396
2414
|
* @type {string || null}
|
|
2397
2415
|
*/
|
|
2398
2416
|
this.PersonalNumber = null;
|
|
2399
2417
|
|
|
2400
2418
|
/**
|
|
2401
|
-
*
|
|
2419
|
+
* Full name on the document.
|
|
2402
2420
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2403
2421
|
* @type {string || null}
|
|
2404
2422
|
*/
|
|
2405
|
-
this.
|
|
2423
|
+
this.FullName = null;
|
|
2406
2424
|
|
|
2407
2425
|
/**
|
|
2408
|
-
*
|
|
2426
|
+
* Full name in local language.
|
|
2409
2427
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2410
2428
|
* @type {string || null}
|
|
2411
2429
|
*/
|
|
2412
|
-
this.
|
|
2430
|
+
this.FullNameLocal = null;
|
|
2413
2431
|
|
|
2414
2432
|
/**
|
|
2415
|
-
*
|
|
2433
|
+
* First name or given name.
|
|
2416
2434
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2417
2435
|
* @type {string || null}
|
|
2418
2436
|
*/
|
|
2419
|
-
this.
|
|
2437
|
+
this.FirstName = null;
|
|
2420
2438
|
|
|
2421
2439
|
/**
|
|
2422
|
-
*
|
|
2440
|
+
* First name in local language.
|
|
2423
2441
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2424
2442
|
* @type {string || null}
|
|
2425
2443
|
*/
|
|
2426
|
-
this.
|
|
2444
|
+
this.FirstNameLocal = null;
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Middle name.
|
|
2448
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2449
|
+
* @type {string || null}
|
|
2450
|
+
*/
|
|
2451
|
+
this.MiddleName = null;
|
|
2427
2452
|
|
|
2428
2453
|
/**
|
|
2429
|
-
*
|
|
2454
|
+
* Middle name in local language.
|
|
2455
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2456
|
+
* @type {string || null}
|
|
2457
|
+
*/
|
|
2458
|
+
this.MiddleNameLocal = null;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Last name or surname.
|
|
2462
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2463
|
+
* @type {string || null}
|
|
2464
|
+
*/
|
|
2465
|
+
this.LastName = null;
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* Last name in local language.
|
|
2469
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2470
|
+
* @type {string || null}
|
|
2471
|
+
*/
|
|
2472
|
+
this.LastNameLocal = null;
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* Gender on the document.
|
|
2476
|
+
- M: man.
|
|
2477
|
+
- F: woman.
|
|
2478
|
+
- X: other gender identity.
|
|
2479
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2480
|
+
* @type {string || null}
|
|
2481
|
+
*/
|
|
2482
|
+
this.Sex = null;
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* Date of birth.
|
|
2486
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2487
|
+
* @type {string || null}
|
|
2488
|
+
*/
|
|
2489
|
+
this.Birthday = null;
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* Birth place.
|
|
2493
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2494
|
+
* @type {string || null}
|
|
2495
|
+
*/
|
|
2496
|
+
this.BirthPlace = null;
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* Issue date.
|
|
2430
2500
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2431
2501
|
* @type {string || null}
|
|
2432
2502
|
*/
|
|
@@ -2440,105 +2510,158 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2440
2510
|
this.IssuedAuthority = null;
|
|
2441
2511
|
|
|
2442
2512
|
/**
|
|
2443
|
-
*
|
|
2513
|
+
* Place of issue.
|
|
2514
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2515
|
+
* @type {string || null}
|
|
2516
|
+
*/
|
|
2517
|
+
this.IssuedPlace = null;
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Issuing country.
|
|
2444
2521
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2445
2522
|
* @type {string || null}
|
|
2446
2523
|
*/
|
|
2447
2524
|
this.IssuedCountry = null;
|
|
2448
2525
|
|
|
2449
2526
|
/**
|
|
2450
|
-
*
|
|
2527
|
+
* Country code of issue, ISO Alpha-3 format.
|
|
2451
2528
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2452
2529
|
* @type {string || null}
|
|
2453
2530
|
*/
|
|
2454
|
-
this.
|
|
2531
|
+
this.IssuedCountryCode = null;
|
|
2455
2532
|
|
|
2456
2533
|
/**
|
|
2457
|
-
*
|
|
2534
|
+
* Expiry date.
|
|
2458
2535
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2459
2536
|
* @type {string || null}
|
|
2460
2537
|
*/
|
|
2461
|
-
this.
|
|
2538
|
+
this.ExpirationDate = null;
|
|
2462
2539
|
|
|
2463
2540
|
/**
|
|
2464
|
-
*
|
|
2541
|
+
* First line of the Machine Readable Zone (MRZ).
|
|
2465
2542
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2466
2543
|
* @type {string || null}
|
|
2467
2544
|
*/
|
|
2468
|
-
this.
|
|
2545
|
+
this.MRZLine1 = null;
|
|
2469
2546
|
|
|
2470
2547
|
/**
|
|
2471
|
-
*
|
|
2472
|
-
- M: man.
|
|
2473
|
-
- F: woman.
|
|
2474
|
-
- X: other gender identity.
|
|
2548
|
+
* Second line of the Machine Readable Zone (MRZ).
|
|
2475
2549
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2476
2550
|
* @type {string || null}
|
|
2477
2551
|
*/
|
|
2478
|
-
this.
|
|
2552
|
+
this.MRZLine2 = null;
|
|
2479
2553
|
|
|
2480
2554
|
/**
|
|
2481
|
-
*
|
|
2555
|
+
* Document nationality, following ISO 3166 country coding specification.
|
|
2482
2556
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2483
2557
|
* @type {string || null}
|
|
2484
2558
|
*/
|
|
2485
|
-
this.
|
|
2559
|
+
this.Nationality = null;
|
|
2486
2560
|
|
|
2487
2561
|
/**
|
|
2488
|
-
*
|
|
2562
|
+
* Address information on the document.
|
|
2563
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2564
|
+
* @type {AddressInfo || null}
|
|
2565
|
+
*/
|
|
2566
|
+
this.Address = null;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* Religion (if displayed on the document).
|
|
2489
2570
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2490
2571
|
* @type {string || null}
|
|
2491
2572
|
*/
|
|
2492
|
-
this.
|
|
2573
|
+
this.Religion = null;
|
|
2493
2574
|
|
|
2494
2575
|
/**
|
|
2495
|
-
*
|
|
2576
|
+
* Type of document.
|
|
2496
2577
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2497
2578
|
* @type {string || null}
|
|
2498
2579
|
*/
|
|
2499
|
-
this.
|
|
2580
|
+
this.Type = null;
|
|
2500
2581
|
|
|
2501
2582
|
/**
|
|
2502
|
-
*
|
|
2583
|
+
* Blood type.
|
|
2503
2584
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2504
2585
|
* @type {string || null}
|
|
2505
2586
|
*/
|
|
2506
|
-
this.
|
|
2587
|
+
this.BloodType = null;
|
|
2507
2588
|
|
|
2508
2589
|
/**
|
|
2509
|
-
*
|
|
2590
|
+
* Height.
|
|
2510
2591
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2511
2592
|
* @type {string || null}
|
|
2512
2593
|
*/
|
|
2513
|
-
this.
|
|
2594
|
+
this.Height = null;
|
|
2514
2595
|
|
|
2515
2596
|
/**
|
|
2516
|
-
*
|
|
2597
|
+
* Weight.
|
|
2517
2598
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2518
|
-
* @type {
|
|
2599
|
+
* @type {string || null}
|
|
2519
2600
|
*/
|
|
2520
|
-
this.
|
|
2601
|
+
this.Weight = null;
|
|
2521
2602
|
|
|
2522
2603
|
/**
|
|
2523
|
-
*
|
|
2604
|
+
* Vehicle class authorized on the driver license (e.g., A, B, C).
|
|
2524
2605
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2525
2606
|
* @type {string || null}
|
|
2526
2607
|
*/
|
|
2527
|
-
this.
|
|
2608
|
+
this.VehicleClass = null;
|
|
2528
2609
|
|
|
2529
2610
|
/**
|
|
2530
|
-
*
|
|
2611
|
+
* Restrictions on the driver license.
|
|
2531
2612
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2532
2613
|
* @type {string || null}
|
|
2533
2614
|
*/
|
|
2534
|
-
this.
|
|
2615
|
+
this.Restrictions = null;
|
|
2535
2616
|
|
|
2536
2617
|
/**
|
|
2537
|
-
*
|
|
2618
|
+
* Endorsements or additional records on the driver license.
|
|
2538
2619
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2539
2620
|
* @type {string || null}
|
|
2540
2621
|
*/
|
|
2541
|
-
this.
|
|
2622
|
+
this.Endorsement = null;
|
|
2623
|
+
|
|
2624
|
+
/**
|
|
2625
|
+
* Supplementary fields (varies by document type).
|
|
2626
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2627
|
+
* @type {string || null}
|
|
2628
|
+
*/
|
|
2629
|
+
this.Others = null;
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* First line of the passport MRZ (Machine Readable Zone).
|
|
2633
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2634
|
+
* @type {string || null}
|
|
2635
|
+
*/
|
|
2636
|
+
this.PassportCodeFirst = null;
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Second line of the passport MRZ (Machine Readable Zone).
|
|
2640
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2641
|
+
* @type {string || null}
|
|
2642
|
+
*/
|
|
2643
|
+
this.PassportCodeSecond = null;
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Expiry date.
|
|
2647
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2648
|
+
* @type {string || null}
|
|
2649
|
+
*/
|
|
2650
|
+
this.DueDate = null;
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* Age. 0 means no valid info.
|
|
2654
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2655
|
+
* @type {string || null}
|
|
2656
|
+
*/
|
|
2657
|
+
this.Age = null;
|
|
2658
|
+
|
|
2659
|
+
/**
|
|
2660
|
+
* Registration number.
|
|
2661
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2662
|
+
* @type {string || null}
|
|
2663
|
+
*/
|
|
2664
|
+
this.RegistrationNumber = null;
|
|
2542
2665
|
|
|
2543
2666
|
}
|
|
2544
2667
|
|
|
@@ -2551,31 +2674,46 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2551
2674
|
}
|
|
2552
2675
|
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
2553
2676
|
this.PersonalNumber = 'PersonalNumber' in params ? params.PersonalNumber : null;
|
|
2554
|
-
this.PassportCodeFirst = 'PassportCodeFirst' in params ? params.PassportCodeFirst : null;
|
|
2555
|
-
this.PassportCodeSecond = 'PassportCodeSecond' in params ? params.PassportCodeSecond : null;
|
|
2556
|
-
this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
|
|
2557
|
-
this.DueDate = 'DueDate' in params ? params.DueDate : null;
|
|
2558
|
-
this.IssuedDate = 'IssuedDate' in params ? params.IssuedDate : null;
|
|
2559
|
-
this.IssuedAuthority = 'IssuedAuthority' in params ? params.IssuedAuthority : null;
|
|
2560
|
-
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
2561
2677
|
this.FullName = 'FullName' in params ? params.FullName : null;
|
|
2678
|
+
this.FullNameLocal = 'FullNameLocal' in params ? params.FullNameLocal : null;
|
|
2562
2679
|
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
2680
|
+
this.FirstNameLocal = 'FirstNameLocal' in params ? params.FirstNameLocal : null;
|
|
2681
|
+
this.MiddleName = 'MiddleName' in params ? params.MiddleName : null;
|
|
2682
|
+
this.MiddleNameLocal = 'MiddleNameLocal' in params ? params.MiddleNameLocal : null;
|
|
2563
2683
|
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
2684
|
+
this.LastNameLocal = 'LastNameLocal' in params ? params.LastNameLocal : null;
|
|
2564
2685
|
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
2565
|
-
this.Age = 'Age' in params ? params.Age : null;
|
|
2566
2686
|
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
2567
2687
|
this.BirthPlace = 'BirthPlace' in params ? params.BirthPlace : null;
|
|
2688
|
+
this.IssuedDate = 'IssuedDate' in params ? params.IssuedDate : null;
|
|
2689
|
+
this.IssuedAuthority = 'IssuedAuthority' in params ? params.IssuedAuthority : null;
|
|
2690
|
+
this.IssuedPlace = 'IssuedPlace' in params ? params.IssuedPlace : null;
|
|
2691
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
2692
|
+
this.IssuedCountryCode = 'IssuedCountryCode' in params ? params.IssuedCountryCode : null;
|
|
2693
|
+
this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
|
|
2694
|
+
this.MRZLine1 = 'MRZLine1' in params ? params.MRZLine1 : null;
|
|
2695
|
+
this.MRZLine2 = 'MRZLine2' in params ? params.MRZLine2 : null;
|
|
2568
2696
|
this.Nationality = 'Nationality' in params ? params.Nationality : null;
|
|
2569
|
-
this.RegistrationNumber = 'RegistrationNumber' in params ? params.RegistrationNumber : null;
|
|
2570
2697
|
|
|
2571
2698
|
if (params.Address) {
|
|
2572
2699
|
let obj = new AddressInfo();
|
|
2573
2700
|
obj.deserialize(params.Address)
|
|
2574
2701
|
this.Address = obj;
|
|
2575
2702
|
}
|
|
2576
|
-
this.
|
|
2577
|
-
this.
|
|
2578
|
-
this.
|
|
2703
|
+
this.Religion = 'Religion' in params ? params.Religion : null;
|
|
2704
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2705
|
+
this.BloodType = 'BloodType' in params ? params.BloodType : null;
|
|
2706
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
2707
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
2708
|
+
this.VehicleClass = 'VehicleClass' in params ? params.VehicleClass : null;
|
|
2709
|
+
this.Restrictions = 'Restrictions' in params ? params.Restrictions : null;
|
|
2710
|
+
this.Endorsement = 'Endorsement' in params ? params.Endorsement : null;
|
|
2711
|
+
this.Others = 'Others' in params ? params.Others : null;
|
|
2712
|
+
this.PassportCodeFirst = 'PassportCodeFirst' in params ? params.PassportCodeFirst : null;
|
|
2713
|
+
this.PassportCodeSecond = 'PassportCodeSecond' in params ? params.PassportCodeSecond : null;
|
|
2714
|
+
this.DueDate = 'DueDate' in params ? params.DueDate : null;
|
|
2715
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
2716
|
+
this.RegistrationNumber = 'RegistrationNumber' in params ? params.RegistrationNumber : null;
|
|
2579
2717
|
|
|
2580
2718
|
}
|
|
2581
2719
|
}
|
|
@@ -6585,84 +6723,62 @@ class ApplyCardVerificationExternalRequest extends AbstractModel {
|
|
|
6585
6723
|
super();
|
|
6586
6724
|
|
|
6587
6725
|
/**
|
|
6588
|
-
*
|
|
6589
|
-
ARG:Argentina
|
|
6590
|
-
AUS:Australia
|
|
6591
|
-
KHM:Cambodia
|
|
6592
|
-
CAN:Canada
|
|
6593
|
-
SGP:Singapore
|
|
6594
|
-
CHL:Chile
|
|
6595
|
-
DEU:Germany
|
|
6596
|
-
MEX:Mexico
|
|
6597
|
-
MMR:Myanmar
|
|
6598
|
-
NZL:New Zealand
|
|
6599
|
-
BGD:Bangladesh
|
|
6600
|
-
NGA:Nigeria
|
|
6601
|
-
PAK:Pakistan
|
|
6602
|
-
RUS:Russia
|
|
6603
|
-
IDN:Indonesia
|
|
6604
|
-
HKG:Hong Kong, China
|
|
6605
|
-
THA:Thailand
|
|
6606
|
-
MYS:Malaysia
|
|
6607
|
-
JPN:Japan
|
|
6608
|
-
PHL:Philippines
|
|
6609
|
-
MAC:Macao, China
|
|
6610
|
-
CHN:ChinaPermit
|
|
6611
|
-
TWN:Taiwan, China
|
|
6612
|
-
BGD:Bangladesh
|
|
6613
|
-
NGA:Nigeria
|
|
6614
|
-
PAK:Pakistan
|
|
6615
|
-
|
|
6616
|
-
AUTO: supports cards and documents from 200+ countries
|
|
6726
|
+
* Country/Region of the document. For the full list of supported countries/regions, refer to the API description.
|
|
6617
6727
|
* @type {string || null}
|
|
6618
6728
|
*/
|
|
6619
6729
|
this.Nationality = null;
|
|
6620
6730
|
|
|
6621
6731
|
/**
|
|
6622
|
-
* Document type.
|
|
6623
|
-
ID_CARD
|
|
6624
|
-
PASSPORT
|
|
6625
|
-
DRIVING_LICENSE
|
|
6626
|
-
RESIDENCE_PERMIT (Supported in certain countries/regions, including Australia, Canada, Germany, New Zealand, Nigeria, Singapore).
|
|
6732
|
+
* Document type. Supported values: ID_CARD, PASSPORT, DRIVING_LICENSE, RESIDENCE_PERMIT (only supported in certain countries/regions, including Australia, Canada, Germany, New Zealand, Nigeria, Singapore).
|
|
6627
6733
|
* @type {string || null}
|
|
6628
6734
|
*/
|
|
6629
6735
|
this.CardType = null;
|
|
6630
6736
|
|
|
6631
6737
|
/**
|
|
6632
|
-
*
|
|
6633
|
-
Supported image
|
|
6634
|
-
Supported image
|
|
6738
|
+
* Base64-encoded image of the document front.
|
|
6739
|
+
Supported image formats: PNG, JPG/JPEG (GIF not supported).
|
|
6740
|
+
Supported image size: The downloaded image after Base64 encoding must not exceed 2 MB. Image download time must not exceed 5 seconds.
|
|
6741
|
+
Supported image resolution: Between 256*256 and 4096*4096 pixels.
|
|
6742
|
+
Note: You must provide either ImageUrlFront or ImageBase64Front. If both are provided, only ImageUrlFront is used.
|
|
6635
6743
|
* @type {string || null}
|
|
6636
6744
|
*/
|
|
6637
6745
|
this.ImageBase64Front = null;
|
|
6638
6746
|
|
|
6639
6747
|
/**
|
|
6640
6748
|
* The Base64 value of the reverse side of the document. Supported image formats: PNG, JPG/JPEG.
|
|
6641
|
-
Supported image size: the downloaded image after Base64 encoding must be no more than 2M.
|
|
6749
|
+
Supported image size: the downloaded image after Base64 encoding must be no more than 2M. Image download time must be no more than 5 seconds.
|
|
6642
6750
|
Supported image resolution: between 256 \* 256 and 4096 \* 4096. For some documents, either ImageUrlBack or ImageBase64Back must be provided. If both are provided, only ImageUrlBack is used.
|
|
6643
6751
|
* @type {string || null}
|
|
6644
6752
|
*/
|
|
6645
6753
|
this.ImageBase64Back = null;
|
|
6646
6754
|
|
|
6647
6755
|
/**
|
|
6648
|
-
*
|
|
6649
|
-
Supported image
|
|
6650
|
-
Supported image
|
|
6756
|
+
* URL of the document front image.
|
|
6757
|
+
Supported image formats: PNG, JPG/JPEG (GIF not supported).
|
|
6758
|
+
Supported image size: The downloaded image after Base64 encoding must not exceed 2 MB. Image download time must not exceed 5 seconds.
|
|
6759
|
+
Supported image resolution: Between 256*256 and 4096*4096 pixels.
|
|
6760
|
+
Note: You must provide either ImageUrlFront or ImageBase64Front. If both are provided, only ImageUrlFront is used.
|
|
6651
6761
|
* @type {string || null}
|
|
6652
6762
|
*/
|
|
6653
6763
|
this.ImageUrlFront = null;
|
|
6654
6764
|
|
|
6655
6765
|
/**
|
|
6656
|
-
*
|
|
6657
|
-
Supported image
|
|
6658
|
-
Supported image
|
|
6659
|
-
|
|
6766
|
+
* URL of the document back image.
|
|
6767
|
+
Supported image formats: PNG, JPG/JPEG (GIF not supported).
|
|
6768
|
+
Supported image size: The downloaded image after Base64 encoding must not exceed 2 MB. Image download time must not exceed 5 seconds.
|
|
6769
|
+
Supported image resolution: Between 256*256 and 4096*4096 pixels.
|
|
6770
|
+
Note: For some documents, you must provide either ImageUrlBack or ImageBase64Back. If both are provided, only ImageUrlBack is used.
|
|
6660
6771
|
* @type {string || null}
|
|
6661
6772
|
*/
|
|
6662
6773
|
this.ImageUrlBack = null;
|
|
6663
6774
|
|
|
6664
6775
|
/**
|
|
6665
|
-
* Whether to
|
|
6776
|
+
* Whether to crop and return the face image from the document. Default: false.
|
|
6777
|
+
If set to true, the image constraints are:
|
|
6778
|
+
- Size after Base64 encoding must not exceed 5 MB.
|
|
6779
|
+
- Maximum pixel width/height: 4000 for JPG, 2000 for other formats.
|
|
6780
|
+
- Minimum pixel width/height: 64.
|
|
6781
|
+
- Supported formats: PNG, JPG, JPEG, BMP (GIF not supported).
|
|
6666
6782
|
* @type {boolean || null}
|
|
6667
6783
|
*/
|
|
6668
6784
|
this.ReturnHeadImage = null;
|
|
@@ -10403,7 +10519,7 @@ class ApplyCardVerificationExternalResponse extends AbstractModel {
|
|
|
10403
10519
|
super();
|
|
10404
10520
|
|
|
10405
10521
|
/**
|
|
10406
|
-
*
|
|
10522
|
+
* Unique token for the verification process, used to retrieve the result.
|
|
10407
10523
|
* @type {string || null}
|
|
10408
10524
|
*/
|
|
10409
10525
|
this.CardVerificationToken = null;
|
|
@@ -12803,21 +12919,35 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
12803
12919
|
this.PostalCode = null;
|
|
12804
12920
|
|
|
12805
12921
|
/**
|
|
12806
|
-
*
|
|
12922
|
+
* Sub-region or state/province.
|
|
12807
12923
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12808
12924
|
* @type {string || null}
|
|
12809
12925
|
*/
|
|
12810
12926
|
this.Subdivision = null;
|
|
12811
12927
|
|
|
12812
12928
|
/**
|
|
12813
|
-
*
|
|
12929
|
+
* District or county.
|
|
12930
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12931
|
+
* @type {string || null}
|
|
12932
|
+
*/
|
|
12933
|
+
this.District = null;
|
|
12934
|
+
|
|
12935
|
+
/**
|
|
12936
|
+
* City name.
|
|
12814
12937
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12815
12938
|
* @type {string || null}
|
|
12816
12939
|
*/
|
|
12817
12940
|
this.City = null;
|
|
12818
12941
|
|
|
12819
12942
|
/**
|
|
12820
|
-
*
|
|
12943
|
+
* Subdistrict or township.
|
|
12944
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12945
|
+
* @type {string || null}
|
|
12946
|
+
*/
|
|
12947
|
+
this.Subdistrict = null;
|
|
12948
|
+
|
|
12949
|
+
/**
|
|
12950
|
+
* Formatted complete address.
|
|
12821
12951
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12822
12952
|
* @type {string || null}
|
|
12823
12953
|
*/
|
|
@@ -12852,7 +12982,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
12852
12982
|
this.LineFour = null;
|
|
12853
12983
|
|
|
12854
12984
|
/**
|
|
12855
|
-
* Specifies the fifth line
|
|
12985
|
+
* Specifies the fifth line of the address bar.
|
|
12856
12986
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12857
12987
|
* @type {string || null}
|
|
12858
12988
|
*/
|
|
@@ -12870,7 +13000,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
12870
13000
|
this.Country = 'Country' in params ? params.Country : null;
|
|
12871
13001
|
this.PostalCode = 'PostalCode' in params ? params.PostalCode : null;
|
|
12872
13002
|
this.Subdivision = 'Subdivision' in params ? params.Subdivision : null;
|
|
13003
|
+
this.District = 'District' in params ? params.District : null;
|
|
12873
13004
|
this.City = 'City' in params ? params.City : null;
|
|
13005
|
+
this.Subdistrict = 'Subdistrict' in params ? params.Subdistrict : null;
|
|
12874
13006
|
this.FormattedAddress = 'FormattedAddress' in params ? params.FormattedAddress : null;
|
|
12875
13007
|
this.LineOne = 'LineOne' in params ? params.LineOne : null;
|
|
12876
13008
|
this.LineTwo = 'LineTwo' in params ? params.LineTwo : null;
|
|
@@ -365,9 +365,9 @@ This interface supports regional scope: countries with machine-readable passport
|
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
|
-
* This API
|
|
368
|
+
* This API provides general OCR recognition for overseas identity documents.
|
|
369
369
|
|
|
370
|
-
The following
|
|
370
|
+
The following table lists the supported countries or regions, document types, and whether the back side is required:
|
|
371
371
|
|
|
372
372
|
<table>
|
|
373
373
|
<thead>
|
|
@@ -10912,7 +10912,7 @@ class CreateReleaseFileResponse extends AbstractModel {
|
|
|
10912
10912
|
this.Msg = null;
|
|
10913
10913
|
|
|
10914
10914
|
/**
|
|
10915
|
-
* The unique request ID,
|
|
10915
|
+
* 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.
|
|
10916
10916
|
* @type {string || null}
|
|
10917
10917
|
*/
|
|
10918
10918
|
this.RequestId = null;
|