tencentcloud-sdk-nodejs 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.
Files changed (99) hide show
  1. package/CHANGELOG.md +384 -0
  2. package/SERVICE_CHANGELOG.md +389 -91
  3. package/package.json +1 -1
  4. package/products.md +28 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_models.ts +16 -16
  7. package/src/services/apm/v20210622/apm_models.ts +5 -1
  8. package/src/services/billing/v20180709/billing_models.ts +29 -23
  9. package/src/services/cdb/v20170320/cdb_client.ts +18 -6
  10. package/src/services/cdb/v20170320/cdb_models.ts +28 -0
  11. package/src/services/ckafka/v20190819/ckafka_client.ts +4 -4
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +100 -65
  13. package/src/services/clb/v20180317/clb_models.ts +1 -1
  14. package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -0
  15. package/src/services/cynosdb/v20190107/cynosdb_models.ts +33 -0
  16. package/src/services/dcdb/v20180411/dcdb_client.ts +26 -13
  17. package/src/services/dcdb/v20180411/dcdb_models.ts +114 -9
  18. package/src/services/dlc/v20210125/dlc_client.ts +1 -1
  19. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  20. package/src/services/emr/v20190103/emr_client.ts +1 -1
  21. package/src/services/emr/v20190103/emr_models.ts +2 -2
  22. package/src/services/ess/v20201111/ess_client.ts +15 -1
  23. package/src/services/ess/v20201111/ess_models.ts +114 -15
  24. package/src/services/essbasic/v20210526/essbasic_client.ts +18 -4
  25. package/src/services/essbasic/v20210526/essbasic_models.ts +193 -72
  26. package/src/services/live/v20180801/live_client.ts +19 -6
  27. package/src/services/live/v20180801/live_models.ts +69 -0
  28. package/src/services/mariadb/v20170312/mariadb_client.ts +14 -1
  29. package/src/services/mariadb/v20170312/mariadb_models.ts +121 -16
  30. package/src/services/ocr/v20181119/ocr_models.ts +2 -2
  31. package/src/services/partners/v20180321/partners_models.ts +5 -0
  32. package/src/services/smh/v20210712/smh_models.ts +11 -11
  33. package/src/services/sts/v20180813/sts_client.ts +21 -8
  34. package/src/services/sts/v20180813/sts_models.ts +21 -21
  35. package/src/services/tbp/v20190311/tbp_models.ts +5 -5
  36. package/src/services/vod/v20180717/vod_client.ts +127 -41
  37. package/src/services/vod/v20180717/vod_models.ts +939 -164
  38. package/src/services/vpc/v20170312/vpc_models.ts +8 -6
  39. package/src/services/yinsuda/v20220527/yinsuda_client.ts +13 -0
  40. package/src/services/yinsuda/v20220527/yinsuda_models.ts +87 -0
  41. package/tencentcloud/common/sdk_version.d.ts +1 -1
  42. package/tencentcloud/common/sdk_version.js +1 -1
  43. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +16 -16
  44. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +5 -1
  45. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +9 -3
  46. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +7 -3
  47. package/tencentcloud/services/cdb/v20170320/cdb_client.js +9 -3
  48. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +26 -0
  49. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +0 -1
  50. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +0 -1
  51. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +99 -65
  52. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  53. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  54. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  55. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +30 -0
  56. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +9 -5
  57. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +12 -6
  58. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +111 -9
  59. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
  60. package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
  61. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +5 -0
  62. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
  63. package/tencentcloud/services/emr/v20190103/emr_client.js +1 -1
  64. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
  65. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
  66. package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
  67. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +110 -15
  68. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
  69. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
  70. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +188 -71
  71. package/tencentcloud/services/live/v20180801/live_client.d.ts +7 -3
  72. package/tencentcloud/services/live/v20180801/live_client.js +9 -3
  73. package/tencentcloud/services/live/v20180801/live_models.d.ts +66 -0
  74. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
  75. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
  76. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +118 -16
  77. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -2
  78. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +5 -0
  79. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +11 -11
  80. package/tencentcloud/services/sts/v20180813/sts_client.d.ts +18 -5
  81. package/tencentcloud/services/sts/v20180813/sts_client.js +18 -5
  82. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +21 -21
  83. package/tencentcloud/services/tbp/v20190311/tbp_models.d.ts +5 -5
  84. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +33 -13
  85. package/tencentcloud/services/vod/v20180717/vod_client.js +47 -17
  86. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +909 -170
  87. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -6
  88. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +5 -1
  89. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +6 -0
  90. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +84 -0
  91. package/test/cdb.v20170320.test.js +12 -2
  92. package/test/cynosdb.v20190107.test.js +10 -0
  93. package/test/dcdb.v20180411.test.js +14 -4
  94. package/test/ess.v20201111.test.js +10 -0
  95. package/test/essbasic.v20210526.test.js +10 -0
  96. package/test/live.v20180801.test.js +12 -2
  97. package/test/mariadb.v20170312.test.js +10 -0
  98. package/test/vod.v20180717.test.js +66 -16
  99. package/test/yinsuda.v20220527.test.js +10 -0
