@huaweicloud/huaweicloud-sdk-ocr
Advanced tools
Comparing version 3.0.21-beta to 3.0.22-beta
{ | ||
"name": "@huaweicloud/huaweicloud-sdk-ocr", | ||
"version": "3.0.21-beta", | ||
"version": "3.0.22-beta", | ||
"description": "Huaweicloud SDK for ocr", | ||
@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js", | ||
"dependencies": { | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.0.21-beta" | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.0.22-beta" | ||
} | ||
} |
@@ -5,2 +5,3 @@ import { WordsRegionList } from './WordsRegionList'; | ||
private 'words_region_list'; | ||
excel?: string; | ||
constructor(wordsRegionCount?: any, wordsRegionList?: any); | ||
@@ -13,2 +14,3 @@ withWordsRegionCount(wordsRegionCount: number): GeneralTableResult; | ||
get wordsRegionList(): Array<WordsRegionList> | undefined; | ||
withExcel(excel: string): GeneralTableResult; | ||
} |
@@ -37,4 +37,8 @@ "use strict"; | ||
}); | ||
GeneralTableResult.prototype.withExcel = function (excel) { | ||
this['excel'] = excel; | ||
return this; | ||
}; | ||
return GeneralTableResult; | ||
}()); | ||
exports.GeneralTableResult = GeneralTableResult; |
@@ -0,23 +1,22 @@ | ||
import { WordsListIem } from './WordsListIem'; | ||
export declare class GeneralTableWordsBlockList { | ||
words: string; | ||
words?: string; | ||
confidence?: number; | ||
location?: Array<Array<number>>; | ||
private 'words_list'?; | ||
rows: Array<number>; | ||
columns: Array<number>; | ||
location?: Array<Array<number>>; | ||
rows?: Array<number>; | ||
columns?: Array<number>; | ||
private 'cell_location'?; | ||
confidence?: number; | ||
excel?: string; | ||
constructor(words?: any, rows?: any, columns?: any); | ||
constructor(); | ||
withWords(words: string): GeneralTableWordsBlockList; | ||
withWordsList(wordsList: Array<object>): GeneralTableWordsBlockList; | ||
set wordsList(wordsList: Array<object> | undefined); | ||
get wordsList(): Array<object> | undefined; | ||
withConfidence(confidence: number): GeneralTableWordsBlockList; | ||
withLocation(location: Array<Array<number>>): GeneralTableWordsBlockList; | ||
withWordsList(wordsList: Array<WordsListIem>): GeneralTableWordsBlockList; | ||
set wordsList(wordsList: Array<WordsListIem> | undefined); | ||
get wordsList(): Array<WordsListIem> | undefined; | ||
withRows(rows: Array<number>): GeneralTableWordsBlockList; | ||
withColumns(columns: Array<number>): GeneralTableWordsBlockList; | ||
withLocation(location: Array<Array<number>>): GeneralTableWordsBlockList; | ||
withCellLocation(cellLocation: Array<Array<number>>): GeneralTableWordsBlockList; | ||
set cellLocation(cellLocation: Array<Array<number>> | undefined); | ||
get cellLocation(): Array<Array<number>> | undefined; | ||
withConfidence(confidence: number): GeneralTableWordsBlockList; | ||
withExcel(excel: string): GeneralTableWordsBlockList; | ||
} |
@@ -5,6 +5,3 @@ "use strict"; | ||
var GeneralTableWordsBlockList = /** @class */ (function () { | ||
function GeneralTableWordsBlockList(words, rows, columns) { | ||
this['words'] = words; | ||
this['rows'] = rows; | ||
this['columns'] = columns; | ||
function GeneralTableWordsBlockList() { | ||
} | ||
@@ -15,2 +12,10 @@ GeneralTableWordsBlockList.prototype.withWords = function (words) { | ||
}; | ||
GeneralTableWordsBlockList.prototype.withConfidence = function (confidence) { | ||
this['confidence'] = confidence; | ||
return this; | ||
}; | ||
GeneralTableWordsBlockList.prototype.withLocation = function (location) { | ||
this['location'] = location; | ||
return this; | ||
}; | ||
GeneralTableWordsBlockList.prototype.withWordsList = function (wordsList) { | ||
@@ -38,6 +43,2 @@ this['words_list'] = wordsList; | ||
}; | ||
GeneralTableWordsBlockList.prototype.withLocation = function (location) { | ||
this['location'] = location; | ||
return this; | ||
}; | ||
GeneralTableWordsBlockList.prototype.withCellLocation = function (cellLocation) { | ||
@@ -57,12 +58,4 @@ this['cell_location'] = cellLocation; | ||
}); | ||
GeneralTableWordsBlockList.prototype.withConfidence = function (confidence) { | ||
this['confidence'] = confidence; | ||
return this; | ||
}; | ||
GeneralTableWordsBlockList.prototype.withExcel = function (excel) { | ||
this['excel'] = excel; | ||
return this; | ||
}; | ||
return GeneralTableWordsBlockList; | ||
}()); | ||
exports.GeneralTableWordsBlockList = GeneralTableWordsBlockList; |
@@ -127,2 +127,3 @@ export * from './OcrClient'; | ||
export * from './model/WebImageWordsBlockList'; | ||
export * from './model/WordsListIem'; | ||
export * from './model/WordsRegionList'; |
@@ -139,2 +139,3 @@ "use strict"; | ||
__exportStar(require("./model/WebImageWordsBlockList"), exports); | ||
__exportStar(require("./model/WordsListIem"), exports); | ||
__exportStar(require("./model/WordsRegionList"), exports); |
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
463524
250
263
11145
8
59