tencentcloud-sdk-ccc 3.0.1027 → 3.0.1028

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/v20200210/models.rb +69 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86f0eeba007f95800e6694345c4e93ea9b267d76
4
- data.tar.gz: 07cfffea4186d92cd5b291fa5ed8e1200bb562fe
3
+ metadata.gz: 4d9764023e2c791591fe1637a456834c3a9a5b4e
4
+ data.tar.gz: ac96d98f02e94077eb63781cadbb574113423795
5
5
  SHA512:
6
- metadata.gz: 1de27c106e6a88f1d186a0125fd32488ff87dd70c6ddd4cc69e72c25624b9d4f47771c142fc119b557e0a3ac0d0412ef3efc3f720be7015415d67d26eb880371
7
- data.tar.gz: f45884ad8a004f4eeaada156397c7be94bccf58dfa7952f869f16bc4526771d1b62cc03636edf9ac2322207aaa3104bc5d3bd945bf9cefb885b8b593abd759c1
6
+ metadata.gz: bfc83faf2c27783e725bf60c51216e2ab36c3f325bbabe19dbd3db77f84c28582489e93a08564640ab3245601c88493bf2e3cc42a8bd84bef4c318fa51a88936
7
+ data.tar.gz: 9dcffee5f0d19bbcd5466601c99ab53258a0c2e5147ab9dffbbee0638e344d9ab2b17666785e08d1664bfe8e5877ad7aebd938f02f340fc2b5dd92294a1ab86e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1027
1
+ 3.0.1028
@@ -1218,7 +1218,7 @@ module TencentCloud
1218
1218
  # @type Callees: Array
1219
1219
  # @param Callers: 主叫号码列表
1220
1220
  # @type Callers: Array
1221
- # @param IvrId: 呼叫使用的Ivr
1221
+ # @param IvrId: 呼叫使用的 IVR Id,不填时需要填写 AIAgentId
1222
1222
  # @type IvrId: Integer
1223
1223
  # @param Name: 任务名
1224
1224
  # @type Name: String
@@ -1234,10 +1234,16 @@ module TencentCloud
1234
1234
  # @type UUI: String
1235
1235
  # @param CalleeAttributes: 被叫属性
1236
1236
  # @type CalleeAttributes: Array
1237
+ # @param TimeZone: IANA 时区名称,参考 https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-timezones
1238
+ # @type TimeZone: String
1239
+ # @param AvailableTime: 可用时间段
1240
+ # @type AvailableTime: Array
1241
+ # @param AIAgentId: 智能体 ID,不填写时需要填写 IvrId
1242
+ # @type AIAgentId: Integer
1237
1243
 
1238
- attr_accessor :SdkAppId, :NotBefore, :Callees, :Callers, :IvrId, :Name, :Description, :NotAfter, :Tries, :Variables, :UUI, :CalleeAttributes
1244
+ attr_accessor :SdkAppId, :NotBefore, :Callees, :Callers, :IvrId, :Name, :Description, :NotAfter, :Tries, :Variables, :UUI, :CalleeAttributes, :TimeZone, :AvailableTime, :AIAgentId
1239
1245
 
1240
- def initialize(sdkappid=nil, notbefore=nil, callees=nil, callers=nil, ivrid=nil, name=nil, description=nil, notafter=nil, tries=nil, variables=nil, uui=nil, calleeattributes=nil)
1246
+ def initialize(sdkappid=nil, notbefore=nil, callees=nil, callers=nil, ivrid=nil, name=nil, description=nil, notafter=nil, tries=nil, variables=nil, uui=nil, calleeattributes=nil, timezone=nil, availabletime=nil, aiagentid=nil)
1241
1247
  @SdkAppId = sdkappid
1242
1248
  @NotBefore = notbefore
1243
1249
  @Callees = callees
@@ -1250,6 +1256,9 @@ module TencentCloud
1250
1256
  @Variables = variables
1251
1257
  @UUI = uui
1252
1258
  @CalleeAttributes = calleeattributes
