tencentcloud-sdk-nodejs-intl-en 3.0.879 → 3.0.880
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.880";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -43,6 +43,7 @@ const DetectReflectLivenessAndCompareResponse = models.DetectReflectLivenessAndC
|
|
|
43
43
|
const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
|
|
44
44
|
const CardVerifyResult = models.CardVerifyResult;
|
|
45
45
|
const ApplyWebVerificationTokenRequest = models.ApplyWebVerificationTokenRequest;
|
|
46
|
+
const Address = models.Address;
|
|
46
47
|
const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
|
|
47
48
|
const GetLivenessResultRequest = models.GetLivenessResultRequest;
|
|
48
49
|
const CardInfo = models.CardInfo;
|
|
@@ -1911,6 +1911,97 @@ class ApplyWebVerificationTokenRequest extends AbstractModel {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
1913
|
|
|
1914
|
+
/**
|
|
1915
|
+
*
|
|
1916
|
+
* @class
|
|
1917
|
+
*/
|
|
1918
|
+
class Address extends AbstractModel {
|
|
1919
|
+
constructor(){
|
|
1920
|
+
super();
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* Nationality.
|
|
1924
|
+
* @type {string || null}
|
|
1925
|
+
*/
|
|
1926
|
+
this.Country = null;
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Post code.
|
|
1930
|
+
* @type {string || null}
|
|
1931
|
+
*/
|
|
1932
|
+
this.PostalCode = null;
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* Subregion.
|
|
1936
|
+
* @type {string || null}
|
|
1937
|
+
*/
|
|
1938
|
+
this.Subdivision = null;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* City.
|
|
1942
|
+
* @type {string || null}
|
|
1943
|
+
*/
|
|
1944
|
+
this.City = null;
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* Complete address.
|
|
1948
|
+
* @type {string || null}
|
|
1949
|
+
*/
|
|
1950
|
+
this.FormattedAddress = null;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* The first line of address.
|
|
1954
|
+
* @type {string || null}
|
|
1955
|
+
*/
|
|
1956
|
+
this.LineOne = null;
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* The second line of address.
|
|
1960
|
+
* @type {string || null}
|
|
1961
|
+
*/
|
|
1962
|
+
this.LineTwo = null;
|
|
1963
|
+
|
|
1964
|
+
/**
|
|
1965
|
+
* The third line of address.
|
|
1966
|
+
* @type {string || null}
|
|
1967
|
+
*/
|
|
1968
|
+
this.LineThree = null;
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* The fourth line of address.
|
|
1972
|
+
* @type {string || null}
|
|
1973
|
+
*/
|
|
1974
|
+
this.LineFour = null;
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* The fifth line of address.
|
|
1978
|
+
* @type {string || null}
|
|
1979
|
+
*/
|
|
1980
|
+
this.LineFive = null;
|
|
1981
|
+
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* @private
|
|
1986
|
+
*/
|
|
1987
|
+
deserialize(params) {
|
|
1988
|
+
if (!params) {
|
|
1989
|
+
return;
|
|
1990
|
+
}
|
|
1991
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
1992
|
+
this.PostalCode = 'PostalCode' in params ? params.PostalCode : null;
|
|
1993
|
+
this.Subdivision = 'Subdivision' in params ? params.Subdivision : null;
|
|
1994
|
+
this.City = 'City' in params ? params.City : null;
|
|
1995
|
+
this.FormattedAddress = 'FormattedAddress' in params ? params.FormattedAddress : null;
|
|
1996
|
+
this.LineOne = 'LineOne' in params ? params.LineOne : null;
|
|
1997
|
+
this.LineTwo = 'LineTwo' in params ? params.LineTwo : null;
|
|
1998
|
+
this.LineThree = 'LineThree' in params ? params.LineThree : null;
|
|
1999
|
+
this.LineFour = 'LineFour' in params ? params.LineFour : null;
|
|
2000
|
+
this.LineFive = 'LineFive' in params ? params.LineFive : null;
|
|
2001
|
+
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
|
|
1914
2005
|
/**
|
|
1915
2006
|
* ApplyLivenessToken response structure.
|
|
1916
2007
|
* @class
|
|
@@ -2257,6 +2348,12 @@ class WebVerificationConfigIntl extends AbstractModel {
|
|
|
2257
2348
|
constructor(){
|
|
2258
2349
|
super();
|
|
2259
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
* When starting verification, whether to skip the starting verification page. If true, enter the verification process directly. The default is false. This configuration will not take effect if the downgrade policy is triggered.
|
|
2353
|
+
* @type {boolean || null}
|
|
2354
|
+
*/
|
|
2355
|
+
this.AutoSkipStartPage = null;
|
|
2356
|
+
|
|
2260
2357
|
/**
|
|
2261
2358
|
* When the verification passed, whether to skip the result page and automatically jump to RedirectURL. The default value is false.
|
|
2262
2359
|
Example value: false
|
|
@@ -2291,6 +2388,12 @@ Example: HKIDCard
|
|
|
2291
2388
|
*/
|
|
2292
2389
|
this.IDCardType = null;
|
|
2293
2390
|
|
|
2391
|
+
/**
|
|
2392
|
+
* Whether to turn off document alarms, the default is false (the alarm detection function is turned on). When enabled, the identity authentication process will be intercepted based on the alarm status of the certificate. If you need to use the document authentication function, please contact us.
|
|
2393
|
+
* @type {boolean || null}
|
|
2394
|
+
*/
|
|
2395
|
+
this.DisableCheckOcrWarnings = null;
|
|
2396
|
+
|
|
2294
2397
|
}
|
|
2295
2398
|
|
|
2296
2399
|
/**
|
|
@@ -2300,9 +2403,11 @@ Example: HKIDCard
|
|
|
2300
2403
|
if (!params) {
|
|
2301
2404
|
return;
|
|
2302
2405
|
}
|
|
2406
|
+
this.AutoSkipStartPage = 'AutoSkipStartPage' in params ? params.AutoSkipStartPage : null;
|
|
2303
2407
|
this.AutoSkip = 'AutoSkip' in params ? params.AutoSkip : null;
|
|
2304
2408
|
this.CheckMode = 'CheckMode' in params ? params.CheckMode : null;
|
|
2305
2409
|
this.IDCardType = 'IDCardType' in params ? params.IDCardType : null;
|
|
2410
|
+
this.DisableCheckOcrWarnings = 'DisableCheckOcrWarnings' in params ? params.DisableCheckOcrWarnings : null;
|
|
2306
2411
|
|
|
2307
2412
|
}
|
|
2308
2413
|
}
|
|
@@ -3183,9 +3288,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3183
3288
|
|
|
3184
3289
|
/**
|
|
3185
3290
|
* Gender on the license
|
|
3186
|
-
- M
|
|
3187
|
-
- F
|
|
3188
|
-
- X
|
|
3291
|
+
- M: male
|
|
3292
|
+
- F: female
|
|
3293
|
+
- X: other gender
|
|
3189
3294
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3190
3295
|
Example: M
|
|
3191
3296
|
* @type {string || null}
|
|
@@ -3228,6 +3333,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3228
3333
|
*/
|
|
3229
3334
|
this.RegistrationNumber = null;
|
|
3230
3335
|
|
|
3336
|
+
/**
|
|
3337
|
+
* Address
|
|
3338
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3339
|
+
* @type {Address || null}
|
|
3340
|
+
*/
|
|
3341
|
+
this.Address = null;
|
|
3342
|
+
|
|
3231
3343
|
}
|
|
3232
3344
|
|
|
3233
3345
|
/**
|
|
@@ -3256,6 +3368,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3256
3368
|
this.Nationality = 'Nationality' in params ? params.Nationality : null;
|
|
3257
3369
|
this.RegistrationNumber = 'RegistrationNumber' in params ? params.RegistrationNumber : null;
|
|
3258
3370
|
|
|
3371
|
+
if (params.Address) {
|
|
3372
|
+
let obj = new Address();
|
|
3373
|
+
obj.deserialize(params.Address)
|
|
3374
|
+
this.Address = obj;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3259
3377
|
}
|
|
3260
3378
|
}
|
|
3261
3379
|
|
|
@@ -3849,6 +3967,7 @@ module.exports = {
|
|
|
3849
3967
|
VideoLivenessCompareResponse: VideoLivenessCompareResponse,
|
|
3850
3968
|
CardVerifyResult: CardVerifyResult,
|
|
3851
3969
|
ApplyWebVerificationTokenRequest: ApplyWebVerificationTokenRequest,
|
|
3970
|
+
Address: Address,
|
|
3852
3971
|
ApplyLivenessTokenResponse: ApplyLivenessTokenResponse,
|
|
3853
3972
|
GetLivenessResultRequest: GetLivenessResultRequest,
|
|
3854
3973
|
CardInfo: CardInfo,
|