tencentcloud-sdk-nodejs-essbasic 4.0.260 → 4.0.261

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.
@@ -113,6 +113,40 @@ export interface PrepareFlowsResponse {
113
113
  RequestId?: string
114
114
  }
115
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
+
116
150
  /**
117
151
  * 此结构体 (TemplateInfo) 用于描述模板的信息。
118
152
  */
@@ -161,6 +195,11 @@ export interface TemplateInfo {
161
195
  * 模板中的流程参与人信息
162
196
  */
163
197
  Recipients: Array<Recipient>
198
+
199
+ /**
200
+ * 是否是发起人
201
+ */
202
+ IsPromoter: boolean
164
203
  }
165
204
 
166
205
  /**
@@ -350,6 +389,26 @@ export interface AuthFailMessage {
350
389
  Message: string
351
390
  }
352
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
+
353
412
  /**
354
413
  * DescribeResourceUrlsByFlows请求参数结构体
355
414
  */
@@ -506,82 +565,53 @@ export interface GetDownloadFlowUrlRequest {
506
565
  }
507
566
 
508
567
  /**
509
- * 签署链接内容
568
+ * 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
510
569
  */
511
- export interface SignUrlInfo {
512
- /**
513
- * 签署链接
514
- 注意:此字段可能返回 null,表示取不到有效值。
515
- */
516
- SignUrl: string
517
-
518
- /**
519
- * 链接失效时间
520
- 注意:此字段可能返回 null,表示取不到有效值。
521
- */
522
- Deadline: number
523
-
524
- /**
525
- * 当流程为顺序签署此参数有效时,数字越小优先级越高,暂不支持并行签署 可选
526
- 注意:此字段可能返回 null,表示取不到有效值。
527
- */
528
- SignOrder: number
529
-
570
+ export interface FlowDetailInfo {
530
571
  /**
531
- * 签署人编号
532
- 注意:此字段可能返回 null,表示取不到有效值。
533
- */
534
- SignId: string
572
+ * 合同(流程)的Id
573
+ */
574
+ FlowId: string
535
575
 
536
576
  /**
537
- * 自定义用户编号
538
- 注意:此字段可能返回 null,表示取不到有效值。
539
- */
540
- CustomUserId: string
577
+ * 合同(流程)的名字
578
+ */
579
+ FlowName: string
541
580
 
542
581
  /**
543
- * 用户姓名
544
- 注意:此字段可能返回 null,表示取不到有效值。
545
- */
546
- Name: string
582
+ * 合同(流程)的类型
583
+ */
584
+ FlowType: string
547
585
 
548
586
  /**
549
- * 用户手机号码
550
- 注意:此字段可能返回 null,表示取不到有效值。
551
- */
552
- Mobile: string
587
+ * 合同(流程)的状态
588
+ */
589
+ FlowStatus: string
553
590
 
554
591
  /**
555
- * 签署参与者机构名字
556
- 注意:此字段可能返回 null,表示取不到有效值。
557
- */
558
- OrganizationName: string
592
+ * 合同(流程)的信息
593
+ */
594
+ FlowMessage: string
559
595
 
560
596
  /**
561
- * 参与者类型:
562
- ORGANIZATION 企业经办人
563
- PERSON 自然人
564
- 注意:此字段可能返回 null,表示取不到有效值。
565
- */
566
- ApproverType: string
597
+ * 合同(流程)的创建时间戳
598
+ */
599
+ CreateOn: number
567
600
 
568
601
  /**
569
- * 经办人身份证号
570
- 注意:此字段可能返回 null,表示取不到有效值。
571
- */
572
- IdCardNumber: string
602
+ * 合同(流程)的签署截止时间戳
603
+ */
604
+ DeadLine: number
573
605
 
574
606
  /**
575
- * 签署链接对应流程Id
576
- 注意:此字段可能返回 null,表示取不到有效值。
577
- */
578
- FlowId: string
607
+ * 用户自定义数据
608
+ */
609
+ CustomData: string
579
610
 
580
611
  /**
581
- * 企业经办人 用户在渠道的编号
582
- 注意:此字段可能返回 null,表示取不到有效值。
583
- */
584
- OpenId: string
612
+ * 合同(流程)的签署人数组
613
+ */
614
+ FlowApproverInfos: Array<FlowApproverDetail>
585
615
  }
586
616
 
587
617
  /**
@@ -700,6 +730,85 @@ export interface SyncProxyOrganizationOperatorsResponse {
700
730
  RequestId?: string
701
731
  }
702
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
+
761
+ /**
762
+ * 自定义用户编号
763
+ 注意:此字段可能返回 null,表示取不到有效值。
764
+ */
765
+ CustomUserId: string
766
+
767
+ /**
768
+ * 用户姓名
769
+ 注意:此字段可能返回 null,表示取不到有效值。
770
+ */
771
+ Name: string
772
+
773
+ /**
774
+ * 用户手机号码
775
+ 注意:此字段可能返回 null,表示取不到有效值。
776
+ */
777
+ Mobile: string
778
+
779
+ /**
780
+ * 签署参与者机构名字
781
+ 注意:此字段可能返回 null,表示取不到有效值。
782
+ */
783
+ OrganizationName: string
784
+
785
+ /**
786
+ * 参与者类型:
787
+ ORGANIZATION 企业经办人
788
+ PERSON 自然人
789
+ 注意:此字段可能返回 null,表示取不到有效值。
790
+ */
791
+ ApproverType: string
792
+
793
+ /**
794
+ * 经办人身份证号
795
+ 注意:此字段可能返回 null,表示取不到有效值。
796
+ */
797
+ IdCardNumber: string
798
+
799
+ /**
800
+ * 签署链接对应流程Id
801
+ 注意:此字段可能返回 null,表示取不到有效值。
802
+ */
803
+ FlowId: string
804
+
805
+ /**
806
+ * 企业经办人 用户在渠道的编号
807
+ 注意:此字段可能返回 null,表示取不到有效值。
808
+ */
809
+ OpenId: string
810
+ }
811
+
703
812
  /**
704
813
  * 流程对应资源链接信息
705
814
  */
