tencentcloud-sdk-ess 3.0.591 → 3.0.593

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: 202124184975fde1852ac5785f04638e5b7a42d1
4
- data.tar.gz: d8e116252b94390adcb061ab781d79c809079364
3
+ metadata.gz: 93dc3169ee0051e046bd841527c0ea71bc5f1c15
4
+ data.tar.gz: 05eca71eb44703cc376e92c7b67cb99a242204ce
5
5
  SHA512:
6
- metadata.gz: 22fab3aadb194fd63668ee9c3e7ce6b923440d95bba53240db8c9b7d007d4a54ae3e107ae1209e6cde02d2073dbfee578cd7b518b704e517b4261a46f2284aba
7
- data.tar.gz: 8712a52b5061b70014798402ceaf02f3c32954ad57378910f9ab76c944500264f8775ae4460ab56ec5f1ab6283daa0e9849a75dd8929101fec7231815a106ded
6
+ metadata.gz: f0299b1f9a31feef2c5ec0490be7dc178e0157c6fac50b989444b4ed321a8be011006e7dd255a807777cd33ff64652969388cb9861a26fc8109d6f3b1ca4179b
7
+ data.tar.gz: 086663c1c3516eacaf3294ca77fa5bf765038fcd2457ae841f2d357ae05fd56754f3e08f565f10bdcaeef02a27ee5ba42ccbe236f13af1fd0db75b63809e4067
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.591
1
+ 3.0.593
@@ -441,7 +441,7 @@ module TencentCloud
441
441
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
442
442
  end
443
443
 
444
- # 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
444
+ # 创建员工,此接口会发送提醒员工实名的短信
445
445
 
446
446
  # @param request: Request instance for CreateIntegrationEmployees.
447
447
  # @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationEmployeesRequest`
@@ -773,6 +773,30 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
775
 
