tencentcloud-sdk-ess 3.0.552 → 3.0.554

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: 06e905696f6dc3966379948a53f5bbf6d692eea1
4
- data.tar.gz: 6b88b2afc0ebb7da8346c6451584ddcf7831cb0d
3
+ metadata.gz: 72033f085acab6ae01708d843794928430dd1de2
4
+ data.tar.gz: d5bc1a30ad5946de18507d8cafb7443d44f9c0cb
5
5
  SHA512:
6
- metadata.gz: 9461eb67f4ec8a4f6c9a6a3e23c3649633eb6d6dbba6c5c2f7c09c29b99b454aa22772800285ac84b017aacaa26a6ec1a56fb4fd54086941c74f8a0e0ce7ff1f
7
- data.tar.gz: 556dfb314543833feda600887e6a1794aa01bac5f580eb316753e6922f5b43d83f471afbd2a89189bfbc27eb8232870b3dc5894d7df3c14eeef23e6a5795cb67
6
+ metadata.gz: d97a0419a80533e621839f4e8602fb4fd176abc1641770b89b1033f8e7f7f59e5629011f149451f862a0a939a315d7ea453d9f043d4c5f1fec418120c9cdef6c
7
+ data.tar.gz: f4ad2cc7599013e495338a742be7f54f3430a1779a73944685599b2a614c5f947983609638d011416537712df3d8a745804e9c03b953d126ac7490ebb6851748
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.552
1
+ 3.0.554
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 将电子签系统员工userId与客户系统员工openId进行绑定
33
+
34
+ # @param request: Request instance for BindEmployeeUserIdWithClientOpenId.
35
+ # @type request: :class:`Tencentcloud::ess::V20201111::BindEmployeeUserIdWithClientOpenIdRequest`
36
+ # @rtype: :class:`Tencentcloud::ess::V20201111::BindEmployeeUserIdWithClientOpenIdResponse`
37
+ def BindEmployeeUserIdWithClientOpenId(request)
38
+ body = send_request('BindEmployeeUserIdWithClientOpenId', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BindEmployeeUserIdWithClientOpenIdResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 用于撤销签署流程
33
57
  # 适用场景:如果某个合同流程当前至少还有一方没有签署,则可通过该接口取消该合同流程。常用于合同发错、内容填错,需要及时撤销的场景。
34
58
  # 注:如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同。
@@ -79,8 +103,9 @@ module TencentCloud
79
103
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
104
  end
81
105
 
82
- # 指定需要批量撤回的签署流程Id,获取批量撤销链接
83
- # 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
106
+ # 注:此接口建会废弃,请使用撤销单个签署流程(CancelFlow)接口。
107
+ # 指定需要批量撤回的签署流程Id,获取批量撤销链接。
108
+ # 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回。
84
109
 
85
110
  # @param request: Request instance for CreateBatchCancelFlowUrl.
86
111
  # @type request: :class:`Tencentcloud::ess::V20201111::CreateBatchCancelFlowUrlRequest`
@@ -1034,6 +1059,30 @@ module TencentCloud
1034
1059
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1035
1060
  end
1036
1061
 
1062
+ # 将存在绑定关系的电子签系统员工userId与客户系统员工openId进行解绑
1063
+
1064
+ # @param request: Request instance for UnbindEmployeeUserIdWithClientOpenId.
1065
+ # @type request: :class:`Tencentcloud::ess::V20201111::UnbindEmployeeUserIdWithClientOpenIdRequest`
1066
+ # @rtype: :class:`Tencentcloud::ess::V20201111::UnbindEmployeeUserIdWithClientOpenIdResponse`
1067
+ def UnbindEmployeeUserIdWithClientOpenId(request)
1068
+ body = send_request('UnbindEmployeeUserIdWithClientOpenId', request.serialize)
1069
+ response = JSON.parse(body)
1070
+ if response['Response'].key?('Error') == false
1071
+ model = UnbindEmployeeUserIdWithClientOpenIdResponse.new
1072
+ model.deserialize(response['Response'])
1073
+ model
1074
+ else
1075
+ code = response['Response']['Error']['Code']
1076
+ message = response['Response']['Error']['Message']
1077
+ reqid = response['Response']['RequestId']
1078
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1079
+ end
1080
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1081
+ raise e
1082
+ rescue StandardError => e
1083
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1084
+ end
1085
+
1037
1086
  # 更新员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
1038
1087
 
1039
1088
  # @param request: Request instance for UpdateIntegrationEmployees.
@@ -271,6 +271,53 @@ module TencentCloud
271
271
  end
272
272
  end
273
273
 
274
+ # BindEmployeeUserIdWithClientOpenId请求参数结构体
275
+ class BindEmployeeUserIdWithClientOpenIdRequest < TencentCloud::Common::AbstractModel
276
+ # @param Operator: 用户信息,OpenId与UserId二选一必填一个,OpenId是第三方客户ID,userId是用户实名后的电子签生成的ID,当传入客户系统openId,传入的openId需与电子签员工userId绑定,且参数Channel必填,Channel值为INTEGRATE;当传入参数UserId,Channel无需指定
277
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
278
+ # @param UserId: 电子签系统员工UserId
279
+ # @type UserId: String
280
+ # @param OpenId: 客户系统OpenId
281
+ # @type OpenId: String
282
+
283
+ attr_accessor :Operator, :UserId, :OpenId
284
+
285
+ def initialize(operator=nil, userid=nil, openid=nil)
286
+ @Operator = operator
287
+ @UserId = userid
288
+ @OpenId = openid
289
+ end
290
+
291
+ def deserialize(params)
292
+ unless params['Operator'].nil?
293
+ @Operator = UserInfo.new
294
+ @Operator.deserialize(params['Operator'])
295
+ end
296
+ @UserId = params['UserId']
297
+ @OpenId = params['OpenId']
298
+ end
299
+ end
300
+
301
+ # BindEmployeeUserIdWithClientOpenId返回参数结构体
302
+ class BindEmployeeUserIdWithClientOpenIdResponse < TencentCloud::Common::AbstractModel
303
+ # @param Status: 绑定是否成功,1表示成功,0表示失败
304
+ # @type Status: Integer
305
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
306
+ # @type RequestId: String
307
+
308
+ attr_accessor :Status, :RequestId
309
+
310
+ def initialize(status=nil, requestid=nil)
311
+ @Status = status
312
+ @RequestId = requestid
313
+ end
314
+
315
+ def deserialize(params)
316
+ @Status = params['Status']
317
+ @RequestId = params['RequestId']
318
+ end
319
+ end
320
+
274
321
  # 应用回调信息
275
322
  class CallbackInfo < TencentCloud::Common::AbstractModel
276
323
  # @param CallbackUrl: 回调url
@@ -791,7 +838,7 @@ module TencentCloud
791
838
  # @type FlowId: String
792
839
  # @param TemplateId: 用户上传的模板ID
793
840
  # @type TemplateId: String
794
- # @param FileNames: 文件名列表,单个文件名最大长度200个字符,暂时仅支持单文件发起
841
+ # @param FileNames: 文件名列表,单个文件名最大长度200个字符,暂时仅支持单文件发起。设置后流程对应的文件名称当前设置的值。
795
842
  # @type FileNames: Array
796
843
  # @param FormFields: 内容控件信息数组
797
844
  # @type FormFields: Array
@@ -2065,14 +2112,20 @@ module TencentCloud
2065
2112
  # @type AutoSignConfig: :class:`Tencentcloud::Ess.v20201111.models.AutoSignConfig`
2066
2113
  # @param UrlType: 链接类型,空-默认小程序端链接,H5SIGN-h5端链接
2067
2114
  # @type UrlType: String
2115
+ # @param NotifyType: 通知类型,默认不填为不通知开通方,填写 SMS 为短息通知。
2116
+ # @type NotifyType: String
2117
+ # @param NotifyAddress: 若上方填写为 SMS,则此处为手机号
2118
+ # @type NotifyAddress: String
2068
2119
 
2069
- attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType
2120
+ attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress
2070
2121
 
2071
- def initialize(operator=nil, scenekey=nil, autosignconfig=nil, urltype=nil)
2122
+ def initialize(operator=nil, scenekey=nil, autosignconfig=nil, urltype=nil, notifytype=nil, notifyaddress=nil)
2072
2123
  @Operator = operator
2073
2124
  @SceneKey = scenekey
2074
2125
  @AutoSignConfig = autosignconfig
2075
2126
  @UrlType = urltype
2127
+ @NotifyType = notifytype
2128
+ @NotifyAddress = notifyaddress
2076
2129
  end
2077
2130
 
2078
2131
  def deserialize(params)
@@ -2086,6 +2139,8 @@ module TencentCloud
2086
2139
  @AutoSignConfig.deserialize(params['AutoSignConfig'])
2087
2140
  end
2088
2141
  @UrlType = params['UrlType']
2142
+ @NotifyType = params['NotifyType']
2143
+ @NotifyAddress = params['NotifyAddress']
2089
2144
  end
2090
2145
  end
2091
2146
 
@@ -2135,7 +2190,7 @@ module TencentCloud
2135
2190
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2136
2191
  # @param Employees: 待移除员工的信息,userId和openId二选一,必填一个
2137
2192
  # @type Employees: Array
2138
- # @param Agent: 代理信息
2193
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId需填充子企业Id
2139
2194
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2140
2195
 
2141
2196
  attr_accessor :Operator, :Employees, :Agent
@@ -2626,8 +2681,6 @@ module TencentCloud
2626
2681
  class DescribeFlowTemplatesRequest < TencentCloud::Common::AbstractModel
2627
2682
  # @param Operator: 调用方用户信息,userId 必填
2628
2683
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2629
- # @param Organization: 企业组织相关信息,一般不用填
2630
- # @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
2631
2684
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2632
2685
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2633
2686
  # @param Offset: 查询偏移位置,默认0
@@ -2644,24 +2697,26 @@ module TencentCloud
2644
2697
  # @param IsChannel: 默认为false,查询SaaS模板库列表;
2645
2698
  # 为true,查询第三方应用集成平台企业模板库管理列表
2646
2699
  # @type IsChannel: Boolean
2647
- # @param GenerateSource: 暂未开放
2648
- # @type GenerateSource: Integer
2649
2700
  # @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
2650
2701
  # @type ContentType: Integer
2702
+ # @param Organization: 暂未开放
2703
+ # @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
2704
+ # @param GenerateSource: 暂未开放
2705
+ # @type GenerateSource: Integer
2651
2706
 
2652
- attr_accessor :Operator, :Organization, :Agent, :Offset, :Limit, :Filters, :ApplicationId, :IsChannel, :GenerateSource, :ContentType
2707
+ attr_accessor :Operator, :Agent, :Offset, :Limit, :Filters, :ApplicationId, :IsChannel, :ContentType, :Organization, :GenerateSource
2653
2708
 
2654
- def initialize(operator=nil, organization=nil, agent=nil, offset=nil, limit=nil, filters=nil, applicationid=nil, ischannel=nil, generatesource=nil, contenttype=nil)
2709
+ def initialize(operator=nil, agent=nil, offset=nil, limit=nil, filters=nil, applicationid=nil, ischannel=nil, contenttype=nil, organization=nil, generatesource=nil)
2655
2710
  @Operator = operator
2656
- @Organization = organization
2657
2711
  @Agent = agent
2658
2712
  @Offset = offset
2659
2713
  @Limit = limit
2660
2714
  @Filters = filters
2661
2715
  @ApplicationId = applicationid
2662
2716
  @IsChannel = ischannel
2663
- @GenerateSource = generatesource
2664
2717
  @ContentType = contenttype
2718
+ @Organization = organization
2719
+ @GenerateSource = generatesource
2665
2720
  end
2666
2721
 
2667
2722
  def deserialize(params)
@@ -2669,10 +2724,6 @@ module TencentCloud
2669
2724
  @Operator = UserInfo.new
2670
2725
  @Operator.deserialize(params['Operator'])
2671
2726
  end
2672
- unless params['Organization'].nil?
2673
- @Organization = OrganizationInfo.new
2674
- @Organization.deserialize(params['Organization'])
2675
- end
2676
2727
  unless params['Agent'].nil?
2677
2728
  @Agent = Agent.new
2678
2729
  @Agent.deserialize(params['Agent'])
@@ -2689,8 +2740,12 @@ module TencentCloud
2689
2740
  end
2690
2741
  @ApplicationId = params['ApplicationId']
2691
2742
  @IsChannel = params['IsChannel']
2692
- @GenerateSource = params['GenerateSource']
2693
2743
  @ContentType = params['ContentType']
2744
+ unless params['Organization'].nil?
2745
+ @Organization = OrganizationInfo.new
2746
+ @Organization.deserialize(params['Organization'])
2747
+ end
2748
+ @GenerateSource = params['GenerateSource']
2694
2749
  end
2695
2750
  end
2696
2751
 
@@ -2947,7 +3002,7 @@ module TencentCloud
2947
3002
  # @type Name: String
2948
3003
  # @param Status: 成员企业加入集团的当前状态:1-待授权;2-已授权待激活;3-拒绝授权;4-已解除;5-已加入
2949
3004
  # @type Status: Integer
2950
- # @param Export: 是否到处当前成员企业数据
3005
+ # @param Export: 是否导出当前成员企业数据
2951
3006
  # @type Export: Boolean
2952
3007
  # @param Id: 成员企业id
2953
3008
  # @type Id: String
@@ -4013,7 +4068,7 @@ module TencentCloud
4013
4068
  # @param UpdateTime: 更新时间
4014
4069
  # 注意:此字段可能返回 null,表示取不到有效值。
4015
4070
  # @type UpdateTime: Integer
4016
- # @param Status: 成员企业状态
4071
+ # @param Status: 成员企业加入集团的当前状态:1-待授权;2-已授权待激活;3-拒绝授权;4-已解除;5-已加入
4017
4072
  # 注意:此字段可能返回 null,表示取不到有效值。
4018
4073
  # @type Status: Integer
4019
4074
  # @param IsMainOrganization: 是否为集团主企业
@@ -4251,15 +4306,15 @@ module TencentCloud
4251
4306
 
4252
4307
  # 机构信息
4253
4308
  class OrganizationInfo < TencentCloud::Common::AbstractModel
4254
- # @param OrganizationId: 机构在平台的编号
4309
+ # @param OrganizationId: 机构在平台的编号,内部字段,暂未开放
4255
4310
  # @type OrganizationId: String
4256
- # @param Channel: 用户渠道
4311
+ # @param Channel: 用户渠道,内部字段,暂未开放
4257
4312
  # @type Channel: String
4258
- # @param OrganizationOpenId: 用户在渠道的机构编号
4313
+ # @param OrganizationOpenId: 用户在渠道的机构编号,内部字段,暂未开放
4259
4314
  # @type OrganizationOpenId: String
4260
- # @param ClientIp: 用户真实的IP
4315
+ # @param ClientIp: 用户真实的IP,内部字段,暂未开放
4261
4316
  # @type ClientIp: String
4262
- # @param ProxyIp: 机构的代理IP
4317
+ # @param ProxyIp: 机构的代理IP,内部字段,暂未开放
4263
4318
  # @type ProxyIp: String
4264
4319
 
4265
4320
  attr_accessor :OrganizationId, :Channel, :OrganizationOpenId, :ClientIp, :ProxyIp
@@ -4283,9 +4338,9 @@ module TencentCloud
4283
4338
 
4284
4339
  # 合同文件验签单个结果结构体
4285
4340
  class PdfVerifyResult < TencentCloud::Common::AbstractModel
4286
- # @param VerifyResult: 验签结果
4341
+ # @param VerifyResult: 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。
4287
4342
  # @type VerifyResult: Integer
4288
- # @param SignPlatform: 签署平台
4343
+ # @param SignPlatform: 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。
4289
4344
  # @type SignPlatform: String
4290
4345
  # @param SignerName: 签署人名称
4291
4346
  # @type SignerName: String
@@ -4349,7 +4404,7 @@ module TencentCloud
4349
4404
  class Recipient < TencentCloud::Common::AbstractModel
4350
4405
  # @param RecipientId: 签署参与者ID
4351
4406
  # @type RecipientId: String
4352
- # @param RecipientType: 参与者类型(ENTERPRISE/INDIVIDUAL
4407
+ # @param RecipientType: 参与者类型。默认为空。ENTERPRISE-企业;INDIVIDUAL-个人;PROMOTER-发起方
4353
4408
  # @type RecipientType: String
4354
4409
  # @param Description: 描述信息
4355
4410
  # @type Description: String
@@ -4369,7 +4424,7 @@ module TencentCloud
4369
4424
  # @type Mobile: String
4370
4425
  # @param UserId: 关联的用户ID
4371
4426
  # @type UserId: String
4372
- # @param DeliveryMethod: 发送方式(EMAIL/MOBILE
4427
+ # @param DeliveryMethod: 发送方式。默认为EMAIL。EMAIL-邮件;MOBILE-手机短信;WECHAT-微信通知
4373
4428
  # @type DeliveryMethod: String
4374
4429
  # @param RecipientExtra: 附属信息
4375
4430
  # @type RecipientExtra: String
@@ -4825,7 +4880,7 @@ module TencentCloud
4825
4880
  # @type CreatedOn: Integer
4826
4881
  # @param Promoter: 发起人角色信息
4827
4882
  # @type Promoter: :class:`Tencentcloud::Ess.v20201111.models.Recipient`
4828
- # @param Available: 模板可用状态,取值:0未知,但默认会被转成启用;1启用(默认),2停用
4883
+ # @param Available: 模板可用状态,取值:1启用(默认),2停用
4829
4884
  # @type Available: Integer
4830
4885
  # @param OrganizationId: 模板创建组织id
4831
4886
  # @type OrganizationId: String
@@ -4917,21 +4972,68 @@ module TencentCloud
4917
4972
  end
4918
4973
  end
4919
4974
 
4975
+ # UnbindEmployeeUserIdWithClientOpenId请求参数结构体
4976
+ class UnbindEmployeeUserIdWithClientOpenIdRequest < TencentCloud::Common::AbstractModel
4977
+ # @param Operator: 用户信息,OpenId与UserId二选一必填一个,OpenId是第三方客户ID,userId是用户实名后的电子签生成的ID,当传入客户系统openId,传入的openId需与电子签员工userId绑定,且参数Channel必填,Channel值为INTEGRATE;当传入参数UserId,Channel无需指定
4978
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
4979
+ # @param UserId: 电子签系统员工UserId
4980
+ # @type UserId: String
4981
+ # @param OpenId: 客户系统OpenId
4982
+ # @type OpenId: String
4983
+
4984
+ attr_accessor :Operator, :UserId, :OpenId
4985
+
4986
+ def initialize(operator=nil, userid=nil, openid=nil)
4987
+ @Operator = operator
4988
+ @UserId = userid
4989
+ @OpenId = openid
4990
+ end
4991
+
4992
+ def deserialize(params)
4993
+ unless params['Operator'].nil?
4994
+ @Operator = UserInfo.new
4995
+ @Operator.deserialize(params['Operator'])
4996
+ end
4997
+ @UserId = params['UserId']
4998
+ @OpenId = params['OpenId']
4999
+ end
5000
+ end
5001
+
5002
+ # UnbindEmployeeUserIdWithClientOpenId返回参数结构体
5003
+ class UnbindEmployeeUserIdWithClientOpenIdResponse < TencentCloud::Common::AbstractModel
5004
+ # @param Status: 解绑是否成功,1表示成功,0表示失败
5005
+ # @type Status: Integer
5006
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5007
+ # @type RequestId: String
5008
+
5009
+ attr_accessor :Status, :RequestId
5010
+
5011
+ def initialize(status=nil, requestid=nil)
5012
+ @Status = status
5013
+ @RequestId = requestid
5014
+ end
5015
+
5016
+ def deserialize(params)
5017
+ @Status = params['Status']
5018
+ @RequestId = params['RequestId']
5019
+ end
5020
+ end
5021
+
4920
5022
  # UpdateIntegrationEmployees请求参数结构体
4921
5023
  class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
4922
5024
  # @param Operator: 操作人信息
4923
5025
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
4924
- # @param Agent: 代理信息
4925
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4926
5026
  # @param Employees: 员工信息
4927
5027
  # @type Employees: Array
5028
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId需填充子企业Id
5029
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4928
5030
 
4929
- attr_accessor :Operator, :Agent, :Employees
5031
+ attr_accessor :Operator, :Employees, :Agent
4930
5032
 
4931
- def initialize(operator=nil, agent=nil, employees=nil)
5033
+ def initialize(operator=nil, employees=nil, agent=nil)
4932
5034
  @Operator = operator
4933
- @Agent = agent
4934
5035
  @Employees = employees
5036
+ @Agent = agent
4935
5037
  end
4936
5038
 
4937
5039
  def deserialize(params)
@@ -4939,10 +5041,6 @@ module TencentCloud
4939
5041
  @Operator = UserInfo.new
4940
5042
  @Operator.deserialize(params['Operator'])
4941
5043
  end
4942
- unless params['Agent'].nil?
4943
- @Agent = Agent.new
4944
- @Agent.deserialize(params['Agent'])
4945
- end
4946
5044
  unless params['Employees'].nil?
4947
5045
  @Employees = []
4948
5046
  params['Employees'].each do |i|
@@ -4951,6 +5049,10 @@ module TencentCloud
4951
5049
  @Employees << staff_tmp
4952
5050
  end
4953
5051
  end
5052
+ unless params['Agent'].nil?
5053
+ @Agent = Agent.new
5054
+ @Agent.deserialize(params['Agent'])
5055
+ end
4954
5056
  end
4955
5057
  end
4956
5058
 
@@ -5096,13 +5198,13 @@ module TencentCloud
5096
5198
  class UserInfo < TencentCloud::Common::AbstractModel
5097
5199
  # @param UserId: 用户在平台的编号
5098
5200
  # @type UserId: String
5099
- # @param Channel: 用户的来源渠道
5201
+ # @param Channel: 用户的来源渠道,一般不用传,特定场景根据接口说明传值
5100
5202
  # @type Channel: String
5101
- # @param OpenId: 用户在渠道的编号
5203
+ # @param OpenId: 用户在渠道的编号,一般不用传,特定场景根据接口说明传值
5102
5204
  # @type OpenId: String
5103
- # @param ClientIp: 用户真实IP
5205
+ # @param ClientIp: 用户真实IP,内部字段,暂未开放
5104
5206
  # @type ClientIp: String
5105
- # @param ProxyIp: 用户代理IP
5207
+ # @param ProxyIp: 用户代理IP,内部字段,暂未开放
5106
5208
  # @type ProxyIp: String
5107
5209
 
5108
5210
  attr_accessor :UserId, :Channel, :OpenId, :ClientIp, :ProxyIp
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.552
4
+ version: 3.0.554
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-04-17 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common