1259
+ @TimeZone = timezone
1260
+ @AvailableTime = availabletime
1261
+ @AIAgentId = aiagentid
1253
1262
  end
1254
1263
 
1255
1264
  def deserialize(params)
@@ -1279,6 +1288,16 @@ module TencentCloud
1279
1288
  @CalleeAttributes << calleeattribute_tmp
1280
1289
  end
1281
1290
  end
1291
+ @TimeZone = params['TimeZone']
1292
+ unless params['AvailableTime'].nil?
1293
+ @AvailableTime = []
1294
+ params['AvailableTime'].each do |i|
1295
+ timerange_tmp = TimeRange.new
1296
+ timerange_tmp.deserialize(i)
1297
+ @AvailableTime << timerange_tmp
1298
+ end
1299
+ end
1300
+ @AIAgentId = params['AIAgentId']
1282
1301
  end
1283
1302
  end
1284
1303
 
@@ -1703,10 +1722,14 @@ module TencentCloud
1703
1722
  # @type UUI: String
1704
1723
  # @param CalleeAttributes: 被叫属性
1705
1724
  # @type CalleeAttributes: Array
1725
+ # @param TimeZone: IANA 时区名称,参考 https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-timezones
1726
+ # @type TimeZone: String
1727
+ # @param AvailableTime: 可用时间段
1728
+ # @type AvailableTime: Array
1706
1729
 
1707
- attr_accessor :SdkAppId, :Name, :Callees, :Callers, :CallOrder, :SkillGroupId, :Priority, :ExpectedAbandonRate, :RetryInterval, :StartTime, :EndTime, :IVRId, :RetryTimes, :Variables, :UUI, :CalleeAttributes
1730
+ attr_accessor :SdkAppId, :Name, :Callees, :Callers, :CallOrder, :SkillGroupId, :Priority, :ExpectedAbandonRate, :RetryInterval, :StartTime, :EndTime, :IVRId, :RetryTimes, :Variables, :UUI, :CalleeAttributes, :TimeZone, :AvailableTime
1708
1731
 
1709
- def initialize(sdkappid=nil, name=nil, callees=nil, callers=nil, callorder=nil, skillgroupid=nil, priority=nil, expectedabandonrate=nil, retryinterval=nil, starttime=nil, endtime=nil, ivrid=nil, retrytimes=nil, variables=nil, uui=nil, calleeattributes=nil)
1732
+ def initialize(sdkappid=nil, name=nil, callees=nil, callers=nil, callorder=nil, skillgroupid=nil, priority=nil, expectedabandonrate=nil, retryinterval=nil, starttime=nil, endtime=nil, ivrid=nil, retrytimes=nil, variables=nil, uui=nil, calleeattributes=nil, timezone=nil, availabletime=nil)
1710
1733
  @SdkAppId = sdkappid
1711
1734
  @Name = name
1712
1735
  @Callees = callees
@@ -1723,6 +1746,8 @@ module TencentCloud
1723
1746
  @Variables = variables
1724
1747
  @UUI = uui
1725
1748
  @CalleeAttributes = calleeattributes
1749
+ @TimeZone = timezone
1750
+ @AvailableTime = availabletime
1726
1751
  end
1727
1752
 
1728
1753
  def deserialize(params)
@@ -1756,6 +1781,15 @@ module TencentCloud
1756
1781
  @CalleeAttributes << calleeattribute_tmp
1757
1782
  end
1758
1783
  end
1784
+ @TimeZone = params['TimeZone']
1785
+ unless params['AvailableTime'].nil?
1786
+ @AvailableTime = []
1787
+ params['AvailableTime'].each do |i|
1788
+ timerange_tmp = TimeRange.new
1789
+ timerange_tmp.deserialize(i)
1790
+ @AvailableTime << timerange_tmp
1791
+ end
1792
+ end
1759
1793
  end
1760
1794
  end
1761
1795
 
@@ -5149,7 +5183,10 @@ module TencentCloud
5149
5183
  # @param StaffNumber: 座席工号
