idwise-nfc-react-native-sdk 5.3.1 → 5.4.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/android/gradle.properties +1 -1
- package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +29 -9
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Assets.car +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/IDWiseNFC +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.abi.json +5081 -2474
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +71 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +71 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Assets.car +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/IDWiseNFC +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json +5081 -2474
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +71 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +71 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +5081 -2474
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +71 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +71 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +56 -23
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
- package/ios/IdwiseMobileSdk.mm +1 -0
- package/ios/IdwiseMobileSdk.swift +35 -15
- package/lib/commonjs/IDWise.js +6 -1
- package/lib/commonjs/IDWise.js.map +1 -1
- package/lib/commonjs/IDWiseConstants.js +1 -0
- package/lib/commonjs/IDWiseConstants.js.map +1 -1
- package/lib/commonjs/IDWiseDynamic.js +5 -0
- package/lib/commonjs/IDWiseDynamic.js.map +1 -1
- package/lib/commonjs/IDWiseEventListeners.js +4 -0
- package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
- package/lib/module/IDWise.js +6 -1
- package/lib/module/IDWise.js.map +1 -1
- package/lib/module/IDWiseConstants.js +1 -0
- package/lib/module/IDWiseConstants.js.map +1 -1
- package/lib/module/IDWiseDynamic.js +5 -0
- package/lib/module/IDWiseDynamic.js.map +1 -1
- package/lib/module/IDWiseEventListeners.js +4 -0
- package/lib/module/IDWiseEventListeners.js.map +1 -1
- package/package.json +1 -1
- package/src/IDWise.js +7 -0
- package/src/IDWiseConstants.js +1 -0
- package/src/IDWiseDynamic.js +7 -0
- package/src/IDWiseEventListeners.js +5 -0
|
@@ -39,11 +39,21 @@ extension UIKit.UIApplication {
|
|
|
39
39
|
@_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
42
|
+
public enum JourneyCancellationReason : Swift.String, Swift.Codable {
|
|
43
|
+
case userCancelled
|
|
44
|
+
case tokenExpired
|
|
45
|
+
public init?(rawValue: Swift.String)
|
|
46
|
+
public typealias RawValue = Swift.String
|
|
47
|
+
public var rawValue: Swift.String {
|
|
48
|
+
get
|
|
49
|
+
}
|
|
50
|
+
}
|
|
42
51
|
public protocol IDWiseJourneyCallbacks {
|
|
43
52
|
func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
|
|
44
53
|
func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
|
|
45
54
|
func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
|
|
46
55
|
func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
|
|
56
|
+
func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
|
|
47
57
|
func onError(error: IDWiseNFC.IDWiseError)
|
|
48
58
|
}
|
|
49
59
|
public struct JourneyStartedInfo : Swift.Codable {
|
|
@@ -58,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
|
|
|
58
68
|
}
|
|
59
69
|
public struct JourneyCancelledInfo : Swift.Codable {
|
|
60
70
|
public let journeyId: Swift.String
|
|
71
|
+
public var cancellationReason: IDWiseNFC.JourneyCancellationReason
|
|
61
72
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
62
73
|
public init(from decoder: any Swift.Decoder) throws
|
|
63
74
|
}
|
|
@@ -67,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
|
|
|
67
78
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
68
79
|
public init(from decoder: any Swift.Decoder) throws
|
|
69
80
|
}
|
|
81
|
+
public struct JourneyBlockedInfo : Swift.Codable {
|
|
82
|
+
public let journeyId: Swift.String
|
|
83
|
+
public var blockedTransaction: IDWiseNFC.BlockedTransaction?
|
|
84
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
85
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
86
|
+
}
|
|
70
87
|
public struct ApplicantDetailsKeys {
|
|
71
88
|
public static let FULL_NAME: Swift.String
|
|
72
89
|
public static let BIRTH_DATE: Swift.String
|
|
@@ -87,6 +104,7 @@ public enum IDWiseTheme {
|
|
|
87
104
|
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
88
105
|
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
89
106
|
public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
|
|
107
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
90
108
|
@objc deinit
|
|
91
109
|
}
|
|
92
110
|
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
|
|
@@ -101,6 +119,25 @@ public enum IDWiseTheme {
|
|
|
101
119
|
public class func unloadSDK()
|
|
102
120
|
public class func finishJourney()
|
|
103
121
|
public class func skipStep(stepId: Swift.String)
|
|
122
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
123
|
+
@objc deinit
|
|
124
|
+
}
|
|
125
|
+
@_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseNFC.PersistenceService {
|
|
126
|
+
public static let shared: IDWiseNFC.UserDefaultsPersistenceService
|
|
127
|
+
public func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
128
|
+
public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
129
|
+
public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
130
|
+
public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
131
|
+
public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
132
|
+
public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
133
|
+
public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
134
|
+
public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
135
|
+
public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
136
|
+
public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
137
|
+
public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
138
|
+
public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
139
|
+
public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
140
|
+
public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
104
141
|
@objc deinit
|
|
105
142
|
}
|
|
106
143
|
public protocol NetworkConfigurable {
|
|
@@ -291,6 +328,22 @@ final public class Observable<Value> {
|
|
|
291
328
|
final public func remove(observer: Swift.AnyObject)
|
|
292
329
|
@objc deinit
|
|
293
330
|
}
|
|
331
|
+
public protocol PersistenceService {
|
|
332
|
+
func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
333
|
+
func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
334
|
+
func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
335
|
+
func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
336
|
+
func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
337
|
+
func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
338
|
+
func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
339
|
+
func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
340
|
+
func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
341
|
+
func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
342
|
+
func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
343
|
+
func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
344
|
+
func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
345
|
+
func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
346
|
+
}
|
|
294
347
|
public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
|
|
295
348
|
associatedtype T
|
|
296
349
|
static var defaultFileName: Swift.String { get }
|
|
@@ -463,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
463
516
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
464
517
|
public init(from decoder: any Swift.Decoder) throws
|
|
465
518
|
}
|
|
519
|
+
public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
|
|
520
|
+
public let canRetry: Swift.Bool?
|
|
521
|
+
public let blockReasonMessage: Swift.String?
|
|
522
|
+
public let allBlockReasons: [IDWiseNFC.BlockReason]?
|
|
523
|
+
public static func == (a: IDWiseNFC.BlockedTransaction, b: IDWiseNFC.BlockedTransaction) -> Swift.Bool
|
|
524
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
525
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
526
|
+
}
|
|
527
|
+
public struct BlockReason : Swift.Codable, Swift.Equatable {
|
|
528
|
+
public let blockReasonCode: Swift.String?
|
|
529
|
+
public static func == (a: IDWiseNFC.BlockReason, b: IDWiseNFC.BlockReason) -> Swift.Bool
|
|
530
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
531
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
532
|
+
}
|
|
466
533
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
467
534
|
public let performNFC: Swift.Bool?
|
|
468
535
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -523,6 +590,7 @@ public struct IDWiseErrorCode {
|
|
|
523
590
|
public static let stepConcluded: Swift.String
|
|
524
591
|
public static let nfcScanError: Swift.String
|
|
525
592
|
public static let noJourneyToResume: Swift.String
|
|
593
|
+
public static let journeyBlocked: Swift.String
|
|
526
594
|
}
|
|
527
595
|
public struct IDWiseError : Swift.Codable {
|
|
528
596
|
public let code: Swift.String
|
|
@@ -543,6 +611,9 @@ extension UIKit.UIView {
|
|
|
543
611
|
public protocol Cancellable {
|
|
544
612
|
func cancel()
|
|
545
613
|
}
|
|
614
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
|
|
615
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
|
|
616
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
|
|
546
617
|
extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
|
|
547
618
|
extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
|
|
548
619
|
extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
|
|
@@ -39,11 +39,21 @@ extension UIKit.UIApplication {
|
|
|
39
39
|
@_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
|
|
40
40
|
@objc deinit
|
|
41
41
|
}
|
|
42
|
+
public enum JourneyCancellationReason : Swift.String, Swift.Codable {
|
|
43
|
+
case userCancelled
|
|
44
|
+
case tokenExpired
|
|
45
|
+
public init?(rawValue: Swift.String)
|
|
46
|
+
public typealias RawValue = Swift.String
|
|
47
|
+
public var rawValue: Swift.String {
|
|
48
|
+
get
|
|
49
|
+
}
|
|
50
|
+
}
|
|
42
51
|
public protocol IDWiseJourneyCallbacks {
|
|
43
52
|
func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
|
|
44
53
|
func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
|
|
45
54
|
func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
|
|
46
55
|
func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
|
|
56
|
+
func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
|
|
47
57
|
func onError(error: IDWiseNFC.IDWiseError)
|
|
48
58
|
}
|
|
49
59
|
public struct JourneyStartedInfo : Swift.Codable {
|
|
@@ -58,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
|
|
|
58
68
|
}
|
|
59
69
|
public struct JourneyCancelledInfo : Swift.Codable {
|
|
60
70
|
public let journeyId: Swift.String
|
|
71
|
+
public var cancellationReason: IDWiseNFC.JourneyCancellationReason
|
|
61
72
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
62
73
|
public init(from decoder: any Swift.Decoder) throws
|
|
63
74
|
}
|
|
@@ -67,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
|
|
|
67
78
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
68
79
|
public init(from decoder: any Swift.Decoder) throws
|
|
69
80
|
}
|
|
81
|
+
public struct JourneyBlockedInfo : Swift.Codable {
|
|
82
|
+
public let journeyId: Swift.String
|
|
83
|
+
public var blockedTransaction: IDWiseNFC.BlockedTransaction?
|
|
84
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
85
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
86
|
+
}
|
|
70
87
|
public struct ApplicantDetailsKeys {
|
|
71
88
|
public static let FULL_NAME: Swift.String
|
|
72
89
|
public static let BIRTH_DATE: Swift.String
|
|
@@ -87,6 +104,7 @@ public enum IDWiseTheme {
|
|
|
87
104
|
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
88
105
|
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
89
106
|
public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
|
|
107
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
90
108
|
@objc deinit
|
|
91
109
|
}
|
|
92
110
|
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
|
|
@@ -101,6 +119,25 @@ public enum IDWiseTheme {
|
|
|
101
119
|
public class func unloadSDK()
|
|
102
120
|
public class func finishJourney()
|
|
103
121
|
public class func skipStep(stepId: Swift.String)
|
|
122
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
123
|
+
@objc deinit
|
|
124
|
+
}
|
|
125
|
+
@_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseNFC.PersistenceService {
|
|
126
|
+
public static let shared: IDWiseNFC.UserDefaultsPersistenceService
|
|
127
|
+
public func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
128
|
+
public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
129
|
+
public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
130
|
+
public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
131
|
+
public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
132
|
+
public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
133
|
+
public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
134
|
+
public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
135
|
+
public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
136
|
+
public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
137
|
+
public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
138
|
+
public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
139
|
+
public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
140
|
+
public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
104
141
|
@objc deinit
|
|
105
142
|
}
|
|
106
143
|
public protocol NetworkConfigurable {
|
|
@@ -291,6 +328,22 @@ final public class Observable<Value> {
|
|
|
291
328
|
final public func remove(observer: Swift.AnyObject)
|
|
292
329
|
@objc deinit
|
|
293
330
|
}
|
|
331
|
+
public protocol PersistenceService {
|
|
332
|
+
func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
333
|
+
func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
334
|
+
func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
335
|
+
func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
336
|
+
func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
337
|
+
func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
338
|
+
func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
339
|
+
func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
340
|
+
func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
341
|
+
func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
342
|
+
func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
343
|
+
func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
344
|
+
func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
345
|
+
func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
346
|
+
}
|
|
294
347
|
public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
|
|
295
348
|
associatedtype T
|
|
296
349
|
static var defaultFileName: Swift.String { get }
|
|
@@ -463,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
463
516
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
464
517
|
public init(from decoder: any Swift.Decoder) throws
|
|
465
518
|
}
|
|
519
|
+
public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
|
|
520
|
+
public let canRetry: Swift.Bool?
|
|
521
|
+
public let blockReasonMessage: Swift.String?
|
|
522
|
+
public let allBlockReasons: [IDWiseNFC.BlockReason]?
|
|
523
|
+
public static func == (a: IDWiseNFC.BlockedTransaction, b: IDWiseNFC.BlockedTransaction) -> Swift.Bool
|
|
524
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
525
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
526
|
+
}
|
|
527
|
+
public struct BlockReason : Swift.Codable, Swift.Equatable {
|
|
528
|
+
public let blockReasonCode: Swift.String?
|
|
529
|
+
public static func == (a: IDWiseNFC.BlockReason, b: IDWiseNFC.BlockReason) -> Swift.Bool
|
|
530
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
531
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
532
|
+
}
|
|
466
533
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
467
534
|
public let performNFC: Swift.Bool?
|
|
468
535
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -523,6 +590,7 @@ public struct IDWiseErrorCode {
|
|
|
523
590
|
public static let stepConcluded: Swift.String
|
|
524
591
|
public static let nfcScanError: Swift.String
|
|
525
592
|
public static let noJourneyToResume: Swift.String
|
|
593
|
+
public static let journeyBlocked: Swift.String
|
|
526
594
|
}
|
|
527
595
|
public struct IDWiseError : Swift.Codable {
|
|
528
596
|
public let code: Swift.String
|
|
@@ -543,6 +611,9 @@ extension UIKit.UIView {
|
|
|
543
611
|
public protocol Cancellable {
|
|
544
612
|
func cancel()
|
|
545
613
|
}
|
|
614
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
|
|
615
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
|
|
616
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
|
|
546
617
|
extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
|
|
547
618
|
extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
|
|
548
619
|
extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|