tencentcloud-sdk-nodejs-essbasic 4.0.652 → 4.0.654
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.
- package/CHANGELOG.md +505 -0
- package/SERVICE_CHANGELOG.md +557 -110
- package/package.json +1 -1
- package/products.md +29 -29
- package/src/services/essbasic/v20210526/essbasic_client.ts +22 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +180 -103
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +22 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +22 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +180 -103
|
@@ -71,8 +71,7 @@ CreateFlowByTemplates发起合同时优先以ComponentId(不为空)填充;
|
|
|
71
71
|
|
|
72
72
|
注:
|
|
73
73
|
当GenerateMode=KEYWORD时,通过"^"来决定是否使用关键字整词匹配能力。
|
|
74
|
-
|
|
75
|
-
当GenerateMode=KEYWORD时,如果传入关键字"^甲方签署^",则会在PDF文件中有且仅有"甲方签署"关键字的地方进行对应操作。
|
|
74
|
+
例:当GenerateMode=KEYWORD时,如果传入关键字"^甲方签署^",则会在PDF文件中有且仅有"甲方签署"关键字的地方进行对应操作。
|
|
76
75
|
如传入的关键字为"甲方签署",则PDF文件中每个出现关键字的位置都会执行相应操作。
|
|
77
76
|
|
|
78
77
|
创建控件时,此值为空
|
|
@@ -104,15 +103,16 @@ SIGN_LEGAL_PERSON_SEAL - 企业法定代表人控件。
|
|
|
104
103
|
*/
|
|
105
104
|
ComponentType?: string
|
|
106
105
|
/**
|
|
107
|
-
*
|
|
106
|
+
* 控件简称,不超过30个字符
|
|
108
107
|
*/
|
|
109
108
|
ComponentName?: string
|
|
110
109
|
/**
|
|
111
|
-
*
|
|
110
|
+
* 控件是否为必填项,
|
|
111
|
+
默认为false-非必填
|
|
112
112
|
*/
|
|
113
113
|
ComponentRequired?: boolean
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 控件关联的参与方ID,对应Recipient结构体中的RecipientId
|
|
116
116
|
*/
|
|
117
117
|
ComponentRecipientId?: string
|
|
118
118
|
/**
|
|
@@ -273,11 +273,11 @@ SIGN_PAGING_SEAL - 可以指定印章ID
|
|
|
273
273
|
*/
|
|
274
274
|
ComponentDateFontSize?: number
|
|
275
275
|
/**
|
|
276
|
-
* 控件所属文档的Id,
|
|
276
|
+
* 控件所属文档的Id, 模板相关接口为空值
|
|
277
277
|
*/
|
|
278
278
|
DocumentId?: string
|
|
279
279
|
/**
|
|
280
|
-
*
|
|
280
|
+
* 控件描述,不超过30个字符
|
|
281
281
|
*/
|
|
282
282
|
ComponentDescription?: string
|
|
283
283
|
/**
|
|
@@ -294,20 +294,31 @@ SIGN_PAGING_SEAL - 可以指定印章ID
|
|
|
294
294
|
*/
|
|
295
295
|
ChannelComponentId?: string
|
|
296
296
|
/**
|
|
297
|
-
* 指定关键字排序规则,
|
|
297
|
+
* 指定关键字排序规则,
|
|
298
|
+
Positive-正序,
|
|
299
|
+
Reverse-倒序。
|
|
300
|
+
传入Positive时会根据关键字在PDF文件内的顺序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的第一个关键字。
|
|
298
301
|
传入Reverse时会根据关键字在PDF文件内的反序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的最后一个关键字。
|
|
299
302
|
*/
|
|
300
303
|
KeywordOrder?: string
|
|
301
304
|
/**
|
|
302
|
-
*
|
|
305
|
+
* 指定关键字页码。
|
|
306
|
+
指定页码后,将只在指定的页码内查找关键字,非该页码的关键字将不会查询出来
|
|
303
307
|
*/
|
|
304
308
|
KeywordPage?: number
|
|
305
309
|
/**
|
|
306
|
-
* 关键字位置模式,
|
|
310
|
+
* 关键字位置模式,
|
|
311
|
+
Middle-居中,
|
|
312
|
+
Below-正下方,
|
|
313
|
+
Right-正右方,
|
|
314
|
+
LowerRight-右上角,
|
|
315
|
+
UpperRight-右下角。
|
|
316
|
+
示例:如果设置Middle的关键字盖章,则印章的中心会和关键字的中心重合,如果设置Below,则印章在关键字的正下方
|
|
307
317
|
*/
|
|
308
318
|
RelativeLocation?: string
|
|
309
319
|
/**
|
|
310
|
-
*
|
|
320
|
+
* 关键字索引,如果一个关键字在PDF文件中存在多个,可以通过关键字索引指定使用第几个关键字作为最后的结果,可指定多个索引。
|
|
321
|
+
示例[0,2],说明使用PDF文件内第1个和第3个关键字位置。
|
|
311
322
|
*/
|
|
312
323
|
KeywordIndexes?: Array<number>
|
|
313
324
|
/**
|
|
@@ -442,7 +453,7 @@ SIGN_REJECT:拒签(流程结束)
|
|
|
442
453
|
注:接口通过该字段区分操作类型
|
|
443
454
|
该字段不传或者为空,则默认为SignReview签署审核,走签署审核流程
|
|
444
455
|
若想使用发起审核,请指定该字段为:CreateReview
|
|
445
|
-
若发起个人审核,则指定该字段为:SignReview
|
|
456
|
+
若发起个人审核,则指定该字段为:SignReview
|
|
446
457
|
*/
|
|
447
458
|
OperateType?: string
|
|
448
459
|
}
|
|
@@ -471,7 +482,7 @@ export interface DescribeFlowDetailInfoRequest {
|
|
|
471
482
|
Agent: Agent
|
|
472
483
|
/**
|
|
473
484
|
* 合同(流程)编号数组,最多支持100个。
|
|
474
|
-
|
|
485
|
+
(备注:该参数和合同组编号必须二选一, 如果填写FlowGroupId则忽略此FlowIds的入参)
|
|
475
486
|
*/
|
|
476
487
|
FlowIds?: Array<string>
|
|
477
488
|
/**
|
|
@@ -610,12 +621,17 @@ export interface OperateChannelTemplateResponse {
|
|
|
610
621
|
*/
|
|
611
622
|
TemplateId?: string
|
|
612
623
|
/**
|
|
613
|
-
* 描述模板可见性更改的结果,和参数中Available
|
|
624
|
+
* 描述模板可见性更改的结果,和参数中Available无关。
|
|
625
|
+
全部成功-"all-success",
|
|
626
|
+
部分成功-"part-success",
|
|
627
|
+
全部失败-"fail",失败的会在FailMessageList中展示。
|
|
614
628
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
615
629
|
*/
|
|
616
630
|
OperateResult?: string
|
|
617
631
|
/**
|
|
618
|
-
* 模板可见性,
|
|
632
|
+
* 模板可见性,
|
|
633
|
+
全部可见-"all",
|
|
634
|
+
部分可见-"part"
|
|
619
635
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
620
636
|
*/
|
|
621
637
|
AuthTag?: string
|
|
@@ -729,6 +745,7 @@ export interface BaseFlowInfo {
|
|
|
729
745
|
FlowName: string
|
|
730
746
|
/**
|
|
731
747
|
* 合同流程类型
|
|
748
|
+
<br/>客户自定义,用于合同分类展示
|
|
732
749
|
*/
|
|
733
750
|
FlowType: string
|
|
734
751
|
/**
|
|
@@ -741,6 +758,7 @@ export interface BaseFlowInfo {
|
|
|
741
758
|
Deadline: number
|
|
742
759
|
/**
|
|
743
760
|
* 是否顺序签署(true:无序签,false:顺序签)
|
|
761
|
+
<br/>默认false,有序签署合同
|
|
744
762
|
*/
|
|
745
763
|
Unordered?: boolean
|
|
746
764
|
/**
|
|
@@ -752,7 +770,10 @@ export interface BaseFlowInfo {
|
|
|
752
770
|
*/
|
|
753
771
|
FormFields?: Array<FormField>
|
|
754
772
|
/**
|
|
755
|
-
* 本企业(发起方企业)
|
|
773
|
+
* 本企业(发起方企业)是否需要签署审批
|
|
774
|
+
<br/>true:开启发起方签署审批
|
|
775
|
+
<br/>false:不开启发起方签署审批
|
|
776
|
+
<br/>开启后,使用ChannelCreateFlowSignReview接口提交审批结果,才能继续完成签署
|
|
756
777
|
*/
|
|
757
778
|
NeedSignReview?: boolean
|
|
758
779
|
/**
|
|
@@ -764,7 +785,10 @@ export interface BaseFlowInfo {
|
|
|
764
785
|
*/
|
|
765
786
|
CcInfos?: Array<CcInfo>
|
|
766
787
|
/**
|
|
767
|
-
*
|
|
788
|
+
* 是否需要开启发起方发起前审核
|
|
789
|
+
<br/>true:开启发起方发起前审核
|
|
790
|
+
<br/>false:不开启发起方发起前审核
|
|
791
|
+
<br/>当指定NeedCreateReview=true,则提交审核后,需要使用接口:ChannelCreateFlowSignReview,来完成发起前审核,审核通过后,可以继续查看,签署合同
|
|
768
792
|
*/
|
|
769
793
|
NeedCreateReview?: boolean
|
|
770
794
|
}
|
|
@@ -952,10 +976,6 @@ export interface ChannelCreatePrepareFlowRequest {
|
|
|
952
976
|
* 合同流程基础信息
|
|
953
977
|
*/
|
|
954
978
|
FlowInfo: BaseFlowInfo
|
|
955
|
-
/**
|
|
956
|
-
* 合同签署人信息
|
|
957
|
-
*/
|
|
958
|
-
FlowApproverList: Array<CommonFlowApprover>
|
|
959
979
|
/**
|
|
960
980
|
* 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填
|
|
961
981
|
*/
|
|
@@ -964,6 +984,10 @@ export interface ChannelCreatePrepareFlowRequest {
|
|
|
964
984
|
* 合同流程配置信息,用于配置发起合同时定制化
|
|
965
985
|
*/
|
|
966
986
|
FlowOption?: CreateFlowOption
|
|
987
|
+
/**
|
|
988
|
+
* 合同签署人信息
|
|
989
|
+
*/
|
|
990
|
+
FlowApproverList?: Array<CommonFlowApprover>
|
|
967
991
|
/**
|
|
968
992
|
* 通过flowid快速获得之前成功通过页面发起的合同生成链接
|
|
969
993
|
*/
|
|
@@ -1455,36 +1479,44 @@ export interface PrepareFlowsResponse {
|
|
|
1455
1479
|
|
|
1456
1480
|
/**
|
|
1457
1481
|
* 此结构体 (TemplateInfo) 用于描述模板的信息。
|
|
1482
|
+
|
|
1483
|
+
> **模板组成**
|
|
1484
|
+
>
|
|
1485
|
+
> 一个模板通常会包含以下结构信息
|
|
1486
|
+
>- 模板基本信息
|
|
1487
|
+
>- 签署参与方 Recipients,在模板发起合同时用于指定参与方
|
|
1488
|
+
>- 填写控件 Components
|
|
1489
|
+
>- 签署控件 SignComponents
|
|
1458
1490
|
*/
|
|
1459
1491
|
export interface TemplateInfo {
|
|
1460
1492
|
/**
|
|
1461
|
-
* 模板ID
|
|
1493
|
+
* 模板ID,模板的唯一标识
|
|
1462
1494
|
*/
|
|
1463
|
-
TemplateId
|
|
1495
|
+
TemplateId?: string
|
|
1464
1496
|
/**
|
|
1465
|
-
*
|
|
1497
|
+
* 模板名
|
|
1466
1498
|
*/
|
|
1467
|
-
TemplateName
|
|
1499
|
+
TemplateName?: string
|
|
1468
1500
|
/**
|
|
1469
1501
|
* 模板描述信息
|
|
1470
1502
|
*/
|
|
1471
|
-
Description
|
|
1503
|
+
Description?: string
|
|
1472
1504
|
/**
|
|
1473
|
-
*
|
|
1505
|
+
* 模板的填充控件列表
|
|
1474
1506
|
*/
|
|
1475
|
-
Components
|
|
1507
|
+
Components?: Array<Component>
|
|
1476
1508
|
/**
|
|
1477
|
-
*
|
|
1509
|
+
* 模板中的签署参与方列表
|
|
1478
1510
|
*/
|
|
1479
|
-
Recipients
|
|
1511
|
+
Recipients?: Array<Recipient>
|
|
1480
1512
|
/**
|
|
1481
|
-
*
|
|
1513
|
+
* 模板中的签署控件列表
|
|
1482
1514
|
*/
|
|
1483
|
-
SignComponents
|
|
1515
|
+
SignComponents?: Array<Component>
|
|
1484
1516
|
/**
|
|
1485
1517
|
* 模板类型:1-静默签;3-普通模板
|
|
1486
1518
|
*/
|
|
1487
|
-
TemplateType
|
|
1519
|
+
TemplateType?: number
|
|
1488
1520
|
/**
|
|
1489
1521
|
* 是否是发起人 ,已弃用
|
|
1490
1522
|
* @deprecated
|
|
@@ -1493,42 +1525,50 @@ export interface TemplateInfo {
|
|
|
1493
1525
|
/**
|
|
1494
1526
|
* 模板的创建者信息,电子签系统用户ID
|
|
1495
1527
|
*/
|
|
1496
|
-
Creator
|
|
1528
|
+
Creator?: string
|
|
1497
1529
|
/**
|
|
1498
|
-
*
|
|
1530
|
+
* 模板创建的时间戳,格式为Unix标准时间戳(秒)
|
|
1499
1531
|
*/
|
|
1500
|
-
CreatedOn
|
|
1532
|
+
CreatedOn?: number
|
|
1501
1533
|
/**
|
|
1502
|
-
* 模板的H5
|
|
1534
|
+
* 模板的H5预览链接,有效期5分钟。
|
|
1535
|
+
可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
|
|
1536
|
+
(此功能开放需要联系客户经理)
|
|
1503
1537
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1504
1538
|
*/
|
|
1505
|
-
PreviewUrl
|
|
1539
|
+
PreviewUrl?: string
|
|
1506
1540
|
/**
|
|
1507
|
-
* 第三方应用集成-模板PDF
|
|
1541
|
+
* 第三方应用集成-模板PDF文件链接,有效期5分钟。
|
|
1542
|
+
请求参数WithPdfUrl=true时返回
|
|
1543
|
+
(此功能开放需要联系客户经理)。
|
|
1508
1544
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1509
1545
|
*/
|
|
1510
|
-
PdfUrl
|
|
1546
|
+
PdfUrl?: string
|
|
1511
1547
|
/**
|
|
1512
|
-
*
|
|
1548
|
+
* 本模板关联的第三方应用平台企业模板ID
|
|
1513
1549
|
*/
|
|
1514
|
-
ChannelTemplateId
|
|
1550
|
+
ChannelTemplateId?: string
|
|
1515
1551
|
/**
|
|
1516
|
-
*
|
|
1552
|
+
* 本模板关联的三方应用平台平台企业模板名称
|
|
1517
1553
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1518
1554
|
*/
|
|
1519
|
-
ChannelTemplateName
|
|
1555
|
+
ChannelTemplateName?: string
|
|
1520
1556
|
/**
|
|
1521
|
-
* 0-需要子客企业手动领取平台企业的模板(默认);
|
|
1557
|
+
* 0-需要子客企业手动领取平台企业的模板(默认);
|
|
1558
|
+
1-平台自动设置子客模板
|
|
1522
1559
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1523
1560
|
*/
|
|
1524
|
-
ChannelAutoSave
|
|
1561
|
+
ChannelAutoSave?: number
|
|
1525
1562
|
/**
|
|
1526
|
-
*
|
|
1563
|
+
* 模板版本,全数字字符。
|
|
1564
|
+
默认为空,初始版本为yyyyMMdd001。
|
|
1527
1565
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1528
1566
|
*/
|
|
1529
|
-
TemplateVersion
|
|
1567
|
+
TemplateVersion?: string
|
|
1530
1568
|
/**
|
|
1531
|
-
*
|
|
1569
|
+
* 模板可用状态:
|
|
1570
|
+
1启用(默认)
|
|
1571
|
+
2停用
|
|
1532
1572
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1533
1573
|
*/
|
|
1534
1574
|
Available?: number
|
|
@@ -1576,35 +1616,42 @@ export interface Agent {
|
|
|
1576
1616
|
}
|
|
1577
1617
|
|
|
1578
1618
|
/**
|
|
1579
|
-
*
|
|
1619
|
+
* 流程中参与方的信息结构
|
|
1580
1620
|
*/
|
|
1581
1621
|
export interface Recipient {
|
|
1582
1622
|
/**
|
|
1583
|
-
* 签署人唯一标识,在通过模板发起合同的时候对应签署方
|
|
1623
|
+
* 签署人唯一标识,在通过模板发起合同的时候对应签署方ID
|
|
1584
1624
|
*/
|
|
1585
1625
|
RecipientId?: string
|
|
1586
1626
|
/**
|
|
1587
|
-
*
|
|
1627
|
+
* 参与者类型,默认为空。
|
|
1628
|
+
ENTERPRISE-企业;
|
|
1629
|
+
INDIVIDUAL-个人;
|
|
1630
|
+
PROMOTER-发起方
|
|
1588
1631
|
*/
|
|
1589
1632
|
RecipientType?: string
|
|
1590
1633
|
/**
|
|
1591
|
-
*
|
|
1634
|
+
* 描述信息
|
|
1592
1635
|
*/
|
|
1593
1636
|
Description?: string
|
|
1594
1637
|
/**
|
|
1595
|
-
*
|
|
1638
|
+
* 角色名称
|
|
1596
1639
|
*/
|
|
1597
1640
|
RoleName?: string
|
|
1598
1641
|
/**
|
|
1599
|
-
* 是否需要校验,
|
|
1642
|
+
* 是否需要校验,
|
|
1643
|
+
true-是,
|
|
1644
|
+
false-否
|
|
1600
1645
|
*/
|
|
1601
1646
|
RequireValidation?: boolean
|
|
1602
1647
|
/**
|
|
1603
|
-
* 是否必须填写,
|
|
1648
|
+
* 是否必须填写,
|
|
1649
|
+
true-是,
|
|
1650
|
+
false-否
|
|
1604
1651
|
*/
|
|
1605
1652
|
RequireSign?: boolean
|
|
1606
1653
|
/**
|
|
1607
|
-
*
|
|
1654
|
+
* 内部字段,签署类型
|
|
1608
1655
|
*/
|
|
1609
1656
|
SignType?: number
|
|
1610
1657
|
/**
|
|
@@ -1612,7 +1659,9 @@ export interface Recipient {
|
|
|
1612
1659
|
*/
|
|
1613
1660
|
RoutingOrder?: number
|
|
1614
1661
|
/**
|
|
1615
|
-
*
|
|
1662
|
+
* 是否是发起方,
|
|
1663
|
+
true-是
|
|
1664
|
+
false-否
|
|
1616
1665
|
*/
|
|
1617
1666
|
IsPromoter?: boolean
|
|
1618
1667
|
}
|
|
@@ -1622,19 +1671,19 @@ export interface Recipient {
|
|
|
1622
1671
|
*/
|
|
1623
1672
|
export interface DescribeTemplatesResponse {
|
|
1624
1673
|
/**
|
|
1625
|
-
*
|
|
1674
|
+
* 模板列表
|
|
1626
1675
|
*/
|
|
1627
1676
|
Templates?: Array<TemplateInfo>
|
|
1628
1677
|
/**
|
|
1629
|
-
*
|
|
1678
|
+
* 查询到的总数
|
|
1630
1679
|
*/
|
|
1631
1680
|
TotalCount?: number
|
|
1632
1681
|
/**
|
|
1633
|
-
*
|
|
1682
|
+
* 每页多少条数据
|
|
1634
1683
|
*/
|
|
1635
1684
|
Limit?: number
|
|
1636
1685
|
/**
|
|
1637
|
-
*
|
|
1686
|
+
* 查询结果分页返回,此处指定第几页。页码从0开始,即首页为0。
|
|
1638
1687
|
*/
|
|
1639
1688
|
Offset?: number
|
|
1640
1689
|
/**
|
|
@@ -3631,10 +3680,11 @@ export interface ChannelBatchCancelFlowsRequest {
|
|
|
3631
3680
|
CancelMessage?: string
|
|
3632
3681
|
/**
|
|
3633
3682
|
* 撤销理由自定义格式;选项:
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3683
|
+
|
|
3684
|
+
- 0 默认格式
|
|
3685
|
+
- 1 只保留身份信息:展示为【发起方】
|
|
3686
|
+
- 2 保留身份信息+企业名称:展示为【发起方xxx公司】
|
|
3687
|
+
- 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
|
|
3638
3688
|
*/
|
|
3639
3689
|
CancelMessageFormat?: number
|
|
3640
3690
|
/**
|
|
@@ -3743,7 +3793,8 @@ export interface ChannelCancelFlowRequest {
|
|
|
3743
3793
|
*/
|
|
3744
3794
|
export interface DescribeTemplatesRequest {
|
|
3745
3795
|
/**
|
|
3746
|
-
* 应用相关信息。
|
|
3796
|
+
* 应用相关信息。
|
|
3797
|
+
此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId必填。
|
|
3747
3798
|
*/
|
|
3748
3799
|
Agent: Agent
|
|
3749
3800
|
/**
|
|
@@ -3751,19 +3802,23 @@ export interface DescribeTemplatesRequest {
|
|
|
3751
3802
|
*/
|
|
3752
3803
|
TemplateId?: string
|
|
3753
3804
|
/**
|
|
3754
|
-
* 查询内容:
|
|
3805
|
+
* 查询内容:
|
|
3806
|
+
0-模板列表及详情(默认),
|
|
3807
|
+
1-仅模板列表
|
|
3755
3808
|
*/
|
|
3756
3809
|
ContentType?: number
|
|
3757
3810
|
/**
|
|
3758
|
-
*
|
|
3811
|
+
* 指定每页多少条数据,如果不传默认为20,单页最大100。
|
|
3759
3812
|
*/
|
|
3760
3813
|
Limit?: number
|
|
3761
3814
|
/**
|
|
3762
|
-
*
|
|
3815
|
+
* 查询结果分页返回,此处指定第几页,如果不传默从第一页返回。页码从0开始,即首页为0。
|
|
3763
3816
|
*/
|
|
3764
3817
|
Offset?: number
|
|
3765
3818
|
/**
|
|
3766
|
-
*
|
|
3819
|
+
* 是否返回所有组件信息。
|
|
3820
|
+
默认false,只返回发起方控件;
|
|
3821
|
+
true,返回所有签署方控件
|
|
3767
3822
|
*/
|
|
3768
3823
|
QueryAllComponents?: boolean
|
|
3769
3824
|
/**
|
|
@@ -3771,11 +3826,16 @@ export interface DescribeTemplatesRequest {
|
|
|
3771
3826
|
*/
|
|
3772
3827
|
TemplateName?: string
|
|
3773
3828
|
/**
|
|
3774
|
-
*
|
|
3829
|
+
* 是否获取模板预览链接,
|
|
3830
|
+
默认false-不获取
|
|
3831
|
+
true-获取
|
|
3775
3832
|
*/
|
|
3776
3833
|
WithPreviewUrl?: boolean
|
|
3777
3834
|
/**
|
|
3778
|
-
* 是否获取模板的PDF
|
|
3835
|
+
* 是否获取模板的PDF文件链接。
|
|
3836
|
+
默认false-不获取
|
|
3837
|
+
true-获取
|
|
3838
|
+
请联系客户经理开白后使用。
|
|
3779
3839
|
*/
|
|
3780
3840
|
WithPdfUrl?: boolean
|
|
3781
3841
|
/**
|
|
@@ -4004,11 +4064,15 @@ export interface ChannelCreateBatchCancelFlowUrlResponse {
|
|
|
4004
4064
|
*/
|
|
4005
4065
|
export interface OperateChannelTemplateRequest {
|
|
4006
4066
|
/**
|
|
4007
|
-
* 应用相关信息。
|
|
4067
|
+
* 应用相关信息。
|
|
4068
|
+
此接口Agent.AppId必填。
|
|
4008
4069
|
*/
|
|
4009
4070
|
Agent: Agent
|
|
4010
4071
|
/**
|
|
4011
|
-
*
|
|
4072
|
+
* 操作类型,
|
|
4073
|
+
查询:"SELECT",
|
|
4074
|
+
删除:"DELETE",
|
|
4075
|
+
更新:"UPDATE"
|
|
4012
4076
|
*/
|
|
4013
4077
|
OperateType: string
|
|
4014
4078
|
/**
|
|
@@ -4016,23 +4080,29 @@ export interface OperateChannelTemplateRequest {
|
|
|
4016
4080
|
*/
|
|
4017
4081
|
TemplateId: string
|
|
4018
4082
|
/**
|
|
4019
|
-
*
|
|
4083
|
+
* 合作企业方第三方机构唯一标识数据.
|
|
4084
|
+
支持多个, 用","进行分隔
|
|
4020
4085
|
*/
|
|
4021
4086
|
ProxyOrganizationOpenIds?: string
|
|
4022
4087
|
/**
|
|
4023
|
-
* 模板可见性,
|
|
4088
|
+
* 模板可见性,
|
|
4089
|
+
全部可见-"all",
|
|
4090
|
+
部分可见-"part"
|
|
4024
4091
|
*/
|
|
4025
4092
|
AuthTag?: string
|
|
4093
|
+
/**
|
|
4094
|
+
* 当OperateType=UPADATE时,可以通过设置此字段对模板启停用状态进行操作。
|
|
4095
|
+
若此字段值为0,则不会修改模板Available,
|
|
4096
|
+
1为启用模板,
|
|
4097
|
+
2为停用模板。
|
|
4098
|
+
启用后模板可以正常领取。停用后,推送方式为【自动推送】的模板则无法被子客使用,推送方式为【手动领取】的模板则无法出现被模板库被子客领用。如果Available更新失败,会直接返回错误。
|
|
4099
|
+
*/
|
|
4100
|
+
Available?: number
|
|
4026
4101
|
/**
|
|
4027
4102
|
* 暂未开放
|
|
4028
4103
|
* @deprecated
|
|
4029
4104
|
*/
|
|
4030
4105
|
Operator?: UserInfo
|
|
4031
|
-
/**
|
|
4032
|
-
* 当OperateType=UPADATE时,可以通过设置此字段对模板启停用状态进行操作。若此字段值为0,则不会修改模板Available,1为启用模板,2为停用模板。
|
|
4033
|
-
启用后模板可以正常领取。停用后,推送方式为【自动推送】的模板则无法被子客使用,推送方式为【手动领取】的模板则无法出现被模板库被子客领用。如果Available更新失败,会直接返回错误。
|
|
4034
|
-
*/
|
|
4035
|
-
Available?: number
|
|
4036
4106
|
}
|
|
4037
4107
|
|
|
4038
4108
|
/**
|
|
@@ -4040,14 +4110,17 @@ export interface OperateChannelTemplateRequest {
|
|
|
4040
4110
|
*/
|
|
4041
4111
|
export interface CreateChannelFlowEvidenceReportResponse {
|
|
4042
4112
|
/**
|
|
4043
|
-
* 出证报告 ID
|
|
4113
|
+
* 出证报告 ID,可用户DescribeChannelFlowEvidenceReport接口查询出证PDF的下载地址
|
|
4114
|
+
|
|
4044
4115
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4045
4116
|
*/
|
|
4046
4117
|
ReportId?: string
|
|
4047
4118
|
/**
|
|
4048
|
-
*
|
|
4049
|
-
|
|
4050
|
-
|
|
4119
|
+
* 出征任务的执行状态,状态列表如下
|
|
4120
|
+
|
|
4121
|
+
- EvidenceStatusExecuting : 出征任务正在执行中
|
|
4122
|
+
- EvidenceStatusSuccess : 出征任务执行成功
|
|
4123
|
+
- EvidenceStatusFailed : 出征任务执行失败
|
|
4051
4124
|
*/
|
|
4052
4125
|
Status?: string
|
|
4053
4126
|
/**
|
|
@@ -4124,14 +4197,16 @@ export interface ChannelCreateReleaseFlowResponse {
|
|
|
4124
4197
|
*/
|
|
4125
4198
|
export interface DescribeChannelFlowEvidenceReportResponse {
|
|
4126
4199
|
/**
|
|
4127
|
-
*
|
|
4200
|
+
* 出证报告下载 URL
|
|
4128
4201
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4129
4202
|
*/
|
|
4130
4203
|
ReportUrl?: string
|
|
4131
4204
|
/**
|
|
4132
|
-
*
|
|
4133
|
-
|
|
4134
|
-
|
|
4205
|
+
* 出征任务的执行状态,状态列表如下
|
|
4206
|
+
|
|
4207
|
+
- EvidenceStatusExecuting : 出征任务正在执行中
|
|
4208
|
+
- EvidenceStatusSuccess : 出征任务执行成功
|
|
4209
|
+
- EvidenceStatusFailed : 出征任务执行失败
|
|
4135
4210
|
*/
|
|
4136
4211
|
Status?: string
|
|
4137
4212
|
/**
|
|
@@ -4229,23 +4304,25 @@ export interface ChannelCreateEmbedWebUrlRequest {
|
|
|
4229
4304
|
*/
|
|
4230
4305
|
Agent: Agent
|
|
4231
4306
|
/**
|
|
4232
|
-
* WEB
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4307
|
+
* 要生成WEB嵌入界面的类型, 可以选择的值如下:
|
|
4308
|
+
|
|
4309
|
+
- CREATE_SEAL: 生成创建印章的嵌入页面
|
|
4310
|
+
- CREATE_TEMPLATE:生成创建模板的嵌入页面
|
|
4311
|
+
- MODIFY_TEMPLATE:生成修改模板的嵌入页面
|
|
4312
|
+
- PREVIEW_TEMPLATE:生成预览模板的嵌入页面
|
|
4313
|
+
- PREVIEW_FLOW:生成预览合同文档的嵌入页面
|
|
4314
|
+
- PREVIEW_FLOW_DETAIL:生成预览合同详情的嵌入页面
|
|
4315
|
+
- PREVIEW_SEAL_LIST:生成预览印章列表的嵌入页面
|
|
4316
|
+
- PREVIEW_SEAL_DETAIL:生成预览印章详情的嵌入页面
|
|
4317
|
+
- EXTEND_SERVICE:生成扩展服务的嵌入页面
|
|
4242
4318
|
*/
|
|
4243
4319
|
EmbedType: string
|
|
4244
4320
|
/**
|
|
4245
4321
|
* WEB嵌入的业务资源ID
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4322
|
+
|
|
4323
|
+
- 当EmbedType取值MODIFY_TEMPLATE,PREVIEW_TEMPLATE时需要填写模板id作为BusinessId
|
|
4324
|
+
- 当EmbedType取值PREVIEW_FLOW,PREVIEW_FLOW_DETAIL时需要填写合同id作为BusinessId
|
|
4325
|
+
- 当EmbedType取值PREVIEW_SEAL_DETAIL需要填写印章id作为BusinessId
|
|
4249
4326
|
*/
|
|
4250
4327
|
BusinessId?: string
|
|
4251
4328
|
/**
|
|
@@ -85,8 +85,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
85
85
|
*/
|
|
86
86
|
ChannelDeleteRoleUsers(req: ChannelDeleteRoleUsersRequest, cb?: (error: string, rep: ChannelDeleteRoleUsersResponse) => void): Promise<ChannelDeleteRoleUsersResponse>;
|
|
87
87
|
/**
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
* 通过此接口(DescribeTemplates)查询该第三方平台子客企业在电子签拥有的有效模板,不包括第三方平台模板。
|
|
89
|
+
|
|
90
|
+
> **适用场景**
|
|
91
|
+
>
|
|
92
|
+
> 该接口常用来配合“使用模板创建签署流程”接口作为前置的接口使用。
|
|
93
|
+
> 一个模板通常会包含以下结构信息
|
|
94
|
+
>- 模板基本信息
|
|
95
|
+
>- 发起方参与信息Promoter、签署参与方 Recipients,后者会在模板发起合同时用于指定参与方
|
|
96
|
+
>- 填写控件 Components
|
|
97
|
+
>- 签署控件 SignComponents
|
|
98
|
+
>- 生成模板的文件基础信息 FileInfos
|
|
99
|
+
*/
|
|
90
100
|
DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
|
|
91
101
|
/**
|
|
92
102
|
* 创建跳转小程序查看或签署的链接。
|
|
@@ -137,14 +147,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
137
147
|
* 指定需要批量撤销的签署流程Id,获取批量撤销链接 - 不建议使用此接口,可使用ChannelBatchCancelFlows
|
|
138
148
|
客户指定需要撤销的签署流程Id,最多100个,超过100不处理;
|
|
139
149
|
接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销;
|
|
140
|
-
|
|
150
|
+
|
|
151
|
+
可以撤回:未全部签署完成
|
|
152
|
+
不可以撤回:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
|
|
153
|
+
|
|
141
154
|
注意:
|
|
142
155
|
能撤回合同的只能是合同的发起人或者发起企业的超管、法人
|
|
143
156
|
*/
|
|
144
157
|
ChannelCreateBatchCancelFlowUrl(req: ChannelCreateBatchCancelFlowUrlRequest, cb?: (error: string, rep: ChannelCreateBatchCancelFlowUrlResponse) => void): Promise<ChannelCreateBatchCancelFlowUrlResponse>;
|
|
145
158
|
/**
|
|
146
|
-
|
|
147
|
-
|
|
159
|
+
* 查询转换任务的状态。转换任务Id通过发起转换任务接口(ChannelCreateConvertTaskApi)获取。
|
|
160
|
+
注意:大文件转换所需的时间可能会比较长。
|
|
161
|
+
*/
|
|
148
162
|
ChannelGetTaskResultApi(req: ChannelGetTaskResultApiRequest, cb?: (error: string, rep: ChannelGetTaskResultApiResponse) => void): Promise<ChannelGetTaskResultApiResponse>;
|
|
149
163
|
/**
|
|
150
164
|
* 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
|
|
@@ -188,6 +202,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
188
202
|
* 指定需要批量撤销的签署流程Id,批量撤销合同
|
|
189
203
|
客户指定需要撤销的签署流程Id,最多100个,超过100不处理;
|
|
190
204
|
|
|
205
|
+
可以撤回:未全部签署完成
|
|
206
|
+
不可以撤回:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
|
|
207
|
+
|
|
191
208
|
**满足撤销条件的合同会发起异步撤销流程,不满足撤销条件的合同返回失败原因。**
|
|
192
209
|
|
|
193
210
|
**合同撤销成功后,会通过合同状态为 CANCEL 的回调消息通知调用方 [具体可参考回调消息](https://qian.tencent.com/developers/scenes/partner/callback_data_types#-%E5%90%88%E5%90%8C%E7%8A%B6%E6%80%81%E9%80%9A%E7%9F%A5---flowstatuschange)**
|