tencentcloud-sdk-ccc 3.0.931 → 3.0.933
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/v20200210/client.rb +24 -0
- data/lib/v20200210/models.rb +123 -18
- 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: ae74fd5382b87905aa08901ed1c3cac39dc43552
|
4
|
+
data.tar.gz: 7df126989f8871a644231a4caf2e0efa91eb4a49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66a03aad24b15cd2c783ef7861fe4c62ae904c617f3e7f934136b04ac77966587544593ad890e3e79f5420ada650bd4600cab4eba5b699cdc0e48f182d3e59e5
|
7
|
+
data.tar.gz: 868b670bd0af50d25d2560f62dceb1843535f7bd83e73bb7b2a09f27f108a32f0df412d3d3f1431b63e77bddfeafd333cbd817cdfd4a67f6cd5b6a4a662d135f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.933
|
data/lib/v20200210/client.rb
CHANGED
@@ -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.
|
data/lib/v20200210/models.rb
CHANGED
@@ -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:
|
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
|
@@ -1241,7 +1278,7 @@ module TencentCloud
|
|
1241
1278
|
|
1242
1279
|
# CreateExtension请求参数结构体
|
1243
1280
|
class CreateExtensionRequest < TencentCloud::Common::AbstractModel
|
1244
|
-
# @param SdkAppId:
|
1281
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
1245
1282
|
# @type SdkAppId: Integer
|
1246
1283
|
# @param ExtensionId: 分机号
|
1247
1284
|
# @type ExtensionId: String
|
@@ -1650,7 +1687,7 @@ module TencentCloud
|
|
1650
1687
|
|
1651
1688
|
# DeleteExtension请求参数结构体
|
1652
1689
|
class DeleteExtensionRequest < TencentCloud::Common::AbstractModel
|
1653
|
-
# @param SdkAppId:
|
1690
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
1654
1691
|
# @type SdkAppId: Integer
|
1655
1692
|
# @param ExtensionId: 分机号
|
1656
1693
|
# @type ExtensionId: String
|
@@ -1763,7 +1800,7 @@ module TencentCloud
|
|
1763
1800
|
|
1764
1801
|
# DescribeActiveCarrierPrivilegeNumber请求参数结构体
|
1765
1802
|
class DescribeActiveCarrierPrivilegeNumberRequest < TencentCloud::Common::AbstractModel
|
1766
|
-
# @param SdkAppId:
|
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:
|
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
|
@@ -2308,7 +2345,7 @@ module TencentCloud
|
|
2308
2345
|
|
2309
2346
|
# DescribeExtension请求参数结构体
|
2310
2347
|
class DescribeExtensionRequest < TencentCloud::Common::AbstractModel
|
2311
|
-
# @param SdkAppId:
|
2348
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
2312
2349
|
# @type SdkAppId: Integer
|
2313
2350
|
# @param ExtensionId: 分机号
|
2314
2351
|
# @type ExtensionId: String
|
@@ -2364,7 +2401,7 @@ module TencentCloud
|
|
2364
2401
|
|
2365
2402
|
# DescribeExtensions请求参数结构体
|
2366
2403
|
class DescribeExtensionsRequest < TencentCloud::Common::AbstractModel
|
2367
|
-
# @param SdkAppId:
|
2404
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
2368
2405
|
# @type SdkAppId: Integer
|
2369
2406
|
# @param PageNumber: 分页页号(从0开始)
|
2370
2407
|
# @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
|
@@ -3632,7 +3717,7 @@ module TencentCloud
|
|
3632
3717
|
|
3633
3718
|
# HangUpCall请求参数结构体
|
3634
3719
|
class HangUpCallRequest < TencentCloud::Common::AbstractModel
|
3635
|
-
# @param SdkAppId:
|
3720
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
3636
3721
|
# @type SdkAppId: Integer
|
3637
3722
|
# @param SessionId: 会话ID
|
3638
3723
|
# @type SessionId: String
|
@@ -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
|
|
@@ -3878,7 +3983,7 @@ module TencentCloud
|
|
3878
3983
|
|
3879
3984
|
# ModifyExtension请求参数结构体
|
3880
3985
|
class ModifyExtensionRequest < TencentCloud::Common::AbstractModel
|
3881
|
-
# @param SdkAppId:
|
3986
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
3882
3987
|
# @type SdkAppId: Integer
|
3883
3988
|
# @param ExtensionId: 分机号
|
3884
3989
|
# @type ExtensionId: String
|
@@ -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
|
@@ -4385,7 +4490,7 @@ module TencentCloud
|
|
4385
4490
|
|
4386
4491
|
# ResetExtensionPassword请求参数结构体
|
4387
4492
|
class ResetExtensionPasswordRequest < TencentCloud::Common::AbstractModel
|
4388
|
-
# @param SdkAppId:
|
4493
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
4389
4494
|
# @type SdkAppId: Integer
|
4390
4495
|
# @param ExtensionId: 分机号
|
4391
4496
|
# @type ExtensionId: String
|
@@ -4953,7 +5058,7 @@ module TencentCloud
|
|
4953
5058
|
|
4954
5059
|
# StopAutoCalloutTask请求参数结构体
|
4955
5060
|
class StopAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
|
4956
|
-
# @param SdkAppId:
|
5061
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
4957
5062
|
# @type SdkAppId: Integer
|
4958
5063
|
# @param TaskId: 任务Id
|
4959
5064
|
# @type TaskId: Integer
|
@@ -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.
|
4
|
+
version: 3.0.933
|
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-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|