idwise-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 +6 -0
- package/ios/IDWiseSDK.xcframework/Info.plist +5 -5
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Assets.car +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/DocumentTypeTableViewCell.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/IDWiseSDK +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json +12385 -9578
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +82 -12
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +82 -12
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +60 -27
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +61 -64
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_quality_model.mlmodelc/metadata.json +18 -21
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Assets.car +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/DocumentTypeTableViewCell.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +12385 -9578
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +82 -12
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +82 -12
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +12385 -9578
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +82 -12
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +82 -12
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +70 -37
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +61 -64
- package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/document_quality_model.mlmodelc/metadata.json +18 -21
- package/ios/IdwiseMobileSdk.swift +13 -1
- package/lib/commonjs/IDWiseConstants.js +1 -0
- package/lib/commonjs/IDWiseConstants.js.map +1 -1
- package/lib/commonjs/IDWiseEventListeners.js +4 -0
- package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
- package/lib/module/IDWiseConstants.js +1 -0
- package/lib/module/IDWiseConstants.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/IDWiseConstants.js +1 -0
- package/src/IDWiseEventListeners.js +5 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
|
|
3
3
|
// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name IDWiseSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
4
|
import AVFoundation
|
|
6
5
|
import AVKit
|
|
7
6
|
import AdSupport
|
|
@@ -49,6 +48,7 @@ public enum IDWiseTheme {
|
|
|
49
48
|
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
50
49
|
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
51
50
|
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.IDWiseTheme, onError: @escaping (IDWiseSDK.IDWiseError?) -> ())
|
|
51
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
52
52
|
@objc deinit
|
|
53
53
|
}
|
|
54
54
|
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseSDK.IDWiseInternal {
|
|
@@ -63,6 +63,7 @@ public enum IDWiseTheme {
|
|
|
63
63
|
public class func unloadSDK()
|
|
64
64
|
public class func finishJourney()
|
|
65
65
|
public class func skipStep(stepId: Swift.String)
|
|
66
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
66
67
|
@objc deinit
|
|
67
68
|
}
|
|
68
69
|
public protocol NetworkConfigurable {
|
|
@@ -78,17 +79,17 @@ public struct ApiDataNetworkConfig : IDWiseSDK.NetworkConfigurable {
|
|
|
78
79
|
public var queryParameters: [Swift.String : Swift.String]
|
|
79
80
|
public init(baseURL: Foundation.URL, headers: [Swift.String : Swift.String] = [:], queryParameters: [Swift.String : Swift.String] = [:])
|
|
80
81
|
}
|
|
81
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor
|
|
82
|
-
@objc @IBOutlet @_Concurrency.MainActor
|
|
82
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class MenuWidgetView : UIKit.UIView {
|
|
83
|
+
@objc @IBOutlet @_Concurrency.MainActor(unsafe) weak public var menuTableView: UIKit.UITableView!
|
|
83
84
|
@objc deinit
|
|
84
85
|
}
|
|
85
86
|
extension IDWiseSDK.MenuWidgetView : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
|
|
86
|
-
@_Concurrency.MainActor @
|
|
87
|
-
@_Concurrency.MainActor @
|
|
88
|
-
@_Concurrency.MainActor @
|
|
89
|
-
@_Concurrency.MainActor @
|
|
90
|
-
@_Concurrency.MainActor @
|
|
91
|
-
@_Concurrency.MainActor @
|
|
87
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
|
|
88
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
|
|
89
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreFoundation.CGFloat
|
|
90
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView?
|
|
91
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
|
|
92
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreFoundation.CGFloat
|
|
92
93
|
}
|
|
93
94
|
public struct IDWiseErrorCode {
|
|
94
95
|
public static let emptyParameters: Swift.String
|
|
@@ -109,6 +110,7 @@ public struct IDWiseErrorCode {
|
|
|
109
110
|
public static let stepConcluded: Swift.String
|
|
110
111
|
public static let nfcScanError: Swift.String
|
|
111
112
|
public static let noJourneyToResume: Swift.String
|
|
113
|
+
public static let journeyBlocked: Swift.String
|
|
112
114
|
}
|
|
113
115
|
public struct IDWiseError : Swift.Codable {
|
|
114
116
|
public let code: Swift.String
|
|
@@ -163,11 +165,21 @@ public struct NFCResult : Swift.Codable {
|
|
|
163
165
|
extension UIKit.UIFont {
|
|
164
166
|
public static let loadCustomFonts: ()
|
|
165
167
|
}
|
|
168
|
+
public enum JourneyCancellationReason : Swift.String, Swift.Codable {
|
|
169
|
+
case userCancelled
|
|
170
|
+
case tokenExpired
|
|
171
|
+
public init?(rawValue: Swift.String)
|
|
172
|
+
public typealias RawValue = Swift.String
|
|
173
|
+
public var rawValue: Swift.String {
|
|
174
|
+
get
|
|
175
|
+
}
|
|
176
|
+
}
|
|
166
177
|
public protocol IDWiseJourneyCallbacks {
|
|
167
178
|
func onJourneyStarted(journeyStartedInfo: IDWiseSDK.JourneyStartedInfo)
|
|
168
179
|
func onJourneyResumed(journeyResumedInfo: IDWiseSDK.JourneyResumedInfo)
|
|
169
180
|
func onJourneyCompleted(journeyCompletedInfo: IDWiseSDK.JourneyCompletedInfo)
|
|
170
181
|
func onJourneyCancelled(journeyCancelledInfo: IDWiseSDK.JourneyCancelledInfo)
|
|
182
|
+
func onJourneyBlocked(journeyBlockedInfo: IDWiseSDK.JourneyBlockedInfo)
|
|
171
183
|
func onError(error: IDWiseSDK.IDWiseError)
|
|
172
184
|
}
|
|
173
185
|
public struct JourneyStartedInfo : Swift.Codable {
|
|
@@ -182,6 +194,7 @@ public struct JourneyResumedInfo : Swift.Codable {
|
|
|
182
194
|
}
|
|
183
195
|
public struct JourneyCancelledInfo : Swift.Codable {
|
|
184
196
|
public let journeyId: Swift.String
|
|
197
|
+
public var cancellationReason: IDWiseSDK.JourneyCancellationReason
|
|
185
198
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
186
199
|
public init(from decoder: any Swift.Decoder) throws
|
|
187
200
|
}
|
|
@@ -191,6 +204,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
|
|
|
191
204
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
192
205
|
public init(from decoder: any Swift.Decoder) throws
|
|
193
206
|
}
|
|
207
|
+
public struct JourneyBlockedInfo : Swift.Codable {
|
|
208
|
+
public let journeyId: Swift.String
|
|
209
|
+
public var blockedTransaction: IDWiseSDK.BlockedTransaction?
|
|
210
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
211
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
212
|
+
}
|
|
194
213
|
public struct ApplicantDetailsKeys {
|
|
195
214
|
public static let FULL_NAME: Swift.String
|
|
196
215
|
public static let BIRTH_DATE: Swift.String
|
|
@@ -304,7 +323,7 @@ public struct StepCapturedInfo {
|
|
|
304
323
|
@objc deinit
|
|
305
324
|
}
|
|
306
325
|
extension UIKit.UIApplication {
|
|
307
|
-
@_Concurrency.MainActor
|
|
326
|
+
@_Concurrency.MainActor(unsafe) public static var isRunningTest: Swift.Bool {
|
|
308
327
|
get
|
|
309
328
|
}
|
|
310
329
|
}
|
|
@@ -337,6 +356,22 @@ extension Swift.Error {
|
|
|
337
356
|
get
|
|
338
357
|
}
|
|
339
358
|
}
|
|
359
|
+
public protocol PersistenceService {
|
|
360
|
+
func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
361
|
+
func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
362
|
+
func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
363
|
+
func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
364
|
+
func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
365
|
+
func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
366
|
+
func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
367
|
+
func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
368
|
+
func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
369
|
+
func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
370
|
+
func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
371
|
+
func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
372
|
+
func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
373
|
+
func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
374
|
+
}
|
|
340
375
|
public enum HTTPMethodType : Swift.String {
|
|
341
376
|
case get
|
|
342
377
|
case head
|
|
@@ -490,6 +525,20 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
490
525
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
491
526
|
public init(from decoder: any Swift.Decoder) throws
|
|
492
527
|
}
|
|
528
|
+
public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
|
|
529
|
+
public let canRetry: Swift.Bool?
|
|
530
|
+
public let blockReasonMessage: Swift.String?
|
|
531
|
+
public let allBlockReasons: [IDWiseSDK.BlockReason]?
|
|
532
|
+
public static func == (a: IDWiseSDK.BlockedTransaction, b: IDWiseSDK.BlockedTransaction) -> Swift.Bool
|
|
533
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
534
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
535
|
+
}
|
|
536
|
+
public struct BlockReason : Swift.Codable, Swift.Equatable {
|
|
537
|
+
public let blockReasonCode: Swift.String?
|
|
538
|
+
public static func == (a: IDWiseSDK.BlockReason, b: IDWiseSDK.BlockReason) -> Swift.Bool
|
|
539
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
540
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
541
|
+
}
|
|
493
542
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
494
543
|
public let performNFC: Swift.Bool?
|
|
495
544
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -533,12 +582,30 @@ public struct StepResult : Swift.Codable {
|
|
|
533
582
|
}
|
|
534
583
|
public struct AccessibilityIdentifier {
|
|
535
584
|
}
|
|
585
|
+
@_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseSDK.PersistenceService {
|
|
586
|
+
public static let shared: IDWiseSDK.UserDefaultsPersistenceService
|
|
587
|
+
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
|
|
588
|
+
public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
589
|
+
public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
590
|
+
public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
591
|
+
public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
592
|
+
public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
593
|
+
public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
594
|
+
public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
595
|
+
public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
596
|
+
public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
597
|
+
public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
598
|
+
public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
599
|
+
public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
600
|
+
public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
601
|
+
@objc deinit
|
|
602
|
+
}
|
|
536
603
|
extension UIKit.UIImage {
|
|
537
604
|
public func resizeImage(with size: CoreFoundation.CGSize?) -> UIKit.UIImage?
|
|
538
605
|
public func cropped(to rect: CoreFoundation.CGRect?) -> UIKit.UIImage
|
|
539
606
|
}
|
|
540
607
|
extension UIKit.UIView {
|
|
541
|
-
@_Concurrency.MainActor
|
|
608
|
+
@_Concurrency.MainActor(unsafe) public func addShadow(_ shadowColor: UIKit.UIColor)
|
|
542
609
|
}
|
|
543
610
|
public protocol Cancellable {
|
|
544
611
|
func cancel()
|
|
@@ -547,6 +614,9 @@ extension IDWiseSDK.IDWiseTheme : Swift.Equatable {}
|
|
|
547
614
|
extension IDWiseSDK.IDWiseTheme : Swift.Hashable {}
|
|
548
615
|
extension IDWiseSDK.LoaderPosition : Swift.Equatable {}
|
|
549
616
|
extension IDWiseSDK.LoaderPosition : Swift.Hashable {}
|
|
617
|
+
extension IDWiseSDK.JourneyCancellationReason : Swift.Equatable {}
|
|
618
|
+
extension IDWiseSDK.JourneyCancellationReason : Swift.Hashable {}
|
|
619
|
+
extension IDWiseSDK.JourneyCancellationReason : Swift.RawRepresentable {}
|
|
550
620
|
extension IDWiseSDK.CancellationReason : Swift.Equatable {}
|
|
551
621
|
extension IDWiseSDK.CancellationReason : Swift.Hashable {}
|
|
552
622
|
extension IDWiseSDK.CancellationReason : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
|
|
3
3
|
// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name IDWiseSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
4
|
import AVFoundation
|
|
6
5
|
import AVKit
|
|
7
6
|
import AdSupport
|
|
@@ -49,6 +48,7 @@ public enum IDWiseTheme {
|
|
|
49
48
|
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
50
49
|
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
51
50
|
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.IDWiseTheme, onError: @escaping (IDWiseSDK.IDWiseError?) -> ())
|
|
51
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
52
52
|
@objc deinit
|
|
53
53
|
}
|
|
54
54
|
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseSDK.IDWiseInternal {
|
|
@@ -63,6 +63,7 @@ public enum IDWiseTheme {
|
|
|
63
63
|
public class func unloadSDK()
|
|
64
64
|
public class func finishJourney()
|
|
65
65
|
public class func skipStep(stepId: Swift.String)
|
|
66
|
+
public class func isDeviceBlocked() -> Swift.Bool
|
|
66
67
|
@objc deinit
|
|
67
68
|
}
|
|
68
69
|
public protocol NetworkConfigurable {
|
|
@@ -78,17 +79,17 @@ public struct ApiDataNetworkConfig : IDWiseSDK.NetworkConfigurable {
|
|
|
78
79
|
public var queryParameters: [Swift.String : Swift.String]
|
|
79
80
|
public init(baseURL: Foundation.URL, headers: [Swift.String : Swift.String] = [:], queryParameters: [Swift.String : Swift.String] = [:])
|
|
80
81
|
}
|
|
81
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor
|
|
82
|
-
@objc @IBOutlet @_Concurrency.MainActor
|
|
82
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class MenuWidgetView : UIKit.UIView {
|
|
83
|
+
@objc @IBOutlet @_Concurrency.MainActor(unsafe) weak public var menuTableView: UIKit.UITableView!
|
|
83
84
|
@objc deinit
|
|
84
85
|
}
|
|
85
86
|
extension IDWiseSDK.MenuWidgetView : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
|
|
86
|
-
@_Concurrency.MainActor @
|
|
87
|
-
@_Concurrency.MainActor @
|
|
88
|
-
@_Concurrency.MainActor @
|
|
89
|
-
@_Concurrency.MainActor @
|
|
90
|
-
@_Concurrency.MainActor @
|
|
91
|
-
@_Concurrency.MainActor @
|
|
87
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
|
|
88
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
|
|
89
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreFoundation.CGFloat
|
|
90
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView?
|
|
91
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
|
|
92
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreFoundation.CGFloat
|
|
92
93
|
}
|
|
93
94
|
public struct IDWiseErrorCode {
|
|
94
95
|
public static let emptyParameters: Swift.String
|
|
@@ -109,6 +110,7 @@ public struct IDWiseErrorCode {
|
|
|
109
110
|
public static let stepConcluded: Swift.String
|
|
110
111
|
public static let nfcScanError: Swift.String
|
|
111
112
|
public static let noJourneyToResume: Swift.String
|
|
113
|
+
public static let journeyBlocked: Swift.String
|
|
112
114
|
}
|
|
113
115
|
public struct IDWiseError : Swift.Codable {
|
|
114
116
|
public let code: Swift.String
|
|
@@ -163,11 +165,21 @@ public struct NFCResult : Swift.Codable {
|
|
|
163
165
|
extension UIKit.UIFont {
|
|
164
166
|
public static let loadCustomFonts: ()
|
|
165
167
|
}
|
|
168
|
+
public enum JourneyCancellationReason : Swift.String, Swift.Codable {
|
|
169
|
+
case userCancelled
|
|
170
|
+
case tokenExpired
|
|
171
|
+
public init?(rawValue: Swift.String)
|
|
172
|
+
public typealias RawValue = Swift.String
|
|
173
|
+
public var rawValue: Swift.String {
|
|
174
|
+
get
|
|
175
|
+
}
|
|
176
|
+
}
|
|
166
177
|
public protocol IDWiseJourneyCallbacks {
|
|
167
178
|
func onJourneyStarted(journeyStartedInfo: IDWiseSDK.JourneyStartedInfo)
|
|
168
179
|
func onJourneyResumed(journeyResumedInfo: IDWiseSDK.JourneyResumedInfo)
|
|
169
180
|
func onJourneyCompleted(journeyCompletedInfo: IDWiseSDK.JourneyCompletedInfo)
|
|
170
181
|
func onJourneyCancelled(journeyCancelledInfo: IDWiseSDK.JourneyCancelledInfo)
|
|
182
|
+
func onJourneyBlocked(journeyBlockedInfo: IDWiseSDK.JourneyBlockedInfo)
|
|
171
183
|
func onError(error: IDWiseSDK.IDWiseError)
|
|
172
184
|
}
|
|
173
185
|
public struct JourneyStartedInfo : Swift.Codable {
|
|
@@ -182,6 +194,7 @@ public struct JourneyResumedInfo : Swift.Codable {
|
|
|
182
194
|
}
|
|
183
195
|
public struct JourneyCancelledInfo : Swift.Codable {
|
|
184
196
|
public let journeyId: Swift.String
|
|
197
|
+
public var cancellationReason: IDWiseSDK.JourneyCancellationReason
|
|
185
198
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
186
199
|
public init(from decoder: any Swift.Decoder) throws
|
|
187
200
|
}
|
|
@@ -191,6 +204,12 @@ public struct JourneyCompletedInfo : Swift.Codable {
|
|
|
191
204
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
192
205
|
public init(from decoder: any Swift.Decoder) throws
|
|
193
206
|
}
|
|
207
|
+
public struct JourneyBlockedInfo : Swift.Codable {
|
|
208
|
+
public let journeyId: Swift.String
|
|
209
|
+
public var blockedTransaction: IDWiseSDK.BlockedTransaction?
|
|
210
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
211
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
212
|
+
}
|
|
194
213
|
public struct ApplicantDetailsKeys {
|
|
195
214
|
public static let FULL_NAME: Swift.String
|
|
196
215
|
public static let BIRTH_DATE: Swift.String
|
|
@@ -304,7 +323,7 @@ public struct StepCapturedInfo {
|
|
|
304
323
|
@objc deinit
|
|
305
324
|
}
|
|
306
325
|
extension UIKit.UIApplication {
|
|
307
|
-
@_Concurrency.MainActor
|
|
326
|
+
@_Concurrency.MainActor(unsafe) public static var isRunningTest: Swift.Bool {
|
|
308
327
|
get
|
|
309
328
|
}
|
|
310
329
|
}
|
|
@@ -337,6 +356,22 @@ extension Swift.Error {
|
|
|
337
356
|
get
|
|
338
357
|
}
|
|
339
358
|
}
|
|
359
|
+
public protocol PersistenceService {
|
|
360
|
+
func set<EnumString, EnumKey>(enumString: EnumString, for key: EnumKey) where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
361
|
+
func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
362
|
+
func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
363
|
+
func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
364
|
+
func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
365
|
+
func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
366
|
+
func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
367
|
+
func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
368
|
+
func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
369
|
+
func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
370
|
+
func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
371
|
+
func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
372
|
+
func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
373
|
+
func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
374
|
+
}
|
|
340
375
|
public enum HTTPMethodType : Swift.String {
|
|
341
376
|
case get
|
|
342
377
|
case head
|
|
@@ -490,6 +525,20 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
490
525
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
491
526
|
public init(from decoder: any Swift.Decoder) throws
|
|
492
527
|
}
|
|
528
|
+
public struct BlockedTransaction : Swift.Codable, Swift.Equatable {
|
|
529
|
+
public let canRetry: Swift.Bool?
|
|
530
|
+
public let blockReasonMessage: Swift.String?
|
|
531
|
+
public let allBlockReasons: [IDWiseSDK.BlockReason]?
|
|
532
|
+
public static func == (a: IDWiseSDK.BlockedTransaction, b: IDWiseSDK.BlockedTransaction) -> Swift.Bool
|
|
533
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
534
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
535
|
+
}
|
|
536
|
+
public struct BlockReason : Swift.Codable, Swift.Equatable {
|
|
537
|
+
public let blockReasonCode: Swift.String?
|
|
538
|
+
public static func == (a: IDWiseSDK.BlockReason, b: IDWiseSDK.BlockReason) -> Swift.Bool
|
|
539
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
540
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
541
|
+
}
|
|
493
542
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
494
543
|
public let performNFC: Swift.Bool?
|
|
495
544
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -533,12 +582,30 @@ public struct StepResult : Swift.Codable {
|
|
|
533
582
|
}
|
|
534
583
|
public struct AccessibilityIdentifier {
|
|
535
584
|
}
|
|
585
|
+
@_hasMissingDesignatedInitializers public class UserDefaultsPersistenceService : IDWiseSDK.PersistenceService {
|
|
586
|
+
public static let shared: IDWiseSDK.UserDefaultsPersistenceService
|
|
587
|
+
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
|
|
588
|
+
public func set<EnumKey>(string: Swift.String, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
589
|
+
public func string<EnumString, EnumKey>(for key: EnumKey) -> EnumString? where EnumString : Swift.RawRepresentable, EnumKey : Swift.RawRepresentable, EnumString.RawValue == Swift.String, EnumKey.RawValue == Swift.String
|
|
590
|
+
public func string<EnumKey>(for key: EnumKey) -> Swift.String? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
591
|
+
public func register<EnumKey>(defaultValue: Swift.Bool, key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
592
|
+
public func set<EnumKey>(bool: Swift.Bool, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
593
|
+
public func bool<EnumKey>(for key: EnumKey) -> Swift.Bool where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
594
|
+
public func set<EnumKey>(date: Foundation.Date?, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
595
|
+
public func date<EnumKey>(for key: EnumKey) -> Foundation.Date? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
596
|
+
public func set<EnumKey>(data: Foundation.Data, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
597
|
+
public func data<EnumKey>(for key: EnumKey) -> Foundation.Data? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
598
|
+
public func removeObject<EnumKey>(for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
599
|
+
public func set<EnumKey>(int: Swift.Int, for key: EnumKey) where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
600
|
+
public func integer<EnumKey>(for key: EnumKey) -> Swift.Int? where EnumKey : Swift.RawRepresentable, EnumKey.RawValue == Swift.String
|
|
601
|
+
@objc deinit
|
|
602
|
+
}
|
|
536
603
|
extension UIKit.UIImage {
|
|
537
604
|
public func resizeImage(with size: CoreFoundation.CGSize?) -> UIKit.UIImage?
|
|
538
605
|
public func cropped(to rect: CoreFoundation.CGRect?) -> UIKit.UIImage
|
|
539
606
|
}
|
|
540
607
|
extension UIKit.UIView {
|
|
541
|
-
@_Concurrency.MainActor
|
|
608
|
+
@_Concurrency.MainActor(unsafe) public func addShadow(_ shadowColor: UIKit.UIColor)
|
|
542
609
|
}
|
|
543
610
|
public protocol Cancellable {
|
|
544
611
|
func cancel()
|
|
@@ -547,6 +614,9 @@ extension IDWiseSDK.IDWiseTheme : Swift.Equatable {}
|
|
|
547
614
|
extension IDWiseSDK.IDWiseTheme : Swift.Hashable {}
|
|
548
615
|
extension IDWiseSDK.LoaderPosition : Swift.Equatable {}
|
|
549
616
|
extension IDWiseSDK.LoaderPosition : Swift.Hashable {}
|
|
617
|
+
extension IDWiseSDK.JourneyCancellationReason : Swift.Equatable {}
|
|
618
|
+
extension IDWiseSDK.JourneyCancellationReason : Swift.Hashable {}
|
|
619
|
+
extension IDWiseSDK.JourneyCancellationReason : Swift.RawRepresentable {}
|
|
550
620
|
extension IDWiseSDK.CancellationReason : Swift.Equatable {}
|
|
551
621
|
extension IDWiseSDK.CancellationReason : Swift.Hashable {}
|
|
552
622
|
extension IDWiseSDK.CancellationReason : Swift.RawRepresentable {}
|
|
Binary file
|