tencentcloud-sdk-nodejs-dbbrain 4.0.1046 → 4.0.1049

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,7 +1,7 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-dbbrain",
3
- "version": "4.0.1046",
4
- "description": "Tencent Cloud API NODEJS SDK",
3
+ "version": "4.0.1049",
4
+ "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
7
7
  "test": "mocha -t 10000",
@@ -22,7 +22,7 @@
22
22
  "author": "tencentcloudapi",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
25
+ "tencentcloud-sdk-nodejs-common": "*",
26
26
  "tslib": "1.13.0"
27
27
  },
28
28
  "directories": {
@@ -35,14 +35,19 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/form-data": "^2.5.0",
38
+ "@types/json-bigint": "^1.0.1",
38
39
  "@types/node": "^14.0.26",
39
40
  "@types/node-fetch": "^2.5.7",
41
+ "@types/uuid": "^9.0.8",
40
42
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
43
  "@typescript-eslint/parser": "^2.34.0",
44
+ "babel-eslint": "^10.0.2",
42
45
  "chai": "^4.2.0",
43
46
  "eslint": "^6.8.0",
47
+ "eslint-plugin-react": "^7.17.0",
44
48
  "mocha": "^8.1.1",
49
+ "prettier": "^2.3.0",
45
50
  "ts-node": "^8.10.2",
46
51
  "typescript": "^3.9.7"
47
52
  }
48
- }
53
+ }
@@ -1014,12 +1014,10 @@ export interface InstanceInfo {
1014
1014
  AuditRunningStatus?: string
1015
1015
  /**
1016
1016
  * 内网vip。
1017
- 注意:此字段可能返回 null,表示取不到有效值。
1018
1017
  */
1019
1018
  InternalVip?: string
1020
1019
  /**
1021
1020
  * 内网port。
1022
- 注意:此字段可能返回 null,表示取不到有效值。
1023
1021
  */
1024
1022
  InternalVport?: number
1025
1023
  /**
@@ -1028,12 +1026,10 @@ export interface InstanceInfo {
1028
1026
  CreateTime?: string
1029
1027
  /**
1030
1028
  * 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
1031
- 注意:此字段可能返回 null,表示取不到有效值。
1032
1029
  */
1033
1030
  ClusterId?: string
1034
1031
  /**
1035
1032
  * 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
1036
- 注意:此字段可能返回 null,表示取不到有效值。
1037
1033
  */
1038
1034
  ClusterName?: string
1039
1035
  }
@@ -1182,7 +1178,6 @@ export interface DescribeDBDiagReportTasksRequest {
1182
1178
  export interface CreateDBDiagReportTaskResponse {
1183
1179
  /**
1184
1180
  * 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
1185
- 注意:此字段可能返回 null,表示取不到有效值。
1186
1181
  */
1187
1182
  AsyncRequestId?: number
1188
1183
  /**
@@ -1906,20 +1901,19 @@ export interface HealthStatus {
1906
1901
  /**
1907
1902
  * 健康分数,满分100。
1908
1903
  */
1909
- HealthScore: number
1904
+ HealthScore?: number
1910
1905
  /**
1911
1906
  * 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
1912
1907
  */
1913
- HealthLevel: string
1908
+ HealthLevel?: string
1914
1909
  /**
1915
1910
  * 总扣分分数。
1916
1911
  */
1917
- ScoreLost: number
1912
+ ScoreLost?: number
1918
1913
  /**
1919
1914
  * 扣分详情。
1920
- 注意:此字段可能返回 null,表示取不到有效值。
1921
1915
  */
1922
- ScoreDetails: Array<ScoreDetail>
1916
+ ScoreDetails?: Array<ScoreDetail>
1923
1917
  }
1924
1918
 
1925
1919
  /**
@@ -599,7 +599,6 @@ export interface DescribeSlowLogTopSqlsRequest {
599
599
  export interface DescribeRedisBigKeyAnalysisTasksResponse {
600
600
  /**
601
601
  * 任务总数。
602
- 注意:此字段可能返回 null,表示取不到有效值。
603
602
  */
604
603
  TotalCount?: number
605
604
  /**
@@ -937,7 +936,6 @@ export interface CreateKillTaskResponse {
937
936
  export interface DescribeAuditInstanceListResponse {
938
937
  /**
939
938
  * 符合条件的实例个数。
940
- 注意:此字段可能返回 null,表示取不到有效值。
941
939
  */
942
940
  TotalCount?: number
943
941
  /**
@@ -1135,20 +1133,19 @@ export interface HealthStatus {
1135
1133
  /**
1136
1134
  * 健康分数,满分100。
1137
1135
  */
1138
- HealthScore: number
1136
+ HealthScore?: number
1139
1137
  /**
1140
1138
  * 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
1141
1139
  */
1142
- HealthLevel: string
1140
+ HealthLevel?: string
1143
1141
  /**
1144
1142
  * 总扣分分数。
1145
1143
  */
1146
- ScoreLost: number
1144
+ ScoreLost?: number
1147
1145
  /**
1148
1146
  * 扣分详情。
1149
- 注意:此字段可能返回 null,表示取不到有效值。
1150
1147
  */
1151
- ScoreDetails: Array<ScoreDetail>
1148
+ ScoreDetails?: Array<ScoreDetail>
1152
1149
  }
