tencentcloud-sdk-nodejs-wedata 4.1.2 → 4.1.5

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/README.md CHANGED
@@ -44,11 +44,19 @@ npm install tencentcloud-sdk-nodejs-vpc --save
44
44
 
45
45
  ### 安装全产品 SDK
46
46
 
47
+ 如果项目依赖的云产品较多,可以引入全产品 SDK。
48
+
47
49
  ```
48
50
  npm install tencentcloud-sdk-nodejs --save
49
51
  ```
50
52
 
51
- 全产品 SDK 包含了所有云产品的调用代码,体积偏大,对体积敏感的场景,推荐安装指定产品 SDK。
53
+ 全产品 SDK 包含所有云产品调用代码和 TypeScript 类型文件,体积偏大。对于体积敏感的场景,推荐安装指定产品 SDK。
54
+
55
+ 如果既希望全产品调用,又对包体积比较敏感,可以使用 Slim 版本 SDK。Slim SDK 移除类型文件,并进行了代码压缩,适合体积敏感场景使用:
56
+
57
+ ```
58
+ npm install tencentcloud-sdk-slim-nodejs --save
59
+ ```
52
60
 
53
61
  ## 通过源码包安装
54
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-wedata",
3
- "version": "4.1.2",
3
+ "version": "4.1.5",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -10,6 +10,7 @@
10
10
  "build": "concurrently 'npm:build:cjs' 'npm:build:es'",
11
11
  "build:cjs": "tsc -p tsconfig.json",
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
+ "build:slim": "node ./scripts/build_slim.js",
13
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
14
15
  "clean": "rimraf tencentcloud es"
15
16
  },
@@ -53,6 +54,7 @@
53
54
  "babel-eslint": "^10.0.2",
54
55
  "chai": "^4.2.0",
55
56
  "concurrently": "^6.5.1",
57
+ "esbuild": "^0.25.0",
56
58
  "eslint": "^6.8.0",
57
59
  "eslint-plugin-react": "^7.17.0",
58
60
  "mocha": "^8.4.0",
@@ -209,7 +209,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
209
209
  /**
210
210
  * 添加项目用户角色
211
211
  */
212
- AddProjectUserRole(req?: AddProjectUserRoleRequest, cb?: (error: string, rep: AddProjectUserRoleResponse) => void): Promise<AddProjectUserRoleResponse>;
212
+ AddProjectUserRole(req: AddProjectUserRoleRequest, cb?: (error: string, rep: AddProjectUserRoleResponse) => void): Promise<AddProjectUserRoleResponse>;
213
213
  /**
214
214
  * 判断集成节点名称是否存在
215
215
  */
@@ -1759,6 +1759,10 @@ export interface KillOpsMakePlanInstancesRequest {
1759
1759
  * AddProjectUserRole返回参数结构体
1760
1760
  */
1761
1761
  export interface AddProjectUserRoleResponse {
1762
+ /**
1763
+ * 返回数据
1764
+ */
1765
+ Data?: boolean;
1762
1766
  /**
1763
1767
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1764
1768
  */
@@ -4405,7 +4409,20 @@ export interface Rule {
4405
4409
  /**
4406
4410
  * AddProjectUserRole请求参数结构体
4407
4411
  */
4408
- export declare type AddProjectUserRoleRequest = null;
4412
+ export interface AddProjectUserRoleRequest {
4413
+ /**
4414
+ * 项目id
4415
+ */
4416
+ ProjectId: string;
4417
+ /**
4418
+ * 用户uin
4419
+ */
4420
+ UserIds: Array<string>;
4421
+ /**
4422
+ * 角色id
4423
+ */
4424
+ RoleIds: Array<string>;
4425
+ }
4409
4426
  /**
4410
4427
  * ModifyRuleGroupSubscription请求参数结构体
4411
4428
  */
@@ -9678,6 +9695,11 @@ export interface AlarmReceiverInfo {
9678
9695
  注意:此字段可能返回 null,表示取不到有效值。
9679
9696
  */
9680
9697
  LarkGroup?: number;
9698
+ /**
9699
+ * 发送结果 大json格式
9700
+ 注意:此字段可能返回 null,表示取不到有效值。
9701
+ */
9702
+ AlarmMessageSendResult?: string;
9681
9703
  }
9682
9704
  /**
9683
9705
  * Spark SQL配置参数
@@ -16031,6 +16053,11 @@ export interface TaskAlarmInfo {
16031
16053
  注意:此字段可能返回 null,表示取不到有效值。
16032
16054
  */
16033
16055
  BusinessType?: number;
16056
+ /**
16057
+ * alarm message rule
16058
+ 注意:此字段可能返回 null,表示取不到有效值。
16059
+ */
16060
+ AlarmMessageRule?: string;
16034
16061
  }
16035
16062
  /**
16036
16063
  * DescribeSchedulerTaskCntByStatus请求参数结构体
@@ -16866,6 +16893,11 @@ export interface TableMeta {
16866
16893
  注意:此字段可能返回 null,表示取不到有效值。
16867
16894
  */
16868
16895
  IfSupportCreateAndDDL?: CreateAndDDLSupport;
16896
+ /**
16897
+ * 字段数量
16898
+ 注意:此字段可能返回 null,表示取不到有效值。
16899
+ */
16900
+ ColumnCount?: number;
16869
16901
  }
16870
16902
  /**
16871
16903
  * RegisterEvent返回参数结构体