tencentcloud-sdk-ess 3.0.465 → 3.0.467
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +1 -2
- data/lib/v20201111/models.rb +79 -43
- 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: ec58bfd88b3a1b3bbc22fe5ce14e9d722d9ccafe
|
4
|
+
data.tar.gz: 5d97217c6f7c528acbda719df971fcf08d096f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82825a3342346f1e6fda3c0c687e3476a3a389b05fcc6aa41e919982ccc56613547610693e51ef53369aae5406e59772b1ecf9becad45524a2c83a992d697b99
|
7
|
+
data.tar.gz: 20b8027e7023bd9b7dedf157588aec699b97943f12b35deefb18c5a58d95270453861ef3312b81b67c0345f9da25fdc77cc7884cbfec1fa8b0277b325e9ecdc4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.467
|
data/lib/v20201111/client.rb
CHANGED
@@ -633,8 +633,7 @@ module TencentCloud
|
|
633
633
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
634
634
|
end
|
635
635
|
|
636
|
-
#
|
637
|
-
# 适用场景:当模板较多或模板中的控件较多时,可以通过查询模板接口更方便的获取自己主体下的模板列表,以及每个模板内的控件信息。该接口常用来配合“创建电子文档”接口作为前置的接口使用。
|
636
|
+
# 当模板较多或模板中的控件较多时,可以通过查询模板接口更方便的获取模板列表,以及每个模板内的控件信息。该接口常用来配合“创建电子文档”接口作为前置的接口使用。
|
638
637
|
|
639
638
|
# @param request: Request instance for DescribeFlowTemplates.
|
640
639
|
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeFlowTemplatesRequest`
|
data/lib/v20201111/models.rb
CHANGED
@@ -337,31 +337,33 @@ module TencentCloud
|
|
337
337
|
# 如果是SignComponent控件类型,则可选的字段为
|
338
338
|
# SIGN_SEAL - 签署印章控件;
|
339
339
|
# SIGN_DATE - 签署日期控件;
|
340
|
-
# DATE, 日期控件,默认是格式化为xxxx年xx月xx日
|
341
340
|
# SIGN_SIGNATURE - 用户签名控件;
|
342
341
|
# SIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);
|
343
342
|
# SIGN_PAGING_SEAL - 骑缝章;若文件发起,需要对应填充ComponentPosY、ComponentWidth、ComponentHeight
|
343
|
+
# SIGN_OPINION - 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认
|
344
344
|
|
345
345
|
# 表单域的控件不能作为印章和签名控件
|
346
346
|
# @type ComponentType: String
|
347
|
-
# @param
|
348
|
-
# @type
|
347
|
+
# @param FileIndex: 控件所属文件的序号(模板中的resourceId排列序号,取值为:0-N)
|
348
|
+
# @type FileIndex: Integer
|
349
349
|
# @param ComponentHeight: 参数控件高度,单位pt
|
350
350
|
# @type ComponentHeight: Float
|
351
|
+
# @param ComponentWidth: 参数控件宽度,单位pt
|
352
|
+
# @type ComponentWidth: Float
|
351
353
|
# @param ComponentPage: 参数控件所在页码,取值为:1-N
|
352
354
|
# @type ComponentPage: Integer
|
353
355
|
# @param ComponentPosX: 参数控件X位置,单位pt
|
354
356
|
# @type ComponentPosX: Float
|
355
357
|
# @param ComponentPosY: 参数控件Y位置,单位pt
|
356
358
|
# @type ComponentPosY: Float
|
357
|
-
# @param FileIndex: 控件所属文件的序号(模板中的resourceId排列序号,取值为:0-N)
|
358
|
-
# @type FileIndex: Integer
|
359
359
|
# @param ComponentId: GenerateMode==KEYWORD 指定关键字
|
360
360
|
# @type ComponentId: String
|
361
361
|
# @param ComponentName: GenerateMode==FIELD 指定表单域名称
|
362
362
|
# @type ComponentName: String
|
363
363
|
# @param ComponentRequired: 是否必选,默认为false
|
364
364
|
# @type ComponentRequired: Boolean
|
365
|
+
# @param ComponentRecipientId: 控件关联的签署人ID
|
366
|
+
# @type ComponentRecipientId: String
|
365
367
|
# @param ComponentExtra: 扩展参数:
|
366
368
|
# 为JSON格式。
|
367
369
|
|
@@ -378,8 +380,8 @@ module TencentCloud
|
|
378
380
|
# ESIGN -- 个人印章类型
|
379
381
|
# 如:{“ComponentTypeLimit”: [“BORDERLESS_ESIGN”]}
|
380
382
|
# @type ComponentExtra: String
|
381
|
-
# @param
|
382
|
-
# @type
|
383
|
+
# @param IsFormType: 是否是表单域类型,默认不存在
|
384
|
+
# @type IsFormType: Boolean
|
383
385
|
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
384
386
|
# TEXT - 文本内容
|
385
387
|
# MULTI_LINE_TEXT - 文本内容
|
@@ -391,18 +393,20 @@ module TencentCloud
|
|
391
393
|
# SIGN_SEAL - 印章ID,于控制台查询获取
|
392
394
|
# SIGN_PAGING_SEAL - 可以指定印章ID,于控制台查询获取
|
393
395
|
# @type ComponentValue: String
|
394
|
-
# @param IsFormType: 是否是表单域类型,默认不存在
|
395
|
-
# @type IsFormType: Boolean
|
396
396
|
# @param GenerateMode: NORMAL 正常模式,使用坐标制定签署控件位置
|
397
397
|
# FIELD 表单域,需使用ComponentName指定表单域名称
|
398
398
|
# KEYWORD 关键字,使用ComponentId指定关键字
|
399
399
|
# @type GenerateMode: String
|
400
|
-
# @param ComponentDateFontSize:
|
400
|
+
# @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
|
401
401
|
# @type ComponentDateFontSize: Integer
|
402
|
+
# @param ChannelComponentId: 渠道版控件 id 标识
|
403
|
+
# @type ChannelComponentId: String
|
402
404
|
# @param OffsetX: 指定关键字时横坐标偏移量,单位pt
|
403
405
|
# @type OffsetX: Float
|
404
406
|
# @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
|
405
407
|
# @type OffsetY: Float
|
408
|
+
# @param ChannelComponentSource: //渠道子客控件来源。0-渠道指定;1-用户自定义
|
409
|
+
# @type ChannelComponentSource: Integer
|
406
410
|
# @param KeywordOrder: 指定关键字排序规则,Positive-正序,Reverse-倒序。传入Positive时会根据关键字在PDF文件内的顺序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的第一个关键字。
|
407
411
|
# 传入Reverse时会根据关键字在PDF文件内的反序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的最后一个关键字。
|
408
412
|
# @type KeywordOrder: String
|
@@ -413,27 +417,29 @@ module TencentCloud
|
|
413
417
|
# @param KeywordIndexes: 关键字索引,可选参数,如果一个关键字在PDF文件中存在多个,可以通过关键字索引指定使用第几个关键字作为最后的结果,可指定多个索引。示例:[0,2],说明使用PDF文件内第1个和第3个关键字位置。
|
414
418
|
# @type KeywordIndexes: Array
|
415
419
|
|
416
|
-
attr_accessor :ComponentType, :
|
420
|
+
attr_accessor :ComponentType, :FileIndex, :ComponentHeight, :ComponentWidth, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentId, :ComponentName, :ComponentRequired, :ComponentRecipientId, :ComponentExtra, :IsFormType, :ComponentValue, :GenerateMode, :ComponentDateFontSize, :ChannelComponentId, :OffsetX, :OffsetY, :ChannelComponentSource, :KeywordOrder, :KeywordPage, :RelativeLocation, :KeywordIndexes
|
417
421
|
|
418
|
-
def initialize(componenttype=nil,
|
422
|
+
def initialize(componenttype=nil, fileindex=nil, componentheight=nil, componentwidth=nil, componentpage=nil, componentposx=nil, componentposy=nil, componentid=nil, componentname=nil, componentrequired=nil, componentrecipientid=nil, componentextra=nil, isformtype=nil, componentvalue=nil, generatemode=nil, componentdatefontsize=nil, channelcomponentid=nil, offsetx=nil, offsety=nil, channelcomponentsource=nil, keywordorder=nil, keywordpage=nil, relativelocation=nil, keywordindexes=nil)
|
419
423
|
@ComponentType = componenttype
|
420
|
-
@
|
424
|
+
@FileIndex = fileindex
|
421
425
|
@ComponentHeight = componentheight
|
426
|
+
@ComponentWidth = componentwidth
|
422
427
|
@ComponentPage = componentpage
|
423
428
|
@ComponentPosX = componentposx
|
424
429
|
@ComponentPosY = componentposy
|
425
|
-
@FileIndex = fileindex
|
426
430
|
@ComponentId = componentid
|
427
431
|
@ComponentName = componentname
|
428
432
|
@ComponentRequired = componentrequired
|
429
|
-
@ComponentExtra = componentextra
|
430
433
|
@ComponentRecipientId = componentrecipientid
|
431
|
-
@
|
434
|
+
@ComponentExtra = componentextra
|
432
435
|
@IsFormType = isformtype
|
436
|
+
@ComponentValue = componentvalue
|
433
437
|
@GenerateMode = generatemode
|
434
438
|
@ComponentDateFontSize = componentdatefontsize
|
439
|
+
@ChannelComponentId = channelcomponentid
|
435
440
|
@OffsetX = offsetx
|
436
441
|
@OffsetY = offsety
|
442
|
+
@ChannelComponentSource = channelcomponentsource
|
437
443
|
@KeywordOrder = keywordorder
|
438
444
|
@KeywordPage = keywordpage
|
439
445
|
@RelativeLocation = relativelocation
|
@@ -442,23 +448,25 @@ module TencentCloud
|
|
442
448
|
|
443
449
|
def deserialize(params)
|
444
450
|
@ComponentType = params['ComponentType']
|
445
|
-
@
|
451
|
+
@FileIndex = params['FileIndex']
|
446
452
|
@ComponentHeight = params['ComponentHeight']
|
453
|
+
@ComponentWidth = params['ComponentWidth']
|
447
454
|
@ComponentPage = params['ComponentPage']
|
448
455
|
@ComponentPosX = params['ComponentPosX']
|
449
456
|
@ComponentPosY = params['ComponentPosY']
|
450
|
-
@FileIndex = params['FileIndex']
|
451
457
|
@ComponentId = params['ComponentId']
|
452
458
|
@ComponentName = params['ComponentName']
|
453
459
|
@ComponentRequired = params['ComponentRequired']
|
454
|
-
@ComponentExtra = params['ComponentExtra']
|
455
460
|
@ComponentRecipientId = params['ComponentRecipientId']
|
456
|
-
@
|
461
|
+
@ComponentExtra = params['ComponentExtra']
|
457
462
|
@IsFormType = params['IsFormType']
|
463
|
+
@ComponentValue = params['ComponentValue']
|
458
464
|
@GenerateMode = params['GenerateMode']
|
459
465
|
@ComponentDateFontSize = params['ComponentDateFontSize']
|
466
|
+
@ChannelComponentId = params['ChannelComponentId']
|
460
467
|
@OffsetX = params['OffsetX']
|
461
468
|
@OffsetY = params['OffsetY']
|
469
|
+
@ChannelComponentSource = params['ChannelComponentSource']
|
462
470
|
@KeywordOrder = params['KeywordOrder']
|
463
471
|
@KeywordPage = params['KeywordPage']
|
464
472
|
@RelativeLocation = params['RelativeLocation']
|
@@ -1803,29 +1811,42 @@ module TencentCloud
|
|
1803
1811
|
class DescribeFlowTemplatesRequest < TencentCloud::Common::AbstractModel
|
1804
1812
|
# @param Operator: 调用方用户信息,userId 必填
|
1805
1813
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1806
|
-
# @param
|
1807
|
-
# @type
|
1808
|
-
# @param
|
1809
|
-
# @type
|
1814
|
+
# @param Organization: 企业组织相关信息
|
1815
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
1816
|
+
# @param Agent: 应用相关信息
|
1817
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1810
1818
|
# @param Offset: 查询偏移位置,默认0
|
1811
1819
|
# @type Offset: Integer
|
1812
|
-
# @param
|
1813
|
-
# @type
|
1820
|
+
# @param Limit: 查询个数,默认20,最大200
|
1821
|
+
# @type Limit: Integer
|
1822
|
+
# @param Filters: 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
|
1823
|
+
# @type Filters: Array
|
1824
|
+
# @param ApplicationId: 这个参数跟下面的IsChannel参数配合使用。
|
1825
|
+
# IsChannel=false时,ApplicationId参数不起任何作用。
|
1826
|
+
# IsChannel=true时,ApplicationId为空,查询所有渠道模板列表;ApplicationId不为空,查询指定渠道下的模板列表
|
1827
|
+
# ApplicationId为空,查询渠道模板列表
|
1828
|
+
# @type ApplicationId: String
|
1829
|
+
# @param IsChannel: 默认为false,查询SaaS模板库列表;
|
1830
|
+
# 为true,查询渠道模板库管理列表
|
1831
|
+
# @type IsChannel: Boolean
|
1814
1832
|
# @param GenerateSource: 暂未开放
|
1815
1833
|
# @type GenerateSource: Integer
|
1816
|
-
# @param
|
1817
|
-
# @type
|
1834
|
+
# @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
|
1835
|
+
# @type ContentType: Integer
|
1818
1836
|
|
1819
|
-
attr_accessor :Operator, :
|
1837
|
+
attr_accessor :Operator, :Organization, :Agent, :Offset, :Limit, :Filters, :ApplicationId, :IsChannel, :GenerateSource, :ContentType
|
1820
1838
|
|
1821
|
-
def initialize(operator=nil,
|
1839
|
+
def initialize(operator=nil, organization=nil, agent=nil, offset=nil, limit=nil, filters=nil, applicationid=nil, ischannel=nil, generatesource=nil, contenttype=nil)
|
1822
1840
|
@Operator = operator
|
1823
|
-
@
|
1824
|
-
@
|
1841
|
+
@Organization = organization
|
1842
|
+
@Agent = agent
|
1825
1843
|
@Offset = offset
|
1826
|
-
@
|
1844
|
+
@Limit = limit
|
1845
|
+
@Filters = filters
|
1846
|
+
@ApplicationId = applicationid
|
1847
|
+
@IsChannel = ischannel
|
1827
1848
|
@GenerateSource = generatesource
|
1828
|
-
@
|
1849
|
+
@ContentType = contenttype
|
1829
1850
|
end
|
1830
1851
|
|
1831
1852
|
def deserialize(params)
|
@@ -1833,6 +1854,16 @@ module TencentCloud
|
|
1833
1854
|
@Operator = UserInfo.new
|
1834
1855
|
@Operator.deserialize(params['Operator'])
|
1835
1856
|
end
|
1857
|
+
unless params['Organization'].nil?
|
1858
|
+
@Organization = OrganizationInfo.new
|
1859
|
+
@Organization.deserialize(params['Organization'])
|
1860
|
+
end
|
1861
|
+
unless params['Agent'].nil?
|
1862
|
+
@Agent = Agent.new
|
1863
|
+
@Agent.deserialize(params['Agent'])
|
1864
|
+
end
|
1865
|
+
@Offset = params['Offset']
|
1866
|
+
@Limit = params['Limit']
|
1836
1867
|
unless params['Filters'].nil?
|
1837
1868
|
@Filters = []
|
1838
1869
|
params['Filters'].each do |i|
|
@@ -1841,14 +1872,10 @@ module TencentCloud
|
|
1841
1872
|
@Filters << filter_tmp
|
1842
1873
|
end
|
1843
1874
|
end
|
1844
|
-
@
|
1845
|
-
@
|
1846
|
-
@ContentType = params['ContentType']
|
1875
|
+
@ApplicationId = params['ApplicationId']
|
1876
|
+
@IsChannel = params['IsChannel']
|
1847
1877
|
@GenerateSource = params['GenerateSource']
|
1848
|
-
|
1849
|
-
@Agent = Agent.new
|
1850
|
-
@Agent.deserialize(params['Agent'])
|
1851
|
-
end
|
1878
|
+
@ContentType = params['ContentType']
|
1852
1879
|
end
|
1853
1880
|
end
|
1854
1881
|
|
@@ -3123,10 +3150,15 @@ module TencentCloud
|
|
3123
3150
|
# @type CreatedOn: Integer
|
3124
3151
|
# @param Promoter: 发起人角色信息
|
3125
3152
|
# @type Promoter: :class:`Tencentcloud::Ess.v20201111.models.Recipient`
|
3153
|
+
# @param OrganizationId: 模板创建组织id
|
3154
|
+
# @type OrganizationId: String
|
3155
|
+
# @param PreviewUrl: 模板预览链接
|
3156
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3157
|
+
# @type PreviewUrl: String
|
3126
3158
|
|
3127
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter
|
3159
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter, :OrganizationId, :PreviewUrl
|
3128
3160
|
|
3129
|
-
def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil)
|
3161
|
+
def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil, organizationid=nil, previewurl=nil)
|
3130
3162
|
@TemplateId = templateid
|
3131
3163
|
@TemplateName = templatename
|
3132
3164
|
@Description = description
|
@@ -3141,6 +3173,8 @@ module TencentCloud
|
|
3141
3173
|
@Creator = creator
|
3142
3174
|
@CreatedOn = createdon
|
3143
3175
|
@Promoter = promoter
|
3176
|
+
@OrganizationId = organizationid
|
3177
|
+
@PreviewUrl = previewurl
|
3144
3178
|
end
|
3145
3179
|
|
3146
3180
|
def deserialize(params)
|
@@ -3189,6 +3223,8 @@ module TencentCloud
|
|
3189
3223
|
@Promoter = Recipient.new
|
3190
3224
|
@Promoter.deserialize(params['Promoter'])
|
3191
3225
|
end
|
3226
|
+
@OrganizationId = params['OrganizationId']
|
3227
|
+
@PreviewUrl = params['PreviewUrl']
|
3192
3228
|
end
|
3193
3229
|
end
|
3194
3230
|
|
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.
|
4
|
+
version: 3.0.467
|
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-12-
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|