@@ -484,6 +484,32 @@ Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其
484
484
  Agent?: Agent
485
485
  }
486
486
 
487
+ /**
488
+ * 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
489
+ 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该C端签署人。
490
+ */
491
+ export interface ReleasedApprover {
492
+ /**
493
+ * 签署人姓名,最大长度50个字符
494
+
495
+ */
496
+ Name: string
497
+ /**
498
+ * 签署人手机号
499
+ */
500
+ Mobile: string
501
+ /**
502
+ * 要替换的参与人在原合同参与人列表中的签署人编号,通过DescribeFlowInfo 接口获取(即FlowDetailInfos. FlowApproverInfos 结构中的ReceiptId )
503
+ */
504
+ RelievedApproverReceiptId: string
505
+ /**
506
+ * 指定签署人类型,目前仅支持
507
+ ORGANIZATION-企业
508
+ ENTERPRISESERVER-企业静默签
509
+ */
510
+ ApproverType?: string
511
+ }
512
+
487
513
  /**
488
514
  * DescribeIntegrationRoles请求参数结构体
489
515
  */
@@ -837,6 +863,21 @@ ApplicationId为空,查询所有应用下的模板列表
837
863
  GenerateSource?: number
838
864
  }
839
865
 
866
+ /**
867
+ * DescribeFlowComponents返回参数结构体
868
+ */
869
+ export interface DescribeFlowComponentsResponse {
870
+ /**
871
+ * 流程关联的填写控件信息
872
+ 注意:此字段可能返回 null,表示取不到有效值。
873
+ */
874
+ RecipientComponentInfos?: Array<RecipientComponentInfo>
875
+ /**
876
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
877
+ */
878
+ RequestId?: string
879
+ }
880
+
840
881
  /**
841
882
  * DescribeFlowEvidenceReport返回参数结构体
842
883
  */
@@ -881,6 +922,32 @@ export interface CallbackInfo {
881
922
  CallbackToken?: string
882
923
  }
883
924
 
925
+ /**
926
+ * 参与方填写控件信息
927
+ */
928
+ export interface RecipientComponentInfo {
929
+ /**
930
+ * 参与方Id
931
+ 注意:此字段可能返回 null,表示取不到有效值。
932
+ */
933
+ RecipientId?: string
934
+ /**
935
+ * 参与方填写状态
936
+ 注意:此字段可能返回 null,表示取不到有效值。
937
+ */
938
+ RecipientFillStatus?: string
939
+ /**
940
+ * 是否发起方
941
+ 注意:此字段可能返回 null,表示取不到有效值。
942
+ */
943
+ IsPromoter?: boolean
944
+ /**
945
+ * 填写控件内容
946
+ 注意:此字段可能返回 null,表示取不到有效值。
947
+ */
948
+ Components?: Array<FilledComponent>
949
+ }
950
+
884
951
  /**
885
952
  * 企业模板的信息结构
886
953
  */
