aspose-barcode-cloud-node 23.11.0 → 24.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Aspose Pty Ltd
3
+ Copyright (c) 2024 Aspose Pty Ltd
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![npm](https://img.shields.io/npm/v/aspose-barcode-cloud-node)](https://www.npmjs.com/package/aspose-barcode-cloud-node)
6
6
 
7
7
  + API version: 3.0
8
- + Package version: 23.11.0
8
+ + Package version: 24.1.0
9
9
 
10
10
  ## Demo applications
11
11
 
@@ -86,7 +86,7 @@ class HttpClient {
86
86
  /*
87
87
  * MIT License
88
88
 
89
- * Copyright (c) 2023 Aspose Pty Ltd
89
+ * Copyright (c) 2024 Aspose Pty Ltd
90
90
 
91
91
  * Permission is hereby granted, free of charge, to any person obtaining a copy
92
92
  * of this software and associated documentation files (the "Software"), to deal
@@ -685,6 +685,7 @@ DataMatrixParams.attributeTypeMap = [{
685
685
  DecodeBarcodeType["GS1Aztec"] = "GS1Aztec";
686
686
  DecodeBarcodeType["GS1CompositeBar"] = "GS1CompositeBar";
687
687
  DecodeBarcodeType["GS1MicroPdf417"] = "GS1MicroPdf417";
688
+ DecodeBarcodeType["MostCommonlyUsed"] = "mostCommonlyUsed";
688
689
  })(exports.DecodeBarcodeType || (exports.DecodeBarcodeType = {}));
689
690
  /**
690
691
  * Class for disc space information.
@@ -1745,6 +1746,10 @@ ReaderParams.attributeTypeMap = [{
1745
1746
  name: 'type',
1746
1747
  baseName: 'Type',
1747
1748
  type: 'DecodeBarcodeType'
1749
+ }, {
1750
+ name: 'types',
1751
+ baseName: 'Types',
1752
+ type: 'Array<DecodeBarcodeType>'
1748
1753
  }, {
1749
1754
  name: 'checksumValidation',
1750
1755
  baseName: 'ChecksumValidation',
@@ -2291,7 +2296,7 @@ class StorageExistsRequest {
2291
2296
  /*
2292
2297
  * MIT License
2293
2298
 
2294
- * Copyright (c) 2023 Aspose Pty Ltd
2299
+ * Copyright (c) 2024 Aspose Pty Ltd
2295
2300
 
2296
2301
  * Permission is hereby granted, free of charge, to any person obtaining a copy
2297
2302
  * of this software and associated documentation files (the "Software"), to deal
@@ -2334,14 +2339,11 @@ class ObjectSerializer {
2334
2339
  if (discriminatorProperty == null) {
2335
2340
  return expectedType; // the type does not have a discriminator. use it.
2336
2341
  }
2337
-
2338
2342
  if (data[discriminatorProperty]) {
2339
2343
  return data[discriminatorProperty]; // use the type given in the discriminator
2340
2344
  }
2341
-
2342
2345
  return expectedType; // discriminator was not present (or an empty string)
2343
2346
  }
2344
-
2345
2347
  static serialize(data, type) {
2346
2348
  if (data == null) {
2347
2349
  return data;
@@ -2512,7 +2514,7 @@ class BarcodeApi {
2512
2514
  constructor(configuration) {
2513
2515
  this.defaultHeaders = {
2514
2516
  'x-aspose-client': 'nodejs sdk',
2515
- 'x-aspose-client-version': '23.11.0'
2517
+ 'x-aspose-client-version': '24.1.0'
2516
2518
  };
2517
2519
  this._configuration = configuration;
2518
2520
  this._client = new HttpClient();
@@ -2670,7 +2672,10 @@ class BarcodeApi {
2670
2672
  throw new Error('Required parameter request.name was null or undefined when calling getBarcodeRecognize.');
2671
2673
  }
2672
2674
  if (request.type != null) {
2673
- queryParameters['Type'] = ObjectSerializer.serialize(request.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'");
2675
+ queryParameters['Type'] = ObjectSerializer.serialize(request.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'");
2676
+ }
2677
+ if (request.types != null) {
2678
+ queryParameters['Types'] = ObjectSerializer.serialize(request.types, 'Array<DecodeBarcodeType>');
2674
2679
  }
2675
2680
  if (request.checksumValidation != null) {
2676
2681
  queryParameters['ChecksumValidation'] = ObjectSerializer.serialize(request.checksumValidation, "'Default' | 'On' | 'Off'");
@@ -2803,7 +2808,10 @@ class BarcodeApi {
2803
2808
  let queryParameters = {};
2804
2809
  let headerParams = Object.assign({}, this.defaultHeaders);
2805
2810
  if (request.type != null) {
2806
- queryParameters['Type'] = ObjectSerializer.serialize(request.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'");
2811
+ queryParameters['Type'] = ObjectSerializer.serialize(request.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'");
2812
+ }
2813
+ if (request.types != null) {
2814
+ queryParameters['Types'] = ObjectSerializer.serialize(request.types, 'Array<DecodeBarcodeType>');
2807
2815
  }
2808
2816
  if (request.checksumValidation != null) {
2809
2817
  queryParameters['ChecksumValidation'] = ObjectSerializer.serialize(request.checksumValidation, "'Default' | 'On' | 'Off'");
@@ -3122,7 +3130,7 @@ class BarcodeApi {
3122
3130
  throw new Error('Required parameter request.readerParams was null or undefined when calling putBarcodeRecognizeFromBody.');
3123
3131
  }
3124
3132
  if (request.type != null) {
3125
- queryParameters['type'] = ObjectSerializer.serialize(request.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'");
3133
+ queryParameters['type'] = ObjectSerializer.serialize(request.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'");
3126
3134
  }
3127
3135
  if (request.storage != null) {
3128
3136
  queryParameters['storage'] = ObjectSerializer.serialize(request.storage, 'string');
@@ -3191,7 +3199,7 @@ class FileApi {
3191
3199
  constructor(configuration) {
3192
3200
  this.defaultHeaders = {
3193
3201
  'x-aspose-client': 'nodejs sdk',
3194
- 'x-aspose-client-version': '23.11.0'
3202
+ 'x-aspose-client-version': '24.1.0'
3195
3203
  };
3196
3204
  this._configuration = configuration;
3197
3205
  this._client = new HttpClient();
@@ -3375,7 +3383,7 @@ class FolderApi {
3375
3383
  constructor(configuration) {
3376
3384
  this.defaultHeaders = {
3377
3385
  'x-aspose-client': 'nodejs sdk',
3378
- 'x-aspose-client-version': '23.11.0'
3386
+ 'x-aspose-client-version': '24.1.0'
3379
3387
  };
3380
3388
  this._configuration = configuration;
3381
3389
  this._client = new HttpClient();
@@ -3541,7 +3549,7 @@ class StorageApi {
3541
3549
  constructor(configuration) {
3542
3550
  this.defaultHeaders = {
3543
3551
  'x-aspose-client': 'nodejs sdk',
3544
- 'x-aspose-client-version': '23.11.0'
3552
+ 'x-aspose-client-version': '24.1.0'
3545
3553
  };
3546
3554
  this._configuration = configuration;
3547
3555
  this._client = new HttpClient();