tencentcloud-sdk-nodejs-intl-en 3.0.1098 → 3.0.1100
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/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/models.js +2 -2
- package/tencentcloud/faceid/v20180301/models.js +7 -0
- package/tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +27 -12
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +100 -0
- package/tencentcloud/ocr/v20181119/models.js +188 -0
- package/tencentcloud/ocr/v20181119/ocr_client.js +16 -0
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1100";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -319,7 +319,7 @@ class DeleteDisasterRecoverGroupsRequest extends AbstractModel {
|
|
|
319
319
|
super();
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
|
-
* ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to
|
|
322
|
+
* ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 10 spread placement groups in each request.
|
|
323
323
|
* @type {Array.<string> || null}
|
|
324
324
|
*/
|
|
325
325
|
this.DisasterRecoverGroupIds = null;
|
|
@@ -3270,7 +3270,7 @@ class DescribeDisasterRecoverGroupsRequest extends AbstractModel {
|
|
|
3270
3270
|
super();
|
|
3271
3271
|
|
|
3272
3272
|
/**
|
|
3273
|
-
* ID list of spread placement groups. You can operate up to
|
|
3273
|
+
* ID list of spread placement groups. You can operate up to 10 spread placement groups in each request.
|
|
3274
3274
|
* @type {Array.<string> || null}
|
|
3275
3275
|
*/
|
|
3276
3276
|
this.DisasterRecoverGroupIds = null;
|
|
@@ -3579,6 +3579,12 @@ The default value is blink. The different action types passed in this parameter
|
|
|
3579
3579
|
*/
|
|
3580
3580
|
this.ActionList = null;
|
|
3581
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
* Control liveness retry number.The value range is 1-99.
|
|
3584
|
+
* @type {number || null}
|
|
3585
|
+
*/
|
|
3586
|
+
this.LivenessRetryLimit = null;
|
|
3587
|
+
|
|
3582
3588
|
}
|
|
3583
3589
|
|
|
3584
3590
|
/**
|
|
@@ -3600,6 +3606,7 @@ The default value is blink. The different action types passed in this parameter
|
|
|
3600
3606
|
this.Language = 'Language' in params ? params.Language : null;
|
|
3601
3607
|
this.AutoDowngrade = 'AutoDowngrade' in params ? params.AutoDowngrade : null;
|
|
3602
3608
|
this.ActionList = 'ActionList' in params ? params.ActionList : null;
|
|
3609
|
+
this.LivenessRetryLimit = 'LivenessRetryLimit' in params ? params.LivenessRetryLimit : null;
|
|
3603
3610
|
|
|
3604
3611
|
}
|
|
3605
3612
|
}
|
|
@@ -38,6 +38,7 @@ const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
|
|
|
38
38
|
const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
|
|
39
39
|
const DescribeCustomerBillSummaryResponse = models.DescribeCustomerBillSummaryResponse;
|
|
40
40
|
const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
|
|
41
|
+
const DescribeCustomerBillDownloadUrlResponse = models.DescribeCustomerBillDownloadUrlResponse;
|
|
41
42
|
const QueryPolicyProductListByCodeRequest = models.QueryPolicyProductListByCodeRequest;
|
|
42
43
|
const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
|
|
43
44
|
const CreateAndSendClientInvitationMailResponse = models.CreateAndSendClientInvitationMailResponse;
|
|
@@ -49,6 +50,7 @@ const GetCountryCodesResponse = models.GetCountryCodesResponse;
|
|
|
49
50
|
const QueryCreditByUinListResponse = models.QueryCreditByUinListResponse;
|
|
50
51
|
const DescribeCustomerInfoResponse = models.DescribeCustomerInfoResponse;
|
|
51
52
|
const QueryVoucherAmountByUinResponse = models.QueryVoucherAmountByUinResponse;
|
|
53
|
+
const DescribeCustomerBillDownloadUrlRequest = models.DescribeCustomerBillDownloadUrlRequest;
|
|
52
54
|
const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
|
|
53
55
|
const DescribeCustomerUinData = models.DescribeCustomerUinData;
|
|
54
56
|
const DescribeCustomerUinResponse = models.DescribeCustomerUinResponse;
|
|
@@ -316,14 +318,27 @@ Note:This API is used to manually send the invitation link to the customer if th
|
|
|
316
318
|
}
|
|
317
319
|
|
|
318
320
|
/**
|
|
319
|
-
* This API is used to
|
|
320
|
-
|
|
321
|
-
|
|
321
|
+
* This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
|
|
322
|
+
1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
|
|
323
|
+
2. Bill packages (billDetailPack and billResourcePack) can only be downloaded after billing.
|
|
324
|
+
* @param {DescribeCustomerBillDownloadUrlRequest} req
|
|
325
|
+
* @param {function(string, DescribeCustomerBillDownloadUrlResponse):void} cb
|
|
322
326
|
* @public
|
|
323
327
|
*/
|
|
324
|
-
|
|
325
|
-
let resp = new
|
|
326
|
-
this.request("
|
|
328
|
+
DescribeCustomerBillDownloadUrl(req, cb) {
|
|
329
|
+
let resp = new DescribeCustomerBillDownloadUrlResponse();
|
|
330
|
+
this.request("DescribeCustomerBillDownloadUrl", req, resp, cb);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* This API is used for a partner to the credits and basic information of cutomers.
|
|
335
|
+
* @param {QueryCustomersCreditRequest} req
|
|
336
|
+
* @param {function(string, QueryCustomersCreditResponse):void} cb
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
QueryCustomersCredit(req, cb) {
|
|
340
|
+
let resp = new QueryCustomersCreditResponse();
|
|
341
|
+
this.request("QueryCustomersCredit", req, resp, cb);
|
|
327
342
|
}
|
|
328
343
|
|
|
329
344
|
/**
|
|
@@ -427,14 +442,14 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
427
442
|
}
|
|
428
443
|
|
|
429
444
|
/**
|
|
430
|
-
* This API is used
|
|
431
|
-
* @param {
|
|
432
|
-
* @param {function(string,
|
|
445
|
+
* This API is used to obtain the total amount of customer bills by product.
|
|
446
|
+
* @param {DescribeBillSummaryByProductRequest} req
|
|
447
|
+
* @param {function(string, DescribeBillSummaryByProductResponse):void} cb
|
|
433
448
|
* @public
|
|
434
449
|
*/
|
|
435
|
-
|
|
436
|
-
let resp = new
|
|
437
|
-
this.request("
|
|
450
|
+
DescribeBillSummaryByProduct(req, cb) {
|
|
451
|
+
let resp = new DescribeBillSummaryByProductResponse();
|
|
452
|
+
this.request("DescribeBillSummaryByProduct", req, resp, cb);
|
|
438
453
|
}
|
|
439
454
|
|
|
440
455
|
|
|
@@ -923,6 +923,48 @@ class QueryCustomersCreditRequest extends AbstractModel {
|
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
925
|
|
|
926
|
+
/**
|
|
927
|
+
* DescribeCustomerBillDownloadUrl response structure.
|
|
928
|
+
* @class
|
|
929
|
+
*/
|
|
930
|
+
class DescribeCustomerBillDownloadUrlResponse extends AbstractModel {
|
|
931
|
+
constructor(){
|
|
932
|
+
super();
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* File download link, with a file validity period of 1 hour.
|
|
936
|
+
* @type {string || null}
|
|
937
|
+
*/
|
|
938
|
+
this.DownloadUrl = null;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* File generation status. 0: generating; 1: generated.
|
|
942
|
+
* @type {number || null}
|
|
943
|
+
*/
|
|
944
|
+
this.Ready = null;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* 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.
|
|
948
|
+
* @type {string || null}
|
|
949
|
+
*/
|
|
950
|
+
this.RequestId = null;
|
|
951
|
+
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* @private
|
|
956
|
+
*/
|
|
957
|
+
deserialize(params) {
|
|
958
|
+
if (!params) {
|
|
959
|
+
return;
|
|
960
|
+
}
|
|
961
|
+
this.DownloadUrl = 'DownloadUrl' in params ? params.DownloadUrl : null;
|
|
962
|
+
this.Ready = 'Ready' in params ? params.Ready : null;
|
|
963
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
964
|
+
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
926
968
|
/**
|
|
927
969
|
* QueryPolicyProductListByCode request structure.
|
|
928
970
|
* @class
|
|
@@ -1654,6 +1696,62 @@ class QueryVoucherAmountByUinResponse extends AbstractModel {
|
|
|
1654
1696
|
}
|
|
1655
1697
|
}
|
|
1656
1698
|
|
|
1699
|
+
/**
|
|
1700
|
+
* DescribeCustomerBillDownloadUrl request structure.
|
|
1701
|
+
* @class
|
|
1702
|
+
*/
|
|
1703
|
+
class DescribeCustomerBillDownloadUrlRequest extends AbstractModel {
|
|
1704
|
+
constructor(){
|
|
1705
|
+
super();
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* The month to which the bill belongs, formatted as yyyy-mm; the earliest month available for query is june, 2022. current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month.
|
|
1709
|
+
* @type {string || null}
|
|
1710
|
+
*/
|
|
1711
|
+
this.Month = null;
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Bill type. valid values: [billResource, billDetail, billResourcePack, billDetailPack]. `billResource`: resource bill; `billDetail`: detailed bill; `billResourcePack`: resource bill package; `billDetailPack`: detailed bill package.
|
|
1715
|
+
* @type {string || null}
|
|
1716
|
+
*/
|
|
1717
|
+
this.FileType = null;
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* Customer type. valid values: [Customer, Reseller, ResellerCustomer]. `Customer`: direct customer; `Reseller`: secondary reseller; `ResellerCustomer`: reseller's customers
|
|
1721
|
+
* @type {string || null}
|
|
1722
|
+
*/
|
|
1723
|
+
this.CustomerUinType = null;
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* Language. valid values: [zh_cn, en]. default is `en` (english).
|
|
1727
|
+
* @type {string || null}
|
|
1728
|
+
*/
|
|
1729
|
+
this.FileLanguage = null;
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* Customer uin. when downloading the bill package (FileType is billResourcePack or billDetailPack), CustomerUin is not passed
|
|
1733
|
+
* @type {number || null}
|
|
1734
|
+
*/
|
|
1735
|
+
this.CustomerUin = null;
|
|
1736
|
+
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* @private
|
|
1741
|
+
*/
|
|
1742
|
+
deserialize(params) {
|
|
1743
|
+
if (!params) {
|
|
1744
|
+
return;
|
|
1745
|
+
}
|
|
1746
|
+
this.Month = 'Month' in params ? params.Month : null;
|
|
1747
|
+
this.FileType = 'FileType' in params ? params.FileType : null;
|
|
1748
|
+
this.CustomerUinType = 'CustomerUinType' in params ? params.CustomerUinType : null;
|
|
1749
|
+
this.FileLanguage = 'FileLanguage' in params ? params.FileLanguage : null;
|
|
1750
|
+
this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
|
|
1751
|
+
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1657
1755
|
/**
|
|
1658
1756
|
* Product details in the customer bill data totaled by product
|
|
1659
1757
|
* @class
|
|
@@ -4084,6 +4182,7 @@ module.exports = {
|
|
|
4084
4182
|
DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
|
|
4085
4183
|
DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
|
|
4086
4184
|
QueryCustomersCreditRequest: QueryCustomersCreditRequest,
|
|
4185
|
+
DescribeCustomerBillDownloadUrlResponse: DescribeCustomerBillDownloadUrlResponse,
|
|
4087
4186
|
QueryPolicyProductListByCodeRequest: QueryPolicyProductListByCodeRequest,
|
|
4088
4187
|
DescribeBillDetailRequest: DescribeBillDetailRequest,
|
|
4089
4188
|
CreateAndSendClientInvitationMailResponse: CreateAndSendClientInvitationMailResponse,
|
|
@@ -4095,6 +4194,7 @@ module.exports = {
|
|
|
4095
4194
|
QueryCreditByUinListResponse: QueryCreditByUinListResponse,
|
|
4096
4195
|
DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
|
|
4097
4196
|
QueryVoucherAmountByUinResponse: QueryVoucherAmountByUinResponse,
|
|
4197
|
+
DescribeCustomerBillDownloadUrlRequest: DescribeCustomerBillDownloadUrlRequest,
|
|
4098
4198
|
BusinessSummaryOverviewItem: BusinessSummaryOverviewItem,
|
|
4099
4199
|
DescribeCustomerUinData: DescribeCustomerUinData,
|
|
4100
4200
|
DescribeCustomerUinResponse: DescribeCustomerUinResponse,
|
|
@@ -9685,6 +9685,51 @@ For a non-Tencent Cloud URL, the download speed and stability may be affected.
|
|
|
9685
9685
|
}
|
|
9686
9686
|
}
|
|
9687
9687
|
|
|
9688
|
+
/**
|
|
9689
|
+
* RecognizeThaiPinkCard request structure.
|
|
9690
|
+
* @class
|
|
9691
|
+
*/
|
|
9692
|
+
class RecognizeThaiPinkCardRequest extends AbstractModel {
|
|
9693
|
+
constructor(){
|
|
9694
|
+
super();
|
|
9695
|
+
|
|
9696
|
+
/**
|
|
9697
|
+
* The Base64-encoded value of an image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
|
|
9698
|
+
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, `ImageUrl` is used.
|
|
9699
|
+
* @type {string || null}
|
|
9700
|
+
*/
|
|
9701
|
+
this.ImageBase64 = null;
|
|
9702
|
+
|
|
9703
|
+
/**
|
|
9704
|
+
* The URL of the image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
|
|
9705
|
+
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
9706
|
+
* @type {string || null}
|
|
9707
|
+
*/
|
|
9708
|
+
this.ImageUrl = null;
|
|
9709
|
+
|
|
9710
|
+
/**
|
|
9711
|
+
* Whether to crop the profile photo. The default value is `false`, meaning not to return the Base64-encoded value of the profile photo on the Thai identity card.
|
|
9712
|
+
When this parameter is set to `true`, the Base64-encoded value of the profile photo on the Thai identity card after rotation correction is returned.
|
|
9713
|
+
* @type {boolean || null}
|
|
9714
|
+
*/
|
|
9715
|
+
this.CropPortrait = null;
|
|
9716
|
+
|
|
9717
|
+
}
|
|
9718
|
+
|
|
9719
|
+
/**
|
|
9720
|
+
* @private
|
|
9721
|
+
*/
|
|
9722
|
+
deserialize(params) {
|
|
9723
|
+
if (!params) {
|
|
9724
|
+
return;
|
|
9725
|
+
}
|
|
9726
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
9727
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
9728
|
+
this.CropPortrait = 'CropPortrait' in params ? params.CropPortrait : null;
|
|
9729
|
+
|
|
9730
|
+
}
|
|
9731
|
+
}
|
|
9732
|
+
|
|
9688
9733
|
/**
|
|
9689
9734
|
* BankCardOCR response structure.
|
|
9690
9735
|
* @class
|
|
@@ -9786,6 +9831,147 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
9786
9831
|
}
|
|
9787
9832
|
}
|
|
9788
9833
|
|
|
9834
|
+
/**
|
|
9835
|
+
* RecognizeThaiPinkCard response structure.
|
|
9836
|
+
* @class
|
|
9837
|
+
*/
|
|
9838
|
+
class RecognizeThaiPinkCardResponse extends AbstractModel {
|
|
9839
|
+
constructor(){
|
|
9840
|
+
super();
|
|
9841
|
+
|
|
9842
|
+
/**
|
|
9843
|
+
* Country
|
|
9844
|
+
* @type {string || null}
|
|
9845
|
+
*/
|
|
9846
|
+
this.Country = null;
|
|
9847
|
+
|
|
9848
|
+
/**
|
|
9849
|
+
* ID number
|
|
9850
|
+
* @type {string || null}
|
|
9851
|
+
*/
|
|
9852
|
+
this.IDNumber = null;
|
|
9853
|
+
|
|
9854
|
+
/**
|
|
9855
|
+
* Name in Thai
|
|
9856
|
+
* @type {string || null}
|
|
9857
|
+
*/
|
|
9858
|
+
this.ThaiName = null;
|
|
9859
|
+
|
|
9860
|
+
/**
|
|
9861
|
+
* Name in English
|
|
9862
|
+
* @type {string || null}
|
|
9863
|
+
*/
|
|
9864
|
+
this.EnName = null;
|
|
9865
|
+
|
|
9866
|
+
/**
|
|
9867
|
+
* Date of birth in Thai
|
|
9868
|
+
* @type {string || null}
|
|
9869
|
+
*/
|
|
9870
|
+
this.ThaiDOB = null;
|
|
9871
|
+
|
|
9872
|
+
/**
|
|
9873
|
+
* Date of birth in English
|
|
9874
|
+
* @type {string || null}
|
|
9875
|
+
*/
|
|
9876
|
+
this.EnDOB = null;
|
|
9877
|
+
|
|
9878
|
+
/**
|
|
9879
|
+
* Photo number
|
|
9880
|
+
* @type {string || null}
|
|
9881
|
+
*/
|
|
9882
|
+
this.PhotoNumber = null;
|
|
9883
|
+
|
|
9884
|
+
/**
|
|
9885
|
+
* Address in Thai
|
|
9886
|
+
* @type {string || null}
|
|
9887
|
+
*/
|
|
9888
|
+
this.ThaiAddress = null;
|
|
9889
|
+
|
|
9890
|
+
/**
|
|
9891
|
+
* Date of issue in Thai
|
|
9892
|
+
* @type {string || null}
|
|
9893
|
+
*/
|
|
9894
|
+
this.ThaiDateOfIssue = null;
|
|
9895
|
+
|
|
9896
|
+
/**
|
|
9897
|
+
* Date of issue in English
|
|
9898
|
+
* @type {string || null}
|
|
9899
|
+
*/
|
|
9900
|
+
this.DateOfIssue = null;
|
|
9901
|
+
|
|
9902
|
+
/**
|
|
9903
|
+
* Expiration date in Thai
|
|
9904
|
+
* @type {string || null}
|
|
9905
|
+
*/
|
|
9906
|
+
this.ThaiDateOfExpiry = null;
|
|
9907
|
+
|
|
9908
|
+
/**
|
|
9909
|
+
* Expiration date in English
|
|
9910
|
+
* @type {string || null}
|
|
9911
|
+
*/
|
|
9912
|
+
this.DateOfExpiry = null;
|
|
9913
|
+
|
|
9914
|
+
/**
|
|
9915
|
+
* Issuing agency
|
|
9916
|
+
* @type {string || null}
|
|
9917
|
+
*/
|
|
9918
|
+
this.IssuingAgency = null;
|
|
9919
|
+
|
|
9920
|
+
/**
|
|
9921
|
+
* Ref number
|
|
9922
|
+
* @type {string || null}
|
|
9923
|
+
*/
|
|
9924
|
+
this.RefNumber = null;
|
|
9925
|
+
|
|
9926
|
+
/**
|
|
9927
|
+
* Field confidence:
|
|
9928
|
+
{ "ID": { "Confidence": 0.9999 }, "ThaiName": { "Confidence": 0.9996 } }
|
|
9929
|
+
* @type {string || null}
|
|
9930
|
+
*/
|
|
9931
|
+
this.AdvancedInfo = null;
|
|
9932
|
+
|
|
9933
|
+
/**
|
|
9934
|
+
* Identity photo
|
|
9935
|
+
* @type {string || null}
|
|
9936
|
+
*/
|
|
9937
|
+
this.PortraitImage = null;
|
|
9938
|
+
|
|
9939
|
+
/**
|
|
9940
|
+
* 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.
|
|
9941
|
+
* @type {string || null}
|
|
9942
|
+
*/
|
|
9943
|
+
this.RequestId = null;
|
|
9944
|
+
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9947
|
+
/**
|
|
9948
|
+
* @private
|
|
9949
|
+
*/
|
|
9950
|
+
deserialize(params) {
|
|
9951
|
+
if (!params) {
|
|
9952
|
+
return;
|
|
9953
|
+
}
|
|
9954
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
9955
|
+
this.IDNumber = 'IDNumber' in params ? params.IDNumber : null;
|
|
9956
|
+
this.ThaiName = 'ThaiName' in params ? params.ThaiName : null;
|
|
9957
|
+
this.EnName = 'EnName' in params ? params.EnName : null;
|
|
9958
|
+
this.ThaiDOB = 'ThaiDOB' in params ? params.ThaiDOB : null;
|
|
9959
|
+
this.EnDOB = 'EnDOB' in params ? params.EnDOB : null;
|
|
9960
|
+
this.PhotoNumber = 'PhotoNumber' in params ? params.PhotoNumber : null;
|
|
9961
|
+
this.ThaiAddress = 'ThaiAddress' in params ? params.ThaiAddress : null;
|
|
9962
|
+
this.ThaiDateOfIssue = 'ThaiDateOfIssue' in params ? params.ThaiDateOfIssue : null;
|
|
9963
|
+
this.DateOfIssue = 'DateOfIssue' in params ? params.DateOfIssue : null;
|
|
9964
|
+
this.ThaiDateOfExpiry = 'ThaiDateOfExpiry' in params ? params.ThaiDateOfExpiry : null;
|
|
9965
|
+
this.DateOfExpiry = 'DateOfExpiry' in params ? params.DateOfExpiry : null;
|
|
9966
|
+
this.IssuingAgency = 'IssuingAgency' in params ? params.IssuingAgency : null;
|
|
9967
|
+
this.RefNumber = 'RefNumber' in params ? params.RefNumber : null;
|
|
9968
|
+
this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
|
|
9969
|
+
this.PortraitImage = 'PortraitImage' in params ? params.PortraitImage : null;
|
|
9970
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9971
|
+
|
|
9972
|
+
}
|
|
9973
|
+
}
|
|
9974
|
+
|
|
9789
9975
|
/**
|
|
9790
9976
|
* RecognizePhilippinesUMIDOCR request structure.
|
|
9791
9977
|
* @class
|
|
@@ -9940,7 +10126,9 @@ module.exports = {
|
|
|
9940
10126
|
VinOCRRequest: VinOCRRequest,
|
|
9941
10127
|
MLIDCardOCRResponse: MLIDCardOCRResponse,
|
|
9942
10128
|
RecognizePhilippinesTinIDOCRRequest: RecognizePhilippinesTinIDOCRRequest,
|
|
10129
|
+
RecognizeThaiPinkCardRequest: RecognizeThaiPinkCardRequest,
|
|
9943
10130
|
BankCardOCRResponse: BankCardOCRResponse,
|
|
10131
|
+
RecognizeThaiPinkCardResponse: RecognizeThaiPinkCardResponse,
|
|
9944
10132
|
RecognizePhilippinesUMIDOCRRequest: RecognizePhilippinesUMIDOCRRequest,
|
|
9945
10133
|
|
|
9946
10134
|
}
|
|
@@ -120,7 +120,9 @@ const RecognizeIndonesiaIDCardOCRRequest = models.RecognizeIndonesiaIDCardOCRReq
|
|
|
120
120
|
const VinOCRRequest = models.VinOCRRequest;
|
|
121
121
|
const MLIDCardOCRResponse = models.MLIDCardOCRResponse;
|
|
122
122
|
const RecognizePhilippinesTinIDOCRRequest = models.RecognizePhilippinesTinIDOCRRequest;
|
|
123
|
+
const RecognizeThaiPinkCardRequest = models.RecognizeThaiPinkCardRequest;
|
|
123
124
|
const BankCardOCRResponse = models.BankCardOCRResponse;
|
|
125
|
+
const RecognizeThaiPinkCardResponse = models.RecognizeThaiPinkCardResponse;
|
|
124
126
|
const RecognizePhilippinesUMIDOCRRequest = models.RecognizePhilippinesUMIDOCRRequest;
|
|
125
127
|
|
|
126
128
|
|
|
@@ -134,6 +136,20 @@ class OcrClient extends AbstractClient {
|
|
|
134
136
|
super("ocr.tencentcloudapi.com", "2018-11-19", credential, region, profile);
|
|
135
137
|
}
|
|
136
138
|
|
|
139
|
+
/**
|
|
140
|
+
* This API is used to recognize the fields on a Thai identity card, including name in Thai, name in English, address, date of birth, identification number, date of issue, and date of expiry.
|
|
141
|
+
Currently, this API is not generally available. For more information, please [contact your sales rep](https://intl.cloud.tencent.com/about/connect?from_cn_redirect=1).
|
|
142
|
+
|
|
143
|
+
A maximum of 5 requests can be initiated per second for this API.
|
|
144
|
+
* @param {RecognizeThaiPinkCardRequest} req
|
|
145
|
+
* @param {function(string, RecognizeThaiPinkCardResponse):void} cb
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
RecognizeThaiPinkCard(req, cb) {
|
|
149
|
+
let resp = new RecognizeThaiPinkCardResponse();
|
|
150
|
+
this.request("RecognizeThaiPinkCard", req, resp, cb);
|
|
151
|
+
}
|
|
152
|
+
|
|
137
153
|
/**
|
|
138
154
|
* This API is used to recognize all fields on the front and back sides of a second-generation resident identity card for the Chinese mainland: name, gender, ethnicity, date of birth, domicile, identification number, issuing authority, and validity period, with a recognition accuracy of over 99%.
|
|
139
155
|
|