@@ -992,35 +1101,11 @@ export interface DescribeUsageRequest {
992
1101
  }
993
1102
 
994
1103
  /**
995
- * 合作企业经办人列表信息
1104
+ * 抄送信息
996
1105
  */
997
- export interface ProxyOrganizationOperator {
998
- /**
999
- * 经办人ID(渠道颁发)
1000
- */
1001
- Id: string
1002
-
1003
- /**
1004
- * 经办人姓名
1005
- */
1006
- Name?: string
1007
-
1008
- /**
1009
- * 经办人身份证件类型
1010
- 用户证件类型:默认ID_CARD
1011
- 1. ID_CARD - 居民身份证
1012
- 2. HOUSEHOLD_REGISTER - 户口本
1013
- 3. TEMP_ID_CARD - 临时居民身份证
1014
- */
1015
- IdCardType?: string
1016
-
1017
- /**
1018
- * 经办人身份证号
1019
- */
1020
- IdCardNumber?: string
1021
-
1106
+ export interface CcInfo {
1022
1107
  /**
1023
- * 经办人手机号
1108
+ * 被抄送人手机号
1024
1109
  */
1025
1110
  Mobile?: string
1026
1111
  }
@@ -1077,6 +1162,71 @@ export interface FormField {
1077
1162
  ComponentName?: string
1078
1163
  }
1079
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
+
1080
1230
  /**
1081
1231
  * 此结构体 (FlowInfo) 用于描述流程信息。
1082
1232
  */
@@ -1129,6 +1279,11 @@ export interface FlowInfo {
1129
1279
  * 渠道的业务信息,限制1024字符
1130
1280
  */
1131
1281
  CustomerData?: string
1282
+
1283
+ /**
1284
+ * 被抄送人的信息列表
1285
+ */
1286
+ CcInfos?: Array<CcInfo>
1132
1287
  }
1133
1288
 
1134
1289
  /**
@@ -1181,3 +1336,29 @@ export interface DescribeUsageResponse {
1181
1336
  */
1182
1337
  RequestId?: string
1183
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
+ }
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { SyncProxyOrganizationResponse, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsRequest, DescribeResourceUrlsByFlowsRequest, GetDownloadFlowUrlRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, PrepareFlowsRequest, SyncProxyOrganizationOperatorsResponse, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSignUrlsResponse, OperateChannelTemplateRequest, DescribeUsageRequest, DescribeUsageResponse } from "./essbasic_models";
2
+ import { SyncProxyOrganizationResponse, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsRequest, DescribeFlowDetailInfoRequest, DescribeResourceUrlsByFlowsRequest, GetDownloadFlowUrlRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, PrepareFlowsRequest, SyncProxyOrganizationOperatorsResponse, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSignUrlsResponse, OperateChannelTemplateRequest, DescribeUsageRequest, DescribeUsageResponse, DescribeFlowDetailInfoResponse } from "./essbasic_models";
3
3
  /**
4
4
  * essbasic client
5
5
  * @class
@@ -15,6 +15,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
15
15
 
16
16
  */
