tencentcloud-sdk-essbasic 1.0.344 → 1.0.345

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,34 +21,34 @@ module TencentCloud
21
21
  class Agent < TencentCloud::Common::AbstractModel
22
22
  # @param AppId: 腾讯电子签颁发给渠道的应用ID,32位字符串
23
23
  # @type AppId: String
24
- # @param ProxyOrganizationId: 腾讯电子签颁发给渠道侧合作企业的企业ID
25
- # @type ProxyOrganizationId: String
26
- # @param ProxyAppId: 腾讯电子签颁发给渠道侧合作企业的应用ID
27
- # @type ProxyAppId: String
28
- # @param ProxyOperator: 渠道/平台合作企业经办人(操作员)
29
- # @type ProxyOperator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
30
24
  # @param ProxyOrganizationOpenId: 渠道/平台合作企业的企业ID
31
25
  # @type ProxyOrganizationOpenId: String
26
+ # @param ProxyOperator: 渠道/平台合作企业经办人(操作员)
27
+ # @type ProxyOperator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
28
+ # @param ProxyAppId: 腾讯电子签颁发给渠道侧合作企业的应用ID
29
+ # @type ProxyAppId: String
30
+ # @param ProxyOrganizationId: 腾讯电子签颁发给渠道侧合作企业的企业ID
31
+ # @type ProxyOrganizationId: String
32
32
 
33
- attr_accessor :AppId, :ProxyOrganizationId, :ProxyAppId, :ProxyOperator, :ProxyOrganizationOpenId
33
+ attr_accessor :AppId, :ProxyOrganizationOpenId, :ProxyOperator, :ProxyAppId, :ProxyOrganizationId
34
34
 
35
- def initialize(appid=nil, proxyorganizationid=nil, proxyappid=nil, proxyoperator=nil, proxyorganizationopenid=nil)
35
+ def initialize(appid=nil, proxyorganizationopenid=nil, proxyoperator=nil, proxyappid=nil, proxyorganizationid=nil)
36
36
  @AppId = appid
37
- @ProxyOrganizationId = proxyorganizationid
38
- @ProxyAppId = proxyappid
39
- @ProxyOperator = proxyoperator
40
37
  @ProxyOrganizationOpenId = proxyorganizationopenid
38
+ @ProxyOperator = proxyoperator
39
+ @ProxyAppId = proxyappid
40
+ @ProxyOrganizationId = proxyorganizationid
41
41
  end
42
42
 
43
43
  def deserialize(params)
44
44
  @AppId = params['AppId']
45
- @ProxyOrganizationId = params['ProxyOrganizationId']
46
- @ProxyAppId = params['ProxyAppId']
45
+ @ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
47
46
  unless params['ProxyOperator'].nil?
48
47
  @ProxyOperator = UserInfo.new
49
48
  @ProxyOperator.deserialize(params['ProxyOperator'])
50
49
  end
51
- @ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
50
+ @ProxyAppId = params['ProxyAppId']
51
+ @ProxyOrganizationId = params['ProxyOrganizationId']
52
52
  end
53
53
  end
54
54
 
@@ -74,7 +74,7 @@ module TencentCloud
74
74
 
75
75
  # 抄送信息
76
76
  class CcInfo < TencentCloud::Common::AbstractModel
77
- # @param Mobile: 被抄送人手机号
77
+ # @param Mobile: 被抄送人手机号,大陆11位手机号
78
78
  # @type Mobile: String
79
79
 
80
80
  attr_accessor :Mobile
@@ -138,41 +138,44 @@ module TencentCloud
138
138
  class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
139
139
  # @param Agent: 渠道应用相关信息
140
140
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
141
- # @param Operator: 操作者的信息
142
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
141
+ # @param FlowName: 签署流程名称,长度不超过200个字符
142
+ # @type FlowName: String
143
+ # @param FlowApprovers: 签署流程签约方列表,最多不超过5个参与方
144
+ # @type FlowApprovers: Array
143
145
  # @param FileIds: 签署文件资源Id列表,目前仅支持单个文件
144
146
  # @type FileIds: Array
145
- # @param FlowName: 流程名称,长度不超过200个字符
146
- # @type FlowName: String
147
- # @param Deadline: 流程截止时间,十位数时间戳,最大值为33162419560,即3020年
147
+ # @param Components: 签署文件中的控件,如:填写控件等
148
+ # @type Components: Array
149
+ # @param Deadline: 签署流程截止时间,十位数时间戳,最大值为33162419560,即3020年
148
150
  # @type Deadline: Integer
149
- # @param FlowDescription: 流程的描述,长度不超过1000个字符
150
- # @type FlowDescription: String
151
- # @param FlowType: 流程的类型,长度不超过255个字符
152
- # @type FlowType: String
153
- # @param CallbackUrl: 流程回调地址,长度不超过255个字符
151
+ # @param CallbackUrl: 签署流程回调地址,长度不超过255个字符
154
152
  # @type CallbackUrl: String
155
- # @param FlowApprovers: 流程签约方列表,最多不超过5个参与方
156
- # @type FlowApprovers: Array
157
153
  # @param Unordered: 合同签署顺序类型(无序签,顺序签),默认为false,即有序签署
158
154
  # @type Unordered: Boolean
159
- # @param Components: 签署文件中的控件,如:填写控件等
160
- # @type Components: Array
155
+ # @param FlowType: 签署流程的类型,长度不超过255个字符
156
+ # @type FlowType: String
157
+ # @param FlowDescription: 签署流程的描述,长度不超过1000个字符
158
+ # @type FlowDescription: String
159
+ # @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
160
+ # @type CustomShowMap: String
161
+ # @param Operator: 操作者的信息
162
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
161
163
 
162
- attr_accessor :Agent, :Operator, :FileIds, :FlowName, :Deadline, :FlowDescription, :FlowType, :CallbackUrl, :FlowApprovers, :Unordered, :Components
164
+ attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :Operator
163
165
 
164
- def initialize(agent=nil, operator=nil, fileids=nil, flowname=nil, deadline=nil, flowdescription=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, unordered=nil, components=nil)
166
+ def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, operator=nil)
165
167
  @Agent = agent
166
- @Operator = operator
167
- @FileIds = fileids
168
168
  @FlowName = flowname
169
+ @FlowApprovers = flowapprovers
170
+ @FileIds = fileids
171
+ @Components = components
169
172
  @Deadline = deadline
170
- @FlowDescription = flowdescription
171
- @FlowType = flowtype
172
173
  @CallbackUrl = callbackurl
173
- @FlowApprovers = flowapprovers
174
174
  @Unordered = unordered
175
- @Components = components
175
+ @FlowType = flowtype
176
+ @FlowDescription = flowdescription
177
+ @CustomShowMap = customshowmap
178
+ @Operator = operator
176
179
  end
177
180
 
178
181
  def deserialize(params)
@@ -180,16 +183,7 @@ module TencentCloud
180
183
  @Agent = Agent.new
181
184
  @Agent.deserialize(params['Agent'])
182
185
  end
183
- unless params['Operator'].nil?
184
- @Operator = UserInfo.new
185
- @Operator.deserialize(params['Operator'])
186
- end
187
- @FileIds = params['FileIds']
188
186
  @FlowName = params['FlowName']
189
- @Deadline = params['Deadline']
190
- @FlowDescription = params['FlowDescription']
191
- @FlowType = params['FlowType']
192
- @CallbackUrl = params['CallbackUrl']
193
187
  unless params['FlowApprovers'].nil?
194
188
  @FlowApprovers = []
195
189
  params['FlowApprovers'].each do |i|
@@ -198,7 +192,7 @@ module TencentCloud
198
192
  @FlowApprovers << flowapproverinfo_tmp
199
193
  end
200
194
  end
201
- @Unordered = params['Unordered']
195
+ @FileIds = params['FileIds']
202
196
  unless params['Components'].nil?
203
197
  @Components = []
204
198
  params['Components'].each do |i|
@@ -207,12 +201,22 @@ module TencentCloud
207
201
  @Components << component_tmp
208
202
  end
209
203
  end
204
+ @Deadline = params['Deadline']
205
+ @CallbackUrl = params['CallbackUrl']
206
+ @Unordered = params['Unordered']
207
+ @FlowType = params['FlowType']
208
+ @FlowDescription = params['FlowDescription']
209
+ @CustomShowMap = params['CustomShowMap']
210
+ unless params['Operator'].nil?
211
+ @Operator = UserInfo.new
212
+ @Operator.deserialize(params['Operator'])
213
+ end
210
214
  end