5150
5184
  # @type StaffNumber: String
5151
5185
  # @param RoleId: 用户角色id
5186
+ # 一个用户绑定了多个角色时以RoleIdList为准
5152
5187
  # @type RoleId: Integer
5188
+ # @param RoleIdList: 用户角色id列表
5189
+ # @type RoleIdList: Integer
5153
5190
  # @param SkillGroupList: 所属技能组列表
5154
5191
  # @type SkillGroupList: Array
5155
5192
  # @param LastModifyTimestamp: 最后修改时间
@@ -5157,15 +5194,19 @@ module TencentCloud
5157
5194
  # @param ExtensionNumber: 座席分机号(1 到 8 打头,4 - 6 位)
5158
5195
  # @type ExtensionNumber: String
5159
5196
 
5160
- attr_accessor :Name, :Mail, :Phone, :Nick, :StaffNumber, :RoleId, :SkillGroupList, :LastModifyTimestamp, :ExtensionNumber
5197
+ attr_accessor :Name, :Mail, :Phone, :Nick, :StaffNumber, :RoleId, :RoleIdList, :SkillGroupList, :LastModifyTimestamp, :ExtensionNumber
5198
+ extend Gem::Deprecate
5199
+ deprecate :RoleId, :none, 2025, 3
5200
+ deprecate :RoleId=, :none, 2025, 3
5161
5201
 
5162
- def initialize(name=nil, mail=nil, phone=nil, nick=nil, staffnumber=nil, roleid=nil, skillgrouplist=nil, lastmodifytimestamp=nil, extensionnumber=nil)
5202
+ def initialize(name=nil, mail=nil, phone=nil, nick=nil, staffnumber=nil, roleid=nil, roleidlist=nil, skillgrouplist=nil, lastmodifytimestamp=nil, extensionnumber=nil)
5163
5203
  @Name = name
5164
5204
  @Mail = mail
5165
5205
  @Phone = phone
5166
5206
  @Nick = nick
5167
5207
  @StaffNumber = staffnumber
5168
5208
  @RoleId = roleid
5209
+ @RoleIdList = roleidlist
5169
5210
  @SkillGroupList = skillgrouplist
5170
5211
  @LastModifyTimestamp = lastmodifytimestamp
5171
5212
  @ExtensionNumber = extensionnumber
@@ -5178,6 +5219,7 @@ module TencentCloud
5178
5219
  @Nick = params['Nick']
5179
5220
  @StaffNumber = params['StaffNumber']
5180
5221
  @RoleId = params['RoleId']
5222
+ @RoleIdList = params['RoleIdList']
5181
5223
  unless params['SkillGroupList'].nil?
5182
5224
  @SkillGroupList = []
5183
5225
  params['SkillGroupList'].each do |i|
@@ -5645,6 +5687,26 @@ module TencentCloud
5645
5687
  end
5646
5688
  end
5647
5689
 
5690
+ # 时间范围,24 小时制,格式为 09:00:00
5691
+ class TimeRange < TencentCloud::Common::AbstractModel
5692
+ # @param StartTime: 开始时间
5693
+ # @type StartTime: String
5694
+ # @param EndTime: 结束时间
5695
+ # @type EndTime: String
5696
+
5697
+ attr_accessor :StartTime, :EndTime
5698
+
5699
+ def initialize(starttime=nil, endtime=nil)
5700
+ @StartTime = starttime
5701
+ @EndTime = endtime
5702
+ end
5703
+
5704
+ def deserialize(params)
5705
+ @StartTime = params['StartTime']
5706
+ @EndTime = params['EndTime']
5707
+ end
5708
+ end
5709
+
5648
5710
  # UnbindNumberCallOutSkillGroup请求参数结构体
5649
5711
  class UnbindNumberCallOutSkillGroupRequest < TencentCloud::Common::AbstractModel
5650
5712
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
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.1027
4
+ version: 3.0.1028
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-25 00:00:00.000000000 Z
11
+ date: 2025-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common