1153
1150
 
1154
1151
  /**
@@ -1490,7 +1487,6 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
1490
1487
  export interface CreateDBDiagReportTaskResponse {
1491
1488
  /**
1492
1489
  * 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
1493
- 注意:此字段可能返回 null,表示取不到有效值。
1494
1490
  */
1495
1491
  AsyncRequestId?: number
1496
1492
  /**
@@ -3049,12 +3045,10 @@ export interface InstanceInfo {
3049
3045
  AuditRunningStatus?: string
3050
3046
  /**
3051
3047
  * 内网vip。
3052
- 注意:此字段可能返回 null,表示取不到有效值。
3053
3048
  */
3054
3049
  InternalVip?: string
3055
3050
  /**
3056
3051
  * 内网port。
3057
- 注意:此字段可能返回 null,表示取不到有效值。
3058
3052
  */
3059
3053
  InternalVport?: number
3060
3054
  /**
@@ -3063,12 +3057,10 @@ export interface InstanceInfo {
3063
3057
  CreateTime?: string
3064
3058
  /**
3065
3059
  * 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
3066
- 注意:此字段可能返回 null,表示取不到有效值。
3067
3060
  */
3068
3061
  ClusterId?: string
3069
3062
  /**
3070
3063
  * 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
3071
- 注意:此字段可能返回 null,表示取不到有效值。
3072
3064
  */
3073
3065
  ClusterName?: string
3074
3066
  /**
@@ -957,12 +957,10 @@ export interface InstanceInfo {
957
957
  AuditRunningStatus?: string;
958
958
  /**
959
959
  * 内网vip。
960
- 注意:此字段可能返回 null,表示取不到有效值。
961
960
  */
962
961
  InternalVip?: string;
963
962
  /**
964
963
  * 内网port。
965
- 注意:此字段可能返回 null,表示取不到有效值。
966
964
  */
967
965
  InternalVport?: number;
968
966
  /**
@@ -971,12 +969,10 @@ export interface InstanceInfo {
971
969
  CreateTime?: string;
972
970
  /**
973
971
  * 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
974
- 注意:此字段可能返回 null,表示取不到有效值。
975
972
  */
976
973
  ClusterId?: string;
977
974
  /**
978
975
  * 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
979
- 注意:此字段可能返回 null,表示取不到有效值。
980
976
  */
981
977
  ClusterName?: string;
982
978
  }
