tencentcloud-sdk-nodejs-essbasic 4.0.915 → 4.0.918
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/package.json +1 -1
- package/products.md +30 -30
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +21 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +517 -464
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +11 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +12 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +521 -470
|
@@ -923,38 +923,29 @@ export interface ChannelCreatePrepareFlowResponse {
|
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
|
-
*
|
|
926
|
+
* CreateBatchInitOrganizationUrl返回参数结构体
|
|
927
927
|
*/
|
|
928
|
-
export interface
|
|
928
|
+
export interface CreateBatchInitOrganizationUrlResponse {
|
|
929
929
|
/**
|
|
930
|
-
*
|
|
931
|
-
<ul><li> **true**:页面底部显示电子签logo</li>
|
|
932
|
-
<li> **false**:页面底部不显示电子签logo(默认)</li></ul>
|
|
930
|
+
* 小程序路径
|
|
933
931
|
*/
|
|
934
|
-
|
|
932
|
+
MiniAppPath?: string
|
|
935
933
|
/**
|
|
936
|
-
*
|
|
937
|
-
支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
|
|
938
|
-
<br/>
|
|
934
|
+
* 操作长链
|
|
939
935
|
*/
|
|
940
|
-
|
|
936
|
+
OperateLongUrl?: string
|
|
941
937
|
/**
|
|
942
|
-
*
|
|
943
|
-
|
|
938
|
+
* 操作短链
|
|
944
939
|
*/
|
|
945
|
-
|
|
940
|
+
OperateShortUrl?: string
|
|
946
941
|
/**
|
|
947
|
-
*
|
|
948
|
-
<ul><li> **true**:隐藏企业认证页面导航栏</li>
|
|
949
|
-
<li> **false**:显示企业认证页面导航栏(默认)</li></ul>
|
|
942
|
+
* 操作二维码
|
|
950
943
|
*/
|
|
951
|
-
|
|
944
|
+
QRCodeUrl?: string
|
|
952
945
|
/**
|
|
953
|
-
*
|
|
954
|
-
<ul><li> **true**:隐藏企业认证顶部logo</li>
|
|
955
|
-
<li> **false**:显示企业认证顶部logo(默认)</li></ul>
|
|
946
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
956
947
|
*/
|
|
957
|
-
|
|
948
|
+
RequestId?: string
|
|
958
949
|
}
|
|
959
950
|
|
|
960
951
|
/**
|
|
@@ -2680,6 +2671,13 @@ false-否
|
|
|
2680
2671
|
<li> 6 :设备面容识别</li></ul>
|
|
2681
2672
|
*/
|
|
2682
2673
|
ApproverSignTypes?: Array<number | bigint>
|
|
2674
|
+
/**
|
|
2675
|
+
* 签署方是否可以转他人处理
|
|
2676
|
+
|
|
2677
|
+
<ul><li> **false** : ( 默认)可以转他人处理</li>
|
|
2678
|
+
<li> **true** :不可以转他人处理</li></ul>
|
|
2679
|
+
*/
|
|
2680
|
+
NoTransfer?: boolean
|
|
2683
2681
|
}
|
|
2684
2682
|
|
|
2685
2683
|
/**
|
|
@@ -5392,6 +5390,17 @@ export interface ChannelDescribeBillUsageDetailResponse {
|
|
|
5392
5390
|
RequestId?: string
|
|
5393
5391
|
}
|
|
5394
5392
|
|
|
5393
|
+
/**
|
|
5394
|
+
* 意愿核身点头确认模式结果
|
|
5395
|
+
*/
|
|
5396
|
+
export interface IntentionActionResult {
|
|
5397
|
+
/**
|
|
5398
|
+
* 意愿核身结果详细数据,与每段点头确认过程一一对应
|
|
5399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5400
|
+
*/
|
|
5401
|
+
Details?: Array<IntentionActionResultDetail>
|
|
5402
|
+
}
|
|
5403
|
+
|
|
5395
5404
|
/**
|
|
5396
5405
|
* 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
|
|
5397
5406
|
*/
|
|
@@ -5542,226 +5551,487 @@ export interface ChannelCreateRoleResponse {
|
|
|
5542
5551
|
}
|
|
5543
5552
|
|
|
5544
5553
|
/**
|
|
5545
|
-
*
|
|
5546
|
-
*/
|
|
5547
|
-
export interface IntentionActionResult {
|
|
5548
|
-
/**
|
|
5549
|
-
* 意愿核身结果详细数据,与每段点头确认过程一一对应
|
|
5550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5551
|
-
*/
|
|
5552
|
-
Details?: Array<IntentionActionResultDetail>
|
|
5553
|
-
}
|
|
5554
|
+
* 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
|
5554
5555
|
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5562
|
-
*/
|
|
5563
|
-
UserId?: string
|
|
5564
|
-
/**
|
|
5565
|
-
* 角色RoleId列表
|
|
5566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5567
|
-
*/
|
|
5568
|
-
RoleIds?: Array<string>
|
|
5556
|
+
当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容
|
|
5557
|
+
```
|
|
5558
|
+
FormField输入示例:
|
|
5559
|
+
{
|
|
5560
|
+
"ComponentId": "componentId1",
|
|
5561
|
+
"ComponentValue": "文本内容"
|
|
5569
5562
|
}
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
*/
|
|
5578
|
-
Agent: Agent
|
|
5579
|
-
/**
|
|
5580
|
-
* 自动签使用的场景值, 可以选择的场景值如下:
|
|
5581
|
-
<ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul>
|
|
5582
|
-
*/
|
|
5583
|
-
SceneKey: string
|
|
5584
|
-
/**
|
|
5585
|
-
* 要查询状态的用户信息, 包括名字,身份证等
|
|
5586
|
-
*/
|
|
5587
|
-
UserInfo: UserThreeFactor
|
|
5588
|
-
/**
|
|
5589
|
-
* 执行本接口操作的员工信息。
|
|
5590
|
-
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
5591
|
-
*/
|
|
5592
|
-
Operator?: UserInfo
|
|
5563
|
+
```
|
|
5564
|
+
当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。
|
|
5565
|
+
```
|
|
5566
|
+
FormField输入示例:
|
|
5567
|
+
{
|
|
5568
|
+
"ComponentId": "componentId1",
|
|
5569
|
+
"ComponentValue": "多行文本内容"
|
|
5593
5570
|
}
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5602
|
-
*/
|
|
5603
|
-
FlowId?: string
|
|
5604
|
-
/**
|
|
5605
|
-
* 对应的合同流程的PDF下载链接
|
|
5606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5607
|
-
*/
|
|
5608
|
-
ResourceUrlInfos?: Array<ResourceUrlInfo>
|
|
5571
|
+
```
|
|
5572
|
+
当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本
|
|
5573
|
+
```
|
|
5574
|
+
FormField输入示例:
|
|
5575
|
+
{
|
|
5576
|
+
"ComponentId": "componentId1",
|
|
5577
|
+
"ComponentValue": "true"
|
|
5609
5578
|
}
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
*/
|
|
5618
|
-
FileBody: string
|
|
5619
|
-
/**
|
|
5620
|
-
* 文件名,最大长度不超过200字符
|
|
5621
|
-
*/
|
|
5622
|
-
FileName?: string
|
|
5579
|
+
```
|
|
5580
|
+
当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID
|
|
5581
|
+
```
|
|
5582
|
+
FormField输入示例:
|
|
5583
|
+
{
|
|
5584
|
+
"ComponentId": "componentId1",
|
|
5585
|
+
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
5623
5586
|
}
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
<ul>
|
|
5632
|
-
<li>AUTO_SIGN 企业自动签(自动签署)</li>
|
|
5633
|
-
<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>
|
|
5634
|
-
<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>
|
|
5635
|
-
<li> DOWNLOAD_FLOW 授权渠道下载合同 </li>
|
|
5636
|
-
<li>AGE_LIMIT_EXPANSION 拓宽签署方年龄限制</li>
|
|
5637
|
-
<li>HIDE_OPERATOR_DISPLAY 隐藏合同经办人姓名</li>
|
|
5638
|
-
</ul>
|
|
5639
|
-
*/
|
|
5640
|
-
Type?: string
|
|
5641
|
-
/**
|
|
5642
|
-
* 扩展服务名称
|
|
5643
|
-
*/
|
|
5644
|
-
Name?: string
|
|
5645
|
-
/**
|
|
5646
|
-
* 扩展服务的开通状态
|
|
5647
|
-
**ENABLE**:开通
|
|
5648
|
-
**DISABLE**:未开通
|
|
5649
|
-
*/
|
|
5650
|
-
Status?: string
|
|
5651
|
-
/**
|
|
5652
|
-
* 操作扩展服务的操作人第三方应用平台的用户openid
|
|
5653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5654
|
-
*/
|
|
5655
|
-
OperatorOpenId?: string
|
|
5656
|
-
/**
|
|
5657
|
-
* 扩展服务的操作时间,格式为Unix标准时间戳(秒)。
|
|
5658
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5659
|
-
*/
|
|
5660
|
-
OperateOn?: number
|
|
5587
|
+
```
|
|
5588
|
+
当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;
|
|
5589
|
+
```
|
|
5590
|
+
FormField输入示例:
|
|
5591
|
+
{
|
|
5592
|
+
"ComponentId": "componentId1",
|
|
5593
|
+
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3"
|
|
5661
5594
|
}
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
*/
|
|
5670
|
-
RoleId?: string
|
|
5671
|
-
/**
|
|
5672
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5673
|
-
*/
|
|
5674
|
-
RequestId?: string
|
|
5595
|
+
```
|
|
5596
|
+
当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;
|
|
5597
|
+
```
|
|
5598
|
+
FormField输入示例:
|
|
5599
|
+
{
|
|
5600
|
+
"ComponentId": "componentId1",
|
|
5601
|
+
"ComponentValue": "选择的内容"
|
|
5675
5602
|
}
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5603
|
+
```
|
|
5604
|
+
当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;
|
|
5605
|
+
```
|
|
5606
|
+
FormField输入示例:
|
|
5607
|
+
{
|
|
5608
|
+
"ComponentId": "componentId1",
|
|
5609
|
+
"ComponentValue": "2023年01月01日"
|
|
5610
|
+
}
|
|
5611
|
+
```
|
|
5612
|
+
当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;
|
|
5613
|
+
```
|
|
5614
|
+
FormField输入示例:
|
|
5615
|
+
{
|
|
5616
|
+
"ComponentId": "componentId1",
|
|
5617
|
+
"ComponentValue": "广东省深圳市福田区"
|
|
5689
5618
|
}
|
|
5619
|
+
```
|
|
5620
|
+
【数据表格传参说明】
|
|
5621
|
+
当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
|
5622
|
+
输入示例1:
|
|
5623
|
+
|
|
5624
|
+
```
|
|
5625
|
+
{
|
|
5626
|
+
"headers":[
|
|
5627
|
+
{
|
|
5628
|
+
"content":"head1"
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
"content":"head2"
|
|
5632
|
+
},
|
|
5633
|
+
{
|
|
5634
|
+
"content":"head3"
|
|
5635
|
+
}
|
|
5636
|
+
],
|
|
5637
|
+
"rowCount":3,
|
|
5638
|
+
"body":{
|
|
5639
|
+
"cells":[
|
|
5640
|
+
{
|
|
5641
|
+
"rowStart":1,
|
|
5642
|
+
"rowEnd":1,
|
|
5643
|
+
"columnStart":1,
|
|
5644
|
+
"columnEnd":1,
|
|
5645
|
+
"content":"123"
|
|
5646
|
+
},
|
|
5647
|
+
{
|
|
5648
|
+
"rowStart":2,
|
|
5649
|
+
"rowEnd":3,
|
|
5650
|
+
"columnStart":1,
|
|
5651
|
+
"columnEnd":2,
|
|
5652
|
+
"content":"456"
|
|
5653
|
+
},
|
|
5654
|
+
{
|
|
5655
|
+
"rowStart":3,
|
|
5656
|
+
"rowEnd":3,
|
|
5657
|
+
"columnStart":3,
|
|
5658
|
+
"columnEnd":3,
|
|
5659
|
+
"content":"789"
|
|
5660
|
+
}
|
|
5661
|
+
]
|
|
5662
|
+
}
|
|
5663
|
+
}
|
|
5664
|
+
|
|
5665
|
+
```
|
|
5666
|
+
|
|
5667
|
+
输入示例2(表格表头宽度比例配置):
|
|
5668
|
+
|
|
5669
|
+
```
|
|
5670
|
+
{
|
|
5671
|
+
"headers":[
|
|
5672
|
+
{
|
|
5673
|
+
"content":"head1",
|
|
5674
|
+
"widthPercent": 30
|
|
5675
|
+
},
|
|
5676
|
+
{
|
|
5677
|
+
"content":"head2",
|
|
5678
|
+
"widthPercent": 30
|
|
5679
|
+
},
|
|
5680
|
+
{
|
|
5681
|
+
"content":"head3",
|
|
5682
|
+
"widthPercent": 40
|
|
5683
|
+
}
|
|
5684
|
+
],
|
|
5685
|
+
"rowCount":3,
|
|
5686
|
+
"body":{
|
|
5687
|
+
"cells":[
|
|
5688
|
+
{
|
|
5689
|
+
"rowStart":1,
|
|
5690
|
+
"rowEnd":1,
|
|
5691
|
+
"columnStart":1,
|
|
5692
|
+
"columnEnd":1,
|
|
5693
|
+
"content":"123"
|
|
5694
|
+
},
|
|
5695
|
+
{
|
|
5696
|
+
"rowStart":2,
|
|
5697
|
+
"rowEnd":3,
|
|
5698
|
+
"columnStart":1,
|
|
5699
|
+
"columnEnd":2,
|
|
5700
|
+
"content":"456"
|
|
5701
|
+
},
|
|
5702
|
+
{
|
|
5703
|
+
"rowStart":3,
|
|
5704
|
+
"rowEnd":3,
|
|
5705
|
+
"columnStart":3,
|
|
5706
|
+
"columnEnd":3,
|
|
5707
|
+
"content":"789"
|
|
5708
|
+
}
|
|
5709
|
+
]
|
|
5710
|
+
}
|
|
5711
|
+
}
|
|
5712
|
+
|
|
5713
|
+
```
|
|
5714
|
+
|
|
5715
|
+
|
|
5716
|
+
输入示例3(表格设置字体加粗颜色):
|
|
5717
|
+
|
|
5718
|
+
```
|
|
5719
|
+
{
|
|
5720
|
+
"headers":[
|
|
5721
|
+
{
|
|
5722
|
+
"content":"head1"
|
|
5723
|
+
},
|
|
5724
|
+
{
|
|
5725
|
+
"content":"head2"
|
|
5726
|
+
},
|
|
5727
|
+
{
|
|
5728
|
+
"content":"head3"
|
|
5729
|
+
}
|
|
5730
|
+
],
|
|
5731
|
+
"rowCount":3,
|
|
5732
|
+
"body":{
|
|
5733
|
+
"cells":[
|
|
5734
|
+
{
|
|
5735
|
+
"rowStart":1,
|
|
5736
|
+
"rowEnd":1,
|
|
5737
|
+
"columnStart":1,
|
|
5738
|
+
"columnEnd":1,
|
|
5739
|
+
"content":"123",
|
|
5740
|
+
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "CENTER"}
|
|
5741
|
+
},
|
|
5742
|
+
{
|
|
5743
|
+
"rowStart":2,
|
|
5744
|
+
"rowEnd":3,
|
|
5745
|
+
"columnStart":1,
|
|
5746
|
+
"columnEnd":2,
|
|
5747
|
+
"content":"456",
|
|
5748
|
+
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "LEFT"}
|
|
5749
|
+
},
|
|
5750
|
+
{
|
|
5751
|
+
"rowStart":3,
|
|
5752
|
+
"rowEnd":3,
|
|
5753
|
+
"columnStart":3,
|
|
5754
|
+
"columnEnd":3,
|
|
5755
|
+
"content":"789",
|
|
5756
|
+
"style": {"color": "#b500bf", "fontSize": 12,"bold": false,"align": "RIGHT"}
|
|
5757
|
+
}
|
|
5758
|
+
]
|
|
5759
|
+
}
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5762
|
+
```
|
|
5763
|
+
|
|
5764
|
+
表格参数说明
|
|
5765
|
+
|
|
5766
|
+
| 名称 | 类型 | 描述 |
|
|
5767
|
+
| ------------------- | ------- | ------------------------------------------------- |
|
|
5768
|
+
| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
|
5769
|
+
| rowCount | Integer | 表格内容最大行数 |
|
|
5770
|
+
| cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
|
5771
|
+
| cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
|
5772
|
+
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
5773
|
+
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
5774
|
+
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
5775
|
+
| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"#FFFFFF","bold":true,"align":"CENTER"} |
|
|
5776
|
+
|
|
5777
|
+
表格参数headers说明
|
|
5778
|
+
widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
|
|
5779
|
+
|
|
5780
|
+
content String 表头单元格内容,字数不超过100
|
|
5781
|
+
|
|
5782
|
+
style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "#FFFFFF" 或者 "0xFFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
|
|
5783
|
+
*/
|
|
5784
|
+
export interface FormField {
|
|
5785
|
+
/**
|
|
5786
|
+
* 控件填充值,ComponentType和传入值格式对应关系如下:
|
|
5787
|
+
<ul><li> <b>TEXT</b> : 文本内容</li>
|
|
5788
|
+
<li> <b>MULTI_LINE_TEXT</b> : 文本内容, 可以用 \n 来控制换行位置</li>
|
|
5789
|
+
<li> <b>CHECK_BOX</b> : true/false</li>
|
|
5790
|
+
<li> <b>FILL_IMAGE、ATTACHMENT</b> : 附件的FileId,需要通过UploadFiles接口上传获取</li>
|
|
5791
|
+
<li> <b>SELECTOR</b> : 选项值</li>
|
|
5792
|
+
<li> <b>DYNAMIC_TABLE</b> - 传入json格式的表格内容,详见说明:[数据表格](https://qian.tencent.com/developers/partner/dynamic_table)</li>
|
|
5793
|
+
<li> <b>DATE</b> : 格式化:xxxx年xx月xx日(例如:2024年05月28日)</li>
|
|
5794
|
+
<li> <b>DISTRICT </b> : 省市区行政区控件,需填写ComponentValue为省市区行政区字符串内容</li>
|
|
5795
|
+
</ul>
|
|
5796
|
+
|
|
5797
|
+
|
|
5798
|
+
<b>控件值约束说明</b>:
|
|
5799
|
+
<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> </tbody> </table>
|
|
5690
5800
|
|
|
5691
|
-
/**
|
|
5692
|
-
* 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
|
|
5693
|
-
*/
|
|
5694
|
-
export interface FilledComponent {
|
|
5695
|
-
/**
|
|
5696
|
-
* 填写控件ID
|
|
5697
|
-
*/
|
|
5698
|
-
ComponentId?: string
|
|
5699
|
-
/**
|
|
5700
|
-
* 控件名称
|
|
5701
|
-
*/
|
|
5702
|
-
ComponentName?: string
|
|
5703
|
-
/**
|
|
5704
|
-
* 此填写控件的填写状态
|
|
5705
|
-
**0** : 此填写控件**未填写**
|
|
5706
|
-
**1** : 此填写控件**已填写**
|
|
5707
|
-
*/
|
|
5708
|
-
ComponentFillStatus?: string
|
|
5709
|
-
/**
|
|
5710
|
-
* 控件填写内容
|
|
5711
5801
|
*/
|
|
5712
|
-
ComponentValue
|
|
5802
|
+
ComponentValue: string
|
|
5713
5803
|
/**
|
|
5714
|
-
*
|
|
5804
|
+
* 表单域或控件的ID,跟ComponentName二选一,不能全为空;
|
|
5805
|
+
CreateFlowsByTemplates 接口不使用此字段。
|
|
5715
5806
|
|
|
5716
|
-
|
|
5807
|
+
<a href="https://dyn.ess.tencent.cn/guide/apivideo/channel_component_name.mp4" target="_blank">点击此处查看模板上控件ID的获取方式</a>
|
|
5808
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5717
5809
|
*/
|
|
5718
|
-
|
|
5810
|
+
ComponentId?: string
|
|
5811
|
+
/**
|
|
5812
|
+
* 控件的名字,跟ComponentId二选一,不能全为空
|
|
5813
|
+
|
|
5814
|
+
<a href="https://dyn.ess.tencent.cn/guide/apivideo/channel_component_name.mp4" target="_blank">点击此处查看模板上控件名字的获取方式</a>
|
|
5815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5816
|
+
*/
|
|
5817
|
+
ComponentName?: string
|
|
5818
|
+
/**
|
|
5819
|
+
* 是否锁定模板控件值,锁定后无法修改(用于嵌入式发起合同),true-锁定,false-不锁定
|
|
5820
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5821
|
+
*/
|
|
5822
|
+
LockComponentValue?: boolean
|
|
5719
5823
|
}
|
|
5720
5824
|
|
|
5721
5825
|
/**
|
|
5722
|
-
*
|
|
5826
|
+
* 绑定失败的用户角色信息
|
|
5723
5827
|
*/
|
|
5724
|
-
export interface
|
|
5828
|
+
export interface FailedCreateRoleData {
|
|
5725
5829
|
/**
|
|
5726
|
-
*
|
|
5830
|
+
* 用户userId
|
|
5727
5831
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5728
5832
|
*/
|
|
5729
|
-
|
|
5833
|
+
UserId?: string
|
|
5730
5834
|
/**
|
|
5731
|
-
*
|
|
5835
|
+
* 角色RoleId列表
|
|
5732
5836
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5733
5837
|
*/
|
|
5734
|
-
|
|
5838
|
+
RoleIds?: Array<string>
|
|
5735
5839
|
}
|
|
5736
5840
|
|
|
5737
5841
|
/**
|
|
5738
|
-
*
|
|
5842
|
+
* ChannelDescribeUserAutoSignStatus请求参数结构体
|
|
5739
5843
|
*/
|
|
5740
|
-
export interface
|
|
5844
|
+
export interface ChannelDescribeUserAutoSignStatusRequest {
|
|
5741
5845
|
/**
|
|
5742
|
-
*
|
|
5846
|
+
* 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
5743
5847
|
*/
|
|
5744
|
-
|
|
5848
|
+
Agent: Agent
|
|
5745
5849
|
/**
|
|
5746
|
-
*
|
|
5850
|
+
* 自动签使用的场景值, 可以选择的场景值如下:
|
|
5851
|
+
<ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul>
|
|
5747
5852
|
*/
|
|
5748
|
-
|
|
5853
|
+
SceneKey: string
|
|
5749
5854
|
/**
|
|
5750
|
-
*
|
|
5855
|
+
* 要查询状态的用户信息, 包括名字,身份证等
|
|
5751
5856
|
*/
|
|
5752
|
-
|
|
5857
|
+
UserInfo: UserThreeFactor
|
|
5753
5858
|
/**
|
|
5754
|
-
*
|
|
5859
|
+
* 执行本接口操作的员工信息。
|
|
5860
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
5755
5861
|
*/
|
|
5756
|
-
|
|
5862
|
+
Operator?: UserInfo
|
|
5863
|
+
}
|
|
5864
|
+
|
|
5865
|
+
/**
|
|
5866
|
+
* 流程对应资源链接信息
|
|
5867
|
+
*/
|
|
5868
|
+
export interface FlowResourceUrlInfo {
|
|
5757
5869
|
/**
|
|
5758
|
-
*
|
|
5870
|
+
* 合同流程的ID
|
|
5871
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5759
5872
|
*/
|
|
5760
|
-
|
|
5873
|
+
FlowId?: string
|
|
5761
5874
|
/**
|
|
5762
|
-
*
|
|
5875
|
+
* 对应的合同流程的PDF下载链接
|
|
5876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5763
5877
|
*/
|
|
5764
|
-
|
|
5878
|
+
ResourceUrlInfos?: Array<ResourceUrlInfo>
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
/**
|
|
5882
|
+
* 此结构体 (UploadFile) 用于描述多文件上传的文件信息。
|
|
5883
|
+
*/
|
|
5884
|
+
export interface UploadFile {
|
|
5885
|
+
/**
|
|
5886
|
+
* Base64编码后的文件内容
|
|
5887
|
+
*/
|
|
5888
|
+
FileBody: string
|
|
5889
|
+
/**
|
|
5890
|
+
* 文件名,最大长度不超过200字符
|
|
5891
|
+
*/
|
|
5892
|
+
FileName?: string
|
|
5893
|
+
}
|
|
5894
|
+
|
|
5895
|
+
/**
|
|
5896
|
+
* 扩展服务开通和授权的详细信息
|
|
5897
|
+
*/
|
|
5898
|
+
export interface ExtentServiceAuthInfo {
|
|
5899
|
+
/**
|
|
5900
|
+
* 扩展服务类型
|
|
5901
|
+
<ul>
|
|
5902
|
+
<li>AUTO_SIGN 企业自动签(自动签署)</li>
|
|
5903
|
+
<li> OVERSEA_SIGN 企业与港澳台居民签署合同</li>
|
|
5904
|
+
<li> MOBILE_CHECK_APPROVER 使用手机号验证签署方身份</li>
|
|
5905
|
+
<li> DOWNLOAD_FLOW 授权渠道下载合同 </li>
|
|
5906
|
+
<li>AGE_LIMIT_EXPANSION 拓宽签署方年龄限制</li>
|
|
5907
|
+
<li>HIDE_OPERATOR_DISPLAY 隐藏合同经办人姓名</li>
|
|
5908
|
+
</ul>
|
|
5909
|
+
*/
|
|
5910
|
+
Type?: string
|
|
5911
|
+
/**
|
|
5912
|
+
* 扩展服务名称
|
|
5913
|
+
*/
|
|
5914
|
+
Name?: string
|
|
5915
|
+
/**
|
|
5916
|
+
* 扩展服务的开通状态
|
|
5917
|
+
**ENABLE**:开通
|
|
5918
|
+
**DISABLE**:未开通
|
|
5919
|
+
*/
|
|
5920
|
+
Status?: string
|
|
5921
|
+
/**
|
|
5922
|
+
* 操作扩展服务的操作人第三方应用平台的用户openid
|
|
5923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5924
|
+
*/
|
|
5925
|
+
OperatorOpenId?: string
|
|
5926
|
+
/**
|
|
5927
|
+
* 扩展服务的操作时间,格式为Unix标准时间戳(秒)。
|
|
5928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5929
|
+
*/
|
|
5930
|
+
OperateOn?: number
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
/**
|
|
5934
|
+
* ChannelModifyRole返回参数结构体
|
|
5935
|
+
*/
|
|
5936
|
+
export interface ChannelModifyRoleResponse {
|
|
5937
|
+
/**
|
|
5938
|
+
* 角色id
|
|
5939
|
+
*/
|
|
5940
|
+
RoleId?: string
|
|
5941
|
+
/**
|
|
5942
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5943
|
+
*/
|
|
5944
|
+
RequestId?: string
|
|
5945
|
+
}
|
|
5946
|
+
|
|
5947
|
+
/**
|
|
5948
|
+
* 此结构体 (Filter) 用于描述查询过滤条件。
|
|
5949
|
+
*/
|
|
5950
|
+
export interface Filter {
|
|
5951
|
+
/**
|
|
5952
|
+
* 查询过滤条件的Key
|
|
5953
|
+
*/
|
|
5954
|
+
Key: string
|
|
5955
|
+
/**
|
|
5956
|
+
* 查询过滤条件的Value列表
|
|
5957
|
+
*/
|
|
5958
|
+
Values: Array<string>
|
|
5959
|
+
}
|
|
5960
|
+
|
|
5961
|
+
/**
|
|
5962
|
+
* 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
|
|
5963
|
+
*/
|
|
5964
|
+
export interface FilledComponent {
|
|
5965
|
+
/**
|
|
5966
|
+
* 填写控件ID
|
|
5967
|
+
*/
|
|
5968
|
+
ComponentId?: string
|
|
5969
|
+
/**
|
|
5970
|
+
* 控件名称
|
|
5971
|
+
*/
|
|
5972
|
+
ComponentName?: string
|
|
5973
|
+
/**
|
|
5974
|
+
* 此填写控件的填写状态
|
|
5975
|
+
**0** : 此填写控件**未填写**
|
|
5976
|
+
**1** : 此填写控件**已填写**
|
|
5977
|
+
*/
|
|
5978
|
+
ComponentFillStatus?: string
|
|
5979
|
+
/**
|
|
5980
|
+
* 控件填写内容
|
|
5981
|
+
*/
|
|
5982
|
+
ComponentValue?: string
|
|
5983
|
+
/**
|
|
5984
|
+
* 图片填充控件下载链接,如果是图片填充控件时,这里返回图片的下载链接。
|
|
5985
|
+
|
|
5986
|
+
注: `链接不是永久链接, 默认有效期5分钟后, 到期后链接失效`
|
|
5987
|
+
*/
|
|
5988
|
+
ImageUrl?: string
|
|
5989
|
+
}
|
|
5990
|
+
|
|
5991
|
+
/**
|
|
5992
|
+
* 签署方信息,如角色ID、角色名称等
|
|
5993
|
+
*/
|
|
5994
|
+
export interface FlowApproverItem {
|
|
5995
|
+
/**
|
|
5996
|
+
* 合同编号
|
|
5997
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5998
|
+
*/
|
|
5999
|
+
FlowId?: string
|
|
6000
|
+
/**
|
|
6001
|
+
* 签署方信息,如角色ID、角色名称等
|
|
6002
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6003
|
+
*/
|
|
6004
|
+
Approvers?: Array<ApproverItem>
|
|
6005
|
+
}
|
|
6006
|
+
|
|
6007
|
+
/**
|
|
6008
|
+
* 渠道企业信息
|
|
6009
|
+
*/
|
|
6010
|
+
export interface ChannelOrganizationInfo {
|
|
6011
|
+
/**
|
|
6012
|
+
* 电子签平台给企业分配的ID(在不同应用下同一个企业会分配通用的ID)
|
|
6013
|
+
*/
|
|
6014
|
+
OrganizationId?: string
|
|
6015
|
+
/**
|
|
6016
|
+
* 第三方平台子客企业的唯一标识
|
|
6017
|
+
*/
|
|
6018
|
+
OrganizationOpenId?: string
|
|
6019
|
+
/**
|
|
6020
|
+
* 第三方平台子客企业名称
|
|
6021
|
+
*/
|
|
6022
|
+
OrganizationName?: string
|
|
6023
|
+
/**
|
|
6024
|
+
* 企业的统一社会信用代码
|
|
6025
|
+
*/
|
|
6026
|
+
UnifiedSocialCreditCode?: string
|
|
6027
|
+
/**
|
|
6028
|
+
* 企业法定代表人的姓名
|
|
6029
|
+
*/
|
|
6030
|
+
LegalName?: string
|
|
6031
|
+
/**
|
|
6032
|
+
* 企业法定代表人作为第三方平台子客企业员工的唯一标识
|
|
6033
|
+
*/
|
|
6034
|
+
LegalOpenId?: string
|
|
5765
6035
|
/**
|
|
5766
6036
|
* 企业超级管理员的姓名
|
|
5767
6037
|
*/
|
|
@@ -6236,6 +6506,41 @@ export interface ChannelDescribeFlowComponentsResponse {
|
|
|
6236
6506
|
RequestId?: string
|
|
6237
6507
|
}
|
|
6238
6508
|
|
|
6509
|
+
/**
|
|
6510
|
+
* 主题配置
|
|
6511
|
+
*/
|
|
6512
|
+
export interface WebThemeConfig {
|
|
6513
|
+
/**
|
|
6514
|
+
* 是否显示页面底部电子签logo,取值如下:
|
|
6515
|
+
<ul><li> **true**:页面底部显示电子签logo</li>
|
|
6516
|
+
<li> **false**:页面底部不显示电子签logo(默认)</li></ul>
|
|
6517
|
+
*/
|
|
6518
|
+
DisplaySignBrandLogo?: boolean
|
|
6519
|
+
/**
|
|
6520
|
+
* 主题颜色:
|
|
6521
|
+
支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
|
|
6522
|
+
<br/>
|
|
6523
|
+
*/
|
|
6524
|
+
WebEmbedThemeColor?: string
|
|
6525
|
+
/**
|
|
6526
|
+
* 企业认证页背景图(base64图片)
|
|
6527
|
+
|
|
6528
|
+
*/
|
|
6529
|
+
AuthenticateBackground?: string
|
|
6530
|
+
/**
|
|
6531
|
+
* 隐藏企业认证页面导航栏,取值如下:
|
|
6532
|
+
<ul><li> **true**:隐藏企业认证页面导航栏</li>
|
|
6533
|
+
<li> **false**:显示企业认证页面导航栏(默认)</li></ul>
|
|
6534
|
+
*/
|
|
6535
|
+
HideAuthenticateNavigationBar?: boolean
|
|
6536
|
+
/**
|
|
6537
|
+
* 隐藏企业认证顶部logo,取值如下:
|
|
6538
|
+
<ul><li> **true**:隐藏企业认证顶部logo</li>
|
|
6539
|
+
<li> **false**:显示企业认证顶部logo(默认)</li></ul>
|
|
6540
|
+
*/
|
|
6541
|
+
HideAuthenticateTopLogo?: boolean
|
|
6542
|
+
}
|
|
6543
|
+
|
|
6239
6544
|
/**
|
|
6240
6545
|
* ChannelCreateFlowGroupByFiles返回参数结构体
|
|
6241
6546
|
*/
|
|
@@ -6930,275 +7235,23 @@ export interface ChannelCreateFlowGroupByTemplatesRequest {
|
|
|
6930
7235
|
}
|
|
6931
7236
|
|
|
6932
7237
|
/**
|
|
6933
|
-
*
|
|
6934
|
-
|
|
6935
|
-
当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容
|
|
6936
|
-
```
|
|
6937
|
-
FormField输入示例:
|
|
6938
|
-
{
|
|
6939
|
-
"ComponentId": "componentId1",
|
|
6940
|
-
"ComponentValue": "文本内容"
|
|
6941
|
-
}
|
|
6942
|
-
```
|
|
6943
|
-
当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。
|
|
6944
|
-
```
|
|
6945
|
-
FormField输入示例:
|
|
6946
|
-
{
|
|
6947
|
-
"ComponentId": "componentId1",
|
|
6948
|
-
"ComponentValue": "多行文本内容"
|
|
6949
|
-
}
|
|
6950
|
-
```
|
|
6951
|
-
当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本
|
|
6952
|
-
```
|
|
6953
|
-
FormField输入示例:
|
|
6954
|
-
{
|
|
6955
|
-
"ComponentId": "componentId1",
|
|
6956
|
-
"ComponentValue": "true"
|
|
6957
|
-
}
|
|
6958
|
-
```
|
|
6959
|
-
当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID
|
|
6960
|
-
```
|
|
6961
|
-
FormField输入示例:
|
|
6962
|
-
{
|
|
6963
|
-
"ComponentId": "componentId1",
|
|
6964
|
-
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
6965
|
-
}
|
|
6966
|
-
```
|
|
6967
|
-
当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;
|
|
6968
|
-
```
|
|
6969
|
-
FormField输入示例:
|
|
6970
|
-
{
|
|
6971
|
-
"ComponentId": "componentId1",
|
|
6972
|
-
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3"
|
|
6973
|
-
}
|
|
6974
|
-
```
|
|
6975
|
-
当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;
|
|
6976
|
-
```
|
|
6977
|
-
FormField输入示例:
|
|
6978
|
-
{
|
|
6979
|
-
"ComponentId": "componentId1",
|
|
6980
|
-
"ComponentValue": "选择的内容"
|
|
6981
|
-
}
|
|
6982
|
-
```
|
|
6983
|
-
当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;
|
|
6984
|
-
```
|
|
6985
|
-
FormField输入示例:
|
|
6986
|
-
{
|
|
6987
|
-
"ComponentId": "componentId1",
|
|
6988
|
-
"ComponentValue": "2023年01月01日"
|
|
6989
|
-
}
|
|
6990
|
-
```
|
|
6991
|
-
当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;
|
|
6992
|
-
```
|
|
6993
|
-
FormField输入示例:
|
|
6994
|
-
{
|
|
6995
|
-
"ComponentId": "componentId1",
|
|
6996
|
-
"ComponentValue": "广东省深圳市福田区"
|
|
6997
|
-
}
|
|
6998
|
-
```
|
|
6999
|
-
【数据表格传参说明】
|
|
7000
|
-
当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
|
7001
|
-
输入示例1:
|
|
7002
|
-
|
|
7003
|
-
```
|
|
7004
|
-
{
|
|
7005
|
-
"headers":[
|
|
7006
|
-
{
|
|
7007
|
-
"content":"head1"
|
|
7008
|
-
},
|
|
7009
|
-
{
|
|
7010
|
-
"content":"head2"
|
|
7011
|
-
},
|
|
7012
|
-
{
|
|
7013
|
-
"content":"head3"
|
|
7014
|
-
}
|
|
7015
|
-
],
|
|
7016
|
-
"rowCount":3,
|
|
7017
|
-
"body":{
|
|
7018
|
-
"cells":[
|
|
7019
|
-
{
|
|
7020
|
-
"rowStart":1,
|
|
7021
|
-
"rowEnd":1,
|
|
7022
|
-
"columnStart":1,
|
|
7023
|
-
"columnEnd":1,
|
|
7024
|
-
"content":"123"
|
|
7025
|
-
},
|
|
7026
|
-
{
|
|
7027
|
-
"rowStart":2,
|
|
7028
|
-
"rowEnd":3,
|
|
7029
|
-
"columnStart":1,
|
|
7030
|
-
"columnEnd":2,
|
|
7031
|
-
"content":"456"
|
|
7032
|
-
},
|
|
7033
|
-
{
|
|
7034
|
-
"rowStart":3,
|
|
7035
|
-
"rowEnd":3,
|
|
7036
|
-
"columnStart":3,
|
|
7037
|
-
"columnEnd":3,
|
|
7038
|
-
"content":"789"
|
|
7039
|
-
}
|
|
7040
|
-
]
|
|
7041
|
-
}
|
|
7042
|
-
}
|
|
7043
|
-
|
|
7044
|
-
```
|
|
7045
|
-
|
|
7046
|
-
输入示例2(表格表头宽度比例配置):
|
|
7047
|
-
|
|
7048
|
-
```
|
|
7049
|
-
{
|
|
7050
|
-
"headers":[
|
|
7051
|
-
{
|
|
7052
|
-
"content":"head1",
|
|
7053
|
-
"widthPercent": 30
|
|
7054
|
-
},
|
|
7055
|
-
{
|
|
7056
|
-
"content":"head2",
|
|
7057
|
-
"widthPercent": 30
|
|
7058
|
-
},
|
|
7059
|
-
{
|
|
7060
|
-
"content":"head3",
|
|
7061
|
-
"widthPercent": 40
|
|
7062
|
-
}
|
|
7063
|
-
],
|
|
7064
|
-
"rowCount":3,
|
|
7065
|
-
"body":{
|
|
7066
|
-
"cells":[
|
|
7067
|
-
{
|
|
7068
|
-
"rowStart":1,
|
|
7069
|
-
"rowEnd":1,
|
|
7070
|
-
"columnStart":1,
|
|
7071
|
-
"columnEnd":1,
|
|
7072
|
-
"content":"123"
|
|
7073
|
-
},
|
|
7074
|
-
{
|
|
7075
|
-
"rowStart":2,
|
|
7076
|
-
"rowEnd":3,
|
|
7077
|
-
"columnStart":1,
|
|
7078
|
-
"columnEnd":2,
|
|
7079
|
-
"content":"456"
|
|
7080
|
-
},
|
|
7081
|
-
{
|
|
7082
|
-
"rowStart":3,
|
|
7083
|
-
"rowEnd":3,
|
|
7084
|
-
"columnStart":3,
|
|
7085
|
-
"columnEnd":3,
|
|
7086
|
-
"content":"789"
|
|
7087
|
-
}
|
|
7088
|
-
]
|
|
7089
|
-
}
|
|
7090
|
-
}
|
|
7091
|
-
|
|
7092
|
-
```
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
输入示例3(表格设置字体加粗颜色):
|
|
7096
|
-
|
|
7097
|
-
```
|
|
7098
|
-
{
|
|
7099
|
-
"headers":[
|
|
7100
|
-
{
|
|
7101
|
-
"content":"head1"
|
|
7102
|
-
},
|
|
7103
|
-
{
|
|
7104
|
-
"content":"head2"
|
|
7105
|
-
},
|
|
7106
|
-
{
|
|
7107
|
-
"content":"head3"
|
|
7108
|
-
}
|
|
7109
|
-
],
|
|
7110
|
-
"rowCount":3,
|
|
7111
|
-
"body":{
|
|
7112
|
-
"cells":[
|
|
7113
|
-
{
|
|
7114
|
-
"rowStart":1,
|
|
7115
|
-
"rowEnd":1,
|
|
7116
|
-
"columnStart":1,
|
|
7117
|
-
"columnEnd":1,
|
|
7118
|
-
"content":"123",
|
|
7119
|
-
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "CENTER"}
|
|
7120
|
-
},
|
|
7121
|
-
{
|
|
7122
|
-
"rowStart":2,
|
|
7123
|
-
"rowEnd":3,
|
|
7124
|
-
"columnStart":1,
|
|
7125
|
-
"columnEnd":2,
|
|
7126
|
-
"content":"456",
|
|
7127
|
-
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "LEFT"}
|
|
7128
|
-
},
|
|
7129
|
-
{
|
|
7130
|
-
"rowStart":3,
|
|
7131
|
-
"rowEnd":3,
|
|
7132
|
-
"columnStart":3,
|
|
7133
|
-
"columnEnd":3,
|
|
7134
|
-
"content":"789",
|
|
7135
|
-
"style": {"color": "#b500bf", "fontSize": 12,"bold": false,"align": "RIGHT"}
|
|
7136
|
-
}
|
|
7137
|
-
]
|
|
7138
|
-
}
|
|
7139
|
-
}
|
|
7140
|
-
|
|
7141
|
-
```
|
|
7142
|
-
|
|
7143
|
-
表格参数说明
|
|
7144
|
-
|
|
7145
|
-
| 名称 | 类型 | 描述 |
|
|
7146
|
-
| ------------------- | ------- | ------------------------------------------------- |
|
|
7147
|
-
| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
|
7148
|
-
| rowCount | Integer | 表格内容最大行数 |
|
|
7149
|
-
| cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
|
7150
|
-
| cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
|
7151
|
-
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
7152
|
-
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
7153
|
-
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
7154
|
-
| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"#FFFFFF","bold":true,"align":"CENTER"} |
|
|
7155
|
-
|
|
7156
|
-
表格参数headers说明
|
|
7157
|
-
widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
|
|
7158
|
-
|
|
7159
|
-
content String 表头单元格内容,字数不超过100
|
|
7160
|
-
|
|
7161
|
-
style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "#FFFFFF" 或者 "0xFFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
|
|
7238
|
+
* CreateBatchInitOrganizationUrl请求参数结构体
|
|
7162
7239
|
*/
|
|
7163
|
-
export interface
|
|
7164
|
-
/**
|
|
7165
|
-
* 控件填充值,ComponentType和传入值格式对应关系如下:
|
|
7166
|
-
<ul><li> <b>TEXT</b> : 文本内容</li>
|
|
7167
|
-
<li> <b>MULTI_LINE_TEXT</b> : 文本内容, 可以用 \n 来控制换行位置</li>
|
|
7168
|
-
<li> <b>CHECK_BOX</b> : true/false</li>
|
|
7169
|
-
<li> <b>FILL_IMAGE、ATTACHMENT</b> : 附件的FileId,需要通过UploadFiles接口上传获取</li>
|
|
7170
|
-
<li> <b>SELECTOR</b> : 选项值</li>
|
|
7171
|
-
<li> <b>DYNAMIC_TABLE</b> - 传入json格式的表格内容,详见说明:[数据表格](https://qian.tencent.com/developers/partner/dynamic_table)</li>
|
|
7172
|
-
<li> <b>DATE</b> : 格式化:xxxx年xx月xx日(例如:2024年05月28日)</li>
|
|
7173
|
-
<li> <b>DISTRICT </b> : 省市区行政区控件,需填写ComponentValue为省市区行政区字符串内容</li>
|
|
7174
|
-
</ul>
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
<b>控件值约束说明</b>:
|
|
7178
|
-
<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> </tbody> </table>
|
|
7179
|
-
|
|
7180
|
-
*/
|
|
7181
|
-
ComponentValue: string
|
|
7240
|
+
export interface CreateBatchInitOrganizationUrlRequest {
|
|
7182
7241
|
/**
|
|
7183
|
-
*
|
|
7184
|
-
CreateFlowsByTemplates 接口不使用此字段。
|
|
7185
|
-
|
|
7186
|
-
<a href="https://dyn.ess.tencent.cn/guide/apivideo/channel_component_name.mp4" target="_blank">点击此处查看模板上控件ID的获取方式</a>
|
|
7187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7242
|
+
* 应用相关信息。 此接口Agent.AppId 必填。
|
|
7188
7243
|
*/
|
|
7189
|
-
|
|
7244
|
+
Agent: Agent
|
|
7190
7245
|
/**
|
|
7191
|
-
*
|
|
7192
|
-
|
|
7193
|
-
<
|
|
7194
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7246
|
+
* 初始化操作类型
|
|
7247
|
+
<ul><li>CREATE_SEAL : 创建印章</li>
|
|
7248
|
+
<li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
|
|
7195
7249
|
*/
|
|
7196
|
-
|
|
7250
|
+
OperateTypes: Array<string>
|
|
7197
7251
|
/**
|
|
7198
|
-
*
|
|
7199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7252
|
+
* 批量操作的企业列表在第三方平台的企业Id列表,即ProxyOrganizationOpenId列表,最大支持50个
|
|
7200
7253
|
*/
|
|
7201
|
-
|
|
7254
|
+
ProxyOrganizationOpenIds: Array<string>
|
|
7202
7255
|
}
|
|
7203
7256
|
|
|
7204
7257
|
/**
|