tencentcloud-sdk-essbasic 3.0.798 → 3.0.800

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 +28 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15819996ff36bae46b69dd47c5ca110763dea361
4
- data.tar.gz: 5868a0e2978fc964b8eb2552bcb4815b3536582d
3
+ metadata.gz: b0d0d29f06e3f11a463d1fcc454683f4b5e9fc9a
4
+ data.tar.gz: 1f9652dc4a35d33c81c45c42873ff601ce6b42f5
5
5
  SHA512:
6
- metadata.gz: 98b0e3110bae89acda9e721515a8db58fc252431481058007283cab69d10bd4c786817819da921a41427915fa2f9f567f4c48fa0b7f35adff69f7ba6f98eb1d1
7
- data.tar.gz: 38c64bfa9a3114ee75e0fb00a5cecb65a7ad5621d3bc79277dcdaaf1d557e5f2be45e7c3f14175a5e596ee0f473b88962b2541553d2b9bb3dca3320f50e2ad5c
6
+ metadata.gz: 13b906e7a892de121600f0cc533ac133efd9cb0730e2a91c0af2d0c8104b9d81ca79e81f199b40407f59f7c0d2f00de2624fbe7da4de2dba08328b926b3402b0
7
+ data.tar.gz: ae7603ab3335a9c8ef524b36d2b2f60af9b06ca0508ab85abfeba10141455af2d72dac9b086b0651fcdaee2ad6fb5baad18b6ffbc5789541a818561a2bbd6967
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.798
1
+ 3.0.800
@@ -316,10 +316,21 @@ module TencentCloud
316
316
  # <ul><li>**0**: (默认) 使用个人自动签账号许可进行开通,个人自动签账号许可有效期1年,注: `不可解绑释放更换他人`</li>
317
317
  # <li>**1**: 不绑定自动签账号许可开通,后续使用合同份额进行合同发起</li></ul>
318
318
  # @type LicenseType: Integer
319
+ # @param JumpUrl: 开通成功后前端页面跳转的url,此字段的用法场景请联系客户经理确认。
319
320
 
320
- attr_accessor :UserInfo, :CertInfoCallback, :UserDefineSeal, :SealImgCallback, :CallbackUrl, :VerifyChannels, :LicenseType
321
+ # 注:`仅支持H5开通场景`, `跳转链接仅支持 https:// , qianapp:// 开头`
321
322
 
322
- def initialize(userinfo=nil, certinfocallback=nil, userdefineseal=nil, sealimgcallback=nil, callbackurl=nil, verifychannels=nil, licensetype=nil)
323
+ # 跳转场景:
324
+ # <ul><li>**贵方H5 -> 腾讯电子签H5 -> 贵方H5** : JumpUrl格式: https://YOUR_CUSTOM_URL/xxxx,只需满足 https:// 开头的正确且合规的网址即可。</li>
325
+ # <li>**贵方原生App -> 腾讯电子签H5 -> 贵方原生App** : JumpUrl格式: qianapp://YOUR_CUSTOM_URL,只需满足 qianapp:// 开头的URL即可。`APP实现方,需要拦截Webview地址跳转,发现url是qianapp:// 开头时跳转到原生页面。`APP拦截地址跳转可参考:<a href='https://stackoverflow.com/questions/41693263/android-webview-err-unknown-url-scheme'>Android</a>,<a href='https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios/'>IOS</a> </li></ul>
326
+
327
+ # 成功结果返回:
328
+ # 若贵方需要在跳转回时通过链接query参数提示开通成功,JumpUrl中的query应携带如下参数:`appendResult=qian`。这样腾讯电子签H5会在跳转回的url后面会添加query参数提示贵方签署成功,比如 qianapp://YOUR_CUSTOM_URL?action=sign&result=success&from=tencent_ess
329
+ # @type JumpUrl: String
330
+
331
+ attr_accessor :UserInfo, :CertInfoCallback, :UserDefineSeal, :SealImgCallback, :CallbackUrl, :VerifyChannels, :LicenseType, :JumpUrl
332
+
333
+ def initialize(userinfo=nil, certinfocallback=nil, userdefineseal=nil, sealimgcallback=nil, callbackurl=nil, verifychannels=nil, licensetype=nil, jumpurl=nil)
323
334
  @UserInfo = userinfo
324
335
  @CertInfoCallback = certinfocallback
325
336
  @UserDefineSeal = userdefineseal
@@ -327,6 +338,7 @@ module TencentCloud
327
338
  @CallbackUrl = callbackurl
328
339
  @VerifyChannels = verifychannels
329
340
  @LicenseType = licensetype
