tencentcloud-sdk-ess 3.0.538 → 3.0.539

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f22b4e4d884c6d35e485521482b98e7ad8069ccd
4
- data.tar.gz: d281b19a9691f25a82c6882b679fc8dd955d9110
3
+ metadata.gz: de0abc191b285529f45f979c51eee826e23c91e9
4
+ data.tar.gz: 252388beeaa015885ed79e83b2297dd1ac9ab7c7
5
5
  SHA512:
6
- metadata.gz: 6080ad1ae228fe5ea7de1ab2b4435d19fe8896e8506fa3394d4e2ef0ee39ab5ed555692ddadec8c22aeaa8211f760cffeb6197f9d4ccd94127ee1723b5a176c9
7
- data.tar.gz: 47b4b80da8c4613f75fec8f6e27e3929150ea51b5cf2f658e7dc7efd547aafb6ca6c199ae58d023f43c8bb0a9e12b999b0d9470edf9eae3fbd5233319953c367
6
+ metadata.gz: a98b3b39c26b9869b811cf850d75aa086c8daf5cbe78b3ac92a7b0f1bee27bff0eea170c424612efbc47ce9ec29a7ae77d6d448e211d9aecd7f02c646847d4f1
7
+ data.tar.gz: 4b2e8698e8c0749628d85a19020750d475f70242703f735cdd3977679fe9a8961557ed3f6c2cc44b43afcc0a658f7772c56bb3924b860eec629e26646e82f1ea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.538
1
+ 3.0.539
@@ -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。
@@ -572,13 +572,13 @@ module TencentCloud
572
572
  # @type GenerateMode: String
573
573
  # @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
574
574
  # @type ComponentDateFontSize: Integer
575
- # @param ChannelComponentId: 渠道版控件 id 标识
575
+ # @param ChannelComponentId: 平台模板控件 id 标识
576
576
  # @type ChannelComponentId: String
577
577
  # @param OffsetX: 指定关键字时横坐标偏移量,单位pt
578
578
  # @type OffsetX: Float
579
579
  # @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
580
580
  # @type OffsetY: Float
581
- # @param ChannelComponentSource: //渠道子客控件来源。0-渠道指定;1-用户自定义
581
+ # @param ChannelComponentSource: //子客控件来源。0-平台指定;1-用户自定义
582
582
  # @type ChannelComponentSource: Integer
583
583
  # @param KeywordOrder: 指定关键字排序规则,Positive-正序,Reverse-倒序。传入Positive时会根据关键字在PDF文件内的顺序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的第一个关键字。
584
584
  # 传入Reverse时会根据关键字在PDF文件内的反序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的最后一个关键字。
@@ -1472,6 +1472,67 @@ module TencentCloud
1472
1472
  end
1473
1473
  end
1474
1474
 
