tencentcloud-sdk-nodejs-essbasic 4.0.625 → 4.0.627

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.
@@ -404,6 +404,60 @@ export interface BaseFlowInfo {
404
404
  */
405
405
  NeedCreateReview?: boolean;
406
406
  }
407
+ /**
408
+ * 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
409
+ 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
410
+
411
+ 如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
412
+ ApproverNumber, OrganizationName, ApproverType必传。
413
+ 对于其他身份标识
414
+ - 子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
415
+ - 非子客企业:Name、Mobile必传。
416
+ */
417
+ export interface ReleasedApprover {
418
+ /**
419
+ * 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符
420
+ */
421
+ OrganizationName: string;
422
+ /**
423
+ * 签署人在原流程中的签署人列表中的顺序序号(从0开始,按顺序依次递增),如果不清楚原流程中的签署人列表,可以通过DescribeFlows接口查看
424
+ */
425
+ ApproverNumber: number;
426
+ /**
427
+ * 签署人类型,目前仅支持
428
+ ORGANIZATION-企业
429
+ ENTERPRISESERVER-企业静默签
430
+ */
431
+ ApproverType: string;
432
+ /**
433
+ * 签署人姓名,最大长度50个字符
434
+ */
435
+ Name?: string;
436
+ /**
437
+ * 签署人身份证件类型
438
+ 1.ID_CARD 居民身份证
439
+ 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
440
+ 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
441
+ */
442
+ IdCardType?: string;
443
+ /**
444
+ * 签署人证件号
445
+ */
446
+ IdCardNumber?: string;
447
+ /**
448
+ * 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号
449
+ */
450
+ Mobile?: string;
451
+ /**
452
+ * 企业签署方在同一第三方应用下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
453
+ */
454
+ OrganizationOpenId?: string;
455
+ /**
456
+ * 用户侧第三方id,最大长度64个字符
457
+ 当签署方为同一第三方应用下的员工时,该字必传
458
+ */
459
+ OpenId?: string;
460
+ }
407
461
  /**
408
462
  * CreateConsoleLoginUrl返回参数结构体
409
463
  */
@@ -906,24 +960,29 @@ export interface DescribeFlowDetailInfoResponse {
906
960
  RequestId?: string;
907
961
  }
908
962
  /**
909
- * 资源链接信息
963
+ * 参与方填写控件信息
910
964
  */
