tencentcloud-sdk-nodejs-essbasic 4.0.259 → 4.0.263

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.
@@ -91,6 +91,11 @@ export interface FlowApproverInfo {
91
91
  * 用户侧第三方id
92
92
  */
93
93
  OpenId?: string
94
+
95
+ /**
96
+ * 合同的强制预览时间:3~300s,未指定则按合同页数计算
97
+ */
98
+ PreReadTime?: number
94
99
  }
95
100
 
96
101
  /**
@@ -108,6 +113,40 @@ export interface PrepareFlowsResponse {
108
113
  RequestId?: string
109
114
  }
110
115
 
116
+ /**
117
+ * 合作企业经办人列表信息
118
+ */
119
+ export interface ProxyOrganizationOperator {
120
+ /**
121
+ * 经办人ID(渠道颁发)
122
+ */
123
+ Id: string
124
+
125
+ /**
126
+ * 经办人姓名
127
+ */
128
+ Name?: string
129
+
130
+ /**
131
+ * 经办人身份证件类型
132
+ 用户证件类型:默认ID_CARD
133
+ 1. ID_CARD - 居民身份证
134
+ 2. HOUSEHOLD_REGISTER - 户口本
135
+ 3. TEMP_ID_CARD - 临时居民身份证
136
+ */
137
+ IdCardType?: string
138
+
139
+ /**
140
+ * 经办人身份证号
141
+ */
142
+ IdCardNumber?: string
143
+
144
+ /**
145
+ * 经办人手机号
146
+ */
147
+ Mobile?: string
148
+ }
149
+
111
150
  /**
112
151
  * 此结构体 (TemplateInfo) 用于描述模板的信息。
113
152
  */
@@ -156,6 +195,26 @@ export interface TemplateInfo {
156
195
  * 模板中的流程参与人信息
157
196
  */
158
197
  Recipients: Array<Recipient>
198
+
199
+ /**
200
+ * 是否是发起人
201
+ */
202
+ IsPromoter: boolean
203
+ }
204
+
205
+ /**
206
+ * GetDownloadFlowUrl返回参数结构体
207
+ */
208
+ export interface GetDownloadFlowUrlResponse {
209
+ /**
210
+ * 进入合同(流程)下载确认页面链接
211
+ */
212
+ DownLoadUrl: string
213
+
214
+ /**
215
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
216
+ */
217
+ RequestId?: string
159
218
  }
160
219
 
161
220
  /**
@@ -179,6 +238,51 @@ export interface DescribeResourceUrlsByFlowsResponse {
179
238
  RequestId?: string
180
239
  }
181
240
 
241
+ /**
242
+ * 签署参与者信息
243
+ */
244
+ export interface Recipient {
245
+ /**
246
+ * 签署人唯一标识
247
+ */
248
+ RecipientId?: string
249
+
250
+ /**
251
+ * 签署方类型:ENTERPRISE-企业INDIVIDUAL-自然人
252
+ */
253
+ RecipientType?: string
254
+
255
+ /**
256
+ * 描述
257
+ */
258
+ Description?: string
259
+
260
+ /**
261
+ * 签署方备注信息
262
+ */
263
+ RoleName?: string
264
+
265
+ /**
266
+ * 是否需要校验
267
+ */
268
+ RequireValidation?: boolean
269
+
270
+ /**
271
+ * 是否必须填写
272
+ */
273
+ RequireSign?: boolean
274
+
275
+ /**
276
+ * 签署类型
277
+ */
278
+ SignType?: number
279
+
280
+ /**
281
+ * 签署顺序:数字越小优先级越高
282
+ */
283
+ RoutingOrder?: number
284
+ }
285
+
182
286
  /**
183
287
  * DescribeTemplates返回参数结构体
184
288
  */
@@ -195,28 +299,49 @@ export interface DescribeTemplatesResponse {
195
299
  }
196
300
 
197
301
  /**
198
- * SyncProxyOrganizationOperators请求参数结构体
302
+ * OperateChannelTemplate返回参数结构体
199
303
  */
