tencentcloud-sdk-nodejs 4.0.446 → 4.0.447

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 (43) hide show
  1. package/CHANGELOG.md +195 -0
  2. package/SERVICE_CHANGELOG.md +551 -602
  3. package/package.json +1 -1
  4. package/products.md +9 -9
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ccc/v20200210/ccc_models.ts +1 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +6 -1
  8. package/src/services/cvm/v20170312/cvm_models.ts +2 -4
  9. package/src/services/ess/v20201111/ess_client.ts +13 -0
  10. package/src/services/ess/v20201111/ess_models.ts +108 -2
  11. package/src/services/essbasic/v20210526/essbasic_client.ts +35 -17
  12. package/src/services/essbasic/v20210526/essbasic_models.ts +128 -12
  13. package/src/services/iotvideo/v20211125/iotvideo_models.ts +20 -7
  14. package/src/services/ivld/v20210903/ivld_client.ts +62 -51
  15. package/src/services/ivld/v20210903/ivld_models.ts +1179 -803
  16. package/src/services/mongodb/v20190725/mongodb_client.ts +13 -0
  17. package/src/services/mongodb/v20190725/mongodb_models.ts +55 -0
  18. package/src/services/ocr/v20181119/ocr_client.ts +22 -10
  19. package/src/services/ocr/v20181119/ocr_models.ts +159 -93
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
  23. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -1
  24. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -3
  25. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
  26. package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
  27. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +90 -2
  28. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +16 -7
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +19 -8
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +108 -12
  31. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +15 -4
  32. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +1 -1
  33. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +1081 -758
  34. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  35. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  36. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +47 -0
  37. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -3
  38. package/tencentcloud/services/ocr/v20181119/ocr_client.js +9 -3
  39. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +137 -78
  40. package/test/ess.v20201111.test.js +10 -0
  41. package/test/essbasic.v20210526.test.js +14 -4
  42. package/test/mongodb.v20190725.test.js +10 -0
  43. package/test/ocr.v20181119.test.js +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.446",
3
+ "version": "4.0.447",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -37,8 +37,8 @@
37
37
  | casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
38
38
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-09-15 11:03:22 |
39
39
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-09-08 06:11:23 |
40
- | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-06 06:13:56 |
41
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-09-20 06:13:05 |
40
+ | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-21 06:12:40 |
41
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-09-21 06:12:53 |
42
42
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
43
43
  | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-09-19 06:14:28 |
44
44
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
@@ -61,7 +61,7 @@
61
61
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
62
62
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-09-14 06:15:14 |
63
63
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
64
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-16 06:17:50 |
64
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-21 06:19:55 |
65
65
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-09-16 06:18:26 |
66
66
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
67
67
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-09-14 06:18:19 |
@@ -87,8 +87,8 @@
87
87
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-08-16 06:23:41 |
88
88
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-09-06 06:30:34 |
89
89
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-09-16 06:24:23 |
90
- | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-19 00:04:50 |
91
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-20 06:28:48 |
90
+ | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-20 21:03:08 |
91
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-20 21:03:25 |
92
92
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
93
93
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-09-20 06:29:06 |
94
94
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
@@ -111,10 +111,10 @@
111
111
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-08-16 06:27:22 |
112
112
  | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-09-12 06:28:33 |
113
113
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
114
- | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-08-30 06:36:25 |
114
+ | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-09-21 06:33:00 |
115
115
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-08-11 06:37:02 |
116
116
  | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-08-19 06:27:03 |
117
- | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-06-10 17:14:46 |
117
+ | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-09-20 19:36:34 |
118
118
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-08-05 06:26:44 |
119
119
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-09-14 06:27:13 |
120
120
  | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-09-16 06:31:07 |
@@ -126,7 +126,7 @@
126
126
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
127
127
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-08-25 06:38:57 |
128
128
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-09-14 20:21:28 |
129
- | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-09-19 06:39:03 |
129
+ | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-09-21 06:37:03 |
130
130
  | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-09-15 06:31:40 |
131
131
  | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-09-20 06:38:58 |
