tencentcloud-sdk-ess 3.0.513 → 3.0.515

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: 0a39551de784498d90959d09ce350e2870b4d8c8
4
- data.tar.gz: 508431a4e8e2f5869632ebd84bcd7e8138e4cfb1
3
+ metadata.gz: 8f725cd6d0f5cd9b4401261ef7b013976e4695f0
4
+ data.tar.gz: 519100baea4d8229b4d722f1e81fa25ccd213f8c
5
5
  SHA512:
6
- metadata.gz: 632bc34dde168116fe424afbf97c2fdc6166f41b2edbc5651d157ea3055847e31f0e33ad2a4f21d1bce5ac3efe6b43bc9f5b49c58be8da3bebbc489ce7dfa625
7
- data.tar.gz: d78db441ff5464f666a0c66623d14690a01e7e6d3f9552d8fd359a7c080728125f9b1acf5b324d663c3192ea45a862495226b28e8b3db0d2f0b378fa374ce12e
6
+ metadata.gz: 038508cb8ed50b8fb4a741918177387a7650870c4ee304e64e64179915031f1c0dfcdc8ea6e6b3c0887ee756e29c52f8f00b8ac8c46035ba84a9c0a3fd6951a2
7
+ data.tar.gz: 97217ce350a625dcfcf6ff6410679026cfc568e98d8765dc87403f2e1c4935a0193cfb4b7b1e0c339fa7ca75b19ee4d8e6e8ce77016a1381fd20b61ae163c9af
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.513
1
+ 3.0.515
@@ -788,6 +788,32 @@ module TencentCloud
788
788
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
789
789
  end
790
790
 
791
+ # 新增/删除应用callbackinfo
792
+ # callbackinfo包含: 回调地址和签名key
793
+ # 操作:新增/删除
794
+
795
+ # @param request: Request instance for ModifyApplicationCallbackInfo.
796
+ # @type request: :class:`Tencentcloud::ess::V20201111::ModifyApplicationCallbackInfoRequest`
797
+ # @rtype: :class:`Tencentcloud::ess::V20201111::ModifyApplicationCallbackInfoResponse`
798
+ def ModifyApplicationCallbackInfo(request)
799
+ body = send_request('ModifyApplicationCallbackInfo', request.serialize)
800
+ response = JSON.parse(body)
801
+ if response['Response'].key?('Error') == false
802
+ model = ModifyApplicationCallbackInfoResponse.new
803
+ model.deserialize(response['Response'])
804
+ model
805
+ else
806
+ code = response['Response']['Error']['Code']
807
+ message = response['Response']['Error']['Message']
808
+ reqid = response['Response']['RequestId']
809
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
810
+ end
811
+ rescue TencentCloud::Common::TencentCloudSDKException => e
812
+ raise e
813
+ rescue StandardError => e
814
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
815
+ end
816
+
791
817
  # 此接口用于发起流程
792
818
  # 适用场景:见创建签署流程接口。
793
819
  # 注:该接口是“创建电子文档”接口的后置接口,用于激活包含完整合同信息(模板及内容信息)的流程。激活后的流程就是一份待签署的电子合同。
@@ -1410,6 +1410,8 @@ module TencentCloud
1410
1410
  # @type QrEffectiveDay: Integer
1411
1411
  # @param Restrictions: 限制二维码用户条件
1412
1412
  # @type Restrictions: Array
1413
+ # @param UserData: 用户自定义字段,回调的时候会进行透传,长度需要小于20480
1414
+ # @type UserData: String
1413
1415
  # @param CallbackUrl: 回调地址,最大长度1000字符串
1414
1416
  # 回调时机:
1415
1417
  # 用户通过签署二维码发起签署流程时,企业额度不足导致失败
@@ -1419,9 +1421,9 @@ module TencentCloud
1419
1421
  # @param ApproverRestrictions: 限制二维码用户条件(已弃用)
1420
1422
  # @type ApproverRestrictions: :class:`Tencentcloud::Ess.v20201111.models.ApproverRestriction`
1421
1423
 
1422
- attr_accessor :Operator, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :Restrictions, :CallbackUrl, :Agent, :ApproverRestrictions
1424
+ attr_accessor :Operator, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :Restrictions, :UserData, :CallbackUrl, :Agent, :ApproverRestrictions
1423
1425
 
1424
- def initialize(operator=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, restrictions=nil, callbackurl=nil, agent=nil, approverrestrictions=nil)
1426
+ def initialize(operator=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, restrictions=nil, userdata=nil, callbackurl=nil, agent=nil, approverrestrictions=nil)
1425
1427
  @Operator = operator
1426
1428
  @TemplateId = templateid
1427
1429
  @FlowName = flowname
@@ -1429,6 +1431,7 @@ module TencentCloud
1429
1431
  @FlowEffectiveDay = floweffectiveday
1430
1432
  @QrEffectiveDay = qreffectiveday
1431
1433
  @Restrictions = restrictions
1434
+ @UserData = userdata
1432
1435
  @CallbackUrl = callbackurl
1433
1436
  @Agent = agent
1434
1437
  @ApproverRestrictions = approverrestrictions
@@ -1452,6 +1455,7 @@ module TencentCloud
1452
1455
  @Restrictions << approverrestriction_tmp
1453
1456
  end
1454
1457
  end
1458
+ @UserData = params['UserData']
1455
1459
  @CallbackUrl = params['CallbackUrl']
1456
1460
  unless params['Agent'].nil?
1457
1461
  @Agent = Agent.new
@@ -3404,6 +3408,33 @@ module TencentCloud
3404
3408
  end
3405
3409
  end
3406
3410
 
3411
+ # ModifyApplicationCallbackInfo请求参数结构体
3412
+ class ModifyApplicationCallbackInfoRequest < TencentCloud::Common::AbstractModel
3413
+
3414
+
3415
+ def initialize()
3416
+ end
3417
+
3418
+ def deserialize(params)
3419
+ end
3420
+ end
3421
+
3422
+ # ModifyApplicationCallbackInfo返回参数结构体
3423
+ class ModifyApplicationCallbackInfoResponse < TencentCloud::Common::AbstractModel
3424
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3425
+ # @type RequestId: String
3426
+
3427
+ attr_accessor :RequestId
3428
+
3429
+ def initialize(requestid=nil)
3430
+ @RequestId = requestid
3431
+ end
3432
+
3433
+ def deserialize(params)
3434
+ @RequestId = params['RequestId']
3435
+ end
3436
+ end
3437
+
3407
3438
  # 持有的电子印章信息
3408
3439
  class OccupiedSeal < TencentCloud::Common::AbstractModel
3409
3440
  # @param SealId: 电子印章编号
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.513
4
+ version: 3.0.515
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-02-21 00:00:00.000000000 Z
11
+ date: 2023-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-ess.rb
37
- - lib/v20201111/client.rb
38
36
  - lib/v20201111/models.rb
37
+ - lib/v20201111/client.rb
38
+ - lib/tencentcloud-sdk-ess.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: