tencentcloud-sdk-nodejs 4.1.114 → 4.1.116
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/ai3d/v20250513/ai3d_client.js +6 -0
- package/es/services/cloudapp/v20220530/cloudapp_client.js +3 -0
- package/es/services/cls/v20201016/cls_client.js +9 -0
- package/es/services/gme/v20180711/gme_client.js +27 -0
- package/es/services/index.js +1 -0
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +26 -2
- package/es/services/lighthouse/v20200324/lighthouse_client.js +3 -0
- package/es/services/lowcode/v20210108/lowcode_client.js +13 -4
- package/es/services/ocr/v20181119/ocr_client.js +10 -4
- package/es/services/tdai/index.js +4 -0
- package/es/services/tdai/v20250717/index.js +6 -0
- package/es/services/tdai/v20250717/tdai_client.js +60 -0
- package/es/services/tdai/v20250717/tdai_models.js +0 -0
- package/es/services/teo/v20220901/teo_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/ai3d/v20250513/ai3d_client.d.ts +11 -1
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.js +14 -0
- package/tencentcloud/services/ai3d/v20250513/ai3d_models.d.ts +110 -9
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +2 -2
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +4 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +31 -67
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +16 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
- package/tencentcloud/services/chc/v20230418/chc_models.d.ts +29 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +114 -93
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_client.d.ts +118 -1
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_client.js +119 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +54 -16
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +13 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +18 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +284 -85
- package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +16 -0
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +8 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +18 -17
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +73 -3
- package/tencentcloud/services/es/v20250101/es_models.d.ts +118 -13
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +80 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -0
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +39 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +56 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +678 -80
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +8 -0
- package/tencentcloud/services/igtm/v20231024/igtm_models.d.ts +2 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +18 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +35 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +51 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +584 -132
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +6 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +7 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +158 -47
- package/tencentcloud/services/live/v20180801/live_models.d.ts +2 -2
- package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +8 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +17 -5
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +24 -6
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +646 -41
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +5 -1
- package/tencentcloud/services/mps/v20190612/mps_client.js +5 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +476 -11
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +61 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +13 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +18 -6
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +185 -77
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +2 -1
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +151 -126
- package/tencentcloud/services/tdai/index.d.ts +6 -0
- package/tencentcloud/services/tdai/index.js +7 -0
- package/tencentcloud/services/tdai/v20250717/index.d.ts +6 -0
- package/tencentcloud/services/tdai/v20250717/index.js +10 -0
- package/tencentcloud/services/tdai/v20250717/tdai_client.d.ts +82 -0
- package/tencentcloud/services/tdai/v20250717/tdai_client.js +139 -0
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +877 -0
- package/tencentcloud/services/tdai/v20250717/tdai_models.js +18 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +6 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +101 -40
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +2 -2
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +2 -2
- package/tencentcloud/services/tts/v20190823/tts_client.d.ts +1 -1
- package/tencentcloud/services/tts/v20190823/tts_client.js +1 -1
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +15 -11
- package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +3 -5
- package/tencentcloud/services/wsa/v20250508/wsa_client.d.ts +1 -1
- package/tencentcloud/services/wsa/v20250508/wsa_client.js +1 -1
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
@@ -693,6 +693,10 @@ export interface ModifyInstanceRequest {
|
|
693
693
|
BYOC:一机一证
|
694
694
|
*/
|
695
695
|
X509Mode?: string;
|
696
|
+
/**
|
697
|
+
* 单客户端消息收发限速单位 条/秒
|
698
|
+
*/
|
699
|
+
MessageRate?: number;
|
696
700
|
}
|
697
701
|
/**
|
698
702
|
* CreateDeviceIdentity请求参数结构体
|
@@ -1540,6 +1544,55 @@ export interface DescribeMessageDetailsResponse {
|
|
1540
1544
|
* 源topic
|
1541
1545
|
*/
|
1542
1546
|
OriginTopic?: string;
|
1547
|
+
/**
|
1548
|
+
* 内容类型(MQTT5)
|
1549
|
+
含义:指示消息载荷的内容类型,使用标准的 MIME 类型格式。这帮助接收方正确解析和处理消息内容。
|
1550
|
+
示例:
|
1551
|
+
application/json:表示载荷是 JSON 格式的数据。
|
1552
|
+
text/plain:表示载荷是纯文本。
|
1553
|
+
application/octet-stream:表示载荷是二进制数据。
|
1554
|
+
*/
|
1555
|
+
ContentType?: string;
|
1556
|
+
/**
|
1557
|
+
* 载荷格式指示符(MQTT5)
|
1558
|
+
含义:指示载荷的格式,是一个布尔值。0表示未指定格式(二进制),1表示 UTF-8 编码的字符串。
|
1559
|
+
示例:
|
1560
|
+
值为0:当载荷是二进制数据,如图片、音频等。
|
1561
|
+
值为1:当载荷是 UTF-8 编码的文本,如 JSON 字符串、XML 等。
|
1562
|
+
*/
|
1563
|
+
PayloadFormatIndicator?: number;
|
1564
|
+
/**
|
1565
|
+
* 消息过期间隔(MQTT5)
|
1566
|
+
含义:指定消息在被丢弃前的有效时间(秒)。如果消息在过期前未能送达,则会被 MQTT 服务器丢弃。
|
1567
|
+
示例:
|
1568
|
+
值为60:表示消息在发布后的 60 秒内有效,过期后未送达则被丢弃。
|
1569
|
+
值为0:表示消息不过期,永久有效(直到被接收或会话结束)。
|
1570
|
+
*/
|
1571
|
+
MessageExpiryInterval?: number;
|
1572
|
+
/**
|
1573
|
+
* 响应主题(MQTT5)
|
1574
|
+
含义:指定一个主题,用于请求 - 响应模式中的响应消息。发送方可以指定接收方应该将响应发送到哪个主题。
|
1575
|
+
示例:
|
1576
|
+
发送方发布请求到主题devices/device1/commands,并设置ResponseTopic为devices/device1/responses。
|
1577
|
+
接收方处理请求后,将响应发布到devices/device1/responses主题。
|
1578
|
+
*/
|
1579
|
+
ResponseTopic?: string;
|
1580
|
+
/**
|
1581
|
+
* 关联数据(MQTT5)
|
1582
|
+
含义:用于关联请求和响应的标识符,通常是一个字节数组。在请求 - 响应模式中,发送方设置此值,接收方在响应中包含相同的值,以便发送方识别响应对应的请求。
|
1583
|
+
示例:
|
1584
|
+
发送方生成一个唯一 ID(如 UUID 的字节数组)作为CorrelationData,附加到请求消息中。
|
1585
|
+
接收方在响应消息中包含相同的CorrelationData,发送方通过比较此值来匹配响应和请求。
|
1586
|
+
*/
|
1587
|
+
CorrelationData?: string;
|
1588
|
+
/**
|
1589
|
+
* 订阅标识符(MQTT5)
|
1590
|
+
含义:为订阅分配的唯一标识符,用于标识客户端的特定订阅。当服务器向客户端发送消息时,可以包含此标识符,帮助客户端识别消息对应的订阅。
|
1591
|
+
示例:
|
1592
|
+
客户端订阅主题devices/+/temperature,并设置SubscriptionIdentifier为123。
|
1593
|
+
当服务器向客户端发送此主题的消息时,会在消息中包含SubscriptionIdentifier: 123,客户端可以根据此值知道消息是通过哪个订阅接收的。
|
1594
|
+
*/
|
1595
|
+
SubscriptionIdentifier?: string;
|
1543
1596
|
/**
|
1544
1597
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1545
1598
|
*/
|
@@ -2309,6 +2362,14 @@ export interface DescribeInstanceResponse {
|
|
2309
2362
|
* 服务端证书最大数量
|
2310
2363
|
*/
|
2311
2364
|
ServerCertLimit?: number;
|
2365
|
+
/**
|
2366
|
+
* topic前缀最大层级
|
2367
|
+
*/
|
2368
|
+
TopicPrefixSlashLimit?: number;
|
2369
|
+
/**
|
2370
|
+
* 单客户端发送消息限速,单位 条/秒
|
2371
|
+
*/
|
2372
|
+
MessageRate?: number;
|
2312
2373
|
/**
|
2313
2374
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2314
2375
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
3
|
-
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse,
|
3
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, SubmitExtractDocAgentJobResponse, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeTableMultiOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeTableMultiOCRResponse, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, AdvertiseOCRResponse, VehicleLicenseOCRRequest, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
4
4
|
/**
|
5
5
|
* ocr client
|
6
6
|
* @class
|
@@ -218,6 +218,10 @@ export declare class Client extends AbstractClient {
|
|
218
218
|
默认接口请求频率限制:5次/秒。
|
219
219
|
*/
|
220
220
|
TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
|
221
|
+
/**
|
222
|
+
* 用于查询文档处理任务。文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
|
223
|
+
*/
|
224
|
+
DescribeExtractDocAgentJob(req: DescribeExtractDocAgentJobRequest, cb?: (error: string, rep: DescribeExtractDocAgentJobResponse) => void): Promise<DescribeExtractDocAgentJobResponse>;
|
221
225
|
/**
|
222
226
|
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
223
227
|
|
@@ -778,17 +782,21 @@ export declare class Client extends AbstractClient {
|
|
778
782
|
*/
|
779
783
|
BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
|
780
784
|
/**
|
781
|
-
*
|
785
|
+
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
782
786
|
|
783
787
|
默认接口请求频率限制:5次/秒。
|
784
788
|
*/
|
785
|
-
|
789
|
+
VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
|
786
790
|
/**
|
787
791
|
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
788
792
|
|
789
793
|
默认接口请求频率限制:20次/秒。
|
790
794
|
*/
|
791
795
|
RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
|
796
|
+
/**
|
797
|
+
* 文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
|
798
|
+
*/
|
799
|
+
SubmitExtractDocAgentJob(req: SubmitExtractDocAgentJobRequest, cb?: (error: string, rep: SubmitExtractDocAgentJobResponse) => void): Promise<SubmitExtractDocAgentJobResponse>;
|
792
800
|
/**
|
793
801
|
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
794
802
|
*/
|
@@ -977,11 +985,11 @@ export declare class Client extends AbstractClient {
|
|
977
985
|
*/
|
978
986
|
AdvertiseOCR(req: AdvertiseOCRRequest, cb?: (error: string, rep: AdvertiseOCRResponse) => void): Promise<AdvertiseOCRResponse>;
|
979
987
|
/**
|
980
|
-
*
|
988
|
+
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
981
989
|
|
982
990
|
默认接口请求频率限制:5次/秒。
|
983
991
|
*/
|
984
|
-
|
992
|
+
ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
|
985
993
|
/**
|
986
994
|
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
987
995
|
|
@@ -274,6 +274,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
274
274
|
async TaxiInvoiceOCR(req, cb) {
|
275
275
|
return this.request("TaxiInvoiceOCR", req, cb);
|
276
276
|
}
|
277
|
+
/**
|
278
|
+
* 用于查询文档处理任务。文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
|
279
|
+
*/
|
280
|
+
async DescribeExtractDocAgentJob(req, cb) {
|
281
|
+
return this.request("DescribeExtractDocAgentJob", req, cb);
|
282
|
+
}
|
277
283
|
/**
|
278
284
|
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
279
285
|
|
@@ -918,12 +924,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
918
924
|
return this.request("BankSlipOCR", req, cb);
|
919
925
|
}
|
920
926
|
/**
|
921
|
-
*
|
927
|
+
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
922
928
|
|
923
929
|
默认接口请求频率限制:5次/秒。
|
924
930
|
*/
|
925
|
-
async
|
926
|
-
return this.request("
|
931
|
+
async VehicleRegCertOCR(req, cb) {
|
932
|
+
return this.request("VehicleRegCertOCR", req, cb);
|
927
933
|
}
|
928
934
|
/**
|
929
935
|
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
@@ -933,6 +939,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
933
939
|
async RecognizeTravelCardOCR(req, cb) {
|
934
940
|
return this.request("RecognizeTravelCardOCR", req, cb);
|
935
941
|
}
|
942
|
+
/**
|
943
|
+
* 文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
|
944
|
+
*/
|
945
|
+
async SubmitExtractDocAgentJob(req, cb) {
|
946
|
+
return this.request("SubmitExtractDocAgentJob", req, cb);
|
947
|
+
}
|
936
948
|
/**
|
937
949
|
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
938
950
|
*/
|
@@ -1159,12 +1171,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
1159
1171
|
return this.request("AdvertiseOCR", req, cb);
|
1160
1172
|
}
|
1161
1173
|
/**
|
1162
|
-
*
|
1174
|
+
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
1163
1175
|
|
1164
1176
|
默认接口请求频率限制:5次/秒。
|
1165
1177
|
*/
|
1166
|
-
async
|
1167
|
-
return this.request("
|
1178
|
+
async ResidenceBookletOCR(req, cb) {
|
1179
|
+
return this.request("ResidenceBookletOCR", req, cb);
|
1168
1180
|
}
|
1169
1181
|
/**
|
1170
1182
|
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
@@ -4067,28 +4067,23 @@ export interface OrgCodeCertOCRResponse {
|
|
4067
4067
|
RequestId?: string;
|
4068
4068
|
}
|
4069
4069
|
/**
|
4070
|
-
*
|
4070
|
+
* 自定义抽取需要的字段名称、字段类型、字段提示词。
|
4071
4071
|
*/
|
4072
|
-
export interface
|
4072
|
+
export interface ItemNames {
|
4073
4073
|
/**
|
4074
|
-
*
|
4075
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
4076
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
4077
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
4074
|
+
* 自定义抽取功能需返回的字段名称。
|
4078
4075
|
*/
|
4079
|
-
|
4076
|
+
KeyName?: string;
|
4080
4077
|
/**
|
4081
|
-
*
|
4082
|
-
|
4083
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
4084
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
4085
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
4078
|
+
* 默认 0;0表示kv对 1表示 表格字段。
|
4079
|
+
|
4086
4080
|
*/
|
4087
|
-
|
4081
|
+
KeyType?: number;
|
4088
4082
|
/**
|
4089
|
-
*
|
4083
|
+
* 抽取字段的描述内容。
|
4084
|
+
|
4090
4085
|
*/
|
4091
|
-
|
4086
|
+
KeyPrompt?: string;
|
4092
4087
|
}
|
4093
4088
|
/**
|
4094
4089
|
* 混贴票据中单张发票的内容
|
@@ -4585,6 +4580,19 @@ export interface RecognizeContainerOCRRequest {
|
|
4585
4580
|
*/
|
4586
4581
|
ImageUrl?: string;
|
4587
4582
|
}
|
4583
|
+
/**
|
4584
|
+
* SubmitExtractDocAgentJob返回参数结构体
|
4585
|
+
*/
|
4586
|
+
export interface SubmitExtractDocAgentJobResponse {
|
4587
|
+
/**
|
4588
|
+
* 任务唯一ID。由服务端生成。
|
4589
|
+
*/
|
4590
|
+
JobId?: string;
|
4591
|
+
/**
|
4592
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4593
|
+
*/
|
4594
|
+
RequestId?: string;
|
4595
|
+
}
|
4588
4596
|
/**
|
4589
4597
|
* 火车票
|
4590
4598
|
*/
|
@@ -4771,6 +4779,43 @@ export interface RecognizeThaiIDCardOCRRequest {
|
|
4771
4779
|
*/
|
4772
4780
|
CropPortrait?: boolean;
|
4773
4781
|
}
|
4782
|
+
/**
|
4783
|
+
* 身份证配置信息
|
4784
|
+
*/
|
4785
|
+
export interface IDCardConfig {
|
4786
|
+
/**
|
4787
|
+
* 复印件告警,默认为false
|
4788
|
+
*/
|
4789
|
+
CopyWarn?: boolean;
|
4790
|
+
/**
|
4791
|
+
* 边框和框内遮挡告警,默认为false
|
4792
|
+
*/
|
4793
|
+
BorderCheckWarn?: boolean;
|
4794
|
+
/**
|
4795
|
+
* 翻拍告警,默认为false
|
4796
|
+
*/
|
4797
|
+
ReshootWarn?: boolean;
|
4798
|
+
/**
|
4799
|
+
* 疑似存在PS痕迹告警,默认为false
|
4800
|
+
*/
|
4801
|
+
DetectPsWarn?: boolean;
|
4802
|
+
/**
|
4803
|
+
* 临时身份证告警,默认为false
|
4804
|
+
*/
|
4805
|
+
TempIdWarn?: boolean;
|
4806
|
+
/**
|
4807
|
+
* 身份证有效日期不合法告警,默认为false
|
4808
|
+
*/
|
4809
|
+
InvalidDateWarn?: boolean;
|
4810
|
+
/**
|
4811
|
+
* 是否开启反光检测,默认为false
|
4812
|
+
*/
|
4813
|
+
ReflectWarn?: boolean;
|
4814
|
+
/**
|
4815
|
+
* 是否开启头像剪切
|
4816
|
+
*/
|
4817
|
+
CropPortrait?: boolean;
|
4818
|
+
}
|
4774
4819
|
/**
|
4775
4820
|
* 名片识别结果
|
4776
4821
|
*/
|
@@ -7305,25 +7350,13 @@ export interface ClassifyStoreNameResponse {
|
|
7305
7350
|
RequestId?: string;
|
7306
7351
|
}
|
7307
7352
|
/**
|
7308
|
-
*
|
7353
|
+
* DescribeExtractDocAgentJob请求参数结构体
|
7309
7354
|
*/
|
7310
|
-
export interface
|
7311
|
-
/**
|
7312
|
-
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7313
|
-
*/
|
7314
|
-
ImageBase64?: string;
|
7315
|
-
/**
|
7316
|
-
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7317
|
-
*/
|
7318
|
-
ImageUrl?: string;
|
7319
|
-
/**
|
7320
|
-
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
7321
|
-
*/
|
7322
|
-
IsPdf?: boolean;
|
7355
|
+
export interface DescribeExtractDocAgentJobRequest {
|
7323
7356
|
/**
|
7324
|
-
*
|
7357
|
+
* 任务唯一ID。由服务端生成。
|
7325
7358
|
*/
|
7326
|
-
|
7359
|
+
JobId?: string;
|
7327
7360
|
}
|
7328
7361
|
/**
|
7329
7362
|
* 机票行程单
|
@@ -8160,41 +8193,37 @@ export interface TableDetectInfo {
|
|
8160
8193
|
TableCoordPoint?: Array<Coord>;
|
8161
8194
|
}
|
8162
8195
|
/**
|
8163
|
-
*
|
8196
|
+
* DescribeExtractDocAgentJob返回参数结构体
|
8164
8197
|
*/
|
8165
|
-
export interface
|
8166
|
-
/**
|
8167
|
-
* 复印件告警,默认为false
|
8168
|
-
*/
|
8169
|
-
CopyWarn?: boolean;
|
8198
|
+
export interface DescribeExtractDocAgentJobResponse {
|
8170
8199
|
/**
|
8171
|
-
*
|
8200
|
+
* 图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
|
8172
8201
|
*/
|
8173
|
-
|
8202
|
+
Angle?: number;
|
8174
8203
|
/**
|
8175
|
-
*
|
8204
|
+
* 配置结构化文本信息。
|
8176
8205
|
*/
|
8177
|
-
|
8206
|
+
StructuralList?: Array<GroupInfo>;
|
8178
8207
|
/**
|
8179
|
-
*
|
8208
|
+
* 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
8180
8209
|
*/
|
8181
|
-
|
8210
|
+
ErrorCode?: string;
|
8182
8211
|
/**
|
8183
|
-
*
|
8212
|
+
* 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
8184
8213
|
*/
|
8185
|
-
|
8214
|
+
ErrorMessage?: string;
|
8186
8215
|
/**
|
8187
|
-
*
|
8216
|
+
* 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
8188
8217
|
*/
|
8189
|
-
|
8218
|
+
JobStatus?: string;
|
8190
8219
|
/**
|
8191
|
-
*
|
8220
|
+
* 思考过程
|
8192
8221
|
*/
|
8193
|
-
|
8222
|
+
ThoughtContent?: string;
|
8194
8223
|
/**
|
8195
|
-
*
|
8224
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8196
8225
|
*/
|
8197
|
-
|
8226
|
+
RequestId?: string;
|
8198
8227
|
}
|
8199
8228
|
/**
|
8200
8229
|
* ResidenceBookletOCR返回参数结构体
|
@@ -9557,25 +9586,28 @@ export interface VatInvoice {
|
|
9557
9586
|
SellerAgentTaxID?: string;
|
9558
9587
|
}
|
9559
9588
|
/**
|
9560
|
-
*
|
9589
|
+
* PermitOCR请求参数结构体
|
9561
9590
|
*/
|
9562
|
-
export interface
|
9563
|
-
/**
|
9564
|
-
* 项目名称
|
9565
|
-
*/
|
9566
|
-
Name?: string;
|
9591
|
+
export interface PermitOCRRequest {
|
9567
9592
|
/**
|
9568
|
-
*
|
9593
|
+
* 图片的 Base64 值。
|
9594
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9595
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
9596
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9569
9597
|
*/
|
9570
|
-
|
9598
|
+
ImageBase64?: string;
|
9571
9599
|
/**
|
9572
|
-
*
|
9600
|
+
* 图片的 Url 地址。
|
9601
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
9602
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
9603
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
9604
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9573
9605
|
*/
|
9574
|
-
|
9606
|
+
ImageUrl?: string;
|
9575
9607
|
/**
|
9576
|
-
*
|
9608
|
+
* 是否返回头像照片,默认为 false
|
9577
9609
|
*/
|
9578
|
-
|
9610
|
+
CropPortrait?: boolean;
|
9579
9611
|
}
|
9580
9612
|
/**
|
9581
9613
|
* MLIDCardOCR请求参数结构体
|
@@ -10387,6 +10419,40 @@ export interface Element {
|
|
10387
10419
|
*/
|
10388
10420
|
Index?: number;
|
10389
10421
|
}
|
10422
|
+
/**
|
10423
|
+
* SubmitExtractDocAgentJob请求参数结构体
|
10424
|
+
*/
|
10425
|
+
export interface SubmitExtractDocAgentJobRequest {
|
10426
|
+
/**
|
10427
|
+
* 图片/PDF的 Base64 值。 要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF、WORD、EXCEL格式。 图片支持的像素范围:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10428
|
+
*/
|
10429
|
+
ImageBase64?: string;
|
10430
|
+
/**
|
10431
|
+
* 图片/PDF的 Url 地址。 要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF、WORD、EXCEL格式。 图片支持的像素范围:需介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10432
|
+
*/
|
10433
|
+
ImageUrl?: string;
|
10434
|
+
/**
|
10435
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。
|
10436
|
+
* @deprecated
|
10437
|
+
*/
|
10438
|
+
PdfPageNumber?: number;
|
10439
|
+
/**
|
10440
|
+
* 自定义抽取需要的字段名称、字段类型、字段提示词。
|
10441
|
+
*/
|
10442
|
+
ItemNames?: Array<ItemNames>;
|
10443
|
+
/**
|
10444
|
+
* 是否需要返回坐标,默认false。
|
10445
|
+
*/
|
10446
|
+
EnableCoord?: boolean;
|
10447
|
+
/**
|
10448
|
+
* 起始页
|
10449
|
+
*/
|
10450
|
+
FileStartPageNumber?: number;
|
10451
|
+
/**
|
10452
|
+
* 结束页
|
10453
|
+
*/
|
10454
|
+
FileEndPageNumber?: number;
|
10455
|
+
}
|
10390
10456
|
/**
|
10391
10457
|
* AdvertiseOCR返回参数结构体
|
10392
10458
|
*/
|
@@ -10443,6 +10509,27 @@ export interface ShoppingReceipt {
|
|
10443
10509
|
*/
|
10444
10510
|
Content?: Array<OtherInvoiceItem>;
|
10445
10511
|
}
|
10512
|
+
/**
|
10513
|
+
* VatRollInvoiceOCR请求参数结构体
|
10514
|
+
*/
|
10515
|
+
export interface VatRollInvoiceOCRRequest {
|
10516
|
+
/**
|
10517
|
+
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10518
|
+
*/
|
10519
|
+
ImageBase64?: string;
|
10520
|
+
/**
|
10521
|
+
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10522
|
+
*/
|
10523
|
+
ImageUrl?: string;
|
10524
|
+
/**
|
10525
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
10526
|
+
*/
|
10527
|
+
IsPdf?: boolean;
|
10528
|
+
/**
|
10529
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
10530
|
+
*/
|
10531
|
+
PdfPageNumber?: number;
|
10532
|
+
}
|
10446
10533
|
/**
|
10447
10534
|
* RecognizeOnlineTaxiItineraryOCR请求参数结构体
|
10448
10535
|
*/
|
@@ -10548,29 +10635,25 @@ export interface MixedInvoiceDetectRequest {
|
|
10548
10635
|
PdfPageNumber?: number;
|
10549
10636
|
}
|
10550
10637
|
/**
|
10551
|
-
*
|
10638
|
+
* 增值税普通发票(卷票)条目
|
10552
10639
|
*/
|
10553
|
-
export interface
|
10554
|
-
/**
|
10555
|
-
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10556
|
-
*/
|
10557
|
-
ImageBase64?: string;
|
10640
|
+
export interface VatRollItem {
|
10558
10641
|
/**
|
10559
|
-
*
|
10642
|
+
* 项目名称
|
10560
10643
|
*/
|
10561
|
-
|
10644
|
+
Name?: string;
|
10562
10645
|
/**
|
10563
|
-
*
|
10646
|
+
* 数量
|
10564
10647
|
*/
|
10565
|
-
|
10648
|
+
Quantity?: string;
|
10566
10649
|
/**
|
10567
|
-
*
|
10650
|
+
* 单价
|
10568
10651
|
*/
|
10569
|
-
|
10652
|
+
Price?: string;
|
10570
10653
|
/**
|
10571
|
-
*
|
10654
|
+
* 金额
|
10572
10655
|
*/
|
10573
|
-
|
10656
|
+
Total?: string;
|
10574
10657
|
}
|
10575
10658
|
/**
|
10576
10659
|
* RecognizeStoreName返回参数结构体
|
@@ -10610,6 +10693,31 @@ export interface BusinessCertificateInfo {
|
|
10610
10693
|
*/
|
10611
10694
|
Rect?: Rect;
|
10612
10695
|
}
|
10696
|
+
/**
|
10697
|
+
* WaybillOCR请求参数结构体
|
10698
|
+
*/
|
10699
|
+
export interface WaybillOCRRequest {
|
10700
|
+
/**
|
10701
|
+
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10702
|
+
*/
|
10703
|
+
ImageBase64?: string;
|
10704
|
+
/**
|
10705
|
+
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10706
|
+
*/
|
10707
|
+
ImageUrl?: string;
|
10708
|
+
/**
|
10709
|
+
* 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
|
10710
|
+
*/
|
10711
|
+
EnablePreDetect?: boolean;
|
10712
|
+
/**
|
10713
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
10714
|
+
*/
|
10715
|
+
IsPdf?: boolean;
|
10716
|
+
/**
|
10717
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
10718
|
+
*/
|
10719
|
+
PdfPageNumber?: number;
|
10720
|
+
}
|
10613
10721
|
/**
|
10614
10722
|
* RideHailingTransportLicenseOCR请求参数结构体
|
10615
10723
|
*/
|
@@ -296,7 +296,7 @@ export declare class Client extends AbstractClient {
|
|
296
296
|
*/
|
297
297
|
DeletePublishSubscribe(req: DeletePublishSubscribeRequest, cb?: (error: string, rep: DeletePublishSubscribeResponse) => void): Promise<DeletePublishSubscribeResponse>;
|
298
298
|
/**
|
299
|
-
*
|
299
|
+
* 本接口(ModifyDatabaseShrinkMDF)用于收缩数据库 mdf(Shrink mdf)。
|
300
300
|
*/
|
301
301
|
ModifyDatabaseShrinkMDF(req: ModifyDatabaseShrinkMDFRequest, cb?: (error: string, rep: ModifyDatabaseShrinkMDFResponse) => void): Promise<ModifyDatabaseShrinkMDFResponse>;
|
302
302
|
/**
|
@@ -460,7 +460,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
460
460
|
return this.request("DeletePublishSubscribe", req, cb);
|
461
461
|
}
|
462
462
|
/**
|
463
|
-
*
|
463
|
+
* 本接口(ModifyDatabaseShrinkMDF)用于收缩数据库 mdf(Shrink mdf)。
|
464
464
|
*/
|
465
465
|
async ModifyDatabaseShrinkMDF(req, cb) {
|
466
466
|
return this.request("ModifyDatabaseShrinkMDF", req, cb);
|
@@ -7362,7 +7362,8 @@ export interface ModifyDBInstanceSecurityGroupsRequest {
|
|
7362
7362
|
*/
|
7363
7363
|
InstanceId: string;
|
7364
7364
|
/**
|
7365
|
-
* 要修改的安全组 ID 列表,一个或者多个安全组 ID
|
7365
|
+
* 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。可通过 DescribeDBSecurityGroups 接口获取。输入的安全组 ID 数组无长度限制。
|
7366
|
+
注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
7366
7367
|
*/
|
7367
7368
|
SecurityGroupIdSet: Array<string>;
|
7368
7369
|
}
|