211
215
  end
212
216
 
213
217
  # ChannelCreateFlowByFiles返回参数结构体
214
218
  class ChannelCreateFlowByFilesResponse < TencentCloud::Common::AbstractModel
215
- # @param FlowId: 合同流程ID
219
+ # @param FlowId: 合同签署流程ID
216
220
  # 注意:此字段可能返回 null,表示取不到有效值。
217
221
  # @type FlowId: String
218
222
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -238,30 +242,32 @@ module TencentCloud
238
242
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
239
243
  # @param TemplateId: 模版ID
240
244
  # @type TemplateId: String
241
- # @param FlowName: 合同名称
245
+ # @param FlowName: 签署流程名称,最大长度200个字符。
242
246
  # @type FlowName: String
243
- # @param Operator: 用户信息
244
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
245
- # @param FlowEffectiveDay: 合同有效天数 默认7天 最高设置不超过30天
247
+ # @param MaxFlowNum: 最大可发起签署流程份数,默认5份;发起签署流程数量超过此上限后,二维码自动失效。
248
+ # @type MaxFlowNum: Integer
249
+ # @param FlowEffectiveDay: 签署流程有效天数 默认7天 最高设置不超过30天
246
250
  # @type FlowEffectiveDay: Integer
247
251
  # @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
248
252
  # @type QrEffectiveDay: Integer
249
- # @param MaxFlowNum: 最大合同份数,默认5份 超过此上限 二维码自动失效
250
- # @type MaxFlowNum: Integer
251
- # @param CallbackUrl: 回调地址
253
+ # @param CallbackUrl: 回调地址,最大长度1000个字符
254
+ # 不传默认使用渠道应用号配置的回调地址
255
+ # 回调时机:用户通过签署二维码发起合同时,企业额度不足导致失败
252
256
  # @type CallbackUrl: String
257
+ # @param Operator: 用户信息
258
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
253
259
 
254
- attr_accessor :Agent, :TemplateId, :FlowName, :Operator, :FlowEffectiveDay, :QrEffectiveDay, :MaxFlowNum, :CallbackUrl
260
+ attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :Operator
255
261
 
256
- def initialize(agent=nil, templateid=nil, flowname=nil, operator=nil, floweffectiveday=nil, qreffectiveday=nil, maxflownum=nil, callbackurl=nil)
262
+ def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, callbackurl=nil, operator=nil)
257
263
  @Agent = agent
258
264
  @TemplateId = templateid
259
265
  @FlowName = flowname
260
- @Operator = operator
266
+ @MaxFlowNum = maxflownum
261
267
  @FlowEffectiveDay = floweffectiveday
262
268
  @QrEffectiveDay = qreffectiveday
263
- @MaxFlowNum = maxflownum
264
269
  @CallbackUrl = callbackurl
270
+ @Operator = operator
265
271
  end
266
272
 
267
273
  def deserialize(params)
@@ -271,14 +277,14 @@ module TencentCloud
271
277
  end
272
278
  @TemplateId = params['TemplateId']
273
279
  @FlowName = params['FlowName']
280
+ @MaxFlowNum = params['MaxFlowNum']
281
+ @FlowEffectiveDay = params['FlowEffectiveDay']
282
+ @QrEffectiveDay = params['QrEffectiveDay']
283
+ @CallbackUrl = params['CallbackUrl']
274
284
  unless params['Operator'].nil?
275
285
  @Operator = UserInfo.new
276
286
  @Operator.deserialize(params['Operator'])
277
287
  end
278
- @FlowEffectiveDay = params['FlowEffectiveDay']
279
- @QrEffectiveDay = params['QrEffectiveDay']
280
- @MaxFlowNum = params['MaxFlowNum']
281
- @CallbackUrl = params['CallbackUrl']
282
288
  end
283
289
  end
284
290
 
@@ -329,11 +335,11 @@ module TencentCloud
329
335
 
330
336
  # 表单域的控件不能作为印章和签名控件
331
337
  # @type ComponentType: String
332
- # @param ComponentName: 控件简称
338
+ # @param ComponentName: 控件简称,不能超过30个字符
333
339
  # @type ComponentName: String
334
340
  # @param ComponentRequired: 定义控件是否为必填项,默认为false
335
341
  # @type ComponentRequired: Boolean
336
- # @param FileIndex: 控件所属文件的序号 (文档中文件的排列序号)
342
+ # @param FileIndex: 控件所属文件的序号 (文档中文件的排列序号,从0开始)
337
343
  # @type FileIndex: Integer
338
344
  # @param GenerateMode: 控件生成的方式:
339
345
  # NORMAL - 普通控件
@@ -346,7 +352,7 @@ module TencentCloud
346
352
  # @param ComponentHeight: 参数控件高度,默认100,单位px
347
353
  # 表单域和关键字转换控件不用填
348
354
  # @type ComponentHeight: Float
349
- # @param ComponentPage: 参数控件所在页码
355
+ # @param ComponentPage: 参数控件所在页码,从1开始
350
356
  # @type ComponentPage: Integer
351
357
  # @param ComponentPosX: 参数控件X位置,单位px
352
358
  # @type ComponentPosX: Float
@@ -366,11 +372,11 @@ module TencentCloud
366
372
  # @type ComponentDateFontSize: Integer
367
373
  # @param DocumentId: 控件所属文档的Id, 模块相关接口为空值
368
374
  # @type DocumentId: String
369
- # @param ComponentDescription: 控件描述
375
+ # @param ComponentDescription: 控件描述,不能超过30个字符
370
376
  # @type ComponentDescription: String
371
- # @param OffsetX: 指定关键字时横坐标偏移量
377
+ # @param OffsetX: 指定关键字时横坐标偏移量,单位pt
372
378
  # @type OffsetX: Float
373
- # @param OffsetY: 指定关键字时纵坐标偏移量
379
+ # @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
374
380
  # @type OffsetY: Float
375
381
 
376
382
  attr_accessor :ComponentId, :ComponentType, :ComponentName, :ComponentRequired, :FileIndex, :GenerateMode, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentExtra, :ComponentValue, :ComponentDateFontSize, :DocumentId, :ComponentDescription, :OffsetX, :OffsetY
@@ -421,31 +427,31 @@ module TencentCloud
421
427
  # CreateConsoleLoginUrl请求参数结构体
422
428
  class CreateConsoleLoginUrlRequest < TencentCloud::Common::AbstractModel
423
429
  # @param Agent: 应用信息
424
- # 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
430
+ # 此接口Agent.AppId、Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
425
431
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
426
- # @param ProxyOrganizationName: 渠道侧合作企业名称
432
+ # @param ProxyOrganizationName: 渠道侧合作企业名称,最大长度64个字符
427
433
  # @type ProxyOrganizationName: String
428
- # @param UniformSocialCreditCode: 渠道侧合作企业统一社会信用代码
429
- # @type UniformSocialCreditCode: String
430
- # @param ProxyOperatorName: 渠道侧合作企业经办人的姓名
434
+ # @param ProxyOperatorName: 渠道侧合作企业经办人的姓名,最大长度50个字符
431
435
  # @type ProxyOperatorName: String
432
- # @param Operator: 操作者的信息
433
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
434
436
  # @param Module: 控制台指定模块,文件/合同管理:"DOCUMENT",模板管理:"TEMPLATE",印章管理:"SEAL",组织架构/人员:"OPERATOR",空字符串:"账号信息"
435
437
  # @type Module: String
436
438
  # @param ModuleId: 控制台指定模块Id
437
439
  # @type ModuleId: String
440
+ # @param UniformSocialCreditCode: 渠道侧合作企业统一社会信用代码,最大长度200个字符
441
+ # @type UniformSocialCreditCode: String
442
+ # @param Operator: 操作者的信息
443
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
438
444
 
439
- attr_accessor :Agent, :ProxyOrganizationName, :UniformSocialCreditCode, :ProxyOperatorName, :Operator, :Module, :ModuleId
445
+ attr_accessor :Agent, :ProxyOrganizationName, :ProxyOperatorName, :Module, :ModuleId, :UniformSocialCreditCode, :Operator
440
446
 
