tencentcloud-sdk-ess 3.0.618 → 3.0.619

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: c577b856071ed67c02e8e07013042b4f19b92b88
4
- data.tar.gz: ce31b8a51cd05f3c2d1bcc516c3a2c6863458f7a
3
+ metadata.gz: 82e238b695896779785012b815dc249d6fe12801
4
+ data.tar.gz: 50ea071c75c53aaac2e7c1112c59d9770aa60630
5
5
  SHA512:
6
- metadata.gz: 64028533ea1d6b529561fdd565686b21f349c706eb3e66877511a258cefa2ce0bed7ed98c0cc5ecc5b0b8f204a6025f5464f8a1d49720f936432db749455fe5b
7
- data.tar.gz: 185bdc8f2896a596b5af102ad72de24631637dbf982b2fbad8e5ef5fd60ea77cdf6c6828d4fe22d7f52a617b853ec6201a754619dfc46e9c23a1e4aae01f898d
6
+ metadata.gz: 73bd6f490a30b022a81c29af5a49a93c8e88b31387e5a4fd031e8031123e1f7e2c2c7374261653ed83aecf6bacd1f7c14351e5112ad43b1a55067b9f3391bb28
7
+ data.tar.gz: 071239a0942cca359818057b3e94bcd5cc3053f45d1819eb008a94fabe8048e742870914adbf937e8011d3e078084d07075fd70c03e7aa5873959060ea3207c9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.618
1
+ 3.0.619
@@ -260,11 +260,12 @@ module TencentCloud
260
260
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
261
261
  end
262
262
 
263
- # 补充签署流程本企业签署人信息
264
- # 适用场景:在通过模板或者文件发起合同时,若未指定本企业签署人信息,则流程发起后,可以调用此接口补充签署人。
265
- # 同一签署人可以补充多个员工作为候选签署人,最终签署人取决于谁先领取合同完成签署。
266
-
267
- # 注:目前暂时只支持补充来源于企业微信的员工作为候选签署人
263
+ # ### 适用场景
264
+ # 在通过模板或者文件发起合同时,若未指定企业签署人信息,则流程发起后,可以调用此接口补充或签签署人。
265
+ # 同一签署人可以补充多个员工作为或签签署人,最终实际签署人取决于谁先领取合同完成签署。
266
+ # ### 限制条件
267
+ # - 本企业(发起方企业)支持通过企业微信UserId 或者 姓名+手机号补充
268
+ # - 他方企业仅支持通过姓名+手机号补充
268
269
 
269
270
  # @param request: Request instance for CreateFlowApprovers.
270
271
  # @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowApproversRequest`
@@ -292,13 +292,16 @@ module TencentCloud
292
292
  # @type UserId: String
293
293
  # @param OpenId: 客户系统OpenId
294
294
  # @type OpenId: String
295
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
296
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
295
297
 
296
- attr_accessor :Operator, :UserId, :OpenId
298
+ attr_accessor :Operator, :UserId, :OpenId, :Agent
297
299
 
298
- def initialize(operator=nil, userid=nil, openid=nil)
300
+ def initialize(operator=nil, userid=nil, openid=nil, agent=nil)
299
301
  @Operator = operator
300
302
  @UserId = userid
301
303
  @OpenId = openid
304
+ @Agent = agent
302
305
  end
303
306
 
304
307
  def deserialize(params)
@@ -308,6 +311,10 @@ module TencentCloud
308
311
  end
309
312
  @UserId = params['UserId']
310
313
  @OpenId = params['OpenId']
314
+ unless params['Agent'].nil?
315
+ @Agent = Agent.new
316
+ @Agent.deserialize(params['Agent'])
317
+ end
311
318
  end
312
319
  end
313
320
 
@@ -1084,14 +1091,18 @@ module TencentCloud
1084
1091
  # @type Approvers: Array
1085
1092
  # @param Initiator: 企微消息中的发起人
1086
1093
  # @type Initiator: String
1094
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作
1087
1095
 
1088
- attr_accessor :Operator, :FlowId, :Approvers, :Initiator
1096
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1089
1097
 
1090
- def initialize(operator=nil, flowid=nil, approvers=nil, initiator=nil)
1098
+ attr_accessor :Operator, :FlowId, :Approvers, :Initiator, :Agent
1099
+
1100
+ def initialize(operator=nil, flowid=nil, approvers=nil, initiator=nil, agent=nil)
1091
1101
  @Operator = operator
1092
1102
  @FlowId = flowid
1093
1103
  @Approvers = approvers
1094
1104
  @Initiator = initiator
1105
+ @Agent = agent
1095
1106
  end
1096
1107
 
1097
1108
  def deserialize(params)
@@ -1109,6 +1120,10 @@ module TencentCloud
1109
1120
  end
