tencentcloud-sdk-nodejs-essbasic 4.0.463 → 4.0.469

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.
@@ -50,7 +50,7 @@ class Client extends TencentCloudCommon.AbstractClient {
50
50
  return this.request("ChannelCreateFlowByFiles", req, cb);
51
51
  }
52
52
  /**
53
- * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
53
+ * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,请联系运营/客服咨询相关流程
54
54
  */
55
55
  async CreateSealByImage(req, cb) {
56
56
  return this.request("CreateSealByImage", req, cb);
@@ -75,15 +75,40 @@ class Client extends TencentCloudCommon.AbstractClient {
75
75
  return this.request("DescribeUsage", req, cb);
76
76
  }
77
77
  /**
78
- * 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
78
+ * 渠道版撤销签署流程接口
79
+ 注意:
80
+ 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
79
81
 
82
+ */
83
+ async ChannelCancelFlow(req, cb) {
84
+ return this.request("ChannelCancelFlow", req, cb);
85
+ }
86
+ /**
87
+ * 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
88
+ 合同发起人必须在电子签已经进行实名。
80
89
  */
81
90
  async CreateFlowsByTemplates(req, cb) {
82
91
  return this.request("CreateFlowsByTemplates", req, cb);
83
92
  }
84
93
  /**
85
- * 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
86
- */
94
+ * 创建跳转小程序查看或签署的链接。
95
+
96
+ 跳转小程序的几种方式:主要是设置不同的EndPoint
97
+ 1. 通过链接Url直接跳转到小程序,不需要返回
98
+ 设置EndPoint为WEIXINAPP,得到链接打开即可。(与短信提醒用户签署形式一样)。
99
+ 2. 通过链接Url打开H5引导页-->点击跳转到小程序-->签署完退出小程序-->回到H5引导页-->跳转到指定JumpUrl
100
+ 设置EndPoint为CHANNEL,指定JumpUrl,得到链接打开即可。
101
+ 3. 客户App直接跳转到小程序-->小程序签署完成-->返回App
102
+ 跳转到小程序的实现,参考官方文档(分为全屏、半屏两种方式)
103
+ 全屏方式:
104
+ (https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html)
105
+ 半屏方式:
106
+ (https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html)
107
+ 其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
108
+ 使用CreateSignUrls,设置EndPoint为APP,得到path。
109
+ 4. 客户小程序直接跳到电子签小程序-->签署完成退出电子签小程序-->回到客户小程序
110
+ 实现方式同App跳小程序。
111
+ */
87
112
  async CreateSignUrls(req, cb) {
88
113
  return this.request("CreateSignUrls", req, cb);
89
114
  }
@@ -92,7 +117,7 @@ class Client extends TencentCloudCommon.AbstractClient {
92
117
  若子客企业未激活,会进入企业激活流程,首次参与激活流程的经办人会成为超管。(若企业激活过程中填写信息有误,需要重置激活流程,可以换一个经办人OpenId获取新的链接进入。)
93
118
  若子客企业已激活,使用了新的经办人OpenId进入,则会进入经办人的实名流程。
94
119
  若子客企业、经办人均已完成认证,则会直接进入子客Web控制台。
95
-
120
+ 返回的Url仅支持PC端操作。
96
121
  */
97
122
  async CreateConsoleLoginUrl(req, cb) {
98
123
  return this.request("CreateConsoleLoginUrl", req, cb);
@@ -158,19 +183,20 @@ class Client extends TencentCloudCommon.AbstractClient {
158
183
  /**
159
184
  * 该接口 (PrepareFlows) 用于创建待发起文件
160
185
  用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
161
- 目前该接口只支持B2C,不建议使用。
186
+ 目前该接口只支持B2C,不建议使用,将会废弃。
162
187
  */
163
188
  async PrepareFlows(req, cb) {
164
189
  return this.request("PrepareFlows", req, cb);
165
190
  }
166
191
  /**
167
- * 根据签署流程信息批量获取资源下载链接,需合作企业先进行授权
168
- */
192
+ * 根据签署流程信息批量获取资源下载链接,可以下载签署中、签署完的合同,需合作企业先进行授权。
193
+ 此接口直接返回下载的资源的url,与接口GetDownloadFlowUrl跳转到控制台的下载方式不同。
194
+ */
169
195
  async DescribeResourceUrlsByFlows(req, cb) {
170
196
  return this.request("DescribeResourceUrlsByFlows", req, cb);
171
197
  }
172
198
  /**
173
- * 通过此接口(DescribeTemplates)查询该子客企业在电子签拥有的的有效模板,不包括渠道模版
199
+ * 通过此接口(DescribeTemplates)查询该子客企业在电子签拥有的有效模板,不包括渠道模板
174
200
  */
175
201
  async DescribeTemplates(req, cb) {
176
202
  return this.request("DescribeTemplates", req, cb);
@@ -80,7 +80,17 @@ export interface PdfVerifyResult {
80
80
  ComponentPage: number;
81
81
  }
82
82
  /**
83
- * 创建签署流程签署人入参
83
+ * 创建签署流程签署人入参。
84
+
85
+ 其中签署方FlowApproverInfo需要传递的参数
86
+ 非单C、单B、B2C合同,ApproverType、RecipientId(模板发起合同时)必传,建议都传。其他身份标识
87
+ 1-个人:Name、Mobile必传
88
+ 2-渠道子客企业指定经办人:OpenId必传,OrgName必传、OrgOpenId必传;
89
+ 3-渠道合作企业不指定经办人:(暂不支持)
90
+ 4-非渠道合作企业:Name、Mobile必传,OrgName必传,且NotChannelOrganization=True。
91
+
92
+ RecipientId参数:
93
+ 从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId
84
94
  */
85
95
  export interface FlowApproverInfo {
86
96
  /**
@@ -124,7 +134,7 @@ export interface FlowApproverInfo {
124
134
  PERSON_AUTO_SIGN-个人自动签;
125
135
  ORGANIZATION-企业;
126
136
  ENTERPRISESERVER-企业静默签;
127
- 注:ENTERPRISESERVER 类型仅用于使用文件创建签署流程(ChannelCreateFlowByFiles)接口;并且仅能指定发起方企业签署方为静默签署;
137
+ 注:ENTERPRISESERVER 类型仅用于使用文件创建签署流程(ChannelCreateFlowByFiles)接口;
128
138
  */
129
139
  ApproverType?: string;
130
140
  /**
@@ -155,6 +165,14 @@ export interface FlowApproverInfo {
155
165
  * 签署完前端跳转的url,暂未使用
156
166
  */
157
167
  JumpUrl?: string;
168
+ /**
169
+ * 签署人个性化能力值
170
+ */
171
+ ApproverOption?: ApproverOption;
172
+ /**
173
+ * 当前签署方进行签署操作是否需要企业内部审批,true 则为需要
174
+ */
175
+ ApproverNeedSignReview?: boolean;
158
176
  }
159
177
  /**
160
178
  * ChannelCreateConvertTaskApi返回参数结构体
@@ -256,8 +274,9 @@ export interface ChannelDescribeEmployeesRequest {
256
274
  */
257
275
  Agent?: Agent;
258
276
  /**
259
- * 查询过滤实名用户,key为Status,Values为["IsVerified"]
260
- */
277
+ * 查询过滤实名用户,Key为Status,Values为["IsVerified"]
278
+ 根据第三方系统openId过滤查询员工时,Key为StaffOpenId,Values为["OpenId","OpenId",...]
279
+ */
261
280
  Filters?: Array<Filter>;
262
281
  /**
263
282
  * 偏移量,默认为0,最大为20000
@@ -278,13 +297,19 @@ export interface SyncProxyOrganizationResponse {
278
297
  RequestId?: string;
279
298
  }
280
299
  /**
281
- * ChannelBatchCancelFlows返回参数结构体
300
+ * ChannelCreateFlowGroupByFiles返回参数结构体
282
301
  */
283
- export interface ChannelBatchCancelFlowsResponse {
302
+ export interface ChannelCreateFlowGroupByFilesResponse {
284
303
  /**
285
- * 签署流程批量撤销失败原因,错误信息与流程Id一一对应,如果部分流程不可撤销,不会返回错误信息,只会撤销可撤销流程
286
- */
287
- FailMessages: Array<string>;
304
+ * 合同组ID
305
+ 注意:此字段可能返回 null,表示取不到有效值。
306
+ */
307
+ FlowGroupId: string;
308
+ /**
309
+ * 子合同ID列表
310
+ 注意:此字段可能返回 null,表示取不到有效值。
311
+ */
312
+ FlowIds: Array<string>;
288
313
  /**
289
314
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
290
315
  */
@@ -363,6 +388,15 @@ export interface ChannelCreateMultiFlowSignQRCodeResponse {
363
388
  */
364
389
  RequestId?: string;
365
390
  }
391
+ /**
392
+ * 签署人个性化能力信息
393
+ */
394
+ export interface ApproverOption {
395
+ /**
396
+ * 是否隐藏一键签署 false-不隐藏,默认 true-隐藏
397
+ */
398
+ HideOneKeySign?: boolean;
399
+ }
366
400
  /**
367
401
  * 签署参与者信息
368
402
  */
@@ -512,7 +546,7 @@ export interface CreateSignUrlsRequest {
512
546
  Endpoint?: string;
513
547
  /**
514
548
  * 签署链接生成类型,默认是 "ALL";
515
- "ALL":全部签署方签署链接;
549
+ "ALL":全部签署方签署链接,此时不会给自动签署的签署方创建签署链接;
516
550
  "CHANNEL":渠道合作企业;
517
551
  "NOT_CHANNEL":非渠道合作企业;
518
552
  "PERSON":个人;
@@ -582,20 +616,24 @@ export interface ChannelCreateMultiFlowSignQRCodeRequest {
582
616
  * 二维码有效天数 默认7天 最高设置不超过90天
583
617
  */
584
618
  QrEffectiveDay?: number;
619
+ /**
620
+ * 限制二维码用户条件
621
+ */
622
+ Restrictions?: Array<ApproverRestriction>;
585
623
  /**
586
624
  * 回调地址,最大长度1000个字符
587
625
  不传默认使用渠道应用号配置的回调地址
588
626
  回调时机:用户通过签署二维码发起合同时,企业额度不足导致失败
589
627
  */
590
628
  CallbackUrl?: string;
591
- /**
592
- * 限制二维码用户条件
593
- */
594
- ApproverRestrictions?: ApproverRestriction;
595
629
  /**
596
630
  * 用户信息
597
631
  */
598
632
  Operator?: UserInfo;
633
+ /**
634
+ * 限制二维码用户条件(已弃用)
635
+ */
636
+ ApproverRestrictions?: ApproverRestriction;
599
637
  }
600
638
  /**
601
639
  * 授权出错信息
@@ -688,32 +726,53 @@ export interface UploadFile {
688
726
  FileName?: string;
689
727
  }
690
728
  /**
691
- * 合作企业经办人列表信息
729
+ * 合同组中每个子合同的发起信息
692
730
  */
693
- export interface ProxyOrganizationOperator {
731
+ export interface FlowFileInfo {
694
732
  /**
695
- * 经办人ID(渠道颁发),最大长度64个字符
733
+ * 签署文件资源Id列表,目前仅支持单个文件
696
734
  */
697
- Id: string;
735
+ FileIds: Array<string>;
698
736
  /**
699
- * 经办人姓名,最大长度50个字符
737
+ * 签署流程名称,长度不超过200个字符
700
738
  */
701
- Name?: string;
739
+ FlowName: string;
702
740
  /**
703
- * 经办人身份证件类型
704
- 1.ID_CARD 居民身份证
705
- 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
706
- 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
707
- */
708
- IdCardType?: string;
741
+ * 签署流程签约方列表,最多不超过5个参与方
742
+ */
743
+ FlowApprovers: Array<FlowApproverInfo>;
709
744
  /**
710
- * 经办人证件号
745
+ * 签署流程截止时间,十位数时间戳,最大值为33162419560,即3020年
711
746
  */
712
- IdCardNumber?: string;
747
+ Deadline?: number;
713
748
  /**
714
- * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
749
+ * 签署流程的描述,长度不超过1000个字符
715
750
  */
716
- Mobile?: string;
751
+ FlowDescription?: string;
752
+ /**
753
+ * 签署流程的类型,长度不超过255个字符
754
+ */
755
+ FlowType?: string;
756
+ /**
757
+ * 签署流程回调地址,长度不超过255个字符
758
+ */
759
+ CallbackUrl?: string;
760
+ /**
761
+ * 渠道的业务信息,最大长度1000个字符。发起自动签署时,需设置对应自动签署场景,目前仅支持场景:处方单-E_PRESCRIPTION_AUTO_SIGN
762
+ */
763
+ CustomerData?: string;
764
+ /**
765
+ * 合同签署顺序类型(无序签,顺序签),默认为false,即有序签署
766
+ */
767
+ Unordered?: boolean;
768
+ /**
769
+ * 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
770
+ */
771
+ CustomShowMap?: string;
772
+ /**
773
+ * 本企业(发起方企业)是否需要签署审批
774
+ */
775
+ NeedSignReview?: boolean;
717
776
  }
718
777
  /**
719
778
  * ChannelGetTaskResultApi请求参数结构体
@@ -759,12 +818,12 @@ export interface ChannelVerifyPdfResponse {
759
818
  */
760
819
  export interface SignUrlInfo {
761
820
  /**
762
- * 签署链接
821
+ * 签署链接,过期时间为30天
763
822
  注意:此字段可能返回 null,表示取不到有效值。
764
823
  */
765
824
  SignUrl: string;
766
825
  /**
767
- * 链接失效时间,默认30分钟
826
+ * 合同过期时间
768
827
  注意:此字段可能返回 null,表示取不到有效值。
769
828
  */
770
829
  Deadline: number;
@@ -829,6 +888,12 @@ export interface SignUrlInfo {
829
888
  /**
830
889
  * 此结构体 (Component) 用于描述控件属性。
831
890
 
891
+ 在通过文件发起合同时,对应的component有三种定位方式
892
+ 1. 绝对定位方式
893
+ 2. 表单域(FIELD)定位方式
894
+ 3. 关键字(KEYWORD)定位方式
895
+ 可以参考官网说明
896
+ https://cloud.tencent.com/document/product/1323/78346#component-.E4.B8.89.E7.A7.8D.E5.AE.9A.E4.BD.8D.E6.96.B9.E5.BC.8F.E8.AF.B4.E6.98.8E
832
897
  */
833
898
  export interface Component {
834
899
  /**
@@ -911,7 +976,10 @@ export interface Component {
911
976
  /**
912
977
  * 参数控件样式,json格式表述
913
978
  不同类型的控件会有部分非通用参数
914
- TEXT控件可以指定字体
979
+ TEXT/MULTI_LINE_TEXT控件可以指定
980
+ 1 Font:目前只支持黑体、宋体
981
+ 2 FontSize: 范围12-72
982
+ 3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
915
983
  例如:{"FontSize":12}
916
984
  */
917
985
  ComponentExtra?: string;
@@ -977,6 +1045,18 @@ export interface ChannelBatchCancelFlowsRequest {
977
1045
  * 签署流程Id数组,最多100个,超过100不处理
978
1046
  */
979
1047
  FlowIds: Array<string>;
1048
+ /**
1049
+ * 撤销理由
1050
+ */
1051
+ CancelMessage?: string;
1052
+ /**
1053
+ * 撤销理由自定义格式;选项:
1054
+ 0 默认格式
1055
+ 1 只保留身份信息:展示为【发起方】
1056
+ 2 保留身份信息+企业名称:展示为【发起方xxx公司】
1057
+ 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
1058
+ */
1059
+ CancelMessageFormat?: number;
980
1060
  /**
981
1061
  * 操作人信息
982
1062
  */
@@ -1173,6 +1253,34 @@ export interface DescribeUsageResponse {
1173
1253
  */
1174
1254
  RequestId?: string;
1175
1255
  }
1256
+ /**
1257
+ * 合作企业经办人列表信息
1258
+ */
1259
+ export interface ProxyOrganizationOperator {
1260
+ /**
1261
+ * 经办人ID(渠道颁发),最大长度64个字符
1262
+ */
1263
+ Id: string;
1264
+ /**
1265
+ * 经办人姓名,最大长度50个字符
1266
+ */
1267
+ Name?: string;
1268
+ /**
1269
+ * 经办人身份证件类型
1270
+ 1.ID_CARD 居民身份证
1271
+ 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
1272
+ 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
1273
+ */
1274
+ IdCardType?: string;
1275
+ /**
1276
+ * 经办人证件号
1277
+ */
1278
+ IdCardNumber?: string;
1279
+ /**
1280
+ * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
1281
+ */
1282
+ Mobile?: string;
1283
+ }
1176
1284
  /**
1177
1285
  * SyncProxyOrganizationOperators返回参数结构体
1178
1286
  */
@@ -1224,6 +1332,24 @@ export interface ChannelVerifyPdfRequest {
1224
1332
  */
1225
1333
  Operator?: UserInfo;
1226
1334
  }
1335
+ /**
1336
+ * DescribeResourceUrlsByFlows请求参数结构体
1337
+ */
1338
+ export interface DescribeResourceUrlsByFlowsRequest {
1339
+ /**
1340
+ * 渠道应用相关信息。
1341
+ 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1342
+ */
1343
+ Agent: Agent;
1344
+ /**
1345
+ * 查询资源所对应的签署流程Id,最多支持50个
1346
+ */
1347
+ FlowIds?: Array<string>;
1348
+ /**
1349
+ * 操作者的信息
1350
+ */
1351
+ Operator?: UserInfo;
1352
+ }
1227
1353
  /**
1228
1354
  * 流程对应资源链接信息
1229
1355
  */
@@ -1240,53 +1366,33 @@ export interface FlowResourceUrlInfo {
1240
1366
  ResourceUrlInfos: Array<ResourceUrlInfo>;
1241
1367
  }
1242
1368
  /**
1243
- * 合同组中每个子合同的发起信息
1369
+ * ChannelCancelFlow请求参数结构体
1244
1370
  */
1245
- export interface FlowFileInfo {
1246
- /**
1247
- * 签署文件资源Id列表,目前仅支持单个文件
1248
- */
1249
- FileIds: Array<string>;
1250
- /**
1251
- * 签署流程名称,长度不超过200个字符
1252
- */
1253
- FlowName: string;
1254
- /**
1255
- * 签署流程签约方列表,最多不超过5个参与方
1256
- */
1257
- FlowApprovers: Array<FlowApproverInfo>;
1258
- /**
1259
- * 签署流程截止时间,十位数时间戳,最大值为33162419560,即3020年
1260
- */
1261
- Deadline?: number;
1262
- /**
1263
- * 签署流程的描述,长度不超过1000个字符
1264
- */
1265
- FlowDescription?: string;
1371
+ export interface ChannelCancelFlowRequest {
1266
1372
  /**
1267
- * 签署流程的类型,长度不超过255个字符
1268
- */
1269
- FlowType?: string;
1270
- /**
1271
- * 签署流程回调地址,长度不超过255个字符
1373
+ * 签署流程编号
1272
1374
  */
1273
- CallbackUrl?: string;
1375
+ FlowId: string;
1274
1376
  /**
1275
- * 渠道的业务信息,最大长度1000个字符。发起自动签署时,需设置对应自动签署场景,目前仅支持场景:处方单-E_PRESCRIPTION_AUTO_SIGN
1377
+ * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1276
1378
  */
1277
- CustomerData?: string;
1379
+ Agent?: Agent;
1278
1380
  /**
1279
- * 合同签署顺序类型(无序签,顺序签),默认为false,即有序签署
1381
+ * 撤回原因,最大不超过200字符
1280
1382
  */
1281
- Unordered?: boolean;
1383
+ CancelMessage?: string;
1282
1384
  /**
1283
- * 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
1385
+ * 操作者的信息
1284
1386
  */
1285
- CustomShowMap?: string;
1387
+ Operator?: UserInfo;
1286
1388
  /**
1287
- * 本企业(发起方企业)是否需要签署审批
1288
- */
1289
- NeedSignReview?: boolean;
1389
+ * 撤销理由自定义格式;选项:
1390
+ 0 默认格式
1391
+ 1 只保留身份信息:展示为【发起方】
1392
+ 2 保留身份信息+企业名称:展示为【发起方xxx公司】
1393
+ 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
1394
+ */
1395
+ CancelMessageFormat?: number;
1290
1396
  }
1291
1397
  /**
1292
1398
  * DescribeTemplates请求参数结构体
@@ -1297,7 +1403,7 @@ export interface DescribeTemplatesRequest {
1297
1403
  */
1298
1404
  Agent: Agent;
1299
1405
  /**
1300
- * 模板唯一标识,查询单个模版时使用
1406
+ * 模板唯一标识,查询单个模板时使用
1301
1407
  */
1302
1408
  TemplateId?: string;
1303
1409
  /**
@@ -1351,11 +1457,13 @@ export interface SyncProxyOrganizationOperatorsRequest {
1351
1457
  */
1352
1458
  export interface CreateConsoleLoginUrlResponse {
1353
1459
  /**
1354
- * 子客Web控制台url,此链接5分钟内有效,且只能访问一次
1355
- */
1460
+ * 子客Web控制台url,此链接5分钟内有效,且只能访问一次。同时需要注意:
1461
+ 1. 此链接仅单次有效,使用后需要再次创建新的链接(部分聊天软件,如企业微信默认会对链接进行解析,此时需要使用类似“代码片段”的方式或者放到txt文件里发送链接);
1462
+ 2. 创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义
1463
+ */
1356
1464
  ConsoleUrl: string;
1357
1465
  /**
1358
- * 渠道子客企业是否已开通腾讯电子签。
1466
+ * 渠道子客企业是否已开通腾讯电子签
1359
1467
  */
1360
1468
  IsActivated: boolean;
1361
1469
  /**
@@ -1376,7 +1484,7 @@ export interface CreateFlowsByTemplatesRequest {
1376
1484
  */
1377
1485
  FlowInfos: Array<FlowInfo>;
1378
1486
  /**
1379
- * 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,则返回PreviewUrls
1487
+ * 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls(此Url返回的是PDF文件流 );
1380
1488
  预览链接有效期300秒;
1381
1489
  */
1382
1490
  NeedPreview?: boolean;
@@ -1480,19 +1588,13 @@ export interface SignUrl {
1480
1588
  HttpSignUrl: string;
1481
1589
  }
1482
1590
  /**
1483
- * ChannelCreateFlowGroupByFiles返回参数结构体
1591
+ * ChannelBatchCancelFlows返回参数结构体
1484
1592
  */
1485
- export interface ChannelCreateFlowGroupByFilesResponse {
1486
- /**
1487
- * 合同组ID
1488
- 注意:此字段可能返回 null,表示取不到有效值。
1489
- */
1490
- FlowGroupId: string;
1593
+ export interface ChannelBatchCancelFlowsResponse {
1491
1594
  /**
1492
- * 子合同ID列表
1493
- 注意:此字段可能返回 null,表示取不到有效值。
1494
- */
1495
- FlowIds: Array<string>;
1595
+ * 签署流程批量撤销失败原因,错误信息与流程Id一一对应,如果部分流程不可撤销,不会返回错误信息,只会撤销可撤销流程
1596
+ */
1597
+ FailMessages: Array<string>;
1496
1598
  /**
1497
1599
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1498
1600
  */
@@ -1569,22 +1671,13 @@ export interface ChannelCreateBatchCancelFlowUrlResponse {
1569
1671
  RequestId?: string;
1570
1672
  }
1571
1673
  /**
1572
- * DescribeResourceUrlsByFlows请求参数结构体
1674
+ * ChannelCancelFlow返回参数结构体
1573
1675
  */
1574
- export interface DescribeResourceUrlsByFlowsRequest {
1676
+ export interface ChannelCancelFlowResponse {
1575
1677
  /**
1576
- * 渠道应用相关信息。
1577
- 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1578
- */
1579
- Agent: Agent;
1580
- /**
1581
- * 查询资源所对应的签署流程Id,最多支持50个。
1582
- */
1583
- FlowIds?: Array<string>;
1584
- /**
1585
- * 操作者的信息
1678
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1586
1679
  */
1587
- Operator?: UserInfo;
1680
+ RequestId?: string;
1588
1681
  }
1589
1682
  /**
1590
1683
  * 签署流程下载信息