aspose-barcode-cloud-node 24.4.0 → 24.6.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.
@@ -2,11 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
-
7
- var http = _interopDefault(require('http'));
8
- var https = _interopDefault(require('https'));
9
- var crypto = _interopDefault(require('crypto'));
5
+ var http = require('http');
6
+ var https = require('https');
7
+ var crypto = require('crypto');
10
8
 
11
9
  class HttpClient {
12
10
  requestAsync(options) {
@@ -86,6 +84,10 @@ class HttpClient {
86
84
 
87
85
  class FormFile {
88
86
  constructor(name, filename, data, contentType) {
87
+ this.name = void 0;
88
+ this.filename = void 0;
89
+ this.data = void 0;
90
+ this.contentType = void 0;
89
91
  this.name = name;
90
92
  this.filename = filename;
91
93
  this.data = data;
@@ -94,6 +96,9 @@ class FormFile {
94
96
  }
95
97
  class Multipart {
96
98
  constructor(textFields, files) {
99
+ this.boundary = void 0;
100
+ this.body = void 0;
101
+ this.headers = void 0;
97
102
  const random = crypto.randomUUID();
98
103
  this.boundary = '------------------------' + random.replace(/-/g, '');
99
104
  const bodyLines = [];
@@ -120,6 +125,13 @@ class Multipart {
120
125
  }
121
126
 
122
127
  class ApiError {
128
+ constructor() {
129
+ this['code'] = void 0;
130
+ this['message'] = void 0;
131
+ this['description'] = void 0;
132
+ this['dateTime'] = void 0;
133
+ this['innerError'] = void 0;
134
+ }
123
135
  static getAttributeTypeMap() {
124
136
  return ApiError.attributeTypeMap;
125
137
  }
@@ -146,10 +158,17 @@ ApiError.attributeTypeMap = [{
146
158
  type: 'ApiError'
147
159
  }];
148
160
  class ApiErrorResponse {
161
+ constructor() {
162
+ this['requestId'] = void 0;
163
+ this['error'] = void 0;
164
+ }
149
165
  static getAttributeTypeMap() {
150
166
  return ApiErrorResponse.attributeTypeMap;
151
167
  }
152
168
  }
169
+ /**
170
+ * AustralianPost barcode parameters.
171
+ */
153
172
  ApiErrorResponse.attributeTypeMap = [{
154
173
  name: 'requestId',
155
174
  baseName: 'RequestId',
@@ -159,14 +178,24 @@ ApiErrorResponse.attributeTypeMap = [{
159
178
  baseName: 'Error',
160
179
  type: 'ApiError'
161
180
  }];
162
- /**
163
- * AustralianPost barcode parameters.
164
- */
165
181
  class AustralianPostParams {
182
+ constructor() {
183
+ /**
184
+ * Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.Other
185
+ */
186
+ this['encodingTable'] = void 0;
187
+ /**
188
+ * Short bar's height of AustralianPost barcode.
189
+ */
190
+ this['shortBarHeight'] = void 0;
191
+ }
166
192
  static getAttributeTypeMap() {
167
193
  return AustralianPostParams.attributeTypeMap;
168
194
  }
169
195
  }
196
+ /**
197
+ *
198
+ */
170
199
  AustralianPostParams.attributeTypeMap = [{
171
200
  name: 'encodingTable',
172
201
  baseName: 'EncodingTable',
@@ -176,30 +205,76 @@ AustralianPostParams.attributeTypeMap = [{
176
205
  baseName: 'ShortBarHeight',
177
206
  type: 'number'
178
207
  }];
208
+ exports.AutoSizeMode = void 0;
179
209
  (function (AutoSizeMode) {
180
210
  AutoSizeMode["None"] = "None";
181
211
  AutoSizeMode["Nearest"] = "Nearest";
182
212
  AutoSizeMode["Interpolation"] = "Interpolation";
183
213
  })(exports.AutoSizeMode || (exports.AutoSizeMode = {}));
214
+ /**
215
+ * Subset of GraphicsUnit.
216
+ */
217
+ exports.AvailableGraphicsUnit = void 0;
184
218
  (function (AvailableGraphicsUnit) {
185
219
  AvailableGraphicsUnit["Pixel"] = "Pixel";
186
220
  AvailableGraphicsUnit["Point"] = "Point";
187
221
  AvailableGraphicsUnit["Inch"] = "Inch";
188
222
  AvailableGraphicsUnit["Millimeter"] = "Millimeter";
189
223
  })(exports.AvailableGraphicsUnit || (exports.AvailableGraphicsUnit = {}));
224
+ /**
225
+ *
226
+ */
227
+ exports.AztecEncodeMode = void 0;
190
228
  (function (AztecEncodeMode) {
191
229
  AztecEncodeMode["Auto"] = "Auto";
192
230
  AztecEncodeMode["Bytes"] = "Bytes";
193
231
  AztecEncodeMode["ExtendedCodetext"] = "ExtendedCodetext";
194
232
  })(exports.AztecEncodeMode || (exports.AztecEncodeMode = {}));
195
- /**
196
- * Aztec parameters.
233
+ /**
234
+ * Aztec parameters.
197
235
  */
198
236
  class AztecParams {
237
+ constructor() {
238
+ /**
239
+ * Height/Width ratio of 2D BarCode module.
240
+ */
241
+ this['aspectRatio'] = void 0;
242
+ /**
243
+ * Level of error correction of Aztec types of barcode. Value should between 10 to 95.
244
+ */
245
+ this['errorLevel'] = void 0;
246
+ /**
247
+ * Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
248
+ */
249
+ this['symbolMode'] = void 0;
250
+ /**
251
+ * @deprecated This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.
252
+ */
253
+ this['textEncoding'] = void 0;
254
+ /**
255
+ * Encoding mode for Aztec barcodes. Default value: Auto
256
+ */
257
+ this['encodeMode'] = void 0;
258
+ /**
259
+ * Identifies ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1.
260
+ */
261
+ this['eCIEncoding'] = void 0;
262
+ /**
263
+ * Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
264
+ */
265
+ this['isReaderInitialization'] = void 0;
266
+ /**
267
+ * Gets or sets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto).
268
+ */
269
+ this['layersCount'] = void 0;
270
+ }
199
271
  static getAttributeTypeMap() {
200
272
  return AztecParams.attributeTypeMap;
201
273
  }
202
274
  }
275
+ /**
276
+ *
277
+ */
203
278
  AztecParams.attributeTypeMap = [{
204
279
  name: 'aspectRatio',
205
280
  baseName: 'AspectRatio',
@@ -233,20 +308,42 @@ AztecParams.attributeTypeMap = [{
233
308
  baseName: 'LayersCount',
234
309
  type: 'number'
235
310
  }];
311
+ exports.AztecSymbolMode = void 0;
236
312
  (function (AztecSymbolMode) {
237
313
  AztecSymbolMode["Auto"] = "Auto";
238
314
  AztecSymbolMode["Compact"] = "Compact";
239
315
  AztecSymbolMode["FullRange"] = "FullRange";
240
316
  AztecSymbolMode["Rune"] = "Rune";
241
317
  })(exports.AztecSymbolMode || (exports.AztecSymbolMode = {}));
242
- /**
243
- * Represents information about barcode.
318
+ /**
319
+ * Represents information about barcode.
244
320
  */
245
321
  class BarcodeResponse {
322
+ constructor() {
323
+ /**
324
+ * Barcode data.
325
+ */
326
+ this['barcodeValue'] = void 0;
327
+ /**
328
+ * Type of the barcode.
329
+ */
330
+ this['type'] = void 0;
331
+ /**
332
+ * Region with barcode.
333
+ */
334
+ this['region'] = void 0;
335
+ /**
336
+ * Checksum of barcode.
337
+ */
338
+ this['checksum'] = void 0;
339
+ }
246
340
  static getAttributeTypeMap() {
247
341
  return BarcodeResponse.attributeTypeMap;
248
342
  }
249
343
  }
344
+ /**
345
+ * Represents information about barcode list.
346
+ */
250
347
  BarcodeResponse.attributeTypeMap = [{
251
348
  name: 'barcodeValue',
252
349
  baseName: 'BarcodeValue',
@@ -264,19 +361,26 @@ BarcodeResponse.attributeTypeMap = [{
264
361
  baseName: 'Checksum',
265
362
  type: 'string'
266
363
  }];
267
- /**
268
- * Represents information about barcode list.
269
- */
270
364
  class BarcodeResponseList {
365
+ constructor() {
366
+ /**
367
+ * List of barcodes which are present in image.
368
+ */
369
+ this['barcodes'] = void 0;
370
+ }
271
371
  static getAttributeTypeMap() {
272
372
  return BarcodeResponseList.attributeTypeMap;
273
373
  }
274
374
  }
375
+ /**
376
+ *
377
+ */
275
378
  BarcodeResponseList.attributeTypeMap = [{
276
379
  name: 'barcodes',
277
380
  baseName: 'Barcodes',
278
381
  type: 'Array<BarcodeResponse>'
279
382
  }];
383
+ exports.BorderDashStyle = void 0;
280
384
  (function (BorderDashStyle) {
281
385
  BorderDashStyle["Solid"] = "Solid";
282
386
  BorderDashStyle["Dash"] = "Dash";
@@ -284,14 +388,47 @@ BarcodeResponseList.attributeTypeMap = [{
284
388
  BorderDashStyle["DashDot"] = "DashDot";
285
389
  BorderDashStyle["DashDotDot"] = "DashDotDot";
286
390
  })(exports.BorderDashStyle || (exports.BorderDashStyle = {}));
287
- /**
288
- * Caption
391
+ /**
392
+ * Caption
289
393
  */
290
394
  class CaptionParams {
395
+ constructor() {
396
+ /**
397
+ * Caption text.
398
+ */
399
+ this['text'] = void 0;
400
+ /**
401
+ * Text alignment.
402
+ */
403
+ this['alignment'] = void 0;
404
+ /**
405
+ * Text color.
406
+ */
407
+ this['color'] = void 0;
408
+ /**
409
+ * Is caption visible.
410
+ */
411
+ this['visible'] = void 0;
412
+ /**
413
+ * Font.
414
+ */
415
+ this['font'] = void 0;
416
+ /**
417
+ * Padding.
418
+ */
419
+ this['padding'] = void 0;
420
+ /**
421
+ * Specify word wraps (line breaks) within text. Default value: false.
422
+ */
423
+ this['noWrap'] = void 0;
424
+ }
291
425
  static getAttributeTypeMap() {
292
426
  return CaptionParams.attributeTypeMap;
293
427
  }
294
428
  }
429
+ /**
430
+ *
431
+ */
295
432
  CaptionParams.attributeTypeMap = [{
296
433
  name: 'text',
297
434
  baseName: 'Text',
@@ -321,23 +458,45 @@ CaptionParams.attributeTypeMap = [{
321
458
  baseName: 'NoWrap',
322
459
  type: 'boolean'
323
460
  }];
461
+ exports.ChecksumValidation = void 0;
324
462
  (function (ChecksumValidation) {
325
463
  ChecksumValidation["Default"] = "Default";
326
464
  ChecksumValidation["On"] = "On";
327
465
  ChecksumValidation["Off"] = "Off";
328
466
  })(exports.ChecksumValidation || (exports.ChecksumValidation = {}));
467
+ /**
468
+ *
469
+ */
470
+ exports.CodabarChecksumMode = void 0;
329
471
  (function (CodabarChecksumMode) {
330
472
  CodabarChecksumMode["Mod10"] = "Mod10";
331
473
  CodabarChecksumMode["Mod16"] = "Mod16";
332
474
  })(exports.CodabarChecksumMode || (exports.CodabarChecksumMode = {}));
333
- /**
334
- * Codabar parameters.
475
+ /**
476
+ * Codabar parameters.
335
477
  */
336
478
  class CodabarParams {
479
+ constructor() {
480
+ /**
481
+ * Checksum algorithm for Codabar barcodes. Default value: CodabarChecksumMode.Mod16. To enable checksum calculation set value EnableChecksum.Yes to property EnableChecksum.
482
+ */
483
+ this['checksumMode'] = void 0;
484
+ /**
485
+ * Start symbol (character) of Codabar symbology. Default value: CodabarSymbol.A
486
+ */
487
+ this['startSymbol'] = void 0;
488
+ /**
489
+ * Stop symbol (character) of Codabar symbology. Default value: CodabarSymbol.A
490
+ */
491
+ this['stopSymbol'] = void 0;
492
+ }
337
493
  static getAttributeTypeMap() {
338
494
  return CodabarParams.attributeTypeMap;
339
495
  }
340
496
  }
497
+ /**
498
+ *
499
+ */
341
500
  CodabarParams.attributeTypeMap = [{
342
501
  name: 'checksumMode',
343
502
  baseName: 'ChecksumMode',
@@ -351,20 +510,38 @@ CodabarParams.attributeTypeMap = [{
351
510
  baseName: 'StopSymbol',
352
511
  type: 'CodabarSymbol'
353
512
  }];
513
+ exports.CodabarSymbol = void 0;
354
514
  (function (CodabarSymbol) {
355
515
  CodabarSymbol["A"] = "A";
356
516
  CodabarSymbol["B"] = "B";
357
517
  CodabarSymbol["C"] = "C";
358
518
  CodabarSymbol["D"] = "D";
359
519
  })(exports.CodabarSymbol || (exports.CodabarSymbol = {}));
360
- /**
361
- * Codablock parameters.
520
+ /**
521
+ * Codablock parameters.
362
522
  */
363
523
  class CodablockParams {
524
+ constructor() {
525
+ /**
526
+ * Height/Width ratio of 2D BarCode module.
527
+ */
528
+ this['aspectRatio'] = void 0;
529
+ /**
530
+ * Columns count.
531
+ */
532
+ this['columns'] = void 0;
533
+ /**
534
+ * Rows count.
535
+ */
536
+ this['rows'] = void 0;
537
+ }
364
538
  static getAttributeTypeMap() {
365
539
  return CodablockParams.attributeTypeMap;
366
540
  }
367
541
  }
542
+ /**
543
+ * DEPRECATED. This enum will be removed in future releases Function codewords for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes.
544
+ */
368
545
  CodablockParams.attributeTypeMap = [{
369
546
  name: 'aspectRatio',
370
547
  baseName: 'AspectRatio',
@@ -378,12 +555,17 @@ CodablockParams.attributeTypeMap = [{
378
555
  baseName: 'Rows',
379
556
  type: 'number'
380
557
  }];
558
+ exports.Code128Emulation = void 0;
381
559
  (function (Code128Emulation) {
382
560
  Code128Emulation["None"] = "None";
383
561
  Code128Emulation["Code903"] = "Code903";
384
562
  Code128Emulation["Code904"] = "Code904";
385
563
  Code128Emulation["Code905"] = "Code905";
386
564
  })(exports.Code128Emulation || (exports.Code128Emulation = {}));
565
+ /**
566
+ *
567
+ */
568
+ exports.Code128EncodeMode = void 0;
387
569
  (function (Code128EncodeMode) {
388
570
  Code128EncodeMode["Auto"] = "Auto";
389
571
  Code128EncodeMode["CodeA"] = "CodeA";
@@ -393,27 +575,50 @@ CodablockParams.attributeTypeMap = [{
393
575
  Code128EncodeMode["CodeAC"] = "CodeAC";
394
576
  Code128EncodeMode["CodeBC"] = "CodeBC";
395
577
  })(exports.Code128EncodeMode || (exports.Code128EncodeMode = {}));
396
- /**
397
- * Code128 params.
578
+ /**
579
+ * Code128 params.
398
580
  */
399
581
  class Code128Params {
582
+ constructor() {
583
+ /**
584
+ * Encoding mode for Code128 barcodes. Code 128 specification Default value: Code128EncodeMode.Auto.
585
+ */
586
+ this['encodeMode'] = void 0;
587
+ }
400
588
  static getAttributeTypeMap() {
401
589
  return Code128Params.attributeTypeMap;
402
590
  }
403
591
  }
592
+ /**
593
+ * Code16K parameters.
594
+ */
404
595
  Code128Params.attributeTypeMap = [{
405
596
  name: 'encodeMode',
406
597
  baseName: 'EncodeMode',
407
598
  type: 'Code128EncodeMode'
408
599
  }];
409
- /**
410
- * Code16K parameters.
411
- */
412
600
  class Code16KParams {
601
+ constructor() {
602
+ /**
603
+ * Height/Width ratio of 2D BarCode module.
604
+ */
605
+ this['aspectRatio'] = void 0;
606
+ /**
607
+ * Size of the left quiet zone in xDimension. Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.
608
+ */
609
+ this['quietZoneLeftCoef'] = void 0;
610
+ /**
611
+ * Size of the right quiet zone in xDimension. Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.
612
+ */
613
+ this['quietZoneRightCoef'] = void 0;
614
+ }
413
615
  static getAttributeTypeMap() {
414
616
  return Code16KParams.attributeTypeMap;
415
617
  }
416
618
  }
619
+ /**
620
+ *
621
+ */
417
622
  Code16KParams.attributeTypeMap = [{
418
623
  name: 'aspectRatio',
419
624
  baseName: 'AspectRatio',
@@ -427,37 +632,73 @@ Code16KParams.attributeTypeMap = [{
427
632
  baseName: 'QuietZoneRightCoef',
428
633
  type: 'number'
429
634
  }];
635
+ exports.CodeLocation = void 0;
430
636
  (function (CodeLocation) {
431
637
  CodeLocation["Below"] = "Below";
432
638
  CodeLocation["Above"] = "Above";
433
639
  CodeLocation["None"] = "None";
434
640
  })(exports.CodeLocation || (exports.CodeLocation = {}));
435
- /**
436
- * Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
641
+ /**
642
+ * Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
437
643
  */
438
644
  class CouponParams {
645
+ constructor() {
646
+ /**
647
+ * Space between main the BarCode and supplement BarCode in Unit value.
648
+ */
649
+ this['supplementSpace'] = void 0;
650
+ }
439
651
  static getAttributeTypeMap() {
440
652
  return CouponParams.attributeTypeMap;
441
653
  }
442
654
  }
655
+ /**
656
+ *
657
+ */
443
658
  CouponParams.attributeTypeMap = [{
444
659
  name: 'supplementSpace',
445
660
  baseName: 'SupplementSpace',
446
661
  type: 'number'
447
662
  }];
663
+ exports.CustomerInformationInterpretingType = void 0;
448
664
  (function (CustomerInformationInterpretingType) {
449
665
  CustomerInformationInterpretingType["CTable"] = "CTable";
450
666
  CustomerInformationInterpretingType["NTable"] = "NTable";
451
667
  CustomerInformationInterpretingType["Other"] = "Other";
452
668
  })(exports.CustomerInformationInterpretingType || (exports.CustomerInformationInterpretingType = {}));
453
- /**
454
- * Databar parameters.
669
+ /**
670
+ * Databar parameters.
455
671
  */
456
672
  class DataBarParams {
673
+ constructor() {
674
+ /**
675
+ * Height/Width ratio of 2D BarCode module. Used for DataBar stacked.
676
+ */
677
+ this['aspectRatio'] = void 0;
678
+ /**
679
+ * Columns count.
680
+ */
681
+ this['columns'] = void 0;
682
+ /**
683
+ * Rows count.
684
+ */
685
+ this['rows'] = void 0;
686
+ /**
687
+ * Enables flag of 2D composite component with DataBar barcode
688
+ */
689
+ this['is2DCompositeComponent'] = void 0;
690
+ /**
691
+ * If this flag is set, it allows only GS1 encoding standard for Databar barcode types
692
+ */
693
+ this['isAllowOnlyGS1Encoding'] = void 0;
694
+ }
457
695
  static getAttributeTypeMap() {
458
696
  return DataBarParams.attributeTypeMap;
459
697
  }
460
698
  }
699
+ /**
700
+ *
701
+ */
461
702
  DataBarParams.attributeTypeMap = [{
462
703
  name: 'aspectRatio',
463
704
  baseName: 'AspectRatio',
@@ -479,6 +720,7 @@ DataBarParams.attributeTypeMap = [{
479
720
  baseName: 'IsAllowOnlyGS1Encoding',
480
721
  type: 'boolean'
481
722
  }];
723
+ exports.DataMatrixEccType = void 0;
482
724
  (function (DataMatrixEccType) {
483
725
  DataMatrixEccType["EccAuto"] = "EccAuto";
484
726
  DataMatrixEccType["Ecc000"] = "Ecc000";
@@ -488,6 +730,10 @@ DataBarParams.attributeTypeMap = [{
488
730
  DataMatrixEccType["Ecc140"] = "Ecc140";
489
731
  DataMatrixEccType["Ecc200"] = "Ecc200";
490
732
  })(exports.DataMatrixEccType || (exports.DataMatrixEccType = {}));
733
+ /**
734
+ * DataMatrix encoder's encoding mode, default to Auto
735
+ */
736
+ exports.DataMatrixEncodeMode = void 0;
491
737
  (function (DataMatrixEncodeMode) {
492
738
  DataMatrixEncodeMode["Auto"] = "Auto";
493
739
  DataMatrixEncodeMode["ASCII"] = "ASCII";
@@ -499,14 +745,51 @@ DataBarParams.attributeTypeMap = [{
499
745
  DataMatrixEncodeMode["ANSIX12"] = "ANSIX12";
500
746
  DataMatrixEncodeMode["ExtendedCodetext"] = "ExtendedCodetext";
501
747
  })(exports.DataMatrixEncodeMode || (exports.DataMatrixEncodeMode = {}));
502
- /**
503
- * DataMatrix parameters.
748
+ /**
749
+ * DataMatrix parameters.
504
750
  */
505
751
  class DataMatrixParams {
752
+ constructor() {
753
+ /**
754
+ * Height/Width ratio of 2D BarCode module
755
+ */
756
+ this['aspectRatio'] = void 0;
757
+ /**
758
+ * @deprecated This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.
759
+ */
760
+ this['textEncoding'] = void 0;
761
+ /**
762
+ * @deprecated Will be replaced with 'DataMatrix.Version' in the next release Columns count.
763
+ */
764
+ this['columns'] = void 0;
765
+ /**
766
+ * Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.
767
+ */
768
+ this['dataMatrixEcc'] = void 0;
769
+ /**
770
+ * Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.Auto.
771
+ */
772
+ this['dataMatrixEncodeMode'] = void 0;
773
+ /**
774
+ * @deprecated Will be replaced with 'DataMatrix.Version' in the next release Rows count.
775
+ */
776
+ this['rows'] = void 0;
777
+ /**
778
+ * Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS1DataMatrix Default value: MacroCharacters.None.
779
+ */
780
+ this['macroCharacters'] = void 0;
781
+ /**
782
+ * Sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.
783
+ */
784
+ this['version'] = void 0;
785
+ }
506
786
  static getAttributeTypeMap() {
507
787
  return DataMatrixParams.attributeTypeMap;
508
788
  }
509
789
  }
790
+ /**
791
+ *
792
+ */
510
793
  DataMatrixParams.attributeTypeMap = [{
511
794
  name: 'aspectRatio',
512
795
  baseName: 'AspectRatio',
@@ -540,6 +823,7 @@ DataMatrixParams.attributeTypeMap = [{
540
823
  baseName: 'Version',
541
824
  type: 'DataMatrixVersion'
542
825
  }];
826
+ exports.DataMatrixVersion = void 0;
543
827
  (function (DataMatrixVersion) {
544
828
  DataMatrixVersion["Auto"] = "Auto";
545
829
  DataMatrixVersion["RowsColumns"] = "RowsColumns";
@@ -613,6 +897,10 @@ DataMatrixParams.attributeTypeMap = [{
613
897
  DataMatrixVersion["DMRE26x48"] = "DMRE_26x48";
614
898
  DataMatrixVersion["DMRE26x64"] = "DMRE_26x64";
615
899
  })(exports.DataMatrixVersion || (exports.DataMatrixVersion = {}));
900
+ /**
901
+ * See DecodeType
902
+ */
903
+ exports.DecodeBarcodeType = void 0;
616
904
  (function (DecodeBarcodeType) {
617
905
  DecodeBarcodeType["All"] = "all";
618
906
  DecodeBarcodeType["AustraliaPost"] = "AustraliaPost";
@@ -700,14 +988,27 @@ DataMatrixParams.attributeTypeMap = [{
700
988
  DecodeBarcodeType["GS1MicroPdf417"] = "GS1MicroPdf417";
701
989
  DecodeBarcodeType["MostCommonlyUsed"] = "mostCommonlyUsed";
702
990
  })(exports.DecodeBarcodeType || (exports.DecodeBarcodeType = {}));
703
- /**
704
- * Class for disc space information.
991
+ /**
992
+ * Class for disc space information.
705
993
  */
706
994
  class DiscUsage {
995
+ constructor() {
996
+ /**
997
+ * Application used disc space.
998
+ */
999
+ this['usedSize'] = void 0;
1000
+ /**
1001
+ * Total disc space.
1002
+ */
1003
+ this['totalSize'] = void 0;
1004
+ }
707
1005
  static getAttributeTypeMap() {
708
1006
  return DiscUsage.attributeTypeMap;
709
1007
  }
710
1008
  }
1009
+ /**
1010
+ *
1011
+ */
711
1012
  DiscUsage.attributeTypeMap = [{
712
1013
  name: 'usedSize',
713
1014
  baseName: 'UsedSize',
@@ -717,19 +1018,49 @@ DiscUsage.attributeTypeMap = [{
717
1018
  baseName: 'TotalSize',
718
1019
  type: 'number'
719
1020
  }];
1021
+ exports.DotCodeEncodeMode = void 0;
720
1022
  (function (DotCodeEncodeMode) {
721
1023
  DotCodeEncodeMode["Auto"] = "Auto";
722
1024
  DotCodeEncodeMode["Bytes"] = "Bytes";
723
1025
  DotCodeEncodeMode["ExtendedCodetext"] = "ExtendedCodetext";
724
1026
  })(exports.DotCodeEncodeMode || (exports.DotCodeEncodeMode = {}));
725
- /**
726
- * DotCode parameters.
1027
+ /**
1028
+ * DotCode parameters.
727
1029
  */
728
1030
  class DotCodeParams {
1031
+ constructor() {
1032
+ /**
1033
+ * Height/Width ratio of 2D BarCode module.
1034
+ */
1035
+ this['aspectRatio'] = void 0;
1036
+ /**
1037
+ * Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of columns must be at least 5.
1038
+ */
1039
+ this['columns'] = void 0;
1040
+ /**
1041
+ * Identifies DotCode encode mode. Default value: Auto.
1042
+ */
1043
+ this['encodeMode'] = void 0;
1044
+ /**
1045
+ * Identifies ECI encoding. Used when DotCodeEncodeMode is Auto. Default value: ISO-8859-1.
1046
+ */
1047
+ this['eCIEncoding'] = void 0;
1048
+ /**
1049
+ * Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.
1050
+ */
1051
+ this['isReaderInitialization'] = void 0;
1052
+ /**
1053
+ * Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of rows must be at least 5.
1054
+ */
1055
+ this['rows'] = void 0;
1056
+ }
729
1057
  static getAttributeTypeMap() {
730
1058
  return DotCodeParams.attributeTypeMap;
731
1059
  }
732
1060
  }
1061
+ /**
1062
+ *
1063
+ */
733
1064
  DotCodeParams.attributeTypeMap = [{
734
1065
  name: 'aspectRatio',
735
1066
  baseName: 'AspectRatio',
@@ -755,6 +1086,7 @@ DotCodeParams.attributeTypeMap = [{
755
1086
  baseName: 'Rows',
756
1087
  type: 'number'
757
1088
  }];
1089
+ exports.ECIEncodings = void 0;
758
1090
  (function (ECIEncodings) {
759
1091
  ECIEncodings["NONE"] = "NONE";
760
1092
  ECIEncodings["ISO88591"] = "ISO_8859_1";
@@ -784,11 +1116,19 @@ DotCodeParams.attributeTypeMap = [{
784
1116
  ECIEncodings["GB18030"] = "GB18030";
785
1117
  ECIEncodings["EUCKR"] = "EUC_KR";
786
1118
  })(exports.ECIEncodings || (exports.ECIEncodings = {}));
1119
+ /**
1120
+ *
1121
+ */
1122
+ exports.EnableChecksum = void 0;
787
1123
  (function (EnableChecksum) {
788
1124
  EnableChecksum["Default"] = "Default";
789
1125
  EnableChecksum["Yes"] = "Yes";
790
1126
  EnableChecksum["No"] = "No";
791
1127
  })(exports.EnableChecksum || (exports.EnableChecksum = {}));
1128
+ /**
1129
+ * See EncodeTypes
1130
+ */
1131
+ exports.EncodeBarcodeType = void 0;
792
1132
  (function (EncodeBarcodeType) {
793
1133
  EncodeBarcodeType["Codabar"] = "Codabar";
794
1134
  EncodeBarcodeType["Code11"] = "Code11";
@@ -863,14 +1203,27 @@ DotCodeParams.attributeTypeMap = [{
863
1203
  EncodeBarcodeType["GS1Aztec"] = "GS1Aztec";
864
1204
  EncodeBarcodeType["GS1MicroPdf417"] = "GS1MicroPdf417";
865
1205
  })(exports.EncodeBarcodeType || (exports.EncodeBarcodeType = {}));
866
- /**
867
- * The error details
1206
+ /**
1207
+ * The error details
868
1208
  */
869
1209
  class ErrorDetails {
1210
+ constructor() {
1211
+ /**
1212
+ * The request id
1213
+ */
1214
+ this['requestId'] = void 0;
1215
+ /**
1216
+ * Date
1217
+ */
1218
+ this['date'] = void 0;
1219
+ }
870
1220
  static getAttributeTypeMap() {
871
1221
  return ErrorDetails.attributeTypeMap;
872
1222
  }
873
1223
  }
1224
+ /**
1225
+ * File versions FileVersion.
1226
+ */
874
1227
  ErrorDetails.attributeTypeMap = [{
875
1228
  name: 'requestId',
876
1229
  baseName: 'RequestId',
@@ -880,40 +1233,62 @@ ErrorDetails.attributeTypeMap = [{
880
1233
  baseName: 'Date',
881
1234
  type: 'Date'
882
1235
  }];
883
- /**
884
- * File versions FileVersion.
885
- */
886
1236
  class FileVersions {
1237
+ constructor() {
1238
+ /**
1239
+ * File versions FileVersion.
1240
+ */
1241
+ this['value'] = void 0;
1242
+ }
887
1243
  static getAttributeTypeMap() {
888
1244
  return FileVersions.attributeTypeMap;
889
1245
  }
890
1246
  }
1247
+ /**
1248
+ * Files list
1249
+ */
891
1250
  FileVersions.attributeTypeMap = [{
892
1251
  name: 'value',
893
1252
  baseName: 'Value',
894
1253
  type: 'Array<FileVersion>'
895
1254
  }];
896
- /**
897
- * Files list
898
- */
899
1255
  class FilesList {
1256
+ constructor() {
1257
+ /**
1258
+ * Files and folders contained by folder StorageFile.
1259
+ */
1260
+ this['value'] = void 0;
1261
+ }
900
1262
  static getAttributeTypeMap() {
901
1263
  return FilesList.attributeTypeMap;
902
1264
  }
903
1265
  }
1266
+ /**
1267
+ * File upload result
1268
+ */
904
1269
  FilesList.attributeTypeMap = [{
905
1270
  name: 'value',
906
1271
  baseName: 'Value',
907
1272
  type: 'Array<StorageFile>'
908
1273
  }];
909
- /**
910
- * File upload result
911
- */
912
1274
  class FilesUploadResult {
1275
+ constructor() {
1276
+ /**
1277
+ * List of uploaded file names
1278
+ */
1279
+ this['uploaded'] = void 0;
1280
+ /**
1281
+ * List of errors.
1282
+ */
1283
+ this['errors'] = void 0;
1284
+ }
913
1285
  static getAttributeTypeMap() {
914
1286
  return FilesUploadResult.attributeTypeMap;
915
1287
  }
916
1288
  }
1289
+ /**
1290
+ *
1291
+ */
917
1292
  FilesUploadResult.attributeTypeMap = [{
918
1293
  name: 'uploaded',
919
1294
  baseName: 'Uploaded',
@@ -923,18 +1298,36 @@ FilesUploadResult.attributeTypeMap = [{
923
1298
  baseName: 'Errors',
924
1299
  type: 'Array<Error>'
925
1300
  }];
1301
+ exports.FontMode = void 0;
926
1302
  (function (FontMode) {
927
1303
  FontMode["Auto"] = "Auto";
928
1304
  FontMode["Manual"] = "Manual";
929
1305
  })(exports.FontMode || (exports.FontMode = {}));
930
- /**
931
- * Font.
1306
+ /**
1307
+ * Font.
932
1308
  */
933
1309
  class FontParams {
1310
+ constructor() {
1311
+ /**
1312
+ * Font family.
1313
+ */
1314
+ this['family'] = void 0;
1315
+ /**
1316
+ * Font size in units.
1317
+ */
1318
+ this['size'] = void 0;
1319
+ /**
1320
+ * Font style.
1321
+ */
1322
+ this['style'] = void 0;
1323
+ }
934
1324
  static getAttributeTypeMap() {
935
1325
  return FontParams.attributeTypeMap;
936
1326
  }
937
1327
  }
1328
+ /**
1329
+ *
1330
+ */
938
1331
  FontParams.attributeTypeMap = [{
939
1332
  name: 'family',
940
1333
  baseName: 'Family',
@@ -948,6 +1341,7 @@ FontParams.attributeTypeMap = [{
948
1341
  baseName: 'Style',
949
1342
  type: 'FontStyle'
950
1343
  }];
1344
+ exports.FontStyle = void 0;
951
1345
  (function (FontStyle) {
952
1346
  FontStyle["Regular"] = "Regular";
953
1347
  FontStyle["Bold"] = "Bold";
@@ -955,14 +1349,243 @@ FontParams.attributeTypeMap = [{
955
1349
  FontStyle["Underline"] = "Underline";
956
1350
  FontStyle["Strikeout"] = "Strikeout";
957
1351
  })(exports.FontStyle || (exports.FontStyle = {}));
958
- /**
959
- * Represents extended BarcodeGenerator params.
1352
+ /**
1353
+ * Represents extended BarcodeGenerator params.
960
1354
  */
961
1355
  class GeneratorParams {
1356
+ constructor() {
1357
+ /**
1358
+ * Type of barcode to generate.
1359
+ */
1360
+ this['typeOfBarcode'] = void 0;
1361
+ /**
1362
+ * Text to encode.
1363
+ */
1364
+ this['text'] = void 0;
1365
+ /**
1366
+ * Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
1367
+ */
1368
+ this['twoDDisplayText'] = void 0;
1369
+ /**
1370
+ * Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below.
1371
+ */
1372
+ this['textLocation'] = void 0;
1373
+ /**
1374
+ * Text alignment.
1375
+ */
1376
+ this['textAlignment'] = void 0;
1377
+ /**
1378
+ * Specify the displaying CodeText's Color. Default value: Color.Black.
1379
+ */
1380
+ this['textColor'] = void 0;
1381
+ /**
1382
+ * Specify the displaying Text's font. Default value: Arial 5pt regular. Ignored if FontSizeMode is set to FontSizeMode.Auto.
1383
+ */
1384
+ this['font'] = void 0;
1385
+ /**
1386
+ * Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto.
1387
+ */
1388
+ this['fontSizeMode'] = void 0;
1389
+ /**
1390
+ * Specify word wraps (line breaks) within text. Default value: false.
1391
+ */
1392
+ this['noWrap'] = void 0;
1393
+ /**
1394
+ * Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
1395
+ */
1396
+ this['resolution'] = void 0;
1397
+ /**
1398
+ * @deprecated Use 'Resolution' instead.
1399
+ */
1400
+ this['resolutionX'] = void 0;
1401
+ /**
1402
+ * @deprecated Use 'Resolution' instead.
1403
+ */
1404
+ this['resolutionY'] = void 0;
1405
+ /**
1406
+ * The smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
1407
+ */
1408
+ this['dimensionX'] = void 0;
1409
+ /**
1410
+ * Space between the CodeText and the BarCode in Unit value. Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
1411
+ */
1412
+ this['textSpace'] = void 0;
1413
+ /**
1414
+ * Common Units for all measuring in query. Default units: pixel.
1415
+ */
1416
+ this['units'] = void 0;
1417
+ /**
1418
+ * Specifies the different types of automatic sizing modes. Default value: AutoSizeMode.None.
1419
+ */
1420
+ this['sizeMode'] = void 0;
1421
+ /**
1422
+ * Height of the barcode in given units. Default units: pixel.
1423
+ */
1424
+ this['barHeight'] = void 0;
1425
+ /**
1426
+ * Height of the barcode image in given units. Default units: pixel.
1427
+ */
1428
+ this['imageHeight'] = void 0;
1429
+ /**
1430
+ * Width of the barcode image in given units. Default units: pixel.
1431
+ */
1432
+ this['imageWidth'] = void 0;
1433
+ /**
1434
+ * BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
1435
+ */
1436
+ this['rotationAngle'] = void 0;
1437
+ /**
1438
+ * Barcode paddings. Default value: 5pt 5pt 5pt 5pt.
1439
+ */
1440
+ this['padding'] = void 0;
1441
+ /**
1442
+ * Additional caption above barcode.
1443
+ */
1444
+ this['captionAbove'] = void 0;
1445
+ /**
1446
+ * Additional caption below barcode.
1447
+ */
1448
+ this['captionBelow'] = void 0;
1449
+ /**
1450
+ * Background color of the barcode image. Default value: Color.White.
1451
+ */
1452
+ this['backColor'] = void 0;
1453
+ /**
1454
+ * Bars color. Default value: Color.Black.
1455
+ */
1456
+ this['barColor'] = void 0;
1457
+ /**
1458
+ * Border color. Default value: Color.Black.
1459
+ */
1460
+ this['borderColor'] = void 0;
1461
+ /**
1462
+ * Border width. Default value: 0. Ignored if Visible is set to false.
1463
+ */
1464
+ this['borderWidth'] = void 0;
1465
+ /**
1466
+ * Border dash style. Default value: BorderDashStyle.Solid.
1467
+ */
1468
+ this['borderDashStyle'] = void 0;
1469
+ /**
1470
+ * Border visibility. If false than parameter Width is always ignored (0). Default value: false.
1471
+ */
1472
+ this['borderVisible'] = void 0;
1473
+ /**
1474
+ * Enable checksum during generation 1D barcodes. Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible. Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar Checksum always used: Rest symbology
1475
+ */
1476
+ this['enableChecksum'] = void 0;
1477
+ /**
1478
+ * Indicates whether explains the character \"\\\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, \"\\\" will be explained as a special escape character. Otherwise, \"\\\" acts as normal characters. Aspose.BarCode supports input decimal ascii code and mnemonic for ASCII control-code characters. For example, \\013 and \\\\CR stands for CR.
1479
+ */
1480
+ this['enableEscape'] = void 0;
1481
+ /**
1482
+ * Value indicating whether bars are filled. Only for 1D barcodes. Default value: true.
1483
+ */
1484
+ this['filledBars'] = void 0;
1485
+ /**
1486
+ * Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
1487
+ */
1488
+ this['alwaysShowChecksum'] = void 0;
1489
+ /**
1490
+ * Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
1491
+ */
1492
+ this['wideNarrowRatio'] = void 0;
1493
+ /**
1494
+ * 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.
1495
+ */
1496
+ this['validateText'] = void 0;
1497
+ /**
1498
+ * Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
1499
+ */
1500
+ this['supplementData'] = void 0;
1501
+ /**
1502
+ * Space between main the BarCode and supplement BarCode.
1503
+ */
1504
+ this['supplementSpace'] = void 0;
1505
+ /**
1506
+ * Bars reduction value that is used to compensate ink spread while printing.
1507
+ */
1508
+ this['barWidthReduction'] = void 0;
1509
+ /**
1510
+ * Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing.
1511
+ */
1512
+ this['useAntiAlias'] = void 0;
1513
+ /**
1514
+ * AustralianPost params.
1515
+ */
1516
+ this['australianPost'] = void 0;
1517
+ /**
1518
+ * Aztec params.
1519
+ */
1520
+ this['aztec'] = void 0;
1521
+ /**
1522
+ * Codabar params.
1523
+ */
1524
+ this['codabar'] = void 0;
1525
+ /**
1526
+ * Codablock params.
1527
+ */
1528
+ this['codablock'] = void 0;
1529
+ /**
1530
+ * Code16K params.
1531
+ */
1532
+ this['code16K'] = void 0;
1533
+ /**
1534
+ * Coupon params.
1535
+ */
1536
+ this['coupon'] = void 0;
1537
+ /**
1538
+ * DataBar params.
1539
+ */
1540
+ this['dataBar'] = void 0;
1541
+ /**
1542
+ * DataMatrix params.
1543
+ */
1544
+ this['dataMatrix'] = void 0;
1545
+ /**
1546
+ * DotCode params.
1547
+ */
1548
+ this['dotCode'] = void 0;
1549
+ /**
1550
+ * ITF params.
1551
+ */
1552
+ this['ITF'] = void 0;
1553
+ /**
1554
+ * MaxiCode params.
1555
+ */
1556
+ this['maxiCode'] = void 0;
1557
+ /**
1558
+ * Pdf417 params.
1559
+ */
1560
+ this['pdf417'] = void 0;
1561
+ /**
1562
+ * Postal params.
1563
+ */
1564
+ this['postal'] = void 0;
1565
+ /**
1566
+ * QR params.
1567
+ */
1568
+ this['QR'] = void 0;
1569
+ /**
1570
+ * PatchCode params.
1571
+ */
1572
+ this['patchCode'] = void 0;
1573
+ /**
1574
+ * Code128 params.
1575
+ */
1576
+ this['code128'] = void 0;
1577
+ /**
1578
+ * HanXin params.
1579
+ */
1580
+ this['hanXin'] = void 0;
1581
+ }
962
1582
  static getAttributeTypeMap() {
963
1583
  return GeneratorParams.attributeTypeMap;
964
1584
  }
965
1585
  }
1586
+ /**
1587
+ * Represents list of barcode generators
1588
+ */
966
1589
  GeneratorParams.attributeTypeMap = [{
967
1590
  name: 'typeOfBarcode',
968
1591
  baseName: 'TypeOfBarcode',
@@ -1188,14 +1811,28 @@ GeneratorParams.attributeTypeMap = [{
1188
1811
  baseName: 'HanXin',
1189
1812
  type: 'HanXinParams'
1190
1813
  }];
1191
- /**
1192
- * Represents list of barcode generators
1193
- */
1194
1814
  class GeneratorParamsList {
1815
+ constructor() {
1816
+ /**
1817
+ * List of barcode generators
1818
+ */
1819
+ this['barcodeBuilders'] = void 0;
1820
+ /**
1821
+ * Shift step according to X axis
1822
+ */
1823
+ this['xStep'] = void 0;
1824
+ /**
1825
+ * Shift step according to Y axis
1826
+ */
1827
+ this['yStep'] = void 0;
1828
+ }
1195
1829
  static getAttributeTypeMap() {
1196
1830
  return GeneratorParamsList.attributeTypeMap;
1197
1831
  }
1198
1832
  }
1833
+ /**
1834
+ *
1835
+ */
1199
1836
  GeneratorParamsList.attributeTypeMap = [{
1200
1837
  name: 'barcodeBuilders',
1201
1838
  baseName: 'BarcodeBuilders',
@@ -1209,6 +1846,7 @@ GeneratorParamsList.attributeTypeMap = [{
1209
1846
  baseName: 'YStep',
1210
1847
  type: 'number'
1211
1848
  }];
1849
+ exports.HanXinEncodeMode = void 0;
1212
1850
  (function (HanXinEncodeMode) {
1213
1851
  HanXinEncodeMode["Auto"] = "Auto";
1214
1852
  HanXinEncodeMode["Binary"] = "Binary";
@@ -1217,20 +1855,45 @@ GeneratorParamsList.attributeTypeMap = [{
1217
1855
  HanXinEncodeMode["URI"] = "URI";
1218
1856
  HanXinEncodeMode["Extended"] = "Extended";
1219
1857
  })(exports.HanXinEncodeMode || (exports.HanXinEncodeMode = {}));
1858
+ /**
1859
+ *
1860
+ */
1861
+ exports.HanXinErrorLevel = void 0;
1220
1862
  (function (HanXinErrorLevel) {
1221
1863
  HanXinErrorLevel["L1"] = "L1";
1222
1864
  HanXinErrorLevel["L2"] = "L2";
1223
1865
  HanXinErrorLevel["L3"] = "L3";
1224
1866
  HanXinErrorLevel["L4"] = "L4";
1225
1867
  })(exports.HanXinErrorLevel || (exports.HanXinErrorLevel = {}));
1226
- /**
1227
- * HanXin params.
1868
+ /**
1869
+ * HanXin params.
1228
1870
  */
1229
1871
  class HanXinParams {
1872
+ constructor() {
1873
+ /**
1874
+ * Encoding mode for XanXin barcodes. Default value: HanXinEncodeMode.Auto.
1875
+ */
1876
+ this['encodeMode'] = void 0;
1877
+ /**
1878
+ * Allowed Han Xin error correction levels from L1 to L4. Default value: HanXinErrorLevel.L1.
1879
+ */
1880
+ this['errorLevel'] = void 0;
1881
+ /**
1882
+ * Allowed Han Xin versions, Auto and Version01 - Version84. Default value: HanXinVersion.Auto.
1883
+ */
1884
+ this['version'] = void 0;
1885
+ /**
1886
+ * 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. Default value: ECIEncodings.ISO_8859_1
1887
+ */
1888
+ this['eCIEncoding'] = void 0;
1889
+ }
1230
1890
  static getAttributeTypeMap() {
1231
1891
  return HanXinParams.attributeTypeMap;
1232
1892
  }
1233
1893
  }
1894
+ /**
1895
+ *
1896
+ */
1234
1897
  HanXinParams.attributeTypeMap = [{
1235
1898
  name: 'encodeMode',
1236
1899
  baseName: 'EncodeMode',
@@ -1248,6 +1911,7 @@ HanXinParams.attributeTypeMap = [{
1248
1911
  baseName: 'ECIEncoding',
1249
1912
  type: 'ECIEncodings'
1250
1913
  }];
1914
+ exports.HanXinVersion = void 0;
1251
1915
  (function (HanXinVersion) {
1252
1916
  HanXinVersion["Auto"] = "Auto";
1253
1917
  HanXinVersion["Version01"] = "Version01";
@@ -1335,6 +1999,10 @@ HanXinParams.attributeTypeMap = [{
1335
1999
  HanXinVersion["Version83"] = "Version83";
1336
2000
  HanXinVersion["Version84"] = "Version84";
1337
2001
  })(exports.HanXinVersion || (exports.HanXinVersion = {}));
2002
+ /**
2003
+ *
2004
+ */
2005
+ exports.ITF14BorderType = void 0;
1338
2006
  (function (ITF14BorderType) {
1339
2007
  ITF14BorderType["None"] = "None";
1340
2008
  ITF14BorderType["Frame"] = "Frame";
@@ -1342,14 +2010,31 @@ HanXinParams.attributeTypeMap = [{
1342
2010
  ITF14BorderType["FrameOut"] = "FrameOut";
1343
2011
  ITF14BorderType["BarOut"] = "BarOut";
1344
2012
  })(exports.ITF14BorderType || (exports.ITF14BorderType = {}));
1345
- /**
1346
- * ITF parameters.
2013
+ /**
2014
+ * ITF parameters.
1347
2015
  */
1348
2016
  class ITFParams {
2017
+ constructor() {
2018
+ /**
2019
+ * ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
2020
+ */
2021
+ this['borderThickness'] = void 0;
2022
+ /**
2023
+ * Border type of ITF barcode. Default value: ITF14BorderType.Bar.
2024
+ */
2025
+ this['borderType'] = void 0;
2026
+ /**
2027
+ * Size of the quiet zones in xDimension. Default value: 10, meaning if xDimension = 2px than quiet zones will be 20px.
2028
+ */
2029
+ this['quietZoneCoef'] = void 0;
2030
+ }
1349
2031
  static getAttributeTypeMap() {
1350
2032
  return ITFParams.attributeTypeMap;
1351
2033
  }
1352
2034
  }
2035
+ /**
2036
+ *
2037
+ */
1353
2038
  ITFParams.attributeTypeMap = [{
1354
2039
  name: 'borderThickness',
1355
2040
  baseName: 'BorderThickness',
@@ -1363,16 +2048,25 @@ ITFParams.attributeTypeMap = [{
1363
2048
  baseName: 'QuietZoneCoef',
1364
2049
  type: 'number'
1365
2050
  }];
2051
+ exports.MacroCharacter = void 0;
1366
2052
  (function (MacroCharacter) {
1367
2053
  MacroCharacter["None"] = "None";
1368
2054
  MacroCharacter["Macro05"] = "Macro05";
1369
2055
  MacroCharacter["Macro06"] = "Macro06";
1370
2056
  })(exports.MacroCharacter || (exports.MacroCharacter = {}));
2057
+ /**
2058
+ *
2059
+ */
2060
+ exports.MaxiCodeEncodeMode = void 0;
1371
2061
  (function (MaxiCodeEncodeMode) {
1372
2062
  MaxiCodeEncodeMode["Auto"] = "Auto";
1373
2063
  MaxiCodeEncodeMode["Bytes"] = "Bytes";
1374
2064
  MaxiCodeEncodeMode["ExtendedCodetext"] = "ExtendedCodetext";
1375
2065
  })(exports.MaxiCodeEncodeMode || (exports.MaxiCodeEncodeMode = {}));
2066
+ /**
2067
+ *
2068
+ */
2069
+ exports.MaxiCodeMode = void 0;
1376
2070
  (function (MaxiCodeMode) {
1377
2071
  MaxiCodeMode["Mode2"] = "Mode2";
1378
2072
  MaxiCodeMode["Mode3"] = "Mode3";
@@ -1380,14 +2074,31 @@ ITFParams.attributeTypeMap = [{
1380
2074
  MaxiCodeMode["Mode5"] = "Mode5";
1381
2075
  MaxiCodeMode["Mode6"] = "Mode6";
1382
2076
  })(exports.MaxiCodeMode || (exports.MaxiCodeMode = {}));
1383
- /**
1384
- * MaxiCode parameters.
2077
+ /**
2078
+ * MaxiCode parameters.
1385
2079
  */
1386
2080
  class MaxiCodeParams {
2081
+ constructor() {
2082
+ /**
2083
+ * Height/Width ratio of 2D BarCode module.
2084
+ */
2085
+ this['aspectRatio'] = void 0;
2086
+ /**
2087
+ * Mode for MaxiCode barcodes.
2088
+ */
2089
+ this['mode'] = void 0;
2090
+ /**
2091
+ * Encoding mode for MaxiCode barcodes.
2092
+ */
2093
+ this['encodeMode'] = void 0;
2094
+ }
1387
2095
  static getAttributeTypeMap() {
1388
2096
  return MaxiCodeParams.attributeTypeMap;
1389
2097
  }
1390
2098
  }
2099
+ /**
2100
+ * Error
2101
+ */
1391
2102
  MaxiCodeParams.attributeTypeMap = [{
1392
2103
  name: 'aspectRatio',
1393
2104
  baseName: 'AspectRatio',
@@ -1401,14 +2112,32 @@ MaxiCodeParams.attributeTypeMap = [{
1401
2112
  baseName: 'EncodeMode',
1402
2113
  type: 'MaxiCodeEncodeMode'
1403
2114
  }];
1404
- /**
1405
- * Error
1406
- */
1407
2115
  class ModelError {
2116
+ constructor() {
2117
+ /**
2118
+ * Code
2119
+ */
2120
+ this['code'] = void 0;
2121
+ /**
2122
+ * Message
2123
+ */
2124
+ this['message'] = void 0;
2125
+ /**
2126
+ * Description
2127
+ */
2128
+ this['description'] = void 0;
2129
+ /**
2130
+ * Inner Error
2131
+ */
2132
+ this['innerError'] = void 0;
2133
+ }
1408
2134
  static getAttributeTypeMap() {
1409
2135
  return ModelError.attributeTypeMap;
1410
2136
  }
1411
2137
  }
2138
+ /**
2139
+ * Object exists
2140
+ */
1412
2141
  ModelError.attributeTypeMap = [{
1413
2142
  name: 'code',
1414
2143
  baseName: 'Code',
@@ -1426,14 +2155,24 @@ ModelError.attributeTypeMap = [{
1426
2155
  baseName: 'InnerError',
1427
2156
  type: 'ErrorDetails'
1428
2157
  }];
1429
- /**
1430
- * Object exists
1431
- */
1432
2158
  class ObjectExist {
2159
+ constructor() {
2160
+ /**
2161
+ * Indicates that the file or folder exists.
2162
+ */
2163
+ this['exists'] = void 0;
2164
+ /**
2165
+ * True if it is a folder, false if it is a file.
2166
+ */
2167
+ this['isFolder'] = void 0;
2168
+ }
1433
2169
  static getAttributeTypeMap() {
1434
2170
  return ObjectExist.attributeTypeMap;
1435
2171
  }
1436
2172
  }
2173
+ /**
2174
+ * Padding around barcode.
2175
+ */
1437
2176
  ObjectExist.attributeTypeMap = [{
1438
2177
  name: 'exists',
1439
2178
  baseName: 'Exists',
@@ -1443,14 +2182,32 @@ ObjectExist.attributeTypeMap = [{
1443
2182
  baseName: 'IsFolder',
1444
2183
  type: 'boolean'
1445
2184
  }];
1446
- /**
1447
- * Padding around barcode.
1448
- */
1449
2185
  class Padding {
2186
+ constructor() {
2187
+ /**
2188
+ * Left padding.
2189
+ */
2190
+ this['left'] = void 0;
2191
+ /**
2192
+ * Right padding.
2193
+ */
2194
+ this['right'] = void 0;
2195
+ /**
2196
+ * Top padding.
2197
+ */
2198
+ this['top'] = void 0;
2199
+ /**
2200
+ * Bottom padding.
2201
+ */
2202
+ this['bottom'] = void 0;
2203
+ }
1450
2204
  static getAttributeTypeMap() {
1451
2205
  return Padding.attributeTypeMap;
1452
2206
  }
1453
2207
  }
2208
+ /**
2209
+ * PatchCode parameters.
2210
+ */
1454
2211
  Padding.attributeTypeMap = [{
1455
2212
  name: 'left',
1456
2213
  baseName: 'Left',
@@ -1468,14 +2225,24 @@ Padding.attributeTypeMap = [{
1468
2225
  baseName: 'Bottom',
1469
2226
  type: 'number'
1470
2227
  }];
1471
- /**
1472
- * PatchCode parameters.
1473
- */
1474
2228
  class PatchCodeParams {
2229
+ constructor() {
2230
+ /**
2231
+ * Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode.
2232
+ */
2233
+ this['extraBarcodeText'] = void 0;
2234
+ /**
2235
+ * PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders. Default value: PatchFormat.PatchOnly
2236
+ */
2237
+ this['patchFormat'] = void 0;
2238
+ }
1475
2239
  static getAttributeTypeMap() {
1476
2240
  return PatchCodeParams.attributeTypeMap;
1477
2241
  }
1478
2242
  }
2243
+ /**
2244
+ *
2245
+ */
1479
2246
  PatchCodeParams.attributeTypeMap = [{
1480
2247
  name: 'extraBarcodeText',
1481
2248
  baseName: 'ExtraBarcodeText',
@@ -1485,6 +2252,7 @@ PatchCodeParams.attributeTypeMap = [{
1485
2252
  baseName: 'PatchFormat',
1486
2253
  type: 'PatchFormat'
1487
2254
  }];
2255
+ exports.PatchFormat = void 0;
1488
2256
  (function (PatchFormat) {
1489
2257
  PatchFormat["PatchOnly"] = "PatchOnly";
1490
2258
  PatchFormat["A4"] = "A4";
@@ -1492,12 +2260,20 @@ PatchCodeParams.attributeTypeMap = [{
1492
2260
  PatchFormat["USLetter"] = "US_Letter";
1493
2261
  PatchFormat["USLetterLANDSCAPE"] = "US_Letter_LANDSCAPE";
1494
2262
  })(exports.PatchFormat || (exports.PatchFormat = {}));
2263
+ /**
2264
+ *
2265
+ */
2266
+ exports.Pdf417CompactionMode = void 0;
1495
2267
  (function (Pdf417CompactionMode) {
1496
2268
  Pdf417CompactionMode["Auto"] = "Auto";
1497
2269
  Pdf417CompactionMode["Text"] = "Text";
1498
2270
  Pdf417CompactionMode["Numeric"] = "Numeric";
1499
2271
  Pdf417CompactionMode["Binary"] = "Binary";
1500
2272
  })(exports.Pdf417CompactionMode || (exports.Pdf417CompactionMode = {}));
2273
+ /**
2274
+ *
2275
+ */
2276
+ exports.Pdf417ErrorLevel = void 0;
1501
2277
  (function (Pdf417ErrorLevel) {
1502
2278
  Pdf417ErrorLevel["Level0"] = "Level0";
1503
2279
  Pdf417ErrorLevel["Level1"] = "Level1";
@@ -1509,19 +2285,124 @@ PatchCodeParams.attributeTypeMap = [{
1509
2285
  Pdf417ErrorLevel["Level7"] = "Level7";
1510
2286
  Pdf417ErrorLevel["Level8"] = "Level8";
1511
2287
  })(exports.Pdf417ErrorLevel || (exports.Pdf417ErrorLevel = {}));
2288
+ /**
2289
+ *
2290
+ */
2291
+ exports.Pdf417MacroTerminator = void 0;
1512
2292
  (function (Pdf417MacroTerminator) {
1513
2293
  Pdf417MacroTerminator["Auto"] = "Auto";
1514
2294
  Pdf417MacroTerminator["None"] = "None";
1515
2295
  Pdf417MacroTerminator["Set"] = "Set";
1516
2296
  })(exports.Pdf417MacroTerminator || (exports.Pdf417MacroTerminator = {}));
1517
- /**
1518
- * PDF417 parameters.
2297
+ /**
2298
+ * PDF417 parameters.
1519
2299
  */
1520
2300
  class Pdf417Params {
2301
+ constructor() {
2302
+ /**
2303
+ * Height/Width ratio of 2D BarCode module.
2304
+ */
2305
+ this['aspectRatio'] = void 0;
2306
+ /**
2307
+ * @deprecated This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.
2308
+ */
2309
+ this['textEncoding'] = void 0;
2310
+ /**
2311
+ * Columns count.
2312
+ */
2313
+ this['columns'] = void 0;
2314
+ /**
2315
+ * Pdf417 symbology type of BarCode's compaction mode. Default value: Pdf417CompactionMode.Auto.
2316
+ */
2317
+ this['compactionMode'] = void 0;
2318
+ /**
2319
+ * Pdf417 symbology type of BarCode's error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
2320
+ */
2321
+ this['errorLevel'] = void 0;
2322
+ /**
2323
+ * Macro Pdf417 barcode's file ID. Used for MacroPdf417.
2324
+ */
2325
+ this['macroFileID'] = void 0;
2326
+ /**
2327
+ * Macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
2328
+ */
2329
+ this['macroSegmentID'] = void 0;
2330
+ /**
2331
+ * Macro Pdf417 barcode segments count.
2332
+ */
2333
+ this['macroSegmentsCount'] = void 0;
2334
+ /**
2335
+ * Rows count.
2336
+ */
2337
+ this['rows'] = void 0;
2338
+ /**
2339
+ * Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
2340
+ */
2341
+ this['truncate'] = void 0;
2342
+ /**
2343
+ * 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.
2344
+ */
2345
+ this['pdf417ECIEncoding'] = void 0;
2346
+ /**
2347
+ * Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization
2348
+ */
2349
+ this['isReaderInitialization'] = void 0;
2350
+ /**
2351
+ * Macro Pdf417 barcode time stamp
2352
+ */
2353
+ this['macroTimeStamp'] = void 0;
2354
+ /**
2355
+ * Macro Pdf417 barcode sender name
2356
+ */
2357
+ this['macroSender'] = void 0;
2358
+ /**
2359
+ * Macro Pdf417 file size. The file size field contains the size in bytes of the entire source file
2360
+ */
2361
+ this['macroFileSize'] = void 0;
2362
+ /**
2363
+ * Macro Pdf417 barcode checksum. The checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial
2364
+ */
2365
+ this['macroChecksum'] = void 0;
2366
+ /**
2367
+ * Macro Pdf417 barcode file name
2368
+ */
2369
+ this['macroFileName'] = void 0;
2370
+ /**
2371
+ * Macro Pdf417 barcode addressee name
2372
+ */
2373
+ this['macroAddressee'] = void 0;
2374
+ /**
2375
+ * Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.
2376
+ */
2377
+ this['macroECIEncoding'] = void 0;
2378
+ /**
2379
+ * @deprecated This property is obsolete and will be removed in future releases. See samples of using new parameters on https://releases.aspose.com/barcode/net/release-notes/2023/aspose-barcode-for-net-23-10-release-notes/ Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes.
2380
+ */
2381
+ this['code128Emulation'] = void 0;
2382
+ /**
2383
+ * Can be used only with MicroPdf417 and encodes Code 128 emulation modes. Can encode FNC1 in second position modes 908 and 909, also can encode 910 and 911 which just indicate that recognized MicroPdf417 can be interpret as Code 128.
2384
+ */
2385
+ this['isCode128Emulation'] = void 0;
2386
+ /**
2387
+ * Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417.
2388
+ */
2389
+ this['pdf417MacroTerminator'] = void 0;
2390
+ /**
2391
+ * Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes. With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes. With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC.
2392
+ */
2393
+ this['isLinked'] = void 0;
2394
+ /**
2395
+ * Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes. Default value: MacroCharacters.None.
2396
+ */
2397
+ this['macroCharacters'] = void 0;
2398
+ }
1521
2399
  static getAttributeTypeMap() {
1522
2400
  return Pdf417Params.attributeTypeMap;
1523
2401
  }
1524
2402
  }
2403
+ /**
2404
+ * Postal parameters. Used for Postnet, Planet.
2405
+ */
1525
2406
  Pdf417Params.attributeTypeMap = [{
1526
2407
  name: 'aspectRatio',
1527
2408
  baseName: 'AspectRatio',
@@ -1619,19 +2500,26 @@ Pdf417Params.attributeTypeMap = [{
1619
2500
  baseName: 'MacroCharacters',
1620
2501
  type: 'MacroCharacter'
1621
2502
  }];
1622
- /**
1623
- * Postal parameters. Used for Postnet, Planet.
1624
- */
1625
2503
  class PostalParams {
2504
+ constructor() {
2505
+ /**
2506
+ * Short bar's height of Postal barcodes.
2507
+ */
2508
+ this['shortBarHeight'] = void 0;
2509
+ }
1626
2510
  static getAttributeTypeMap() {
1627
2511
  return PostalParams.attributeTypeMap;
1628
2512
  }
1629
2513
  }
2514
+ /**
2515
+ * See QualitySettings allows to configure recognition quality and speed manually.
2516
+ */
1630
2517
  PostalParams.attributeTypeMap = [{
1631
2518
  name: 'shortBarHeight',
1632
2519
  baseName: 'ShortBarHeight',
1633
2520
  type: 'number'
1634
2521
  }];
2522
+ exports.PresetType = void 0;
1635
2523
  (function (PresetType) {
1636
2524
  PresetType["HighPerformance"] = "HighPerformance";
1637
2525
  PresetType["NormalQuality"] = "NormalQuality";
@@ -1640,6 +2528,10 @@ PostalParams.attributeTypeMap = [{
1640
2528
  PresetType["HighQuality"] = "HighQuality";
1641
2529
  PresetType["MaxBarCodes"] = "MaxBarCodes";
1642
2530
  })(exports.PresetType || (exports.PresetType = {}));
2531
+ /**
2532
+ *
2533
+ */
2534
+ exports.QREncodeMode = void 0;
1643
2535
  (function (QREncodeMode) {
1644
2536
  QREncodeMode["Auto"] = "Auto";
1645
2537
  QREncodeMode["Bytes"] = "Bytes";
@@ -1648,17 +2540,29 @@ PostalParams.attributeTypeMap = [{
1648
2540
  QREncodeMode["ECIEncoding"] = "ECIEncoding";
1649
2541
  QREncodeMode["ExtendedCodetext"] = "ExtendedCodetext";
1650
2542
  })(exports.QREncodeMode || (exports.QREncodeMode = {}));
2543
+ /**
2544
+ *
2545
+ */
2546
+ exports.QREncodeType = void 0;
1651
2547
  (function (QREncodeType) {
1652
2548
  QREncodeType["Auto"] = "Auto";
1653
2549
  QREncodeType["ForceQR"] = "ForceQR";
1654
2550
  QREncodeType["ForceMicroQR"] = "ForceMicroQR";
1655
2551
  })(exports.QREncodeType || (exports.QREncodeType = {}));
2552
+ /**
2553
+ *
2554
+ */
2555
+ exports.QRErrorLevel = void 0;
1656
2556
  (function (QRErrorLevel) {
1657
2557
  QRErrorLevel["LevelL"] = "LevelL";
1658
2558
  QRErrorLevel["LevelM"] = "LevelM";
1659
2559
  QRErrorLevel["LevelQ"] = "LevelQ";
1660
2560
  QRErrorLevel["LevelH"] = "LevelH";
1661
2561
  })(exports.QRErrorLevel || (exports.QRErrorLevel = {}));
2562
+ /**
2563
+ *
2564
+ */
2565
+ exports.QRVersion = void 0;
1662
2566
  (function (QRVersion) {
1663
2567
  QRVersion["Auto"] = "Auto";
1664
2568
  QRVersion["Version01"] = "Version01";
@@ -1706,14 +2610,51 @@ PostalParams.attributeTypeMap = [{
1706
2610
  QRVersion["VersionM3"] = "VersionM3";
1707
2611
  QRVersion["VersionM4"] = "VersionM4";
1708
2612
  })(exports.QRVersion || (exports.QRVersion = {}));
1709
- /**
1710
- * QR parameters.
2613
+ /**
2614
+ * QR parameters.
1711
2615
  */
1712
2616
  class QrParams {
2617
+ constructor() {
2618
+ /**
2619
+ * Height/Width ratio of 2D BarCode module.
2620
+ */
2621
+ this['aspectRatio'] = void 0;
2622
+ /**
2623
+ * @deprecated This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.
2624
+ */
2625
+ this['textEncoding'] = void 0;
2626
+ /**
2627
+ * QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
2628
+ */
2629
+ this['encodeType'] = void 0;
2630
+ /**
2631
+ * 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.
2632
+ */
2633
+ this['eCIEncoding'] = void 0;
2634
+ /**
2635
+ * QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
2636
+ */
2637
+ this['encodeMode'] = void 0;
2638
+ /**
2639
+ * Level of Reed-Solomon error correction for QR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. see QRErrorLevel.
2640
+ */
2641
+ this['errorLevel'] = void 0;
2642
+ /**
2643
+ * Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.Auto.
2644
+ */
2645
+ this['version'] = void 0;
2646
+ /**
2647
+ * QR structured append parameters.
2648
+ */
2649
+ this['structuredAppend'] = void 0;
2650
+ }
1713
2651
  static getAttributeTypeMap() {
1714
2652
  return QrParams.attributeTypeMap;
1715
2653
  }
1716
2654
  }
2655
+ /**
2656
+ * Represents BarcodeReader object.
2657
+ */
1717
2658
  QrParams.attributeTypeMap = [{
1718
2659
  name: 'aspectRatio',
1719
2660
  baseName: 'AspectRatio',
@@ -1747,14 +2688,160 @@ QrParams.attributeTypeMap = [{
1747
2688
  baseName: 'StructuredAppend',
1748
2689
  type: 'StructuredAppend'
1749
2690
  }];
1750
- /**
1751
- * Represents BarcodeReader object.
1752
- */
1753
2691
  class ReaderParams {
2692
+ constructor() {
2693
+ /**
2694
+ * The type of barcode to read.
2695
+ */
2696
+ this['type'] = void 0;
2697
+ /**
2698
+ * Multiple barcode types to read.
2699
+ */
2700
+ this['types'] = void 0;
2701
+ /**
2702
+ * 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
2703
+ */
2704
+ this['checksumValidation'] = void 0;
2705
+ /**
2706
+ * A flag which force engine to detect codetext encoding for Unicode.
2707
+ */
2708
+ this['detectEncoding'] = void 0;
2709
+ /**
2710
+ * 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.
2711
+ */
2712
+ this['preset'] = void 0;
2713
+ /**
2714
+ * Set X of top left corner of area for recognition.
2715
+ */
2716
+ this['rectX'] = void 0;
2717
+ /**
2718
+ * Set Y of top left corner of area for recognition.
2719
+ */
2720
+ this['rectY'] = void 0;
2721
+ /**
2722
+ * Set Width of area for recognition.
2723
+ */
2724
+ this['rectWidth'] = void 0;
2725
+ /**
2726
+ * Set Height of area for recognition.
2727
+ */
2728
+ this['rectHeight'] = void 0;
2729
+ /**
2730
+ * Value indicating whether FNC symbol strip must be done.
2731
+ */
2732
+ this['stripFNC'] = void 0;
2733
+ /**
2734
+ * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout.
2735
+ */
2736
+ this['timeout'] = void 0;
2737
+ /**
2738
+ * Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.
2739
+ */
2740
+ this['medianSmoothingWindowSize'] = void 0;
2741
+ /**
2742
+ * Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.
2743
+ */
2744
+ this['allowMedianSmoothing'] = void 0;
2745
+ /**
2746
+ * Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.
2747
+ */
2748
+ this['allowComplexBackground'] = void 0;
2749
+ /**
2750
+ * Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots.
2751
+ */
2752
+ this['allowDatamatrixIndustrialBarcodes'] = void 0;
2753
+ /**
2754
+ * Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms. Mode helps to recognize barcodes which are noised and blurred but captured with high resolution.
2755
+ */
2756
+ this['allowDecreasedImage'] = void 0;
2757
+ /**
2758
+ * Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.
2759
+ */
2760
+ this['allowDetectScanGap'] = void 0;
2761
+ /**
2762
+ * Allows engine to recognize barcodes which has incorrect checksum or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text.
2763
+ */
2764
+ this['allowIncorrectBarcodes'] = void 0;
2765
+ /**
2766
+ * Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.
2767
+ */
2768
+ this['allowInvertImage'] = void 0;
2769
+ /**
2770
+ * Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize slightly damaged Postal barcodes.
2771
+ */
2772
+ this['allowMicroWhiteSpotsRemoving'] = void 0;
2773
+ /**
2774
+ * Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image. Mode helps to quickly recognize generated barcodes from Internet.
2775
+ */
2776
+ this['allowOneDFastBarcodesDetector'] = void 0;
2777
+ /**
2778
+ * Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.
2779
+ */
2780
+ this['allowOneDWipedBarsRestoration'] = void 0;
2781
+ /**
2782
+ * Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.
2783
+ */
2784
+ this['allowQRMicroQrRestoration'] = void 0;
2785
+ /**
2786
+ * Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.
2787
+ */
2788
+ this['allowRegularImage'] = void 0;
2789
+ /**
2790
+ * Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots.
2791
+ */
2792
+ this['allowSaltAndPepperFiltering'] = void 0;
2793
+ /**
2794
+ * Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.
2795
+ */
2796
+ this['allowWhiteSpotsRemoving'] = void 0;
2797
+ /**
2798
+ * Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
2799
+ */
2800
+ this['checkMore1DVariants'] = void 0;
2801
+ /**
2802
+ * Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False.
2803
+ */
2804
+ this['fastScanOnly'] = void 0;
2805
+ /**
2806
+ * Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False.
2807
+ */
2808
+ this['allowAdditionalRestorations'] = void 0;
2809
+ /**
2810
+ * Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.
2811
+ */
2812
+ this['regionLikelihoodThresholdPercent'] = void 0;
2813
+ /**
2814
+ * 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.
2815
+ */
2816
+ this['scanWindowSizes'] = void 0;
2817
+ /**
2818
+ * Similarity coefficient depends on how homogeneous barcodes are. Use high value 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]
2819
+ */
2820
+ this['similarity'] = void 0;
2821
+ /**
2822
+ * 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.
2823
+ */
2824
+ this['skipDiagonalSearch'] = void 0;
2825
+ /**
2826
+ * Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.
2827
+ */
2828
+ this['readTinyBarcodes'] = void 0;
2829
+ /**
2830
+ * Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other.
2831
+ */
2832
+ this['australianPostEncodingTable'] = void 0;
2833
+ /**
2834
+ * The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequence \"333\" of filling patterns is decoded as letter \"z\".
2835
+ */
2836
+ this['ignoreEndingFillingPatternsForCTable'] = void 0;
2837
+ }
1754
2838
  static getAttributeTypeMap() {
1755
2839
  return ReaderParams.attributeTypeMap;
1756
2840
  }
1757
2841
  }
2842
+ /**
2843
+ * Wrapper around Drawing.Point for proper specification.
2844
+ */
1758
2845
  ReaderParams.attributeTypeMap = [{
1759
2846
  name: 'type',
1760
2847
  baseName: 'Type',
@@ -1900,14 +2987,24 @@ ReaderParams.attributeTypeMap = [{
1900
2987
  baseName: 'IgnoreEndingFillingPatternsForCTable',
1901
2988
  type: 'boolean'
1902
2989
  }];
1903
- /**
1904
- * Wrapper around Drawing.Point for proper specification.
1905
- */
1906
2990
  class RegionPoint {
2991
+ constructor() {
2992
+ /**
2993
+ * X-coordinate
2994
+ */
2995
+ this['X'] = void 0;
2996
+ /**
2997
+ * Y-coordinate
2998
+ */
2999
+ this['Y'] = void 0;
3000
+ }
1907
3001
  static getAttributeTypeMap() {
1908
3002
  return RegionPoint.attributeTypeMap;
1909
3003
  }
1910
3004
  }
3005
+ /**
3006
+ * Created image info.
3007
+ */
1911
3008
  RegionPoint.attributeTypeMap = [{
1912
3009
  name: 'X',
1913
3010
  baseName: 'X',
@@ -1917,14 +3014,28 @@ RegionPoint.attributeTypeMap = [{
1917
3014
  baseName: 'Y',
1918
3015
  type: 'number'
1919
3016
  }];
1920
- /**
1921
- * Created image info.
1922
- */
1923
3017
  class ResultImageInfo {
3018
+ constructor() {
3019
+ /**
3020
+ * Result file size.
3021
+ */
3022
+ this['fileSize'] = void 0;
3023
+ /**
3024
+ * Result image width.
3025
+ */
3026
+ this['imageWidth'] = void 0;
3027
+ /**
3028
+ * Result image height.
3029
+ */
3030
+ this['imageHeight'] = void 0;
3031
+ }
1924
3032
  static getAttributeTypeMap() {
1925
3033
  return ResultImageInfo.attributeTypeMap;
1926
3034
  }
1927
3035
  }
3036
+ /**
3037
+ * Storage exists
3038
+ */
1928
3039
  ResultImageInfo.attributeTypeMap = [{
1929
3040
  name: 'fileSize',
1930
3041
  baseName: 'FileSize',
@@ -1938,27 +3049,55 @@ ResultImageInfo.attributeTypeMap = [{
1938
3049
  baseName: 'ImageHeight',
1939
3050
  type: 'number'
1940
3051
  }];
1941
- /**
1942
- * Storage exists
1943
- */
1944
3052
  class StorageExist {
3053
+ constructor() {
3054
+ /**
3055
+ * Shows that the storage exists.
3056
+ */
3057
+ this['exists'] = void 0;
3058
+ }
1945
3059
  static getAttributeTypeMap() {
1946
3060
  return StorageExist.attributeTypeMap;
1947
3061
  }
1948
3062
  }
3063
+ /**
3064
+ * File or folder information
3065
+ */
1949
3066
  StorageExist.attributeTypeMap = [{
1950
3067
  name: 'exists',
1951
3068
  baseName: 'Exists',
1952
3069
  type: 'boolean'
1953
3070
  }];
1954
- /**
1955
- * File or folder information
1956
- */
1957
3071
  class StorageFile {
3072
+ constructor() {
3073
+ /**
3074
+ * File or folder name.
3075
+ */
3076
+ this['name'] = void 0;
3077
+ /**
3078
+ * True if it is a folder.
3079
+ */
3080
+ this['isFolder'] = void 0;
3081
+ /**
3082
+ * File or folder last modified DateTime.
3083
+ */
3084
+ this['modifiedDate'] = void 0;
3085
+ /**
3086
+ * File or folder size.
3087
+ */
3088
+ this['size'] = void 0;
3089
+ /**
3090
+ * File or folder path.
3091
+ */
3092
+ this['path'] = void 0;
3093
+ }
1958
3094
  static getAttributeTypeMap() {
1959
3095
  return StorageFile.attributeTypeMap;
1960
3096
  }
1961
3097
  }
3098
+ /**
3099
+ * QR structured append parameters.
3100
+ */
1962
3101
  StorageFile.attributeTypeMap = [{
1963
3102
  name: 'name',
1964
3103
  baseName: 'Name',
@@ -1980,14 +3119,28 @@ StorageFile.attributeTypeMap = [{
1980
3119
  baseName: 'Path',
1981
3120
  type: 'string'
1982
3121
  }];
1983
- /**
1984
- * QR structured append parameters.
1985
- */
1986
3122
  class StructuredAppend {
3123
+ constructor() {
3124
+ /**
3125
+ * The index of the QR structured append mode barcode. Index starts from 0.
3126
+ */
3127
+ this['sequenceIndicator'] = void 0;
3128
+ /**
3129
+ * QR structured append mode barcodes quantity. Max value is 16.
3130
+ */
3131
+ this['totalCount'] = void 0;
3132
+ /**
3133
+ * QR structured append mode parity data.
3134
+ */
3135
+ this['parityByte'] = void 0;
3136
+ }
1987
3137
  static getAttributeTypeMap() {
1988
3138
  return StructuredAppend.attributeTypeMap;
1989
3139
  }
1990
3140
  }
3141
+ /**
3142
+ *
3143
+ */
1991
3144
  StructuredAppend.attributeTypeMap = [{
1992
3145
  name: 'sequenceIndicator',
1993
3146
  baseName: 'SequenceIndicator',
@@ -2001,16 +3154,51 @@ StructuredAppend.attributeTypeMap = [{
2001
3154
  baseName: 'ParityByte',
2002
3155
  type: 'number'
2003
3156
  }];
3157
+ exports.TextAlignment = void 0;
2004
3158
  (function (TextAlignment) {
2005
3159
  TextAlignment["Left"] = "Left";
2006
3160
  TextAlignment["Center"] = "Center";
2007
3161
  TextAlignment["Right"] = "Right";
2008
3162
  })(exports.TextAlignment || (exports.TextAlignment = {}));
2009
3163
  class FileVersion {
3164
+ constructor() {
3165
+ /**
3166
+ * File or folder name.
3167
+ */
3168
+ this['name'] = void 0;
3169
+ /**
3170
+ * True if it is a folder.
3171
+ */
3172
+ this['isFolder'] = void 0;
3173
+ /**
3174
+ * File or folder last modified DateTime.
3175
+ */
3176
+ this['modifiedDate'] = void 0;
3177
+ /**
3178
+ * File or folder size.
3179
+ */
3180
+ this['size'] = void 0;
3181
+ /**
3182
+ * File or folder path.
3183
+ */
3184
+ this['path'] = void 0;
3185
+ /**
3186
+ * File Version ID.
3187
+ */
3188
+ this['versionId'] = void 0;
3189
+ /**
3190
+ * Specifies whether the file is (true) or is not (false) the latest version of an file.
3191
+ */
3192
+ this['isLatest'] = void 0;
3193
+ }
2010
3194
  static getAttributeTypeMap() {
2011
3195
  return FileVersion.attributeTypeMap;
2012
3196
  }
2013
3197
  }
3198
+ // BarcodeApi
3199
+ /**
3200
+ * Generate barcode.
3201
+ */
2014
3202
  FileVersion.attributeTypeMap = [{
2015
3203
  name: 'name',
2016
3204
  baseName: 'Name',
@@ -2040,279 +3228,1239 @@ FileVersion.attributeTypeMap = [{
2040
3228
  baseName: 'IsLatest',
2041
3229
  type: 'boolean'
2042
3230
  }];
2043
- // BarcodeApi
2044
- /**
2045
- * Generate barcode.
2046
- */
2047
3231
  class GetBarcodeGenerateRequest {
2048
- /**
2049
- * @param type Type of barcode to generate.
3232
+ /**
3233
+ * @param type Type of barcode to generate.
2050
3234
 
2051
- * @param text Text to encode.
3235
+ * @param text Text to encode.
2052
3236
  */
2053
3237
  constructor(type, text) {
3238
+ /**
3239
+ * Type of barcode to generate.
3240
+ */
3241
+ this['type'] = void 0;
3242
+ /**
3243
+ * Text to encode.
3244
+ */
3245
+ this['text'] = void 0;
3246
+ /**
3247
+ * Text that will be displayed instead of codetext in 2D barcodes.
3248
+ Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
3249
+ */
3250
+ this['twoDDisplayText'] = void 0;
3251
+ /**
3252
+ * Specify the displaying Text Location, set to CodeLocation.None to hide CodeText.
3253
+ Default value: CodeLocation.Below.
3254
+ */
3255
+ this['textLocation'] = void 0;
3256
+ /**
3257
+ * Text alignment.
3258
+ */
3259
+ this['textAlignment'] = void 0;
3260
+ /**
3261
+ * Specify the displaying CodeText's Color.
3262
+ Default value: Color.Black.
3263
+ */
3264
+ this['textColor'] = void 0;
3265
+ /**
3266
+ * Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value.
3267
+ It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
3268
+ Default value: FontSizeMode.Auto.
3269
+ */
3270
+ this['fontSizeMode'] = void 0;
3271
+ /**
3272
+ * Specify word wraps (line breaks) within text.
3273
+ Default value: false.
3274
+ */
3275
+ this['noWrap'] = void 0;
3276
+ /**
3277
+ * Resolution of the BarCode image.
3278
+ One value for both dimensions.
3279
+ Default value: 96 dpi.
3280
+ */
3281
+ this['resolution'] = void 0;
3282
+ /**
3283
+ * @deprecated Use 'Resolution' instead.
3284
+ */
3285
+ this['resolutionX'] = void 0;
3286
+ /**
3287
+ * @deprecated Use 'Resolution' instead.
3288
+ */
3289
+ this['resolutionY'] = void 0;
3290
+ /**
3291
+ * The smallest width of the unit of BarCode bars or spaces.
3292
+ Increase this will increase the whole barcode image width.
3293
+ Ignored if AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
3294
+ */
3295
+ this['dimensionX'] = void 0;
3296
+ /**
3297
+ * Space between the CodeText and the BarCode in Unit value.
3298
+ Default value: 2pt.
3299
+ Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
3300
+ */
3301
+ this['textSpace'] = void 0;
3302
+ /**
3303
+ * Common Units for all measuring in query. Default units: pixel.
3304
+ */
3305
+ this['units'] = void 0;
3306
+ /**
3307
+ * Specifies the different types of automatic sizing modes.
3308
+ Default value: AutoSizeMode.None.
3309
+ */
3310
+ this['sizeMode'] = void 0;
3311
+ /**
3312
+ * Height of the barcode in given units. Default units: pixel.
3313
+ */
3314
+ this['barHeight'] = void 0;
3315
+ /**
3316
+ * Height of the barcode image in given units. Default units: pixel.
3317
+ */
3318
+ this['imageHeight'] = void 0;
3319
+ /**
3320
+ * Width of the barcode image in given units. Default units: pixel.
3321
+ */
3322
+ this['imageWidth'] = void 0;
3323
+ /**
3324
+ * BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation.
3325
+ If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image.
3326
+ Default value: 0.
3327
+ */
3328
+ this['rotationAngle'] = void 0;
3329
+ /**
3330
+ * Background color of the barcode image.
3331
+ Default value: Color.White.
3332
+ */
3333
+ this['backColor'] = void 0;
3334
+ /**
3335
+ * Bars color.
3336
+ Default value: Color.Black.
3337
+ */
3338
+ this['barColor'] = void 0;
3339
+ /**
3340
+ * Border color.
3341
+ Default value: Color.Black.
3342
+ */
3343
+ this['borderColor'] = void 0;
3344
+ /**
3345
+ * Border width.
3346
+ Default value: 0.
3347
+ Ignored if Visible is set to false.
3348
+ */
3349
+ this['borderWidth'] = void 0;
3350
+ /**
3351
+ * Border dash style.
3352
+ Default value: BorderDashStyle.Solid.
3353
+ */
3354
+ this['borderDashStyle'] = void 0;
3355
+ /**
3356
+ * Border visibility. If false than parameter Width is always ignored (0).
3357
+ Default value: false.
3358
+ */
3359
+ this['borderVisible'] = void 0;
3360
+ /**
3361
+ * Enable checksum during generation 1D barcodes.
3362
+ Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.
3363
+ Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar
3364
+ Checksum always used: Rest symbology
3365
+ */
3366
+ this['enableChecksum'] = void 0;
3367
+ /**
3368
+ * Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only
3369
+ If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.
3370
+ Aspose.BarCode supports input decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \\CR stands for CR.
3371
+ */
3372
+ this['enableEscape'] = void 0;
3373
+ /**
3374
+ * Value indicating whether bars are filled.
3375
+ Only for 1D barcodes.
3376
+ Default value: true.
3377
+ */
3378
+ this['filledBars'] = void 0;
3379
+ /**
3380
+ * Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
3381
+ */
3382
+ this['alwaysShowChecksum'] = void 0;
3383
+ /**
3384
+ * Wide bars to Narrow bars ratio.
3385
+ Default value: 3, that is, wide bars are 3 times as wide as narrow bars.
3386
+ Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
3387
+ */
3388
+ this['wideNarrowRatio'] = void 0;
3389
+ /**
3390
+ * Only for 1D barcodes.
3391
+ If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification.
3392
+ Exception always will be thrown for: Databar symbology if codetext is incorrect.
3393
+ Exception always will not be thrown for: AustraliaPost, SingaporePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.
3394
+ */
3395
+ this['validateText'] = void 0;
3396
+ /**
3397
+ * Supplement parameters.
3398
+ Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
3399
+ */
3400
+ this['supplementData'] = void 0;
3401
+ /**
3402
+ * Space between main the BarCode and supplement BarCode.
3403
+ */
3404
+ this['supplementSpace'] = void 0;
3405
+ /**
3406
+ * Bars reduction value that is used to compensate ink spread while printing.
3407
+ */
3408
+ this['barWidthReduction'] = void 0;
3409
+ /**
3410
+ * Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing.
3411
+ */
3412
+ this['useAntiAlias'] = void 0;
3413
+ /**
3414
+ * Result image format.
3415
+ */
3416
+ this['format'] = void 0;
2054
3417
  this.type = type;
2055
3418
  this.text = text;
2056
3419
  }
2057
3420
  }
2058
- /**
2059
- * Recognize barcode from a file on server.
3421
+ /**
3422
+ * Recognize barcode from a file on server.
2060
3423
  */
2061
3424
  class GetBarcodeRecognizeRequest {
2062
- /**
2063
- * @param name The image file name.
3425
+ /**
3426
+ * @param name The image file name.
2064
3427
  */
2065
3428
  constructor(name) {
3429
+ /**
3430
+ * The image file name.
3431
+ */
3432
+ this['name'] = void 0;
3433
+ /**
3434
+ * The type of barcode to read.
3435
+ */
3436
+ this['type'] = void 0;
3437
+ /**
3438
+ * Multiple barcode types to read.
3439
+ */
3440
+ this['types'] = void 0;
3441
+ /**
3442
+ * Enable checksum validation during recognition for 1D barcodes.
3443
+ Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible.
3444
+ Checksum never used: Codabar
3445
+ Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN
3446
+ Checksum always used: Rest symbologies
3447
+ */
3448
+ this['checksumValidation'] = void 0;
3449
+ /**
3450
+ * A flag which force engine to detect codetext encoding for Unicode.
3451
+ */
3452
+ this['detectEncoding'] = void 0;
3453
+ /**
3454
+ * Preset allows to configure recognition quality and speed manually.
3455
+ You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality,
3456
+ HighQuality, MaxBarCodes or you can manually configure separate options.
3457
+ Default value of Preset is NormalQuality.
3458
+ */
3459
+ this['preset'] = void 0;
3460
+ /**
3461
+ * Set X of top left corner of area for recognition.
3462
+ */
3463
+ this['rectX'] = void 0;
3464
+ /**
3465
+ * Set Y of top left corner of area for recognition.
3466
+ */
3467
+ this['rectY'] = void 0;
3468
+ /**
3469
+ * Set Width of area for recognition.
3470
+ */
3471
+ this['rectWidth'] = void 0;
3472
+ /**
3473
+ * Set Height of area for recognition.
3474
+ */
3475
+ this['rectHeight'] = void 0;
3476
+ /**
3477
+ * Value indicating whether FNC symbol strip must be done.
3478
+ */
3479
+ this['stripFNC'] = void 0;
3480
+ /**
3481
+ * Timeout of recognition process in milliseconds.
3482
+ Default value is 15_000 (15 seconds).
3483
+ Maximum value is 30_000 (1/2 minute).
3484
+ In case of a timeout RequestTimeout (408) status will be returned.
3485
+ Try reducing the image size to avoid timeout.
3486
+ */
3487
+ this['timeout'] = void 0;
3488
+ /**
3489
+ * Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.
3490
+ */
3491
+ this['medianSmoothingWindowSize'] = void 0;
3492
+ /**
3493
+ * Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.
3494
+ */
3495
+ this['allowMedianSmoothing'] = void 0;
3496
+ /**
3497
+ * Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.
3498
+ */
3499
+ this['allowComplexBackground'] = void 0;
3500
+ /**
3501
+ * Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes.
3502
+ Slow mode which helps only for dashed barcodes which consist from spots.
3503
+ */
3504
+ this['allowDatamatrixIndustrialBarcodes'] = void 0;
3505
+ /**
3506
+ * Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms.
3507
+ Mode helps to recognize barcodes which are noised and blurred but captured with high resolution.
3508
+ */
3509
+ this['allowDecreasedImage'] = void 0;
3510
+ /**
3511
+ * Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.
3512
+ */
3513
+ this['allowDetectScanGap'] = void 0;
3514
+ /**
3515
+ * Allows engine to recognize barcodes which has incorrect checksum or incorrect values.
3516
+ Mode can be used to recognize damaged barcodes with incorrect text.
3517
+ */
3518
+ this['allowIncorrectBarcodes'] = void 0;
3519
+ /**
3520
+ * Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.
3521
+ */
3522
+ this['allowInvertImage'] = void 0;
3523
+ /**
3524
+ * Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize slightly damaged Postal barcodes.
3525
+ */
3526
+ this['allowMicroWhiteSpotsRemoving'] = void 0;
3527
+ /**
3528
+ * Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image.
3529
+ Mode helps to quickly recognize generated barcodes from Internet.
3530
+ */
3531
+ this['allowOneDFastBarcodesDetector'] = void 0;
3532
+ /**
3533
+ * Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.
3534
+ */
3535
+ this['allowOneDWipedBarsRestoration'] = void 0;
3536
+ /**
3537
+ * Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.
3538
+ */
3539
+ this['allowQRMicroQrRestoration'] = void 0;
3540
+ /**
3541
+ * Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.
3542
+ */
3543
+ this['allowRegularImage'] = void 0;
3544
+ /**
3545
+ * Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots.
3546
+ */
3547
+ this['allowSaltAndPepperFiltering'] = void 0;
3548
+ /**
3549
+ * Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.
3550
+ */
3551
+ this['allowWhiteSpotsRemoving'] = void 0;
3552
+ /**
3553
+ * Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
3554
+ */
3555
+ this['checkMore1DVariants'] = void 0;
3556
+ /**
3557
+ * Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms.
3558
+ Default value: False.
3559
+ */
3560
+ this['fastScanOnly'] = void 0;
3561
+ /**
3562
+ * Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type.
3563
+ Default value: False.
3564
+ */
3565
+ this['allowAdditionalRestorations'] = void 0;
3566
+ /**
3567
+ * Sets threshold for detected regions that may contain barcodes.
3568
+ Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further.
3569
+ Region likelihood threshold must be between [0.05, 0.9]
3570
+ Use high values for clear images with few barcodes.
3571
+ Use low values for images with many barcodes or for noisy images.
3572
+ Low value may lead to a bigger recognition time.
3573
+ */
3574
+ this['regionLikelihoodThresholdPercent'] = void 0;
3575
+ /**
3576
+ * Scan window sizes in pixels.
3577
+ Allowed sizes are 10, 15, 20, 25, 30.
3578
+ Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes.
3579
+ Combining of several window sizes can improve detection quality.
3580
+ */
3581
+ this['scanWindowSizes'] = void 0;
3582
+ /**
3583
+ * Similarity coefficient depends on how homogeneous barcodes are.
3584
+ Use high value for clear barcodes.
3585
+ Use low values to detect barcodes that ara partly damaged or not lighten evenly.
3586
+ Similarity coefficient must be between [0.5, 0.9]
3587
+ */
3588
+ this['similarity'] = void 0;
3589
+ /**
3590
+ * Allows detector to skip search for diagonal barcodes.
3591
+ Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise.
3592
+ Enabling of diagonal search leads to a bigger detection time.
3593
+ */
3594
+ this['skipDiagonalSearch'] = void 0;
3595
+ /**
3596
+ * Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.
3597
+ */
3598
+ this['readTinyBarcodes'] = void 0;
3599
+ /**
3600
+ * Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other.
3601
+ */
3602
+ this['australianPostEncodingTable'] = void 0;
3603
+ /**
3604
+ * The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method.
3605
+ CTable encoding method does not have any gaps in encoding table and sequence "333" of filling patterns is decoded as letter "z".
3606
+ */
3607
+ this['ignoreEndingFillingPatternsForCTable'] = void 0;
3608
+ /**
3609
+ * The image storage.
3610
+ */
3611
+ this['storage'] = void 0;
3612
+ /**
3613
+ * The image folder.
3614
+ */
3615
+ this['folder'] = void 0;
2066
3616
  this.name = name;
2067
3617
  }
2068
3618
  }
2069
- /**
2070
- * Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image with content-type \"application/octet-stream\". An image can also be passed as a form field.
3619
+ /**
3620
+ * Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image with content-type \"application/octet-stream\". An image can also be passed as a form field.
2071
3621
  */
2072
- class PostBarcodeRecognizeFromUrlOrContentRequest {}
2073
- /**
2074
- * Generate multiple barcodes and return in response stream
3622
+ class PostBarcodeRecognizeFromUrlOrContentRequest {
3623
+ constructor() {
3624
+ /**
3625
+ * The type of barcode to read.
3626
+ */
3627
+ this['type'] = void 0;
3628
+ /**
3629
+ * Multiple barcode types to read.
3630
+ */
3631
+ this['types'] = void 0;
3632
+ /**
3633
+ * Enable checksum validation during recognition for 1D barcodes.
3634
+ Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible.
3635
+ Checksum never used: Codabar
3636
+ Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN
3637
+ Checksum always used: Rest symbologies
3638
+ */
3639
+ this['checksumValidation'] = void 0;
3640
+ /**
3641
+ * A flag which force engine to detect codetext encoding for Unicode.
3642
+ */
3643
+ this['detectEncoding'] = void 0;
3644
+ /**
3645
+ * Preset allows to configure recognition quality and speed manually.
3646
+ You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality,
3647
+ HighQuality, MaxBarCodes or you can manually configure separate options.
3648
+ Default value of Preset is NormalQuality.
3649
+ */
3650
+ this['preset'] = void 0;
3651
+ /**
3652
+ * Set X of top left corner of area for recognition.
3653
+ */
3654
+ this['rectX'] = void 0;
3655
+ /**
3656
+ * Set Y of top left corner of area for recognition.
3657
+ */
3658
+ this['rectY'] = void 0;
3659
+ /**
3660
+ * Set Width of area for recognition.
3661
+ */
3662
+ this['rectWidth'] = void 0;
3663
+ /**
3664
+ * Set Height of area for recognition.
3665
+ */
3666
+ this['rectHeight'] = void 0;
3667
+ /**
3668
+ * Value indicating whether FNC symbol strip must be done.
3669
+ */
3670
+ this['stripFNC'] = void 0;
3671
+ /**
3672
+ * Timeout of recognition process in milliseconds.
3673
+ Default value is 15_000 (15 seconds).
3674
+ Maximum value is 30_000 (1/2 minute).
3675
+ In case of a timeout RequestTimeout (408) status will be returned.
3676
+ Try reducing the image size to avoid timeout.
3677
+ */
3678
+ this['timeout'] = void 0;
3679
+ /**
3680
+ * Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.
3681
+ */
3682
+ this['medianSmoothingWindowSize'] = void 0;
3683
+ /**
3684
+ * Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.
3685
+ */
3686
+ this['allowMedianSmoothing'] = void 0;
3687
+ /**
3688
+ * Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.
3689
+ */
3690
+ this['allowComplexBackground'] = void 0;
3691
+ /**
3692
+ * Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes.
3693
+ Slow mode which helps only for dashed barcodes which consist from spots.
3694
+ */
3695
+ this['allowDatamatrixIndustrialBarcodes'] = void 0;
3696
+ /**
3697
+ * Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms.
3698
+ Mode helps to recognize barcodes which are noised and blurred but captured with high resolution.
3699
+ */
3700
+ this['allowDecreasedImage'] = void 0;
3701
+ /**
3702
+ * Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.
3703
+ */
3704
+ this['allowDetectScanGap'] = void 0;
3705
+ /**
3706
+ * Allows engine to recognize barcodes which has incorrect checksum or incorrect values.
3707
+ Mode can be used to recognize damaged barcodes with incorrect text.
3708
+ */
3709
+ this['allowIncorrectBarcodes'] = void 0;
3710
+ /**
3711
+ * Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.
3712
+ */
3713
+ this['allowInvertImage'] = void 0;
3714
+ /**
3715
+ * Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize slightly damaged Postal barcodes.
3716
+ */
3717
+ this['allowMicroWhiteSpotsRemoving'] = void 0;
3718
+ /**
3719
+ * Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image.
3720
+ Mode helps to quickly recognize generated barcodes from Internet.
3721
+ */
3722
+ this['allowOneDFastBarcodesDetector'] = void 0;
3723
+ /**
3724
+ * Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.
3725
+ */
3726
+ this['allowOneDWipedBarsRestoration'] = void 0;
3727
+ /**
3728
+ * Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.
3729
+ */
3730
+ this['allowQRMicroQrRestoration'] = void 0;
3731
+ /**
3732
+ * Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.
3733
+ */
3734
+ this['allowRegularImage'] = void 0;
3735
+ /**
3736
+ * Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots.
3737
+ */
3738
+ this['allowSaltAndPepperFiltering'] = void 0;
3739
+ /**
3740
+ * Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.
3741
+ */
3742
+ this['allowWhiteSpotsRemoving'] = void 0;
3743
+ /**
3744
+ * Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
3745
+ */
3746
+ this['checkMore1DVariants'] = void 0;
3747
+ /**
3748
+ * Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms.
3749
+ Default value: False.
3750
+ */
3751
+ this['fastScanOnly'] = void 0;
3752
+ /**
3753
+ * Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type.
3754
+ Default value: False.
3755
+ */
3756
+ this['allowAdditionalRestorations'] = void 0;
3757
+ /**
3758
+ * Sets threshold for detected regions that may contain barcodes.
3759
+ Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further.
3760
+ Region likelihood threshold must be between [0.05, 0.9]
3761
+ Use high values for clear images with few barcodes.
3762
+ Use low values for images with many barcodes or for noisy images.
3763
+ Low value may lead to a bigger recognition time.
3764
+ */
3765
+ this['regionLikelihoodThresholdPercent'] = void 0;
3766
+ /**
3767
+ * Scan window sizes in pixels.
3768
+ Allowed sizes are 10, 15, 20, 25, 30.
3769
+ Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes.
3770
+ Combining of several window sizes can improve detection quality.
3771
+ */
3772
+ this['scanWindowSizes'] = void 0;
3773
+ /**
3774
+ * Similarity coefficient depends on how homogeneous barcodes are.
3775
+ Use high value for clear barcodes.
3776
+ Use low values to detect barcodes that ara partly damaged or not lighten evenly.
3777
+ Similarity coefficient must be between [0.5, 0.9]
3778
+ */
3779
+ this['similarity'] = void 0;
3780
+ /**
3781
+ * Allows detector to skip search for diagonal barcodes.
3782
+ Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise.
3783
+ Enabling of diagonal search leads to a bigger detection time.
3784
+ */
3785
+ this['skipDiagonalSearch'] = void 0;
3786
+ /**
3787
+ * Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.
3788
+ */
3789
+ this['readTinyBarcodes'] = void 0;
3790
+ /**
3791
+ * Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other.
3792
+ */
3793
+ this['australianPostEncodingTable'] = void 0;
3794
+ /**
3795
+ * The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method.
3796
+ CTable encoding method does not have any gaps in encoding table and sequence "333" of filling patterns is decoded as letter "z".
3797
+ */
3798
+ this['ignoreEndingFillingPatternsForCTable'] = void 0;
3799
+ /**
3800
+ * The image file url.
3801
+ */
3802
+ this['url'] = void 0;
3803
+ /**
3804
+ * Image data
3805
+ */
3806
+ this['image'] = void 0;
3807
+ }
3808
+ }
3809
+ /**
3810
+ * Generate multiple barcodes and return in response stream
2075
3811
  */
2076
3812
  class PostGenerateMultipleRequest {
2077
- /**
2078
- * @param generatorParamsList List of barcodes
3813
+ /**
3814
+ * @param generatorParamsList List of barcodes
2079
3815
  */
2080
3816
  constructor(generatorParamsList) {
2081
- /**
2082
- * Format to return stream in
3817
+ /**
3818
+ * List of barcodes
3819
+ */
3820
+ this['generatorParamsList'] = void 0;
3821
+ /**
3822
+ * Format to return stream in
2083
3823
  */
2084
3824
  this['format'] = 'png';
2085
3825
  this.generatorParamsList = generatorParamsList;
2086
3826
  }
2087
3827
  }
2088
- /**
2089
- * Generate barcode and save on server (from query params or from file with json or xml content)
3828
+ /**
3829
+ * Generate barcode and save on server (from query params or from file with json or xml content)
2090
3830
  */
2091
3831
  class PutBarcodeGenerateFileRequest {
2092
- /**
2093
- * @param name The image file name.
3832
+ /**
3833
+ * @param name The image file name.
2094
3834
 
2095
- * @param type Type of barcode to generate.
3835
+ * @param type Type of barcode to generate.
2096
3836
 
2097
- * @param text Text to encode.
3837
+ * @param text Text to encode.
2098
3838
  */
2099
3839
  constructor(name, type, text) {
3840
+ /**
3841
+ * The image file name.
3842
+ */
3843
+ this['name'] = void 0;
3844
+ /**
3845
+ * Type of barcode to generate.
3846
+ */
3847
+ this['type'] = void 0;
3848
+ /**
3849
+ * Text to encode.
3850
+ */
3851
+ this['text'] = void 0;
3852
+ /**
3853
+ * Text that will be displayed instead of codetext in 2D barcodes.
3854
+ Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
3855
+ */
3856
+ this['twoDDisplayText'] = void 0;
3857
+ /**
3858
+ * Specify the displaying Text Location, set to CodeLocation.None to hide CodeText.
3859
+ Default value: CodeLocation.Below.
3860
+ */
3861
+ this['textLocation'] = void 0;
3862
+ /**
3863
+ * Text alignment.
3864
+ */
3865
+ this['textAlignment'] = void 0;
3866
+ /**
3867
+ * Specify the displaying CodeText's Color.
3868
+ Default value: Color.Black.
3869
+ */
3870
+ this['textColor'] = void 0;
3871
+ /**
3872
+ * Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value.
3873
+ It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
3874
+ Default value: FontSizeMode.Auto.
3875
+ */
3876
+ this['fontSizeMode'] = void 0;
3877
+ /**
3878
+ * Specify word wraps (line breaks) within text.
3879
+ Default value: false.
3880
+ */
3881
+ this['noWrap'] = void 0;
3882
+ /**
3883
+ * Resolution of the BarCode image.
3884
+ One value for both dimensions.
3885
+ Default value: 96 dpi.
3886
+ */
3887
+ this['resolution'] = void 0;
3888
+ /**
3889
+ * @deprecated Use 'Resolution' instead.
3890
+ */
3891
+ this['resolutionX'] = void 0;
3892
+ /**
3893
+ * @deprecated Use 'Resolution' instead.
3894
+ */
3895
+ this['resolutionY'] = void 0;
3896
+ /**
3897
+ * The smallest width of the unit of BarCode bars or spaces.
3898
+ Increase this will increase the whole barcode image width.
3899
+ Ignored if AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
3900
+ */
3901
+ this['dimensionX'] = void 0;
3902
+ /**
3903
+ * Space between the CodeText and the BarCode in Unit value.
3904
+ Default value: 2pt.
3905
+ Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
3906
+ */
3907
+ this['textSpace'] = void 0;
3908
+ /**
3909
+ * Common Units for all measuring in query. Default units: pixel.
3910
+ */
3911
+ this['units'] = void 0;
3912
+ /**
3913
+ * Specifies the different types of automatic sizing modes.
3914
+ Default value: AutoSizeMode.None.
3915
+ */
3916
+ this['sizeMode'] = void 0;
3917
+ /**
3918
+ * Height of the barcode in given units. Default units: pixel.
3919
+ */
3920
+ this['barHeight'] = void 0;
3921
+ /**
3922
+ * Height of the barcode image in given units. Default units: pixel.
3923
+ */
3924
+ this['imageHeight'] = void 0;
3925
+ /**
3926
+ * Width of the barcode image in given units. Default units: pixel.
3927
+ */
3928
+ this['imageWidth'] = void 0;
3929
+ /**
3930
+ * BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation.
3931
+ If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image.
3932
+ Default value: 0.
3933
+ */
3934
+ this['rotationAngle'] = void 0;
3935
+ /**
3936
+ * Background color of the barcode image.
3937
+ Default value: Color.White.
3938
+ */
3939
+ this['backColor'] = void 0;
3940
+ /**
3941
+ * Bars color.
3942
+ Default value: Color.Black.
3943
+ */
3944
+ this['barColor'] = void 0;
3945
+ /**
3946
+ * Border color.
3947
+ Default value: Color.Black.
3948
+ */
3949
+ this['borderColor'] = void 0;
3950
+ /**
3951
+ * Border width.
3952
+ Default value: 0.
3953
+ Ignored if Visible is set to false.
3954
+ */
3955
+ this['borderWidth'] = void 0;
3956
+ /**
3957
+ * Border dash style.
3958
+ Default value: BorderDashStyle.Solid.
3959
+ */
3960
+ this['borderDashStyle'] = void 0;
3961
+ /**
3962
+ * Border visibility. If false than parameter Width is always ignored (0).
3963
+ Default value: false.
3964
+ */
3965
+ this['borderVisible'] = void 0;
3966
+ /**
3967
+ * Enable checksum during generation 1D barcodes.
3968
+ Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.
3969
+ Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar
3970
+ Checksum always used: Rest symbology
3971
+ */
3972
+ this['enableChecksum'] = void 0;
3973
+ /**
3974
+ * Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only
3975
+ If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.
3976
+ Aspose.BarCode supports input decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \\CR stands for CR.
3977
+ */
3978
+ this['enableEscape'] = void 0;
3979
+ /**
3980
+ * Value indicating whether bars are filled.
3981
+ Only for 1D barcodes.
3982
+ Default value: true.
3983
+ */
3984
+ this['filledBars'] = void 0;
3985
+ /**
3986
+ * Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
3987
+ */
3988
+ this['alwaysShowChecksum'] = void 0;
3989
+ /**
3990
+ * Wide bars to Narrow bars ratio.
3991
+ Default value: 3, that is, wide bars are 3 times as wide as narrow bars.
3992
+ Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
3993
+ */
3994
+ this['wideNarrowRatio'] = void 0;
3995
+ /**
3996
+ * Only for 1D barcodes.
3997
+ If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification.
3998
+ Exception always will be thrown for: Databar symbology if codetext is incorrect.
3999
+ Exception always will not be thrown for: AustraliaPost, SingaporePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.
4000
+ */
4001
+ this['validateText'] = void 0;
4002
+ /**
4003
+ * Supplement parameters.
4004
+ Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
4005
+ */
4006
+ this['supplementData'] = void 0;
4007
+ /**
4008
+ * Space between main the BarCode and supplement BarCode.
4009
+ */
4010
+ this['supplementSpace'] = void 0;
4011
+ /**
4012
+ * Bars reduction value that is used to compensate ink spread while printing.
4013
+ */
4014
+ this['barWidthReduction'] = void 0;
4015
+ /**
4016
+ * Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing.
4017
+ */
4018
+ this['useAntiAlias'] = void 0;
4019
+ /**
4020
+ * Image's storage.
4021
+ */
4022
+ this['storage'] = void 0;
4023
+ /**
4024
+ * Image's folder.
4025
+ */
4026
+ this['folder'] = void 0;
4027
+ /**
4028
+ * The image format.
4029
+ */
4030
+ this['format'] = void 0;
2100
4031
  this.name = name;
2101
4032
  this.type = type;
2102
4033
  this.text = text;
2103
4034
  }
2104
4035
  }
2105
- /**
2106
- * Recognition of a barcode from file on server with parameters in body.
4036
+ /**
4037
+ * Recognition of a barcode from file on server with parameters in body.
2107
4038
  */
2108
4039
  class PutBarcodeRecognizeFromBodyRequest {
2109
- /**
2110
- * @param name The image file name.
4040
+ /**
4041
+ * @param name The image file name.
2111
4042
 
2112
- * @param readerParams BarcodeReader object with parameters.
4043
+ * @param readerParams BarcodeReader object with parameters.
2113
4044
  */
2114
4045
  constructor(name, readerParams) {
4046
+ /**
4047
+ * The image file name.
4048
+ */
4049
+ this['name'] = void 0;
4050
+ /**
4051
+ * BarcodeReader object with parameters.
4052
+ */
4053
+ this['readerParams'] = void 0;
4054
+ /**
4055
+ *
4056
+ */
4057
+ this['type'] = void 0;
4058
+ /**
4059
+ * The storage name
4060
+ */
4061
+ this['storage'] = void 0;
4062
+ /**
4063
+ * The image folder.
4064
+ */
4065
+ this['folder'] = void 0;
2115
4066
  this.name = name;
2116
4067
  this.readerParams = readerParams;
2117
4068
  }
2118
4069
  }
2119
- /**
2120
- * Generate image with multiple barcodes and put new file on server
4070
+ /**
4071
+ * Generate image with multiple barcodes and put new file on server
2121
4072
  */
2122
4073
  class PutGenerateMultipleRequest {
2123
- /**
2124
- * @param name New filename
4074
+ /**
4075
+ * @param name New filename
2125
4076
 
2126
- * @param generatorParamsList List of barcodes
4077
+ * @param generatorParamsList List of barcodes
2127
4078
  */
2128
4079
  constructor(name, generatorParamsList) {
2129
- /**
2130
- * Format of file
4080
+ /**
4081
+ * New filename
4082
+ */
4083
+ this['name'] = void 0;
4084
+ /**
4085
+ * List of barcodes
4086
+ */
4087
+ this['generatorParamsList'] = void 0;
4088
+ /**
4089
+ * Format of file
2131
4090
  */
2132
4091
  this['format'] = 'png';
4092
+ /**
4093
+ * Folder to place file to
4094
+ */
4095
+ this['folder'] = void 0;
4096
+ /**
4097
+ * The storage name
4098
+ */
4099
+ this['storage'] = void 0;
2133
4100
  this.name = name;
2134
4101
  this.generatorParamsList = generatorParamsList;
2135
4102
  }
2136
4103
  }
2137
- /**
2138
- * Quickly scan a barcode from an image.
4104
+ /**
4105
+ * Quickly scan a barcode from an image.
2139
4106
  */
2140
4107
  class ScanBarcodeRequest {
2141
- /**
2142
- * @param imageFile Image as file
4108
+ /**
4109
+ * @param imageFile Image as file
2143
4110
  */
2144
4111
  constructor(imageFile) {
4112
+ /**
4113
+ * Image as file
4114
+ */
4115
+ this['imageFile'] = void 0;
4116
+ /**
4117
+ * Types of barcode to recognize
4118
+ */
4119
+ this['decodeTypes'] = void 0;
4120
+ /**
4121
+ * Timeout of recognition process in milliseconds.
4122
+ Default value is 15_000 (15 seconds).
4123
+ Maximum value is 30_000 (1/2 minute).
4124
+ In case of a timeout RequestTimeout (408) status will be returned.
4125
+ Try reducing the image size to avoid timeout.
4126
+ */
4127
+ this['timeout'] = void 0;
2145
4128
  this.imageFile = imageFile;
2146
4129
  }
2147
4130
  }
2148
4131
  // FileApi
2149
- /**
2150
- * Copy file
4132
+ /**
4133
+ * Copy file
2151
4134
  */
2152
4135
  class CopyFileRequest {
2153
- /**
2154
- * @param srcPath Source file path e.g. '/folder/file.ext'
4136
+ /**
4137
+ * @param srcPath Source file path e.g. '/folder/file.ext'
2155
4138
 
2156
- * @param destPath Destination file path
4139
+ * @param destPath Destination file path
2157
4140
  */
2158
4141
  constructor(srcPath, destPath) {
4142
+ /**
4143
+ * Source file path e.g. '/folder/file.ext'
4144
+ */
4145
+ this['srcPath'] = void 0;
4146
+ /**
4147
+ * Destination file path
4148
+ */
4149
+ this['destPath'] = void 0;
4150
+ /**
4151
+ * Source storage name
4152
+ */
4153
+ this['srcStorageName'] = void 0;
4154
+ /**
4155
+ * Destination storage name
4156
+ */
4157
+ this['destStorageName'] = void 0;
4158
+ /**
4159
+ * File version ID to copy
4160
+ */
4161
+ this['versionId'] = void 0;
2159
4162
  this.srcPath = srcPath;
2160
4163
  this.destPath = destPath;
2161
4164
  }
2162
4165
  }
2163
- /**
2164
- * Delete file
4166
+ /**
4167
+ * Delete file
2165
4168
  */
2166
4169
  class DeleteFileRequest {
2167
- /**
2168
- * @param path File path e.g. '/folder/file.ext'
4170
+ /**
4171
+ * @param path File path e.g. '/folder/file.ext'
2169
4172
  */
2170
4173
  constructor(path) {
4174
+ /**
4175
+ * File path e.g. '/folder/file.ext'
4176
+ */
4177
+ this['path'] = void 0;
4178
+ /**
4179
+ * Storage name
4180
+ */
4181
+ this['storageName'] = void 0;
4182
+ /**
4183
+ * File version ID to delete
4184
+ */
4185
+ this['versionId'] = void 0;
2171
4186
  this.path = path;
2172
4187
  }
2173
4188
  }
2174
- /**
2175
- * Download file
4189
+ /**
4190
+ * Download file
2176
4191
  */
2177
4192
  class DownloadFileRequest {
2178
- /**
2179
- * @param path File path e.g. '/folder/file.ext'
4193
+ /**
4194
+ * @param path File path e.g. '/folder/file.ext'
2180
4195
  */
2181
4196
  constructor(path) {
4197
+ /**
4198
+ * File path e.g. '/folder/file.ext'
4199
+ */
4200
+ this['path'] = void 0;
4201
+ /**
4202
+ * Storage name
4203
+ */
4204
+ this['storageName'] = void 0;
4205
+ /**
4206
+ * File version ID to download
4207
+ */
4208
+ this['versionId'] = void 0;
2182
4209
  this.path = path;
2183
4210
  }
2184
4211
  }
2185
- /**
2186
- * Move file
4212
+ /**
4213
+ * Move file
2187
4214
  */
2188
4215
  class MoveFileRequest {
2189
- /**
2190
- * @param srcPath Source file path e.g. '/src.ext'
4216
+ /**
4217
+ * @param srcPath Source file path e.g. '/src.ext'
2191
4218
 
2192
- * @param destPath Destination file path e.g. '/dest.ext'
4219
+ * @param destPath Destination file path e.g. '/dest.ext'
2193
4220
  */
2194
4221
  constructor(srcPath, destPath) {
4222
+ /**
4223
+ * Source file path e.g. '/src.ext'
4224
+ */
4225
+ this['srcPath'] = void 0;
4226
+ /**
4227
+ * Destination file path e.g. '/dest.ext'
4228
+ */
4229
+ this['destPath'] = void 0;
4230
+ /**
4231
+ * Source storage name
4232
+ */
4233
+ this['srcStorageName'] = void 0;
4234
+ /**
4235
+ * Destination storage name
4236
+ */
4237
+ this['destStorageName'] = void 0;
4238
+ /**
4239
+ * File version ID to move
4240
+ */
4241
+ this['versionId'] = void 0;
2195
4242
  this.srcPath = srcPath;
2196
4243
  this.destPath = destPath;
2197
4244
  }
2198
4245
  }
2199
- /**
2200
- * Upload file
4246
+ /**
4247
+ * Upload file
2201
4248
  */
2202
4249
  class UploadFileRequest {
2203
- /**
2204
- * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext
2205
- If the content is multipart and path does not contains the file name it tries to get them from filename parameter
2206
- from Content-Disposition header.
4250
+ /**
4251
+ * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext
4252
+ If the content is multipart and path does not contains the file name it tries to get them from filename parameter
4253
+ from Content-Disposition header.
2207
4254
 
2208
- * @param file File to upload
4255
+ * @param file File to upload
2209
4256
  */
2210
4257
  constructor(path, file) {
4258
+ /**
4259
+ * Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext
4260
+ If the content is multipart and path does not contains the file name it tries to get them from filename parameter
4261
+ from Content-Disposition header.
4262
+ */
4263
+ this['path'] = void 0;
4264
+ /**
4265
+ * File to upload
4266
+ */
4267
+ this['file'] = void 0;
4268
+ /**
4269
+ * Storage name
4270
+ */
4271
+ this['storageName'] = void 0;
2211
4272
  this.path = path;
2212
4273
  this.file = file;
2213
4274
  }
2214
4275
  }
2215
4276
  // FolderApi
2216
- /**
2217
- * Copy folder
4277
+ /**
4278
+ * Copy folder
2218
4279
  */
2219
4280
  class CopyFolderRequest {
2220
- /**
2221
- * @param srcPath Source folder path e.g. '/src'
4281
+ /**
4282
+ * @param srcPath Source folder path e.g. '/src'
2222
4283
 
2223
- * @param destPath Destination folder path e.g. '/dst'
4284
+ * @param destPath Destination folder path e.g. '/dst'
2224
4285
  */
2225
4286
  constructor(srcPath, destPath) {
4287
+ /**
4288
+ * Source folder path e.g. '/src'
4289
+ */
4290
+ this['srcPath'] = void 0;
4291
+ /**
4292
+ * Destination folder path e.g. '/dst'
4293
+ */
4294
+ this['destPath'] = void 0;
4295
+ /**
4296
+ * Source storage name
4297
+ */
4298
+ this['srcStorageName'] = void 0;
4299
+ /**
4300
+ * Destination storage name
4301
+ */
4302
+ this['destStorageName'] = void 0;
2226
4303
  this.srcPath = srcPath;
2227
4304
  this.destPath = destPath;
2228
4305
  }
2229
4306
  }
2230
- /**
2231
- * Create the folder
4307
+ /**
4308
+ * Create the folder
2232
4309
  */
2233
4310
  class CreateFolderRequest {
2234
- /**
2235
- * @param path Folder path to create e.g. 'folder_1/folder_2/'
4311
+ /**
4312
+ * @param path Folder path to create e.g. 'folder_1/folder_2/'
2236
4313
  */
2237
4314
  constructor(path) {
4315
+ /**
4316
+ * Folder path to create e.g. 'folder_1/folder_2/'
4317
+ */
4318
+ this['path'] = void 0;
4319
+ /**
4320
+ * Storage name
4321
+ */
4322
+ this['storageName'] = void 0;
2238
4323
  this.path = path;
2239
4324
  }
2240
4325
  }
2241
- /**
2242
- * Delete folder
4326
+ /**
4327
+ * Delete folder
2243
4328
  */
2244
4329
  class DeleteFolderRequest {
2245
- /**
2246
- * @param path Folder path e.g. '/folder'
4330
+ /**
4331
+ * @param path Folder path e.g. '/folder'
2247
4332
  */
2248
4333
  constructor(path) {
2249
- /**
2250
- * Enable to delete folders, subfolders and files
4334
+ /**
4335
+ * Folder path e.g. '/folder'
4336
+ */
4337
+ this['path'] = void 0;
4338
+ /**
4339
+ * Storage name
4340
+ */
4341
+ this['storageName'] = void 0;
4342
+ /**
4343
+ * Enable to delete folders, subfolders and files
2251
4344
  */
2252
4345
  this['recursive'] = false;
2253
4346
  this.path = path;
2254
4347
  }
2255
4348
  }
2256
- /**
2257
- * Get all files and folders within a folder
4349
+ /**
4350
+ * Get all files and folders within a folder
2258
4351
  */
2259
4352
  class GetFilesListRequest {
2260
- /**
2261
- * @param path Folder path e.g. '/folder'
4353
+ /**
4354
+ * @param path Folder path e.g. '/folder'
2262
4355
  */
2263
4356
  constructor(path) {
4357
+ /**
4358
+ * Folder path e.g. '/folder'
4359
+ */
4360
+ this['path'] = void 0;
4361
+ /**
4362
+ * Storage name
4363
+ */
4364
+ this['storageName'] = void 0;
2264
4365
  this.path = path;
2265
4366
  }
2266
4367
  }
2267
- /**
2268
- * Move folder
4368
+ /**
4369
+ * Move folder
2269
4370
  */
2270
4371
  class MoveFolderRequest {
2271
- /**
2272
- * @param srcPath Folder path to move e.g. '/folder'
4372
+ /**
4373
+ * @param srcPath Folder path to move e.g. '/folder'
2273
4374
 
2274
- * @param destPath Destination folder path to move to e.g '/dst'
4375
+ * @param destPath Destination folder path to move to e.g '/dst'
2275
4376
  */
2276
4377
  constructor(srcPath, destPath) {
4378
+ /**
4379
+ * Folder path to move e.g. '/folder'
4380
+ */
4381
+ this['srcPath'] = void 0;
4382
+ /**
4383
+ * Destination folder path to move to e.g '/dst'
4384
+ */
4385
+ this['destPath'] = void 0;
4386
+ /**
4387
+ * Source storage name
4388
+ */
4389
+ this['srcStorageName'] = void 0;
4390
+ /**
4391
+ * Destination storage name
4392
+ */
4393
+ this['destStorageName'] = void 0;
2277
4394
  this.srcPath = srcPath;
2278
4395
  this.destPath = destPath;
2279
4396
  }
2280
4397
  }
2281
4398
  // StorageApi
2282
- /**
2283
- * Get disc usage
4399
+ /**
4400
+ * Get disc usage
2284
4401
  */
2285
- class GetDiscUsageRequest {}
2286
- /**
2287
- * Get file versions
4402
+ class GetDiscUsageRequest {
4403
+ constructor() {
4404
+ /**
4405
+ * Storage name
4406
+ */
4407
+ this['storageName'] = void 0;
4408
+ }
4409
+ }
4410
+ /**
4411
+ * Get file versions
2288
4412
  */
2289
4413
  class GetFileVersionsRequest {
2290
- /**
2291
- * @param path File path e.g. '/file.ext'
4414
+ /**
4415
+ * @param path File path e.g. '/file.ext'
2292
4416
  */
2293
4417
  constructor(path) {
4418
+ /**
4419
+ * File path e.g. '/file.ext'
4420
+ */
4421
+ this['path'] = void 0;
4422
+ /**
4423
+ * Storage name
4424
+ */
4425
+ this['storageName'] = void 0;
2294
4426
  this.path = path;
2295
4427
  }
2296
4428
  }
2297
- /**
2298
- * Check if file or folder exists
4429
+ /**
4430
+ * Check if file or folder exists
2299
4431
  */
2300
4432
  class ObjectExistsRequest {
2301
- /**
2302
- * @param path File or folder path e.g. '/file.ext' or '/folder'
4433
+ /**
4434
+ * @param path File or folder path e.g. '/file.ext' or '/folder'
2303
4435
  */
2304
4436
  constructor(path) {
4437
+ /**
4438
+ * File or folder path e.g. '/file.ext' or '/folder'
4439
+ */
4440
+ this['path'] = void 0;
4441
+ /**
4442
+ * Storage name
4443
+ */
4444
+ this['storageName'] = void 0;
4445
+ /**
4446
+ * File version ID
4447
+ */
4448
+ this['versionId'] = void 0;
2305
4449
  this.path = path;
2306
4450
  }
2307
4451
  }
2308
- /**
2309
- * Check if storage exists
4452
+ /**
4453
+ * Check if storage exists
2310
4454
  */
2311
4455
  class StorageExistsRequest {
2312
- /**
2313
- * @param storageName Storage name
4456
+ /**
4457
+ * @param storageName Storage name
2314
4458
  */
2315
4459
  constructor(storageName) {
4460
+ /**
4461
+ * Storage name
4462
+ */
4463
+ this['storageName'] = void 0;
2316
4464
  this.storageName = storageName;
2317
4465
  }
2318
4466
  }
@@ -2515,15 +4663,17 @@ class BarcodeApi {
2515
4663
  constructor(configuration) {
2516
4664
  this.defaultHeaders = {
2517
4665
  'x-aspose-client': 'nodejs sdk',
2518
- 'x-aspose-client-version': '24.4.0'
4666
+ 'x-aspose-client-version': '24.6.0'
2519
4667
  };
4668
+ this._configuration = void 0;
4669
+ this._client = void 0;
2520
4670
  this._configuration = configuration;
2521
4671
  this._client = new HttpClient();
2522
4672
  }
2523
- /**
2524
- *
2525
- * @summary Generate barcode.
2526
- * @param request GetBarcodeGenerateRequest
4673
+ /**
4674
+ *
4675
+ * @summary Generate barcode.
4676
+ * @param request GetBarcodeGenerateRequest
2527
4677
  */
2528
4678
  async getBarcodeGenerate(request) {
2529
4679
  const requestPath = this._configuration.getApiBaseUrl() + '/barcode/generate';
@@ -2659,13 +4809,15 @@ class BarcodeApi {
2659
4809
  body: ObjectSerializer.deserialize(result.body, 'Buffer')
2660
4810
  };
2661
4811
  }
2662
- /**
2663
- *
2664
- * @summary Recognize barcode from a file on server.
2665
- * @param request GetBarcodeRecognizeRequest
4812
+ /**
4813
+ *
4814
+ * @summary Recognize barcode from a file on server.
4815
+ * @param request GetBarcodeRecognizeRequest
2666
4816
  */
2667
4817
  async getBarcodeRecognize(request) {
2668
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/recognize'.replace('{' + 'name' + '}', String(request.name));
4818
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/recognize'.replace(
4819
+ // eslint-disable-next-line no-useless-concat
4820
+ '{' + 'name' + '}', String(request.name));
2669
4821
  let queryParameters = {};
2670
4822
  let headerParams = Object.assign({}, this.defaultHeaders);
2671
4823
  // verify required parameter 'request.name' is not null or undefined
@@ -2799,10 +4951,10 @@ class BarcodeApi {
2799
4951
  body: ObjectSerializer.deserialize(result.body, 'BarcodeResponseList')
2800
4952
  };
2801
4953
  }
2802
- /**
2803
- *
2804
- * @summary Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image with content-type \"application/octet-stream\". An image can also be passed as a form field.
2805
- * @param request PostBarcodeRecognizeFromUrlOrContentRequest
4954
+ /**
4955
+ *
4956
+ * @summary Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image with content-type \"application/octet-stream\". An image can also be passed as a form field.
4957
+ * @param request PostBarcodeRecognizeFromUrlOrContentRequest
2806
4958
  */
2807
4959
  async postBarcodeRecognizeFromUrlOrContent(request) {
2808
4960
  const requestPath = this._configuration.getApiBaseUrl() + '/barcode/recognize';
@@ -2940,10 +5092,10 @@ class BarcodeApi {
2940
5092
  body: ObjectSerializer.deserialize(result.body, 'BarcodeResponseList')
2941
5093
  };
2942
5094
  }
2943
- /**
2944
- *
2945
- * @summary Generate multiple barcodes and return in response stream
2946
- * @param request PostGenerateMultipleRequest
5095
+ /**
5096
+ *
5097
+ * @summary Generate multiple barcodes and return in response stream
5098
+ * @param request PostGenerateMultipleRequest
2947
5099
  */
2948
5100
  async postGenerateMultiple(request) {
2949
5101
  const requestPath = this._configuration.getApiBaseUrl() + '/barcode/generateMultiple';
@@ -2972,13 +5124,15 @@ class BarcodeApi {
2972
5124
  body: ObjectSerializer.deserialize(result.body, 'Buffer')
2973
5125
  };
2974
5126
  }
2975
- /**
2976
- *
2977
- * @summary Generate barcode and save on server (from query params or from file with json or xml content)
2978
- * @param request PutBarcodeGenerateFileRequest
5127
+ /**
5128
+ *
5129
+ * @summary Generate barcode and save on server (from query params or from file with json or xml content)
5130
+ * @param request PutBarcodeGenerateFileRequest
2979
5131
  */
2980
5132
  async putBarcodeGenerateFile(request) {
2981
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/generate'.replace('{' + 'name' + '}', String(request.name));
5133
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/generate'.replace(
5134
+ // eslint-disable-next-line no-useless-concat
5135
+ '{' + 'name' + '}', String(request.name));
2982
5136
  let queryParameters = {};
2983
5137
  let headerParams = Object.assign({}, this.defaultHeaders);
2984
5138
  // verify required parameter 'request.name' is not null or undefined
@@ -3120,13 +5274,15 @@ class BarcodeApi {
3120
5274
  body: ObjectSerializer.deserialize(result.body, 'ResultImageInfo')
3121
5275
  };
3122
5276
  }
3123
- /**
3124
- *
3125
- * @summary Recognition of a barcode from file on server with parameters in body.
3126
- * @param request PutBarcodeRecognizeFromBodyRequest
5277
+ /**
5278
+ *
5279
+ * @summary Recognition of a barcode from file on server with parameters in body.
5280
+ * @param request PutBarcodeRecognizeFromBodyRequest
3127
5281
  */
3128
5282
  async putBarcodeRecognizeFromBody(request) {
3129
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/recognize'.replace('{' + 'name' + '}', String(request.name));
5283
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/recognize'.replace(
5284
+ // eslint-disable-next-line no-useless-concat
5285
+ '{' + 'name' + '}', String(request.name));
3130
5286
  let queryParameters = {};
3131
5287
  let headerParams = Object.assign({}, this.defaultHeaders);
3132
5288
  // verify required parameter 'request.name' is not null or undefined
@@ -3161,13 +5317,15 @@ class BarcodeApi {
3161
5317
  body: ObjectSerializer.deserialize(result.body, 'BarcodeResponseList')
3162
5318
  };
3163
5319
  }
3164
- /**
3165
- *
3166
- * @summary Generate image with multiple barcodes and put new file on server
3167
- * @param request PutGenerateMultipleRequest
5320
+ /**
5321
+ *
5322
+ * @summary Generate image with multiple barcodes and put new file on server
5323
+ * @param request PutGenerateMultipleRequest
3168
5324
  */
3169
5325
  async putGenerateMultiple(request) {
3170
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/generateMultiple'.replace('{' + 'name' + '}', String(request.name));
5326
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/{name}/generateMultiple'.replace(
5327
+ // eslint-disable-next-line no-useless-concat
5328
+ '{' + 'name' + '}', String(request.name));
3171
5329
  let queryParameters = {};
3172
5330
  let headerParams = Object.assign({}, this.defaultHeaders);
3173
5331
  // verify required parameter 'request.name' is not null or undefined
@@ -3202,10 +5360,10 @@ class BarcodeApi {
3202
5360
  body: ObjectSerializer.deserialize(result.body, 'ResultImageInfo')
3203
5361
  };
3204
5362
  }
3205
- /**
3206
- *
3207
- * @summary Quickly scan a barcode from an image.
3208
- * @param request ScanBarcodeRequest
5363
+ /**
5364
+ *
5365
+ * @summary Quickly scan a barcode from an image.
5366
+ * @param request ScanBarcodeRequest
3209
5367
  */
3210
5368
  async scanBarcode(request) {
3211
5369
  const requestPath = this._configuration.getApiBaseUrl() + '/barcode/scan';
@@ -3249,18 +5407,22 @@ class FileApi {
3249
5407
  constructor(configuration) {
3250
5408
  this.defaultHeaders = {
3251
5409
  'x-aspose-client': 'nodejs sdk',
3252
- 'x-aspose-client-version': '24.4.0'
5410
+ 'x-aspose-client-version': '24.6.0'
3253
5411
  };
5412
+ this._configuration = void 0;
5413
+ this._client = void 0;
3254
5414
  this._configuration = configuration;
3255
5415
  this._client = new HttpClient();
3256
5416
  }
3257
- /**
3258
- *
3259
- * @summary Copy file
3260
- * @param request CopyFileRequest
5417
+ /**
5418
+ *
5419
+ * @summary Copy file
5420
+ * @param request CopyFileRequest
3261
5421
  */
3262
5422
  async copyFile(request) {
3263
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/copy/{srcPath}'.replace('{' + 'srcPath' + '}', String(request.srcPath));
5423
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/copy/{srcPath}'.replace(
5424
+ // eslint-disable-next-line no-useless-concat
5425
+ '{' + 'srcPath' + '}', String(request.srcPath));
3264
5426
  let queryParameters = {};
3265
5427
  let headerParams = Object.assign({}, this.defaultHeaders);
3266
5428
  // verify required parameter 'request.srcPath' is not null or undefined
@@ -3293,13 +5455,15 @@ class FileApi {
3293
5455
  const result = await this._client.requestAsync(requestOptions);
3294
5456
  return result;
3295
5457
  }
3296
- /**
3297
- *
3298
- * @summary Delete file
3299
- * @param request DeleteFileRequest
5458
+ /**
5459
+ *
5460
+ * @summary Delete file
5461
+ * @param request DeleteFileRequest
3300
5462
  */
3301
5463
  async deleteFile(request) {
3302
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/{path}'.replace('{' + 'path' + '}', String(request.path));
5464
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/{path}'.replace(
5465
+ // eslint-disable-next-line no-useless-concat
5466
+ '{' + 'path' + '}', String(request.path));
3303
5467
  let queryParameters = {};
3304
5468
  let headerParams = Object.assign({}, this.defaultHeaders);
3305
5469
  // verify required parameter 'request.path' is not null or undefined
@@ -3322,13 +5486,15 @@ class FileApi {
3322
5486
  const result = await this._client.requestAsync(requestOptions);
3323
5487
  return result;
3324
5488
  }
3325
- /**
3326
- *
3327
- * @summary Download file
3328
- * @param request DownloadFileRequest
5489
+ /**
5490
+ *
5491
+ * @summary Download file
5492
+ * @param request DownloadFileRequest
3329
5493
  */
3330
5494
  async downloadFile(request) {
3331
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/{path}'.replace('{' + 'path' + '}', String(request.path));
5495
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/{path}'.replace(
5496
+ // eslint-disable-next-line no-useless-concat
5497
+ '{' + 'path' + '}', String(request.path));
3332
5498
  let queryParameters = {};
3333
5499
  let headerParams = Object.assign({}, this.defaultHeaders);
3334
5500
  // verify required parameter 'request.path' is not null or undefined
@@ -3355,13 +5521,15 @@ class FileApi {
3355
5521
  body: ObjectSerializer.deserialize(result.body, 'Buffer')
3356
5522
  };
3357
5523
  }
3358
- /**
3359
- *
3360
- * @summary Move file
3361
- * @param request MoveFileRequest
5524
+ /**
5525
+ *
5526
+ * @summary Move file
5527
+ * @param request MoveFileRequest
3362
5528
  */
3363
5529
  async moveFile(request) {
3364
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/move/{srcPath}'.replace('{' + 'srcPath' + '}', String(request.srcPath));
5530
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/move/{srcPath}'.replace(
5531
+ // eslint-disable-next-line no-useless-concat
5532
+ '{' + 'srcPath' + '}', String(request.srcPath));
3365
5533
  let queryParameters = {};
3366
5534
  let headerParams = Object.assign({}, this.defaultHeaders);
3367
5535
  // verify required parameter 'request.srcPath' is not null or undefined
@@ -3394,13 +5562,15 @@ class FileApi {
3394
5562
  const result = await this._client.requestAsync(requestOptions);
3395
5563
  return result;
3396
5564
  }
3397
- /**
3398
- *
3399
- * @summary Upload file
3400
- * @param request UploadFileRequest
5565
+ /**
5566
+ *
5567
+ * @summary Upload file
5568
+ * @param request UploadFileRequest
3401
5569
  */
3402
5570
  async uploadFile(request) {
3403
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/{path}'.replace('{' + 'path' + '}', String(request.path));
5571
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/file/{path}'.replace(
5572
+ // eslint-disable-next-line no-useless-concat
5573
+ '{' + 'path' + '}', String(request.path));
3404
5574
  let queryParameters = {};
3405
5575
  let headerParams = Object.assign({}, this.defaultHeaders);
3406
5576
  const formParams = [];
@@ -3440,18 +5610,22 @@ class FolderApi {
3440
5610
  constructor(configuration) {
3441
5611
  this.defaultHeaders = {
3442
5612
  'x-aspose-client': 'nodejs sdk',
3443
- 'x-aspose-client-version': '24.4.0'
5613
+ 'x-aspose-client-version': '24.6.0'
3444
5614
  };
5615
+ this._configuration = void 0;
5616
+ this._client = void 0;
3445
5617
  this._configuration = configuration;
3446
5618
  this._client = new HttpClient();
3447
5619
  }
3448
- /**
3449
- *
3450
- * @summary Copy folder
3451
- * @param request CopyFolderRequest
5620
+ /**
5621
+ *
5622
+ * @summary Copy folder
5623
+ * @param request CopyFolderRequest
3452
5624
  */
3453
5625
  async copyFolder(request) {
3454
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/copy/{srcPath}'.replace('{' + 'srcPath' + '}', String(request.srcPath));
5626
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/copy/{srcPath}'.replace(
5627
+ // eslint-disable-next-line no-useless-concat
5628
+ '{' + 'srcPath' + '}', String(request.srcPath));
3455
5629
  let queryParameters = {};
3456
5630
  let headerParams = Object.assign({}, this.defaultHeaders);
3457
5631
  // verify required parameter 'request.srcPath' is not null or undefined
@@ -3481,13 +5655,15 @@ class FolderApi {
3481
5655
  const result = await this._client.requestAsync(requestOptions);
3482
5656
  return result;
3483
5657
  }
3484
- /**
3485
- *
3486
- * @summary Create the folder
3487
- * @param request CreateFolderRequest
5658
+ /**
5659
+ *
5660
+ * @summary Create the folder
5661
+ * @param request CreateFolderRequest
3488
5662
  */
3489
5663
  async createFolder(request) {
3490
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/{path}'.replace('{' + 'path' + '}', String(request.path));
5664
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/{path}'.replace(
5665
+ // eslint-disable-next-line no-useless-concat
5666
+ '{' + 'path' + '}', String(request.path));
3491
5667
  let queryParameters = {};
3492
5668
  let headerParams = Object.assign({}, this.defaultHeaders);
3493
5669
  // verify required parameter 'request.path' is not null or undefined
@@ -3507,13 +5683,15 @@ class FolderApi {
3507
5683
  const result = await this._client.requestAsync(requestOptions);
3508
5684
  return result;
3509
5685
  }
3510
- /**
3511
- *
3512
- * @summary Delete folder
3513
- * @param request DeleteFolderRequest
5686
+ /**
5687
+ *
5688
+ * @summary Delete folder
5689
+ * @param request DeleteFolderRequest
3514
5690
  */
3515
5691
  async deleteFolder(request) {
3516
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/{path}'.replace('{' + 'path' + '}', String(request.path));
5692
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/{path}'.replace(
5693
+ // eslint-disable-next-line no-useless-concat
5694
+ '{' + 'path' + '}', String(request.path));
3517
5695
  let queryParameters = {};
3518
5696
  let headerParams = Object.assign({}, this.defaultHeaders);
3519
5697
  // verify required parameter 'request.path' is not null or undefined
@@ -3536,13 +5714,15 @@ class FolderApi {
3536
5714
  const result = await this._client.requestAsync(requestOptions);
3537
5715
  return result;
3538
5716
  }
3539
- /**
3540
- *
3541
- * @summary Get all files and folders within a folder
3542
- * @param request GetFilesListRequest
5717
+ /**
5718
+ *
5719
+ * @summary Get all files and folders within a folder
5720
+ * @param request GetFilesListRequest
3543
5721
  */
3544
5722
  async getFilesList(request) {
3545
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/{path}'.replace('{' + 'path' + '}', String(request.path));
5723
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/{path}'.replace(
5724
+ // eslint-disable-next-line no-useless-concat
5725
+ '{' + 'path' + '}', String(request.path));
3546
5726
  let queryParameters = {};
3547
5727
  let headerParams = Object.assign({}, this.defaultHeaders);
3548
5728
  // verify required parameter 'request.path' is not null or undefined
@@ -3565,13 +5745,15 @@ class FolderApi {
3565
5745
  body: ObjectSerializer.deserialize(result.body, 'FilesList')
3566
5746
  };
3567
5747
  }
3568
- /**
3569
- *
3570
- * @summary Move folder
3571
- * @param request MoveFolderRequest
5748
+ /**
5749
+ *
5750
+ * @summary Move folder
5751
+ * @param request MoveFolderRequest
3572
5752
  */
3573
5753
  async moveFolder(request) {
3574
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/move/{srcPath}'.replace('{' + 'srcPath' + '}', String(request.srcPath));
5754
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/folder/move/{srcPath}'.replace(
5755
+ // eslint-disable-next-line no-useless-concat
5756
+ '{' + 'srcPath' + '}', String(request.srcPath));
3575
5757
  let queryParameters = {};
3576
5758
  let headerParams = Object.assign({}, this.defaultHeaders);
3577
5759
  // verify required parameter 'request.srcPath' is not null or undefined
@@ -3606,15 +5788,17 @@ class StorageApi {
3606
5788
  constructor(configuration) {
3607
5789
  this.defaultHeaders = {
3608
5790
  'x-aspose-client': 'nodejs sdk',
3609
- 'x-aspose-client-version': '24.4.0'
5791
+ 'x-aspose-client-version': '24.6.0'
3610
5792
  };
5793
+ this._configuration = void 0;
5794
+ this._client = void 0;
3611
5795
  this._configuration = configuration;
3612
5796
  this._client = new HttpClient();
3613
5797
  }
3614
- /**
3615
- *
3616
- * @summary Get disc usage
3617
- * @param request GetDiscUsageRequest
5798
+ /**
5799
+ *
5800
+ * @summary Get disc usage
5801
+ * @param request GetDiscUsageRequest
3618
5802
  */
3619
5803
  async getDiscUsage(request) {
3620
5804
  const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/disc';
@@ -3636,13 +5820,15 @@ class StorageApi {
3636
5820
  body: ObjectSerializer.deserialize(result.body, 'DiscUsage')
3637
5821
  };
3638
5822
  }
3639
- /**
3640
- *
3641
- * @summary Get file versions
3642
- * @param request GetFileVersionsRequest
5823
+ /**
5824
+ *
5825
+ * @summary Get file versions
5826
+ * @param request GetFileVersionsRequest
3643
5827
  */
3644
5828
  async getFileVersions(request) {
3645
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/version/{path}'.replace('{' + 'path' + '}', String(request.path));
5829
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/version/{path}'.replace(
5830
+ // eslint-disable-next-line no-useless-concat
5831
+ '{' + 'path' + '}', String(request.path));
3646
5832
  let queryParameters = {};
3647
5833
  let headerParams = Object.assign({}, this.defaultHeaders);
3648
5834
  // verify required parameter 'request.path' is not null or undefined
@@ -3665,13 +5851,15 @@ class StorageApi {
3665
5851
  body: ObjectSerializer.deserialize(result.body, 'FileVersions')
3666
5852
  };
3667
5853
  }
3668
- /**
3669
- *
3670
- * @summary Check if file or folder exists
3671
- * @param request ObjectExistsRequest
5854
+ /**
5855
+ *
5856
+ * @summary Check if file or folder exists
5857
+ * @param request ObjectExistsRequest
3672
5858
  */
3673
5859
  async objectExists(request) {
3674
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/exist/{path}'.replace('{' + 'path' + '}', String(request.path));
5860
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/exist/{path}'.replace(
5861
+ // eslint-disable-next-line no-useless-concat
5862
+ '{' + 'path' + '}', String(request.path));
3675
5863
  let queryParameters = {};
3676
5864
  let headerParams = Object.assign({}, this.defaultHeaders);
3677
5865
  // verify required parameter 'request.path' is not null or undefined
@@ -3697,13 +5885,15 @@ class StorageApi {
3697
5885
  body: ObjectSerializer.deserialize(result.body, 'ObjectExist')
3698
5886
  };
3699
5887
  }
3700
- /**
3701
- *
3702
- * @summary Check if storage exists
3703
- * @param request StorageExistsRequest
5888
+ /**
5889
+ *
5890
+ * @summary Check if storage exists
5891
+ * @param request StorageExistsRequest
3704
5892
  */
3705
5893
  async storageExists(request) {
3706
- const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/{storageName}/exist'.replace('{' + 'storageName' + '}', String(request.storageName));
5894
+ const requestPath = this._configuration.getApiBaseUrl() + '/barcode/storage/{storageName}/exist'.replace(
5895
+ // eslint-disable-next-line no-useless-concat
5896
+ '{' + 'storageName' + '}', String(request.storageName));
3707
5897
  let queryParameters = {};
3708
5898
  let headerParams = Object.assign({}, this.defaultHeaders);
3709
5899
  // verify required parameter 'request.storageName' is not null or undefined
@@ -3727,6 +5917,9 @@ class StorageApi {
3727
5917
 
3728
5918
  class JWTAuth {
3729
5919
  constructor(configuration) {
5920
+ this._accessToken = void 0;
5921
+ this._configuration = void 0;
5922
+ this._client = void 0;
3730
5923
  this._configuration = configuration;
3731
5924
  if (configuration.accessToken) {
3732
5925
  // Use saved token
@@ -3734,8 +5927,8 @@ class JWTAuth {
3734
5927
  }
3735
5928
  this._client = new HttpClient();
3736
5929
  }
3737
- /**
3738
- * Apply authentication settings to header and query params.
5930
+ /**
5931
+ * Apply authentication settings to header and query params.
3739
5932
  */
3740
5933
  async applyToRequestAsync(requestOptions) {
3741
5934
  if (this._accessToken == null) {
@@ -3765,12 +5958,31 @@ class JWTAuth {
3765
5958
  }
3766
5959
  }
3767
5960
 
5961
+ exports.ApiVersion = void 0;
3768
5962
  (function (ApiVersion) {
3769
5963
  ApiVersion["v3"] = "v3.0";
3770
5964
  })(exports.ApiVersion || (exports.ApiVersion = {}));
3771
5965
  class Configuration {
3772
5966
  constructor(clientId, clientSecret, baseUrl, accessToken, tokenUrl) {
5967
+ /**
5968
+ * Authentication type.
5969
+ */
5970
+ this.authentication = void 0;
5971
+ /**
5972
+ * Client Id.
5973
+ */
5974
+ this.clientId = void 0;
5975
+ /**
5976
+ * Client Secret.
5977
+ */
5978
+ this.clientSecret = void 0;
5979
+ /**
5980
+ * Base Url.
5981
+ */
5982
+ this.baseUrl = void 0;
3773
5983
  this.version = exports.ApiVersion.v3;
5984
+ this.accessToken = void 0;
5985
+ this.tokenUrl = void 0;
3774
5986
  this.clientId = clientId;
3775
5987
  this.clientSecret = clientSecret;
3776
5988
  if (baseUrl) {
@@ -3786,8 +5998,8 @@ class Configuration {
3786
5998
  }
3787
5999
  this.authentication = new JWTAuth(this);
3788
6000
  }
3789
- /**
3790
- * Returns api base url
6001
+ /**
6002
+ * Returns api base url
3791
6003
  */
3792
6004
  getApiBaseUrl() {
3793
6005
  return this.baseUrl + '/' + this.version;