441
- def initialize(agent=nil, proxyorganizationname=nil, uniformsocialcreditcode=nil, proxyoperatorname=nil, operator=nil, _module=nil, moduleid=nil)
447
+ def initialize(agent=nil, proxyorganizationname=nil, proxyoperatorname=nil, _module=nil, moduleid=nil, uniformsocialcreditcode=nil, operator=nil)
442
448
  @Agent = agent
443
449
  @ProxyOrganizationName = proxyorganizationname
444
- @UniformSocialCreditCode = uniformsocialcreditcode
445
450
  @ProxyOperatorName = proxyoperatorname
446
- @Operator = operator
447
451
  @Module = _module
448
452
  @ModuleId = moduleid
453
+ @UniformSocialCreditCode = uniformsocialcreditcode
454
+ @Operator = operator
449
455
  end
450
456
 
451
457
  def deserialize(params)
@@ -454,14 +460,14 @@ module TencentCloud
454
460
  @Agent.deserialize(params['Agent'])
455
461
  end
456
462
  @ProxyOrganizationName = params['ProxyOrganizationName']
457
- @UniformSocialCreditCode = params['UniformSocialCreditCode']
458
463
  @ProxyOperatorName = params['ProxyOperatorName']
464
+ @Module = params['Module']
465
+ @ModuleId = params['ModuleId']
466
+ @UniformSocialCreditCode = params['UniformSocialCreditCode']
459
467
  unless params['Operator'].nil?
460
468
  @Operator = UserInfo.new
461
469
  @Operator.deserialize(params['Operator'])
462
470
  end
463
- @Module = params['Module']
464
- @ModuleId = params['ModuleId']
465
471
  end
466
472
  end
467
473
 
@@ -492,22 +498,23 @@ module TencentCloud
492
498
 
493
499
  # CreateFlowsByTemplates请求参数结构体
494
500
  class CreateFlowsByTemplatesRequest < TencentCloud::Common::AbstractModel
495
- # @param Agent: 渠道应用相关信息
501
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
496
502
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
497
- # @param FlowInfos: 多个合同(流程)信息
503
+ # @param FlowInfos: 多个合同(签署流程)信息,最多支持20个
498
504
  # @type FlowInfos: Array
499
- # @param Operator: 操作者的信息
500
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
501
505
  # @param NeedPreview: 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,则返回PreviewUrls;
506
+ # 预览链接有效期300秒;
502
507
  # @type NeedPreview: Boolean
508
+ # @param Operator: 操作者的信息
509
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
503
510
 
504
- attr_accessor :Agent, :FlowInfos, :Operator, :NeedPreview
511
+ attr_accessor :Agent, :FlowInfos, :NeedPreview, :Operator
505
512
 
506
- def initialize(agent=nil, flowinfos=nil, operator=nil, needpreview=nil)
513
+ def initialize(agent=nil, flowinfos=nil, needpreview=nil, operator=nil)
507
514
  @Agent = agent
508
515
  @FlowInfos = flowinfos
509
- @Operator = operator
510
516
  @NeedPreview = needpreview
517
+ @Operator = operator
511
518
  end
512
519
 
513
520
  def deserialize(params)
@@ -523,11 +530,11 @@ module TencentCloud
523
530
  @FlowInfos << flowinfo_tmp
524
531
  end
525
532
  end
533
+ @NeedPreview = params['NeedPreview']
526
534
  unless params['Operator'].nil?
527
535
  @Operator = UserInfo.new
528
536
  @Operator.deserialize(params['Operator'])
529
537
  end
530
- @NeedPreview = params['NeedPreview']
531
538
  end
532
539
  end
533
540
 
@@ -566,9 +573,9 @@ module TencentCloud
566
573
 
567
574
  # CreateSealByImage请求参数结构体
568
575
  class CreateSealByImageRequest < TencentCloud::Common::AbstractModel
569
- # @param Agent: 渠道应用相关信息
576
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
570
577
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
571
- # @param SealName: 印章名称
578
+ # @param SealName: 印章名称,最大长度不超过30字符
572
579
  # @type SealName: String
573
580
  # @param SealImage: 印章图片base64
574
581
  # @type SealImage: String
@@ -622,26 +629,26 @@ module TencentCloud
622
629
  class CreateSignUrlsRequest < TencentCloud::Common::AbstractModel
623
630
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
624
631
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
625
- # @param FlowIds: 所签署合同ID数组
632
+ # @param FlowIds: 签署流程编号数组,最多支持100个。
626
633
  # @type FlowIds: Array
627
- # @param Operator: 操作者的信息
628
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
629
- # @param Endpoint: 签署链接类型,默认:“WEIXINAPP”-直接跳小程序; “CHANNEL”-跳转H5页面; “APP”-第三方APP或小程序跳转电子签小程序;
634
+ # @param Endpoint: 签署链接类型:“WEIXINAPP”-直接跳小程序;“CHANNEL”-跳转H5页面;“APP”-第三方APP或小程序跳转电子签小程序;默认“WEIXINAPP”类型,即跳转至小程序。
630
635
  # @type Endpoint: String
631
- # @param JumpUrl: 签署完之后的H5页面的跳转链接,针对Endpoint为CHANNEL时有效
636
+ # @param JumpUrl: 签署完之后的H5页面的跳转链接,针对Endpoint为CHANNEL时有效,最大长度1000个字符。
632
637
  # @type JumpUrl: String
633
638
  # @param AutoJumpBack: Endpoint为"APP" 类型的签署链接,可以设置此值;支持调用方小程序打开签署链接,在电子签小程序完成签署后自动回跳至调用方小程序
634
639
  # @type AutoJumpBack: Boolean
640
+ # @param Operator: 操作者的信息
641
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
635
642
 
636
- attr_accessor :Agent, :FlowIds, :Operator, :Endpoint, :JumpUrl, :AutoJumpBack
643
+ attr_accessor :Agent, :FlowIds, :Endpoint, :JumpUrl, :AutoJumpBack, :Operator
637
644
 
638
- def initialize(agent=nil, flowids=nil, operator=nil, endpoint=nil, jumpurl=nil, autojumpback=nil)
645
+ def initialize(agent=nil, flowids=nil, endpoint=nil, jumpurl=nil, autojumpback=nil, operator=nil)
639
646
  @Agent = agent
640
647
  @FlowIds = flowids
641
- @Operator = operator
642
648
  @Endpoint = endpoint
643
649
  @JumpUrl = jumpurl
644
650
  @AutoJumpBack = autojumpback
651
+ @Operator = operator
645
652
  end
646
653
 
647
654
  def deserialize(params)
@@ -650,13 +657,13 @@ module TencentCloud
650
657
  @Agent.deserialize(params['Agent'])
651
658
  end
652
659
  @FlowIds = params['FlowIds']
660
+ @Endpoint = params['Endpoint']
661
+ @JumpUrl = params['JumpUrl']
662
+ @AutoJumpBack = params['AutoJumpBack']
653
663
  unless params['Operator'].nil?
654
664
  @Operator = UserInfo.new
655
665
  @Operator.deserialize(params['Operator'])
656
666
  end
657
- @Endpoint = params['Endpoint']
658
- @JumpUrl = params['JumpUrl']
659
- @AutoJumpBack = params['AutoJumpBack']
660
667
  end
661
668
  end
662
669
 
@@ -695,7 +702,7 @@ module TencentCloud
695
702
  class DescribeFlowDetailInfoRequest < TencentCloud::Common::AbstractModel
696
703
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
697
704
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
698
- # @param FlowIds: 合同(流程)编号数组
705
+ # @param FlowIds: 合同(流程)编号数组,最多支持100个。
699
706
  # @type FlowIds: Array
700
707
  # @param Operator: 操作者的信息
701
708
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
@@ -727,7 +734,7 @@ module TencentCloud
727
734
  # @type ApplicationId: String
728
735
  # @param ProxyOrganizationOpenId: 渠道侧企业第三方Id
729
736
  # @type ProxyOrganizationOpenId: String
730
- # @param FlowInfo: 合同(流程)的具体详细描述信息
737
+ # @param FlowInfo: 合同(签署流程)的具体详细描述信息
731
738
  # 注意:此字段可能返回 null,表示取不到有效值。
732
739
  # @type FlowInfo: Array
733
740
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -762,17 +769,17 @@ module TencentCloud
762
769
  # @param Agent: 渠道应用相关信息。
763
770
  # 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
