idwise-nfc-react-native-sdk 5.3.1 → 5.4.4
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/Info.plist +5 -5
- 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 +5822 -3031
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +73 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +73 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/TokenExpiredVC.storyboardc/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/TokenExpiredVC.storyboardc/TokenExpiredVC.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/TokenExpiredVC.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/ar.lproj/CustomLocalized.strings +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/ckb.lproj/CustomLocalized.strings +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +2 -2
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/en.lproj/CustomLocalized.strings +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/en.lproj/Localizable.strings +0 -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 +5822 -3031
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +73 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +73 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +5822 -3031
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +73 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +73 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/TokenExpiredVC.storyboardc/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/TokenExpiredVC.storyboardc/TokenExpiredVC.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/TokenExpiredVC.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +147 -27
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/ar.lproj/CustomLocalized.strings +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/ckb.lproj/CustomLocalized.strings +0 -0
- 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/metadata.json +2 -2
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/en.lproj/CustomLocalized.strings +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/en.lproj/Localizable.strings +0 -0
- package/ios/IdwiseMobileSdk.mm +1 -0
- package/ios/IdwiseMobileSdk.swift +36 -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,10 +78,17 @@ 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
|
|
73
90
|
public static let SEX: Swift.String
|
|
91
|
+
public static let ADDRESS: Swift.String
|
|
74
92
|
}
|
|
75
93
|
public enum IDWiseTheme {
|
|
76
94
|
case light, dark, systemDefault
|
|
@@ -87,6 +105,7 @@ public enum IDWiseTheme {
|
|
|
87
105
|
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
88
106
|
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
89
107
|
public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
|
|
108
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
90
109
|
@objc deinit
|
|
91
110
|
}
|
|
92
111
|
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
|
|
@@ -101,6 +120,25 @@ public enum IDWiseTheme {
|
|
|
101
120
|
public class func unloadSDK()
|
|
102
121
|
public class func finishJourney()
|
|
103
122
|
public class func skipStep(stepId: Swift.String)
|
|
123
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
124
|
+
@objc deinit
|
|
125
|
+
}
|
|
126
|
+
@_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseNFC.PersistenceService {
|
|
127
|
+
public static let shared: IDWiseNFC.UserDefaultsPersistenceService
|
|
128
|
+
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
|
|
129
|
+
public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
130
|
+
public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
131
|
+
public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
132
|
+
public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
133
|
+
public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
134
|
+
public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
135
|
+
public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
136
|
+
public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
137
|
+
public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
138
|
+
public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
139
|
+
public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
140
|
+
public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
141
|
+
public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
104
142
|
@objc deinit
|
|
105
143
|
}
|
|
106
144
|
public protocol NetworkConfigurable {
|
|
@@ -291,6 +329,22 @@ final public class Observable<Value> {
|
|
|
291
329
|
final public func remove(observer: Swift.AnyObject)
|
|
292
330
|
@objc deinit
|
|
293
331
|
}
|
|
332
|
+
public protocol PersistenceService {
|
|
333
|
+
func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
334
|
+
func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
335
|
+
func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
336
|
+
func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
337
|
+
func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
338
|
+
func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
339
|
+
func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
340
|
+
func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
341
|
+
func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
342
|
+
func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
343
|
+
func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
344
|
+
func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
345
|
+
func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
346
|
+
func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
347
|
+
}
|
|
294
348
|
public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
|
|
295
349
|
associatedtype T
|
|
296
350
|
static var defaultFileName: Swift.String { get }
|
|
@@ -463,6 +517,20 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
463
517
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
464
518
|
public init(from decoder: any Swift.Decoder) throws
|
|
465
519
|
}
|
|
520
|
+
public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
|
|
521
|
+
public let canRetry: Swift.Bool?
|
|
522
|
+
public let blockReasonMessage: Swift.String?
|
|
523
|
+
public let allBlockReasons: [IDWiseNFC.BlockReason]?
|
|
524
|
+
public static func == (a: IDWiseNFC.BlockedTransaction, b: IDWiseNFC.BlockedTransaction) -> Swift.Bool
|
|
525
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
526
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
527
|
+
}
|
|
528
|
+
public struct BlockReason : Swift.Codable, Swift.Equatable {
|
|
529
|
+
public let blockReasonCode: Swift.String?
|
|
530
|
+
public static func == (a: IDWiseNFC.BlockReason, b: IDWiseNFC.BlockReason) -> Swift.Bool
|
|
531
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
532
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
533
|
+
}
|
|
466
534
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
467
535
|
public let performNFC: Swift.Bool?
|
|
468
536
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -523,6 +591,8 @@ public struct IDWiseErrorCode {
|
|
|
523
591
|
public static let stepConcluded: Swift.String
|
|
524
592
|
public static let nfcScanError: Swift.String
|
|
525
593
|
public static let noJourneyToResume: Swift.String
|
|
594
|
+
public static let tokenExpired: Swift.String
|
|
595
|
+
public static let journeyBlocked: Swift.String
|
|
526
596
|
}
|
|
527
597
|
public struct IDWiseError : Swift.Codable {
|
|
528
598
|
public let code: Swift.String
|
|
@@ -543,6 +613,9 @@ extension UIKit.UIView {
|
|
|
543
613
|
public protocol Cancellable {
|
|
544
614
|
func cancel()
|
|
545
615
|
}
|
|
616
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
|
|
617
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
|
|
618
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
|
|
546
619
|
extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
|
|
547
620
|
extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
|
|
548
621
|
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,10 +78,17 @@ 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
|
|
73
90
|
public static let SEX: Swift.String
|
|
91
|
+
public static let ADDRESS: Swift.String
|
|
74
92
|
}
|
|
75
93
|
public enum IDWiseTheme {
|
|
76
94
|
case light, dark, systemDefault
|
|
@@ -87,6 +105,7 @@ public enum IDWiseTheme {
|
|
|
87
105
|
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
88
106
|
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseNFC.IDWiseJourneyCallbacks)
|
|
89
107
|
public class func initialize(clientKey: Swift.String, theme: IDWiseNFC.IDWiseTheme, onError: @escaping (IDWiseNFC.IDWiseError?) -> ())
|
|
108
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
90
109
|
@objc deinit
|
|
91
110
|
}
|
|
92
111
|
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseNFC.IDWiseInternal {
|
|
@@ -101,6 +120,25 @@ public enum IDWiseTheme {
|
|
|
101
120
|
public class func unloadSDK()
|
|
102
121
|
public class func finishJourney()
|
|
103
122
|
public class func skipStep(stepId: Swift.String)
|
|
123
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
124
|
+
@objc deinit
|
|
125
|
+
}
|
|
126
|
+
@_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseNFC.PersistenceService {
|
|
127
|
+
public static let shared: IDWiseNFC.UserDefaultsPersistenceService
|
|
128
|
+
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
|
|
129
|
+
public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
130
|
+
public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
131
|
+
public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
132
|
+
public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
133
|
+
public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
134
|
+
public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
135
|
+
public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
136
|
+
public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
137
|
+
public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
138
|
+
public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
139
|
+
public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
140
|
+
public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
141
|
+
public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
104
142
|
@objc deinit
|
|
105
143
|
}
|
|
106
144
|
public protocol NetworkConfigurable {
|
|
@@ -291,6 +329,22 @@ final public class Observable<Value> {
|
|
|
291
329
|
final public func remove(observer: Swift.AnyObject)
|
|
292
330
|
@objc deinit
|
|
293
331
|
}
|
|
332
|
+
public protocol PersistenceService {
|
|
333
|
+
func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
334
|
+
func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
335
|
+
func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
336
|
+
func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
337
|
+
func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
338
|
+
func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
339
|
+
func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
340
|
+
func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
341
|
+
func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
342
|
+
func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
343
|
+
func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
344
|
+
func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
345
|
+
func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
346
|
+
func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
347
|
+
}
|
|
294
348
|
public protocol StoryboardInstantiable : ObjectiveC.NSObjectProtocol {
|
|
295
349
|
associatedtype T
|
|
296
350
|
static var defaultFileName: Swift.String { get }
|
|
@@ -463,6 +517,20 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
463
517
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
464
518
|
public init(from decoder: any Swift.Decoder) throws
|
|
465
519
|
}
|
|
520
|
+
public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
|
|
521
|
+
public let canRetry: Swift.Bool?
|
|
522
|
+
public let blockReasonMessage: Swift.String?
|
|
523
|
+
public let allBlockReasons: [IDWiseNFC.BlockReason]?
|
|
524
|
+
public static func == (a: IDWiseNFC.BlockedTransaction, b: IDWiseNFC.BlockedTransaction) -> Swift.Bool
|
|
525
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
526
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
527
|
+
}
|
|
528
|
+
public struct BlockReason : Swift.Codable, Swift.Equatable {
|
|
529
|
+
public let blockReasonCode: Swift.String?
|
|
530
|
+
public static func == (a: IDWiseNFC.BlockReason, b: IDWiseNFC.BlockReason) -> Swift.Bool
|
|
531
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
532
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
533
|
+
}
|
|
466
534
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
467
535
|
public let performNFC: Swift.Bool?
|
|
468
536
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -523,6 +591,8 @@ public struct IDWiseErrorCode {
|
|
|
523
591
|
public static let stepConcluded: Swift.String
|
|
524
592
|
public static let nfcScanError: Swift.String
|
|
525
593
|
public static let noJourneyToResume: Swift.String
|
|
594
|
+
public static let tokenExpired: Swift.String
|
|
595
|
+
public static let journeyBlocked: Swift.String
|
|
526
596
|
}
|
|
527
597
|
public struct IDWiseError : Swift.Codable {
|
|
528
598
|
public let code: Swift.String
|
|
@@ -543,6 +613,9 @@ extension UIKit.UIView {
|
|
|
543
613
|
public protocol Cancellable {
|
|
544
614
|
func cancel()
|
|
545
615
|
}
|
|
616
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Equatable {}
|
|
617
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.Hashable {}
|
|
618
|
+
extension IDWiseNFC.JourneyCancellationReason : Swift.RawRepresentable {}
|
|
546
619
|
extension IDWiseNFC.IDWiseTheme : Swift.Equatable {}
|
|
547
620
|
extension IDWiseNFC.IDWiseTheme : Swift.Hashable {}
|
|
548
621
|
extension IDWiseNFC.LoaderPosition : Swift.Equatable {}
|