idwise-nfc-react-native-sdk 5.2.9 → 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.
Files changed (51) hide show
  1. package/android/gradle.properties +1 -1
  2. package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +29 -9
  3. package/ios/IDWiseNFC.xcframework/Info.plist +5 -5
  4. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Assets.car +0 -0
  5. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  6. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  7. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  8. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/IDWiseNFC +0 -0
  9. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Info.plist +0 -0
  10. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.abi.json +5138 -2465
  11. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +72 -0
  12. package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +72 -0
  13. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Assets.car +0 -0
  14. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  15. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  16. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  17. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/IDWiseNFC +0 -0
  18. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Info.plist +0 -0
  19. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json +5138 -2465
  20. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +72 -0
  21. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +72 -0
  22. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +5138 -2465
  23. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +72 -0
  24. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +72 -0
  25. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +58 -25
  26. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +2 -2
  27. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
  28. package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_quality_model.mlmodelc/coremldata.bin +0 -0
  29. package/ios/IdwiseMobileSdk.mm +1 -0
  30. package/ios/IdwiseMobileSdk.swift +35 -15
  31. package/lib/commonjs/IDWise.js +6 -1
  32. package/lib/commonjs/IDWise.js.map +1 -1
  33. package/lib/commonjs/IDWiseConstants.js +1 -0
  34. package/lib/commonjs/IDWiseConstants.js.map +1 -1
  35. package/lib/commonjs/IDWiseDynamic.js +5 -0
  36. package/lib/commonjs/IDWiseDynamic.js.map +1 -1
  37. package/lib/commonjs/IDWiseEventListeners.js +4 -0
  38. package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
  39. package/lib/module/IDWise.js +6 -1
  40. package/lib/module/IDWise.js.map +1 -1
  41. package/lib/module/IDWiseConstants.js +1 -0
  42. package/lib/module/IDWiseConstants.js.map +1 -1
  43. package/lib/module/IDWiseDynamic.js +5 -0
  44. package/lib/module/IDWiseDynamic.js.map +1 -1
  45. package/lib/module/IDWiseEventListeners.js +4 -0
  46. package/lib/module/IDWiseEventListeners.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/IDWise.js +7 -0
  49. package/src/IDWiseConstants.js +1 -0
  50. package/src/IDWiseDynamic.js +7 -0
  51. package/src/IDWiseEventListeners.js +5 -0
@@ -4,6 +4,7 @@
4
4
  import AVFoundation
5
5
  import AVKit
6
6
  import AdSupport
7
+ import CommonCrypto
7
8
  import CoreML
8
9
  import CoreMedia
9
10
  import CoreMotion
@@ -38,11 +39,21 @@ extension UIKit.UIApplication {
38
39
  @_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
39
40
  @objc deinit
40
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
+ }
41
51
  public protocol IDWiseJourneyCallbacks {
42
52
  func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
43
53
  func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
44
54
  func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
45
55
  func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
56
+ func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
46
57
  func onError(error: IDWiseNFC.IDWiseError)
47
58
  }
48
59
  public struct JourneyStartedInfo : Swift.Codable {
@@ -57,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
57
68
  }
58
69
  public struct JourneyCancelledInfo : Swift.Codable {
59
70
  public let journeyId: Swift.String
71
+ public var cancellationReason: IDWiseNFC.JourneyCancellationReason
60
72
  public func encode(to encoder: any Swift.Encoder) throws
61
73
  public init(from decoder: any Swift.Decoder) throws
62
74
  }
@@ -66,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
66
78
  public func encode(to encoder: any Swift.Encoder) throws
67
79
  public init(from decoder: any Swift.Decoder) throws
