tencentcloud-sdk-ess 3.0.617 → 3.0.619

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: 78fa9ad69a9f59601e0d0dd4ce63df3f49e93b70
4
- data.tar.gz: dbc264698026d9fdb3a4c179d155051d9fec60e9
3
+ metadata.gz: 82e238b695896779785012b815dc249d6fe12801
4
+ data.tar.gz: 50ea071c75c53aaac2e7c1112c59d9770aa60630
5
5
  SHA512:
6
- metadata.gz: 9891af72f9bb8efcaa3ff5371599e91e8d5ae7b0ae996be959e6a9f2389840dca605cd70d14e7bde6f36d183673b897fb39aa8e33717514aff5f3bf658ebec80
7
- data.tar.gz: 01c4f500dbd7d05c26907ddbe0906ab96e1987f88e1a929cffde3eef000883d67fc196be25c9c05c713fd6d651687f8a9b57817d93da9fd57901db1513be0417
6
+ metadata.gz: 73bd6f490a30b022a81c29af5a49a93c8e88b31387e5a4fd031e8031123e1f7e2c2c7374261653ed83aecf6bacd1f7c14351e5112ad43b1a55067b9f3391bb28
7
+ data.tar.gz: 071239a0942cca359818057b3e94bcd5cc3053f45d1819eb008a94fabe8048e742870914adbf937e8011d3e078084d07075fd70c03e7aa5873959060ea3207c9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.617
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: 代理相关应用信息,如集团主企业代子企业操作
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
 
@@ -2418,10 +2433,17 @@ module TencentCloud
2418
2433
  # @type AutoJumpBack: Boolean
2419
2434
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2420
2435
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2436
+ # @param Hides: 生成的签署链接在签署过程隐藏的按钮列表, 可以设置隐藏的按钮列表如下
2437
+
2438
+ # 0:合同签署页面更多操作按钮
2439
+ # 1:合同签署页面更多操作的拒绝签署按钮
2440
+ # 2:合同签署页面更多操作的转他人处理按钮
2441
+ # 3:签署成功页的查看详情按钮
2442
+ # @type Hides: Array
2421
2443
 
2422
- attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :EndPoint, :FlowId, :FlowGroupId, :PathType, :AutoJumpBack, :Agent
2444
+ attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :EndPoint, :FlowId, :FlowGroupId, :PathType, :AutoJumpBack, :Agent, :Hides
2423
2445
 
2424
- def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, endpoint=nil, flowid=nil, flowgroupid=nil, pathtype=nil, autojumpback=nil, agent=nil)
2446
+ def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, endpoint=nil, flowid=nil, flowgroupid=nil, pathtype=nil, autojumpback=nil, agent=nil, hides=nil)
2425
2447
  @Operator = operator
2426
2448
  @OrganizationName = organizationname
2427
2449
  @Name = name
@@ -2432,6 +2454,7 @@ module TencentCloud
2432
2454
  @PathType = pathtype
2433
2455
  @AutoJumpBack = autojumpback
2434
2456
  @Agent = agent
2457
+ @Hides = hides
2435
2458
  end
2436
2459
 
2437
2460
  def deserialize(params)
@@ -2451,6 +2474,7 @@ module TencentCloud
2451
2474
  @Agent = Agent.new
2452
2475
  @Agent.deserialize(params['Agent'])
2453
2476
  end
2477
+ @Hides = params['Hides']
2454
2478
  end
2455
2479
  end
2456
2480
 
@@ -2702,10 +2726,12 @@ module TencentCloud
2702
2726
  # @type NotifyAddress: String
2703
2727
  # @param ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为30天。如果不传,默认有效期为7天。
2704
2728
  # @type ExpiredTime: Integer
2729
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2730
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2705
2731
 
2706
- attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime
2732
+ attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime, :Agent
2707
2733
 
2708
- 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)
2709
2735
  @Operator = operator
2710
2736
  @SceneKey = scenekey
2711
2737
  @AutoSignConfig = autosignconfig
@@ -2713,6 +2739,7 @@ module TencentCloud
2713
2739
  @NotifyType = notifytype
2714
2740
  @NotifyAddress = notifyaddress
2715
2741
  @ExpiredTime = expiredtime
2742
+ @Agent = agent
2716
2743
  end
2717
2744
 
2718
2745
  def deserialize(params)
@@ -2729,6 +2756,10 @@ module TencentCloud
2729
2756
  @NotifyType = params['NotifyType']
2730
2757
  @NotifyAddress = params['NotifyAddress']
2731
2758
  @ExpiredTime = params['ExpiredTime']
2759
+ unless params['Agent'].nil?
2760
+ @Agent = Agent.new
2761
+ @Agent.deserialize(params['Agent'])
2762
+ end
2732
2763
  end
