@huaweicloud/huaweicloud-sdk-ocr
Advanced tools
Comparing version 3.0.34-rc to 3.0.35-rc
{ | ||
"name": "@huaweicloud/huaweicloud-sdk-ocr", | ||
"version": "3.0.34-rc", | ||
"version": "3.0.35-rc", | ||
"description": "Huaweicloud SDK for ocr", | ||
@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js", | ||
"dependencies": { | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.0.34-rc" | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.0.35-rc" | ||
} | ||
} |
@@ -6,2 +6,3 @@ export declare class DriverLicenseRequestBody { | ||
private 'return_issuing_authority'?; | ||
private 'return_text_location'?; | ||
constructor(); | ||
@@ -14,2 +15,5 @@ withImage(image: string): DriverLicenseRequestBody; | ||
get returnIssuingAuthority(): boolean | undefined; | ||
withReturnTextLocation(returnTextLocation: boolean): DriverLicenseRequestBody; | ||
set returnTextLocation(returnTextLocation: boolean | undefined); | ||
get returnTextLocation(): boolean | undefined; | ||
} |
@@ -33,4 +33,18 @@ "use strict"; | ||
}); | ||
DriverLicenseRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(DriverLicenseRequestBody.prototype, "returnTextLocation", { | ||
get: function () { | ||
return this['return_text_location']; | ||
}, | ||
set: function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return DriverLicenseRequestBody; | ||
}()); | ||
exports.DriverLicenseRequestBody = DriverLicenseRequestBody; |
@@ -15,2 +15,3 @@ export declare class DriverLicenseResult { | ||
record?: string; | ||
private 'text_location'?; | ||
constructor(); | ||
@@ -44,2 +45,5 @@ withModelNumber(modelNumber: string): DriverLicenseResult; | ||
withRecord(record: string): DriverLicenseResult; | ||
withTextLocation(textLocation: object): DriverLicenseResult; | ||
set textLocation(textLocation: object | undefined); | ||
get textLocation(): object | undefined; | ||
} |
@@ -129,4 +129,18 @@ "use strict"; | ||
}; | ||
DriverLicenseResult.prototype.withTextLocation = function (textLocation) { | ||
this['text_location'] = textLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(DriverLicenseResult.prototype, "textLocation", { | ||
get: function () { | ||
return this['text_location']; | ||
}, | ||
set: function (textLocation) { | ||
this['text_location'] = textLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return DriverLicenseResult; | ||
}()); | ||
exports.DriverLicenseResult = DriverLicenseResult; |
@@ -6,2 +6,3 @@ export declare class IdCardRequestBody { | ||
private 'return_verification'?; | ||
private 'return_text_location'?; | ||
constructor(); | ||
@@ -14,2 +15,5 @@ withImage(image: string): IdCardRequestBody; | ||
get returnVerification(): boolean | undefined; | ||
withReturnTextLocation(returnTextLocation: boolean): IdCardRequestBody; | ||
set returnTextLocation(returnTextLocation: boolean | undefined); | ||
get returnTextLocation(): boolean | undefined; | ||
} |
@@ -33,4 +33,18 @@ "use strict"; | ||
}); | ||
IdCardRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(IdCardRequestBody.prototype, "returnTextLocation", { | ||
get: function () { | ||
return this['return_text_location']; | ||
}, | ||
set: function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return IdCardRequestBody; | ||
}()); | ||
exports.IdCardRequestBody = IdCardRequestBody; |
@@ -13,2 +13,3 @@ import { IdcardVerificationResult } from './IdcardVerificationResult'; | ||
private 'verification_result'?; | ||
private 'text_location'?; | ||
constructor(); | ||
@@ -33,2 +34,5 @@ withName(name: string): IdCardResult; | ||
get verificationResult(): IdcardVerificationResult | undefined; | ||
withTextLocation(textLocation: object): IdCardResult; | ||
set textLocation(textLocation: object | undefined); | ||
get textLocation(): object | undefined; | ||
} |
@@ -87,4 +87,18 @@ "use strict"; | ||
}); | ||
IdCardResult.prototype.withTextLocation = function (textLocation) { | ||
this['text_location'] = textLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(IdCardResult.prototype, "textLocation", { | ||
get: function () { | ||
return this['text_location']; | ||
}, | ||
set: function (textLocation) { | ||
this['text_location'] = textLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return IdCardResult; | ||
}()); | ||
exports.IdCardResult = IdCardResult; |
@@ -5,2 +5,3 @@ export declare class VatInvoiceRequestBody { | ||
private 'advanced_mode'?; | ||
private 'return_text_location'?; | ||
constructor(); | ||
@@ -12,2 +13,5 @@ withImage(image: string): VatInvoiceRequestBody; | ||
get advancedMode(): boolean | undefined; | ||
withReturnTextLocation(returnTextLocation: boolean): VatInvoiceRequestBody; | ||
set returnTextLocation(returnTextLocation: boolean | undefined); | ||
get returnTextLocation(): boolean | undefined; | ||
} |
@@ -29,4 +29,18 @@ "use strict"; | ||
}); | ||
VatInvoiceRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(VatInvoiceRequestBody.prototype, "returnTextLocation", { | ||
get: function () { | ||
return this['return_text_location']; | ||
}, | ||
set: function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return VatInvoiceRequestBody; | ||
}()); | ||
exports.VatInvoiceRequestBody = VatInvoiceRequestBody; |
@@ -33,2 +33,3 @@ import { ItemList } from './ItemList'; | ||
confidence?: object; | ||
private 'text_location'?; | ||
constructor(); | ||
@@ -107,2 +108,5 @@ withType(type: string): VatInvoiceResult; | ||
withConfidence(confidence: object): VatInvoiceResult; | ||
withTextLocation(textLocation: object): VatInvoiceResult; | ||
set textLocation(textLocation: object | undefined); | ||
get textLocation(): object | undefined; | ||
} |
@@ -337,4 +337,18 @@ "use strict"; | ||
}; | ||
VatInvoiceResult.prototype.withTextLocation = function (textLocation) { | ||
this['text_location'] = textLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(VatInvoiceResult.prototype, "textLocation", { | ||
get: function () { | ||
return this['text_location']; | ||
}, | ||
set: function (textLocation) { | ||
this['text_location'] = textLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return VatInvoiceResult; | ||
}()); | ||
exports.VatInvoiceResult = VatInvoiceResult; |
@@ -159,3 +159,3 @@ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient"; | ||
/** | ||
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别只支持中国大陆汉族身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。 | ||
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别支持中华人民共和国居民身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。 | ||
* @summary 身份证识别 | ||
@@ -454,3 +454,3 @@ * @param {IdCardRequestBody} idCardRequestBody This is a idcard Body Object | ||
/** | ||
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别只支持中国大陆汉族身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。 | ||
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别支持中华人民共和国居民身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。 | ||
*/ | ||
@@ -457,0 +457,0 @@ recognizeIdCard(recognizeIdCardRequest?: RecognizeIdCardRequest | undefined): { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
571365
13852
+ Added@huaweicloud/huaweicloud-sdk-core@3.1.116(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.7(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddate-format@4.0.14(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedflatted@3.3.1(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.0(transitive)
+ Addedfs-extra@8.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlog4js@6.9.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedmoment-timezone@0.5.45(transitive)
+ Addedms@2.1.3(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
+ Addedramda@0.27.2(transitive)
+ Addedrfdc@1.4.1(transitive)
+ Addedstreamroller@3.1.5(transitive)
+ Addeduniversalify@0.1.2(transitive)
- Removed@huaweicloud/huaweicloud-sdk-core@3.1.115(transitive)