Socket
Socket
Sign inDemoInstall

@huaweicloud/huaweicloud-sdk-ocr

Package Overview
Dependencies
Maintainers
2
Versions
159
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.40-rc to 3.0.41-rc

v1/model/PcrTestRecordRequestBody.d.ts

4

package.json
{
"name": "@huaweicloud/huaweicloud-sdk-ocr",
"version": "3.0.40-rc",
"version": "3.0.41-rc",
"description": "Huaweicloud SDK for ocr",

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

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.0.40-rc"
"@huaweicloud/huaweicloud-sdk-core": "^3.0.41-rc"
}
}

@@ -6,3 +6,3 @@ export declare class TransportationLicenseResult {

private 'vehicle_type'?;
private 'vehicle_weight'?;
private 'maximum_capacity'?;
private 'vehicle_size'?;

@@ -29,5 +29,5 @@ private 'issuing_authority'?;

get vehicleType(): string | undefined;
withVehicleWeight(vehicleWeight: string): TransportationLicenseResult;
set vehicleWeight(vehicleWeight: string | undefined);
get vehicleWeight(): string | undefined;
withMaximumCapacity(maximumCapacity: string): TransportationLicenseResult;
set maximumCapacity(maximumCapacity: string | undefined);
get maximumCapacity(): string | undefined;
withVehicleSize(vehicleSize: string): TransportationLicenseResult;

@@ -34,0 +34,0 @@ set vehicleSize(vehicleSize: string | undefined);

@@ -63,12 +63,12 @@ "use strict";

});
TransportationLicenseResult.prototype.withVehicleWeight = function (vehicleWeight) {
this['vehicle_weight'] = vehicleWeight;
TransportationLicenseResult.prototype.withMaximumCapacity = function (maximumCapacity) {
this['maximum_capacity'] = maximumCapacity;
return this;
};
Object.defineProperty(TransportationLicenseResult.prototype, "vehicleWeight", {
Object.defineProperty(TransportationLicenseResult.prototype, "maximumCapacity", {
get: function () {
return this['vehicle_weight'];
return this['maximum_capacity'];
},
set: function (vehicleWeight) {
this['vehicle_weight'] = vehicleWeight;
set: function (maximumCapacity) {
this['maximum_capacity'] = maximumCapacity;
},

@@ -75,0 +75,0 @@ enumerable: false,

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

import { RecognizePassportResponse } from './model/RecognizePassportResponse';
import { RecognizePcrTestRecordRequest } from './model/RecognizePcrTestRecordRequest';
import { RecognizePcrTestRecordResponse } from './model/RecognizePcrTestRecordResponse';
import { RecognizeQualificationCertificateRequest } from './model/RecognizeQualificationCertificateRequest';

@@ -352,2 +354,14 @@ import { RecognizeQualificationCertificateResponse } from './model/RecognizeQualificationCertificateResponse';

/**
* 识别核酸检测记录中的文字信息,并将识别的结构化结果返回给用户。PCR,全称Polymerase chain reaction,即聚合酶链式反应.PCR-test也为大众所认知为新型冠状病毒核酸检测测试。
*
* 详细说明请参考华为云API Explorer。
* Please refer to Huawei cloud API Explorer for details.
*
* @summary 核酸检测记录
* @param {PcrTestRecordRequestBody} [pcrTestRecordRequestBody] This is a pcr test record Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizePcrTestRecord(recognizePcrTestRecordRequest?: RecognizePcrTestRecordRequest): Promise<RecognizePcrTestRecordResponse>;
/**
* 识别道路运输从业资格证上的关键文字信息,并返回识别的结构化结果。

@@ -879,2 +893,17 @@ *

/**
* 识别核酸检测记录中的文字信息,并将识别的结构化结果返回给用户。PCR,全称Polymerase chain reaction,即聚合酶链式反应.PCR-test也为大众所认知为新型冠状病毒核酸检测测试。
*
* 详细说明请参考华为云API Explorer。
* Please refer to Huawei cloud API Explorer for details.
*/
recognizePcrTestRecord(recognizePcrTestRecordRequest?: RecognizePcrTestRecordRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别道路运输从业资格证上的关键文字信息,并返回识别的结构化结果。

@@ -881,0 +910,0 @@ *

@@ -59,2 +59,5 @@ export * from './OcrClient';

export * from './model/PassportResult';
export * from './model/PcrTestRecordRequestBody';
export * from './model/PcrTestRecordResult';
export * from './model/PcrTestRecordWordsBlockList';
export * from './model/QualificationCategory';

@@ -107,2 +110,4 @@ export * from './model/QualificationCategoryConfidence';

export * from './model/RecognizePassportResponse';
export * from './model/RecognizePcrTestRecordRequest';
export * from './model/RecognizePcrTestRecordResponse';
export * from './model/RecognizeQualificationCertificateRequest';

@@ -109,0 +114,0 @@ export * from './model/RecognizeQualificationCertificateResponse';

@@ -75,2 +75,5 @@ "use strict";

__exportStar(require("./model/PassportResult"), exports);
__exportStar(require("./model/PcrTestRecordRequestBody"), exports);
__exportStar(require("./model/PcrTestRecordResult"), exports);
__exportStar(require("./model/PcrTestRecordWordsBlockList"), exports);
__exportStar(require("./model/QualificationCategory"), exports);

@@ -123,2 +126,4 @@ __exportStar(require("./model/QualificationCategoryConfidence"), exports);

__exportStar(require("./model/RecognizePassportResponse"), exports);
__exportStar(require("./model/RecognizePcrTestRecordRequest"), exports);
__exportStar(require("./model/RecognizePcrTestRecordResponse"), exports);
__exportStar(require("./model/RecognizeQualificationCertificateRequest"), exports);

@@ -125,0 +130,0 @@ __exportStar(require("./model/RecognizeQualificationCertificateResponse"), 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