tencentcloud-sdk-ess 3.0.537 → 3.0.538

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: addacf4c46926041870b81400abf684d124284f9
4
- data.tar.gz: 93418ed56dd9918e2c686b47ec2699e3d4949a77
3
+ metadata.gz: f22b4e4d884c6d35e485521482b98e7ad8069ccd
4
+ data.tar.gz: d281b19a9691f25a82c6882b679fc8dd955d9110
5
5
  SHA512:
6
- metadata.gz: 89fa13e0c2f0fee75b68d86359dac867a022153305d993b5950e6be6578575620b05a85d96dab43f6be134faac02363570881091da48cd88ee74244794282324
7
- data.tar.gz: 27da116f2d01072cf801e74fcf081dffed22cf8cea2d215400c002818eac94455b40b6ee862f8a17fe43ad608e24ab6892dbd49b5ab1877c3099578f85bbfcda
6
+ metadata.gz: 6080ad1ae228fe5ea7de1ab2b4435d19fe8896e8506fa3394d4e2ef0ee39ab5ed555692ddadec8c22aeaa8211f760cffeb6197f9d4ccd94127ee1723b5a176c9
7
+ data.tar.gz: 47b4b80da8c4613f75fec8f6e27e3929150ea51b5cf2f658e7dc7efd547aafb6ca6c199ae58d023f43c8bb0a9e12b999b0d9470edf9eae3fbd5233319953c367
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.537
1
+ 3.0.538
@@ -337,7 +337,7 @@ module TencentCloud
337
337
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
338
338
  end
339
339
 
340
- # 创建员工
340
+ # 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
341
341
 
342
342
  # @param request: Request instance for CreateIntegrationEmployees.