1475
+ # CreateIntegrationUserRoles请求参数结构体
1476
+ class CreateIntegrationUserRolesRequest < TencentCloud::Common::AbstractModel
1477
+ # @param Operator: 操作人信息
1478
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1479
+ # @param UserIds: 绑定角色的用户id列表
1480
+ # @type UserIds: Array
1481
+ # @param RoleIds: 绑定角色的角色id列表
1482
+ # @type RoleIds: Array
1483
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1484
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1485
+
1486
+ attr_accessor :Operator, :UserIds, :RoleIds, :Agent
1487
+
1488
+ def initialize(operator=nil, userids=nil, roleids=nil, agent=nil)
1489
+ @Operator = operator
1490
+ @UserIds = userids
1491
+ @RoleIds = roleids
1492
+ @Agent = agent
1493
+ end
1494
+
1495
+ def deserialize(params)
1496
+ unless params['Operator'].nil?
1497
+ @Operator = UserInfo.new
1498
+ @Operator.deserialize(params['Operator'])
1499
+ end
1500
+ @UserIds = params['UserIds']
1501
+ @RoleIds = params['RoleIds']
1502
+ unless params['Agent'].nil?
1503
+ @Agent = Agent.new
1504
+ @Agent.deserialize(params['Agent'])
1505
+ end
1506
+ end
1507
+ end
1508
+
1509
+ # CreateIntegrationUserRoles返回参数结构体
1510
+ class CreateIntegrationUserRolesResponse < TencentCloud::Common::AbstractModel
1511
+ # @param FailedCreateRoleData: 绑定角色失败列表信息
1512
+ # @type FailedCreateRoleData: Array
1513
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1514
+ # @type RequestId: String
1515
+
1516
+ attr_accessor :FailedCreateRoleData, :RequestId
1517
+
1518
+ def initialize(failedcreateroledata=nil, requestid=nil)
1519
+ @FailedCreateRoleData = failedcreateroledata
1520
+ @RequestId = requestid
1521
+ end
1522
+
1523
+ def deserialize(params)
1524
+ unless params['FailedCreateRoleData'].nil?
1525
+ @FailedCreateRoleData = []
1526
+ params['FailedCreateRoleData'].each do |i|
1527
+ failedcreateroledata_tmp = FailedCreateRoleData.new
1528
+ failedcreateroledata_tmp.deserialize(i)
1529
+ @FailedCreateRoleData << failedcreateroledata_tmp
1530
+ end
1531
+ end
1532
+ @RequestId = params['RequestId']
1533
+ end
1534
+ end
1535
+
1475
1536
  # CreateMultiFlowSignQRCode请求参数结构体
1476
1537
  class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
1477
1538
  # @param Operator: 用户信息
@@ -2108,6 +2169,67 @@ module TencentCloud
2108
2169
  end
2109
2170
  end
2110
2171
 
2172
+ # DeleteIntegrationRoleUsers请求参数结构体
2173
+ class DeleteIntegrationRoleUsersRequest < TencentCloud::Common::AbstractModel
2174
+ # @param Operator: 操作人
2175
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2176
+ # @param RoleId: 角色id
2177
+ # @type RoleId: String
2178
+ # @param Users: 用户信息
2179
+ # @type Users: Array
2180
+ # @param Agent: 代理信息
2181
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2182
+
2183
+ attr_accessor :Operator, :RoleId, :Users, :Agent
2184
+
2185
+ def initialize(operator=nil, roleid=nil, users=nil, agent=nil)
2186
+ @Operator = operator
2187
+ @RoleId = roleid
2188
+ @Users = users
2189
+ @Agent = agent
2190
+ end
2191
+
2192
+ def deserialize(params)
2193
+ unless params['Operator'].nil?
2194
+ @Operator = UserInfo.new
2195
+ @Operator.deserialize(params['Operator'])
2196
+ end
2197
+ @RoleId = params['RoleId']
2198
+ unless params['Users'].nil?
2199
+ @Users = []
2200
+ params['Users'].each do |i|
2201
+ userinfo_tmp = UserInfo.new
2202
+ userinfo_tmp.deserialize(i)
2203
+ @Users << userinfo_tmp
2204
+ end
2205
+ end
2206
+ unless params['Agent'].nil?
2207
+ @Agent = Agent.new
2208
+ @Agent.deserialize(params['Agent'])
2209
+ end
2210
+ end
2211
+ end
2212
+
2213
+ # DeleteIntegrationRoleUsers返回参数结构体
2214
+ class DeleteIntegrationRoleUsersResponse < TencentCloud::Common::AbstractModel
2215
+ # @param RoleId: 角色id
2216
+ # @type RoleId: String
2217
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2218
+ # @type RequestId: String
2219
+
2220
+ attr_accessor :RoleId, :RequestId
2221
+
2222
+ def initialize(roleid=nil, requestid=nil)
2223
+ @RoleId = roleid
2224
+ @RequestId = requestid
2225
+ end
2226
+
2227
+ def deserialize(params)
2228
+ @RoleId = params['RoleId']
2229
+ @RequestId = params['RequestId']
2230
+ end
2231
+ end
2232
+
2111
2233
  # DeleteSealPolicies请求参数结构体
