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.35-rc to 3.0.36-rc

v1/model/DriverLicenseResultStatus.d.ts

4

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

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

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.0.35-rc"
"@huaweicloud/huaweicloud-sdk-core": "^3.0.36-rc"
}
}
export declare class BankcardRequestBody {
image?: string;
url?: string;
private 'return_text_location'?;
constructor();
withImage(image: string): BankcardRequestBody;
withUrl(url: string): BankcardRequestBody;
withReturnTextLocation(returnTextLocation: boolean): BankcardRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -15,4 +15,18 @@ "use strict";

};
BankcardRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(BankcardRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return BankcardRequestBody;
}());
exports.BankcardRequestBody = BankcardRequestBody;

@@ -8,2 +8,3 @@ export declare class BankcardResult {

confidence?: object;
private 'text_location'?;
constructor();

@@ -24,2 +25,5 @@ withBankName(bankName: string): BankcardResult;

withConfidence(confidence: object): BankcardResult;
withTextLocation(textLocation: object): BankcardResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -71,4 +71,18 @@ "use strict";

};
BankcardResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(BankcardResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return BankcardResult;
}());
exports.BankcardResult = BankcardResult;

@@ -0,2 +1,4 @@

import { DriverLicenseResultStatus } from './DriverLicenseResultStatus';
export declare class DriverLicenseResult {
type?: string;
private 'number'?;

@@ -15,4 +17,9 @@ name?: string;

record?: string;
private 'accumulated_scores'?;
status?: Array<DriverLicenseResultStatus>;
private 'generation_date'?;
private 'current_time'?;
private 'text_location'?;
constructor();
withType(type: string): DriverLicenseResult;
withModelNumber(modelNumber: string): DriverLicenseResult;

@@ -45,2 +52,12 @@ set modelNumber(modelNumber: string | undefined);

withRecord(record: string): DriverLicenseResult;
withAccumulatedScores(accumulatedScores: string): DriverLicenseResult;
set accumulatedScores(accumulatedScores: string | undefined);
get accumulatedScores(): string | undefined;
withStatus(status: Array<DriverLicenseResultStatus>): DriverLicenseResult;
withGenerationDate(generationDate: string): DriverLicenseResult;
set generationDate(generationDate: string | undefined);
get generationDate(): string | undefined;
withCurrentTime(currentTime: string): DriverLicenseResult;
set currentTime(currentTime: string | undefined);
get currentTime(): string | undefined;
withTextLocation(textLocation: object): DriverLicenseResult;

@@ -47,0 +64,0 @@ set textLocation(textLocation: object | undefined);

@@ -7,2 +7,6 @@ "use strict";

}
DriverLicenseResult.prototype.withType = function (type) {
this['type'] = type;
return this;
};
DriverLicenseResult.prototype.withModelNumber = function (modelNumber) {

@@ -130,2 +134,48 @@ this['number'] = modelNumber;

};
DriverLicenseResult.prototype.withAccumulatedScores = function (accumulatedScores) {
this['accumulated_scores'] = accumulatedScores;
return this;
};
Object.defineProperty(DriverLicenseResult.prototype, "accumulatedScores", {
get: function () {
return this['accumulated_scores'];
},
set: function (accumulatedScores) {
this['accumulated_scores'] = accumulatedScores;
},
enumerable: false,
configurable: true
});
DriverLicenseResult.prototype.withStatus = function (status) {
this['status'] = status;
return this;
};
DriverLicenseResult.prototype.withGenerationDate = function (generationDate) {
this['generation_date'] = generationDate;
return this;
};
Object.defineProperty(DriverLicenseResult.prototype, "generationDate", {
get: function () {
return this['generation_date'];
},
set: function (generationDate) {
this['generation_date'] = generationDate;
},
enumerable: false,
configurable: true
});
DriverLicenseResult.prototype.withCurrentTime = function (currentTime) {
this['current_time'] = currentTime;
return this;
};
Object.defineProperty(DriverLicenseResult.prototype, "currentTime", {
get: function () {
return this['current_time'];
},
set: function (currentTime) {
this['current_time'] = currentTime;
},
enumerable: false,
configurable: true
});
DriverLicenseResult.prototype.withTextLocation = function (textLocation) {

@@ -132,0 +182,0 @@ this['text_location'] = textLocation;

export declare class TaxiInvoiceRequestBody {
image?: string;
url?: string;
private 'return_text_location'?;
constructor();
withImage(image: string): TaxiInvoiceRequestBody;
withUrl(url: string): TaxiInvoiceRequestBody;
withReturnTextLocation(returnTextLocation: boolean): TaxiInvoiceRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -15,4 +15,18 @@ "use strict";

};
TaxiInvoiceRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(TaxiInvoiceRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return TaxiInvoiceRequestBody;
}());
exports.TaxiInvoiceRequestBody = TaxiInvoiceRequestBody;

