tencentcloud-sdk-nodejs-intl-en 3.0.1342 → 3.0.1343
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/clb/v20180317/clb_client.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +15 -2
- package/tencentcloud/faceid/v20180301/models.js +156 -41
- package/tencentcloud/teo/v20220901/models.js +1 -53
package/package.json
CHANGED
|
@@ -652,7 +652,7 @@ This is an asynchronous API. After it returns the result successfully, you can c
|
|
|
652
652
|
This API is used to perform asynchronous operations. After returning a successful result, call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
653
653
|
This API is used to describe restrictions.
|
|
654
654
|
-SCF binding is supported only in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Tokyo, and Silicon Valley.
|
|
655
|
-
-Only the standard account type supports binding SCF. The classic account type is unsupported. We recommend upgrading to the standard account type. For more information, see [
|
|
655
|
+
-Only the standard account type supports binding SCF. The classic account type is unsupported. We recommend upgrading to the standard account type. For more information, see [Checking Account Type](https://www.tencentcloud.com/document/product/684/15246).
|
|
656
656
|
-Classic CLB does not support binding SCF.
|
|
657
657
|
-Basic Network Type does not support binding SCF.
|
|
658
658
|
-CLB supports binding ALL SCFs in the same region by default, supports cross-VPC binding, but cross-region selection is not supported.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1343";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -35,7 +35,7 @@ const JapanIDCard = models.JapanIDCard;
|
|
|
35
35
|
const BankCardVerificationRequest = models.BankCardVerificationRequest;
|
|
36
36
|
const EditDetail = models.EditDetail;
|
|
37
37
|
const NigeriaDrivingLicense = models.NigeriaDrivingLicense;
|
|
38
|
-
const
|
|
38
|
+
const CheckBankCardInformationResponse = models.CheckBankCardInformationResponse;
|
|
39
39
|
const ThailandIDCard = models.ThailandIDCard;
|
|
40
40
|
const VerificationDetail = models.VerificationDetail;
|
|
41
41
|
const GetWebVerificationResultIntlResponse = models.GetWebVerificationResultIntlResponse;
|
|
@@ -45,6 +45,7 @@ const SingaporeIDCard = models.SingaporeIDCard;
|
|
|
45
45
|
const IndonesiaDrivingLicense = models.IndonesiaDrivingLicense;
|
|
46
46
|
const GetFaceIdResultIntlRequest = models.GetFaceIdResultIntlRequest;
|
|
47
47
|
const NormalCardInfo = models.NormalCardInfo;
|
|
48
|
+
const PakistanDrivingLicense = models.PakistanDrivingLicense;
|
|
48
49
|
const BankCard4EVerificationResponse = models.BankCard4EVerificationResponse;
|
|
49
50
|
const GenerateReflectSequenceRequest = models.GenerateReflectSequenceRequest;
|
|
50
51
|
const BangladeshIDCard = models.BangladeshIDCard;
|
|
@@ -54,7 +55,7 @@ const CardVerifyResult = models.CardVerifyResult;
|
|
|
54
55
|
const BankCard2EVerificationRequest = models.BankCard2EVerificationRequest;
|
|
55
56
|
const Address = models.Address;
|
|
56
57
|
const PakistanIDCard = models.PakistanIDCard;
|
|
57
|
-
const
|
|
58
|
+
const CheckBankCardInformationRequest = models.CheckBankCardInformationRequest;
|
|
58
59
|
const GetLivenessResultRequest = models.GetLivenessResultRequest;
|
|
59
60
|
const CardInfo = models.CardInfo;
|
|
60
61
|
const ExtraInfo = models.ExtraInfo;
|
|
@@ -85,6 +86,7 @@ const LivenessCompareResponse = models.LivenessCompareResponse;
|
|
|
85
86
|
const MacaoIDCard = models.MacaoIDCard;
|
|
86
87
|
const PhilippinesUMID = models.PhilippinesUMID;
|
|
87
88
|
const BankCard2EVerificationResponse = models.BankCard2EVerificationResponse;
|
|
89
|
+
const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
|
|
88
90
|
const PhilippinesTinID = models.PhilippinesTinID;
|
|
89
91
|
const DetectAIFakeFacesResponse = models.DetectAIFakeFacesResponse;
|
|
90
92
|
const LivenessCompareRequest = models.LivenessCompareRequest;
|
|
@@ -296,6 +298,17 @@ The data will be stored in a COS bucket in the region specified by the parameter
|
|
|
296
298
|
this.request("DetectAIFakeFaces", req, resp, cb);
|
|
297
299
|
}
|
|
298
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Bank card basic information query
|
|
303
|
+
* @param {CheckBankCardInformationRequest} req
|
|
304
|
+
* @param {function(string, CheckBankCardInformationResponse):void} cb
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
CheckBankCardInformation(req, cb) {
|
|
308
|
+
let resp = new CheckBankCardInformationResponse();
|
|
309
|
+
this.request("CheckBankCardInformation", req, resp, cb);
|
|
310
|
+
}
|
|
311
|
+
|
|
299
312
|
/**
|
|
300
313
|
* This API is used to get the verification result with the corresponding token (SdkToken) after the liveness detection is completed. The token is valid for two hours after issuance and can be called multiple times.
|
|
301
314
|
* @param {GetLivenessResultRequest} req
|
|
@@ -1322,54 +1322,58 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1322
1322
|
}
|
|
1323
1323
|
|
|
1324
1324
|
/**
|
|
1325
|
-
*
|
|
1325
|
+
* CheckBankCardInformation response structure.
|
|
1326
1326
|
* @class
|
|
1327
1327
|
*/
|
|
1328
|
-
class
|
|
1328
|
+
class CheckBankCardInformationResponse extends AbstractModel {
|
|
1329
1329
|
constructor(){
|
|
1330
1330
|
super();
|
|
1331
1331
|
|
|
1332
1332
|
/**
|
|
1333
|
-
*
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1333
|
+
* Verification result code. Billing is as follows.
|
|
1334
|
+
-Result code for charges
|
|
1335
|
+
Query succeeded
|
|
1336
|
+
-1: Not found
|
|
1337
|
+
-5: Invalid card number
|
|
1338
|
+
|
|
1339
|
+
-Result code with no charge
|
|
1340
|
+
-Verification Center Service is busy.
|
|
1341
|
+
-3: Bank card not found.
|
|
1342
|
+
-4: Authentication attempts exceeded the daily limit. Retry the next day.
|
|
1343
|
+
-6: This bank card type is not currently supported
|
|
1338
1344
|
|
|
1339
|
-
/**
|
|
1340
|
-
* First name.
|
|
1341
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1342
1345
|
* @type {string || null}
|
|
1343
1346
|
*/
|
|
1344
|
-
this.
|
|
1347
|
+
this.Result = null;
|
|
1345
1348
|
|
|
1346
1349
|
/**
|
|
1347
|
-
*
|
|
1348
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1350
|
+
* Business result description.
|
|
1349
1351
|
* @type {string || null}
|
|
1350
1352
|
*/
|
|
1351
|
-
this.
|
|
1353
|
+
this.Description = null;
|
|
1352
1354
|
|
|
1353
1355
|
/**
|
|
1354
|
-
*
|
|
1355
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1356
|
+
* Account opening bank.
|
|
1356
1357
|
* @type {string || null}
|
|
1357
1358
|
*/
|
|
1358
|
-
this.
|
|
1359
|
+
this.AccountBank = null;
|
|
1359
1360
|
|
|
1360
1361
|
/**
|
|
1361
|
-
*
|
|
1362
|
-
|
|
1363
|
-
|
|
1362
|
+
* Card type.
|
|
1363
|
+
-Value range:
|
|
1364
|
+
1: Debit card.
|
|
1365
|
+
2: Credit card.
|
|
1366
|
+
3: Prepaid card.
|
|
1367
|
+
4: Credit card
|
|
1368
|
+
* @type {number || null}
|
|
1364
1369
|
*/
|
|
1365
|
-
this.
|
|
1370
|
+
this.AccountType = null;
|
|
1366
1371
|
|
|
1367
1372
|
/**
|
|
1368
|
-
*
|
|
1369
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1373
|
+
* 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.
|
|
1370
1374
|
* @type {string || null}
|
|
1371
1375
|
*/
|
|
1372
|
-
this.
|
|
1376
|
+
this.RequestId = null;
|
|
1373
1377
|
|
|
1374
1378
|
}
|
|
1375
1379
|
|
|
@@ -1380,12 +1384,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1380
1384
|
if (!params) {
|
|
1381
1385
|
return;
|
|
1382
1386
|
}
|
|
1383
|
-
this.
|
|
1384
|
-
this.
|
|
1385
|
-
this.
|
|
1386
|
-
this.
|
|
1387
|
-
this.
|
|
1388
|
-
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
1387
|
+
this.Result = 'Result' in params ? params.Result : null;
|
|
1388
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1389
|
+
this.AccountBank = 'AccountBank' in params ? params.AccountBank : null;
|
|
1390
|
+
this.AccountType = 'AccountType' in params ? params.AccountType : null;
|
|
1391
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1389
1392
|
|
|
1390
1393
|
}
|
|
1391
1394
|
}
|
|
@@ -2324,6 +2327,75 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2324
2327
|
}
|
|
2325
2328
|
}
|
|
2326
2329
|
|
|
2330
|
+
/**
|
|
2331
|
+
* Pakistan driving license
|
|
2332
|
+
* @class
|
|
2333
|
+
*/
|
|
2334
|
+
class PakistanDrivingLicense extends AbstractModel {
|
|
2335
|
+
constructor(){
|
|
2336
|
+
super();
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* Last name.
|
|
2340
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2341
|
+
* @type {string || null}
|
|
2342
|
+
*/
|
|
2343
|
+
this.LastName = null;
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* First name.
|
|
2347
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2348
|
+
* @type {string || null}
|
|
2349
|
+
*/
|
|
2350
|
+
this.FirstName = null;
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* License number.
|
|
2354
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2355
|
+
* @type {string || null}
|
|
2356
|
+
*/
|
|
2357
|
+
this.LicenseNumber = null;
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* Age.
|
|
2361
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2362
|
+
* @type {string || null}
|
|
2363
|
+
*/
|
|
2364
|
+
this.Age = null;
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* Birthday.
|
|
2368
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2369
|
+
* @type {string || null}
|
|
2370
|
+
*/
|
|
2371
|
+
this.Birthday = null;
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Gender.
|
|
2375
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2376
|
+
* @type {string || null}
|
|
2377
|
+
*/
|
|
2378
|
+
this.IssuedCountry = null;
|
|
2379
|
+
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* @private
|
|
2384
|
+
*/
|
|
2385
|
+
deserialize(params) {
|
|
2386
|
+
if (!params) {
|
|
2387
|
+
return;
|
|
2388
|
+
}
|
|
2389
|
+
this.LastName = 'LastName' in params ? params.LastName : null;
|
|
2390
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
2391
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
2392
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
2393
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
2394
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
2395
|
+
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2327
2399
|
/**
|
|
2328
2400
|
* BankCard4EVerification response structure.
|
|
2329
2401
|
* @class
|
|
@@ -3049,24 +3121,25 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3049
3121
|
}
|
|
3050
3122
|
|
|
3051
3123
|
/**
|
|
3052
|
-
*
|
|
3124
|
+
* CheckBankCardInformation request structure.
|
|
3053
3125
|
* @class
|
|
3054
3126
|
*/
|
|
3055
|
-
class
|
|
3127
|
+
class CheckBankCardInformationRequest extends AbstractModel {
|
|
3056
3128
|
constructor(){
|
|
3057
3129
|
super();
|
|
3058
3130
|
|
|
3059
3131
|
/**
|
|
3060
|
-
*
|
|
3132
|
+
* Bank card number.
|
|
3061
3133
|
* @type {string || null}
|
|
3062
3134
|
*/
|
|
3063
|
-
this.
|
|
3135
|
+
this.BankCard = null;
|
|
3064
3136
|
|
|
3065
3137
|
/**
|
|
3066
|
-
*
|
|
3067
|
-
|
|
3138
|
+
* Sensitive data encryption info.
|
|
3139
|
+
-Users with encryption requirements for incoming information (bank card number) can use this parameter. For details, please click the left-side link.
|
|
3140
|
+
* @type {Encryption || null}
|
|
3068
3141
|
*/
|
|
3069
|
-
this.
|
|
3142
|
+
this.Encryption = null;
|
|
3070
3143
|
|
|
3071
3144
|
}
|
|
3072
3145
|
|
|
@@ -3077,8 +3150,13 @@ class ApplyLivenessTokenResponse extends AbstractModel {
|
|
|
3077
3150
|
if (!params) {
|
|
3078
3151
|
return;
|
|
3079
3152
|
}
|
|
3080
|
-
this.
|
|
3081
|
-
|
|
3153
|
+
this.BankCard = 'BankCard' in params ? params.BankCard : null;
|
|
3154
|
+
|
|
3155
|
+
if (params.Encryption) {
|
|
3156
|
+
let obj = new Encryption();
|
|
3157
|
+
obj.deserialize(params.Encryption)
|
|
3158
|
+
this.Encryption = obj;
|
|
3159
|
+
}
|
|
3082
3160
|
|
|
3083
3161
|
}
|
|
3084
3162
|
}
|
|
@@ -5741,6 +5819,41 @@ class BankCard2EVerificationResponse extends AbstractModel {
|
|
|
5741
5819
|
}
|
|
5742
5820
|
}
|
|
5743
5821
|
|
|
5822
|
+
/**
|
|
5823
|
+
* ApplyLivenessToken response structure.
|
|
5824
|
+
* @class
|
|
5825
|
+
*/
|
|
5826
|
+
class ApplyLivenessTokenResponse extends AbstractModel {
|
|
5827
|
+
constructor(){
|
|
5828
|
+
super();
|
|
5829
|
+
|
|
5830
|
+
/**
|
|
5831
|
+
* The token used to identify an SDK-based verification process. It is valid for 10 minutes and can be used to get the verification result after the process is completed.
|
|
5832
|
+
* @type {string || null}
|
|
5833
|
+
*/
|
|
5834
|
+
this.SdkToken = null;
|
|
5835
|
+
|
|
5836
|
+
/**
|
|
5837
|
+
* 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.
|
|
5838
|
+
* @type {string || null}
|
|
5839
|
+
*/
|
|
5840
|
+
this.RequestId = null;
|
|
5841
|
+
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5844
|
+
/**
|
|
5845
|
+
* @private
|
|
5846
|
+
*/
|
|
5847
|
+
deserialize(params) {
|
|
5848
|
+
if (!params) {
|
|
5849
|
+
return;
|
|
5850
|
+
}
|
|
5851
|
+
this.SdkToken = 'SdkToken' in params ? params.SdkToken : null;
|
|
5852
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5853
|
+
|
|
5854
|
+
}
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5744
5857
|
/**
|
|
5745
5858
|
* Philippines TinID Card
|
|
5746
5859
|
* @class
|
|
@@ -6511,7 +6624,7 @@ module.exports = {
|
|
|
6511
6624
|
BankCardVerificationRequest: BankCardVerificationRequest,
|
|
6512
6625
|
EditDetail: EditDetail,
|
|
6513
6626
|
NigeriaDrivingLicense: NigeriaDrivingLicense,
|
|
6514
|
-
|
|
6627
|
+
CheckBankCardInformationResponse: CheckBankCardInformationResponse,
|
|
6515
6628
|
ThailandIDCard: ThailandIDCard,
|
|
6516
6629
|
VerificationDetail: VerificationDetail,
|
|
6517
6630
|
GetWebVerificationResultIntlResponse: GetWebVerificationResultIntlResponse,
|
|
@@ -6521,6 +6634,7 @@ module.exports = {
|
|
|
6521
6634
|
IndonesiaDrivingLicense: IndonesiaDrivingLicense,
|
|
6522
6635
|
GetFaceIdResultIntlRequest: GetFaceIdResultIntlRequest,
|
|
6523
6636
|
NormalCardInfo: NormalCardInfo,
|
|
6637
|
+
PakistanDrivingLicense: PakistanDrivingLicense,
|
|
6524
6638
|
BankCard4EVerificationResponse: BankCard4EVerificationResponse,
|
|
6525
6639
|
GenerateReflectSequenceRequest: GenerateReflectSequenceRequest,
|
|
6526
6640
|
BangladeshIDCard: BangladeshIDCard,
|
|
@@ -6530,7 +6644,7 @@ module.exports = {
|
|
|
6530
6644
|
BankCard2EVerificationRequest: BankCard2EVerificationRequest,
|
|
6531
6645
|
Address: Address,
|
|
6532
6646
|
PakistanIDCard: PakistanIDCard,
|
|
6533
|
-
|
|
6647
|
+
CheckBankCardInformationRequest: CheckBankCardInformationRequest,
|
|
6534
6648
|
GetLivenessResultRequest: GetLivenessResultRequest,
|
|
6535
6649
|
CardInfo: CardInfo,
|
|
6536
6650
|
ExtraInfo: ExtraInfo,
|
|
@@ -6561,6 +6675,7 @@ module.exports = {
|
|
|
6561
6675
|
MacaoIDCard: MacaoIDCard,
|
|
6562
6676
|
PhilippinesUMID: PhilippinesUMID,
|
|
6563
6677
|
BankCard2EVerificationResponse: BankCard2EVerificationResponse,
|
|
6678
|
+
ApplyLivenessTokenResponse: ApplyLivenessTokenResponse,
|
|
6564
6679
|
PhilippinesTinID: PhilippinesTinID,
|
|
6565
6680
|
DetectAIFakeFacesResponse: DetectAIFakeFacesResponse,
|
|
6566
6681
|
LivenessCompareRequest: LivenessCompareRequest,
|
|
@@ -20723,59 +20723,7 @@ class CreateL4ProxyResponse extends AbstractModel {
|
|
|
20723
20723
|
}
|
|
20724
20724
|
|
|
20725
20725
|
/**
|
|
20726
|
-
* Custom Cache Key configuration parameters.
|
|
20727
|
-
- Retain all query strings. Enable ignore case.
|
|
20728
|
-
```
|
|
20729
|
-
{
|
|
20730
|
-
"CacheKey": {
|
|
20731
|
-
"FullURLCache": "on",
|
|
20732
|
-
"QueryString": {
|
|
20733
|
-
"Switch": "off"
|
|
20734
|
-
},
|
|
20735
|
-
"IgnoreCase": "on"
|
|
20736
|
-
}
|
|
20737
|
-
}
|
|
20738
|
-
```
|
|
20739
|
-
- Ignore all query strings. Enable ignore case.
|
|
20740
|
-
```
|
|
20741
|
-
{
|
|
20742
|
-
"CacheKey": {
|
|
20743
|
-
"FullURLCache": "off",
|
|
20744
|
-
"QueryString": {
|
|
20745
|
-
"Switch": "off"
|
|
20746
|
-
},
|
|
20747
|
-
"IgnoreCase": "on"
|
|
20748
|
-
}
|
|
20749
|
-
}
|
|
20750
|
-
```
|
|
20751
|
-
- Retain specified query string parameters. Disable ignore case.
|
|
20752
|
-
```
|
|
20753
|
-
{
|
|
20754
|
-
"CacheKey": {
|
|
20755
|
-
"FullURLCache": "off",
|
|
20756
|
-
"QueryString": {
|
|
20757
|
-
"Switch": "on",
|
|
20758
|
-
"Action": "includeCustom",
|
|
20759
|
-
"Values": ["name1","name2","name3"]
|
|
20760
|
-
},
|
|
20761
|
-
"IgnoreCase": "off"
|
|
20762
|
-
}
|
|
20763
|
-
}
|
|
20764
|
-
```
|
|
20765
|
-
-Query string ignore specified parameters. Disable ignore case.
|
|
20766
|
-
```
|
|
20767
|
-
{
|
|
20768
|
-
"CacheKey": {
|
|
20769
|
-
"FullURLCache": "off",
|
|
20770
|
-
"QueryString": {
|
|
20771
|
-
"Switch": "on",
|
|
20772
|
-
"Action": "excludeCustom",
|
|
20773
|
-
"Values": ["name1","name2","name3"]
|
|
20774
|
-
},
|
|
20775
|
-
"IgnoreCase": "off"
|
|
20776
|
-
}
|
|
20777
|
-
}
|
|
20778
|
-
```
|
|
20726
|
+
* Custom Cache Key configuration parameters.
|
|
20779
20727
|
* @class
|
|
20780
20728
|
*/
|
|
20781
20729
|
class CacheKeyParameters extends AbstractModel {
|