tencentcloud-sdk-nodejs-ess 4.0.351 → 4.0.354

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.
@@ -28,6 +28,67 @@ export interface DescribeFileUrlsResponse {
28
28
  */
29
29
  RequestId?: string;
30
30
  }
31
+ /**
32
+ * 二期接口返回的模板的信息结构
33
+ */
34
+ export interface TemplateInfo {
35
+ /**
36
+ * 模板ID
37
+ */
38
+ TemplateId?: string;
39
+ /**
40
+ * 模板名字
41
+ */
42
+ TemplateName?: string;
43
+ /**
44
+ * 模板描述信息
45
+ */
46
+ Description?: string;
47
+ /**
48
+ * 模板关联的资源IDs
49
+ */
50
+ DocumentResourceIds?: Array<string>;
51
+ /**
52
+ * 返回的文件信息结构
53
+ */
54
+ FileInfos?: Array<FileInfo>;
55
+ /**
56
+ * 附件关联的资源ID是
57
+ */
58
+ AttachmentResourceIds?: Array<string>;
59
+ /**
60
+ * 签署顺序
61
+ */
62
+ SignOrder?: Array<number>;
63
+ /**
64
+ * 签署参与者的信息
65
+ */
66
+ Recipients?: Array<Recipient>;
67
+ /**
68
+ * 模板信息结构
69
+ */
70
+ Components?: Array<Component>;
71
+ /**
72
+ * 签署区模板信息结构
73
+ */
74
+ SignComponents?: Array<Component>;
75
+ /**
76
+ * 模板状态(-1:不可用;0:草稿态;1:正式态)
77
+ */
78
+ Status?: number;
79
+ /**
80
+ * 模板的创建人
81
+ */
82
+ Creator?: string;
83
+ /**
84
+ * 模板创建的时间戳(精确到秒)
85
+ */
86
+ CreatedOn?: number;
87
+ /**
88
+ * 发起人角色信息
89
+ */
90
+ Promoter?: Recipient;
91
+ }
31
92
  /**
32
93
  * CreateDocument返回参数结构体
33
94
  */
@@ -196,8 +257,11 @@ export interface CreateSchemeUrlRequest {
196
257
  */
197
258
  OrganizationName?: string;
198
259
  /**
199
- * 链接类型 HTTP:跳转电子签小程序的http_url,APP:第三方APP或小程序跳转电子签小程序,默认为HTTP类型
200
- */
260
+ * 链接类型
261
+ HTTP:跳转电子签小程序的http_url,
262
+ APP:第三方APP或小程序跳转电子签小程序的path。
263
+ 默认为HTTP类型
264
+ */
201
265
  EndPoint?: string;
202
266
  /**
203
267
  * 是否自动回跳 true:是, false:否。该参数只针对"APP" 类型的签署链接有效
@@ -462,6 +526,63 @@ export interface DescribeFlowBriefsRequest {
462
526
  */
463
527
  Agent?: Agent;
464
528
  }
529
+ /**
530
+ * 签署参与者信息
531
+ */
532
+ export interface Recipient {
533
+ /**
534
+ * 签署参与者ID
535
+ */
536
+ RecipientId?: string;
537
+ /**
538
+ * 参与者类型(ENTERPRISE/INDIVIDUAL)
539
+ */
540
+ RecipientType?: string;
541
+ /**
542
+ * 描述信息
543
+ */
544
+ Description?: string;
545
+ /**
546
+ * 角色名称
547
+ */
548
+ RoleName?: string;
549
+ /**
550
+ * 是否需要验证,默认为false
551
+ */
552
+ RequireValidation?: boolean;
553
+ /**
554
+ * 是否需要签署,默认为true
555
+ */
556
+ RequireSign?: boolean;
557
+ /**
558
+ * 添加序列
559
+ */
560
+ RoutingOrder?: number;
561
+ /**
562
+ * 是否需要发送,默认为true
563
+ */
564
+ RequireDelivery?: boolean;
565
+ /**
566
+ * 邮箱地址
567
+ */
568
+ Email?: string;
569
+ /**
570
+ * 电话号码
571
+ */
572
+ Mobile?: string;
573
+ /**
574
+ * 关联的用户ID
575
+ */
576
+ UserId?: string;
577
+ /**
578
+ * 发送方式(EMAIL/MOBILE)
579
+ */
580
+ DeliveryMethod?: string;
581
+ /**
582
+ * 附属信息
583
+ */
584
+ RecipientExtra?: string;
585
+ }
465
586
  /**
466
587
  * DescribeFileUrls请求参数结构体
467
588
  */
