idwise-react-native-sdk 4.9.6 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +4 -4
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +94 -73
- package/ios/IDWiseSDK.xcframework/Info.plist +6 -6
- 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 +10601 -9990
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +94 -56
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +94 -56
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +11 -11
- package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +2 -2
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Assets.car +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +10601 -9990
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +94 -56
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +94 -56
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +15 -15
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
- package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +2 -2
- package/ios/IdwiseMobileSdk.mm +4 -2
- package/ios/IdwiseMobileSdk.swift +158 -113
- package/lib/commonjs/ApplicantDetailsKeys.js +12 -0
- package/lib/commonjs/ApplicantDetailsKeys.js.map +1 -0
- package/lib/commonjs/IDWise.js +3 -38
- package/lib/commonjs/IDWise.js.map +1 -1
- package/lib/commonjs/IDWiseConstants.js +3 -3
- package/lib/commonjs/IDWiseConstants.js.map +1 -1
- package/lib/commonjs/IDWiseDynamic.js +60 -0
- package/lib/commonjs/IDWiseDynamic.js.map +1 -0
- package/lib/commonjs/IDWiseEventListeners.js +16 -11
- package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
- package/lib/commonjs/index.js +3 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/ApplicantDetailsKeys.js +6 -0
- package/lib/module/ApplicantDetailsKeys.js.map +1 -0
- package/lib/module/IDWise.js +4 -39
- package/lib/module/IDWise.js.map +1 -1
- package/lib/module/IDWiseConstants.js +2 -2
- package/lib/module/IDWiseConstants.js.map +1 -1
- package/lib/module/IDWiseDynamic.js +54 -0
- package/lib/module/IDWiseDynamic.js.map +1 -0
- package/lib/module/IDWiseEventListeners.js +16 -11
- package/lib/module/IDWiseEventListeners.js.map +1 -1
- package/lib/module/index.js +4 -2
- package/lib/module/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ApplicantDetailsKeys.js +5 -0
- package/src/IDWise.js +7 -60
- package/src/IDWiseConstants.js +2 -2
- package/src/IDWiseDynamic.js +98 -0
- package/src/IDWiseEventListeners.js +17 -16
- package/src/index.js +3 -2
|
@@ -32,43 +32,34 @@ import _SwiftConcurrencyShims
|
|
|
32
32
|
@_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
|
|
33
33
|
@objc deinit
|
|
34
34
|
}
|
|
35
|
-
public
|
|
36
|
-
func JourneyStarted(journeyID: Swift.String)
|
|
37
|
-
func onJourneyResumed(journeyID: Swift.String)
|
|
38
|
-
func JourneyFinished()
|
|
39
|
-
func JourneyCancelled()
|
|
40
|
-
func onError(error: IDWiseSDK.IDWiseSDKError)
|
|
41
|
-
}
|
|
42
|
-
public protocol IDWiseSDKStepDelegate {
|
|
43
|
-
func onStepCaptured(stepId: Swift.Int, capturedImage: UIKit.UIImage?)
|
|
44
|
-
func onStepResult(stepId: Swift.Int, stepResult: IDWiseSDK.StepResult?)
|
|
45
|
-
func onStepConfirmed(stepId: Swift.String)
|
|
46
|
-
func onStepCancelled(stepId: Swift.String)
|
|
47
|
-
func onStepSkipped(stepId: Swift.String)
|
|
48
|
-
}
|
|
49
|
-
public enum IDWiseSDKTheme {
|
|
35
|
+
public enum IDWiseTheme {
|
|
50
36
|
case light, dark, systemDefault
|
|
51
|
-
public static func == (a: IDWiseSDK.
|
|
37
|
+
public static func == (a: IDWiseSDK.IDWiseTheme, b: IDWiseSDK.IDWiseTheme) -> Swift.Bool
|
|
52
38
|
public func hash(into hasher: inout Swift.Hasher)
|
|
53
39
|
public var hashValue: Swift.Int {
|
|
54
40
|
get
|
|
55
41
|
}
|
|
56
42
|
}
|
|
57
|
-
@_hasMissingDesignatedInitializers public class
|
|
43
|
+
@_hasMissingDesignatedInitializers public class IDWiseInternal {
|
|
58
44
|
@objc deinit
|
|
59
45
|
}
|
|
60
|
-
|
|
61
|
-
public class func startJourney(
|
|
62
|
-
public class func
|
|
63
|
-
public class func
|
|
64
|
-
|
|
46
|
+
@_inheritsConvenienceInitializers public class IDWise : IDWiseSDK.IDWiseInternal {
|
|
47
|
+
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
48
|
+
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
49
|
+
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.IDWiseTheme, onError: @escaping (IDWiseSDK.IDWiseError?) -> ())
|
|
50
|
+
@objc deinit
|
|
51
|
+
}
|
|
52
|
+
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseSDK.IDWiseInternal {
|
|
53
|
+
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks, stepCallbacks: any IDWiseSDK.IDWiseStepCallbacks)
|
|
54
|
+
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks, stepCallbacks: any IDWiseSDK.IDWiseStepCallbacks)
|
|
65
55
|
public class func startStep(stepId: Swift.String)
|
|
66
56
|
public class func startStepFromFileUpload(stepId: Swift.String, data: Foundation.Data)
|
|
67
|
-
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.
|
|
68
|
-
public class func getJourneySummary(callback: @escaping ((IDWiseSDK.JourneySummary?, IDWiseSDK.
|
|
57
|
+
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.IDWiseTheme, onError: @escaping (IDWiseSDK.IDWiseError?) -> ())
|
|
58
|
+
public class func getJourneySummary(callback: @escaping ((IDWiseSDK.JourneySummary?, IDWiseSDK.IDWiseError?) -> ()))
|
|
69
59
|
public class func unloadSDK()
|
|
70
|
-
public class func
|
|
60
|
+
public class func finishJourney()
|
|
71
61
|
public class func skipStep(stepId: Swift.String)
|
|
62
|
+
@objc deinit
|
|
72
63
|
}
|
|
73
64
|
public protocol NetworkConfigurable {
|
|
74
65
|
var baseURL: Foundation.URL { get }
|
|
@@ -95,6 +86,14 @@ extension IDWiseSDK.MenuWidgetView : UIKit.UITableViewDelegate, UIKit.UITableVie
|
|
|
95
86
|
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
|
|
96
87
|
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreFoundation.CGFloat
|
|
97
88
|
}
|
|
89
|
+
public struct ErrorCodes {
|
|
90
|
+
}
|
|
91
|
+
public struct IDWiseError : Swift.Codable {
|
|
92
|
+
public let code: Swift.String
|
|
93
|
+
public let message: Swift.String
|
|
94
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
95
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
96
|
+
}
|
|
98
97
|
public enum LoaderPosition {
|
|
99
98
|
case middle
|
|
100
99
|
case lower
|
|
@@ -141,6 +140,39 @@ public struct NFCResult : Swift.Codable {
|
|
|
141
140
|
extension UIKit.UIFont {
|
|
142
141
|
public static let loadCustomFonts: ()
|
|
143
142
|
}
|
|
143
|
+
public protocol IDWiseJourneyCallbacks {
|
|
144
|
+
func onJourneyStarted(journeyStartedInfo: IDWiseSDK.JourneyStartedInfo)
|
|
145
|
+
func onJourneyResumed(journeyResumedInfo: IDWiseSDK.JourneyResumedInfo)
|
|
146
|
+
func onJourneyCompleted(journeyCompletedInfo: IDWiseSDK.JourneyCompletedInfo)
|
|
147
|
+
func onJourneyCancelled(journeyCancelledInfo: IDWiseSDK.JourneyCancelledInfo)
|
|
148
|
+
func onError(error: IDWiseSDK.IDWiseError)
|
|
149
|
+
}
|
|
150
|
+
public struct JourneyStartedInfo : Swift.Codable {
|
|
151
|
+
public let journeyId: Swift.String
|
|
152
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
153
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
154
|
+
}
|
|
155
|
+
public struct JourneyResumedInfo : Swift.Codable {
|
|
156
|
+
public let journeyId: Swift.String
|
|
157
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
158
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
159
|
+
}
|
|
160
|
+
public struct JourneyCancelledInfo : Swift.Codable {
|
|
161
|
+
public let journeyId: Swift.String
|
|
162
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
163
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
164
|
+
}
|
|
165
|
+
public struct JourneyCompletedInfo : Swift.Codable {
|
|
166
|
+
public let journeyId: Swift.String
|
|
167
|
+
public let isSuccessful: Swift.Bool
|
|
168
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
169
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
170
|
+
}
|
|
171
|
+
public struct ApplicantDetailsKeys {
|
|
172
|
+
public static let FULL_NAME: Swift.String
|
|
173
|
+
public static let BIRTH_DATE: Swift.String
|
|
174
|
+
public static let SEX: Swift.String
|
|
175
|
+
}
|
|
144
176
|
public enum NetworkError : Swift.Error {
|
|
145
177
|
case error(statusCode: Swift.Int, data: Foundation.Data?)
|
|
146
178
|
case notConnected
|
|
@@ -241,11 +273,32 @@ public class RawDataResponseDecoder : IDWiseSDK.ResponseDecoder {
|
|
|
241
273
|
public func decode<T>(_ data: Foundation.Data) throws -> T where T : Swift.Decodable
|
|
242
274
|
@objc deinit
|
|
243
275
|
}
|
|
244
|
-
public
|
|
276
|
+
public protocol IDWiseStepCallbacks {
|
|
277
|
+
func onStepCaptured(stepCapturedInfo: IDWiseSDK.StepCapturedInfo)
|
|
278
|
+
func onStepResult(stepResultInfo: IDWiseSDK.StepResultInfo)
|
|
279
|
+
func onStepCancelled(stepCancelledInfo: IDWiseSDK.StepCancelledInfo)
|
|
280
|
+
func onStepSkipped(stepSkippedInfo: IDWiseSDK.StepSkippedInfo)
|
|
245
281
|
}
|
|
246
|
-
public struct
|
|
247
|
-
public let
|
|
248
|
-
public
|
|
282
|
+
public struct StepSkippedInfo : Swift.Codable {
|
|
283
|
+
public let stepId: Swift.String
|
|
284
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
285
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
286
|
+
}
|
|
287
|
+
public struct StepCancelledInfo : Swift.Codable {
|
|
288
|
+
public let stepId: Swift.String
|
|
289
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
290
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
291
|
+
}
|
|
292
|
+
public struct StepResultInfo : Swift.Codable {
|
|
293
|
+
public let stepId: Swift.String
|
|
294
|
+
public let stepResult: IDWiseSDK.StepResult?
|
|
295
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
296
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
297
|
+
}
|
|
298
|
+
public struct StepCapturedInfo {
|
|
299
|
+
public let stepId: Swift.String
|
|
300
|
+
public let originalImage: UIKit.UIImage?
|
|
301
|
+
public let croppedImage: UIKit.UIImage?
|
|
249
302
|
}
|
|
250
303
|
@_hasMissingDesignatedInitializers public class UIUtilities {
|
|
251
304
|
public static func addCircle(atPoint point: CoreFoundation.CGPoint, to view: UIKit.UIView, color: UIKit.UIColor, radius: CoreFoundation.CGFloat)
|
|
@@ -434,7 +487,6 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
434
487
|
public let journeyDefinition: IDWiseSDK.JourneyDefinitionDTO?
|
|
435
488
|
public struct StepSummary : Swift.Codable {
|
|
436
489
|
public let definition: IDWiseSDK.JourneySummaryInternal.StepDefinition
|
|
437
|
-
public var result: IDWiseSDK.StepResult?
|
|
438
490
|
public let recognition: IDWiseSDK.DocumentRecognition?
|
|
439
491
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
440
492
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -452,20 +504,6 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
452
504
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
453
505
|
public init(from decoder: any Swift.Decoder) throws
|
|
454
506
|
}
|
|
455
|
-
public struct StepResult : Swift.Codable, Swift.Equatable {
|
|
456
|
-
public let hasPassedRules: Swift.Bool?
|
|
457
|
-
public let documentHasBack: Swift.Bool?
|
|
458
|
-
public let isConcluded: Swift.Bool?
|
|
459
|
-
public let status: Swift.String?, errorUserFeedbackCode: Swift.String?, errorUserFeedbackTitle: Swift.String?, errorUserFeedbackDetails: Swift.String?
|
|
460
|
-
public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]
|
|
461
|
-
public var nfcResult: IDWiseSDK.NFCResult?
|
|
462
|
-
public var recognition: IDWiseSDK.DocumentRecognition?
|
|
463
|
-
public let error_user_feedback_bullets: [Swift.String]?
|
|
464
|
-
public let attempt_id: Swift.String?
|
|
465
|
-
public static func == (lhs: IDWiseSDK.StepResult, rhs: IDWiseSDK.StepResult) -> Swift.Bool
|
|
466
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
467
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
468
|
-
}
|
|
469
507
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
470
508
|
public let performNFC: Swift.Bool?
|
|
471
509
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -491,16 +529,16 @@ public struct JourneySummary : Swift.Codable {
|
|
|
491
529
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
492
530
|
public init(from decoder: any Swift.Decoder) throws
|
|
493
531
|
}
|
|
494
|
-
public
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
532
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
533
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
534
|
+
}
|
|
535
|
+
public struct StepResult : Swift.Codable {
|
|
536
|
+
public let hasPassedRules: Swift.Bool?
|
|
537
|
+
public let isConcluded: Swift.Bool?
|
|
538
|
+
public let status: Swift.String?, errorUserFeedbackCode: Swift.String?, errorUserFeedbackTitle: Swift.String?, errorUserFeedbackDetails: Swift.String?
|
|
539
|
+
public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]?
|
|
540
|
+
public var nfcResult: IDWiseSDK.NFCResult?
|
|
541
|
+
public var recognition: IDWiseSDK.DocumentRecognition?
|
|
504
542
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
505
543
|
public init(from decoder: any Swift.Decoder) throws
|
|
506
544
|
}
|
|
@@ -516,8 +554,8 @@ extension UIKit.UIView {
|
|
|
516
554
|
public protocol Cancellable {
|
|
517
555
|
func cancel()
|
|
518
556
|
}
|
|
519
|
-
extension IDWiseSDK.
|
|
520
|
-
extension IDWiseSDK.
|
|
557
|
+
extension IDWiseSDK.IDWiseTheme : Swift.Equatable {}
|
|
558
|
+
extension IDWiseSDK.IDWiseTheme : Swift.Hashable {}
|
|
521
559
|
extension IDWiseSDK.LoaderPosition : Swift.Equatable {}
|
|
522
560
|
extension IDWiseSDK.LoaderPosition : Swift.Hashable {}
|
|
523
561
|
extension IDWiseSDK.HTTPMethodType : Swift.Equatable {}
|
|
@@ -32,43 +32,34 @@ import _SwiftConcurrencyShims
|
|
|
32
32
|
@_hasMissingDesignatedInitializers final public class InitializeSDKContainer {
|
|
33
33
|
@objc deinit
|
|
34
34
|
}
|
|
35
|
-
public
|
|
36
|
-
func JourneyStarted(journeyID: Swift.String)
|
|
37
|
-
func onJourneyResumed(journeyID: Swift.String)
|
|
38
|
-
func JourneyFinished()
|
|
39
|
-
func JourneyCancelled()
|
|
40
|
-
func onError(error: IDWiseSDK.IDWiseSDKError)
|
|
41
|
-
}
|
|
42
|
-
public protocol IDWiseSDKStepDelegate {
|
|
43
|
-
func onStepCaptured(stepId: Swift.Int, capturedImage: UIKit.UIImage?)
|
|
44
|
-
func onStepResult(stepId: Swift.Int, stepResult: IDWiseSDK.StepResult?)
|
|
45
|
-
func onStepConfirmed(stepId: Swift.String)
|
|
46
|
-
func onStepCancelled(stepId: Swift.String)
|
|
47
|
-
func onStepSkipped(stepId: Swift.String)
|
|
48
|
-
}
|
|
49
|
-
public enum IDWiseSDKTheme {
|
|
35
|
+
public enum IDWiseTheme {
|
|
50
36
|
case light, dark, systemDefault
|
|
51
|
-
public static func == (a: IDWiseSDK.
|
|
37
|
+
public static func == (a: IDWiseSDK.IDWiseTheme, b: IDWiseSDK.IDWiseTheme) -> Swift.Bool
|
|
52
38
|
public func hash(into hasher: inout Swift.Hasher)
|
|
53
39
|
public var hashValue: Swift.Int {
|
|
54
40
|
get
|
|
55
41
|
}
|
|
56
42
|
}
|
|
57
|
-
@_hasMissingDesignatedInitializers public class
|
|
43
|
+
@_hasMissingDesignatedInitializers public class IDWiseInternal {
|
|
58
44
|
@objc deinit
|
|
59
45
|
}
|
|
60
|
-
|
|
61
|
-
public class func startJourney(
|
|
62
|
-
public class func
|
|
63
|
-
public class func
|
|
64
|
-
|
|
46
|
+
@_inheritsConvenienceInitializers public class IDWise : IDWiseSDK.IDWiseInternal {
|
|
47
|
+
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
48
|
+
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks)
|
|
49
|
+
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.IDWiseTheme, onError: @escaping (IDWiseSDK.IDWiseError?) -> ())
|
|
50
|
+
@objc deinit
|
|
51
|
+
}
|
|
52
|
+
@_inheritsConvenienceInitializers public class IDWiseDynamic : IDWiseSDK.IDWiseInternal {
|
|
53
|
+
public class func startJourney(flowId: Swift.String, referenceNumber: Swift.String = "", locale: Swift.String = "", applicantDetails: [Swift.String : Swift.String]?, journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks, stepCallbacks: any IDWiseSDK.IDWiseStepCallbacks)
|
|
54
|
+
public class func resumeJourney(flowId: Swift.String, journeyId: Swift.String, locale: Swift.String = "", journeyCallbacks: any IDWiseSDK.IDWiseJourneyCallbacks, stepCallbacks: any IDWiseSDK.IDWiseStepCallbacks)
|
|
65
55
|
public class func startStep(stepId: Swift.String)
|
|
66
56
|
public class func startStepFromFileUpload(stepId: Swift.String, data: Foundation.Data)
|
|
67
|
-
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.
|
|
68
|
-
public class func getJourneySummary(callback: @escaping ((IDWiseSDK.JourneySummary?, IDWiseSDK.
|
|
57
|
+
public class func initialize(clientKey: Swift.String, theme: IDWiseSDK.IDWiseTheme, onError: @escaping (IDWiseSDK.IDWiseError?) -> ())
|
|
58
|
+
public class func getJourneySummary(callback: @escaping ((IDWiseSDK.JourneySummary?, IDWiseSDK.IDWiseError?) -> ()))
|
|
69
59
|
public class func unloadSDK()
|
|
70
|
-
public class func
|
|
60
|
+
public class func finishJourney()
|
|
71
61
|
public class func skipStep(stepId: Swift.String)
|
|
62
|
+
@objc deinit
|
|
72
63
|
}
|
|
73
64
|
public protocol NetworkConfigurable {
|
|
74
65
|
var baseURL: Foundation.URL { get }
|
|
@@ -95,6 +86,14 @@ extension IDWiseSDK.MenuWidgetView : UIKit.UITableViewDelegate, UIKit.UITableVie
|
|
|
95
86
|
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
|
|
96
87
|
@_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreFoundation.CGFloat
|
|
97
88
|
}
|
|
89
|
+
public struct ErrorCodes {
|
|
90
|
+
}
|
|
91
|
+
public struct IDWiseError : Swift.Codable {
|
|
92
|
+
public let code: Swift.String
|
|
93
|
+
public let message: Swift.String
|
|
94
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
95
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
96
|
+
}
|
|
98
97
|
public enum LoaderPosition {
|
|
99
98
|
case middle
|
|
100
99
|
case lower
|
|
@@ -141,6 +140,39 @@ public struct NFCResult : Swift.Codable {
|
|
|
141
140
|
extension UIKit.UIFont {
|
|
142
141
|
public static let loadCustomFonts: ()
|
|
143
142
|
}
|
|
143
|
+
public protocol IDWiseJourneyCallbacks {
|
|
144
|
+
func onJourneyStarted(journeyStartedInfo: IDWiseSDK.JourneyStartedInfo)
|
|
145
|
+
func onJourneyResumed(journeyResumedInfo: IDWiseSDK.JourneyResumedInfo)
|
|
146
|
+
func onJourneyCompleted(journeyCompletedInfo: IDWiseSDK.JourneyCompletedInfo)
|
|
147
|
+
func onJourneyCancelled(journeyCancelledInfo: IDWiseSDK.JourneyCancelledInfo)
|
|
148
|
+
func onError(error: IDWiseSDK.IDWiseError)
|
|
149
|
+
}
|
|
150
|
+
public struct JourneyStartedInfo : Swift.Codable {
|
|
151
|
+
public let journeyId: Swift.String
|
|
152
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
153
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
154
|
+
}
|
|
155
|
+
public struct JourneyResumedInfo : Swift.Codable {
|
|
156
|
+
public let journeyId: Swift.String
|
|
157
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
158
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
159
|
+
}
|
|
160
|
+
public struct JourneyCancelledInfo : Swift.Codable {
|
|
161
|
+
public let journeyId: Swift.String
|
|
162
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
163
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
164
|
+
}
|
|
165
|
+
public struct JourneyCompletedInfo : Swift.Codable {
|
|
166
|
+
public let journeyId: Swift.String
|
|
167
|
+
public let isSuccessful: Swift.Bool
|
|
168
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
169
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
170
|
+
}
|
|
171
|
+
public struct ApplicantDetailsKeys {
|
|
172
|
+
public static let FULL_NAME: Swift.String
|
|
173
|
+
public static let BIRTH_DATE: Swift.String
|
|
174
|
+
public static let SEX: Swift.String
|
|
175
|
+
}
|
|
144
176
|
public enum NetworkError : Swift.Error {
|
|
145
177
|
case error(statusCode: Swift.Int, data: Foundation.Data?)
|
|
146
178
|
case notConnected
|
|
@@ -241,11 +273,32 @@ public class RawDataResponseDecoder : IDWiseSDK.ResponseDecoder {
|
|
|
241
273
|
public func decode<T>(_ data: Foundation.Data) throws -> T where T : Swift.Decodable
|
|
242
274
|
@objc deinit
|
|
243
275
|
}
|
|
244
|
-
public
|
|
276
|
+
public protocol IDWiseStepCallbacks {
|
|
277
|
+
func onStepCaptured(stepCapturedInfo: IDWiseSDK.StepCapturedInfo)
|
|
278
|
+
func onStepResult(stepResultInfo: IDWiseSDK.StepResultInfo)
|
|
279
|
+
func onStepCancelled(stepCancelledInfo: IDWiseSDK.StepCancelledInfo)
|
|
280
|
+
func onStepSkipped(stepSkippedInfo: IDWiseSDK.StepSkippedInfo)
|
|
245
281
|
}
|
|
246
|
-
public struct
|
|
247
|
-
public let
|
|
248
|
-
public
|
|
282
|
+
public struct StepSkippedInfo : Swift.Codable {
|
|
283
|
+
public let stepId: Swift.String
|
|
284
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
285
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
286
|
+
}
|
|
287
|
+
public struct StepCancelledInfo : Swift.Codable {
|
|
288
|
+
public let stepId: Swift.String
|
|
289
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
290
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
291
|
+
}
|
|
292
|
+
public struct StepResultInfo : Swift.Codable {
|
|
293
|
+
public let stepId: Swift.String
|
|
294
|
+
public let stepResult: IDWiseSDK.StepResult?
|
|
295
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
296
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
297
|
+
}
|
|
298
|
+
public struct StepCapturedInfo {
|
|
299
|
+
public let stepId: Swift.String
|
|
300
|
+
public let originalImage: UIKit.UIImage?
|
|
301
|
+
public let croppedImage: UIKit.UIImage?
|
|
249
302
|
}
|
|
250
303
|
@_hasMissingDesignatedInitializers public class UIUtilities {
|
|
251
304
|
public static func addCircle(atPoint point: CoreFoundation.CGPoint, to view: UIKit.UIView, color: UIKit.UIColor, radius: CoreFoundation.CGFloat)
|
|
@@ -434,7 +487,6 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
434
487
|
public let journeyDefinition: IDWiseSDK.JourneyDefinitionDTO?
|
|
435
488
|
public struct StepSummary : Swift.Codable {
|
|
436
489
|
public let definition: IDWiseSDK.JourneySummaryInternal.StepDefinition
|
|
437
|
-
public var result: IDWiseSDK.StepResult?
|
|
438
490
|
public let recognition: IDWiseSDK.DocumentRecognition?
|
|
439
491
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
440
492
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -452,20 +504,6 @@ public struct JourneySummaryInternal : Swift.Codable {
|
|
|
452
504
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
453
505
|
public init(from decoder: any Swift.Decoder) throws
|
|
454
506
|
}
|
|
455
|
-
public struct StepResult : Swift.Codable, Swift.Equatable {
|
|
456
|
-
public let hasPassedRules: Swift.Bool?
|
|
457
|
-
public let documentHasBack: Swift.Bool?
|
|
458
|
-
public let isConcluded: Swift.Bool?
|
|
459
|
-
public let status: Swift.String?, errorUserFeedbackCode: Swift.String?, errorUserFeedbackTitle: Swift.String?, errorUserFeedbackDetails: Swift.String?
|
|
460
|
-
public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]
|
|
461
|
-
public var nfcResult: IDWiseSDK.NFCResult?
|
|
462
|
-
public var recognition: IDWiseSDK.DocumentRecognition?
|
|
463
|
-
public let error_user_feedback_bullets: [Swift.String]?
|
|
464
|
-
public let attempt_id: Swift.String?
|
|
465
|
-
public static func == (lhs: IDWiseSDK.StepResult, rhs: IDWiseSDK.StepResult) -> Swift.Bool
|
|
466
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
467
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
468
|
-
}
|
|
469
507
|
public struct NFCConfigurationDTO : Swift.Codable {
|
|
470
508
|
public let performNFC: Swift.Bool?
|
|
471
509
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -491,16 +529,16 @@ public struct JourneySummary : Swift.Codable {
|
|
|
491
529
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
492
530
|
public init(from decoder: any Swift.Decoder) throws
|
|
493
531
|
}
|
|
494
|
-
public
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
532
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
533
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
534
|
+
}
|
|
535
|
+
public struct StepResult : Swift.Codable {
|
|
536
|
+
public let hasPassedRules: Swift.Bool?
|
|
537
|
+
public let isConcluded: Swift.Bool?
|
|
538
|
+
public let status: Swift.String?, errorUserFeedbackCode: Swift.String?, errorUserFeedbackTitle: Swift.String?, errorUserFeedbackDetails: Swift.String?
|
|
539
|
+
public var extractedFields: [Swift.String : IDWiseSDK.FieldValue]?
|
|
540
|
+
public var nfcResult: IDWiseSDK.NFCResult?
|
|
541
|
+
public var recognition: IDWiseSDK.DocumentRecognition?
|
|
504
542
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
505
543
|
public init(from decoder: any Swift.Decoder) throws
|
|
506
544
|
}
|
|
@@ -516,8 +554,8 @@ extension UIKit.UIView {
|
|
|
516
554
|
public protocol Cancellable {
|
|
517
555
|
func cancel()
|
|
518
556
|
}
|
|
519
|
-
extension IDWiseSDK.
|
|
520
|
-
extension IDWiseSDK.
|
|
557
|
+
extension IDWiseSDK.IDWiseTheme : Swift.Equatable {}
|
|
558
|
+
extension IDWiseSDK.IDWiseTheme : Swift.Hashable {}
|
|
521
559
|
extension IDWiseSDK.LoaderPosition : Swift.Equatable {}
|
|
522
560
|
extension IDWiseSDK.LoaderPosition : Swift.Hashable {}
|
|
523
561
|
extension IDWiseSDK.HTTPMethodType : Swift.Equatable {}
|
package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</data>
|
|
107
107
|
<key>Info.plist</key>
|
|
108
108
|
<data>
|
|
109
|
-
|
|
109
|
+
glZfpkbNi8k3BBzeeQpD57Gl2Cg=
|
|
110
110
|
</data>
|
|
111
111
|
<key>JourneyIntroductionViewController.storyboardc/A5G-4b-J84-view-Avi-oP-H2l.nib/objects-13.0+.nib</key>
|
|
112
112
|
<data>
|
|
@@ -138,11 +138,11 @@
|
|
|
138
138
|
</data>
|
|
139
139
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
Z8xPBwomRyLuXusOtG5qTQ1v2XM=
|
|
142
142
|
</data>
|
|
143
143
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
OVgCyXFrsJ+CK3kcEzL4KPyBYIs=
|
|
146
146
|
</data>
|
|
147
147
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
|
|
148
148
|
<data>
|
|
@@ -150,11 +150,11 @@
|
|
|
150
150
|
</data>
|
|
151
151
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
|
|
152
152
|
<data>
|
|
153
|
-
|
|
153
|
+
OVgCyXFrsJ+CK3kcEzL4KPyBYIs=
|
|
154
154
|
</data>
|
|
155
155
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
|
|
156
156
|
<data>
|
|
157
|
-
|
|
157
|
+
JTiCLBpQNzXJgCBZCA+0+zHW5e0=
|
|
158
158
|
</data>
|
|
159
159
|
<key>Mulish-Bold.ttf</key>
|
|
160
160
|
<data>
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
</data>
|
|
251
251
|
<key>document_detector.mlmodelc/metadata.json</key>
|
|
252
252
|
<data>
|
|
253
|
-
|
|
253
|
+
8JCCIDkijTVBZPMsFFPt8S0Upok=
|
|
254
254
|
</data>
|
|
255
255
|
<key>document_detector.mlmodelc/model0/analytics/coremldata.bin</key>
|
|
256
256
|
<data>
|
|
@@ -560,14 +560,14 @@
|
|
|
560
560
|
<dict>
|
|
561
561
|
<key>hash2</key>
|
|
562
562
|
<data>
|
|
563
|
-
|
|
563
|
+
awhXSDW3WUcpqxQNl9URryv+6NDlGYu4tAvEbUyGhgs=
|
|
564
564
|
</data>
|
|
565
565
|
</dict>
|
|
566
566
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
|
|
567
567
|
<dict>
|
|
568
568
|
<key>hash2</key>
|
|
569
569
|
<data>
|
|
570
|
-
|
|
570
|
+
Z59XDtxNHuQWeAu42J8lFnlo3VWr0LkJ9oWolg2BeTA=
|
|
571
571
|
</data>
|
|
572
572
|
</dict>
|
|
573
573
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
|
|
@@ -581,14 +581,14 @@
|
|
|
581
581
|
<dict>
|
|
582
582
|
<key>hash2</key>
|
|
583
583
|
<data>
|
|
584
|
-
|
|
584
|
+
Z59XDtxNHuQWeAu42J8lFnlo3VWr0LkJ9oWolg2BeTA=
|
|
585
585
|
</data>
|
|
586
586
|
</dict>
|
|
587
587
|
<key>Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
|
|
588
588
|
<dict>
|
|
589
589
|
<key>hash2</key>
|
|
590
590
|
<data>
|
|
591
|
-
/
|
|
591
|
+
Y7fe8rq/orDPLK/ZBr6ueAWYaI64Guch2wRxvmlhYZ4=
|
|
592
592
|
</data>
|
|
593
593
|
</dict>
|
|
594
594
|
<key>Mulish-Bold.ttf</key>
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
<dict>
|
|
757
757
|
<key>hash2</key>
|
|
758
758
|
<data>
|
|
759
|
-
|
|
759
|
+
ty9T1qME6Ww4ioQJVUnOmYFflM04Cx+1l7azuzxTAzU=
|
|
760
760
|
</data>
|
|
761
761
|
</dict>
|
|
762
762
|
<key>document_detector.mlmodelc/model0/analytics/coremldata.bin</key>
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
],
|
|
91
91
|
"generatedClassName" : "document_detector",
|
|
92
92
|
"userDefinedMetadata" : {
|
|
93
|
+
"classes" : "Doc",
|
|
93
94
|
"confidence_threshold" : "0.25",
|
|
94
|
-
"iou_threshold" : "0.45"
|
|
95
|
-
"classes" : "Doc"
|
|
95
|
+
"iou_threshold" : "0.45"
|
|
96
96
|
},
|
|
97
97
|
"neuralNetworkLayerTypeHistogram" : {
|
|
98
98
|
"Concat" : 13,
|
|
Binary file
|
|
Binary file
|