@@ -22,2 +22,3 @@ export declare class TaxiInvoiceResult {

confidence?: object;
private 'text_location'?;
constructor();

@@ -66,2 +67,5 @@ withLocation(location: string): TaxiInvoiceResult;

withConfidence(confidence: object): TaxiInvoiceResult;
withTextLocation(textLocation: object): TaxiInvoiceResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -197,4 +197,18 @@ "use strict";

};
TaxiInvoiceResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(TaxiInvoiceResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return TaxiInvoiceResult;
}());
exports.TaxiInvoiceResult = TaxiInvoiceResult;
export declare class TrainTicketRequestBody {
image?: string;
url?: string;
private 'return_text_location'?;
constructor();
withImage(image: string): TrainTicketRequestBody;
withUrl(url: string): TrainTicketRequestBody;
withReturnTextLocation(returnTextLocation: boolean): TrainTicketRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -15,4 +15,18 @@ "use strict";

};
TrainTicketRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(TrainTicketRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return TrainTicketRequestBody;
}());
exports.TrainTicketRequestBody = TrainTicketRequestBody;

@@ -20,2 +20,3 @@ export declare class TrainTicketResult {

confidence?: object;
private 'text_location'?;
constructor();

@@ -72,2 +73,5 @@ withTicketId(ticketId: string): TrainTicketResult;

withConfidence(confidence: object): TrainTicketResult;
withTextLocation(textLocation: object): TrainTicketResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -239,4 +239,18 @@ "use strict";

};
TrainTicketResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(TrainTicketResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return TrainTicketResult;
}());
exports.TrainTicketResult = TrainTicketResult;

@@ -8,2 +8,3 @@ import { ItemList } from './ItemList';

code?: string;
private 'print_code'?;
private 'machine_number'?;

@@ -45,2 +46,5 @@ private 'print_number'?;

withCode(code: string): VatInvoiceResult;
withPrintCode(printCode: string): VatInvoiceResult;
set printCode(printCode: string | undefined);
get printCode(): string | undefined;
withMachineNumber(machineNumber: string): VatInvoiceResult;

@@ -47,0 +51,0 @@ set machineNumber(machineNumber: string | undefined);

@@ -47,2 +47,16 @@ "use strict";

};
VatInvoiceResult.prototype.withPrintCode = function (printCode) {
this['print_code'] = printCode;
return this;
};
Object.defineProperty(VatInvoiceResult.prototype, "printCode", {
get: function () {
return this['print_code'];
},
set: function (printCode) {
this['print_code'] = printCode;
},
enumerable: false,
configurable: true
});
VatInvoiceResult.prototype.withMachineNumber = function (machineNumber) {

@@ -49,0 +63,0 @@ this['machine_number'] = machineNumber;

@@ -6,2 +6,3 @@ export declare class VehicleLicenseRequestBody {

private 'return_issuing_authority'?;
private 'return_text_location'?;
constructor();

@@ -14,2 +15,5 @@ withImage(image: string): VehicleLicenseRequestBody;

get returnIssuingAuthority(): boolean | undefined;
withReturnTextLocation(returnTextLocation: boolean): VehicleLicenseRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -33,4 +33,18 @@ "use strict";

});
VehicleLicenseRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(VehicleLicenseRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return VehicleLicenseRequestBody;
}());
exports.VehicleLicenseRequestBody = VehicleLicenseRequestBody;

