tencentcloud-sdk-essbasic 3.0.621 → 3.0.622

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd51cb39d1d4283a3e651cf8812df5c8e1190ba1
4
- data.tar.gz: 8aa4c830e5bfc7dacb2facb47c5661d2919d294b
3
+ metadata.gz: 197ea1ec27fdb20b8dba13f30afeacad124f02a0
4
+ data.tar.gz: 9430c3102c4182a594f8db353697f3de864a4242
5
5
  SHA512:
6
- metadata.gz: 54c8ab069e2c5f73fcdd3d47cf393c24b70a8423ee5fd79cd968332c15b65a3b6c61fb4a74c73e0afc8b676a55c58872371764b4e23149c5c9211185a9ebc5bc
7
- data.tar.gz: d598696d50383ac644280dec0e86ced26283ecf90febb618be8999a36d6ff5f1159bc79612f5274a962c69ba62b2407ac1f16fd517f51f9e671fd362bdff7acf
6
+ metadata.gz: 7b381d31d2025cee50bc2848872a337564340939cf924c5fb67b3c97932d19278d5f6d9b3aed7792aae8dbb052c3e195183e5fc25133475ccee2944d52e256f9
7
+ data.tar.gz: d9224e4dd43de809eae7826d7190a99d18e282a68d4d7737483a99dd4d138d69d87543b7aabdc205dab05d4f8cd977be8ba6f7480c9eddbd8d634e64dea3bbbe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.621
1
+ 3.0.622
@@ -526,6 +526,30 @@ module TencentCloud
526
526
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
527
527
  end
528
528
 
529
+ # 生成页面主题配置
530
+
531
+ # @param request: Request instance for ChannelCreateWebThemeConfig.
532
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateWebThemeConfigRequest`
533
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateWebThemeConfigResponse`
534
+ def ChannelCreateWebThemeConfig(request)
535
+ body = send_request('ChannelCreateWebThemeConfig', request.serialize)
536
+ response = JSON.parse(body)
537
+ if response['Response'].key?('Error') == false
538
+ model = ChannelCreateWebThemeConfigResponse.new
539
+ model.deserialize(response['Response'])
540
+ model
541
+ else
542
+ code = response['Response']['Error']['Code']
543
+ message = response['Response']['Error']['Message']
544
+ reqid = response['Response']['RequestId']
545
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
546
+ end
547
+ rescue TencentCloud::Common::TencentCloudSDKException => e
548
+ raise e
549
+ rescue StandardError => e
550
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
551
+ end
552
+
529
553
  # 通过此接口,删除员工绑定的角色,支持以电子签userId、客户系统userId两种方式调用。
530
554
 
531
555
  # @param request: Request instance for ChannelDeleteRoleUsers.
@@ -1629,6 +1629,53 @@ module TencentCloud
1629
1629
  end
1630
1630
  end
1631
1631
 
1632
+ # ChannelCreateWebThemeConfig请求参数结构体
1633
+ class ChannelCreateWebThemeConfigRequest < TencentCloud::Common::AbstractModel
1634
+ # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
1635
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1636
+ # @param ThemeType: 主题类型<br/>EMBED_WEB_THEME:嵌入式主题
1637
+ # <br/>目前只支持EMBED_WEB_THEME,web页面嵌入的主题风格配置
1638
+ # @type ThemeType: String
1639
+ # @param WebThemeConfig: 主题配置
1640
+ # @type WebThemeConfig: :class:`Tencentcloud::Essbasic.v20210526.models.WebThemeConfig`
1641
+
1642
+ attr_accessor :Agent, :ThemeType, :WebThemeConfig
1643
+
1644
+ def initialize(agent=nil, themetype=nil, webthemeconfig=nil)
1645
+ @Agent = agent
1646
+ @ThemeType = themetype
1647
+ @WebThemeConfig = webthemeconfig
1648
+ end
1649
+
1650
+ def deserialize(params)
1651
+ unless params['Agent'].nil?
1652
+ @Agent = Agent.new
1653
+ @Agent.deserialize(params['Agent'])
1654
+ end
1655
+ @ThemeType = params['ThemeType']
1656
+ unless params['WebThemeConfig'].nil?
1657
+ @WebThemeConfig = WebThemeConfig.new
1658
+ @WebThemeConfig.deserialize(params['WebThemeConfig'])
1659
+ end
1660
+ end
1661
+ end
1662
+
1663
+ # ChannelCreateWebThemeConfig返回参数结构体
1664
+ class ChannelCreateWebThemeConfigResponse < TencentCloud::Common::AbstractModel
1665
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1666
+ # @type RequestId: String
1667
+
1668
+ attr_accessor :RequestId
1669
+
1670
+ def initialize(requestid=nil)
1671
+ @RequestId = requestid
1672
+ end
1673
+
1674
+ def deserialize(params)
1675
+ @RequestId = params['RequestId']
1676
+ end
1677
+ end
1678
+
1632
1679
  # ChannelDeleteRoleUsers请求参数结构体
1633
1680
  class ChannelDeleteRoleUsersRequest < TencentCloud::Common::AbstractModel
1634
1681
  # @param Agent: 代理信息此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
@@ -5852,6 +5899,29 @@ module TencentCloud
5852
5899
  end
5853
5900
  end
5854
5901
 
5902
+ # 主题配置
5903
+ class WebThemeConfig < TencentCloud::Common::AbstractModel
5904
+ # @param DisplaySignBrandLogo: 页面底部是否显示电子签logo
5905
+ # <br/>true:允许在页面底部隐藏电子签logo
5906
+ # <br/>默认false,不允许允许在页面底部隐藏电子签logo
5907
+ # @type DisplaySignBrandLogo: Boolean
5908
+ # @param WebEmbedThemeColor: 嵌入式主题颜色
5909
+ # <br/>支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
5910
+ # @type WebEmbedThemeColor: String
5911
+
5912
+ attr_accessor :DisplaySignBrandLogo, :WebEmbedThemeColor
5913
+
5914
+ def initialize(displaysignbrandlogo=nil, webembedthemecolor=nil)
5915
+ @DisplaySignBrandLogo = displaysignbrandlogo
5916
+ @WebEmbedThemeColor = webembedthemecolor
5917
+ end
5918
+
5919
+ def deserialize(params)
5920
+ @DisplaySignBrandLogo = params['DisplaySignBrandLogo']
5921
+ @WebEmbedThemeColor = params['WebEmbedThemeColor']
5922
+ end
5923
+ end
5924
+
5855
5925
  end
5856
5926
  end
5857
5927
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-essbasic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.621
4
+ version: 3.0.622
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-26 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common