tencentcloud-sdk-nodejs-organization 4.0.262 → 4.0.263

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/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ # Release 4.0.263
2
+
3
+ ## 企业组织(organization) 版本:2021-03-31
4
+
5
+ ### 第 3 次发布
6
+
7
+ 发布时间:2021-12-28 08:09:51
8
+
9
+ 本次发布包含了以下内容:
10
+
11
+ 改善已有的文档。
12
+
13
+ 新增接口:
14
+
15
+ * [DescribeOrganization](https://cloud.tencent.com/document/api/850/67059)
16
+
17
+ 新增数据结构:
18
+
19
+ * [OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission)
20
+
21
+
22
+
23
+ ## 企业组织(organization) 版本:2018-12-25
24
+
25
+
26
+
1
27
  # Release 4.0.262
2
28
 
3
29
  ## 文字识别(ocr) 版本:2018-11-19
@@ -1,40 +1,26 @@
1
1
  # 本版本更新包含以下内容:
2
2
 
3
- ## 文字识别(ocr) 版本:2018-11-19
3
+ ## 企业组织(organization) 版本:2021-03-31
4
4
 
5
- ### 第 59 次发布
5
+ ### 第 3 次发布
6
6
 
7
- 发布时间:2021-12-27 08:08:41
7
+ 发布时间:2021-12-28 08:09:51
8
8
 
9
9
  本次发布包含了以下内容:
10
10
 
11
11
  改善已有的文档。
12
12
 
13
- 修改接口:
14
-
15
- * [GeneralHandwritingOCR](https://cloud.tencent.com/document/api/866/36212)
16
-
17
- * 新增入参:EnableDetectText
18
-
19
-
20
-
21
-
22
- ## 互动白板(tiw) 版本:2019-09-19
23
-
24
- ### 第 24 次发布
25
-
26
- 发布时间:2021-12-27 08:11:32
13
+ 新增接口:
27
14
 
28
- 本次发布包含了以下内容:
15
+ * [DescribeOrganization](https://cloud.tencent.com/document/api/850/67059)
29
16
 
30
- 改善已有的文档。
17
+ 新增数据结构:
31
18
 
32
- 修改接口:
19
+ * [OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission)
33
20
 
34
- * [CreateSnapshotTask](https://cloud.tencent.com/document/api/1137/59004)
35
21
 
36
- * 新增入参:SnapshotMode
37
22
 
23
+ ## 企业组织(organization) 版本:2018-12-25
38
24
 
39
25
 
40
26
 
@@ -44249,6 +44235,22 @@
44249
44235
 
44250
44236
  ## 企业组织(organization) 版本:2021-03-31
44251
44237
 
44238
+ ### 第 3 次发布
44239
+
44240
+ 发布时间:2021-12-28 08:09:51
44241
+
44242
+ 本次发布包含了以下内容:
44243
+
44244
+ 改善已有的文档。
44245
+
44246
+ 新增接口:
44247
+
44248
+ * [[DescribeOrganization](https://cloud.tencent.com/document/api/850/67059)](https://cloud.tencent.com/document/api/#/#)
44249
+
44250
+ 新增数据结构:
44251
+
44252
+ * [[OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission)](https://cloud.tencent.com/document/api/850/67060#[OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission))
44253
+
44252
44254
  ### 第 2 次发布
44253
44255
 
44254
44256
  发布时间:2021-10-25 11:36:50
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-organization",
3
- "version": "4.0.262",
3
+ "version": "4.0.263",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -118,7 +118,7 @@
118
118
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
119
119
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2021-12-21 08:08:44 |
120
120
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2021-12-27 08:08:41 |
121
- | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-11-10 08:09:46 |
121
+ | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-12-28 08:09:51 |
122
122
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-11-18 08:11:02 |
123
123
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-11-10 08:09:50 |
124
124
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-12-24 08:13:26 |
@@ -17,10 +17,13 @@
17
17
  */
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
+ OrgPermission,
21
+ DescribeOrganizationResponse,
20
22
  BindOrganizationMemberAuthAccountRequest,
23
+ CreateOrganizationMemberRequest,
24
+ DescribeOrganizationRequest,
21
25
  BindOrganizationMemberAuthAccountResponse,
22
26
  CreateOrganizationMemberResponse,
23
- CreateOrganizationMemberRequest,
24
27
  } from "./organization_models"
25
28
 
26
29
  /**
@@ -51,4 +54,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
51
54
  ): Promise<BindOrganizationMemberAuthAccountResponse> {
52
55
  return this.request("BindOrganizationMemberAuthAccount", req, cb)
53
56
  }
57
+
58
+ /**
59
+ * 获取企业组织信息
60
+ */
61
+ async DescribeOrganization(
62
+ req: DescribeOrganizationRequest,
63
+ cb?: (error: string, rep: DescribeOrganizationResponse) => void
64
+ ): Promise<DescribeOrganizationResponse> {
65
+ return this.request("DescribeOrganization", req, cb)
66
+ }
54
67
  }
@@ -16,29 +16,96 @@
16
16
  */
17
17
 
18
18
  /**
19
- * BindOrganizationMemberAuthAccount请求参数结构体
19
+ * 关系策略权限
20
20
  */
21
- export interface BindOrganizationMemberAuthAccountRequest {
21
+ export interface OrgPermission {
22
22
  /**
23
- * 成员Uin。
23
+ * 权限Id
24
24
  */
25
- MemberUin: number
25
+ Id: number
26
26
 
27
27
  /**
28
- * 策略ID。
28
+ * 权限名
29
29
  */
30
- PolicyId: number
31
-
32
- /**
33
- * 组织子账号Uin。
34
- */
35
- OrgSubAccountUins: Array<number>
30
+ Name: string
36
31
  }
37
32
 
38
33
  /**
39
- * BindOrganizationMemberAuthAccount返回参数结构体
34
+ * DescribeOrganization返回参数结构体
40
35
  */
41
- export interface BindOrganizationMemberAuthAccountResponse {
36
+ export interface DescribeOrganizationResponse {
37
+ /**
38
+ * 企业组织ID
39
+ 注意:此字段可能返回 null,表示取不到有效值。
40
+ */
41
+ OrgId: number
42
+
43
+ /**
44
+ * 创建者UIN
45
+ 注意:此字段可能返回 null,表示取不到有效值。
46
+ */
47
+ HostUin: number
48
+
49
+ /**
50
+ * 创建者昵称
51
+ 注意:此字段可能返回 null,表示取不到有效值。
52
+ */
53
+ NickName: string
54
+
55
+ /**
56
+ * 企业组织类型
57
+ 注意:此字段可能返回 null,表示取不到有效值。
58
+ */
59
+ OrgType: number
60
+
61
+ /**
62
+ * 组织管理员:true,组织成员:false
63
+ 注意:此字段可能返回 null,表示取不到有效值。
64
+ */
65
+ IsManager: boolean
66
+
67
+ /**
68
+ * 策略类型
69
+ 注意:此字段可能返回 null,表示取不到有效值。
70
+ */
71
+ OrgPolicyType: string
72
+
73
+ /**
74
+ * 策略名
75
+ 注意:此字段可能返回 null,表示取不到有效值。
76
+ */
77
+ OrgPolicyName: string
78
+
79
+ /**
80
+ * 策略权限
81
+ 注意:此字段可能返回 null,表示取不到有效值。
82
+ */
83
+ OrgPermission: Array<OrgPermission>
84
+
85
+ /**
86
+ * 根节点ID
87
+ 注意:此字段可能返回 null,表示取不到有效值。
88
+ */
89
+ RootNodeId: number
90
+
91
+ /**
92
+ * 创建时间
93
+ 注意:此字段可能返回 null,表示取不到有效值。
94
+ */
95
+ CreateTime: string
96
+
97
+ /**
98
+ * 成员加入时间
99
+ 注意:此字段可能返回 null,表示取不到有效值。
100
+ */
101
+ JoinTime: string
102
+
103
+ /**
104
+ * 是否允许退出。允许:Allow,不允许:Denied。
105
+ 注意:此字段可能返回 null,表示取不到有效值。
106
+ */
107
+ IsAllowQuit: string
108
+
42
109
  /**
43
110
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
44
111
  */
@@ -46,13 +113,23 @@ export interface BindOrganizationMemberAuthAccountResponse {
46
113
  }
47
114
 
48
115
  /**
49
- * CreateOrganizationMember返回参数结构体
116
+ * BindOrganizationMemberAuthAccount请求参数结构体
50
117
  */
51
- export interface CreateOrganizationMemberResponse {
118
+ export interface BindOrganizationMemberAuthAccountRequest {
52
119
  /**
53
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
120
+ * 成员Uin
54
121
  */
55
- RequestId?: string
122
+ MemberUin: number
123
+
124
+ /**
125
+ * 策略ID。
126
+ */
127
+ PolicyId: number
128
+
129
+ /**
130
+ * 组织子账号Uin。
131
+ */
132
+ OrgSubAccountUins: Array<number>
56
133
  }
57
134
 
58
135
  /**
@@ -94,3 +171,33 @@ export interface CreateOrganizationMemberRequest {
94
171
  */
95
172
  RecordId?: number
96
173
  }
174
+
175
+ /**
176
+ * DescribeOrganization请求参数结构体
177
+ */
178
+ export interface DescribeOrganizationRequest {
179
+ /**
180
+ * 国际站:en,国内站:zh
181
+ */
182
+ Lang?: string
183
+ }
184
+
185
+ /**
186
+ * BindOrganizationMemberAuthAccount返回参数结构体
187
+ */
188
+ export interface BindOrganizationMemberAuthAccountResponse {
189
+ /**
190
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
191
+ */
192
+ RequestId?: string
193
+ }
194
+
195
+ /**
196
+ * CreateOrganizationMember返回参数结构体
197
+ */
198
+ export interface CreateOrganizationMemberResponse {
199
+ /**
200
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
201
+ */
202
+ RequestId?: string
203
+ }
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { BindOrganizationMemberAuthAccountRequest, BindOrganizationMemberAuthAccountResponse, CreateOrganizationMemberResponse, CreateOrganizationMemberRequest } from "./organization_models";
2
+ import { DescribeOrganizationResponse, BindOrganizationMemberAuthAccountRequest, CreateOrganizationMemberRequest, DescribeOrganizationRequest, BindOrganizationMemberAuthAccountResponse, CreateOrganizationMemberResponse } from "./organization_models";
3
3
  /**
4
4
  * organization client
5
5
  * @class
@@ -14,4 +14,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
14
14
  * 绑定组织成员和子账号的授权关系
15
15
  */
16
16
  BindOrganizationMemberAuthAccount(req: BindOrganizationMemberAuthAccountRequest, cb?: (error: string, rep: BindOrganizationMemberAuthAccountResponse) => void): Promise<BindOrganizationMemberAuthAccountResponse>;
17
+ /**
18
+ * 获取企业组织信息
19
+ */
20
+ DescribeOrganization(req: DescribeOrganizationRequest, cb?: (error: string, rep: DescribeOrganizationResponse) => void): Promise<DescribeOrganizationResponse>;
17
21
  }
@@ -39,5 +39,11 @@ class Client extends TencentCloudCommon.AbstractClient {
39
39
  async BindOrganizationMemberAuthAccount(req, cb) {
40
40
  return this.request("BindOrganizationMemberAuthAccount", req, cb);
41
41
  }
42
+ /**
43
+ * 获取企业组织信息
44
+ */
45
+ async DescribeOrganization(req, cb) {
46
+ return this.request("DescribeOrganization", req, cb);
47
+ }
42
48
  }
43
49
  exports.Client = Client;
@@ -1,37 +1,101 @@
1
1
  /**
2
- * BindOrganizationMemberAuthAccount请求参数结构体
2
+ * 关系策略权限
3
3
  */
4
- export interface BindOrganizationMemberAuthAccountRequest {
5
- /**
6
- * 成员Uin。
7
- */
8
- MemberUin: number;
4
+ export interface OrgPermission {
9
5
  /**
10
- * 策略ID。
6
+ * 权限Id
11
7
  */
12
- PolicyId: number;
8
+ Id: number;
13
9
  /**
14
- * 组织子账号Uin。
10
+ * 权限名
15
11
  */
16
- OrgSubAccountUins: Array<number>;
12
+ Name: string;
17
13
  }
18
14
  /**
19
- * BindOrganizationMemberAuthAccount返回参数结构体
15
+ * DescribeOrganization返回参数结构体
20
16
  */
21
- export interface BindOrganizationMemberAuthAccountResponse {
17
+ export interface DescribeOrganizationResponse {
18
+ /**
19
+ * 企业组织ID
20
+ 注意:此字段可能返回 null,表示取不到有效值。
21
+ */
22
+ OrgId: number;
23
+ /**
24
+ * 创建者UIN
25
+ 注意:此字段可能返回 null,表示取不到有效值。
26
+ */
27
+ HostUin: number;
28
+ /**
29
+ * 创建者昵称
30
+ 注意:此字段可能返回 null,表示取不到有效值。
31
+ */
32
+ NickName: string;
33
+ /**
34
+ * 企业组织类型
35
+ 注意:此字段可能返回 null,表示取不到有效值。
36
+ */
37
+ OrgType: number;
38
+ /**
39
+ * 组织管理员:true,组织成员:false
40
+ 注意:此字段可能返回 null,表示取不到有效值。
41
+ */
42
+ IsManager: boolean;
43
+ /**
44
+ * 策略类型
45
+ 注意:此字段可能返回 null,表示取不到有效值。
46
+ */
47
+ OrgPolicyType: string;
48
+ /**
49
+ * 策略名
50
+ 注意:此字段可能返回 null,表示取不到有效值。
51
+ */
52
+ OrgPolicyName: string;
53
+ /**
54
+ * 策略权限
55
+ 注意:此字段可能返回 null,表示取不到有效值。
56
+ */
57
+ OrgPermission: Array<OrgPermission>;
58
+ /**
59
+ * 根节点ID
60
+ 注意:此字段可能返回 null,表示取不到有效值。
61
+ */
62
+ RootNodeId: number;
63
+ /**
64
+ * 创建时间
65
+ 注意:此字段可能返回 null,表示取不到有效值。
66
+ */
67
+ CreateTime: string;
68
+ /**
69
+ * 成员加入时间
70
+ 注意:此字段可能返回 null,表示取不到有效值。
71
+ */
72
+ JoinTime: string;
73
+ /**
74
+ * 是否允许退出。允许:Allow,不允许:Denied。
75
+ 注意:此字段可能返回 null,表示取不到有效值。
76
+ */
77
+ IsAllowQuit: string;
22
78
  /**
23
79
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
24
80
  */
25
81
  RequestId?: string;
26
82
  }
27
83
  /**
28
- * CreateOrganizationMember返回参数结构体
84
+ * BindOrganizationMemberAuthAccount请求参数结构体
29
85
  */
30
- export interface CreateOrganizationMemberResponse {
86
+ export interface BindOrganizationMemberAuthAccountRequest {
31
87
  /**
32
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
88
+ * 成员Uin
33
89
  */
34
- RequestId?: string;
90
+ MemberUin: number;
91
+ /**
92
+ * 策略ID。
93
+ */
94
+ PolicyId: number;
95
+ /**
96
+ * 组织子账号Uin。
97
+ */
98
+ OrgSubAccountUins: Array<number>;
35
99
  }
36
100
  /**
37
101
  * CreateOrganizationMember请求参数结构体
@@ -66,3 +130,30 @@ export interface CreateOrganizationMemberRequest {
66
130
  */
67
131
  RecordId?: number;
68
132
  }
133
+ /**
134
+ * DescribeOrganization请求参数结构体
135
+ */
136
+ export interface DescribeOrganizationRequest {
137
+ /**
138
+ * 国际站:en,国内站:zh
139
+ */
140
+ Lang?: string;
141
+ }
142
+ /**
143
+ * BindOrganizationMemberAuthAccount返回参数结构体
144
+ */
145
+ export interface BindOrganizationMemberAuthAccountResponse {
146
+ /**
147
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
148
+ */
149
+ RequestId?: string;
150
+ }
151
+ /**
152
+ * CreateOrganizationMember返回参数结构体
153
+ */
154
+ export interface CreateOrganizationMemberResponse {
155
+ /**
156
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
157
+ */
158
+ RequestId?: string;
159
+ }