@@ -23,2 +23,3 @@ export declare class VehicleLicenseResult {

private 'code_number'?;
private 'text_location'?;
constructor();

@@ -76,2 +77,5 @@ withModelNumber(modelNumber: string): VehicleLicenseResult;

get codeNumber(): string | undefined;
withTextLocation(textLocation: object): VehicleLicenseResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -241,4 +241,18 @@ "use strict";

});
VehicleLicenseResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(VehicleLicenseResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return VehicleLicenseResult;
}());
exports.VehicleLicenseResult = VehicleLicenseResult;

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

import { RecognizeVinResponse } from './model/RecognizeVinResponse';
import { RecognizeWaybillElectronicRequest } from './model/RecognizeWaybillElectronicRequest';
import { RecognizeWaybillElectronicResponse } from './model/RecognizeWaybillElectronicResponse';
import { RecognizeWebImageRequest } from './model/RecognizeWebImageRequest';

@@ -304,2 +306,10 @@ import { RecognizeWebImageResponse } from './model/RecognizeWebImageResponse';

/**
* 识别用户上传的韵达电子面单图片中的文字内容,并将识别的结果以json格式返回给用户。
* @summary 电子面单识别
* @param {WaybillElectronicRequestBody} waybillElectronicRequestBody This is a thailand license plate Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeWaybillElectronic(recognizeWaybillElectronicRequest?: RecognizeWaybillElectronicRequest): Promise<RecognizeWaybillElectronicResponse>;
/**
* 识别网络图片中的文字内容,并返回识别的结构化结果。

@@ -671,2 +681,14 @@ * @summary 网络图片识别

/**
* 识别用户上传的韵达电子面单图片中的文字内容,并将识别的结果以json格式返回给用户。
*/
recognizeWaybillElectronic(recognizeWaybillElectronicRequest?: RecognizeWaybillElectronicRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别网络图片中的文字内容,并返回识别的结构化结果。

@@ -673,0 +695,0 @@ */

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

export * from './model/DriverLicenseResult';
export * from './model/DriverLicenseResultStatus';
export * from './model/ExtraInfoList';

@@ -125,2 +126,4 @@ export * from './model/FinancialStatementRequestBody';

export * from './model/RecognizeVinResponse';
export * from './model/RecognizeWaybillElectronicRequest';
export * from './model/RecognizeWaybillElectronicResponse';
export * from './model/RecognizeWebImageRequest';

@@ -147,2 +150,4 @@ export * from './model/RecognizeWebImageResponse';

export * from './model/VinRequestBody';
export * from './model/WaybillElectronicRequestBody';
export * from './model/WaybillElectronicResult';
export * from './model/WebImageRequestBody';

@@ -149,0 +154,0 @@ export * from './model/WebImageResult';

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

__exportStar(require("./model/DriverLicenseResult"), exports);
__exportStar(require("./model/DriverLicenseResultStatus"), exports);
__exportStar(require("./model/ExtraInfoList"), exports);

@@ -141,2 +142,4 @@ __exportStar(require("./model/FinancialStatementRequestBody"), exports);

__exportStar(require("./model/RecognizeVinResponse"), exports);
__exportStar(require("./model/RecognizeWaybillElectronicRequest"), exports);
__exportStar(require("./model/RecognizeWaybillElectronicResponse"), exports);
__exportStar(require("./model/RecognizeWebImageRequest"), exports);

@@ -163,2 +166,4 @@ __exportStar(require("./model/RecognizeWebImageResponse"), exports);

__exportStar(require("./model/VinRequestBody"), exports);
__exportStar(require("./model/WaybillElectronicRequestBody"), exports);
__exportStar(require("./model/WaybillElectronicResult"), exports);
__exportStar(require("./model/WebImageRequestBody"), exports);

@@ -165,0 +170,0 @@ __exportStar(require("./model/WebImageResult"), 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