@@ -2149,6 +2216,24 @@ export interface DescribeFileUrlsResponse {
2149
2216
  RequestId?: string
2150
2217
  }
2151
2218
 
2219
+ /**
2220
+ * DescribeFlowComponents请求参数结构体
2221
+ */
2222
+ export interface DescribeFlowComponentsRequest {
2223
+ /**
2224
+ * 操作者信息
2225
+ */
2226
+ Operator: UserInfo
2227
+ /**
2228
+ * 电子签流程的Id
2229
+ */
2230
+ FlowId: string
2231
+ /**
2232
+ * 应用相关信息
2233
+ */
2234
+ Agent?: Agent
2235
+ }
2236
+
2152
2237
  /**
2153
2238
  * CreateIntegrationDepartment请求参数结构体
2154
2239
  */
@@ -3656,7 +3741,11 @@ ComponentType为SIGN_DATE时,支持以下参数:
3656
3741
  5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
3657
3742
  如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
3658
3743
  特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
3659
- 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}",
3744
+ 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
3745
+
3746
+ ComponentType为SIGN_SEAL类型时,支持以下参数:
3747
+ 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
3748
+ 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
3660
3749
  */
3661
3750
  ComponentExtra?: string
3662
3751
  /**
@@ -4320,29 +4409,39 @@ E_PRESCRIPTION_AUTO_SIGN 电子处方
4320
4409
  }
4321
4410
 
4322
4411
  /**
4323
- * 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
4324
- 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该C端签署人。
4412
+ * 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
4325
4413
  */