2112
2234
  class DeleteSealPoliciesRequest < TencentCloud::Common::AbstractModel
2113
2235
  # @param Operator: 操作撤销的用户信息
@@ -2496,11 +2618,11 @@ module TencentCloud
2496
2618
  # @type Filters: Array
2497
2619
  # @param ApplicationId: 这个参数跟下面的IsChannel参数配合使用。
2498
2620
  # IsChannel=false时,ApplicationId参数不起任何作用。
2499
- # IsChannel=true时,ApplicationId为空,查询所有渠道模板列表;ApplicationId不为空,查询指定渠道下的模板列表
2500
- # ApplicationId为空,查询渠道模板列表
2621
+ # IsChannel=true时,ApplicationId为空,查询所有第三方应用集成平台企业模板列表;ApplicationId不为空,查询指定应用下的模板列表
2622
+ # ApplicationId为空,查询所有应用下的模板列表
2501
2623
  # @type ApplicationId: String
2502
2624
  # @param IsChannel: 默认为false,查询SaaS模板库列表;
2503
- # 为true,查询渠道模板库管理列表
2625
+ # 为true,查询第三方应用集成平台企业模板库管理列表
2504
2626
  # @type IsChannel: Boolean
2505
2627
  # @param GenerateSource: 暂未开放
2506
2628
  # @type GenerateSource: Integer
@@ -2706,6 +2828,93 @@ module TencentCloud
2706
2828
  end
2707
2829
  end
2708
2830
 
2831
+ # DescribeIntegrationRoles请求参数结构体
2832
+ class DescribeIntegrationRolesRequest < TencentCloud::Common::AbstractModel
2833
+ # @param Operator: 操作人信息
2834
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2835
+ # @param Limit: 返回最大数量,最大为200
2836
+ # @type Limit: Integer
2837
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2838
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2839
+ # @param Filters: 查询的关键字段:
2840
+ # Key:"RoleType",Vales:["1"]查询系统角色,Values:["2]查询自定义角色
2841
+ # Key:"RoleStatus",Values:["1"]查询启用角色,Values:["2"]查询禁用角色
2842
+ # Key:"IsGroupRole",Values:["0"],查询非集团角色,Values:["1"]表示查询集团角色
2843
+ # @type Filters: Array
2844
+ # @param Offset: 偏移量,默认为0,最大为2000
2845
+ # @type Offset: Integer
2846
+
2847
+ attr_accessor :Operator, :Limit, :Agent, :Filters, :Offset
2848
+
2849
+ def initialize(operator=nil, limit=nil, agent=nil, filters=nil, offset=nil)
2850
+ @Operator = operator
2851
+ @Limit = limit
2852
+ @Agent = agent
2853
+ @Filters = filters
2854
+ @Offset = offset
2855
+ end
2856
+
2857
+ def deserialize(params)
2858
+ unless params['Operator'].nil?
2859
+ @Operator = UserInfo.new
2860
+ @Operator.deserialize(params['Operator'])
2861
+ end
2862
+ @Limit = params['Limit']
2863
+ unless params['Agent'].nil?
2864
+ @Agent = Agent.new
2865
+ @Agent.deserialize(params['Agent'])
2866
+ end
2867
+ unless params['Filters'].nil?
2868
+ @Filters = []
2869
+ params['Filters'].each do |i|
2870
+ filter_tmp = Filter.new
2871
+ filter_tmp.deserialize(i)
2872
+ @Filters << filter_tmp
2873
+ end
2874
+ end
2875
+ @Offset = params['Offset']
2876
+ end
2877
+ end
2878
+
2879
+ # DescribeIntegrationRoles返回参数结构体
2880
+ class DescribeIntegrationRolesResponse < TencentCloud::Common::AbstractModel
2881
+ # @param Offset: 偏移量,默认为0,最大为2000
2882
+ # @type Offset: Integer
2883
+ # @param Limit: 返回最大数量,最大为200
2884
+ # @type Limit: Integer
2885
+ # @param TotalCount: 符合查询条件的总的角色数
2886
+ # @type TotalCount: Integer
2887
+ # @param IntegrateRoles: 企业角色信息列表
2888
+ # @type IntegrateRoles: Array
2889
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2890
+ # @type RequestId: String
2891
+
2892
+ attr_accessor :Offset, :Limit, :TotalCount, :IntegrateRoles, :RequestId
2893
+
2894
+ def initialize(offset=nil, limit=nil, totalcount=nil, integrateroles=nil, requestid=nil)
2895
+ @Offset = offset
2896
+ @Limit = limit
2897
+ @TotalCount = totalcount
2898
+ @IntegrateRoles = integrateroles
2899
+ @RequestId = requestid
2900
+ end
2901
+
2902
+ def deserialize(params)
2903
+ @Offset = params['Offset']
2904
+ @Limit = params['Limit']
2905
+ @TotalCount = params['TotalCount']
2906
+ unless params['IntegrateRoles'].nil?
2907
+ @IntegrateRoles = []
2908
+ params['IntegrateRoles'].each do |i|
2909
+ integraterole_tmp = IntegrateRole.new
2910
+ integraterole_tmp.deserialize(i)
2911
+ @IntegrateRoles << integraterole_tmp
2912
+ end
2913
+ end
2914
+ @RequestId = params['RequestId']
2915
+ end
2916
+ end
2917
+
2709
2918
  # DescribeOrganizationGroupOrganizations请求参数结构体
