tencentcloud-sdk-lke 3.0.1199 → 3.0.1206

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20231130/models.rb +104 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b18dc8c3f22e573ef700b0abd63da4fabd021e98
4
- data.tar.gz: 36fb723d9c5ca48194efd53ef6469e96a5ea47f3
3
+ metadata.gz: 15978ceb30ca673426bad61e6c3550813a4bcd6b
4
+ data.tar.gz: d4a80206044d1fc7a0cc85e0fdf7196cd51f8038
5
5
  SHA512:
6
- metadata.gz: c24077d7238a60d64880458d7a9bef64430e0acbb3fc532c0de6bed0e2a7a52f744d69b8f7578f75f5647921a76c6a3ca5fcf46e381d94fcd86dc5c35669f3e8
7
- data.tar.gz: 0bdd50227d0d1546e54ef67578f29ffeaa193a8946a88352e28cd237bc6c701ea2a89ed2880bc92bc1ea5ad43f7057975a4df0b63b312ffce5ba0b7c6457a3da
6
+ metadata.gz: 9c09bc8ae0c2e9873fefa54567c38fafe817755f6f46ca35287b6a1f0d62a7cca559b351ea437a42b7f91d9d8460aadd97f546a61680c82234d5b5f0c3156fb4
7
+ data.tar.gz: 59aa47ee7bce632132d5886f14bbeeade7c332fe2895e90d5f1a5131691224974fdbdcb757ab2a576ec1ab1546bfc6fb2a61862393520a58428cf4e959747e56
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1199
1
+ 3.0.1206
@@ -1112,10 +1112,14 @@ module TencentCloud
1112
1112
  # @type FinanceType: Integer
1113
1113
  # @param ToolAdvanceConfig: 工具高级设置
1114
1114
  # @type ToolAdvanceConfig: :class:`Tencentcloud::Lke.v20231130.models.ToolAdvanceConfig`
1115
+ # @param AuthMode: 授权模式; 0-开发者授权;1-使用者授权
1116
+ # @type AuthMode: Integer
1117
+ # @param AuthType: 授权类型; 0-无鉴权;1-APIKey;2-CAM授权;3-Oauth2.0授权;
1118
+ # @type AuthType: Integer
1115
1119
 
1116
- attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus, :ToolSource, :FinanceType, :ToolAdvanceConfig
1120
+ attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus, :ToolSource, :FinanceType, :ToolAdvanceConfig, :AuthMode, :AuthType
1117
1121
 
1118
- def initialize(pluginid=nil, pluginname=nil, iconurl=nil, plugintype=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, outputs=nil, createtype=nil, mcpserver=nil, isbindingknowledge=nil, status=nil, headers=nil, callingmethod=nil, query=nil, financestatus=nil, toolsource=nil, financetype=nil, tooladvanceconfig=nil)
1122
+ def initialize(pluginid=nil, pluginname=nil, iconurl=nil, plugintype=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, outputs=nil, createtype=nil, mcpserver=nil, isbindingknowledge=nil, status=nil, headers=nil, callingmethod=nil, query=nil, financestatus=nil, toolsource=nil, financetype=nil, tooladvanceconfig=nil, authmode=nil, authtype=nil)
1119
1123
  @PluginId = pluginid
1120
1124
  @PluginName = pluginname
1121
1125
  @IconUrl = iconurl
@@ -1136,6 +1140,8 @@ module TencentCloud
1136
1140
  @ToolSource = toolsource
1137
1141
  @FinanceType = financetype
1138
1142
  @ToolAdvanceConfig = tooladvanceconfig
1143
+ @AuthMode = authmode
1144
+ @AuthType = authtype
1139
1145
  end
1140
1146
 
1141
1147
  def deserialize(params)
@@ -1193,6 +1199,8 @@ module TencentCloud
1193
1199
  @ToolAdvanceConfig = ToolAdvanceConfig.new
1194
1200
  @ToolAdvanceConfig.deserialize(params['ToolAdvanceConfig'])
1195
1201
  end
1202
+ @AuthMode = params['AuthMode']
1203
+ @AuthType = params['AuthType']
1196
1204
  end
1197
1205
  end
1198
1206
 
@@ -1791,6 +1799,70 @@ module TencentCloud
1791
1799
  end
1792
1800
  end
1793
1801
 