764
771
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
772
+ # @param FlowIds: 查询资源所对应的签署流程Id,最多支持50个。
773
+ # @type FlowIds: Array
765
774
  # @param Operator: 操作者的信息
766
775
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
767
- # @param FlowIds: 查询资源所对应的流程Id
768
- # @type FlowIds: Array
769
776
 
770
- attr_accessor :Agent, :Operator, :FlowIds
777
+ attr_accessor :Agent, :FlowIds, :Operator
771
778
 
772
- def initialize(agent=nil, operator=nil, flowids=nil)
779
+ def initialize(agent=nil, flowids=nil, operator=nil)
773
780
  @Agent = agent
774
- @Operator = operator
775
781
  @FlowIds = flowids
782
+ @Operator = operator
776
783
  end
777
784
 
778
785
  def deserialize(params)
@@ -780,17 +787,17 @@ module TencentCloud
780
787
  @Agent = Agent.new
781
788
  @Agent.deserialize(params['Agent'])
782
789
  end
790
+ @FlowIds = params['FlowIds']
783
791
  unless params['Operator'].nil?
784
792
  @Operator = UserInfo.new
785
793
  @Operator.deserialize(params['Operator'])
786
794
  end
787
- @FlowIds = params['FlowIds']
788
795
  end
789
796
  end
790
797
 
791
798
  # DescribeResourceUrlsByFlows返回参数结构体
792
799
  class DescribeResourceUrlsByFlowsResponse < TencentCloud::Common::AbstractModel
793
- # @param FlowResourceUrlInfos: 流程资源对应链接信息
800
+ # @param FlowResourceUrlInfos: 签署流程资源对应链接信息
794
801
  # @type FlowResourceUrlInfos: Array
795
802
  # @param ErrorMessages: 创建消息,对应多个合同ID,
796
803
  # 成功为“”,创建失败则对应失败消息
@@ -824,8 +831,6 @@ module TencentCloud
824
831
  class DescribeTemplatesRequest < TencentCloud::Common::AbstractModel
825
832
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
826
833
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
827
- # @param Operator: 操作者的信息
828
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
829
834
  # @param TemplateId: 模板唯一标识
830
835
  # @type TemplateId: String
831
836
  # @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
@@ -834,16 +839,18 @@ module TencentCloud
834
839
  # @type Limit: Integer
835
840
  # @param Offset: 查询偏移位置,默认0
836
841
  # @type Offset: Integer
842
+ # @param Operator: 操作者的信息
843
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
837
844
 
838
- attr_accessor :Agent, :Operator, :TemplateId, :ContentType, :Limit, :Offset
845
+ attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :Operator
839
846
 
840
- def initialize(agent=nil, operator=nil, templateid=nil, contenttype=nil, limit=nil, offset=nil)
847
+ def initialize(agent=nil, templateid=nil, contenttype=nil, limit=nil, offset=nil, operator=nil)
841
848
  @Agent = agent
842
- @Operator = operator
843
849
  @TemplateId = templateid
844
850
  @ContentType = contenttype
845
851
  @Limit = limit
846
852
  @Offset = offset
853
+ @Operator = operator
847
854
  end
848
855
 
849
856
  def deserialize(params)
@@ -851,14 +858,14 @@ module TencentCloud
851
858
  @Agent = Agent.new
852
859
  @Agent.deserialize(params['Agent'])
853
860
  end
854
- unless params['Operator'].nil?
855
- @Operator = UserInfo.new
856
- @Operator.deserialize(params['Operator'])
857
- end
858
861
  @TemplateId = params['TemplateId']
859
862
  @ContentType = params['ContentType']
860
863
  @Limit = params['Limit']
861
864
  @Offset = params['Offset']
865
+ unless params['Operator'].nil?
866
+ @Operator = UserInfo.new
867
+ @Operator.deserialize(params['Operator'])
868
+ end
862
869
  end
863
870
  end
864
871
 
@@ -905,32 +912,32 @@ module TencentCloud
905
912
  class DescribeUsageRequest < TencentCloud::Common::AbstractModel
906
913
  # @param Agent: 应用信息
907
914
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
908
- # @param StartDate: 开始时间 eg:2021-03-21
915
+ # @param StartDate: 开始时间,例如:2021-03-21
909
916
  # @type StartDate: String
910
- # @param EndDate: 结束时间 eg:2021-06-21
911
- # 开始时间到结束时间的区间长度小于等于90
917
+ # @param EndDate: 结束时间,例如:2021-06-21
918
+ # 开始时间到结束时间的区间长度小于等于90天。
912
919
  # @type EndDate: String
913
- # @param Operator: 操作者的信息
914
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
915
- # @param NeedAggregate: 是否汇总数据,默认不汇总
916
- # 不汇总:返回在统计区间内渠道下所有企业的每日明细,即每个企业N条数据,N为统计天数
917
- # 汇总:返回在统计区间内渠道下所有企业的汇总后数据,即每个企业一条数据
920
+ # @param NeedAggregate: 是否汇总数据,默认不汇总。
921
+ # 不汇总:返回在统计区间内渠道下所有企业的每日明细,即每个企业N条数据,N为统计天数;
922
+ # 汇总:返回在统计区间内渠道下所有企业的汇总后数据,即每个企业一条数据;
918
923
  # @type NeedAggregate: Boolean
919
- # @param Limit: 单次返回的最多条目数量,默认为1000,且不能超过1000
924
+ # @param Limit: 单次返回的最多条目数量。默认为1000,且不能超过1000
920
925
  # @type Limit: Integer
921
- # @param Offset: 偏移量,默认是0
926
+ # @param Offset: 偏移量,默认是0
922
927
  # @type Offset: Integer
928
+ # @param Operator: 操作者的信息
929
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
923
930
 
924
- attr_accessor :Agent, :StartDate, :EndDate, :Operator, :NeedAggregate, :Limit, :Offset
931
+ attr_accessor :Agent, :StartDate, :EndDate, :NeedAggregate, :Limit, :Offset, :Operator
925
932
 
926
- def initialize(agent=nil, startdate=nil, enddate=nil, operator=nil, needaggregate=nil, limit=nil, offset=nil)
933
+ def initialize(agent=nil, startdate=nil, enddate=nil, needaggregate=nil, limit=nil, offset=nil, operator=nil)
927
934
  @Agent = agent
928
935
  @StartDate = startdate
929
936
  @EndDate = enddate
930
- @Operator = operator
931
937
  @NeedAggregate = needaggregate
932
938
  @Limit = limit
933
939
  @Offset = offset
940
+ @Operator = operator
934
941
  end
935
942
 
936
943
  def deserialize(params)
@@ -940,13 +947,13 @@ module TencentCloud
940
947
  end
941
948
  @StartDate = params['StartDate']
942
949
  @EndDate = params['EndDate']
950
+ @NeedAggregate = params['NeedAggregate']
951
+ @Limit = params['Limit']
952
+ @Offset = params['Offset']
943
953
  unless params['Operator'].nil?
944
954
  @Operator = UserInfo.new
945
955
  @Operator.deserialize(params['Operator'])
946
956
  end
947
- @NeedAggregate = params['NeedAggregate']
948
- @Limit = params['Limit']
949
- @Offset = params['Offset']
950
957
  end
951
958
  end
952
959
 
@@ -982,11 +989,11 @@ module TencentCloud
982
989
  end
983
990
  end
984
991
 
985
- # 合同(流程)下载信息
992
+ # 签署流程下载信息
986
993
  class DownloadFlowInfo < TencentCloud::Common::AbstractModel
987
994
  # @param FileName: 文件夹名称
988
995
  # @type FileName: String
989
- # @param FlowIdList: 合同(流程)的标识数组
996
+ # @param FlowIdList: 签署流程的标识数组
990
997
  # @type FlowIdList: Array
991
998
 
992
999
  attr_accessor :FileName, :FlowIdList
@@ -1063,77 +1070,81 @@ module TencentCloud
1063
1070
  end
1064
1071
  end
1065
1072
 
1066
- # 创建流程签署人入参
1073
+ # 创建签署流程签署人入参
1067
1074
  class FlowApproverInfo < TencentCloud::Common::AbstractModel
1068
- # @param Name: 签署人姓名
1075
+ # @param Name: 签署人姓名,最大长度50个字符
1069
1076
  # @type Name: String
