tencentcloud-sdk-ess 3.0.605 → 3.0.606

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201111/models.rb +44 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e532c1e37be071160d5fb4baa6d3055b85548520
4
- data.tar.gz: 7d6eaa0c97acb063d479348c0107a5b2b07a6d80
3
+ metadata.gz: 6ad25f30047edc82912c4bc963ab447570bff477
4
+ data.tar.gz: 80f4202949ac97f701a9edfe83466b31d5eabd5f
5
5
  SHA512:
6
- metadata.gz: c7732c375b623c7dab263b2caa2f722bd50d0e017a6ea3d7a207d70ef53b6455b354c315439ad59303d2deb3aba1289f779d8456a65739642cc90e740b103881
7
- data.tar.gz: 817d47af1e0b0a46765f044f591e9616d1147a6c6b92617082b30df5824e26489a60475d0efa3b0b3fe43eef9bc267ebab808137d30deb101f6c6e5ad53102e2
6
+ metadata.gz: a7cce415da342180b690f9575d76cd8a181447758922b9c2e6424843d5b1cf6cb6bb2f9695ec13ebfcf1a61ec1c260004f488331df78634960f6a98449bcf1f1
7
+ data.tar.gz: 52483a0d6c10b017077d74081571633f6841b725e0a40de0198bae146a5a72014338b1ea2cdf0cf71f0ea10e88ced1a06085bcb5aa002f8b9b97d41e0be89d64
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.605
1
+ 3.0.606
@@ -1559,15 +1559,25 @@ module TencentCloud
1559
1559
  # @type ReviewMessage: String
1560
1560
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1561
1561
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1562
+ # @param RecipientId: 审核签署节点使用 非必填 如果填写则审核该签署节点。给个人审核时必填。
1563
+ # @type RecipientId: String
1564
+ # @param OperateType: 操作类型:
1565
+ # 操作类型,默认:SignReview;SignReview:签署审核
1566
+ # 注:接口通过该字段区分操作类型
1567
+ # 该字段不传或者为空,则默认为SignReview签署审核,走签署审核流程
1568
+ # 若发起个人审核,则指定该字段为:SignReview(注意,给个人审核时,需联系客户经理开白使用)
1569
+ # @type OperateType: String
1562
1570
 
1563
- attr_accessor :Operator, :FlowId, :ReviewType, :ReviewMessage, :Agent
1571
+ attr_accessor :Operator, :FlowId, :ReviewType, :ReviewMessage, :Agent, :RecipientId, :OperateType
1564
1572
 
1565
- def initialize(operator=nil, flowid=nil, reviewtype=nil, reviewmessage=nil, agent=nil)
1573
+ def initialize(operator=nil, flowid=nil, reviewtype=nil, reviewmessage=nil, agent=nil, recipientid=nil, operatetype=nil)
1566
1574
  @Operator = operator
1567
1575
  @FlowId = flowid
1568
1576
  @ReviewType = reviewtype
1569
1577
  @ReviewMessage = reviewmessage
1570
1578
  @Agent = agent
1579
+ @RecipientId = recipientid
1580
+ @OperateType = operatetype
1571
1581
  end
1572
1582
 
1573
1583
  def deserialize(params)
@@ -1582,6 +1592,8 @@ module TencentCloud
1582
1592
  @Agent = Agent.new
1583
1593
  @Agent.deserialize(params['Agent'])
1584
1594
  end
1595
+ @RecipientId = params['RecipientId']
1596
+ @OperateType = params['OperateType']
1585
1597
  end
1586
1598
  end
1587
1599
 
@@ -1743,7 +1755,8 @@ module TencentCloud
1743
1755
  # @param Operator: 操作人信息,userId必填
1744
1756
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1745
1757
  # @param Employees: 待创建员工的信息,不超过20个。
1746
- # Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其他字段暂不支持。
1758
+ # 所有类型的企业支持的入参:Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其他字段暂不支持。
1759
+ # 企微类型的企业特有支持的入参:WeworkOpenId,传入此字段无需在传入其他信息
1747
1760
  # @type Employees: Array
1748
1761
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1749
1762
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
@@ -4040,20 +4053,24 @@ module TencentCloud
4040
4053
  # @type DisplayName: String
4041
4054
  # @param Mobile: 员工手机号
4042
4055
  # @type Mobile: String
4056
+ # @param WeworkOpenId: 传入的企微账号id
4057
+ # @type WeworkOpenId: String
4043
4058
  # @param Reason: 失败原因
4044
4059
  # @type Reason: String
4045
4060
 
4046
- attr_accessor :DisplayName, :Mobile, :Reason
4061
+ attr_accessor :DisplayName, :Mobile, :WeworkOpenId, :Reason
4047
4062
 
4048
- def initialize(displayname=nil, mobile=nil, reason=nil)
4063
+ def initialize(displayname=nil, mobile=nil, weworkopenid=nil, reason=nil)
4049
4064
  @DisplayName = displayname
4050
4065
  @Mobile = mobile
4066
+ @WeworkOpenId = weworkopenid
4051
4067
  @Reason = reason
4052
4068
  end
4053
4069
 
4054
4070
  def deserialize(params)
4055
4071
  @DisplayName = params['DisplayName']
4056
4072
  @Mobile = params['Mobile']
4073
+ @WeworkOpenId = params['WeworkOpenId']
4057
4074
  @Reason = params['Reason']
4058
4075
  end
4059
4076
  end
