Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@huaweicloud/huaweicloud-sdk-ocr

Package Overview
Dependencies
Maintainers
2
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huaweicloud/huaweicloud-sdk-ocr - npm Package Compare versions

Comparing version 3.0.20-beta to 3.0.21-beta

v1/model/BeneficiaryItem.d.ts

4

package.json
{
"name": "@huaweicloud/huaweicloud-sdk-ocr",
"version": "3.0.20-beta",
"version": "3.0.21-beta",
"description": "Huaweicloud SDK for ocr",

@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js",

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.0.20-beta"
"@huaweicloud/huaweicloud-sdk-core": "^3.0.21-beta"
}
}

@@ -13,2 +13,4 @@ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";

import { RecognizeDriverLicenseResponse } from './model/RecognizeDriverLicenseResponse';
import { RecognizeFinancialStatementRequest } from './model/RecognizeFinancialStatementRequest';
import { RecognizeFinancialStatementResponse } from './model/RecognizeFinancialStatementResponse';
import { RecognizeFlightItineraryRequest } from './model/RecognizeFlightItineraryRequest';

@@ -24,2 +26,4 @@ import { RecognizeFlightItineraryResponse } from './model/RecognizeFlightItineraryResponse';

import { RecognizeIdCardResponse } from './model/RecognizeIdCardResponse';
import { RecognizeInsurancePolicyRequest } from './model/RecognizeInsurancePolicyRequest';
import { RecognizeInsurancePolicyResponse } from './model/RecognizeInsurancePolicyResponse';
import { RecognizeInvoiceVerificationRequest } from './model/RecognizeInvoiceVerificationRequest';

@@ -33,2 +37,4 @@ import { RecognizeInvoiceVerificationResponse } from './model/RecognizeInvoiceVerificationResponse';

import { RecognizePassportResponse } from './model/RecognizePassportResponse';
import { RecognizeQualificationCertificateRequest } from './model/RecognizeQualificationCertificateRequest';
import { RecognizeQualificationCertificateResponse } from './model/RecognizeQualificationCertificateResponse';
import { RecognizeQuotaInvoiceRequest } from './model/RecognizeQuotaInvoiceRequest';

@@ -98,2 +104,10 @@ import { RecognizeQuotaInvoiceResponse } from './model/RecognizeQuotaInvoiceResponse';

