tencentcloud-sdk-ess 3.0.1016 → 3.0.1017

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: ed9c4d84cf5143c04874071e4005385df14d394d
4
- data.tar.gz: 2285b4ef479411392721c2d48bae66434c89dc67
3
+ metadata.gz: 2190bede16d846cd0fc810327b502a2d8e038064
4
+ data.tar.gz: 5efb92aaf382ba4a4207df23cffb53b56fbdc45d
5
5
  SHA512:
6
- metadata.gz: 9c7d90fb7143f18c963d5f78e2b6528534136bc80583cf955a10ad56d9fcd661c9477c87da173051e01cc48db0a2df3d066635b7f8e998da2c606dda5b555e0a
7
- data.tar.gz: c1f0063b8a9ca3f31f846de863da5052d04cce7f73475ea7ce26fbdcf7e1548e4bac8e258006d54bf69ddc98d5c6ee53712568cdc71c52258cd719ef4a2772f5
6
+ metadata.gz: 369fe4be7f0524b1550324f75349cf9f5e637ced463cab9c6495f5730aa8fc0c586bcf21f118af26205abafe2fa70fe325dfdc095bfd855b5fb8bf4fd8870ef0
7
+ data.tar.gz: d96c4ad752a43fcea9962ff2421634c1bedfe5d4da5720fda85721da31a91b9d2fac3ef66f445e9e087c08e7ea3b7937b2bd5f5f432609ff0109fe30d9425dde
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1016
1
+ 3.0.1017
@@ -2883,6 +2883,34 @@ module TencentCloud
2883
2883
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2884
2884
  end
2885
2885
 
2886
+ # 查询用户模版类型,分为两种模式:
2887
+ # <ul>
2888
+ # <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
2889
+ # <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
2890
+ # </ul>
2891
+
2892
+ # @param request: Request instance for DescribeUserFlowType.
2893
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeUserFlowTypeRequest`
2894
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeUserFlowTypeResponse`
2895
+ def DescribeUserFlowType(request)
2896
+ body = send_request('DescribeUserFlowType', request.serialize)
2897
+ response = JSON.parse(body)
2898
+ if response['Response'].key?('Error') == false
2899
+ model = DescribeUserFlowTypeResponse.new
2900
+ model.deserialize(response['Response'])
2901
+ model
2902
+ else
2903
+ code = response['Response']['Error']['Code']
2904
+ message = response['Response']['Error']['Message']
2905
+ reqid = response['Response']['RequestId']
2906
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2907
+ end
2908
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2909
+ raise e
2910
+ rescue StandardError => e
2911
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2912
+ end
2913
+
2886
2914
  # 检测个人用户是否已经实名。
2887
2915
 
2888
2916
  # 在调用生成C端用户实名链接([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))接口之前,客户企业应首先调用本接口判断C端用户是否已经完成实名认证。如果用户已经实名,那么无需再次调用([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))生成链接并走实名认证流程。
@@ -7939,7 +7939,7 @@ module TencentCloud
7939
7939
  # <li>**1**:仅模板列表</li></ul>
7940
7940
  # @type ContentType: Integer
7941
7941
  # @param Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
7942
- # <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li></ul>
7942
+ # <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
7943
7943
  # @type Filters: Array
7944
7944
  # @param Offset: 查询结果分页返回,指定从第几页返回数据,和Limit参数配合使用。
7945
7945
 
@@ -8917,6 +8917,77 @@ module TencentCloud
8917
8917
  end
8918
8918
  end
8919
8919
 
