@pixelverse/strichjs-sdk 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/strich.d.ts CHANGED
@@ -741,9 +741,9 @@ export declare type SymbologyName = 'ean13' | 'ean8' | 'upca' | 'upce' | 'databa
741
741
  */
742
742
  export declare type SymbologySpec = {
743
743
  /**
744
- * The name of the symbology.
744
+ * The name of the 1D barcode symbology.
745
745
  */
746
- name: SymbologyName;
746
+ name: 'ean13' | 'ean8' | 'upca' | 'upce' | 'databar' | 'databar-exp' | 'code39' | 'code93' | 'code128' | 'i25' | 'codabar';
747
747
  /**
748
748
  * The minimum length of the barcode, only has an effect for variable-length symbologies.
749
749
  */
@@ -774,6 +774,35 @@ export declare type SymbologySpec = {
774
774
  * @defaultValue 0
775
775
  */
776
776
  checksumMode?: number;
777
+ } | {
778
+ /** The name of the QR Code symbology */
779
+ name: 'qr';
780
+ /**
781
+ * Enable detection of QR Codes with rounded finder patterns.
782
+ *
783
+ * @remarks
784
+ * The finder patterns of a QR Code are nominally square with straight edges. The straight edges
785
+ * are useful in optimizing the detection of finder pattern triplets and mapping of the QR Code.
786
+ * The ISO specification mandates square finder patterns, but rounded finder patterns are used
787
+ * in practice, especially outside of industrial use cases.
788
+ *
789
+ * @defaultValue false
790
+ */
791
+ roundedFPs: boolean;
792
+ /**
793
+ * Enable detection of QR Codes on curved/bent surfaces.
794
+ *
795
+ * @remarks
796
+ * More advanced algorithms will be used to read QR Codes from curved or bent surfaces. This option
797
+ * incurs extra processing time and only makes sense if your QR Codes are printed on curved surfaces
798
+ * such as bottles, barrels and other cylindrical or spherical items.
799
+ *
800
+ * @defaultValue false
801
+ */
802
+ curved: boolean;
803
+ } | {
804
+ /** The name of the 2D symbology */
805
+ name: 'aztec' | 'datamatrix' | 'pdf417';
777
806
  };
778
807
 
779
808
  export { }