1070
- # @param IdCardNumber: 经办人身份证号
1077
+ # @param IdCardType: 经办人身份证件类型
1078
+ # 1.ID_CARD 居民身份证
1079
+ # 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
1080
+ # 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
1081
+ # @type IdCardType: String
1082
+ # @param IdCardNumber: 经办人证件号
1071
1083
  # @type IdCardNumber: String
1072
- # @param Mobile: 签署人手机号,脱敏显示
1084
+ # @param Mobile: 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号。
1073
1085
  # @type Mobile: String
1074
- # @param JumpUrl: 签署完前端跳转的url,暂未使用
1075
- # @type JumpUrl: String
1076
- # @param Deadline: 签署截止时间
1077
- # @type Deadline: Integer
1078
- # @param CallbackUrl: 签署完回调url
1079
- # @type CallbackUrl: String
1080
- # @param ApproverType: 签署人类型,PERSON-个人;ORGANIZATION-企业;
1081
- # ENTERPRISESERVER-企业静默签;
1082
- # 注:ENTERPRISESERVER 类型仅用于使用文件创建流程(ChannelCreateFlowByFiles)接口;并且仅能指定发起方企业签署方为静默签署;
1083
- # @type ApproverType: String
1084
- # @param OpenId: 用户侧第三方id
1085
- # @type OpenId: String
1086
- # @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
1087
- # @type PreReadTime: Integer
1088
- # @param ComponentLimitType: 个人签署方指定签署控件类型,目前仅支持:OCR_ESIGN(AI智慧手写签名)
1089
- # @type ComponentLimitType: Array
1090
- # @param RecipientId: 流程签署人在模板中对应的签署人Id;在非单方签署、以及非B2C签署的场景下必传,用于指定当前签署方在流程中的位置;
1091
- # @type RecipientId: String
1092
- # @param OrganizationName: 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传;
1086
+ # @param OrganizationName: 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符;
1093
1087
  # @type OrganizationName: String
1094
- # @param OrganizationOpenId: 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传;
1095
- # @type OrganizationOpenId: String
1096
1088
  # @param NotChannelOrganization: 指定签署人非渠道企业下员工,在ApproverType为ORGANIZATION时指定。
1097
1089
  # 默认为false,即签署人位于同一个渠道应用号下;
1098
1090
  # @type NotChannelOrganization: Boolean
1091
+ # @param OpenId: 用户侧第三方id,最大长度64个字符
1092
+ # @type OpenId: String
1093
+ # @param OrganizationOpenId: 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符;
1094
+ # @type OrganizationOpenId: String
1095
+ # @param ApproverType: 签署人类型,PERSON-个人;ORGANIZATION-企业;
1096
+ # ENTERPRISESERVER-企业静默签;
1097
+ # 注:ENTERPRISESERVER 类型仅用于使用文件创建签署流程(ChannelCreateFlowByFiles)接口;并且仅能指定发起方企业签署方为静默签署;
1098
+ # @type ApproverType: String
1099
+ # @param RecipientId: 签署流程签署人在模板中对应的签署人Id;在非单方签署、以及非B2C签署的场景下必传,用于指定当前签署方在签署流程中的位置;
1100
+ # @type RecipientId: String
1101
+ # @param Deadline: 签署截止时间,默认一年
1102
+ # @type Deadline: Integer
1103
+ # @param CallbackUrl: 签署完回调url,最大长度1000个字符
1104
+ # @type CallbackUrl: String
1099
1105
  # @param SignComponents: 使用PDF文件直接发起合同时,签署人指定的签署控件
1100
1106
  # @type SignComponents: Array
1107
+ # @param ComponentLimitType: 个人签署方指定签署控件类型,目前仅支持:OCR_ESIGN(AI智慧手写签名)
1108
+ # @type ComponentLimitType: Array
1109
+ # @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
1110
+ # @type PreReadTime: Integer
1111
+ # @param JumpUrl: 签署完前端跳转的url,暂未使用
1112
+ # @type JumpUrl: String
1101
1113
 
1102
- attr_accessor :Name, :IdCardNumber, :Mobile, :JumpUrl, :Deadline, :CallbackUrl, :ApproverType, :OpenId, :PreReadTime, :ComponentLimitType, :RecipientId, :OrganizationName, :OrganizationOpenId, :NotChannelOrganization, :SignComponents
1114
+ attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl
1103
1115
 
1104
- def initialize(name=nil, idcardnumber=nil, mobile=nil, jumpurl=nil, deadline=nil, callbackurl=nil, approvertype=nil, openid=nil, prereadtime=nil, componentlimittype=nil, recipientid=nil, organizationname=nil, organizationopenid=nil, notchannelorganization=nil, signcomponents=nil)
1116
+ def initialize(name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationname=nil, notchannelorganization=nil, openid=nil, organizationopenid=nil, approvertype=nil, recipientid=nil, deadline=nil, callbackurl=nil, signcomponents=nil, componentlimittype=nil, prereadtime=nil, jumpurl=nil)
1105
1117
  @Name = name
1118
+ @IdCardType = idcardtype
1106
1119
  @IdCardNumber = idcardnumber
1107
1120
  @Mobile = mobile
1108
- @JumpUrl = jumpurl
1109
- @Deadline = deadline
1110
- @CallbackUrl = callbackurl
1111
- @ApproverType = approvertype
1112
- @OpenId = openid
1113
- @PreReadTime = prereadtime
1114
- @ComponentLimitType = componentlimittype
1115
- @RecipientId = recipientid
1116
1121
  @OrganizationName = organizationname
1117
- @OrganizationOpenId = organizationopenid
1118
1122
  @NotChannelOrganization = notchannelorganization
1123
+ @OpenId = openid
1124
+ @OrganizationOpenId = organizationopenid
1125
+ @ApproverType = approvertype
1126
+ @RecipientId = recipientid
1127
+ @Deadline = deadline
1128
+ @CallbackUrl = callbackurl
1119
1129
  @SignComponents = signcomponents
1130
+ @ComponentLimitType = componentlimittype
1131
+ @PreReadTime = prereadtime
1132
+ @JumpUrl = jumpurl
1120
1133
  end
1121
1134
 
1122
1135
  def deserialize(params)
1123
1136
  @Name = params['Name']
1137
+ @IdCardType = params['IdCardType']
1124
1138
  @IdCardNumber = params['IdCardNumber']
1125
1139
  @Mobile = params['Mobile']
1126
- @JumpUrl = params['JumpUrl']
1127
- @Deadline = params['Deadline']
1128
- @CallbackUrl = params['CallbackUrl']
1129
- @ApproverType = params['ApproverType']
1130
- @OpenId = params['OpenId']
1131
- @PreReadTime = params['PreReadTime']
1132
- @ComponentLimitType = params['ComponentLimitType']
1133
- @RecipientId = params['RecipientId']
1134
1140
  @OrganizationName = params['OrganizationName']
1135
- @OrganizationOpenId = params['OrganizationOpenId']
1136
1141
  @NotChannelOrganization = params['NotChannelOrganization']
1142
+ @OpenId = params['OpenId']
1143
+ @OrganizationOpenId = params['OrganizationOpenId']
1144
+ @ApproverType = params['ApproverType']
1145
+ @RecipientId = params['RecipientId']
1146
+ @Deadline = params['Deadline']
1147
+ @CallbackUrl = params['CallbackUrl']
1137
1148
  unless params['SignComponents'].nil?
1138
1149
  @SignComponents = []
1139
1150
  params['SignComponents'].each do |i|
@@ -1142,6 +1153,9 @@ module TencentCloud
1142
1153
  @SignComponents << component_tmp
1143
1154
  end
1144
1155
  end
1156
+ @ComponentLimitType = params['ComponentLimitType']
1157
+ @PreReadTime = params['PreReadTime']
1158
+ @JumpUrl = params['JumpUrl']
1145
1159
  end
1146
1160
  end
1147
1161
 
@@ -1200,45 +1214,44 @@ module TencentCloud
1200
1214
  end
1201
1215
  end
1202
1216
 
1203
- # 此结构体 (FlowInfo) 用于描述流程信息。
1217
+ # 此结构体 (FlowInfo) 用于描述签署流程信息。
1204
1218
  class FlowInfo < TencentCloud::Common::AbstractModel
1205
- # @param FlowName: 合同名字
1219
+ # @param FlowName: 合同名字,最大长度200个字符
1206
1220
  # @type FlowName: String
