tencentcloud-sdk-essbasic 3.0.421 → 3.0.422
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 +25 -2
- data/lib/v20210526/models.rb +216 -0
- 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: c9ab97e273614ceac02b214281131669d9b2a633
|
4
|
+
data.tar.gz: c82cb79cac258cf1f4c8688aee3e1ebee15678b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0d8f7f6d16173505d50cce0508e8059194d8a924c3b24d9d850b60609c43700852fdd492e11b1a15875194c6c74cc2bba6e3b43b4348952489df7bf6881234e
|
7
|
+
data.tar.gz: d7cfa2309d24a5eda6ec3c0016dbaf4983bb6cbab4711f7742c7110f65bfc41c9250ea05031cfa11534e2afc625e12922c8a2c35a0578a314a6ac54b96eaa3e2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.422
|
data/lib/v20210526/client.rb
CHANGED
@@ -232,6 +232,30 @@ module TencentCloud
|
|
232
232
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
233
233
|
end
|
234
234
|
|
235
|
+
# 查询企业员工
|
236
|
+
|
237
|
+
# @param request: Request instance for ChannelDescribeEmployees.
|
238
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeEmployeesRequest`
|
239
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeEmployeesResponse`
|
240
|
+
def ChannelDescribeEmployees(request)
|
241
|
+
body = send_request('ChannelDescribeEmployees', request.serialize)
|
242
|
+
response = JSON.parse(body)
|
243
|
+
if response['Response'].key?('Error') == false
|
244
|
+
model = ChannelDescribeEmployeesResponse.new
|
245
|
+
model.deserialize(response['Response'])
|
246
|
+
model
|
247
|
+
else
|
248
|
+
code = response['Response']['Error']['Code']
|
249
|
+
message = response['Response']['Error']['Message']
|
250
|
+
reqid = response['Response']['RequestId']
|
251
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
252
|
+
end
|
253
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
254
|
+
raise e
|
255
|
+
rescue StandardError => e
|
256
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
257
|
+
end
|
258
|
+
|
235
259
|
# 渠道版查询转换任务状态
|
236
260
|
|
237
261
|
# @param request: Request instance for ChannelGetTaskResultApi.
|
@@ -280,8 +304,7 @@ module TencentCloud
|
|
280
304
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
281
305
|
end
|
282
306
|
|
283
|
-
#
|
284
|
-
# 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
|
307
|
+
# 创建出证报告,返回报告 URL。此接口暂为开放,有问题请联系运营人员。
|
285
308
|
|
286
309
|
# @param request: Request instance for CreateChannelFlowEvidenceReport.
|
287
310
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateChannelFlowEvidenceReportRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -651,6 +651,92 @@ module TencentCloud
|
|
651
651
|
end
|
652
652
|
end
|
653
653
|
|
654
|
+
# ChannelDescribeEmployees请求参数结构体
|
655
|
+
class ChannelDescribeEmployeesRequest < TencentCloud::Common::AbstractModel
|
656
|
+
# @param Limit: 返回最大数量,最大为20
|
657
|
+
# @type Limit: Integer
|
658
|
+
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
659
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
660
|
+
# @param Operator: 操作者的信息
|
661
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
662
|
+
# @param Filters: 查询过滤实名用户,key为Status,Values为["IsVerified"]
|
663
|
+
# @type Filters: Array
|
664
|
+
# @param Offset: 偏移量,默认为0,最大为20000
|
665
|
+
# @type Offset: Integer
|
666
|
+
|
667
|
+
attr_accessor :Limit, :Agent, :Operator, :Filters, :Offset
|
668
|
+
|
669
|
+
def initialize(limit=nil, agent=nil, operator=nil, filters=nil, offset=nil)
|
670
|
+
@Limit = limit
|
671
|
+
@Agent = agent
|
672
|
+
@Operator = operator
|
673
|
+
@Filters = filters
|
674
|
+
@Offset = offset
|
675
|
+
end
|
676
|
+
|
677
|
+
def deserialize(params)
|
678
|
+
@Limit = params['Limit']
|
679
|
+
unless params['Agent'].nil?
|
680
|
+
@Agent = Agent.new
|
681
|
+
@Agent.deserialize(params['Agent'])
|
682
|
+
end
|
683
|
+
unless params['Operator'].nil?
|
684
|
+
@Operator = UserInfo.new
|
685
|
+
@Operator.deserialize(params['Operator'])
|
686
|
+
end
|
687
|
+
unless params['Filters'].nil?
|
688
|
+
@Filters = []
|
689
|
+
params['Filters'].each do |i|
|
690
|
+
filter_tmp = Filter.new
|
691
|
+
filter_tmp.deserialize(i)
|
692
|
+
@Filters << filter_tmp
|
693
|
+
end
|
694
|
+
end
|
695
|
+
@Offset = params['Offset']
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
# ChannelDescribeEmployees返回参数结构体
|
700
|
+
class ChannelDescribeEmployeesResponse < TencentCloud::Common::AbstractModel
|
701
|
+
# @param Employees: 员工数据列表
|
702
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
703
|
+
# @type Employees: Array
|
704
|
+
# @param Offset: 偏移量,默认为0,最大为20000
|
705
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
706
|
+
# @type Offset: Integer
|
707
|
+
# @param Limit: 返回最大数量,最大为20
|
708
|
+
# @type Limit: Integer
|
709
|
+
# @param TotalCount: 符合条件的员工数量
|
710
|
+
# @type TotalCount: Integer
|
711
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
712
|
+
# @type RequestId: String
|
713
|
+
|
714
|
+
attr_accessor :Employees, :Offset, :Limit, :TotalCount, :RequestId
|
715
|
+
|
716
|
+
def initialize(employees=nil, offset=nil, limit=nil, totalcount=nil, requestid=nil)
|
717
|
+
@Employees = employees
|
718
|
+
@Offset = offset
|
719
|
+
@Limit = limit
|
720
|
+
@TotalCount = totalcount
|
721
|
+
@RequestId = requestid
|
722
|
+
end
|
723
|
+
|
724
|
+
def deserialize(params)
|
725
|
+
unless params['Employees'].nil?
|
726
|
+
@Employees = []
|
727
|
+
params['Employees'].each do |i|
|
728
|
+
staff_tmp = Staff.new
|
729
|
+
staff_tmp.deserialize(i)
|
730
|
+
@Employees << staff_tmp
|
731
|
+
end
|
732
|
+
end
|
733
|
+
@Offset = params['Offset']
|
734
|
+
@Limit = params['Limit']
|
735
|
+
@TotalCount = params['TotalCount']
|
736
|
+
@RequestId = params['RequestId']
|
737
|
+
end
|
738
|
+
end
|
739
|
+
|
654
740
|
# ChannelGetTaskResultApi请求参数结构体
|
655
741
|
class ChannelGetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
656
742
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
@@ -1295,6 +1381,28 @@ module TencentCloud
|
|
1295
1381
|
end
|
1296
1382
|
end
|
1297
1383
|
|
1384
|
+
# 渠道版员工部门信息
|
1385
|
+
class Department < TencentCloud::Common::AbstractModel
|
1386
|
+
# @param DepartmentId: 部门id
|
1387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1388
|
+
# @type DepartmentId: String
|
1389
|
+
# @param DepartmentName: 部门名称
|
1390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1391
|
+
# @type DepartmentName: String
|
1392
|
+
|
1393
|
+
attr_accessor :DepartmentId, :DepartmentName
|
1394
|
+
|
1395
|
+
def initialize(departmentid=nil, departmentname=nil)
|
1396
|
+
@DepartmentId = departmentid
|
1397
|
+
@DepartmentName = departmentname
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
def deserialize(params)
|
1401
|
+
@DepartmentId = params['DepartmentId']
|
1402
|
+
@DepartmentName = params['DepartmentName']
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1298
1406
|
# DescribeFlowDetailInfo请求参数结构体
|
1299
1407
|
class DescribeFlowDetailInfoRequest < TencentCloud::Common::AbstractModel
|
1300
1408
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
@@ -1629,6 +1737,26 @@ module TencentCloud
|
|
1629
1737
|
end
|
1630
1738
|
end
|
1631
1739
|
|
1740
|
+
# 此结构体 (Filter) 用于描述查询过滤条件。
|
1741
|
+
class Filter < TencentCloud::Common::AbstractModel
|
1742
|
+
# @param Key: 查询过滤条件的Key
|
1743
|
+
# @type Key: String
|
1744
|
+
# @param Values: 查询过滤条件的Value列表
|
1745
|
+
# @type Values: Array
|
1746
|
+
|
1747
|
+
attr_accessor :Key, :Values
|
1748
|
+
|
1749
|
+
def initialize(key=nil, values=nil)
|
1750
|
+
@Key = key
|
1751
|
+
@Values = values
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
def deserialize(params)
|
1755
|
+
@Key = params['Key']
|
1756
|
+
@Values = params['Values']
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1632
1760
|
# 签署人的流程信息明细
|
1633
1761
|
class FlowApproverDetail < TencentCloud::Common::AbstractModel
|
1634
1762
|
# @param ReceiptId: 模板配置时候的签署人id,与控件绑定
|
@@ -2654,6 +2782,94 @@ module TencentCloud
|
|
2654
2782
|
end
|
2655
2783
|
end
|
2656
2784
|
|
2785
|
+
# 企业员工信息
|
2786
|
+
class Staff < TencentCloud::Common::AbstractModel
|
2787
|
+
# @param UserId: 员工在电子签平台的id
|
2788
|
+
# @type UserId: String
|
2789
|
+
# @param DisplayName: 显示的员工名
|
2790
|
+
# @type DisplayName: String
|
2791
|
+
# @param Mobile: 员工手机号
|
2792
|
+
# @type Mobile: String
|
2793
|
+
# @param Email: 员工邮箱
|
2794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2795
|
+
# @type Email: String
|
2796
|
+
# @param OpenId: 员工在第三方平台id
|
2797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2798
|
+
# @type OpenId: String
|
2799
|
+
# @param Roles: 员工角色
|
2800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2801
|
+
# @type Roles: Array
|
2802
|
+
# @param Department: 员工部门
|
2803
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2804
|
+
# @type Department: :class:`Tencentcloud::Essbasic.v20210526.models.Department`
|
2805
|
+
# @param Verified: 员工是否实名
|
2806
|
+
# @type Verified: Boolean
|
2807
|
+
# @param CreatedOn: 员工创建时间戳
|
2808
|
+
# @type CreatedOn: Integer
|
2809
|
+
# @param VerifiedOn: 员工实名时间戳
|
2810
|
+
# @type VerifiedOn: Integer
|
2811
|
+
|
2812
|
+
attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn
|
2813
|
+
|
2814
|
+
def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil)
|
2815
|
+
@UserId = userid
|
2816
|
+
@DisplayName = displayname
|
2817
|
+
@Mobile = mobile
|
2818
|
+
@Email = email
|
2819
|
+
@OpenId = openid
|
2820
|
+
@Roles = roles
|
2821
|
+
@Department = department
|
2822
|
+
@Verified = verified
|
2823
|
+
@CreatedOn = createdon
|
2824
|
+
@VerifiedOn = verifiedon
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
def deserialize(params)
|
2828
|
+
@UserId = params['UserId']
|
2829
|
+
@DisplayName = params['DisplayName']
|
2830
|
+
@Mobile = params['Mobile']
|
2831
|
+
@Email = params['Email']
|
2832
|
+
@OpenId = params['OpenId']
|
2833
|
+
unless params['Roles'].nil?
|
2834
|
+
@Roles = []
|
2835
|
+
params['Roles'].each do |i|
|
2836
|
+
staffrole_tmp = StaffRole.new
|
2837
|
+
staffrole_tmp.deserialize(i)
|
2838
|
+
@Roles << staffrole_tmp
|
2839
|
+
end
|
2840
|
+
end
|
2841
|
+
unless params['Department'].nil?
|
2842
|
+
@Department = Department.new
|
2843
|
+
@Department.deserialize(params['Department'])
|
2844
|
+
end
|
2845
|
+
@Verified = params['Verified']
|
2846
|
+
@CreatedOn = params['CreatedOn']
|
2847
|
+
@VerifiedOn = params['VerifiedOn']
|
2848
|
+
end
|
2849
|
+
end
|
2850
|
+
|
2851
|
+
# 渠道版员工角色信息
|
2852
|
+
class StaffRole < TencentCloud::Common::AbstractModel
|
2853
|
+
# @param RoleId: 角色id
|
2854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2855
|
+
# @type RoleId: String
|
2856
|
+
# @param RoleName: 角色名称
|
2857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2858
|
+
# @type RoleName: String
|
2859
|
+
|
2860
|
+
attr_accessor :RoleId, :RoleName
|
2861
|
+
|
2862
|
+
def initialize(roleid=nil, rolename=nil)
|
2863
|
+
@RoleId = roleid
|
2864
|
+
@RoleName = rolename
|
2865
|
+
end
|
2866
|
+
|
2867
|
+
def deserialize(params)
|
2868
|
+
@RoleId = params['RoleId']
|
2869
|
+
@RoleName = params['RoleName']
|
2870
|
+
end
|
2871
|
+
end
|
2872
|
+
|
2657
2873
|
# 同步经办人失败原因
|
2658
2874
|
class SyncFailReason < TencentCloud::Common::AbstractModel
|
2659
2875
|
# @param Id: 经办人Id
|
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.422
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|