tencentcloud-sdk-essbasic 3.0.656 → 3.0.658

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/v20210526/models.rb +121 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 901ee0efca8290b84cbb3b886dbbe7179c88b363
4
- data.tar.gz: c4928611c77701458e2d922e22b4135e83e85035
3
+ metadata.gz: 69d38efab1332c36253735dc78c98dbe97fa0c4f
4
+ data.tar.gz: 38a12a29bc05ee4950b628a9e56b5abc77c102b9
5
5
  SHA512:
6
- metadata.gz: 0b737837afea225ea68a1f7c733810d1996293e3428eedd3fd6cbf2c75e2ad14a418d0c39512d437d58e6416424f8f514edd3c21124f2fcfc43377e3aeeb966c
7
- data.tar.gz: b538cf0a95a54a190becffb721ada314ddd5c4d0cf9ace53708a29458dfe896d92c7a4c057cbd9fa2287113aa78572aaf1580335578d0ab05682f5660fc1b2bd
6
+ metadata.gz: e54b66a1525cfd7ea602dad41b3989c7731beda532073945edcb663e0fb8535f9eb9f4ff597c1d8a4858d720b3773e3ae965e7597fea39fde15e1298e37f26b4
7
+ data.tar.gz: b62db640dd1a1fd3246132271d0bb15832559c710c332aa4ec7e5314c6854b5b6453aabaa4a0e57f49ea5ee7b1d9a80487652db28d0e8f443cf577523518c3f0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.656
1
+ 3.0.658
@@ -2842,13 +2842,14 @@ module TencentCloud
2842
2842
  # @type ApproverOption: :class:`Tencentcloud::Essbasic.v20210526.models.CommonApproverOption`
2843
2843
  # @param SignComponents: 签署控件:文件发起使用
2844
2844
  # @type SignComponents: Array
2845
+ # @param ApproverVerifyTypes: 签署人查看合同时认证方式, 1-实名查看 2-短信验证码查看(企业签署方不支持该方式) 如果不传默认为1 查看合同的认证方式 Flow层级的优先于approver层级的 (当手写签名方式为OCR_ESIGN时,合同认证方式2无效,因为这种签名方式依赖实名认证)
2846
+ # @type ApproverVerifyTypes: Array
2847
+ # @param ApproverSignTypes: 签署人签署合同时的认证方式 1-人脸认证 2-签署密码 3-运营商三要素(默认为1,2)
2848
+ # @type ApproverSignTypes: Array
2845
2849
 
2846
- attr_accessor :NotChannelOrganization, :ApproverType, :OrganizationId, :OrganizationOpenId, :OrganizationName, :UserId, :OpenId, :ApproverName, :ApproverMobile, :RecipientId, :PreReadTime, :IsFullText, :NotifyType, :ApproverOption, :SignComponents
2847
- extend Gem::Deprecate
2848
- deprecate :NotifyType, :none, 2023, 9
2849
- deprecate :NotifyType=, :none, 2023, 9
2850
+ attr_accessor :NotChannelOrganization, :ApproverType, :OrganizationId, :OrganizationOpenId, :OrganizationName, :UserId, :OpenId, :ApproverName, :ApproverMobile, :RecipientId, :PreReadTime, :IsFullText, :NotifyType, :ApproverOption, :SignComponents, :ApproverVerifyTypes, :ApproverSignTypes
2850
2851
 
2851
- def initialize(notchannelorganization=nil, approvertype=nil, organizationid=nil, organizationopenid=nil, organizationname=nil, userid=nil, openid=nil, approvername=nil, approvermobile=nil, recipientid=nil, prereadtime=nil, isfulltext=nil, notifytype=nil, approveroption=nil, signcomponents=nil)
2852
+ def initialize(notchannelorganization=nil, approvertype=nil, organizationid=nil, organizationopenid=nil, organizationname=nil, userid=nil, openid=nil, approvername=nil, approvermobile=nil, recipientid=nil, prereadtime=nil, isfulltext=nil, notifytype=nil, approveroption=nil, signcomponents=nil, approververifytypes=nil, approversigntypes=nil)
2852
2853
  @NotChannelOrganization = notchannelorganization
