@thegrizzlylabs/react-native-genius-scan 5.0.0-beta7 → 5.0.0-beta9

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.
Files changed (40) hide show
  1. package/README.md +11 -2
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/geniusscansdk/reactnative/RNGeniusScanModule.java +0 -7
  4. package/index.js +0 -7
  5. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  6. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK_GSSDKObjC.bundle/backbone.tflite +0 -0
  7. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK_GSSDKObjC.bundle/head_classif.tflite +0 -0
  8. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCore.h +0 -19
  9. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKLicenseKeyChecker.h +24 -0
  10. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +64 -27
  11. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +1 -0
  12. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  13. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +2725 -2367
  14. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +57 -36
  15. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  16. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +57 -36
  17. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_PhoneNumberKit.bundle/PhoneNumberMetadata.json +1 -1
  18. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/backbone.tflite +0 -0
  19. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/head_classif.tflite +0 -0
  20. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  21. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK_GSSDKObjC.bundle/backbone.tflite +0 -0
  22. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK_GSSDKObjC.bundle/head_classif.tflite +0 -0
  23. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCore.h +0 -19
  24. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKLicenseKeyChecker.h +24 -0
  25. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +128 -54
  26. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +1 -0
  27. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  28. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +2725 -2367
  29. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +57 -36
  30. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  31. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +57 -36
  32. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2725 -2367
  33. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +57 -36
  34. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  35. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +57 -36
  36. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_PhoneNumberKit.bundle/PhoneNumberMetadata.json +1 -1
  37. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/backbone.tflite +0 -0
  38. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/head_classif.tflite +0 -0
  39. package/ios/RNGeniusScan.m +0 -11
  40. package/package.json +1 -1
@@ -247,10 +247,10 @@ public enum GSSDKStrings {
247
247
  public static let gssdkSettings: Swift.String
248
248
  }
249
249
  }
250
- @objc @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
250
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
251
251
  @objc final public let text: Swift.String
252
252
  @objc final public let textLayout: GSSDK.GSKTextLayout
253
- @objc public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
253
+ @objc convenience public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
254
254
  @objc deinit
255
255
  }
256
256
  @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRConfiguration : ObjectiveC.NSObject {
@@ -427,10 +427,6 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
427
427
  @objc deinit
428
428
  }
429
429
  @objc extension GSSDK.GSKScanFlowResult {
430
- @objc @available(*, deprecated, message: "Use multiPageDocumentURL instead")
431
- final public var pdfURL: Foundation.URL? {
432
- @objc get
433
- }
434
430
  @objc final public var dictionary: [Swift.String : Any] {
435
431
  @objc get
436
432
  }
@@ -463,13 +459,32 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
463
459
  }
464
460
  }
465
461
  @objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
466
- @objc final public var bankDetails: GSSDK.GSKScanFlowStructuredDataResultBankDetails?
467
- @objc final public var businessCardContact: GSSDK.GSKScanFlowStructuredDataResultContact?
468
- @objc final public var receipt: GSSDK.GSKScanFlowStructuredDataResultReceipt?
462
+ @objc final public var bankDetails: GSSDK.GSKStructuredDataBankDetails?
463
+ @objc final public var businessCardContact: GSSDK.GSKStructuredDataContact?
464
+ @objc final public var receipt: GSSDK.GSKStructuredDataReceipt?
465
+ @objc override dynamic public init()
466
+ @objc deinit
467
+ }
468
+ @_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
469
+ @objc public static let shared: GSSDK.GSKUIBackgroundProcessing
470
+ @objc final public let documentGenerationQueue: Dispatch.DispatchQueue
469
471
  @objc override dynamic public init()
470
472
  @objc deinit
471
473
  }
472
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultAddress : ObjectiveC.NSObject {
474
+ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
475
+ public var configuration: () -> GSSDK.GSKScanFlowConfiguration
476
+ public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
477
+ public var label: () -> Label
478
+ public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
479
+ @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
480
+ get
481
+ }
482
+ public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
483
+ }
484
+ extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
485
+ public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
486
+ }
487
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
473
488
  @objc final public let city: Swift.String?
474
489
  @objc final public let postalCode: Swift.String?
475
490
  @objc final public let street: Swift.String?
@@ -477,28 +492,50 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
477
492
  @objc final public let country: Swift.String?
478
493
  @objc deinit
479
494
  }