4326
- export interface ReleasedApprover {
4414
+ export interface FilledComponent {
4327
4415
  /**
4328
- * 签署人姓名,最大长度50个字符
4329
-
4416
+ * 控件Id
4417
+ 注意:此字段可能返回 null,表示取不到有效值。
4330
4418
  */
4331
- Name: string
4419
+ ComponentId?: string
4332
4420
  /**
4333
- * 签署人手机号
4421
+ * 控件名称
4422
+ 注意:此字段可能返回 null,表示取不到有效值。
4334
4423
  */
4335
- Mobile: string
4424
+ ComponentName?: string
4336
4425
  /**
4337
- * 要替换的参与人在原合同参与人列表中的签署人编号,通过DescribeFlowInfo 接口获取(即FlowDetailInfos. FlowApproverInfos 结构中的ReceiptId )
4426
+ * 控件填写状态;0-未填写;1-已填写
4427
+ 注意:此字段可能返回 null,表示取不到有效值。
4338
4428
  */
4339
- RelievedApproverReceiptId: string
4429
+ ComponentFillStatus?: string
4340
4430
  /**
4341
- * 指定签署人类型,目前仅支持
4342
- ORGANIZATION-企业
4343
- ENTERPRISESERVER-企业静默签
4431
+ * 控件填写内容
4432
+ 注意:此字段可能返回 null,表示取不到有效值。
4344
4433
  */
4345
- ApproverType?: string
4434
+ ComponentValue?: string
4435
+ /**
4436
+ * 控件所属参与方Id
4437
+ 注意:此字段可能返回 null,表示取不到有效值。
4438
+ */
4439
+ ComponentRecipientId?: string
4440
+ /**
4441
+ * 图片填充控件下载链接,如果是图片填充控件时,这里返回图片的下载链接。
4442
+ 注意:此字段可能返回 null,表示取不到有效值。
4443
+ */
4444
+ ImageUrl?: string
4346
4445
  }
4347
4446
 
4348
4447
  /**
@@ -37,6 +37,7 @@ import {
37
37
  FlowFileInfo,
38
38
  CreateFlowOption,
39
39
  BaseFlowInfo,
40
+ ReleasedApprover,
40
41
  CreateConsoleLoginUrlResponse,
41
42
  ChannelDeleteRoleUsersRequest,
42
43
  ChannelCreateUserRolesResponse,
@@ -54,7 +55,7 @@ import {
54
55
  DescribeResourceUrlsByFlowsResponse,
55
56
  ChannelCreateFlowGroupByFilesRequest,
56
57
  DescribeFlowDetailInfoResponse,
57
- ResourceUrlInfo,
58
+ RecipientComponentInfo,
58
59
  ChannelDescribeRolesRequest,
59
60
  PrepareFlowsResponse,
60
61
  TemplateInfo,
@@ -80,8 +81,9 @@ import {
80
81
  FlowInfo,
81
82
  UserInfo,
82
83
  TaskInfo,
83
- DescribeUsageResponse,
84
+ ChannelCreateBoundFlowsResponse,
84
85
  Staff,
86
+ ResourceUrlInfo,
85
87
  ChannelCreateBoundFlowsRequest,
86
88
  ChannelDescribeEmployeesRequest,
87
89
  AuthorizedUser,
@@ -101,7 +103,7 @@ import {
101
103
  UploadFile,
102
104
  ExtentServiceAuthInfo,
103
105
  Filter,
104
- ReleasedApprover,
106
+ FilledComponent,
105
107
  CreateSignUrlsResponse,
106
108
  UploadFilesResponse,
107
109
  ChannelCreateBatchCancelFlowUrlRequest,
@@ -114,10 +116,10 @@ import {
114
116
  ChannelCancelMultiFlowSignQRCodeResponse,
115
117
  ChannelDescribeRolesResponse,
116
118
  ChannelCreateReleaseFlowRequest,
119
+ ChannelDescribeFlowComponentsResponse,
117
120
  ChannelCreateFlowGroupByFilesResponse,
118
121
  ChannelCreateMultiFlowSignQRCodeResponse,
119
122
  ApproverOption,
120
- ChannelCreateBoundFlowsResponse,
121
123
  ProxyOrganizationOperator,
122
124
  ModifyExtendedServiceResponse,
123
125
  ChannelCreateUserRolesRequest,
@@ -135,6 +137,7 @@ import {
135
137
  ChannelCreateSealPolicyRequest,
136
138
  OccupiedSeal,
137
139
  CreateFlowsByTemplatesRequest,
140
+ DescribeUsageResponse,
138
141
  UsageDetail,
139
142
  ChannelCreateBatchCancelFlowUrlResponse,
140
143
  OperateChannelTemplateRequest,
@@ -149,6 +152,7 @@ import {
149
152
  DescribeExtendedServiceAuthInfoResponse,
150
153
  ChannelCreateEmbedWebUrlRequest,
151
154
  CcInfo,
155
+ ChannelDescribeFlowComponentsRequest,
152
156
  } from "./essbasic_models"
153
157
 
154
158
  /**
@@ -675,4 +679,14 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
675
679
  ): Promise<DescribeFlowDetailInfoResponse> {
676
680
  return this.request("DescribeFlowDetailInfo", req, cb)
677
681
  }
682
+
683
+ /**
684
+ * 查询流程填写控件内容,可以根据流程Id查询该流程相关联的填写控件信息
685
+ */
686
+ async ChannelDescribeFlowComponents(
687
+ req: ChannelDescribeFlowComponentsRequest,
688
+ cb?: (error: string, rep: ChannelDescribeFlowComponentsResponse) => void
689
+ ): Promise<ChannelDescribeFlowComponentsResponse> {
690
+ return this.request("ChannelDescribeFlowComponents", req, cb)
691
+ }
678
692
  }
@@ -440,6 +440,61 @@ export interface BaseFlowInfo {
440
440
  NeedCreateReview?: boolean
441
441
  }
