tencentcloud-sdk-ess 3.0.552 → 3.0.553
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 +48 -0
- data/lib/v20201111/models.rb +94 -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: 7f8017a09cb23668aeed1f6e5399001ab239257a
|
4
|
+
data.tar.gz: 4d3de809771036781216a6def25fc16f6407bdcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c46bf077469d115e1a45650bff827e5a0947d9397a6d5c48e0e43a312fd6368b2db89e2eb47a33f9b82ab89a42695cf103c5e714771d50ea9d4192feef1eeb5
|
7
|
+
data.tar.gz: eda3a2cd18f954813d05abe9f61cb98f666a8b5cea4e94ba0cf0323934aa7b12f3fdd8bf137b15d36b6fd1dd2b61d2442649c3033591c5906ba9ded8073bea3e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.553
|
data/lib/v20201111/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 将电子签系统员工userId与客户系统员工openId进行绑定
|
33
|
+
|
34
|
+
# @param request: Request instance for BindEmployeeUserIdWithClientOpenId.
|
35
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::BindEmployeeUserIdWithClientOpenIdRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::BindEmployeeUserIdWithClientOpenIdResponse`
|
37
|
+
def BindEmployeeUserIdWithClientOpenId(request)
|
38
|
+
body = send_request('BindEmployeeUserIdWithClientOpenId', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = BindEmployeeUserIdWithClientOpenIdResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 用于撤销签署流程
|
33
57
|
# 适用场景:如果某个合同流程当前至少还有一方没有签署,则可通过该接口取消该合同流程。常用于合同发错、内容填错,需要及时撤销的场景。
|
34
58
|
# 注:如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同。
|
@@ -1034,6 +1058,30 @@ module TencentCloud
|
|
1034
1058
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1035
1059
|
end
|
1036
1060
|
|
1061
|
+
# 将存在绑定关系的电子签系统员工userId与客户系统员工openId进行解绑
|
1062
|
+
|
1063
|
+
# @param request: Request instance for UnbindEmployeeUserIdWithClientOpenId.
|
1064
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::UnbindEmployeeUserIdWithClientOpenIdRequest`
|
1065
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::UnbindEmployeeUserIdWithClientOpenIdResponse`
|
1066
|
+
def UnbindEmployeeUserIdWithClientOpenId(request)
|
1067
|
+
body = send_request('UnbindEmployeeUserIdWithClientOpenId', request.serialize)
|
1068
|
+
response = JSON.parse(body)
|
1069
|
+
if response['Response'].key?('Error') == false
|
1070
|
+
model = UnbindEmployeeUserIdWithClientOpenIdResponse.new
|
1071
|
+
model.deserialize(response['Response'])
|
1072
|
+
model
|
1073
|
+
else
|
1074
|
+
code = response['Response']['Error']['Code']
|
1075
|
+
message = response['Response']['Error']['Message']
|
1076
|
+
reqid = response['Response']['RequestId']
|
1077
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1078
|
+
end
|
1079
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1080
|
+
raise e
|
1081
|
+
rescue StandardError => e
|
1082
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1083
|
+
end
|
1084
|
+
|
1037
1085
|
# 更新员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
|
1038
1086
|
|
1039
1087
|
# @param request: Request instance for UpdateIntegrationEmployees.
|
data/lib/v20201111/models.rb
CHANGED
@@ -271,6 +271,53 @@ module TencentCloud
|
|
271
271
|
end
|
272
272
|
end
|
273
273
|
|
274
|
+
# BindEmployeeUserIdWithClientOpenId请求参数结构体
|
275
|
+
class BindEmployeeUserIdWithClientOpenIdRequest < TencentCloud::Common::AbstractModel
|
276
|
+
# @param Operator: OpenId与UserId二选一必填一个,当传入客户系统openId,传入的openId需与电子签员工userId绑定,且渠道channel必填,channel值为INTEGRATE,否则传入userId
|
277
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
278
|
+
# @param UserId: 电子签系统员工UserId
|
279
|
+
# @type UserId: String
|
280
|
+
# @param OpenId: 客户系统OpenId
|
281
|
+
# @type OpenId: String
|
282
|
+
|
283
|
+
attr_accessor :Operator, :UserId, :OpenId
|
284
|
+
|
285
|
+
def initialize(operator=nil, userid=nil, openid=nil)
|
286
|
+
@Operator = operator
|
287
|
+
@UserId = userid
|
288
|
+
@OpenId = openid
|
289
|
+
end
|
290
|
+
|
291
|
+
def deserialize(params)
|
292
|
+
unless params['Operator'].nil?
|
293
|
+
@Operator = UserInfo.new
|
294
|
+
@Operator.deserialize(params['Operator'])
|
295
|
+
end
|
296
|
+
@UserId = params['UserId']
|
297
|
+
@OpenId = params['OpenId']
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
# BindEmployeeUserIdWithClientOpenId返回参数结构体
|
302
|
+
class BindEmployeeUserIdWithClientOpenIdResponse < TencentCloud::Common::AbstractModel
|
303
|
+
# @param Status: 绑定是否成功,1表示成功,0表示失败
|
304
|
+
# @type Status: Integer
|
305
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
306
|
+
# @type RequestId: String
|
307
|
+
|
308
|
+
attr_accessor :Status, :RequestId
|
309
|
+
|
310
|
+
def initialize(status=nil, requestid=nil)
|
311
|
+
@Status = status
|
312
|
+
@RequestId = requestid
|
313
|
+
end
|
314
|
+
|
315
|
+
def deserialize(params)
|
316
|
+
@Status = params['Status']
|
317
|
+
@RequestId = params['RequestId']
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
274
321
|
# 应用回调信息
|
275
322
|
class CallbackInfo < TencentCloud::Common::AbstractModel
|
276
323
|
# @param CallbackUrl: 回调url
|
@@ -4917,6 +4964,53 @@ module TencentCloud
|
|
4917
4964
|
end
|
4918
4965
|
end
|
4919
4966
|
|
4967
|
+
# UnbindEmployeeUserIdWithClientOpenId请求参数结构体
|
4968
|
+
class UnbindEmployeeUserIdWithClientOpenIdRequest < TencentCloud::Common::AbstractModel
|
4969
|
+
# @param Operator: OpenId与UserId二选一必填一个,当传入客户系统openId,传入的openId需与电子签员工userId绑定,且渠道channel必填,channel值为INTEGRATE,否则传入userId
|
4970
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4971
|
+
# @param UserId: 电子签系统员工UserId
|
4972
|
+
# @type UserId: String
|
4973
|
+
# @param OpenId: 客户系统OpenId
|
4974
|
+
# @type OpenId: String
|
4975
|
+
|
4976
|
+
attr_accessor :Operator, :UserId, :OpenId
|
4977
|
+
|
4978
|
+
def initialize(operator=nil, userid=nil, openid=nil)
|
4979
|
+
@Operator = operator
|
4980
|
+
@UserId = userid
|
4981
|
+
@OpenId = openid
|
4982
|
+
end
|
4983
|
+
|
4984
|
+
def deserialize(params)
|
4985
|
+
unless params['Operator'].nil?
|
4986
|
+
@Operator = UserInfo.new
|
4987
|
+
@Operator.deserialize(params['Operator'])
|
4988
|
+
end
|
4989
|
+
@UserId = params['UserId']
|
4990
|
+
@OpenId = params['OpenId']
|
4991
|
+
end
|
4992
|
+
end
|
4993
|
+
|
4994
|
+
# UnbindEmployeeUserIdWithClientOpenId返回参数结构体
|
4995
|
+
class UnbindEmployeeUserIdWithClientOpenIdResponse < TencentCloud::Common::AbstractModel
|
4996
|
+
# @param Status: 解绑是否成功,1表示成功,0表示失败
|
4997
|
+
# @type Status: Integer
|
4998
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4999
|
+
# @type RequestId: String
|
5000
|
+
|
5001
|
+
attr_accessor :Status, :RequestId
|
5002
|
+
|
5003
|
+
def initialize(status=nil, requestid=nil)
|
5004
|
+
@Status = status
|
5005
|
+
@RequestId = requestid
|
5006
|
+
end
|
5007
|
+
|
5008
|
+
def deserialize(params)
|
5009
|
+
@Status = params['Status']
|
5010
|
+
@RequestId = params['RequestId']
|
5011
|
+
end
|
5012
|
+
end
|
5013
|
+
|
4920
5014
|
# UpdateIntegrationEmployees请求参数结构体
|
4921
5015
|
class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
|
4922
5016
|
# @param Operator: 操作人信息
|
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.553
|
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-04-
|
11
|
+
date: 2023-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|