2853
2854
  @ApproverType = approvertype
2854
2855
  @OrganizationId = organizationid
@@ -2864,6 +2865,8 @@ module TencentCloud
2864
2865
  @NotifyType = notifytype
2865
2866
  @ApproverOption = approveroption
2866
2867
  @SignComponents = signcomponents
2868
+ @ApproverVerifyTypes = approververifytypes
2869
+ @ApproverSignTypes = approversigntypes
2867
2870
  end
2868
2871
 
2869
2872
  def deserialize(params)
@@ -2892,6 +2895,8 @@ module TencentCloud
2892
2895
  @SignComponents << component_tmp
2893
2896
  end
2894
2897
  end
2898
+ @ApproverVerifyTypes = params['ApproverVerifyTypes']
2899
+ @ApproverSignTypes = params['ApproverSignTypes']
2895
2900
  end
2896
2901
  end
2897
2902
 
@@ -3116,10 +3121,16 @@ module TencentCloud
3116
3121
  # @param Placeholder: 填写提示的内容
3117
3122
  # 注意:此字段可能返回 null,表示取不到有效值。
3118
3123
  # @type Placeholder: String
3124
+ # @param LockComponentValue: 是否锁定控件值不允许编辑(嵌入式发起使用) <br/>默认false:不锁定控件值,允许在页面编辑控件值
3125
+ # 注意:此字段可能返回 null,表示取不到有效值。
3126
+ # @type LockComponentValue: Boolean
3127
+ # @param ForbidMoveAndDelete: 是否禁止移动和删除控件 <br/>默认false,不禁止移动和删除控件
3128
+ # 注意:此字段可能返回 null,表示取不到有效值。
3129
+ # @type ForbidMoveAndDelete: Boolean
3119
3130
 
3120
- attr_accessor :ComponentId, :ComponentType, :ComponentName, :ComponentRequired, :ComponentRecipientId, :FileIndex, :GenerateMode, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentExtra, :ComponentValue, :ComponentDateFontSize, :DocumentId, :ComponentDescription, :OffsetX, :OffsetY, :ChannelComponentId, :KeywordOrder, :KeywordPage, :RelativeLocation, :KeywordIndexes, :Placeholder
3131
+ attr_accessor :ComponentId, :ComponentType, :ComponentName, :ComponentRequired, :ComponentRecipientId, :FileIndex, :GenerateMode, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentExtra, :ComponentValue, :ComponentDateFontSize, :DocumentId, :ComponentDescription, :OffsetX, :OffsetY, :ChannelComponentId, :KeywordOrder, :KeywordPage, :RelativeLocation, :KeywordIndexes, :Placeholder, :LockComponentValue, :ForbidMoveAndDelete
3121
3132
 
3122
- def initialize(componentid=nil, componenttype=nil, componentname=nil, componentrequired=nil, componentrecipientid=nil, fileindex=nil, generatemode=nil, componentwidth=nil, componentheight=nil, componentpage=nil, componentposx=nil, componentposy=nil, componentextra=nil, componentvalue=nil, componentdatefontsize=nil, documentid=nil, componentdescription=nil, offsetx=nil, offsety=nil, channelcomponentid=nil, keywordorder=nil, keywordpage=nil, relativelocation=nil, keywordindexes=nil, placeholder=nil)
3133
+ def initialize(componentid=nil, componenttype=nil, componentname=nil, componentrequired=nil, componentrecipientid=nil, fileindex=nil, generatemode=nil, componentwidth=nil, componentheight=nil, componentpage=nil, componentposx=nil, componentposy=nil, componentextra=nil, componentvalue=nil, componentdatefontsize=nil, documentid=nil, componentdescription=nil, offsetx=nil, offsety=nil, channelcomponentid=nil, keywordorder=nil, keywordpage=nil, relativelocation=nil, keywordindexes=nil, placeholder=nil, lockcomponentvalue=nil, forbidmoveanddelete=nil)
3123
3134
  @ComponentId = componentid
3124
3135
  @ComponentType = componenttype
3125
3136
  @ComponentName = componentname
