tencentcloud-sdk-nodejs-intl-en 3.0.1365 → 3.0.1366

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.
@@ -1019,13 +1019,15 @@ class CosPermission extends AbstractModel {
1019
1019
  super();
1020
1020
 
1021
1021
  /**
1022
- * Note: This field may return null, indicating that no valid values can be obtained.
1022
+ * COS path.
1023
+ Note: This field may return null, indicating that no valid values can be obtained.
1023
1024
  * @type {string || null}
1024
1025
  */
1025
1026
  this.CosPath = null;
1026
1027
 
1027
1028
  /**
1028
- * Note: This field may return null, indicating that no valid values can be obtained.
1029
+ * Permission ["read", "write"]
1030
+ Note: This field may return null, indicating that no valid values can be obtained.
1029
1031
  * @type {Array.<string> || null}
1030
1032
  */
1031
1033
  this.Permissions = null;
@@ -2313,24 +2315,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
2313
2315
  }
2314
2316
 
2315
2317
  /**
2316
- * DetachUserPolicy request structure.
2318
+ * CreateUserRole response structure.
2317
2319
  * @class
2318
2320
  */
2319
- class DetachUserPolicyRequest extends AbstractModel {
2321
+ class CreateUserRoleResponse extends AbstractModel {
2320
2322
  constructor(){
2321
2323
  super();
2322
2324
 
2323
2325
  /**
2324
- * User ID, which matches Uin on the CAM side.
2326
+ * 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.
2325
2327
  * @type {string || null}
2326
2328
  */
2327
- this.UserId = null;
2328
-
2329
- /**
2330
- * Collection of unbound permissions
2331
- * @type {Array.<Policy> || null}
2332
- */
2333
- this.PolicySet = null;
2329
+ this.RequestId = null;
2334
2330
 
2335
2331
  }
2336
2332
 
@@ -2341,16 +2337,7 @@ class DetachUserPolicyRequest extends AbstractModel {
2341
2337
  if (!params) {
2342
2338
  return;
2343
2339
  }
2344
- this.UserId = 'UserId' in params ? params.UserId : null;
2345
-
2346
- if (params.PolicySet) {
2347
- this.PolicySet = new Array();
2348
- for (let z in params.PolicySet) {
2349
- let obj = new Policy();
2350
- obj.deserialize(params.PolicySet[z]);
2351
- this.PolicySet.push(obj);
2352
- }
2353
- }
2340
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2354
2341
 
2355
2342
  }
2356
2343
  }
@@ -5686,6 +5673,77 @@ class SortOrder extends AbstractModel {
5686
5673
  }
5687
5674
  }
5688
5675
 
