@thegrizzlylabs/react-native-genius-scan 6.0.0 → 6.2.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/README.md +20 -7
- package/android/build.gradle +1 -1
- package/index.d.ts +15 -0
- package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -9
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Assets.car +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCurvatureCorrectionConfiguration.h +11 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCurvatureLevel.h +28 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCurvatureResult.h +26 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDocumentDetector.h +21 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKProcessingResult.h +6 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +100 -16
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +2 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +3667 -2808
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +19 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +19 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/module.modulemap +0 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Assets.car +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCurvatureCorrectionConfiguration.h +11 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCurvatureLevel.h +28 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCurvatureResult.h +26 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKDocumentDetector.h +21 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKProcessingResult.h +6 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +200 -32
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +2 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +3667 -2808
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +19 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +19 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +3667 -2808
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +19 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +19 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/module.modulemap +0 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name GSSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AVKit
|
|
7
7
|
import Combine
|
|
@@ -44,9 +44,7 @@ import _SwiftConcurrencyShims
|
|
|
44
44
|
@objc public var isBatchModeEnabled: Swift.Bool
|
|
45
45
|
@objc public var highlightColor: UIKit.UIColor
|
|
46
46
|
@objc public var menuColor: UIKit.UIColor?
|
|
47
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
47
|
public init(supportedCodeTypes: [GSSDK.GSKBarcodeType] = [], isBatchModeEnabled: Swift.Bool = false, highlightColor: UIKit.UIColor? = nil, menuColor: UIKit.UIColor? = nil)
|
|
49
|
-
#endif
|
|
50
48
|
@objc override dynamic public init()
|
|
51
49
|
@objc deinit
|
|
52
50
|
}
|
|
@@ -62,9 +60,7 @@ extension GSSDK.GSKBarcodeScanFlowResult {
|
|
|
62
60
|
@objc deinit
|
|
63
61
|
}
|
|
64
62
|
public protocol CGImageRepresentable {
|
|
65
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
66
63
|
func cgImageRepresentation() -> CoreGraphics.CGImage?
|
|
67
|
-
#endif
|
|
68
64
|
}
|
|
69
65
|
extension AVFoundation.AVCapturePhoto : GSSDK.CGImageRepresentable {
|
|
70
66
|
}
|
|
@@ -114,9 +110,7 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
|
|
|
114
110
|
case invalidData = -7
|
|
115
111
|
case badInput = -8
|
|
116
112
|
case warnLockDevice = -1003
|
|
117
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
118
113
|
public init?(rawValue: Swift.Int)
|
|
119
|
-
#endif
|
|
120
114
|
public typealias RawValue = Swift.Int
|
|
121
115
|
public var rawValue: Swift.Int {
|
|
122
116
|
get
|
|
@@ -152,39 +146,25 @@ extension GSSDK.GSKCameraViewController {
|
|
|
152
146
|
}
|
|
153
147
|
public var documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection?
|
|
154
148
|
public var barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection?
|
|
155
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
156
149
|
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection? = nil)
|
|
157
|
-
#endif
|
|
158
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
159
150
|
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection? = nil, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection)
|
|
160
|
-
#endif
|
|
161
151
|
}
|
|
162
152
|
}
|
|
163
153
|
extension GSSDK.GSKCameraViewController.Configuration {
|
|
164
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
165
154
|
public static func documentDetection(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
166
|
-
#endif
|
|
167
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
168
155
|
public static func barcodeDetection(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
169
|
-
#endif
|
|
170
156
|
}
|
|
171
157
|
extension GSSDK.GSKCameraViewController.Configuration.DocumentDetection {
|
|
172
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
173
158
|
public static func `default`(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.DocumentDetection
|
|
174
|
-
#endif
|
|
175
159
|
}
|
|
176
160
|
extension GSSDK.GSKCameraViewController.Configuration.BarcodeDetection {
|
|
177
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
178
161
|
public static func `default`(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.BarcodeDetection
|
|
179
|
-
#endif
|
|
180
162
|
}
|
|
181
163
|
extension GSSDK.GSKCameraViewController {
|
|
182
164
|
@objc public enum DocumentDetectionMode : Swift.Int, Swift.Equatable {
|
|
183
165
|
case highlightOnly
|
|
184
166
|
case highlightAndAutoCapture
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
167
|
public init?(rawValue: Swift.Int)
|
|
187
|
-
#endif
|
|
188
168
|
public typealias RawValue = Swift.Int
|
|
189
169
|
public var rawValue: Swift.Int {
|
|
190
170
|
get
|
|
@@ -199,9 +179,7 @@ extension GSSDK.GSKCameraViewController {
|
|
|
199
179
|
case videoDeviceNotAvailableWithMultipleForegroundApps
|
|
200
180
|
case videoDeviceNotAvailableDueToSystemPressure
|
|
201
181
|
case unknown
|
|
202
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
203
182
|
public init?(rawValue: Swift.Int)
|
|
204
|
-
#endif
|
|
205
183
|
public typealias RawValue = Swift.Int
|
|
206
184
|
public var rawValue: Swift.Int {
|
|
207
185
|
get
|
|
@@ -229,10 +207,8 @@ extension GSSDK.GSKCameraViewController {
|
|
|
229
207
|
set
|
|
230
208
|
}
|
|
231
209
|
@_Concurrency.MainActor @preconcurrency public init(configuration: GSSDK.GSKCameraViewController.Configuration) async throws
|
|
232
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
233
210
|
@available(*, unavailable)
|
|
234
211
|
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
235
|
-
#endif
|
|
236
212
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
237
213
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
|
|
238
214
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
|
|
@@ -262,6 +238,9 @@ extension GSSDK.GSKCameraViewController {
|
|
|
262
238
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didGenerateScan scan: GSSDK.GSKScan)
|
|
263
239
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindBarcodes barcodes: [GSSDK.GSKBarcode])
|
|
264
240
|
}
|
|
241
|
+
extension GSSDK.GSKCurvatureLevel : Swift.Comparable {
|
|
242
|
+
public static func < (lhs: GSSDK.GSKCurvatureLevel, rhs: GSSDK.GSKCurvatureLevel) -> Swift.Bool
|
|
243
|
+
}
|
|
265
244
|
extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
266
245
|
public var description: Swift.String {
|
|
267
246
|
get
|
|
@@ -282,18 +261,14 @@ extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
|
282
261
|
case unwarped
|
|
283
262
|
case warped
|
|
284
263
|
case enhanced
|
|
285
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
286
264
|
public init?(rawValue: Swift.Int)
|
|
287
|
-
#endif
|
|
288
265
|
public typealias RawValue = Swift.Int
|
|
289
266
|
public var rawValue: Swift.Int {
|
|
290
267
|
get
|
|
291
268
|
}
|
|
292
269
|
}
|
|
293
270
|
@_Concurrency.MainActor public protocol GSKDocumentOverlayType : UIKit.UIView {
|
|
294
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
295
271
|
@_Concurrency.MainActor func documentQuadrangleDidChange(_ quadrangle: GSSDK.GSKQuadrangle?)
|
|
296
|
-
#endif
|
|
297
272
|
@_Concurrency.MainActor func onSearchingForDocument()
|
|
298
273
|
@_Concurrency.MainActor func onStabilizingAndTakingPhoto(withStabilizationDuration duration: Foundation.TimeInterval)
|
|
299
274
|
}
|
|
@@ -344,10 +319,8 @@ extension GSSDK.GSKEdgeCleaning : Swift.CustomStringConvertible {
|
|
|
344
319
|
@objc set
|
|
345
320
|
}
|
|
346
321
|
@objc @_Concurrency.MainActor @preconcurrency public init(image: UIKit.UIImage, quadrangle: GSSDK.GSKQuadrangle)
|
|
347
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
348
322
|
@available(*, unavailable)
|
|
349
323
|
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
350
|
-
#endif
|
|
351
324
|
@objc @_Concurrency.MainActor @preconcurrency public func setQuadrangle(_ quadrangle: GSSDK.GSKQuadrangle, animated: Swift.Bool)
|
|
352
325
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
353
326
|
@objc deinit
|
|
@@ -364,9 +337,7 @@ extension GSSDK.GSKFilterBackgroundCleaningConfiguration {
|
|
|
364
337
|
@objc override final public var hash: Swift.Int {
|
|
365
338
|
@objc get
|
|
366
339
|
}
|
|
367
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
368
340
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
369
|
-
#endif
|
|
370
341
|
}
|
|
371
342
|
extension GSSDK.GSKFilterBackgroundCleaningConfiguration {
|
|
372
343
|
@objc override final public var description: Swift.String {
|
|
@@ -385,9 +356,7 @@ extension GSSDK.GSKFilterColorConfiguration {
|
|
|
385
356
|
@objc override final public var hash: Swift.Int {
|
|
386
357
|
@objc get
|
|
387
358
|
}
|
|
388
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
389
359
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
390
|
-
#endif
|
|
391
360
|
}
|
|
392
361
|
extension GSSDK.GSKFilterColorConfiguration {
|
|
393
362
|
@objc override final public var description: Swift.String {
|
|
@@ -424,27 +393,19 @@ extension GSSDK.GSKFilterColorPalette : Swift.CustomStringConvertible {
|
|
|
424
393
|
}
|
|
425
394
|
@objc @objcMembers final public class GSKFilterConfiguration : ObjectiveC.NSObject {
|
|
426
395
|
@objc public static let noOp: GSSDK.GSKFilterConfiguration
|
|
427
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
428
396
|
@objc public static func photo(lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?, colorConfiguration: GSSDK.GSKFilterColorConfiguration?) -> GSSDK.GSKFilterConfiguration
|
|
429
|
-
#endif
|
|
430
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
431
397
|
@objc public static func configurationWithLightingCorrectionConfiguration(_ lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?, backgroundCleaningConfiguration: GSSDK.GSKFilterBackgroundCleaningConfiguration?, colorConfiguration: GSSDK.GSKFilterColorConfiguration?) -> GSSDK.GSKFilterConfiguration
|
|
432
|
-
#endif
|
|
433
398
|
@objc final public let lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?
|
|
434
399
|
@objc final public let backgroundCleaningConfiguration: GSSDK.GSKFilterBackgroundCleaningConfiguration?
|
|
435
400
|
@objc final public let colorConfiguration: GSSDK.GSKFilterColorConfiguration?
|
|
436
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
437
401
|
@objc public init(lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?, backgroundCleaningConfiguration: GSSDK.GSKFilterBackgroundCleaningConfiguration?, colorConfiguration: GSSDK.GSKFilterColorConfiguration?)
|
|
438
|
-
#endif
|
|
439
402
|
@objc deinit
|
|
440
403
|
}
|
|
441
404
|
extension GSSDK.GSKFilterConfiguration {
|
|
442
405
|
@objc override final public var hash: Swift.Int {
|
|
443
406
|
@objc get
|
|
444
407
|
}
|
|
445
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
446
408
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
447
|
-
#endif
|
|
448
409
|
}
|
|
449
410
|
@objc @objcMembers public class GSKFilterLightingCorrectionConfiguration : ObjectiveC.NSObject {
|
|
450
411
|
@objc public static let noOp: GSSDK.GSKFilterLightingCorrectionConfiguration
|
|
@@ -459,9 +420,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
459
420
|
@objc override dynamic public var hash: Swift.Int {
|
|
460
421
|
@objc get
|
|
461
422
|
}
|
|
462
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
463
423
|
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
|
|
464
|
-
#endif
|
|
465
424
|
}
|
|
466
425
|
extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
467
426
|
@objc override dynamic public var description: Swift.String {
|
|
@@ -472,9 +431,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
472
431
|
case auto
|
|
473
432
|
case on
|
|
474
433
|
case off
|
|
475
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
476
434
|
public init?(rawValue: Swift.Int)
|
|
477
|
-
#endif
|
|
478
435
|
public typealias RawValue = Swift.Int
|
|
479
436
|
public var rawValue: Swift.Int {
|
|
480
437
|
get
|
|
@@ -487,9 +444,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
487
444
|
case flutter
|
|
488
445
|
case dotnet
|
|
489
446
|
case capacitor
|
|
490
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
491
447
|
public init?(rawValue: Swift.Int)
|
|
492
|
-
#endif
|
|
493
448
|
public typealias RawValue = Swift.Int
|
|
494
449
|
public var rawValue: Swift.Int {
|
|
495
450
|
get
|
|
@@ -515,9 +470,7 @@ extension GSSDK.GSKReadabilityLevel : Swift.Comparable {
|
|
|
515
470
|
case restaurant
|
|
516
471
|
case supermarket
|
|
517
472
|
case other
|
|
518
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
519
473
|
public init?(rawValue: Swift.Int)
|
|
520
|
-
#endif
|
|
521
474
|
public typealias AllCases = [GSSDK.GSKReceiptCategory]
|
|
522
475
|
public typealias RawValue = Swift.Int
|
|
523
476
|
nonisolated public static var allCases: [GSSDK.GSKReceiptCategory] {
|
|
@@ -535,9 +488,7 @@ extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
|
535
488
|
@_hasMissingDesignatedInitializers @objc final public class GSKReceiptVAT : ObjectiveC.NSObject {
|
|
536
489
|
final public let rate: Swift.Double
|
|
537
490
|
final public let amount: Swift.Double
|
|
538
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
539
491
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
540
|
-
#endif
|
|
541
492
|
@objc deinit
|
|
542
493
|
}
|
|
543
494
|
@_inheritsConvenienceInitializers @objc public class GSKDocumentGenerator : ObjectiveC.NSObject {
|
|
@@ -554,9 +505,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
554
505
|
@objc public enum GSKDocumentGeneratorFileFormat : Swift.Int {
|
|
555
506
|
@objc(GSKDocumentGeneratorFileFormatPDF) case pdf
|
|
556
507
|
@objc(GSKDocumentGeneratorFileFormatTIFF) case tiff
|
|
557
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
558
508
|
public init?(rawValue: Swift.Int)
|
|
559
|
-
#endif
|
|
560
509
|
public typealias RawValue = Swift.Int
|
|
561
510
|
public var rawValue: Swift.Int {
|
|
562
511
|
get
|
|
@@ -575,9 +524,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
575
524
|
@objc final public let pdfFontFilePath: Swift.String?
|
|
576
525
|
@objc final public let shouldGeneratePDFA: Swift.Bool
|
|
577
526
|
@objc final public let debugConfiguration: GSSDK.GSKDocumentGeneratorDebugConfiguration?
|
|
578
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
579
527
|
@objc public init(outputFileFormat: GSSDK.GSKDocumentGeneratorFileFormat = .pdf, outputFilePath: Swift.String, pdfFontFilePath: Swift.String? = nil, shouldGeneratePDFA: Swift.Bool = false, debugConfiguration: GSSDK.GSKDocumentGeneratorDebugConfiguration? = nil)
|
|
580
|
-
#endif
|
|
581
528
|
@objc deinit
|
|
582
529
|
}
|
|
583
530
|
@objc extension GSSDK.GSKDocumentGeneratorConfiguration {
|
|
@@ -591,23 +538,17 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
591
538
|
@objc(GSKDocumentGeneratorErrorInvalidPageSize) case invalidPageSize
|
|
592
539
|
@objc(GSKDocumentGeneratorErrorProcessorError) case processorError
|
|
593
540
|
@objc(GSKDocumentGeneratorErrorInvalidInput) case invalidInput
|
|
594
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
595
541
|
public init?(rawValue: Swift.Int)
|
|
596
|
-
#endif
|
|
597
542
|
public typealias RawValue = Swift.Int
|
|
598
543
|
public var rawValue: Swift.Int {
|
|
599
544
|
get
|
|
600
545
|
}
|
|
601
546
|
}
|
|
602
547
|
@objc public protocol GSKDocumentImageProcessor {
|
|
603
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
604
548
|
@objc func process(_ inputFilePath: Swift.String) -> Swift.String?
|
|
605
|
-
#endif
|
|
606
549
|
}
|
|
607
550
|
@_inheritsConvenienceInitializers @objc final public class GSKNoopDocumentImageProcessor : ObjectiveC.NSObject, GSSDK.GSKDocumentImageProcessor {
|
|
608
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
609
551
|
@objc final public func process(_ inputFilePath: Swift.String) -> Swift.String?
|
|
610
|
-
#endif
|
|
611
552
|
@objc override dynamic public init()
|
|
612
553
|
@objc deinit
|
|
613
554
|
}
|
|
@@ -622,18 +563,14 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
622
563
|
@objc final public let creationDate: Foundation.Date?
|
|
623
564
|
@objc final public let lastUpdateDate: Foundation.Date?
|
|
624
565
|
@objc final public let pages: [GSSDK.GSKPDFPage]
|
|
625
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
626
566
|
@objc public init(title: Swift.String? = nil, password: Swift.String?, keywords: Swift.String?, creationDate: Foundation.Date?, lastUpdate: Foundation.Date?, pages: [GSSDK.GSKPDFPage])
|
|
627
|
-
#endif
|
|
628
567
|
@objc deinit
|
|
629
568
|
}
|
|
630
569
|
@objc final public class GSKPDFPage : ObjectiveC.NSObject {
|
|
631
570
|
@objc final public let filePath: Swift.String
|
|
632
571
|
@objc final public let inchesSize: GSSDK.GSKPDFSize
|
|
633
572
|
@objc final public let textLayout: GSSDK.GSKTextLayout?
|
|
634
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
635
573
|
@objc public init(filePath: Swift.String, inchesSize: GSSDK.GSKPDFSize, textLayout: GSSDK.GSKTextLayout?)
|
|
636
|
-
#endif
|
|
637
574
|
@objc deinit
|
|
638
575
|
}
|
|
639
576
|
@objc final public class GSKPDFSize : ObjectiveC.NSObject {
|
|
@@ -644,9 +581,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
644
581
|
}
|
|
645
582
|
@objc final public class GSKTextLayout : ObjectiveC.NSObject {
|
|
646
583
|
@objc final public let hocr: Swift.String?
|
|
647
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
648
584
|
@objc public init(hocr: Swift.String?)
|
|
649
|
-
#endif
|
|
650
585
|
@objc deinit
|
|
651
586
|
}
|
|
652
587
|
@objc @_inheritsConvenienceInitializers final public class GSKTextLayoutToTextConverter : ObjectiveC.NSObject {
|
|
@@ -697,8 +632,13 @@ extension SwiftUICore.Image {
|
|
|
697
632
|
public enum GSSDKStrings {
|
|
698
633
|
public enum Gssdk {
|
|
699
634
|
public static let gssdkSettings: Swift.String
|
|
635
|
+
public enum Accessibility {
|
|
636
|
+
public enum Value {
|
|
637
|
+
public static let off: Swift.String
|
|
638
|
+
public static let on: Swift.String
|
|
639
|
+
}
|
|
640
|
+
}
|
|
700
641
|
public enum Action {
|
|
701
|
-
public static let addPage: Swift.String
|
|
702
642
|
public static let back: Swift.String
|
|
703
643
|
public static let cancel: Swift.String
|
|
704
644
|
public static let capture: Swift.String
|
|
@@ -709,13 +649,16 @@ public enum GSSDKStrings {
|
|
|
709
649
|
public static let discard: Swift.String
|
|
710
650
|
public static let distortionCorrection: Swift.String
|
|
711
651
|
public static let done: Swift.String
|
|
652
|
+
public static let edit: Swift.String
|
|
712
653
|
public static let editPages: Swift.String
|
|
654
|
+
public static let gridView: Swift.String
|
|
655
|
+
public static let listView: Swift.String
|
|
713
656
|
public static let next: Swift.String
|
|
714
657
|
public static let photoLibrary: Swift.String
|
|
715
658
|
public static let recrop: Swift.String
|
|
716
|
-
public static let retry: Swift.String
|
|
717
659
|
public static let rotateLeft: Swift.String
|
|
718
660
|
public static let selectAll: Swift.String
|
|
661
|
+
public static let submit: Swift.String
|
|
719
662
|
public enum ChangeFilter {
|
|
720
663
|
public static let short: Swift.String
|
|
721
664
|
}
|
|
@@ -767,6 +710,7 @@ public enum GSSDKStrings {
|
|
|
767
710
|
public static func pageOrder(_ p1: Swift.Int, _ p2: Swift.Int) -> Swift.String
|
|
768
711
|
public static func prefixedPageOrder(_ p1: Swift.Int, _ p2: Swift.Int) -> Swift.String
|
|
769
712
|
public static let retake: Swift.String
|
|
713
|
+
public static let reviewAndSubmit: Swift.String
|
|
770
714
|
public enum ConfirmCancellation {
|
|
771
715
|
public static let keepScanning: Swift.String
|
|
772
716
|
}
|
|
@@ -804,21 +748,15 @@ public enum GSSDKStrings {
|
|
|
804
748
|
@_inheritsConvenienceInitializers @objc final public class GSKOCR : ObjectiveC.NSObject {
|
|
805
749
|
@objc public init(logger: any GSSDK.GSKLogger)
|
|
806
750
|
@objc override convenience dynamic public init()
|
|
807
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
808
751
|
final public func recognizeText(in ocrInput: GSSDK.GSKOCRInput, configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
|
|
809
|
-
#endif
|
|
810
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
811
752
|
@objc final public func recognizeText(forImageAtPath imagePath: Swift.String, configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
|
|
812
|
-
#endif
|
|
813
753
|
@objc deinit
|
|
814
754
|
}
|
|
815
755
|
public struct GSKOCRInput {
|
|
816
756
|
public let originalImagePath: Swift.String
|
|
817
757
|
public let quadrangle: GSSDK.GSKQuadrangle?
|
|
818
758
|
public let rotation: GSSDK.GSKRotation
|
|
819
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
820
759
|
public init(originalImagePath: Swift.String, quadrangle: GSSDK.GSKQuadrangle? = nil, rotation: GSSDK.GSKRotation = .none)
|
|
821
|
-
#endif
|
|
822
760
|
}
|
|
823
761
|
public struct GSKOCRLanguage {
|
|
824
762
|
public static var allLanguages: [GSSDK.GSKOCRLanguage]
|
|
@@ -859,6 +797,7 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
859
797
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
860
798
|
@objc final public var sourceImageURL: Foundation.URL?
|
|
861
799
|
@objc final public var multiPage: Swift.Bool
|
|
800
|
+
@objc final public var showFinalReview: Swift.Bool
|
|
862
801
|
@objc final public var defaultScanOrientation: GSSDK.GSKScanOrientation
|
|
863
802
|
@objc final public var defaultFilter: GSSDK.GSKScanFlowFilterType
|
|
864
803
|
final public var availableFilters: [GSSDK.GSKScanFlowFilterType]
|
|
@@ -871,6 +810,7 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
871
810
|
@objc final public var photoLibraryButtonHidden: Swift.Bool
|
|
872
811
|
@objc final public var defaultFlashMode: GSSDK.GSKScanFlowFlashMode
|
|
873
812
|
@objc final public var multiPageFormat: GSSDK.GSKScanFlowMultiPageFormat
|
|
813
|
+
@objc final public var pdfPassword: Swift.String?
|
|
874
814
|
@objc final public var pdfFontFileURL: Foundation.URL?
|
|
875
815
|
@objc final public var backgroundColor: UIKit.UIColor
|
|
876
816
|
@objc final public var foregroundColor: UIKit.UIColor
|
|
@@ -897,9 +837,7 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
897
837
|
public enum GSKScanFlowCurvatureCorrectionMode : Swift.String {
|
|
898
838
|
case disabled
|
|
899
839
|
case enabled
|
|
900
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
901
840
|
public init?(rawValue: Swift.String)
|
|
902
|
-
#endif
|
|
903
841
|
public typealias RawValue = Swift.String
|
|
904
842
|
public var rawValue: Swift.String {
|
|
905
843
|
get
|
|
@@ -918,9 +856,7 @@ public struct GSKScanFlowError : Swift.Error {
|
|
|
918
856
|
@objc(GSKScanFlowCaptureErrorCode) case capture = 1002
|
|
919
857
|
@objc(GSKScanFlowStorageSpaceErrorCode) case storageSpace = 1003
|
|
920
858
|
@objc(GSKScanFlowInternalErrorCode) case `internal` = 9999
|
|
921
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
922
859
|
public init?(rawValue: Swift.Int)
|
|
923
|
-
#endif
|
|
924
860
|
public typealias RawValue = Swift.Int
|
|
925
861
|
public var rawValue: Swift.Int {
|
|
926
862
|
get
|
|
@@ -953,9 +889,7 @@ extension GSSDK.GSKScanFlowError : Foundation.CustomNSError {
|
|
|
953
889
|
@objc(GSKScanFlowFilterStrongColor) case strongColor
|
|
954
890
|
@objc(GSKScanFlowFilterDarkBackground) case darkBackground
|
|
955
891
|
@objc(GSKScanFlowFilterPhoto) case photo
|
|
956
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
957
892
|
public init?(rawValue: Swift.Int)
|
|
958
|
-
#endif
|
|
959
893
|
public typealias AllCases = [GSSDK.GSKScanFlowFilterType]
|
|
960
894
|
public typealias RawValue = Swift.Int
|
|
961
895
|
nonisolated public static var allCases: [GSSDK.GSKScanFlowFilterType] {
|
|
@@ -974,9 +908,7 @@ extension GSSDK.GSKScanFlowFilterType : Swift.CustomStringConvertible {
|
|
|
974
908
|
case auto
|
|
975
909
|
case on
|
|
976
910
|
case off
|
|
977
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
978
911
|
public init?(rawValue: Swift.UInt)
|
|
979
|
-
#endif
|
|
980
912
|
public typealias AllCases = [GSSDK.GSKScanFlowFlashMode]
|
|
981
913
|
public typealias RawValue = Swift.UInt
|
|
982
914
|
nonisolated public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
|
|
@@ -995,9 +927,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
995
927
|
@objc(GSKScanFlowNone) case none
|
|
996
928
|
@objc(GSKScanFlowPDF) case pdf
|
|
997
929
|
@objc(GSKScanFlowTIFF) case tiff
|
|
998
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
999
930
|
public init?(rawValue: Swift.UInt)
|
|
1000
|
-
#endif
|
|
1001
931
|
public typealias RawValue = Swift.UInt
|
|
1002
932
|
public var rawValue: Swift.UInt {
|
|
1003
933
|
get
|
|
@@ -1019,9 +949,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
1019
949
|
@objc(GSKScanFlowPDFPageFit) case fit
|
|
1020
950
|
@objc(GSKScanFlowPDFPageA4) case A4
|
|
1021
951
|
@objc(GSKScanFlowPDFPageLetter) case letter
|
|
1022
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1023
952
|
public init?(rawValue: Swift.UInt)
|
|
1024
|
-
#endif
|
|
1025
953
|
public typealias RawValue = Swift.UInt
|
|
1026
954
|
public var rawValue: Swift.UInt {
|
|
1027
955
|
get
|
|
@@ -1051,9 +979,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
1051
979
|
case camera
|
|
1052
980
|
case imageURL
|
|
1053
981
|
case library
|
|
1054
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1055
982
|
public init?(rawValue: Swift.UInt)
|
|
1056
|
-
#endif
|
|
1057
983
|
public typealias AllCases = [GSSDK.GSKScanFlowSource]
|
|
1058
984
|
public typealias RawValue = Swift.UInt
|
|
1059
985
|
nonisolated public static var allCases: [GSSDK.GSKScanFlowSource] {
|
|
@@ -1079,9 +1005,7 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
1079
1005
|
@objc public enum GSKScanOrientation : Swift.Int, Swift.CaseIterable {
|
|
1080
1006
|
case original
|
|
1081
1007
|
case automatic
|
|
1082
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1083
1008
|
public init?(rawValue: Swift.Int)
|
|
1084
|
-
#endif
|
|
1085
1009
|
public typealias AllCases = [GSSDK.GSKScanOrientation]
|
|
1086
1010
|
public typealias RawValue = Swift.Int
|
|
1087
1011
|
nonisolated public static var allCases: [GSSDK.GSKScanOrientation] {
|
|
@@ -1106,18 +1030,14 @@ extension GSSDK.GSKScanOrientation : Swift.CustomStringConvertible {
|
|
|
1106
1030
|
@_Concurrency.MainActor @preconcurrency public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
1107
1031
|
@_Concurrency.MainActor @preconcurrency public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
1108
1032
|
@_Concurrency.MainActor @preconcurrency public var label: () -> Label
|
|
1109
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1110
1033
|
@_Concurrency.MainActor @preconcurrency public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUICore.ViewBuilder label: @escaping () -> Label)
|
|
1111
|
-
#endif
|
|
1112
1034
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
1113
1035
|
get
|
|
1114
1036
|
}
|
|
1115
1037
|
public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
|
|
1116
1038
|
}
|
|
1117
1039
|
extension GSSDK.GSKScanFlowButton where Label == SwiftUICore.Text {
|
|
1118
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1119
1040
|
@_Concurrency.MainActor @preconcurrency public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
1120
|
-
#endif
|
|
1121
1041
|
}
|
|
1122
1042
|
@objc public class GSKBarcode : ObjectiveC.NSObject {
|
|
1123
1043
|
final public let value: Swift.String
|
|
@@ -1132,9 +1052,7 @@ extension GSSDK.GSKBarcode {
|
|
|
1132
1052
|
}
|
|
1133
1053
|
}
|
|
1134
1054
|
extension GSSDK.GSKBarcode {
|
|
1135
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1136
1055
|
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
|
|
1137
|
-
#endif
|
|
1138
1056
|
}
|
|
1139
1057
|
final public class GSKBarcodeDetector {
|
|
1140
1058
|
public init(logger: any GSSDK.GSKLogger = GSKLog())
|
|
@@ -1158,9 +1076,7 @@ public enum GSKBarcodeType : Swift.String, Swift.CaseIterable {
|
|
|
1158
1076
|
case microPDF417
|
|
1159
1077
|
case microQR
|
|
1160
1078
|
case msiPlessey
|
|
1161
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1162
1079
|
public init?(rawValue: Swift.String)
|
|
1163
|
-
#endif
|
|
1164
1080
|
public typealias AllCases = [GSSDK.GSKBarcodeType]
|
|
1165
1081
|
public typealias RawValue = Swift.String
|
|
1166
1082
|
nonisolated public static var allCases: [GSSDK.GSKBarcodeType] {
|
|
@@ -1198,21 +1114,13 @@ public enum GSKBarcodeType : Swift.String, Swift.CaseIterable {
|
|
|
1198
1114
|
@objc deinit
|
|
1199
1115
|
}
|
|
1200
1116
|
@objc extension GSSDK.GSKStructuredDataExtractor {
|
|
1201
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1202
1117
|
@objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
|
|
1203
|
-
#endif
|
|
1204
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1205
1118
|
@objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
|
|
1206
|
-
#endif
|
|
1207
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1208
1119
|
@objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
|
|
1209
|
-
#endif
|
|
1210
1120
|
}
|
|
1211
1121
|
@objc public enum GSKStructuredDataExtractorError : Swift.Int, Swift.Error {
|
|
1212
1122
|
case missingRequiredOCRMetadata = -1
|
|
1213
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1214
1123
|
public init?(rawValue: Swift.Int)
|
|
1215
|
-
#endif
|
|
1216
1124
|
public typealias RawValue = Swift.Int
|
|
1217
1125
|
public static var _nsErrorDomain: Swift.String {
|
|
1218
1126
|
get
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegrizzlylabs/react-native-genius-scan",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "React Native Plugin for Genius Scan SDK",
|
|
5
5
|
"author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",
|
|
6
6
|
"homepage": "https://geniusscansdk.com",
|