tencentcloud-sdk-ess 3.0.521 → 3.0.522
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +72 -0
- data/lib/v20201111/models.rb +248 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43366b9f099fa9ef1ba46f0cd3b6200678668a77
|
4
|
+
data.tar.gz: 8d34f78bb6b10a0f53334414c822ff0aad2c8b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19ce3c7955057f419517fa74986e517b5348f8a606859dff2fe6bea9e0344b82e5c17118174f51907341e94744d82b314c67c221887565294a63feb81a0f2109
|
7
|
+
data.tar.gz: 7c991c78529a55890c0b57597f5fcb2529dcee091b61166d569844008b3a07b0452bf4b026254e75d432fee2cdaee98cf88486ca887b95df571bcf8a58bfc8e4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.522
|
data/lib/v20201111/client.rb
CHANGED
@@ -471,6 +471,30 @@ module TencentCloud
|
|
471
471
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
472
472
|
end
|
473
473
|
|
474
|
+
# 企业方可以通过此接口获取个人用户开启自动签的跳转链接
|
475
|
+
|
476
|
+
# @param request: Request instance for CreateUserAutoSignEnableUrl.
|
477
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateUserAutoSignEnableUrlRequest`
|
478
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateUserAutoSignEnableUrlResponse`
|
479
|
+
def CreateUserAutoSignEnableUrl(request)
|
480
|
+
body = send_request('CreateUserAutoSignEnableUrl', request.serialize)
|
481
|
+
response = JSON.parse(body)
|
482
|
+
if response['Response'].key?('Error') == false
|
483
|
+
model = CreateUserAutoSignEnableUrlResponse.new
|
484
|
+
model.deserialize(response['Response'])
|
485
|
+
model
|
486
|
+
else
|
487
|
+
code = response['Response']['Error']['Code']
|
488
|
+
message = response['Response']['Error']['Message']
|
489
|
+
reqid = response['Response']['RequestId']
|
490
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
491
|
+
end
|
492
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
493
|
+
raise e
|
494
|
+
rescue StandardError => e
|
495
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
496
|
+
end
|
497
|
+
|
474
498
|
# 移除员工
|
475
499
|
|
476
500
|
# @param request: Request instance for DeleteIntegrationEmployees.
|
@@ -764,6 +788,54 @@ module TencentCloud
|
|
764
788
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
765
789
|
end
|
766
790
|
|
791
|
+
# 企业方可以通过此接口查询个人用户自动签开启状态
|
792
|
+
|
793
|
+
# @param request: Request instance for DescribeUserAutoSignStatus.
|
794
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeUserAutoSignStatusRequest`
|
795
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeUserAutoSignStatusResponse`
|
796
|
+
def DescribeUserAutoSignStatus(request)
|
797
|
+
body = send_request('DescribeUserAutoSignStatus', request.serialize)
|
798
|
+
response = JSON.parse(body)
|
799
|
+
if response['Response'].key?('Error') == false
|
800
|
+
model = DescribeUserAutoSignStatusResponse.new
|
801
|
+
model.deserialize(response['Response'])
|
802
|
+
model
|
803
|
+
else
|
804
|
+
code = response['Response']['Error']['Code']
|
805
|
+
message = response['Response']['Error']['Message']
|
806
|
+
reqid = response['Response']['RequestId']
|
807
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
808
|
+
end
|
809
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
810
|
+
raise e
|
811
|
+
rescue StandardError => e
|
812
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
813
|
+
end
|
814
|
+
|
815
|
+
# 企业方可以通过此接口关闭个人的自动签功能
|
816
|
+
|
817
|
+
# @param request: Request instance for DisableUserAutoSign.
|
818
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DisableUserAutoSignRequest`
|
819
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DisableUserAutoSignResponse`
|
820
|
+
def DisableUserAutoSign(request)
|
821
|
+
body = send_request('DisableUserAutoSign', request.serialize)
|
822
|
+
response = JSON.parse(body)
|
823
|
+
if response['Response'].key?('Error') == false
|
824
|
+
model = DisableUserAutoSignResponse.new
|
825
|
+
model.deserialize(response['Response'])
|
826
|
+
model
|
827
|
+
else
|
828
|
+
code = response['Response']['Error']['Code']
|
829
|
+
message = response['Response']['Error']['Message']
|
830
|
+
reqid = response['Response']['RequestId']
|
831
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
832
|
+
end
|
833
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
834
|
+
raise e
|
835
|
+
rescue StandardError => e
|
836
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
837
|
+
end
|
838
|
+
|
767
839
|
# 查询转换任务状态
|
768
840
|
|
769
841
|
# @param request: Request instance for GetTaskResultApi.
|
data/lib/v20201111/models.rb
CHANGED
@@ -223,6 +223,51 @@ module TencentCloud
|
|
223
223
|
end
|
224
224
|
end
|
225
225
|
|
226
|
+
# 自动签开启、签署相关配置
|
227
|
+
class AutoSignConfig < TencentCloud::Common::AbstractModel
|
228
|
+
# @param UserInfo: 自动签开通个人用户的三要素
|
229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
230
|
+
# @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
|
231
|
+
# @param CallbackUrl: 回调链接
|
232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
233
|
+
# @type CallbackUrl: String
|
234
|
+
# @param CertInfoCallback: 是否回调证书信息
|
235
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
236
|
+
# @type CertInfoCallback: Boolean
|
237
|
+
# @param UserDefineSeal: 是否支持用户自定义签名印章
|
238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
239
|
+
# @type UserDefineSeal: Boolean
|
240
|
+
# @param SealImgCallback: 是否需要回调的时候返回印章(签名) 图片的 base64
|
241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
242
|
+
# @type SealImgCallback: Boolean
|
243
|
+
# @param VerifyChannels: 开通时候的验证方式,取值:WEIXINAPP(微信人脸识别),INSIGHT(慧眼人脸认别),TELECOM(运营商三要素验证)。如果是小程序开通链接,支持传 WEIXINAPP / TELECOM。如果是 H5 开通链接,支持传 INSIGHT / TELECOM。默认值 WEIXINAPP / INSIGHT。
|
244
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
245
|
+
# @type VerifyChannels: Array
|
246
|
+
|
247
|
+
attr_accessor :UserInfo, :CallbackUrl, :CertInfoCallback, :UserDefineSeal, :SealImgCallback, :VerifyChannels
|
248
|
+
|
249
|
+
def initialize(userinfo=nil, callbackurl=nil, certinfocallback=nil, userdefineseal=nil, sealimgcallback=nil, verifychannels=nil)
|
250
|
+
@UserInfo = userinfo
|
251
|
+
@CallbackUrl = callbackurl
|
252
|
+
@CertInfoCallback = certinfocallback
|
253
|
+
@UserDefineSeal = userdefineseal
|
254
|
+
@SealImgCallback = sealimgcallback
|
255
|
+
@VerifyChannels = verifychannels
|
256
|
+
end
|
257
|
+
|
258
|
+
def deserialize(params)
|
259
|
+
unless params['UserInfo'].nil?
|
260
|
+
@UserInfo = UserThreeFactor.new
|
261
|
+
@UserInfo.deserialize(params['UserInfo'])
|
262
|
+
end
|
263
|
+
@CallbackUrl = params['CallbackUrl']
|
264
|
+
@CertInfoCallback = params['CertInfoCallback']
|
265
|
+
@UserDefineSeal = params['UserDefineSeal']
|
266
|
+
@SealImgCallback = params['SealImgCallback']
|
267
|
+
@VerifyChannels = params['VerifyChannels']
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
226
271
|
# 此结构体 (Caller) 用于描述调用方属性。
|
227
272
|
class Caller < TencentCloud::Common::AbstractModel
|
228
273
|
# @param ApplicationId: 应用号
|
@@ -1763,6 +1808,81 @@ module TencentCloud
|
|
1763
1808
|
end
|
1764
1809
|
end
|
1765
1810
|
|
1811
|
+
# CreateUserAutoSignEnableUrl请求参数结构体
|
1812
|
+
class CreateUserAutoSignEnableUrlRequest < TencentCloud::Common::AbstractModel
|
1813
|
+
# @param Operator: 操作人信息
|
1814
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1815
|
+
# @param SceneKey: 自动签场景:
|
1816
|
+
# E_PRESCRIPTION_AUTO_SIGN 电子处方
|
1817
|
+
# @type SceneKey: String
|
1818
|
+
# @param AutoSignConfig: 自动签开通,签署相关配置
|
1819
|
+
# @type AutoSignConfig: :class:`Tencentcloud::Ess.v20201111.models.AutoSignConfig`
|
1820
|
+
# @param UrlType: 链接类型,空-默认小程序端链接,H5SIGN-h5端链接
|
1821
|
+
# @type UrlType: String
|
1822
|
+
|
1823
|
+
attr_accessor :Operator, :SceneKey, :AutoSignConfig, :UrlType
|
1824
|
+
|
1825
|
+
def initialize(operator=nil, scenekey=nil, autosignconfig=nil, urltype=nil)
|
1826
|
+
@Operator = operator
|
1827
|
+
@SceneKey = scenekey
|
1828
|
+
@AutoSignConfig = autosignconfig
|
1829
|
+
@UrlType = urltype
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
def deserialize(params)
|
1833
|
+
unless params['Operator'].nil?
|
1834
|
+
@Operator = UserInfo.new
|
1835
|
+
@Operator.deserialize(params['Operator'])
|
1836
|
+
end
|
1837
|
+
@SceneKey = params['SceneKey']
|
1838
|
+
unless params['AutoSignConfig'].nil?
|
1839
|
+
@AutoSignConfig = AutoSignConfig.new
|
1840
|
+
@AutoSignConfig.deserialize(params['AutoSignConfig'])
|
1841
|
+
end
|
1842
|
+
@UrlType = params['UrlType']
|
1843
|
+
end
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# CreateUserAutoSignEnableUrl返回参数结构体
|
1847
|
+
class CreateUserAutoSignEnableUrlResponse < TencentCloud::Common::AbstractModel
|
1848
|
+
# @param Url: 跳转短链
|
1849
|
+
# @type Url: String
|
1850
|
+
# @param AppId: 小程序AppId
|
1851
|
+
# @type AppId: String
|
1852
|
+
# @param AppOriginalId: 小程序 原始 Id
|
1853
|
+
# @type AppOriginalId: String
|
1854
|
+
# @param Path: 跳转路径
|
1855
|
+
# @type Path: String
|
1856
|
+
# @param QrCode: base64格式跳转二维码
|
1857
|
+
# @type QrCode: String
|
1858
|
+
# @param UrlType: 链接类型,空-默认小程序端链接,H5SIGN-h5端链接
|
1859
|
+
# @type UrlType: String
|
1860
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1861
|
+
# @type RequestId: String
|
1862
|
+
|
1863
|
+
attr_accessor :Url, :AppId, :AppOriginalId, :Path, :QrCode, :UrlType, :RequestId
|
1864
|
+
|
1865
|
+
def initialize(url=nil, appid=nil, apporiginalid=nil, path=nil, qrcode=nil, urltype=nil, requestid=nil)
|
1866
|
+
@Url = url
|
1867
|
+
@AppId = appid
|
1868
|
+
@AppOriginalId = apporiginalid
|
1869
|
+
@Path = path
|
1870
|
+
@QrCode = qrcode
|
1871
|
+
@UrlType = urltype
|
1872
|
+
@RequestId = requestid
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
def deserialize(params)
|
1876
|
+
@Url = params['Url']
|
1877
|
+
@AppId = params['AppId']
|
1878
|
+
@AppOriginalId = params['AppOriginalId']
|
1879
|
+
@Path = params['Path']
|
1880
|
+
@QrCode = params['QrCode']
|
1881
|
+
@UrlType = params['UrlType']
|
1882
|
+
@RequestId = params['RequestId']
|
1883
|
+
end
|
1884
|
+
end
|
1885
|
+
|
1766
1886
|
# DeleteIntegrationEmployees请求参数结构体
|
1767
1887
|
class DeleteIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
|
1768
1888
|
# @param Operator: 操作人信息,userId必填
|
@@ -2624,6 +2744,104 @@ module TencentCloud
|
|
2624
2744
|
end
|
2625
2745
|
end
|
2626
2746
|
|
2747
|
+
# DescribeUserAutoSignStatus请求参数结构体
|
2748
|
+
class DescribeUserAutoSignStatusRequest < TencentCloud::Common::AbstractModel
|
2749
|
+
# @param Operator: 操作人信息
|
2750
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2751
|
+
# @param SceneKey: 自动签场景:
|
2752
|
+
# E_PRESCRIPTION_AUTO_SIGN 电子处方
|
2753
|
+
# @type SceneKey: String
|
2754
|
+
# @param UserInfo: 查询开启状态的用户信息
|
2755
|
+
# @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
|
2756
|
+
|
2757
|
+
attr_accessor :Operator, :SceneKey, :UserInfo
|
2758
|
+
|
2759
|
+
def initialize(operator=nil, scenekey=nil, userinfo=nil)
|
2760
|
+
@Operator = operator
|
2761
|
+
@SceneKey = scenekey
|
2762
|
+
@UserInfo = userinfo
|
2763
|
+
end
|
2764
|
+
|
2765
|
+
def deserialize(params)
|
2766
|
+
unless params['Operator'].nil?
|
2767
|
+
@Operator = UserInfo.new
|
2768
|
+
@Operator.deserialize(params['Operator'])
|
2769
|
+
end
|
2770
|
+
@SceneKey = params['SceneKey']
|
2771
|
+
unless params['UserInfo'].nil?
|
2772
|
+
@UserInfo = UserThreeFactor.new
|
2773
|
+
@UserInfo.deserialize(params['UserInfo'])
|
2774
|
+
end
|
2775
|
+
end
|
2776
|
+
end
|
2777
|
+
|
2778
|
+
# DescribeUserAutoSignStatus返回参数结构体
|
2779
|
+
class DescribeUserAutoSignStatusResponse < TencentCloud::Common::AbstractModel
|
2780
|
+
# @param IsOpen: 是否开通
|
2781
|
+
# @type IsOpen: Boolean
|
2782
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2783
|
+
# @type RequestId: String
|
2784
|
+
|
2785
|
+
attr_accessor :IsOpen, :RequestId
|
2786
|
+
|
2787
|
+
def initialize(isopen=nil, requestid=nil)
|
2788
|
+
@IsOpen = isopen
|
2789
|
+
@RequestId = requestid
|
2790
|
+
end
|
2791
|
+
|
2792
|
+
def deserialize(params)
|
2793
|
+
@IsOpen = params['IsOpen']
|
2794
|
+
@RequestId = params['RequestId']
|
2795
|
+
end
|
2796
|
+
end
|
2797
|
+
|
2798
|
+
# DisableUserAutoSign请求参数结构体
|
2799
|
+
class DisableUserAutoSignRequest < TencentCloud::Common::AbstractModel
|
2800
|
+
# @param Operator: 操作人信息
|
2801
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2802
|
+
# @param SceneKey: 自动签场景:
|
2803
|
+
# E_PRESCRIPTION_AUTO_SIGN 电子处方
|
2804
|
+
# @type SceneKey: String
|
2805
|
+
# @param UserInfo: 关闭自动签的个人的三要素
|
2806
|
+
# @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
|
2807
|
+
|
2808
|
+
attr_accessor :Operator, :SceneKey, :UserInfo
|
2809
|
+
|
2810
|
+
def initialize(operator=nil, scenekey=nil, userinfo=nil)
|
2811
|
+
@Operator = operator
|
2812
|
+
@SceneKey = scenekey
|
2813
|
+
@UserInfo = userinfo
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
def deserialize(params)
|
2817
|
+
unless params['Operator'].nil?
|
2818
|
+
@Operator = UserInfo.new
|
2819
|
+
@Operator.deserialize(params['Operator'])
|
2820
|
+
end
|
2821
|
+
@SceneKey = params['SceneKey']
|
2822
|
+
unless params['UserInfo'].nil?
|
2823
|
+
@UserInfo = UserThreeFactor.new
|
2824
|
+
@UserInfo.deserialize(params['UserInfo'])
|
2825
|
+
end
|
2826
|
+
end
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
# DisableUserAutoSign返回参数结构体
|
2830
|
+
class DisableUserAutoSignResponse < TencentCloud::Common::AbstractModel
|
2831
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2832
|
+
# @type RequestId: String
|
2833
|
+
|
2834
|
+
attr_accessor :RequestId
|
2835
|
+
|
2836
|
+
def initialize(requestid=nil)
|
2837
|
+
@RequestId = requestid
|
2838
|
+
end
|
2839
|
+
|
2840
|
+
def deserialize(params)
|
2841
|
+
@RequestId = params['RequestId']
|
2842
|
+
end
|
2843
|
+
end
|
2844
|
+
|
2627
2845
|
# 创建员工的失败数据
|
2628
2846
|
class FailedCreateStaffData < TencentCloud::Common::AbstractModel
|
2629
2847
|
# @param DisplayName: 员工名
|
@@ -4202,6 +4420,36 @@ module TencentCloud
|
|
4202
4420
|
end
|
4203
4421
|
end
|
4204
4422
|
|
4423
|
+
# 用户的三要素:姓名,证件号,证件类型
|
4424
|
+
class UserThreeFactor < TencentCloud::Common::AbstractModel
|
4425
|
+
# @param Name: 姓名
|
4426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4427
|
+
# @type Name: String
|
4428
|
+
# @param IdCardType: 证件类型:
|
4429
|
+
# ID_CARD 身份证
|
4430
|
+
# HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
4431
|
+
# HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
4432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4433
|
+
# @type IdCardType: String
|
4434
|
+
# @param IdCardNumber: 证件号,如果有 X 请大写
|
4435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4436
|
+
# @type IdCardNumber: String
|
4437
|
+
|
4438
|
+
attr_accessor :Name, :IdCardType, :IdCardNumber
|
4439
|
+
|
4440
|
+
def initialize(name=nil, idcardtype=nil, idcardnumber=nil)
|
4441
|
+
@Name = name
|
4442
|
+
@IdCardType = idcardtype
|
4443
|
+
@IdCardNumber = idcardnumber
|
4444
|
+
end
|
4445
|
+
|
4446
|
+
def deserialize(params)
|
4447
|
+
@Name = params['Name']
|
4448
|
+
@IdCardType = params['IdCardType']
|
4449
|
+
@IdCardNumber = params['IdCardNumber']
|
4450
|
+
end
|
4451
|
+
end
|
4452
|
+
|
4205
4453
|
# VerifyPdf请求参数结构体
|
4206
4454
|
class VerifyPdfRequest < TencentCloud::Common::AbstractModel
|
4207
4455
|
# @param FlowId: 合同Id,流程Id
|
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.
|
4
|
+
version: 3.0.522
|
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-03-
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|