1207
1221
  # @param Deadline: 签署截止时间戳,超过有效签署时间则该签署流程失败,默认一年
1208
1222
  # @type Deadline: Integer
1209
1223
  # @param TemplateId: 模板ID
1210
1224
  # @type TemplateId: String
1211
- # @param FlowType: 合同类型:
1212
- # 1. “劳务”
1213
- # 2. “销售”
1214
- # 3. “租赁”
1215
- # 4. “其他”
1216
- # @type FlowType: String
1217
- # @param CallbackUrl: 回调地址
1218
- # @type CallbackUrl: String
1219
- # @param FlowApprovers: 多个签署人信息,渠道侧目前不支持超过5个签署方信息
1225
+ # @param FlowApprovers: 多个签署人信息,最大支持50个签署方
1220
1226
  # @type FlowApprovers: Array
1221
1227
  # @param FormFields: 表单K-V对列表
1222
1228
  # @type FormFields: Array
1223
- # @param FlowDescription: 合同描述
1229
+ # @param CallbackUrl: 回调地址,最大长度1000个字符
1230
+ # @type CallbackUrl: String
1231
+ # @param FlowType: 合同类型,如:1. “劳务”;2. “销售”;3. “租赁”;4. “其他”,最大长度200个字符
1232
+ # @type FlowType: String
1233
+ # @param FlowDescription: 合同描述,最大长度1000个字符
1224
1234
  # @type FlowDescription: String
1225
- # @param CustomerData: 渠道的业务信息,限制1024字符
1235
+ # @param CustomerData: 渠道的业务信息,最大长度1000个字符
1226
1236
  # @type CustomerData: String
1237
+ # @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
1238
+ # @type CustomShowMap: String
1227
1239
  # @param CcInfos: 被抄送人的信息列表,抄送功能暂不开放
1228
1240
  # @type CcInfos: Array
1229
1241
 
1230
- attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData, :CcInfos
1242
+ attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos
1231
1243
 
1232
- def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil, ccinfos=nil)
1244
+ def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil)
1233
1245
  @FlowName = flowname
1234
1246
  @Deadline = deadline
1235
1247
  @TemplateId = templateid
1236
- @FlowType = flowtype
1237
- @CallbackUrl = callbackurl
1238
1248
  @FlowApprovers = flowapprovers
1239
1249
  @FormFields = formfields
1250
+ @CallbackUrl = callbackurl
1251
+ @FlowType = flowtype
1240
1252
  @FlowDescription = flowdescription
1241
1253
  @CustomerData = customerdata
1254
+ @CustomShowMap = customshowmap
1242
1255
  @CcInfos = ccinfos
1243
1256
  end
1244
1257
 
@@ -1246,8 +1259,6 @@ module TencentCloud
1246
1259
  @FlowName = params['FlowName']
1247
1260
  @Deadline = params['Deadline']
1248
1261
  @TemplateId = params['TemplateId']
1249
- @FlowType = params['FlowType']
1250
- @CallbackUrl = params['CallbackUrl']
1251
1262
  unless params['FlowApprovers'].nil?
1252
1263
  @FlowApprovers = []
1253
1264
  params['FlowApprovers'].each do |i|
@@ -1264,8 +1275,11 @@ module TencentCloud
1264
1275
  @FormFields << formfield_tmp
1265
1276
  end
1266
1277
  end
1278
+ @CallbackUrl = params['CallbackUrl']
1279
+ @FlowType = params['FlowType']
1267
1280
  @FlowDescription = params['FlowDescription']
1268
1281
  @CustomerData = params['CustomerData']
1282
+ @CustomShowMap = params['CustomShowMap']
1269
1283
  unless params['CcInfos'].nil?
1270
1284
  @CcInfos = []
1271
1285
  params['CcInfos'].each do |i|
@@ -1336,17 +1350,17 @@ module TencentCloud
1336
1350
  class GetDownloadFlowUrlRequest < TencentCloud::Common::AbstractModel
1337
1351
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1338
1352
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1353
+ # @param DownLoadFlows: 文件夹数组,签署流程总数不能超过50个,一个文件夹下,不能超过20个签署流程
1354
+ # @type DownLoadFlows: Array
1339
1355
  # @param Operator: 操作者的信息
1340
1356
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1341
- # @param DownLoadFlows: 文件夹数组,合同(流程)总数不能超过50个,一个文件夹下,不能超过20个合同(流程),
1342
- # @type DownLoadFlows: Array
1343
1357
 
1344
- attr_accessor :Agent, :Operator, :DownLoadFlows
1358
+ attr_accessor :Agent, :DownLoadFlows, :Operator
1345
1359
 
1346
- def initialize(agent=nil, operator=nil, downloadflows=nil)
1360
+ def initialize(agent=nil, downloadflows=nil, operator=nil)
1347
1361
  @Agent = agent
1348
- @Operator = operator
1349
1362
  @DownLoadFlows = downloadflows
1363
+ @Operator = operator
1350
1364
  end
1351
1365
 
1352
1366
  def deserialize(params)
@@ -1354,10 +1368,6 @@ module TencentCloud
1354
1368
  @Agent = Agent.new
1355
1369
  @Agent.deserialize(params['Agent'])
1356
1370
  end
1357
- unless params['Operator'].nil?
1358
- @Operator = UserInfo.new
1359
- @Operator.deserialize(params['Operator'])
1360
- end
1361
1371
  unless params['DownLoadFlows'].nil?
1362
1372
  @DownLoadFlows = []
1363
1373
  params['DownLoadFlows'].each do |i|
@@ -1366,6 +1376,10 @@ module TencentCloud
1366
1376
  @DownLoadFlows << downloadflowinfo_tmp
1367
1377
  end
1368
1378
  end
1379
+ unless params['Operator'].nil?
1380
+ @Operator = UserInfo.new
1381
+ @Operator.deserialize(params['Operator'])
1382
+ end
1369
1383
  end
1370
1384
  end
1371
1385
 
@@ -1393,26 +1407,26 @@ module TencentCloud
1393
1407
  class OperateChannelTemplateRequest < TencentCloud::Common::AbstractModel
1394
1408
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1395
1409
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1396
- # @param TemplateId: 渠道方模板库模板唯一标识
1397
- # @type TemplateId: String
1398
1410
  # @param OperateType: 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
1399
1411
  # @type OperateType: String
1400
- # @param Operator: 操作者的信息
1401
- # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1402
- # @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
1403
- # @type AuthTag: String
1412
+ # @param TemplateId: 渠道方模板库模板唯一标识
1413
+ # @type TemplateId: String
1404
1414
  # @param ProxyOrganizationOpenIds: 合作企业方第三方机构唯一标识数据,支持多个, 用","进行分隔
1405
1415
  # @type ProxyOrganizationOpenIds: String
1416
+ # @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
1417
+ # @type AuthTag: String
1418
+ # @param Operator: 操作者的信息
1419
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1406
1420
 
1407
- attr_accessor :Agent, :TemplateId, :OperateType, :Operator, :AuthTag, :ProxyOrganizationOpenIds
1421
+ attr_accessor :Agent, :OperateType, :TemplateId, :ProxyOrganizationOpenIds, :AuthTag, :Operator
1408
1422
 
1409
- def initialize(agent=nil, templateid=nil, operatetype=nil, operator=nil, authtag=nil, proxyorganizationopenids=nil)
1423
+ def initialize(agent=nil, operatetype=nil, templateid=nil, proxyorganizationopenids=nil, authtag=nil, operator=nil)
1410
1424
  @Agent = agent
1411
- @TemplateId = templateid
1412
1425
  @OperateType = operatetype
1413
- @Operator = operator
1414
- @AuthTag = authtag
1426
+ @TemplateId = templateid
1415
1427
  @ProxyOrganizationOpenIds = proxyorganizationopenids
1428
+ @AuthTag = authtag
1429
+ @Operator = operator
1416
1430
  end
1417
1431
 
1418
1432
  def deserialize(params)
@@ -1420,14 +1434,14 @@ module TencentCloud
1420
1434
  @Agent = Agent.new
1421
1435
  @Agent.deserialize(params['Agent'])
1422
1436
  end
1423
- @TemplateId = params['TemplateId']
1424
1437
  @OperateType = params['OperateType']
