tencentcloud-sdk-essbasic 1.0.200

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.
@@ -0,0 +1,4456 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Essbasic
19
+ module V20201222
20
+ # 此结构体 (Address) 用于描述住址或通讯地址。
21
+ class Address < TencentCloud::Common::AbstractModel
22
+ # @param Province: 省份
23
+ # @type Province: String
24
+ # @param City: 城市
25
+ # @type City: String
26
+ # @param County: 区县
27
+ # @type County: String
28
+ # @param Details: 详细地址
29
+ # @type Details: String
30
+ # @param Country: 国家,默认中国
31
+ # @type Country: String
32
+
33
+ attr_accessor :Province, :City, :County, :Details, :Country
34
+
35
+ def initialize(province=nil, city=nil, county=nil, details=nil, country=nil)
36
+ @Province = province
37
+ @City = city
38
+ @County = county
39
+ @Details = details
40
+ @Country = country
41
+ end
42
+
43
+ def deserialize(params)
44
+ @Province = params['Province']
45
+ @City = params['City']
46
+ @County = params['County']
47
+ @Details = params['Details']
48
+ @Country = params['Country']
49
+ end
50
+ end
51
+
52
+ # ArchiveFlow请求参数结构体
53
+ class ArchiveFlowRequest < TencentCloud::Common::AbstractModel
54
+ # @param Caller: 调用方信息
55
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
56
+ # @param FlowId: 流程ID
57
+ # @type FlowId: String
58
+
59
+ attr_accessor :Caller, :FlowId
60
+
61
+ def initialize(caller=nil, flowid=nil)
62
+ @Caller = caller
63
+ @FlowId = flowid
64
+ end
65
+
66
+ def deserialize(params)
67
+ unless params['Caller'].nil?
68
+ @Caller = Caller.new
69
+ @Caller.deserialize(params['Caller'])
70
+ end
71
+ @FlowId = params['FlowId']
72
+ end
73
+ end
74
+
75
+ # ArchiveFlow返回参数结构体
76
+ class ArchiveFlowResponse < TencentCloud::Common::AbstractModel
77
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
78
+ # @type RequestId: String
79
+
80
+ attr_accessor :RequestId
81
+
82
+ def initialize(requestid=nil)
83
+ @RequestId = requestid
84
+ end
85
+
86
+ def deserialize(params)
87
+ @RequestId = params['RequestId']
88
+ end
89
+ end
90
+
91
+ # 此结构体 (Caller) 用于描述调用方属性。
92
+ class Caller < TencentCloud::Common::AbstractModel
93
+ # @param ApplicationId: 应用号
94
+ # @type ApplicationId: String
95
+ # @param SubOrganizationId: 下属机构ID
96
+ # @type SubOrganizationId: String
97
+ # @param OperatorId: 经办人的用户ID
98
+ # @type OperatorId: String
99
+
100
+ attr_accessor :ApplicationId, :SubOrganizationId, :OperatorId
101
+
102
+ def initialize(applicationid=nil, suborganizationid=nil, operatorid=nil)
103
+ @ApplicationId = applicationid
104
+ @SubOrganizationId = suborganizationid
105
+ @OperatorId = operatorid
106
+ end
107
+
108
+ def deserialize(params)
109
+ @ApplicationId = params['ApplicationId']
110
+ @SubOrganizationId = params['SubOrganizationId']
111
+ @OperatorId = params['OperatorId']
112
+ end
113
+ end
114
+
115
+ # CancelFlow请求参数结构体
116
+ class CancelFlowRequest < TencentCloud::Common::AbstractModel
117
+ # @param Caller: 调用方信息
118
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
119
+ # @param FlowId: 流程ID
120
+ # @type FlowId: String
121
+ # @param CancelMessage: 撤销原因
122
+ # @type CancelMessage: String
123
+
124
+ attr_accessor :Caller, :FlowId, :CancelMessage
125
+
126
+ def initialize(caller=nil, flowid=nil, cancelmessage=nil)
127
+ @Caller = caller
128
+ @FlowId = flowid
129
+ @CancelMessage = cancelmessage
130
+ end
131
+
132
+ def deserialize(params)
133
+ unless params['Caller'].nil?
134
+ @Caller = Caller.new
135
+ @Caller.deserialize(params['Caller'])
136
+ end
137
+ @FlowId = params['FlowId']
138
+ @CancelMessage = params['CancelMessage']
139
+ end
140
+ end
141
+
142
+ # CancelFlow返回参数结构体
143
+ class CancelFlowResponse < TencentCloud::Common::AbstractModel
144
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
145
+ # @type RequestId: String
146
+
147
+ attr_accessor :RequestId
148
+
149
+ def initialize(requestid=nil)
150
+ @RequestId = requestid
151
+ end
152
+
153
+ def deserialize(params)
154
+ @RequestId = params['RequestId']
155
+ end
156
+ end
157
+
158
+ # 目录流程参与者
159
+ class CatalogApprovers < TencentCloud::Common::AbstractModel
160
+ # @param FlowId: 流程ID
161
+ # @type FlowId: String
162
+ # @param Approvers: 参与者列表
163
+ # @type Approvers: Array
164
+
165
+ attr_accessor :FlowId, :Approvers
166
+
167
+ def initialize(flowid=nil, approvers=nil)
168
+ @FlowId = flowid
169
+ @Approvers = approvers
170
+ end
171
+
172
+ def deserialize(params)
173
+ @FlowId = params['FlowId']
174
+ unless params['Approvers'].nil?
175
+ @Approvers = []
176
+ params['Approvers'].each do |i|
177
+ flowapproverinfo_tmp = FlowApproverInfo.new
178
+ flowapproverinfo_tmp.deserialize(i)
179
+ @Approvers << flowapproverinfo_tmp
180
+ end
181
+ end
182
+ end
183
+ end
184
+
185
+ # 目录流程签署区
186
+ class CatalogComponents < TencentCloud::Common::AbstractModel
187
+ # @param FlowId: 流程ID
188
+ # @type FlowId: String
189
+ # @param SignComponents: 签署区列表
190
+ # @type SignComponents: Array
191
+ # @param SignId: 签署任务ID
192
+ # @type SignId: String
193
+
194
+ attr_accessor :FlowId, :SignComponents, :SignId
195
+
196
+ def initialize(flowid=nil, signcomponents=nil, signid=nil)
197
+ @FlowId = flowid
198
+ @SignComponents = signcomponents
199
+ @SignId = signid
200
+ end
201
+
202
+ def deserialize(params)
203
+ @FlowId = params['FlowId']
204
+ unless params['SignComponents'].nil?
205
+ @SignComponents = []
206
+ params['SignComponents'].each do |i|
207
+ component_tmp = Component.new
208
+ component_tmp.deserialize(i)
209
+ @SignComponents << component_tmp
210
+ end
211
+ end
212
+ @SignId = params['SignId']
213
+ end
214
+ end
215
+
216
+ # CheckBankCard2EVerification请求参数结构体
217
+ class CheckBankCard2EVerificationRequest < TencentCloud::Common::AbstractModel
218
+ # @param Caller: 调用方信息; 必选
219
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
220
+ # @param BankCard: 银行卡号
221
+ # @type BankCard: String
222
+ # @param Name: 姓名
223
+ # @type Name: String
224
+
225
+ attr_accessor :Caller, :BankCard, :Name
226
+
227
+ def initialize(caller=nil, bankcard=nil, name=nil)
228
+ @Caller = caller
229
+ @BankCard = bankcard
230
+ @Name = name
231
+ end
232
+
233
+ def deserialize(params)
234
+ unless params['Caller'].nil?
235
+ @Caller = Caller.new
236
+ @Caller.deserialize(params['Caller'])
237
+ end
238
+ @BankCard = params['BankCard']
239
+ @Name = params['Name']
240
+ end
241
+ end
242
+
243
+ # CheckBankCard2EVerification返回参数结构体
244
+ class CheckBankCard2EVerificationResponse < TencentCloud::Common::AbstractModel
245
+ # @param Result: 检测结果
246
+ # 计费结果码:
247
+ # 0: 认证通过
248
+ # 1: 认证未通过
249
+ # 2: 持卡人信息有误
250
+ # 3: 未开通无卡支付
251
+ # 4: 此卡被没收
252
+ # 5: 无效卡号
253
+ # 6: 此卡无对应发卡行
254
+ # 7: 该卡未初始化或睡眠卡
255
+ # 8: 作弊卡、吞卡
256
+ # 9: 此卡已挂失
257
+ # 10: 该卡已过期
258
+ # 11: 受限制的卡
259
+ # 12: 密码错误次数超限
260
+ # 13: 发卡行不支持此交易
261
+ # 不收费结果码:
262
+ # 101: 姓名校验不通过
263
+ # 102: 银行卡号码有误
264
+ # 103: 验证中心服务繁忙
265
+ # 104: 身份证号码有误
266
+ # 105: 手机号码不合法
267
+ # @type Result: Integer
268
+ # @param Description: 结果描述; 未通过时必选
269
+ # @type Description: String
270
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
271
+ # @type RequestId: String
272
+
273
+ attr_accessor :Result, :Description, :RequestId
274
+
275
+ def initialize(result=nil, description=nil, requestid=nil)
276
+ @Result = result
277
+ @Description = description
278
+ @RequestId = requestid
279
+ end
280
+
281
+ def deserialize(params)
282
+ @Result = params['Result']
283
+ @Description = params['Description']
284
+ @RequestId = params['RequestId']
285
+ end
286
+ end
287
+
288
+ # CheckBankCard3EVerification请求参数结构体
289
+ class CheckBankCard3EVerificationRequest < TencentCloud::Common::AbstractModel
290
+ # @param Caller: 调用方信息; 必选
291
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
292
+ # @param BankCard: 银行卡号
293
+ # @type BankCard: String
294
+ # @param Name: 姓名
295
+ # @type Name: String
296
+ # @param IdCardNumber: 身份证件号码
297
+ # @type IdCardNumber: String
298
+ # @param IdCardType: 身份证件类型; ID_CARD
299
+ # @type IdCardType: String
300
+
301
+ attr_accessor :Caller, :BankCard, :Name, :IdCardNumber, :IdCardType
302
+
303
+ def initialize(caller=nil, bankcard=nil, name=nil, idcardnumber=nil, idcardtype=nil)
304
+ @Caller = caller
305
+ @BankCard = bankcard
306
+ @Name = name
307
+ @IdCardNumber = idcardnumber
308
+ @IdCardType = idcardtype
309
+ end
310
+
311
+ def deserialize(params)
312
+ unless params['Caller'].nil?
313
+ @Caller = Caller.new
314
+ @Caller.deserialize(params['Caller'])
315
+ end
316
+ @BankCard = params['BankCard']
317
+ @Name = params['Name']
318
+ @IdCardNumber = params['IdCardNumber']
319
+ @IdCardType = params['IdCardType']
320
+ end
321
+ end
322
+
323
+ # CheckBankCard3EVerification返回参数结构体
324
+ class CheckBankCard3EVerificationResponse < TencentCloud::Common::AbstractModel
325
+ # @param Result: 检测结果
326
+ # 计费结果码:
327
+ # 0: 认证通过
328
+ # 1: 认证未通过
329
+ # 2: 持卡人信息有误
330
+ # 3: 未开通无卡支付
331
+ # 4: 此卡被没收
332
+ # 5: 无效卡号
333
+ # 6: 此卡无对应发卡行
334
+ # 7: 该卡未初始化或睡眠卡
335
+ # 8: 作弊卡、吞卡
336
+ # 9: 此卡已挂失
337
+ # 10: 该卡已过期
338
+ # 11: 受限制的卡
339
+ # 12: 密码错误次数超限
340
+ # 13: 发卡行不支持此交易
341
+ # 不收费结果码:
342
+ # 101: 姓名校验不通过
343
+ # 102: 银行卡号码有误
344
+ # 103: 验证中心服务繁忙
345
+ # 104: 身份证号码有误
346
+ # 105: 手机号码不合法
347
+ # @type Result: Integer
348
+ # @param Description: 结果描述; 未通过时必选
349
+ # @type Description: String
350
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
351
+ # @type RequestId: String
352
+
353
+ attr_accessor :Result, :Description, :RequestId
354
+
355
+ def initialize(result=nil, description=nil, requestid=nil)
356
+ @Result = result
357
+ @Description = description
358
+ @RequestId = requestid
359
+ end
360
+
361
+ def deserialize(params)
362
+ @Result = params['Result']
363
+ @Description = params['Description']
364
+ @RequestId = params['RequestId']
365
+ end
366
+ end
367
+
368
+ # CheckBankCard4EVerification请求参数结构体
369
+ class CheckBankCard4EVerificationRequest < TencentCloud::Common::AbstractModel
370
+ # @param Caller: 调用方信息; 必选
371
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
372
+ # @param BankCard: 银行卡号
373
+ # @type BankCard: String
374
+ # @param Name: 姓名
375
+ # @type Name: String
376
+ # @param IdCardNumber: 身份证件号码
377
+ # @type IdCardNumber: String
378
+ # @param Mobile: 手机号
379
+ # @type Mobile: String
380
+ # @param IdCardType: 身份证件类型; ID_CARD
381
+ # @type IdCardType: String
382
+
383
+ attr_accessor :Caller, :BankCard, :Name, :IdCardNumber, :Mobile, :IdCardType
384
+
385
+ def initialize(caller=nil, bankcard=nil, name=nil, idcardnumber=nil, mobile=nil, idcardtype=nil)
386
+ @Caller = caller
387
+ @BankCard = bankcard
388
+ @Name = name
389
+ @IdCardNumber = idcardnumber
390
+ @Mobile = mobile
391
+ @IdCardType = idcardtype
392
+ end
393
+
394
+ def deserialize(params)
395
+ unless params['Caller'].nil?
396
+ @Caller = Caller.new
397
+ @Caller.deserialize(params['Caller'])
398
+ end
399
+ @BankCard = params['BankCard']
400
+ @Name = params['Name']
401
+ @IdCardNumber = params['IdCardNumber']
402
+ @Mobile = params['Mobile']
403
+ @IdCardType = params['IdCardType']
404
+ end
405
+ end
406
+
407
+ # CheckBankCard4EVerification返回参数结构体
408
+ class CheckBankCard4EVerificationResponse < TencentCloud::Common::AbstractModel
409
+ # @param Result: 检测结果
410
+ # 计费结果码:
411
+ # 0: 认证通过
412
+ # 1: 认证未通过
413
+ # 2: 持卡人信息有误
414
+ # 3: 未开通无卡支付
415
+ # 4: 此卡被没收
416
+ # 5: 无效卡号
417
+ # 6: 此卡无对应发卡行
418
+ # 7: 该卡未初始化或睡眠卡
419
+ # 8: 作弊卡、吞卡
420
+ # 9: 此卡已挂失
421
+ # 10: 该卡已过期
422
+ # 11: 受限制的卡
423
+ # 12: 密码错误次数超限
424
+ # 13: 发卡行不支持此交易
425
+ # 不收费结果码:
426
+ # 101: 姓名校验不通过
427
+ # 102: 银行卡号码有误
428
+ # 103: 验证中心服务繁忙
429
+ # 104: 身份证号码有误
430
+ # 105: 手机号码不合法
431
+ # @type Result: Integer
432
+ # @param Description: 结果描述; 未通过时必选
433
+ # @type Description: String
434
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
435
+ # @type RequestId: String
436
+
437
+ attr_accessor :Result, :Description, :RequestId
438
+
439
+ def initialize(result=nil, description=nil, requestid=nil)
440
+ @Result = result
441
+ @Description = description
442
+ @RequestId = requestid
443
+ end
444
+
445
+ def deserialize(params)
446
+ @Result = params['Result']
447
+ @Description = params['Description']
448
+ @RequestId = params['RequestId']
449
+ end
450
+ end
451
+
452
+ # CheckBankCardVerification请求参数结构体
453
+ class CheckBankCardVerificationRequest < TencentCloud::Common::AbstractModel
454
+ # @param Caller: 调用方信息; 必选
455
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
456
+ # @param BankCard: 银行卡号
457
+ # @type BankCard: String
458
+ # @param Name: 姓名
459
+ # @type Name: String
460
+ # @param IdCardNumber: 身份证件号码
461
+ # @type IdCardNumber: String
462
+ # @param Mobile: 手机号
463
+ # @type Mobile: String
464
+ # @param IdCardType: 身份证件类型; ID_CARD
465
+ # @type IdCardType: String
466
+
467
+ attr_accessor :Caller, :BankCard, :Name, :IdCardNumber, :Mobile, :IdCardType
468
+
469
+ def initialize(caller=nil, bankcard=nil, name=nil, idcardnumber=nil, mobile=nil, idcardtype=nil)
470
+ @Caller = caller
471
+ @BankCard = bankcard
472
+ @Name = name
473
+ @IdCardNumber = idcardnumber
474
+ @Mobile = mobile
475
+ @IdCardType = idcardtype
476
+ end
477
+
478
+ def deserialize(params)
479
+ unless params['Caller'].nil?
480
+ @Caller = Caller.new
481
+ @Caller.deserialize(params['Caller'])
482
+ end
483
+ @BankCard = params['BankCard']
484
+ @Name = params['Name']
485
+ @IdCardNumber = params['IdCardNumber']
486
+ @Mobile = params['Mobile']
487
+ @IdCardType = params['IdCardType']
488
+ end
489
+ end
490
+
491
+ # CheckBankCardVerification返回参数结构体
492
+ class CheckBankCardVerificationResponse < TencentCloud::Common::AbstractModel
493
+ # @param Result: 检测结果
494
+ # 计费结果码:
495
+ # 0: 认证通过
496
+ # 1: 认证未通过
497
+ # 2: 持卡人信息有误
498
+ # 3: 未开通无卡支付
499
+ # 4: 此卡被没收
500
+ # 5: 无效卡号
501
+ # 6: 此卡无对应发卡行
502
+ # 7: 该卡未初始化或睡眠卡
503
+ # 8: 作弊卡、吞卡
504
+ # 9: 此卡已挂失
505
+ # 10: 该卡已过期
506
+ # 11: 受限制的卡
507
+ # 12: 密码错误次数超限
508
+ # 13: 发卡行不支持此交易
509
+ # 不收费结果码:
510
+ # 101: 姓名校验不通过
511
+ # 102: 银行卡号码有误
512
+ # 103: 验证中心服务繁忙
513
+ # 104: 身份证号码有误
514
+ # 105: 手机号码不合法
515
+ # @type Result: Integer
516
+ # @param Description: 结果描述; 未通过时必选
517
+ # @type Description: String
518
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
519
+ # @type RequestId: String
520
+
521
+ attr_accessor :Result, :Description, :RequestId
522
+
523
+ def initialize(result=nil, description=nil, requestid=nil)
524
+ @Result = result
525
+ @Description = description
526
+ @RequestId = requestid
527
+ end
528
+
529
+ def deserialize(params)
530
+ @Result = params['Result']
531
+ @Description = params['Description']
532
+ @RequestId = params['RequestId']
533
+ end
534
+ end
535
+
536
+ # CheckFaceIdentify请求参数结构体
537
+ class CheckFaceIdentifyRequest < TencentCloud::Common::AbstractModel
538
+ # @param Caller: 调用方信息; 必选
539
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
540
+ # @param VerifyChannel: 人脸核身渠道; 必选; WEIXINAPP:腾讯电子签小程序,FACEID:腾讯电子签慧眼,None:白名单中的客户直接通过
541
+ # @type VerifyChannel: String
542
+ # @param VerifyResult: 核身订单号; 必选; 对于WEIXINAPP,直接取响应的{VerifyResult};对于FACEID,使用{WbAppId}:{OrderNo}拼接
543
+ # @type VerifyResult: String
544
+ # @param Name: 要对比的姓名; 可选; 未填写时对比caller.OperatorId的实名信息
545
+ # @type Name: String
546
+ # @param IdCardNumber: 要对比的身份证号码; 可选; 未填写时对比caller.OperatorId的实名信息
547
+ # @type IdCardNumber: String
548
+ # @param GetPhoto: 是否取认证时的照片
549
+ # @type GetPhoto: Boolean
550
+
551
+ attr_accessor :Caller, :VerifyChannel, :VerifyResult, :Name, :IdCardNumber, :GetPhoto
552
+
553
+ def initialize(caller=nil, verifychannel=nil, verifyresult=nil, name=nil, idcardnumber=nil, getphoto=nil)
554
+ @Caller = caller
555
+ @VerifyChannel = verifychannel
556
+ @VerifyResult = verifyresult
557
+ @Name = name
558
+ @IdCardNumber = idcardnumber
559
+ @GetPhoto = getphoto
560
+ end
561
+
562
+ def deserialize(params)
563
+ unless params['Caller'].nil?
564
+ @Caller = Caller.new
565
+ @Caller.deserialize(params['Caller'])
566
+ end
567
+ @VerifyChannel = params['VerifyChannel']
568
+ @VerifyResult = params['VerifyResult']
569
+ @Name = params['Name']
570
+ @IdCardNumber = params['IdCardNumber']
571
+ @GetPhoto = params['GetPhoto']
572
+ end
573
+ end
574
+
575
+ # CheckFaceIdentify返回参数结构体
576
+ class CheckFaceIdentifyResponse < TencentCloud::Common::AbstractModel
577
+ # @param Result: 核身结果; 0:通过,1:不通过
578
+ # @type Result: Integer
579
+ # @param Description: 核身结果描述
580
+ # @type Description: String
581
+ # @param ChannelName: 渠道名
582
+ # @type ChannelName: String
583
+ # @param VerifiedOn: 认证通过时间
584
+ # 注意:此字段可能返回 null,表示取不到有效值。
585
+ # @type VerifiedOn: Integer
586
+ # @param SerialNumber: 核身流水号
587
+ # @type SerialNumber: String
588
+ # @param VerifyServerIp: 渠道核身服务器IP
589
+ # 注意:此字段可能返回 null,表示取不到有效值。
590
+ # @type VerifyServerIp: String
591
+ # @param PhotoFileName: 核身照片文件名
592
+ # 注意:此字段可能返回 null,表示取不到有效值。
593
+ # @type PhotoFileName: String
594
+ # @param PhotoFileData: 核身照片内容base64(文件格式见文件名后缀,一般为jpg)
595
+ # 注意:此字段可能返回 null,表示取不到有效值。
596
+ # @type PhotoFileData: String
597
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
598
+ # @type RequestId: String
599
+
600
+ attr_accessor :Result, :Description, :ChannelName, :VerifiedOn, :SerialNumber, :VerifyServerIp, :PhotoFileName, :PhotoFileData, :RequestId
601
+
602
+ def initialize(result=nil, description=nil, channelname=nil, verifiedon=nil, serialnumber=nil, verifyserverip=nil, photofilename=nil, photofiledata=nil, requestid=nil)
603
+ @Result = result
604
+ @Description = description
605
+ @ChannelName = channelname
606
+ @VerifiedOn = verifiedon
607
+ @SerialNumber = serialnumber
608
+ @VerifyServerIp = verifyserverip
609
+ @PhotoFileName = photofilename
610
+ @PhotoFileData = photofiledata
611
+ @RequestId = requestid
612
+ end
613
+
614
+ def deserialize(params)
615
+ @Result = params['Result']
616
+ @Description = params['Description']
617
+ @ChannelName = params['ChannelName']
618
+ @VerifiedOn = params['VerifiedOn']
619
+ @SerialNumber = params['SerialNumber']
620
+ @VerifyServerIp = params['VerifyServerIp']
621
+ @PhotoFileName = params['PhotoFileName']
622
+ @PhotoFileData = params['PhotoFileData']
623
+ @RequestId = params['RequestId']
624
+ end
625
+ end
626
+
627
+ # CheckIdCardVerification请求参数结构体
628
+ class CheckIdCardVerificationRequest < TencentCloud::Common::AbstractModel
629
+ # @param Caller: 调用方信息; 必选
630
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
631
+ # @param Name: 姓名
632
+ # @type Name: String
633
+ # @param IdCardNumber: 身份证件号码
634
+ # @type IdCardNumber: String
635
+ # @param IdCardType: 身份证件类型; ID_CARD
636
+ # @type IdCardType: String
637
+
638
+ attr_accessor :Caller, :Name, :IdCardNumber, :IdCardType
639
+
640
+ def initialize(caller=nil, name=nil, idcardnumber=nil, idcardtype=nil)
641
+ @Caller = caller
642
+ @Name = name
643
+ @IdCardNumber = idcardnumber
644
+ @IdCardType = idcardtype
645
+ end
646
+
647
+ def deserialize(params)
648
+ unless params['Caller'].nil?
649
+ @Caller = Caller.new
650
+ @Caller.deserialize(params['Caller'])
651
+ end
652
+ @Name = params['Name']
653
+ @IdCardNumber = params['IdCardNumber']
654
+ @IdCardType = params['IdCardType']
655
+ end
656
+ end
657
+
658
+ # CheckIdCardVerification返回参数结构体
659
+ class CheckIdCardVerificationResponse < TencentCloud::Common::AbstractModel
660
+ # @param Result: 检测结果;
661
+ # 收费错误码:
662
+ # 0: 通过,
663
+ # 1: 姓名和身份证号不一致,
664
+ # 免费错误码:
665
+ # 101: 非法身份证号(长度,格式等不正确),
666
+ # 102: 非法姓名(长度,格式等不正确),
667
+ # 103: 验证平台异常,
668
+ # 104: 证件库中无此身份证记录
669
+ # @type Result: Integer
670
+ # @param Description: 结果描述; 未通过时必选
671
+ # @type Description: String
672
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
673
+ # @type RequestId: String
674
+
675
+ attr_accessor :Result, :Description, :RequestId
676
+
677
+ def initialize(result=nil, description=nil, requestid=nil)
678
+ @Result = result
679
+ @Description = description
680
+ @RequestId = requestid
681
+ end
682
+
683
+ def deserialize(params)
684
+ @Result = params['Result']
685
+ @Description = params['Description']
686
+ @RequestId = params['RequestId']
687
+ end
688
+ end
689
+
690
+ # CheckMobileAndName请求参数结构体
691
+ class CheckMobileAndNameRequest < TencentCloud::Common::AbstractModel
692
+ # @param Caller: 调用方信息; 必选
693
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
694
+ # @param Mobile: 手机号
695
+ # @type Mobile: String
696
+ # @param Name: 姓名
697
+ # @type Name: String
698
+
699
+ attr_accessor :Caller, :Mobile, :Name
700
+
701
+ def initialize(caller=nil, mobile=nil, name=nil)
702
+ @Caller = caller
703
+ @Mobile = mobile
704
+ @Name = name
705
+ end
706
+
707
+ def deserialize(params)
708
+ unless params['Caller'].nil?
709
+ @Caller = Caller.new
710
+ @Caller.deserialize(params['Caller'])
711
+ end
712
+ @Mobile = params['Mobile']
713
+ @Name = params['Name']
714
+ end
715
+ end
716
+
717
+ # CheckMobileAndName返回参数结构体
718
+ class CheckMobileAndNameResponse < TencentCloud::Common::AbstractModel
719
+ # @param Result: 检测结果
720
+ # 计费结果码:
721
+ # 0: 验证结果一致
722
+ # 1: 手机号未实名
723
+ # 2: 姓名和手机号不一致
724
+ # 3: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
725
+ # 不收费结果码:
726
+ # 101: 查无记录
727
+ # 102: 非法姓名(长度,格式等不正确)
728
+ # 103: 非法手机号(长度,格式等不正确)
729
+ # 104: 非法身份证号(长度,校验位等不正确)
730
+ # 105: 认证未通过
731
+ # 106: 验证平台异常
732
+ # @type Result: Integer
733
+ # @param Description: 结果描述; 未通过时必选
734
+ # @type Description: String
735
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
736
+ # @type RequestId: String
737
+
738
+ attr_accessor :Result, :Description, :RequestId
739
+
740
+ def initialize(result=nil, description=nil, requestid=nil)
741
+ @Result = result
742
+ @Description = description
743
+ @RequestId = requestid
744
+ end
745
+
746
+ def deserialize(params)
747
+ @Result = params['Result']
748
+ @Description = params['Description']
749
+ @RequestId = params['RequestId']
750
+ end
751
+ end
752
+
753
+ # CheckMobileVerification请求参数结构体
754
+ class CheckMobileVerificationRequest < TencentCloud::Common::AbstractModel
755
+ # @param Caller: 调用方信息; 必选
756
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
757
+ # @param Mobile: 手机号
758
+ # @type Mobile: String
759
+ # @param Name: 姓名
760
+ # @type Name: String
761
+ # @param IdCardNumber: 身份证件号码
762
+ # @type IdCardNumber: String
763
+ # @param IdCardType: 身份证件类型; ID_CARD
764
+ # @type IdCardType: String
765
+
766
+ attr_accessor :Caller, :Mobile, :Name, :IdCardNumber, :IdCardType
767
+
768
+ def initialize(caller=nil, mobile=nil, name=nil, idcardnumber=nil, idcardtype=nil)
769
+ @Caller = caller
770
+ @Mobile = mobile
771
+ @Name = name
772
+ @IdCardNumber = idcardnumber
773
+ @IdCardType = idcardtype
774
+ end
775
+
776
+ def deserialize(params)
777
+ unless params['Caller'].nil?
778
+ @Caller = Caller.new
779
+ @Caller.deserialize(params['Caller'])
780
+ end
781
+ @Mobile = params['Mobile']
782
+ @Name = params['Name']
783
+ @IdCardNumber = params['IdCardNumber']
784
+ @IdCardType = params['IdCardType']
785
+ end
786
+ end
787
+
788
+ # CheckMobileVerification返回参数结构体
789
+ class CheckMobileVerificationResponse < TencentCloud::Common::AbstractModel
790
+ # @param Result: 检测结果
791
+ # 计费结果码:
792
+ # 0: 验证结果一致
793
+ # 1: 手机号未实名
794
+ # 2: 姓名和手机号不一致
795
+ # 3: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
796
+ # 不收费结果码:
797
+ # 101: 查无记录
798
+ # 102: 非法姓名(长度,格式等不正确)
799
+ # 103: 非法手机号(长度,格式等不正确)
800
+ # 104: 非法身份证号(长度,校验位等不正确)
801
+ # 105: 认证未通过
802
+ # 106: 验证平台异常
803
+ # @type Result: Integer
804
+ # @param Description: 结果描述; 未通过时必选
805
+ # @type Description: String
806
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
807
+ # @type RequestId: String
808
+
809
+ attr_accessor :Result, :Description, :RequestId
810
+
811
+ def initialize(result=nil, description=nil, requestid=nil)
812
+ @Result = result
813
+ @Description = description
814
+ @RequestId = requestid
815
+ end
816
+
817
+ def deserialize(params)
818
+ @Result = params['Result']
819
+ @Description = params['Description']
820
+ @RequestId = params['RequestId']
821
+ end
822
+ end
823
+
824
+ # CheckVerifyCodeMatchFlowId请求参数结构体
825
+ class CheckVerifyCodeMatchFlowIdRequest < TencentCloud::Common::AbstractModel
826
+ # @param Caller: 调用方信息
827
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
828
+ # @param Mobile: 手机号
829
+ # @type Mobile: String
830
+ # @param VerifyCode: 验证码
831
+ # @type VerifyCode: String
832
+ # @param FlowId: 流程(目录) id
833
+ # @type FlowId: String
834
+
835
+ attr_accessor :Caller, :Mobile, :VerifyCode, :FlowId
836
+
837
+ def initialize(caller=nil, mobile=nil, verifycode=nil, flowid=nil)
838
+ @Caller = caller
839
+ @Mobile = mobile
840
+ @VerifyCode = verifycode
841
+ @FlowId = flowid
842
+ end
843
+
844
+ def deserialize(params)
845
+ unless params['Caller'].nil?
846
+ @Caller = Caller.new
847
+ @Caller.deserialize(params['Caller'])
848
+ end
849
+ @Mobile = params['Mobile']
850
+ @VerifyCode = params['VerifyCode']
851
+ @FlowId = params['FlowId']
852
+ end
853
+ end
854
+
855
+ # CheckVerifyCodeMatchFlowId返回参数结构体
856
+ class CheckVerifyCodeMatchFlowIdResponse < TencentCloud::Common::AbstractModel
857
+ # @param Success: true: 验证码正确,false: 验证码错误
858
+ # @type Success: Boolean
859
+ # @param Result: 0: 验证码正确 1:验证码错误或过期 2:验证码错误 3:验证码和流程不匹配 4:验证码输入错误超过次数 5:内部错误
860
+ # 6:参数错误
861
+ # @type Result: Integer
862
+ # @param Description: 结果描述
863
+ # @type Description: String
864
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
865
+ # @type RequestId: String
866
+
867
+ attr_accessor :Success, :Result, :Description, :RequestId
868
+
869
+ def initialize(success=nil, result=nil, description=nil, requestid=nil)
870
+ @Success = success
871
+ @Result = result
872
+ @Description = description
873
+ @RequestId = requestid
874
+ end
875
+
876
+ def deserialize(params)
877
+ @Success = params['Success']
878
+ @Result = params['Result']
879
+ @Description = params['Description']
880
+ @RequestId = params['RequestId']
881
+ end
882
+ end
883
+
884
+ # 此结构体 (Component) 用于描述控件属性。
885
+ class Component < TencentCloud::Common::AbstractModel
886
+ # @param ComponentId: 控件编号
887
+
888
+ # 注:
889
+ # 当GenerateMode=3时,通过"^"来决定是否使用关键字整词匹配能力。
890
+ # 例:
891
+ # 当GenerateMode=3时,如果传入关键字"^甲方签署^",则会在PDF文件中有且仅有"甲方签署"关键字的地方进行对应操作。
892
+ # 如传入的关键字为"甲方签署",则PDF文件中每个出现关键字的位置都会执行相应操作。
893
+ # @type ComponentId: String
894
+ # @param ComponentType: 如果是Component控件类型,则可选的字段为:
895
+ # TEXT - 普通文本控件;
896
+ # DATE - 普通日期控件;
897
+ # SELECT- 勾选框控件;
898
+ # 如果是SignComponent控件类型,则可选的字段为
899
+ # SIGN_SEAL- 签署印章控件;
900
+ # SIGN_DATE- 签署日期控件;
901
+ # SIGN_SIGNATURE - 用户签名控件;
902
+ # @type ComponentType: String
903
+ # @param ComponentName: 控件名称
904
+ # @type ComponentName: String
905
+ # @param ComponentRequired: 定义控件是否为必填项,默认为false
906
+ # @type ComponentRequired: Boolean
907
+ # @param FileIndex: 控件所属文件的序号 (模板中的resourceId排列序号)
908
+ # @type FileIndex: Integer
909
+ # @param GenerateMode: 控件生成的方式:
910
+ # 0 - 普通控件
911
+ # 1 - 表单域
912
+ # 2 - html 控件
913
+ # 3 - 关键字
914
+ # @type GenerateMode: Integer
915
+ # @param ComponentWidth: 参数控件宽度,单位px
916
+ # @type ComponentWidth: Float
917
+ # @param ComponentHeight: 参数控件高度,单位px
918
+ # @type ComponentHeight: Float
919
+ # @param ComponentPage: 参数控件所在页码
920
+ # @type ComponentPage: Integer
921
+ # @param ComponentPosX: 参数控件X位置,单位px
922
+ # @type ComponentPosX: Float
923
+ # @param ComponentPosY: 参数控件Y位置,单位px
924
+ # @type ComponentPosY: Float
925
+ # @param ComponentExtra: 参数控件样式
926
+ # @type ComponentExtra: String
927
+ # @param ComponentValue: 印章ID,如果是手写签名则为jpg或png格式的base64图片
928
+
929
+ # SIGN_SEAL控件,可以用ORG_DEFAULT_SEAL表示主企业的默认印章
930
+ # SIGN_SEAL控件,可以用SUBORG_DEFAULT_SEAL表示子企业的默认印章
931
+ # SIGN_SEAL控件,可以用USER_DEFAULT_SEAL表示个人默认印章
932
+ # @type ComponentValue: String
933
+ # @param SealOperate: 如果是SIGN_SEAL类型的签署控件, 参数标识H5签署界面是否在该签署区上进行放置展示, 1为放置,其他为不放置
934
+ # @type SealOperate: Integer
935
+ # @param GenerateExtra: 不同GenerateMode对应的额外信息
936
+ # @type GenerateExtra: String
937
+
938
+ attr_accessor :ComponentId, :ComponentType, :ComponentName, :ComponentRequired, :FileIndex, :GenerateMode, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentExtra, :ComponentValue, :SealOperate, :GenerateExtra
939
+
940
+ def initialize(componentid=nil, componenttype=nil, componentname=nil, componentrequired=nil, fileindex=nil, generatemode=nil, componentwidth=nil, componentheight=nil, componentpage=nil, componentposx=nil, componentposy=nil, componentextra=nil, componentvalue=nil, sealoperate=nil, generateextra=nil)
941
+ @ComponentId = componentid
942
+ @ComponentType = componenttype
943
+ @ComponentName = componentname
944
+ @ComponentRequired = componentrequired
945
+ @FileIndex = fileindex
946
+ @GenerateMode = generatemode
947
+ @ComponentWidth = componentwidth
948
+ @ComponentHeight = componentheight
949
+ @ComponentPage = componentpage
950
+ @ComponentPosX = componentposx
951
+ @ComponentPosY = componentposy
952
+ @ComponentExtra = componentextra
953
+ @ComponentValue = componentvalue
954
+ @SealOperate = sealoperate
955
+ @GenerateExtra = generateextra
956
+ end
957
+
958
+ def deserialize(params)
959
+ @ComponentId = params['ComponentId']
960
+ @ComponentType = params['ComponentType']
961
+ @ComponentName = params['ComponentName']
962
+ @ComponentRequired = params['ComponentRequired']
963
+ @FileIndex = params['FileIndex']
964
+ @GenerateMode = params['GenerateMode']
965
+ @ComponentWidth = params['ComponentWidth']
966
+ @ComponentHeight = params['ComponentHeight']
967
+ @ComponentPage = params['ComponentPage']
968
+ @ComponentPosX = params['ComponentPosX']
969
+ @ComponentPosY = params['ComponentPosY']
970
+ @ComponentExtra = params['ComponentExtra']
971
+ @ComponentValue = params['ComponentValue']
972
+ @SealOperate = params['SealOperate']
973
+ @GenerateExtra = params['GenerateExtra']
974
+ end
975
+ end
976
+
977
+ # 此结构体 (ComponentSeal) 用于描述“签署区ID”到“印章ID”的映射。
978
+ class ComponentSeal < TencentCloud::Common::AbstractModel
979
+ # @param ComponentId: 签署区ID
980
+ # @type ComponentId: String
981
+ # @param SealId: 印章ID
982
+ # @type SealId: String
983
+
984
+ attr_accessor :ComponentId, :SealId
985
+
986
+ def initialize(componentid=nil, sealid=nil)
987
+ @ComponentId = componentid
988
+ @SealId = sealid
989
+ end
990
+
991
+ def deserialize(params)
992
+ @ComponentId = params['ComponentId']
993
+ @SealId = params['SealId']
994
+ end
995
+ end
996
+
997
+ # CreateFaceIdSign请求参数结构体
998
+ class CreateFaceIdSignRequest < TencentCloud::Common::AbstractModel
999
+ # @param Caller: 调用方信息; 必选
1000
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1001
+ # @param Values: 除api_ticket之外的其它要参与签名的参数值,包括UserId
1002
+ # @type Values: Array
1003
+
1004
+ attr_accessor :Caller, :Values
1005
+
1006
+ def initialize(caller=nil, values=nil)
1007
+ @Caller = caller
1008
+ @Values = values
1009
+ end
1010
+
1011
+ def deserialize(params)
1012
+ unless params['Caller'].nil?
1013
+ @Caller = Caller.new
1014
+ @Caller.deserialize(params['Caller'])
1015
+ end
1016
+ @Values = params['Values']
1017
+ end
1018
+ end
1019
+
1020
+ # CreateFaceIdSign返回参数结构体
1021
+ class CreateFaceIdSignResponse < TencentCloud::Common::AbstractModel
1022
+ # @param Sign: 慧眼API签名
1023
+ # @type Sign: String
1024
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1025
+ # @type RequestId: String
1026
+
1027
+ attr_accessor :Sign, :RequestId
1028
+
1029
+ def initialize(sign=nil, requestid=nil)
1030
+ @Sign = sign
1031
+ @RequestId = requestid
1032
+ end
1033
+
1034
+ def deserialize(params)
1035
+ @Sign = params['Sign']
1036
+ @RequestId = params['RequestId']
1037
+ end
1038
+ end
1039
+
1040
+ # CreateFlowByFiles请求参数结构体
1041
+ class CreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
1042
+ # @param Caller: 调用方信息
1043
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1044
+ # @param FlowInfo: 流程创建信息
1045
+ # @type FlowInfo: :class:`Tencentcloud::Essbasic.v20201222.models.FlowInfo`
1046
+ # @param FileIds: 文件资源列表 (支持多文件)
1047
+ # @type FileIds: Array
1048
+ # @param CustomId: 自定义流程id
1049
+ # @type CustomId: String
1050
+
1051
+ attr_accessor :Caller, :FlowInfo, :FileIds, :CustomId
1052
+
1053
+ def initialize(caller=nil, flowinfo=nil, fileids=nil, customid=nil)
1054
+ @Caller = caller
1055
+ @FlowInfo = flowinfo
1056
+ @FileIds = fileids
1057
+ @CustomId = customid
1058
+ end
1059
+
1060
+ def deserialize(params)
1061
+ unless params['Caller'].nil?
1062
+ @Caller = Caller.new
1063
+ @Caller.deserialize(params['Caller'])
1064
+ end
1065
+ unless params['FlowInfo'].nil?
1066
+ @FlowInfo = FlowInfo.new
1067
+ @FlowInfo.deserialize(params['FlowInfo'])
1068
+ end
1069
+ @FileIds = params['FileIds']
1070
+ @CustomId = params['CustomId']
1071
+ end
1072
+ end
1073
+
1074
+ # CreateFlowByFiles返回参数结构体
1075
+ class CreateFlowByFilesResponse < TencentCloud::Common::AbstractModel
1076
+ # @param FlowId: 流程ID
1077
+ # @type FlowId: String
1078
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1079
+ # @type RequestId: String
1080
+
1081
+ attr_accessor :FlowId, :RequestId
1082
+
1083
+ def initialize(flowid=nil, requestid=nil)
1084
+ @FlowId = flowid
1085
+ @RequestId = requestid
1086
+ end
1087
+
1088
+ def deserialize(params)
1089
+ @FlowId = params['FlowId']
1090
+ @RequestId = params['RequestId']
1091
+ end
1092
+ end
1093
+
1094
+ # CreateH5FaceIdUrl请求参数结构体
1095
+ class CreateH5FaceIdUrlRequest < TencentCloud::Common::AbstractModel
1096
+ # @param Caller: 调用方信息; 必选
1097
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1098
+ # @param WbAppId: 慧眼业务ID; 不填写时后台使用Caller反查
1099
+ # @type WbAppId: String
1100
+ # @param Name: 姓名; 可选(未通过实名认证的用户必选)
1101
+ # @type Name: String
1102
+ # @param IdCardType: 用户证件类型; 可选; 默认ID_CARD:中国居民身份证
1103
+ # @type IdCardType: String
1104
+ # @param IdCardNumber: 用户证件号; 可选(未通过实名认证的用户必选)
1105
+ # @type IdCardNumber: String
1106
+ # @param JumpUrl: H5人脸核身完成后回调的第三方Url; 可选; 不需要做Encode, 跳转的参数: ?code=XX&orderNo=XX&liveRate=xx, code=0表示成功,orderNo为订单号,liveRate为百分制活体检测得分
1107
+ # @type JumpUrl: String
1108
+ # @param JumpType: 参数值为"1":直接跳转到url回调地址; 可选; 其他值:跳转提供的结果页面
1109
+ # @type JumpType: String
1110
+ # @param OpenFrom: browser:表示在浏览器启动刷脸, app:表示在App里启动刷脸,默认值为browser; 可选
1111
+ # @type OpenFrom: String
1112
+ # @param RedirectType: 跳转类型; 可选; 参数值为"1"时,刷脸页面使用replace方式跳转,不在浏览器history中留下记录;不传或其他值则正常跳转
1113
+ # @type RedirectType: String
1114
+
1115
+ attr_accessor :Caller, :WbAppId, :Name, :IdCardType, :IdCardNumber, :JumpUrl, :JumpType, :OpenFrom, :RedirectType
1116
+
1117
+ def initialize(caller=nil, wbappid=nil, name=nil, idcardtype=nil, idcardnumber=nil, jumpurl=nil, jumptype=nil, openfrom=nil, redirecttype=nil)
1118
+ @Caller = caller
1119
+ @WbAppId = wbappid
1120
+ @Name = name
1121
+ @IdCardType = idcardtype
1122
+ @IdCardNumber = idcardnumber
1123
+ @JumpUrl = jumpurl
1124
+ @JumpType = jumptype
1125
+ @OpenFrom = openfrom
1126
+ @RedirectType = redirecttype
1127
+ end
1128
+
1129
+ def deserialize(params)
1130
+ unless params['Caller'].nil?
1131
+ @Caller = Caller.new
1132
+ @Caller.deserialize(params['Caller'])
1133
+ end
1134
+ @WbAppId = params['WbAppId']
1135
+ @Name = params['Name']
1136
+ @IdCardType = params['IdCardType']
1137
+ @IdCardNumber = params['IdCardNumber']
1138
+ @JumpUrl = params['JumpUrl']
1139
+ @JumpType = params['JumpType']
1140
+ @OpenFrom = params['OpenFrom']
1141
+ @RedirectType = params['RedirectType']
1142
+ end
1143
+ end
1144
+
1145
+ # CreateH5FaceIdUrl返回参数结构体
1146
+ class CreateH5FaceIdUrlResponse < TencentCloud::Common::AbstractModel
1147
+ # @param Url: 跳转到人脸核身页面的链接
1148
+ # @type Url: String
1149
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1150
+ # @type RequestId: String
1151
+
1152
+ attr_accessor :Url, :RequestId
1153
+
1154
+ def initialize(url=nil, requestid=nil)
1155
+ @Url = url
1156
+ @RequestId = requestid
1157
+ end
1158
+
1159
+ def deserialize(params)
1160
+ @Url = params['Url']
1161
+ @RequestId = params['RequestId']
1162
+ end
1163
+ end
1164
+
1165
+ # CreatePreviewSignUrl请求参数结构体
1166
+ class CreatePreviewSignUrlRequest < TencentCloud::Common::AbstractModel
1167
+ # @param Caller: 调用方信息
1168
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1169
+ # @param Deadline: URL过期时间戳
1170
+ # @type Deadline: Integer
1171
+ # @param CatalogId: 目录ID。当 SignUrlType 为 CATALOG 时必填
1172
+ # @type CatalogId: String
1173
+ # @param FlowId: 流程ID。当 SignUrlType 为 FLOW 时必填
1174
+ # @type FlowId: String
1175
+ # @param SignUrlType: 签署链接类型:
1176
+ # 1. FLOW - 单流程签署 (默认)
1177
+ # 2. CATALOG - 目录签署
1178
+ # @type SignUrlType: String
1179
+
1180
+ attr_accessor :Caller, :Deadline, :CatalogId, :FlowId, :SignUrlType
1181
+
1182
+ def initialize(caller=nil, deadline=nil, catalogid=nil, flowid=nil, signurltype=nil)
1183
+ @Caller = caller
1184
+ @Deadline = deadline
1185
+ @CatalogId = catalogid
1186
+ @FlowId = flowid
1187
+ @SignUrlType = signurltype
1188
+ end
1189
+
1190
+ def deserialize(params)
1191
+ unless params['Caller'].nil?
1192
+ @Caller = Caller.new
1193
+ @Caller.deserialize(params['Caller'])
1194
+ end
1195
+ @Deadline = params['Deadline']
1196
+ @CatalogId = params['CatalogId']
1197
+ @FlowId = params['FlowId']
1198
+ @SignUrlType = params['SignUrlType']
1199
+ end
1200
+ end
1201
+
1202
+ # CreatePreviewSignUrl返回参数结构体
1203
+ class CreatePreviewSignUrlResponse < TencentCloud::Common::AbstractModel
1204
+ # @param PreviewSignUrl: 合同预览URL
1205
+ # @type PreviewSignUrl: String
1206
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1207
+ # @type RequestId: String
1208
+
1209
+ attr_accessor :PreviewSignUrl, :RequestId
1210
+
1211
+ def initialize(previewsignurl=nil, requestid=nil)
1212
+ @PreviewSignUrl = previewsignurl
1213
+ @RequestId = requestid
1214
+ end
1215
+
1216
+ def deserialize(params)
1217
+ @PreviewSignUrl = params['PreviewSignUrl']
1218
+ @RequestId = params['RequestId']
1219
+ end
1220
+ end
1221
+
1222
+ # CreateSeal请求参数结构体
1223
+ class CreateSealRequest < TencentCloud::Common::AbstractModel
1224
+ # @param Caller: 调用方信息
1225
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1226
+ # @param SealType: 印章类型:
1227
+ # 1. PERSONAL - 个人私章
1228
+ # 2. OFFICIAL - 公章
1229
+ # 3. SPECIAL_FINANCIAL - 财务专用章
1230
+ # 4. CONTRACT - 合同专用章
1231
+ # 5. LEGAL_REPRESENTATIVE - 法定代表人章
1232
+ # 6. SPECIAL_NATIONWIDE_INVOICE - 发票专用章
1233
+ # 7. OTHER-其他
1234
+ # @type SealType: String
1235
+ # @param SealName: 印章名称
1236
+ # @type SealName: String
1237
+ # @param SourceIp: 请求创建印章的客户端IP
1238
+ # @type SourceIp: String
1239
+ # @param Image: 印章图片,base64编码(与FileId参数二选一,同时传入参数时优先使用Image参数)
1240
+ # @type Image: String
1241
+ # @param FileId: 印章文件图片ID(与Image参数二选一,同时传入参数时优先使用Image参数)
1242
+ # @type FileId: String
1243
+ # @param UserId: 需要创建印章的用户ID
1244
+ # @type UserId: String
1245
+ # @param IsDefault: 是否是默认印章 true:是,false:否
1246
+ # @type IsDefault: Boolean
1247
+
1248
+ attr_accessor :Caller, :SealType, :SealName, :SourceIp, :Image, :FileId, :UserId, :IsDefault
1249
+
1250
+ def initialize(caller=nil, sealtype=nil, sealname=nil, sourceip=nil, image=nil, fileid=nil, userid=nil, isdefault=nil)
1251
+ @Caller = caller
1252
+ @SealType = sealtype
1253
+ @SealName = sealname
1254
+ @SourceIp = sourceip
1255
+ @Image = image
1256
+ @FileId = fileid
1257
+ @UserId = userid
1258
+ @IsDefault = isdefault
1259
+ end
1260
+
1261
+ def deserialize(params)
1262
+ unless params['Caller'].nil?
1263
+ @Caller = Caller.new
1264
+ @Caller.deserialize(params['Caller'])
1265
+ end
1266
+ @SealType = params['SealType']
1267
+ @SealName = params['SealName']
1268
+ @SourceIp = params['SourceIp']
1269
+ @Image = params['Image']
1270
+ @FileId = params['FileId']
1271
+ @UserId = params['UserId']
1272
+ @IsDefault = params['IsDefault']
1273
+ end
1274
+ end
1275
+
1276
+ # CreateSeal返回参数结构体
1277
+ class CreateSealResponse < TencentCloud::Common::AbstractModel
1278
+ # @param SealId: 电子印章Id
1279
+ # @type SealId: String
1280
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1281
+ # @type RequestId: String
1282
+
1283
+ attr_accessor :SealId, :RequestId
1284
+
1285
+ def initialize(sealid=nil, requestid=nil)
1286
+ @SealId = sealid
1287
+ @RequestId = requestid
1288
+ end
1289
+
1290
+ def deserialize(params)
1291
+ @SealId = params['SealId']
1292
+ @RequestId = params['RequestId']
1293
+ end
1294
+ end
1295
+
1296
+ # CreateServerFlowSign请求参数结构体
1297
+ class CreateServerFlowSignRequest < TencentCloud::Common::AbstractModel
1298
+ # @param Caller: 调用方信息
1299
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1300
+ # @param FlowId: 流程ID
1301
+ # @type FlowId: String
1302
+ # @param SignComponents: 签署区域信息
1303
+ # @type SignComponents: Array
1304
+ # @param SourceIp: 客户端IP
1305
+ # @type SourceIp: String
1306
+
1307
+ attr_accessor :Caller, :FlowId, :SignComponents, :SourceIp
1308
+
1309
+ def initialize(caller=nil, flowid=nil, signcomponents=nil, sourceip=nil)
1310
+ @Caller = caller
1311
+ @FlowId = flowid
1312
+ @SignComponents = signcomponents
1313
+ @SourceIp = sourceip
1314
+ end
1315
+
1316
+ def deserialize(params)
1317
+ unless params['Caller'].nil?
1318
+ @Caller = Caller.new
1319
+ @Caller.deserialize(params['Caller'])
1320
+ end
1321
+ @FlowId = params['FlowId']
1322
+ unless params['SignComponents'].nil?
1323
+ @SignComponents = []
1324
+ params['SignComponents'].each do |i|
1325
+ component_tmp = Component.new
1326
+ component_tmp.deserialize(i)
1327
+ @SignComponents << component_tmp
1328
+ end
1329
+ end
1330
+ @SourceIp = params['SourceIp']
1331
+ end
1332
+ end
1333
+
1334
+ # CreateServerFlowSign返回参数结构体
1335
+ class CreateServerFlowSignResponse < TencentCloud::Common::AbstractModel
1336
+ # @param SignStatus: 任务状态:
1337
+ # 0:失败
1338
+ # 1:成功
1339
+ # @type SignStatus: Integer
1340
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1341
+ # @type RequestId: String
1342
+
1343
+ attr_accessor :SignStatus, :RequestId
1344
+
1345
+ def initialize(signstatus=nil, requestid=nil)
1346
+ @SignStatus = signstatus
1347
+ @RequestId = requestid
1348
+ end
1349
+
1350
+ def deserialize(params)
1351
+ @SignStatus = params['SignStatus']
1352
+ @RequestId = params['RequestId']
1353
+ end
1354
+ end
1355
+
1356
+ # CreateSignUrl请求参数结构体
1357
+ class CreateSignUrlRequest < TencentCloud::Common::AbstractModel
1358
+ # @param Caller: 调用方信息
1359
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1360
+ # @param UserId: 签署人ID
1361
+ # @type UserId: String
1362
+ # @param Deadline: 文件签署截止时间戳
1363
+ # @type Deadline: Integer
1364
+ # @param CatalogId: 目录ID。当 SignUrlType 为 CATALOG 时必填
1365
+ # @type CatalogId: String
1366
+ # @param FlowId: 流程ID。当 SignUrlType 为 FLOW 时必填
1367
+ # @type FlowId: String
1368
+ # @param SignUrlType: 签署链接类型:
1369
+ # 1. FLOW - 单流程签署 (默认)
1370
+ # 2. CATALOG - 目录签署
1371
+ # @type SignUrlType: String
1372
+ # @param SignId: 发送流程或目录时生成的签署任务ID
1373
+ # @type SignId: String
1374
+
1375
+ attr_accessor :Caller, :UserId, :Deadline, :CatalogId, :FlowId, :SignUrlType, :SignId
1376
+
1377
+ def initialize(caller=nil, userid=nil, deadline=nil, catalogid=nil, flowid=nil, signurltype=nil, signid=nil)
1378
+ @Caller = caller
1379
+ @UserId = userid
1380
+ @Deadline = deadline
1381
+ @CatalogId = catalogid
1382
+ @FlowId = flowid
1383
+ @SignUrlType = signurltype
1384
+ @SignId = signid
1385
+ end
1386
+
1387
+ def deserialize(params)
1388
+ unless params['Caller'].nil?
1389
+ @Caller = Caller.new
1390
+ @Caller.deserialize(params['Caller'])
1391
+ end
1392
+ @UserId = params['UserId']
1393
+ @Deadline = params['Deadline']
1394
+ @CatalogId = params['CatalogId']
1395
+ @FlowId = params['FlowId']
1396
+ @SignUrlType = params['SignUrlType']
1397
+ @SignId = params['SignId']
1398
+ end
1399
+ end
1400
+
1401
+ # CreateSignUrl返回参数结构体
1402
+ class CreateSignUrlResponse < TencentCloud::Common::AbstractModel
1403
+ # @param SignUrl: 合同签署链接
1404
+ # @type SignUrl: String
1405
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1406
+ # @type RequestId: String
1407
+
1408
+ attr_accessor :SignUrl, :RequestId
1409
+
1410
+ def initialize(signurl=nil, requestid=nil)
1411
+ @SignUrl = signurl
1412
+ @RequestId = requestid
1413
+ end
1414
+
1415
+ def deserialize(params)
1416
+ @SignUrl = params['SignUrl']
1417
+ @RequestId = params['RequestId']
1418
+ end
1419
+ end
1420
+
1421
+ # CreateSubOrganizationAndSeal请求参数结构体
1422
+ class CreateSubOrganizationAndSealRequest < TencentCloud::Common::AbstractModel
1423
+ # @param Caller: 调用方信息
1424
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1425
+ # @param Name: 机构名称全称
1426
+ # @type Name: String
1427
+ # @param IdCardType: 机构证件号码类型可选值:
1428
+ # 1. USCC - 统一社会信用代码
1429
+ # 2. BIZREGISTNO - 营业执照注册号
1430
+ # @type IdCardType: String
1431
+ # @param IdCardNumber: 机构证件号码
1432
+ # @type IdCardNumber: String
1433
+ # @param OrganizationType: 机构类型可选值:
1434
+ # 1. ENTERPRISE - 企业
1435
+ # 2. INDIVIDUALBIZ - 个体工商户
1436
+ # 3. PUBLICINSTITUTION - 政府/事业单位
1437
+ # 4. OTHERS - 其他组织
1438
+ # @type OrganizationType: String
1439
+ # @param LegalName: 机构法人/经营者姓名
1440
+ # @type LegalName: String
1441
+ # @param LegalIdCardType: 机构法人/经营者证件类型可选值:
1442
+ # 1. ID_CARD - 居民身份证
1443
+ # 2. PASSPORT - 护照
1444
+ # 3. MAINLAND_TRAVEL_PERMIT_FOR_HONGKONG_AND_MACAO_RESIDENTS - 港澳居民来往内地通行证
1445
+ # 4. MAINLAND_TRAVEL_PERMIT_FOR_TAIWAN_RESIDENTS - 台湾居民来往大陆通行证
1446
+ # 5. HOUSEHOLD_REGISTER - 户口本
1447
+ # 6. TEMP_ID_CARD - 临时居民身份证
1448
+ # @type LegalIdCardType: String
1449
+ # @param LegalIdCardNumber: 机构法人/经营者证件号码;
1450
+ # OrganizationType 为 ENTERPRISE时,INDIVIDUALBIZ 时必填,其他情况选填
1451
+ # @type LegalIdCardNumber: String
1452
+ # @param VerifyClientIp: 实名认证的客户端IP/请求生成企业印章的客户端Ip
1453
+ # @type VerifyClientIp: String
1454
+ # @param Email: 机构电子邮箱
1455
+ # @type Email: String
1456
+ # @param IdCardFileType: 机构证件文件类型可选值:
1457
+ # 1. USCCFILE - 统一社会信用代码证书
1458
+ # 2. LICENSEFILE - 营业执照
1459
+ # @type IdCardFileType: String
1460
+ # @param BizLicenseFile: 机构证件照片文件,base64编码,支持jpg、jpeg、png格式
1461
+ # @type BizLicenseFile: String
1462
+ # @param BizLicenseFileName: 机构证件照片文件名
1463
+ # @type BizLicenseFileName: String
1464
+ # @param LegalMobile: 机构法人/经营者/联系人手机号码
1465
+ # @type LegalMobile: String
1466
+ # @param ContactName: 组织联系人姓名
1467
+ # @type ContactName: String
1468
+ # @param VerifyServerIp: 实名认证的服务器IP
1469
+ # @type VerifyServerIp: String
1470
+ # @param ContactAddress: 企业联系地址
1471
+ # @type ContactAddress: :class:`Tencentcloud::Essbasic.v20201222.models.Address`
1472
+ # @param SealName: 电子印章名称
1473
+ # @type SealName: String
1474
+ # @param SealType: 印章类型:默认: CONTRACT
1475
+ # 1. OFFICIAL-公章
1476
+ # 2. SPECIAL_FINANCIAL-财务专用章
1477
+ # 3. CONTRACT-合同专用章
1478
+ # 4. LEGAL_REPRESENTATIVE-法定代表人章
1479
+ # 5. SPECIAL_NATIONWIDE_INVOICE-发票专用章
1480
+ # 6. OTHER-其他
1481
+ # @type SealType: String
1482
+ # @param SealHorizontalText: 企业印章横向文字,最多可填8个汉字(可为空,默认为"电子签名专用章")
1483
+ # @type SealHorizontalText: String
1484
+ # @param OpenId: 机构在第三方的唯一标识,32位以内标识符
1485
+ # @type OpenId: String
1486
+ # @param UseOpenId: 是否使用OpenId作为数据主键,如果为true,请确保OpenId在当前应用号唯一
1487
+ # @type UseOpenId: Boolean
1488
+
1489
+ attr_accessor :Caller, :Name, :IdCardType, :IdCardNumber, :OrganizationType, :LegalName, :LegalIdCardType, :LegalIdCardNumber, :VerifyClientIp, :Email, :IdCardFileType, :BizLicenseFile, :BizLicenseFileName, :LegalMobile, :ContactName, :VerifyServerIp, :ContactAddress, :SealName, :SealType, :SealHorizontalText, :OpenId, :UseOpenId
1490
+
1491
+ def initialize(caller=nil, name=nil, idcardtype=nil, idcardnumber=nil, organizationtype=nil, legalname=nil, legalidcardtype=nil, legalidcardnumber=nil, verifyclientip=nil, email=nil, idcardfiletype=nil, bizlicensefile=nil, bizlicensefilename=nil, legalmobile=nil, contactname=nil, verifyserverip=nil, contactaddress=nil, sealname=nil, sealtype=nil, sealhorizontaltext=nil, openid=nil, useopenid=nil)
1492
+ @Caller = caller
1493
+ @Name = name
1494
+ @IdCardType = idcardtype
1495
+ @IdCardNumber = idcardnumber
1496
+ @OrganizationType = organizationtype
1497
+ @LegalName = legalname
1498
+ @LegalIdCardType = legalidcardtype
1499
+ @LegalIdCardNumber = legalidcardnumber
1500
+ @VerifyClientIp = verifyclientip
1501
+ @Email = email
1502
+ @IdCardFileType = idcardfiletype
1503
+ @BizLicenseFile = bizlicensefile
1504
+ @BizLicenseFileName = bizlicensefilename
1505
+ @LegalMobile = legalmobile
1506
+ @ContactName = contactname
1507
+ @VerifyServerIp = verifyserverip
1508
+ @ContactAddress = contactaddress
1509
+ @SealName = sealname
1510
+ @SealType = sealtype
1511
+ @SealHorizontalText = sealhorizontaltext
1512
+ @OpenId = openid
1513
+ @UseOpenId = useopenid
1514
+ end
1515
+
1516
+ def deserialize(params)
1517
+ unless params['Caller'].nil?
1518
+ @Caller = Caller.new
1519
+ @Caller.deserialize(params['Caller'])
1520
+ end
1521
+ @Name = params['Name']
1522
+ @IdCardType = params['IdCardType']
1523
+ @IdCardNumber = params['IdCardNumber']
1524
+ @OrganizationType = params['OrganizationType']
1525
+ @LegalName = params['LegalName']
1526
+ @LegalIdCardType = params['LegalIdCardType']
1527
+ @LegalIdCardNumber = params['LegalIdCardNumber']
1528
+ @VerifyClientIp = params['VerifyClientIp']
1529
+ @Email = params['Email']
1530
+ @IdCardFileType = params['IdCardFileType']
1531
+ @BizLicenseFile = params['BizLicenseFile']
1532
+ @BizLicenseFileName = params['BizLicenseFileName']
1533
+ @LegalMobile = params['LegalMobile']
1534
+ @ContactName = params['ContactName']
1535
+ @VerifyServerIp = params['VerifyServerIp']
1536
+ unless params['ContactAddress'].nil?
1537
+ @ContactAddress = Address.new
1538
+ @ContactAddress.deserialize(params['ContactAddress'])
1539
+ end
1540
+ @SealName = params['SealName']
1541
+ @SealType = params['SealType']
1542
+ @SealHorizontalText = params['SealHorizontalText']
1543
+ @OpenId = params['OpenId']
1544
+ @UseOpenId = params['UseOpenId']
1545
+ end
1546
+ end
1547
+
1548
+ # CreateSubOrganizationAndSeal返回参数结构体
1549
+ class CreateSubOrganizationAndSealResponse < TencentCloud::Common::AbstractModel
1550
+ # @param SubOrganizationId: 子机构在电子文件签署平台唯一标识
1551
+ # @type SubOrganizationId: String
1552
+ # @param SealId: 电子印章ID
1553
+ # @type SealId: String
1554
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1555
+ # @type RequestId: String
1556
+
1557
+ attr_accessor :SubOrganizationId, :SealId, :RequestId
1558
+
1559
+ def initialize(suborganizationid=nil, sealid=nil, requestid=nil)
1560
+ @SubOrganizationId = suborganizationid
1561
+ @SealId = sealid
1562
+ @RequestId = requestid
1563
+ end
1564
+
1565
+ def deserialize(params)
1566
+ @SubOrganizationId = params['SubOrganizationId']
1567
+ @SealId = params['SealId']
1568
+ @RequestId = params['RequestId']
1569
+ end
1570
+ end
1571
+
1572
+ # CreateSubOrganization请求参数结构体
1573
+ class CreateSubOrganizationRequest < TencentCloud::Common::AbstractModel
1574
+ # @param Caller: 调用方信息
1575
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1576
+ # @param IdCardType: 机构证件号码类型可选值:
1577
+ # 1. USCC - 统一社会信用代码
1578
+ # 2. BIZREGISTNO - 营业执照注册号
1579
+ # @type IdCardType: String
1580
+ # @param IdCardNumber: 机构证件号码
1581
+ # @type IdCardNumber: String
1582
+ # @param OrganizationType: 机构类型可选值:
1583
+ # 1. ENTERPRISE - 企业
1584
+ # 2. INDIVIDUALBIZ - 个体工商户
1585
+ # 3. PUBLICINSTITUTION - 政府/事业单位
1586
+ # 4. OTHERS - 其他组织
1587
+ # @type OrganizationType: String
1588
+ # @param LegalName: 机构法人/经营者姓名
1589
+ # @type LegalName: String
1590
+ # @param LegalIdCardType: 机构法人/经营者证件类型可选值:
1591
+ # 1. ID_CARD - 居民身份证
1592
+ # 2. PASSPORT - 护照
1593
+ # 3. MAINLAND_TRAVEL_PERMIT_FOR_HONGKONG_AND_MACAO_RESIDENTS - 港澳居民来往内地通行证
1594
+ # 4. MAINLAND_TRAVEL_PERMIT_FOR_TAIWAN_RESIDENTS - 台湾居民来往大陆通行证
1595
+ # 5. HOUSEHOLD_REGISTER - 户口本
1596
+ # 6. TEMP_ID_CARD - 临时居民身份证
1597
+ # @type LegalIdCardType: String
1598
+ # @param LegalIdCardNumber: 机构法人/经营者证件号码;
1599
+ # OrganizationType 为 ENTERPRISE时,INDIVIDUALBIZ 时必填,其他情况选填
1600
+ # @type LegalIdCardNumber: String
1601
+ # @param Name: 机构名称全称
1602
+ # @type Name: String
1603
+ # @param OpenId: 机构在第三方的唯一标识,32位以内标识符
1604
+ # @type OpenId: String
1605
+ # @param UseOpenId: 是否使用OpenId作为数据主键,如果为true,请确保OpenId在当前应用号唯一
1606
+ # @type UseOpenId: Boolean
1607
+ # @param IdCardFileType: 机构证件文件类型可选值:
1608
+ # 1. USCCFILE - 统一社会信用代码证书
1609
+ # 2. LICENSEFILE - 营业执照
1610
+ # @type IdCardFileType: String
1611
+ # @param BizLicenseFile: 机构证件照片文件,base64编码,支持jpg、jpeg、png格式
1612
+ # @type BizLicenseFile: String
1613
+ # @param BizLicenseFileName: 机构证件照片文件名
1614
+ # @type BizLicenseFileName: String
1615
+ # @param LegalMobile: 机构法人/经营者/联系人手机号码
1616
+ # @type LegalMobile: String
1617
+ # @param ContactName: 组织联系人姓名
1618
+ # @type ContactName: String
1619
+ # @param VerifyClientIp: 实名认证的客户端IP
1620
+ # @type VerifyClientIp: String
1621
+ # @param VerifyServerIp: 实名认证的服务器IP
1622
+ # @type VerifyServerIp: String
1623
+ # @param ContactAddress: 企业联系地址
1624
+ # @type ContactAddress: :class:`Tencentcloud::Essbasic.v20201222.models.Address`
1625
+ # @param Email: 机构电子邮箱
1626
+ # @type Email: String
1627
+
1628
+ attr_accessor :Caller, :IdCardType, :IdCardNumber, :OrganizationType, :LegalName, :LegalIdCardType, :LegalIdCardNumber, :Name, :OpenId, :UseOpenId, :IdCardFileType, :BizLicenseFile, :BizLicenseFileName, :LegalMobile, :ContactName, :VerifyClientIp, :VerifyServerIp, :ContactAddress, :Email
1629
+
1630
+ def initialize(caller=nil, idcardtype=nil, idcardnumber=nil, organizationtype=nil, legalname=nil, legalidcardtype=nil, legalidcardnumber=nil, name=nil, openid=nil, useopenid=nil, idcardfiletype=nil, bizlicensefile=nil, bizlicensefilename=nil, legalmobile=nil, contactname=nil, verifyclientip=nil, verifyserverip=nil, contactaddress=nil, email=nil)
1631
+ @Caller = caller
1632
+ @IdCardType = idcardtype
1633
+ @IdCardNumber = idcardnumber
1634
+ @OrganizationType = organizationtype
1635
+ @LegalName = legalname
1636
+ @LegalIdCardType = legalidcardtype
1637
+ @LegalIdCardNumber = legalidcardnumber
1638
+ @Name = name
1639
+ @OpenId = openid
1640
+ @UseOpenId = useopenid
1641
+ @IdCardFileType = idcardfiletype
1642
+ @BizLicenseFile = bizlicensefile
1643
+ @BizLicenseFileName = bizlicensefilename
1644
+ @LegalMobile = legalmobile
1645
+ @ContactName = contactname
1646
+ @VerifyClientIp = verifyclientip
1647
+ @VerifyServerIp = verifyserverip
1648
+ @ContactAddress = contactaddress
1649
+ @Email = email
1650
+ end
1651
+
1652
+ def deserialize(params)
1653
+ unless params['Caller'].nil?
1654
+ @Caller = Caller.new
1655
+ @Caller.deserialize(params['Caller'])
1656
+ end
1657
+ @IdCardType = params['IdCardType']
1658
+ @IdCardNumber = params['IdCardNumber']
1659
+ @OrganizationType = params['OrganizationType']
1660
+ @LegalName = params['LegalName']
1661
+ @LegalIdCardType = params['LegalIdCardType']
1662
+ @LegalIdCardNumber = params['LegalIdCardNumber']
1663
+ @Name = params['Name']
1664
+ @OpenId = params['OpenId']
1665
+ @UseOpenId = params['UseOpenId']
1666
+ @IdCardFileType = params['IdCardFileType']
1667
+ @BizLicenseFile = params['BizLicenseFile']
1668
+ @BizLicenseFileName = params['BizLicenseFileName']
1669
+ @LegalMobile = params['LegalMobile']
1670
+ @ContactName = params['ContactName']
1671
+ @VerifyClientIp = params['VerifyClientIp']
1672
+ @VerifyServerIp = params['VerifyServerIp']
1673
+ unless params['ContactAddress'].nil?
1674
+ @ContactAddress = Address.new
1675
+ @ContactAddress.deserialize(params['ContactAddress'])
1676
+ end
1677
+ @Email = params['Email']
1678
+ end
1679
+ end
1680
+
1681
+ # CreateSubOrganization返回参数结构体
1682
+ class CreateSubOrganizationResponse < TencentCloud::Common::AbstractModel
1683
+ # @param SubOrganizationId: 子机构ID
1684
+ # @type SubOrganizationId: String
1685
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1686
+ # @type RequestId: String
1687
+
1688
+ attr_accessor :SubOrganizationId, :RequestId
1689
+
1690
+ def initialize(suborganizationid=nil, requestid=nil)
1691
+ @SubOrganizationId = suborganizationid
1692
+ @RequestId = requestid
1693
+ end
1694
+
1695
+ def deserialize(params)
1696
+ @SubOrganizationId = params['SubOrganizationId']
1697
+ @RequestId = params['RequestId']
1698
+ end
1699
+ end
1700
+
1701
+ # CreateUserAndSeal请求参数结构体
1702
+ class CreateUserAndSealRequest < TencentCloud::Common::AbstractModel
1703
+ # @param Caller: 调用方信息
1704
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1705
+ # @param OpenId: 第三方平台唯一标识,要求应用内OpenId唯一
1706
+ # @type OpenId: String
1707
+ # @param Name: 用户姓名
1708
+ # @type Name: String
1709
+ # @param IdCardType: 用户证件类型:
1710
+ # 1. ID_CARD - 居民身份证
1711
+ # 5. HOUSEHOLD_REGISTER - 户口本
1712
+ # 6. TEMP_ID_CARD - 临时居民身份证
1713
+ # @type IdCardType: String
1714
+ # @param IdCardNumber: 用户证件号
1715
+ # @type IdCardNumber: String
1716
+ # @param SourceIp: 请求生成个人印章的客户端IP
1717
+ # @type SourceIp: String
1718
+ # @param Mobile: 用户手机号码,不要求唯一
1719
+ # @type Mobile: String
1720
+ # @param Email: 用户邮箱,不要求唯一
1721
+ # @type Email: String
1722
+ # @param SealName: 默认印章名称
1723
+ # @type SealName: String
1724
+ # @param UseOpenId: 是否以OpenId作为UserId (为true时将直接以OpenId生成腾讯电子签平台的UserId)
1725
+ # @type UseOpenId: Boolean
1726
+
1727
+ attr_accessor :Caller, :OpenId, :Name, :IdCardType, :IdCardNumber, :SourceIp, :Mobile, :Email, :SealName, :UseOpenId
1728
+
1729
+ def initialize(caller=nil, openid=nil, name=nil, idcardtype=nil, idcardnumber=nil, sourceip=nil, mobile=nil, email=nil, sealname=nil, useopenid=nil)
1730
+ @Caller = caller
1731
+ @OpenId = openid
1732
+ @Name = name
1733
+ @IdCardType = idcardtype
1734
+ @IdCardNumber = idcardnumber
1735
+ @SourceIp = sourceip
1736
+ @Mobile = mobile
1737
+ @Email = email
1738
+ @SealName = sealname
1739
+ @UseOpenId = useopenid
1740
+ end
1741
+
1742
+ def deserialize(params)
1743
+ unless params['Caller'].nil?
1744
+ @Caller = Caller.new
1745
+ @Caller.deserialize(params['Caller'])
1746
+ end
1747
+ @OpenId = params['OpenId']
1748
+ @Name = params['Name']
1749
+ @IdCardType = params['IdCardType']
1750
+ @IdCardNumber = params['IdCardNumber']
1751
+ @SourceIp = params['SourceIp']
1752
+ @Mobile = params['Mobile']
1753
+ @Email = params['Email']
1754
+ @SealName = params['SealName']
1755
+ @UseOpenId = params['UseOpenId']
1756
+ end
1757
+ end
1758
+
1759
+ # CreateUserAndSeal返回参数结构体
1760
+ class CreateUserAndSealResponse < TencentCloud::Common::AbstractModel
1761
+ # @param UserId: 用户唯一标识,按应用号隔离
1762
+ # @type UserId: String
1763
+ # @param SealId: 默认印章ID
1764
+ # @type SealId: String
1765
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1766
+ # @type RequestId: String
1767
+
1768
+ attr_accessor :UserId, :SealId, :RequestId
1769
+
1770
+ def initialize(userid=nil, sealid=nil, requestid=nil)
1771
+ @UserId = userid
1772
+ @SealId = sealid
1773
+ @RequestId = requestid
1774
+ end
1775
+
1776
+ def deserialize(params)
1777
+ @UserId = params['UserId']
1778
+ @SealId = params['SealId']
1779
+ @RequestId = params['RequestId']
1780
+ end
1781
+ end
1782
+
1783
+ # CreateUser请求参数结构体
1784
+ class CreateUserRequest < TencentCloud::Common::AbstractModel
1785
+ # @param Caller: 调用方信息
1786
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1787
+ # @param OpenId: 第三方平台唯一标识;要求应用内OpenId唯一; len<=32
1788
+ # @type OpenId: String
1789
+ # @param Name: 用户姓名
1790
+ # @type Name: String
1791
+ # @param IdCardType: 用户证件类型:
1792
+ # 1. ID_CARD - 居民身份证
1793
+ # 2. PASSPORT - 护照
1794
+ # 3. MAINLAND_TRAVEL_PERMIT_FOR_HONGKONG_AND_MACAO_RESIDENTS - 港澳居民来往内地通行证
1795
+ # 4. MAINLAND_TRAVEL_PERMIT_FOR_TAIWAN_RESIDENTS - 台湾居民来往大陆通行证
1796
+ # 5. HOUSEHOLD_REGISTER - 户口本
1797
+ # 6. TEMP_ID_CARD - 临时居民身份证
1798
+ # @type IdCardType: String
1799
+ # @param IdCardNumber: 用户证件号
1800
+ # @type IdCardNumber: String
1801
+ # @param UseOpenId: 是否以OpenId作为UserId (为true时将直接以OpenId生成腾讯电子签平台的UserId)
1802
+ # @type UseOpenId: Boolean
1803
+ # @param Email: 用户邮箱,不要求唯一
1804
+ # @type Email: String
1805
+ # @param Mobile: 用户手机号码,不要求唯一
1806
+ # @type Mobile: String
1807
+
1808
+ attr_accessor :Caller, :OpenId, :Name, :IdCardType, :IdCardNumber, :UseOpenId, :Email, :Mobile
1809
+
1810
+ def initialize(caller=nil, openid=nil, name=nil, idcardtype=nil, idcardnumber=nil, useopenid=nil, email=nil, mobile=nil)
1811
+ @Caller = caller
1812
+ @OpenId = openid
1813
+ @Name = name
1814
+ @IdCardType = idcardtype
1815
+ @IdCardNumber = idcardnumber
1816
+ @UseOpenId = useopenid
1817
+ @Email = email
1818
+ @Mobile = mobile
1819
+ end
1820
+
1821
+ def deserialize(params)
1822
+ unless params['Caller'].nil?
1823
+ @Caller = Caller.new
1824
+ @Caller.deserialize(params['Caller'])
1825
+ end
1826
+ @OpenId = params['OpenId']
1827
+ @Name = params['Name']
1828
+ @IdCardType = params['IdCardType']
1829
+ @IdCardNumber = params['IdCardNumber']
1830
+ @UseOpenId = params['UseOpenId']
1831
+ @Email = params['Email']
1832
+ @Mobile = params['Mobile']
1833
+ end
1834
+ end
1835
+
1836
+ # CreateUser返回参数结构体
1837
+ class CreateUserResponse < TencentCloud::Common::AbstractModel
1838
+ # @param UserId: 用户ID,按应用号隔离
1839
+ # @type UserId: String
1840
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1841
+ # @type RequestId: String
1842
+
1843
+ attr_accessor :UserId, :RequestId
1844
+
1845
+ def initialize(userid=nil, requestid=nil)
1846
+ @UserId = userid
1847
+ @RequestId = requestid
1848
+ end
1849
+
1850
+ def deserialize(params)
1851
+ @UserId = params['UserId']
1852
+ @RequestId = params['RequestId']
1853
+ end
1854
+ end
1855
+
1856
+ # <自定义Id,文件id>映射对象
1857
+ class CustomFileIdMap < TencentCloud::Common::AbstractModel
1858
+ # @param CustomId: 用户自定义ID
1859
+ # @type CustomId: String
1860
+ # @param FileId: 文件id
1861
+ # @type FileId: String
1862
+
1863
+ attr_accessor :CustomId, :FileId
1864
+
1865
+ def initialize(customid=nil, fileid=nil)
1866
+ @CustomId = customid
1867
+ @FileId = fileid
1868
+ end
1869
+
1870
+ def deserialize(params)
1871
+ @CustomId = params['CustomId']
1872
+ @FileId = params['FileId']
1873
+ end
1874
+ end
1875
+
1876
+ # 自定义流程id映射关系
1877
+ class CustomFlowIdMap < TencentCloud::Common::AbstractModel
1878
+ # @param CustomId: 自定义id
1879
+ # @type CustomId: String
1880
+ # @param FlowId: 流程id
1881
+ # @type FlowId: String
1882
+
1883
+ attr_accessor :CustomId, :FlowId
1884
+
1885
+ def initialize(customid=nil, flowid=nil)
1886
+ @CustomId = customid
1887
+ @FlowId = flowid
1888
+ end
1889
+
1890
+ def deserialize(params)
1891
+ @CustomId = params['CustomId']
1892
+ @FlowId = params['FlowId']
1893
+ end
1894
+ end
1895
+
1896
+ # DeleteSeal请求参数结构体
1897
+ class DeleteSealRequest < TencentCloud::Common::AbstractModel
1898
+ # @param Caller: 调用方信息
1899
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1900
+ # @param SealId: 印章ID
1901
+ # @type SealId: String
1902
+ # @param SourceIp: 请求删除印章的客户端IP
1903
+ # @type SourceIp: String
1904
+ # @param UserId: 用户唯一标识,默认为空时删除企业印章,如非空则删除个人印章
1905
+ # @type UserId: String
1906
+
1907
+ attr_accessor :Caller, :SealId, :SourceIp, :UserId
1908
+
1909
+ def initialize(caller=nil, sealid=nil, sourceip=nil, userid=nil)
1910
+ @Caller = caller
1911
+ @SealId = sealid
1912
+ @SourceIp = sourceip
1913
+ @UserId = userid
1914
+ end
1915
+
1916
+ def deserialize(params)
1917
+ unless params['Caller'].nil?
1918
+ @Caller = Caller.new
1919
+ @Caller.deserialize(params['Caller'])
1920
+ end
1921
+ @SealId = params['SealId']
1922
+ @SourceIp = params['SourceIp']
1923
+ @UserId = params['UserId']
1924
+ end
1925
+ end
1926
+
1927
+ # DeleteSeal返回参数结构体
1928
+ class DeleteSealResponse < TencentCloud::Common::AbstractModel
1929
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1930
+ # @type RequestId: String
1931
+
1932
+ attr_accessor :RequestId
1933
+
1934
+ def initialize(requestid=nil)
1935
+ @RequestId = requestid
1936
+ end
1937
+
1938
+ def deserialize(params)
1939
+ @RequestId = params['RequestId']
1940
+ end
1941
+ end
1942
+
1943
+ # DescribeCatalogApprovers请求参数结构体
1944
+ class DescribeCatalogApproversRequest < TencentCloud::Common::AbstractModel
1945
+ # @param Caller: 调用方信息
1946
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
1947
+ # @param CatalogId: 目录ID
1948
+ # @type CatalogId: String
1949
+ # @param UserId: 查询指定用户是否为参与者,为空表示查询所有参与者
1950
+ # @type UserId: String
1951
+
1952
+ attr_accessor :Caller, :CatalogId, :UserId
1953
+
1954
+ def initialize(caller=nil, catalogid=nil, userid=nil)
1955
+ @Caller = caller
1956
+ @CatalogId = catalogid
1957
+ @UserId = userid
1958
+ end
1959
+
1960
+ def deserialize(params)
1961
+ unless params['Caller'].nil?
1962
+ @Caller = Caller.new
1963
+ @Caller.deserialize(params['Caller'])
1964
+ end
1965
+ @CatalogId = params['CatalogId']
1966
+ @UserId = params['UserId']
1967
+ end
1968
+ end
1969
+
1970
+ # DescribeCatalogApprovers返回参数结构体
1971
+ class DescribeCatalogApproversResponse < TencentCloud::Common::AbstractModel
1972
+ # @param Approvers: 参与者列表
1973
+ # @type Approvers: Array
1974
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1975
+ # @type RequestId: String
1976
+
1977
+ attr_accessor :Approvers, :RequestId
1978
+
1979
+ def initialize(approvers=nil, requestid=nil)
1980
+ @Approvers = approvers
1981
+ @RequestId = requestid
1982
+ end
1983
+
1984
+ def deserialize(params)
1985
+ unless params['Approvers'].nil?
1986
+ @Approvers = []
1987
+ params['Approvers'].each do |i|
1988
+ catalogapprovers_tmp = CatalogApprovers.new
1989
+ catalogapprovers_tmp.deserialize(i)
1990
+ @Approvers << catalogapprovers_tmp
1991
+ end
1992
+ end
1993
+ @RequestId = params['RequestId']
1994
+ end
1995
+ end
1996
+
1997
+ # DescribeCatalogSignComponents请求参数结构体
1998
+ class DescribeCatalogSignComponentsRequest < TencentCloud::Common::AbstractModel
1999
+ # @param Caller: 调用方信息
2000
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2001
+ # @param CatalogId: 目录ID
2002
+ # @type CatalogId: String
2003
+
2004
+ attr_accessor :Caller, :CatalogId
2005
+
2006
+ def initialize(caller=nil, catalogid=nil)
2007
+ @Caller = caller
2008
+ @CatalogId = catalogid
2009
+ end
2010
+
2011
+ def deserialize(params)
2012
+ unless params['Caller'].nil?
2013
+ @Caller = Caller.new
2014
+ @Caller.deserialize(params['Caller'])
2015
+ end
2016
+ @CatalogId = params['CatalogId']
2017
+ end
2018
+ end
2019
+
2020
+ # DescribeCatalogSignComponents返回参数结构体
2021
+ class DescribeCatalogSignComponentsResponse < TencentCloud::Common::AbstractModel
2022
+ # @param SignComponents: 签署区列表
2023
+ # @type SignComponents: Array
2024
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2025
+ # @type RequestId: String
2026
+
2027
+ attr_accessor :SignComponents, :RequestId
2028
+
2029
+ def initialize(signcomponents=nil, requestid=nil)
2030
+ @SignComponents = signcomponents
2031
+ @RequestId = requestid
2032
+ end
2033
+
2034
+ def deserialize(params)
2035
+ unless params['SignComponents'].nil?
2036
+ @SignComponents = []
2037
+ params['SignComponents'].each do |i|
2038
+ catalogcomponents_tmp = CatalogComponents.new
2039
+ catalogcomponents_tmp.deserialize(i)
2040
+ @SignComponents << catalogcomponents_tmp
2041
+ end
2042
+ end
2043
+ @RequestId = params['RequestId']
2044
+ end
2045
+ end
2046
+
2047
+ # DescribeCustomFlowIdsByFlowId请求参数结构体
2048
+ class DescribeCustomFlowIdsByFlowIdRequest < TencentCloud::Common::AbstractModel
2049
+ # @param Caller: 调用方信息
2050
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2051
+ # @param FlowIds: 流程 id 列表,最多同时查询 10 个流程 id
2052
+ # @type FlowIds: Array
2053
+
2054
+ attr_accessor :Caller, :FlowIds
2055
+
2056
+ def initialize(caller=nil, flowids=nil)
2057
+ @Caller = caller
2058
+ @FlowIds = flowids
2059
+ end
2060
+
2061
+ def deserialize(params)
2062
+ unless params['Caller'].nil?
2063
+ @Caller = Caller.new
2064
+ @Caller.deserialize(params['Caller'])
2065
+ end
2066
+ @FlowIds = params['FlowIds']
2067
+ end
2068
+ end
2069
+
2070
+ # DescribeCustomFlowIdsByFlowId返回参数结构体
2071
+ class DescribeCustomFlowIdsByFlowIdResponse < TencentCloud::Common::AbstractModel
2072
+ # @param CustomIdList: 自定义流程 id 映射列表
2073
+ # @type CustomIdList: Array
2074
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2075
+ # @type RequestId: String
2076
+
2077
+ attr_accessor :CustomIdList, :RequestId
2078
+
2079
+ def initialize(customidlist=nil, requestid=nil)
2080
+ @CustomIdList = customidlist
2081
+ @RequestId = requestid
2082
+ end
2083
+
2084
+ def deserialize(params)
2085
+ unless params['CustomIdList'].nil?
2086
+ @CustomIdList = []
2087
+ params['CustomIdList'].each do |i|
2088
+ customflowidmap_tmp = CustomFlowIdMap.new
2089
+ customflowidmap_tmp.deserialize(i)
2090
+ @CustomIdList << customflowidmap_tmp
2091
+ end
2092
+ end
2093
+ @RequestId = params['RequestId']
2094
+ end
2095
+ end
2096
+
2097
+ # DescribeCustomFlowIds请求参数结构体
2098
+ class DescribeCustomFlowIdsRequest < TencentCloud::Common::AbstractModel
2099
+ # @param Caller: 调用方信息
2100
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2101
+ # @param CustomIds: 自定义 id 列表,最多同时查询 10 个自定义 id
2102
+ # @type CustomIds: Array
2103
+
2104
+ attr_accessor :Caller, :CustomIds
2105
+
2106
+ def initialize(caller=nil, customids=nil)
2107
+ @Caller = caller
2108
+ @CustomIds = customids
2109
+ end
2110
+
2111
+ def deserialize(params)
2112
+ unless params['Caller'].nil?
2113
+ @Caller = Caller.new
2114
+ @Caller.deserialize(params['Caller'])
2115
+ end
2116
+ @CustomIds = params['CustomIds']
2117
+ end
2118
+ end
2119
+
2120
+ # DescribeCustomFlowIds返回参数结构体
2121
+ class DescribeCustomFlowIdsResponse < TencentCloud::Common::AbstractModel
2122
+ # @param CustomIdList: 自定义流程 id 映射列表
2123
+ # @type CustomIdList: Array
2124
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2125
+ # @type RequestId: String
2126
+
2127
+ attr_accessor :CustomIdList, :RequestId
2128
+
2129
+ def initialize(customidlist=nil, requestid=nil)
2130
+ @CustomIdList = customidlist
2131
+ @RequestId = requestid
2132
+ end
2133
+
2134
+ def deserialize(params)
2135
+ unless params['CustomIdList'].nil?
2136
+ @CustomIdList = []
2137
+ params['CustomIdList'].each do |i|
2138
+ customflowidmap_tmp = CustomFlowIdMap.new
2139
+ customflowidmap_tmp.deserialize(i)
2140
+ @CustomIdList << customflowidmap_tmp
2141
+ end
2142
+ end
2143
+ @RequestId = params['RequestId']
2144
+ end
2145
+ end
2146
+
2147
+ # DescribeFaceIdPhotos请求参数结构体
2148
+ class DescribeFaceIdPhotosRequest < TencentCloud::Common::AbstractModel
2149
+ # @param Caller: 调用方信息
2150
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2151
+ # @param WbAppId: 慧眼业务ID
2152
+ # @type WbAppId: String
2153
+ # @param OrderNumbers: 订单号(orderNo); 限制在3个或以内
2154
+ # @type OrderNumbers: Array
2155
+
2156
+ attr_accessor :Caller, :WbAppId, :OrderNumbers
2157
+
2158
+ def initialize(caller=nil, wbappid=nil, ordernumbers=nil)
2159
+ @Caller = caller
2160
+ @WbAppId = wbappid
2161
+ @OrderNumbers = ordernumbers
2162
+ end
2163
+
2164
+ def deserialize(params)
2165
+ unless params['Caller'].nil?
2166
+ @Caller = Caller.new
2167
+ @Caller.deserialize(params['Caller'])
2168
+ end
2169
+ @WbAppId = params['WbAppId']
2170
+ @OrderNumbers = params['OrderNumbers']
2171
+ end
2172
+ end
2173
+
2174
+ # DescribeFaceIdPhotos返回参数结构体
2175
+ class DescribeFaceIdPhotosResponse < TencentCloud::Common::AbstractModel
2176
+ # @param Photos: 照片信息列表
2177
+ # @type Photos: Array
2178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2179
+ # @type RequestId: String
2180
+
2181
+ attr_accessor :Photos, :RequestId
2182
+
2183
+ def initialize(photos=nil, requestid=nil)
2184
+ @Photos = photos
2185
+ @RequestId = requestid
2186
+ end
2187
+
2188
+ def deserialize(params)
2189
+ unless params['Photos'].nil?
2190
+ @Photos = []
2191
+ params['Photos'].each do |i|
2192
+ faceidphoto_tmp = FaceIdPhoto.new
2193
+ faceidphoto_tmp.deserialize(i)
2194
+ @Photos << faceidphoto_tmp
2195
+ end
2196
+ end
2197
+ @RequestId = params['RequestId']
2198
+ end
2199
+ end
2200
+
2201
+ # DescribeFaceIdResults请求参数结构体
2202
+ class DescribeFaceIdResultsRequest < TencentCloud::Common::AbstractModel
2203
+ # @param Caller: 调用方信息
2204
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2205
+ # @param WbAppId: 慧眼业务ID
2206
+ # @type WbAppId: String
2207
+ # @param OrderNumbers: 订单号(orderNo); 限制在3个或以内
2208
+ # @type OrderNumbers: Array
2209
+ # @param FileType: 1:视频+照片,2:照片,3:视频,0(或其他数字):无; 可选
2210
+ # @type FileType: Integer
2211
+
2212
+ attr_accessor :Caller, :WbAppId, :OrderNumbers, :FileType
2213
+
2214
+ def initialize(caller=nil, wbappid=nil, ordernumbers=nil, filetype=nil)
2215
+ @Caller = caller
2216
+ @WbAppId = wbappid
2217
+ @OrderNumbers = ordernumbers
2218
+ @FileType = filetype
2219
+ end
2220
+
2221
+ def deserialize(params)
2222
+ unless params['Caller'].nil?
2223
+ @Caller = Caller.new
2224
+ @Caller.deserialize(params['Caller'])
2225
+ end
2226
+ @WbAppId = params['WbAppId']
2227
+ @OrderNumbers = params['OrderNumbers']
2228
+ @FileType = params['FileType']
2229
+ end
2230
+ end
2231
+
2232
+ # DescribeFaceIdResults返回参数结构体
2233
+ class DescribeFaceIdResultsResponse < TencentCloud::Common::AbstractModel
2234
+ # @param Results: 核身结果列表
2235
+ # @type Results: Array
2236
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2237
+ # @type RequestId: String
2238
+
2239
+ attr_accessor :Results, :RequestId
2240
+
2241
+ def initialize(results=nil, requestid=nil)
2242
+ @Results = results
2243
+ @RequestId = requestid
2244
+ end
2245
+
2246
+ def deserialize(params)
2247
+ unless params['Results'].nil?
2248
+ @Results = []
2249
+ params['Results'].each do |i|
2250
+ faceidresult_tmp = FaceIdResult.new
2251
+ faceidresult_tmp.deserialize(i)
2252
+ @Results << faceidresult_tmp
2253
+ end
2254
+ end
2255
+ @RequestId = params['RequestId']
2256
+ end
2257
+ end
2258
+
2259
+ # DescribeFileIdsByCustomIds请求参数结构体
2260
+ class DescribeFileIdsByCustomIdsRequest < TencentCloud::Common::AbstractModel
2261
+ # @param Caller: 调用方信息, OrganizationId必填
2262
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2263
+ # @param CustomIds: 用户自定义ID
2264
+ # @type CustomIds: Array
2265
+
2266
+ attr_accessor :Caller, :CustomIds
2267
+
2268
+ def initialize(caller=nil, customids=nil)
2269
+ @Caller = caller
2270
+ @CustomIds = customids
2271
+ end
2272
+
2273
+ def deserialize(params)
2274
+ unless params['Caller'].nil?
2275
+ @Caller = Caller.new
2276
+ @Caller.deserialize(params['Caller'])
2277
+ end
2278
+ @CustomIds = params['CustomIds']
2279
+ end
2280
+ end
2281
+
2282
+ # DescribeFileIdsByCustomIds返回参数结构体
2283
+ class DescribeFileIdsByCustomIdsResponse < TencentCloud::Common::AbstractModel
2284
+ # @param CustomIdList: <自定义Id,文件id>数组
2285
+ # @type CustomIdList: Array
2286
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2287
+ # @type RequestId: String
2288
+
2289
+ attr_accessor :CustomIdList, :RequestId
2290
+
2291
+ def initialize(customidlist=nil, requestid=nil)
2292
+ @CustomIdList = customidlist
2293
+ @RequestId = requestid
2294
+ end
2295
+
2296
+ def deserialize(params)
2297
+ unless params['CustomIdList'].nil?
2298
+ @CustomIdList = []
2299
+ params['CustomIdList'].each do |i|
2300
+ customfileidmap_tmp = CustomFileIdMap.new
2301
+ customfileidmap_tmp.deserialize(i)
2302
+ @CustomIdList << customfileidmap_tmp
2303
+ end
2304
+ end
2305
+ @RequestId = params['RequestId']
2306
+ end
2307
+ end
2308
+
2309
+ # DescribeFileUrls请求参数结构体
2310
+ class DescribeFileUrlsRequest < TencentCloud::Common::AbstractModel
2311
+ # @param Caller: 调用方信息
2312
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2313
+ # @param BusinessIds: 业务编号数组,如模板编号、文档编号、印章编号、流程编号、目录编号
2314
+ # @type BusinessIds: Array
2315
+ # @param BusinessType: 业务类型:
2316
+ # 1. TEMPLATE - 模板
2317
+ # 2. SEAL - 印章
2318
+ # 3. FLOW - 流程
2319
+ # 4.CATALOG - 目录
2320
+ # @type BusinessType: String
2321
+ # @param FileName: 下载后的文件命名,只有FileType为“ZIP”时生效
2322
+ # @type FileName: String
2323
+ # @param ResourceOffset: 单个业务ID多个资源情况下,指定资源起始偏移量
2324
+ # @type ResourceOffset: Integer
2325
+ # @param ResourceLimit: 单个业务ID多个资源情况下,指定资源数量
2326
+ # @type ResourceLimit: Integer
2327
+ # @param FileType: 文件类型,支持"JPG", "PDF","ZIP"等,默认为上传的文件类型
2328
+ # @type FileType: String
2329
+
2330
+ attr_accessor :Caller, :BusinessIds, :BusinessType, :FileName, :ResourceOffset, :ResourceLimit, :FileType
2331
+
2332
+ def initialize(caller=nil, businessids=nil, businesstype=nil, filename=nil, resourceoffset=nil, resourcelimit=nil, filetype=nil)
2333
+ @Caller = caller
2334
+ @BusinessIds = businessids
2335
+ @BusinessType = businesstype
2336
+ @FileName = filename
2337
+ @ResourceOffset = resourceoffset
2338
+ @ResourceLimit = resourcelimit
2339
+ @FileType = filetype
2340
+ end
2341
+
2342
+ def deserialize(params)
2343
+ unless params['Caller'].nil?
2344
+ @Caller = Caller.new
2345
+ @Caller.deserialize(params['Caller'])
2346
+ end
2347
+ @BusinessIds = params['BusinessIds']
2348
+ @BusinessType = params['BusinessType']
2349
+ @FileName = params['FileName']
2350
+ @ResourceOffset = params['ResourceOffset']
2351
+ @ResourceLimit = params['ResourceLimit']
2352
+ @FileType = params['FileType']
2353
+ end
2354
+ end
2355
+
2356
+ # DescribeFileUrls返回参数结构体
2357
+ class DescribeFileUrlsResponse < TencentCloud::Common::AbstractModel
2358
+ # @param FileUrls: 文件下载URL数组
2359
+ # @type FileUrls: Array
2360
+ # @param TotalCount: URL数量
2361
+ # @type TotalCount: Integer
2362
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2363
+ # @type RequestId: String
2364
+
2365
+ attr_accessor :FileUrls, :TotalCount, :RequestId
2366
+
2367
+ def initialize(fileurls=nil, totalcount=nil, requestid=nil)
2368
+ @FileUrls = fileurls
2369
+ @TotalCount = totalcount
2370
+ @RequestId = requestid
2371
+ end
2372
+
2373
+ def deserialize(params)
2374
+ unless params['FileUrls'].nil?
2375
+ @FileUrls = []
2376
+ params['FileUrls'].each do |i|
2377
+ fileurl_tmp = FileUrl.new
2378
+ fileurl_tmp.deserialize(i)
2379
+ @FileUrls << fileurl_tmp
2380
+ end
2381
+ end
2382
+ @TotalCount = params['TotalCount']
2383
+ @RequestId = params['RequestId']
2384
+ end
2385
+ end
2386
+
2387
+ # DescribeFlowApprovers请求参数结构体
2388
+ class DescribeFlowApproversRequest < TencentCloud::Common::AbstractModel
2389
+ # @param Caller: 调用方信息
2390
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2391
+ # @param FlowId: 需要查询的流程ID
2392
+ # @type FlowId: String
2393
+ # @param UserId: 需要查询的用户ID,为空则默认查询所有用户信息
2394
+ # @type UserId: String
2395
+ # @param SignId: 需要查询的签署ID,为空则不按签署ID过滤
2396
+ # @type SignId: String
2397
+
2398
+ attr_accessor :Caller, :FlowId, :UserId, :SignId
2399
+
2400
+ def initialize(caller=nil, flowid=nil, userid=nil, signid=nil)
2401
+ @Caller = caller
2402
+ @FlowId = flowid
2403
+ @UserId = userid
2404
+ @SignId = signid
2405
+ end
2406
+
2407
+ def deserialize(params)
2408
+ unless params['Caller'].nil?
2409
+ @Caller = Caller.new
2410
+ @Caller.deserialize(params['Caller'])
2411
+ end
2412
+ @FlowId = params['FlowId']
2413
+ @UserId = params['UserId']
2414
+ @SignId = params['SignId']
2415
+ end
2416
+ end
2417
+
2418
+ # DescribeFlowApprovers返回参数结构体
2419
+ class DescribeFlowApproversResponse < TencentCloud::Common::AbstractModel
2420
+ # @param FlowId: 流程编号
2421
+ # @type FlowId: String
2422
+ # @param Approvers: 流程参与者信息
2423
+ # @type Approvers: Array
2424
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2425
+ # @type RequestId: String
2426
+
2427
+ attr_accessor :FlowId, :Approvers, :RequestId
2428
+
2429
+ def initialize(flowid=nil, approvers=nil, requestid=nil)
2430
+ @FlowId = flowid
2431
+ @Approvers = approvers
2432
+ @RequestId = requestid
2433
+ end
2434
+
2435
+ def deserialize(params)
2436
+ @FlowId = params['FlowId']
2437
+ unless params['Approvers'].nil?
2438
+ @Approvers = []
2439
+ params['Approvers'].each do |i|
2440
+ flowapproverinfo_tmp = FlowApproverInfo.new
2441
+ flowapproverinfo_tmp.deserialize(i)
2442
+ @Approvers << flowapproverinfo_tmp
2443
+ end
2444
+ end
2445
+ @RequestId = params['RequestId']
2446
+ end
2447
+ end
2448
+
2449
+ # DescribeFlowFiles请求参数结构体
2450
+ class DescribeFlowFilesRequest < TencentCloud::Common::AbstractModel
2451
+ # @param Caller: 调用方信息; 必选
2452
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2453
+ # @param FlowId: 需要查询的流程ID
2454
+ # @type FlowId: String
2455
+
2456
+ attr_accessor :Caller, :FlowId
2457
+
2458
+ def initialize(caller=nil, flowid=nil)
2459
+ @Caller = caller
2460
+ @FlowId = flowid
2461
+ end
2462
+
2463
+ def deserialize(params)
2464
+ unless params['Caller'].nil?
2465
+ @Caller = Caller.new
2466
+ @Caller.deserialize(params['Caller'])
2467
+ end
2468
+ @FlowId = params['FlowId']
2469
+ end
2470
+ end
2471
+
2472
+ # DescribeFlowFiles返回参数结构体
2473
+ class DescribeFlowFilesResponse < TencentCloud::Common::AbstractModel
2474
+ # @param FlowId: 流程编号
2475
+ # @type FlowId: String
2476
+ # @param FlowFileInfos: 流程文件列表
2477
+ # @type FlowFileInfos: Array
2478
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2479
+ # @type RequestId: String
2480
+
2481
+ attr_accessor :FlowId, :FlowFileInfos, :RequestId
2482
+
2483
+ def initialize(flowid=nil, flowfileinfos=nil, requestid=nil)
2484
+ @FlowId = flowid
2485
+ @FlowFileInfos = flowfileinfos
2486
+ @RequestId = requestid
2487
+ end
2488
+
2489
+ def deserialize(params)
2490
+ @FlowId = params['FlowId']
2491
+ unless params['FlowFileInfos'].nil?
2492
+ @FlowFileInfos = []
2493
+ params['FlowFileInfos'].each do |i|
2494
+ flowfileinfo_tmp = FlowFileInfo.new
2495
+ flowfileinfo_tmp.deserialize(i)
2496
+ @FlowFileInfos << flowfileinfo_tmp
2497
+ end
2498
+ end
2499
+ @RequestId = params['RequestId']
2500
+ end
2501
+ end
2502
+
2503
+ # DescribeFlow请求参数结构体
2504
+ class DescribeFlowRequest < TencentCloud::Common::AbstractModel
2505
+ # @param Caller: 调用方信息
2506
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2507
+ # @param FlowId: 需要查询的流程ID
2508
+ # @type FlowId: String
2509
+
2510
+ attr_accessor :Caller, :FlowId
2511
+
2512
+ def initialize(caller=nil, flowid=nil)
2513
+ @Caller = caller
2514
+ @FlowId = flowid
2515
+ end
2516
+
2517
+ def deserialize(params)
2518
+ unless params['Caller'].nil?
2519
+ @Caller = Caller.new
2520
+ @Caller.deserialize(params['Caller'])
2521
+ end
2522
+ @FlowId = params['FlowId']
2523
+ end
2524
+ end
2525
+
2526
+ # DescribeFlow返回参数结构体
2527
+ class DescribeFlowResponse < TencentCloud::Common::AbstractModel
2528
+ # @param Creator: 流程创建者信息
2529
+ # @type Creator: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2530
+ # @param FlowId: 流程编号
2531
+ # @type FlowId: String
2532
+ # @param FlowName: 流程名称
2533
+ # @type FlowName: String
2534
+ # @param FlowDescription: 流程描述
2535
+ # @type FlowDescription: String
2536
+ # @param FlowType: 流程的类型: ”劳务合同“,”租赁合同“,”销售合同“,”其他“
2537
+ # @type FlowType: String
2538
+ # @param FlowStatus: 流程状态:
2539
+ # 0-创建;
2540
+ # 1-签署中;
2541
+ # 2-拒签;
2542
+ # 3-撤回;
2543
+ # 4-签完存档完成;
2544
+ # 5-已过期;
2545
+ # 6-已销毁
2546
+ # 7-签署完成未归档
2547
+ # @type FlowStatus: Integer
2548
+ # @param CreatedOn: 流程创建时间
2549
+ # @type CreatedOn: Integer
2550
+ # @param UpdatedOn: 流程完成时间
2551
+ # @type UpdatedOn: Integer
2552
+ # @param Deadline: 流程截止日期
2553
+ # @type Deadline: Integer
2554
+ # @param CallbackUrl: 回调地址
2555
+ # @type CallbackUrl: String
2556
+ # @param FlowMessage: 流程中止原因
2557
+ # @type FlowMessage: String
2558
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2559
+ # @type RequestId: String
2560
+
2561
+ attr_accessor :Creator, :FlowId, :FlowName, :FlowDescription, :FlowType, :FlowStatus, :CreatedOn, :UpdatedOn, :Deadline, :CallbackUrl, :FlowMessage, :RequestId
2562
+
2563
+ def initialize(creator=nil, flowid=nil, flowname=nil, flowdescription=nil, flowtype=nil, flowstatus=nil, createdon=nil, updatedon=nil, deadline=nil, callbackurl=nil, flowmessage=nil, requestid=nil)
2564
+ @Creator = creator
2565
+ @FlowId = flowid
2566
+ @FlowName = flowname
2567
+ @FlowDescription = flowdescription
2568
+ @FlowType = flowtype
2569
+ @FlowStatus = flowstatus
2570
+ @CreatedOn = createdon
2571
+ @UpdatedOn = updatedon
2572
+ @Deadline = deadline
2573
+ @CallbackUrl = callbackurl
2574
+ @FlowMessage = flowmessage
2575
+ @RequestId = requestid
2576
+ end
2577
+
2578
+ def deserialize(params)
2579
+ unless params['Creator'].nil?
2580
+ @Creator = Caller.new
2581
+ @Creator.deserialize(params['Creator'])
2582
+ end
2583
+ @FlowId = params['FlowId']
2584
+ @FlowName = params['FlowName']
2585
+ @FlowDescription = params['FlowDescription']
2586
+ @FlowType = params['FlowType']
2587
+ @FlowStatus = params['FlowStatus']
2588
+ @CreatedOn = params['CreatedOn']
2589
+ @UpdatedOn = params['UpdatedOn']
2590
+ @Deadline = params['Deadline']
2591
+ @CallbackUrl = params['CallbackUrl']
2592
+ @FlowMessage = params['FlowMessage']
2593
+ @RequestId = params['RequestId']
2594
+ end
2595
+ end
2596
+
2597
+ # DescribeSeals请求参数结构体
2598
+ class DescribeSealsRequest < TencentCloud::Common::AbstractModel
2599
+ # @param Caller: 调用方信息
2600
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2601
+ # @param SealIds: 印章ID列表
2602
+ # @type SealIds: Array
2603
+ # @param UserId: 用户唯一标识
2604
+ # @type UserId: String
2605
+
2606
+ attr_accessor :Caller, :SealIds, :UserId
2607
+
2608
+ def initialize(caller=nil, sealids=nil, userid=nil)
2609
+ @Caller = caller
2610
+ @SealIds = sealids
2611
+ @UserId = userid
2612
+ end
2613
+
2614
+ def deserialize(params)
2615
+ unless params['Caller'].nil?
2616
+ @Caller = Caller.new
2617
+ @Caller.deserialize(params['Caller'])
2618
+ end
2619
+ @SealIds = params['SealIds']
2620
+ @UserId = params['UserId']
2621
+ end
2622
+ end
2623
+
2624
+ # DescribeSeals返回参数结构体
2625
+ class DescribeSealsResponse < TencentCloud::Common::AbstractModel
2626
+ # @param Seals: 印章信息
2627
+ # @type Seals: Array
2628
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2629
+ # @type RequestId: String
2630
+
2631
+ attr_accessor :Seals, :RequestId
2632
+
2633
+ def initialize(seals=nil, requestid=nil)
2634
+ @Seals = seals
2635
+ @RequestId = requestid
2636
+ end
2637
+
2638
+ def deserialize(params)
2639
+ unless params['Seals'].nil?
2640
+ @Seals = []
2641
+ params['Seals'].each do |i|
2642
+ seal_tmp = Seal.new
2643
+ seal_tmp.deserialize(i)
2644
+ @Seals << seal_tmp
2645
+ end
2646
+ end
2647
+ @RequestId = params['RequestId']
2648
+ end
2649
+ end
2650
+
2651
+ # DescribeSubOrganizations请求参数结构体
2652
+ class DescribeSubOrganizationsRequest < TencentCloud::Common::AbstractModel
2653
+ # @param Caller: 调用方信息
2654
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2655
+ # @param SubOrganizationIds: 子机构ID数组
2656
+ # @type SubOrganizationIds: Array
2657
+
2658
+ attr_accessor :Caller, :SubOrganizationIds
2659
+
2660
+ def initialize(caller=nil, suborganizationids=nil)
2661
+ @Caller = caller
2662
+ @SubOrganizationIds = suborganizationids
2663
+ end
2664
+
2665
+ def deserialize(params)
2666
+ unless params['Caller'].nil?
2667
+ @Caller = Caller.new
2668
+ @Caller.deserialize(params['Caller'])
2669
+ end
2670
+ @SubOrganizationIds = params['SubOrganizationIds']
2671
+ end
2672
+ end
2673
+
2674
+ # DescribeSubOrganizations返回参数结构体
2675
+ class DescribeSubOrganizationsResponse < TencentCloud::Common::AbstractModel
2676
+ # @param SubOrganizationInfos: 子机构信息列表
2677
+ # @type SubOrganizationInfos: Array
2678
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2679
+ # @type RequestId: String
2680
+
2681
+ attr_accessor :SubOrganizationInfos, :RequestId
2682
+
2683
+ def initialize(suborganizationinfos=nil, requestid=nil)
2684
+ @SubOrganizationInfos = suborganizationinfos
2685
+ @RequestId = requestid
2686
+ end
2687
+
2688
+ def deserialize(params)
2689
+ unless params['SubOrganizationInfos'].nil?
2690
+ @SubOrganizationInfos = []
2691
+ params['SubOrganizationInfos'].each do |i|
2692
+ suborganizationdetail_tmp = SubOrganizationDetail.new
2693
+ suborganizationdetail_tmp.deserialize(i)
2694
+ @SubOrganizationInfos << suborganizationdetail_tmp
2695
+ end
2696
+ end
2697
+ @RequestId = params['RequestId']
2698
+ end
2699
+ end
2700
+
2701
+ # DescribeUsers请求参数结构体
2702
+ class DescribeUsersRequest < TencentCloud::Common::AbstractModel
2703
+ # @param Caller: 调用方信息
2704
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2705
+ # @param UserIds: UserId列表,最多支持100个UserId
2706
+ # @type UserIds: Array
2707
+
2708
+ attr_accessor :Caller, :UserIds
2709
+
2710
+ def initialize(caller=nil, userids=nil)
2711
+ @Caller = caller
2712
+ @UserIds = userids
2713
+ end
2714
+
2715
+ def deserialize(params)
2716
+ unless params['Caller'].nil?
2717
+ @Caller = Caller.new
2718
+ @Caller.deserialize(params['Caller'])
2719
+ end
2720
+ @UserIds = params['UserIds']
2721
+ end
2722
+ end
2723
+
2724
+ # DescribeUsers返回参数结构体
2725
+ class DescribeUsersResponse < TencentCloud::Common::AbstractModel
2726
+ # @param Users: 用户信息查询结果
2727
+ # @type Users: Array
2728
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2729
+ # @type RequestId: String
2730
+
2731
+ attr_accessor :Users, :RequestId
2732
+
2733
+ def initialize(users=nil, requestid=nil)
2734
+ @Users = users
2735
+ @RequestId = requestid
2736
+ end
2737
+
2738
+ def deserialize(params)
2739
+ unless params['Users'].nil?
2740
+ @Users = []
2741
+ params['Users'].each do |i|
2742
+ userdescribe_tmp = UserDescribe.new
2743
+ userdescribe_tmp.deserialize(i)
2744
+ @Users << userdescribe_tmp
2745
+ end
2746
+ end
2747
+ @RequestId = params['RequestId']
2748
+ end
2749
+ end
2750
+
2751
+ # DestroyFlowFile请求参数结构体
2752
+ class DestroyFlowFileRequest < TencentCloud::Common::AbstractModel
2753
+ # @param Caller: 调用方信息
2754
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
2755
+ # @param FlowId: 流程ID
2756
+ # @type FlowId: String
2757
+
2758
+ attr_accessor :Caller, :FlowId
2759
+
2760
+ def initialize(caller=nil, flowid=nil)
2761
+ @Caller = caller
2762
+ @FlowId = flowid
2763
+ end
2764
+
2765
+ def deserialize(params)
2766
+ unless params['Caller'].nil?
2767
+ @Caller = Caller.new
2768
+ @Caller.deserialize(params['Caller'])
2769
+ end
2770
+ @FlowId = params['FlowId']
2771
+ end
2772
+ end
2773
+
2774
+ # DestroyFlowFile返回参数结构体
2775
+ class DestroyFlowFileResponse < TencentCloud::Common::AbstractModel
2776
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2777
+ # @type RequestId: String
2778
+
2779
+ attr_accessor :RequestId
2780
+
2781
+ def initialize(requestid=nil)
2782
+ @RequestId = requestid
2783
+ end
2784
+
2785
+ def deserialize(params)
2786
+ @RequestId = params['RequestId']
2787
+ end
2788
+ end
2789
+
2790
+ # 此结构体 (FaceIdPhoto) 用于描述慧眼人脸核身照片信息。
2791
+ class FaceIdPhoto < TencentCloud::Common::AbstractModel
2792
+ # @param Result: 核身结果:
2793
+ # 0 - 通过;
2794
+ # 1 - 未通过
2795
+ # @type Result: Integer
2796
+ # @param Description: 核身失败描述
2797
+ # @type Description: String
2798
+ # @param Photo: 照片数据 (base64编码, 一般为JPG或PNG)
2799
+ # @type Photo: String
2800
+ # @param OrderNumber: 订单号 (orderNo)
2801
+ # @type OrderNumber: String
2802
+
2803
+ attr_accessor :Result, :Description, :Photo, :OrderNumber
2804
+
2805
+ def initialize(result=nil, description=nil, photo=nil, ordernumber=nil)
2806
+ @Result = result
2807
+ @Description = description
2808
+ @Photo = photo
2809
+ @OrderNumber = ordernumber
2810
+ end
2811
+
2812
+ def deserialize(params)
2813
+ @Result = params['Result']
2814
+ @Description = params['Description']
2815
+ @Photo = params['Photo']
2816
+ @OrderNumber = params['OrderNumber']
2817
+ end
2818
+ end
2819
+
2820
+ # 此结构体 (FaceIdResult) 用于描述慧眼人脸核身结果。
2821
+ class FaceIdResult < TencentCloud::Common::AbstractModel
2822
+ # @param Result: 核身结果:
2823
+ # 0 - 通过;
2824
+ # 1 - 未通过
2825
+ # @type Result: Integer
2826
+ # @param Description: 核身失败描述
2827
+ # @type Description: String
2828
+ # @param OrderNumber: 订单号 (orderNo)
2829
+ # @type OrderNumber: String
2830
+ # @param Name: 姓名
2831
+ # 注意:此字段可能返回 null,表示取不到有效值。
2832
+ # @type Name: String
2833
+ # @param IdCardType: 身份证件类型:
2834
+ # ID_CARD - 居民身份证
2835
+ # 注意:此字段可能返回 null,表示取不到有效值。
2836
+ # @type IdCardType: String
2837
+ # @param IdCardNumber: 身份证件号码
2838
+ # 注意:此字段可能返回 null,表示取不到有效值。
2839
+ # @type IdCardNumber: String
2840
+ # @param LiveRate: 活体检测得分 (百分制)
2841
+ # 注意:此字段可能返回 null,表示取不到有效值。
2842
+ # @type LiveRate: Integer
2843
+ # @param Similarity: 人脸检测得分 (百分制)
2844
+ # 注意:此字段可能返回 null,表示取不到有效值。
2845
+ # @type Similarity: Float
2846
+ # @param OccurredTime: 刷脸时间 (UNIX时间戳)
2847
+ # 注意:此字段可能返回 null,表示取不到有效值。
2848
+ # @type OccurredTime: Integer
2849
+ # @param Photo: 照片数据 (base64编码, 一般为JPG或PNG)
2850
+ # 注意:此字段可能返回 null,表示取不到有效值。
2851
+ # @type Photo: String
2852
+ # @param Video: 视频数据 (base64编码, 一般为MP4)
2853
+ # 注意:此字段可能返回 null,表示取不到有效值。
2854
+ # @type Video: String
2855
+
2856
+ attr_accessor :Result, :Description, :OrderNumber, :Name, :IdCardType, :IdCardNumber, :LiveRate, :Similarity, :OccurredTime, :Photo, :Video
2857
+
2858
+ def initialize(result=nil, description=nil, ordernumber=nil, name=nil, idcardtype=nil, idcardnumber=nil, liverate=nil, similarity=nil, occurredtime=nil, photo=nil, video=nil)
2859
+ @Result = result
2860
+ @Description = description
2861
+ @OrderNumber = ordernumber
2862
+ @Name = name
2863
+ @IdCardType = idcardtype
2864
+ @IdCardNumber = idcardnumber
2865
+ @LiveRate = liverate
2866
+ @Similarity = similarity
2867
+ @OccurredTime = occurredtime
2868
+ @Photo = photo
2869
+ @Video = video
2870
+ end
2871
+
2872
+ def deserialize(params)
2873
+ @Result = params['Result']
2874
+ @Description = params['Description']
2875
+ @OrderNumber = params['OrderNumber']
2876
+ @Name = params['Name']
2877
+ @IdCardType = params['IdCardType']
2878
+ @IdCardNumber = params['IdCardNumber']
2879
+ @LiveRate = params['LiveRate']
2880
+ @Similarity = params['Similarity']
2881
+ @OccurredTime = params['OccurredTime']
2882
+ @Photo = params['Photo']
2883
+ @Video = params['Video']
2884
+ end
2885
+ end
2886
+
2887
+ # 此结构体 (FileUrl) 用于描述下载文件的URL信息。
2888
+ class FileUrl < TencentCloud::Common::AbstractModel
2889
+ # @param Url: 下载文件的URL
2890
+ # @type Url: String
2891
+ # @param Option: 下载文件的附加信息
2892
+ # @type Option: String
2893
+ # @param Index: 下载文件所属的资源序号
2894
+ # @type Index: Integer
2895
+ # @param FlowId: 目录业务下,文件对应的流程
2896
+ # @type FlowId: String
2897
+
2898
+ attr_accessor :Url, :Option, :Index, :FlowId
2899
+
2900
+ def initialize(url=nil, option=nil, index=nil, flowid=nil)
2901
+ @Url = url
2902
+ @Option = option
2903
+ @Index = index
2904
+ @FlowId = flowid
2905
+ end
2906
+
2907
+ def deserialize(params)
2908
+ @Url = params['Url']
2909
+ @Option = params['Option']
2910
+ @Index = params['Index']
2911
+ @FlowId = params['FlowId']
2912
+ end
2913
+ end
2914
+
2915
+ # 此结构体 (FlowApproverInfo) 用于描述流程参与者信息。
2916
+ class FlowApproverInfo < TencentCloud::Common::AbstractModel
2917
+ # @param UserId: 用户ID
2918
+ # @type UserId: String
2919
+ # @param VerifyChannel: 认证方式:
2920
+ # WEIXINAPP - 微信小程序;
2921
+ # FACEID - 慧眼 (默认);
2922
+ # VERIFYCODE - 验证码;
2923
+ # THIRD - 第三方 (暂不支持)
2924
+ # @type VerifyChannel: Array
2925
+ # @param ApproveStatus: 签署状态:
2926
+ # 0 - 待签署;
2927
+ # 1- 已签署;
2928
+ # 2 - 拒绝;
2929
+ # 3 - 过期未处理;
2930
+ # 4 - 流程已撤回,
2931
+ # 12-审核中,
2932
+ # 13-审核驳回
2933
+ # 注意:此字段可能返回 null,表示取不到有效值。
2934
+ # @type ApproveStatus: Integer
2935
+ # @param ApproveMessage: 拒签/签署/审核驳回原因
2936
+ # 注意:此字段可能返回 null,表示取不到有效值。
2937
+ # @type ApproveMessage: String
2938
+ # @param ApproveTime: 签约时间的时间戳
2939
+ # 注意:此字段可能返回 null,表示取不到有效值。
2940
+ # @type ApproveTime: Integer
2941
+ # @param SubOrganizationId: 签署企业ID
2942
+ # 注意:此字段可能返回 null,表示取不到有效值。
2943
+ # @type SubOrganizationId: String
2944
+ # @param JumpUrl: 签署完成后跳转的URL
2945
+ # 注意:此字段可能返回 null,表示取不到有效值。
2946
+ # @type JumpUrl: String
2947
+ # @param ComponentSeals: 用户签署区ID到印章ID的映射集合
2948
+ # 注意:此字段可能返回 null,表示取不到有效值。
2949
+ # @type ComponentSeals: Array
2950
+ # @param IsFullText: 签署前置条件:是否强制用户全文阅读,即阅读到待签署文档的最后一页。默认FALSE
2951
+ # @type IsFullText: Boolean
2952
+ # @param PreReadTime: 签署前置条件:强制阅读时长,页面停留时长不足则不允许签署。默认不限制
2953
+ # @type PreReadTime: Integer
2954
+ # @param Mobile: 签署人手机号,脱敏显示
2955
+ # @type Mobile: String
2956
+ # @param Deadline: 签署链接截止时间,默认签署流程发起后7天失效
2957
+ # @type Deadline: Integer
2958
+ # @param IsLastApprover: 是否为最后一个签署人, 若为最后一人,则其签署完成后自动归档
2959
+ # @type IsLastApprover: Boolean
2960
+ # @param SmsTemplate: 短信模板
2961
+ # 注意:此字段可能返回 null,表示取不到有效值。
2962
+ # @type SmsTemplate: :class:`Tencentcloud::Essbasic.v20201222.models.SmsTemplate`
2963
+ # @param IdCardNumber: 身份证号,脱敏显示
2964
+ # @type IdCardNumber: String
2965
+ # @param Name: 用户姓名
2966
+ # @type Name: String
2967
+ # @param CanOffLine: 是否支持线下核身
2968
+ # @type CanOffLine: Boolean
2969
+ # @param IdCardType: 证件号码类型:ID_CARD - 身份证,PASSPORT - 护照,MAINLAND_TRAVEL_PERMIT_FOR_HONGKONG_AND_MACAO_RESIDENTS - 港澳居民来往内地通行证; 暂不支持用于电子签自有平台实名认证,MAINLAND_TRAVEL_PERMIT_FOR_TAIWAN_RESIDENTS - 台湾居民来往大陆通行证; 暂不支持用于电子签自有平台实名认证,HOUSEHOLD_REGISTER - 户口本; 暂不支持用于电子签自有平台实名认证,TEMP_ID_CARD - 临时居民身份证; 暂不支持用于电子签自有平台实名认证
2970
+ # 注意:此字段可能返回 null,表示取不到有效值。
2971
+ # @type IdCardType: String
2972
+ # @param CallbackUrl: 签署回调地址
2973
+ # 注意:此字段可能返回 null,表示取不到有效值。
2974
+ # @type CallbackUrl: String
2975
+ # @param SignId: 签署任务ID,标识每一次的流程发送
2976
+ # 注意:此字段可能返回 null,表示取不到有效值。
2977
+ # @type SignId: String
2978
+
2979
+ attr_accessor :UserId, :VerifyChannel, :ApproveStatus, :ApproveMessage, :ApproveTime, :SubOrganizationId, :JumpUrl, :ComponentSeals, :IsFullText, :PreReadTime, :Mobile, :Deadline, :IsLastApprover, :SmsTemplate, :IdCardNumber, :Name, :CanOffLine, :IdCardType, :CallbackUrl, :SignId
2980
+
2981
+ def initialize(userid=nil, verifychannel=nil, approvestatus=nil, approvemessage=nil, approvetime=nil, suborganizationid=nil, jumpurl=nil, componentseals=nil, isfulltext=nil, prereadtime=nil, mobile=nil, deadline=nil, islastapprover=nil, smstemplate=nil, idcardnumber=nil, name=nil, canoffline=nil, idcardtype=nil, callbackurl=nil, signid=nil)
2982
+ @UserId = userid
2983
+ @VerifyChannel = verifychannel
2984
+ @ApproveStatus = approvestatus
2985
+ @ApproveMessage = approvemessage
2986
+ @ApproveTime = approvetime
2987
+ @SubOrganizationId = suborganizationid
2988
+ @JumpUrl = jumpurl
2989
+ @ComponentSeals = componentseals
2990
+ @IsFullText = isfulltext
2991
+ @PreReadTime = prereadtime
2992
+ @Mobile = mobile
2993
+ @Deadline = deadline
2994
+ @IsLastApprover = islastapprover
2995
+ @SmsTemplate = smstemplate
2996
+ @IdCardNumber = idcardnumber
2997
+ @Name = name
2998
+ @CanOffLine = canoffline
2999
+ @IdCardType = idcardtype
3000
+ @CallbackUrl = callbackurl
3001
+ @SignId = signid
3002
+ end
3003
+
3004
+ def deserialize(params)
3005
+ @UserId = params['UserId']
3006
+ @VerifyChannel = params['VerifyChannel']
3007
+ @ApproveStatus = params['ApproveStatus']
3008
+ @ApproveMessage = params['ApproveMessage']
3009
+ @ApproveTime = params['ApproveTime']
3010
+ @SubOrganizationId = params['SubOrganizationId']
3011
+ @JumpUrl = params['JumpUrl']
3012
+ unless params['ComponentSeals'].nil?
3013
+ @ComponentSeals = []
3014
+ params['ComponentSeals'].each do |i|
3015
+ componentseal_tmp = ComponentSeal.new
3016
+ componentseal_tmp.deserialize(i)
3017
+ @ComponentSeals << componentseal_tmp
3018
+ end
3019
+ end
3020
+ @IsFullText = params['IsFullText']
3021
+ @PreReadTime = params['PreReadTime']
3022
+ @Mobile = params['Mobile']
3023
+ @Deadline = params['Deadline']
3024
+ @IsLastApprover = params['IsLastApprover']
3025
+ unless params['SmsTemplate'].nil?
3026
+ @SmsTemplate = SmsTemplate.new
3027
+ @SmsTemplate.deserialize(params['SmsTemplate'])
3028
+ end
3029
+ @IdCardNumber = params['IdCardNumber']
3030
+ @Name = params['Name']
3031
+ @CanOffLine = params['CanOffLine']
3032
+ @IdCardType = params['IdCardType']
3033
+ @CallbackUrl = params['CallbackUrl']
3034
+ @SignId = params['SignId']
3035
+ end
3036
+ end
3037
+
3038
+ # 此结构体 (FlowFileInfo) 用于描述流程文档信息。
3039
+ class FlowFileInfo < TencentCloud::Common::AbstractModel
3040
+ # @param FileIndex: 文件序号
3041
+ # @type FileIndex: Integer
3042
+ # @param FileType: 文件类型
3043
+ # @type FileType: String
3044
+ # @param FileMd5: 文件的MD5码
3045
+ # @type FileMd5: String
3046
+ # @param FileName: 文件名
3047
+ # @type FileName: String
3048
+ # @param FileSize: 文件大小,单位为Byte
3049
+ # @type FileSize: Integer
3050
+ # @param CreatedOn: 文件创建时间戳
3051
+ # @type CreatedOn: Integer
3052
+ # @param Url: 文件的下载地址
3053
+ # @type Url: String
3054
+
3055
+ attr_accessor :FileIndex, :FileType, :FileMd5, :FileName, :FileSize, :CreatedOn, :Url
3056
+
3057
+ def initialize(fileindex=nil, filetype=nil, filemd5=nil, filename=nil, filesize=nil, createdon=nil, url=nil)
3058
+ @FileIndex = fileindex
3059
+ @FileType = filetype
3060
+ @FileMd5 = filemd5
3061
+ @FileName = filename
3062
+ @FileSize = filesize
3063
+ @CreatedOn = createdon
3064
+ @Url = url
3065
+ end
3066
+
3067
+ def deserialize(params)
3068
+ @FileIndex = params['FileIndex']
3069
+ @FileType = params['FileType']
3070
+ @FileMd5 = params['FileMd5']
3071
+ @FileName = params['FileName']
3072
+ @FileSize = params['FileSize']
3073
+ @CreatedOn = params['CreatedOn']
3074
+ @Url = params['Url']
3075
+ end
3076
+ end
3077
+
3078
+ # 此结构体 (FlowInfo) 用于描述流程信息。
3079
+ class FlowInfo < TencentCloud::Common::AbstractModel
3080
+ # @param FlowName: 合同名字
3081
+ # @type FlowName: String
3082
+ # @param Deadline: 签署截止时间戳,超过有效签署时间则该签署流程失败
3083
+ # @type Deadline: Integer
3084
+ # @param FlowDescription: 合同描述
3085
+ # @type FlowDescription: String
3086
+ # @param FlowType: 合同类型:
3087
+ # 1. “劳务”
3088
+ # 2. “销售”
3089
+ # 3. “租赁”
3090
+ # 4. “其他”
3091
+ # @type FlowType: String
3092
+ # @param CallbackUrl: 回调地址
3093
+ # @type CallbackUrl: String
3094
+ # @param UserData: 用户自定义数据
3095
+ # @type UserData: String
3096
+
3097
+ attr_accessor :FlowName, :Deadline, :FlowDescription, :FlowType, :CallbackUrl, :UserData
3098
+
3099
+ def initialize(flowname=nil, deadline=nil, flowdescription=nil, flowtype=nil, callbackurl=nil, userdata=nil)
3100
+ @FlowName = flowname
3101
+ @Deadline = deadline
3102
+ @FlowDescription = flowdescription
3103
+ @FlowType = flowtype
3104
+ @CallbackUrl = callbackurl
3105
+ @UserData = userdata
3106
+ end
3107
+
3108
+ def deserialize(params)
3109
+ @FlowName = params['FlowName']
3110
+ @Deadline = params['Deadline']
3111
+ @FlowDescription = params['FlowDescription']
3112
+ @FlowType = params['FlowType']
3113
+ @CallbackUrl = params['CallbackUrl']
3114
+ @UserData = params['UserData']
3115
+ end
3116
+ end
3117
+
3118
+ # GenerateOrganizationSeal请求参数结构体
3119
+ class GenerateOrganizationSealRequest < TencentCloud::Common::AbstractModel
3120
+ # @param Caller: 调用方信息
3121
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3122
+ # @param SealType: 印章类型:
3123
+ # OFFICIAL-公章
3124
+ # SPECIAL_FINANCIAL-财务专用章
3125
+ # CONTRACT-合同专用章
3126
+ # LEGAL_REPRESENTATIVE-法定代表人章
3127
+ # SPECIAL_NATIONWIDE_INVOICE-发票专用章
3128
+ # OTHER-其他
3129
+ # @type SealType: String
3130
+ # @param SourceIp: 请求生成企业印章的客户端Ip
3131
+ # @type SourceIp: String
3132
+ # @param SealName: 电子印章名称
3133
+ # @type SealName: String
3134
+ # @param SealHorizontalText: 企业印章横向文字,最多可填8个汉字(可不填,默认为"电子签名专用章")
3135
+ # @type SealHorizontalText: String
3136
+ # @param IsDefault: 是否是默认印章 true:是,false:否
3137
+ # @type IsDefault: Boolean
3138
+
3139
+ attr_accessor :Caller, :SealType, :SourceIp, :SealName, :SealHorizontalText, :IsDefault
3140
+
3141
+ def initialize(caller=nil, sealtype=nil, sourceip=nil, sealname=nil, sealhorizontaltext=nil, isdefault=nil)
3142
+ @Caller = caller
3143
+ @SealType = sealtype
3144
+ @SourceIp = sourceip
3145
+ @SealName = sealname
3146
+ @SealHorizontalText = sealhorizontaltext
3147
+ @IsDefault = isdefault
3148
+ end
3149
+
3150
+ def deserialize(params)
3151
+ unless params['Caller'].nil?
3152
+ @Caller = Caller.new
3153
+ @Caller.deserialize(params['Caller'])
3154
+ end
3155
+ @SealType = params['SealType']
3156
+ @SourceIp = params['SourceIp']
3157
+ @SealName = params['SealName']
3158
+ @SealHorizontalText = params['SealHorizontalText']
3159
+ @IsDefault = params['IsDefault']
3160
+ end
3161
+ end
3162
+
3163
+ # GenerateOrganizationSeal返回参数结构体
3164
+ class GenerateOrganizationSealResponse < TencentCloud::Common::AbstractModel
3165
+ # @param SealId: 电子印章Id
3166
+ # @type SealId: String
3167
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3168
+ # @type RequestId: String
3169
+
3170
+ attr_accessor :SealId, :RequestId
3171
+
3172
+ def initialize(sealid=nil, requestid=nil)
3173
+ @SealId = sealid
3174
+ @RequestId = requestid
3175
+ end
3176
+
3177
+ def deserialize(params)
3178
+ @SealId = params['SealId']
3179
+ @RequestId = params['RequestId']
3180
+ end
3181
+ end
3182
+
3183
+ # GenerateUserSeal请求参数结构体
3184
+ class GenerateUserSealRequest < TencentCloud::Common::AbstractModel
3185
+ # @param Caller: 调用方信息
3186
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3187
+ # @param UserId: 用户ID
3188
+ # @type UserId: String
3189
+ # @param SourceIp: 请求生成个人印章的客户端IP
3190
+ # @type SourceIp: String
3191
+ # @param SealName: 电子印章名称
3192
+ # @type SealName: String
3193
+ # @param IsDefault: 是否是默认印章 true:是,false:否
3194
+ # @type IsDefault: Boolean
3195
+
3196
+ attr_accessor :Caller, :UserId, :SourceIp, :SealName, :IsDefault
3197
+
3198
+ def initialize(caller=nil, userid=nil, sourceip=nil, sealname=nil, isdefault=nil)
3199
+ @Caller = caller
3200
+ @UserId = userid
3201
+ @SourceIp = sourceip
3202
+ @SealName = sealname
3203
+ @IsDefault = isdefault
3204
+ end
3205
+
3206
+ def deserialize(params)
3207
+ unless params['Caller'].nil?
3208
+ @Caller = Caller.new
3209
+ @Caller.deserialize(params['Caller'])
3210
+ end
3211
+ @UserId = params['UserId']
3212
+ @SourceIp = params['SourceIp']
3213
+ @SealName = params['SealName']
3214
+ @IsDefault = params['IsDefault']
3215
+ end
3216
+ end
3217
+
3218
+ # GenerateUserSeal返回参数结构体
3219
+ class GenerateUserSealResponse < TencentCloud::Common::AbstractModel
3220
+ # @param SealId: 电子印章Id
3221
+ # @type SealId: String
3222
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3223
+ # @type RequestId: String
3224
+
3225
+ attr_accessor :SealId, :RequestId
3226
+
3227
+ def initialize(sealid=nil, requestid=nil)
3228
+ @SealId = sealid
3229
+ @RequestId = requestid
3230
+ end
3231
+
3232
+ def deserialize(params)
3233
+ @SealId = params['SealId']
3234
+ @RequestId = params['RequestId']
3235
+ end
3236
+ end
3237
+
3238
+ # ModifyOrganizationDefaultSeal请求参数结构体
3239
+ class ModifyOrganizationDefaultSealRequest < TencentCloud::Common::AbstractModel
3240
+ # @param Caller: 调用方信息
3241
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3242
+ # @param SealId: 重新指定的默认印章ID
3243
+ # @type SealId: String
3244
+ # @param SourceIp: 请求重新指定企业默认印章的客户端IP
3245
+ # @type SourceIp: String
3246
+
3247
+ attr_accessor :Caller, :SealId, :SourceIp
3248
+
3249
+ def initialize(caller=nil, sealid=nil, sourceip=nil)
3250
+ @Caller = caller
3251
+ @SealId = sealid
3252
+ @SourceIp = sourceip
3253
+ end
3254
+
3255
+ def deserialize(params)
3256
+ unless params['Caller'].nil?
3257
+ @Caller = Caller.new
3258
+ @Caller.deserialize(params['Caller'])
3259
+ end
3260
+ @SealId = params['SealId']
3261
+ @SourceIp = params['SourceIp']
3262
+ end
3263
+ end
3264
+
3265
+ # ModifyOrganizationDefaultSeal返回参数结构体
3266
+ class ModifyOrganizationDefaultSealResponse < TencentCloud::Common::AbstractModel
3267
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3268
+ # @type RequestId: String
3269
+
3270
+ attr_accessor :RequestId
3271
+
3272
+ def initialize(requestid=nil)
3273
+ @RequestId = requestid
3274
+ end
3275
+
3276
+ def deserialize(params)
3277
+ @RequestId = params['RequestId']
3278
+ end
3279
+ end
3280
+
3281
+ # ModifySeal请求参数结构体
3282
+ class ModifySealRequest < TencentCloud::Common::AbstractModel
3283
+ # @param Caller: 调用方信息
3284
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3285
+ # @param SourceIp: 请求更新印章的客户端IP
3286
+ # @type SourceIp: String
3287
+ # @param SealId: 电子印章ID。若为空,则修改个人/机构的默认印章。
3288
+ # @type SealId: String
3289
+ # @param SealName: 电子印章名称
3290
+ # @type SealName: String
3291
+ # @param Image: 印章图片,base64编码(与FileId参数二选一,同时传入参数时优先使用Image参数)
3292
+ # @type Image: String
3293
+ # @param FileId: 印章图片文件ID(与Image参数二选一,同时传入参数时优先使用Image参数)
3294
+ # @type FileId: String
3295
+ # @param UserId: 需要更新印章的用户ID
3296
+ # @type UserId: String
3297
+
3298
+ attr_accessor :Caller, :SourceIp, :SealId, :SealName, :Image, :FileId, :UserId
3299
+
3300
+ def initialize(caller=nil, sourceip=nil, sealid=nil, sealname=nil, image=nil, fileid=nil, userid=nil)
3301
+ @Caller = caller
3302
+ @SourceIp = sourceip
3303
+ @SealId = sealid
3304
+ @SealName = sealname
3305
+ @Image = image
3306
+ @FileId = fileid
3307
+ @UserId = userid
3308
+ end
3309
+
3310
+ def deserialize(params)
3311
+ unless params['Caller'].nil?
3312
+ @Caller = Caller.new
3313
+ @Caller.deserialize(params['Caller'])
3314
+ end
3315
+ @SourceIp = params['SourceIp']
3316
+ @SealId = params['SealId']
3317
+ @SealName = params['SealName']
3318
+ @Image = params['Image']
3319
+ @FileId = params['FileId']
3320
+ @UserId = params['UserId']
3321
+ end
3322
+ end
3323
+
3324
+ # ModifySeal返回参数结构体
3325
+ class ModifySealResponse < TencentCloud::Common::AbstractModel
3326
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3327
+ # @type RequestId: String
3328
+
3329
+ attr_accessor :RequestId
3330
+
3331
+ def initialize(requestid=nil)
3332
+ @RequestId = requestid
3333
+ end
3334
+
3335
+ def deserialize(params)
3336
+ @RequestId = params['RequestId']
3337
+ end
3338
+ end
3339
+
3340
+ # ModifySubOrganizationInfo请求参数结构体
3341
+ class ModifySubOrganizationInfoRequest < TencentCloud::Common::AbstractModel
3342
+ # @param Caller: 调用方信息,该接口 SubOrganizationId 字段与 OpenId 字段二者至少需要传入一个,全部传入时则使用 SubOrganizationId 信息
3343
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3344
+ # @param OpenId: 机构在第三方的唯一标识,32位定长字符串,与 Caller 中 SubOrgnizationId 二者至少需要传入一个,全部传入时则使用 SubOrganizationId 信息
3345
+ # @type OpenId: String
3346
+ # @param Name: 机构名称全称,修改后机构状态将变为未实名,需要调用实名接口重新实名。
3347
+ # @type Name: String
3348
+ # @param OrganizationType: 机构类型可选值:
3349
+ # 1. ENTERPRISE - 企业;
3350
+ # 2. INDIVIDUALBIZ - 个体工商户;
3351
+ # 3. PUBLICINSTITUTION - 政府/事业单位
3352
+ # 4. OTHERS - 其他组织
3353
+ # @type OrganizationType: String
3354
+ # @param BizLicenseFile: 机构证件照片文件,base64编码。支持jpg,jpeg,png格式;如果传值,则重新上传文件后,机构状态将变为未实名,需要调用实名接口重新实名。
3355
+ # @type BizLicenseFile: String
3356
+ # @param BizLicenseFileName: 机构证件照片文件名
3357
+ # @type BizLicenseFileName: String
3358
+ # @param LegalName: 机构法人/经营者姓名
3359
+ # @type LegalName: String
3360
+ # @param LegalIdCardType: 机构法人/经营者证件类型,可选值:ID_CARD - 居民身份证。OrganizationType 为 ENTERPRISE、INDIVIDUALBIZ 时,此项必填,其他情况选填。
3361
+ # @type LegalIdCardType: String
3362
+ # @param LegalIdCardNumber: 机构法人/经营者证件号码。OrganizationType 为 ENTERPRISE、INDIVIDUALBIZ 时,此项必填,其他情况选填
3363
+ # @type LegalIdCardNumber: String
3364
+ # @param LegalMobile: 机构法人/经营者/联系人手机号码
3365
+ # @type LegalMobile: String
3366
+ # @param ContactName: 组织联系人姓名
3367
+ # @type ContactName: String
3368
+ # @param ContactAddress: 企业联系地址
3369
+ # @type ContactAddress: :class:`Tencentcloud::Essbasic.v20201222.models.Address`
3370
+ # @param Email: 机构电子邮箱
3371
+ # @type Email: String
3372
+
3373
+ attr_accessor :Caller, :OpenId, :Name, :OrganizationType, :BizLicenseFile, :BizLicenseFileName, :LegalName, :LegalIdCardType, :LegalIdCardNumber, :LegalMobile, :ContactName, :ContactAddress, :Email
3374
+
3375
+ def initialize(caller=nil, openid=nil, name=nil, organizationtype=nil, bizlicensefile=nil, bizlicensefilename=nil, legalname=nil, legalidcardtype=nil, legalidcardnumber=nil, legalmobile=nil, contactname=nil, contactaddress=nil, email=nil)
3376
+ @Caller = caller
3377
+ @OpenId = openid
3378
+ @Name = name
3379
+ @OrganizationType = organizationtype
3380
+ @BizLicenseFile = bizlicensefile
3381
+ @BizLicenseFileName = bizlicensefilename
3382
+ @LegalName = legalname
3383
+ @LegalIdCardType = legalidcardtype
3384
+ @LegalIdCardNumber = legalidcardnumber
3385
+ @LegalMobile = legalmobile
3386
+ @ContactName = contactname
3387
+ @ContactAddress = contactaddress
3388
+ @Email = email
3389
+ end
3390
+
3391
+ def deserialize(params)
3392
+ unless params['Caller'].nil?
3393
+ @Caller = Caller.new
3394
+ @Caller.deserialize(params['Caller'])
3395
+ end
3396
+ @OpenId = params['OpenId']
3397
+ @Name = params['Name']
3398
+ @OrganizationType = params['OrganizationType']
3399
+ @BizLicenseFile = params['BizLicenseFile']
3400
+ @BizLicenseFileName = params['BizLicenseFileName']
3401
+ @LegalName = params['LegalName']
3402
+ @LegalIdCardType = params['LegalIdCardType']
3403
+ @LegalIdCardNumber = params['LegalIdCardNumber']
3404
+ @LegalMobile = params['LegalMobile']
3405
+ @ContactName = params['ContactName']
3406
+ unless params['ContactAddress'].nil?
3407
+ @ContactAddress = Address.new
3408
+ @ContactAddress.deserialize(params['ContactAddress'])
3409
+ end
3410
+ @Email = params['Email']
3411
+ end
3412
+ end
3413
+
3414
+ # ModifySubOrganizationInfo返回参数结构体
3415
+ class ModifySubOrganizationInfoResponse < TencentCloud::Common::AbstractModel
3416
+ # @param SubOrganizationId: 子机构ID
3417
+ # @type SubOrganizationId: String
3418
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3419
+ # @type RequestId: String
3420
+
3421
+ attr_accessor :SubOrganizationId, :RequestId
3422
+
3423
+ def initialize(suborganizationid=nil, requestid=nil)
3424
+ @SubOrganizationId = suborganizationid
3425
+ @RequestId = requestid
3426
+ end
3427
+
3428
+ def deserialize(params)
3429
+ @SubOrganizationId = params['SubOrganizationId']
3430
+ @RequestId = params['RequestId']
3431
+ end
3432
+ end
3433
+
3434
+ # ModifyUserDefaultSeal请求参数结构体
3435
+ class ModifyUserDefaultSealRequest < TencentCloud::Common::AbstractModel
3436
+ # @param Caller: 调用方信息
3437
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3438
+ # @param UserId: 用户唯一标识,需要重新指定默认印章的用户ID
3439
+ # @type UserId: String
3440
+ # @param SealId: 重新指定的默认印章ID
3441
+ # @type SealId: String
3442
+ # @param SourceIp: 请求重新指定个人默认印章的客户端IP
3443
+ # @type SourceIp: String
3444
+
3445
+ attr_accessor :Caller, :UserId, :SealId, :SourceIp
3446
+
3447
+ def initialize(caller=nil, userid=nil, sealid=nil, sourceip=nil)
3448
+ @Caller = caller
3449
+ @UserId = userid
3450
+ @SealId = sealid
3451
+ @SourceIp = sourceip
3452
+ end
3453
+
3454
+ def deserialize(params)
3455
+ unless params['Caller'].nil?
3456
+ @Caller = Caller.new
3457
+ @Caller.deserialize(params['Caller'])
3458
+ end
3459
+ @UserId = params['UserId']
3460
+ @SealId = params['SealId']
3461
+ @SourceIp = params['SourceIp']
3462
+ end
3463
+ end
3464
+
3465
+ # ModifyUserDefaultSeal返回参数结构体
3466
+ class ModifyUserDefaultSealResponse < TencentCloud::Common::AbstractModel
3467
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3468
+ # @type RequestId: String
3469
+
3470
+ attr_accessor :RequestId
3471
+
3472
+ def initialize(requestid=nil)
3473
+ @RequestId = requestid
3474
+ end
3475
+
3476
+ def deserialize(params)
3477
+ @RequestId = params['RequestId']
3478
+ end
3479
+ end
3480
+
3481
+ # ModifyUser请求参数结构体
3482
+ class ModifyUserRequest < TencentCloud::Common::AbstractModel
3483
+ # @param Caller: 调用方信息
3484
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3485
+ # @param OpenId: 第三方平台用户唯一标识; OpenId 和 UserId 二选一填写, 两个都不为空则优先使用UserId
3486
+ # @type OpenId: String
3487
+ # @param UserId: 腾讯电子签平台用户唯一标识; OpenId 和 UserId 二选一填写, 两个都不为空则优先使用UserId
3488
+ # @type UserId: String
3489
+ # @param Mobile: 用户手机号码,不要求唯一
3490
+ # @type Mobile: String
3491
+ # @param Email: 用户邮箱,不要求唯一
3492
+ # @type Email: String
3493
+ # @param Name: 用户姓名
3494
+ # @type Name: String
3495
+
3496
+ attr_accessor :Caller, :OpenId, :UserId, :Mobile, :Email, :Name
3497
+
3498
+ def initialize(caller=nil, openid=nil, userid=nil, mobile=nil, email=nil, name=nil)
3499
+ @Caller = caller
3500
+ @OpenId = openid
3501
+ @UserId = userid
3502
+ @Mobile = mobile
3503
+ @Email = email
3504
+ @Name = name
3505
+ end
3506
+
3507
+ def deserialize(params)
3508
+ unless params['Caller'].nil?
3509
+ @Caller = Caller.new
3510
+ @Caller.deserialize(params['Caller'])
3511
+ end
3512
+ @OpenId = params['OpenId']
3513
+ @UserId = params['UserId']
3514
+ @Mobile = params['Mobile']
3515
+ @Email = params['Email']
3516
+ @Name = params['Name']
3517
+ end
3518
+ end
3519
+
3520
+ # ModifyUser返回参数结构体
3521
+ class ModifyUserResponse < TencentCloud::Common::AbstractModel
3522
+ # @param UserId: 腾讯电子签平台用户唯一标识
3523
+ # @type UserId: String
3524
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3525
+ # @type RequestId: String
3526
+
3527
+ attr_accessor :UserId, :RequestId
3528
+
3529
+ def initialize(userid=nil, requestid=nil)
3530
+ @UserId = userid
3531
+ @RequestId = requestid
3532
+ end
3533
+
3534
+ def deserialize(params)
3535
+ @UserId = params['UserId']
3536
+ @RequestId = params['RequestId']
3537
+ end
3538
+ end
3539
+
3540
+ # RejectFlow请求参数结构体
3541
+ class RejectFlowRequest < TencentCloud::Common::AbstractModel
3542
+ # @param Caller: 调用方信息
3543
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3544
+ # @param FlowId: 流程编号
3545
+ # @type FlowId: String
3546
+ # @param VerifyResult: 意愿确认票据。
3547
+ # 1. VerifyChannel 为 WEIXINAPP,使用响应的VerifyResult;
3548
+ # 2. VerifyChannel 为 FACEID时,使用OrderNo;
3549
+ # 3. VerifyChannel 为 VERIFYCODE,使用短信验证码
3550
+ # 4. VerifyChannel 为 NONE,传空值
3551
+ # (注:普通情况下,VerifyResult不能为None,如您不希望腾讯电子签对用户签署意愿做校验,请提前与客户经理或邮件至e-contract@tencent.com与我们联系)
3552
+ # @type VerifyResult: String
3553
+ # @param VerifyChannel: 意愿确认渠道:
3554
+ # 1. WEIXINAPP - 微信小程序
3555
+ # 2. FACEID - 慧眼 (默认)
3556
+ # 3. VERIFYCODE - 验证码
3557
+ # 4. THIRD - 第三方 (暂不支持)
3558
+ # 5. NONE - 无需电子签系统验证
3559
+ # (注:普通情况下,VerifyChannel不能为None,如您不希望腾讯电子签对用户签署意愿做校验,请提前与客户经理或邮件至e-contract@tencent.com与我们联系)
3560
+ # @type VerifyChannel: String
3561
+ # @param SourceIp: 客户端来源IP
3562
+ # @type SourceIp: String
3563
+ # @param RejectMessage: 拒签原因
3564
+ # @type RejectMessage: String
3565
+ # @param SignId: 签署参与者编号
3566
+ # @type SignId: String
3567
+
3568
+ attr_accessor :Caller, :FlowId, :VerifyResult, :VerifyChannel, :SourceIp, :RejectMessage, :SignId
3569
+
3570
+ def initialize(caller=nil, flowid=nil, verifyresult=nil, verifychannel=nil, sourceip=nil, rejectmessage=nil, signid=nil)
3571
+ @Caller = caller
3572
+ @FlowId = flowid
3573
+ @VerifyResult = verifyresult
3574
+ @VerifyChannel = verifychannel
3575
+ @SourceIp = sourceip
3576
+ @RejectMessage = rejectmessage
3577
+ @SignId = signid
3578
+ end
3579
+
3580
+ def deserialize(params)
3581
+ unless params['Caller'].nil?
3582
+ @Caller = Caller.new
3583
+ @Caller.deserialize(params['Caller'])
3584
+ end
3585
+ @FlowId = params['FlowId']
3586
+ @VerifyResult = params['VerifyResult']
3587
+ @VerifyChannel = params['VerifyChannel']
3588
+ @SourceIp = params['SourceIp']
3589
+ @RejectMessage = params['RejectMessage']
3590
+ @SignId = params['SignId']
3591
+ end
3592
+ end
3593
+
3594
+ # RejectFlow返回参数结构体
3595
+ class RejectFlowResponse < TencentCloud::Common::AbstractModel
3596
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3597
+ # @type RequestId: String
3598
+
3599
+ attr_accessor :RequestId
3600
+
3601
+ def initialize(requestid=nil)
3602
+ @RequestId = requestid
3603
+ end
3604
+
3605
+ def deserialize(params)
3606
+ @RequestId = params['RequestId']
3607
+ end
3608
+ end
3609
+
3610
+ # 此结构体 (Seal) 用于描述电子印章的信息。
3611
+ class Seal < TencentCloud::Common::AbstractModel
3612
+ # @param SealId: 电子印章ID
3613
+ # @type SealId: String
3614
+ # @param SealName: 电子印章名称
3615
+ # @type SealName: String
3616
+ # @param SealType: 电子印章类型
3617
+ # @type SealType: String
3618
+ # @param SealSource: 电子印章来源:
3619
+ # CREATE - 通过图片上传
3620
+ # GENERATE - 通过文字生成
3621
+ # @type SealSource: String
3622
+ # @param Creator: 电子印章创建者
3623
+ # @type Creator: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3624
+ # @param CreatedOn: 电子印章创建时间戳
3625
+ # @type CreatedOn: Integer
3626
+ # @param UserId: 电子印章所有人
3627
+ # @type UserId: String
3628
+ # @param FileUrl: 电子印章URL
3629
+ # @type FileUrl: :class:`Tencentcloud::Essbasic.v20201222.models.FileUrl`
3630
+ # @param DefaultSeal: 是否为默认印章,false-非默认,true-默认
3631
+ # @type DefaultSeal: Boolean
3632
+
3633
+ attr_accessor :SealId, :SealName, :SealType, :SealSource, :Creator, :CreatedOn, :UserId, :FileUrl, :DefaultSeal
3634
+
3635
+ def initialize(sealid=nil, sealname=nil, sealtype=nil, sealsource=nil, creator=nil, createdon=nil, userid=nil, fileurl=nil, defaultseal=nil)
3636
+ @SealId = sealid
3637
+ @SealName = sealname
3638
+ @SealType = sealtype
3639
+ @SealSource = sealsource
3640
+ @Creator = creator
3641
+ @CreatedOn = createdon
3642
+ @UserId = userid
3643
+ @FileUrl = fileurl
3644
+ @DefaultSeal = defaultseal
3645
+ end
3646
+
3647
+ def deserialize(params)
3648
+ @SealId = params['SealId']
3649
+ @SealName = params['SealName']
3650
+ @SealType = params['SealType']
3651
+ @SealSource = params['SealSource']
3652
+ unless params['Creator'].nil?
3653
+ @Creator = Caller.new
3654
+ @Creator.deserialize(params['Creator'])
3655
+ end
3656
+ @CreatedOn = params['CreatedOn']
3657
+ @UserId = params['UserId']
3658
+ unless params['FileUrl'].nil?
3659
+ @FileUrl = FileUrl.new
3660
+ @FileUrl.deserialize(params['FileUrl'])
3661
+ end
3662
+ @DefaultSeal = params['DefaultSeal']
3663
+ end
3664
+ end
3665
+
3666
+ # SendFlow请求参数结构体
3667
+ class SendFlowRequest < TencentCloud::Common::AbstractModel
3668
+ # @param Caller: 调用方信息
3669
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3670
+ # @param FlowId: 需要推送合同的流程ID
3671
+ # @type FlowId: String
3672
+ # @param UserId: 签署人用户ID
3673
+ # @type UserId: String
3674
+ # @param SignComponents: 签署控件信息 (支持添加多个控件)
3675
+ # @type SignComponents: Array
3676
+ # @param Mobile: 签署人手机号 (如果选择短信验证码签署,则此字段必填)
3677
+ # @type Mobile: String
3678
+ # @param SubOrganizationId: 签署人对应的子机构ID,个人签署者此字段不填
3679
+ # @type SubOrganizationId: String
3680
+ # @param VerifyChannel: 签名后校验方式:
3681
+ # 1. WEIXINAPP - 微信小程序;
3682
+ # 2. FACEID - 慧眼 (默认) ;
3683
+ # 3. VERIFYCODE - 验证码;
3684
+ # 4. NONE - 无。此选项为白名单参数,暂不支持公开调用。如需开通权限,请通过客户经理或邮件至e-contract@tencent.com与我们联系;
3685
+ # 5. THIRD - 第三方 (暂不支持)
3686
+ # @type VerifyChannel: Array
3687
+ # @param Deadline: 签署链接失效截止时间,默认为7天
3688
+ # @type Deadline: Integer
3689
+ # @param IsLastApprover: 是否为最后一个签署人。若为最后一人,本次签署完成以后自动归档。
3690
+ # @type IsLastApprover: Boolean
3691
+ # @param JumpUrl: 签署完成后,前端跳转的URL
3692
+ # @type JumpUrl: String
3693
+ # @param SmsTemplate: 短信模板。默认使用腾讯电子签官方短信模板,如有自定义需求,请通过客户经理或邮件至e-contract@tencent.com与我们联系。
3694
+ # @type SmsTemplate: :class:`Tencentcloud::Essbasic.v20201222.models.SmsTemplate`
3695
+ # @param IsFullText: 签署前置条件:是否要全文阅读,默认否
3696
+ # @type IsFullText: Boolean
3697
+ # @param PreReadTime: 签署前置条件:强制用户阅读待签署文件时长,默认不限制
3698
+ # @type PreReadTime: Integer
3699
+ # @param CanOffLine: 当前参与者是否支持线下核身,默认为不支持
3700
+ # @type CanOffLine: Boolean
3701
+ # @param CallbackUrl: 签署任务的回调地址
3702
+ # @type CallbackUrl: String
3703
+
3704
+ attr_accessor :Caller, :FlowId, :UserId, :SignComponents, :Mobile, :SubOrganizationId, :VerifyChannel, :Deadline, :IsLastApprover, :JumpUrl, :SmsTemplate, :IsFullText, :PreReadTime, :CanOffLine, :CallbackUrl
3705
+
3706
+ def initialize(caller=nil, flowid=nil, userid=nil, signcomponents=nil, mobile=nil, suborganizationid=nil, verifychannel=nil, deadline=nil, islastapprover=nil, jumpurl=nil, smstemplate=nil, isfulltext=nil, prereadtime=nil, canoffline=nil, callbackurl=nil)
3707
+ @Caller = caller
3708
+ @FlowId = flowid
3709
+ @UserId = userid
3710
+ @SignComponents = signcomponents
3711
+ @Mobile = mobile
3712
+ @SubOrganizationId = suborganizationid
3713
+ @VerifyChannel = verifychannel
3714
+ @Deadline = deadline
3715
+ @IsLastApprover = islastapprover
3716
+ @JumpUrl = jumpurl
3717
+ @SmsTemplate = smstemplate
3718
+ @IsFullText = isfulltext
3719
+ @PreReadTime = prereadtime
3720
+ @CanOffLine = canoffline
3721
+ @CallbackUrl = callbackurl
3722
+ end
3723
+
3724
+ def deserialize(params)
3725
+ unless params['Caller'].nil?
3726
+ @Caller = Caller.new
3727
+ @Caller.deserialize(params['Caller'])
3728
+ end
3729
+ @FlowId = params['FlowId']
3730
+ @UserId = params['UserId']
3731
+ unless params['SignComponents'].nil?
3732
+ @SignComponents = []
3733
+ params['SignComponents'].each do |i|
3734
+ component_tmp = Component.new
3735
+ component_tmp.deserialize(i)
3736
+ @SignComponents << component_tmp
3737
+ end
3738
+ end
3739
+ @Mobile = params['Mobile']
3740
+ @SubOrganizationId = params['SubOrganizationId']
3741
+ @VerifyChannel = params['VerifyChannel']
3742
+ @Deadline = params['Deadline']
3743
+ @IsLastApprover = params['IsLastApprover']
3744
+ @JumpUrl = params['JumpUrl']
3745
+ unless params['SmsTemplate'].nil?
3746
+ @SmsTemplate = SmsTemplate.new
3747
+ @SmsTemplate.deserialize(params['SmsTemplate'])
3748
+ end
3749
+ @IsFullText = params['IsFullText']
3750
+ @PreReadTime = params['PreReadTime']
3751
+ @CanOffLine = params['CanOffLine']
3752
+ @CallbackUrl = params['CallbackUrl']
3753
+ end
3754
+ end
3755
+
3756
+ # SendFlow返回参数结构体
3757
+ class SendFlowResponse < TencentCloud::Common::AbstractModel
3758
+ # @param SignId: 签署任务ID,标识每一次的流程发送
3759
+ # @type SignId: String
3760
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3761
+ # @type RequestId: String
3762
+
3763
+ attr_accessor :SignId, :RequestId
3764
+
3765
+ def initialize(signid=nil, requestid=nil)
3766
+ @SignId = signid
3767
+ @RequestId = requestid
3768
+ end
3769
+
3770
+ def deserialize(params)
3771
+ @SignId = params['SignId']
3772
+ @RequestId = params['RequestId']
3773
+ end
3774
+ end
3775
+
3776
+ # SendFlowUrl请求参数结构体
3777
+ class SendFlowUrlRequest < TencentCloud::Common::AbstractModel
3778
+ # @param Caller: 调用方信息
3779
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3780
+ # @param FlowId: 需要推送合同的流程ID
3781
+ # @type FlowId: String
3782
+ # @param UserId: 签署人ID
3783
+ # @type UserId: String
3784
+ # @param SignComponents: 签署控件信息 (支持添加多个控件)
3785
+ # @type SignComponents: Array
3786
+ # @param Mobile: 签署人手机号 (如果选择短信验证码签署,则此字段必填)
3787
+ # @type Mobile: String
3788
+ # @param SubOrganizationId: 签署人对应的子机构ID,个人签署者此字段不填
3789
+ # @type SubOrganizationId: String
3790
+ # @param VerifyChannel: 签名后校验方式:
3791
+ # 1. WEIXINAPP - 微信小程序;
3792
+ # 2. FACEID - 慧眼 (默认) ;
3793
+ # 3. VERIFYCODE - 验证码;
3794
+ # 4. NONE - 无。此选项为白名单参数,暂不支持公开调用。如需开通权限,请通过客户经理或邮件至e-contract@tencent.com与我们联系;
3795
+ # 5. THIRD - 第三方 (暂不支持)
3796
+ # 6. OFFLINE - 线下人工审核
3797
+ # @type VerifyChannel: Array
3798
+ # @param Deadline: 签署链接失效截止时间,默认为7天
3799
+ # @type Deadline: Integer
3800
+ # @param IsLastApprover: 是否为最后一个签署人。若为最后一人,本次签署完成以后自动归档
3801
+ # @type IsLastApprover: Boolean
3802
+ # @param JumpUrl: 签署完成后,前端跳转的url
3803
+ # @type JumpUrl: String
3804
+ # @param SmsTemplate: 短信模板
3805
+ # 默认使用腾讯电子签官方短信模板,如有自定义需求,请通过客户经理或邮件至e-contract@tencent.com与我们联系。
3806
+ # @type SmsTemplate: :class:`Tencentcloud::Essbasic.v20201222.models.SmsTemplate`
3807
+ # @param IsFullText: 签署前置条件:是否要全文阅读,默认否
3808
+ # @type IsFullText: Boolean
3809
+ # @param PreReadTime: 签署前置条件:强制用户阅读待签署文件时长,默认不限制
3810
+ # @type PreReadTime: Integer
3811
+ # @param CanOffLine: 当前参与者是否支持线下核身,默认为不支持
3812
+ # @type CanOffLine: Boolean
3813
+ # @param CallbackUrl: 签署任务的回调地址
3814
+ # @type CallbackUrl: String
3815
+
3816
+ attr_accessor :Caller, :FlowId, :UserId, :SignComponents, :Mobile, :SubOrganizationId, :VerifyChannel, :Deadline, :IsLastApprover, :JumpUrl, :SmsTemplate, :IsFullText, :PreReadTime, :CanOffLine, :CallbackUrl
3817
+
3818
+ def initialize(caller=nil, flowid=nil, userid=nil, signcomponents=nil, mobile=nil, suborganizationid=nil, verifychannel=nil, deadline=nil, islastapprover=nil, jumpurl=nil, smstemplate=nil, isfulltext=nil, prereadtime=nil, canoffline=nil, callbackurl=nil)
3819
+ @Caller = caller
3820
+ @FlowId = flowid
3821
+ @UserId = userid
3822
+ @SignComponents = signcomponents
3823
+ @Mobile = mobile
3824
+ @SubOrganizationId = suborganizationid
3825
+ @VerifyChannel = verifychannel
3826
+ @Deadline = deadline
3827
+ @IsLastApprover = islastapprover
3828
+ @JumpUrl = jumpurl
3829
+ @SmsTemplate = smstemplate
3830
+ @IsFullText = isfulltext
3831
+ @PreReadTime = prereadtime
3832
+ @CanOffLine = canoffline
3833
+ @CallbackUrl = callbackurl
3834
+ end
3835
+
3836
+ def deserialize(params)
3837
+ unless params['Caller'].nil?
3838
+ @Caller = Caller.new
3839
+ @Caller.deserialize(params['Caller'])
3840
+ end
3841
+ @FlowId = params['FlowId']
3842
+ @UserId = params['UserId']
3843
+ unless params['SignComponents'].nil?
3844
+ @SignComponents = []
3845
+ params['SignComponents'].each do |i|
3846
+ component_tmp = Component.new
3847
+ component_tmp.deserialize(i)
3848
+ @SignComponents << component_tmp
3849
+ end
3850
+ end
3851
+ @Mobile = params['Mobile']
3852
+ @SubOrganizationId = params['SubOrganizationId']
3853
+ @VerifyChannel = params['VerifyChannel']
3854
+ @Deadline = params['Deadline']
3855
+ @IsLastApprover = params['IsLastApprover']
3856
+ @JumpUrl = params['JumpUrl']
3857
+ unless params['SmsTemplate'].nil?
3858
+ @SmsTemplate = SmsTemplate.new
3859
+ @SmsTemplate.deserialize(params['SmsTemplate'])
3860
+ end
3861
+ @IsFullText = params['IsFullText']
3862
+ @PreReadTime = params['PreReadTime']
3863
+ @CanOffLine = params['CanOffLine']
3864
+ @CallbackUrl = params['CallbackUrl']
3865
+ end
3866
+ end
3867
+
3868
+ # SendFlowUrl返回参数结构体
3869
+ class SendFlowUrlResponse < TencentCloud::Common::AbstractModel
3870
+ # @param SignId: 签署任务ID,标识每一次的流程发送
3871
+ # @type SignId: String
3872
+ # @param SignUrl: 签署链接
3873
+ # @type SignUrl: String
3874
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3875
+ # @type RequestId: String
3876
+
3877
+ attr_accessor :SignId, :SignUrl, :RequestId
3878
+
3879
+ def initialize(signid=nil, signurl=nil, requestid=nil)
3880
+ @SignId = signid
3881
+ @SignUrl = signurl
3882
+ @RequestId = requestid
3883
+ end
3884
+
3885
+ def deserialize(params)
3886
+ @SignId = params['SignId']
3887
+ @SignUrl = params['SignUrl']
3888
+ @RequestId = params['RequestId']
3889
+ end
3890
+ end
3891
+
3892
+ # SendSignInnerVerifyCode请求参数结构体
3893
+ class SendSignInnerVerifyCodeRequest < TencentCloud::Common::AbstractModel
3894
+ # @param Caller: 调用方信息
3895
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3896
+ # @param Mobile: 手机号
3897
+ # @type Mobile: String
3898
+ # @param VerifyType: 验证码类型,取值(SIGN)
3899
+ # @type VerifyType: String
3900
+ # @param UserId: 用户 id
3901
+ # @type UserId: String
3902
+ # @param VerifyTemplateId: 模板 id
3903
+ # @type VerifyTemplateId: String
3904
+ # @param VerifySign: 签名
3905
+ # @type VerifySign: String
3906
+ # @param FlowId: 流程(目录) id
3907
+ # @type FlowId: String
3908
+ # @param CheckThreeElementResult: 三要素检测结果
3909
+ # @type CheckThreeElementResult: Integer
3910
+
3911
+ attr_accessor :Caller, :Mobile, :VerifyType, :UserId, :VerifyTemplateId, :VerifySign, :FlowId, :CheckThreeElementResult
3912
+
3913
+ def initialize(caller=nil, mobile=nil, verifytype=nil, userid=nil, verifytemplateid=nil, verifysign=nil, flowid=nil, checkthreeelementresult=nil)
3914
+ @Caller = caller
3915
+ @Mobile = mobile
3916
+ @VerifyType = verifytype
3917
+ @UserId = userid
3918
+ @VerifyTemplateId = verifytemplateid
3919
+ @VerifySign = verifysign
3920
+ @FlowId = flowid
3921
+ @CheckThreeElementResult = checkthreeelementresult
3922
+ end
3923
+
3924
+ def deserialize(params)
3925
+ unless params['Caller'].nil?
3926
+ @Caller = Caller.new
3927
+ @Caller.deserialize(params['Caller'])
3928
+ end
3929
+ @Mobile = params['Mobile']
3930
+ @VerifyType = params['VerifyType']
3931
+ @UserId = params['UserId']
3932
+ @VerifyTemplateId = params['VerifyTemplateId']
3933
+ @VerifySign = params['VerifySign']
3934
+ @FlowId = params['FlowId']
3935
+ @CheckThreeElementResult = params['CheckThreeElementResult']
3936
+ end
3937
+ end
3938
+
3939
+ # SendSignInnerVerifyCode返回参数结构体
3940
+ class SendSignInnerVerifyCodeResponse < TencentCloud::Common::AbstractModel
3941
+ # @param Result: true: 验证码正确,false: 验证码错误
3942
+ # @type Result: Boolean
3943
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3944
+ # @type RequestId: String
3945
+
3946
+ attr_accessor :Result, :RequestId
3947
+
3948
+ def initialize(result=nil, requestid=nil)
3949
+ @Result = result
3950
+ @RequestId = requestid
3951
+ end
3952
+
3953
+ def deserialize(params)
3954
+ @Result = params['Result']
3955
+ @RequestId = params['RequestId']
3956
+ end
3957
+ end
3958
+
3959
+ # SignFlow请求参数结构体
3960
+ class SignFlowRequest < TencentCloud::Common::AbstractModel
3961
+ # @param Caller: 调用方信息
3962
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
3963
+ # @param FlowId: 流程编号
3964
+ # @type FlowId: String
3965
+ # @param VerifyResult: 意愿确认票据。
3966
+ # 1. VerifyChannel 为 WEIXINAPP,使用响应的VerifyResult;
3967
+ # 2. VerifyChannel 为 FACEID时,使用OrderNo;
3968
+ # 3. VerifyChannel 为 VERIFYCODE,使用短信验证码
3969
+ # 4. VerifyChannel 为 NONE,传空值
3970
+ # (注:普通情况下,VerifyResult不能为None,如您不希望腾讯电子签对用户签署意愿做校验,请提前与客户经理或邮件至e-contract@tencent.com与我们联系)
3971
+ # @type VerifyResult: String
3972
+ # @param VerifyChannel: 意愿确认渠道:
3973
+ # 1. WEIXINAPP - 微信小程序
3974
+ # 2. FACEID - 慧眼 (默认)
3975
+ # 3. VERIFYCODE - 验证码
3976
+ # 4. THIRD - 第三方 (暂不支持)
3977
+ # 5. NONE - 无需电子签系统验证
3978
+ # (注:普通情况下,VerifyChannel不能为None,如您不希望腾讯电子签对用户签署意愿做校验,请提前与客户经理或邮件至e-contract@tencent.com与我们联系)
3979
+ # @type VerifyChannel: String
3980
+ # @param SourceIp: 客户端来源IP
3981
+ # @type SourceIp: String
3982
+ # @param SignSeals: 签署内容
3983
+ # @type SignSeals: Array
3984
+ # @param ApproveMessage: 签署备注
3985
+ # @type ApproveMessage: String
3986
+ # @param SignId: 签署参与者编号
3987
+ # @type SignId: String
3988
+
3989
+ attr_accessor :Caller, :FlowId, :VerifyResult, :VerifyChannel, :SourceIp, :SignSeals, :ApproveMessage, :SignId
3990
+
3991
+ def initialize(caller=nil, flowid=nil, verifyresult=nil, verifychannel=nil, sourceip=nil, signseals=nil, approvemessage=nil, signid=nil)
3992
+ @Caller = caller
3993
+ @FlowId = flowid
3994
+ @VerifyResult = verifyresult
3995
+ @VerifyChannel = verifychannel
3996
+ @SourceIp = sourceip
3997
+ @SignSeals = signseals
3998
+ @ApproveMessage = approvemessage
3999
+ @SignId = signid
4000
+ end
4001
+
4002
+ def deserialize(params)
4003
+ unless params['Caller'].nil?
4004
+ @Caller = Caller.new
4005
+ @Caller.deserialize(params['Caller'])
4006
+ end
4007
+ @FlowId = params['FlowId']
4008
+ @VerifyResult = params['VerifyResult']
4009
+ @VerifyChannel = params['VerifyChannel']
4010
+ @SourceIp = params['SourceIp']
4011
+ unless params['SignSeals'].nil?
4012
+ @SignSeals = []
4013
+ params['SignSeals'].each do |i|
4014
+ signseal_tmp = SignSeal.new
4015
+ signseal_tmp.deserialize(i)
4016
+ @SignSeals << signseal_tmp
4017
+ end
4018
+ end
4019
+ @ApproveMessage = params['ApproveMessage']
4020
+ @SignId = params['SignId']
4021
+ end
4022
+ end
4023
+
4024
+ # SignFlow返回参数结构体
4025
+ class SignFlowResponse < TencentCloud::Common::AbstractModel
4026
+ # @param Status: 签署任务状态。签署成功 - SUCCESS、提交审核 - REVIEW
4027
+ # @type Status: String
4028
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4029
+ # @type RequestId: String
4030
+
4031
+ attr_accessor :Status, :RequestId
4032
+
4033
+ def initialize(status=nil, requestid=nil)
4034
+ @Status = status
4035
+ @RequestId = requestid
4036
+ end
4037
+
4038
+ def deserialize(params)
4039
+ @Status = params['Status']
4040
+ @RequestId = params['RequestId']
4041
+ end
4042
+ end
4043
+
4044
+ # 此结构体 (SignSeal) 用于描述签名/印章信息。
4045
+ class SignSeal < TencentCloud::Common::AbstractModel
4046
+ # @param ComponentId: 签署控件ID
4047
+ # @type ComponentId: String
4048
+ # @param SignType: 签署印章类型:
4049
+ # SIGN_SIGNATURE - 签名
4050
+ # SIGN_SEAL - 印章
4051
+ # SIGN_DATE - 日期
4052
+ # SIGN_IMAGE - 图片
4053
+ # @type SignType: String
4054
+ # @param FileIndex: 合同文件ID
4055
+ # @type FileIndex: Integer
4056
+ # @param SealId: 印章ID,仅当 SignType 为 SIGN_SEAL 时必填
4057
+ # @type SealId: String
4058
+ # @param SealContent: 签名内容,仅当 SignType 为SIGN_SIGNATURE或SIGN_IMAGE 时必填,base64编码
4059
+ # @type SealContent: String
4060
+
4061
+ attr_accessor :ComponentId, :SignType, :FileIndex, :SealId, :SealContent
4062
+
4063
+ def initialize(componentid=nil, signtype=nil, fileindex=nil, sealid=nil, sealcontent=nil)
4064
+ @ComponentId = componentid
4065
+ @SignType = signtype
4066
+ @FileIndex = fileindex
4067
+ @SealId = sealid
4068
+ @SealContent = sealcontent
4069
+ end
4070
+
4071
+ def deserialize(params)
4072
+ @ComponentId = params['ComponentId']
4073
+ @SignType = params['SignType']
4074
+ @FileIndex = params['FileIndex']
4075
+ @SealId = params['SealId']
4076
+ @SealContent = params['SealContent']
4077
+ end
4078
+ end
4079
+
4080
+ # 此结构体 (SmsTemplate) 用于描述短信模板。
4081
+ class SmsTemplate < TencentCloud::Common::AbstractModel
4082
+ # @param TemplateId: 模板ID,必须填写已审核通过的模板ID。模板ID可登录短信控制台查看。
4083
+ # @type TemplateId: String
4084
+ # @param Sign: 短信签名内容,使用UTF-8编码,必须填写已审核通过的签名,签名信息可登录短信控制台查看。
4085
+ # @type Sign: String
4086
+
4087
+ attr_accessor :TemplateId, :Sign
4088
+
4089
+ def initialize(templateid=nil, sign=nil)
4090
+ @TemplateId = templateid
4091
+ @Sign = sign
4092
+ end
4093
+
4094
+ def deserialize(params)
4095
+ @TemplateId = params['TemplateId']
4096
+ @Sign = params['Sign']
4097
+ end
4098
+ end
4099
+
4100
+ # 此结构体 (SubOrganizationDetail) 用于描述子机构或子企业的详情信息。
4101
+ class SubOrganizationDetail < TencentCloud::Common::AbstractModel
4102
+ # @param Id: 组织ID
4103
+ # @type Id: String
4104
+ # @param Name: 机构名称全称
4105
+ # @type Name: String
4106
+ # @param Email: 机构电子邮箱
4107
+ # @type Email: String
4108
+ # @param IdCardType: 机构证件号码类型
4109
+ # @type IdCardType: String
4110
+ # @param IdCardNumber: 机构证件号码
4111
+ # @type IdCardNumber: String
4112
+ # @param OrganizationType: 机构类型
4113
+ # @type OrganizationType: String
4114
+ # @param IdCardFileType: 机构证件文件类型
4115
+ # 注意:此字段可能返回 null,表示取不到有效值。
4116
+ # @type IdCardFileType: String
4117
+ # @param BizLicenseFile: 机构证件照片文件,base64编码
4118
+ # 注意:此字段可能返回 null,表示取不到有效值。
4119
+ # @type BizLicenseFile: String
4120
+ # @param BizLicenseFileName: 机构证件照片文件名
4121
+ # @type BizLicenseFileName: String
4122
+ # @param LegalName: 机构法人/经营者姓名
4123
+ # @type LegalName: String
4124
+ # @param LegalIdCardType: 机构法人/经营者证件类型
4125
+ # @type LegalIdCardType: String
4126
+ # @param LegalIdCardNumber: 机构法人/经营者证件号码
4127
+ # @type LegalIdCardNumber: String
4128
+ # @param LegalMobile: 机构法人/经营者/联系人手机号码
4129
+ # @type LegalMobile: String
4130
+ # @param ContactName: 组织联系人姓名
4131
+ # 注意:此字段可能返回 null,表示取不到有效值。
4132
+ # @type ContactName: String
4133
+ # @param VerifyStatus: 机构实名状态
4134
+ # @type VerifyStatus: String
4135
+ # @param VerifiedOn: 机构通过实名时间
4136
+ # 注意:此字段可能返回 null,表示取不到有效值。
4137
+ # @type VerifiedOn: Integer
4138
+ # @param CreatedOn: 机构创建时间
4139
+ # @type CreatedOn: Integer
4140
+ # @param UpdatedOn: 机构更新时间
4141
+ # 注意:此字段可能返回 null,表示取不到有效值。
4142
+ # @type UpdatedOn: Integer
4143
+ # @param VerifyClientIp: 实名认证的客户端IP
4144
+ # 注意:此字段可能返回 null,表示取不到有效值。
4145
+ # @type VerifyClientIp: String
4146
+ # @param VerifyServerIp: 实名认证的服务器IP
4147
+ # 注意:此字段可能返回 null,表示取不到有效值。
4148
+ # @type VerifyServerIp: String
4149
+ # @param ContactAddress: 企业联系地址
4150
+ # 注意:此字段可能返回 null,表示取不到有效值。
4151
+ # @type ContactAddress: :class:`Tencentcloud::Essbasic.v20201222.models.Address`
4152
+
4153
+ attr_accessor :Id, :Name, :Email, :IdCardType, :IdCardNumber, :OrganizationType, :IdCardFileType, :BizLicenseFile, :BizLicenseFileName, :LegalName, :LegalIdCardType, :LegalIdCardNumber, :LegalMobile, :ContactName, :VerifyStatus, :VerifiedOn, :CreatedOn, :UpdatedOn, :VerifyClientIp, :VerifyServerIp, :ContactAddress
4154
+
4155
+ def initialize(id=nil, name=nil, email=nil, idcardtype=nil, idcardnumber=nil, organizationtype=nil, idcardfiletype=nil, bizlicensefile=nil, bizlicensefilename=nil, legalname=nil, legalidcardtype=nil, legalidcardnumber=nil, legalmobile=nil, contactname=nil, verifystatus=nil, verifiedon=nil, createdon=nil, updatedon=nil, verifyclientip=nil, verifyserverip=nil, contactaddress=nil)
4156
+ @Id = id
4157
+ @Name = name
4158
+ @Email = email
4159
+ @IdCardType = idcardtype
4160
+ @IdCardNumber = idcardnumber
4161
+ @OrganizationType = organizationtype
4162
+ @IdCardFileType = idcardfiletype
4163
+ @BizLicenseFile = bizlicensefile
4164
+ @BizLicenseFileName = bizlicensefilename
4165
+ @LegalName = legalname
4166
+ @LegalIdCardType = legalidcardtype
4167
+ @LegalIdCardNumber = legalidcardnumber
4168
+ @LegalMobile = legalmobile
4169
+ @ContactName = contactname
4170
+ @VerifyStatus = verifystatus
4171
+ @VerifiedOn = verifiedon
4172
+ @CreatedOn = createdon
4173
+ @UpdatedOn = updatedon
4174
+ @VerifyClientIp = verifyclientip
4175
+ @VerifyServerIp = verifyserverip
4176
+ @ContactAddress = contactaddress
4177
+ end
4178
+
4179
+ def deserialize(params)
4180
+ @Id = params['Id']
4181
+ @Name = params['Name']
4182
+ @Email = params['Email']
4183
+ @IdCardType = params['IdCardType']
4184
+ @IdCardNumber = params['IdCardNumber']
4185
+ @OrganizationType = params['OrganizationType']
4186
+ @IdCardFileType = params['IdCardFileType']
4187
+ @BizLicenseFile = params['BizLicenseFile']
4188
+ @BizLicenseFileName = params['BizLicenseFileName']
4189
+ @LegalName = params['LegalName']
4190
+ @LegalIdCardType = params['LegalIdCardType']
4191
+ @LegalIdCardNumber = params['LegalIdCardNumber']
4192
+ @LegalMobile = params['LegalMobile']
4193
+ @ContactName = params['ContactName']
4194
+ @VerifyStatus = params['VerifyStatus']
4195
+ @VerifiedOn = params['VerifiedOn']
4196
+ @CreatedOn = params['CreatedOn']
4197
+ @UpdatedOn = params['UpdatedOn']
4198
+ @VerifyClientIp = params['VerifyClientIp']
4199
+ @VerifyServerIp = params['VerifyServerIp']
4200
+ unless params['ContactAddress'].nil?
4201
+ @ContactAddress = Address.new
4202
+ @ContactAddress.deserialize(params['ContactAddress'])
4203
+ end
4204
+ end
4205
+ end
4206
+
4207
+ # 此结构体 (UploadFile) 用于描述多文件上传的文件信息。
4208
+ class UploadFile < TencentCloud::Common::AbstractModel
4209
+ # @param FileBody: Base64编码后的文件内容
4210
+ # @type FileBody: String
4211
+ # @param FileName: 文件名
4212
+ # @type FileName: String
4213
+
4214
+ attr_accessor :FileBody, :FileName
4215
+
4216
+ def initialize(filebody=nil, filename=nil)
4217
+ @FileBody = filebody
4218
+ @FileName = filename
4219
+ end
4220
+
4221
+ def deserialize(params)
4222
+ @FileBody = params['FileBody']
4223
+ @FileName = params['FileName']
4224
+ end
4225
+ end
4226
+
4227
+ # UploadFiles请求参数结构体
4228
+ class UploadFilesRequest < TencentCloud::Common::AbstractModel
4229
+ # @param Caller: 调用方信息
4230
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
4231
+ # @param BusinessType: 文件对应业务类型,用于区分文件存储路径:
4232
+ # 1. TEMPLATE - 模版; 文件类型:.pdf/.html
4233
+ # 2. DOCUMENT - 签署过程及签署后的合同文档 文件类型:.pdf/.html
4234
+ # 3. FLOW - 签署过程 文件类型:.pdf/.html
4235
+ # 4. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
4236
+ # 5. BUSINESSLICENSE - 营业执照 文件类型:.jpg/.jpeg/.png
4237
+ # 6. IDCARD - 身份证 文件类型:.jpg/.jpeg/.png
4238
+ # @type BusinessType: String
4239
+ # @param FileInfos: 上传文件内容数组,最多支持20个文件
4240
+ # @type FileInfos: Array
4241
+ # @param FileUrls: 上传文件链接数组,最多支持20个URL
4242
+ # @type FileUrls: Array
4243
+ # @param CoverRect: 是否将pdf灰色矩阵置白
4244
+ # true--是,处理置白
4245
+ # false--否,不处理
4246
+ # @type CoverRect: Boolean
4247
+ # @param FileType: 特殊文件类型需要指定文件类型:
4248
+ # HTML-- .html文件
4249
+ # @type FileType: String
4250
+ # @param CustomIds: 用户自定义ID数组,与上传文件一一对应
4251
+ # @type CustomIds: Array
4252
+
4253
+ attr_accessor :Caller, :BusinessType, :FileInfos, :FileUrls, :CoverRect, :FileType, :CustomIds
4254
+
4255
+ def initialize(caller=nil, businesstype=nil, fileinfos=nil, fileurls=nil, coverrect=nil, filetype=nil, customids=nil)
4256
+ @Caller = caller
4257
+ @BusinessType = businesstype
4258
+ @FileInfos = fileinfos
4259
+ @FileUrls = fileurls
4260
+ @CoverRect = coverrect
4261
+ @FileType = filetype
4262
+ @CustomIds = customids
4263
+ end
4264
+
4265
+ def deserialize(params)
4266
+ unless params['Caller'].nil?
4267
+ @Caller = Caller.new
4268
+ @Caller.deserialize(params['Caller'])
4269
+ end
4270
+ @BusinessType = params['BusinessType']
4271
+ unless params['FileInfos'].nil?
4272
+ @FileInfos = []
4273
+ params['FileInfos'].each do |i|
4274
+ uploadfile_tmp = UploadFile.new
4275
+ uploadfile_tmp.deserialize(i)
4276
+ @FileInfos << uploadfile_tmp
4277
+ end
4278
+ end
4279
+ @FileUrls = params['FileUrls']
4280
+ @CoverRect = params['CoverRect']
4281
+ @FileType = params['FileType']
4282
+ @CustomIds = params['CustomIds']
4283
+ end
4284
+ end
4285
+
4286
+ # UploadFiles返回参数结构体
4287
+ class UploadFilesResponse < TencentCloud::Common::AbstractModel
4288
+ # @param FileIds: 文件id数组
4289
+ # @type FileIds: Array
4290
+ # @param TotalCount: 上传成功文件数量
4291
+ # @type TotalCount: Integer
4292
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4293
+ # @type RequestId: String
4294
+
4295
+ attr_accessor :FileIds, :TotalCount, :RequestId
4296
+
4297
+ def initialize(fileids=nil, totalcount=nil, requestid=nil)
4298
+ @FileIds = fileids
4299
+ @TotalCount = totalcount
4300
+ @RequestId = requestid
4301
+ end
4302
+
4303
+ def deserialize(params)
4304
+ @FileIds = params['FileIds']
4305
+ @TotalCount = params['TotalCount']
4306
+ @RequestId = params['RequestId']
4307
+ end
4308
+ end
4309
+
4310
+ # 此结构体 (UserDescribe) 用于描述个人帐号查询结果。
4311
+ class UserDescribe < TencentCloud::Common::AbstractModel
4312
+ # @param UserId: 用户ID
4313
+ # @type UserId: String
4314
+ # @param Mobile: 手机号,隐藏中间4位数字,用*代替
4315
+ # @type Mobile: String
4316
+ # @param CreatedOn: 注册时间点 (UNIX时间戳)
4317
+ # @type CreatedOn: Integer
4318
+ # @param VerifyStatus: 实名认证状态:
4319
+ # 0 - 未实名;
4320
+ # 1 - 通过实名
4321
+ # @type VerifyStatus: Integer
4322
+ # @param Name: 真实姓名
4323
+ # @type Name: String
4324
+ # @param VerifiedOn: 实名认证通过时间 (UNIX时间戳)
4325
+ # @type VerifiedOn: Integer
4326
+ # @param IdCardType: 身份证件类型;
4327
+ # ID_CARD - 居民身份证;
4328
+ # PASSPORT - 护照;
4329
+ # MAINLAND_TRAVEL_PERMIT_FOR_HONGKONG_AND_MACAO_RESIDENTS - 港澳居民来往内地通行证;
4330
+ # MAINLAND_TRAVEL_PERMIT_FOR_TAIWAN_RESIDENTS - 台湾居民来往大陆通行证;
4331
+ # HOUSEHOLD_REGISTER - 户口本;
4332
+ # TEMP_ID_CARD - 临时居民身份证
4333
+ # @type IdCardType: String
4334
+ # @param IdCardNumber: 身份证件号码 (脱敏)
4335
+ # @type IdCardNumber: String
4336
+
4337
+ attr_accessor :UserId, :Mobile, :CreatedOn, :VerifyStatus, :Name, :VerifiedOn, :IdCardType, :IdCardNumber
4338
+
4339
+ def initialize(userid=nil, mobile=nil, createdon=nil, verifystatus=nil, name=nil, verifiedon=nil, idcardtype=nil, idcardnumber=nil)
4340
+ @UserId = userid
4341
+ @Mobile = mobile
4342
+ @CreatedOn = createdon
4343
+ @VerifyStatus = verifystatus
4344
+ @Name = name
4345
+ @VerifiedOn = verifiedon
4346
+ @IdCardType = idcardtype
4347
+ @IdCardNumber = idcardnumber
4348
+ end
4349
+
4350
+ def deserialize(params)
4351
+ @UserId = params['UserId']
4352
+ @Mobile = params['Mobile']
4353
+ @CreatedOn = params['CreatedOn']
4354
+ @VerifyStatus = params['VerifyStatus']
4355
+ @Name = params['Name']
4356
+ @VerifiedOn = params['VerifiedOn']
4357
+ @IdCardType = params['IdCardType']
4358
+ @IdCardNumber = params['IdCardNumber']
4359
+ end
4360
+ end
4361
+
4362
+ # VerifySubOrganization请求参数结构体
4363
+ class VerifySubOrganizationRequest < TencentCloud::Common::AbstractModel
4364
+ # @param Caller: 调用方信息,该接口SubOrganizationId必填
4365
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
4366
+ # @param OpenId: 机构在第三方的唯一标识,32位定长字符串,与 Caller 中 SubOrgnizationId 二者至少需要传入一个,全部传入时则使用 SubOrganizationId 信息
4367
+ # @type OpenId: String
4368
+
4369
+ attr_accessor :Caller, :OpenId
4370
+
4371
+ def initialize(caller=nil, openid=nil)
4372
+ @Caller = caller
4373
+ @OpenId = openid
4374
+ end
4375
+
4376
+ def deserialize(params)
4377
+ unless params['Caller'].nil?
4378
+ @Caller = Caller.new
4379
+ @Caller.deserialize(params['Caller'])
4380
+ end
4381
+ @OpenId = params['OpenId']
4382
+ end
4383
+ end
4384
+
4385
+ # VerifySubOrganization返回参数结构体
4386
+ class VerifySubOrganizationResponse < TencentCloud::Common::AbstractModel
4387
+ # @param SubOrganizationId: 子机构ID
4388
+ # @type SubOrganizationId: String
4389
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4390
+ # @type RequestId: String
4391
+
4392
+ attr_accessor :SubOrganizationId, :RequestId
4393
+
4394
+ def initialize(suborganizationid=nil, requestid=nil)
4395
+ @SubOrganizationId = suborganizationid
4396
+ @RequestId = requestid
4397
+ end
4398
+
4399
+ def deserialize(params)
4400
+ @SubOrganizationId = params['SubOrganizationId']
4401
+ @RequestId = params['RequestId']
4402
+ end
4403
+ end
4404
+
4405
+ # VerifyUser请求参数结构体
4406
+ class VerifyUserRequest < TencentCloud::Common::AbstractModel
4407
+ # @param Caller: 调用方信息
4408
+ # @type Caller: :class:`Tencentcloud::Essbasic.v20201222.models.Caller`
4409
+ # @param UserId: 电子签平台用户ID
4410
+ # @type UserId: String
4411
+ # @param CertificateRequired: 是否需要下发个人长效证书,默认为false
4412
+ # 注:如您有下发个人长效证书需求,请提前邮件至e-contract@oa.com进行申请。
4413
+ # @type CertificateRequired: Boolean
4414
+
4415
+ attr_accessor :Caller, :UserId, :CertificateRequired
4416
+
4417
+ def initialize(caller=nil, userid=nil, certificaterequired=nil)
4418
+ @Caller = caller
4419
+ @UserId = userid
4420
+ @CertificateRequired = certificaterequired
4421
+ end
4422
+
4423
+ def deserialize(params)
4424
+ unless params['Caller'].nil?
4425
+ @Caller = Caller.new
4426
+ @Caller.deserialize(params['Caller'])
4427
+ end
4428
+ @UserId = params['UserId']
4429
+ @CertificateRequired = params['CertificateRequired']
4430
+ end
4431
+ end
4432
+
4433
+ # VerifyUser返回参数结构体
4434
+ class VerifyUserResponse < TencentCloud::Common::AbstractModel
4435
+ # @param UserId: 电子签平台用户ID
4436
+ # @type UserId: String
4437
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4438
+ # @type RequestId: String
4439
+
4440
+ attr_accessor :UserId, :RequestId
4441
+
4442
+ def initialize(userid=nil, requestid=nil)
4443
+ @UserId = userid
4444
+ @RequestId = requestid
4445
+ end
4446
+
4447
+ def deserialize(params)
4448
+ @UserId = params['UserId']
4449
+ @RequestId = params['RequestId']
4450
+ end
4451
+ end
4452
+
4453
+ end
4454
+ end
4455
+ end
4456
+