tencentcloud-sdk-ccc 3.0.931 → 3.0.932

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: 09f2a7bafbded12dae512978f65a0389bdefabca
4
- data.tar.gz: ad46ab49b10c7cfab932816adeb676b6e186e0eb
3
+ metadata.gz: 1ec3ac22ae851a57f3ee6b54b4ad147eeb702dd1
4
+ data.tar.gz: 39103d3d3e63b77e467304cd9e4fc038a5e4c585
5
5
  SHA512:
6
- metadata.gz: 4d1029dbcbe196ccacd9cc4fd5216922a3c2f364411b9bc12d0f989661b935694dca7e64b0607198a1080ecf6929e7b4efa9deeda9091aa79e3acf29e4be8365
7
- data.tar.gz: 093ad88781088f090fb7eba2f7d46612c0744e1182ecf9739be2e440294247e860f158c1f514808f9b9f53afda298e2f7f4fed2a056ec8d5257273536ab9f6ee
6
+ metadata.gz: d4920418b05b1bb2956a1dfad14789aea7569deb41438fdc7558bad6a22896fd423c5543c1fee691dce419af2d4bed5a1ab84d7824dca435fb0e86674b7ed7df
7
+ data.tar.gz: e3c1e058290b6d933d821ae7e842d631e7984109b8c628e21a76c35d3e602f907f13d917db7a726ee7902b2c25d652a3e52ee5c1d1e87c4d554b3adf14030e68
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.931
1
+ 3.0.932
@@ -1087,6 +1087,30 @@ module TencentCloud
1087
1087
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1088
1088
  end
1089
1089
 
1090
+ # 拉取会话录音转文本信息
1091
+
1092
+ # @param request: Request instance for DescribeTelRecordAsr.
1093
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeTelRecordAsrRequest`
1094
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeTelRecordAsrResponse`
1095
+ def DescribeTelRecordAsr(request)
1096
+ body = send_request('DescribeTelRecordAsr', request.serialize)
1097
+ response = JSON.parse(body)
1098
+ if response['Response'].key?('Error') == false
1099
+ model = DescribeTelRecordAsrResponse.new
1100
+ model.deserialize(response['Response'])
1101
+ model
1102
+ else
1103
+ code = response['Response']['Error']['Code']
1104
+ message = response['Response']['Error']['Message']
1105
+ reqid = response['Response']['RequestId']
1106
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1107
+ end
1108
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1109
+ raise e
1110
+ rescue StandardError => e
1111
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1112
+ end
1113
+
1090
1114
  # 获取 PSTN 会话信息
1091
1115
 
1092
1116
  # @param request: Request instance for DescribeTelSession.
@@ -81,6 +81,43 @@ module TencentCloud
81
81
  end
82
82
  end
83
83
 
84
+ # 语音转文本信息
85
+ class AsrData < TencentCloud::Common::AbstractModel
86
+ # @param User: 用户方
87
+ # @type User: String
88
+ # @param Message: 消息内容
89
+ # @type Message: String
90
+ # @param Timestamp: 时间戳
91
+ # @type Timestamp: Integer
92
+ # @param Start: 句子开始时间,Unix 毫秒时间戳
93
+ # 注意:此字段可能返回 null,表示取不到有效值。
94
+ # @type Start: Integer
95
+ # @param End: 句子结束时间,Unix 毫秒时间戳
96
+ # 注意:此字段可能返回 null,表示取不到有效值。
97
+ # @type End: Integer
98
+
99
+ attr_accessor :User, :Message, :Timestamp, :Start, :End
100
+ extend Gem::Deprecate
101
+ deprecate :Timestamp, :none, 2024, 10
102
+ deprecate :Timestamp=, :none, 2024, 10
103
+
104
+ def initialize(user=nil, message=nil, timestamp=nil, start=nil, _end=nil)
105
+ @User = user
106
+ @Message = message
107
+ @Timestamp = timestamp
108
+ @Start = start
109
+ @End = _end
110
+ end
111
+
112
+ def deserialize(params)
113
+ @User = params['User']
114
+ @Message = params['Message']
115
+ @Timestamp = params['Timestamp']
116
+ @Start = params['Start']
117
+ @End = params['End']
118
+ end
119
+ end
120
+
84
121
  # 音频文件审核信息
85
122
  class AudioFileInfo < TencentCloud::Common::AbstractModel