200
- export interface SyncProxyOrganizationOperatorsRequest {
304
+ export interface OperateChannelTemplateResponse {
201
305
  /**
202
- * 操作类型,新增:"CREATE",修改:"UPDATE",离职:"RESIGN"
203
- */
204
- OperatorType: string
306
+ * 腾讯电子签颁发给渠道的应用ID
307
+ 注意:此字段可能返回 null,表示取不到有效值。
308
+ */
309
+ AppId: string
205
310
 
206
311
  /**
207
- * 应用信息
208
- */
209
- Agent: Agent
312
+ * 渠道方模板库模板唯一标识
313
+ 注意:此字段可能返回 null,表示取不到有效值。
314
+ */
315
+ TemplateId: string
210
316
 
211
317
  /**
212
- * 经办人信息列表
213
- */
214
- ProxyOrganizationOperators: Array<ProxyOrganizationOperator>
318
+ * 全部成功-"all-success",部分成功-"part-success", 全部失败-"fail"失败的会在FailMessageList中展示
319
+ 注意:此字段可能返回 null,表示取不到有效值。
320
+ */
321
+ OperateResult: string
215
322
 
216
323
  /**
217
- * 操作者的信息
324
+ * 模板可见性, 全部可见-"all", 部分可见-"part"
325
+ 注意:此字段可能返回 null,表示取不到有效值。
326
+ */
327
+ AuthTag: string
328
+
329
+ /**
330
+ * 合作企业方第三方机构唯一标识数据
331
+ 注意:此字段可能返回 null,表示取不到有效值。
332
+ */
333
+ ProxyOrganizationOpenIds: Array<string>
334
+
335
+ /**
336
+ * 操作失败信息数组
337
+ 注意:此字段可能返回 null,表示取不到有效值。
338
+ */
339
+ FailMessageList: Array<AuthFailMessage>
340
+
341
+ /**
342
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
218
343
  */
219
- Operator?: UserInfo
344
+ RequestId?: string
220
345
  }
221
346
 
222
347
  /**
@@ -249,6 +374,41 @@ export interface CreateSignUrlsRequest {
249
374
  JumpUrl?: string
250
375
  }
251
376
 
377
+ /**
378
+ * 授权出错信息
379
+ */
380
+ export interface AuthFailMessage {
381
+ /**
382
+ * 合作企业Id
383
+ */
384
+ ProxyOrganizationOpenId: string
385
+
386
+ /**
387
+ * 出错信息
388
+ */
389
+ Message: string
390
+ }
391
+
392
+ /**
393
+ * DescribeFlowDetailInfo请求参数结构体
394
+ */
395
+ export interface DescribeFlowDetailInfoRequest {
396
+ /**
397
+ * 应用信息
398
+ */
399
+ Agent: Agent
400
+
401
+ /**
402
+ * 合同(流程)编号数组
403
+ */
404
+ FlowIds: Array<string>
405
+
406
+ /**
407
+ * 操作者的信息
408
+ */
409
+ Operator?: UserInfo
410
+ }
411
+
252
412
  /**
253
413
  * DescribeResourceUrlsByFlows请求参数结构体
254
414
  */
@@ -384,82 +544,74 @@ TEXT控件可以指定字体
384
544
  }
385
545
 
386
546
  /**
387
- * 签署链接内容
547
+ * GetDownloadFlowUrl请求参数结构体
388
548
  */
