@thegrizzlylabs/react-native-genius-scan 5.0.0-beta6 → 5.0.0-beta8
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 +11 -2
- package/android/build.gradle +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +74 -23
- 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 +7668 -6709
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +82 -32
- 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 +82 -32
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_PhoneNumberKit.bundle/PhoneNumberMetadata.json +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/documentFinder.tflite +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/GSSDK-Swift.h +148 -46
- 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 +7668 -6709
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +82 -32
- 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 +82 -32
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +7668 -6709
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +82 -32
- 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 +82 -32
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_PhoneNumberKit.bundle/PhoneNumberMetadata.json +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/documentFinder.tflite +0 -0
- package/package.json +1 -1
|
@@ -21,6 +21,27 @@ import Vision
|
|
|
21
21
|
import _Concurrency
|
|
22
22
|
import _StringProcessing
|
|
23
23
|
import _SwiftConcurrencyShims
|
|
24
|
+
@objcMembers final public class GSKDocumentFinderResult {
|
|
25
|
+
@objc final public let imageType: GSSDK.GSKDocumentFinderImageType
|
|
26
|
+
@objc public init(imageType: GSSDK.GSKDocumentFinderImageType)
|
|
27
|
+
@objc deinit
|
|
28
|
+
}
|
|
29
|
+
@objcMembers final public class GSKDocumentFinder {
|
|
30
|
+
@objc public init()
|
|
31
|
+
final public func findDocument(inImage image: UIKit.UIImage) throws -> GSSDK.GSKDocumentFinderResult
|
|
32
|
+
@objc deinit
|
|
33
|
+
}
|
|
34
|
+
@objc @frozen public enum GSKDocumentFinderImageType : Swift.Int {
|
|
35
|
+
case noDocument
|
|
36
|
+
case unwarped
|
|
37
|
+
case warped
|
|
38
|
+
case enhanced
|
|
39
|
+
public init?(rawValue: Swift.Int)
|
|
40
|
+
public typealias RawValue = Swift.Int
|
|
41
|
+
public var rawValue: Swift.Int {
|
|
42
|
+
get
|
|
43
|
+
}
|
|
44
|
+
}
|
|
24
45
|
@_hasMissingDesignatedInitializers @objc final public class GSKLicenseKeyRefresher : ObjectiveC.NSObject {
|
|
25
46
|
public typealias LicenseKey = Swift.String
|
|
26
47
|
@objc final public var licenseKey: GSSDK.GSKLicenseKeyRefresher.LicenseKey {
|
|
@@ -226,10 +247,10 @@ public enum GSSDKStrings {
|
|
|
226
247
|
public static let gssdkSettings: Swift.String
|
|
227
248
|
}
|
|
228
249
|
}
|
|
229
|
-
@objc @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
|
|
250
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
|
|
230
251
|
@objc final public let text: Swift.String
|
|
231
252
|
@objc final public let textLayout: GSSDK.GSKTextLayout
|
|
232
|
-
@objc public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
|
|
253
|
+
@objc convenience public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
|
|
233
254
|
@objc deinit
|
|
234
255
|
}
|
|
235
256
|
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRConfiguration : ObjectiveC.NSObject {
|
|
@@ -442,13 +463,32 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
442
463
|
}
|
|
443
464
|
}
|
|
444
465
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
|
|
445
|
-
@objc final public var bankDetails: GSSDK.
|
|
446
|
-
@objc final public var businessCardContact: GSSDK.
|
|
447
|
-
@objc final public var receipt: GSSDK.
|
|
466
|
+
@objc final public var bankDetails: GSSDK.GSKStructuredDataBankDetails?
|
|
467
|
+
@objc final public var businessCardContact: GSSDK.GSKStructuredDataContact?
|
|
468
|
+
@objc final public var receipt: GSSDK.GSKStructuredDataReceipt?
|
|
469
|
+
@objc override dynamic public init()
|
|
470
|
+
@objc deinit
|
|
471
|
+
}
|
|
472
|
+
@_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
|
|
473
|
+
@objc public static let shared: GSSDK.GSKUIBackgroundProcessing
|
|
474
|
+
@objc final public let documentGenerationQueue: Dispatch.DispatchQueue
|
|
448
475
|
@objc override dynamic public init()
|
|
449
476
|
@objc deinit
|
|
450
477
|
}
|
|
451
|
-
|
|
478
|
+
public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
|
|
479
|
+
public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
480
|
+
public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
481
|
+
public var label: () -> Label
|
|
482
|
+
public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
|
|
483
|
+
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
|
|
484
|
+
get
|
|
485
|
+
}
|
|
486
|
+
public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
|
|
487
|
+
}
|
|
488
|
+
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
489
|
+
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
490
|
+
}
|
|
491
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
|
|
452
492
|
@objc final public let city: Swift.String?
|
|
453
493
|
@objc final public let postalCode: Swift.String?
|
|
454
494
|
@objc final public let street: Swift.String?
|
|
@@ -456,28 +496,50 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
456
496
|
@objc final public let country: Swift.String?
|
|
457
497
|
@objc deinit
|
|
458
498
|
}
|
|
459
|
-
@objc @
|
|
499
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataBankDetails : ObjectiveC.NSObject {
|
|
460
500
|
@objc final public var iban: Swift.String?
|
|
461
501
|
@objc final public var bic: Swift.String?
|
|
462
|
-
@objc override dynamic public init()
|
|
463
502
|
@objc deinit
|
|
464
503
|
}
|
|
465
|
-
@objc @_hasMissingDesignatedInitializers @objcMembers final public class
|
|
504
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataContact : ObjectiveC.NSObject {
|
|
466
505
|
@objc final public let name: Swift.String?
|
|
467
506
|
@objc final public let organization: Swift.String?
|
|
468
|
-
@objc final public let address: GSSDK.
|
|
469
|
-
@objc final public let phoneNumbers: [GSSDK.
|
|
507
|
+
@objc final public let address: GSSDK.GSKStructuredDataAddress?
|
|
508
|
+
@objc final public let phoneNumbers: [GSSDK.GSKStructuredDataPhoneNumber]
|
|
470
509
|
@objc final public let links: [Foundation.URL]
|
|
471
510
|
@objc final public let emailAddresses: [Swift.String]
|
|
472
511
|
@objc final public func asCNContact() -> Contacts.CNContact
|
|
473
512
|
@objc deinit
|
|
474
513
|
}
|
|
475
|
-
@
|
|
514
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc final public class GSKStructuredDataExtractor : ObjectiveC.NSObject {
|
|
515
|
+
@objc convenience override dynamic public init()
|
|
516
|
+
@objc deinit
|
|
517
|
+
}
|
|
518
|
+
@objc extension GSSDK.GSKStructuredDataExtractor {
|
|
519
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
520
|
+
@objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
|
|
521
|
+
#endif
|
|
522
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
523
|
+
@objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
|
|
524
|
+
#endif
|
|
525
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
526
|
+
@objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
|
|
527
|
+
#endif
|
|
528
|
+
}
|
|
529
|
+
@objc public enum GSKStructuredDataExtractorError : Swift.Int {
|
|
530
|
+
case missingRequiredOCRMetadata = -1
|
|
531
|
+
public init?(rawValue: Swift.Int)
|
|
532
|
+
public typealias RawValue = Swift.Int
|
|
533
|
+
public var rawValue: Swift.Int {
|
|
534
|
+
get
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataPhoneNumber : ObjectiveC.NSObject {
|
|
476
538
|
@objc final public let label: Swift.String
|
|
477
539
|
@objc final public let number: Swift.String
|
|
478
540
|
@objc deinit
|
|
479
541
|
}
|
|
480
|
-
@objc @_hasMissingDesignatedInitializers @objcMembers final public class
|
|
542
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataReceipt : ObjectiveC.NSObject {
|
|
481
543
|
@objc final public let locale: Foundation.Locale?
|
|
482
544
|
@objc final public let merchant: Swift.String?
|
|
483
545
|
final public let amount: Swift.Double?
|
|
@@ -486,25 +548,10 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
486
548
|
final public let category: GSSDK.GSKReceiptCategory?
|
|
487
549
|
@objc deinit
|
|
488
550
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
@objc deinit
|
|
494
|
-
}
|
|
495
|
-
public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
|
|
496
|
-
public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
497
|
-
public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
498
|
-
public var label: () -> Label
|
|
499
|
-
public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
|
|
500
|
-
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
|
|
501
|
-
get
|
|
502
|
-
}
|
|
503
|
-
public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
|
|
504
|
-
}
|
|
505
|
-
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
506
|
-
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
507
|
-
}
|
|
551
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
|
|
552
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
|
|
553
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
|
|
554
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
|
|
508
555
|
extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
|
|
509
556
|
extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
|
|
510
557
|
extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
|
|
@@ -527,3 +574,6 @@ extension GSSDK.GSKScanFlowPDFPageSize : Swift.RawRepresentable {}
|
|
|
527
574
|
extension GSSDK.GSKScanFlowSource : Swift.Equatable {}
|
|
528
575
|
extension GSSDK.GSKScanFlowSource : Swift.Hashable {}
|
|
529
576
|
extension GSSDK.GSKScanFlowSource : Swift.RawRepresentable {}
|
|
577
|
+
extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
|
|
578
|
+
extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
|
|
579
|
+
extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -21,6 +21,27 @@ import Vision
|
|
|
21
21
|
import _Concurrency
|
|
22
22
|
import _StringProcessing
|
|
23
23
|
import _SwiftConcurrencyShims
|
|
24
|
+
@objcMembers final public class GSKDocumentFinderResult {
|
|
25
|
+
@objc final public let imageType: GSSDK.GSKDocumentFinderImageType
|
|
26
|
+
@objc public init(imageType: GSSDK.GSKDocumentFinderImageType)
|
|
27
|
+
@objc deinit
|
|
28
|
+
}
|
|
29
|
+
@objcMembers final public class GSKDocumentFinder {
|
|
30
|
+
@objc public init()
|
|
31
|
+
final public func findDocument(inImage image: UIKit.UIImage) throws -> GSSDK.GSKDocumentFinderResult
|
|
32
|
+
@objc deinit
|
|
33
|
+
}
|
|
34
|
+
@objc @frozen public enum GSKDocumentFinderImageType : Swift.Int {
|
|
35
|
+
case noDocument
|
|
36
|
+
case unwarped
|
|
37
|
+
case warped
|
|
38
|
+
case enhanced
|
|
39
|
+
public init?(rawValue: Swift.Int)
|
|
40
|
+
public typealias RawValue = Swift.Int
|
|
41
|
+
public var rawValue: Swift.Int {
|
|
42
|
+
get
|
|
43
|
+
}
|
|
44
|
+
}
|
|
24
45
|
@_hasMissingDesignatedInitializers @objc final public class GSKLicenseKeyRefresher : ObjectiveC.NSObject {
|
|
25
46
|
public typealias LicenseKey = Swift.String
|
|
26
47
|
@objc final public var licenseKey: GSSDK.GSKLicenseKeyRefresher.LicenseKey {
|
|
@@ -226,10 +247,10 @@ public enum GSSDKStrings {
|
|
|
226
247
|
public static let gssdkSettings: Swift.String
|
|
227
248
|
}
|
|
228
249
|
}
|
|
229
|
-
@objc @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
|
|
250
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRResult : ObjectiveC.NSObject {
|
|
230
251
|
@objc final public let text: Swift.String
|
|
231
252
|
@objc final public let textLayout: GSSDK.GSKTextLayout
|
|
232
|
-
@objc public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
|
|
253
|
+
@objc convenience public init(text: Swift.String, textLayout: GSSDK.GSKTextLayout)
|
|
233
254
|
@objc deinit
|
|
234
255
|
}
|
|
235
256
|
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKOCRConfiguration : ObjectiveC.NSObject {
|
|
@@ -442,13 +463,32 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
442
463
|
}
|
|
443
464
|
}
|
|
444
465
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
|
|
445
|
-
@objc final public var bankDetails: GSSDK.
|
|
446
|
-
@objc final public var businessCardContact: GSSDK.
|
|
447
|
-
@objc final public var receipt: GSSDK.
|
|
466
|
+
@objc final public var bankDetails: GSSDK.GSKStructuredDataBankDetails?
|
|
467
|
+
@objc final public var businessCardContact: GSSDK.GSKStructuredDataContact?
|
|
468
|
+
@objc final public var receipt: GSSDK.GSKStructuredDataReceipt?
|
|
469
|
+
@objc override dynamic public init()
|
|
470
|
+
@objc deinit
|
|
471
|
+
}
|
|
472
|
+
@_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
|
|
473
|
+
@objc public static let shared: GSSDK.GSKUIBackgroundProcessing
|
|
474
|
+
@objc final public let documentGenerationQueue: Dispatch.DispatchQueue
|
|
448
475
|
@objc override dynamic public init()
|
|
449
476
|
@objc deinit
|
|
450
477
|
}
|
|
451
|
-
|
|
478
|
+
public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
|
|
479
|
+
public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
480
|
+
public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
481
|
+
public var label: () -> Label
|
|
482
|
+
public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
|
|
483
|
+
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
|
|
484
|
+
get
|
|
485
|
+
}
|
|
486
|
+
public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
|
|
487
|
+
}
|
|
488
|
+
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
489
|
+
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
490
|
+
}
|
|
491
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
|
|
452
492
|
@objc final public let city: Swift.String?
|
|
453
493
|
@objc final public let postalCode: Swift.String?
|
|
454
494
|
@objc final public let street: Swift.String?
|
|
@@ -456,28 +496,50 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
456
496
|
@objc final public let country: Swift.String?
|
|
457
497
|
@objc deinit
|
|
458
498
|
}
|
|
459
|
-
@objc @
|
|
499
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataBankDetails : ObjectiveC.NSObject {
|
|
460
500
|
@objc final public var iban: Swift.String?
|
|
461
501
|
@objc final public var bic: Swift.String?
|
|
462
|
-
@objc override dynamic public init()
|
|
463
502
|
@objc deinit
|
|
464
503
|
}
|
|
465
|
-
@objc @_hasMissingDesignatedInitializers @objcMembers final public class
|
|
504
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataContact : ObjectiveC.NSObject {
|
|
466
505
|
@objc final public let name: Swift.String?
|
|
467
506
|
@objc final public let organization: Swift.String?
|
|
468
|
-
@objc final public let address: GSSDK.
|
|
469
|
-
@objc final public let phoneNumbers: [GSSDK.
|
|
507
|
+
@objc final public let address: GSSDK.GSKStructuredDataAddress?
|
|
508
|
+
@objc final public let phoneNumbers: [GSSDK.GSKStructuredDataPhoneNumber]
|
|
470
509
|
@objc final public let links: [Foundation.URL]
|
|
471
510
|
@objc final public let emailAddresses: [Swift.String]
|
|
472
511
|
@objc final public func asCNContact() -> Contacts.CNContact
|
|
473
512
|
@objc deinit
|
|
474
513
|
}
|
|
475
|
-
@
|
|
514
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc final public class GSKStructuredDataExtractor : ObjectiveC.NSObject {
|
|
515
|
+
@objc convenience override dynamic public init()
|
|
516
|
+
@objc deinit
|
|
517
|
+
}
|
|
518
|
+
@objc extension GSSDK.GSKStructuredDataExtractor {
|
|
519
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
520
|
+
@objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
|
|
521
|
+
#endif
|
|
522
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
523
|
+
@objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
|
|
524
|
+
#endif
|
|
525
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
526
|
+
@objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
|
|
527
|
+
#endif
|
|
528
|
+
}
|
|
529
|
+
@objc public enum GSKStructuredDataExtractorError : Swift.Int {
|
|
530
|
+
case missingRequiredOCRMetadata = -1
|
|
531
|
+
public init?(rawValue: Swift.Int)
|
|
532
|
+
public typealias RawValue = Swift.Int
|
|
533
|
+
public var rawValue: Swift.Int {
|
|
534
|
+
get
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataPhoneNumber : ObjectiveC.NSObject {
|
|
476
538
|
@objc final public let label: Swift.String
|
|
477
539
|
@objc final public let number: Swift.String
|
|
478
540
|
@objc deinit
|
|
479
541
|
}
|
|
480
|
-
@objc @_hasMissingDesignatedInitializers @objcMembers final public class
|
|
542
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataReceipt : ObjectiveC.NSObject {
|
|
481
543
|
@objc final public let locale: Foundation.Locale?
|
|
482
544
|
@objc final public let merchant: Swift.String?
|
|
483
545
|
final public let amount: Swift.Double?
|
|
@@ -486,25 +548,10 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
486
548
|
final public let category: GSSDK.GSKReceiptCategory?
|
|
487
549
|
@objc deinit
|
|
488
550
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
@objc deinit
|
|
494
|
-
}
|
|
495
|
-
public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
|
|
496
|
-
public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
497
|
-
public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
498
|
-
public var label: () -> Label
|
|
499
|
-
public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
|
|
500
|
-
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
|
|
501
|
-
get
|
|
502
|
-
}
|
|
503
|
-
public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
|
|
504
|
-
}
|
|
505
|
-
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
506
|
-
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
507
|
-
}
|
|
551
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
|
|
552
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
|
|
553
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
|
|
554
|
+
extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
|
|
508
555
|
extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
|
|
509
556
|
extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
|
|
510
557
|
extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
|
|
@@ -527,3 +574,6 @@ extension GSSDK.GSKScanFlowPDFPageSize : Swift.RawRepresentable {}
|
|
|
527
574
|
extension GSSDK.GSKScanFlowSource : Swift.Equatable {}
|
|
528
575
|
extension GSSDK.GSKScanFlowSource : Swift.Hashable {}
|
|
529
576
|
extension GSSDK.GSKScanFlowSource : Swift.RawRepresentable {}
|
|
577
|
+
extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
|
|
578
|
+
extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
|
|
579
|
+
extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
|