tencentcloud-sdk-ccc 3.0.1077 → 3.0.1079

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: 47734c8adb7f71f8d7a33128bb6396ac67a80954
4
- data.tar.gz: fd51f67d384f31f1f14b21997752baf87039ef5f
3
+ metadata.gz: c070a785e8bef3b3c9dd7fcf10056e62ed10a7db
4
+ data.tar.gz: ec2ee329a7cc4a47fce9088952103b25b02ce61d
5
5
  SHA512:
6
- metadata.gz: 7ab6bc7bda31e20581ed68698e7eb74597a185034a085c4bf871b779c4797a371d428f8217e70522c58b3746beffa82697b29cb70fb4e1cc07950991f1025255
7
- data.tar.gz: bd1c675798d1d1153e8f0cc672034758c17f026b43be3d92d1b10d7b91ddf864b5e5edaeab8b2ed5a9d3359fc6cad03c804089baf36fa155a31ced45f3e556cc
6
+ metadata.gz: a97be54833d54a3c9e1956d59b080dfe742dcae84045387a091e3aba3b0d17bc946f2147efea32f6bad288bb3798edd25f93a3ba8572fab7467ac9f4e4313b51
7
+ data.tar.gz: b9f04308289d9f54fa7ed971483fc47f8087b9549f99672abb9f1d5ba1678ccde68f4ba8fa9b3c1fbed1d07e44cb1d3e0334df4ad6a4248805ed6f5a9c4c9d0f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1077
1
+ 3.0.1079
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 绑定号码呼入回调接口
81
+
82
+ # @param request: Request instance for BindNumberCallInInterface.
83
+ # @type request: :class:`Tencentcloud::ccc::V20200210::BindNumberCallInInterfaceRequest`
84
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::BindNumberCallInInterfaceResponse`
85
+ def BindNumberCallInInterface(request)
86
+ body = send_request('BindNumberCallInInterface', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = BindNumberCallInInterfaceResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 绑定号码外呼技能组
81
105
 
82
106
  # @param request: Request instance for BindNumberCallOutSkillGroup.
@@ -477,6 +477,49 @@ module TencentCloud
477
477
  end
478
478
  end
479
479
 
480
+ # BindNumberCallInInterface请求参数结构体
481
+ class BindNumberCallInInterfaceRequest < TencentCloud::Common::AbstractModel
482
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
483
+ # @type SdkAppId: Integer
484
+ # @param Number: 待绑定的号码
485
+ # @type Number: String
486
+ # @param CallInInterface: 待绑定的回调地址
487
+ # @type CallInInterface: :class:`Tencentcloud::Ccc.v20200210.models.Interface`
488
+
489
+ attr_accessor :SdkAppId, :Number, :CallInInterface
490
+
491
+ def initialize(sdkappid=nil, number=nil, callininterface=nil)
492
+ @SdkAppId = sdkappid
493
+ @Number = number
494
+ @CallInInterface = callininterface
495
+ end
496
+
497
+ def deserialize(params)
498
+ @SdkAppId = params['SdkAppId']
499
+ @Number = params['Number']
500
+ unless params['CallInInterface'].nil?
501
+ @CallInInterface = Interface.new
502
+ @CallInInterface.deserialize(params['CallInInterface'])
503
+ end
504
+ end
505
+ end
506
+
507
+ # BindNumberCallInInterface返回参数结构体
508
+ class BindNumberCallInInterfaceResponse < TencentCloud::Common::AbstractModel
509
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
510
+ # @type RequestId: String
511
+
512
+ attr_accessor :RequestId
513
+
514
+ def initialize(requestid=nil)
515
+ @RequestId = requestid
516
+ end
517
+
518
+ def deserialize(params)
519
+ @RequestId = params['RequestId']
520
+ end
521
+ end
522
+
480
523
  # BindNumberCallOutSkillGroup请求参数结构体
481
524
  class BindNumberCallOutSkillGroupRequest < TencentCloud::Common::AbstractModel
482
525
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -764,7 +807,7 @@ module TencentCloud
764
807
  end
765
808
 
766
809
  # 座席登录的终端信息
767
- class Client < TencentCloud::Common::AbstractModel
810
+ class ClientInfo < TencentCloud::Common::AbstractModel
768
811
  # @param ClientType: 登录的端类型,"Web"表示web工作台,"WeChatMiniProgram"表示微信小程序
769
812
  # @type ClientType: String
770
813
  # @param IsConnected: 当前登录的端是否在前台。若登录的端是Web,则该值为true;若登录的端是WeChatMiniProgram,true表示打开着微信小程序,false表示微信小程序退到后台
@@ -4681,6 +4724,22 @@ module TencentCloud
4681
4724
  end
4682
4725
  end
4683
4726
 
4727
+ # 回调接口
4728
+ class Interface < TencentCloud::Common::AbstractModel
4729
+ # @param URL: 接口地址
4730
+ # @type URL: String
4731
+
4732
+ attr_accessor :URL
4733
+
4734
+ def initialize(url=nil)
4735
+ @URL = url
4736
+ end
4737
+
4738
+ def deserialize(params)
4739
+ @URL = params['URL']
4740
+ end
4741
+ end
4742
+
4684
4743
  # 单条消息
4685
4744
  class Message < TencentCloud::Common::AbstractModel
4686
4745
  # @param Type: 消息类型
@@ -5876,9 +5935,9 @@ module TencentCloud
5876
5935
  unless params['ClientInfo'].nil?
5877
5936
  @ClientInfo = []
5878
5937
  params['ClientInfo'].each do |i|
5879
- client_tmp = Client.new
5880
- client_tmp.deserialize(i)
5881
- @ClientInfo << client_tmp
5938
+ clientinfo_tmp = ClientInfo.new
5939
+ clientinfo_tmp.deserialize(i)
5940
+ @ClientInfo << clientinfo_tmp
5882
5941
  end
5883
5942
  end
5884
5943
  end
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.1077
4
+ version: 3.0.1079
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-06-09 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common