343
343
  # @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationEmployeesRequest`
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 本接口(CreatePreparedPersonalEsign)由于创建导入个人印章。
417
+
418
+ # @param request: Request instance for CreatePreparedPersonalEsign.
419
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreatePreparedPersonalEsignRequest`
420
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreatePreparedPersonalEsignResponse`
421
+ def CreatePreparedPersonalEsign(request)
422
+ body = send_request('CreatePreparedPersonalEsign', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = CreatePreparedPersonalEsignResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 发起解除协议,主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。
417
441
 
418
442
  # @param request: Request instance for CreateReleaseFlow.
@@ -435,7 +435,7 @@ module TencentCloud
435
435
  # CHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;
436
436
  # FILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;
437
437
  # DYNAMIC_TABLE - 动态表格控件;
438
- # ATTACHMENT - 附件控件,ComponentValue 填写福建图片的资源 ID列表,以逗号分割;
438
+ # ATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分割;
439
439
  # SELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;
440
440
  # DATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;
441
441
  # DISTRICT - 省市区行政区划控件,ComponentValue填写省市区行政区划字符串内容;
@@ -1418,12 +1418,15 @@ module TencentCloud
1418
1418
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1419
1419
  # @param Employees: 待创建员工的信息,Mobile和DisplayName必填
1420
1420
  # @type Employees: Array
1421
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1422
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1421
1423
 
1422
- attr_accessor :Operator, :Employees
1424
+ attr_accessor :Operator, :Employees, :Agent
1423
1425
 
1424
- def initialize(operator=nil, employees=nil)
1426
+ def initialize(operator=nil, employees=nil, agent=nil)
1425
1427
  @Operator = operator
1426
1428
  @Employees = employees
1429
+ @Agent = agent
1427
1430
  end
1428
1431
 
1429
1432
  def deserialize(params)
@@ -1439,6 +1442,10 @@ module TencentCloud
1439
1442
  @Employees << staff_tmp
1440
1443
  end
1441
1444
  end
1445
+ unless params['Agent'].nil?
1446
+ @Agent = Agent.new
1447
+ @Agent.deserialize(params['Agent'])
1448
+ end
1442
1449
  end
1443
1450
  end
1444
1451
 
@@ -1645,6 +1652,78 @@ module TencentCloud
1645
1652
  end
1646
1653
  end
1647
1654
 
1655
+ # CreatePreparedPersonalEsign请求参数结构体
1656
+ class CreatePreparedPersonalEsignRequest < TencentCloud::Common::AbstractModel
1657
+ # @param UserName: 个人用户名称
1658
+ # @type UserName: String
1659
+ # @param IdCardNumber: 身份证件号码
1660
+ # @type IdCardNumber: String
1661
+ # @param SealImage: 印章图片的base64
1662
+ # @type SealImage: String
1663
+ # @param SealName: 印章名称
1664
+ # @type SealName: String
1665
+ # @param Operator: 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId代发合同。
1666
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1667
+ # @param IdCardType: 身份证件类型:
1668
+ # ID_CARD 身份证
1669
+ # PASSPORT 护照
1670
+ # HONGKONG_AND_MACAO 香港身份
1671
+ # FOREIGN_ID_CARD 国外身份
1672
+ # HONGKONG_MACAO_AND_TAIWAN 港台身份
1673
+ # @type IdCardType: String
1674
+ # @param Mobile: 手机号码
1675
+ # @type Mobile: String
1676
+ # @param EnableAutoSign: 是否需开通自动签
1677
+ # @type EnableAutoSign: Boolean
1678
+
1679
+ attr_accessor :UserName, :IdCardNumber, :SealImage, :SealName, :Operator, :IdCardType, :Mobile, :EnableAutoSign
1680
+
1681
+ def initialize(username=nil, idcardnumber=nil, sealimage=nil, sealname=nil, operator=nil, idcardtype=nil, mobile=nil, enableautosign=nil)
1682
+ @UserName = username
1683
+ @IdCardNumber = idcardnumber
1684
+ @SealImage = sealimage
1685
+ @SealName = sealname
1686
+ @Operator = operator
1687
+ @IdCardType = idcardtype
1688
+ @Mobile = mobile
1689
+ @EnableAutoSign = enableautosign
1690
+ end
1691
+
1692
+ def deserialize(params)
1693
+ @UserName = params['UserName']
1694
+ @IdCardNumber = params['IdCardNumber']
1695
+ @SealImage = params['SealImage']
1696
+ @SealName = params['SealName']
1697
+ unless params['Operator'].nil?
1698
+ @Operator = UserInfo.new
1699
+ @Operator.deserialize(params['Operator'])
1700
+ end
1701
+ @IdCardType = params['IdCardType']
1702
+ @Mobile = params['Mobile']
1703
+ @EnableAutoSign = params['EnableAutoSign']
1704
+ end
1705
+ end
1706
+
1707
+ # CreatePreparedPersonalEsign返回参数结构体
1708
+ class CreatePreparedPersonalEsignResponse < TencentCloud::Common::AbstractModel
1709
+ # @param SealId: 导入生成的印章ID
1710
+ # @type SealId: String
1711
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1712
+ # @type RequestId: String
1713
+
1714
+ attr_accessor :SealId, :RequestId
1715
+
1716
+ def initialize(sealid=nil, requestid=nil)
1717
+ @SealId = sealid
1718
+ @RequestId = requestid
1719
+ end
1720
+
1721
+ def deserialize(params)
1722
+ @SealId = params['SealId']
1723
+ @RequestId = params['RequestId']
1724
+ end
1725
+ end
1726
+
1648
1727
  # CreateReleaseFlow请求参数结构体
1649
1728
  class CreateReleaseFlowRequest < TencentCloud::Common::AbstractModel
1650
1729
  # @param Operator: 调用方用户信息,userId 必填
@@ -1975,12 +2054,15 @@ module TencentCloud
1975
2054
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1976
2055
  # @param Employees: 待移除员工的信息,userId和openId二选一,必填一个
1977
2056
  # @type Employees: Array
2057
+ # @param Agent: 代理信息
2058
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1978
2059
 
1979
- attr_accessor :Operator, :Employees
2060
+ attr_accessor :Operator, :Employees, :Agent
1980
2061
 
1981
- def initialize(operator=nil, employees=nil)
2062
+ def initialize(operator=nil, employees=nil, agent=nil)
1982
2063
  @Operator = operator
1983
2064
  @Employees = employees
2065
+ @Agent = agent
1984
2066
  end
1985
2067
 
1986
2068
  def deserialize(params)
@@ -1996,6 +2078,10 @@ module TencentCloud
1996
2078
  @Employees << staff_tmp
1997
2079
  end
1998
2080
  end
2081
+ unless params['Agent'].nil?
2082
+ @Agent = Agent.new
2083
+ @Agent.deserialize(params['Agent'])
2084
+ end
1999
2085
  end
2000
2086
  end
2001
2087
 
@@ -4128,7 +4214,7 @@ module TencentCloud
4128
4214
  # @param Email: 用户邮箱
4129
4215
  # 注意:此字段可能返回 null,表示取不到有效值。
4130
4216
  # @type Email: String
4131
- # @param OpenId: 用户在第三方平台id
4217
+ # @param OpenId: 用户在第三方平台id,如需在此接口提醒员工实名,该参数不传
4132
4218
  # 注意:此字段可能返回 null,表示取不到有效值。
4133
4219
  # @type OpenId: String
4134
4220
  # @param Roles: 员工角色
@@ -4147,10 +4233,14 @@ module TencentCloud
4147
4233
  # @param QuiteJob: 员工是否离职:0-未离职,1-离职
4148
4234
  # 注意:此字段可能返回 null,表示取不到有效值。
4149
4235
  # @type QuiteJob: Integer
4236
+ # @param ReceiveUserId: 员工离职交接人用户id
4237
+ # @type ReceiveUserId: String
4238
+ # @param ReceiveOpenId: 员工离职交接人用户OpenId
4239
+ # @type ReceiveOpenId: String
4150
4240
 
4151
- attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob
4241
+ attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob, :ReceiveUserId, :ReceiveOpenId
4152
4242
 
4153
- def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil, quitejob=nil)
4243
+ 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)
4154
4244
  @UserId = userid