1438
+ @TemplateId = params['TemplateId']
1439
+ @ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
1440
+ @AuthTag = params['AuthTag']
1425
1441
  unless params['Operator'].nil?
1426
1442
  @Operator = UserInfo.new
1427
1443
  @Operator.deserialize(params['Operator'])
1428
1444
  end
1429
- @AuthTag = params['AuthTag']
1430
- @ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
1431
1445
  end
1432
1446
  end
1433
1447
 
@@ -1486,11 +1500,11 @@ module TencentCloud
1486
1500
 
1487
1501
  # PrepareFlows请求参数结构体
1488
1502
  class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
1489
- # @param Agent: 渠道应用相关信息
1503
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1490
1504
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1491
- # @param FlowInfos: 多个合同(流程)信息
1505
+ # @param FlowInfos: 多个合同(签署流程)信息,最大支持20个签署流程。
1492
1506
  # @type FlowInfos: Array
1493
- # @param JumpUrl: 操作完成后的跳转地址
1507
+ # @param JumpUrl: 操作完成后的跳转地址,最大长度200
1494
1508
  # @type JumpUrl: String
1495
1509
  # @param Operator: 操作者的信息
1496
1510
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
@@ -1547,19 +1561,18 @@ module TencentCloud
1547
1561
 
1548
1562
  # 合作企业经办人列表信息
1549
1563
  class ProxyOrganizationOperator < TencentCloud::Common::AbstractModel
1550
- # @param Id: 经办人ID(渠道颁发)
1564
+ # @param Id: 经办人ID(渠道颁发),最大长度64个字符
1551
1565
  # @type Id: String
1552
- # @param Name: 经办人姓名
1566
+ # @param Name: 经办人姓名,最大长度50个字符
1553
1567
  # @type Name: String
1554
1568
  # @param IdCardType: 经办人身份证件类型
1555
- # 用户证件类型:默认ID_CARD
1556
- # 1. ID_CARD - 居民身份证
1557
- # 2. HOUSEHOLD_REGISTER - 户口本
1558
- # 3. TEMP_ID_CARD - 临时居民身份证
1569
+ # 1.ID_CARD 居民身份证
1570
+ # 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
1571
+ # 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
1559
1572
  # @type IdCardType: String
1560
- # @param IdCardNumber: 经办人身份证号
1573
+ # @param IdCardNumber: 经办人证件号
1561
1574
  # @type IdCardNumber: String
1562
- # @param Mobile: 经办人手机号
1575
+ # @param Mobile: 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
1563
1576
  # @type Mobile: String
1564
1577
 
1565
1578
  attr_accessor :Id, :Name, :IdCardType, :IdCardNumber, :Mobile
@@ -1778,30 +1791,30 @@ module TencentCloud
1778
1791
 
1779
1792
  # SyncProxyOrganizationOperators请求参数结构体
1780
1793
  class SyncProxyOrganizationOperatorsRequest < TencentCloud::Common::AbstractModel
1794
+ # @param Agent: 渠道应用相关信息。 此接口Agent.AppId 和 Agent.ProxyOrganizationOpenId必填。
1795
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1781
1796
  # @param OperatorType: 操作类型,新增:"CREATE",修改:"UPDATE",离职:"RESIGN"
1782
1797
  # @type OperatorType: String
1783
- # @param Agent: 应用信息
1784
- # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1785
- # @param ProxyOrganizationOperators: 经办人信息列表
1798
+ # @param ProxyOrganizationOperators: 经办人信息列表,最大长度200
1786
1799
  # @type ProxyOrganizationOperators: Array
1787
1800
  # @param Operator: 操作者的信息
1788
1801
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1789
1802
 
1790
- attr_accessor :OperatorType, :Agent, :ProxyOrganizationOperators, :Operator
1803
+ attr_accessor :Agent, :OperatorType, :ProxyOrganizationOperators, :Operator
1791
1804
 
1792
- def initialize(operatortype=nil, agent=nil, proxyorganizationoperators=nil, operator=nil)
1793
- @OperatorType = operatortype
1805
+ def initialize(agent=nil, operatortype=nil, proxyorganizationoperators=nil, operator=nil)
1794
1806
  @Agent = agent
1807
+ @OperatorType = operatortype
1795
1808
  @ProxyOrganizationOperators = proxyorganizationoperators
1796
1809
  @Operator = operator
1797
1810
  end
1798
1811
 
1799
1812
  def deserialize(params)
1800
- @OperatorType = params['OperatorType']
1801
1813
  unless params['Agent'].nil?
1802
1814
  @Agent = Agent.new
1803
1815
  @Agent.deserialize(params['Agent'])
1804
1816
  end
1817
+ @OperatorType = params['OperatorType']
1805
1818
  unless params['ProxyOrganizationOperators'].nil?
1806
1819
  @ProxyOrganizationOperators = []
1807
1820
  params['ProxyOrganizationOperators'].each do |i|
@@ -1855,24 +1868,24 @@ module TencentCloud
1855
1868
  # SyncProxyOrganization请求参数结构体
1856
1869
  class SyncProxyOrganizationRequest < TencentCloud::Common::AbstractModel
1857
1870
  # @param Agent: 应用信息
1858
- # 此接口Agent.ProxyOrganizationOpenId必填
1871
+ # 此接口Agent.AppId、Agent.ProxyOrganizationOpenId必填
1859
1872
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1860
- # @param ProxyOrganizationName: 渠道侧合作企业名称
1873
+ # @param ProxyOrganizationName: 渠道侧合作企业名称,最大长度64个字符
1861
1874
  # @type ProxyOrganizationName: String
1862
- # @param UniformSocialCreditCode: 渠道侧合作企业统一社会信用代码
1863
- # @type UniformSocialCreditCode: String
1864
1875
  # @param BusinessLicense: 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
1865
1876
  # @type BusinessLicense: String
1877
+ # @param UniformSocialCreditCode: 渠道侧合作企业统一社会信用代码,最大长度200个字符
1878
+ # @type UniformSocialCreditCode: String
1866
1879
  # @param Operator: 操作者的信息
1867
1880
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1868
1881
 
1869
- attr_accessor :Agent, :ProxyOrganizationName, :UniformSocialCreditCode, :BusinessLicense, :Operator
1882
+ attr_accessor :Agent, :ProxyOrganizationName, :BusinessLicense, :UniformSocialCreditCode, :Operator
1870
1883
 
1871
- def initialize(agent=nil, proxyorganizationname=nil, uniformsocialcreditcode=nil, businesslicense=nil, operator=nil)
1884
+ def initialize(agent=nil, proxyorganizationname=nil, businesslicense=nil, uniformsocialcreditcode=nil, operator=nil)
1872
1885
  @Agent = agent
1873
1886
  @ProxyOrganizationName = proxyorganizationname
1874
- @UniformSocialCreditCode = uniformsocialcreditcode
1875
1887
  @BusinessLicense = businesslicense
1888
+ @UniformSocialCreditCode = uniformsocialcreditcode
1876
1889
  @Operator = operator
1877
1890
  end
1878
1891
 
@@ -1882,8 +1895,8 @@ module TencentCloud
1882
1895
  @Agent.deserialize(params['Agent'])
1883
1896
  end
1884
1897
  @ProxyOrganizationName = params['ProxyOrganizationName']
1885
- @UniformSocialCreditCode = params['UniformSocialCreditCode']
1886
1898
  @BusinessLicense = params['BusinessLicense']
1899
+ @UniformSocialCreditCode = params['UniformSocialCreditCode']
1887
1900
  unless params['Operator'].nil?
1888
1901
  @Operator = UserInfo.new
1889
1902
  @Operator.deserialize(params['Operator'])
@@ -1919,30 +1932,30 @@ module TencentCloud
1919
1932
  # @type Components: Array
1920
1933
  # @param SignComponents: 签署区模板信息结构
1921
1934
  # @type SignComponents: Array
1922
- # @param Creator: 模板的创建者信息
1923
- # @type Creator: String
1924
- # @param CreatedOn: 模板创建的时间戳(精确到秒)
1925
- # @type CreatedOn: Integer
1926
- # @param TemplateType: 模板类型:1-静默签;2-静默签授权;3-普通模板
1927
- # @type TemplateType: Integer
1928
1935
  # @param Recipients: 模板中的流程参与人信息
1929
1936
  # @type Recipients: Array