911
- export interface ResourceUrlInfo {
965
+ export interface RecipientComponentInfo {
912
966
  /**
913
- * 资源链接地址,过期时间5分钟
967
+ * 参与方Id
914
968
  注意:此字段可能返回 null,表示取不到有效值。
915
969
  */
916
- Url: string;
970
+ RecipientId?: string;
917
971
  /**
918
- * 资源名称
972
+ * 参与方填写状态
919
973
  注意:此字段可能返回 null,表示取不到有效值。
920
974
  */
921
- Name: string;
975
+ RecipientFillStatus?: string;
922
976
  /**
923
- * 资源类型
977
+ * 是否发起方
924
978
  注意:此字段可能返回 null,表示取不到有效值。
925
979
  */
926
- Type: string;
980
+ IsPromoter?: boolean;
981
+ /**
982
+ * 填写控件内容
983
+ 注意:此字段可能返回 null,表示取不到有效值。
984
+ */
985
+ Components?: Array<FilledComponent>;
927
986
  }
928
987
  /**
929
988
  * ChannelDescribeRoles请求参数结构体
@@ -1867,18 +1926,9 @@ export interface TaskInfo {
1867
1926
  TaskStatus: string;
1868
1927
  }
1869
1928
  /**
1870
- * DescribeUsage返回参数结构体
1929
+ * ChannelCreateBoundFlows返回参数结构体
1871
1930
  */
1872
- export interface DescribeUsageResponse {
1873
- /**
1874
- * 用量明细条数
1875
- */
1876
- Total?: number;
1877
- /**
1878
- * 用量明细
1879
- 注意:此字段可能返回 null,表示取不到有效值。
1880
- */
1881
- Details?: Array<UsageDetail>;
1931
+ export interface ChannelCreateBoundFlowsResponse {
1882
1932
  /**
1883
1933
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1884
1934
  */
@@ -1937,6 +1987,26 @@ export interface Staff {
1937
1987
  */
1938
1988
  QuiteJob: number;
1939
1989
  }
1990
+ /**
1991
+ * 资源链接信息
1992
+ */
1993
+ export interface ResourceUrlInfo {
1994
+ /**
1995
+ * 资源链接地址,过期时间5分钟
1996
+ 注意:此字段可能返回 null,表示取不到有效值。
1997
+ */
1998
+ Url: string;
1999
+ /**
2000
+ * 资源名称
2001
+ 注意:此字段可能返回 null,表示取不到有效值。
2002
+ */
2003
+ Name: string;
2004
+ /**
2005
+ * 资源类型
2006
+ 注意:此字段可能返回 null,表示取不到有效值。
2007
+ */
2008
+ Type: string;
2009
+ }
1940
2010
  /**
1941
2011
  * ChannelCreateBoundFlows请求参数结构体
1942
2012
  */
@@ -2515,58 +2585,34 @@ export interface Filter {
2515
2585
  Values: Array<string>;
2516
2586
  }
2517
2587
  /**
2518
- * 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
2519
- 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
2520
-
2521
- 如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
2522
- ApproverNumber, OrganizationName, ApproverType必传。
2523
- 对于其他身份标识
2524
- - 子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
2525
- - 非子客企业:Name、Mobile必传。
2588
+ * 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
2526
2589
  */
2527
- export interface ReleasedApprover {
2590
+ export interface FilledComponent {
2528
2591
  /**
2529
- * 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符
2530
- */
2531
- OrganizationName: string;
2532
- /**
2533
- * 签署人在原流程中的签署人列表中的顺序序号(从0开始,按顺序依次递增),如果不清楚原流程中的签署人列表,可以通过DescribeFlows接口查看
2534
- */
2535
- ApproverNumber: number;
2536
- /**
2537
- * 签署人类型,目前仅支持
2538
- ORGANIZATION-企业
2539
- ENTERPRISESERVER-企业静默签
2540
- */
2541
- ApproverType: string;
2542
- /**
2543
- * 签署人姓名,最大长度50个字符
2544
- */
2545
- Name?: string;
2546
- /**
2547
- * 签署人身份证件类型
2548
- 1.ID_CARD 居民身份证
2549
- 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
2550
- 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
2592
+ * 控件Id
2593
+ 注意:此字段可能返回 null,表示取不到有效值。
2551
2594
  */
2552
- IdCardType?: string;
2595
+ ComponentId?: string;
2553
2596
  /**
2554
- * 签署人证件号
2597
+ * 控件名称
2598
+ 注意:此字段可能返回 null,表示取不到有效值。
2555
2599
  */
2556
- IdCardNumber?: string;
2600
+ ComponentName?: string;
2557
2601
  /**
2558
- * 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号
2602
+ * 控件填写状态;0-未填写;1-已填写
2603
+ 注意:此字段可能返回 null,表示取不到有效值。
2559
2604
  */
2560
- Mobile?: string;
2605
+ ComponentFillStatus?: string;
2561
2606
  /**
2562
- * 企业签署方在同一第三方应用下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
2607
+ * 控件填写内容
2608
+ 注意:此字段可能返回 null,表示取不到有效值。
2563
2609
  */
2564
- OrganizationOpenId?: string;
2610
+ ComponentValue?: string;
2565
2611
  /**
2566
- * 用户侧第三方id,最大长度64个字符
2567
- 当签署方为同一第三方应用下的员工时,该字必传
2612
+ * 图片填充控件下载链接,如果是图片填充控件时,这里返回图片的下载链接。
2613
+ 注意:此字段可能返回 null,表示取不到有效值。
2568
2614
  */
2569
- OpenId?: string;
2615
+ ImageUrl?: string;
2570
2616
  }
2571
2617
  /**
2572
2618
  * CreateSignUrls返回参数结构体
@@ -2794,6 +2840,20 @@ export interface ChannelCreateReleaseFlowRequest {
2794
2840
  */
2795
2841
  Operator?: UserInfo;
2796
2842
  }
2843
+ /**
2844
+ * ChannelDescribeFlowComponents返回参数结构体
2845
+ */
2846
+ export interface ChannelDescribeFlowComponentsResponse {
2847
+ /**
2848
+ * 流程关联的填写控件信息
2849
+ 注意:此字段可能返回 null,表示取不到有效值。
2850
+ */
2851
+ RecipientComponentInfos?: Array<RecipientComponentInfo>;
2852
+ /**
2853
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2854
+ */
2855
+ RequestId?: string;
2856
+ }
2797
2857
  /**
2798
2858
  * ChannelCreateFlowGroupByFiles返回参数结构体
2799
2859
  */
@@ -2839,15 +2899,6 @@ export interface ApproverOption {
2839
2899
  */
2840
2900
  HideOneKeySign?: boolean;
2841
2901
  }
2842
- /**
2843
- * ChannelCreateBoundFlows返回参数结构体
2844
- */
2845
- export interface ChannelCreateBoundFlowsResponse {
2846
- /**
2847
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2848
- */
2849
- RequestId?: string;
2850
- }
2851
2902
  /**
2852
2903
  * 合作企业经办人列表信息
2853
2904
  */
@@ -3075,7 +3126,38 @@ export interface Component {
3075
3126
  */
3076
3127
  ComponentPosY?: number;
3077
3128
  /**
3078
- * 参数控件样式,json格式表述
3129
+ * 扩展参数:
3130
+ 为JSON格式。
3131
+
3132
+ ComponentType为FILL_IMAGE时,支持以下参数:
3133
+ NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
3134
+ FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
3135
+
3136
+ ComponentType为SIGN_SIGNATURE类型可以控制签署方式
3137
+ {“ComponentTypeLimit”: [“xxx”]}
3138
+ xxx可以为:
3139
+ HANDWRITE – 手写签名
3140
+ OCR_ESIGN -- AI智能识别手写签名
3141
+ ESIGN -- 个人印章类型
3142
+ SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
3143
+ 如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
3144
+
3145
+ ComponentType为SIGN_DATE时,支持以下参数:
3146
+ 1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
3147
+ 2 FontSize: 数字类型,范围6-72,默认值为12
3148
+ 3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
3149
+ 4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
3150
+ 5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
3151
+ 如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
3152
+ 特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
3153
+ 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
3154
+
3155
+ ComponentType为SIGN_SEAL类型时,支持以下参数:
3156
+ 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
3157
+ 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
3158
+
3159
+
3160
+ 参数控件样式,json格式表述
3079
3161
 
3080
3162
  不同类型的控件会有部分非通用参数
3081
3163
 
@@ -3107,7 +3189,11 @@ export interface Component {
3107
3189
  5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙钟的空格个数
3108
3190
  如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
3109
3191
  特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
3110
- 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}",
3192
+ 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
3193
+
3194
+ ComponentType为SIGN_SEAL类型时,支持以下参数:
3195
+ 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
3196
+ 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
3111
3197
  */
3112
3198
  ComponentExtra?: string;
3113
3199
  /**
@@ -3554,6 +3640,24 @@ export interface CreateFlowsByTemplatesRequest {
3554
3640
  */
3555
3641
  Operator?: UserInfo;
3556
3642
  }
3643
+ /**
3644
+ * DescribeUsage返回参数结构体
3645
+ */
3646
+ export interface DescribeUsageResponse {
3647
+ /**
3648
+ * 用量明细条数
3649
+ */
3650
+ Total?: number;
3651
+ /**
3652
+ * 用量明细
3653
+ 注意:此字段可能返回 null,表示取不到有效值。
3654
+ */
3655
+ Details?: Array<UsageDetail>;
3656
+ /**
3657
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3658
+ */
3659
+ RequestId?: string;
3660
+ }
3557
3661
  /**
3558
3662
  * 用量明细
3559
3663
  */
@@ -3860,3 +3964,16 @@ export interface CcInfo {
3860
3964
  */
3861
3965
  CcPermission?: number;
3862
3966
  }
3967
+ /**
3968
+ * ChannelDescribeFlowComponents请求参数结构体
3969
+ */
3970
+ export interface ChannelDescribeFlowComponentsRequest {
3971
+ /**
3972
+ * 应用相关信息
3973
+ */
3974
+ Agent: Agent;
3975
+ /**
3976
+ * 电子签流程的Id
3977
+ */
3978
+ FlowId: string;
3979
+ }