341
+ @JumpUrl = jumpurl
330
342
  end
331
343
 
332
344
  def deserialize(params)
@@ -340,6 +352,7 @@ module TencentCloud
340
352
  @CallbackUrl = params['CallbackUrl']
341
353
  @VerifyChannels = params['VerifyChannels']
342
354
  @LicenseType = params['LicenseType']
355
+ @JumpUrl = params['JumpUrl']
343
356
  end
344
357
  end
345
358
 
@@ -2900,10 +2913,12 @@ module TencentCloud
2900
2913
  # @type NotifyAddress: String
2901
2914
  # @param ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为当前时间往后30天。`如果不传,默认过期时间为当前时间往后7天。`
2902
2915
  # @type ExpiredTime: Integer
2916
+ # @param UserData: 调用方自定义的个性化字段(可自定义此字段的值),并以base64方式编码,支持的最大数据大小为 20480长度。 在个人自动签的开通、关闭等回调信息场景中,该字段的信息将原封不动地透传给贵方。
2917
+ # @type UserData: String
2903
2918
 
2904
- attr_accessor :Agent, :SceneKey, :Operator, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime
2919
+ attr_accessor :Agent, :SceneKey, :Operator, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime, :UserData
2905
2920
 
2906
- def initialize(agent=nil, scenekey=nil, operator=nil, autosignconfig=nil, urltype=nil, notifytype=nil, notifyaddress=nil, expiredtime=nil)
2921
+ def initialize(agent=nil, scenekey=nil, operator=nil, autosignconfig=nil, urltype=nil, notifytype=nil, notifyaddress=nil, expiredtime=nil, userdata=nil)
2907
2922
  @Agent = agent
2908
2923
  @SceneKey = scenekey
2909
2924
  @Operator = operator
@@ -2912,6 +2927,7 @@ module TencentCloud
2912
2927
  @NotifyType = notifytype
2913
2928
  @NotifyAddress = notifyaddress
2914
2929
  @ExpiredTime = expiredtime
2930
+ @UserData = userdata
2915
2931
  end
2916
2932
 
2917
2933
  def deserialize(params)
@@ -2932,6 +2948,7 @@ module TencentCloud
2932
2948
  @NotifyType = params['NotifyType']
2933
2949
  @NotifyAddress = params['NotifyAddress']
2934
2950
  @ExpiredTime = params['ExpiredTime']
2951
+ @UserData = params['UserData']
2935
2952
  end
2936
2953
  end
2937
2954
 
@@ -4687,8 +4704,6 @@ module TencentCloud
4687
4704
 
4688
4705
  # - 如传入的关键字<font color="red">"^甲方签署^"</font >,则会在PDF文件中有且仅有"甲方签署"关键字的地方(<font color="red">前后不能有其他字符</font >)进行对应操作。
4689
4706
  # - 如传入的关键字为<font color="red">"甲方签署</font >",则PDF文件中每个出现关键字的位置(<font color="red">前后可以有其他字符</font >)都会执行相应操作。
4690
- # - 如传入的关键字为<font color="red">"^甲方签署</font >",则PDF文件中每个出现关键字的位置(<font color="red">前面不能有其他字符</font >)都会执行相应操作。
4691
- # - 如传入的关键字为<font color="red">"甲方签署^</font >",则PDF文件中每个出现关键字的位置(<font color="red">后面不能有其他字符</font >)都会执行相应操作。
4692
4707
 
4693
4708
 
4694
4709
  # 注:`控件ID可以在一个PDF中不可重复`
@@ -8802,7 +8817,13 @@ module TencentCloud
8802
8817
  # @type FailReason: String
8803
8818
  # @param Url: 印章图片url,5分钟内有效
8804
8819
  # @type Url: String
8805
- # @param SealType: 印章类型,OFFICIAL-企业公章,CONTRACT-合同专用章,LEGAL_PERSON_SEAL-法人章
8820
+ # @param SealType: 电子印章类型 , 可选类型如下:
8821
+ # <ul><li>**OFFICIAL**: (默认)公章</li>
8822
+ # <li>**CONTRACT**: 合同专用章;</li>
8823
+ # <li>**FINANCE**: 财务专用章;</li>
8824
+ # <li>**PERSONNEL**: 人事专用章</li>
8825
+ # <li>**INVOICE**: 发票专用章</li>
8826
+ # </ul>
8806
8827
  # @type SealType: String
8807
8828
  # @param IsAllTime: 用印申请是否为永久授权
8808
8829
  # @type IsAllTime: Boolean
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.798
4
+ version: 3.0.800
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-08 00:00:00.000000000 Z
11
+ date: 2024-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common