Skip to content

Commit

Permalink
Release 24.1 (#82)
Browse files Browse the repository at this point in the history
* "types" param for multiple barcode types to read added.

mostCommonlyUsed decode type added.

* Copyright updated
  • Loading branch information
ivankamkin authored Jan 30, 2024
1 parent f728802 commit bbe0cb2
Show file tree
Hide file tree
Showing 8 changed files with 309 additions and 269 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Aspose Pty Ltd
Copyright (c) 2024 Aspose Pty Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![npm](https://img.shields.io/npm/v/aspose-barcode-cloud-node)](https://www.npmjs.com/package/aspose-barcode-cloud-node)

+ API version: 3.0
+ Package version: 23.12.0
+ Package version: 24.1.0

## Demo applications

Expand Down
8 changes: 5 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ getBarcodeRecognize(name: string): BarcodeResponseList;
Name | Type | Description | Notes
---- | ---- | ------------ | -----
**name** | **string**| The image file name. |
**type** | 'all', 'AustraliaPost', 'Aztec', 'ISBN', 'Codabar', 'Code11', 'Code128', 'GS1Code128', 'Code39Extended', 'Code39Standard', 'Code93Extended', 'Code93Standard', 'DataMatrix', 'DeutschePostIdentcode', 'DeutschePostLeitcode', 'EAN13', 'EAN14', 'EAN8', 'IATA2of5', 'Interleaved2of5', 'ISSN', 'ISMN', 'ItalianPost25', 'ITF14', 'ITF6', 'MacroPdf417', 'Matrix2of5', 'MSI', 'OneCode', 'OPC', 'PatchCode', 'Pdf417', 'MicroPdf417', 'Planet', 'Postnet', 'PZN', 'QR', 'MicroQR', 'RM4SCC', 'SCC14', 'SSCC18', 'Standard2of5', 'Supplement', 'UPCA', 'UPCE', 'VIN', 'Pharmacode', 'GS1DataMatrix', 'DatabarOmniDirectional', 'DatabarTruncated', 'DatabarLimited', 'DatabarExpanded', 'SwissPostParcel', 'AustralianPosteParcel', 'Code16K', 'DatabarStackedOmniDirectional', 'DatabarStacked', 'DatabarExpandedStacked', 'CompactPdf417', 'GS1QR', 'MaxiCode', 'MicrE13B', 'Code32', 'DataLogic2of5', 'DotCode', 'DutchKIX', 'CodablockF', 'Mailmark', 'GS1DotCode', 'HIBCCode39LIC', 'HIBCCode128LIC', 'HIBCAztecLIC', 'HIBCDataMatrixLIC', 'HIBCQRLIC', 'HIBCCode39PAS', 'HIBCCode128PAS', 'HIBCAztecPAS', 'HIBCDataMatrixPAS', 'HIBCQRPAS', 'HanXin', 'GS1HanXin', 'GS1Aztec', 'GS1CompositeBar', 'GS1MicroPdf417' | The type of barcode to read. | [optional]
**type** | 'all', 'AustraliaPost', 'Aztec', 'ISBN', 'Codabar', 'Code11', 'Code128', 'GS1Code128', 'Code39Extended', 'Code39Standard', 'Code93Extended', 'Code93Standard', 'DataMatrix', 'DeutschePostIdentcode', 'DeutschePostLeitcode', 'EAN13', 'EAN14', 'EAN8', 'IATA2of5', 'Interleaved2of5', 'ISSN', 'ISMN', 'ItalianPost25', 'ITF14', 'ITF6', 'MacroPdf417', 'Matrix2of5', 'MSI', 'OneCode', 'OPC', 'PatchCode', 'Pdf417', 'MicroPdf417', 'Planet', 'Postnet', 'PZN', 'QR', 'MicroQR', 'RM4SCC', 'SCC14', 'SSCC18', 'Standard2of5', 'Supplement', 'UPCA', 'UPCE', 'VIN', 'Pharmacode', 'GS1DataMatrix', 'DatabarOmniDirectional', 'DatabarTruncated', 'DatabarLimited', 'DatabarExpanded', 'SwissPostParcel', 'AustralianPosteParcel', 'Code16K', 'DatabarStackedOmniDirectional', 'DatabarStacked', 'DatabarExpandedStacked', 'CompactPdf417', 'GS1QR', 'MaxiCode', 'MicrE13B', 'Code32', 'DataLogic2of5', 'DotCode', 'DutchKIX', 'CodablockF', 'Mailmark', 'GS1DotCode', 'HIBCCode39LIC', 'HIBCCode128LIC', 'HIBCAztecLIC', 'HIBCDataMatrixLIC', 'HIBCQRLIC', 'HIBCCode39PAS', 'HIBCCode128PAS', 'HIBCAztecPAS', 'HIBCDataMatrixPAS', 'HIBCQRPAS', 'HanXin', 'GS1HanXin', 'GS1Aztec', 'GS1CompositeBar', 'GS1MicroPdf417', 'mostCommonlyUsed' | The type of barcode to read. | [optional]
**types** | **Array<DecodeBarcodeType>**| Multiple barcode types to read. | [optional]
**checksumValidation** | 'Default', 'On', 'Off' | Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies | [optional]
**detectEncoding** | **boolean**| A flag which force engine to detect codetext encoding for Unicode. | [optional]
**preset** | 'HighPerformance', 'NormalQuality', 'HighQualityDetection', 'MaxQualityDetection', 'HighQuality', 'MaxBarCodes' | Preset allows to configure recognition quality and speed manually. You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality, HighQuality, MaxBarCodes or you can manually configure separate options. Default value of Preset is NormalQuality. | [optional]
Expand Down Expand Up @@ -126,7 +127,8 @@ postBarcodeRecognizeFromUrlOrContent(): BarcodeResponseList;

Name | Type | Description | Notes
---- | ---- | ------------ | -----
**type** | 'all', 'AustraliaPost', 'Aztec', 'ISBN', 'Codabar', 'Code11', 'Code128', 'GS1Code128', 'Code39Extended', 'Code39Standard', 'Code93Extended', 'Code93Standard', 'DataMatrix', 'DeutschePostIdentcode', 'DeutschePostLeitcode', 'EAN13', 'EAN14', 'EAN8', 'IATA2of5', 'Interleaved2of5', 'ISSN', 'ISMN', 'ItalianPost25', 'ITF14', 'ITF6', 'MacroPdf417', 'Matrix2of5', 'MSI', 'OneCode', 'OPC', 'PatchCode', 'Pdf417', 'MicroPdf417', 'Planet', 'Postnet', 'PZN', 'QR', 'MicroQR', 'RM4SCC', 'SCC14', 'SSCC18', 'Standard2of5', 'Supplement', 'UPCA', 'UPCE', 'VIN', 'Pharmacode', 'GS1DataMatrix', 'DatabarOmniDirectional', 'DatabarTruncated', 'DatabarLimited', 'DatabarExpanded', 'SwissPostParcel', 'AustralianPosteParcel', 'Code16K', 'DatabarStackedOmniDirectional', 'DatabarStacked', 'DatabarExpandedStacked', 'CompactPdf417', 'GS1QR', 'MaxiCode', 'MicrE13B', 'Code32', 'DataLogic2of5', 'DotCode', 'DutchKIX', 'CodablockF', 'Mailmark', 'GS1DotCode', 'HIBCCode39LIC', 'HIBCCode128LIC', 'HIBCAztecLIC', 'HIBCDataMatrixLIC', 'HIBCQRLIC', 'HIBCCode39PAS', 'HIBCCode128PAS', 'HIBCAztecPAS', 'HIBCDataMatrixPAS', 'HIBCQRPAS', 'HanXin', 'GS1HanXin', 'GS1Aztec', 'GS1CompositeBar', 'GS1MicroPdf417' | The type of barcode to read. | [optional]
**type** | 'all', 'AustraliaPost', 'Aztec', 'ISBN', 'Codabar', 'Code11', 'Code128', 'GS1Code128', 'Code39Extended', 'Code39Standard', 'Code93Extended', 'Code93Standard', 'DataMatrix', 'DeutschePostIdentcode', 'DeutschePostLeitcode', 'EAN13', 'EAN14', 'EAN8', 'IATA2of5', 'Interleaved2of5', 'ISSN', 'ISMN', 'ItalianPost25', 'ITF14', 'ITF6', 'MacroPdf417', 'Matrix2of5', 'MSI', 'OneCode', 'OPC', 'PatchCode', 'Pdf417', 'MicroPdf417', 'Planet', 'Postnet', 'PZN', 'QR', 'MicroQR', 'RM4SCC', 'SCC14', 'SSCC18', 'Standard2of5', 'Supplement', 'UPCA', 'UPCE', 'VIN', 'Pharmacode', 'GS1DataMatrix', 'DatabarOmniDirectional', 'DatabarTruncated', 'DatabarLimited', 'DatabarExpanded', 'SwissPostParcel', 'AustralianPosteParcel', 'Code16K', 'DatabarStackedOmniDirectional', 'DatabarStacked', 'DatabarExpandedStacked', 'CompactPdf417', 'GS1QR', 'MaxiCode', 'MicrE13B', 'Code32', 'DataLogic2of5', 'DotCode', 'DutchKIX', 'CodablockF', 'Mailmark', 'GS1DotCode', 'HIBCCode39LIC', 'HIBCCode128LIC', 'HIBCAztecLIC', 'HIBCDataMatrixLIC', 'HIBCQRLIC', 'HIBCCode39PAS', 'HIBCCode128PAS', 'HIBCAztecPAS', 'HIBCDataMatrixPAS', 'HIBCQRPAS', 'HanXin', 'GS1HanXin', 'GS1Aztec', 'GS1CompositeBar', 'GS1MicroPdf417', 'mostCommonlyUsed' | The type of barcode to read. | [optional]
**types** | **Array<DecodeBarcodeType>**| Multiple barcode types to read. | [optional]
**checksumValidation** | 'Default', 'On', 'Off' | Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies | [optional]
**detectEncoding** | **boolean**| A flag which force engine to detect codetext encoding for Unicode. | [optional]
**preset** | 'HighPerformance', 'NormalQuality', 'HighQualityDetection', 'MaxQualityDetection', 'HighQuality', 'MaxBarCodes' | Preset allows to configure recognition quality and speed manually. You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality, HighQuality, MaxBarCodes or you can manually configure separate options. Default value of Preset is NormalQuality. | [optional]
Expand Down Expand Up @@ -263,7 +265,7 @@ Name | Type | Description | Notes
---- | ---- | ------------ | -----
**name** | **string**| The image file name. |
**readerParams** | [**ReaderParams**](models.md#ReaderParams)| BarcodeReader object with parameters. |
**type** | 'all', 'AustraliaPost', 'Aztec', 'ISBN', 'Codabar', 'Code11', 'Code128', 'GS1Code128', 'Code39Extended', 'Code39Standard', 'Code93Extended', 'Code93Standard', 'DataMatrix', 'DeutschePostIdentcode', 'DeutschePostLeitcode', 'EAN13', 'EAN14', 'EAN8', 'IATA2of5', 'Interleaved2of5', 'ISSN', 'ISMN', 'ItalianPost25', 'ITF14', 'ITF6', 'MacroPdf417', 'Matrix2of5', 'MSI', 'OneCode', 'OPC', 'PatchCode', 'Pdf417', 'MicroPdf417', 'Planet', 'Postnet', 'PZN', 'QR', 'MicroQR', 'RM4SCC', 'SCC14', 'SSCC18', 'Standard2of5', 'Supplement', 'UPCA', 'UPCE', 'VIN', 'Pharmacode', 'GS1DataMatrix', 'DatabarOmniDirectional', 'DatabarTruncated', 'DatabarLimited', 'DatabarExpanded', 'SwissPostParcel', 'AustralianPosteParcel', 'Code16K', 'DatabarStackedOmniDirectional', 'DatabarStacked', 'DatabarExpandedStacked', 'CompactPdf417', 'GS1QR', 'MaxiCode', 'MicrE13B', 'Code32', 'DataLogic2of5', 'DotCode', 'DutchKIX', 'CodablockF', 'Mailmark', 'GS1DotCode', 'HIBCCode39LIC', 'HIBCCode128LIC', 'HIBCAztecLIC', 'HIBCDataMatrixLIC', 'HIBCQRLIC', 'HIBCCode39PAS', 'HIBCCode128PAS', 'HIBCAztecPAS', 'HIBCDataMatrixPAS', 'HIBCQRPAS', 'HanXin', 'GS1HanXin', 'GS1Aztec', 'GS1CompositeBar', 'GS1MicroPdf417' | | [optional]
**type** | 'all', 'AustraliaPost', 'Aztec', 'ISBN', 'Codabar', 'Code11', 'Code128', 'GS1Code128', 'Code39Extended', 'Code39Standard', 'Code93Extended', 'Code93Standard', 'DataMatrix', 'DeutschePostIdentcode', 'DeutschePostLeitcode', 'EAN13', 'EAN14', 'EAN8', 'IATA2of5', 'Interleaved2of5', 'ISSN', 'ISMN', 'ItalianPost25', 'ITF14', 'ITF6', 'MacroPdf417', 'Matrix2of5', 'MSI', 'OneCode', 'OPC', 'PatchCode', 'Pdf417', 'MicroPdf417', 'Planet', 'Postnet', 'PZN', 'QR', 'MicroQR', 'RM4SCC', 'SCC14', 'SSCC18', 'Standard2of5', 'Supplement', 'UPCA', 'UPCE', 'VIN', 'Pharmacode', 'GS1DataMatrix', 'DatabarOmniDirectional', 'DatabarTruncated', 'DatabarLimited', 'DatabarExpanded', 'SwissPostParcel', 'AustralianPosteParcel', 'Code16K', 'DatabarStackedOmniDirectional', 'DatabarStacked', 'DatabarExpandedStacked', 'CompactPdf417', 'GS1QR', 'MaxiCode', 'MicrE13B', 'Code32', 'DataLogic2of5', 'DotCode', 'DutchKIX', 'CodablockF', 'Mailmark', 'GS1DotCode', 'HIBCCode39LIC', 'HIBCCode128LIC', 'HIBCAztecLIC', 'HIBCDataMatrixLIC', 'HIBCQRLIC', 'HIBCCode39PAS', 'HIBCCode128PAS', 'HIBCAztecPAS', 'HIBCDataMatrixPAS', 'HIBCQRPAS', 'HanXin', 'GS1HanXin', 'GS1Aztec', 'GS1CompositeBar', 'GS1MicroPdf417', 'mostCommonlyUsed' | | [optional]
**storage** | **string**| The storage name | [optional]
**folder** | **string**| The image folder. | [optional]

Expand Down
8 changes: 7 additions & 1 deletion docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,8 @@ enum DecodeBarcodeType {
GS1HanXin = 'GS1HanXin',
GS1Aztec = 'GS1Aztec',
GS1CompositeBar = 'GS1CompositeBar',
GS1MicroPdf417 = 'GS1MicroPdf417'
GS1MicroPdf417 = 'GS1MicroPdf417',
MostCommonlyUsed = 'mostCommonlyUsed'
}
```

Expand Down Expand Up @@ -2061,6 +2062,11 @@ interface ReaderParams {
*/
type?: DecodeBarcodeType;

/**
* Multiple barcode types to read.
*/
types?: Array<DecodeBarcodeType>;

/**
* Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies
*/
Expand Down
Loading

0 comments on commit bbe0cb2

Please sign in to comment.