@@ -1119,7 +1115,6 @@ export interface DescribeDBDiagReportTasksRequest {
1119
1115
  export interface CreateDBDiagReportTaskResponse {
1120
1116
  /**
1121
1117
  * 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
1122
- 注意:此字段可能返回 null,表示取不到有效值。
1123
1118
  */
1124
1119
  AsyncRequestId?: number;
1125
1120
  /**
@@ -1815,20 +1810,19 @@ export interface HealthStatus {
1815
1810
  /**
1816
1811
  * 健康分数,满分100。
1817
1812
  */
1818
- HealthScore: number;
1813
+ HealthScore?: number;
1819
1814
  /**
1820
1815
  * 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
1821
1816
  */
1822
- HealthLevel: string;
1817
+ HealthLevel?: string;
1823
1818
  /**
1824
1819
  * 总扣分分数。
1825
1820
  */
1826
- ScoreLost: number;
1821
+ ScoreLost?: number;
1827
1822
  /**
1828
1823
  * 扣分详情。
1829
- 注意:此字段可能返回 null,表示取不到有效值。
1830
1824
  */
1831
- ScoreDetails: Array<ScoreDetail>;
1825
+ ScoreDetails?: Array<ScoreDetail>;
1832
1826
  }
1833
1827
  /**
1834
1828
  * DescribeUserSqlAdvice请求参数结构体
@@ -563,7 +563,6 @@ export interface DescribeSlowLogTopSqlsRequest {
563
563
  export interface DescribeRedisBigKeyAnalysisTasksResponse {
564
564
  /**
565
565
  * 任务总数。
566
- 注意:此字段可能返回 null,表示取不到有效值。
567
566
  */
568
567
  TotalCount?: number;
569
568
  /**
@@ -889,7 +888,6 @@ export interface CreateKillTaskResponse {
889
888
  export interface DescribeAuditInstanceListResponse {
890
889
  /**
891
890
  * 符合条件的实例个数。
892
- 注意:此字段可能返回 null,表示取不到有效值。
893
891
  */
894
892
  TotalCount?: number;
895
893
  /**
@@ -1078,20 +1076,19 @@ export interface HealthStatus {
1078
1076
  /**
1079
1077
  * 健康分数,满分100。
1080
1078
  */
1081
- HealthScore: number;
1079
+ HealthScore?: number;
1082
1080
  /**
1083
1081
  * 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
1084
1082
  */
1085
- HealthLevel: string;
1083
+ HealthLevel?: string;
1086
1084
  /**
1087
1085
  * 总扣分分数。
1088
1086
  */
1089
- ScoreLost: number;
1087
+ ScoreLost?: number;
1090
1088
  /**
1091
1089
  * 扣分详情。
1092
- 注意:此字段可能返回 null,表示取不到有效值。
1093
1090
  */
1094
- ScoreDetails: Array<ScoreDetail>;
1091
+ ScoreDetails?: Array<ScoreDetail>;
1095
1092
  }
1096
1093
  /**
1097
1094
  * DescribeTopSpaceTables返回参数结构体
@@ -1416,7 +1413,6 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
1416
1413
  export interface CreateDBDiagReportTaskResponse {
1417
1414
  /**
1418
1415
  * 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
1419
- 注意:此字段可能返回 null,表示取不到有效值。
1420
1416
  */
1421
1417
  AsyncRequestId?: number;
1422
1418
  /**
@@ -2912,12 +2908,10 @@ export interface InstanceInfo {
2912
2908
  AuditRunningStatus?: string;
2913
2909
  /**
2914
2910
  * 内网vip。
2915
- 注意:此字段可能返回 null,表示取不到有效值。
2916
2911
  */
2917
2912
  InternalVip?: string;
2918
2913
  /**
2919
2914
  * 内网port。
2920
- 注意:此字段可能返回 null,表示取不到有效值。
2921
2915
  */
2922
2916
  InternalVport?: number;
2923
2917
  /**
@@ -2926,12 +2920,10 @@ export interface InstanceInfo {
2926
2920
  CreateTime?: string;
2927
2921
  /**
2928
2922
  * 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
2929
- 注意:此字段可能返回 null,表示取不到有效值。
2930
2923
  */
2931
2924
  ClusterId?: string;
2932
2925
  /**
2933
2926
  * 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
2934
- 注意:此字段可能返回 null,表示取不到有效值。
2935
2927
  */
2936
2928
  ClusterName?: string;
2937
2929
  /**