776
+ # 查询企业扩展服务授权信息,目前支持查询:企业静默签,企业与港澳台居民签署合同,使用手机号验证签署方身份,骑缝章,批量签署能力是否已经开通
777
+
778
+ # @param request: Request instance for DescribeExtendedServiceAuthInfos.
779
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeExtendedServiceAuthInfosRequest`
780
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeExtendedServiceAuthInfosResponse`
781
+ def DescribeExtendedServiceAuthInfos(request)
782
+ body = send_request('DescribeExtendedServiceAuthInfos', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeExtendedServiceAuthInfosResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
776
800
  # 查询文件下载URL。
777
801
  # 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
778
802
 
@@ -1240,7 +1264,7 @@ module TencentCloud
1240
1264
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1241
1265
  end
1242
1266
 
1243
- # 更新员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
1267
+ # 更新员工信息(姓名,手机号,邮件、部门),用户实名后无法更改姓名与手机号
1244
1268
 
1245
1269
  # @param request: Request instance for UpdateIntegrationEmployees.
1246
1270
  # @type request: :class:`Tencentcloud::ess::V20201111::UpdateIntegrationEmployeesRequest`
@@ -620,11 +620,10 @@ module TencentCloud
620
620
  # {“ComponentTypeLimit”: [“xxx”]}
621
621
  # xxx可以为:
622
622
  # HANDWRITE – 手写签名
623
- # BORDERLESS_ESIGN – 自动生成无边框腾讯体
624
623
  # OCR_ESIGN -- AI智能识别手写签名
625
624
  # ESIGN -- 个人印章类型
626
625
  # SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
627
- # 如:{“ComponentTypeLimit”: [“BORDERLESS_ESIGN”]}
626
+ # 如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
628
627
 
629
628
  # ComponentType为SIGN_DATE时,支持以下参数:
630
629
  # 1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
@@ -637,6 +636,7 @@ module TencentCloud
637
636
  # 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}",
638
637
  # @type ComponentExtra: String
639
638
  # @param IsFormType: 是否是表单域类型,默认不false-不是
639
+ # 注意:此字段可能返回 null,表示取不到有效值。
640
640
  # @type IsFormType: Boolean
641
641
  # @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
642
642
  # TEXT - 文本内容
@@ -724,8 +724,10 @@ module TencentCloud
724
724
  # @param ChannelComponentId: 第三方应用集成平台模板控件 id 标识
725
725
  # @type ChannelComponentId: String
726
726
  # @param OffsetX: 指定关键字时横坐标偏移量,单位pt
727
+ # 注意:此字段可能返回 null,表示取不到有效值。
727
728
  # @type OffsetX: Float
728
729
  # @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
730
+ # 注意:此字段可能返回 null,表示取不到有效值。
729
731
  # @type OffsetY: Float
730
732
  # @param ChannelComponentSource: 第三方应用集成中子客企业控件来源。0-平台指定;1-用户自定义
731
733
  # @type ChannelComponentSource: Integer
@@ -1699,7 +1701,8 @@ module TencentCloud
1699
1701
  class CreateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
1700
1702
  # @param Operator: 操作人信息,userId必填
1701
1703
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1702
- # @param Employees: 待创建员工的信息,Mobile和DisplayName必填
1704
+ # @param Employees: 待创建员工的信息,不超过20个。
1705
+ # Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其他字段暂不支持。
1703
1706
  # @type Employees: Array
1704
1707
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1705
1708
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
@@ -2046,6 +2049,9 @@ module TencentCloud
2046
2049
  # @type FileId: String
2047
2050
 
2048
2051
  attr_accessor :UserName, :IdCardNumber, :SealName, :Operator, :IdCardType, :SealImage, :SealImageCompress, :Mobile, :EnableAutoSign, :SealColor, :ProcessSeal, :FileId
2052
+ extend Gem::Deprecate
2053
+ deprecate :SealImage, :none, 2023, 6
2054
+ deprecate :SealImage=, :none, 2023, 6
2049
2055
 
2050
2056
  def initialize(username=nil, idcardnumber=nil, sealname=nil, operator=nil, idcardtype=nil, sealimage=nil, sealimagecompress=nil, mobile=nil, enableautosign=nil, sealcolor=nil, processseal=nil, fileid=nil)
2051
2057
  @UserName = username
@@ -2711,6 +2717,68 @@ module TencentCloud
2711
2717
  end
2712
2718
  end
2713
2719
 
2720
+ # DescribeExtendedServiceAuthInfos请求参数结构体
2721
+ class DescribeExtendedServiceAuthInfosRequest < TencentCloud::Common::AbstractModel
2722
+ # @param Operator: 操作人信息
2723
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2724
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作
2725
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2726
+ # @param ExtendServiceType: 扩展服务类型,默认为空,查询目前支持的所有扩展服务信息,单个指定则查询单个扩展服务开通信息,取值:
2727
+ # OPEN_SERVER_SIGN:开通企业静默签署
2728
+ # OVERSEA_SIGN:企业与港澳台居民签署合同
2729
+ # MOBILE_CHECK_APPROVER:使用手机号验证签署方身份
2730
+ # PAGING_SEAL:骑缝章
2731
+ # BATCH_SIGN:批量签署
2732
+ # @type ExtendServiceType: String
2733
+
2734
+ attr_accessor :Operator, :Agent, :ExtendServiceType
2735
+
2736
+ def initialize(operator=nil, agent=nil, extendservicetype=nil)
2737
+ @Operator = operator
2738
+ @Agent = agent
2739
+ @ExtendServiceType = extendservicetype
2740
+ end
2741
+
2742
+ def deserialize(params)
2743
+ unless params['Operator'].nil?
2744
+ @Operator = UserInfo.new
2745
+ @Operator.deserialize(params['Operator'])
2746
+ end
2747
+ unless params['Agent'].nil?
2748
+ @Agent = Agent.new
2749
+ @Agent.deserialize(params['Agent'])
2750
+ end
2751
+ @ExtendServiceType = params['ExtendServiceType']
2752
+ end
2753
+ end
2754
+
2755
+ # DescribeExtendedServiceAuthInfos返回参数结构体
2756
+ class DescribeExtendedServiceAuthInfosResponse < TencentCloud::Common::AbstractModel
2757
+ # @param AuthInfoList: 授权服务信息列表
2758
+ # @type AuthInfoList: Array
2759
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2760
+ # @type RequestId: String
2761
+
2762
+ attr_accessor :AuthInfoList, :RequestId
2763
+
2764
+ def initialize(authinfolist=nil, requestid=nil)
2765
+ @AuthInfoList = authinfolist
2766
+ @RequestId = requestid
2767
+ end
2768
+
2769
+ def deserialize(params)
2770
+ unless params['AuthInfoList'].nil?
2771
+ @AuthInfoList = []
2772
+ params['AuthInfoList'].each do |i|
2773
+ extendauthinfo_tmp = ExtendAuthInfo.new
2774
+ extendauthinfo_tmp.deserialize(i)
2775
+ @AuthInfoList << extendauthinfo_tmp
2776
+ end
2777
+ end
2778
+ @RequestId = params['RequestId']
2779
+ end
2780
+ end
2781
+
2714
2782
  # DescribeFileUrls请求参数结构体
2715
2783
  class DescribeFileUrlsRequest < TencentCloud::Common::AbstractModel
2716
2784
  # @param Operator: 调用方用户信息,UserId 必填
@@ -2995,9 +3063,7 @@ module TencentCloud
2995
3063
  # @type Offset: Integer
2996
3064
  # @param Limit: 查询个数,默认20,最大200
2997
3065
  # @type Limit: Integer
2998
- # @param ApplicationId: 这个参数跟下面的IsChannel参数配合使用。
2999
- # IsChannel=false时,ApplicationId参数不起任何作用。
3000
- # IsChannel=true时,ApplicationId为空,查询所有第三方应用集成平台企业模板列表;ApplicationId不为空,查询指定应用下的模板列表
3066
+ # @param ApplicationId: ApplicationId不为空,查询指定应用下的模板列表
3001
3067
  # ApplicationId为空,查询所有应用下的模板列表
3002
3068
  # @type ApplicationId: String
3003
3069
  # @param IsChannel: 默认为false,查询SaaS模板库列表;
@@ -3010,6 +3076,8 @@ module TencentCloud
3010
3076
 
3011
3077
  attr_accessor :Operator, :Agent, :ContentType, :Filters, :Offset, :Limit, :ApplicationId, :IsChannel, :Organization, :GenerateSource
3012
3078
  extend Gem::Deprecate
3079
+ deprecate :IsChannel, :none, 2023, 6
3080
+ deprecate :IsChannel=, :none, 2023, 6
3013
3081
  deprecate :Organization, :none, 2023, 6
3014
3082
  deprecate :Organization=, :none, 2023, 6
3015
3083
  deprecate :GenerateSource, :none, 2023, 6
@@ -3279,7 +3347,7 @@ module TencentCloud
3279
3347
 
3280
3348
  # DescribeIntegrationRoles请求参数结构体
3281
3349
  class DescribeIntegrationRolesRequest < TencentCloud::Common::AbstractModel
3282
- # @param Operator: 操作人信息
3350
+ # @param Operator: 操作人信息,UserId必填
3283
3351
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
3284
3352
  # @param Limit: 返回最大数量,最大为200
3285
3353
  # @type Limit: Integer
@@ -3680,6 +3748,58 @@ module TencentCloud
3680
3748
  end
3681
3749
  end
3682
3750
 
3751
+ # 授权服务信息
3752
+ class ExtendAuthInfo < TencentCloud::Common::AbstractModel
3753
+ # @param Type: 授权服务类型
3754
+ # OPEN_SERVER_SIGN:开通企业静默签署
3755
+ # OVERSEA_SIGN:企业与港澳台居民签署合同
3756
+ # MOBILE_CHECK_APPROVER:使用手机号验证签署方身份
3757
+ # PAGING_SEAL:骑缝章
3758
+ # BATCH_SIGN:批量签署
3759
+ # @type Type: String
3760
+ # @param Name: 授权服务名称
3761
+ # @type Name: String
3762
+ # @param Status: 授权服务状态,ENABLE:开通
3763
+ # DISABLE:未开通
3764
+ # @type Status: String
3765
+ # @param OperatorUserId: 授权人用户id
3766
+ # 注意:此字段可能返回 null,表示取不到有效值。
3767
+ # @type OperatorUserId: String
3768
+ # @param OperateOn: 授权时间戳,单位秒
3769
+ # 注意:此字段可能返回 null,表示取不到有效值。
3770
+ # @type OperateOn: Integer
3771
+ # @param HasAuthUserList: 被授权用户列表
3772
+ # 注意:此字段可能返回 null,表示取不到有效值。
3773
+ # @type HasAuthUserList: Array
3774
+
3775
+ attr_accessor :Type, :Name, :Status, :OperatorUserId, :OperateOn, :HasAuthUserList
3776
+
3777
+ def initialize(type=nil, name=nil, status=nil, operatoruserid=nil, operateon=nil, hasauthuserlist=nil)
3778
+ @Type = type
3779
+ @Name = name
3780
+ @Status = status
3781
+ @OperatorUserId = operatoruserid
3782
+ @OperateOn = operateon
3783
+ @HasAuthUserList = hasauthuserlist
3784
+ end
3785
+
3786
+ def deserialize(params)
3787
+ @Type = params['Type']
3788
+ @Name = params['Name']
3789
+ @Status = params['Status']
3790
+ @OperatorUserId = params['OperatorUserId']
3791
+ @OperateOn = params['OperateOn']
3792
+ unless params['HasAuthUserList'].nil?
3793
+ @HasAuthUserList = []
3794
+ params['HasAuthUserList'].each do |i|
3795
+ hasauthuser_tmp = HasAuthUser.new
3796
+ hasauthuser_tmp.deserialize(i)
3797
+ @HasAuthUserList << hasauthuser_tmp
3798
+ end
3799
+ end
3800
+ end
3801
+ end
3802
+
3683
3803
  # 绑定角色失败信息
3684
3804
  class FailedCreateRoleData < TencentCloud::Common::AbstractModel
3685
3805
  # @param UserId: 用户userId
@@ -4554,6 +4674,30 @@ module TencentCloud
4554
4674
  end
4555
4675
  end
4556
4676
 
4677
+ # 被授权用户信息
4678
+ class HasAuthUser < TencentCloud::Common::AbstractModel
4679
+ # @param UserId: 用户id
4680
+ # 注意:此字段可能返回 null,表示取不到有效值。
4681
+ # @type UserId: String
4682
+ # @param BelongTo: 用户归属
4683
+ # MainOrg:主企业
4684
+ # CurrentOrg:当前企业
4685
+ # 注意:此字段可能返回 null,表示取不到有效值。
4686
+ # @type BelongTo: String
4687
+
4688
+ attr_accessor :UserId, :BelongTo
4689
+
4690
+ def initialize(userid=nil, belongto=nil)
4691
+ @UserId = userid
4692
+ @BelongTo = belongto
4693
+ end
4694
+
4695
+ def deserialize(params)
4696
+ @UserId = params['UserId']
4697
+ @BelongTo = params['BelongTo']
4698
+ end
4699
+ end
4700
+
4557
4701
  # 企业角色数据信息
4558
4702
  class IntegrateRole < TencentCloud::Common::AbstractModel
4559
4703
  # @param RoleId: 角色id
@@ -5099,6 +5243,17 @@ module TencentCloud
5099
5243
  end
5100
5244
  end
5101
5245
 
5246
+ # 模板结构体中的印章信息
5247
+ class SealInfo < TencentCloud::Common::AbstractModel
5248
+
5249
+
5250
+ def initialize()
5251
+ end
5252
+
5253
+ def deserialize(params)
5254
+ end
5255
+ end
5256
+
5102
5257
  # 一码多扫签署二维码对象
5103
5258
  class SignQrCode < TencentCloud::Common::AbstractModel
5104
5259
  # @param QrCodeId: 二维码id
@@ -5432,10 +5587,19 @@ module TencentCloud
5432
5587
  # @param Published: 模板是否已发布。true-已发布;false-未发布
5433
5588
  # 注意:此字段可能返回 null,表示取不到有效值。
5434
5589
  # @type Published: Boolean
5590
+ # @param TemplateSeals: 模板内部指定的印章列表
5591
+ # 注意:此字段可能返回 null,表示取不到有效值。
5592
+ # @type TemplateSeals: Array
5593
+ # @param Seals: 模板内部指定的印章列表
5594
+ # 注意:此字段可能返回 null,表示取不到有效值。
5595
+ # @type Seals: Array
5435
5596
 
5436
- attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter, :TemplateType, :Available, :OrganizationId, :PreviewUrl, :TemplateVersion, :Published
5597
+ attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter, :TemplateType, :Available, :OrganizationId, :PreviewUrl, :TemplateVersion, :Published, :TemplateSeals, :Seals
5598
+ extend Gem::Deprecate
5599
+ deprecate :Seals, :none, 2023, 6
5600
+ deprecate :Seals=, :none, 2023, 6
5437
5601
 
5438
- def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil, templatetype=nil, available=nil, organizationid=nil, previewurl=nil, templateversion=nil, published=nil)
5602
+ def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil, templatetype=nil, available=nil, organizationid=nil, previewurl=nil, templateversion=nil, published=nil, templateseals=nil, seals=nil)
5439
5603
  @TemplateId = templateid