389
- export interface SignUrlInfo {
549
+ export interface GetDownloadFlowUrlRequest {
390
550
  /**
391
- * 签署链接
392
- 注意:此字段可能返回 null,表示取不到有效值。
551
+ * 应用信息
552
+ 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
393
553
  */
394
- SignUrl: string
554
+ Agent: Agent
395
555
 
396
556
  /**
397
- * 链接失效时间
398
- 注意:此字段可能返回 null,表示取不到有效值。
399
- */
400
- Deadline: number
557
+ * 操作者的信息
558
+ */
559
+ Operator?: UserInfo
401
560
 
402
561
  /**
403
- * 当流程为顺序签署此参数有效时,数字越小优先级越高,暂不支持并行签署 可选
404
- 注意:此字段可能返回 null,表示取不到有效值。
405
- */
406
- SignOrder: number
562
+ * 文件夹数组,合同(流程)总数不能超过50个,一个文件夹下,不能超过20个合同(流程),
563
+ */
564
+ DownLoadFlows?: Array<DownloadFlowInfo>
565
+ }
407
566
 
567
+ /**
568
+ * 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
569
+ */
570
+ export interface FlowDetailInfo {
408
571
  /**
409
- * 签署人编号
410
- 注意:此字段可能返回 null,表示取不到有效值。
411
- */
412
- SignId: string
572
+ * 合同(流程)的Id
573
+ */
574
+ FlowId: string
413
575
 
414
576
  /**
415
- * 自定义用户编号
416
- 注意:此字段可能返回 null,表示取不到有效值。
417
- */
418
- CustomUserId: string
577
+ * 合同(流程)的名字
578
+ */
579
+ FlowName: string
419
580
 
420
581
  /**
421
- * 用户姓名
422
- 注意:此字段可能返回 null,表示取不到有效值。
423
- */
424
- Name: string
582
+ * 合同(流程)的类型
583
+ */
584
+ FlowType: string
425
585
 
426
586
  /**
427
- * 用户手机号码
428
- 注意:此字段可能返回 null,表示取不到有效值。
429
- */
430
- Mobile: string
587
+ * 合同(流程)的状态
588
+ */
589
+ FlowStatus: string
431
590
 
432
591
  /**
433
- * 签署参与者机构名字
434
- 注意:此字段可能返回 null,表示取不到有效值。
435
- */
436
- OrganizationName: string
592
+ * 合同(流程)的信息
593
+ */
594
+ FlowMessage: string
437
595
 
438
596
  /**
439
- * 参与者类型:
440
- ORGANIZATION 企业经办人
441
- PERSON 自然人
442
- 注意:此字段可能返回 null,表示取不到有效值。
443
- */
444
- ApproverType: string
597
+ * 合同(流程)的创建时间戳
598
+ */
599
+ CreateOn: number
445
600
 
446
601
  /**
447
- * 经办人身份证号
448
- 注意:此字段可能返回 null,表示取不到有效值。
449
- */
450
- IdCardNumber: string
602
+ * 合同(流程)的签署截止时间戳
603
+ */
604
+ DeadLine: number
451
605
 
452
606
  /**
453
- * 签署链接对应流程Id
454
- 注意:此字段可能返回 null,表示取不到有效值。
455
- */
456
- FlowId: string
607
+ * 用户自定义数据
608
+ */
609
+ CustomData: string
457
610
 
458
611
  /**
459
- * 企业经办人 用户在渠道的编号
460
- 注意:此字段可能返回 null,表示取不到有效值。
461
- */
462
- OpenId: string
612
+ * 合同(流程)的签署人数组
613
+ */
614
+ FlowApproverInfos: Array<FlowApproverDetail>
463
615
  }
464
616
 
465
617
  /**
@@ -530,61 +682,131 @@ export interface CreateFlowsByTemplatesResponse {
530
682
  }
531
683
 
532
684
  /**
533
- * 合作企业经办人列表信息
685
+ * PrepareFlows请求参数结构体
534
686
  */
535
- export interface ProxyOrganizationOperator {
687
+ export interface PrepareFlowsRequest {
688
+ /**
689
+ * 渠道应用相关信息
690
+ */
691
+ Agent: Agent
692
+
693
+ /**
694
+ * 多个合同(流程)信息
695
+ */
696
+ FlowInfos: Array<FlowInfo>
697
+
698
+ /**
699
+ * 操作完成后的跳转地址
700
+ */
701
+ JumpUrl: string
702
+
703
+ /**
704
+ * 操作者的信息
705
+ */
706
+ Operator?: UserInfo
707
+ }
708
+
709
+ /**
710
+ * SyncProxyOrganizationOperators返回参数结构体
711
+ */
712
+ export interface SyncProxyOrganizationOperatorsResponse {
713
+ /**
714
+ * Status 同步状态,全部同步失败接口会直接报错
715
+ 1-成功
716
+ 2-部分成功
717
+ 注意:此字段可能返回 null,表示取不到有效值。
718
+ */
719
+ Status: number
720
+
721
+ /**
722
+ * 同步失败经办人及其失败原因
723
+ 注意:此字段可能返回 null,表示取不到有效值。
724
+ */
725
+ FailedList: Array<SyncFailReason>
726
+
727
+ /**
728
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
729
+ */
730
+ RequestId?: string
731
+ }
732
+
733
+ /**
734
+ * 签署链接内容
735
+ */
736
+ export interface SignUrlInfo {
737
+ /**
738
+ * 签署链接
739
+ 注意:此字段可能返回 null,表示取不到有效值。
740
+ */
741
+ SignUrl: string
742
+
743
+ /**
744
+ * 链接失效时间
745
+ 注意:此字段可能返回 null,表示取不到有效值。
746
+ */
747
+ Deadline: number
748
+
749
+ /**
750
+ * 当流程为顺序签署此参数有效时,数字越小优先级越高,暂不支持并行签署 可选
751
+ 注意:此字段可能返回 null,表示取不到有效值。
752
+ */
753
+ SignOrder: number
754
+
755
+ /**
756
+ * 签署人编号
757
+ 注意:此字段可能返回 null,表示取不到有效值。
758
+ */
759
+ SignId: string
760
+
536
761
  /**
537
- * 经办人ID(渠道颁发)
538
- */
539
- Id: string
762
+ * 自定义用户编号
763
+ 注意:此字段可能返回 null,表示取不到有效值。
764
+ */
765
+ CustomUserId: string
540
766
 
541
767
  /**
542
- * 经办人姓名
543
- */
544
- Name?: string
768
+ * 用户姓名
769
+ 注意:此字段可能返回 null,表示取不到有效值。
770
+ */
771
+ Name: string
545
772
 
546
773
  /**
547
- * 经办人身份证件类型
548
- 用户证件类型:默认ID_CARD
549
- 1. ID_CARD - 居民身份证
550
- 2. HOUSEHOLD_REGISTER - 户口本
551
- 3. TEMP_ID_CARD - 临时居民身份证
774
+ * 用户手机号码
775
+ 注意:此字段可能返回 null,表示取不到有效值。
552
776
  */
553
- IdCardType?: string
777
+ Mobile: string
554
778
 
555
779
  /**
556
- * 经办人身份证号
557
- */
558
- IdCardNumber?: string
780
+ * 签署参与者机构名字
781
+ 注意:此字段可能返回 null,表示取不到有效值。
782
+ */
783
+ OrganizationName: string
559
784
 
560
785
  /**
561
- * 经办人手机号
562
- */
563
- Mobile?: string
564
- }
786
+ * 参与者类型:
787
+ ORGANIZATION 企业经办人
788
+ PERSON 自然人
789
+ 注意:此字段可能返回 null,表示取不到有效值。
790
+ */
791
+ ApproverType: string
565
792
 
566
- /**
567
- * SyncProxyOrganizationOperators返回参数结构体
568
- */
569
- export interface SyncProxyOrganizationOperatorsResponse {
570
793
  /**
571
- * Status 同步状态,全部同步失败接口会直接报错
572
- 1-成功
573
- 2-部分成功
794
+ * 经办人身份证号
574
795
  注意:此字段可能返回 null,表示取不到有效值。
575
796
  */
576
- Status: number
797
+ IdCardNumber: string
577
798
 
578
799
  /**
579
- * 同步失败经办人及其失败原因
800
+ * 签署链接对应流程Id
580
801
  注意:此字段可能返回 null,表示取不到有效值。
581
802
  */
582
- FailedList: Array<SyncFailReason>
803
+ FlowId: string
583
804
 
584
805
  /**
585
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
586
- */
587
- RequestId?: string
806
+ * 企业经办人 用户在渠道的编号
807
+ 注意:此字段可能返回 null,表示取不到有效值。
808
+ */
809
+ OpenId: string
588
810
  }
589
811
 
590
812
  /**
@@ -624,6 +846,31 @@ export interface DescribeTemplatesRequest {
624
846
  TemplateId?: string
625
847
  }
626
848
 
849
+ /**
850
+ * SyncProxyOrganizationOperators请求参数结构体
851
+ */
852
+ export interface SyncProxyOrganizationOperatorsRequest {
853
+ /**
854
+ * 操作类型,新增:"CREATE",修改:"UPDATE",离职:"RESIGN"
855
+ */
856
+ OperatorType: string
857
+
858
+ /**
859
+ * 应用信息
860
+ */
861
+ Agent: Agent
862
+
863
+ /**
864
+ * 经办人信息列表
865
+ */
866
+ ProxyOrganizationOperators: Array<ProxyOrganizationOperator>
867
+
868
+ /**
869
+ * 操作者的信息
870
+ */
871
+ Operator?: UserInfo
872
+ }
873
+
627
874
  /**
628
875
  * CreateConsoleLoginUrl返回参数结构体
629
876
  */
@@ -696,31 +943,6 @@ export interface SyncProxyOrganizationRequest {
696
943
  Operator?: UserInfo
697
944
  }
698
945
 
699
- /**
700
- * PrepareFlows请求参数结构体
701
- */
702
- export interface PrepareFlowsRequest {
703
- /**
704
- * 渠道应用相关信息
705
- */
706
- Agent: Agent
707
-
708
- /**
709
- * 多个合同(流程)信息
710
- */
711
- FlowInfos: Array<FlowInfo>
712
-
713
- /**
714
- * 操作完成后的跳转地址
715
- */
716
- JumpUrl: string
717
-
718
- /**
719
- * 操作者的信息
720
- */
721
- Operator?: UserInfo
722
- }
723
-
724
946
  /**
725
947
  * 用量明细
726
948
  */
@@ -768,6 +990,56 @@ export interface CreateSignUrlsResponse {
768
990
  RequestId?: string
769
991
  }
770
992
 
993
+ /**
994
+ * OperateChannelTemplate请求参数结构体
995
+ */
996
+ export interface OperateChannelTemplateRequest {
997
+ /**
998
+ * 应用信息
999
+ */
1000
+ Agent: Agent
1001
+
1002
+ /**
1003
+ * 渠道方模板库模板唯一标识
1004
+ */
1005
+ TemplateId: string
1006
+
1007
+ /**
1008
+ * 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
1009
+ */
1010
+ OperateType: string
1011
+
1012
+ /**
1013
+ * 操作者的信息
1014
+ */
1015
+ Operator?: UserInfo
1016
+
1017
+ /**
1018
+ * 模板可见性, 全部可见-"all", 部分可见-"part"
1019
+ */
1020
+ AuthTag?: string
1021
+
1022
+ /**
1023
+ * 合作企业方第三方机构唯一标识数据
1024
+ */
1025
+ ProxyOrganizationOpenIds?: string
1026
+ }
1027
+
1028
+ /**
1029
+ * 合同(流程)下载信息
1030
+ */
1031
+ export interface DownloadFlowInfo {
1032
+ /**
1033
+ * 文件夹名称
1034
+ */
1035
+ FileName: string
1036
+
1037
+ /**
1038
+ * 合同(流程)的标识数组
1039
+ */
1040
+ FlowIdList: Array<string>
1041
+ }
1042
+
771
1043
  /**
772
1044
  * 同步经办人失败原因
773
1045
  */
@@ -829,48 +1101,13 @@ export interface DescribeUsageRequest {
829
1101
  }
830
1102
 
831
1103
  /**
832
- * 签署参与者信息
1104
+ * 抄送信息
833
1105
  */
834
- export interface Recipient {
835
- /**
836
- * 签署人唯一标识
837
- */
838
- RecipientId?: string
839
-
840
- /**
841
- * 签署方类型:ENTERPRISE-企业INDIVIDUAL-自然人
842
- */
843
- RecipientType?: string
844
-
845
- /**
846
- * 描述
847
- */
848
- Description?: string
849
-
850
- /**
851
- * 签署方备注信息
852
- */
853
- RoleName?: string
854
-
855
- /**
856
- * 是否需要校验
857
- */
858
- RequireValidation?: boolean
859
-
1106
+ export interface CcInfo {
860
1107
  /**
861
- * 是否必须填写
862
- */
863
- RequireSign?: boolean
864
-
865
- /**
866
- * 签署类型
867
- */
868
- SignType?: number
869
-
870
- /**
871
- * 签署顺序:数字越小优先级越高
1108
+ * 被抄送人手机号
872
1109
  */
873
- RoutingOrder?: number
1110
+ Mobile?: string
874
1111
  }
875
1112
 
876
1113
  /**
@@ -925,6 +1162,71 @@ export interface FormField {
925
1162
  ComponentName?: string
926
1163
  }
927
1164
 
1165
+ /**
1166
+ * 签署人的流程信息明细
1167
+ */
1168
+ export interface FlowApproverDetail {
1169
+ /**
1170
+ * 模板配置时候的签署人id,与控件绑定
1171
+ */
1172
+ ReceiptId: string
1173
+
1174
+ /**
1175
+ * 渠道侧企业的第三方id
1176
+ 注意:此字段可能返回 null,表示取不到有效值。
1177
+ */
1178
+ ProxyOrganizationOpenId: string
1179
+
1180
+ /**
1181
+ * 渠道侧企业操作人的第三方id
1182
+ */
1183
+ ProxyOperatorOpenId: string
1184
+
1185
+ /**
1186
+ * 渠道侧企业名称
1187
+ */
1188
+ ProxyOrganizationName: string
1189
+
1190
+ /**
1191
+ * 签署人手机号
1192
+ */
1193
+ Mobile: string
1194
+
1195
+ /**
1196
+ * 签署人签署顺序
1197
+ */
1198
+ SignOrder: number
1199
+
1200
+ /**
1201
+ * 签署人姓名
1202
+ 注意:此字段可能返回 null,表示取不到有效值。
1203
+ */
1204
+ ApproveName: string
1205
+
1206
+ /**
1207
+ * 当前签署人的状态
1208
+ 注意:此字段可能返回 null,表示取不到有效值。
1209
+ */
1210
+ ApproveStatus: string
1211
+
1212
+ /**
1213
+ * 签署人信息
1214
+ 注意:此字段可能返回 null,表示取不到有效值。
1215
+ */
1216
+ ApproveMessage: string
1217
+
1218
+ /**
1219
+ * 签署人签署时间
1220
+ */
1221
+ ApproveTime: number
1222
+
1223
+ /**
1224
+ * 参与者类型 (ORGANIZATION企业/PERSON个人)
1225
+ 注意:此字段可能返回 null,表示取不到有效值。
1226
+ */
1227
+ ApproveType: string
1228
+ }
1229
+
928
1230
  /**
929
1231
  * 此结构体 (FlowInfo) 用于描述流程信息。
930
1232
  */
@@ -977,6 +1279,11 @@ export interface FlowInfo {
977
1279
  * 渠道的业务信息,限制1024字符
978
1280
  */
979
1281
  CustomerData?: string
1282
+
1283
+ /**
1284
+ * 被抄送人的信息列表
1285
+ */
1286
+ CcInfos?: Array<CcInfo>
980
1287
  }
981
1288
 
982
1289
  /**
@@ -1029,3 +1336,29 @@ export interface DescribeUsageResponse {
1029
1336
  */
1030
1337
  RequestId?: string
1031
1338
  }
1339
+
1340
+ /**
1341
+ * DescribeFlowDetailInfo返回参数结构体
1342
+ */
1343
+ export interface DescribeFlowDetailInfoResponse {
1344
+ /**
1345
+ * 渠道侧应用号Id
1346
+ */
1347
+ ApplicationId: string
1348
+
1349
+ /**
1350
+ * 渠道侧企业第三方Id
1351
+ */
1352
+ ProxyOrganizationOpenId: string
1353
+
1354
+ /**
1355
+ * 合同(流程)的具体详细描述信息
1356
+ 注意:此字段可能返回 null,表示取不到有效值。
1357
+ */
1358
+ FlowInfo: Array<FlowDetailInfo>
1359
+
1360
+ /**
1361
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1362
+ */
1363
+ RequestId?: string
1364
+ }