@@ -3145,6 +3156,8 @@ module TencentCloud
3145
3156
  @RelativeLocation = relativelocation
3146
3157
  @KeywordIndexes = keywordindexes
3147
3158
  @Placeholder = placeholder
3159
+ @LockComponentValue = lockcomponentvalue
3160
+ @ForbidMoveAndDelete = forbidmoveanddelete
3148
3161
  end
3149
3162
 
3150
3163
  def deserialize(params)
@@ -3173,6 +3186,43 @@ module TencentCloud
3173
3186
  @RelativeLocation = params['RelativeLocation']
3174
3187
  @KeywordIndexes = params['KeywordIndexes']
3175
3188
  @Placeholder = params['Placeholder']
3189
+ @LockComponentValue = params['LockComponentValue']
3190
+ @ForbidMoveAndDelete = params['ForbidMoveAndDelete']
3191
+ end
3192
+ end
3193
+
3194
+ # 签署控件的类型和范围限制条件,用于控制文件发起后签署人拖拽签署区时可使用的控件类型和具体的印章或签名方式。
3195
+ class ComponentLimit < TencentCloud::Common::AbstractModel
3196
+ # @param ComponentType: 控件类型,支持以下类型
3197
+ # <ul><li>SIGN_SEAL : 印章控件</li>
3198
+ # <li>SIGN_PAGING_SEAL : 骑缝章控件</li>
3199
+ # <li>SIGN_LEGAL_PERSON_SEAL : 企业法定代表人控件</li>
3200
+ # <li>SIGN_SIGNATURE : 用户签名控件</li></ul>
3201
+ # @type ComponentType: String
3202
+ # @param ComponentValue: 签署控件类型的值(可选),用与限制签署时印章或者签名的选择范围
3203
+
3204
+ # 1.当ComponentType 是 SIGN_SEAL 或者 SIGN_PAGING_SEAL 时可传入企业印章Id(支持多个)
3205
+
3206
+ # 2.当ComponentType 是 SIGN_SIGNATURE 时可传入以下类型(支持多个)
3207
+
3208
+ # <ul><li>HANDWRITE : 手写签名</li>
3209
+ # <li>OCR_ESIGN : OCR印章(智慧手写签名)</li>
3210
+ # <li>ESIGN : 个人印章</li>
3211
+ # <li>SYSTEM_ESIGN : 系统印章</li></ul>
3212
+
3213
+ # 3.当ComponentType 是 SIGN_LEGAL_PERSON_SEAL 时无需传递此参数。
3214
+ # @type ComponentValue: Array
3215
+
3216
+ attr_accessor :ComponentType, :ComponentValue
3217
+
3218
+ def initialize(componenttype=nil, componentvalue=nil)
3219
+ @ComponentType = componenttype
3220
+ @ComponentValue = componentvalue
3221
+ end
3222
+
3223
+ def deserialize(params)
3224
+ @ComponentType = params['ComponentType']
3225
+ @ComponentValue = params['ComponentValue']
3176
3226
  end
3177
3227
  end
3178
3228
 
@@ -3518,7 +3568,8 @@ module TencentCloud
3518
3568
 
3519
3569
  # CreateSealByImage请求参数结构体
3520
3570
  class CreateSealByImageRequest < TencentCloud::Common::AbstractModel
3521
- # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
3571
+ # @param Agent: 代理企业和员工的信息。
3572
+ # 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
3522
3573
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
3523
3574
  # @param SealName: 印章名称,最大长度不超过50字符
3524
3575
  # @type SealName: String
@@ -3526,17 +3577,46 @@ module TencentCloud
3526
3577
  # @type SealImage: String
3527
3578
  # @param Operator: 操作者的信息
