tencentcloud-sdk-essbasic 1.0.228 → 1.0.232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1047742de950d4dc197d0c5caa3e21c6d7048ea3
4
- data.tar.gz: 2b04e4534eaa8bbba11e9a5d2466719bbe108e92
3
+ metadata.gz: c10225b524ea84f174af651b996e6c662a3871ef
4
+ data.tar.gz: c43e502b41a93d74ae2d5967b7c6c86b993dfb37
5
5
  SHA512:
6
- metadata.gz: dfa31010753ae118c7994494128b68489fb12e410e367d9c3564d8fcd16fe5f3a6f99e8f94ab85371bef45517168c736c3b1adeb3a5abdc561c526a426f781ee
7
- data.tar.gz: 744c192dd8299e3412e354a996595a78fb5ac1f2dc03c731fe7657ea23788ffaaf7608a80cb40b4c3d7c466d59498245b3c33bf5f53648d21432c15bc3889a9a
6
+ metadata.gz: e17a4c8bd98398218eb39225bf59b58241d28cf362ea2066b472ee93f72e7f624fdd95876d58aeeef7244335c5c55dae9c5639e365c3edd79560ab14722c2040
7
+ data.tar.gz: b6e0b1303d7de9681daf897125aaf6c5a9f8b6d00b886832ef28b60b2f40dac1e33cfff299399053cb639610e8cf587936b9534f3ee85ce6f075bc778bf80cf9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.228
1
+ 1.0.232
@@ -101,6 +101,30 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 此接口(DescribeFlowDetailInfo)用于查询合同(流程)的详细信息。
105
+
106
+ # @param request: Request instance for DescribeFlowDetailInfo.
107
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::DescribeFlowDetailInfoRequest`
108
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::DescribeFlowDetailInfoResponse`
109
+ def DescribeFlowDetailInfo(request)
110
+ body = send_request('DescribeFlowDetailInfo', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeFlowDetailInfoResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
104
128
  # 根据流程信息批量获取资源下载链接
105
129
 
106
130
  # @param request: Request instance for DescribeResourceUrlsByFlows.
@@ -72,6 +72,22 @@ module TencentCloud
72
72
  end
73
73
  end
74
74
 
75
+ # 抄送信息
76
+ class CcInfo < TencentCloud::Common::AbstractModel
77
+ # @param Mobile: 被抄送人手机号
78
+ # @type Mobile: String
79
+
80
+ attr_accessor :Mobile
81
+
82
+ def initialize(mobile=nil)
83
+ @Mobile = mobile
84
+ end
85
+
86
+ def deserialize(params)
87
+ @Mobile = params['Mobile']
88
+ end
89
+ end
90
+
75
91
  # 此结构体 (Component) 用于描述控件属性。
76
92
  class Component < TencentCloud::Common::AbstractModel
77
93
  # @param ComponentId: 控件编号
@@ -384,6 +400,72 @@ module TencentCloud
384
400
  end
385
401
  end
386
402
 
403
+ # DescribeFlowDetailInfo请求参数结构体
404
+ class DescribeFlowDetailInfoRequest < TencentCloud::Common::AbstractModel
405
+ # @param Agent: 应用信息
406
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
407
+ # @param FlowIds: 合同(流程)编号数组
408
+ # @type FlowIds: Array
409
+ # @param Operator: 操作者的信息
410
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
411
+
412
+ attr_accessor :Agent, :FlowIds, :Operator
413
+
414
+ def initialize(agent=nil, flowids=nil, operator=nil)
415
+ @Agent = agent
416
+ @FlowIds = flowids
417
+ @Operator = operator
418
+ end
419
+
420
+ def deserialize(params)
421
+ unless params['Agent'].nil?
422
+ @Agent = Agent.new
423
+ @Agent.deserialize(params['Agent'])
424
+ end
425
+ @FlowIds = params['FlowIds']
426
+ unless params['Operator'].nil?
427
+ @Operator = UserInfo.new
428
+ @Operator.deserialize(params['Operator'])
429
+ end
430
+ end
431
+ end
432
+
433
+ # DescribeFlowDetailInfo返回参数结构体
434
+ class DescribeFlowDetailInfoResponse < TencentCloud::Common::AbstractModel
435
+ # @param ApplicationId: 渠道侧应用号Id
436
+ # @type ApplicationId: String
437
+ # @param ProxyOrganizationOpenId: 渠道侧企业第三方Id
438
+ # @type ProxyOrganizationOpenId: String
439
+ # @param FlowInfo: 合同(流程)的具体详细描述信息
440
+ # 注意:此字段可能返回 null,表示取不到有效值。
441
+ # @type FlowInfo: Array
442
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
443
+ # @type RequestId: String
444
+
445
+ attr_accessor :ApplicationId, :ProxyOrganizationOpenId, :FlowInfo, :RequestId
446
+
447
+ def initialize(applicationid=nil, proxyorganizationopenid=nil, flowinfo=nil, requestid=nil)
448
+ @ApplicationId = applicationid
449
+ @ProxyOrganizationOpenId = proxyorganizationopenid
450
+ @FlowInfo = flowinfo
451
+ @RequestId = requestid
452
+ end
453
+
454
+ def deserialize(params)
455
+ @ApplicationId = params['ApplicationId']
456
+ @ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
457
+ unless params['FlowInfo'].nil?
458
+ @FlowInfo = []
459
+ params['FlowInfo'].each do |i|
460
+ flowdetailinfo_tmp = FlowDetailInfo.new
461
+ flowdetailinfo_tmp.deserialize(i)
462
+ @FlowInfo << flowdetailinfo_tmp
463
+ end
464
+ end
465
+ @RequestId = params['RequestId']
466
+ end
467
+ end
468
+
387
469
  # DescribeResourceUrlsByFlows请求参数结构体
388
470
  class DescribeResourceUrlsByFlowsRequest < TencentCloud::Common::AbstractModel
389
471
  # @param Agent: 渠道应用相关信息
@@ -604,6 +686,67 @@ module TencentCloud
604
686
  end
605
687
  end
606
688
 
689
+ # 签署人的流程信息明细
690
+ class FlowApproverDetail < TencentCloud::Common::AbstractModel
691
+ # @param ReceiptId: 模板配置时候的签署人id,与控件绑定
692
+ # @type ReceiptId: String
693
+ # @param ProxyOrganizationOpenId: 渠道侧企业的第三方id
694
+ # 注意:此字段可能返回 null,表示取不到有效值。
695
+ # @type ProxyOrganizationOpenId: String
696
+ # @param ProxyOperatorOpenId: 渠道侧企业操作人的第三方id
697
+ # @type ProxyOperatorOpenId: String
698
+ # @param ProxyOrganizationName: 渠道侧企业名称
699
+ # @type ProxyOrganizationName: String
700
+ # @param Mobile: 签署人手机号
701
+ # @type Mobile: String
702
+ # @param SignOrder: 签署人签署顺序
703
+ # @type SignOrder: Integer
704
+ # @param ApproveName: 签署人姓名
705
+ # 注意:此字段可能返回 null,表示取不到有效值。
706
+ # @type ApproveName: String
707
+ # @param ApproveStatus: 当前签署人的状态
708
+ # 注意:此字段可能返回 null,表示取不到有效值。
709
+ # @type ApproveStatus: String
710
+ # @param ApproveMessage: 签署人信息
711
+ # 注意:此字段可能返回 null,表示取不到有效值。
712
+ # @type ApproveMessage: String
713
+ # @param ApproveTime: 签署人签署时间
714
+ # @type ApproveTime: Integer
715
+ # @param ApproveType: 参与者类型 (ORGANIZATION企业/PERSON个人)
716
+ # 注意:此字段可能返回 null,表示取不到有效值。
717
+ # @type ApproveType: String
718
+
719
+ attr_accessor :ReceiptId, :ProxyOrganizationOpenId, :ProxyOperatorOpenId, :ProxyOrganizationName, :Mobile, :SignOrder, :ApproveName, :ApproveStatus, :ApproveMessage, :ApproveTime, :ApproveType
720
+
721
+ def initialize(receiptid=nil, proxyorganizationopenid=nil, proxyoperatoropenid=nil, proxyorganizationname=nil, mobile=nil, signorder=nil, approvename=nil, approvestatus=nil, approvemessage=nil, approvetime=nil, approvetype=nil)
722
+ @ReceiptId = receiptid
723
+ @ProxyOrganizationOpenId = proxyorganizationopenid
724
+ @ProxyOperatorOpenId = proxyoperatoropenid
725
+ @ProxyOrganizationName = proxyorganizationname
726
+ @Mobile = mobile
727
+ @SignOrder = signorder
728
+ @ApproveName = approvename
729
+ @ApproveStatus = approvestatus
730
+ @ApproveMessage = approvemessage
731
+ @ApproveTime = approvetime
732
+ @ApproveType = approvetype
733
+ end
734
+
735
+ def deserialize(params)
736
+ @ReceiptId = params['ReceiptId']
737
+ @ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
738
+ @ProxyOperatorOpenId = params['ProxyOperatorOpenId']
739
+ @ProxyOrganizationName = params['ProxyOrganizationName']
740
+ @Mobile = params['Mobile']
741
+ @SignOrder = params['SignOrder']
742
+ @ApproveName = params['ApproveName']
743
+ @ApproveStatus = params['ApproveStatus']
744
+ @ApproveMessage = params['ApproveMessage']
745
+ @ApproveTime = params['ApproveTime']
746
+ @ApproveType = params['ApproveType']
747
+ end
748
+ end
749
+
607
750
  # 创建流程签署人入参
608
751
  class FlowApproverInfo < TencentCloud::Common::AbstractModel
609
752
  # @param Name: 签署人姓名
@@ -652,6 +795,61 @@ module TencentCloud
652
795
  end
653
796
  end
654
797
 
798
+ # 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
799
+ class FlowDetailInfo < TencentCloud::Common::AbstractModel
800
+ # @param FlowId: 合同(流程)的Id
801
+ # @type FlowId: String
802
+ # @param FlowName: 合同(流程)的名字
803
+ # @type FlowName: String
804
+ # @param FlowType: 合同(流程)的类型
805
+ # @type FlowType: String
806
+ # @param FlowStatus: 合同(流程)的状态
807
+ # @type FlowStatus: String
808
+ # @param FlowMessage: 合同(流程)的信息
809
+ # @type FlowMessage: String
810
+ # @param CreateOn: 合同(流程)的创建时间戳
811
+ # @type CreateOn: Integer
812
+ # @param DeadLine: 合同(流程)的签署截止时间戳
813
+ # @type DeadLine: Integer
814
+ # @param CustomData: 用户自定义数据
815
+ # @type CustomData: String
816
+ # @param FlowApproverInfos: 合同(流程)的签署人数组
817
+ # @type FlowApproverInfos: Array
818
+
819
+ attr_accessor :FlowId, :FlowName, :FlowType, :FlowStatus, :FlowMessage, :CreateOn, :DeadLine, :CustomData, :FlowApproverInfos
820
+
821
+ def initialize(flowid=nil, flowname=nil, flowtype=nil, flowstatus=nil, flowmessage=nil, createon=nil, deadline=nil, customdata=nil, flowapproverinfos=nil)
822
+ @FlowId = flowid
823
+ @FlowName = flowname
824
+ @FlowType = flowtype
825
+ @FlowStatus = flowstatus
826
+ @FlowMessage = flowmessage
827
+ @CreateOn = createon
828
+ @DeadLine = deadline
829
+ @CustomData = customdata
830
+ @FlowApproverInfos = flowapproverinfos
831
+ end
832
+
833
+ def deserialize(params)
834
+ @FlowId = params['FlowId']
835
+ @FlowName = params['FlowName']
836
+ @FlowType = params['FlowType']
837
+ @FlowStatus = params['FlowStatus']
838
+ @FlowMessage = params['FlowMessage']
839
+ @CreateOn = params['CreateOn']
840
+ @DeadLine = params['DeadLine']
841
+ @CustomData = params['CustomData']
842
+ unless params['FlowApproverInfos'].nil?
843
+ @FlowApproverInfos = []
844
+ params['FlowApproverInfos'].each do |i|
845
+ flowapproverdetail_tmp = FlowApproverDetail.new
846
+ flowapproverdetail_tmp.deserialize(i)
847
+ @FlowApproverInfos << flowapproverdetail_tmp
848
+ end
849
+ end
850
+ end
851
+ end
852
+
655
853
  # 此结构体 (FlowInfo) 用于描述流程信息。
656
854
  class FlowInfo < TencentCloud::Common::AbstractModel
657
855
  # @param FlowName: 合同名字
@@ -676,10 +874,12 @@ module TencentCloud
676
874
  # @type FlowDescription: String
677
875
  # @param CustomerData: 渠道的业务信息,限制1024字符
678
876
  # @type CustomerData: String
877
+ # @param CcInfos: 被抄送人的信息列表
878
+ # @type CcInfos: Array
679
879
 
680
- attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData
880
+ attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData, :CcInfos
681
881
 
682
- def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil)
882
+ def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil, ccinfos=nil)
683
883
  @FlowName = flowname