1802
+ # 音频信息
1803
+ class Audio < TencentCloud::Common::AbstractModel
1804
+ # @param Format: 音频文件格式
1805
+ # @type Format: String
1806
+ # @param AudioUrl: 音频文件地址
1807
+ # @type AudioUrl: String
1808
+ # @param Title: 音频标题
1809
+ # 注意:此字段可能返回 null,表示取不到有效值。
1810
+ # @type Title: String
1811
+ # @param Position: 音频文件在正文中的位置
1812
+ # 注意:此字段可能返回 null,表示取不到有效值。
1813
+ # @type Position: Integer
1814
+ # @param AudioTranscripts: 音频转录后的文字列表
1815
+ # 注意:此字段可能返回 null,表示取不到有效值。
1816
+ # @type AudioTranscripts: Array
1817
+
1818
+ attr_accessor :Format, :AudioUrl, :Title, :Position, :AudioTranscripts
1819
+
1820
+ def initialize(format=nil, audiourl=nil, title=nil, position=nil, audiotranscripts=nil)
1821
+ @Format = format
1822
+ @AudioUrl = audiourl
1823
+ @Title = title
1824
+ @Position = position
1825
+ @AudioTranscripts = audiotranscripts
1826
+ end
1827
+
1828
+ def deserialize(params)
1829
+ @Format = params['Format']
1830
+ @AudioUrl = params['AudioUrl']
1831
+ @Title = params['Title']
1832
+ @Position = params['Position']
1833
+ unless params['AudioTranscripts'].nil?
1834
+ @AudioTranscripts = []
1835
+ params['AudioTranscripts'].each do |i|
1836
+ audiotranscript_tmp = AudioTranscript.new
1837
+ audiotranscript_tmp.deserialize(i)
1838
+ @AudioTranscripts << audiotranscript_tmp
1839
+ end
1840
+ end
1841
+ end
1842
+ end
1843
+
1844
+ # 音频转录的文本内容
1845
+ class AudioTranscript < TencentCloud::Common::AbstractModel
1846
+ # @param Speaker: 音频的发言者
1847
+ # 注意:此字段可能返回 null,表示取不到有效值。
1848
+ # @type Speaker: String
1849
+ # @param Transcript: 音频转录为文字后的内容
1850
+ # 注意:此字段可能返回 null,表示取不到有效值。
1851
+ # @type Transcript: String
1852
+
1853
+ attr_accessor :Speaker, :Transcript
1854
+
1855
+ def initialize(speaker=nil, transcript=nil)
1856
+ @Speaker = speaker
1857
+ @Transcript = transcript
1858
+ end
1859
+
1860
+ def deserialize(params)
1861
+ @Speaker = params['Speaker']
1862
+ @Transcript = params['Transcript']
1863
+ end
1864
+ end
1865
+
1794
1866
  # 背景图相关配置
1795
1867
  class BackgroundImageConfig < TencentCloud::Common::AbstractModel
1796
1868
  # @param LandscapeImageUrl: 横图(pc)
@@ -4151,7 +4223,7 @@ module TencentCloud
4151
4223
  # @type CosUrl: String
4152
4224
  # @param UpdateTime: 更新时间
4153
4225
  # @type UpdateTime: String
4154
- # @param Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
4226
+ # @param Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10,12-导入完成 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
4155
4227
  # @type Status: Integer
4156
4228
  # @param StatusDesc: 文档状态描述
4157
4229
  # @type StatusDesc: String
@@ -4463,7 +4535,7 @@ module TencentCloud
4463
4535
  # @type SourceDesc: String
4464
4536
  # @param UpdateTime: 更新时间
4465
4537
  # @type UpdateTime: String
4466
- # @param Status: 状态 <br>1-未校验 2-未发布 3-发布中 4-已发布 5-发布失败 6-不采纳 7-审核中 8-审核失败 9-审核失败申诉后人工审核中 11-审核失败申诉后人工审核不通过 12-已过期 13-超量失效 14-超量失效恢复 19-学习中 20-学习失败
4538
+ # @param Status: 状态 <br>1-未校验 2,4-导入完成 5-发布失败 6-不采纳 7-审核中 8-审核失败 9-审核失败申诉后人工审核中 11-审核失败申诉后人工审核不通过 12-已过期 13-超量失效 14-超量失效恢复 19-学习中 20-学习失败
4467
4539
  # @type Status: Integer
4468
4540
  # @param StatusDesc: 状态描述
4469
4541
  # @type StatusDesc: String
@@ -8308,11 +8380,11 @@ module TencentCloud
8308
8380
 
8309
8381
  # 输入特定标识 lke:system:untagged 将查询所有未关联标签的文档
8310
8382
  # @type Query: String
8311
- # @param Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
8383
+ # @param Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10,12-导入成功 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
8312
8384
  # @type Status: Array
8313
8385
  # @param QueryType: 查询类型 filename 文档、 attribute 标签
8314
8386
  # @type QueryType: String
8315
- # @param CateBizId: 分类ID, 调用接口[ListDocCate](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListDocCate)获取
8387
+ # @param CateBizId: 分类ID, 可以通过调用ListDocCate接口,查看其返回结果获取
8316
8388
  # @type CateBizId: String
8317
8389
  # @param FileTypes: 文件类型分类筛选
8318
8390
  # @type FileTypes: Array
@@ -8320,7 +8392,8 @@ module TencentCloud
8320
8392
  # @type FilterFlag: Array
8321
8393
  # @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
8322
8394
  # @type ShowCurrCate: Integer
8323
- # @param EnableScope: 文档生效域;不检索默认为0
8395
+ # @param EnableScope: 文档生效域;不检索默认为0。检索枚举值如下:
8396
+ # 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
8324
8397
  # @type EnableScope: Integer
8325
8398
 
8326
8399
  attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag, :ShowCurrCate, :EnableScope
