tencentcloud-sdk-ess 3.0.620 → 3.0.622
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +75 -0
- data/lib/v20201111/models.rb +256 -19
- 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: f218afd8080dda8b31eb92a0826b66d30934e78b
|
4
|
+
data.tar.gz: 5a20c2357e7aec7dd27615d870acd6797dc393bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d41d6e8c5b0d89920c4a5c134dc669a84d6c6e8d66781aed80531a1135d031bf3d668a975b89c69fe1d812e265e13d0b67dc05a8d7662b3e6cfa8b24cbf55fa
|
7
|
+
data.tar.gz: 30aeb97544852a4b47bcd73e87c7e3e53d0d2c23b56e3b17a33060faae9c8c24ba7635af964ffc8f255c3a862533e4eae4c9d3c9d87f37c9ca95f313cebffad0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.622
|
data/lib/v20201111/client.rb
CHANGED
@@ -233,6 +233,30 @@ module TencentCloud
|
|
233
233
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
234
234
|
end
|
235
235
|
|
236
|
+
# 本接口(CreateEmbedWebUrl)用于创建嵌入web的链接 本接口支持创建:创建印章,创建模板,修改模板,预览模板,预览合同流程的web链接 进入web连接后与当前控制台操作保持一致
|
237
|
+
|
238
|
+
# @param request: Request instance for CreateEmbedWebUrl.
|
239
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateEmbedWebUrlRequest`
|
240
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateEmbedWebUrlResponse`
|
241
|
+
def CreateEmbedWebUrl(request)
|
242
|
+
body = send_request('CreateEmbedWebUrl', request.serialize)
|
243
|
+
response = JSON.parse(body)
|
244
|
+
if response['Response'].key?('Error') == false
|
245
|
+
model = CreateEmbedWebUrlResponse.new
|
246
|
+
model.deserialize(response['Response'])
|
247
|
+
model
|
248
|
+
else
|
249
|
+
code = response['Response']['Error']['Code']
|
250
|
+
message = response['Response']['Error']['Message']
|
251
|
+
reqid = response['Response']['RequestId']
|
252
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
253
|
+
end
|
254
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
255
|
+
raise e
|
256
|
+
rescue StandardError => e
|
257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
258
|
+
end
|
259
|
+
|
236
260
|
# 通过模板创建签署流程<br/>
|
237
261
|
# 适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。<br/>
|
238
262
|
# 注:该接口是通过模板生成合同流程的前置接口,先创建一个不包含签署文件的流程。<br/>
|
@@ -579,6 +603,31 @@ module TencentCloud
|
|
579
603
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
580
604
|
end
|
581
605
|
|
606
|
+
# 通过此接口,创建企业批量签署链接,企业员工点击链接即可跳转控制台进行批量签署。
|
607
|
+
# 如果没有UserId,Name和Mobile必填,对应的员工必须在企业下已经实名,且该员工为批量签署合同中的签署方。
|
608
|
+
|
609
|
+
# @param request: Request instance for CreateOrganizationBatchSignUrl.
|
610
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateOrganizationBatchSignUrlRequest`
|
611
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateOrganizationBatchSignUrlResponse`
|
612
|
+
def CreateOrganizationBatchSignUrl(request)
|
613
|
+
body = send_request('CreateOrganizationBatchSignUrl', request.serialize)
|
614
|
+
response = JSON.parse(body)
|
615
|
+
if response['Response'].key?('Error') == false
|
616
|
+
model = CreateOrganizationBatchSignUrlResponse.new
|
617
|
+
model.deserialize(response['Response'])
|
618
|
+
model
|
619
|
+
else
|
620
|
+
code = response['Response']['Error']['Code']
|
621
|
+
message = response['Response']['Error']['Message']
|
622
|
+
reqid = response['Response']['RequestId']
|
623
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
624
|
+
end
|
625
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
626
|
+
raise e
|
627
|
+
rescue StandardError => e
|
628
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
629
|
+
end
|
630
|
+
|
582
631
|
# 创建快速发起流程
|
583
632
|
# 适用场景:用户通过API 合同文件及签署信息,并可通过我们返回的URL在页面完成签署控件等信息的编辑与确认,快速发起合同.
|
584
633
|
# 注:该接口文件的resourceId 是通过上传文件之后获取的。
|
@@ -759,6 +808,30 @@ module TencentCloud
|
|
759
808
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
760
809
|
end
|
761
810
|
|
811
|
+
# 用来创建页面主题配置
|
812
|
+
|
813
|
+
# @param request: Request instance for CreateWebThemeConfig.
|
814
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateWebThemeConfigRequest`
|
815
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateWebThemeConfigResponse`
|
816
|
+
def CreateWebThemeConfig(request)
|
817
|
+
body = send_request('CreateWebThemeConfig', request.serialize)
|
818
|
+
response = JSON.parse(body)
|
819
|
+
if response['Response'].key?('Error') == false
|
820
|
+
model = CreateWebThemeConfigResponse.new
|
821
|
+
model.deserialize(response['Response'])
|
822
|
+
model
|
823
|
+
else
|
824
|
+
code = response['Response']['Error']['Code']
|
825
|
+
message = response['Response']['Error']['Message']
|
826
|
+
reqid = response['Response']['RequestId']
|
827
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
828
|
+
end
|
829
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
830
|
+
raise e
|
831
|
+
rescue StandardError => e
|
832
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
833
|
+
end
|
834
|
+
|
762
835
|
# 通过此接口,删除企业的部门。
|
763
836
|
|
764
837
|
# @param request: Request instance for DeleteIntegrationDepartment.
|
@@ -1076,6 +1149,8 @@ module TencentCloud
|
|
1076
1149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1077
1150
|
end
|
1078
1151
|
|
1152
|
+
# 集团企业统一使用主代子进行操作,无需根据子企业账号进行转化查询,该接口需要屏蔽下线
|
1153
|
+
|
1079
1154
|
# 通过子企业影子账号查询主企业员工账号
|
1080
1155
|
|
1081
1156
|
# @param request: Request instance for DescribeIntegrationMainOrganizationUser.
|
data/lib/v20201111/models.rb
CHANGED
@@ -109,7 +109,7 @@ module TencentCloud
|
|
109
109
|
# @type UserId: String
|
110
110
|
# @param ApproverSource: 签署人用户来源,企微侧用户请传入:WEWORKAPP
|
111
111
|
# @type ApproverSource: String
|
112
|
-
# @param CustomApproverTag:
|
112
|
+
# @param CustomApproverTag: 企业签署方或签标识,客户自定义,64位长度。用于发起含有或签签署人的合同。或签参与人必须有此字段。合同内不同或签参与人CustomApproverTag需要保证唯一。如果或签签署人为本方企微参与人,ApproverSource参数需要指定WEWORKAPP
|
113
113
|
# @type CustomApproverTag: String
|
114
114
|
# @param ApproverOption: 签署人个性化能力值
|
115
115
|
# @type ApproverOption: :class:`Tencentcloud::Ess.v20201111.models.ApproverOption`
|
@@ -1081,6 +1081,73 @@ module TencentCloud
|
|
1081
1081
|
end
|
1082
1082
|
end
|
1083
1083
|
|
1084
|
+
# CreateEmbedWebUrl请求参数结构体
|
1085
|
+
class CreateEmbedWebUrlRequest < TencentCloud::Common::AbstractModel
|
1086
|
+
# @param Operator: 操作者信息
|
1087
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1088
|
+
# @param EmbedType: WEB嵌入资源类型。
|
1089
|
+
# <br/>CREATE_SEAL: 创建印章
|
1090
|
+
# <br/>PREVIEW_SEAL_LIST:预览印章列表
|
1091
|
+
# <br/>PREVIEW_SEAL_DETAIL:预览印章详情
|
1092
|
+
# <br/>EXTEND_SERVICE:拓展服务
|
1093
|
+
# @type EmbedType: String
|
1094
|
+
# @param BusinessId: WEB嵌入的业务资源ID
|
1095
|
+
# <br/>PREVIEW_SEAL_DETAIL,必填,取值为印章id
|
1096
|
+
# @type BusinessId: String
|
1097
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作
|
1098
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1099
|
+
# @param Reviewer: 抄送方信息
|
1100
|
+
# @type Reviewer: :class:`Tencentcloud::Ess.v20201111.models.ReviewerInfo`
|
1101
|
+
|
1102
|
+
attr_accessor :Operator, :EmbedType, :BusinessId, :Agent, :Reviewer
|
1103
|
+
|
1104
|
+
def initialize(operator=nil, embedtype=nil, businessid=nil, agent=nil, reviewer=nil)
|
1105
|
+
@Operator = operator
|
1106
|
+
@EmbedType = embedtype
|
1107
|
+
@BusinessId = businessid
|
1108
|
+
@Agent = agent
|
1109
|
+
@Reviewer = reviewer
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
def deserialize(params)
|
1113
|
+
unless params['Operator'].nil?
|
1114
|
+
@Operator = UserInfo.new
|
1115
|
+
@Operator.deserialize(params['Operator'])
|
1116
|
+
end
|
1117
|
+
@EmbedType = params['EmbedType']
|
1118
|
+
@BusinessId = params['BusinessId']
|
1119
|
+
unless params['Agent'].nil?
|
1120
|
+
@Agent = Agent.new
|
1121
|
+
@Agent.deserialize(params['Agent'])
|
1122
|
+
end
|
1123
|
+
unless params['Reviewer'].nil?
|
1124
|
+
@Reviewer = ReviewerInfo.new
|
1125
|
+
@Reviewer.deserialize(params['Reviewer'])
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# CreateEmbedWebUrl返回参数结构体
|
1131
|
+
class CreateEmbedWebUrlResponse < TencentCloud::Common::AbstractModel
|
1132
|
+
# @param WebUrl: 嵌入的web链接,有效期:5分钟
|
1133
|
+
# EmbedType=PREVIEW_CC_FLOW,该url为h5链接
|
1134
|
+
# @type WebUrl: String
|
1135
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1136
|
+
# @type RequestId: String
|
1137
|
+
|
1138
|
+
attr_accessor :WebUrl, :RequestId
|
1139
|
+
|
1140
|
+
def initialize(weburl=nil, requestid=nil)
|
1141
|
+
@WebUrl = weburl
|
1142
|
+
@RequestId = requestid
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
def deserialize(params)
|
1146
|
+
@WebUrl = params['WebUrl']
|
1147
|
+
@RequestId = params['RequestId']
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1084
1151
|
# CreateFlowApprovers请求参数结构体
|
1085
1152
|
class CreateFlowApproversRequest < TencentCloud::Common::AbstractModel
|
1086
1153
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -2156,6 +2223,72 @@ module TencentCloud
|
|
2156
2223
|
end
|
2157
2224
|
end
|
2158
2225
|
|
2226
|
+
# CreateOrganizationBatchSignUrl请求参数结构体
|
2227
|
+
class CreateOrganizationBatchSignUrlRequest < TencentCloud::Common::AbstractModel
|
2228
|
+
# @param Operator: 调用方用户信息,UserId 必填,支持填入集团子公司经办人UserId。
|
2229
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2230
|
+
# @param FlowIds: 指定需要进行批量签署的流程id,数量1-100,填写后用户将通过链接对这些合同进行批量签署。
|
2231
|
+
# @type FlowIds: Array
|
2232
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填。
|
2233
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2234
|
+
# @param UserId: 员工的UserId,该UserId对应的员工必须已经加入企业并实名,Name和Mobile为空时该字段不能为空。(优先使用UserId对应的员工)
|
2235
|
+
# @type UserId: String
|
2236
|
+
# @param Name: 员工姓名,该字段需要与Mobile组合使用,UserId为空时该字段不能为空。(UserId为空时,使用Name和Mbile对应的员工)
|
2237
|
+
# @type Name: String
|
2238
|
+
# @param Mobile: 员工手机号码,该字段需要与Name组合使用,UserId为空时该字段不能为空。(UserId为空时,使用Name和Mbile对应的员工)
|
2239
|
+
# @type Mobile: String
|
2240
|
+
|
2241
|
+
attr_accessor :Operator, :FlowIds, :Agent, :UserId, :Name, :Mobile
|
2242
|
+
|
2243
|
+
def initialize(operator=nil, flowids=nil, agent=nil, userid=nil, name=nil, mobile=nil)
|
2244
|
+
@Operator = operator
|
2245
|
+
@FlowIds = flowids
|
2246
|
+
@Agent = agent
|
2247
|
+
@UserId = userid
|
2248
|
+
@Name = name
|
2249
|
+
@Mobile = mobile
|
2250
|
+
end
|
2251
|
+
|
2252
|
+
def deserialize(params)
|
2253
|
+
unless params['Operator'].nil?
|
2254
|
+
@Operator = UserInfo.new
|
2255
|
+
@Operator.deserialize(params['Operator'])
|
2256
|
+
end
|
2257
|
+
@FlowIds = params['FlowIds']
|
2258
|
+
unless params['Agent'].nil?
|
2259
|
+
@Agent = Agent.new
|
2260
|
+
@Agent.deserialize(params['Agent'])
|
2261
|
+
end
|
2262
|
+
@UserId = params['UserId']
|
2263
|
+
@Name = params['Name']
|
2264
|
+
@Mobile = params['Mobile']
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
# CreateOrganizationBatchSignUrl返回参数结构体
|
2269
|
+
class CreateOrganizationBatchSignUrlResponse < TencentCloud::Common::AbstractModel
|
2270
|
+
# @param SignUrl: 批量签署入口链接
|
2271
|
+
# @type SignUrl: String
|
2272
|
+
# @param ExpiredTime: 链接过期时间戳
|
2273
|
+
# @type ExpiredTime: Integer
|
2274
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2275
|
+
# @type RequestId: String
|
2276
|
+
|
2277
|
+
attr_accessor :SignUrl, :ExpiredTime, :RequestId
|
2278
|
+
|
2279
|
+
def initialize(signurl=nil, expiredtime=nil, requestid=nil)
|
2280
|
+
@SignUrl = signurl
|
2281
|
+
@ExpiredTime = expiredtime
|
2282
|
+
@RequestId = requestid
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
def deserialize(params)
|
2286
|
+
@SignUrl = params['SignUrl']
|
2287
|
+
@ExpiredTime = params['ExpiredTime']
|
2288
|
+
@RequestId = params['RequestId']
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2159
2292
|
# CreatePrepareFlow请求参数结构体
|
2160
2293
|
class CreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
2161
2294
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -2175,10 +2308,12 @@ module TencentCloud
|
|
2175
2308
|
# @type Approvers: Array
|
2176
2309
|
# @param IntelligentStatus: 打开智能添加填写区(默认开启,打开:"OPEN" 关闭:"CLOSE")
|
2177
2310
|
# @type IntelligentStatus: String
|
2311
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
2312
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2178
2313
|
|
2179
|
-
attr_accessor :Operator, :ResourceId, :FlowName, :Unordered, :Deadline, :UserFlowTypeId, :Approvers, :IntelligentStatus
|
2314
|
+
attr_accessor :Operator, :ResourceId, :FlowName, :Unordered, :Deadline, :UserFlowTypeId, :Approvers, :IntelligentStatus, :Agent
|
2180
2315
|
|
2181
|
-
def initialize(operator=nil, resourceid=nil, flowname=nil, unordered=nil, deadline=nil, userflowtypeid=nil, approvers=nil, intelligentstatus=nil)
|
2316
|
+
def initialize(operator=nil, resourceid=nil, flowname=nil, unordered=nil, deadline=nil, userflowtypeid=nil, approvers=nil, intelligentstatus=nil, agent=nil)
|
2182
2317
|
@Operator = operator
|
2183
2318
|
@ResourceId = resourceid
|
2184
2319
|
@FlowName = flowname
|
@@ -2187,6 +2322,7 @@ module TencentCloud
|
|
2187
2322
|
@UserFlowTypeId = userflowtypeid
|
2188
2323
|
@Approvers = approvers
|
2189
2324
|
@IntelligentStatus = intelligentstatus
|
2325
|
+
@Agent = agent
|
2190
2326
|
end
|
2191
2327
|
|
2192
2328
|
def deserialize(params)
|
@@ -2208,6 +2344,10 @@ module TencentCloud
|
|
2208
2344
|
end
|
2209
2345
|
end
|
2210
2346
|
@IntelligentStatus = params['IntelligentStatus']
|
2347
|
+
unless params['Agent'].nil?
|
2348
|
+
@Agent = Agent.new
|
2349
|
+
@Agent.deserialize(params['Agent'])
|
2350
|
+
end
|
2211
2351
|
end
|
2212
2352
|
end
|
2213
2353
|
|
@@ -2579,7 +2719,9 @@ module TencentCloud
|
|
2579
2719
|
# @type SealName: String
|
2580
2720
|
# @param Agent: 应用相关信息
|
2581
2721
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2582
|
-
# @param
|
2722
|
+
# @param GenerateSource: 本接口支持上传图片印章及系统直接生成印章;如果要使用系统生成印章,此值传:SealGenerateSourceSystem;如果要使用图片上传请传字段 Image
|
2723
|
+
# @type GenerateSource: String
|
2724
|
+
# @param SealType: 电子印章类型,OFFICIAL-公章,CONTRACT-合同专用章
|
2583
2725
|
# @type SealType: String
|
2584
2726
|
# @param FileName: 电子印章图片文件名称
|
2585
2727
|
# @type FileName: String
|
@@ -2596,26 +2738,22 @@ module TencentCloud
|
|
2596
2738
|
|
2597
2739
|
# 系统目前只支持红色印章创建。
|
2598
2740
|
# @type Color: String
|
2599
|
-
# @param SealHorizontalText:
|
2741
|
+
# @param SealHorizontalText: 暂时不支持横向文字设置
|
2600
2742
|
# @type SealHorizontalText: String
|
2601
|
-
# @param SealChordText:
|
2743
|
+
# @param SealChordText: 暂时不支持下弦文字设置
|
2602
2744
|
# @type SealChordText: String
|
2603
|
-
# @param SealCentralType:
|
2604
|
-
# 系统生成的印章只支持STAR
|
2745
|
+
# @param SealCentralType: 系统生成的印章只支持STAR
|
2605
2746
|
# @type SealCentralType: String
|
2606
2747
|
# @param FileToken: 通过文件上传时,服务端生成的电子印章上传图片的token
|
2607
2748
|
# @type FileToken: String
|
2608
|
-
# @param GenerateSource: 印章生成来源方式
|
2609
|
-
# 取值:
|
2610
|
-
# SealGenerateSourceSystem 表示系统生成企业印章
|
2611
|
-
# @type GenerateSource: String
|
2612
2749
|
|
2613
|
-
attr_accessor :Operator, :SealName, :Agent, :SealType, :FileName, :Image, :Width, :Height, :Color, :SealHorizontalText, :SealChordText, :SealCentralType, :FileToken
|
2750
|
+
attr_accessor :Operator, :SealName, :Agent, :GenerateSource, :SealType, :FileName, :Image, :Width, :Height, :Color, :SealHorizontalText, :SealChordText, :SealCentralType, :FileToken
|
2614
2751
|
|
2615
|
-
def initialize(operator=nil, sealname=nil, agent=nil, sealtype=nil, filename=nil, image=nil, width=nil, height=nil, color=nil, sealhorizontaltext=nil, sealchordtext=nil, sealcentraltype=nil, filetoken=nil
|
2752
|
+
def initialize(operator=nil, sealname=nil, agent=nil, generatesource=nil, sealtype=nil, filename=nil, image=nil, width=nil, height=nil, color=nil, sealhorizontaltext=nil, sealchordtext=nil, sealcentraltype=nil, filetoken=nil)
|
2616
2753
|
@Operator = operator
|
2617
2754
|
@SealName = sealname
|
2618
2755
|
@Agent = agent
|
2756
|
+
@GenerateSource = generatesource
|
2619
2757
|
@SealType = sealtype
|
2620
2758
|
@FileName = filename
|
2621
2759
|
@Image = image
|
@@ -2626,7 +2764,6 @@ module TencentCloud
|
|
2626
2764
|
@SealChordText = sealchordtext
|
2627
2765
|
@SealCentralType = sealcentraltype
|
2628
2766
|
@FileToken = filetoken
|
2629
|
-
@GenerateSource = generatesource
|
2630
2767
|
end
|
2631
2768
|
|
2632
2769
|
def deserialize(params)
|
@@ -2639,6 +2776,7 @@ module TencentCloud
|
|
2639
2776
|
@Agent = Agent.new
|
2640
2777
|
@Agent.deserialize(params['Agent'])
|
2641
2778
|
end
|
2779
|
+
@GenerateSource = params['GenerateSource']
|
2642
2780
|
@SealType = params['SealType']
|
2643
2781
|
@FileName = params['FileName']
|
2644
2782
|
@Image = params['Image']
|
@@ -2649,7 +2787,6 @@ module TencentCloud
|
|
2649
2787
|
@SealChordText = params['SealChordText']
|
2650
2788
|
@SealCentralType = params['SealCentralType']
|
2651
2789
|
@FileToken = params['FileToken']
|
2652
|
-
@GenerateSource = params['GenerateSource']
|
2653
2790
|
end
|
2654
2791
|
end
|
2655
2792
|
|
@@ -2803,6 +2940,54 @@ module TencentCloud
|
|
2803
2940
|
end
|
2804
2941
|
end
|
2805
2942
|
|
2943
|
+
# CreateWebThemeConfig请求参数结构体
|
2944
|
+
class CreateWebThemeConfigRequest < TencentCloud::Common::AbstractModel
|
2945
|
+
# @param Operator: 操作人信息
|
2946
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2947
|
+
# @param ThemeType: 主题类型
|
2948
|
+
# <br/>EMBED_WEB_THEME:嵌入式主题
|
2949
|
+
# <br/>目前只支持EMBED_WEB_THEME,web页面嵌入的主题风格配置
|
2950
|
+
# @type ThemeType: String
|
2951
|
+
# @param WebThemeConfig: 主题配置
|
2952
|
+
# @type WebThemeConfig: :class:`Tencentcloud::Ess.v20201111.models.WebThemeConfig`
|
2953
|
+
|
2954
|
+
attr_accessor :Operator, :ThemeType, :WebThemeConfig
|
2955
|
+
|
2956
|
+
def initialize(operator=nil, themetype=nil, webthemeconfig=nil)
|
2957
|
+
@Operator = operator
|
2958
|
+
@ThemeType = themetype
|
2959
|
+
@WebThemeConfig = webthemeconfig
|
2960
|
+
end
|
2961
|
+
|
2962
|
+
def deserialize(params)
|
2963
|
+
unless params['Operator'].nil?
|
2964
|
+
@Operator = UserInfo.new
|
2965
|
+
@Operator.deserialize(params['Operator'])
|
2966
|
+
end
|
2967
|
+
@ThemeType = params['ThemeType']
|
2968
|
+
unless params['WebThemeConfig'].nil?
|
2969
|
+
@WebThemeConfig = WebThemeConfig.new
|
2970
|
+
@WebThemeConfig.deserialize(params['WebThemeConfig'])
|
2971
|
+
end
|
2972
|
+
end
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# CreateWebThemeConfig返回参数结构体
|
2976
|
+
class CreateWebThemeConfigResponse < TencentCloud::Common::AbstractModel
|
2977
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2978
|
+
# @type RequestId: String
|
2979
|
+
|
2980
|
+
attr_accessor :RequestId
|
2981
|
+
|
2982
|
+
def initialize(requestid=nil)
|
2983
|
+
@RequestId = requestid
|
2984
|
+
end
|
2985
|
+
|
2986
|
+
def deserialize(params)
|
2987
|
+
@RequestId = params['RequestId']
|
2988
|
+
end
|
2989
|
+
end
|
2990
|
+
|
2806
2991
|
# DeleteIntegrationDepartment请求参数结构体
|
2807
2992
|
class DeleteIntegrationDepartmentRequest < TencentCloud::Common::AbstractModel
|
2808
2993
|
# @param Operator: 操作人信息,UserId必填且需拥有组织架构管理权限
|
@@ -4744,7 +4929,7 @@ module TencentCloud
|
|
4744
4929
|
# @type Required: Boolean
|
4745
4930
|
# @param ApproverSource: 签署人用户来源,企微侧用户请传入:WEWORKAPP
|
4746
4931
|
# @type ApproverSource: String
|
4747
|
-
# @param CustomApproverTag:
|
4932
|
+
# @param CustomApproverTag: 企业签署方或签标识,客户自定义,64位长度。用于发起含有或签签署人的合同。或签参与人必须有此字段。合同内不同或签参与人CustomApproverTag需要保证唯一。如果或签签署人为本方企微参与人,ApproverSource参数需要指定WEWORKAPP
|
4748
4933
|
# @type CustomApproverTag: String
|
4749
4934
|
# @param RegisterInfo: 快速注册相关信息,目前暂未开放!
|
4750
4935
|
# @type RegisterInfo: :class:`Tencentcloud::Ess.v20201111.models.RegisterInfo`
|
@@ -4768,13 +4953,17 @@ module TencentCloud
|
|
4768
4953
|
# ESIGN -- 个人印章类型
|
4769
4954
|
# SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
4770
4955
|
# @type ComponentLimitType: Array
|
4956
|
+
# @param ApproverVerifyTypes: 合同查看方式<br/>默认1 -实名查看 <br/>2-短信验证码查看(企业签署方暂不支持该方式)
|
4957
|
+
# @type ApproverVerifyTypes: Array
|
4958
|
+
# @param ApproverSignTypes: 合同签署方式(默认1,2) <br/>1-人脸认证 <br/>2-签署密码 <br/>3-运营商三要素
|
4959
|
+
# @type ApproverSignTypes: Array
|
4771
4960
|
|
4772
|
-
attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required, :ApproverSource, :CustomApproverTag, :RegisterInfo, :ApproverOption, :JumpUrl, :SignId, :ApproverNeedSignReview, :SignComponents, :Components, :ComponentLimitType
|
4961
|
+
attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required, :ApproverSource, :CustomApproverTag, :RegisterInfo, :ApproverOption, :JumpUrl, :SignId, :ApproverNeedSignReview, :SignComponents, :Components, :ComponentLimitType, :ApproverVerifyTypes, :ApproverSignTypes
|
4773
4962
|
extend Gem::Deprecate
|
4774
4963
|
deprecate :JumpUrl, :none, 2023, 7
|
4775
4964
|
deprecate :JumpUrl=, :none, 2023, 7
|
4776
4965
|
|
4777
|
-
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil, approversource=nil, customapprovertag=nil, registerinfo=nil, approveroption=nil, jumpurl=nil, signid=nil, approverneedsignreview=nil, signcomponents=nil, components=nil, componentlimittype=nil)
|
4966
|
+
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil, approversource=nil, customapprovertag=nil, registerinfo=nil, approveroption=nil, jumpurl=nil, signid=nil, approverneedsignreview=nil, signcomponents=nil, components=nil, componentlimittype=nil, approververifytypes=nil, approversigntypes=nil)
|
4778
4967
|
@ApproverType = approvertype
|
4779
4968
|
@OrganizationName = organizationname
|
4780
4969
|
@ApproverName = approvername
|
@@ -4798,6 +4987,8 @@ module TencentCloud
|
|
4798
4987
|
@SignComponents = signcomponents
|
4799
4988
|
@Components = components
|
4800
4989
|
@ComponentLimitType = componentlimittype
|
4990
|
+
@ApproverVerifyTypes = approververifytypes
|
4991
|
+
@ApproverSignTypes = approversigntypes
|
4801
4992
|
end
|
4802
4993
|
|
4803
4994
|
def deserialize(params)
|
@@ -4844,6 +5035,8 @@ module TencentCloud
|
|
4844
5035
|
end
|
4845
5036
|
end
|
4846
5037
|
@ComponentLimitType = params['ComponentLimitType']
|
5038
|
+
@ApproverVerifyTypes = params['ApproverVerifyTypes']
|
5039
|
+
@ApproverSignTypes = params['ApproverSignTypes']
|
4847
5040
|
end
|
4848
5041
|
end
|
4849
5042
|
|
@@ -5971,6 +6164,26 @@ module TencentCloud
|
|
5971
6164
|
end
|
5972
6165
|
end
|
5973
6166
|
|
6167
|
+
# 关注方信息
|
6168
|
+
class ReviewerInfo < TencentCloud::Common::AbstractModel
|
6169
|
+
# @param Name: 姓名
|
6170
|
+
# @type Name: String
|
6171
|
+
# @param Mobile: 手机号
|
6172
|
+
# @type Mobile: String
|
6173
|
+
|
6174
|
+
attr_accessor :Name, :Mobile
|
6175
|
+
|
6176
|
+
def initialize(name=nil, mobile=nil)
|
6177
|
+
@Name = name
|
6178
|
+
@Mobile = mobile
|
6179
|
+
end
|
6180
|
+
|
6181
|
+
def deserialize(params)
|
6182
|
+
@Name = params['Name']
|
6183
|
+
@Mobile = params['Mobile']
|
6184
|
+
end
|
6185
|
+
end
|
6186
|
+
|
5974
6187
|
# 模板结构体中的印章信息
|
5975
6188
|
class SealInfo < TencentCloud::Common::AbstractModel
|
5976
6189
|
|
@@ -6801,6 +7014,30 @@ module TencentCloud
|
|
6801
7014
|
end
|
6802
7015
|
end
|
6803
7016
|
|
7017
|
+
# 页面主题配置
|
7018
|
+
class WebThemeConfig < TencentCloud::Common::AbstractModel
|
7019
|
+
# @param DisplaySignBrandLogo: 是否页面底部显示电子签logo
|
7020
|
+
# <br/>true:允许在页面底部隐藏电子签logo
|
7021
|
+
# <br/>false:不允许允许在页面底部隐藏电子签logo
|
7022
|
+
# <br/>默认false,不隐藏logo
|
7023
|
+
# @type DisplaySignBrandLogo: Boolean
|
7024
|
+
# @param WebEmbedThemeColor: 主题颜色
|
7025
|
+
# <br/>支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
|
7026
|
+
# @type WebEmbedThemeColor: String
|
7027
|
+
|
7028
|
+
attr_accessor :DisplaySignBrandLogo, :WebEmbedThemeColor
|
7029
|
+
|
7030
|
+
def initialize(displaysignbrandlogo=nil, webembedthemecolor=nil)
|
7031
|
+
@DisplaySignBrandLogo = displaysignbrandlogo
|
7032
|
+
@WebEmbedThemeColor = webembedthemecolor
|
7033
|
+
end
|
7034
|
+
|
7035
|
+
def deserialize(params)
|
7036
|
+
@DisplaySignBrandLogo = params['DisplaySignBrandLogo']
|
7037
|
+
@WebEmbedThemeColor = params['WebEmbedThemeColor']
|
7038
|
+
end
|
7039
|
+
end
|
7040
|
+
|
6804
7041
|
end
|
6805
7042
|
end
|
6806
7043
|
end
|
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.622
|
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-07-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|