4155
4245
  @DisplayName = displayname
4156
4246
  @Mobile = mobile
@@ -4162,6 +4252,8 @@ module TencentCloud
4162
4252
  @CreatedOn = createdon
4163
4253
  @VerifiedOn = verifiedon
4164
4254
  @QuiteJob = quitejob
4255
+ @ReceiveUserId = receiveuserid
4256
+ @ReceiveOpenId = receiveopenid
4165
4257
  end
4166
4258
 
4167
4259
  def deserialize(params)
@@ -4186,6 +4278,8 @@ module TencentCloud
4186
4278
  @CreatedOn = params['CreatedOn']
4187
4279
  @VerifiedOn = params['VerifiedOn']
4188
4280
  @QuiteJob = params['QuiteJob']
4281
+ @ReceiveUserId = params['ReceiveUserId']
4282
+ @ReceiveOpenId = params['ReceiveOpenId']
4189
4283
  end
4190
4284
  end
4191
4285
 
@@ -4277,19 +4371,24 @@ module TencentCloud
4277
4371
  # @type Mobile: String
4278
4372
  # @param UserId: 员工在电子签平台的id
4279
4373
  # @type UserId: String
4374
+ # @param Note: 提示,当创建已存在未实名用户时,改字段有值
4375
+ # 注意:此字段可能返回 null,表示取不到有效值。
4376
+ # @type Note: String
4280
4377
 
4281
- attr_accessor :DisplayName, :Mobile, :UserId
4378
+ attr_accessor :DisplayName, :Mobile, :UserId, :Note
4282
4379
 
4283
- def initialize(displayname=nil, mobile=nil, userid=nil)
4380
+ def initialize(displayname=nil, mobile=nil, userid=nil, note=nil)
4284
4381
  @DisplayName = displayname
4285
4382
  @Mobile = mobile
4286
4383
  @UserId = userid
4384
+ @Note = note
4287
4385
  end
4288
4386
 
4289
4387
  def deserialize(params)
4290
4388
  @DisplayName = params['DisplayName']
4291
4389
  @Mobile = params['Mobile']
4292
4390
  @UserId = params['UserId']
4391
+ @Note = params['Note']
4293
4392
  end
4294
4393
  end
4295
4394
 
@@ -4596,7 +4695,7 @@ module TencentCloud
4596
4695
 
4597
4696
  # VerifyPdf请求参数结构体
4598
4697
  class VerifyPdfRequest < TencentCloud::Common::AbstractModel
4599
- # @param FlowId: 合同Id,流程Id
4698
+ # @param FlowId: 流程ID
4600
4699
  # @type FlowId: String
4601
4700
  # @param Operator: 调用方用户信息,userId 必填
4602
4701
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
@@ -4621,8 +4720,7 @@ module TencentCloud
4621
4720
  class VerifyPdfResponse < TencentCloud::Common::AbstractModel
4622
4721
  # @param VerifyResult: 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
4623
4722
  # @type VerifyResult: Integer
4624
- # @param PdfVerifyResults: 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
4625
- # ;5-文件签名格式错误
4723
+ # @param PdfVerifyResults: 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域;5-文件签名格式错误
4626
4724
  # @type PdfVerifyResults: Array
4627
4725
  # @param VerifySerialNo: 验签序列号
4628
4726
  # @type VerifySerialNo: String
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.537
4
+ version: 3.0.538
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-03-24 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common