3528
3579
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
3529
-
3530
- attr_accessor :Agent, :SealName, :SealImage, :Operator
3580
+ # @param GenerateSource: 本接口支持上传图片印章及系统直接生成印章; 如果要使用系统生成印章,此值传:SealGenerateSourceSystem; 如果要使用图片上传请传字段 SealImage
3581
+ # @type GenerateSource: String
3582
+ # @param SealType: 电子印章类型:
3583
+ # <ul><li>OFFICIAL-公章</li>
3584
+ # <li>CONTRACT-合同专用章;</li>
3585
+ # <li>FINANCE-合财务专用章;</li>
3586
+ # <li>PERSONNEL-人事专用章
3587
+ # </li>
3588
+ # <li>默认:OFFICIAL</li>
3589
+ # <ul>
3590
+ # @type SealType: String
3591
+ # @param SealHorizontalText: 企业印章横向文字,最多可填15个汉字(若超过印章最大宽度,优先压缩字间距,其次缩小字号
3592
+ # @type SealHorizontalText: String
3593
+ # @param SealStyle: 印章样式:
3594
+
3595
+ # <ul><li>cycle:圆形印章</li>
3596
+ # <li>ellipse:椭圆印章</li>
3597
+ # <li> 注:默认圆形印章</li></ul>
3598
+ # @type SealStyle: String
3599
+ # @param SealSize: 印章尺寸取值描述:<ul><li> 42_42 圆形企业公章直径42mm</li>
3600
+ # <li> 40_40 圆形企业印章直径40mm</li>
3601
+ # <li> 45_30 椭圆形印章45mm x 30mm</li>
3602
+ # </ul>
3603
+ # @type SealSize: String
3604
+
3605
+ attr_accessor :Agent, :SealName, :SealImage, :Operator, :GenerateSource, :SealType, :SealHorizontalText, :SealStyle, :SealSize
3531
3606
  extend Gem::Deprecate
3532
3607
  deprecate :Operator, :none, 2023, 9
3533
3608
  deprecate :Operator=, :none, 2023, 9
3534
3609
 
3535
- def initialize(agent=nil, sealname=nil, sealimage=nil, operator=nil)
3610
+ def initialize(agent=nil, sealname=nil, sealimage=nil, operator=nil, generatesource=nil, sealtype=nil, sealhorizontaltext=nil, sealstyle=nil, sealsize=nil)
3536
3611
  @Agent = agent
3537
3612
  @SealName = sealname
3538
3613
  @SealImage = sealimage
3539
3614
  @Operator = operator
3615
+ @GenerateSource = generatesource
3616
+ @SealType = sealtype
3617
+ @SealHorizontalText = sealhorizontaltext
3618
+ @SealStyle = sealstyle
3619
+ @SealSize = sealsize
3540
3620
  end
3541
3621
 
3542
3622
  def deserialize(params)
@@ -3550,25 +3630,37 @@ module TencentCloud
3550
3630
  @Operator = UserInfo.new
3551
3631
  @Operator.deserialize(params['Operator'])
3552
3632
  end
3633
+ @GenerateSource = params['GenerateSource']
3634
+ @SealType = params['SealType']
3635
+ @SealHorizontalText = params['SealHorizontalText']
3636
+ @SealStyle = params['SealStyle']
3637
+ @SealSize = params['SealSize']
3553
3638
  end
3554
3639
  end
3555
3640
 
3556
3641
  # CreateSealByImage返回参数结构体
3557
3642
  class CreateSealByImageResponse < TencentCloud::Common::AbstractModel
3558
- # @param SealId: 印章id
3643
+ # @param SealId: 电子印章ID,为32位字符串。
3644
+ # 建议开发者保留此印章ID,后续指定签署区印章或者操作印章需此印章ID。
3645
+ # 可登录腾讯电子签控制台,在 "印章"->"印章中心"选择查看的印章,在"印章详情" 中查看某个印章的SealId(在页面中展示为印章ID)。
3559
3646
  # @type SealId: String
3647
+ # @param ImageUrl: 电子印章预览链接地址,地址默认失效时间为24小时。
3648
+ # 注意:此字段可能返回 null,表示取不到有效值。
3649
+ # @type ImageUrl: String
3560
3650
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3561
3651
  # @type RequestId: String
3562
3652
 
3563
- attr_accessor :SealId, :RequestId
3653
+ attr_accessor :SealId, :ImageUrl, :RequestId
3564
3654
 
3565
- def initialize(sealid=nil, requestid=nil)
3655
+ def initialize(sealid=nil, imageurl=nil, requestid=nil)
3566
3656
  @SealId = sealid
