tencentcloud-sdk-essbasic 3.0.587 → 3.0.589

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18ce791aae25fa5f1fa5de4b46d1ee9ee5fb219c
4
- data.tar.gz: 7eadc90d000e67d0df4fef1e4fd215336afba8ec
3
+ metadata.gz: e37722d647ec352b18920944ab32c3a4ee825aa6
4
+ data.tar.gz: c9bed1fc105682440e7cde29c68e417f0413f222
5
5
  SHA512:
6
- metadata.gz: 159a50f00a670383819cd65b9f765410a5b476697ddc10a58f827094bd77734950d0926c7cee156555344522fa67e46741382d2ebd8ce1410a821690faa59371
7
- data.tar.gz: 37253ce563099fbf980be185eb7a41715ac5fbc036284e4cb0c934c9884d78806ec5b8b52038cc9db7ac085a8350230d569a9496abcd65fc843b693bd5c55c58
6
+ metadata.gz: 33146ee1ae0d857d347d4526cde4b844601d2b3cfbc3557b03e08aa798b6cd4567ec23eda7e01b263a14a98985ea27e252de203c49123399b81be854fedab651
7
+ data.tar.gz: 95220acf1f68e2e4d2015158a791a827ad3d181455b18f48fcfbc9b871053aee08c27678c49e2d4d860068bf3037daeb8a24f72b8343ee536921913c61318375
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.587
1
+ 3.0.589
@@ -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`
@@ -1312,6 +1312,7 @@ module TencentCloud
1312
1312
  # @param SealId: 指定印章ID
1313
1313
  # @type SealId: String
1314
1314
  # @param UserIds: 指定待授权的用户ID数组,电子签的用户ID
1315
+ # 可以填写OpenId,系统会通过组织+渠道+OpenId查询得到UserId进行授权。
1315
1316
  # @type UserIds: Array
1316
1317
  # @param Operator: 操作人(用户)信息,不用传
1317
1318
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
@@ -1348,7 +1349,8 @@ module TencentCloud
1348
1349
 
1349
1350
  # ChannelCreateSealPolicy返回参数结构体
1350
1351
  class ChannelCreateSealPolicyResponse < TencentCloud::Common::AbstractModel
1351
- # @param UserIds: 最终授权成功的电子签系统用户ID数组。其他的跳过的是已经授权了的
1352
+ # @param UserIds: 最终授权成功的电子签系统用户ID数组。其他的跳过的是已经授权了的。
1353
+ # 请求参数填写OpenId时,返回授权成功的 Openid。
1352
1354
  # @type UserIds: Array
1353
1355
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1354
1356
  # @type RequestId: String
@@ -1370,19 +1372,22 @@ module TencentCloud
1370
1372
  class ChannelCreateUserRolesRequest < TencentCloud::Common::AbstractModel
1371
1373
  # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
1372
1374
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1373
- # @param UserIds: 绑定角色的员工id列表,电子签的UserId
1374
- # @type UserIds: Array
1375
1375
  # @param RoleIds: 绑定角色的角色id列表
1376
1376
  # @type RoleIds: Array
1377
+ # @param UserIds: 电子签用户ID列表,与OpenIds参数二选一,优先UserIds参数
1378
+ # @type UserIds: Array
1379
+ # @param OpenIds: 客户系统用户ID列表,与UserIds参数二选一,优先UserIds参数
1380
+ # @type OpenIds: Array
1377
1381
  # @param Operator: 操作者信息
1378
1382
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1379
1383
 
1380
- attr_accessor :Agent, :UserIds, :RoleIds, :Operator
1384
+ attr_accessor :Agent, :RoleIds, :UserIds, :OpenIds, :Operator
1381
1385
 
1382
- def initialize(agent=nil, userids=nil, roleids=nil, operator=nil)
1386
+ def initialize(agent=nil, roleids=nil, userids=nil, openids=nil, operator=nil)
1383
1387
  @Agent = agent
1384
- @UserIds = userids
1385
1388
  @RoleIds = roleids
1389
+ @UserIds = userids
1390
+ @OpenIds = openids
1386
1391
  @Operator = operator
1387
1392
  end
1388
1393
 
@@ -1391,8 +1396,9 @@ module TencentCloud
1391
1396
  @Agent = Agent.new
1392
1397
  @Agent.deserialize(params['Agent'])
1393
1398
  end
1394
- @UserIds = params['UserIds']
1395
1399
  @RoleIds = params['RoleIds']
1400
+ @UserIds = params['UserIds']
1401
+ @OpenIds = params['OpenIds']
1396
1402
  unless params['Operator'].nil?
1397
1403
  @Operator = UserInfo.new
1398
1404
  @Operator.deserialize(params['Operator'])
@@ -1433,18 +1439,21 @@ module TencentCloud
1433
1439
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1434
1440
  # @param RoleId: 角色Id(非超管或法人角色Id)
1435
1441
  # @type RoleId: String
1436
- # @param UserIds: 用户列表,电子签系统的UserId
1442
+ # @param UserIds: 电子签用户ID列表,与OpenIds参数二选一,优先UserIds参数
1437
1443
  # @type UserIds: Array
1438
1444
  # @param Operator: 操作人信息
1439
1445
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1446
+ # @param OpenIds: 客户系统用户ID列表,与UserIds参数二选一,优先UserIds参数
1447
+ # @type OpenIds: Array
1440
1448
 
1441
- attr_accessor :Agent, :RoleId, :UserIds, :Operator
1449
+ attr_accessor :Agent, :RoleId, :UserIds, :Operator, :OpenIds
1442
1450
 
1443
- def initialize(agent=nil, roleid=nil, userids=nil, operator=nil)
1451
+ def initialize(agent=nil, roleid=nil, userids=nil, operator=nil, openids=nil)
1444
1452
  @Agent = agent
1445
1453
  @RoleId = roleid
1446
1454
  @UserIds = userids
1447
1455
  @Operator = operator
1456
+ @OpenIds = openids
1448
1457
  end
1449
1458
 
1450
1459
  def deserialize(params)
@@ -1458,6 +1467,7 @@ module TencentCloud
1458
1467
  @Operator = UserInfo.new
1459
1468
  @Operator.deserialize(params['Operator'])
1460
1469
  end
1470
+ @OpenIds = params['OpenIds']
1461
1471
  end
1462
1472
  end
1463
1473
 
@@ -1488,6 +1498,7 @@ module TencentCloud
1488
1498
  # @param SealId: 指定印章ID
1489
1499
  # @type SealId: String
1490
1500
  # @param UserIds: 指定用户ID数组,电子签系统用户ID
1501
+ # 可以填写OpenId,系统会通过组织+渠道+OpenId查询得到UserId进行授权取消。
1491
1502
  # @type UserIds: Array
1492
1503
  # @param Organization: 组织机构信息,不用传
1493
1504
  # @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
@@ -4187,7 +4198,7 @@ module TencentCloud
4187
4198
 
4188
4199
  # OperateChannelTemplate请求参数结构体
4189
4200
  class OperateChannelTemplateRequest < TencentCloud::Common::AbstractModel
4190
- # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
4201
+ # @param Agent: 应用相关信息。 此接口Agent.AppId必填。
4191
4202
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
4192
4203
  # @param OperateType: 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
4193
4204
  # @type OperateType: String
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.587
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-08 00:00:00.000000000 Z
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