1110
1121
  end
1111
1122
  @Initiator = params['Initiator']
1123
+ unless params['Agent'].nil?
1124
+ @Agent = Agent.new
1125
+ @Agent.deserialize(params['Agent'])
1126
+ end
1112
1127
  end
1113
1128
  end
1114
1129
 
@@ -2711,10 +2726,12 @@ module TencentCloud
2711
2726
  # @type NotifyAddress: String
2712
2727
  # @param ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为30天。如果不传,默认有效期为7天。
2713
2728
  # @type ExpiredTime: Integer
2729
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2730
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2714
2731
 
2715
- attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime
2732
+ attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime, :Agent
2716
2733
 
2717
- def initialize(operator=nil, scenekey=nil, autosignconfig=nil, urltype=nil, notifytype=nil, notifyaddress=nil, expiredtime=nil)
2734
+ def initialize(operator=nil, scenekey=nil, autosignconfig=nil, urltype=nil, notifytype=nil, notifyaddress=nil, expiredtime=nil, agent=nil)
2718
2735
  @Operator = operator
2719
2736
  @SceneKey = scenekey
2720
2737
  @AutoSignConfig = autosignconfig
@@ -2722,6 +2739,7 @@ module TencentCloud
2722
2739
  @NotifyType = notifytype
2723
2740
  @NotifyAddress = notifyaddress
2724
2741
  @ExpiredTime = expiredtime
2742
+ @Agent = agent
2725
2743
  end
2726
2744
 
2727
2745
  def deserialize(params)
@@ -2738,6 +2756,10 @@ module TencentCloud
2738
2756
  @NotifyType = params['NotifyType']
2739
2757
  @NotifyAddress = params['NotifyAddress']
2740
2758
  @ExpiredTime = params['ExpiredTime']
2759
+ unless params['Agent'].nil?
2760
+ @Agent = Agent.new
2761
+ @Agent.deserialize(params['Agent'])
2762
+ end
2741
2763
  end
2742
2764
  end
2743
2765
 
@@ -4025,15 +4047,29 @@ module TencentCloud
4025
4047
  class DescribeThirdPartyAuthCodeRequest < TencentCloud::Common::AbstractModel
4026
4048
  # @param AuthCode: 电子签小程序跳转客户小程序时携带的授权查看码
4027
4049
  # @type AuthCode: String
4050
+ # @param Operator: 操作人信息
4051
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
4052
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4053
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4028
4054
 
4029
- attr_accessor :AuthCode
4055
+ attr_accessor :AuthCode, :Operator, :Agent
4030
4056
 
4031
- def initialize(authcode=nil)
4057
+ def initialize(authcode=nil, operator=nil, agent=nil)
4032
4058
  @AuthCode = authcode
4059
+ @Operator = operator
4060
+ @Agent = agent
4033
4061
  end
4034
4062
 
4035
4063
  def deserialize(params)
4036
4064
  @AuthCode = params['AuthCode']
4065
+ unless params['Operator'].nil?
4066
+ @Operator = UserInfo.new
4067
+ @Operator.deserialize(params['Operator'])
4068
+ end
4069
+ unless params['Agent'].nil?
4070
+ @Agent = Agent.new
4071
+ @Agent.deserialize(params['Agent'])
4072
+ end
4037
4073
  end
4038
4074
  end
4039
4075
 
@@ -4066,13 +4102,16 @@ module TencentCloud
4066
4102
  # @type SceneKey: String
4067
4103
  # @param UserInfo: 查询开启状态的用户信息
4068
4104
  # @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
4105
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4106
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4069
4107
 
4070
- attr_accessor :Operator, :SceneKey, :UserInfo
4108
+ attr_accessor :Operator, :SceneKey, :UserInfo, :Agent
4071
4109
 
4072
- def initialize(operator=nil, scenekey=nil, userinfo=nil)
4110
+ def initialize(operator=nil, scenekey=nil, userinfo=nil, agent=nil)
4073
4111
  @Operator = operator
4074
4112
  @SceneKey = scenekey
4075
4113
  @UserInfo = userinfo
4114
+ @Agent = agent
4076
4115
  end
4077
4116
 
4078
4117
  def deserialize(params)
@@ -4085,6 +4124,10 @@ module TencentCloud
4085
4124
  @UserInfo = UserThreeFactor.new
4086
4125
  @UserInfo.deserialize(params['UserInfo'])
4087
4126
  end
4127
+ unless params['Agent'].nil?
4128
+ @Agent = Agent.new
4129
+ @Agent.deserialize(params['Agent'])
4130
+ end
4088
4131
  end
4089
4132
  end
4090
4133
 
@@ -4125,13 +4168,16 @@ module TencentCloud
4125
4168
  # @type SceneKey: String