2710
2919
  class DescribeOrganizationGroupOrganizationsRequest < TencentCloud::Common::AbstractModel
2711
2920
  # @param Operator: 操作人信息,userId必填
@@ -3014,6 +3223,28 @@ module TencentCloud
3014
3223
  end
3015
3224
  end
3016
3225
 
3226
+ # 绑定角色失败信息
3227
+ class FailedCreateRoleData < TencentCloud::Common::AbstractModel
3228
+ # @param UserId: 用户userId
3229
+ # 注意:此字段可能返回 null,表示取不到有效值。
3230
+ # @type UserId: String
3231
+ # @param RoleIds: 角色id列表
3232
+ # 注意:此字段可能返回 null,表示取不到有效值。
3233
+ # @type RoleIds: Array
3234
+
3235
+ attr_accessor :UserId, :RoleIds
3236
+
3237
+ def initialize(userid=nil, roleids=nil)
3238
+ @UserId = userid
3239
+ @RoleIds = roleids
3240
+ end
3241
+
3242
+ def deserialize(params)
3243
+ @UserId = params['UserId']
3244
+ @RoleIds = params['RoleIds']
3245
+ end
3246
+ end
3247
+
3017
3248
  # 创建员工的失败数据
3018
3249
  class FailedCreateStaffData < TencentCloud::Common::AbstractModel
3019
3250
  # @param DisplayName: 员工名
@@ -3064,6 +3295,38 @@ module TencentCloud
3064
3295
  end
3065
3296
  end
3066
3297
 
3298
+ # 更新员工信息失败返回的数据信息
3299
+ class FailedUpdateStaffData < TencentCloud::Common::AbstractModel
3300
+ # @param DisplayName: 用户传入的名称
3301
+ # @type DisplayName: String
3302
+ # @param Mobile: 用户传入的手机号
3303
+ # @type Mobile: String
3304
+ # @param Reason: 失败原因
3305
+ # @type Reason: String
3306
+ # @param UserId: 用户Id
3307
+ # @type UserId: String
3308
+ # @param OpenId: 用户OpenId
3309
+ # @type OpenId: String
3310
+
3311
+ attr_accessor :DisplayName, :Mobile, :Reason, :UserId, :OpenId
3312
+
3313
+ def initialize(displayname=nil, mobile=nil, reason=nil, userid=nil, openid=nil)
3314
+ @DisplayName = displayname
3315
+ @Mobile = mobile
3316
+ @Reason = reason
3317
+ @UserId = userid
3318
+ @OpenId = openid
3319
+ end
3320
+
3321
+ def deserialize(params)
3322
+ @DisplayName = params['DisplayName']
3323
+ @Mobile = params['Mobile']
3324
+ @Reason = params['Reason']
3325
+ @UserId = params['UserId']
3326
+ @OpenId = params['OpenId']
3327
+ end
3328
+ end
3329
+
3067
3330
  # 二期接口返回的模板中文件的信息结构