5676
+ /**
5677
+ * CreateUserRole request structure.
5678
+ * @class
5679
+ */
5680
+ class CreateUserRoleRequest extends AbstractModel {
5681
+ constructor(){
5682
+ super();
5683
+
5684
+ /**
5685
+ * RoleArn info
5686
+ * @type {string || null}
5687
+ */
5688
+ this.Arn = null;
5689
+
5690
+ /**
5691
+ * Role description
5692
+ * @type {string || null}
5693
+ */
5694
+ this.Desc = null;
5695
+
5696
+ /**
5697
+ * Role name
5698
+ * @type {string || null}
5699
+ */
5700
+ this.Name = null;
5701
+
5702
+ /**
5703
+ * Authorized path list in cos
5704
+ * @type {Array.<CosPermission> || null}
5705
+ */
5706
+ this.CosPermissionList = null;
5707
+
5708
+ /**
5709
+ * cam policy json
5710
+ * @type {string || null}
5711
+ */
5712
+ this.PermissionJson = null;
5713
+
5714
+ /**
5715
+ * Whether resident is set to: 1 non-resident (default), 2 resident (only able to set one resident).
5716
+ * @type {number || null}
5717
+ */
5718
+ this.IsDefault = null;
5719
+
5720
+ }
5721
+
5722
+ /**
5723
+ * @private
5724
+ */
5725
+ deserialize(params) {
5726
+ if (!params) {
5727
+ return;
5728
+ }
5729
+ this.Arn = 'Arn' in params ? params.Arn : null;
5730
+ this.Desc = 'Desc' in params ? params.Desc : null;
5731
+ this.Name = 'Name' in params ? params.Name : null;
5732
+
5733
+ if (params.CosPermissionList) {
5734
+ this.CosPermissionList = new Array();
5735
+ for (let z in params.CosPermissionList) {
5736
+ let obj = new CosPermission();
5737
+ obj.deserialize(params.CosPermissionList[z]);
5738
+ this.CosPermissionList.push(obj);
5739
+ }
5740
+ }
5741
+ this.PermissionJson = 'PermissionJson' in params ? params.PermissionJson : null;
5742
+ this.IsDefault = 'IsDefault' in params ? params.IsDefault : null;
5743
+
5744
+ }
5745
+ }
5746
+
5689
5747
  /**
5690
5748
  * Running logs of a Spark SQL batch job
5691
5749
  * @class
@@ -11908,6 +11966,180 @@ class DescribeThirdPartyAccessUserResponse extends AbstractModel {
11908
11966
  }
11909
11967
  }
11910
11968
 
11969
+ /**
11970
+ * The task result information.
11971
+ * @class
11972
+ */
11973
+ class TaskResultInfo extends AbstractModel {
11974
+ constructor(){
11975
+ super();
11976
+
11977
+ /**
11978
+ * Unique task ID
11979
+ * @type {string || null}
11980
+ */
11981
+ this.TaskId = null;
11982
+
11983
+ /**
11984
+ * Name of the default selected data source when the current job is executed
11985
+ Note: This field may return null, indicating that no valid values can be obtained.
11986
+ * @type {string || null}
11987
+ */
11988
+ this.DatasourceConnectionName = null;
11989
+
11990
+ /**
11991
+ * Name of the default selected database when the current job is executed
11992
+ Note: This field may return null, indicating that no valid values can be obtained.
11993
+ * @type {string || null}
11994
+ */
11995
+ this.DatabaseName = null;
11996
+
11997
+ /**
11998
+ * The currently executed SQL statement. Each task contains one SQL statement.
11999
+ * @type {string || null}
12000
+ */
12001
+ this.SQL = null;
12002
+
12003
+ /**
12004
+ * Type of the executed task. Valid values: `DDL`, `DML`, `DQL`.
12005
+ * @type {string || null}
12006
+ */
12007
+ this.SQLType = null;
12008
+
12009
+ /**
12010
+ * u200cThe current task status. Valid values: `0` (initializing), `1` (executing), `2` (executed), `3` (writing data), `4` (queuing), u200c`-1` (failed), and `-3` (canceled). Only when the task is successfully executed, a task execution result will be returned.
12011
+ * @type {number || null}
12012
+ */
12013
+ this.State = null;
12014
+
12015
+ /**
12016
+ * Amount of the data scanned in bytes
12017
+ * @type {number || null}
12018
+ */
12019
+ this.DataAmount = null;
12020
+
12021
+ /**
12022
+ * The compute time in ms.
12023
+ * @type {number || null}
12024
+ */
12025
+ this.UsedTime = null;
12026
+
12027
+ /**
12028
+ * Address of the COS bucket for storing the task result
12029
+ * @type {string || null}
12030
+ */
12031
+ this.OutputPath = null;
12032
+
12033
+ /**
12034
+ * Task creation timestamp
12035
+ * @type {string || null}
12036
+ */
12037
+ this.CreateTime = null;
12038
+
12039
+ /**
12040
+ * Task execution information. `success` will be returned if the task succeeds; otherwise, the failure cause will be returned.
12041
+ * @type {string || null}
12042
+ */
12043
+ this.OutputMessage = null;
12044
+
12045
+ /**
12046
+ * Number of affected rows
12047
+ * @type {string || null}
12048
+ */
12049
+ this.RowAffectInfo = null;
12050
+
12051
+ /**
12052
+ * Schema information of the result
12053
+ Note: This field may return null, indicating that no valid values can be obtained.
12054
+ * @type {Array.<Column> || null}
12055
+ */
12056
+ this.ResultSchema = null;
12057
+
12058
+ /**
12059
+ * Result information. After it is unescaped, each element of the outer array is a data row.
12060
+ Note: This field may return null, indicating that no valid values can be obtained.
12061
+ * @type {string || null}
12062
+ */
12063
+ this.ResultSet = null;
12064
+
12065
+ /**
12066
+ * Pagination information. If there is no more result data, `nextToken` will be empty.
12067
+ * @type {string || null}
12068
+ */
12069
+ this.NextToken = null;
12070
+
12071
+ /**
12072
+ * Task progress (%)
12073
+ * @type {number || null}
12074
+ */
12075
+ this.Percentage = null;
12076
+
12077
+ /**
12078
+ * Task progress details
12079
+ * @type {string || null}
12080
+ */
12081
+ this.ProgressDetail = null;
12082
+
12083
+ /**
12084
+ * Console display format. Valid values: `table`, `text`.
12085
+ * @type {string || null}
12086
+ */
12087
+ this.DisplayFormat = null;
12088
+
12089
+ /**
12090
+ * The task time in ms.
12091
+ * @type {number || null}
12092
+ */
12093
+ this.TotalTime = null;
12094
+
12095
+ /**
12096
+ * Time consumed to get results
12097
+ Note: This field may return null, indicating that no valid values can be obtained.
12098
+ * @type {number || null}
12099
+ */
12100
+ this.QueryResultTime = null;
12101
+
12102
+ }
12103
+
12104
+ /**
12105
+ * @private
12106
+ */
12107
+ deserialize(params) {
12108
+ if (!params) {
12109
+ return;
12110
+ }
12111
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
12112
+ this.DatasourceConnectionName = 'DatasourceConnectionName' in params ? params.DatasourceConnectionName : null;
12113
+ this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
12114
+ this.SQL = 'SQL' in params ? params.SQL : null;
12115
+ this.SQLType = 'SQLType' in params ? params.SQLType : null;
12116
+ this.State = 'State' in params ? params.State : null;
12117
+ this.DataAmount = 'DataAmount' in params ? params.DataAmount : null;
12118
+ this.UsedTime = 'UsedTime' in params ? params.UsedTime : null;
12119
+ this.OutputPath = 'OutputPath' in params ? params.OutputPath : null;
12120
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
12121
+ this.OutputMessage = 'OutputMessage' in params ? params.OutputMessage : null;
12122
+ this.RowAffectInfo = 'RowAffectInfo' in params ? params.RowAffectInfo : null;
12123
+
12124
+ if (params.ResultSchema) {
12125
+ this.ResultSchema = new Array();
12126
+ for (let z in params.ResultSchema) {
12127
+ let obj = new Column();
12128
+ obj.deserialize(params.ResultSchema[z]);
12129
+ this.ResultSchema.push(obj);
12130
+ }
12131
+ }
12132
+ this.ResultSet = 'ResultSet' in params ? params.ResultSet : null;
12133
+ this.NextToken = 'NextToken' in params ? params.NextToken : null;
12134
+ this.Percentage = 'Percentage' in params ? params.Percentage : null;
12135
+ this.ProgressDetail = 'ProgressDetail' in params ? params.ProgressDetail : null;
12136
+ this.DisplayFormat = 'DisplayFormat' in params ? params.DisplayFormat : null;
12137
+ this.TotalTime = 'TotalTime' in params ? params.TotalTime : null;
12138
+ this.QueryResultTime = 'QueryResultTime' in params ? params.QueryResultTime : null;
12139
+
12140
+ }
12141
+ }
12142
+
11911
12143
  /**
11912
12144
  * CreateResultDownload request structure.
11913
12145
  * @class
@@ -13465,137 +13697,24 @@ class SuspendResumeDataEngineRequest extends AbstractModel {
13465
13697
  }
13466
13698
 
13467
13699
  /**
13468
- * The task result information.
13700
+ * DetachUserPolicy request structure.
13469
13701
  * @class
13470
13702
  */