@@ -8531,7 +8604,7 @@ module TencentCloud
8531
8604
  # @param AcceptStatus: 校验状态(1未校验2采纳3不采纳)
8532
8605
  # 如果不填默认值为空数组,表示不筛选,返回所有状态
8533
8606
  # @type AcceptStatus: Array
8534
- # @param ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)
8607
+ # @param ReleaseStatus: 发布状态(2,4导入成功 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)
8535
8608
  # 如果不填默认值为空数组,表示不筛选返回所有状态
8536
8609
  # @type ReleaseStatus: Array
8537
8610
  # @param DocBizId: 文档ID
@@ -8550,7 +8623,8 @@ module TencentCloud
8550
8623
  # @type QueryType: String
8551
8624
  # @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
8552
8625
  # @type ShowCurrCate: Integer
8553
- # @param EnableScope: // 知识生效作用域枚举值 enum RetrievalEnableScope { ENABLE_SCOPE_TYPE_UNKNOWN = 0; // 未知类型 ENABLE_SCOPE_TYPE_NONE = 1; // 停用 ENABLE_SCOPE_TYPE_DEV = 2; // 仅开发域 ENABLE_SCOPE_TYPE_RELEASE = 3; // 仅发布域 ENABLE_SCOPE_TYPE_ALL = 4; // 全域 } 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
8626
+ # @param EnableScope: 问答生效域检索,不检索不传。枚举值如下:
8627
+ # 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。
8554
8628
  # @type EnableScope: Integer
8555
8629
 
8556
8630
  attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType, :ShowCurrCate, :EnableScope
@@ -8794,13 +8868,17 @@ module TencentCloud
8794
8868
  class ListReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
8795
8869
  # @param List: 共享知识库信息列表
8796
8870
  # @type List: Array
8871
+ # @param Total: 共享知识库数量
8872
+ # 注意:此字段可能返回 null,表示取不到有效值。
8873
+ # @type Total: String
8797
8874
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8798
8875
  # @type RequestId: String
8799
8876
 
8800
- attr_accessor :List, :RequestId
8877
+ attr_accessor :List, :Total, :RequestId
8801
8878
 
8802
- def initialize(list=nil, requestid=nil)
8879
+ def initialize(list=nil, total=nil, requestid=nil)
8803
8880
  @List = list
8881
+ @Total = total
8804
8882
  @RequestId = requestid
8805
8883
  end
8806
8884
 
@@ -8813,6 +8891,7 @@ module TencentCloud
8813
8891
  @List << knowledgebaseinfo_tmp
8814
8892
  end
8815
8893
  end
8894
+ @Total = params['Total']
8816
8895
  @RequestId = params['RequestId']
8817
8896
  end
8818
8897
  end
@@ -10598,10 +10677,13 @@ module TencentCloud
10598
10677
  # @param WidgetAction: Widget动作信息
10599
10678
  # 注意:此字段可能返回 null,表示取不到有效值。
10600
10679
  # @type WidgetAction: :class:`Tencentcloud::Lke.v20231130.models.WidgetAction`
10680
+ # @param Audios: 音频信息
10681
+ # 注意:此字段可能返回 null,表示取不到有效值。
10682
+ # @type Audios: Array
10601
10683
 
10602
- attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos, :QuoteInfos, :AgentThought, :ExtraInfo, :WorkFlow, :Widgets, :WidgetAction
10684
+ attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos, :QuoteInfos, :AgentThought, :ExtraInfo, :WorkFlow, :Widgets, :WidgetAction, :Audios
10603
10685
 
10604
- def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil, fileinfos=nil, quoteinfos=nil, agentthought=nil, extrainfo=nil, workflow=nil, widgets=nil, widgetaction=nil)
10686
+ def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil, fileinfos=nil, quoteinfos=nil, agentthought=nil, extrainfo=nil, workflow=nil, widgets=nil, widgetaction=nil, audios=nil)
10605
10687
  @Content = content
10606
10688
  @SessionId = sessionid
10607
10689
  @RecordId = recordid
@@ -10630,6 +10712,7 @@ module TencentCloud
10630
10712
  @WorkFlow = workflow
10631
10713
  @Widgets = widgets
10632
10714
  @WidgetAction = widgetaction
10715
+ @Audios = audios
10633
10716
  end
10634
10717
 
10635
10718
  def deserialize(params)
@@ -10707,6 +10790,14 @@ module TencentCloud
10707
10790
  @WidgetAction = WidgetAction.new
10708
10791
  @WidgetAction.deserialize(params['WidgetAction'])
10709
10792
  end
10793
+ unless params['Audios'].nil?
10794
+ @Audios = []
10795
+ params['Audios'].each do |i|
10796
+ audio_tmp = Audio.new
10797
+ audio_tmp.deserialize(i)
10798
+ @Audios << audio_tmp
10799
+ end
10800
+ end
10710
10801
  end
10711
10802
  end
10712
10803
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1199
4
+ version: 3.0.1206
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-08 00:00:00.000000000 Z
11
+ date: 2026-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common