3068
3331
  class FileInfo < TencentCloud::Common::AbstractModel
3069
3332
  # @param FileId: 文件Id
@@ -3482,7 +3745,7 @@ module TencentCloud
3482
3745
  # 电子文档的控件填充信息。按照控件类型进行相应的填充。
3483
3746
 
3484
3747
  # 【数据表格传参说明】
3485
- # 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
3748
+ # 当模板的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
3486
3749
  # 输入示例1:
3487
3750
 
3488
3751
  # ```
@@ -3775,6 +4038,43 @@ module TencentCloud
3775
4038
  end
3776
4039
  end
3777
4040
 
4041
+ # 企业角色数据信息
4042
+ class IntegrateRole < TencentCloud::Common::AbstractModel
4043
+ # @param RoleId: 角色id
4044
+ # 注意:此字段可能返回 null,表示取不到有效值。
4045
+ # @type RoleId: String
4046
+ # @param RoleName: 角色名
4047
+ # 注意:此字段可能返回 null,表示取不到有效值。
4048
+ # @type RoleName: String
4049
+ # @param RoleStatus: 角色类型:1-系统角色,2-自定义角色
4050
+ # 注意:此字段可能返回 null,表示取不到有效值。
4051
+ # @type RoleStatus: Integer
4052
+ # @param IsGroupRole: 是否是集团角色
4053
+ # 注意:此字段可能返回 null,表示取不到有效值。
4054
+ # @type IsGroupRole: Boolean
4055
+ # @param SubOrgIdList: 管辖的子企业列表
4056
+ # 注意:此字段可能返回 null,表示取不到有效值。
4057
+ # @type SubOrgIdList: Array
4058
+
4059
+ attr_accessor :RoleId, :RoleName, :RoleStatus, :IsGroupRole, :SubOrgIdList
4060
+
4061
+ def initialize(roleid=nil, rolename=nil, rolestatus=nil, isgrouprole=nil, suborgidlist=nil)
4062
+ @RoleId = roleid
4063
+ @RoleName = rolename
4064
+ @RoleStatus = rolestatus
4065
+ @IsGroupRole = isgrouprole
4066
+ @SubOrgIdList = suborgidlist
4067
+ end
4068
+
4069
+ def deserialize(params)
4070
+ @RoleId = params['RoleId']
4071
+ @RoleName = params['RoleName']
4072
+ @RoleStatus = params['RoleStatus']
4073
+ @IsGroupRole = params['IsGroupRole']
4074
+ @SubOrgIdList = params['SubOrgIdList']
4075
+ end
4076
+ end
4077
+
3778
4078
  # 主企业员工账号信息
3779
4079
  class IntegrationMainOrganizationUser < TencentCloud::Common::AbstractModel
3780
4080
  # @param MainOrganizationId: 主企业id
@@ -4416,6 +4716,30 @@ module TencentCloud
4416
4716
  end
4417
4717
  end
4418
4718
 
4719
+ # 更新员工信息成功返回的数据信息
4720
+ class SuccessUpdateStaffData < TencentCloud::Common::AbstractModel
4721
+ # @param DisplayName: 传入的用户名称
4722
+ # @type DisplayName: String
4723
+ # @param Mobile: 传入的手机号
4724
+ # @type Mobile: String
4725
+ # @param UserId: 用户Id
4726
+ # @type UserId: String
4727
+
4728
+ attr_accessor :DisplayName, :Mobile, :UserId
4729
+
4730
+ def initialize(displayname=nil, mobile=nil, userid=nil)
4731
+ @DisplayName = displayname
4732
+ @Mobile = mobile
4733
+ @UserId = userid
4734
+ end
4735
+
4736
+ def deserialize(params)
4737
+ @DisplayName = params['DisplayName']
4738
+ @Mobile = params['Mobile']
4739
+ @UserId = params['UserId']
4740
+ end
4741
+ end
4742
+
4419
4743
  # 二期接口返回的模板的信息结构