5440
5604
  @TemplateName = templatename
5441
5605
  @Description = description
@@ -5456,6 +5620,8 @@ module TencentCloud
5456
5620
  @PreviewUrl = previewurl
5457
5621
  @TemplateVersion = templateversion
5458
5622
  @Published = published
5623
+ @TemplateSeals = templateseals
5624
+ @Seals = seals
5459
5625
  end
5460
5626
 
5461
5627
  def deserialize(params)
@@ -5510,6 +5676,22 @@ module TencentCloud
5510
5676
  @PreviewUrl = params['PreviewUrl']
5511
5677
  @TemplateVersion = params['TemplateVersion']
5512
5678
  @Published = params['Published']
5679
+ unless params['TemplateSeals'].nil?
5680
+ @TemplateSeals = []
5681
+ params['TemplateSeals'].each do |i|
5682
+ sealinfo_tmp = SealInfo.new
5683
+ sealinfo_tmp.deserialize(i)
5684
+ @TemplateSeals << sealinfo_tmp
5685
+ end
5686
+ end
5687
+ unless params['Seals'].nil?
5688
+ @Seals = []
5689
+ params['Seals'].each do |i|
5690
+ sealinfo_tmp = SealInfo.new
5691
+ sealinfo_tmp.deserialize(i)
5692
+ @Seals << sealinfo_tmp
5693
+ end
5694
+ end
5513
5695
  end
5514
5696
  end
5515
5697
 
@@ -5562,9 +5744,11 @@ module TencentCloud
5562
5744
 
5563
5745
  # UpdateIntegrationEmployees请求参数结构体
5564
5746
  class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
5565
- # @param Operator: 操作人信息
5747
+ # @param Operator: 操作人信息,userId必填
5566
5748
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
5567
- # @param Employees: 员工信息
5749
+ # @param Employees: 员工信息,不超过100个。
5750
+ # 根据UserId或OpenId更新员工,必填一个,优先UserId。
5751
+ # 可更新Mobile、DisplayName、Email和Department.DepartmentId字段,其他字段暂不支持
5568
5752
  # @type Employees: Array
5569
5753
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId需填充子企业Id
5570
5754
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
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.591
4
+ version: 3.0.593
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-06-13 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common