8920
+ # DescribeUserFlowType请求参数结构体
8921
+ class DescribeUserFlowTypeRequest < TencentCloud::Common::AbstractModel
8922
+ # @param Operator: 执行本接口操作的员工信息。
8923
+ # 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
8924
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
8925
+ # @param Agent: 代理企业和员工的信息。
8926
+ # 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
8927
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
8928
+ # @param Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
8929
+ # <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
8930
+ # @type Filters: Array
8931
+ # @param QueryBindTemplate: 查询绑定了模版的用户合同类型 <ul> <li>false(默认值),查询用户合同类型</li> <li>true,查询绑定了模版的用户合同类型</li> </ul>
8932
+ # @type QueryBindTemplate: Boolean
8933
+
8934
+ attr_accessor :Operator, :Agent, :Filters, :QueryBindTemplate
8935
+
8936
+ def initialize(operator=nil, agent=nil, filters=nil, querybindtemplate=nil)
8937
+ @Operator = operator
8938
+ @Agent = agent
8939
+ @Filters = filters
8940
+ @QueryBindTemplate = querybindtemplate
8941
+ end
8942
+
8943
+ def deserialize(params)
8944
+ unless params['Operator'].nil?
8945
+ @Operator = UserInfo.new
8946
+ @Operator.deserialize(params['Operator'])
8947
+ end
8948
+ unless params['Agent'].nil?
8949
+ @Agent = Agent.new
8950
+ @Agent.deserialize(params['Agent'])
8951
+ end
8952
+ unless params['Filters'].nil?
8953
+ @Filters = []
8954
+ params['Filters'].each do |i|
8955
+ filter_tmp = Filter.new
8956
+ filter_tmp.deserialize(i)
8957
+ @Filters << filter_tmp
8958
+ end
8959
+ end
8960
+ @QueryBindTemplate = params['QueryBindTemplate']
8961
+ end
8962
+ end
8963
+
8964
+ # DescribeUserFlowType返回参数结构体
8965
+ class DescribeUserFlowTypeResponse < TencentCloud::Common::AbstractModel
8966
+ # @param AllUserFlowTypes: 查询到的所有用户合同类型列表
8967
+ # @type AllUserFlowTypes: Array
8968
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8969
+ # @type RequestId: String
8970
+
8971
+ attr_accessor :AllUserFlowTypes, :RequestId
8972
+
8973
+ def initialize(alluserflowtypes=nil, requestid=nil)
8974
+ @AllUserFlowTypes = alluserflowtypes
8975
+ @RequestId = requestid
8976
+ end
8977
+
8978
+ def deserialize(params)
8979
+ unless params['AllUserFlowTypes'].nil?
8980
+ @AllUserFlowTypes = []
8981
+ params['AllUserFlowTypes'].each do |i|
8982
+ templateuserflowtype_tmp = TemplateUserFlowType.new
8983
+ templateuserflowtype_tmp.deserialize(i)
8984
+ @AllUserFlowTypes << templateuserflowtype_tmp
8985
+ end
8986
+ end
8987
+ @RequestId = params['RequestId']
8988
+ end
8989
+ end
8990
+
8920
8991
  # DescribeUserVerifyStatus请求参数结构体
8921
8992
  class DescribeUserVerifyStatusRequest < TencentCloud::Common::AbstractModel
8922
8993
  # @param Operator: 用户信息
@@ -12985,6 +13056,34 @@ module TencentCloud
12985
13056
  end
12986
13057
  end
12987
13058
 
13059
+ # 模版对应的合同类型
13060
+ class TemplateUserFlowType < TencentCloud::Common::AbstractModel
13061
+ # @param UserFlowTypeId: 合同类型id
13062
+ # @type UserFlowTypeId: String
13063
+ # @param Name: 合同类型名称
13064
+ # @type Name: String
13065
+ # @param Description: 合同类型的具体描述
13066
+ # @type Description: String
13067
+ # @param TemplateNum: 每个合同类型绑定的模版数量
13068
+ # @type TemplateNum: Integer
13069
+
13070
+ attr_accessor :UserFlowTypeId, :Name, :Description, :TemplateNum
13071
+
13072
+ def initialize(userflowtypeid=nil, name=nil, description=nil, templatenum=nil)
13073
+ @UserFlowTypeId = userflowtypeid
13074
+ @Name = name
13075
+ @Description = description
13076
+ @TemplateNum = templatenum
13077
+ end
13078
+
13079
+ def deserialize(params)
13080
+ @UserFlowTypeId = params['UserFlowTypeId']
13081
+ @Name = params['Name']
13082
+ @Description = params['Description']
13083
+ @TemplateNum = params['TemplateNum']
13084
+ end
13085
+ end
13086
+
12988
13087
  # UnbindEmployeeUserIdWithClientOpenId请求参数结构体
12989
13088
  class UnbindEmployeeUserIdWithClientOpenIdRequest < TencentCloud::Common::AbstractModel
12990
13089
  # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写UserId。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1016
4
+ version: 3.0.1017
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-11 00:00:00.000000000 Z
11
+ date: 2025-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common