tencentcloud-sdk-essbasic 3.0.632 → 3.0.633
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/v20210526/client.rb +96 -0
- data/lib/v20210526/models.rb +355 -10
- 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: f847f654499cde52e775fb6fe2527075bc12e164
|
4
|
+
data.tar.gz: 8cae4c9433779212b67f2cff110b3d7526ba901a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ff247f8be246e16ba81f4d1ed94a63692e64bbb001e00c318f5ea6b7dbadfbd2c269cb02b07e8cceb2d114dab0beb8ac4ebf77e908bc8fedd446ed170a0d50
|
7
|
+
data.tar.gz: 5638673d88e4063c18ec6fcf7c642167c66558e572c4f90a9327f20e2f0a1dca77cea6c435bc3c4754cacf741a6741d5bb59de8f34323c373c66b1dd1c13a720
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.633
|
data/lib/v20210526/client.rb
CHANGED
@@ -114,6 +114,30 @@ module TencentCloud
|
|
114
114
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
115
115
|
end
|
116
116
|
|
117
|
+
# 此接口(ChannelCancelUserAutoSignEnableUrl)用来撤销发送给个人用户的自动签开通链接,撤销后对应的个人用户开通链接失效。若个人用户已经完成开通,将无法撤销。(处方单场景专用,使用此接口请与客户经理确认)
|
118
|
+
|
119
|
+
# @param request: Request instance for ChannelCancelUserAutoSignEnableUrl.
|
120
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCancelUserAutoSignEnableUrlRequest`
|
121
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCancelUserAutoSignEnableUrlResponse`
|
122
|
+
def ChannelCancelUserAutoSignEnableUrl(request)
|
123
|
+
body = send_request('ChannelCancelUserAutoSignEnableUrl', request.serialize)
|
124
|
+
response = JSON.parse(body)
|
125
|
+
if response['Response'].key?('Error') == false
|
126
|
+
model = ChannelCancelUserAutoSignEnableUrlResponse.new
|
127
|
+
model.deserialize(response['Response'])
|
128
|
+
model
|
129
|
+
else
|
130
|
+
code = response['Response']['Error']['Code']
|
131
|
+
message = response['Response']['Error']['Message']
|
132
|
+
reqid = response['Response']['RequestId']
|
133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
134
|
+
end
|
135
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
136
|
+
raise e
|
137
|
+
rescue StandardError => e
|
138
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
139
|
+
end
|
140
|
+
|
117
141
|
# 指定需要批量撤销的签署流程Id,获取批量撤销链接 - 不建议使用此接口,可使用ChannelBatchCancelFlows
|
118
142
|
# 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;
|
119
143
|
# 接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销;
|
@@ -508,6 +532,30 @@ module TencentCloud
|
|
508
532
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
509
533
|
end
|
510
534
|
|
535
|
+
# 企业方可以通过此接口获取个人用户开启自动签的跳转链接
|
536
|
+
|
537
|
+
# @param request: Request instance for ChannelCreateUserAutoSignEnableUrl.
|
538
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignEnableUrlRequest`
|
539
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignEnableUrlResponse`
|
540
|
+
def ChannelCreateUserAutoSignEnableUrl(request)
|
541
|
+
body = send_request('ChannelCreateUserAutoSignEnableUrl', request.serialize)
|
542
|
+
response = JSON.parse(body)
|
543
|
+
if response['Response'].key?('Error') == false
|
544
|
+
model = ChannelCreateUserAutoSignEnableUrlResponse.new
|
545
|
+
model.deserialize(response['Response'])
|
546
|
+
model
|
547
|
+
else
|
548
|
+
code = response['Response']['Error']['Code']
|
549
|
+
message = response['Response']['Error']['Message']
|
550
|
+
reqid = response['Response']['RequestId']
|
551
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
552
|
+
end
|
553
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
554
|
+
raise e
|
555
|
+
rescue StandardError => e
|
556
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
557
|
+
end
|
558
|
+
|
511
559
|
# 通过此接口,绑定员工角色,支持以电子签userId、客户系统userId两种方式调用。
|
512
560
|
|
513
561
|
# @param request: Request instance for ChannelCreateUserRoles.
|
@@ -701,6 +749,54 @@ module TencentCloud
|
|
701
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
750
|
end
|
703
751
|
|
752
|
+
# 企业方可以通过此接口查询个人用户自动签开启状态
|
753
|
+
|
754
|
+
# @param request: Request instance for ChannelDescribeUserAutoSignStatus.
|
755
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeUserAutoSignStatusRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeUserAutoSignStatusResponse`
|
757
|
+
def ChannelDescribeUserAutoSignStatus(request)
|
758
|
+
body = send_request('ChannelDescribeUserAutoSignStatus', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = ChannelDescribeUserAutoSignStatusResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
776
|
+
# 企业方可以通过此接口关闭个人的自动签功能
|
777
|
+
|
778
|
+
# @param request: Request instance for ChannelDisableUserAutoSign.
|
779
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDisableUserAutoSignRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelDisableUserAutoSignResponse`
|
781
|
+
def ChannelDisableUserAutoSign(request)
|
782
|
+
body = send_request('ChannelDisableUserAutoSign', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = ChannelDisableUserAutoSignResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
704
800
|
# 查询转换任务的状态。转换任务Id通过发起转换任务接口(ChannelCreateConvertTaskApi)获取。
|
705
801
|
# 注意:大文件转换所需的时间可能会比较长。
|
706
802
|
|
data/lib/v20210526/models.rb
CHANGED
@@ -135,6 +135,45 @@ module TencentCloud
|
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
|
+
# 自动签开启、签署相关配置
|
139
|
+
class AutoSignConfig < TencentCloud::Common::AbstractModel
|
140
|
+
# @param UserInfo: 自动签开通个人用户的三要素
|
141
|
+
# @type UserInfo: :class:`Tencentcloud::Essbasic.v20210526.models.UserThreeFactor`
|
142
|
+
# @param CertInfoCallback: 是否回调证书信息
|
143
|
+
# @type CertInfoCallback: Boolean
|
144
|
+
# @param UserDefineSeal: 是否支持用户自定义签名印章
|
145
|
+
# @type UserDefineSeal: Boolean
|
146
|
+
# @param SealImgCallback: 是否需要回调的时候返回印章(签名) 图片的 base64
|
147
|
+
# @type SealImgCallback: Boolean
|
148
|
+
# @param CallbackUrl: 回调链接,如果渠道已经配置了,可以不传
|
149
|
+
# @type CallbackUrl: String
|
150
|
+
# @param VerifyChannels: 开通时候的验证方式,取值:WEIXINAPP(微信人脸识别),INSIGHT(慧眼人脸认别),TELECOM(运营商三要素验证)。如果是小程序开通链接,支持传 WEIXINAPP / TELECOM。如果是 H5 开通链接,支持传 INSIGHT / TELECOM。默认值 WEIXINAPP / INSIGHT。
|
151
|
+
# @type VerifyChannels: Array
|
152
|
+
|
153
|
+
attr_accessor :UserInfo, :CertInfoCallback, :UserDefineSeal, :SealImgCallback, :CallbackUrl, :VerifyChannels
|
154
|
+
|
155
|
+
def initialize(userinfo=nil, certinfocallback=nil, userdefineseal=nil, sealimgcallback=nil, callbackurl=nil, verifychannels=nil)
|
156
|
+
@UserInfo = userinfo
|
157
|
+
@CertInfoCallback = certinfocallback
|
158
|
+
@UserDefineSeal = userdefineseal
|
159
|
+
@SealImgCallback = sealimgcallback
|
160
|
+
@CallbackUrl = callbackurl
|
161
|
+
@VerifyChannels = verifychannels
|
162
|
+
end
|
163
|
+
|
164
|
+
def deserialize(params)
|
165
|
+
unless params['UserInfo'].nil?
|
166
|
+
@UserInfo = UserThreeFactor.new
|
167
|
+
@UserInfo.deserialize(params['UserInfo'])
|
168
|
+
end
|
169
|
+
@CertInfoCallback = params['CertInfoCallback']
|
170
|
+
@UserDefineSeal = params['UserDefineSeal']
|
171
|
+
@SealImgCallback = params['SealImgCallback']
|
172
|
+
@CallbackUrl = params['CallbackUrl']
|
173
|
+
@VerifyChannels = params['VerifyChannels']
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
138
177
|
# 基础流程信息
|
139
178
|
class BaseFlowInfo < TencentCloud::Common::AbstractModel
|
140
179
|
# @param FlowName: 合同流程名称
|
@@ -420,6 +459,59 @@ module TencentCloud
|
|
420
459
|
end
|
421
460
|
end
|
422
461
|
|
462
|
+
# ChannelCancelUserAutoSignEnableUrl请求参数结构体
|
463
|
+
class ChannelCancelUserAutoSignEnableUrlRequest < TencentCloud::Common::AbstractModel
|
464
|
+
# @param Agent: 渠道应用相关信息
|
465
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
466
|
+
# @param Operator: 操作人信息
|
467
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
468
|
+
# @param SceneKey: 自动签场景: E_PRESCRIPTION_AUTO_SIGN 电子处方
|
469
|
+
# @type SceneKey: String
|
470
|
+
# @param UserInfo: 指定撤销链接的用户信息,包含姓名、证件类型、证件号码。
|
471
|
+
# @type UserInfo: :class:`Tencentcloud::Essbasic.v20210526.models.UserThreeFactor`
|
472
|
+
|
473
|
+
attr_accessor :Agent, :Operator, :SceneKey, :UserInfo
|
474
|
+
|
475
|
+
def initialize(agent=nil, operator=nil, scenekey=nil, userinfo=nil)
|
476
|
+
@Agent = agent
|
477
|
+
@Operator = operator
|
478
|
+
@SceneKey = scenekey
|
479
|
+
@UserInfo = userinfo
|
480
|
+
end
|
481
|
+
|
482
|
+
def deserialize(params)
|
483
|
+
unless params['Agent'].nil?
|
484
|
+
@Agent = Agent.new
|
485
|
+
@Agent.deserialize(params['Agent'])
|
486
|
+
end
|
487
|
+
unless params['Operator'].nil?
|
488
|
+
@Operator = UserInfo.new
|
489
|
+
@Operator.deserialize(params['Operator'])
|
490
|
+
end
|
491
|
+
@SceneKey = params['SceneKey']
|
492
|
+
unless params['UserInfo'].nil?
|
493
|
+
@UserInfo = UserThreeFactor.new
|
494
|
+
@UserInfo.deserialize(params['UserInfo'])
|
495
|
+
end
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
# ChannelCancelUserAutoSignEnableUrl返回参数结构体
|
500
|
+
class ChannelCancelUserAutoSignEnableUrlResponse < TencentCloud::Common::AbstractModel
|
501
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
502
|
+
# @type RequestId: String
|
503
|
+
|
504
|
+
attr_accessor :RequestId
|
505
|
+
|
506
|
+
def initialize(requestid=nil)
|
507
|
+
@RequestId = requestid
|
508
|
+
end
|
509
|
+
|
510
|
+
def deserialize(params)
|
511
|
+
@RequestId = params['RequestId']
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
423
515
|
# ChannelCreateBatchCancelFlowUrl请求参数结构体
|
424
516
|
class ChannelCreateBatchCancelFlowUrlRequest < TencentCloud::Common::AbstractModel
|
425
517
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
@@ -682,22 +774,29 @@ module TencentCloud
|
|
682
774
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
683
775
|
# @param FlowName: 签署流程名称,长度不超过200个字符
|
684
776
|
# @type FlowName: String
|
777
|
+
# @param FlowDescription: 签署流程的描述,长度不超过1000个字符
|
778
|
+
# @type FlowDescription: String
|
685
779
|
# @param FlowApprovers: 签署流程签约方列表,最多不超过50个参与方
|
686
780
|
# @type FlowApprovers: Array
|
687
781
|
# @param FileIds: 签署文件资源Id列表,目前仅支持单个文件
|
688
782
|
# @type FileIds: Array
|
689
783
|
# @param Components: 签署文件中的发起方的填写控件,需要在发起的时候进行填充
|
690
784
|
# @type Components: Array
|
691
|
-
# @param Deadline:
|
785
|
+
# @param Deadline: 签署流程的签署截止时间。
|
786
|
+
# 值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
787
|
+
# 不能早于当前时间
|
692
788
|
# @type Deadline: Integer
|
693
789
|
# @param CallbackUrl: 签署流程回调地址,长度不超过255个字符
|
790
|
+
# 如果不传递回调地址, 则默认是配置应用号时候使用的回调地址
|
694
791
|
# @type CallbackUrl: String
|
695
|
-
# @param Unordered: 合同签署顺序类型
|
792
|
+
# @param Unordered: 合同签署顺序类型
|
793
|
+
# true - 无序签,
|
794
|
+
# false - 顺序签,
|
795
|
+
# 默认为false,即有序签署。
|
796
|
+
# 有序签署时以传入FlowApprovers数组的顺序作为签署顺序
|
696
797
|
# @type Unordered: Boolean
|
697
798
|
# @param FlowType: 签署流程的类型,长度不超过255个字符
|
698
799
|
# @type FlowType: String
|
699
|
-
# @param FlowDescription: 签署流程的描述,长度不超过1000个字符
|
700
|
-
# @type FlowDescription: String
|
701
800
|
# @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
702
801
|
# @type CustomShowMap: String
|
703
802
|
# @param CustomerData: 业务信息,最大长度1000个字符。
|
@@ -709,25 +808,31 @@ module TencentCloud
|
|
709
808
|
# MobileCheck:手机号验证
|
710
809
|
# 参数说明:可选人脸识别或手机号验证两种方式,若选择后者,未实名个人签署方在签署合同时,无需经过实名认证和意愿确认两次人脸识别,该能力仅适用于个人签署方。
|
711
810
|
# @type ApproverVerifyType: String
|
712
|
-
# @param SignBeanTag: 标识是否允许发起后添加控件。
|
811
|
+
# @param SignBeanTag: 标识是否允许发起后添加控件。
|
812
|
+
# 0为不允许
|
813
|
+
# 1为允许。
|
814
|
+
# 如果为1,创建的时候不能有签署控件,只能创建后添加。注意发起后添加控件功能不支持添加骑缝章和签批控件
|
713
815
|
# @type SignBeanTag: Integer
|
714
816
|
# @param CcInfos: 被抄送人信息列表
|
715
817
|
# @type CcInfos: Array
|
716
|
-
# @param CcNotifyType: 给关注人发送短信通知的类型,
|
818
|
+
# @param CcNotifyType: 给关注人发送短信通知的类型,
|
819
|
+
# 0-合同发起时通知
|
820
|
+
# 1-签署完成后通知
|
717
821
|
# @type CcNotifyType: Integer
|
718
822
|
# @param AutoSignScene: 个人自动签场景。发起自动签署时,需设置对应自动签署场景,目前仅支持场景:处方单-E_PRESCRIPTION_AUTO_SIGN
|
719
823
|
# @type AutoSignScene: String
|
720
824
|
# @param Operator: 操作者的信息,不用传
|
721
825
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
722
826
|
|
723
|
-
attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :
|
827
|
+
attr_accessor :Agent, :FlowName, :FlowDescription, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :CustomShowMap, :CustomerData, :NeedSignReview, :ApproverVerifyType, :SignBeanTag, :CcInfos, :CcNotifyType, :AutoSignScene, :Operator
|
724
828
|
extend Gem::Deprecate
|
725
829
|
deprecate :Operator, :none, 2023, 8
|
726
830
|
deprecate :Operator=, :none, 2023, 8
|
727
831
|
|
728
|
-
def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil,
|
832
|
+
def initialize(agent=nil, flowname=nil, flowdescription=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, customshowmap=nil, customerdata=nil, needsignreview=nil, approververifytype=nil, signbeantag=nil, ccinfos=nil, ccnotifytype=nil, autosignscene=nil, operator=nil)
|
729
833
|
@Agent = agent
|
730
834
|
@FlowName = flowname
|
835
|
+
@FlowDescription = flowdescription
|
731
836
|
@FlowApprovers = flowapprovers
|
732
837
|
@FileIds = fileids
|
733
838
|
@Components = components
|
@@ -735,7 +840,6 @@ module TencentCloud
|
|
735
840
|
@CallbackUrl = callbackurl
|
736
841
|
@Unordered = unordered
|
737
842
|
@FlowType = flowtype
|
738
|
-
@FlowDescription = flowdescription
|
739
843
|
@CustomShowMap = customshowmap
|
740
844
|
@CustomerData = customerdata
|
741
845
|
@NeedSignReview = needsignreview
|
@@ -753,6 +857,7 @@ module TencentCloud
|
|
753
857
|
@Agent.deserialize(params['Agent'])
|
754
858
|
end
|
755
859
|
@FlowName = params['FlowName']
|
860
|
+
@FlowDescription = params['FlowDescription']
|
756
861
|
unless params['FlowApprovers'].nil?
|
757
862
|
@FlowApprovers = []
|
758
863
|
params['FlowApprovers'].each do |i|
|
@@ -774,7 +879,6 @@ module TencentCloud
|
|
774
879
|
@CallbackUrl = params['CallbackUrl']
|
775
880
|
@Unordered = params['Unordered']
|
776
881
|
@FlowType = params['FlowType']
|
777
|
-
@FlowDescription = params['FlowDescription']
|
778
882
|
@CustomShowMap = params['CustomShowMap']
|
779
883
|
@CustomerData = params['CustomerData']
|
780
884
|
@NeedSignReview = params['NeedSignReview']
|
@@ -1575,6 +1679,100 @@ module TencentCloud
|
|
1575
1679
|
end
|
1576
1680
|
end
|
1577
1681
|
|
1682
|
+
# ChannelCreateUserAutoSignEnableUrl请求参数结构体
|
1683
|
+
class ChannelCreateUserAutoSignEnableUrlRequest < TencentCloud::Common::AbstractModel
|
1684
|
+
# @param Agent: 渠道应用相关信息
|
1685
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1686
|
+
# @param SceneKey: 自动签场景:
|
1687
|
+
# E_PRESCRIPTION_AUTO_SIGN 电子处方
|
1688
|
+
# @type SceneKey: String
|
1689
|
+
# @param Operator: 操作人信息
|
1690
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1691
|
+
# @param AutoSignConfig: 自动签开通,签署相关配置
|
1692
|
+
# @type AutoSignConfig: :class:`Tencentcloud::Essbasic.v20210526.models.AutoSignConfig`
|
1693
|
+
# @param UrlType: 链接类型,空-默认小程序端链接,H5SIGN-h5端链接
|
1694
|
+
# @type UrlType: String
|
1695
|
+
# @param NotifyType: 通知类型,默认不填为不通知开通方,填写 SMS 为短信通知。
|
1696
|
+
# @type NotifyType: String
|
1697
|
+
# @param NotifyAddress: 若上方填写为 SMS,则此处为手机号
|
1698
|
+
# @type NotifyAddress: String
|
1699
|
+
# @param ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为30天。如果不传,默认有效期为7天。
|
1700
|
+
# @type ExpiredTime: Integer
|
1701
|
+
|
1702
|
+
attr_accessor :Agent, :SceneKey, :Operator, :AutoSignConfig, :UrlType, :NotifyType, :NotifyAddress, :ExpiredTime
|
1703
|
+
|
1704
|
+
def initialize(agent=nil, scenekey=nil, operator=nil, autosignconfig=nil, urltype=nil, notifytype=nil, notifyaddress=nil, expiredtime=nil)
|
1705
|
+
@Agent = agent
|
1706
|
+
@SceneKey = scenekey
|
1707
|
+
@Operator = operator
|
1708
|
+
@AutoSignConfig = autosignconfig
|
1709
|
+
@UrlType = urltype
|
1710
|
+
@NotifyType = notifytype
|
1711
|
+
@NotifyAddress = notifyaddress
|
1712
|
+
@ExpiredTime = expiredtime
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
def deserialize(params)
|
1716
|
+
unless params['Agent'].nil?
|
1717
|
+
@Agent = Agent.new
|
1718
|
+
@Agent.deserialize(params['Agent'])
|
1719
|
+
end
|
1720
|
+
@SceneKey = params['SceneKey']
|
1721
|
+
unless params['Operator'].nil?
|
1722
|
+
@Operator = UserInfo.new
|
1723
|
+
@Operator.deserialize(params['Operator'])
|
1724
|
+
end
|
1725
|
+
unless params['AutoSignConfig'].nil?
|
1726
|
+
@AutoSignConfig = AutoSignConfig.new
|
1727
|
+
@AutoSignConfig.deserialize(params['AutoSignConfig'])
|
1728
|
+
end
|
1729
|
+
@UrlType = params['UrlType']
|
1730
|
+
@NotifyType = params['NotifyType']
|
1731
|
+
@NotifyAddress = params['NotifyAddress']
|
1732
|
+
@ExpiredTime = params['ExpiredTime']
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# ChannelCreateUserAutoSignEnableUrl返回参数结构体
|
1737
|
+
class ChannelCreateUserAutoSignEnableUrlResponse < TencentCloud::Common::AbstractModel
|
1738
|
+
# @param Url: 跳转短链
|
1739
|
+
# @type Url: String
|
1740
|
+
# @param AppId: 小程序AppId
|
1741
|
+
# @type AppId: String
|
1742
|
+
# @param AppOriginalId: 小程序 原始 Id
|
1743
|
+
# @type AppOriginalId: String
|
1744
|
+
# @param Path: 跳转路径
|
1745
|
+
# @type Path: String
|
1746
|
+
# @param QrCode: base64格式跳转二维码
|
1747
|
+
# @type QrCode: String
|
1748
|
+
# @param UrlType: 链接类型,空-默认小程序端链接,H5SIGN-h5端链接
|
1749
|
+
# @type UrlType: String
|
1750
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1751
|
+
# @type RequestId: String
|
1752
|
+
|
1753
|
+
attr_accessor :Url, :AppId, :AppOriginalId, :Path, :QrCode, :UrlType, :RequestId
|
1754
|
+
|
1755
|
+
def initialize(url=nil, appid=nil, apporiginalid=nil, path=nil, qrcode=nil, urltype=nil, requestid=nil)
|
1756
|
+
@Url = url
|
1757
|
+
@AppId = appid
|
1758
|
+
@AppOriginalId = apporiginalid
|
1759
|
+
@Path = path
|
1760
|
+
@QrCode = qrcode
|
1761
|
+
@UrlType = urltype
|
1762
|
+
@RequestId = requestid
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
def deserialize(params)
|
1766
|
+
@Url = params['Url']
|
1767
|
+
@AppId = params['AppId']
|
1768
|
+
@AppOriginalId = params['AppOriginalId']
|
1769
|
+
@Path = params['Path']
|
1770
|
+
@QrCode = params['QrCode']
|
1771
|
+
@UrlType = params['UrlType']
|
1772
|
+
@RequestId = params['RequestId']
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
|
1578
1776
|
# ChannelCreateUserRoles请求参数结构体
|
1579
1777
|
class ChannelCreateUserRolesRequest < TencentCloud::Common::AbstractModel
|
1580
1778
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
@@ -2122,6 +2320,126 @@ module TencentCloud
|
|
2122
2320
|
end
|
2123
2321
|
end
|
2124
2322
|
|
2323
|
+
# ChannelDescribeUserAutoSignStatus请求参数结构体
|
2324
|
+
class ChannelDescribeUserAutoSignStatusRequest < TencentCloud::Common::AbstractModel
|
2325
|
+
# @param Agent: 渠道应用相关信息
|
2326
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
2327
|
+
# @param SceneKey: 自动签场景:
|
2328
|
+
# E_PRESCRIPTION_AUTO_SIGN 电子处方
|
2329
|
+
# @type SceneKey: String
|
2330
|
+
# @param UserInfo: 查询开启状态的用户信息
|
2331
|
+
# @type UserInfo: :class:`Tencentcloud::Essbasic.v20210526.models.UserThreeFactor`
|
2332
|
+
# @param Operator: 操作人信息
|
2333
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
2334
|
+
|
2335
|
+
attr_accessor :Agent, :SceneKey, :UserInfo, :Operator
|
2336
|
+
|
2337
|
+
def initialize(agent=nil, scenekey=nil, userinfo=nil, operator=nil)
|
2338
|
+
@Agent = agent
|
2339
|
+
@SceneKey = scenekey
|
2340
|
+
@UserInfo = userinfo
|
2341
|
+
@Operator = operator
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
def deserialize(params)
|
2345
|
+
unless params['Agent'].nil?
|
2346
|
+
@Agent = Agent.new
|
2347
|
+
@Agent.deserialize(params['Agent'])
|
2348
|
+
end
|
2349
|
+
@SceneKey = params['SceneKey']
|
2350
|
+
unless params['UserInfo'].nil?
|
2351
|
+
@UserInfo = UserThreeFactor.new
|
2352
|
+
@UserInfo.deserialize(params['UserInfo'])
|
2353
|
+
end
|
2354
|
+
unless params['Operator'].nil?
|
2355
|
+
@Operator = UserInfo.new
|
2356
|
+
@Operator.deserialize(params['Operator'])
|
2357
|
+
end
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
# ChannelDescribeUserAutoSignStatus返回参数结构体
|
2362
|
+
class ChannelDescribeUserAutoSignStatusResponse < TencentCloud::Common::AbstractModel
|
2363
|
+
# @param IsOpen: 是否开通
|
2364
|
+
# @type IsOpen: Boolean
|
2365
|
+
# @param LicenseFrom: 自动签许可生效时间。当且仅当已开通自动签时有值。
|
2366
|
+
# @type LicenseFrom: Integer
|
2367
|
+
# @param LicenseTo: 自动签许可到期时间。当且仅当已开通自动签时有值。
|
2368
|
+
# @type LicenseTo: Integer
|
2369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2370
|
+
# @type RequestId: String
|
2371
|
+
|
2372
|
+
attr_accessor :IsOpen, :LicenseFrom, :LicenseTo, :RequestId
|
2373
|
+
|
2374
|
+
def initialize(isopen=nil, licensefrom=nil, licenseto=nil, requestid=nil)
|
2375
|
+
@IsOpen = isopen
|
2376
|
+
@LicenseFrom = licensefrom
|
2377
|
+
@LicenseTo = licenseto
|
2378
|
+
@RequestId = requestid
|
2379
|
+
end
|
2380
|
+
|
2381
|
+
def deserialize(params)
|
2382
|
+
@IsOpen = params['IsOpen']
|
2383
|
+
@LicenseFrom = params['LicenseFrom']
|
2384
|
+
@LicenseTo = params['LicenseTo']
|
2385
|
+
@RequestId = params['RequestId']
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
# ChannelDisableUserAutoSign请求参数结构体
|
2390
|
+
class ChannelDisableUserAutoSignRequest < TencentCloud::Common::AbstractModel
|
2391
|
+
# @param Agent: 渠道应用相关信息
|
2392
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
2393
|
+
# @param SceneKey: 自动签场景:
|
2394
|
+
# E_PRESCRIPTION_AUTO_SIGN 电子处方
|
2395
|
+
# @type SceneKey: String
|
2396
|
+
# @param UserInfo: 关闭自动签的个人的三要素
|
2397
|
+
# @type UserInfo: :class:`Tencentcloud::Essbasic.v20210526.models.UserThreeFactor`
|
2398
|
+
# @param Operator: 操作人信息
|
2399
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
2400
|
+
|
2401
|
+
attr_accessor :Agent, :SceneKey, :UserInfo, :Operator
|
2402
|
+
|
2403
|
+
def initialize(agent=nil, scenekey=nil, userinfo=nil, operator=nil)
|
2404
|
+
@Agent = agent
|
2405
|
+
@SceneKey = scenekey
|
2406
|
+
@UserInfo = userinfo
|
2407
|
+
@Operator = operator
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
def deserialize(params)
|
2411
|
+
unless params['Agent'].nil?
|
2412
|
+
@Agent = Agent.new
|
2413
|
+
@Agent.deserialize(params['Agent'])
|
2414
|
+
end
|
2415
|
+
@SceneKey = params['SceneKey']
|
2416
|
+
unless params['UserInfo'].nil?
|
2417
|
+
@UserInfo = UserThreeFactor.new
|
2418
|
+
@UserInfo.deserialize(params['UserInfo'])
|
2419
|
+
end
|
2420
|
+
unless params['Operator'].nil?
|
2421
|
+
@Operator = UserInfo.new
|
2422
|
+
@Operator.deserialize(params['Operator'])
|
2423
|
+
end
|
2424
|
+
end
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
# ChannelDisableUserAutoSign返回参数结构体
|
2428
|
+
class ChannelDisableUserAutoSignResponse < TencentCloud::Common::AbstractModel
|
2429
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2430
|
+
# @type RequestId: String
|
2431
|
+
|
2432
|
+
attr_accessor :RequestId
|
2433
|
+
|
2434
|
+
def initialize(requestid=nil)
|
2435
|
+
@RequestId = requestid
|
2436
|
+
end
|
2437
|
+
|
2438
|
+
def deserialize(params)
|
2439
|
+
@RequestId = params['RequestId']
|
2440
|
+
end
|
2441
|
+
end
|
2442
|
+
|
2125
2443
|
# ChannelGetTaskResultApi请求参数结构体
|
2126
2444
|
class ChannelGetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
2127
2445
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。
|
@@ -5982,6 +6300,33 @@ module TencentCloud
|
|
5982
6300
|
end
|
5983
6301
|
end
|
5984
6302
|
|
6303
|
+
# 用户的三要素:姓名,证件号,证件类型
|
6304
|
+
class UserThreeFactor < TencentCloud::Common::AbstractModel
|
6305
|
+
# @param Name: 姓名
|
6306
|
+
# @type Name: String
|
6307
|
+
# @param IdCardType: 证件类型:
|
6308
|
+
# ID_CARD 身份证
|
6309
|
+
# HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
6310
|
+
# HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
6311
|
+
# @type IdCardType: String
|
6312
|
+
# @param IdCardNumber: 证件号,如果有 X 请大写
|
6313
|
+
# @type IdCardNumber: String
|
6314
|
+
|
6315
|
+
attr_accessor :Name, :IdCardType, :IdCardNumber
|
6316
|
+
|
6317
|
+
def initialize(name=nil, idcardtype=nil, idcardnumber=nil)
|
6318
|
+
@Name = name
|
6319
|
+
@IdCardType = idcardtype
|
6320
|
+
@IdCardNumber = idcardnumber
|
6321
|
+
end
|
6322
|
+
|
6323
|
+
def deserialize(params)
|
6324
|
+
@Name = params['Name']
|
6325
|
+
@IdCardType = params['IdCardType']
|
6326
|
+
@IdCardNumber = params['IdCardNumber']
|
6327
|
+
end
|
6328
|
+
end
|
6329
|
+
|
5985
6330
|
# 主题配置
|
5986
6331
|
class WebThemeConfig < TencentCloud::Common::AbstractModel
|
5987
6332
|
# @param DisplaySignBrandLogo: 页面底部是否显示电子签logo
|
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.
|
4
|
+
version: 3.0.633
|
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-08-
|
11
|
+
date: 2023-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|