480
- @objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResultBankDetails : ObjectiveC.NSObject {
495
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataBankDetails : ObjectiveC.NSObject {
481
496
  @objc final public var iban: Swift.String?
482
497
  @objc final public var bic: Swift.String?
483
- @objc override dynamic public init()
484
498
  @objc deinit
485
499
  }
486
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultContact : ObjectiveC.NSObject {
500
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataContact : ObjectiveC.NSObject {
487
501
  @objc final public let name: Swift.String?
488
502
  @objc final public let organization: Swift.String?
489
- @objc final public let address: GSSDK.GSKScanFlowStructuredDataResultAddress?
490
- @objc final public let phoneNumbers: [GSSDK.GSKScanFlowStructuredDataResultPhoneNumber]
503
+ @objc final public let address: GSSDK.GSKStructuredDataAddress?
504
+ @objc final public let phoneNumbers: [GSSDK.GSKStructuredDataPhoneNumber]
491
505
  @objc final public let links: [Foundation.URL]
492
506
  @objc final public let emailAddresses: [Swift.String]
493
507
  @objc final public func asCNContact() -> Contacts.CNContact
494
508
  @objc deinit
495
509
  }
496
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultPhoneNumber : ObjectiveC.NSObject {
510
+ @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc final public class GSKStructuredDataExtractor : ObjectiveC.NSObject {
511
+ @objc convenience override dynamic public init()
512
+ @objc deinit
513
+ }
514
+ @objc extension GSSDK.GSKStructuredDataExtractor {
515
+ #if compiler(>=5.3) && $AsyncAwait
516
+ @objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
517
+ #endif
518
+ #if compiler(>=5.3) && $AsyncAwait
519
+ @objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
520
+ #endif
521
+ #if compiler(>=5.3) && $AsyncAwait
522
+ @objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
523
+ #endif
524
+ }
525
+ @objc public enum GSKStructuredDataExtractorError : Swift.Int {
526
+ case missingRequiredOCRMetadata = -1
527
+ public init?(rawValue: Swift.Int)
528
+ public typealias RawValue = Swift.Int
529
+ public var rawValue: Swift.Int {
530
+ get
531
+ }
532
+ }
533
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataPhoneNumber : ObjectiveC.NSObject {
497
534
  @objc final public let label: Swift.String
498
535
  @objc final public let number: Swift.String
499
536
  @objc deinit
500
537
  }
501
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultReceipt : ObjectiveC.NSObject {
538
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataReceipt : ObjectiveC.NSObject {
502
539
  @objc final public let locale: Foundation.Locale?
503
540
  @objc final public let merchant: Swift.String?
504
541
  final public let amount: Swift.Double?
@@ -507,25 +544,6 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
507
544
  final public let category: GSSDK.GSKReceiptCategory?
508
545
  @objc deinit
509
546
  }
510
- @_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
511
- @objc public static let shared: GSSDK.GSKUIBackgroundProcessing
512
- @objc final public let documentGenerationQueue: Dispatch.DispatchQueue
513
- @objc override dynamic public init()
514
- @objc deinit
515
- }
516
- public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
517
- public var configuration: () -> GSSDK.GSKScanFlowConfiguration
518
- public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
519
- public var label: () -> Label
520
- public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
521
- @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
522
- get
523
- }
524
- public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
525
- }
526
- extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
527
- public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
528
- }
529
547
  extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
530
548
  extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
531
549
  extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
@@ -552,3 +570,6 @@ extension GSSDK.GSKScanFlowPDFPageSize : Swift.RawRepresentable {}
552
570
  extension GSSDK.GSKScanFlowSource : Swift.Equatable {}
553
571
  extension GSSDK.GSKScanFlowSource : Swift.Hashable {}
554
572
  extension GSSDK.GSKScanFlowSource : Swift.RawRepresentable {}
573
+ extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
574
+ extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
575
+ extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
@@ -247,10 +247,10 @@ public enum GSSDKStrings {
247
247
  public static let gssdkSettings: Swift.String
248
248
  }
249
249
  }
250
- @objc @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
250
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
251
251
  @objc final public let text: Swift.String
252
252
  @objc final public let textLayout: GSSDK.GSKTextLayout
253
- @objc public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
253
+ @objc convenience public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
254
254
  @objc deinit
255
255
  }
256
256
  @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRConfiguration : ObjectiveC.NSObject {
@@ -427,10 +427,6 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
427
427
  @objc deinit
428
428
  }
429
429
  @objc extension GSSDK.GSKScanFlowResult {
430
- @objc @available(*, deprecated, message: "Use multiPageDocumentURL instead")
431
- final public var pdfURL: Foundation.URL? {
432
- @objc get
433
- }
434
430
  @objc final public var dictionary: [Swift.String : Any] {
435
431
  @objc get
436
432
  }
@@ -463,13 +459,32 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
463
459
  }
464
460
  }
465
461
  @objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
466
- @objc final public var bankDetails: GSSDK.GSKScanFlowStructuredDataResultBankDetails?
467
- @objc final public var businessCardContact: GSSDK.GSKScanFlowStructuredDataResultContact?
468
- @objc final public var receipt: GSSDK.GSKScanFlowStructuredDataResultReceipt?
462
+ @objc final public var bankDetails: GSSDK.GSKStructuredDataBankDetails?
463
+ @objc final public var businessCardContact: GSSDK.GSKStructuredDataContact?
464
+ @objc final public var receipt: GSSDK.GSKStructuredDataReceipt?
465
+ @objc override dynamic public init()
466
+ @objc deinit
467
+ }
468
+ @_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
469
+ @objc public static let shared: GSSDK.GSKUIBackgroundProcessing
470
+ @objc final public let documentGenerationQueue: Dispatch.DispatchQueue
469
471
  @objc override dynamic public init()
