tencentcloud-sdk-essbasic 3.0.798 → 3.0.799

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 +21 -4
  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: 6fb8d766f6f61467e8f68a3f767038770c09e99d
4
+ data.tar.gz: c4137c1dde2d5780f5084d1627baf958b69ca90d
5
5
  SHA512:
6
- metadata.gz: 98b0e3110bae89acda9e721515a8db58fc252431481058007283cab69d10bd4c786817819da921a41427915fa2f9f567f4c48fa0b7f35adff69f7ba6f98eb1d1
7
- data.tar.gz: 38c64bfa9a3114ee75e0fb00a5cecb65a7ad5621d3bc79277dcdaaf1d557e5f2be45e7c3f14175a5e596ee0f473b88962b2541553d2b9bb3dca3320f50e2ad5c
6
+ metadata.gz: ff63220cb010e0545b304d8be99fe53dd8ce5419e4b6b079b187095695ba14b04800b19c03027ca98706c8d28ed100d5485cfd60ad0abc8187b7bbb06dee26d3
7
+ data.tar.gz: 3132aa8faef6c576c93f3f609d3757caa0dde8fe71347d412d360316160a2519398a92e3c186c5fd2711e43f443c2e14757594dc8202cd5e9db22e5fa6e54dfd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.798
1
+ 3.0.799
@@ -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
 
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.799
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