tencentcloud-sdk-essbasic 3.0.385 → 3.0.386

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: 7bc37b6957faa2c196380b65d818619624ebf831
4
- data.tar.gz: 3133b6e9162de172739bd60f009e701b7edd4c9f
3
+ metadata.gz: 7a0950a0a126259862f2be72549d07b6962aa665
4
+ data.tar.gz: 34d6af528f4d121d293b99fbed22cc4d4e338a5f
5
5
  SHA512:
6
- metadata.gz: 28d51739d4d572be273ba08a0e8a4fafc4792c51f91636fce6c7eefc7f7ac080d97aead4ef8b2102d207a7c2a49da6125993a59974a7a7c668d20798931189de
7
- data.tar.gz: 780d9b40688841815053c1c7751f6e9670a2d20e70fd5f80318304e3a6a158132883b5eae23333fab77d7d1552eed4abf2d4a064a81825bb8a17df0414aa9b72
6
+ metadata.gz: c308ee030854ac4711bd4654bf7488df91dca37119418da3920de32ba2aa6e7b955f3d69704fe6016b21d70fedcab8c3b3ca66fd56e1af770b0165da5aceb322
7
+ data.tar.gz: 9d3e1adfd96c8388b1c6d7776e84bcf9b5b673df0d4ae2a8cdecfd3446ba5a7af1b0e9577e4ef748287bfe1c0d8c190047c176d2055b9f814fed2722f701ffec
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.385
1
+ 3.0.386
@@ -126,6 +126,33 @@ module TencentCloud
126
126
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
127
127
  end
128
128
 
129
+ # 提交企业签署流程审批结果
130
+
131
+ # 在通过接口(CreateFlowsByTemplates 或者ChannelCreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
132
+ # 若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
133
+
134
+ # @param request: Request instance for ChannelCreateFlowSignReview.
135
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignReviewRequest`
136
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignReviewResponse`
137
+ def ChannelCreateFlowSignReview(request)
138
+ body = send_request('ChannelCreateFlowSignReview', request.serialize)
139
+ response = JSON.parse(body)
140
+ if response['Response'].key?('Error') == false
141
+ model = ChannelCreateFlowSignReviewResponse.new
142
+ model.deserialize(response['Response'])
143
+ model
144
+ else
145
+ code = response['Response']['Error']['Code']
146
+ message = response['Response']['Error']['Message']
147
+ reqid = response['Response']['RequestId']
148
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
149
+ end
150
+ rescue TencentCloud::Common::TencentCloudSDKException => e
151
+ raise e
152
+ rescue StandardError => e
153
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
154
+ end
155
+
129
156
  # 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫签署流程二维码。
130
157
  # 适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
131
158
 
@@ -394,6 +394,56 @@ module TencentCloud
394
394
  end
395
395
  end
396
396
 
397
+ # ChannelCreateFlowSignReview请求参数结构体
398
+ class ChannelCreateFlowSignReviewRequest < TencentCloud::Common::AbstractModel
399
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
400
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
401
+ # @param FlowId: 签署流程编号
402
+ # @type FlowId: String
403
+ # @param ReviewType: 企业内部审核结果
404
+ # PASS: 通过
405
+ # REJECT: 拒绝
406
+ # @type ReviewType: String
407
+ # @param ReviewMessage: 审核原因
408
+ # 当ReviewType 是REJECT 时此字段必填,字符串长度不超过200
409
+ # @type ReviewMessage: String
410
+
411
+ attr_accessor :Agent, :FlowId, :ReviewType, :ReviewMessage
412
+
413
+ def initialize(agent=nil, flowid=nil, reviewtype=nil, reviewmessage=nil)
414
+ @Agent = agent
415
+ @FlowId = flowid
416
+ @ReviewType = reviewtype
417
+ @ReviewMessage = reviewmessage
418
+ end
419
+
420
+ def deserialize(params)
421
+ unless params['Agent'].nil?
422
+ @Agent = Agent.new
423
+ @Agent.deserialize(params['Agent'])
424
+ end
425
+ @FlowId = params['FlowId']
426
+ @ReviewType = params['ReviewType']
427
+ @ReviewMessage = params['ReviewMessage']
428
+ end
429
+ end
430
+
431
+ # ChannelCreateFlowSignReview返回参数结构体
432
+ class ChannelCreateFlowSignReviewResponse < TencentCloud::Common::AbstractModel
433
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
434
+ # @type RequestId: String
435
+
436
+ attr_accessor :RequestId
437
+
438
+ def initialize(requestid=nil)
439
+ @RequestId = requestid
440
+ end
441
+
442
+ def deserialize(params)
443
+ @RequestId = params['RequestId']
444
+ end
445
+ end
446
+
397
447
  # ChannelCreateMultiFlowSignQRCode请求参数结构体
398
448
  class ChannelCreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
399
449
  # @param Agent: 渠道应用相关信息。
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.385
4
+ version: 3.0.386
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common