86
123
  # @param FileId: 文件ID
@@ -670,7 +707,7 @@ module TencentCloud
670
707
  # @param APIKey: API密钥
671
708
  # @type APIKey: String
672
709
  # @param APIUrl: API URL,仅支持兼容openai协议的模型,填写url时后缀不要带/chat/completions;
673
- # llmType为azure时,URL填写格式需为:https://{your-resource-name}.openai.azure.com?api-version={api-version},填写url时后缀不要带/openai/deployments/{deployment-id}/chat/completions,系统会自动帮你填充后缀
710
+ # llmType为azure时,URL填写格式需为:https://{your-resource-name}.openai.azure.com?api-version={api-version},填写url时后缀不要带/openai/deployments/{deployment-id}/chat/completions,系统会自动帮您填充后缀
674
711
  # @type APIUrl: String
675
712
  # @param VoiceType: 音色,目前仅支持以下音色:
676
713
  # 汉语:
@@ -1040,7 +1077,7 @@ module TencentCloud
1040
1077
 
1041
1078
  # CreateCCCSkillGroup请求参数结构体
1042
1079
  class CreateCCCSkillGroupRequest < TencentCloud::Common::AbstractModel
1043
- # @param SdkAppId: 应用 ID(必填)
1080
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1044
1081
  # @type SdkAppId: Integer
1045
1082
  # @param SkillGroupName: 技能组名称
1046
1083
  # @type SkillGroupName: String
@@ -1154,7 +1191,7 @@ module TencentCloud
1154
1191
 
1155
1192
  # CreateCarrierPrivilegeNumberApplicant请求参数结构体
1156
1193
  class CreateCarrierPrivilegeNumberApplicantRequest < TencentCloud::Common::AbstractModel
1157
- # @param SdkAppId: SdkAppId
1194
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1158
1195
  # @type SdkAppId: Integer
1159
1196
  # @param Callers: 主叫号码,必须为实例中存在的号码,格式为0086xxxx(暂时只支持国内号码)
1160
1197
  # @type Callers: Array
@@ -1763,7 +1800,7 @@ module TencentCloud
1763
1800
 
1764
1801
  # DescribeActiveCarrierPrivilegeNumber请求参数结构体
1765
1802
  class DescribeActiveCarrierPrivilegeNumberRequest < TencentCloud::Common::AbstractModel
1766
- # @param SdkAppId: 实例Id
1803
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1767
1804
  # @type SdkAppId: Integer
1768
1805
  # @param PageNumber: 默认0
1769
1806
  # @type PageNumber: Integer
@@ -2101,7 +2138,7 @@ module TencentCloud
2101
2138
 
2102
2139
  # DescribeCarrierPrivilegeNumberApplicants请求参数结构体
2103
2140
  class DescribeCarrierPrivilegeNumberApplicantsRequest < TencentCloud::Common::AbstractModel
2104
- # @param SdkAppId: 实例Id
2141
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2105
2142
  # @type SdkAppId: Integer
2106
2143
  # @param PageNumber: 默认0,从0开始
2107
2144
  # @type PageNumber: Integer
@@ -3447,6 +3484,54 @@ module TencentCloud
3447
3484
  end
3448
3485
  end
3449
3486
 
3487
+ # DescribeTelRecordAsr请求参数结构体
3488
+ class DescribeTelRecordAsrRequest < TencentCloud::Common::AbstractModel
3489
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
3490
+ # @type SdkAppId: Integer
3491
+ # @param SessionId: 会话 ID
3492
+ # @type SessionId: String
3493
+
3494
+ attr_accessor :SdkAppId, :SessionId
3495
+
3496
+ def initialize(sdkappid=nil, sessionid=nil)
3497
+ @SdkAppId = sdkappid
3498
+ @SessionId = sessionid
3499
+ end
3500
+
3501
+ def deserialize(params)
3502
+ @SdkAppId = params['SdkAppId']
3503
+ @SessionId = params['SessionId']
3504
+ end
3505
+ end
3506
+
3507
+ # DescribeTelRecordAsr返回参数结构体
3508
+ class DescribeTelRecordAsrResponse < TencentCloud::Common::AbstractModel
3509
+ # @param AsrDataList: 录音转文本信息
3510
+ # 注意:此字段可能返回 null,表示取不到有效值。
3511
+ # @type AsrDataList: Array
3512
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3513
+ # @type RequestId: String
3514
+
3515
+ attr_accessor :AsrDataList, :RequestId
3516
+
3517
+ def initialize(asrdatalist=nil, requestid=nil)
3518
+ @AsrDataList = asrdatalist
3519
+ @RequestId = requestid
3520
+ end
3521
+
3522
+ def deserialize(params)
3523
+ unless params['AsrDataList'].nil?
3524
+ @AsrDataList = []
3525
+ params['AsrDataList'].each do |i|
3526
+ asrdata_tmp = AsrData.new
3527
+ asrdata_tmp.deserialize(i)
3528
+ @AsrDataList << asrdata_tmp
3529
+ end
3530
+ end
3531
+ @RequestId = params['RequestId']
3532
+ end
3533
+ end
3534
+
3450
3535
  # DescribeTelSession请求参数结构体