1937
+ # @param TemplateType: 模板类型:1-静默签;2-静默签授权;3-普通模板
1938
+ # @type TemplateType: Integer
1930
1939
  # @param IsPromoter: 是否是发起人
1931
1940
  # @type IsPromoter: Boolean
1941
+ # @param Creator: 模板的创建者信息
1942
+ # @type Creator: String
1943
+ # @param CreatedOn: 模板创建的时间戳(精确到秒)
1944
+ # @type CreatedOn: Integer
1932
1945
 
1933
- attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients, :IsPromoter
1946
+ attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Recipients, :TemplateType, :IsPromoter, :Creator, :CreatedOn
1934
1947
 
1935
- def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil, ispromoter=nil)
1948
+ def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, recipients=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil)
1936
1949
  @TemplateId = templateid
1937
1950
  @TemplateName = templatename
1938
1951
  @Description = description
1939
1952
  @Components = components
1940
1953
  @SignComponents = signcomponents
1941
- @Creator = creator
1942
- @CreatedOn = createdon
1943
- @TemplateType = templatetype
1944
1954
  @Recipients = recipients
1955
+ @TemplateType = templatetype
1945
1956
  @IsPromoter = ispromoter
1957
+ @Creator = creator
1958
+ @CreatedOn = createdon
1946
1959
  end
1947
1960
 
1948
1961
  def deserialize(params)
@@ -1965,9 +1978,6 @@ module TencentCloud
1965
1978
  @SignComponents << component_tmp
1966
1979
  end
1967
1980
  end
1968
- @Creator = params['Creator']
1969
- @CreatedOn = params['CreatedOn']
1970
- @TemplateType = params['TemplateType']
1971
1981
  unless params['Recipients'].nil?
1972
1982
  @Recipients = []
1973
1983
  params['Recipients'].each do |i|
@@ -1976,7 +1986,10 @@ module TencentCloud
1976
1986
  @Recipients << recipient_tmp
1977
1987
  end
1978
1988
  end
1989
+ @TemplateType = params['TemplateType']
1979
1990
  @IsPromoter = params['IsPromoter']
1991
+ @Creator = params['Creator']
1992
+ @CreatedOn = params['CreatedOn']
1980
1993
  end
1981
1994
  end
1982
1995
 
@@ -2002,32 +2015,32 @@ module TencentCloud
2002
2015
 
2003
2016
  # UploadFiles请求参数结构体
2004
2017
  class UploadFilesRequest < TencentCloud::Common::AbstractModel
2018
+ # @param Agent: 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
2019
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
2005
2020
  # @param BusinessType: 文件对应业务类型,用于区分文件存储路径:
2006
2021
  # 1. TEMPLATE - 模板; 文件类型:.pdf
2007
2022
  # 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
2008
2023
  # @type BusinessType: String
2009
- # @param Agent: 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
2010
- # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
2011
2024
  # @param FileInfos: 上传文件内容数组,最多支持20个文件
2012
2025
  # @type FileInfos: Array
2013
2026
  # @param Operator: 操作者的信息
2014
2027
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
2015
2028
 
2016
- attr_accessor :BusinessType, :Agent, :FileInfos, :Operator
2029
+ attr_accessor :Agent, :BusinessType, :FileInfos, :Operator
2017
2030
 
2018
- def initialize(businesstype=nil, agent=nil, fileinfos=nil, operator=nil)
2019
- @BusinessType = businesstype
2031
+ def initialize(agent=nil, businesstype=nil, fileinfos=nil, operator=nil)
2020
2032
  @Agent = agent
2033
+ @BusinessType = businesstype
2021
2034
  @FileInfos = fileinfos
2022
2035
  @Operator = operator
2023
2036
  end
2024
2037
 
2025
2038
  def deserialize(params)
2026
- @BusinessType = params['BusinessType']
2027
2039
  unless params['Agent'].nil?
2028
2040
  @Agent = Agent.new
2029
2041
  @Agent.deserialize(params['Agent'])
2030
2042
  end
2043
+ @BusinessType = params['BusinessType']
2031
2044
  unless params['FileInfos'].nil?
2032
2045
  @FileInfos = []
2033
2046
  params['FileInfos'].each do |i|
@@ -2075,59 +2088,59 @@ module TencentCloud
2075
2088
  class UsageDetail < TencentCloud::Common::AbstractModel
2076
2089
  # @param ProxyOrganizationOpenId: 渠道侧合作企业唯一标识
2077
2090
  # @type ProxyOrganizationOpenId: String
2078
- # @param Usage: 消耗量
2079
- # @type Usage: Integer
2080
- # @param Date: 日期,当需要汇总数据时日期为空
2081
- # 注意:此字段可能返回 null,表示取不到有效值。
2082
- # @type Date: String
2083
2091
  # @param ProxyOrganizationName: 渠道侧合作企业名
2084
2092
  # 注意:此字段可能返回 null,表示取不到有效值。
2085
2093
  # @type ProxyOrganizationName: String
2094
+ # @param Date: 日期,当需要汇总数据时日期为空
2095
+ # 注意:此字段可能返回 null,表示取不到有效值。
2096
+ # @type Date: String
2097
+ # @param Usage: 消耗量
2098
+ # @type Usage: Integer
2086
2099
 
2087
- attr_accessor :ProxyOrganizationOpenId, :Usage, :Date, :ProxyOrganizationName
2100
+ attr_accessor :ProxyOrganizationOpenId, :ProxyOrganizationName, :Date, :Usage
2088
2101
 
2089
- def initialize(proxyorganizationopenid=nil, usage=nil, date=nil, proxyorganizationname=nil)
2102
+ def initialize(proxyorganizationopenid=nil, proxyorganizationname=nil, date=nil, usage=nil)
2090
2103
  @ProxyOrganizationOpenId = proxyorganizationopenid
2091
- @Usage = usage
2092
- @Date = date
2093
2104
  @ProxyOrganizationName = proxyorganizationname
2105
+ @Date = date
2106
+ @Usage = usage
2094
2107
  end
2095
2108
 
2096
2109
  def deserialize(params)
2097
2110
  @ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
2098
- @Usage = params['Usage']
2099
- @Date = params['Date']
2100
2111
  @ProxyOrganizationName = params['ProxyOrganizationName']
2112
+ @Date = params['Date']
2113
+ @Usage = params['Usage']
2101
2114
  end
2102
2115
  end
2103
2116
 
2104
2117
  # 接口调用者信息
2105
2118
  class UserInfo < TencentCloud::Common::AbstractModel
2106
- # @param CustomUserId: 自定义用户编号
2107
- # @type CustomUserId: String
2108
- # @param Channel: 用户的来源渠道
2109
- # @type Channel: String
2110
2119
  # @param OpenId: 用户在渠道的编号
2111
2120
  # @type OpenId: String
2121
+ # @param Channel: 用户的来源渠道
2122
+ # @type Channel: String
2123
+ # @param CustomUserId: 自定义用户编号
2124
+ # @type CustomUserId: String
2112
2125
  # @param ClientIp: 用户真实IP
2113
2126
  # @type ClientIp: String
2114
2127
  # @param ProxyIp: 用户代理IP
2115
2128
  # @type ProxyIp: String
2116
2129
 
2117
- attr_accessor :CustomUserId, :Channel, :OpenId, :ClientIp, :ProxyIp
2130
+ attr_accessor :OpenId, :Channel, :CustomUserId, :ClientIp, :ProxyIp
2118
2131
 
2119
- def initialize(customuserid=nil, channel=nil, openid=nil, clientip=nil, proxyip=nil)
2120
- @CustomUserId = customuserid
2121
- @Channel = channel
2132
+ def initialize(openid=nil, channel=nil, customuserid=nil, clientip=nil, proxyip=nil)
2122
2133
  @OpenId = openid
2134
+ @Channel = channel
2135
+ @CustomUserId = customuserid
2123
2136
  @ClientIp = clientip
2124
2137
  @ProxyIp = proxyip
2125
2138
  end
2126
2139
 
2127
2140
  def deserialize(params)
2128
- @CustomUserId = params['CustomUserId']
2129
- @Channel = params['Channel']
2130
2141
  @OpenId = params['OpenId']
2142
+ @Channel = params['Channel']
2143
+ @CustomUserId = params['CustomUserId']
2131
2144
  @ClientIp = params['ClientIp']
2132
2145
  @ProxyIp = params['ProxyIp']
2133
2146
  end