tencentcloud-sdk-nodejs 4.1.244 → 4.1.245
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/cls/v20201016/cls_client.js +6 -0
- package/es/services/ocr/v20181119/ocr_client.js +0 -3
- package/es/services/tokenhub/v20260322/tokenhub_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +23 -24
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +11 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +14 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +30 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -3
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +131 -126
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +9 -5
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +22 -5
- package/tencentcloud/services/ess/v20201111/ess_client.js +22 -5
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -25
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +11 -19
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +5 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -7
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -8
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +42 -116
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +12 -8
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +7 -1
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +8 -0
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +20 -7
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +9 -1
|
@@ -8421,7 +8421,11 @@ export interface DescribeAuditLogFilesResponse {
|
|
|
8421
8421
|
*/
|
|
8422
8422
|
export interface SwitchClusterZoneResponse {
|
|
8423
8423
|
/**
|
|
8424
|
-
*
|
|
8424
|
+
* <p>任务id</p>
|
|
8425
|
+
*/
|
|
8426
|
+
TaskId?: number;
|
|
8427
|
+
/**
|
|
8428
|
+
* <p>异步FlowId</p>
|
|
8425
8429
|
*/
|
|
8426
8430
|
FlowId?: number;
|
|
8427
8431
|
/**
|
|
@@ -9221,19 +9225,19 @@ export interface ExportInstanceSlowQueriesResponse {
|
|
|
9221
9225
|
*/
|
|
9222
9226
|
export interface SwitchClusterZoneRequest {
|
|
9223
9227
|
/**
|
|
9224
|
-
*
|
|
9228
|
+
* <p>集群Id</p>
|
|
9225
9229
|
*/
|
|
9226
9230
|
ClusterId: string;
|
|
9227
9231
|
/**
|
|
9228
|
-
*
|
|
9232
|
+
* <p>当前可用区</p>
|
|
9229
9233
|
*/
|
|
9230
9234
|
OldZone: string;
|
|
9231
9235
|
/**
|
|
9232
|
-
*
|
|
9236
|
+
* <p>要切换到的可用区</p>
|
|
9233
9237
|
*/
|
|
9234
9238
|
NewZone: string;
|
|
9235
9239
|
/**
|
|
9236
|
-
*
|
|
9240
|
+
* <p>维护期间执行-yes,立即执行-no</p>
|
|
9237
9241
|
*/
|
|
9238
9242
|
IsInMaintainPeriod?: string;
|
|
9239
9243
|
}
|
|
@@ -381,16 +381,33 @@ export declare class Client extends AbstractClient {
|
|
|
381
381
|
*/
|
|
382
382
|
DescribeInformationExtractionTask(req: DescribeInformationExtractionTaskRequest, cb?: (error: string, rep: DescribeInformationExtractionTaskResponse) => void): Promise<DescribeInformationExtractionTaskResponse>;
|
|
383
383
|
/**
|
|
384
|
-
* 指定需要批量催办的签署流程ID,批量催办合同,最多100
|
|
384
|
+
* 指定需要批量催办的签署流程ID,批量催办合同,最多100个
|
|
385
|
+
##### 需要符合以下条件的合同才可被催办:
|
|
386
|
+
<ol>
|
|
387
|
+
<li>发起合同时,**设置了签署人通知类型:SMS,EMAIL,ALL**</li>
|
|
388
|
+
<li>合同中当前状态为 **待签署** 的签署人是催办的对象</li>
|
|
389
|
+
<li>**每个合同的每个签署方最多3次*</li>
|
|
390
|
+
</ol>
|
|
385
391
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
3. **每个合同的每个签署方只能催办一次**
|
|
392
|
+
##### 催办的规则和效果:
|
|
393
|
+
###### 规则
|
|
389
394
|
|
|
390
|
-
|
|
395
|
+
- 指定RemindTypes,会触发符合签署人NotifyType的通知类型
|
|
396
|
+
- 这里EMAIL类型例外,如果指定了RemindEmailInfos,那么就会按照指定的email来通知,不管签署人NotifyType是否设置了EMAIL通知类型
|
|
397
|
+
- 如果指定了RemindEmailInfos,那么就会按照指定的email来通知
|
|
398
|
+
- 若未指定RemindTypes,则按照发起合同时设置的签署人原始通知类型处理
|
|
399
|
+
|
|
400
|
+
###### 效果
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
<li>对方会收到如下的短信通知</li>
|
|
391
404
|
|
|
392
405
|

|
|
393
406
|
|
|
407
|
+
<li>对方会收到如下的邮件通知</li>
|
|
408
|
+
|
|
409
|
+

|
|
410
|
+
|
|
394
411
|
注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
|
|
395
412
|
*/
|
|
396
413
|
CreateFlowReminds(req: CreateFlowRemindsRequest, cb?: (error: string, rep: CreateFlowRemindsResponse) => void): Promise<CreateFlowRemindsResponse>;
|
|
@@ -465,16 +465,33 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
465
465
|
return this.request("DescribeInformationExtractionTask", req, cb);
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
|
-
* 指定需要批量催办的签署流程ID,批量催办合同,最多100
|
|
468
|
+
* 指定需要批量催办的签署流程ID,批量催办合同,最多100个
|
|
469
|
+
##### 需要符合以下条件的合同才可被催办:
|
|
470
|
+
<ol>
|
|
471
|
+
<li>发起合同时,**设置了签署人通知类型:SMS,EMAIL,ALL**</li>
|
|
472
|
+
<li>合同中当前状态为 **待签署** 的签署人是催办的对象</li>
|
|
473
|
+
<li>**每个合同的每个签署方最多3次*</li>
|
|
474
|
+
</ol>
|
|
469
475
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
3. **每个合同的每个签署方只能催办一次**
|
|
476
|
+
##### 催办的规则和效果:
|
|
477
|
+
###### 规则
|
|
473
478
|
|
|
474
|
-
|
|
479
|
+
- 指定RemindTypes,会触发符合签署人NotifyType的通知类型
|
|
480
|
+
- 这里EMAIL类型例外,如果指定了RemindEmailInfos,那么就会按照指定的email来通知,不管签署人NotifyType是否设置了EMAIL通知类型
|
|
481
|
+
- 如果指定了RemindEmailInfos,那么就会按照指定的email来通知
|
|
482
|
+
- 若未指定RemindTypes,则按照发起合同时设置的签署人原始通知类型处理
|
|
483
|
+
|
|
484
|
+
###### 效果
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
<li>对方会收到如下的短信通知</li>
|
|
475
488
|
|
|
476
489
|

|
|
477
490
|
|
|
491
|
+
<li>对方会收到如下的邮件通知</li>
|
|
492
|
+
|
|
493
|
+

|
|
494
|
+
|
|
478
495
|
注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
|
|
479
496
|
*/
|
|
480
497
|
async CreateFlowReminds(req, cb) {
|
|
@@ -5563,11 +5563,11 @@ export interface FlowForwardInfo {
|
|
|
5563
5563
|
*/
|
|
5564
5564
|
export interface CreateOrganizationBatchSignUrlResponse {
|
|
5565
5565
|
/**
|
|
5566
|
-
*
|
|
5566
|
+
* <p>批量签署入口链接,用户可使用这个链接跳转到控制台页面对合同进行签署操作。</p>
|
|
5567
5567
|
*/
|
|
5568
5568
|
SignUrl?: string;
|
|
5569
5569
|
/**
|
|
5570
|
-
*
|
|
5570
|
+
* <p>链接过期截止时间,格式为Unix标准时间戳(秒),默认为7天后截止。</p>
|
|
5571
5571
|
*/
|
|
5572
5572
|
ExpiredTime?: number;
|
|
5573
5573
|
/**
|
|
@@ -5767,56 +5767,43 @@ export interface DescribeDraftContractByPromptsTaskResponse {
|
|
|
5767
5767
|
*/
|
|
5768
5768
|
export interface CreateOrganizationBatchSignUrlRequest {
|
|
5769
5769
|
/**
|
|
5770
|
-
*
|
|
5771
|
-
支持填入集团子公司经办人 userId 代发合同。
|
|
5772
|
-
|
|
5773
|
-
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
5770
|
+
* <p>执行本接口操作的员工信息。使用此接口时,必须填写userId。<br>支持填入集团子公司经办人 userId 代发合同。</p><p>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
5774
5771
|
*/
|
|
5775
5772
|
Operator: UserInfo;
|
|
5776
5773
|
/**
|
|
5777
|
-
*
|
|
5774
|
+
* <p>请指定需执行批量签署的流程ID,数量范围为1-100。您可登录腾讯电子签控制台,浏览 "合同"->"合同中心" 以查阅某一合同的FlowId(在页面中显示为合同ID)。用户将利用链接对这些合同实施批量操作。 注:生成动态签署方领取时此参数必传。</p>
|
|
5778
5775
|
*/
|
|
5779
5776
|
FlowIds?: Array<string>;
|
|
5780
5777
|
/**
|
|
5781
|
-
*
|
|
5782
|
-
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
5778
|
+
* <p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
5783
5779
|
*/
|
|
5784
5780
|
Agent?: Agent;
|
|
5785
5781
|
/**
|
|
5786
|
-
*
|
|
5787
|
-
您可登录腾讯电子签控制台,在 "更多能力"->"组织管理" 中查阅某位员工的UserId(在页面中显示为用户ID)。
|
|
5788
|
-
UserId必须是传入合同(FlowId)中的签署人。
|
|
5789
|
-
|
|
5790
|
-
<ul>
|
|
5791
|
-
<li>1. 若UserId为空,Name和Mobile 必须提供。</li>
|
|
5792
|
-
<li>2. 若UserId 与 Name,Mobile均存在,将优先采用UserId对应的员工。</li>
|
|
5793
|
-
</ul>
|
|
5782
|
+
* <p>员工在腾讯电子签平台的独特身份标识,为32位字符串。<br>您可登录腾讯电子签控制台,在 "更多能力"->"组织管理" 中查阅某位员工的UserId(在页面中显示为用户ID)。<br>UserId必须是传入合同(FlowId)中的签署人。</p><ul><li>1. 若UserId为空,Name和Mobile 必须提供。</li><li>2. 若UserId 与 Name,Mobile均存在,将优先采用UserId对应的员工。</li></ul>
|
|
5794
5783
|
*/
|
|
5795
5784
|
UserId?: string;
|
|
5796
5785
|
/**
|
|
5797
|
-
*
|
|
5798
|
-
如果UserId为空,则此字段不能为空。同时,姓名和手机号码必须与传入合同(FlowId)中的签署人信息一致。
|
|
5786
|
+
* <p>员工姓名,必须与手机号码一起使用。<br>如果UserId为空,则此字段不能为空。同时,姓名和手机号码必须与传入合同(FlowId)中的签署人信息一致。</p>
|
|
5799
5787
|
*/
|
|
5800
5788
|
Name?: string;
|
|
5801
5789
|
/**
|
|
5802
|
-
*
|
|
5803
|
-
如果UserId为空,则此字段不能为空。同时,姓名和手机号码必须与传入合同(FlowId)中的签署人信息一致。
|
|
5790
|
+
* <p>员工手机号,必须与姓名一起使用。<br> 如果UserId为空,则此字段不能为空。同时,姓名和手机号码必须与传入合同(FlowId)中的签署人信息一致。</p>
|
|
5804
5791
|
*/
|
|
5805
5792
|
Mobile?: string;
|
|
5806
5793
|
/**
|
|
5807
|
-
*
|
|
5794
|
+
* <p>为签署方经办人在签署合同中的参与方ID,必须与参数FlowIds数组一一对应。您可以通过查询合同接口(DescribeFlowInfo)查询此参数。若传了此参数,则可以不传 UserId, Name, Mobile等参数 注:生成动态签署方领取时此参数必传。</p>
|
|
5808
5795
|
*/
|
|
5809
5796
|
RecipientIds?: Array<string>;
|
|
5810
5797
|
/**
|
|
5811
|
-
*
|
|
5798
|
+
* <p>合同组Id,传入此参数则可以不传FlowIds</p>
|
|
5812
5799
|
*/
|
|
5813
5800
|
FlowGroupId?: string;
|
|
5814
5801
|
/**
|
|
5815
|
-
*
|
|
5802
|
+
* <p>是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul></p>
|
|
5816
5803
|
*/
|
|
5817
5804
|
CanBatchReject?: boolean;
|
|
5818
5805
|
/**
|
|
5819
|
-
*
|
|
5806
|
+
* <p>动态签署方领取链接配置。</p>
|
|
5820
5807
|
*/
|
|
5821
5808
|
DynamicSignOption?: DynamicSignOption;
|
|
5822
5809
|
}
|
|
@@ -2577,47 +2577,39 @@ export interface IntentionAction {
|
|
|
2577
2577
|
*/
|
|
2578
2578
|
export interface ChannelCreateOrganizationBatchSignUrlRequest {
|
|
2579
2579
|
/**
|
|
2580
|
-
*
|
|
2580
|
+
* <p>关于渠道应用的相关信息,包括子客企业及应用编、号等详细内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。</p>
|
|
2581
2581
|
*/
|
|
2582
2582
|
Agent: Agent;
|
|
2583
2583
|
/**
|
|
2584
|
-
*
|
|
2584
|
+
* <p>请指定需执行批量签署的流程ID,数量范围为1-100。 您可登录腾讯电子签控制台,浏览 "合同"->"合同中心" 以查阅某一合同的FlowId(在页面中显示为合同ID)。 用户将利用链接对这些合同实施批量操作。</p>
|
|
2585
2585
|
*/
|
|
2586
2586
|
FlowIds?: Array<string>;
|
|
2587
2587
|
/**
|
|
2588
|
-
*
|
|
2589
|
-
|
|
2590
|
-
<ul>
|
|
2591
|
-
<li>1. 若OpenId为空,Name和Mobile 必须提供。</li>
|
|
2592
|
-
<li>2. 若OpenId 与 Name,Mobile均存在,将优先采用OpenId对应的员工。 </li>
|
|
2593
|
-
</ul>
|
|
2588
|
+
* <p>第三方应用平台的用户openid。 您可登录腾讯电子签控制台,在 "更多能力"->"组织管理" 中查阅某位员工的OpenId。 OpenId必须是传入合同(FlowId)中的签署人。</p><ul><li>1. 若OpenId为空,Name和Mobile 必须提供。</li><li>2. 若OpenId 与 Name,Mobile均存在,将优先采用OpenId对应的员工。 </li></ul>
|
|
2594
2589
|
*/
|
|
2595
2590
|
OpenId?: string;
|
|
2596
2591
|
/**
|
|
2597
|
-
*
|
|
2598
|
-
经办人的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
|
|
2599
|
-
|
|
2600
|
-
注:`请确保和合同中填入的一致`
|
|
2592
|
+
* <p>签署方经办人的姓名。<br>经办人的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。</p><p>注:<code>请确保和合同中填入的一致</code></p>
|
|
2601
2593
|
*/
|
|
2602
2594
|
Name?: string;
|
|
2603
2595
|
/**
|
|
2604
|
-
*
|
|
2596
|
+
* <p>员工手机号,必须与姓名一起使用。 如果OpenId为空,则此字段不能为空。同时,姓名和手机号码必须与传入合同(FlowId)中的签署人信息一致。</p>
|
|
2605
2597
|
*/
|
|
2606
2598
|
Mobile?: string;
|
|
2607
2599
|
/**
|
|
2608
|
-
*
|
|
2600
|
+
* <p>合同组Id,传入此参数则可以不传FlowIds</p>
|
|
2609
2601
|
*/
|
|
2610
2602
|
FlowGroupId?: string;
|
|
2611
2603
|
/**
|
|
2612
|
-
*
|
|
2604
|
+
* <p>是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul></p>
|
|
2613
2605
|
*/
|
|
2614
2606
|
CanBatchReject?: boolean;
|
|
2615
2607
|
/**
|
|
2616
|
-
*
|
|
2608
|
+
* <p>动态签署方领取链接配置。</p>
|
|
2617
2609
|
*/
|
|
2618
2610
|
DynamicSignOption?: DynamicSignOption;
|
|
2619
2611
|
/**
|
|
2620
|
-
*
|
|
2612
|
+
* <p>为签署方经办人在签署合同中的参与方ID,必须与参数FlowIds数组一一对应。 注:生成动态签署方领取时此参数必传。</p>
|
|
2621
2613
|
*/
|
|
2622
2614
|
RecipientIds?: Array<string>;
|
|
2623
2615
|
}
|
|
@@ -8740,11 +8732,11 @@ export interface DescribeChannelOrganizationsResponse {
|
|
|
8740
8732
|
*/
|
|
8741
8733
|
export interface ChannelCreateOrganizationBatchSignUrlResponse {
|
|
8742
8734
|
/**
|
|
8743
|
-
*
|
|
8735
|
+
* <p>批量签署入口链接,用户可使用这个链接跳转到控制台页面对合同进行签署操作。</p>
|
|
8744
8736
|
*/
|
|
8745
8737
|
SignUrl?: string;
|
|
8746
8738
|
/**
|
|
8747
|
-
*
|
|
8739
|
+
* <p>链接过期时间以 Unix 时间戳格式表示,从生成链接时间起,往后7天有效期。过期后短链将失效,无法打开。</p>
|
|
8748
8740
|
*/
|
|
8749
8741
|
ExpiredTime?: number;
|
|
8750
8742
|
/**
|
|
@@ -305,19 +305,19 @@ export interface GetFlowPackagesResponse {
|
|
|
305
305
|
*/
|
|
306
306
|
export interface ReportOrderRequest {
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* <p>订单编号唯一标识符</p>
|
|
309
309
|
*/
|
|
310
310
|
OrderId: string;
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* <p>项目id</p>
|
|
313
313
|
*/
|
|
314
314
|
ProjectId?: string;
|
|
315
315
|
/**
|
|
316
|
-
*
|
|
316
|
+
* <p>用量类型</p>
|
|
317
317
|
*/
|
|
318
318
|
PackageType?: string;
|
|
319
319
|
/**
|
|
320
|
-
*
|
|
320
|
+
* <p>上报月份,默认当前月</p>
|
|
321
321
|
*/
|
|
322
322
|
ReportMonth?: string;
|
|
323
323
|
}
|
|
@@ -797,7 +797,7 @@ export interface GetFlowStatisticByNameResponse {
|
|
|
797
797
|
*/
|
|
798
798
|
export interface ReportOrderResponse {
|
|
799
799
|
/**
|
|
800
|
-
*
|
|
800
|
+
* <p>订单信息</p>
|
|
801
801
|
*/
|
|
802
802
|
OrderInfo?: OrderInfo;
|
|
803
803
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest,
|
|
3
|
+
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, VerifyScenePhotoResponse, RecognizeAgentResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, VatInvoiceVerifyNewResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, RecognizeContainerOCRRequest, TextDetectRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, SubmitQuestionMarkAgentJobRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, RecognizeTravelCardOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -446,12 +446,6 @@ export declare class Client extends AbstractClient {
|
|
|
446
446
|
默认接口请求频率限制:5次/秒。
|
|
447
447
|
*/
|
|
448
448
|
RideHailingDriverLicenseOCR(req: RideHailingDriverLicenseOCRRequest, cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void): Promise<RideHailingDriverLicenseOCRResponse>;
|
|
449
|
-
/**
|
|
450
|
-
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
|
451
|
-
|
|
452
|
-
默认接口请求频率限制:20次/秒。
|
|
453
|
-
*/
|
|
454
|
-
HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
|
|
455
449
|
/**
|
|
456
450
|
* 用于作文批改Agent查询任务。基于业界领先的千亿参数多模态大模型技术,提供中英文手写作文的精准批改端到端服务。核心功能涵盖错别字智能识别、好词好句点评、错句纠错,并能够在原文中定位至具体段落与字符位置,同时提供详细的修改建议与优化内容。此能力是作业批改场景中的核心模块。
|
|
457
451
|
|
|
@@ -558,14 +558,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
558
558
|
async RideHailingDriverLicenseOCR(req, cb) {
|
|
559
559
|
return this.request("RideHailingDriverLicenseOCR", req, cb);
|
|
560
560
|
}
|
|
561
|
-
/**
|
|
562
|
-
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
|
563
|
-
|
|
564
|
-
默认接口请求频率限制:20次/秒。
|
|
565
|
-
*/
|
|
566
|
-
async HmtResidentPermitOCR(req, cb) {
|
|
567
|
-
return this.request("HmtResidentPermitOCR", req, cb);
|
|
568
|
-
}
|
|
569
561
|
/**
|
|
570
562
|
* 用于作文批改Agent查询任务。基于业界领先的千亿参数多模态大模型技术,提供中英文手写作文的精准批改端到端服务。核心功能涵盖错别字智能识别、好词好句点评、错句纠错,并能够在原文中定位至具体段落与字符位置,同时提供详细的修改建议与优化内容。此能力是作业批改场景中的核心模块。
|
|
571
563
|
|
|
@@ -93,47 +93,6 @@ export interface FieldsInfo {
|
|
|
93
93
|
*/
|
|
94
94
|
SubItems?: Array<SubItemGroup>;
|
|
95
95
|
}
|
|
96
|
-
/**
|
|
97
|
-
* 表格识别结果
|
|
98
|
-
*/
|
|
99
|
-
export interface TextTable {
|
|
100
|
-
/**
|
|
101
|
-
* 单元格左上角的列索引
|
|
102
|
-
*/
|
|
103
|
-
ColTl?: number;
|
|
104
|
-
/**
|
|
105
|
-
* 单元格左上角的行索引
|
|
106
|
-
*/
|
|
107
|
-
RowTl?: number;
|
|
108
|
-
/**
|
|
109
|
-
* 单元格右下角的列索引
|
|
110
|
-
*/
|
|
111
|
-
ColBr?: number;
|
|
112
|
-
/**
|
|
113
|
-
* 单元格右下角的行索引
|
|
114
|
-
*/
|
|
115
|
-
RowBr?: number;
|
|
116
|
-
/**
|
|
117
|
-
* 单元格文字
|
|
118
|
-
*/
|
|
119
|
-
Text?: string;
|
|
120
|
-
/**
|
|
121
|
-
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
|
122
|
-
*/
|
|
123
|
-
Type?: string;
|
|
124
|
-
/**
|
|
125
|
-
* 置信度 0 ~100
|
|
126
|
-
*/
|
|
127
|
-
Confidence?: number;
|
|
128
|
-
/**
|
|
129
|
-
* 文本行坐标,以四个顶点坐标表示
|
|
130
|
-
*/
|
|
131
|
-
Polygon?: Array<Coord>;
|
|
132
|
-
/**
|
|
133
|
-
* 此字段为扩展字段
|
|
134
|
-
*/
|
|
135
|
-
AdvancedInfo?: string;
|
|
136
|
-
}
|
|
137
96
|
/**
|
|
138
97
|
* 混贴票据单张发票识别信息
|
|
139
98
|
*/
|
|
@@ -1347,57 +1306,29 @@ export interface TextFormula {
|
|
|
1347
1306
|
DetectedText?: string;
|
|
1348
1307
|
}
|
|
1349
1308
|
/**
|
|
1350
|
-
*
|
|
1309
|
+
* MLIDCardOCR请求参数结构体
|
|
1351
1310
|
*/
|
|
1352
|
-
export interface
|
|
1353
|
-
/**
|
|
1354
|
-
* <p>证件姓名</p>
|
|
1355
|
-
*/
|
|
1356
|
-
Name?: string;
|
|
1357
|
-
/**
|
|
1358
|
-
* <p>性别</p>
|
|
1359
|
-
*/
|
|
1360
|
-
Sex?: string;
|
|
1361
|
-
/**
|
|
1362
|
-
* <p>出生日期</p>
|
|
1363
|
-
*/
|
|
1364
|
-
Birth?: string;
|
|
1365
|
-
/**
|
|
1366
|
-
* <p>地址</p>
|
|
1367
|
-
*/
|
|
1368
|
-
Address?: string;
|
|
1369
|
-
/**
|
|
1370
|
-
* <p>身份证号</p>
|
|
1371
|
-
*/
|
|
1372
|
-
IdCardNo?: string;
|
|
1373
|
-
/**
|
|
1374
|
-
* <p>0-正面<br>1-反面</p>
|
|
1375
|
-
*/
|
|
1376
|
-
CardType?: number;
|
|
1377
|
-
/**
|
|
1378
|
-
* <p>证件有效期限</p>
|
|
1379
|
-
*/
|
|
1380
|
-
ValidDate?: string;
|
|
1311
|
+
export interface MLIDCardOCRRequest {
|
|
1381
1312
|
/**
|
|
1382
|
-
*
|
|
1313
|
+
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
|
|
1383
1314
|
*/
|
|
1384
|
-
|
|
1315
|
+
ImageBase64?: string;
|
|
1385
1316
|
/**
|
|
1386
|
-
*
|
|
1317
|
+
* 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
1387
1318
|
*/
|
|
1388
|
-
|
|
1319
|
+
BackImageBase64?: string;
|
|
1389
1320
|
/**
|
|
1390
|
-
*
|
|
1321
|
+
* 图片的 Url 地址。( 中国地区之外不支持这个字段 )支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
1391
1322
|
*/
|
|
1392
|
-
|
|
1323
|
+
ImageUrl?: string;
|
|
1393
1324
|
/**
|
|
1394
|
-
*
|
|
1325
|
+
* 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
1395
1326
|
*/
|
|
1396
|
-
|
|
1327
|
+
BackImageUrl?: string;
|
|
1397
1328
|
/**
|
|
1398
|
-
*
|
|
1329
|
+
* 是否返回图片,默认false
|
|
1399
1330
|
*/
|
|
1400
|
-
|
|
1331
|
+
RetImage?: boolean;
|
|
1401
1332
|
}
|
|
1402
1333
|
/**
|
|
1403
1334
|
* 增值税发票项目明细
|
|
@@ -3771,31 +3702,6 @@ export interface ClassifyDetectOCRRequest {
|
|
|
3771
3702
|
*/
|
|
3772
3703
|
DiscernType?: Array<string>;
|
|
3773
3704
|
}
|
|
3774
|
-
/**
|
|
3775
|
-
* MLIDCardOCR请求参数结构体
|
|
3776
|
-
*/
|
|
3777
|
-
export interface MLIDCardOCRRequest {
|
|
3778
|
-
/**
|
|
3779
|
-
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
|
|
3780
|
-
*/
|
|
3781
|
-
ImageBase64?: string;
|
|
3782
|
-
/**
|
|
3783
|
-
* 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
3784
|
-
*/
|
|
3785
|
-
BackImageBase64?: string;
|
|
3786
|
-
/**
|
|
3787
|
-
* 图片的 Url 地址。( 中国地区之外不支持这个字段 )支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
3788
|
-
*/
|
|
3789
|
-
ImageUrl?: string;
|
|
3790
|
-
/**
|
|
3791
|
-
* 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
3792
|
-
*/
|
|
3793
|
-
BackImageUrl?: string;
|
|
3794
|
-
/**
|
|
3795
|
-
* 是否返回图片,默认false
|
|
3796
|
-
*/
|
|
3797
|
-
RetImage?: boolean;
|
|
3798
|
-
}
|
|
3799
3705
|
/**
|
|
3800
3706
|
* LicensePlateOCR返回参数结构体
|
|
3801
3707
|
*/
|
|
@@ -9193,25 +9099,45 @@ export interface MedicalInvoice {
|
|
|
9193
9099
|
Reviewer?: string;
|
|
9194
9100
|
}
|
|
9195
9101
|
/**
|
|
9196
|
-
*
|
|
9102
|
+
* 表格识别结果
|
|
9197
9103
|
*/
|
|
9198
|
-
export interface
|
|
9104
|
+
export interface TextTable {
|
|
9199
9105
|
/**
|
|
9200
|
-
*
|
|
9106
|
+
* 单元格左上角的列索引
|
|
9201
9107
|
*/
|
|
9202
|
-
|
|
9108
|
+
ColTl?: number;
|
|
9203
9109
|
/**
|
|
9204
|
-
*
|
|
9110
|
+
* 单元格左上角的行索引
|
|
9205
9111
|
*/
|
|
9206
|
-
|
|
9112
|
+
RowTl?: number;
|
|
9207
9113
|
/**
|
|
9208
|
-
*
|
|
9114
|
+
* 单元格右下角的列索引
|
|
9209
9115
|
*/
|
|
9210
|
-
|
|
9116
|
+
ColBr?: number;
|
|
9211
9117
|
/**
|
|
9212
|
-
*
|
|
9118
|
+
* 单元格右下角的行索引
|
|
9213
9119
|
*/
|
|
9214
|
-
|
|
9120
|
+
RowBr?: number;
|
|
9121
|
+
/**
|
|
9122
|
+
* 单元格文字
|
|
9123
|
+
*/
|
|
9124
|
+
Text?: string;
|
|
9125
|
+
/**
|
|
9126
|
+
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
|
9127
|
+
*/
|
|
9128
|
+
Type?: string;
|
|
9129
|
+
/**
|
|
9130
|
+
* 置信度 0 ~100
|
|
9131
|
+
*/
|
|
9132
|
+
Confidence?: number;
|
|
9133
|
+
/**
|
|
9134
|
+
* 文本行坐标,以四个顶点坐标表示
|
|
9135
|
+
*/
|
|
9136
|
+
Polygon?: Array<Coord>;
|
|
9137
|
+
/**
|
|
9138
|
+
* 此字段为扩展字段
|
|
9139
|
+
*/
|
|
9140
|
+
AdvancedInfo?: string;
|
|
9215
9141
|
}
|
|
9216
9142
|
/**
|
|
9217
9143
|
* RecognizeTableAccurateOCR返回参数结构体
|
|
@@ -2760,7 +2760,7 @@ export interface ManagedAIModel {
|
|
|
2760
2760
|
*/
|
|
2761
2761
|
export interface DescribeUserListResponse {
|
|
2762
2762
|
/**
|
|
2763
|
-
*
|
|
2763
|
+
* <p>结果返回</p>
|
|
2764
2764
|
*/
|
|
2765
2765
|
Data?: DescribeUserListResp;
|
|
2766
2766
|
/**
|
|
@@ -4525,33 +4525,37 @@ export interface AIModel {
|
|
|
4525
4525
|
*/
|
|
4526
4526
|
export interface DescribeUserListRequest {
|
|
4527
4527
|
/**
|
|
4528
|
-
*
|
|
4528
|
+
* <p>环境id</p>
|
|
4529
4529
|
*/
|
|
4530
4530
|
EnvId: string;
|
|
4531
4531
|
/**
|
|
4532
|
-
*
|
|
4532
|
+
* <p>页码,从1开始,默认1</p>
|
|
4533
4533
|
*/
|
|
4534
4534
|
PageNo?: number;
|
|
4535
4535
|
/**
|
|
4536
|
-
*
|
|
4536
|
+
* <p>每页数量,默认20,最大100</p>
|
|
4537
4537
|
*/
|
|
4538
4538
|
PageSize?: number;
|
|
4539
4539
|
/**
|
|
4540
|
-
*
|
|
4540
|
+
* <p>用户名,模糊查询</p>
|
|
4541
4541
|
*/
|
|
4542
4542
|
Name?: string;
|
|
4543
4543
|
/**
|
|
4544
|
-
*
|
|
4544
|
+
* <p>用户昵称,模糊查询</p>
|
|
4545
4545
|
*/
|
|
4546
4546
|
NickName?: string;
|
|
4547
4547
|
/**
|
|
4548
|
-
*
|
|
4548
|
+
* <p>手机号,模糊查询</p>
|
|
4549
4549
|
*/
|
|
4550
4550
|
Phone?: string;
|
|
4551
4551
|
/**
|
|
4552
|
-
*
|
|
4552
|
+
* <p>邮箱,模糊查询</p>
|
|
4553
4553
|
*/
|
|
4554
4554
|
Email?: string;
|
|
4555
|
+
/**
|
|
4556
|
+
* <p>用户id列表,根据id过滤用户</p>
|
|
4557
|
+
*/
|
|
4558
|
+
UidList?: Array<string>;
|
|
4555
4559
|
}
|
|
4556
4560
|
/**
|
|
4557
4561
|
* DescribeCurveData请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeTokenPlanApiKeySecretResponse, ModifyTokenPlanApiKeySecretResponse, DescribeTokenPlanApiKeyListResponse, DescribeUsageRankListRequest, DescribeTokenPlanRequest, DescribeTokenPlanApiKeyResponse, ModifyTokenPlanApiKeySecretRequest, DescribeApiKeyListResponse, RenewTokenPlanTeamOrderResponse,
|
|
3
|
+
import { DescribeTokenPlanApiKeySecretResponse, ModifyTokenPlanApiKeySecretResponse, DescribeTokenPlanApiKeyListResponse, DescribeUsageRankListRequest, DescribeTokenPlanRequest, DescribeTokenPlanApiKeyResponse, ModifyTokenPlanApiKeySecretRequest, DescribeApiKeyListResponse, RenewTokenPlanTeamOrderResponse, DescribeModelListRequest, DescribeApiKeyListRequest, UpgradeTokenPlanTeamOrderRequest, DescribeTokenPlanListResponse, CreateTokenPlanApiKeysResponse, DescribeTokenPlanApiKeyRequest, DescribeApiKeyRequest, DescribeModelListResponse, DescribeTokenPlanApiKeyUsageDetailResponse, DescribeTokenPlanApiKeyListRequest, CreateTokenPlanTeamOrderAndBuyRequest, ModifyTokenPlanApiKeyRequest, RenewTokenPlanTeamOrderRequest, DeleteTokenPlanApiKeyResponse, DescribeTokenPlanApiKeyUsageDetailRequest, ModifyTokenPlanApiKeyResponse, CreateTokenPlanTeamOrderAndBuyResponse, DescribeTokenPlanListRequest, UpgradeTokenPlanTeamOrderResponse, DescribeTokenPlanResponse, CreateTokenPlanApiKeysRequest, DescribeUsageRankListResponse, DeleteTokenPlanApiKeyRequest, DescribeApiKeyResponse, DescribeTokenPlanApiKeySecretRequest } from "./tokenhub_models";
|
|
4
4
|
/**
|
|
5
5
|
* tokenhub client
|
|
6
6
|
* @class
|
|
@@ -61,6 +61,12 @@ export declare class Client extends AbstractClient {
|
|
|
61
61
|
支持分页、过滤和排序。主账号可查看全部,子账号仅可查看自己创建的。返回结果包含每个套餐关联的额度中心主额度包详情。
|
|
62
62
|
*/
|
|
63
63
|
DescribeTokenPlanList(req: DescribeTokenPlanListRequest, cb?: (error: string, rep: DescribeTokenPlanListResponse) => void): Promise<DescribeTokenPlanListResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* 查询模型列表。
|
|
66
|
+
|
|
67
|
+
支持按模型 ID、模型名称、模型能力等条件筛选,支持分页和排序。
|
|
68
|
+
*/
|
|
69
|
+
DescribeModelList(req?: DescribeModelListRequest, cb?: (error: string, rep: DescribeModelListResponse) => void): Promise<DescribeModelListResponse>;
|
|
64
70
|
/**
|
|
65
71
|
* 根据 API 密钥 ID 或密钥值查询 API 密钥详情,返回明文密钥。ApiKeyId 和 ApiKey 至少需传入其一,优先使用 ApiKeyId。
|
|
66
72
|
*/
|