442
442
 
443
+ /**
444
+ * 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
445
+ 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
446
+
447
+ 如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
448
+ ApproverNumber, OrganizationName, ApproverType必传。
449
+ 对于其他身份标识
450
+ - 子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
451
+ - 非子客企业:Name、Mobile必传。
452
+ */
453
+ export interface ReleasedApprover {
454
+ /**
455
+ * 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符
456
+ */
457
+ OrganizationName: string
458
+ /**
459
+ * 签署人在原流程中的签署人列表中的顺序序号(从0开始,按顺序依次递增),如果不清楚原流程中的签署人列表,可以通过DescribeFlows接口查看
460
+ */
461
+ ApproverNumber: number
462
+ /**
463
+ * 签署人类型,目前仅支持
464
+ ORGANIZATION-企业
465
+ ENTERPRISESERVER-企业静默签
466
+ */
467
+ ApproverType: string
468
+ /**
469
+ * 签署人姓名,最大长度50个字符
470
+ */
471
+ Name?: string
472
+ /**
473
+ * 签署人身份证件类型
474
+ 1.ID_CARD 居民身份证
475
+ 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
476
+ 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
477
+ */
478
+ IdCardType?: string
479
+ /**
480
+ * 签署人证件号
481
+ */
482
+ IdCardNumber?: string
483
+ /**
484
+ * 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号
485
+ */
486
+ Mobile?: string
487
+ /**
488
+ * 企业签署方在同一第三方应用下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
489
+ */
490
+ OrganizationOpenId?: string
491
+ /**
492
+ * 用户侧第三方id,最大长度64个字符
493
+ 当签署方为同一第三方应用下的员工时,该字必传
494
+ */
495
+ OpenId?: string
496
+ }
497
+
443
498
  /**
444
499
  * CreateConsoleLoginUrl返回参数结构体
445
500
  */
@@ -959,24 +1014,29 @@ export interface DescribeFlowDetailInfoResponse {
959
1014
  }
960
1015
 
961
1016
  /**
962
- * 资源链接信息
1017
+ * 参与方填写控件信息
963
1018
  */
