tencentcloud-sdk-essbasic 3.0.588 → 3.0.589
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210526/client.rb +2 -2
- data/lib/v20210526/models.rb +17 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e37722d647ec352b18920944ab32c3a4ee825aa6
|
4
|
+
data.tar.gz: c9bed1fc105682440e7cde29c68e417f0413f222
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33146ee1ae0d857d347d4526cde4b844601d2b3cfbc3557b03e08aa798b6cd4567ec23eda7e01b263a14a98985ea27e252de203c49123399b81be854fedab651
|
7
|
+
data.tar.gz: 95220acf1f68e2e4d2015158a791a827ad3d181455b18f48fcfbc9b871053aee08c27678c49e2d4d860068bf3037daeb8a24f72b8343ee536921913c61318375
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.589
|
data/lib/v20210526/client.rb
CHANGED
@@ -454,7 +454,7 @@ module TencentCloud
|
|
454
454
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
455
455
|
end
|
456
456
|
|
457
|
-
#
|
457
|
+
# 通过此接口,绑定员工角色,支持以电子签userId、客户系统userId两种方式调用。
|
458
458
|
|
459
459
|
# @param request: Request instance for ChannelCreateUserRoles.
|
460
460
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateUserRolesRequest`
|
@@ -478,7 +478,7 @@ module TencentCloud
|
|
478
478
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
479
479
|
end
|
480
480
|
|
481
|
-
#
|
481
|
+
# 通过此接口,删除员工绑定的角色,支持以电子签userId、客户系统userId两种方式调用。
|
482
482
|
|
483
483
|
# @param request: Request instance for ChannelDeleteRoleUsers.
|
484
484
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDeleteRoleUsersRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -1372,19 +1372,22 @@ module TencentCloud
|
|
1372
1372
|
class ChannelCreateUserRolesRequest < TencentCloud::Common::AbstractModel
|
1373
1373
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
|
1374
1374
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1375
|
-
# @param UserIds: 绑定角色的员工id列表,电子签的UserId
|
1376
|
-
# @type UserIds: Array
|
1377
1375
|
# @param RoleIds: 绑定角色的角色id列表
|
1378
1376
|
# @type RoleIds: Array
|
1377
|
+
# @param UserIds: 电子签用户ID列表,与OpenIds参数二选一,优先UserIds参数
|
1378
|
+
# @type UserIds: Array
|
1379
|
+
# @param OpenIds: 客户系统用户ID列表,与UserIds参数二选一,优先UserIds参数
|
1380
|
+
# @type OpenIds: Array
|
1379
1381
|
# @param Operator: 操作者信息
|
1380
1382
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1381
1383
|
|
1382
|
-
attr_accessor :Agent, :UserIds, :
|
1384
|
+
attr_accessor :Agent, :RoleIds, :UserIds, :OpenIds, :Operator
|
1383
1385
|
|
1384
|
-
def initialize(agent=nil, userids=nil,
|
1386
|
+
def initialize(agent=nil, roleids=nil, userids=nil, openids=nil, operator=nil)
|
1385
1387
|
@Agent = agent
|
1386
|
-
@UserIds = userids
|
1387
1388
|
@RoleIds = roleids
|
1389
|
+
@UserIds = userids
|
1390
|
+
@OpenIds = openids
|
1388
1391
|
@Operator = operator
|
1389
1392
|
end
|
1390
1393
|
|
@@ -1393,8 +1396,9 @@ module TencentCloud
|
|
1393
1396
|
@Agent = Agent.new
|
1394
1397
|
@Agent.deserialize(params['Agent'])
|
1395
1398
|
end
|
1396
|
-
@UserIds = params['UserIds']
|
1397
1399
|
@RoleIds = params['RoleIds']
|
1400
|
+
@UserIds = params['UserIds']
|
1401
|
+
@OpenIds = params['OpenIds']
|
1398
1402
|
unless params['Operator'].nil?
|
1399
1403
|
@Operator = UserInfo.new
|
1400
1404
|
@Operator.deserialize(params['Operator'])
|
@@ -1435,18 +1439,21 @@ module TencentCloud
|
|
1435
1439
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1436
1440
|
# @param RoleId: 角色Id(非超管或法人角色Id)
|
1437
1441
|
# @type RoleId: String
|
1438
|
-
# @param UserIds:
|
1442
|
+
# @param UserIds: 电子签用户ID列表,与OpenIds参数二选一,优先UserIds参数
|
1439
1443
|
# @type UserIds: Array
|
1440
1444
|
# @param Operator: 操作人信息
|
1441
1445
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1446
|
+
# @param OpenIds: 客户系统用户ID列表,与UserIds参数二选一,优先UserIds参数
|
1447
|
+
# @type OpenIds: Array
|
1442
1448
|
|
1443
|
-
attr_accessor :Agent, :RoleId, :UserIds, :Operator
|
1449
|
+
attr_accessor :Agent, :RoleId, :UserIds, :Operator, :OpenIds
|
1444
1450
|
|
1445
|
-
def initialize(agent=nil, roleid=nil, userids=nil, operator=nil)
|
1451
|
+
def initialize(agent=nil, roleid=nil, userids=nil, operator=nil, openids=nil)
|
1446
1452
|
@Agent = agent
|
1447
1453
|
@RoleId = roleid
|
1448
1454
|
@UserIds = userids
|
1449
1455
|
@Operator = operator
|
1456
|
+
@OpenIds = openids
|
1450
1457
|
end
|
1451
1458
|
|
1452
1459
|
def deserialize(params)
|
@@ -1460,6 +1467,7 @@ module TencentCloud
|
|
1460
1467
|
@Operator = UserInfo.new
|
1461
1468
|
@Operator.deserialize(params['Operator'])
|
1462
1469
|
end
|
1470
|
+
@OpenIds = params['OpenIds']
|
1463
1471
|
end
|
1464
1472
|
end
|
1465
1473
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-essbasic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.589
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|