tencentcloud-sdk-nodejs-essbasic 4.0.482 → 4.0.485
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 +765 -0
- package/SERVICE_CHANGELOG.md +1093 -354
- package/package.json +1 -1
- package/products.md +50 -50
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +130 -4
- 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 +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +121 -4
|
@@ -72,6 +72,10 @@ export interface ChannelCreateFlowSignReviewRequest {
|
|
|
72
72
|
当ReviewType 是REJECT 时此字段必填,字符串长度不超过200
|
|
73
73
|
*/
|
|
74
74
|
ReviewMessage?: string;
|
|
75
|
+
/**
|
|
76
|
+
* 签署节点审核时需要指定
|
|
77
|
+
*/
|
|
78
|
+
RecipientId?: string;
|
|
75
79
|
}
|
|
76
80
|
/**
|
|
77
81
|
* 授权出错信息
|
|
@@ -755,7 +759,7 @@ export interface TemplateInfo {
|
|
|
755
759
|
*/
|
|
756
760
|
CreatedOn: number;
|
|
757
761
|
/**
|
|
758
|
-
*
|
|
762
|
+
* 模板的H5预览链接,可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
|
|
759
763
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
764
|
*/
|
|
761
765
|
PreviewUrl: string;
|
|
@@ -1089,8 +1093,8 @@ export interface FormField {
|
|
|
1089
1093
|
* 此结构体 (FlowInfo) 用于描述签署流程信息。
|
|
1090
1094
|
|
|
1091
1095
|
【动态表格传参说明】
|
|
1092
|
-
当模板的 ComponentType='DYNAMIC_TABLE'
|
|
1093
|
-
输入示例
|
|
1096
|
+
当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
|
|
1097
|
+
输入示例1:
|
|
1094
1098
|
|
|
1095
1099
|
```
|
|
1096
1100
|
{
|
|
@@ -1135,6 +1139,53 @@ export interface FormField {
|
|
|
1135
1139
|
|
|
1136
1140
|
```
|
|
1137
1141
|
|
|
1142
|
+
输入示例2(表格表头宽度比例配置):
|
|
1143
|
+
|
|
1144
|
+
```
|
|
1145
|
+
{
|
|
1146
|
+
"headers":[
|
|
1147
|
+
{
|
|
1148
|
+
"content":"head1",
|
|
1149
|
+
"widthPercent": 30
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"content":"head2",
|
|
1153
|
+
"widthPercent": 30
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"content":"head3",
|
|
1157
|
+
"widthPercent": 40
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
"rowCount":3,
|
|
1161
|
+
"body":{
|
|
1162
|
+
"cells":[
|
|
1163
|
+
{
|
|
1164
|
+
"rowStart":1,
|
|
1165
|
+
"rowEnd":1,
|
|
1166
|
+
"columnStart":1,
|
|
1167
|
+
"columnEnd":1,
|
|
1168
|
+
"content":"123"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"rowStart":2,
|
|
1172
|
+
"rowEnd":3,
|
|
1173
|
+
"columnStart":1,
|
|
1174
|
+
"columnEnd":2,
|
|
1175
|
+
"content":"456"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"rowStart":3,
|
|
1179
|
+
"rowEnd":3,
|
|
1180
|
+
"columnStart":3,
|
|
1181
|
+
"columnEnd":3,
|
|
1182
|
+
"content":"789"
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
```
|
|
1138
1189
|
表格参数说明
|
|
1139
1190
|
|
|
1140
1191
|
| 名称 | 类型 | 描述 |
|
|
@@ -1147,6 +1198,12 @@ export interface FormField {
|
|
|
1147
1198
|
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
1148
1199
|
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
1149
1200
|
|
|
1201
|
+
表格参数headers说明
|
|
1202
|
+
| 名称 | 类型 | 描述 |
|
|
1203
|
+
| ------------------- | ------- | ------------------------------------------------- |
|
|
1204
|
+
| widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
|
|
1205
|
+
| content | String | 表头单元格内容,字数不超过100 |
|
|
1206
|
+
|
|
1150
1207
|
*/
|
|
1151
1208
|
export interface FlowInfo {
|
|
1152
1209
|
/**
|
|
@@ -1325,6 +1382,24 @@ export interface Staff {
|
|
|
1325
1382
|
*/
|
|
1326
1383
|
VerifiedOn: number;
|
|
1327
1384
|
}
|
|
1385
|
+
/**
|
|
1386
|
+
* ChannelCreateBoundFlows请求参数结构体
|
|
1387
|
+
*/
|
|
1388
|
+
export interface ChannelCreateBoundFlowsRequest {
|
|
1389
|
+
/**
|
|
1390
|
+
* 应用信息
|
|
1391
|
+
此接口Agent.AppId、Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
|
|
1392
|
+
*/
|
|
1393
|
+
Agent: Agent;
|
|
1394
|
+
/**
|
|
1395
|
+
* 领取的合同id列表
|
|
1396
|
+
*/
|
|
1397
|
+
FlowIds?: Array<string>;
|
|
1398
|
+
/**
|
|
1399
|
+
* 操作者的信息
|
|
1400
|
+
*/
|
|
1401
|
+
Operator?: UserInfo;
|
|
1402
|
+
}
|
|
1328
1403
|
/**
|
|
1329
1404
|
* ChannelDescribeEmployees请求参数结构体
|
|
1330
1405
|
*/
|
|
@@ -2071,7 +2146,8 @@ export interface Component {
|
|
|
2071
2146
|
DYNAMIC_TABLE - 动态表格控件;
|
|
2072
2147
|
ATTACHMENT - 附件控件;
|
|
2073
2148
|
SELECTOR - 选择器控件;
|
|
2074
|
-
DATE - 日期控件;默认是格式化为xxxx年xx月xx
|
|
2149
|
+
DATE - 日期控件;默认是格式化为xxxx年xx月xx日;
|
|
2150
|
+
DISTRICT - 省市区行政区划控件;
|
|
2075
2151
|
|
|
2076
2152
|
如果是SignComponent控件类型,则可选的字段为
|
|
2077
2153
|
SIGN_SEAL - 签署印章控件;
|
|
@@ -2130,12 +2206,27 @@ export interface Component {
|
|
|
2130
2206
|
ComponentPosY?: number;
|
|
2131
2207
|
/**
|
|
2132
2208
|
* 参数控件样式,json格式表述
|
|
2209
|
+
|
|
2133
2210
|
不同类型的控件会有部分非通用参数
|
|
2211
|
+
|
|
2134
2212
|
TEXT/MULTI_LINE_TEXT控件可以指定
|
|
2135
2213
|
1 Font:目前只支持黑体、宋体
|
|
2136
2214
|
2 FontSize: 范围12-72
|
|
2137
2215
|
3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
|
|
2138
2216
|
例如:{"FontSize":12}
|
|
2217
|
+
|
|
2218
|
+
ComponentType为FILL_IMAGE时,支持以下参数:
|
|
2219
|
+
NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
|
|
2220
|
+
FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
|
|
2221
|
+
|
|
2222
|
+
ComponentType为SIGN_SIGNATURE类型可以控制签署方式
|
|
2223
|
+
{“ComponentTypeLimit”: [“xxx”]}
|
|
2224
|
+
xxx可以为:
|
|
2225
|
+
HANDWRITE – 手写签名
|
|
2226
|
+
BORDERLESS_ESIGN – 自动生成无边框腾讯体
|
|
2227
|
+
OCR_ESIGN -- AI智能识别手写签名
|
|
2228
|
+
ESIGN -- 个人印章类型
|
|
2229
|
+
如:{“ComponentTypeLimit”: [“BORDERLESS_ESIGN”]}
|
|
2139
2230
|
*/
|
|
2140
2231
|
ComponentExtra?: string;
|
|
2141
2232
|
/**
|
|
@@ -2173,6 +2264,18 @@ export interface Component {
|
|
|
2173
2264
|
* 指定关键字时纵坐标偏移量,单位pt
|
|
2174
2265
|
*/
|
|
2175
2266
|
OffsetY?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
* 指定关键字页码
|
|
2269
|
+
*/
|
|
2270
|
+
KeywordPage?: number;
|
|
2271
|
+
/**
|
|
2272
|
+
* 关键字位置模式
|
|
2273
|
+
*/
|
|
2274
|
+
RelativeLocation?: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* 关键字索引
|
|
2277
|
+
*/
|
|
2278
|
+
KeywordIndexes?: Array<number>;
|
|
2176
2279
|
}
|
|
2177
2280
|
/**
|
|
2178
2281
|
* GetDownloadFlowUrl请求参数结构体
|
|
@@ -2411,6 +2514,11 @@ export interface UsageDetail {
|
|
|
2411
2514
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2412
2515
|
*/
|
|
2413
2516
|
Cancel: number;
|
|
2517
|
+
/**
|
|
2518
|
+
* 消耗渠道
|
|
2519
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2520
|
+
*/
|
|
2521
|
+
FlowChannel: string;
|
|
2414
2522
|
}
|
|
2415
2523
|
/**
|
|
2416
2524
|
* ChannelCreateBatchCancelFlowUrl返回参数结构体
|
|
@@ -2504,6 +2612,15 @@ export interface ChannelDescribeEmployeesResponse {
|
|
|
2504
2612
|
*/
|
|
2505
2613
|
RequestId?: string;
|
|
2506
2614
|
}
|
|
2615
|
+
/**
|
|
2616
|
+
* ChannelCreateBoundFlows返回参数结构体
|
|
2617
|
+
*/
|
|
2618
|
+
export interface ChannelCreateBoundFlowsResponse {
|
|
2619
|
+
/**
|
|
2620
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2621
|
+
*/
|
|
2622
|
+
RequestId?: string;
|
|
2623
|
+
}
|
|
2507
2624
|
/**
|
|
2508
2625
|
* 抄送信息
|
|
2509
2626
|
*/
|