@thegrizzlylabs/react-native-genius-scan 5.0.0-beta2 → 5.0.0-beta4
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/android/build.gradle +1 -1
- package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKPDFGeneratorError.h +25 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +5 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +99 -8
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +1 -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 +8384 -5567
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +61 -2
- 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 +61 -2
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_PhoneNumberKit.bundle/PhoneNumberMetadata.json +1 -1
- 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/GSKPDFGeneratorError.h +25 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +5 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +198 -16
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +1 -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 +8384 -5567
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +61 -2
- 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 +61 -2
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +8384 -5567
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +61 -2
- 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 +61 -2
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_PhoneNumberKit.bundle/PhoneNumberMetadata.json +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,28 @@ import _SwiftConcurrencyShims
|
|
|
30
30
|
@objc final public func refreshLicenseKey(onSuccess: @escaping (Swift.String) -> Swift.Void, onFailure: @escaping (any Swift.Error, Swift.String) -> Swift.Void)
|
|
31
31
|
@objc deinit
|
|
32
32
|
}
|
|
33
|
+
@objc public enum GSKReceiptCategory : Swift.Int, Swift.CaseIterable {
|
|
34
|
+
case gas
|
|
35
|
+
case transportation
|
|
36
|
+
case accomodation
|
|
37
|
+
case restaurant
|
|
38
|
+
case supermarket
|
|
39
|
+
case other
|
|
40
|
+
public init?(rawValue: Swift.Int)
|
|
41
|
+
public typealias AllCases = [GSSDK.GSKReceiptCategory]
|
|
42
|
+
public typealias RawValue = Swift.Int
|
|
43
|
+
public static var allCases: [GSSDK.GSKReceiptCategory] {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var rawValue: Swift.Int {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
51
|
+
public var description: Swift.String {
|
|
52
|
+
get
|
|
53
|
+
}
|
|
54
|
+
}
|
|
33
55
|
@_inheritsConvenienceInitializers @objc public class GSKDocumentGenerator : ObjectiveC.NSObject {
|
|
34
56
|
@objc public func generate(_ document: GSSDK.GSKPDFDocument, configuration: GSSDK.GSKDocumentGeneratorConfiguration) throws
|
|
35
57
|
@objc override dynamic public init()
|
|
@@ -225,14 +247,14 @@ public enum GSSDKStrings {
|
|
|
225
247
|
@objc @objcMembers @_Concurrency.MainActor final public class GSKScanFlow : ObjectiveC.NSObject {
|
|
226
248
|
@objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKScanFlowConfiguration)
|
|
227
249
|
#if compiler(>=5.3) && $AsyncAwait
|
|
228
|
-
@
|
|
250
|
+
@nonobjc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKScanFlowResult
|
|
229
251
|
#endif
|
|
230
252
|
@objc deinit
|
|
231
253
|
}
|
|
232
254
|
@objc extension GSSDK.GSKScanFlow {
|
|
233
255
|
@objc @available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead.")
|
|
234
256
|
@_Concurrency.MainActor public static func scanFlowWithConfiguration(_ configuration: GSSDK.GSKScanFlowConfiguration) -> Self
|
|
235
|
-
@objc nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
257
|
+
@objc(startFromViewController:onSuccess:failure:) nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
236
258
|
}
|
|
237
259
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowConfiguration : ObjectiveC.NSObject {
|
|
238
260
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
@@ -392,15 +414,49 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
392
414
|
}
|
|
393
415
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
|
|
394
416
|
@objc final public var bankDetails: GSSDK.GSKScanFlowStructuredDataResultBankDetails?
|
|
417
|
+
@objc final public var businessCardContact: GSSDK.GSKScanFlowStructuredDataResultContact?
|
|
418
|
+
@objc final public var receipt: GSSDK.GSKScanFlowStructuredDataResultReceipt?
|
|
395
419
|
@objc override dynamic public init()
|
|
396
420
|
@objc deinit
|
|
397
421
|
}
|
|
422
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultAddress : ObjectiveC.NSObject {
|
|
423
|
+
@objc final public let city: Swift.String?
|
|
424
|
+
@objc final public let postalCode: Swift.String?
|
|
425
|
+
@objc final public let street: Swift.String?
|
|
426
|
+
@objc final public let state: Swift.String?
|
|
427
|
+
@objc final public let country: Swift.String?
|
|
428
|
+
@objc deinit
|
|
429
|
+
}
|
|
398
430
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResultBankDetails : ObjectiveC.NSObject {
|
|
399
431
|
@objc final public var iban: Swift.String?
|
|
400
432
|
@objc final public var bic: Swift.String?
|
|
401
433
|
@objc override dynamic public init()
|
|
402
434
|
@objc deinit
|
|
403
435
|
}
|
|
436
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultContact : ObjectiveC.NSObject {
|
|
437
|
+
@objc final public let name: Swift.String?
|
|
438
|
+
@objc final public let organization: Swift.String?
|
|
439
|
+
@objc final public let address: GSSDK.GSKScanFlowStructuredDataResultAddress?
|
|
440
|
+
@objc final public let phoneNumbers: [GSSDK.GSKScanFlowStructuredDataResultPhoneNumber]
|
|
441
|
+
@objc final public let links: [Foundation.URL]
|
|
442
|
+
@objc final public let emailAddresses: [Swift.String]
|
|
443
|
+
@objc final public func asCNContact() -> Contacts.CNContact
|
|
444
|
+
@objc deinit
|
|
445
|
+
}
|
|
446
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultPhoneNumber : ObjectiveC.NSObject {
|
|
447
|
+
@objc final public let label: Swift.String
|
|
448
|
+
@objc final public let number: Swift.String
|
|
449
|
+
@objc deinit
|
|
450
|
+
}
|
|
451
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultReceipt : ObjectiveC.NSObject {
|
|
452
|
+
@objc final public let locale: Foundation.Locale?
|
|
453
|
+
@objc final public let merchant: Swift.String?
|
|
454
|
+
final public let amount: Swift.Double?
|
|
455
|
+
@objc final public let currency: Swift.String?
|
|
456
|
+
@objc final public let date: Foundation.Date?
|
|
457
|
+
final public let category: GSSDK.GSKReceiptCategory?
|
|
458
|
+
@objc deinit
|
|
459
|
+
}
|
|
404
460
|
@_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
|
|
405
461
|
@objc public static let shared: GSSDK.GSKUIBackgroundProcessing
|
|
406
462
|
@objc final public let documentGenerationQueue: Dispatch.DispatchQueue
|
|
@@ -420,6 +476,9 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
|
|
|
420
476
|
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
421
477
|
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
422
478
|
}
|
|
479
|
+
extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
|
|
480
|
+
extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
|
|
481
|
+
extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
|
|
423
482
|
extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
424
483
|
extension GSSDK.GSKScanFlowError : Swift.Equatable {}
|
|
425
484
|
extension GSSDK.GSKScanFlowError : Swift.Hashable {}
|
|
Binary file
|
|
@@ -30,6 +30,28 @@ import _SwiftConcurrencyShims
|
|
|
30
30
|
@objc final public func refreshLicenseKey(onSuccess: @escaping (Swift.String) -> Swift.Void, onFailure: @escaping (any Swift.Error, Swift.String) -> Swift.Void)
|
|
31
31
|
@objc deinit
|
|
32
32
|
}
|
|
33
|
+
@objc public enum GSKReceiptCategory : Swift.Int, Swift.CaseIterable {
|
|
34
|
+
case gas
|
|
35
|
+
case transportation
|
|
36
|
+
case accomodation
|
|
37
|
+
case restaurant
|
|
38
|
+
case supermarket
|
|
39
|
+
case other
|
|
40
|
+
public init?(rawValue: Swift.Int)
|
|
41
|
+
public typealias AllCases = [GSSDK.GSKReceiptCategory]
|
|
42
|
+
public typealias RawValue = Swift.Int
|
|
43
|
+
public static var allCases: [GSSDK.GSKReceiptCategory] {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var rawValue: Swift.Int {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
51
|
+
public var description: Swift.String {
|
|
52
|
+
get
|
|
53
|
+
}
|
|
54
|
+
}
|
|
33
55
|
@_inheritsConvenienceInitializers @objc public class GSKDocumentGenerator : ObjectiveC.NSObject {
|
|
34
56
|
@objc public func generate(_ document: GSSDK.GSKPDFDocument, configuration: GSSDK.GSKDocumentGeneratorConfiguration) throws
|
|
35
57
|
@objc override dynamic public init()
|
|
@@ -225,14 +247,14 @@ public enum GSSDKStrings {
|
|
|
225
247
|
@objc @objcMembers @_Concurrency.MainActor final public class GSKScanFlow : ObjectiveC.NSObject {
|
|
226
248
|
@objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKScanFlowConfiguration)
|
|
227
249
|
#if compiler(>=5.3) && $AsyncAwait
|
|
228
|
-
@
|
|
250
|
+
@nonobjc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKScanFlowResult
|
|
229
251
|
#endif
|
|
230
252
|
@objc deinit
|
|
231
253
|
}
|
|
232
254
|
@objc extension GSSDK.GSKScanFlow {
|
|
233
255
|
@objc @available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead.")
|
|
234
256
|
@_Concurrency.MainActor public static func scanFlowWithConfiguration(_ configuration: GSSDK.GSKScanFlowConfiguration) -> Self
|
|
235
|
-
@objc nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
257
|
+
@objc(startFromViewController:onSuccess:failure:) nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
236
258
|
}
|
|
237
259
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowConfiguration : ObjectiveC.NSObject {
|
|
238
260
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
@@ -392,15 +414,49 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
392
414
|
}
|
|
393
415
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
|
|
394
416
|
@objc final public var bankDetails: GSSDK.GSKScanFlowStructuredDataResultBankDetails?
|
|
417
|
+
@objc final public var businessCardContact: GSSDK.GSKScanFlowStructuredDataResultContact?
|
|
418
|
+
@objc final public var receipt: GSSDK.GSKScanFlowStructuredDataResultReceipt?
|
|
395
419
|
@objc override dynamic public init()
|
|
396
420
|
@objc deinit
|
|
397
421
|
}
|
|
422
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultAddress : ObjectiveC.NSObject {
|
|
423
|
+
@objc final public let city: Swift.String?
|
|
424
|
+
@objc final public let postalCode: Swift.String?
|
|
425
|
+
@objc final public let street: Swift.String?
|
|
426
|
+
@objc final public let state: Swift.String?
|
|
427
|
+
@objc final public let country: Swift.String?
|
|
428
|
+
@objc deinit
|
|
429
|
+
}
|
|
398
430
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResultBankDetails : ObjectiveC.NSObject {
|
|
399
431
|
@objc final public var iban: Swift.String?
|
|
400
432
|
@objc final public var bic: Swift.String?
|
|
401
433
|
@objc override dynamic public init()
|
|
402
434
|
@objc deinit
|
|
403
435
|
}
|
|
436
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultContact : ObjectiveC.NSObject {
|
|
437
|
+
@objc final public let name: Swift.String?
|
|
438
|
+
@objc final public let organization: Swift.String?
|
|
439
|
+
@objc final public let address: GSSDK.GSKScanFlowStructuredDataResultAddress?
|
|
440
|
+
@objc final public let phoneNumbers: [GSSDK.GSKScanFlowStructuredDataResultPhoneNumber]
|
|
441
|
+
@objc final public let links: [Foundation.URL]
|
|
442
|
+
@objc final public let emailAddresses: [Swift.String]
|
|
443
|
+
@objc final public func asCNContact() -> Contacts.CNContact
|
|
444
|
+
@objc deinit
|
|
445
|
+
}
|
|
446
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultPhoneNumber : ObjectiveC.NSObject {
|
|
447
|
+
@objc final public let label: Swift.String
|
|
448
|
+
@objc final public let number: Swift.String
|
|
449
|
+
@objc deinit
|
|
450
|
+
}
|
|
451
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultReceipt : ObjectiveC.NSObject {
|
|
452
|
+
@objc final public let locale: Foundation.Locale?
|
|
453
|
+
@objc final public let merchant: Swift.String?
|
|
454
|
+
final public let amount: Swift.Double?
|
|
455
|
+
@objc final public let currency: Swift.String?
|
|
456
|
+
@objc final public let date: Foundation.Date?
|
|
457
|
+
final public let category: GSSDK.GSKReceiptCategory?
|
|
458
|
+
@objc deinit
|
|
459
|
+
}
|
|
404
460
|
@_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
|
|
405
461
|
@objc public static let shared: GSSDK.GSKUIBackgroundProcessing
|
|
406
462
|
@objc final public let documentGenerationQueue: Dispatch.DispatchQueue
|
|
@@ -420,6 +476,9 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
|
|
|
420
476
|
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
421
477
|
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
422
478
|
}
|
|
479
|
+
extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
|
|
480
|
+
extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
|
|
481
|
+
extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
|
|
423
482
|
extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
424
483
|
extension GSSDK.GSKScanFlowError : Swift.Equatable {}
|
|
425
484
|
extension GSSDK.GSKScanFlowError : Swift.Hashable {}
|