tencentcloud-sdk-ess 3.0.618 → 3.0.620

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: c577b856071ed67c02e8e07013042b4f19b92b88
4
- data.tar.gz: ce31b8a51cd05f3c2d1bcc516c3a2c6863458f7a
3
+ metadata.gz: 4490b6e9dc61f8205d48a093416e3188a2cc6174
4
+ data.tar.gz: 34037376450943b85986f17b6794b220cff48198
5
5
  SHA512:
6
- metadata.gz: 64028533ea1d6b529561fdd565686b21f349c706eb3e66877511a258cefa2ce0bed7ed98c0cc5ecc5b0b8f204a6025f5464f8a1d49720f936432db749455fe5b
7
- data.tar.gz: 185bdc8f2896a596b5af102ad72de24631637dbf982b2fbad8e5ef5fd60ea77cdf6c6828d4fe22d7f52a617b853ec6201a754619dfc46e9c23a1e4aae01f898d
6
+ metadata.gz: 28a472578aa91b0291e021f513cc7124a04265948bd5f0f555ce29b8188f23a730789294548a6a66c07f1eb96fdb9e8623594a43067fe9474c6189c62ba259b4
7
+ data.tar.gz: 7693a1d5a0d186bd93c014d0a8e539345449f62835fcd5da105dfe0c6b3d410a0b5037daccde983647272c2f78d1fc902e0d68c891dd715507b60cec480023b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.618
1
+ 3.0.620
@@ -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`
@@ -116,12 +116,12 @@ module TencentCloud
116
116
  # @param ApproverVerifyTypes: 签署人查看合同时认证方式,
117
117
  # 1-实名查看 2-短信验证码查看(企业签署方不支持该方式)
118
118
  # 如果不传默认为1
119
- # 模板发起的时候,认证方式以模版配置为主
119
+ # 模板发起的时候,认证方式以模板配置为主
120
120
  # @type ApproverVerifyTypes: Array
121
121
  # @param ApproverSignTypes: 签署人签署合同时的认证方式
122
122
  # 1-人脸认证 2-签署密码 3-运营商三要素(默认为1,2)
123
123
  # 合同签署认证方式的优先级 verifyChannel>approverSignTypes
124
- # 模板发起的时候,认证方式以模版配置为主
124
+ # 模板发起的时候,认证方式以模板配置为主
125
125
  # @type ApproverSignTypes: Array
126
126
  # @param ApproverNeedSignReview: 当前签署方进行签署操作是否需要企业内部审批,true 则为需要。为个人签署方时则由发起方企业审核。
127
127
  # @type ApproverNeedSignReview: Boolean
@@ -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: 代理相关应用信息,如集团主企业代子企业操作
1095
+
1096
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1087
1097
 
1088
- attr_accessor :Operator, :FlowId, :Approvers, :Initiator
1098
+ attr_accessor :Operator, :FlowId, :Approvers, :Initiator, :Agent
1089
1099
 
1090
- def initialize(operator=nil, flowid=nil, approvers=nil, initiator=nil)
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
 
@@ -5409,13 +5470,16 @@ module TencentCloud
5409
5470
  # @type OperateType: Integer
5410
5471
  # @param CallbackInfo: 回调信息
5411
5472
  # @type CallbackInfo: :class:`Tencentcloud::Ess.v20201111.models.CallbackInfo`
5473
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
5474
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
5412
5475
 
5413
- attr_accessor :Operator, :OperateType, :CallbackInfo
5476
+ attr_accessor :Operator, :OperateType, :CallbackInfo, :Agent
5414
5477
 
5415
- def initialize(operator=nil, operatetype=nil, callbackinfo=nil)
5478
+ def initialize(operator=nil, operatetype=nil, callbackinfo=nil, agent=nil)
5416
5479
  @Operator = operator
5417
5480
  @OperateType = operatetype
5418
5481
  @CallbackInfo = callbackinfo
5482
+ @Agent = agent
5419
5483
  end
5420
5484
 
5421
5485
  def deserialize(params)
@@ -5428,6 +5492,10 @@ module TencentCloud
5428
5492
  @CallbackInfo = CallbackInfo.new
5429
5493
  @CallbackInfo.deserialize(params['CallbackInfo'])
5430
5494
  end
5495
+ unless params['Agent'].nil?
5496
+ @Agent = Agent.new
5497
+ @Agent.deserialize(params['Agent'])
5498
+ end
5431
5499
  end
5432
5500
  end
5433
5501
 
@@ -6381,13 +6449,16 @@ module TencentCloud
6381
6449
  # @type UserId: String
6382
6450
  # @param OpenId: 客户系统OpenId
6383
6451
  # @type OpenId: String
6452
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
6453
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
6384
6454
 
6385
- attr_accessor :Operator, :UserId, :OpenId
6455
+ attr_accessor :Operator, :UserId, :OpenId, :Agent
6386
6456
 
6387
- def initialize(operator=nil, userid=nil, openid=nil)
6457
+ def initialize(operator=nil, userid=nil, openid=nil, agent=nil)
6388
6458
  @Operator = operator
6389
6459
  @UserId = userid
6390
6460
  @OpenId = openid
6461
+ @Agent = agent
6391
6462
  end
6392
6463
 
6393
6464
  def deserialize(params)
@@ -6397,6 +6468,10 @@ module TencentCloud
6397
6468
  end
6398
6469
  @UserId = params['UserId']
6399
6470
  @OpenId = params['OpenId']
6471
+ unless params['Agent'].nil?
6472
+ @Agent = Agent.new
6473
+ @Agent.deserialize(params['Agent'])
6474
+ end
6400
6475
  end
6401
6476
  end
6402
6477
 
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.620
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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common