lib/v20201111/client.rb in tencentcloud-sdk-ess-3.0.591 vs lib/v20201111/client.rb in tencentcloud-sdk-ess-3.0.592

- old
+ new

@@ -771,9 +771,33 @@ raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end + # 查询企业扩展服务授权信息,目前支持查询:企业静默签,企业与港澳台居民签署合同,使用手机号验证签署方身份,骑缝章,批量签署能力是否已经开通 + + # @param request: Request instance for DescribeExtendedServiceAuthInfos. + # @type request: :class:`Tencentcloud::ess::V20201111::DescribeExtendedServiceAuthInfosRequest` + # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeExtendedServiceAuthInfosResponse` + def DescribeExtendedServiceAuthInfos(request) + body = send_request('DescribeExtendedServiceAuthInfos', request.serialize) + response = JSON.parse(body) + if response['Response'].key?('Error') == false + model = DescribeExtendedServiceAuthInfosResponse.new + model.deserialize(response['Response']) + model + else + code = response['Response']['Error']['Code'] + message = response['Response']['Error']['Message'] + reqid = response['Response']['RequestId'] + raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid) + end + rescue TencentCloud::Common::TencentCloudSDKException => e + raise e + rescue StandardError => e + raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) + end + # 查询文件下载URL。 # 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。 # @param request: Request instance for DescribeFileUrls. # @type request: :class:`Tencentcloud::ess::V20201111::DescribeFileUrlsRequest` \ No newline at end of file