3657
+ @ImageUrl = imageurl
3567
3658
  @RequestId = requestid
3568
3659
  end
3569
3660
 
3570
3661
  def deserialize(params)
3571
3662
  @SealId = params['SealId']
3663
+ @ImageUrl = params['ImageUrl']
3572
3664
  @RequestId = params['RequestId']
3573
3665
  end
3574
3666
  end
@@ -4474,13 +4566,17 @@ module TencentCloud
4474
4566
  # @param NotifyType: SMS: 短信(需确保“电子签短信通知签署方”功能是开启状态才能生效); NONE: 不发信息
4475
4567
  # 默认为SMS(签署方为子客时该字段不生效)
4476
4568
  # @type NotifyType: String
4569
+ # @param AddSignComponentsLimits: [通过文件创建签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles)时,如果设置了外层参数SignBeanTag=1(允许签署过程中添加签署控件),则可通过此参数明确规定合同所使用的签署控件类型(骑缝章、普通章法人章等)和具体的印章(印章ID)或签名方式。
4570
+
4571
+ # 注:`限制印章控件或骑缝章控件情况下,仅本企业签署方可以指定具体印章(通过传递ComponentValue,支持多个),他方企业或个人只支持限制控件类型。`
4572
+ # @type AddSignComponentsLimits: Array
4477
4573
 
4478
- attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl, :ApproverOption, :ApproverNeedSignReview, :ApproverVerifyTypes, :ApproverSignTypes, :SignId, :NotifyType
4574
+ attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl, :ApproverOption, :ApproverNeedSignReview, :ApproverVerifyTypes, :ApproverSignTypes, :SignId, :NotifyType, :AddSignComponentsLimits
4479
4575
  extend Gem::Deprecate
4480
4576
  deprecate :CallbackUrl, :none, 2023, 9
4481
4577
  deprecate :CallbackUrl=, :none, 2023, 9
4482
4578
 
4483
- def initialize(name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationname=nil, notchannelorganization=nil, openid=nil, organizationopenid=nil, approvertype=nil, recipientid=nil, deadline=nil, callbackurl=nil, signcomponents=nil, componentlimittype=nil, prereadtime=nil, jumpurl=nil, approveroption=nil, approverneedsignreview=nil, approververifytypes=nil, approversigntypes=nil, signid=nil, notifytype=nil)
4579
+ def initialize(name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationname=nil, notchannelorganization=nil, openid=nil, organizationopenid=nil, approvertype=nil, recipientid=nil, deadline=nil, callbackurl=nil, signcomponents=nil, componentlimittype=nil, prereadtime=nil, jumpurl=nil, approveroption=nil, approverneedsignreview=nil, approververifytypes=nil, approversigntypes=nil, signid=nil, notifytype=nil, addsigncomponentslimits=nil)
4484
4580
  @Name = name
4485
4581
  @IdCardType = idcardtype
4486
4582
  @IdCardNumber = idcardnumber
@@ -4503,6 +4599,7 @@ module TencentCloud
4503
4599
  @ApproverSignTypes = approversigntypes
4504
4600
  @SignId = signid
4505
4601
  @NotifyType = notifytype
4602
+ @AddSignComponentsLimits = addsigncomponentslimits
4506
4603
  end
4507
4604
 
4508
4605
  def deserialize(params)
@@ -4538,6 +4635,14 @@ module TencentCloud
4538
4635
  @ApproverSignTypes = params['ApproverSignTypes']
4539
4636
  @SignId = params['SignId']
4540
4637
  @NotifyType = params['NotifyType']
4638
+ unless params['AddSignComponentsLimits'].nil?
4639
+ @AddSignComponentsLimits = []
4640
+ params['AddSignComponentsLimits'].each do |i|
4641
+ componentlimit_tmp = ComponentLimit.new
4642
+ componentlimit_tmp.deserialize(i)
4643
+ @AddSignComponentsLimits << componentlimit_tmp
4644
+ end
4645
+ end
4541
4646
  end
4542
4647
  end
4543
4648
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-essbasic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.656
4
+ version: 3.0.658
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-09-11 00:00:00.000000000 Z
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common