17
17
  GetDownloadFlowUrl(req: GetDownloadFlowUrlRequest, cb?: (error: string, rep: GetDownloadFlowUrlResponse) => void): Promise<GetDownloadFlowUrlResponse>;
18
+ /**
19
+ * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
20
+ */
21
+ DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
18
22
  /**
19
23
  * 该接口 (PrepareFlows) 用于创建待发起文件
20
24
  */
@@ -55,15 +59,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
55
59
  */
56
60
  DescribeUsage(req: DescribeUsageRequest, cb?: (error: string, rep: DescribeUsageResponse) => void): Promise<DescribeUsageResponse>;
57
61
  /**
58
- * 根据流程信息批量获取资源下载链接
62
+ * 此接口(DescribeFlowDetailInfo)用于查询合同(流程)的详细信息。
59
63
  */
60
- DescribeResourceUrlsByFlows(req: DescribeResourceUrlsByFlowsRequest, cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void): Promise<DescribeResourceUrlsByFlowsResponse>;
64
+ DescribeFlowDetailInfo(req: DescribeFlowDetailInfoRequest, cb?: (error: string, rep: DescribeFlowDetailInfoResponse) => void): Promise<DescribeFlowDetailInfoResponse>;
61
65
  /**
62
66
  * 此接口(SyncProxyOrganization)用于同步渠道侧企业信息
63
67
  */
64
68
  SyncProxyOrganization(req: SyncProxyOrganizationRequest, cb?: (error: string, rep: SyncProxyOrganizationResponse) => void): Promise<SyncProxyOrganizationResponse>;
65
69
  /**
66
- * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
70
+ * 根据流程信息批量获取资源下载链接
67
71
  */
68
- DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
72
+ DescribeResourceUrlsByFlows(req: DescribeResourceUrlsByFlowsRequest, cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void): Promise<DescribeResourceUrlsByFlowsResponse>;
69
73
  }
@@ -40,6 +40,12 @@ class Client extends TencentCloudCommon.AbstractClient {
40
40
  async GetDownloadFlowUrl(req, cb) {
41
41
  return this.request("GetDownloadFlowUrl", req, cb);
42
42
  }
43
+ /**
44
+ * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
45
+ */
46
+ async DescribeTemplates(req, cb) {
47
+ return this.request("DescribeTemplates", req, cb);
48
+ }
43
49
  /**
44
50
  * 该接口 (PrepareFlows) 用于创建待发起文件
45
51
  */
@@ -92,10 +98,10 @@ class Client extends TencentCloudCommon.AbstractClient {
92
98
  return this.request("DescribeUsage", req, cb);
93
99
  }
94
100
  /**
95
- * 根据流程信息批量获取资源下载链接
101
+ * 此接口(DescribeFlowDetailInfo)用于查询合同(流程)的详细信息。
96
102
  */
97
- async DescribeResourceUrlsByFlows(req, cb) {
98
- return this.request("DescribeResourceUrlsByFlows", req, cb);
103
+ async DescribeFlowDetailInfo(req, cb) {
104
+ return this.request("DescribeFlowDetailInfo", req, cb);
99
105
  }
100
106
  /**
101
107
  * 此接口(SyncProxyOrganization)用于同步渠道侧企业信息
@@ -104,10 +110,10 @@ class Client extends TencentCloudCommon.AbstractClient {
104
110
  return this.request("SyncProxyOrganization", req, cb);
105
111
  }
106
112
  /**
107
- * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
113
+ * 根据流程信息批量获取资源下载链接
108
114
  */
109
- async DescribeTemplates(req, cb) {
110
- return this.request("DescribeTemplates", req, cb);
115
+ async DescribeResourceUrlsByFlows(req, cb) {
116
+ return this.request("DescribeResourceUrlsByFlows", req, cb);
111
117
  }
112
118
  }
113
119
  exports.Client = Client;