4420
4744
  class TemplateInfo < TencentCloud::Common::AbstractModel
4421
4745
  # @param TemplateId: 模板ID
@@ -4534,6 +4858,81 @@ module TencentCloud
4534
4858
  end
4535
4859
  end
4536
4860
 
4861
+ # UpdateIntegrationEmployees请求参数结构体
4862
+ class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
4863
+ # @param Operator: 操作人信息
4864
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
4865
+ # @param Agent: 代理信息
4866
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4867
+ # @param Employees: 员工信息
4868
+ # @type Employees: Array
4869
+
4870
+ attr_accessor :Operator, :Agent, :Employees
4871
+
4872
+ def initialize(operator=nil, agent=nil, employees=nil)
4873
+ @Operator = operator
4874
+ @Agent = agent
4875
+ @Employees = employees
4876
+ end
4877
+
4878
+ def deserialize(params)
4879
+ unless params['Operator'].nil?
4880
+ @Operator = UserInfo.new
4881
+ @Operator.deserialize(params['Operator'])
4882
+ end
4883
+ unless params['Agent'].nil?
4884
+ @Agent = Agent.new
4885
+ @Agent.deserialize(params['Agent'])
4886
+ end
4887
+ unless params['Employees'].nil?
4888
+ @Employees = []
4889
+ params['Employees'].each do |i|
4890
+ staff_tmp = Staff.new
4891
+ staff_tmp.deserialize(i)
4892
+ @Employees << staff_tmp
4893
+ end
4894
+ end
4895
+ end
4896
+ end
4897
+
4898
+ # UpdateIntegrationEmployees返回参数结构体
4899
+ class UpdateIntegrationEmployeesResponse < TencentCloud::Common::AbstractModel
4900
+ # @param SuccessEmployeeData: 更新成功的用户列表
4901
+ # @type SuccessEmployeeData: Array
4902
+ # @param FailedEmployeeData: 更新失败的用户列表
4903
+ # @type FailedEmployeeData: Array
4904
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4905
+ # @type RequestId: String
4906
+
4907
+ attr_accessor :SuccessEmployeeData, :FailedEmployeeData, :RequestId
4908
+
4909
+ def initialize(successemployeedata=nil, failedemployeedata=nil, requestid=nil)
4910
+ @SuccessEmployeeData = successemployeedata
4911
+ @FailedEmployeeData = failedemployeedata
4912
+ @RequestId = requestid
4913
+ end
4914
+
4915
+ def deserialize(params)
4916
+ unless params['SuccessEmployeeData'].nil?
4917
+ @SuccessEmployeeData = []
4918
+ params['SuccessEmployeeData'].each do |i|
4919
+ successupdatestaffdata_tmp = SuccessUpdateStaffData.new
4920
+ successupdatestaffdata_tmp.deserialize(i)
4921
+ @SuccessEmployeeData << successupdatestaffdata_tmp
4922
+ end
4923
+ end
4924
+ unless params['FailedEmployeeData'].nil?
4925
+ @FailedEmployeeData = []
4926
+ params['FailedEmployeeData'].each do |i|
4927
+ failedupdatestaffdata_tmp = FailedUpdateStaffData.new
4928
+ failedupdatestaffdata_tmp.deserialize(i)
4929
+ @FailedEmployeeData << failedupdatestaffdata_tmp
4930
+ end
4931
+ end
4932
+ @RequestId = params['RequestId']
4933
+ end
4934
+ end
4935
+
4537
4936
  # 此结构体 (UploadFile) 用于描述多文件上传的文件信息。
4538
4937
  class UploadFile < TencentCloud::Common::AbstractModel
4539
4938
  # @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.538
4
+ version: 3.0.539
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-27 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common