132
132
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
@@ -136,7 +136,7 @@
136
136
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
137
137
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
138
138
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-08-30 06:43:16 |
139
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-09-14 06:29:31 |
139
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-09-21 06:39:36 |
140
140
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-07-21 06:14:50 |
141
141
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-09-05 06:41:45 |
142
142
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.446"
1
+ export const sdkVersion = "4.0.447"
@@ -542,7 +542,7 @@ export interface PhoneNumBuyInfo {
542
542
  EndTime: number
543
543
 
544
544
  /**
545
- * 号码状态,1正常|2停用
545
+ * 号码状态,1正常|2欠费停用|4管理员停用|5违规停用
546
546
  */
547
547
  State: number
548
548
  }
@@ -670,6 +670,11 @@ export interface CreateParamTemplateRequest {
670
670
  * 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
671
671
  */
672
672
  TemplateType?: string
673
+
674
+ /**
675
+ * 实例引擎类型,默认为"InnoDB",支持值包括:"InnoDB","RocksDB"。
676
+ */
677
+ EngineType?: string
673
678
  }
674
679
 
675
680
  /**
@@ -3956,7 +3961,7 @@ export interface DescribeDBInstancesResponse {
3956
3961
  TotalCount: number
3957
3962
 
3958
3963
  /**
3959
- * 实例详细信息。
3964
+ * 实例详细信息列表。
3960
3965
  */
3961
3966
  Items: Array<InstanceInfo>
3962
3967
 