684
884
  @Deadline = deadline
685
885
  @TemplateId = templateid
@@ -689,6 +889,7 @@ module TencentCloud
689
889
  @FormFields = formfields
690
890
  @FlowDescription = flowdescription
691
891
  @CustomerData = customerdata
892
+ @CcInfos = ccinfos
692
893
  end
693
894
 
694
895
  def deserialize(params)
@@ -715,6 +916,14 @@ module TencentCloud
715
916
  end
716
917
  @FlowDescription = params['FlowDescription']
717
918
  @CustomerData = params['CustomerData']
919
+ unless params['CcInfos'].nil?
920
+ @CcInfos = []
921
+ params['CcInfos'].each do |i|
922
+ ccinfo_tmp = CcInfo.new
923
+ ccinfo_tmp.deserialize(i)
924
+ @CcInfos << ccinfo_tmp
925
+ end
926
+ end
718
927
  end
719
928
  end
720
929
 
@@ -1341,10 +1550,12 @@ module TencentCloud
1341
1550
  # @type TemplateType: Integer
1342
1551
  # @param Recipients: 模板中的流程参与人信息
1343
1552
  # @type Recipients: Array
1553
+ # @param IsPromoter: 是否是发起人
1554
+ # @type IsPromoter: Boolean
1344
1555
 
1345
- attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients
1556
+ attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients, :IsPromoter
1346
1557
 
1347
- def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil)
1558
+ def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil, ispromoter=nil)
1348
1559
  @TemplateId = templateid
1349
1560
  @TemplateName = templatename
1350
1561
  @Description = description
@@ -1354,6 +1565,7 @@ module TencentCloud
1354
1565
  @CreatedOn = createdon
1355
1566
  @TemplateType = templatetype
1356
1567
  @Recipients = recipients
1568
+ @IsPromoter = ispromoter
1357
1569
  end
1358
1570
 
1359
1571
  def deserialize(params)
@@ -1387,6 +1599,7 @@ module TencentCloud
1387
1599
  @Recipients << recipient_tmp
1388
1600
  end
1389
1601
  end
1602
+ @IsPromoter = params['IsPromoter']
1390
1603
  end
1391
1604
  end
1392
1605
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-essbasic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.228
4
+ version: 1.0.232
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2021-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common