68
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
+ }
69
87
  public struct ApplicantDetailsKeys {
70
88
  public static let FULL_NAME: Swift.String
71
89
  public static let BIRTH_DATE: Swift.String
@@ -86,6 +104,7 @@ public enum IDWiseTheme {
86
104
  public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
87
105
  public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
88
106
  public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
107
+ public class func isDeviceBlocked() -> Swift.Bool
89
108
  @objc deinit
90
109
  }
91
110
  @_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
@@ -100,6 +119,25 @@ public enum IDWiseTheme {
100
119
  public class func unloadSDK()
101
120
  public class func finishJourney()
102
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
103
141
  @objc deinit
104
142
  }
105
143
  public protocol NetworkConfigurable {
@@ -290,6 +328,22 @@ final public class Observable<Value> {
290
328
  final public func remove(observer: Swift.AnyObject)
291
329
  @objc deinit
292
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
+ }
293
347
  public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
294
348
  associatedtype T
295
349
  static var defaultFileName: Swift.String { get }
@@ -462,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
462
516
  public func encode(to encoder: any Swift.Encoder) throws
463
517
  public init(from decoder: any Swift.Decoder) throws
464
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
+ }
465
533
  public struct NFCConfigurationDTO : Swift.Codable {
466
534
  public let performNFC: Swift.Bool?
467
535
  public func encode(to encoder: any Swift.Encoder) throws
@@ -522,6 +590,7 @@ public struct IDWiseErrorCode {
522
590
  public static let stepConcluded: Swift.String
523
591
  public static let nfcScanError: Swift.String
524
592
  public static let noJourneyToResume: Swift.String
593
+ public static let journeyBlocked: Swift.String
525
594
  }
526
595
  public struct IDWiseError : Swift.Codable {
527
596
  public let code: Swift.String
@@ -542,6 +611,9 @@ extension UIKit.UIView {
542
611
  public protocol Cancellable {
543
612
  func cancel()
544
613
  }
614
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
615
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
616
+ extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
545
617
  extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
546
618
  extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
547
619
  extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
@@ -4,6 +4,7 @@
4
4
  import AVFoundation
5
5
  import AVKit
6
6
  import AdSupport
7
+ import CommonCrypto
7
8
  import CoreML
8
9
  import CoreMedia
9
10
  import CoreMotion
@@ -38,11 +39,21 @@ extension UIKit.UIApplication {
38
39
  @_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
39
40
  @objc deinit
40
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
+ }
41
51
  public protocol IDWiseJourneyCallbacks {
42
52
  func onJourneyStarted(journeyStartedInfo: IDWiseNFC.JourneyStartedInfo)
43
53
  func onJourneyResumed(journeyResumedInfo: IDWiseNFC.JourneyResumedInfo)
44
54
  func onJourneyCompleted(journeyCompletedInfo: IDWiseNFC.JourneyCompletedInfo)
45
55
  func onJourneyCancelled(journeyCancelledInfo: IDWiseNFC.JourneyCancelledInfo)
56
+ func onJourneyBlocked(journeyBlockedInfo: IDWiseNFC.JourneyBlockedInfo)
46
57
  func onError(error: IDWiseNFC.IDWiseError)
47
58
  }
48
59
  public struct JourneyStartedInfo : Swift.Codable {
@@ -57,6 +68,7 @@ public struct JourneyResumedInfo : Swift.Codable {
57
68
  }
58
69
  public struct JourneyCancelledInfo : Swift.Codable {
59
70
  public let journeyId: Swift.String
71
+ public var cancellationReason: IDWiseNFC.JourneyCancellationReason
60
72
  public func encode(to encoder: any Swift.Encoder) throws
61
73
  public init(from decoder: any Swift.Decoder) throws
62
74
  }
@@ -66,6 +78,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
66
78
  public func encode(to encoder: any Swift.Encoder) throws
67
79
  public init(from decoder: any Swift.Decoder) throws
68
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
+ }
69
87
  public struct ApplicantDetailsKeys {
70
88
  public static let FULL_NAME: Swift.String
71
89
  public static let BIRTH_DATE: Swift.String
@@ -86,6 +104,7 @@ public enum IDWiseTheme {
86
104
  public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
87
105
  public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
88
106
  public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
107
+ public class func isDeviceBlocked() -> Swift.Bool
89
108
  @objc deinit
90
109
  }
91
110
  @_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
@@ -100,6 +119,25 @@ public enum IDWiseTheme {
100
119
  public class func unloadSDK()
101
120
  public class func finishJourney()
102
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
103
141
  @objc deinit
104
142
  }
105
143
  public protocol NetworkConfigurable {
@@ -290,6 +328,22 @@ final public class Observable<Value> {
290
328
  final public func remove(observer: Swift.AnyObject)
291
329
  @objc deinit
292
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
+ }
293
347
  public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
294
348
  associatedtype T
295
349
  static var defaultFileName: Swift.String { get }
@@ -462,6 +516,20 @@ public struct JourneySummaryInternal : Swift.Codable {
462
516
  public func encode(to encoder: any Swift.Encoder) throws
463
517
  public init(from decoder: any Swift.Decoder) throws
464
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
+ }
465
533
  public struct NFCConfigurationDTO : Swift.Codable {
466
534
  public let performNFC: Swift.Bool?
467
535
  public func encode(to encoder: any Swift.Encoder) throws
@@ -522,6 +590,7 @@ public struct IDWiseErrorCode {
522
590
  public static let stepConcluded: Swift.String
523
591
  public static let nfcScanError: Swift.String
524
592
  public static let noJourneyToResume: Swift.String
593
+ public static let journeyBlocked: Swift.String
525
594
  }
526
595
  public struct IDWiseError : Swift.Codable {
527
596
  public let code: Swift.String
@@ -542,6 +611,9 @@ extension UIKit.UIView {
542
611
  public protocol Cancellable {
543
612
  func cancel()
544
613
  }
614
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
615
+ extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
616
+ extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
545
617
  extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
546
618
  extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
547
619
  extension IDWiseNFC.LoaderPosition : Swift.Equatable {}