3451
3536
  class DescribeTelSessionRequest < TencentCloud::Common::AbstractModel
3452
3537
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -3766,23 +3851,43 @@ module TencentCloud
3766
3851
 
3767
3852
  # ivr 按键信息
3768
3853
  class IVRKeyPressedElement < TencentCloud::Common::AbstractModel
3769
- # @param Key: 按键
3854
+ # @param Key: 命中的关键字或者按键
3770
3855
  # 注意:此字段可能返回 null,表示取不到有效值。
3771
3856
  # @type Key: String
3772
3857
  # @param Label: 按键关联的标签
3773
3858
  # 注意:此字段可能返回 null,表示取不到有效值。
3774
3859
  # @type Label: String
3860
+ # @param Timestamp: Unix 毫秒时间戳
3861
+ # 注意:此字段可能返回 null,表示取不到有效值。
3862
+ # @type Timestamp: Integer
3863
+ # @param NodeLabel: 节点标签
3864
+ # 注意:此字段可能返回 null,表示取不到有效值。
3865
+ # @type NodeLabel: String
3866
+ # @param OriginalContent: 用户原始输入
3867
+ # 注意:此字段可能返回 null,表示取不到有效值。
3868
+ # @type OriginalContent: String
3869
+ # @param TTSPrompt: TTS 提示音内容
3870
+ # 注意:此字段可能返回 null,表示取不到有效值。
3871
+ # @type TTSPrompt: String
3775
3872
 
3776
- attr_accessor :Key, :Label
3873
+ attr_accessor :Key, :Label, :Timestamp, :NodeLabel, :OriginalContent, :TTSPrompt
3777
3874
 
3778
- def initialize(key=nil, label=nil)
3875
+ def initialize(key=nil, label=nil, timestamp=nil, nodelabel=nil, originalcontent=nil, ttsprompt=nil)
3779
3876
  @Key = key
3780
3877
  @Label = label
3878
+ @Timestamp = timestamp
3879
+ @NodeLabel = nodelabel
3880
+ @OriginalContent = originalcontent
3881
+ @TTSPrompt = ttsprompt
3781
3882
  end
3782
3883
 
3783
3884
  def deserialize(params)
3784
3885
  @Key = params['Key']
3785
3886
  @Label = params['Label']
3887
+ @Timestamp = params['Timestamp']
3888
+ @NodeLabel = params['NodeLabel']
3889
+ @OriginalContent = params['OriginalContent']
3890
+ @TTSPrompt = params['TTSPrompt']
3786
3891
  end
3787
3892
  end
3788
3893
 
@@ -4017,7 +4122,7 @@ module TencentCloud
4017
4122
 
4018
4123
  # ModifyStaff请求参数结构体
4019
4124
  class ModifyStaffRequest < TencentCloud::Common::AbstractModel
4020
- # @param SdkAppId: 应用ID
4125
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
4021
4126
  # @type SdkAppId: Integer
4022
4127
  # @param Email: 座席账户
4023
4128
  # @type Email: String
@@ -5391,7 +5496,7 @@ module TencentCloud
5391
5496
 
5392
5497
  # UpdateCCCSkillGroup请求参数结构体
5393
5498
  class UpdateCCCSkillGroupRequest < TencentCloud::Common::AbstractModel
5394
- # @param SdkAppId: 应用 ID(必填)
5499
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
5395
5500
  # @type SdkAppId: Integer
5396
5501
  # @param SkillGroupID: 技能组ID
5397
5502
  # @type SkillGroupID: Integer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ccc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.931
4
+ version: 3.0.932
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common