/**
* 识别用户上传的表格图片中的文字内容,并将识别的结果返回给用户。
* @summary 财务报表识别
* @param {FinancialStatementRequestBody} financialStatementRequestBody This is a financial statement Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeFinancialStatement(recognizeFinancialStatementRequest?: RecognizeFinancialStatementRequest): Promise<RecognizeFinancialStatementResponse>;
/**
* 识别飞机行程单中的文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用智能分类识别服务。

@@ -139,2 +153,10 @@ * @summary 飞机行程单识别

/**
* 识别保险单图片上的文字信息,并将识别的结构化结果返回给用户。支持对多板式保险单的扫描图片及手机照片进行结构化信息提取。
* @summary 保险单识别
* @param {InsurancePolicyRequestBody} insurancePolicyRequestBody This is a insurance policy request Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeInsurancePolicy(recognizeInsurancePolicyRequest?: RecognizeInsurancePolicyRequest): Promise<RecognizeInsurancePolicyResponse>;
/**
* 发票验真服务支持9种增值税发票的信息核验,包括增值税专用发票、增值税普通发票、增值税普通发票(卷式)、增值税电子专用发票、增值税电子普通发票、增值税电子普通发票(通行费)、二手车销售统一发票、机动车销售统一发票、区块链电子发票,支持返回票面的全部信息。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

@@ -172,2 +194,10 @@ * @summary 发票验真

/**
* 识别道路运输从业资格证上的关键文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。
* @summary 从业资格证识别
* @param {QualificationCertificateRequestBody} qualificationCertificateRequestBody This is a auto create Body Object Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeQualificationCertificate(recognizeQualificationCertificateRequest?: RecognizeQualificationCertificateRequest): Promise<RecognizeQualificationCertificateResponse>;
/**
* 识别定额发票中的文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

@@ -307,2 +337,14 @@ * @summary 定额发票识别

/**
* 识别用户上传的表格图片中的文字内容,并将识别的结果返回给用户。
*/
recognizeFinancialStatement(recognizeFinancialStatementRequest?: RecognizeFinancialStatementRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别飞机行程单中的文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用智能分类识别服务。

@@ -368,2 +410,14 @@ */

/**
* 识别保险单图片上的文字信息,并将识别的结构化结果返回给用户。支持对多板式保险单的扫描图片及手机照片进行结构化信息提取。
*/
recognizeInsurancePolicy(recognizeInsurancePolicyRequest?: RecognizeInsurancePolicyRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 发票验真服务支持9种增值税发票的信息核验,包括增值税专用发票、增值税普通发票、增值税普通发票(卷式)、增值税电子专用发票、增值税电子普通发票、增值税电子普通发票(通行费)、二手车销售统一发票、机动车销售统一发票、区块链电子发票,支持返回票面的全部信息。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

@@ -417,2 +471,14 @@ */

/**
* 识别道路运输从业资格证上的关键文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product&#x3D;OCR&amp;api&#x3D;AutoClassification)服务。
*/
recognizeQualificationCertificate(recognizeQualificationCertificateRequest?: RecognizeQualificationCertificateRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别定额发票中的文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product&#x3D;OCR&amp;api&#x3D;AutoClassification)服务。

@@ -419,0 +485,0 @@ */

@@ -8,2 +8,3 @@ export * from './OcrClient';

export * from './model/BankcardResult';
export * from './model/BeneficiaryItem';
export * from './model/BusinessCardRequestBody';

@@ -17,2 +18,7 @@ export * from './model/BusinessCardResult';

export * from './model/ExtractedData';
export * from './model/FinancialStatementRequestBody';
export * from './model/FinancialStatementResult';
export * from './model/FinancialStatementResultImageSize';
export * from './model/FinancialStatementWordsBlockList';
export * from './model/FinancialStatementWordsRegionList';
export * from './model/FlightItineraryRequestBody';

@@ -32,2 +38,7 @@ export * from './model/FlightItineraryResult';

export * from './model/IdcardVerificationResult';
export * from './model/InsuranceItem';
export * from './model/InsurancePolicyDetail';
export * from './model/InsurancePolicyRequestBody';
export * from './model/InsurancePolicyResult';
export * from './model/InsurantItem';
export * from './model/InvoiceVerificationRequestBody';

@@ -43,2 +54,7 @@ export * from './model/ItemList';

export * from './model/PassportResult';
export * from './model/QualificationCategory';
export * from './model/QualificationCategoryConfidence';
export * from './model/QualificationCertificateRequestBody';
export * from './model/QualificationCertificateResult';
export * from './model/QualificationConfidence';
export * from './model/QuotaInvoiceRequestBody';

@@ -56,2 +72,4 @@ export * from './model/QuotaInvoiceResult';

export * from './model/RecognizeDriverLicenseResponse';
export * from './model/RecognizeFinancialStatementRequest';
export * from './model/RecognizeFinancialStatementResponse';
export * from './model/RecognizeFlightItineraryRequest';

@@ -67,2 +85,4 @@ export * from './model/RecognizeFlightItineraryResponse';

export * from './model/RecognizeIdCardResponse';
export * from './model/RecognizeInsurancePolicyRequest';
export * from './model/RecognizeInsurancePolicyResponse';
export * from './model/RecognizeInvoiceVerificationRequest';

@@ -76,2 +96,4 @@ export * from './model/RecognizeInvoiceVerificationResponse';

export * from './model/RecognizePassportResponse';
export * from './model/RecognizeQualificationCertificateRequest';
export * from './model/RecognizeQualificationCertificateResponse';
export * from './model/RecognizeQuotaInvoiceRequest';

@@ -78,0 +100,0 @@ export * from './model/RecognizeQuotaInvoiceResponse';

@@ -20,2 +20,3 @@ "use strict";

__exportStar(require("./model/BankcardResult"), exports);
__exportStar(require("./model/BeneficiaryItem"), exports);
__exportStar(require("./model/BusinessCardRequestBody"), exports);

@@ -29,2 +30,7 @@ __exportStar(require("./model/BusinessCardResult"), exports);

__exportStar(require("./model/ExtractedData"), exports);
__exportStar(require("./model/FinancialStatementRequestBody"), exports);
__exportStar(require("./model/FinancialStatementResult"), exports);
__exportStar(require("./model/FinancialStatementResultImageSize"), exports);
__exportStar(require("./model/FinancialStatementWordsBlockList"), exports);
__exportStar(require("./model/FinancialStatementWordsRegionList"), exports);
__exportStar(require("./model/FlightItineraryRequestBody"), exports);

@@ -44,2 +50,7 @@ __exportStar(require("./model/FlightItineraryResult"), exports);

__exportStar(require("./model/IdcardVerificationResult"), exports);
__exportStar(require("./model/InsuranceItem"), exports);
__exportStar(require("./model/InsurancePolicyDetail"), exports);
__exportStar(require("./model/InsurancePolicyRequestBody"), exports);
__exportStar(require("./model/InsurancePolicyResult"), exports);
__exportStar(require("./model/InsurantItem"), exports);
__exportStar(require("./model/InvoiceVerificationRequestBody"), exports);

@@ -55,2 +66,7 @@ __exportStar(require("./model/ItemList"), exports);

__exportStar(require("./model/PassportResult"), exports);
__exportStar(require("./model/QualificationCategory"), exports);
__exportStar(require("./model/QualificationCategoryConfidence"), exports);
__exportStar(require("./model/QualificationCertificateRequestBody"), exports);
__exportStar(require("./model/QualificationCertificateResult"), exports);
__exportStar(require("./model/QualificationConfidence"), exports);
__exportStar(require("./model/QuotaInvoiceRequestBody"), exports);

@@ -68,2 +84,4 @@ __exportStar(require("./model/QuotaInvoiceResult"), exports);

__exportStar(require("./model/RecognizeDriverLicenseResponse"), exports);
__exportStar(require("./model/RecognizeFinancialStatementRequest"), exports);
__exportStar(require("./model/RecognizeFinancialStatementResponse"), exports);
__exportStar(require("./model/RecognizeFlightItineraryRequest"), exports);

@@ -79,2 +97,4 @@ __exportStar(require("./model/RecognizeFlightItineraryResponse"), exports);

__exportStar(require("./model/RecognizeIdCardResponse"), exports);
__exportStar(require("./model/RecognizeInsurancePolicyRequest"), exports);
__exportStar(require("./model/RecognizeInsurancePolicyResponse"), exports);
__exportStar(require("./model/RecognizeInvoiceVerificationRequest"), exports);

@@ -88,2 +108,4 @@ __exportStar(require("./model/RecognizeInvoiceVerificationResponse"), exports);

__exportStar(require("./model/RecognizePassportResponse"), exports);
__exportStar(require("./model/RecognizeQualificationCertificateRequest"), exports);
__exportStar(require("./model/RecognizeQualificationCertificateResponse"), exports);
__exportStar(require("./model/RecognizeQuotaInvoiceRequest"), exports);

@@ -90,0 +112,0 @@ __exportStar(require("./model/RecognizeQuotaInvoiceResponse"), exports);

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc