tencentcloud-sdk-essbasic 3.0.656 → 3.0.657

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210526/models.rb +72 -9
  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: ed65fa369976e35f27aa1eff86fad620b1ab26f5
4
+ data.tar.gz: 0e15edf6072f0bafdbf0f5ac41d65ca00564f886
5
5
  SHA512:
6
- metadata.gz: 0b737837afea225ea68a1f7c733810d1996293e3428eedd3fd6cbf2c75e2ad14a418d0c39512d437d58e6416424f8f514edd3c21124f2fcfc43377e3aeeb966c
7
- data.tar.gz: b538cf0a95a54a190becffb721ada314ddd5c4d0cf9ace53708a29458dfe896d92c7a4c057cbd9fa2287113aa78572aaf1580335578d0ab05682f5660fc1b2bd
6
+ metadata.gz: 0a98ad4c1b87625d70e03bc7a2ed325c07f450413020d0c54c02c3231a2cdd4e12371a6b7ce1a768a4ec0ad0d6a9ad96259a0c00f3cd11de21baf999909a3bd4
7
+ data.tar.gz: 2b000ac09b1430a6d70dadf8cd9ed12a783b96b3a1a204849df1e342c940a30068c5e5e6563e308ffca6b887fe98ff7cbadb51a952f65c4117cf444bd1f8de56
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.656
1
+ 3.0.657
@@ -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
 
@@ -4474,13 +4524,17 @@ module TencentCloud
4474
4524
  # @param NotifyType: SMS: 短信(需确保“电子签短信通知签署方”功能是开启状态才能生效); NONE: 不发信息
4475
4525
  # 默认为SMS(签署方为子客时该字段不生效)
4476
4526
  # @type NotifyType: String
4527
+ # @param AddSignComponentsLimits: [通过文件创建签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles)时,如果设置了外层参数SignBeanTag=1(允许签署过程中添加签署控件),则可通过此参数明确规定合同所使用的签署控件类型(骑缝章、普通章法人章等)和具体的印章(印章ID)或签名方式。
4528
+
4529
+ # 注:`限制印章控件或骑缝章控件情况下,仅本企业签署方可以指定具体印章(通过传递ComponentValue,支持多个),他方企业或个人只支持限制控件类型。`
4530
+ # @type AddSignComponentsLimits: Array
4477
4531
 
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
4532
+ 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
4533
  extend Gem::Deprecate
4480
4534
  deprecate :CallbackUrl, :none, 2023, 9
4481
4535
  deprecate :CallbackUrl=, :none, 2023, 9
4482
4536
 
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)
4537
+ 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
4538
  @Name = name
4485
4539
  @IdCardType = idcardtype
4486
4540
  @IdCardNumber = idcardnumber
@@ -4503,6 +4557,7 @@ module TencentCloud
4503
4557
  @ApproverSignTypes = approversigntypes
4504
4558
  @SignId = signid
4505
4559
  @NotifyType = notifytype
4560
+ @AddSignComponentsLimits = addsigncomponentslimits
4506
4561
  end
4507
4562
 
4508
4563
  def deserialize(params)
@@ -4538,6 +4593,14 @@ module TencentCloud
4538
4593
  @ApproverSignTypes = params['ApproverSignTypes']
4539
4594
  @SignId = params['SignId']
4540
4595
  @NotifyType = params['NotifyType']
4596
+ unless params['AddSignComponentsLimits'].nil?
4597
+ @AddSignComponentsLimits = []
4598
+ params['AddSignComponentsLimits'].each do |i|
4599
+ componentlimit_tmp = ComponentLimit.new
4600
+ componentlimit_tmp.deserialize(i)
4601
+ @AddSignComponentsLimits << componentlimit_tmp
4602
+ end
4603
+ end
4541
4604
  end
4542
4605
  end
4543
4606
 
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.657
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-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common