4126
4169
  # @param UserInfo: 关闭自动签的个人的三要素
4127
4170
  # @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
4171
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4172
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4128
4173
 
4129
- attr_accessor :Operator, :SceneKey, :UserInfo
4174
+ attr_accessor :Operator, :SceneKey, :UserInfo, :Agent
4130
4175
 
4131
- def initialize(operator=nil, scenekey=nil, userinfo=nil)
4176
+ def initialize(operator=nil, scenekey=nil, userinfo=nil, agent=nil)
4132
4177
  @Operator = operator
4133
4178
  @SceneKey = scenekey
4134
4179
  @UserInfo = userinfo
4180
+ @Agent = agent
4135
4181
  end
4136
4182
 
4137
4183
  def deserialize(params)
@@ -4144,6 +4190,10 @@ module TencentCloud
4144
4190
  @UserInfo = UserThreeFactor.new
4145
4191
  @UserInfo.deserialize(params['UserInfo'])
4146
4192
  end
4193
+ unless params['Agent'].nil?
4194
+ @Agent = Agent.new
4195
+ @Agent.deserialize(params['Agent'])
4196
+ end
4147
4197
  end
4148
4198
  end
4149
4199
 
@@ -4373,6 +4423,9 @@ module TencentCloud
4373
4423
  end
4374
4424
 
4375
4425
  # 补充签署人信息
4426
+ # - RecipientId 必须指定
4427
+ # - 通过企业自定义账号ID补充签署人时,ApproverSource 和 CustomUserId 必填
4428
+ # - 通过二要素(姓名/手机号)补充签署人时,ApproverName 和 ApproverMobile 必填
4376
4429
  class FillApproverInfo < TencentCloud::Common::AbstractModel
4377
4430
  # @param RecipientId: 对应模板中的参与方ID
4378
4431
  # @type RecipientId: String
@@ -4382,19 +4435,27 @@ module TencentCloud
4382
4435
  # @param CustomUserId: 企业自定义账号ID
4383
4436
  # WEWORKAPP场景下指企业自有应用获取企微明文的userid
4384
4437
  # @type CustomUserId: String
4438
+ # @param ApproverName: 补充签署人姓名
4439
+ # @type ApproverName: String
4440
+ # @param ApproverMobile: 补充签署人手机号
4441
+ # @type ApproverMobile: String
4385
4442
 
4386
- attr_accessor :RecipientId, :ApproverSource, :CustomUserId
4443
+ attr_accessor :RecipientId, :ApproverSource, :CustomUserId, :ApproverName, :ApproverMobile
4387
4444
 
4388
- def initialize(recipientid=nil, approversource=nil, customuserid=nil)
4445
+ def initialize(recipientid=nil, approversource=nil, customuserid=nil, approvername=nil, approvermobile=nil)
4389
4446
  @RecipientId = recipientid
4390
4447
  @ApproverSource = approversource
4391
4448
  @CustomUserId = customuserid
4449
+ @ApproverName = approvername
4450
+ @ApproverMobile = approvermobile
4392
4451
  end
4393
4452
 
4394
4453
  def deserialize(params)
4395
4454
  @RecipientId = params['RecipientId']
4396
4455
  @ApproverSource = params['ApproverSource']
4397
4456
  @CustomUserId = params['CustomUserId']
4457
+ @ApproverName = params['ApproverName']
4458
+ @ApproverMobile = params['ApproverMobile']
4398
4459
  end
4399
4460
  end
4400
4461
 
@@ -6381,13 +6442,16 @@ module TencentCloud
6381
6442
  # @type UserId: String
6382
6443
  # @param OpenId: 客户系统OpenId
6383
6444
  # @type OpenId: String
6445
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
6446
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
6384
6447
 
6385
- attr_accessor :Operator, :UserId, :OpenId
6448
+ attr_accessor :Operator, :UserId, :OpenId, :Agent
6386
6449
 
6387
- def initialize(operator=nil, userid=nil, openid=nil)
6450
+ def initialize(operator=nil, userid=nil, openid=nil, agent=nil)
6388
6451
  @Operator = operator
6389
6452
  @UserId = userid
6390
6453
  @OpenId = openid
6454
+ @Agent = agent
6391
6455
  end
6392
6456
 
6393
6457
  def deserialize(params)
@@ -6397,6 +6461,10 @@ module TencentCloud
6397
6461
  end
6398
6462
  @UserId = params['UserId']
6399
6463
  @OpenId = params['OpenId']
6464
+ unless params['Agent'].nil?
6465
+ @Agent = Agent.new
6466
+ @Agent.deserialize(params['Agent'])
6467
+ end
6400
6468
  end
6401
6469
  end
6402
6470
 
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.618
4
+ version: 3.0.619
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-07-21 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common