@@ -5614,6 +5631,7 @@ module TencentCloud
5614
5631
  # 企业员工信息
5615
5632
  class Staff < TencentCloud::Common::AbstractModel
5616
5633
  # @param UserId: 用户在电子签平台的id
5634
+ # 注:创建和更新场景无需填写
5617
5635
  # @type UserId: String
5618
5636
  # @param DisplayName: 显示的用户名/昵称
5619
5637
  # @type DisplayName: String
@@ -5626,29 +5644,40 @@ module TencentCloud
5626
5644
  # 注意:此字段可能返回 null,表示取不到有效值。
5627
5645
  # @type OpenId: String
5628
5646
  # @param Roles: 员工角色
5647
+ # 注:创建和更新场景无需填写
5629
5648
  # 注意:此字段可能返回 null,表示取不到有效值。
5630
5649
  # @type Roles: Array
5631
5650
  # @param Department: 员工部门
5632
5651
  # 注意:此字段可能返回 null,表示取不到有效值。
5633
5652
  # @type Department: :class:`Tencentcloud::Ess.v20201111.models.Department`
5634
5653
  # @param Verified: 员工是否实名
5654
+ # 注:创建和更新场景无需填写
5635
5655
  # @type Verified: Boolean
5636
5656
  # @param CreatedOn: 员工创建时间戳,单位秒
5657
+ # 注:创建和更新场景无需填写
5637
5658
  # @type CreatedOn: Integer
5638
5659
  # @param VerifiedOn: 员工实名时间戳,单位秒
5660
+ # 注:创建和更新场景无需填写
5639
5661
  # 注意:此字段可能返回 null,表示取不到有效值。
5640
5662
  # @type VerifiedOn: Integer
5641
5663
  # @param QuiteJob: 员工是否离职:0-未离职,1-离职
5664
+ # 注:创建和更新场景无需填写
5642
5665
  # 注意:此字段可能返回 null,表示取不到有效值。
5643
5666
  # @type QuiteJob: Integer
5644
5667
  # @param ReceiveUserId: 员工离职交接人用户id
5668
+ # 注:创建和更新场景无需填写
5645
5669
  # @type ReceiveUserId: String
5646
5670
  # @param ReceiveOpenId: 员工离职交接人用户OpenId
5671
+ # 注:创建和更新场景无需填写
5647
5672
  # @type ReceiveOpenId: String
5673
+ # @param WeworkOpenId: 企业微信用户账号ID
5674
+ # 注:仅企微类型的企业创建员工接口支持该字段
5675
+ # 注意:此字段可能返回 null,表示取不到有效值。
5676
+ # @type WeworkOpenId: String
5648
5677
 
5649
- attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob, :ReceiveUserId, :ReceiveOpenId
5678
+ attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob, :ReceiveUserId, :ReceiveOpenId, :WeworkOpenId
5650
5679
 
5651
- def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil, quitejob=nil, receiveuserid=nil, receiveopenid=nil)
5680
+ def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil, quitejob=nil, receiveuserid=nil, receiveopenid=nil, weworkopenid=nil)
5652
5681
  @UserId = userid
5653
5682
  @DisplayName = displayname
5654
5683
  @Mobile = mobile
@@ -5662,6 +5691,7 @@ module TencentCloud
5662
5691
  @QuiteJob = quitejob
5663
5692
  @ReceiveUserId = receiveuserid
5664
5693
  @ReceiveOpenId = receiveopenid
5694
+ @WeworkOpenId = weworkopenid
5665
5695
  end
5666
5696
 
5667
5697
  def deserialize(params)
@@ -5688,6 +5718,7 @@ module TencentCloud
5688
5718
  @QuiteJob = params['QuiteJob']
5689
5719
  @ReceiveUserId = params['ReceiveUserId']
5690
5720
  @ReceiveOpenId = params['ReceiveOpenId']
5721
+ @WeworkOpenId = params['WeworkOpenId']
5691
5722
  end
5692
5723
  end
5693
5724
 
@@ -5782,14 +5813,17 @@ module TencentCloud
5782
5813
  # @param Note: 提示,当创建已存在未实名用户时,该字段有值
5783
5814
  # 注意:此字段可能返回 null,表示取不到有效值。
5784
5815
  # @type Note: String
5816
+ # @param WeworkOpenId: 传入的企微账号id
5817
+ # @type WeworkOpenId: String
5785
5818
 
5786
- attr_accessor :DisplayName, :Mobile, :UserId, :Note
5819
+ attr_accessor :DisplayName, :Mobile, :UserId, :Note, :WeworkOpenId
5787
5820
 
5788
- def initialize(displayname=nil, mobile=nil, userid=nil, note=nil)
5821
+ def initialize(displayname=nil, mobile=nil, userid=nil, note=nil, weworkopenid=nil)
5789
5822
  @DisplayName = displayname
5790
5823
  @Mobile = mobile
5791
5824
  @UserId = userid
5792
5825
  @Note = note
5826
+ @WeworkOpenId = weworkopenid
5793
5827
  end
5794
5828
 
5795
5829
  def deserialize(params)
@@ -5797,6 +5831,7 @@ module TencentCloud
5797
5831
  @Mobile = params['Mobile']
5798
5832
  @UserId = params['UserId']
5799
5833
  @Note = params['Note']
5834
+ @WeworkOpenId = params['WeworkOpenId']
5800
5835
  end
5801
5836
  end
5802
5837
 
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.605
4
+ version: 3.0.606
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-04 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common