@thegrizzlylabs/react-native-genius-scan 5.0.0-beta2 → 5.0.0-beta3
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/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 +96 -1
- 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 +8382 -5566
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +59 -0
- 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 +59 -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/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 +192 -2
- 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 +8382 -5566
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +59 -0
- 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 +59 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +8382 -5566
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +59 -0
- 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 +59 -0
- 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()
|
|
@@ -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()
|
|
@@ -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 {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegrizzlylabs/react-native-genius-scan",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-beta3",
|
|
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",
|