@@ -1807,10 +1807,8 @@ export interface SyncImagesRequest {
1807
1807
  ImageIds: Array<string>
1808
1808
 
1809
1809
  /**
1810
- * 目的同步地域列表;必须满足限制:<br><li>不能为源地域,<br><li>必须是一个合法的Region。<br><li>暂不支持部分地域同步。<br>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
1811
-
1812
- 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为同地域的自定义镜像。
1813
- */
1810
+ * 目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。<br><li>如果是自定义镜像,则目标同步地域不能为源地域。<br><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。<br><li>暂不支持部分地域同步。<br>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
1811
+ */
1814
1812
  DestinationRegions: Array<string>
1815
1813
 
1816
1814
  /**
@@ -48,14 +48,17 @@ import {
48
48
  OrganizationInfo,
49
49
  DescribeFlowBriefsRequest,
50
50
  Recipient,
51
+ VerifyPdfRequest,
51
52
  UserInfo,
52
53
  FillApproverInfo,
53
54
  SignUrl,
55
+ VerifyPdfResponse,
54
56
  DescribeFileUrlsRequest,
55
57
  ApproverInfo,
56
58
  CreateFlowSignReviewResponse,
57
59
  Caller,
58
60
  DescribeFlowTemplatesResponse,
61
+ PdfVerifyResult,
59
62
  CreateFlowEvidenceReportRequest,
60
63
  CreateBatchCancelFlowUrlResponse,
61
64
  UploadFilesRequest,
@@ -92,6 +95,16 @@ export class Client extends AbstractClient {
92
95
  super("ess.tencentcloudapi.com", "2020-11-11", clientConfig)
93
96
  }
94
97
 
98
+ /**
99
+ * 验证合同文件
100
+ */
101
+ async VerifyPdf(
102
+ req: VerifyPdfRequest,
103
+ cb?: (error: string, rep: VerifyPdfResponse) => void
104
+ ): Promise<VerifyPdfResponse> {
105
+ return this.request("VerifyPdf", req, cb)
106
+ }
107
+
95
108
  /**
96
109
  * 查询文件下载URL
97
110
  适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
@@ -294,7 +294,7 @@ export interface CreateFlowRequest {
294
294
  /**
295
295
  * 暂未开放
296
296
  */
297
- CallbackUrl?: string
297
+ RelatedFlowId?: string
298
298
 
299
299
  /**
300
300
  * 签署流程的签署截止时间。
@@ -336,7 +336,7 @@ false:有序签
336
336
  /**
337
337
  * 暂未开放
338
338
  */
339
- RelatedFlowId?: string
339
+ CallbackUrl?: string
340
340
 
341
341
  /**
342
342
  * 应用相关信息
@@ -1009,6 +1009,21 @@ export interface Recipient {
1009
1009
  RecipientExtra?: string
1010
1010
  }
1011
1011
 
1012
+ /**
1013
+ * VerifyPdf请求参数结构体
1014
+ */
1015
+ export interface VerifyPdfRequest {
1016
+ /**
1017
+ * 合同Id,流程Id
1018
+ */
1019
+ FlowId: string
1020
+
1021
+ /**
1022
+ * 调用方用户信息,userId 必填
1023
+ */
1024
+ Operator?: UserInfo
1025
+ }
1026
+
1012
1027
  /**
1013
1028
  * 用户信息
1014
1029
  */
@@ -1081,6 +1096,27 @@ export interface SignUrl {
1081
1096
  HttpSignUrl: string
1082
1097
  }
1083
1098
 
1099
+ /**
1100
+ * VerifyPdf返回参数结构体
1101
+ */
1102
+ export interface VerifyPdfResponse {
1103
+ /**
1104
+ * 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
1105
+ */
1106
+ VerifyResult: number
1107
+
1108
+ /**
1109
+ * 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
1110
+ ;5-文件签名格式错误
1111
+ */
1112
+ PdfVerifyResults: Array<PdfVerifyResult>
1113
+
1114
+ /**
1115
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1116
+ */
1117
+ RequestId?: string
1118
+ }
1119
+
1084
1120
  /**
1085
1121
  * DescribeFileUrls请求参数结构体
1086
1122
  */
@@ -1283,6 +1319,76 @@ export interface DescribeFlowTemplatesResponse {
1283
1319
  RequestId?: string
1284
1320
  }
1285
1321
 
1322
+ /**
1323
+ * 合同文件验签单个结果结构体
1324
+ */
1325
+ export interface PdfVerifyResult {
1326
+ /**
1327
+ * 验签结果
1328
+ */
1329
+ VerifyResult: number
1330
+
1331
+ /**
1332
+ * 签署平台
1333
+ */
1334
+ SignPlatform: string
1335
+
1336
+ /**
1337
+ * 签署人名称
1338
+ */
1339
+ SignerName: string
1340
+
1341
+ /**
1342
+ * 签署时间
1343
+ */
1344
+ SignTime: number
1345
+
1346
+ /**
1347
+ * 签名算法
1348
+ */
1349
+ SignAlgorithm: string
1350
+
1351
+ /**
1352
+ * 签名证书序列号
1353
+ */
1354
+ CertSn: string
1355
+
1356
+ /**
1357
+ * 证书起始时间
1358
+ */
1359
+ CertNotBefore: number
1360
+
1361
+ /**
1362
+ * 证书过期时间
1363
+ */
1364
+ CertNotAfter: number
1365
+
1366
+ /**
1367
+ * 签名域横坐标
1368
+ */
1369
+ ComponentPosX: number
1370
+
1371
+ /**
1372
+ * 签名域纵坐标
1373
+ */
1374
+ ComponentPosY: number
1375
+
1376
+ /**
1377
+ * 签名域宽度
1378
+ */
1379
+ ComponentWidth: number
1380
+
1381
+ /**
1382
+ * 签名域高度
1383
+ */
1384
+ ComponentHeight: number
1385
+
1386
+ /**
1387
+ * 签名域所在页码
1388
+ */
1389
+ ComponentPage: number
1390
+ }
1391
+
1286
1392
  /**
1287
1393
  * CreateFlowEvidenceReport请求参数结构体
1288
1394
  */
@@ -19,12 +19,13 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  ResourceUrlInfo,
22
- SyncProxyOrganizationResponse,
22
+ PdfVerifyResult,
23
23
  FlowApproverInfo,
24
24
  ChannelCreateConvertTaskApiResponse,
25
25
  OperateChannelTemplateRequest,
26
26
  TemplateInfo,
27
27
  UploadFilesRequest,
28
+ SyncProxyOrganizationResponse,
28
29
  ChannelBatchCancelFlowsResponse,
29
30
  GetDownloadFlowUrlResponse,
30
31
  DescribeResourceUrlsByFlowsResponse,
@@ -42,6 +43,7 @@ import {
42
43
  UploadFile,
43
44
  ProxyOrganizationOperator,
44
45
  ChannelGetTaskResultApiRequest,
46
+ ChannelVerifyPdfResponse,
45
47
  SignUrlInfo,
46
48
  Component,
47
49
  GetDownloadFlowUrlRequest,
@@ -54,7 +56,7 @@ import {
54
56
  DescribeUsageResponse,
55
57
  SyncProxyOrganizationOperatorsResponse,
56
58
  CreateSealByImageResponse,
57
- SignUrl,
59
+ ChannelVerifyPdfRequest,
58
60
  FlowResourceUrlInfo,
59
61
  FlowFileInfo,
60
62
  DescribeTemplatesRequest,
@@ -64,6 +66,7 @@ import {
64
66
  SyncProxyOrganizationRequest,
65
67
  CreateSealByImageRequest,
66
68
  SignQrCode,
69
+ SignUrl,
67
70
  ChannelCreateFlowGroupByFilesResponse,
68
71
  PrepareFlowsRequest,
69
72
  UsageDetail,
@@ -215,7 +218,10 @@ export class Client extends AbstractClient {
215
218
 
216
219
  /**
217
220
  * 指定需要批量撤销的签署流程Id,获取批量撤销链接
218
- 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销
221
+ 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;
222
+ 接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销;
223
+ 注意:
224
+ 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
219
225
  */
220
226
  async ChannelCreateBatchCancelFlowUrl(
221
227
  req: ChannelCreateBatchCancelFlowUrlRequest,
@@ -235,13 +241,24 @@ export class Client extends AbstractClient {
235
241
  }
236
242
 
237
243
  /**
238
- * 此接口(SyncProxyOrganization)用于同步渠道子客企业信息,主要是子客企业的营业执照,便于子客企业开通过程中不用手动上传。若有需要调用此接口,需要在创建控制链接CreateConsoleLoginUrl之后即刻进行调用。
244
+ * 【描述】:创建出证报告,返回报告 URL
245
+ 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
246
+ */
247
+ async CreateChannelFlowEvidenceReport(
248
+ req: CreateChannelFlowEvidenceReportRequest,
249
+ cb?: (error: string, rep: CreateChannelFlowEvidenceReportResponse) => void
250
+ ): Promise<CreateChannelFlowEvidenceReportResponse> {
251
+ return this.request("CreateChannelFlowEvidenceReport", req, cb)
252
+ }
253
+
254
+ /**
255
+ * 合同文件验签
239
256
  */
240
- async SyncProxyOrganization(
241
- req: SyncProxyOrganizationRequest,
242
- cb?: (error: string, rep: SyncProxyOrganizationResponse) => void
243
- ): Promise<SyncProxyOrganizationResponse> {
244
- return this.request("SyncProxyOrganization", req, cb)
257
+ async ChannelVerifyPdf(
258
+ req: ChannelVerifyPdfRequest,
259
+ cb?: (error: string, rep: ChannelVerifyPdfResponse) => void
260
+ ): Promise<ChannelVerifyPdfResponse> {
261
+ return this.request("ChannelVerifyPdf", req, cb)
245
262
  }
246
263
 
247
264
  /**
@@ -270,6 +287,8 @@ export class Client extends AbstractClient {
270
287
  /**
271
288
  * 指定需要批量撤销的签署流程Id,批量撤销合同
272
289
  客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口失败后返回错误信息
290
+ 注意:
291
+ 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
273
292
  */
274
293
  async ChannelBatchCancelFlows(
275
294
  req: ChannelBatchCancelFlowsRequest,
@@ -322,14 +341,13 @@ export class Client extends AbstractClient {
322
341
  }
323
342
 
324
343
  /**
325
- * 【描述】:创建出证报告,返回报告 URL
326
- 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
327
- */
328
- async CreateChannelFlowEvidenceReport(
329
- req: CreateChannelFlowEvidenceReportRequest,
330
- cb?: (error: string, rep: CreateChannelFlowEvidenceReportResponse) => void
331
- ): Promise<CreateChannelFlowEvidenceReportResponse> {
332
- return this.request("CreateChannelFlowEvidenceReport", req, cb)
344
+ * 此接口(SyncProxyOrganization)用于同步渠道子客企业信息,主要是子客企业的营业执照,便于子客企业开通过程中不用手动上传。若有需要调用此接口,需要在创建控制链接CreateConsoleLoginUrl之后即刻进行调用。
345
+ */
346
+ async SyncProxyOrganization(
347
+ req: SyncProxyOrganizationRequest,
348
+ cb?: (error: string, rep: SyncProxyOrganizationResponse) => void
349
+ ): Promise<SyncProxyOrganizationResponse> {
350
+ return this.request("SyncProxyOrganization", req, cb)
333
351
  }
334
352
 
335
353
  /**
@@ -39,13 +39,78 @@ export interface ResourceUrlInfo {
39
39
  }
40
40
 
41
41
  /**
42
- * SyncProxyOrganization返回参数结构体
42
+ * 合同文件验签单个结果结构体
43
43
  */
44
- export interface SyncProxyOrganizationResponse {
44
+ export interface PdfVerifyResult {
45
45
  /**
46
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
46
+ * 验签结果
47
47
  */
48
- RequestId?: string
48
+ VerifyResult: number
49
+
50
+ /**
51
+ * 签署平台
52
+ */
53
+ SignPlatform: string
54
+
55
+ /**
56
+ * 签署人名称
57
+ */
58
+ SignerName: string
59
+
60
+ /**
61
+ * 签署时间
62
+ */
63
+ SignTime: number
64
+
65
+ /**
66
+ * 签名算法
67
+ */
68
+ SignAlgorithm: string
69
+
70
+ /**
71
+ * 签名证书序列号
72
+ */
73
+ CertSn: string
74
+
75
+ /**
76
+ * 证书起始时间
77
+ */
78
+ CertNotBefore: number
79
+
80
+ /**
81
+ * 证书过期时间
82
+ */
83
+ CertNotAfter: number
84
+
85
+ /**
86
+ * 签名类型
87
+ */
88
+ SignType: number
89
+
90
+ /**
91
+ * 签名域横坐标
92
+ */
93
+ ComponentPosX: number
94
+
95
+ /**
96
+ * 签名域纵坐标
97
+ */
98
+ ComponentPosY: number
99
+
100
+ /**
101
+ * 签名域宽度
102
+ */
103
+ ComponentWidth: number
104
+
105
+ /**
106
+ * 签名域高度
107
+ */
108
+ ComponentHeight: number
109
+
110
+ /**
111
+ * 签名域所在页码
112
+ */
113
+ ComponentPage: number
49
114
  }
50
115
 
51
116
  /**
@@ -273,6 +338,16 @@ export interface UploadFilesRequest {
273
338
  Operator?: UserInfo
274
339
  }
275
340
 
341
+ /**
342
+ * SyncProxyOrganization返回参数结构体
343
+ */
344
+ export interface SyncProxyOrganizationResponse {
345
+ /**
346
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
347
+ */
348
+ RequestId?: string
349
+ }
350
+
276
351
  /**
277
352
  * ChannelBatchCancelFlows返回参数结构体
278
353
  */
@@ -801,6 +876,27 @@ export interface ChannelGetTaskResultApiRequest {
801
876
  Organization?: OrganizationInfo
802
877
  }
803
878
 
879
+ /**
880
+ * ChannelVerifyPdf返回参数结构体
881
+ */
882
+ export interface ChannelVerifyPdfResponse {
883
+ /**
884
+ * 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
885
+ */
886
+ VerifyResult: number
887
+
888
+ /**
889
+ * 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
890
+ ;5-文件签名格式错误
891
+ */
892
+ PdfVerifyResults: Array<PdfVerifyResult>
893
+
894
+ /**
895
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
896
+ */
897
+ RequestId?: string
898
+ }
899
+
804
900
  /**
805
901
  * 签署链接内容
806
902
  */
@@ -1313,23 +1409,23 @@ export interface CreateSealByImageResponse {
1313
1409
  }
1314
1410
 
1315
1411
  /**
1316
- * 一码多扫签署二维码签署信息
1412
+ * ChannelVerifyPdf请求参数结构体
1317
1413
  */
1318
- export interface SignUrl {
1414
+ export interface ChannelVerifyPdfRequest {
1319
1415
  /**
1320
- * 小程序签署链接
1416
+ * 合同Id,流程Id
1321
1417
  */
1322
- AppSignUrl: string
1418
+ FlowId: string
1323
1419
 
1324
1420
  /**
1325
- * 签署链接有效时间
1421
+ * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1326
1422
  */
1327
- EffectiveTime: string
1423
+ Agent?: Agent
1328
1424
 
1329
1425
  /**
1330
- * 移动端签署链接
1426
+ * 操作者的信息
1331
1427
  */
1332
- HttpSignUrl: string
1428
+ Operator?: UserInfo
1333
1429
  }
1334
1430
 
1335
1431
  /**
@@ -1601,6 +1697,26 @@ export interface SignQrCode {
1601
1697
  ExpiredTime: number
1602
1698
  }
1603
1699
 
1700
+ /**
1701
+ * 一码多扫签署二维码签署信息
1702
+ */
1703
+ export interface SignUrl {
1704
+ /**
1705
+ * 小程序签署链接
1706
+ */
1707
+ AppSignUrl: string
1708
+
1709
+ /**
1710
+ * 签署链接有效时间
1711
+ */
1712
+ EffectiveTime: string
1713
+
1714
+ /**
1715
+ * 移动端签署链接
1716
+ */
1717
+ HttpSignUrl: string
1718
+ }
1719
+
1604
1720
  /**
1605
1721
  * ChannelCreateFlowGroupByFiles返回参数结构体
1606
1722
  */
@@ -2529,15 +2529,11 @@ export interface CreateProductRequest {
2529
2529
  ProductVaildYears: number
2530
2530
 
2531
2531
  /**
2532
- * 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
2533
- */
2532
+ * 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
2533
+ 注意:此字段只支持创建'摄像头'和'儿童手表',摄像头传["ypsxth","spdxth"],儿童手表传["ypsxth","spdxth","sxysp"],创建其它品类的产品需要传递CategoryId字段,通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)
2534
+ */
2534
2535
  Features: Array<string>
2535
2536
 
2536
- /**
2537
- * 设备操作系统,通用设备填default
2538
- */
2539
- ChipOs: string
2540
-
2541
2537
  /**
2542
2538
  * 芯片厂商id,通用设备填default
2543
2539
  */
@@ -2553,11 +2549,22 @@ export interface CreateProductRequest {
2553
2549
  */
2554
2550
  ProductDescription: string
2555
2551
 
2552
+ /**
2553
+ * 设备操作系统,通用设备填default
2554
+ */
2555
+ ChipOs: string
2556
+
2556
2557
  /**
2557
2558
  * 认证方式 只支持取值为2 psk认证
2558
2559
  */
2559
2560
  EncryptionType?: number
2560
2561
 
2562
+ /**
2563
+ * 产品品类id,113:摄像头,567:儿童手表,595:可视对讲门锁
2564
+ 注意:通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)
2565
+ */
2566
+ CategoryId?: number
2567
+
2561
2568
  /**
2562
2569
  * 连接类型,wifi表示WIFI连接,cellular表示4G连接
2563
2570
  */
@@ -3497,6 +3504,12 @@ export interface VideoProduct {
3497
3504
  注意:此字段可能返回 null,表示取不到有效值。
3498
3505
  */
3499
3506
  CategoryId: number
3507
+
3508
+ /**
3509
+ * 产品有效年限
3510
+ 注意:此字段可能返回 null,表示取不到有效值。
3511
+ */
3512
+ ProductVaildYears: number
3500
3513
  }
3501
3514
 
3502
3515
  /**