470
472
  @objc deinit
471
473
  }
472
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultAddress : ObjectiveC.NSObject {
474
+ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
475
+ public var configuration: () -> GSSDK.GSKScanFlowConfiguration
476
+ public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
477
+ public var label: () -> Label
478
+ public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
479
+ @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
480
+ get
481
+ }
482
+ public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
483
+ }
484
+ extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
485
+ public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
486
+ }
487
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
473
488
  @objc final public let city: Swift.String?
474
489
  @objc final public let postalCode: Swift.String?
475
490
  @objc final public let street: Swift.String?
@@ -477,28 +492,50 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
477
492
  @objc final public let country: Swift.String?
478
493
  @objc deinit
479
494
  }
480
- @objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResultBankDetails : ObjectiveC.NSObject {
495
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataBankDetails : ObjectiveC.NSObject {
481
496
  @objc final public var iban: Swift.String?
482
497
  @objc final public var bic: Swift.String?
483
- @objc override dynamic public init()
484
498
  @objc deinit
485
499
  }
486
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultContact : ObjectiveC.NSObject {
500
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataContact : ObjectiveC.NSObject {
487
501
  @objc final public let name: Swift.String?
488
502
  @objc final public let organization: Swift.String?
489
- @objc final public let address: GSSDK.GSKScanFlowStructuredDataResultAddress?
490
- @objc final public let phoneNumbers: [GSSDK.GSKScanFlowStructuredDataResultPhoneNumber]
503
+ @objc final public let address: GSSDK.GSKStructuredDataAddress?
504
+ @objc final public let phoneNumbers: [GSSDK.GSKStructuredDataPhoneNumber]
491
505
  @objc final public let links: [Foundation.URL]
492
506
  @objc final public let emailAddresses: [Swift.String]
493
507
  @objc final public func asCNContact() -> Contacts.CNContact
494
508
  @objc deinit
495
509
  }
496
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultPhoneNumber : ObjectiveC.NSObject {
510
+ @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc final public class GSKStructuredDataExtractor : ObjectiveC.NSObject {
511
+ @objc convenience override dynamic public init()
512
+ @objc deinit
513
+ }
514
+ @objc extension GSSDK.GSKStructuredDataExtractor {
515
+ #if compiler(>=5.3) && $AsyncAwait
516
+ @objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
517
+ #endif
518
+ #if compiler(>=5.3) && $AsyncAwait
519
+ @objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
520
+ #endif
521
+ #if compiler(>=5.3) && $AsyncAwait
522
+ @objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
523
+ #endif
524
+ }
525
+ @objc public enum GSKStructuredDataExtractorError : Swift.Int {
526
+ case missingRequiredOCRMetadata = -1
527
+ public init?(rawValue: Swift.Int)
528
+ public typealias RawValue = Swift.Int
529
+ public var rawValue: Swift.Int {
530
+ get
531
+ }
532
+ }
533
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataPhoneNumber : ObjectiveC.NSObject {
497
534
  @objc final public let label: Swift.String
498
535
  @objc final public let number: Swift.String
499
536
  @objc deinit
500
537
  }
501
- @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultReceipt : ObjectiveC.NSObject {
538
+ @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataReceipt : ObjectiveC.NSObject {
502
539
  @objc final public let locale: Foundation.Locale?
503
540
  @objc final public let merchant: Swift.String?
504
541
  final public let amount: Swift.Double?
@@ -507,25 +544,6 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
507
544
  final public let category: GSSDK.GSKReceiptCategory?
508
545
  @objc deinit
509
546
  }
510
- @_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
511
- @objc public static let shared: GSSDK.GSKUIBackgroundProcessing
512
- @objc final public let documentGenerationQueue: Dispatch.DispatchQueue
513
- @objc override dynamic public init()
514
- @objc deinit
515
- }
516
- public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
517
- public var configuration: () -> GSSDK.GSKScanFlowConfiguration
518
- public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
519
- public var label: () -> Label
520
- public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
521
- @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
522
- get
523
- }
524
- public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
525
- }
526
- extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
527
- public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
528
- }
529
547
  extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
530
548
  extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
531
549
  extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
@@ -552,3 +570,6 @@ extension GSSDK.GSKScanFlowPDFPageSize : Swift.RawRepresentable {}
552
570
  extension GSSDK.GSKScanFlowSource : Swift.Equatable {}
553
571
  extension GSSDK.GSKScanFlowSource : Swift.Hashable {}
554
572
  extension GSSDK.GSKScanFlowSource : Swift.RawRepresentable {}
573
+ extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
574
+ extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
575
+ extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}