tencentcloud-sdk-ess 3.0.538 → 3.0.540
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +96 -0
- data/lib/v20201111/models.rb +445 -7
- 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: 10c6c44fc9d6a977d78eda648e194880dffdeada
|
4
|
+
data.tar.gz: b3a608c2cabcee14b45ed3b11d9c3bd974093317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bbc557ca2eb787fbfcf4cdbe35a3284135c7b8bc26cf8d609252e7724ec885d8b6bd252a242aaecb2540be09b4373b1de1f0a67b6488419e5c2b4aac37c6074
|
7
|
+
data.tar.gz: dc9453ab8a6c22518aecad2c4cfd59d18d87842900ebfad5746cae5de7b18df29a996b4aceccbdc963261d4142e781f05eaf9e687916a5cc768305136be04e02
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.540
|
data/lib/v20201111/client.rb
CHANGED
@@ -361,6 +361,30 @@ module TencentCloud
|
|
361
361
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
362
362
|
end
|
363
363
|
|
364
|
+
# 集成版绑定员工角色
|
365
|
+
|
366
|
+
# @param request: Request instance for CreateIntegrationUserRoles.
|
367
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationUserRolesRequest`
|
368
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateIntegrationUserRolesResponse`
|
369
|
+
def CreateIntegrationUserRoles(request)
|
370
|
+
body = send_request('CreateIntegrationUserRoles', request.serialize)
|
371
|
+
response = JSON.parse(body)
|
372
|
+
if response['Response'].key?('Error') == false
|
373
|
+
model = CreateIntegrationUserRolesResponse.new
|
374
|
+
model.deserialize(response['Response'])
|
375
|
+
model
|
376
|
+
else
|
377
|
+
code = response['Response']['Error']['Code']
|
378
|
+
message = response['Response']['Error']['Message']
|
379
|
+
reqid = response['Response']['RequestId']
|
380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
381
|
+
end
|
382
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
383
|
+
raise e
|
384
|
+
rescue StandardError => e
|
385
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
386
|
+
end
|
387
|
+
|
364
388
|
# 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
365
389
|
# 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
366
390
|
# 适用的模板仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模板,且模板中发起方没有填写控件。
|
@@ -567,6 +591,30 @@ module TencentCloud
|
|
567
591
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
568
592
|
end
|
569
593
|
|
594
|
+
# 解绑用户角色绑定关系
|
595
|
+
|
596
|
+
# @param request: Request instance for DeleteIntegrationRoleUsers.
|
597
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DeleteIntegrationRoleUsersRequest`
|
598
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DeleteIntegrationRoleUsersResponse`
|
599
|
+
def DeleteIntegrationRoleUsers(request)
|
600
|
+
body = send_request('DeleteIntegrationRoleUsers', request.serialize)
|
601
|
+
response = JSON.parse(body)
|
602
|
+
if response['Response'].key?('Error') == false
|
603
|
+
model = DeleteIntegrationRoleUsersResponse.new
|
604
|
+
model.deserialize(response['Response'])
|
605
|
+
model
|
606
|
+
else
|
607
|
+
code = response['Response']['Error']['Code']
|
608
|
+
message = response['Response']['Error']['Message']
|
609
|
+
reqid = response['Response']['RequestId']
|
610
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
611
|
+
end
|
612
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
613
|
+
raise e
|
614
|
+
rescue StandardError => e
|
615
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
616
|
+
end
|
617
|
+
|
570
618
|
# 撤销员工持有的印章权限
|
571
619
|
|
572
620
|
# @param request: Request instance for DeleteSealPolicies.
|
@@ -763,6 +811,30 @@ module TencentCloud
|
|
763
811
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
764
812
|
end
|
765
813
|
|
814
|
+
# 查询集成版角色
|
815
|
+
|
816
|
+
# @param request: Request instance for DescribeIntegrationRoles.
|
817
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeIntegrationRolesRequest`
|
818
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeIntegrationRolesResponse`
|
819
|
+
def DescribeIntegrationRoles(request)
|
820
|
+
body = send_request('DescribeIntegrationRoles', request.serialize)
|
821
|
+
response = JSON.parse(body)
|
822
|
+
if response['Response'].key?('Error') == false
|
823
|
+
model = DescribeIntegrationRolesResponse.new
|
824
|
+
model.deserialize(response['Response'])
|
825
|
+
model
|
826
|
+
else
|
827
|
+
code = response['Response']['Error']['Code']
|
828
|
+
message = response['Response']['Error']['Message']
|
829
|
+
reqid = response['Response']['RequestId']
|
830
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
831
|
+
end
|
832
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
833
|
+
raise e
|
834
|
+
rescue StandardError => e
|
835
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
836
|
+
end
|
837
|
+
|
766
838
|
# 此API接口用户查询加入集团的成员企业
|
767
839
|
|
768
840
|
# @param request: Request instance for DescribeOrganizationGroupOrganizations.
|
@@ -960,6 +1032,30 @@ module TencentCloud
|
|
960
1032
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
961
1033
|
end
|
962
1034
|
|
1035
|
+
# 更新集成版员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
|
1036
|
+
|
1037
|
+
# @param request: Request instance for UpdateIntegrationEmployees.
|
1038
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::UpdateIntegrationEmployeesRequest`
|
1039
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::UpdateIntegrationEmployeesResponse`
|
1040
|
+
def UpdateIntegrationEmployees(request)
|
1041
|
+
body = send_request('UpdateIntegrationEmployees', request.serialize)
|
1042
|
+
response = JSON.parse(body)
|
1043
|
+
if response['Response'].key?('Error') == false
|
1044
|
+
model = UpdateIntegrationEmployeesResponse.new
|
1045
|
+
model.deserialize(response['Response'])
|
1046
|
+
model
|
1047
|
+
else
|
1048
|
+
code = response['Response']['Error']['Code']
|
1049
|
+
message = response['Response']['Error']['Message']
|
1050
|
+
reqid = response['Response']['RequestId']
|
1051
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1052
|
+
end
|
1053
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1054
|
+
raise e
|
1055
|
+
rescue StandardError => e
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1057
|
+
end
|
1058
|
+
|
963
1059
|
# 此接口(UploadFiles)用于文件上传。
|
964
1060
|
# 适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
|
965
1061
|
# 其中上传的文件,图片类型(png/jpg/jpeg)大小限制为5M,其他大小限制为60M。
|
data/lib/v20201111/models.rb
CHANGED
@@ -271,6 +271,26 @@ module TencentCloud
|
|
271
271
|
end
|
272
272
|
end
|
273
273
|
|
274
|
+
# 应用回调信息
|
275
|
+
class CallbackInfo < TencentCloud::Common::AbstractModel
|
276
|
+
# @param CallbackUrl: 回调url
|
277
|
+
# @type CallbackUrl: String
|
278
|
+
# @param Token: 回调加密token
|
279
|
+
# @type Token: String
|
280
|
+
|
281
|
+
attr_accessor :CallbackUrl, :Token
|
282
|
+
|
283
|
+
def initialize(callbackurl=nil, token=nil)
|
284
|
+
@CallbackUrl = callbackurl
|
285
|
+
@Token = token
|
286
|
+
end
|
287
|
+
|
288
|
+
def deserialize(params)
|
289
|
+
@CallbackUrl = params['CallbackUrl']
|
290
|
+
@Token = params['Token']
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
274
294
|
# 此结构体 (Caller) 用于描述调用方属性。
|
275
295
|
class Caller < TencentCloud::Common::AbstractModel
|
276
296
|
# @param ApplicationId: 应用号
|
@@ -572,13 +592,13 @@ module TencentCloud
|
|
572
592
|
# @type GenerateMode: String
|
573
593
|
# @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
|
574
594
|
# @type ComponentDateFontSize: Integer
|
575
|
-
# @param ChannelComponentId:
|
595
|
+
# @param ChannelComponentId: 平台模板控件 id 标识
|
576
596
|
# @type ChannelComponentId: String
|
577
597
|
# @param OffsetX: 指定关键字时横坐标偏移量,单位pt
|
578
598
|
# @type OffsetX: Float
|
579
599
|
# @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
|
580
600
|
# @type OffsetY: Float
|
581
|
-
# @param ChannelComponentSource:
|
601
|
+
# @param ChannelComponentSource: //子客控件来源。0-平台指定;1-用户自定义
|
582
602
|
# @type ChannelComponentSource: Integer
|
583
603
|
# @param KeywordOrder: 指定关键字排序规则,Positive-正序,Reverse-倒序。传入Positive时会根据关键字在PDF文件内的顺序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的第一个关键字。
|
584
604
|
# 传入Reverse时会根据关键字在PDF文件内的反序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的最后一个关键字。
|
@@ -1472,6 +1492,67 @@ module TencentCloud
|
|
1472
1492
|
end
|
1473
1493
|
end
|
1474
1494
|
|
1495
|
+
# CreateIntegrationUserRoles请求参数结构体
|
1496
|
+
class CreateIntegrationUserRolesRequest < TencentCloud::Common::AbstractModel
|
1497
|
+
# @param Operator: 操作人信息
|
1498
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1499
|
+
# @param UserIds: 绑定角色的用户id列表
|
1500
|
+
# @type UserIds: Array
|
1501
|
+
# @param RoleIds: 绑定角色的角色id列表
|
1502
|
+
# @type RoleIds: Array
|
1503
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
1504
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1505
|
+
|
1506
|
+
attr_accessor :Operator, :UserIds, :RoleIds, :Agent
|
1507
|
+
|
1508
|
+
def initialize(operator=nil, userids=nil, roleids=nil, agent=nil)
|
1509
|
+
@Operator = operator
|
1510
|
+
@UserIds = userids
|
1511
|
+
@RoleIds = roleids
|
1512
|
+
@Agent = agent
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
def deserialize(params)
|
1516
|
+
unless params['Operator'].nil?
|
1517
|
+
@Operator = UserInfo.new
|
1518
|
+
@Operator.deserialize(params['Operator'])
|
1519
|
+
end
|
1520
|
+
@UserIds = params['UserIds']
|
1521
|
+
@RoleIds = params['RoleIds']
|
1522
|
+
unless params['Agent'].nil?
|
1523
|
+
@Agent = Agent.new
|
1524
|
+
@Agent.deserialize(params['Agent'])
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
# CreateIntegrationUserRoles返回参数结构体
|
1530
|
+
class CreateIntegrationUserRolesResponse < TencentCloud::Common::AbstractModel
|
1531
|
+
# @param FailedCreateRoleData: 绑定角色失败列表信息
|
1532
|
+
# @type FailedCreateRoleData: Array
|
1533
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1534
|
+
# @type RequestId: String
|
1535
|
+
|
1536
|
+
attr_accessor :FailedCreateRoleData, :RequestId
|
1537
|
+
|
1538
|
+
def initialize(failedcreateroledata=nil, requestid=nil)
|
1539
|
+
@FailedCreateRoleData = failedcreateroledata
|
1540
|
+
@RequestId = requestid
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
def deserialize(params)
|
1544
|
+
unless params['FailedCreateRoleData'].nil?
|
1545
|
+
@FailedCreateRoleData = []
|
1546
|
+
params['FailedCreateRoleData'].each do |i|
|
1547
|
+
failedcreateroledata_tmp = FailedCreateRoleData.new
|
1548
|
+
failedcreateroledata_tmp.deserialize(i)
|
1549
|
+
@FailedCreateRoleData << failedcreateroledata_tmp
|
1550
|
+
end
|
1551
|
+
end
|
1552
|
+
@RequestId = params['RequestId']
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1475
1556
|
# CreateMultiFlowSignQRCode请求参数结构体
|
1476
1557
|
class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
1477
1558
|
# @param Operator: 用户信息
|
@@ -2108,6 +2189,67 @@ module TencentCloud
|
|
2108
2189
|
end
|
2109
2190
|
end
|
2110
2191
|
|
2192
|
+
# DeleteIntegrationRoleUsers请求参数结构体
|
2193
|
+
class DeleteIntegrationRoleUsersRequest < TencentCloud::Common::AbstractModel
|
2194
|
+
# @param Operator: 操作人
|
2195
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2196
|
+
# @param RoleId: 角色id
|
2197
|
+
# @type RoleId: String
|
2198
|
+
# @param Users: 用户信息
|
2199
|
+
# @type Users: Array
|
2200
|
+
# @param Agent: 代理信息
|
2201
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2202
|
+
|
2203
|
+
attr_accessor :Operator, :RoleId, :Users, :Agent
|
2204
|
+
|
2205
|
+
def initialize(operator=nil, roleid=nil, users=nil, agent=nil)
|
2206
|
+
@Operator = operator
|
2207
|
+
@RoleId = roleid
|
2208
|
+
@Users = users
|
2209
|
+
@Agent = agent
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
def deserialize(params)
|
2213
|
+
unless params['Operator'].nil?
|
2214
|
+
@Operator = UserInfo.new
|
2215
|
+
@Operator.deserialize(params['Operator'])
|
2216
|
+
end
|
2217
|
+
@RoleId = params['RoleId']
|
2218
|
+
unless params['Users'].nil?
|
2219
|
+
@Users = []
|
2220
|
+
params['Users'].each do |i|
|
2221
|
+
userinfo_tmp = UserInfo.new
|
2222
|
+
userinfo_tmp.deserialize(i)
|
2223
|
+
@Users << userinfo_tmp
|
2224
|
+
end
|
2225
|
+
end
|
2226
|
+
unless params['Agent'].nil?
|
2227
|
+
@Agent = Agent.new
|
2228
|
+
@Agent.deserialize(params['Agent'])
|
2229
|
+
end
|
2230
|
+
end
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
# DeleteIntegrationRoleUsers返回参数结构体
|
2234
|
+
class DeleteIntegrationRoleUsersResponse < TencentCloud::Common::AbstractModel
|
2235
|
+
# @param RoleId: 角色id
|
2236
|
+
# @type RoleId: String
|
2237
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2238
|
+
# @type RequestId: String
|
2239
|
+
|
2240
|
+
attr_accessor :RoleId, :RequestId
|
2241
|
+
|
2242
|
+
def initialize(roleid=nil, requestid=nil)
|
2243
|
+
@RoleId = roleid
|
2244
|
+
@RequestId = requestid
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
def deserialize(params)
|
2248
|
+
@RoleId = params['RoleId']
|
2249
|
+
@RequestId = params['RequestId']
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
2111
2253
|
# DeleteSealPolicies请求参数结构体
|
2112
2254
|
class DeleteSealPoliciesRequest < TencentCloud::Common::AbstractModel
|
2113
2255
|
# @param Operator: 操作撤销的用户信息
|
@@ -2496,11 +2638,11 @@ module TencentCloud
|
|
2496
2638
|
# @type Filters: Array
|
2497
2639
|
# @param ApplicationId: 这个参数跟下面的IsChannel参数配合使用。
|
2498
2640
|
# IsChannel=false时,ApplicationId参数不起任何作用。
|
2499
|
-
# IsChannel=true时,ApplicationId
|
2500
|
-
# ApplicationId
|
2641
|
+
# IsChannel=true时,ApplicationId为空,查询所有第三方应用集成平台企业模板列表;ApplicationId不为空,查询指定应用下的模板列表
|
2642
|
+
# ApplicationId为空,查询所有应用下的模板列表
|
2501
2643
|
# @type ApplicationId: String
|
2502
2644
|
# @param IsChannel: 默认为false,查询SaaS模板库列表;
|
2503
|
-
# 为true
|
2645
|
+
# 为true,查询第三方应用集成平台企业模板库管理列表
|
2504
2646
|
# @type IsChannel: Boolean
|
2505
2647
|
# @param GenerateSource: 暂未开放
|
2506
2648
|
# @type GenerateSource: Integer
|
@@ -2706,6 +2848,93 @@ module TencentCloud
|
|
2706
2848
|
end
|
2707
2849
|
end
|
2708
2850
|
|
2851
|
+
# DescribeIntegrationRoles请求参数结构体
|
2852
|
+
class DescribeIntegrationRolesRequest < TencentCloud::Common::AbstractModel
|
2853
|
+
# @param Operator: 操作人信息
|
2854
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2855
|
+
# @param Limit: 返回最大数量,最大为200
|
2856
|
+
# @type Limit: Integer
|
2857
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
2858
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2859
|
+
# @param Filters: 查询的关键字段:
|
2860
|
+
# Key:"RoleType",Vales:["1"]查询系统角色,Values:["2]查询自定义角色
|
2861
|
+
# Key:"RoleStatus",Values:["1"]查询启用角色,Values:["2"]查询禁用角色
|
2862
|
+
# Key:"IsGroupRole",Values:["0"],查询非集团角色,Values:["1"]表示查询集团角色
|
2863
|
+
# @type Filters: Array
|
2864
|
+
# @param Offset: 偏移量,默认为0,最大为2000
|
2865
|
+
# @type Offset: Integer
|
2866
|
+
|
2867
|
+
attr_accessor :Operator, :Limit, :Agent, :Filters, :Offset
|
2868
|
+
|
2869
|
+
def initialize(operator=nil, limit=nil, agent=nil, filters=nil, offset=nil)
|
2870
|
+
@Operator = operator
|
2871
|
+
@Limit = limit
|
2872
|
+
@Agent = agent
|
2873
|
+
@Filters = filters
|
2874
|
+
@Offset = offset
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
def deserialize(params)
|
2878
|
+
unless params['Operator'].nil?
|
2879
|
+
@Operator = UserInfo.new
|
2880
|
+
@Operator.deserialize(params['Operator'])
|
2881
|
+
end
|
2882
|
+
@Limit = params['Limit']
|
2883
|
+
unless params['Agent'].nil?
|
2884
|
+
@Agent = Agent.new
|
2885
|
+
@Agent.deserialize(params['Agent'])
|
2886
|
+
end
|
2887
|
+
unless params['Filters'].nil?
|
2888
|
+
@Filters = []
|
2889
|
+
params['Filters'].each do |i|
|
2890
|
+
filter_tmp = Filter.new
|
2891
|
+
filter_tmp.deserialize(i)
|
2892
|
+
@Filters << filter_tmp
|
2893
|
+
end
|
2894
|
+
end
|
2895
|
+
@Offset = params['Offset']
|
2896
|
+
end
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
# DescribeIntegrationRoles返回参数结构体
|
2900
|
+
class DescribeIntegrationRolesResponse < TencentCloud::Common::AbstractModel
|
2901
|
+
# @param Offset: 偏移量,默认为0,最大为2000
|
2902
|
+
# @type Offset: Integer
|
2903
|
+
# @param Limit: 返回最大数量,最大为200
|
2904
|
+
# @type Limit: Integer
|
2905
|
+
# @param TotalCount: 符合查询条件的总的角色数
|
2906
|
+
# @type TotalCount: Integer
|
2907
|
+
# @param IntegrateRoles: 企业角色信息列表
|
2908
|
+
# @type IntegrateRoles: Array
|
2909
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2910
|
+
# @type RequestId: String
|
2911
|
+
|
2912
|
+
attr_accessor :Offset, :Limit, :TotalCount, :IntegrateRoles, :RequestId
|
2913
|
+
|
2914
|
+
def initialize(offset=nil, limit=nil, totalcount=nil, integrateroles=nil, requestid=nil)
|
2915
|
+
@Offset = offset
|
2916
|
+
@Limit = limit
|
2917
|
+
@TotalCount = totalcount
|
2918
|
+
@IntegrateRoles = integrateroles
|
2919
|
+
@RequestId = requestid
|
2920
|
+
end
|
2921
|
+
|
2922
|
+
def deserialize(params)
|
2923
|
+
@Offset = params['Offset']
|
2924
|
+
@Limit = params['Limit']
|
2925
|
+
@TotalCount = params['TotalCount']
|
2926
|
+
unless params['IntegrateRoles'].nil?
|
2927
|
+
@IntegrateRoles = []
|
2928
|
+
params['IntegrateRoles'].each do |i|
|
2929
|
+
integraterole_tmp = IntegrateRole.new
|
2930
|
+
integraterole_tmp.deserialize(i)
|
2931
|
+
@IntegrateRoles << integraterole_tmp
|
2932
|
+
end
|
2933
|
+
end
|
2934
|
+
@RequestId = params['RequestId']
|
2935
|
+
end
|
2936
|
+
end
|
2937
|
+
|
2709
2938
|
# DescribeOrganizationGroupOrganizations请求参数结构体
|
2710
2939
|
class DescribeOrganizationGroupOrganizationsRequest < TencentCloud::Common::AbstractModel
|
2711
2940
|
# @param Operator: 操作人信息,userId必填
|
@@ -3014,6 +3243,28 @@ module TencentCloud
|
|
3014
3243
|
end
|
3015
3244
|
end
|
3016
3245
|
|
3246
|
+
# 绑定角色失败信息
|
3247
|
+
class FailedCreateRoleData < TencentCloud::Common::AbstractModel
|
3248
|
+
# @param UserId: 用户userId
|
3249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3250
|
+
# @type UserId: String
|
3251
|
+
# @param RoleIds: 角色id列表
|
3252
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3253
|
+
# @type RoleIds: Array
|
3254
|
+
|
3255
|
+
attr_accessor :UserId, :RoleIds
|
3256
|
+
|
3257
|
+
def initialize(userid=nil, roleids=nil)
|
3258
|
+
@UserId = userid
|
3259
|
+
@RoleIds = roleids
|
3260
|
+
end
|
3261
|
+
|
3262
|
+
def deserialize(params)
|
3263
|
+
@UserId = params['UserId']
|
3264
|
+
@RoleIds = params['RoleIds']
|
3265
|
+
end
|
3266
|
+
end
|
3267
|
+
|
3017
3268
|
# 创建员工的失败数据
|
3018
3269
|
class FailedCreateStaffData < TencentCloud::Common::AbstractModel
|
3019
3270
|
# @param DisplayName: 员工名
|
@@ -3064,6 +3315,38 @@ module TencentCloud
|
|
3064
3315
|
end
|
3065
3316
|
end
|
3066
3317
|
|
3318
|
+
# 更新员工信息失败返回的数据信息
|
3319
|
+
class FailedUpdateStaffData < TencentCloud::Common::AbstractModel
|
3320
|
+
# @param DisplayName: 用户传入的名称
|
3321
|
+
# @type DisplayName: String
|
3322
|
+
# @param Mobile: 用户传入的手机号
|
3323
|
+
# @type Mobile: String
|
3324
|
+
# @param Reason: 失败原因
|
3325
|
+
# @type Reason: String
|
3326
|
+
# @param UserId: 用户Id
|
3327
|
+
# @type UserId: String
|
3328
|
+
# @param OpenId: 用户OpenId
|
3329
|
+
# @type OpenId: String
|
3330
|
+
|
3331
|
+
attr_accessor :DisplayName, :Mobile, :Reason, :UserId, :OpenId
|
3332
|
+
|
3333
|
+
def initialize(displayname=nil, mobile=nil, reason=nil, userid=nil, openid=nil)
|
3334
|
+
@DisplayName = displayname
|
3335
|
+
@Mobile = mobile
|
3336
|
+
@Reason = reason
|
3337
|
+
@UserId = userid
|
3338
|
+
@OpenId = openid
|
3339
|
+
end
|
3340
|
+
|
3341
|
+
def deserialize(params)
|
3342
|
+
@DisplayName = params['DisplayName']
|
3343
|
+
@Mobile = params['Mobile']
|
3344
|
+
@Reason = params['Reason']
|
3345
|
+
@UserId = params['UserId']
|
3346
|
+
@OpenId = params['OpenId']
|
3347
|
+
end
|
3348
|
+
end
|
3349
|
+
|
3067
3350
|
# 二期接口返回的模板中文件的信息结构
|
3068
3351
|
class FileInfo < TencentCloud::Common::AbstractModel
|
3069
3352
|
# @param FileId: 文件Id
|
@@ -3482,7 +3765,7 @@ module TencentCloud
|
|
3482
3765
|
# 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
3483
3766
|
|
3484
3767
|
# 【数据表格传参说明】
|
3485
|
-
# 当模板的 ComponentType='DYNAMIC_TABLE'
|
3768
|
+
# 当模板的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
3486
3769
|
# 输入示例1:
|
3487
3770
|
|
3488
3771
|
# ```
|
@@ -3775,6 +4058,43 @@ module TencentCloud
|
|
3775
4058
|
end
|
3776
4059
|
end
|
3777
4060
|
|
4061
|
+
# 企业角色数据信息
|
4062
|
+
class IntegrateRole < TencentCloud::Common::AbstractModel
|
4063
|
+
# @param RoleId: 角色id
|
4064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4065
|
+
# @type RoleId: String
|
4066
|
+
# @param RoleName: 角色名
|
4067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4068
|
+
# @type RoleName: String
|
4069
|
+
# @param RoleStatus: 角色类型:1-系统角色,2-自定义角色
|
4070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4071
|
+
# @type RoleStatus: Integer
|
4072
|
+
# @param IsGroupRole: 是否是集团角色
|
4073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4074
|
+
# @type IsGroupRole: Boolean
|
4075
|
+
# @param SubOrgIdList: 管辖的子企业列表
|
4076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4077
|
+
# @type SubOrgIdList: Array
|
4078
|
+
|
4079
|
+
attr_accessor :RoleId, :RoleName, :RoleStatus, :IsGroupRole, :SubOrgIdList
|
4080
|
+
|
4081
|
+
def initialize(roleid=nil, rolename=nil, rolestatus=nil, isgrouprole=nil, suborgidlist=nil)
|
4082
|
+
@RoleId = roleid
|
4083
|
+
@RoleName = rolename
|
4084
|
+
@RoleStatus = rolestatus
|
4085
|
+
@IsGroupRole = isgrouprole
|
4086
|
+
@SubOrgIdList = suborgidlist
|
4087
|
+
end
|
4088
|
+
|
4089
|
+
def deserialize(params)
|
4090
|
+
@RoleId = params['RoleId']
|
4091
|
+
@RoleName = params['RoleName']
|
4092
|
+
@RoleStatus = params['RoleStatus']
|
4093
|
+
@IsGroupRole = params['IsGroupRole']
|
4094
|
+
@SubOrgIdList = params['SubOrgIdList']
|
4095
|
+
end
|
4096
|
+
end
|
4097
|
+
|
3778
4098
|
# 主企业员工账号信息
|
3779
4099
|
class IntegrationMainOrganizationUser < TencentCloud::Common::AbstractModel
|
3780
4100
|
# @param MainOrganizationId: 主企业id
|
@@ -3804,12 +4124,31 @@ module TencentCloud
|
|
3804
4124
|
|
3805
4125
|
# ModifyApplicationCallbackInfo请求参数结构体
|
3806
4126
|
class ModifyApplicationCallbackInfoRequest < TencentCloud::Common::AbstractModel
|
4127
|
+
# @param Operator: 调用方用户信息,userId 必填
|
4128
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4129
|
+
# @param OperateType: 操作类型:1-新增,2-删除
|
4130
|
+
# @type OperateType: Integer
|
4131
|
+
# @param CallbackInfo: 回调信息
|
4132
|
+
# @type CallbackInfo: :class:`Tencentcloud::Ess.v20201111.models.CallbackInfo`
|
3807
4133
|
|
4134
|
+
attr_accessor :Operator, :OperateType, :CallbackInfo
|
3808
4135
|
|
3809
|
-
def initialize()
|
4136
|
+
def initialize(operator=nil, operatetype=nil, callbackinfo=nil)
|
4137
|
+
@Operator = operator
|
4138
|
+
@OperateType = operatetype
|
4139
|
+
@CallbackInfo = callbackinfo
|
3810
4140
|
end
|
3811
4141
|
|
3812
4142
|
def deserialize(params)
|
4143
|
+
unless params['Operator'].nil?
|
4144
|
+
@Operator = UserInfo.new
|
4145
|
+
@Operator.deserialize(params['Operator'])
|
4146
|
+
end
|
4147
|
+
@OperateType = params['OperateType']
|
4148
|
+
unless params['CallbackInfo'].nil?
|
4149
|
+
@CallbackInfo = CallbackInfo.new
|
4150
|
+
@CallbackInfo.deserialize(params['CallbackInfo'])
|
4151
|
+
end
|
3813
4152
|
end
|
3814
4153
|
end
|
3815
4154
|
|
@@ -4416,6 +4755,30 @@ module TencentCloud
|
|
4416
4755
|
end
|
4417
4756
|
end
|
4418
4757
|
|
4758
|
+
# 更新员工信息成功返回的数据信息
|
4759
|
+
class SuccessUpdateStaffData < TencentCloud::Common::AbstractModel
|
4760
|
+
# @param DisplayName: 传入的用户名称
|
4761
|
+
# @type DisplayName: String
|
4762
|
+
# @param Mobile: 传入的手机号
|
4763
|
+
# @type Mobile: String
|
4764
|
+
# @param UserId: 用户Id
|
4765
|
+
# @type UserId: String
|
4766
|
+
|
4767
|
+
attr_accessor :DisplayName, :Mobile, :UserId
|
4768
|
+
|
4769
|
+
def initialize(displayname=nil, mobile=nil, userid=nil)
|
4770
|
+
@DisplayName = displayname
|
4771
|
+
@Mobile = mobile
|
4772
|
+
@UserId = userid
|
4773
|
+
end
|
4774
|
+
|
4775
|
+
def deserialize(params)
|
4776
|
+
@DisplayName = params['DisplayName']
|
4777
|
+
@Mobile = params['Mobile']
|
4778
|
+
@UserId = params['UserId']
|
4779
|
+
end
|
4780
|
+
end
|
4781
|
+
|
4419
4782
|
# 二期接口返回的模板的信息结构
|
4420
4783
|
class TemplateInfo < TencentCloud::Common::AbstractModel
|
4421
4784
|
# @param TemplateId: 模板ID
|
@@ -4534,6 +4897,81 @@ module TencentCloud
|
|
4534
4897
|
end
|
4535
4898
|
end
|
4536
4899
|
|
4900
|
+
# UpdateIntegrationEmployees请求参数结构体
|
4901
|
+
class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
|
4902
|
+
# @param Operator: 操作人信息
|
4903
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4904
|
+
# @param Agent: 代理信息
|
4905
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
4906
|
+
# @param Employees: 员工信息
|
4907
|
+
# @type Employees: Array
|
4908
|
+
|
4909
|
+
attr_accessor :Operator, :Agent, :Employees
|
4910
|
+
|
4911
|
+
def initialize(operator=nil, agent=nil, employees=nil)
|
4912
|
+
@Operator = operator
|
4913
|
+
@Agent = agent
|
4914
|
+
@Employees = employees
|
4915
|
+
end
|
4916
|
+
|
4917
|
+
def deserialize(params)
|
4918
|
+
unless params['Operator'].nil?
|
4919
|
+
@Operator = UserInfo.new
|
4920
|
+
@Operator.deserialize(params['Operator'])
|
4921
|
+
end
|
4922
|
+
unless params['Agent'].nil?
|
4923
|
+
@Agent = Agent.new
|
4924
|
+
@Agent.deserialize(params['Agent'])
|
4925
|
+
end
|
4926
|
+
unless params['Employees'].nil?
|
4927
|
+
@Employees = []
|
4928
|
+
params['Employees'].each do |i|
|
4929
|
+
staff_tmp = Staff.new
|
4930
|
+
staff_tmp.deserialize(i)
|
4931
|
+
@Employees << staff_tmp
|
4932
|
+
end
|
4933
|
+
end
|
4934
|
+
end
|
4935
|
+
end
|
4936
|
+
|
4937
|
+
# UpdateIntegrationEmployees返回参数结构体
|
4938
|
+
class UpdateIntegrationEmployeesResponse < TencentCloud::Common::AbstractModel
|
4939
|
+
# @param SuccessEmployeeData: 更新成功的用户列表
|
4940
|
+
# @type SuccessEmployeeData: Array
|
4941
|
+
# @param FailedEmployeeData: 更新失败的用户列表
|
4942
|
+
# @type FailedEmployeeData: Array
|
4943
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4944
|
+
# @type RequestId: String
|
4945
|
+
|
4946
|
+
attr_accessor :SuccessEmployeeData, :FailedEmployeeData, :RequestId
|
4947
|
+
|
4948
|
+
def initialize(successemployeedata=nil, failedemployeedata=nil, requestid=nil)
|
4949
|
+
@SuccessEmployeeData = successemployeedata
|
4950
|
+
@FailedEmployeeData = failedemployeedata
|
4951
|
+
@RequestId = requestid
|
4952
|
+
end
|
4953
|
+
|
4954
|
+
def deserialize(params)
|
4955
|
+
unless params['SuccessEmployeeData'].nil?
|
4956
|
+
@SuccessEmployeeData = []
|
4957
|
+
params['SuccessEmployeeData'].each do |i|
|
4958
|
+
successupdatestaffdata_tmp = SuccessUpdateStaffData.new
|
4959
|
+
successupdatestaffdata_tmp.deserialize(i)
|
4960
|
+
@SuccessEmployeeData << successupdatestaffdata_tmp
|
4961
|
+
end
|
4962
|
+
end
|
4963
|
+
unless params['FailedEmployeeData'].nil?
|
4964
|
+
@FailedEmployeeData = []
|
4965
|
+
params['FailedEmployeeData'].each do |i|
|
4966
|
+
failedupdatestaffdata_tmp = FailedUpdateStaffData.new
|
4967
|
+
failedupdatestaffdata_tmp.deserialize(i)
|
4968
|
+
@FailedEmployeeData << failedupdatestaffdata_tmp
|
4969
|
+
end
|
4970
|
+
end
|
4971
|
+
@RequestId = params['RequestId']
|
4972
|
+
end
|
4973
|
+
end
|
4974
|
+
|
4537
4975
|
# 此结构体 (UploadFile) 用于描述多文件上传的文件信息。
|
4538
4976
|
class UploadFile < TencentCloud::Common::AbstractModel
|
4539
4977
|
# @param FileBody: Base64编码后的文件内容
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.540
|
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-03-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|