tencentcloud-sdk-essbasic 3.0.1016 → 3.0.1017
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210526/client.rb +28 -0
- data/lib/v20210526/models.rb +132 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fb42475cd62c44ca67f1ba2bdcd589577381808
|
4
|
+
data.tar.gz: a06114f087e70294bfcb74729319b6c4e6103885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cc495e0eb9252ca421a4a59d35c10a8f9fea60d4714edc6a971a9142589105509f071ab41d57c5439e66abf4e635394478b9305c278f1cfe65802970cdc9a22
|
7
|
+
data.tar.gz: cd09af4915c3b043839b51e50c5baaffaa006b7fd326edaf4f74f719481843d4494fe71aa19cec2fce2529599616d997abd5ece8554f3866768176c7b11d9355
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1017
|
data/lib/v20210526/client.rb
CHANGED
@@ -2855,6 +2855,34 @@ module TencentCloud
|
|
2855
2855
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2856
2856
|
end
|
2857
2857
|
|
2858
|
+
# 查询用户模版类型,分为两种模式:
|
2859
|
+
# <ul>
|
2860
|
+
# <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
|
2861
|
+
# <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
|
2862
|
+
# </ul>
|
2863
|
+
|
2864
|
+
# @param request: Request instance for DescribeUserFlowType.
|
2865
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::DescribeUserFlowTypeRequest`
|
2866
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::DescribeUserFlowTypeResponse`
|
2867
|
+
def DescribeUserFlowType(request)
|
2868
|
+
body = send_request('DescribeUserFlowType', request.serialize)
|
2869
|
+
response = JSON.parse(body)
|
2870
|
+
if response['Response'].key?('Error') == false
|
2871
|
+
model = DescribeUserFlowTypeResponse.new
|
2872
|
+
model.deserialize(response['Response'])
|
2873
|
+
model
|
2874
|
+
else
|
2875
|
+
code = response['Response']['Error']['Code']
|
2876
|
+
message = response['Response']['Error']['Message']
|
2877
|
+
reqid = response['Response']['RequestId']
|
2878
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2879
|
+
end
|
2880
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2881
|
+
raise e
|
2882
|
+
rescue StandardError => e
|
2883
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2884
|
+
end
|
2885
|
+
|
2858
2886
|
# 此接口(GetDownloadFlowUrl)用户获取合同控制台下载页面链接, 点击链接后会跳转至本企业合同管理控制台(会筛选出传入的合同列表), 点击**下载**按钮后就会下载传入的合同列表, 下载页面如下图
|
2859
2887
|
# 
|
2860
2888
|
|
data/lib/v20210526/models.rb
CHANGED
@@ -8032,13 +8032,15 @@ module TencentCloud
|
|
8032
8032
|
# @type WithPdfUrl: Boolean
|
8033
8033
|
# @param Operator: 操作者的信息
|
8034
8034
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
8035
|
+
# @param UserFlowTypeId: 用户合同类型id
|
8036
|
+
# @type UserFlowTypeId: String
|
8035
8037
|
|
8036
|
-
attr_accessor :Agent, :TemplateId, :ContentType, :TemplateIds, :Limit, :Offset, :TemplateName, :ChannelTemplateId, :QueryAllComponents, :WithPreviewUrl, :WithPdfUrl, :Operator
|
8038
|
+
attr_accessor :Agent, :TemplateId, :ContentType, :TemplateIds, :Limit, :Offset, :TemplateName, :ChannelTemplateId, :QueryAllComponents, :WithPreviewUrl, :WithPdfUrl, :Operator, :UserFlowTypeId
|
8037
8039
|
extend Gem::Deprecate
|
8038
8040
|
deprecate :Operator, :none, 2025, 3
|
8039
8041
|
deprecate :Operator=, :none, 2025, 3
|
8040
8042
|
|
8041
|
-
def initialize(agent=nil, templateid=nil, contenttype=nil, templateids=nil, limit=nil, offset=nil, templatename=nil, channeltemplateid=nil, queryallcomponents=nil, withpreviewurl=nil, withpdfurl=nil, operator=nil)
|
8043
|
+
def initialize(agent=nil, templateid=nil, contenttype=nil, templateids=nil, limit=nil, offset=nil, templatename=nil, channeltemplateid=nil, queryallcomponents=nil, withpreviewurl=nil, withpdfurl=nil, operator=nil, userflowtypeid=nil)
|
8042
8044
|
@Agent = agent
|
8043
8045
|
@TemplateId = templateid
|
8044
8046
|
@ContentType = contenttype
|
@@ -8051,6 +8053,7 @@ module TencentCloud
|
|
8051
8053
|
@WithPreviewUrl = withpreviewurl
|
8052
8054
|
@WithPdfUrl = withpdfurl
|
8053
8055
|
@Operator = operator
|
8056
|
+
@UserFlowTypeId = userflowtypeid
|
8054
8057
|
end
|
8055
8058
|
|
8056
8059
|
def deserialize(params)
|
@@ -8072,6 +8075,7 @@ module TencentCloud
|
|
8072
8075
|
@Operator = UserInfo.new
|
8073
8076
|
@Operator.deserialize(params['Operator'])
|
8074
8077
|
end
|
8078
|
+
@UserFlowTypeId = params['UserFlowTypeId']
|
8075
8079
|
end
|
8076
8080
|
end
|
8077
8081
|
|
@@ -8209,6 +8213,71 @@ module TencentCloud
|
|
8209
8213
|
end
|
8210
8214
|
end
|
8211
8215
|
|
8216
|
+
# DescribeUserFlowType请求参数结构体
|
8217
|
+
class DescribeUserFlowTypeRequest < TencentCloud::Common::AbstractModel
|
8218
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 此接口下面信息必填。 <ul> <li>渠道应用标识: Agent.AppId</li> <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li> <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li> </ul> 第三方平台子客企业和员工必须已经经过实名认证
|
8219
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
8220
|
+
# @param Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
|
8221
|
+
# @type Filters: Array
|
8222
|
+
# @param QueryBindTemplate: 查询绑定了模版的用户合同类型
|
8223
|
+
# <ul>
|
8224
|
+
# <li>false(默认值),查询用户合同类型</li>
|
8225
|
+
# <li>true,查询绑定了模版的用户合同类型</li>
|
8226
|
+
# </ul>
|
8227
|
+
# @type QueryBindTemplate: Boolean
|
8228
|
+
|
8229
|
+
attr_accessor :Agent, :Filters, :QueryBindTemplate
|
8230
|
+
|
8231
|
+
def initialize(agent=nil, filters=nil, querybindtemplate=nil)
|
8232
|
+
@Agent = agent
|
8233
|
+
@Filters = filters
|
8234
|
+
@QueryBindTemplate = querybindtemplate
|
8235
|
+
end
|
8236
|
+
|
8237
|
+
def deserialize(params)
|
8238
|
+
unless params['Agent'].nil?
|
8239
|
+
@Agent = Agent.new
|
8240
|
+
@Agent.deserialize(params['Agent'])
|
8241
|
+
end
|
8242
|
+
unless params['Filters'].nil?
|
8243
|
+
@Filters = []
|
8244
|
+
params['Filters'].each do |i|
|
8245
|
+
filter_tmp = Filter.new
|
8246
|
+
filter_tmp.deserialize(i)
|
8247
|
+
@Filters << filter_tmp
|
8248
|
+
end
|
8249
|
+
end
|
8250
|
+
@QueryBindTemplate = params['QueryBindTemplate']
|
8251
|
+
end
|
8252
|
+
end
|
8253
|
+
|
8254
|
+
# DescribeUserFlowType返回参数结构体
|
8255
|
+
class DescribeUserFlowTypeResponse < TencentCloud::Common::AbstractModel
|
8256
|
+
# @param AllUserFlowTypes: 查询到的所有用户合同类型列表
|
8257
|
+
# @type AllUserFlowTypes: Array
|
8258
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8259
|
+
# @type RequestId: String
|
8260
|
+
|
8261
|
+
attr_accessor :AllUserFlowTypes, :RequestId
|
8262
|
+
|
8263
|
+
def initialize(alluserflowtypes=nil, requestid=nil)
|
8264
|
+
@AllUserFlowTypes = alluserflowtypes
|
8265
|
+
@RequestId = requestid
|
8266
|
+
end
|
8267
|
+
|
8268
|
+
def deserialize(params)
|
8269
|
+
unless params['AllUserFlowTypes'].nil?
|
8270
|
+
@AllUserFlowTypes = []
|
8271
|
+
params['AllUserFlowTypes'].each do |i|
|
8272
|
+
templateuserflowtype_tmp = TemplateUserFlowType.new
|
8273
|
+
templateuserflowtype_tmp.deserialize(i)
|
8274
|
+
@AllUserFlowTypes << templateuserflowtype_tmp
|
8275
|
+
end
|
8276
|
+
end
|
8277
|
+
@RequestId = params['RequestId']
|
8278
|
+
end
|
8279
|
+
end
|
8280
|
+
|
8212
8281
|
# 视频认证结果
|
8213
8282
|
class DetectInfoVideoData < TencentCloud::Common::AbstractModel
|
8214
8283
|
# @param LiveNessVideo: 活体视频的base64编码,mp4格式
|
@@ -11779,13 +11848,15 @@ module TencentCloud
|
|
11779
11848
|
# <ul><li>1:启用(默认),表示模板处于启用状态,可以被用户正常使用。</li>
|
11780
11849
|
# <li>2:停用,表示模板处于停用状态,禁止用户使用该模板。</li></ul>
|
11781
11850
|
# @type Available: Integer
|
11851
|
+
# @param UserFlowType: 模版的用户合同类型
|
11852
|
+
# @type UserFlowType: :class:`Tencentcloud::Essbasic.v20210526.models.UserFlowType`
|
11782
11853
|
|
11783
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :Recipients, :SignComponents, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl, :PdfUrl, :ChannelTemplateId, :ChannelTemplateName, :ChannelAutoSave, :TemplateVersion, :Available
|
11854
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :Recipients, :SignComponents, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl, :PdfUrl, :ChannelTemplateId, :ChannelTemplateName, :ChannelAutoSave, :TemplateVersion, :Available, :UserFlowType
|
11784
11855
|
extend Gem::Deprecate
|
11785
11856
|
deprecate :IsPromoter, :none, 2025, 3
|
11786
11857
|
deprecate :IsPromoter=, :none, 2025, 3
|
11787
11858
|
|
11788
|
-
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, recipients=nil, signcomponents=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil, previewurl=nil, pdfurl=nil, channeltemplateid=nil, channeltemplatename=nil, channelautosave=nil, templateversion=nil, available=nil)
|
11859
|
+
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, recipients=nil, signcomponents=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil, previewurl=nil, pdfurl=nil, channeltemplateid=nil, channeltemplatename=nil, channelautosave=nil, templateversion=nil, available=nil, userflowtype=nil)
|
11789
11860
|
@TemplateId = templateid
|
11790
11861
|
@TemplateName = templatename
|
11791
11862
|
@Description = description
|
@@ -11803,6 +11874,7 @@ module TencentCloud
|
|
11803
11874
|
@ChannelAutoSave = channelautosave
|
11804
11875
|
@TemplateVersion = templateversion
|
11805
11876
|
@Available = available
|
11877
|
+
@UserFlowType = userflowtype
|
11806
11878
|
end
|
11807
11879
|
|
11808
11880
|
def deserialize(params)
|
@@ -11844,6 +11916,38 @@ module TencentCloud
|
|
11844
11916
|
@ChannelAutoSave = params['ChannelAutoSave']
|
11845
11917
|
@TemplateVersion = params['TemplateVersion']
|
11846
11918
|
@Available = params['Available']
|
11919
|
+
unless params['UserFlowType'].nil?
|
11920
|
+
@UserFlowType = UserFlowType.new
|
11921
|
+
@UserFlowType.deserialize(params['UserFlowType'])
|
11922
|
+
end
|
11923
|
+
end
|
11924
|
+
end
|
11925
|
+
|
11926
|
+
# 模版对应的合同类型
|
11927
|
+
class TemplateUserFlowType < TencentCloud::Common::AbstractModel
|
11928
|
+
# @param UserFlowTypeId: 合同类型id
|
11929
|
+
# @type UserFlowTypeId: String
|
11930
|
+
# @param Name: 用户合同类型名称
|
11931
|
+
# @type Name: String
|
11932
|
+
# @param TemplateNum: 每个合同类型绑定的模版数量
|
11933
|
+
# @type TemplateNum: Integer
|
11934
|
+
# @param Description: 合同类型的具体描述
|
11935
|
+
# @type Description: String
|
11936
|
+
|
11937
|
+
attr_accessor :UserFlowTypeId, :Name, :TemplateNum, :Description
|
11938
|
+
|
11939
|
+
def initialize(userflowtypeid=nil, name=nil, templatenum=nil, description=nil)
|
11940
|
+
@UserFlowTypeId = userflowtypeid
|
11941
|
+
@Name = name
|
11942
|
+
@TemplateNum = templatenum
|
11943
|
+
@Description = description
|
11944
|
+
end
|
11945
|
+
|
11946
|
+
def deserialize(params)
|
11947
|
+
@UserFlowTypeId = params['UserFlowTypeId']
|
11948
|
+
@Name = params['Name']
|
11949
|
+
@TemplateNum = params['TemplateNum']
|
11950
|
+
@Description = params['Description']
|
11847
11951
|
end
|
11848
11952
|
end
|
11849
11953
|
|
@@ -11992,6 +12096,30 @@ module TencentCloud
|
|
11992
12096
|
end
|
11993
12097
|
end
|
11994
12098
|
|
12099
|
+
# 用户合同类型信息
|
12100
|
+
class UserFlowType < TencentCloud::Common::AbstractModel
|
12101
|
+
# @param UserFlowTypeId: 用户合同类型id
|
12102
|
+
# @type UserFlowTypeId: String
|
12103
|
+
# @param Name: 用户合同类型名称
|
12104
|
+
# @type Name: String
|
12105
|
+
# @param Description: 用户合同类型的描述信息
|
12106
|
+
# @type Description: String
|
12107
|
+
|
12108
|
+
attr_accessor :UserFlowTypeId, :Name, :Description
|
12109
|
+
|
12110
|
+
def initialize(userflowtypeid=nil, name=nil, description=nil)
|
12111
|
+
@UserFlowTypeId = userflowtypeid
|
12112
|
+
@Name = name
|
12113
|
+
@Description = description
|
12114
|
+
end
|
12115
|
+
|
12116
|
+
def deserialize(params)
|
12117
|
+
@UserFlowTypeId = params['UserFlowTypeId']
|
12118
|
+
@Name = params['Name']
|
12119
|
+
@Description = params['Description']
|
12120
|
+
end
|
12121
|
+
end
|
12122
|
+
|
11995
12123
|
# 接口调用的员工信息
|
11996
12124
|
class UserInfo < TencentCloud::Common::AbstractModel
|
11997
12125
|
# @param OpenId: 第三方应用平台自定义,对应第三方平台子客企业员工的唯一标识。
|
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.
|
4
|
+
version: 3.0.1017
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|