Skip to content

Commit 5c22e14

Browse files
authored
Update 20.10 (#8)
* Update 20.10
1 parent 1f4b4c4 commit 5c22e14

11 files changed

Lines changed: 182 additions & 46 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.BarCode Cloud SDK for Node.js
22

33
+ API version: 3.0
4-
+ Package version: 20.8.0
4+
+ Package version: 20.10.0
55

66
Aspose.BarCode for Cloud is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
77

@@ -58,7 +58,7 @@ All Aspose.BarCode for Cloud SDKs, helper scripts and templates are licensed und
5858

5959
+ [**Website**](https://www.aspose.cloud)
6060
+ [**Product Home**](https://products.aspose.cloud/barcode/cloud)
61-
+ [**Documentation**](https://docs.aspose.cloud/display/barcodecloud/Home)
61+
+ [**Documentation**](https://docs.aspose.cloud/barcode/)
6262
+ [**Free Support Forum**](https://forum.aspose.cloud/c/barcode)
6363
+ [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/)
6464
+ [**Blog**](https://blog.aspose.cloud/category/aspose-products/aspose-barcode-product-family/)

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Name | Type | Description | Notes
4646
**validateText** | **boolean**| Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingaporePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. | [optional]
4747
**supplementData** | **string**| Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. | [optional]
4848
**supplementSpace** | **number**| Space between main the BarCode and supplement BarCode. | [optional]
49+
**barWidthReduction** | **number**| Bars reduction value that is used to compensate ink spread while printing. | [optional]
4950
**format** | **string**| Result image format. | [optional]
5051

5152
#### BarcodeApi.getBarcodeGenerate return type
@@ -96,6 +97,7 @@ Name | Type | Description | Notes
9697
**scanWindowSizes** | **Array<number>**| Scan window sizes in pixels. Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality. | [optional]
9798
**similarity** | **number**| Similarity coefficient depends on how homogeneous barcodes are. Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9] | [optional]
9899
**skipDiagonalSearch** | **boolean**| Allows detector to skip search for diagonal barcodes. Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time. | [optional]
100+
**readTinyBarcodes** | **boolean**| Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
99101
**australianPostEncodingTable** | 'CTable', 'NTable', 'Other' | Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional]
100102
**rectangleRegion** | **string**| | [optional]
101103
**storage** | **string**| The image storage. | [optional]
@@ -148,6 +150,7 @@ Name | Type | Description | Notes
148150
**scanWindowSizes** | **Array<number>**| Scan window sizes in pixels. Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality. | [optional]
149151
**similarity** | **number**| Similarity coefficient depends on how homogeneous barcodes are. Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9] | [optional]
150152
**skipDiagonalSearch** | **boolean**| Allows detector to skip search for diagonal barcodes. Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time. | [optional]
153+
**readTinyBarcodes** | **boolean**| Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
151154
**australianPostEncodingTable** | 'CTable', 'NTable', 'Other' | Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional]
152155
**rectangleRegion** | **string**| | [optional]
153156
**url** | **string**| The image file url. | [optional]
@@ -225,6 +228,7 @@ Name | Type | Description | Notes
225228
**validateText** | **boolean**| Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingaporePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. | [optional]
226229
**supplementData** | **string**| Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. | [optional]
227230
**supplementSpace** | **number**| Space between main the BarCode and supplement BarCode. | [optional]
231+
**barWidthReduction** | **number**| Bars reduction value that is used to compensate ink spread while printing. | [optional]
228232
**storage** | **string**| Image's storage. | [optional]
229233
**folder** | **string**| Image's folder. | [optional]
230234
**format** | **string**| The image format. | [optional]

docs/models.md

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Models
22

3+
## ApiError
4+
```ts
5+
interface ApiError {
6+
code?: string;
7+
message?: string;
8+
description?: string;
9+
dateTime?: Date;
10+
innerError?: ApiError;
11+
}
12+
```
13+
14+
## ApiErrorResponse
15+
```ts
16+
interface ApiErrorResponse {
17+
requestId?: string;
18+
error?: ApiError;
19+
}
20+
```
21+
322
## AustralianPostParams
423

524
AustralianPost barcode parameters.
@@ -86,20 +105,6 @@ enum AztecSymbolMode {
86105
}
87106
```
88107

89-
## BarCodeErrorResponse
90-
91-
BarCodeErrorResponse
92-
93-
```ts
94-
interface BarCodeErrorResponse {
95-
96-
/**
97-
* Error
98-
*/
99-
error?: Error;
100-
}
101-
```
102-
103108
## BarcodeResponse
104109

105110
Represents information about barcode.
@@ -558,6 +563,7 @@ interface DotCodeParams {
558563

559564
```ts
560565
enum ECIEncodings {
566+
NONE = 'NONE',
561567
ISO88591 = 'ISO_8859_1',
562568
ISO88592 = 'ISO_8859_2',
563569
ISO88593 = 'ISO_8859_3',
@@ -976,6 +982,11 @@ interface GeneratorParams {
976982
*/
977983
supplementSpace?: number;
978984

985+
/**
986+
* Bars reduction value that is used to compensate ink spread while printing.
987+
*/
988+
barWidthReduction?: number;
989+
979990
/**
980991
* AustralianPost params.
981992
*/
@@ -1331,6 +1342,16 @@ interface Pdf417Params {
13311342
* Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
13321343
*/
13331344
truncate?: boolean;
1345+
1346+
/**
1347+
* Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
1348+
*/
1349+
pdf417ECIEncoding?: ECIEncodings;
1350+
1351+
/**
1352+
* Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization
1353+
*/
1354+
isReaderInitialization?: boolean;
13341355
}
13351356
```
13361357

@@ -1653,6 +1674,11 @@ interface ReaderParams {
16531674
*/
16541675
skipDiagonalSearch?: boolean;
16551676

1677+
/**
1678+
* Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.
1679+
*/
1680+
readTinyBarcodes?: boolean;
1681+
16561682
/**
16571683
* Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other.
16581684
*/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aspose-barcode-cloud-node",
3-
"version": "20.8.0",
3+
"version": "20.10.0",
44
"description": "Aspose.BarCode Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/barcode/nodejs",
66
"repository": {
@@ -26,7 +26,7 @@
2626
"build": "tsc --build",
2727
"test": "tsdx test",
2828
"cover": "tsdx test --collect-coverage",
29-
"lint": "tsdx lint",
29+
"lint": "tsc --strict",
3030
"format": "tsdx lint --fix",
3131
"prepare": "tsdx build --target=node",
3232
"clear": "rm dist/* || DEL /S /Q dist"

scripts/docs_format.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
set -euo pipefail
44

5-
format_md_file () {
5+
trim_trailing_spaces () {
66
echo "$1"
77
sed -i -e 's/[[:space:]]*$//' "$1"
88
}
99

10-
format_md_file "README.md"
10+
trim_trailing_spaces "README.md"
1111

1212
for filename in ./docs/*.md; do
13-
format_md_file "$filename"
13+
trim_trailing_spaces "$filename"
1414
done

0 commit comments

Comments
 (0)