13471
- class TaskResultInfo extends AbstractModel {
13703
+ class DetachUserPolicyRequest extends AbstractModel {
13472
13704
  constructor(){
13473
13705
  super();
13474
13706
 
13475
13707
  /**
13476
- * Unique task ID
13477
- * @type {string || null}
13478
- */
13479
- this.TaskId = null;
13480
-
13481
- /**
13482
- * Name of the default selected data source when the current job is executed
13483
- Note: This field may return null, indicating that no valid values can be obtained.
13484
- * @type {string || null}
13485
- */
13486
- this.DatasourceConnectionName = null;
13487
-
13488
- /**
13489
- * Name of the default selected database when the current job is executed
13490
- Note: This field may return null, indicating that no valid values can be obtained.
13491
- * @type {string || null}
13492
- */
13493
- this.DatabaseName = null;
13494
-
13495
- /**
13496
- * The currently executed SQL statement. Each task contains one SQL statement.
13497
- * @type {string || null}
13498
- */
13499
- this.SQL = null;
13500
-
13501
- /**
13502
- * Type of the executed task. Valid values: `DDL`, `DML`, `DQL`.
13503
- * @type {string || null}
13504
- */
13505
- this.SQLType = null;
13506
-
13507
- /**
13508
- * u200cThe current task status. Valid values: `0` (initializing), `1` (executing), `2` (executed), `3` (writing data), `4` (queuing), u200c`-1` (failed), and `-3` (canceled). Only when the task is successfully executed, a task execution result will be returned.
13509
- * @type {number || null}
13510
- */
13511
- this.State = null;
13512
-
13513
- /**
13514
- * Amount of the data scanned in bytes
13515
- * @type {number || null}
13516
- */
13517
- this.DataAmount = null;
13518
-
13519
- /**
13520
- * The compute time in ms.
13521
- * @type {number || null}
13522
- */
13523
- this.UsedTime = null;
13524
-
13525
- /**
13526
- * Address of the COS bucket for storing the task result
13527
- * @type {string || null}
13528
- */
13529
- this.OutputPath = null;
13530
-
13531
- /**
13532
- * Task creation timestamp
13533
- * @type {string || null}
13534
- */
13535
- this.CreateTime = null;
13536
-
13537
- /**
13538
- * Task execution information. `success` will be returned if the task succeeds; otherwise, the failure cause will be returned.
13539
- * @type {string || null}
13540
- */
13541
- this.OutputMessage = null;
13542
-
13543
- /**
13544
- * Number of affected rows
13545
- * @type {string || null}
13546
- */
13547
- this.RowAffectInfo = null;
13548
-
13549
- /**
13550
- * Schema information of the result
13551
- Note: This field may return null, indicating that no valid values can be obtained.
13552
- * @type {Array.<Column> || null}
13553
- */
13554
- this.ResultSchema = null;
13555
-
13556
- /**
13557
- * Result information. After it is unescaped, each element of the outer array is a data row.
13558
- Note: This field may return null, indicating that no valid values can be obtained.
13559
- * @type {string || null}
13560
- */
13561
- this.ResultSet = null;
13562
-
13563
- /**
13564
- * Pagination information. If there is no more result data, `nextToken` will be empty.
13565
- * @type {string || null}
13566
- */
13567
- this.NextToken = null;
13568
-
13569
- /**
13570
- * Task progress (%)
13571
- * @type {number || null}
13572
- */
13573
- this.Percentage = null;
13574
-
13575
- /**
13576
- * Task progress details
13577
- * @type {string || null}
13578
- */
13579
- this.ProgressDetail = null;
13580
-
13581
- /**
13582
- * Console display format. Valid values: `table`, `text`.
13708
+ * User ID, which matches Uin on the CAM side.
13583
13709
  * @type {string || null}
13584
13710
  */
13585
- this.DisplayFormat = null;
13586
-
13587
- /**
13588
- * The task time in ms.
13589
- * @type {number || null}
13590
- */
13591
- this.TotalTime = null;
13711
+ this.UserId = null;
13592
13712
 
13593
13713
  /**
13594
- * Time consumed to get results
13595
- Note: This field may return null, indicating that no valid values can be obtained.
13596
- * @type {number || null}
13714
+ * Collection of unbound permissions
13715
+ * @type {Array.<Policy> || null}
13597
13716
  */
13598
- this.QueryResultTime = null;
13717
+ this.PolicySet = null;
13599
13718
 
13600
13719
  }
13601
13720
 
@@ -13606,34 +13725,16 @@ Note: This field may return null, indicating that no valid values can be obtaine
13606
13725
  if (!params) {
13607
13726
  return;
13608
13727
  }
13609
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
13610
- this.DatasourceConnectionName = 'DatasourceConnectionName' in params ? params.DatasourceConnectionName : null;
13611
- this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
13612
- this.SQL = 'SQL' in params ? params.SQL : null;
13613
- this.SQLType = 'SQLType' in params ? params.SQLType : null;
13614
- this.State = 'State' in params ? params.State : null;
13615
- this.DataAmount = 'DataAmount' in params ? params.DataAmount : null;
13616
- this.UsedTime = 'UsedTime' in params ? params.UsedTime : null;
13617
- this.OutputPath = 'OutputPath' in params ? params.OutputPath : null;
13618
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
13619
- this.OutputMessage = 'OutputMessage' in params ? params.OutputMessage : null;
13620
- this.RowAffectInfo = 'RowAffectInfo' in params ? params.RowAffectInfo : null;
13728
+ this.UserId = 'UserId' in params ? params.UserId : null;
13621
13729
 
13622
- if (params.ResultSchema) {
13623
- this.ResultSchema = new Array();
13624
- for (let z in params.ResultSchema) {
13625
- let obj = new Column();
13626
- obj.deserialize(params.ResultSchema[z]);
13627
- this.ResultSchema.push(obj);
13730
+ if (params.PolicySet) {
13731
+ this.PolicySet = new Array();
13732
+ for (let z in params.PolicySet) {
13733
+ let obj = new Policy();
13734
+ obj.deserialize(params.PolicySet[z]);
13735
+ this.PolicySet.push(obj);
13628
13736
  }
13629
13737
  }
13630
- this.ResultSet = 'ResultSet' in params ? params.ResultSet : null;
13631
- this.NextToken = 'NextToken' in params ? params.NextToken : null;
13632
- this.Percentage = 'Percentage' in params ? params.Percentage : null;
13633
- this.ProgressDetail = 'ProgressDetail' in params ? params.ProgressDetail : null;
13634
- this.DisplayFormat = 'DisplayFormat' in params ? params.DisplayFormat : null;
13635
- this.TotalTime = 'TotalTime' in params ? params.TotalTime : null;
13636
- this.QueryResultTime = 'QueryResultTime' in params ? params.QueryResultTime : null;
13637
13738
 
13638
13739
  }
13639
13740
  }
@@ -16875,7 +16976,7 @@ module.exports = {
16875
16976
  PythonSparkImage: PythonSparkImage,
16876
16977
  Task: Task,
16877
16978
  DataEngineConfigInstanceInfo: DataEngineConfigInstanceInfo,
16878
- DetachUserPolicyRequest: DetachUserPolicyRequest,
16979
+ CreateUserRoleResponse: CreateUserRoleResponse,
16879
16980
  CrontabResumeSuspendStrategy: CrontabResumeSuspendStrategy,
16880
16981
  DescribeQueryResponse: DescribeQueryResponse,
16881
16982
  CreateCHDFSBindingProductRequest: CreateCHDFSBindingProductRequest,
@@ -16935,6 +17036,7 @@ module.exports = {
16935
17036
  DescribeTaskStatisticsResponse: DescribeTaskStatisticsResponse,
16936
17037
  DeleteUserResponse: DeleteUserResponse,
16937
17038
  SortOrder: SortOrder,
17039
+ CreateUserRoleRequest: CreateUserRoleRequest,
16938
17040
  SparkSessionBatchLog: SparkSessionBatchLog,
16939
17041
  DescribeEngineUsageInfoRequest: DescribeEngineUsageInfoRequest,
16940
17042
  SmartOptimizerWrittenPolicy: SmartOptimizerWrittenPolicy,
@@ -17055,6 +17157,7 @@ module.exports = {
17055
17157
  SmartPolicyBaseInfo: SmartPolicyBaseInfo,
17056
17158
  CreateStoreLocationRequest: CreateStoreLocationRequest,
17057
17159
  DescribeThirdPartyAccessUserResponse: DescribeThirdPartyAccessUserResponse,
17160
+ TaskResultInfo: TaskResultInfo,
17058
17161
  CreateResultDownloadRequest: CreateResultDownloadRequest,
17059
17162
  DescribeLakeFsInfoResponse: DescribeLakeFsInfoResponse,
17060
17163
  DescribeJobsRequest: DescribeJobsRequest,
@@ -17083,7 +17186,7 @@ module.exports = {
17083
17186
  NetworkConnection: NetworkConnection,
17084
17187
  CreateTasksRequest: CreateTasksRequest,
17085
17188
  SuspendResumeDataEngineRequest: SuspendResumeDataEngineRequest,
17086
- TaskResultInfo: TaskResultInfo,
17189
+ DetachUserPolicyRequest: DetachUserPolicyRequest,
17087
17190
  DescribeSparkAppJobsResponse: DescribeSparkAppJobsResponse,
17088
17191
  DeleteThirdPartyAccessUserResponse: DeleteThirdPartyAccessUserResponse,
17089
17192
  DescribeSparkAppTasksResponse: DescribeSparkAppTasksResponse,
@@ -27,7 +27,7 @@ const MobileStatusRequest = models.MobileStatusRequest;
27
27
  const OCRResult = models.OCRResult;
28
28
  const BangladeshIDCard = models.BangladeshIDCard;
29
29
  const LivenessCompareResponse = models.LivenessCompareResponse;
30
- const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
30
+ const PhilippinesSSSID = models.PhilippinesSSSID;
31
31
  const DetectAIFakeFacesRequest = models.DetectAIFakeFacesRequest;
32
32
  const IndonesiaIDCard = models.IndonesiaIDCard;
33
33
  const SingaporeIDCard = models.SingaporeIDCard;
@@ -63,7 +63,9 @@ const LivenessCompareRequest = models.LivenessCompareRequest;
63
63
  const MLIDCard = models.MLIDCard;
64
64
  const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
65
65
  const CheckBankCardInformationRequest = models.CheckBankCardInformationRequest;
66
+ const GetWxNFCResultResponse = models.GetWxNFCResultResponse;
66
67
  const BankCardVerificationRequest = models.BankCardVerificationRequest;
68
+ const GetWxNFCResultRequest = models.GetWxNFCResultRequest;
67
69
  const ThailandIDCard = models.ThailandIDCard;
68
70
  const CheckIdCardInformationResponse = models.CheckIdCardInformationResponse;
69
71
  const PhoneVerificationResponse = models.PhoneVerificationResponse;
@@ -83,7 +85,7 @@ const BankCardVerificationResponse = models.BankCardVerificationResponse;
83
85
  const ApplyWebVerificationBizTokenIntlRequest = models.ApplyWebVerificationBizTokenIntlRequest;
84
86
  const FileInfo = models.FileInfo;
85
87
  const PhilippinesDrivingLicense = models.PhilippinesDrivingLicense;
86
- const PhilippinesSSSID = models.PhilippinesSSSID;
88
+ const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
87
89
  const ImageRecognitionResponse = models.ImageRecognitionResponse;
88
90
  const IdCardVerificationResponse = models.IdCardVerificationResponse;
89
91
  const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
@@ -108,9 +110,11 @@ const NormalMLIDCard = models.NormalMLIDCard;
108
110
  const ImageRecognitionRequest = models.ImageRecognitionRequest;
109
111
  const BankCard4EVerificationRequest = models.BankCard4EVerificationRequest;
110
112
  const CreateUploadUrlRequest = models.CreateUploadUrlRequest;
113
+ const GetNFCTokenResponse = models.GetNFCTokenResponse;
111
114
  const NormalHKIDCard = models.NormalHKIDCard;
112
115
  const GetSdkVerificationResultRequest = models.GetSdkVerificationResultRequest;
113
116
  const ApplyLivenessTokenRequest = models.ApplyLivenessTokenRequest;
117
+ const GetNFCTokenRequest = models.GetNFCTokenRequest;
114
118
  const TaiWanIDCard = models.TaiWanIDCard;
115
119
  const GetWebVerificationResultIntlRequest = models.GetWebVerificationResultIntlRequest;
116
120
 
@@ -348,6 +352,28 @@ The data generated with the SDK must be stored in COS, and the region of the COS
348
352
  this.request("PhoneVerification", req, resp, cb);
349
353
  }
350
354
 
355
+ /**
356
+ * NFC verification service, obtain Token information for the NFC identify request.
357
+ * @param {GetNFCTokenRequest} req
358
+ * @param {function(string, GetNFCTokenResponse):void} cb
359
+ * @public
360
+ */
361
+ GetNFCToken(req, cb) {
362
+ let resp = new GetNFCTokenResponse();
363
+ this.request("GetNFCToken", req, resp, cb);
364
+ }
365
+
366
+ /**
367
+ * Obtain document NFC data, input the Token returned by the NFC SDK (valid for 10 minutes), and return the corresponding document information retrieved via NFC. This API supports NFC recognition and verification of ID cards (second-generation resident identity card, Residence Permit for Hong Kong (China) and Macao (China), Residence Permit for Taiwan (China), Permanent Residence Permit for Foreigners) as well as travel documents (exit-entry permit for travelling to and from Hong Kong (China) and Macao (China), Taiwan travel permit, Mainland Travel Permit for Taiwan Residents, Return Home Permit).
368
+ * @param {GetWxNFCResultRequest} req
369
+ * @param {function(string, GetWxNFCResultResponse):void} cb
370
+ * @public
371
+ */
372
+ GetWxNFCResult(req, cb) {
373
+ let resp = new GetWxNFCResultResponse();
374
+ this.request("GetWxNFCResult", req, resp, cb);
375
+ }
376
+
351
377
  /**
352
378
  * This API is used to detect liveness with the package generated by the liveness comparison (reflection-based) SDK, and to compare the person detected with that in the image passed in.
353
379
  The image and the data generated with the SDK must be stored in COS, and the region of the COS bucket must be same as that of requests made with this API. We recommend that you pass resources with upload link APIs.