2733
2764
  end
2734
2765
 
@@ -4016,15 +4047,29 @@ module TencentCloud
4016
4047
  class DescribeThirdPartyAuthCodeRequest < TencentCloud::Common::AbstractModel
4017
4048
  # @param AuthCode: 电子签小程序跳转客户小程序时携带的授权查看码
4018
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`
4019
4054
 
4020
- attr_accessor :AuthCode
4055
+ attr_accessor :AuthCode, :Operator, :Agent
4021
4056
 
4022
- def initialize(authcode=nil)
4057
+ def initialize(authcode=nil, operator=nil, agent=nil)
4023
4058
  @AuthCode = authcode
4059
+ @Operator = operator
4060
+ @Agent = agent
4024
4061
  end
4025
4062
 
4026
4063
  def deserialize(params)
4027
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
4028
4073
  end
4029
4074
  end
4030
4075
 
@@ -4057,13 +4102,16 @@ module TencentCloud
4057
4102
  # @type SceneKey: String
4058
4103
  # @param UserInfo: 查询开启状态的用户信息
4059
4104
  # @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
4105
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4106
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4060
4107
 
4061
- attr_accessor :Operator, :SceneKey, :UserInfo
4108
+ attr_accessor :Operator, :SceneKey, :UserInfo, :Agent
4062
4109
 
4063
- def initialize(operator=nil, scenekey=nil, userinfo=nil)
4110
+ def initialize(operator=nil, scenekey=nil, userinfo=nil, agent=nil)
4064
4111
  @Operator = operator
4065
4112
  @SceneKey = scenekey
4066
4113
  @UserInfo = userinfo
4114
+ @Agent = agent
4067
4115
  end
4068
4116
 
4069
4117
  def deserialize(params)
@@ -4076,6 +4124,10 @@ module TencentCloud
4076
4124
  @UserInfo = UserThreeFactor.new
4077
4125
  @UserInfo.deserialize(params['UserInfo'])
4078
4126
  end
4127
+ unless params['Agent'].nil?
4128
+ @Agent = Agent.new
4129
+ @Agent.deserialize(params['Agent'])
4130
+ end
4079
4131
  end
4080
4132
  end
4081
4133
 
@@ -4116,13 +4168,16 @@ module TencentCloud
4116
4168
  # @type SceneKey: String
4117
4169
  # @param UserInfo: 关闭自动签的个人的三要素
4118
4170
  # @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
4171
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4172
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4119
4173
 
4120
- attr_accessor :Operator, :SceneKey, :UserInfo
4174
+ attr_accessor :Operator, :SceneKey, :UserInfo, :Agent
4121
4175
 
4122
- def initialize(operator=nil, scenekey=nil, userinfo=nil)
4176
+ def initialize(operator=nil, scenekey=nil, userinfo=nil, agent=nil)
4123
4177
  @Operator = operator
4124
4178
  @SceneKey = scenekey
4125
4179
  @UserInfo = userinfo
4180
+ @Agent = agent
4126
4181
  end
4127
4182
 
4128
4183
  def deserialize(params)
@@ -4135,6 +4190,10 @@ module TencentCloud
4135
4190
  @UserInfo = UserThreeFactor.new
4136
4191
  @UserInfo.deserialize(params['UserInfo'])
4137
4192
  end
4193
+ unless params['Agent'].nil?
4194
+ @Agent = Agent.new
4195
+ @Agent.deserialize(params['Agent'])
4196
+ end
4138
4197
  end
4139
4198
  end
4140
4199
 
@@ -4364,6 +4423,9 @@ module TencentCloud
4364
4423
  end
4365
4424
 
4366
4425
  # 补充签署人信息
4426
+ # - RecipientId 必须指定
4427
+ # - 通过企业自定义账号ID补充签署人时,ApproverSource 和 CustomUserId 必填
4428
+ # - 通过二要素(姓名/手机号)补充签署人时,ApproverName 和 ApproverMobile 必填
4367
4429
  class FillApproverInfo < TencentCloud::Common::AbstractModel
4368
4430
  # @param RecipientId: 对应模板中的参与方ID
4369
4431
  # @type RecipientId: String
@@ -4373,19 +4435,27 @@ module TencentCloud
4373
4435
  # @param CustomUserId: 企业自定义账号ID
4374
4436
  # WEWORKAPP场景下指企业自有应用获取企微明文的userid
4375
4437
  # @type CustomUserId: String
4438
+ # @param ApproverName: 补充签署人姓名
4439
+ # @type ApproverName: String
4440
+ # @param ApproverMobile: 补充签署人手机号
4441
+ # @type ApproverMobile: String
4376
4442
 
4377
- attr_accessor :RecipientId, :ApproverSource, :CustomUserId
4443
+ attr_accessor :RecipientId, :ApproverSource, :CustomUserId, :ApproverName, :ApproverMobile
4378
4444
 
4379
- def initialize(recipientid=nil, approversource=nil, customuserid=nil)
4445
+ def initialize(recipientid=nil, approversource=nil, customuserid=nil, approvername=nil, approvermobile=nil)
4380
4446
  @RecipientId = recipientid
4381
4447
  @ApproverSource = approversource
4382
4448
  @CustomUserId = customuserid
4449
+ @ApproverName = approvername
4450
+ @ApproverMobile = approvermobile
4383
4451
  end
4384
4452
 
4385
4453
  def deserialize(params)
4386
4454
  @RecipientId = params['RecipientId']
4387
4455
  @ApproverSource = params['ApproverSource']
4388
4456
  @CustomUserId = params['CustomUserId']
4457
+ @ApproverName = params['ApproverName']
4458
+ @ApproverMobile = params['ApproverMobile']
4389
4459
  end
4390
4460
  end
4391
4461
 
@@ -4674,7 +4744,7 @@ module TencentCloud
4674
4744
  # @type Required: Boolean
4675
4745
  # @param ApproverSource: 签署人用户来源,企微侧用户请传入:WEWORKAPP
4676
4746
  # @type ApproverSource: String
4677
- # @param CustomApproverTag: 客户自定义签署人标识,64位长度,保证唯一。非企微场景不使用此字段
4747
+ # @param CustomApproverTag: 客户自定义签署人标识,64位长度,保证唯一。用于发起含有或签签署人的合同。或签参与人必须有此字段。不同或签参与人CustomApproverTag需要保证唯一。如果或签签署人为本方企微参与人,ApproverSource参数需要指定WEWORKAPP
4678
4748
  # @type CustomApproverTag: String
4679
4749
  # @param RegisterInfo: 快速注册相关信息,目前暂未开放!
4680
4750
  # @type RegisterInfo: :class:`Tencentcloud::Ess.v20201111.models.RegisterInfo`
@@ -5774,17 +5844,24 @@ module TencentCloud
5774
5844
  # @type LegalName: String
5775
5845
  # @param Uscc: 社会统一信用代码
5776
5846
  # @type Uscc: String
5847
+ # @param UnifiedSocialCreditCode: 社会统一信用代码
5848
+ # @type UnifiedSocialCreditCode: String
5777
5849
 
5778
- attr_accessor :LegalName, :Uscc
5850
+ attr_accessor :LegalName, :Uscc, :UnifiedSocialCreditCode
5851
+ extend Gem::Deprecate
5852
+ deprecate :Uscc, :none, 2023, 7
5853
+ deprecate :Uscc=, :none, 2023, 7
5779
5854
 
5780
- def initialize(legalname=nil, uscc=nil)
5855
+ def initialize(legalname=nil, uscc=nil, unifiedsocialcreditcode=nil)
5781
5856
  @LegalName = legalname
5782
5857
  @Uscc = uscc
5858
+ @UnifiedSocialCreditCode = unifiedsocialcreditcode
5783
5859
  end
5784
5860
 
5785
5861
  def deserialize(params)
5786
5862
  @LegalName = params['LegalName']
5787
5863
  @Uscc = params['Uscc']
5864
+ @UnifiedSocialCreditCode = params['UnifiedSocialCreditCode']
5788
5865
  end
5789
5866
  end
5790
5867
 
@@ -6365,13 +6442,16 @@ module TencentCloud
6365
6442
  # @type UserId: String
6366
6443
  # @param OpenId: 客户系统OpenId
6367
6444
  # @type OpenId: String
6445
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
6446
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
6368
6447
 
6369
- attr_accessor :Operator, :UserId, :OpenId
6448
+ attr_accessor :Operator, :UserId, :OpenId, :Agent
6370
6449
 
6371
- def initialize(operator=nil, userid=nil, openid=nil)
6450
+ def initialize(operator=nil, userid=nil, openid=nil, agent=nil)
6372
6451
  @Operator = operator
6373
6452
  @UserId = userid
6374
6453
  @OpenId = openid
6454
+ @Agent = agent
6375
6455
  end
6376
6456
 
6377
6457
  def deserialize(params)
@@ -6381,6 +6461,10 @@ module TencentCloud
6381
6461
  end
6382
6462
  @UserId = params['UserId']
6383
6463
  @OpenId = params['OpenId']
6464
+ unless params['Agent'].nil?
6465
+ @Agent = Agent.new
6466
+ @Agent.deserialize(params['Agent'])
6467
+ end
6384
6468
  end
6385
6469
  end
6386
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.617
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-20 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