tencentcloud-sdk-nodejs-intl-en 3.0.1015 → 3.0.1016
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/cdwdoris/v20211228/cdwdoris_client.js +1 -0
- package/tencentcloud/cdwdoris/v20211228/models.js +207 -3
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +3 -1
- package/tencentcloud/faceid/v20180301/models.js +185 -0
- package/tencentcloud/sms/v20210111/models.js +2 -2
package/package.json
CHANGED
|
@@ -74,6 +74,7 @@ const ModifyNodeStatusRequest = models.ModifyNodeStatusRequest;
|
|
|
74
74
|
const DescribeCreateTablesDDLRequest = models.DescribeCreateTablesDDLRequest;
|
|
75
75
|
const RestartClusterForNodeResponse = models.RestartClusterForNodeResponse;
|
|
76
76
|
const UpdateTableSchemaRequest = models.UpdateTableSchemaRequest;
|
|
77
|
+
const CatalogPermission = models.CatalogPermission;
|
|
77
78
|
const CancelBackupJobResponse = models.CancelBackupJobResponse;
|
|
78
79
|
const DescribeAreaRegionRequest = models.DescribeAreaRegionRequest;
|
|
79
80
|
const SlowQueryRecord = models.SlowQueryRecord;
|
|
@@ -66,6 +66,12 @@ class UpdateDatabaseRequest extends AbstractModel {
|
|
|
66
66
|
*/
|
|
67
67
|
this.PassWord = null;
|
|
68
68
|
|
|
69
|
+
/**
|
|
70
|
+
* InstanceId
|
|
71
|
+
* @type {string || null}
|
|
72
|
+
*/
|
|
73
|
+
this.InstanceId = null;
|
|
74
|
+
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
/**
|
|
@@ -90,6 +96,7 @@ class UpdateDatabaseRequest extends AbstractModel {
|
|
|
90
96
|
}
|
|
91
97
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
92
98
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
99
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
93
100
|
|
|
94
101
|
}
|
|
95
102
|
}
|
|
@@ -493,6 +500,12 @@ class UpdateTableSchemaResponse extends AbstractModel {
|
|
|
493
500
|
*/
|
|
494
501
|
this.Message = null;
|
|
495
502
|
|
|
503
|
+
/**
|
|
504
|
+
* Is it successful
|
|
505
|
+
* @type {string || null}
|
|
506
|
+
*/
|
|
507
|
+
this.Success = null;
|
|
508
|
+
|
|
496
509
|
/**
|
|
497
510
|
* 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.
|
|
498
511
|
* @type {string || null}
|
|
@@ -509,6 +522,7 @@ class UpdateTableSchemaResponse extends AbstractModel {
|
|
|
509
522
|
return;
|
|
510
523
|
}
|
|
511
524
|
this.Message = 'Message' in params ? params.Message : null;
|
|
525
|
+
this.Success = 'Success' in params ? params.Success : null;
|
|
512
526
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
513
527
|
|
|
514
528
|
}
|
|
@@ -896,6 +910,12 @@ class DescribeInstanceOperationHistoryResponse extends AbstractModel {
|
|
|
896
910
|
*/
|
|
897
911
|
this.Operations = null;
|
|
898
912
|
|
|
913
|
+
/**
|
|
914
|
+
* Error message
|
|
915
|
+
* @type {string || null}
|
|
916
|
+
*/
|
|
917
|
+
this.Message = null;
|
|
918
|
+
|
|
899
919
|
/**
|
|
900
920
|
* 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.
|
|
901
921
|
* @type {string || null}
|
|
@@ -921,6 +941,7 @@ class DescribeInstanceOperationHistoryResponse extends AbstractModel {
|
|
|
921
941
|
this.Operations.push(obj);
|
|
922
942
|
}
|
|
923
943
|
}
|
|
944
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
924
945
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
925
946
|
|
|
926
947
|
}
|
|
@@ -989,11 +1010,30 @@ class InsertDatasToTableRequest extends AbstractModel {
|
|
|
989
1010
|
this.PassWord = null;
|
|
990
1011
|
|
|
991
1012
|
/**
|
|
992
|
-
* Column type
|
|
1013
|
+
* Column type, this field has been deprecated, please use Types
|
|
993
1014
|
* @type {string || null}
|
|
994
1015
|
*/
|
|
995
1016
|
this.ColumnTypes = null;
|
|
996
1017
|
|
|
1018
|
+
/**
|
|
1019
|
+
* Array of column types
|
|
1020
|
+
|
|
1021
|
+
* @type {Array.<string> || null}
|
|
1022
|
+
*/
|
|
1023
|
+
this.Types = null;
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Catalog name, defaults to 'internal' if not specified.
|
|
1027
|
+
* @type {string || null}
|
|
1028
|
+
*/
|
|
1029
|
+
this.CatalogName = null;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* InstanceId
|
|
1033
|
+
* @type {string || null}
|
|
1034
|
+
*/
|
|
1035
|
+
this.InstanceId = null;
|
|
1036
|
+
|
|
997
1037
|
}
|
|
998
1038
|
|
|
999
1039
|
/**
|
|
@@ -1021,6 +1061,9 @@ class InsertDatasToTableRequest extends AbstractModel {
|
|
|
1021
1061
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
1022
1062
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
1023
1063
|
this.ColumnTypes = 'ColumnTypes' in params ? params.ColumnTypes : null;
|
|
1064
|
+
this.Types = 'Types' in params ? params.Types : null;
|
|
1065
|
+
this.CatalogName = 'CatalogName' in params ? params.CatalogName : null;
|
|
1066
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1024
1067
|
|
|
1025
1068
|
}
|
|
1026
1069
|
}
|
|
@@ -1104,6 +1147,24 @@ class ModifyDatabaseTableAccessRequest extends AbstractModel {
|
|
|
1104
1147
|
*/
|
|
1105
1148
|
this.PassWord = null;
|
|
1106
1149
|
|
|
1150
|
+
/**
|
|
1151
|
+
* Catalog name, defaults to internal if not specified.
|
|
1152
|
+
* @type {string || null}
|
|
1153
|
+
*/
|
|
1154
|
+
this.CatalogName = null;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* InstanceId
|
|
1158
|
+
* @type {string || null}
|
|
1159
|
+
*/
|
|
1160
|
+
this.InstanceId = null;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Machine Group, defaults to % if not specified.
|
|
1164
|
+
* @type {string || null}
|
|
1165
|
+
*/
|
|
1166
|
+
this.WhiteHost = null;
|
|
1167
|
+
|
|
1107
1168
|
}
|
|
1108
1169
|
|
|
1109
1170
|
/**
|
|
@@ -1120,6 +1181,9 @@ class ModifyDatabaseTableAccessRequest extends AbstractModel {
|
|
|
1120
1181
|
this.GrantOrRevoke = 'GrantOrRevoke' in params ? params.GrantOrRevoke : null;
|
|
1121
1182
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
1122
1183
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
1184
|
+
this.CatalogName = 'CatalogName' in params ? params.CatalogName : null;
|
|
1185
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1186
|
+
this.WhiteHost = 'WhiteHost' in params ? params.WhiteHost : null;
|
|
1123
1187
|
|
|
1124
1188
|
}
|
|
1125
1189
|
}
|
|
@@ -1866,6 +1930,12 @@ class DescribeQueryAnalyseRequest extends AbstractModel {
|
|
|
1866
1930
|
*/
|
|
1867
1931
|
this.SortOrder = null;
|
|
1868
1932
|
|
|
1933
|
+
/**
|
|
1934
|
+
* Minimum query execution time, in milliseconds.
|
|
1935
|
+
* @type {number || null}
|
|
1936
|
+
*/
|
|
1937
|
+
this.QueryTime = null;
|
|
1938
|
+
|
|
1869
1939
|
}
|
|
1870
1940
|
|
|
1871
1941
|
/**
|
|
@@ -1886,6 +1956,7 @@ class DescribeQueryAnalyseRequest extends AbstractModel {
|
|
|
1886
1956
|
this.SQLTypeFilter = 'SQLTypeFilter' in params ? params.SQLTypeFilter : null;
|
|
1887
1957
|
this.SortField = 'SortField' in params ? params.SortField : null;
|
|
1888
1958
|
this.SortOrder = 'SortOrder' in params ? params.SortOrder : null;
|
|
1959
|
+
this.QueryTime = 'QueryTime' in params ? params.QueryTime : null;
|
|
1889
1960
|
|
|
1890
1961
|
}
|
|
1891
1962
|
}
|
|
@@ -2154,6 +2225,12 @@ class ExecuteParametrizedQueryResponse extends AbstractModel {
|
|
|
2154
2225
|
*/
|
|
2155
2226
|
this.Rows = null;
|
|
2156
2227
|
|
|
2228
|
+
/**
|
|
2229
|
+
* Error message
|
|
2230
|
+
* @type {string || null}
|
|
2231
|
+
*/
|
|
2232
|
+
this.Message = null;
|
|
2233
|
+
|
|
2157
2234
|
/**
|
|
2158
2235
|
* 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.
|
|
2159
2236
|
* @type {string || null}
|
|
@@ -2181,6 +2258,7 @@ class ExecuteParametrizedQueryResponse extends AbstractModel {
|
|
|
2181
2258
|
this.Rows.push(obj);
|
|
2182
2259
|
}
|
|
2183
2260
|
}
|
|
2261
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
2184
2262
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2185
2263
|
|
|
2186
2264
|
}
|
|
@@ -3018,6 +3096,41 @@ class UpdateTableSchemaRequest extends AbstractModel {
|
|
|
3018
3096
|
}
|
|
3019
3097
|
}
|
|
3020
3098
|
|
|
3099
|
+
/**
|
|
3100
|
+
*
|
|
3101
|
+
* @class
|
|
3102
|
+
*/
|
|
3103
|
+
class CatalogPermission extends AbstractModel {
|
|
3104
|
+
constructor(){
|
|
3105
|
+
super();
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
*
|
|
3109
|
+
* @type {string || null}
|
|
3110
|
+
*/
|
|
3111
|
+
this.CatalogName = null;
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
*
|
|
3115
|
+
* @type {Array.<string> || null}
|
|
3116
|
+
*/
|
|
3117
|
+
this.Permissions = null;
|
|
3118
|
+
|
|
3119
|
+
}
|
|
3120
|
+
|
|
3121
|
+
/**
|
|
3122
|
+
* @private
|
|
3123
|
+
*/
|
|
3124
|
+
deserialize(params) {
|
|
3125
|
+
if (!params) {
|
|
3126
|
+
return;
|
|
3127
|
+
}
|
|
3128
|
+
this.CatalogName = 'CatalogName' in params ? params.CatalogName : null;
|
|
3129
|
+
this.Permissions = 'Permissions' in params ? params.Permissions : null;
|
|
3130
|
+
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3021
3134
|
/**
|
|
3022
3135
|
* CancelBackupJob response structure.
|
|
3023
3136
|
* @class
|
|
@@ -3745,6 +3858,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3745
3858
|
*/
|
|
3746
3859
|
this.TablePermissions = null;
|
|
3747
3860
|
|
|
3861
|
+
/**
|
|
3862
|
+
* The key is the full name of the catalog, and the value is the permission list of the user on the catalog.
|
|
3863
|
+
|
|
3864
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3865
|
+
* @type {Array.<CatalogPermission> || null}
|
|
3866
|
+
*/
|
|
3867
|
+
this.CatalogPermissions = null;
|
|
3868
|
+
|
|
3748
3869
|
}
|
|
3749
3870
|
|
|
3750
3871
|
/**
|
|
@@ -3774,6 +3895,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3774
3895
|
}
|
|
3775
3896
|
}
|
|
3776
3897
|
|
|
3898
|
+
if (params.CatalogPermissions) {
|
|
3899
|
+
this.CatalogPermissions = new Array();
|
|
3900
|
+
for (let z in params.CatalogPermissions) {
|
|
3901
|
+
let obj = new CatalogPermission();
|
|
3902
|
+
obj.deserialize(params.CatalogPermissions[z]);
|
|
3903
|
+
this.CatalogPermissions.push(obj);
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3777
3907
|
}
|
|
3778
3908
|
}
|
|
3779
3909
|
|
|
@@ -5679,6 +5809,12 @@ class ExecuteSelectQueryResponse extends AbstractModel {
|
|
|
5679
5809
|
*/
|
|
5680
5810
|
this.Rows = null;
|
|
5681
5811
|
|
|
5812
|
+
/**
|
|
5813
|
+
* Error message
|
|
5814
|
+
* @type {string || null}
|
|
5815
|
+
*/
|
|
5816
|
+
this.Message = null;
|
|
5817
|
+
|
|
5682
5818
|
/**
|
|
5683
5819
|
* 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.
|
|
5684
5820
|
* @type {string || null}
|
|
@@ -5706,6 +5842,7 @@ class ExecuteSelectQueryResponse extends AbstractModel {
|
|
|
5706
5842
|
this.Rows.push(obj);
|
|
5707
5843
|
}
|
|
5708
5844
|
}
|
|
5845
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
5709
5846
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5710
5847
|
|
|
5711
5848
|
}
|
|
@@ -5792,6 +5929,12 @@ class QueryTableDataResponse extends AbstractModel {
|
|
|
5792
5929
|
*/
|
|
5793
5930
|
this.Rows = null;
|
|
5794
5931
|
|
|
5932
|
+
/**
|
|
5933
|
+
* Error message
|
|
5934
|
+
* @type {string || null}
|
|
5935
|
+
*/
|
|
5936
|
+
this.Message = null;
|
|
5937
|
+
|
|
5795
5938
|
/**
|
|
5796
5939
|
* 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.
|
|
5797
5940
|
* @type {string || null}
|
|
@@ -5819,6 +5962,7 @@ class QueryTableDataResponse extends AbstractModel {
|
|
|
5819
5962
|
this.Rows.push(obj);
|
|
5820
5963
|
}
|
|
5821
5964
|
}
|
|
5965
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
5822
5966
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5823
5967
|
|
|
5824
5968
|
}
|
|
@@ -6424,7 +6568,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6424
6568
|
this.Database = null;
|
|
6425
6569
|
|
|
6426
6570
|
/**
|
|
6427
|
-
* SQL
|
|
6571
|
+
* SQL Type: 0 is non-query, 1 is query, -1 is unrestricted.
|
|
6428
6572
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6429
6573
|
* @type {string || null}
|
|
6430
6574
|
*/
|
|
@@ -7899,6 +8043,19 @@ class ExecuteSelectQueryRequest extends AbstractModel {
|
|
|
7899
8043
|
*/
|
|
7900
8044
|
this.PassWord = null;
|
|
7901
8045
|
|
|
8046
|
+
/**
|
|
8047
|
+
* Catalog name, defaults to 'internal' if not specified.
|
|
8048
|
+
|
|
8049
|
+
* @type {string || null}
|
|
8050
|
+
*/
|
|
8051
|
+
this.CatalogName = null;
|
|
8052
|
+
|
|
8053
|
+
/**
|
|
8054
|
+
* InstanceId
|
|
8055
|
+
* @type {string || null}
|
|
8056
|
+
*/
|
|
8057
|
+
this.InstanceId = null;
|
|
8058
|
+
|
|
7902
8059
|
}
|
|
7903
8060
|
|
|
7904
8061
|
/**
|
|
@@ -7914,6 +8071,8 @@ class ExecuteSelectQueryRequest extends AbstractModel {
|
|
|
7914
8071
|
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
7915
8072
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
7916
8073
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
8074
|
+
this.CatalogName = 'CatalogName' in params ? params.CatalogName : null;
|
|
8075
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
7917
8076
|
|
|
7918
8077
|
}
|
|
7919
8078
|
}
|
|
@@ -8068,7 +8227,7 @@ class ModifyDatabaseTableAccessResponse extends AbstractModel {
|
|
|
8068
8227
|
this.Success = null;
|
|
8069
8228
|
|
|
8070
8229
|
/**
|
|
8071
|
-
*
|
|
8230
|
+
* Error message
|
|
8072
8231
|
* @type {string || null}
|
|
8073
8232
|
*/
|
|
8074
8233
|
this.Message = null;
|
|
@@ -8713,6 +8872,19 @@ class QueryTableDataRequest extends AbstractModel {
|
|
|
8713
8872
|
*/
|
|
8714
8873
|
this.PassWord = null;
|
|
8715
8874
|
|
|
8875
|
+
/**
|
|
8876
|
+
* Catalog name, defaults to 'internal' if not specified.
|
|
8877
|
+
|
|
8878
|
+
* @type {string || null}
|
|
8879
|
+
*/
|
|
8880
|
+
this.CatalogName = null;
|
|
8881
|
+
|
|
8882
|
+
/**
|
|
8883
|
+
* InstanceId
|
|
8884
|
+
* @type {string || null}
|
|
8885
|
+
*/
|
|
8886
|
+
this.InstanceId = null;
|
|
8887
|
+
|
|
8716
8888
|
}
|
|
8717
8889
|
|
|
8718
8890
|
/**
|
|
@@ -8729,6 +8901,8 @@ class QueryTableDataRequest extends AbstractModel {
|
|
|
8729
8901
|
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
8730
8902
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
8731
8903
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
8904
|
+
this.CatalogName = 'CatalogName' in params ? params.CatalogName : null;
|
|
8905
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
8732
8906
|
|
|
8733
8907
|
}
|
|
8734
8908
|
}
|
|
@@ -9762,6 +9936,13 @@ class DescribeInstanceOperationHistoryRequest extends AbstractModel {
|
|
|
9762
9936
|
*/
|
|
9763
9937
|
this.PassWord = null;
|
|
9764
9938
|
|
|
9939
|
+
/**
|
|
9940
|
+
* Information, deprecated.
|
|
9941
|
+
|
|
9942
|
+
* @type {string || null}
|
|
9943
|
+
*/
|
|
9944
|
+
this.Message = null;
|
|
9945
|
+
|
|
9765
9946
|
}
|
|
9766
9947
|
|
|
9767
9948
|
/**
|
|
@@ -9778,6 +9959,7 @@ class DescribeInstanceOperationHistoryRequest extends AbstractModel {
|
|
|
9778
9959
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
9779
9960
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
9780
9961
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
9962
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
9781
9963
|
|
|
9782
9964
|
}
|
|
9783
9965
|
}
|
|
@@ -9873,6 +10055,12 @@ class DescribeQueryAnalyseResponse extends AbstractModel {
|
|
|
9873
10055
|
*/
|
|
9874
10056
|
this.TotalPages = null;
|
|
9875
10057
|
|
|
10058
|
+
/**
|
|
10059
|
+
* Error message
|
|
10060
|
+
* @type {string || null}
|
|
10061
|
+
*/
|
|
10062
|
+
this.Message = null;
|
|
10063
|
+
|
|
9876
10064
|
/**
|
|
9877
10065
|
* 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.
|
|
9878
10066
|
* @type {string || null}
|
|
@@ -9901,6 +10089,7 @@ class DescribeQueryAnalyseResponse extends AbstractModel {
|
|
|
9901
10089
|
this.CurrentPage = 'CurrentPage' in params ? params.CurrentPage : null;
|
|
9902
10090
|
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
9903
10091
|
this.TotalPages = 'TotalPages' in params ? params.TotalPages : null;
|
|
10092
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
9904
10093
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9905
10094
|
|
|
9906
10095
|
}
|
|
@@ -10105,6 +10294,18 @@ class ExecuteParametrizedQueryRequest extends AbstractModel {
|
|
|
10105
10294
|
*/
|
|
10106
10295
|
this.PassWord = null;
|
|
10107
10296
|
|
|
10297
|
+
/**
|
|
10298
|
+
* Catalog name, defaults to 'internal' if not specified.
|
|
10299
|
+
* @type {string || null}
|
|
10300
|
+
*/
|
|
10301
|
+
this.CatalogName = null;
|
|
10302
|
+
|
|
10303
|
+
/**
|
|
10304
|
+
* InstanceId
|
|
10305
|
+
* @type {string || null}
|
|
10306
|
+
*/
|
|
10307
|
+
this.InstanceId = null;
|
|
10308
|
+
|
|
10108
10309
|
}
|
|
10109
10310
|
|
|
10110
10311
|
/**
|
|
@@ -10129,6 +10330,8 @@ class ExecuteParametrizedQueryRequest extends AbstractModel {
|
|
|
10129
10330
|
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
10130
10331
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
10131
10332
|
this.PassWord = 'PassWord' in params ? params.PassWord : null;
|
|
10333
|
+
this.CatalogName = 'CatalogName' in params ? params.CatalogName : null;
|
|
10334
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
10132
10335
|
|
|
10133
10336
|
}
|
|
10134
10337
|
}
|
|
@@ -12363,6 +12566,7 @@ module.exports = {
|
|
|
12363
12566
|
DescribeCreateTablesDDLRequest: DescribeCreateTablesDDLRequest,
|
|
12364
12567
|
RestartClusterForNodeResponse: RestartClusterForNodeResponse,
|
|
12365
12568
|
UpdateTableSchemaRequest: UpdateTableSchemaRequest,
|
|
12569
|
+
CatalogPermission: CatalogPermission,
|
|
12366
12570
|
CancelBackupJobResponse: CancelBackupJobResponse,
|
|
12367
12571
|
DescribeAreaRegionRequest: DescribeAreaRegionRequest,
|
|
12368
12572
|
SlowQueryRecord: SlowQueryRecord,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1016";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -27,6 +27,7 @@ const CreateUploadUrlResponse = models.CreateUploadUrlResponse;
|
|
|
27
27
|
const ApplyCardVerificationResponse = models.ApplyCardVerificationResponse;
|
|
28
28
|
const DetectReflectLivenessAndCompareRequest = models.DetectReflectLivenessAndCompareRequest;
|
|
29
29
|
const GetFaceIdTokenIntlRequest = models.GetFaceIdTokenIntlRequest;
|
|
30
|
+
const JapanIDCard = models.JapanIDCard;
|
|
30
31
|
const VideoLivenessCompareRequest = models.VideoLivenessCompareRequest;
|
|
31
32
|
const ApplyWebVerificationTokenResponse = models.ApplyWebVerificationTokenResponse;
|
|
32
33
|
const NormalHKIDCard = models.NormalHKIDCard;
|
|
@@ -55,6 +56,7 @@ const CardInfo = models.CardInfo;
|
|
|
55
56
|
const PhilippinesVoteID = models.PhilippinesVoteID;
|
|
56
57
|
const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
|
|
57
58
|
const MainlandIDCard = models.MainlandIDCard;
|
|
59
|
+
const TaiWanIDCard = models.TaiWanIDCard;
|
|
58
60
|
const NormalMLIDCard = models.NormalMLIDCard;
|
|
59
61
|
const NormalIndonesiaIDCard = models.NormalIndonesiaIDCard;
|
|
60
62
|
const CompareFaceLivenessResponse = models.CompareFaceLivenessResponse;
|
|
@@ -164,7 +166,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
164
166
|
|
|
165
167
|
/**
|
|
166
168
|
* The types of national cards supported by the API and whether instructions on the back of the card are required are as follows:
|
|
167
|
-
<table> <thead> <tr> <td>Nationality</td> <td style="width:200px">CardType</td> <td style="width:200px">Back side required</td> </tr> </thead> <tbody> <tr> <td>Indonesia</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Indonesia</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Hongkong</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Thailand</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Thailand</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Japan</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Japan</td> <td>Driving License</td> <td>No</td> </tr> </tbody> </table>
|
|
169
|
+
<table> <thead> <tr> <td>Nationality</td> <td style="width:200px">CardType</td> <td style="width:200px">Back side required</td> </tr> </thead> <tbody> <tr> <td>Indonesia</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Indonesia</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Hongkong</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Thailand</td> <td>ID card</td> <td>No</td> </tr> <tr> <td>Thailand</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Malaysia</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Singapore</td> <td>Driving License</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Philippine</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Japan</td> <td>ID card</td> <td>Yes</td> </tr> <tr> <td>Japan</td> <td>Driving License</td> <td>No</td> </tr> <tr> <td>Taiwan</td> <td>ID Card</td> <td>Yes</td> </tr> </tbody> </table>
|
|
168
170
|
* @param {ApplyCardVerificationRequest} req
|
|
169
171
|
* @param {function(string, ApplyCardVerificationResponse):void} cb
|
|
170
172
|
* @public
|
|
@@ -659,6 +659,75 @@ Default value: `4`.
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
+
/**
|
|
663
|
+
* Japan ID card.
|
|
664
|
+
* @class
|
|
665
|
+
*/
|
|
666
|
+
class JapanIDCard extends AbstractModel {
|
|
667
|
+
constructor(){
|
|
668
|
+
super();
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Full name
|
|
672
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
673
|
+
* @type {string || null}
|
|
674
|
+
*/
|
|
675
|
+
this.FullName = null;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* License number
|
|
679
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
680
|
+
* @type {string || null}
|
|
681
|
+
*/
|
|
682
|
+
this.LicenseNumber = null;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Age
|
|
686
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
687
|
+
* @type {string || null}
|
|
688
|
+
*/
|
|
689
|
+
this.Age = null;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Birthday
|
|
693
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
694
|
+
* @type {string || null}
|
|
695
|
+
*/
|
|
696
|
+
this.Birthday = null;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Expire date
|
|
700
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
701
|
+
* @type {string || null}
|
|
702
|
+
*/
|
|
703
|
+
this.ExpirationDate = null;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Address
|
|
707
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
708
|
+
* @type {string || null}
|
|
709
|
+
*/
|
|
710
|
+
this.FormattedAddress = null;
|
|
711
|
+
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* @private
|
|
716
|
+
*/
|
|
717
|
+
deserialize(params) {
|
|
718
|
+
if (!params) {
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
this.FullName = 'FullName' in params ? params.FullName : null;
|
|
722
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
723
|
+
this.Age = 'Age' in params ? params.Age : null;
|
|
724
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
725
|
+
this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
|
|
726
|
+
this.FormattedAddress = 'FormattedAddress' in params ? params.FormattedAddress : null;
|
|
727
|
+
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
662
731
|
/**
|
|
663
732
|
* VideoLivenessCompare request structure.
|
|
664
733
|
* @class
|
|
@@ -1719,6 +1788,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1719
1788
|
*/
|
|
1720
1789
|
this.MainlandIDCard = null;
|
|
1721
1790
|
|
|
1791
|
+
/**
|
|
1792
|
+
* Japan ID Card
|
|
1793
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1794
|
+
* @type {JapanIDCard || null}
|
|
1795
|
+
*/
|
|
1796
|
+
this.JapanIDCard = null;
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* Taiwan ID Card
|
|
1800
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1801
|
+
* @type {TaiWanIDCard || null}
|
|
1802
|
+
*/
|
|
1803
|
+
this.TaiWanIDCard = null;
|
|
1804
|
+
|
|
1722
1805
|
}
|
|
1723
1806
|
|
|
1724
1807
|
/**
|
|
@@ -1819,6 +1902,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1819
1902
|
this.MainlandIDCard = obj;
|
|
1820
1903
|
}
|
|
1821
1904
|
|
|
1905
|
+
if (params.JapanIDCard) {
|
|
1906
|
+
let obj = new JapanIDCard();
|
|
1907
|
+
obj.deserialize(params.JapanIDCard)
|
|
1908
|
+
this.JapanIDCard = obj;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
if (params.TaiWanIDCard) {
|
|
1912
|
+
let obj = new TaiWanIDCard();
|
|
1913
|
+
obj.deserialize(params.TaiWanIDCard)
|
|
1914
|
+
this.TaiWanIDCard = obj;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1822
1917
|
}
|
|
1823
1918
|
}
|
|
1824
1919
|
|
|
@@ -2736,6 +2831,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2736
2831
|
*/
|
|
2737
2832
|
this.MacaoIDCard = null;
|
|
2738
2833
|
|
|
2834
|
+
/**
|
|
2835
|
+
* TaiWan ID Card
|
|
2836
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2837
|
+
* @type {TaiWanIDCard || null}
|
|
2838
|
+
*/
|
|
2839
|
+
this.TaiWanIDCard = null;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Japan ID Card
|
|
2843
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2844
|
+
* @type {JapanIDCard || null}
|
|
2845
|
+
*/
|
|
2846
|
+
this.JapanIDCard = null;
|
|
2847
|
+
|
|
2739
2848
|
}
|
|
2740
2849
|
|
|
2741
2850
|
/**
|
|
@@ -2830,6 +2939,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2830
2939
|
this.MacaoIDCard = obj;
|
|
2831
2940
|
}
|
|
2832
2941
|
|
|
2942
|
+
if (params.TaiWanIDCard) {
|
|
2943
|
+
let obj = new TaiWanIDCard();
|
|
2944
|
+
obj.deserialize(params.TaiWanIDCard)
|
|
2945
|
+
this.TaiWanIDCard = obj;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
if (params.JapanIDCard) {
|
|
2949
|
+
let obj = new JapanIDCard();
|
|
2950
|
+
obj.deserialize(params.JapanIDCard)
|
|
2951
|
+
this.JapanIDCard = obj;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2833
2954
|
}
|
|
2834
2955
|
}
|
|
2835
2956
|
|
|
@@ -3111,6 +3232,67 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3111
3232
|
}
|
|
3112
3233
|
}
|
|
3113
3234
|
|
|
3235
|
+
/**
|
|
3236
|
+
* Taiwan ID card.
|
|
3237
|
+
* @class
|
|
3238
|
+
*/
|
|
3239
|
+
class TaiWanIDCard extends AbstractModel {
|
|
3240
|
+
constructor(){
|
|
3241
|
+
super();
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* Full name
|
|
3245
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3246
|
+
* @type {string || null}
|
|
3247
|
+
*/
|
|
3248
|
+
this.FullName = null;
|
|
3249
|
+
|
|
3250
|
+
/**
|
|
3251
|
+
* License number
|
|
3252
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3253
|
+
* @type {string || null}
|
|
3254
|
+
*/
|
|
3255
|
+
this.LicenseNumber = null;
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* Gender
|
|
3259
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3260
|
+
* @type {string || null}
|
|
3261
|
+
*/
|
|
3262
|
+
this.Sex = null;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Issued country
|
|
3266
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3267
|
+
* @type {string || null}
|
|
3268
|
+
*/
|
|
3269
|
+
this.IssuedCountry = null;
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* Registration number
|
|
3273
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3274
|
+
* @type {string || null}
|
|
3275
|
+
*/
|
|
3276
|
+
this.RegistrationNumber = null;
|
|
3277
|
+
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
/**
|
|
3281
|
+
* @private
|
|
3282
|
+
*/
|
|
3283
|
+
deserialize(params) {
|
|
3284
|
+
if (!params) {
|
|
3285
|
+
return;
|
|
3286
|
+
}
|
|
3287
|
+
this.FullName = 'FullName' in params ? params.FullName : null;
|
|
3288
|
+
this.LicenseNumber = 'LicenseNumber' in params ? params.LicenseNumber : null;
|
|
3289
|
+
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
3290
|
+
this.IssuedCountry = 'IssuedCountry' in params ? params.IssuedCountry : null;
|
|
3291
|
+
this.RegistrationNumber = 'RegistrationNumber' in params ? params.RegistrationNumber : null;
|
|
3292
|
+
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3114
3296
|
/**
|
|
3115
3297
|
* Malaysia ID card.
|
|
3116
3298
|
* @class
|
|
@@ -4690,6 +4872,7 @@ THA: Thailand
|
|
|
4690
4872
|
MYS: Malaysia
|
|
4691
4873
|
SGP: Singapore
|
|
4692
4874
|
JPN: Japan
|
|
4875
|
+
TWN:Taiwan
|
|
4693
4876
|
AUTO: Automatic Identification
|
|
4694
4877
|
* @type {string || null}
|
|
4695
4878
|
*/
|
|
@@ -5257,6 +5440,7 @@ module.exports = {
|
|
|
5257
5440
|
ApplyCardVerificationResponse: ApplyCardVerificationResponse,
|
|
5258
5441
|
DetectReflectLivenessAndCompareRequest: DetectReflectLivenessAndCompareRequest,
|
|
5259
5442
|
GetFaceIdTokenIntlRequest: GetFaceIdTokenIntlRequest,
|
|
5443
|
+
JapanIDCard: JapanIDCard,
|
|
5260
5444
|
VideoLivenessCompareRequest: VideoLivenessCompareRequest,
|
|
5261
5445
|
ApplyWebVerificationTokenResponse: ApplyWebVerificationTokenResponse,
|
|
5262
5446
|
NormalHKIDCard: NormalHKIDCard,
|
|
@@ -5285,6 +5469,7 @@ module.exports = {
|
|
|
5285
5469
|
PhilippinesVoteID: PhilippinesVoteID,
|
|
5286
5470
|
WebVerificationConfigIntl: WebVerificationConfigIntl,
|
|
5287
5471
|
MainlandIDCard: MainlandIDCard,
|
|
5472
|
+
TaiWanIDCard: TaiWanIDCard,
|
|
5288
5473
|
NormalMLIDCard: NormalMLIDCard,
|
|
5289
5474
|
NormalIndonesiaIDCard: NormalIndonesiaIDCard,
|
|
5290
5475
|
CompareFaceLivenessResponse: CompareFaceLivenessResponse,
|
|
@@ -602,7 +602,7 @@ class AddSmsTemplateRequest extends AbstractModel {
|
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* SMS type. 1: Marketing SMS, 2: Notification SMS, 3: OTP SMS.
|
|
605
|
-
Note:
|
|
605
|
+
Note: To further improve the quality of SMS service and increase the approval rate of SMS templates, Tencent Cloud SMS template types will be optimized to "OTP", "Notification", and "Marketing" from May 16, 2024. You can Refer to [Optimization of Tencent Cloud SMS Template Types](https://www.tencentcloud.com/document/product/382/60410). Customers who newly register for SMS service must strictly refer to the new SMS type to apply for SMS template.
|
|
606
606
|
* @type {number || null}
|
|
607
607
|
*/
|
|
608
608
|
this.SmsType = null;
|
|
@@ -667,7 +667,7 @@ class ModifySmsTemplateRequest extends AbstractModel {
|
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* SMS type. 1: Marketing SMS, 2: Notification SMS, 3: OTP SMS.
|
|
670
|
-
Note:
|
|
670
|
+
Note: To further improve the quality of SMS service and increase the approval rate of SMS templates, Tencent Cloud SMS template types will be optimized to "OTP", "Notification", and "Marketing" from May 16, 2024. You can Refer to [Optimization of Tencent Cloud SMS Template Types](https://www.tencentcloud.com/document/product/382/60410). Customers who newly register for SMS service must strictly refer to the new SMS type to apply for SMS template.
|
|
671
671
|
* @type {number || null}
|
|
672
672
|
*/
|
|
673
673
|
this.SmsType = null;
|