@@ -593,18 +714,56 @@ export interface Caller {
593
714
  OperatorId?: string;
594
715
  }
595
716
  /**
596
- * StartFlow返回参数结构体
717
+ * DescribeFlowTemplates返回参数结构体
597
718
  */
598
- export interface StartFlowResponse {
719
+ export interface DescribeFlowTemplatesResponse {
599
720
  /**
600
- * 返回描述,START-发起成功, REVIEW-提交审核成功,EXECUTING-已提交发起任务
721
+ * 模板详情列表
601
722
  */
602
- Status: string;
723
+ Templates: Array<TemplateInfo>;
724
+ /**
725
+ * 查询到的总个数
726
+ */
727
+ TotalCount: number;
603
728
  /**
604
729
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
605
730
  */
606
731
  RequestId?: string;
607
732
  }
733
+ /**
734
+ * 查询过滤条件
735
+ */
736
+ export interface Filter {
737
+ /**
738
+ * 查询过滤条件的Key
739
+ */
740
+ Key: string;
741
+ /**
742
+ * 查询过滤条件的Value列表
743
+ */
744
+ Values: Array<string>;
745
+ }
746
+ /**
747
+ * 二期接口返回的模板中文件的信息结构
748
+ */
749
+ export interface FileInfo {
750
+ /**
751
+ * 文件Id
752
+ */
753
+ FileId?: string;
754
+ /**
755
+ * 文件名
756
+ */
757
+ FileName?: string;
758
+ /**
759
+ * 文件大小,单位为Byte
760
+ */
761
+ FileSize?: number;
762
+ /**
763
+ * 文件上传时间,10位时间戳(精确到秒)
764
+ */
765
+ CreatedOn?: number;
766
+ }
608
767
  /**
609
768
  * 创建流程的签署方信息
610
769
  */
@@ -670,6 +829,19 @@ export interface FlowCreateApprover {
670
829
  */
671
830
  VerifyChannel?: Array<string>;
672
831
  }
832
+ /**
833
+ * StartFlow返回参数结构体
834
+ */
835
+ export interface StartFlowResponse {
836
+ /**
837
+ * 返回描述,START-发起成功, REVIEW-提交审核成功,EXECUTING-已提交发起任务
838
+ */
839
+ Status: string;
840
+ /**
841
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
842
+ */
843
+ RequestId?: string;
844
+ }
673
845
  /**
674
846
  * CreateSchemeUrl返回参数结构体
675
847
  */
@@ -776,6 +948,39 @@ export interface FormField {
776
948
  */
777
949
  ComponentName?: string;
778
950
  }
951
+ /**
952
+ * DescribeFlowTemplates请求参数结构体
953
+ */
954
+ export interface DescribeFlowTemplatesRequest {
955
+ /**
956
+ * 操作人信息
957
+ */
958
+ Operator: UserInfo;
959
+ /**
960
+ * 查询偏移位置,默认0
961
+ */
962
+ Offset?: number;
963
+ /**
964
+ * 查询个数,默认20,最大100
965
+ */
966
+ Limit?: number;
967
+ /**
968
+ * 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
969
+ */
970
+ Filters?: Array<Filter>;
971
+ /**
972
+ * 应用相关信息
973
+ */
974
+ Agent?: Agent;
975
+ /**
976
+ * 暂未开放
977
+ */
978
+ GenerateSource?: number;
979
+ /**
980
+ * 查询内容:0-模版列表及详情(默认),1-仅模版列表
981
+ */
982
+ ContentType?: number;
983
+ }
779
984
  /**
780
985
  * 用户信息
781
986
  */