964
- export interface ResourceUrlInfo {
1019
+ export interface RecipientComponentInfo {
965
1020
  /**
966
- * 资源链接地址,过期时间5分钟
1021
+ * 参与方Id
967
1022
  注意:此字段可能返回 null,表示取不到有效值。
968
1023
  */
969
- Url: string
1024
+ RecipientId?: string
970
1025
  /**
971
- * 资源名称
1026
+ * 参与方填写状态
972
1027
  注意:此字段可能返回 null,表示取不到有效值。
973
1028
  */
974
- Name: string
1029
+ RecipientFillStatus?: string
975
1030
  /**
976
- * 资源类型
1031
+ * 是否发起方
977
1032
  注意:此字段可能返回 null,表示取不到有效值。
978
1033
  */
979
- Type: string
1034
+ IsPromoter?: boolean
1035
+ /**
1036
+ * 填写控件内容
1037
+ 注意:此字段可能返回 null,表示取不到有效值。
1038
+ */
1039
+ Components?: Array<FilledComponent>
980
1040
  }
981
1041
 
982
1042
  /**
@@ -1946,18 +2006,9 @@ export interface TaskInfo {
1946
2006
  }
1947
2007
 
1948
2008
  /**
1949
- * DescribeUsage返回参数结构体
2009
+ * ChannelCreateBoundFlows返回参数结构体
1950
2010
  */
1951
- export interface DescribeUsageResponse {
1952
- /**
1953
- * 用量明细条数
1954
- */
1955
- Total?: number
1956
- /**
1957
- * 用量明细
1958
- 注意:此字段可能返回 null,表示取不到有效值。
1959
- */
1960
- Details?: Array<UsageDetail>
2011
+ export interface ChannelCreateBoundFlowsResponse {
1961
2012
  /**
1962
2013
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1963
2014
  */
@@ -2018,6 +2069,27 @@ export interface Staff {
2018
2069
  QuiteJob: number
2019
2070
  }
2020
2071
 
2072
+ /**
2073
+ * 资源链接信息
2074
+ */
2075
+ export interface ResourceUrlInfo {
2076
+ /**
2077
+ * 资源链接地址,过期时间5分钟
2078
+ 注意:此字段可能返回 null,表示取不到有效值。
2079
+ */
2080
+ Url: string
2081
+ /**
2082
+ * 资源名称
2083
+ 注意:此字段可能返回 null,表示取不到有效值。
2084
+ */
2085
+ Name: string
2086
+ /**
2087
+ * 资源类型
2088
+ 注意:此字段可能返回 null,表示取不到有效值。
2089
+ */
2090
+ Type: string
2091
+ }
2092
+
2021
2093
  /**
2022
2094
  * ChannelCreateBoundFlows请求参数结构体
2023
2095
  */
@@ -2615,58 +2687,34 @@ export interface Filter {
2615
2687
  }
2616
2688
 
2617
2689
  /**
2618
- * 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
2619
- 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
2620
-
2621
- 如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
2622
- ApproverNumber, OrganizationName, ApproverType必传。
2623
- 对于其他身份标识
2624
- - 子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
2625
- - 非子客企业:Name、Mobile必传。
2690
+ * 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
2626
2691
  */
2627
- export interface ReleasedApprover {
2628
- /**
2629
- * 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符
2630
- */
2631
- OrganizationName: string
2632
- /**
2633
- * 签署人在原流程中的签署人列表中的顺序序号(从0开始,按顺序依次递增),如果不清楚原流程中的签署人列表,可以通过DescribeFlows接口查看
2634
- */
2635
- ApproverNumber: number
2692
+ export interface FilledComponent {
2636
2693
  /**
2637
- * 签署人类型,目前仅支持
2638
- ORGANIZATION-企业
2639
- ENTERPRISESERVER-企业静默签
2640
- */
2641
- ApproverType: string
2642
- /**
2643
- * 签署人姓名,最大长度50个字符
2644
- */
2645
- Name?: string
2646
- /**
2647
- * 签署人身份证件类型
2648
- 1.ID_CARD 居民身份证
2649
- 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
2650
- 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
2694
+ * 控件Id
2695
+ 注意:此字段可能返回 null,表示取不到有效值。
2651
2696
  */
2652
- IdCardType?: string
2697
+ ComponentId?: string
2653
2698
  /**
2654
- * 签署人证件号
2699
+ * 控件名称
2700
+ 注意:此字段可能返回 null,表示取不到有效值。
2655
2701
  */
2656
- IdCardNumber?: string
2702
+ ComponentName?: string
2657
2703
  /**
2658
- * 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号
2704
+ * 控件填写状态;0-未填写;1-已填写
2705
+ 注意:此字段可能返回 null,表示取不到有效值。
2659
2706
  */
2660
- Mobile?: string
2707
+ ComponentFillStatus?: string
2661
2708
  /**
2662
- * 企业签署方在同一第三方应用下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
2709
+ * 控件填写内容
2710
+ 注意:此字段可能返回 null,表示取不到有效值。
2663
2711
  */
2664
- OrganizationOpenId?: string
2712
+ ComponentValue?: string
2665
2713
  /**
2666
- * 用户侧第三方id,最大长度64个字符
2667
- 当签署方为同一第三方应用下的员工时,该字必传
2714
+ * 图片填充控件下载链接,如果是图片填充控件时,这里返回图片的下载链接。
2715
+ 注意:此字段可能返回 null,表示取不到有效值。
2668
2716
  */
2669
- OpenId?: string
2717
+ ImageUrl?: string
2670
2718
  }
2671
2719
 
2672
2720
  /**
@@ -2907,6 +2955,21 @@ export interface ChannelCreateReleaseFlowRequest {
2907
2955
  Operator?: UserInfo
2908
2956
  }
2909
2957
 
2958
+ /**
2959
+ * ChannelDescribeFlowComponents返回参数结构体
2960
+ */
2961
+ export interface ChannelDescribeFlowComponentsResponse {
2962
+ /**
2963
+ * 流程关联的填写控件信息
2964
+ 注意:此字段可能返回 null,表示取不到有效值。
2965
+ */
2966
+ RecipientComponentInfos?: Array<RecipientComponentInfo>
2967
+ /**
2968
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2969
+ */
2970
+ RequestId?: string
2971
+ }
2972
+
2910
2973
  /**
2911
2974
  * ChannelCreateFlowGroupByFiles返回参数结构体
2912
2975
  */
@@ -2955,16 +3018,6 @@ export interface ApproverOption {
2955
3018
  HideOneKeySign?: boolean
2956
3019
  }
2957
3020
 
2958
- /**
2959
- * ChannelCreateBoundFlows返回参数结构体
2960
- */
2961
- export interface ChannelCreateBoundFlowsResponse {
2962
- /**
2963
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2964
- */
2965
- RequestId?: string
2966
- }
2967
-
2968
3021
  /**
2969
3022
  * 合作企业经办人列表信息
2970
3023
  */
@@ -3197,7 +3250,38 @@ KEYWORD - 关键字
3197
3250
  */
3198
3251
  ComponentPosY?: number
3199
3252
  /**
3200
- * 参数控件样式,json格式表述
3253
+ * 扩展参数:
3254
+ 为JSON格式。
3255
+
3256
+ ComponentType为FILL_IMAGE时,支持以下参数:
3257
+ NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
3258
+ FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
3259
+
3260
+ ComponentType为SIGN_SIGNATURE类型可以控制签署方式
3261
+ {“ComponentTypeLimit”: [“xxx”]}
3262
+ xxx可以为:
3263
+ HANDWRITE – 手写签名
3264
+ OCR_ESIGN -- AI智能识别手写签名
3265
+ ESIGN -- 个人印章类型
3266
+ SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
3267
+ 如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
3268
+
3269
+ ComponentType为SIGN_DATE时,支持以下参数:
3270
+ 1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
3271
+ 2 FontSize: 数字类型,范围6-72,默认值为12
3272
+ 3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
3273
+ 4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
3274
+ 5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
3275
+ 如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
3276
+ 特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
3277
+ 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
3278
+
3279
+ ComponentType为SIGN_SEAL类型时,支持以下参数:
3280
+ 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
3281
+ 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
3282
+
3283
+
3284
+ 参数控件样式,json格式表述
3201
3285
 
3202
3286
  不同类型的控件会有部分非通用参数
3203
3287
 
@@ -3229,7 +3313,11 @@ ComponentType为SIGN_DATE时,支持以下参数:
3229
3313
  5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙钟的空格个数
3230
3314
  如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
3231
3315
  特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
3232
- 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}",
3316
+ 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
3317
+
3318
+ ComponentType为SIGN_SEAL类型时,支持以下参数:
3319
+ 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
3320
+ 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
3233
3321
  */
3234
3322
  ComponentExtra?: string
3235
3323
  /**
@@ -3688,6 +3776,25 @@ export interface CreateFlowsByTemplatesRequest {
3688
3776
  Operator?: UserInfo
3689
3777
  }
3690
3778
 
3779
+ /**
3780
+ * DescribeUsage返回参数结构体
3781
+ */
3782
+ export interface DescribeUsageResponse {
3783
+ /**
3784
+ * 用量明细条数
3785
+ */
3786
+ Total?: number
3787
+ /**
3788
+ * 用量明细
3789
+ 注意:此字段可能返回 null,表示取不到有效值。
3790
+ */
3791
+ Details?: Array<UsageDetail>
3792
+ /**
3793
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3794
+ */
3795
+ RequestId?: string
3796
+ }
3797
+
3691
3798
  /**
3692
3799
  * 用量明细
3693
3800
  */
@@ -4007,3 +4114,17 @@ export interface CcInfo {
4007
4114
  */
4008
4115
  CcPermission?: number
4009
4116
  }
4117
+
4118
+ /**
4119
+ * ChannelDescribeFlowComponents请求参数结构体
4120
+ */
4121
+ export interface ChannelDescribeFlowComponentsRequest {
4122
+ /**
4123
+ * 应用相关信息
4124
+ */
4125
+ Agent: Agent
4126
+ /**
4127
+ * 电子签流程的Id
4128
+ */
4129
+ FlowId: string
4130
+ }
@@ -79,6 +79,7 @@ import {
79
79
  StopRecordTaskResponse,
80
80
  CommonMixControlParams,
81
81
  DescribeTranscodeTaskNumResponse,
82
+ DescribeLivePullStreamTaskStatusResponse,
82
83
  ModifyLiveStreamMonitorResponse,
83
84
  DeleteLivePadRuleResponse,
84
85
  DescribeLiveRecordTemplateRequest,
@@ -200,6 +201,7 @@ import {
200
201
  ModifyLiveCallbackTemplateResponse,
201
202
  DescribeLiveCallbackTemplatesResponse,
202
203
  DescribeLivePushAuthKeyResponse,
204
+ DescribeLivePullStreamTaskStatusRequest,
203
205
  RestartLivePullStreamTaskRequest,
204
206
  DelayInfo,
205
207
  DescribeLiveStreamMonitorRequest,
@@ -278,6 +280,7 @@ import {
278
280
  DescribeLiveTranscodeTemplatesResponse,
279
281
  DeleteLiveCallbackRuleRequest,
280
282
  DescribeAllStreamPlayInfoListResponse,
283
+ TaskStatusInfo,
281
284
  DescribeVisitTopSumInfoListResponse,
282
285
  TimeShiftBillData,
283
286
  HlsSpecialParam,
@@ -1212,13 +1215,13 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
1212
1215
  }
1213
1216
 
1214
1217
  /**
1215
- * 获取转码规则列表
1218
+ * 查询直播拉流任务状态信息。
1216
1219
  */
1217
- async DescribeLiveTranscodeRules(
1218
- req: DescribeLiveTranscodeRulesRequest,
1219
- cb?: (error: string, rep: DescribeLiveTranscodeRulesResponse) => void
1220
- ): Promise<DescribeLiveTranscodeRulesResponse> {
1221
- return this.request("DescribeLiveTranscodeRules", req, cb)
1220
+ async DescribeLivePullStreamTaskStatus(
1221
+ req: DescribeLivePullStreamTaskStatusRequest,
1222
+ cb?: (error: string, rep: DescribeLivePullStreamTaskStatusResponse) => void
1223
+ ): Promise<DescribeLivePullStreamTaskStatusResponse> {
1224
+ return this.request("DescribeLivePullStreamTaskStatus", req, cb)
1222
1225
  }
1223
1226
 
1224
1227
  /**
@@ -1924,6 +1927,16 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
1924
1927
  return this.request("DescribeLiveCerts", req, cb)
1925
1928
  }
1926
1929
 
1930
+ /**
1931
+ * 获取转码规则列表
1932
+ */
1933
+ async DescribeLiveTranscodeRules(
1934
+ req: DescribeLiveTranscodeRulesRequest,
1935
+ cb?: (error: string, rep: DescribeLiveTranscodeRulesResponse) => void
1936
+ ): Promise<DescribeLiveTranscodeRulesResponse> {
1937
+ return this.request("DescribeLiveTranscodeRules", req, cb)
1938
+ }
1939
+
1927
1940
  /**
1928
1941
  * 启用状态为停用的直播域名。
1929
1942
  */