react-native-plaid-link-sdk 12.8.2 → 13.0.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/.eslintrc.js +5 -0
- package/.gitattributes +3 -0
- package/.nvmrc +1 -0
- package/CHANGELOG.md +1458 -0
- package/README.md +17 -277
- package/V13_MIGRATION_GUIDE.md +470 -0
- package/android/build.gradle +30 -98
- package/android/src/main/AndroidManifest.xml +1 -8
- package/android/src/main/java/expo/modules/plaidlinksdk/PlaidEmbeddedResultDispatcher.kt +19 -0
- package/android/src/main/java/expo/modules/plaidlinksdk/PlaidResultMappers.kt +217 -0
- package/android/src/main/java/expo/modules/plaidlinksdk/RNPlaidLinkSdkVersion.kt +5 -0
- package/android/src/main/java/expo/modules/plaidlinksdk/ReactNativePlaidLinkSdkModule.kt +183 -0
- package/android/src/main/java/expo/modules/plaidlinksdk/ReactNativePlaidLinkSdkView.kt +69 -0
- package/build/PlaidEmbeddedSearchView.d.ts +12 -0
- package/build/PlaidEmbeddedSearchView.d.ts.map +1 -0
- package/build/PlaidEmbeddedSearchView.js +8 -0
- package/build/PlaidEmbeddedSearchView.js.map +1 -0
- package/{dist/src/Types.d.ts → build/ReactNativePlaidLinkSdk.types.d.ts} +78 -47
- package/build/ReactNativePlaidLinkSdk.types.d.ts.map +1 -0
- package/{dist/build → build}/ReactNativePlaidLinkSdk.types.js +82 -71
- package/build/ReactNativePlaidLinkSdk.types.js.map +1 -0
- package/build/ReactNativePlaidLinkSdkModule.d.ts +16 -0
- package/build/ReactNativePlaidLinkSdkModule.d.ts.map +1 -0
- package/{dist/build → build}/ReactNativePlaidLinkSdkModule.js +1 -1
- package/build/ReactNativePlaidLinkSdkModule.js.map +1 -0
- package/build/index.d.ts +13 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +134 -0
- package/build/index.js.map +1 -0
- package/eslint.config.js +3 -0
- package/expo-module.config.json +9 -0
- package/ios/Frameworks/LinkKit.xcframework/Info.plist +61 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/LinkKit-Swift.h +327 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/LinkKit.h +22 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.abi.json +53681 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.private.swiftinterface +756 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftinterface +756 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/PrivacyInfo.xcprivacy +32 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/_CodeSignature/CodeResources +205 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Headers/LinkKit-Swift.h +650 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Headers/LinkKit.h +22 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/arm64-apple-ios-macabi.abi.json +52299 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface +751 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface +751 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/arm64-apple-ios-macabi.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/x86_64-apple-ios-macabi.abi.json +52299 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface +751 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +751 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/LinkKit.swiftmodule/x86_64-apple-ios-macabi.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Modules/module.modulemap +11 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Resources/Info.plist +59 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +32 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-maccatalyst/LinkKit.framework/Versions/A/_CodeSignature/CodeResources +230 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/LinkKit-Swift.h +650 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/LinkKit.h +22 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.abi.json +53681 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +756 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +756 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +53681 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +756 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +756 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/PrivacyInfo.xcprivacy +32 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/_CodeSignature/CodeResources +256 -0
- package/ios/ReactNativePlaidLinkSdk.podspec +31 -0
- package/ios/src/PlaidEmbeddedSearchView.swift +101 -0
- package/ios/src/RNPlaidLinkSdkVersion.swift +19 -0
- package/ios/src/ReactNativePlaidLinkSdkModule.swift +555 -0
- package/jest.config.js +21 -0
- package/jest.setup.js +7 -0
- package/package.json +32 -72
- package/scripts/check-package-entrypoints.js +146 -0
- package/scripts/extract-rn-enums.js +49 -0
- package/src/PlaidEmbeddedSearchView.tsx +35 -0
- package/src/ReactNativePlaidLinkSdk.types.ts +894 -0
- package/src/ReactNativePlaidLinkSdkModule.ts +31 -0
- package/src/index.ts +207 -22
- package/tsconfig.json +9 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
- package/android/gradle.properties +0 -31
- package/android/gradlew +0 -174
- package/android/gradlew.bat +0 -89
- package/android/src/main/java/com/plaid/ActivityResultHandler.java +0 -7
- package/android/src/main/java/com/plaid/ActivityResultManager.java +0 -15
- package/android/src/main/java/com/plaid/GlobalFunctions.kt +0 -42
- package/android/src/main/java/com/plaid/PLKEmbeddedView.kt +0 -161
- package/android/src/main/java/com/plaid/PLKEmbeddedViewManager.kt +0 -50
- package/android/src/main/java/com/plaid/PlaidModule.kt +0 -291
- package/android/src/main/java/com/plaid/PlaidPackage.java +0 -117
- package/android/src/main/java/com/plaid/gson/PlaidJsonConverter.kt +0 -94
- package/android/src/main/java/com/plaid/gson/RNAccountAdapter.kt +0 -48
- package/android/src/main/java/com/plaid/gson/RNEventMetadataAdapter.kt +0 -49
- package/android/src/main/java/com/plaid/gson/RNLinkInstitutionAdapter.kt +0 -34
- package/android/src/main/res/layout/plk_embedded_view.xml +0 -5
- package/android/src/paper/java/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerDelegate.java +0 -35
- package/android/src/paper/java/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerInterface.java +0 -18
- package/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java +0 -64
- package/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java +0 -59
- package/dist/build/EmbeddedLink/EmbeddedLinkView.d.ts +0 -2
- package/dist/build/EmbeddedLink/EmbeddedLinkView.js +0 -56
- package/dist/build/EmbeddedLink/EmbeddedLinkView.web.d.ts +0 -1
- package/dist/build/EmbeddedLink/EmbeddedLinkView.web.js +0 -2
- package/dist/build/EmbeddedLink/NativeEmbeddedLinkView.d.ts +0 -2
- package/dist/build/EmbeddedLink/NativeEmbeddedLinkView.js +0 -3
- package/dist/build/PlaidEmbeddedSearchView.d.ts +0 -2
- package/dist/build/PlaidEmbeddedSearchView.js +0 -25
- package/dist/build/PlaidLink.d.ts +0 -7
- package/dist/build/PlaidLink.js +0 -137
- package/dist/build/ReactNativePlaidLinkSdk.types.d.ts +0 -108
- package/dist/build/ReactNativePlaidLinkSdkModule.d.ts +0 -2
- package/dist/build/ReactNativePlaidLinkSdkView.d.ts +0 -2
- package/dist/build/ReactNativePlaidLinkSdkView.js +0 -7
- package/dist/build/Types.d.ts +0 -108
- package/dist/build/Types.js +0 -462
- package/dist/build/fabric/EmbeddedLinkViewNativeComponent.d.ts +0 -2
- package/dist/build/fabric/EmbeddedLinkViewNativeComponent.js +0 -3
- package/dist/build/fabric/NativePlaidLinkModuleAndroid.d.ts +0 -2
- package/dist/build/fabric/NativePlaidLinkModuleAndroid.js +0 -5
- package/dist/build/fabric/NativePlaidLinkModuleiOS.d.ts +0 -2
- package/dist/build/fabric/NativePlaidLinkModuleiOS.js +0 -5
- package/dist/build/fabric/fabricUtils.d.ts +0 -1
- package/dist/build/fabric/fabricUtils.js +0 -2
- package/dist/build/index.d.ts +0 -14
- package/dist/build/index.js +0 -154
- package/dist/src/EmbeddedLink/EmbeddedLinkView.d.ts +0 -13
- package/dist/src/EmbeddedLink/EmbeddedLinkView.js +0 -55
- package/dist/src/EmbeddedLink/EmbeddedLinkView.web.d.ts +0 -1
- package/dist/src/EmbeddedLink/EmbeddedLinkView.web.js +0 -1
- package/dist/src/EmbeddedLink/NativeEmbeddedLinkView.d.ts +0 -2
- package/dist/src/EmbeddedLink/NativeEmbeddedLinkView.js +0 -2
- package/dist/src/PlaidLink.d.ts +0 -34
- package/dist/src/PlaidLink.js +0 -136
- package/dist/src/Types.js +0 -463
- package/dist/src/__tests__/Types.tests.d.ts +0 -1
- package/dist/src/__tests__/Types.tests.js +0 -14
- package/dist/src/fabric/EmbeddedLinkViewNativeComponent.d.ts +0 -15
- package/dist/src/fabric/EmbeddedLinkViewNativeComponent.js +0 -2
- package/dist/src/fabric/NativePlaidLinkModuleAndroid.d.ts +0 -15
- package/dist/src/fabric/NativePlaidLinkModuleAndroid.js +0 -4
- package/dist/src/fabric/NativePlaidLinkModuleiOS.d.ts +0 -15
- package/dist/src/fabric/NativePlaidLinkModuleiOS.js +0 -4
- package/dist/src/fabric/fabricUtils.d.ts +0 -1
- package/dist/src/fabric/fabricUtils.js +0 -1
- package/dist/src/index.d.ts +0 -4
- package/dist/src/index.js +0 -5
- package/ios/PLKEmbeddedView.m +0 -7
- package/ios/PLKEmbeddedView.swift +0 -116
- package/ios/PLKEmbeddedViewComponentView.h +0 -28
- package/ios/PLKEmbeddedViewComponentView.mm +0 -91
- package/ios/PLKEmbeddedViewManager.swift +0 -14
- package/ios/PLKFabricHelpers.h +0 -116
- package/ios/RNLinksdk-Bridging-Header.h +0 -8
- package/ios/RNLinksdk.h +0 -19
- package/ios/RNLinksdk.mm +0 -732
- package/ios/RNPlaidHelper.h +0 -15
- package/ios/RNPlaidHelper.m +0 -33
- package/ios/react_native_plaid_link_sdk.h +0 -2
- package/react-native-plaid-link-sdk.podspec +0 -40
- package/src/EmbeddedLink/EmbeddedLinkView.tsx +0 -95
- package/src/EmbeddedLink/EmbeddedLinkView.web.tsx +0 -5
- package/src/EmbeddedLink/NativeEmbeddedLinkView.tsx +0 -3
- package/src/PlaidLink.tsx +0 -167
- package/src/Types.ts +0 -634
- package/src/__tests__/Types.tests.ts +0 -15
- package/src/fabric/EmbeddedLinkViewNativeComponent.ts +0 -24
- package/src/fabric/NativePlaidLinkModuleAndroid.ts +0 -32
- package/src/fabric/NativePlaidLinkModuleiOS.ts +0 -33
- package/src/fabric/fabricUtils.ts +0 -2
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -enable-bare-slash-regex -module-name LinkKit
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
|
+
import Combine
|
|
6
|
+
import FinanceKit
|
|
7
|
+
import Foundation
|
|
8
|
+
@_exported import LinkKit
|
|
9
|
+
import Swift
|
|
10
|
+
import SwiftUI
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
import _SwiftConcurrencyShims
|
|
15
|
+
public struct ExitMetadata : Swift.Codable {
|
|
16
|
+
public var status: LinkKit.ExitStatus?
|
|
17
|
+
public var institution: LinkKit.Institution?
|
|
18
|
+
public var linkSessionID: Swift.String?
|
|
19
|
+
public var requestID: Swift.String?
|
|
20
|
+
public var metadataJSON: LinkKit.RawJSONMetadata?
|
|
21
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
22
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
23
|
+
}
|
|
24
|
+
public enum InvalidInputErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
25
|
+
case invalidApiKeys
|
|
26
|
+
case unauthorizedEnvironment
|
|
27
|
+
case invalidAccessToken
|
|
28
|
+
case invalidPublicToken
|
|
29
|
+
case invalidProduct
|
|
30
|
+
case invalidAccountId
|
|
31
|
+
case invalidInstitution
|
|
32
|
+
case tooManyVerificationAttempts
|
|
33
|
+
case unknown(Swift.String)
|
|
34
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
35
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
36
|
+
public var description: Swift.String {
|
|
37
|
+
get
|
|
38
|
+
}
|
|
39
|
+
public static func == (a: LinkKit.InvalidInputErrorCode, b: LinkKit.InvalidInputErrorCode) -> Swift.Bool
|
|
40
|
+
}
|
|
41
|
+
public struct EmbeddedLinkTokenConfiguration {
|
|
42
|
+
public init(token: Swift.String, onSuccess: @escaping LinkKit.OnSuccessHandler, onExit: LinkKit.OnExitHandler?, onEvent: LinkKit.OnEventHandler?)
|
|
43
|
+
public var token: Swift.String {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var onSuccess: LinkKit.OnSuccessHandler {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
public var onExit: LinkKit.OnExitHandler? {
|
|
50
|
+
get
|
|
51
|
+
}
|
|
52
|
+
public var onEvent: LinkKit.OnEventHandler? {
|
|
53
|
+
get
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
public struct LinkExit : Swift.Codable {
|
|
57
|
+
public var error: LinkKit.ExitError?
|
|
58
|
+
public var metadata: LinkKit.ExitMetadata
|
|
59
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
60
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
61
|
+
}
|
|
62
|
+
public enum ExitErrorCode : Swift.Codable, Swift.Equatable {
|
|
63
|
+
case apiError(LinkKit.ApiErrorCode)
|
|
64
|
+
case authError(LinkKit.AuthErrorCode)
|
|
65
|
+
case assetReportError(LinkKit.AssetReportErrorCode)
|
|
66
|
+
case `internal`(Swift.String)
|
|
67
|
+
case institutionError(LinkKit.InstitutionErrorCode)
|
|
68
|
+
case itemError(LinkKit.ItemErrorCode)
|
|
69
|
+
case invalidInput(LinkKit.InvalidInputErrorCode)
|
|
70
|
+
case invalidRequest(LinkKit.InvalidRequestErrorCode)
|
|
71
|
+
case rateLimitExceeded(LinkKit.RateLimitErrorCode)
|
|
72
|
+
case unknown(type: Swift.String, code: Swift.String)
|
|
73
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
74
|
+
public var description: Swift.String {
|
|
75
|
+
get
|
|
76
|
+
}
|
|
77
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
78
|
+
public static func == (a: LinkKit.ExitErrorCode, b: LinkKit.ExitErrorCode) -> Swift.Bool
|
|
79
|
+
}
|
|
80
|
+
public enum AccountSubtype : Swift.Codable, Swift.Equatable, Swift.CustomStringConvertible {
|
|
81
|
+
case unknown(type: Swift.String, subtype: Swift.String)
|
|
82
|
+
case other(LinkKit.AccountSubtype.Other)
|
|
83
|
+
case credit(LinkKit.AccountSubtype.Credit)
|
|
84
|
+
case loan(LinkKit.AccountSubtype.Loan)
|
|
85
|
+
case depository(LinkKit.AccountSubtype.Depository)
|
|
86
|
+
case investment(LinkKit.AccountSubtype.Investment)
|
|
87
|
+
public var description: Swift.String {
|
|
88
|
+
get
|
|
89
|
+
}
|
|
90
|
+
public enum Other : Swift.Codable, Swift.Equatable, Swift.CustomStringConvertible {
|
|
91
|
+
case all
|
|
92
|
+
case other
|
|
93
|
+
case unknown(Swift.String)
|
|
94
|
+
public var description: Swift.String {
|
|
95
|
+
get
|
|
96
|
+
}
|
|
97
|
+
public static func == (a: LinkKit.AccountSubtype.Other, b: LinkKit.AccountSubtype.Other) -> Swift.Bool
|
|
98
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
99
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
100
|
+
}
|
|
101
|
+
public enum Credit : Swift.Codable, Swift.Equatable, Swift.CustomStringConvertible {
|
|
102
|
+
case all
|
|
103
|
+
case creditCard
|
|
104
|
+
case paypal
|
|
105
|
+
case unknown(Swift.String)
|
|
106
|
+
public var description: Swift.String {
|
|
107
|
+
get
|
|
108
|
+
}
|
|
109
|
+
public static func == (a: LinkKit.AccountSubtype.Credit, b: LinkKit.AccountSubtype.Credit) -> Swift.Bool
|
|
110
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
111
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
112
|
+
}
|
|
113
|
+
public enum Loan : Swift.Codable, Swift.Equatable, Swift.CustomStringConvertible {
|
|
114
|
+
case all
|
|
115
|
+
case auto
|
|
116
|
+
case business
|
|
117
|
+
case commercial
|
|
118
|
+
case construction
|
|
119
|
+
case consumer
|
|
120
|
+
case homeEquity
|
|
121
|
+
case lineOfCredit
|
|
122
|
+
case loan
|
|
123
|
+
case mortgage
|
|
124
|
+
case overdraft
|
|
125
|
+
case student
|
|
126
|
+
case unknown(Swift.String)
|
|
127
|
+
public var description: Swift.String {
|
|
128
|
+
get
|
|
129
|
+
}
|
|
130
|
+
public static func == (a: LinkKit.AccountSubtype.Loan, b: LinkKit.AccountSubtype.Loan) -> Swift.Bool
|
|
131
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
132
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
133
|
+
}
|
|
134
|
+
public enum Depository : Swift.Codable, Swift.Equatable, Swift.CustomStringConvertible {
|
|
135
|
+
case all
|
|
136
|
+
case cashManagement
|
|
137
|
+
case cd
|
|
138
|
+
case checking
|
|
139
|
+
case ebt
|
|
140
|
+
case hsa
|
|
141
|
+
case moneyMarket
|
|
142
|
+
case paypal
|
|
143
|
+
case prepaid
|
|
144
|
+
case savings
|
|
145
|
+
case unknown(Swift.String)
|
|
146
|
+
public var description: Swift.String {
|
|
147
|
+
get
|
|
148
|
+
}
|
|
149
|
+
public static func == (a: LinkKit.AccountSubtype.Depository, b: LinkKit.AccountSubtype.Depository) -> Swift.Bool
|
|
150
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
151
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
152
|
+
}
|
|
153
|
+
public enum Investment : Swift.Codable, Swift.Equatable, Swift.CustomStringConvertible {
|
|
154
|
+
case all
|
|
155
|
+
case brokerage
|
|
156
|
+
case cashIsa
|
|
157
|
+
case educationSavingsAccount
|
|
158
|
+
case fixedAnnuity
|
|
159
|
+
case gic
|
|
160
|
+
case healthReimbursementArrangement
|
|
161
|
+
case hsa
|
|
162
|
+
case investment401a
|
|
163
|
+
case investment401k
|
|
164
|
+
case investment403B
|
|
165
|
+
case investment457b
|
|
166
|
+
case investment529
|
|
167
|
+
case ira
|
|
168
|
+
case isa
|
|
169
|
+
case keogh
|
|
170
|
+
case lif
|
|
171
|
+
case lira
|
|
172
|
+
case lrif
|
|
173
|
+
case lrsp
|
|
174
|
+
case mutualFund
|
|
175
|
+
case nonTaxableBrokerageAccount
|
|
176
|
+
case pension
|
|
177
|
+
case plan
|
|
178
|
+
case prif
|
|
179
|
+
case profitSharingPlan
|
|
180
|
+
case rdsp
|
|
181
|
+
case resp
|
|
182
|
+
case retirement
|
|
183
|
+
case rlif
|
|
184
|
+
case roth
|
|
185
|
+
case roth401k
|
|
186
|
+
case rrif
|
|
187
|
+
case rrsp
|
|
188
|
+
case sarsep
|
|
189
|
+
case sepIra
|
|
190
|
+
case simpleIra
|
|
191
|
+
case sipp
|
|
192
|
+
case stockPlan
|
|
193
|
+
case tfsa
|
|
194
|
+
case thriftSavingsPlan
|
|
195
|
+
case trust
|
|
196
|
+
case ugma
|
|
197
|
+
case unknown(Swift.String)
|
|
198
|
+
case utma
|
|
199
|
+
case variableAnnuity
|
|
200
|
+
public var description: Swift.String {
|
|
201
|
+
get
|
|
202
|
+
}
|
|
203
|
+
public static func == (a: LinkKit.AccountSubtype.Investment, b: LinkKit.AccountSubtype.Investment) -> Swift.Bool
|
|
204
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
205
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
206
|
+
}
|
|
207
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
208
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
209
|
+
public static func == (a: LinkKit.AccountSubtype, b: LinkKit.AccountSubtype) -> Swift.Bool
|
|
210
|
+
}
|
|
211
|
+
extension LinkKit.AccountSubtype {
|
|
212
|
+
public static func privateObjCInitializer(stringLiteral: Swift.String) -> LinkKit.AccountSubtype
|
|
213
|
+
}
|
|
214
|
+
public protocol SubmissionData {
|
|
215
|
+
var phoneNumber: Swift.String? { get }
|
|
216
|
+
var dateOfBirth: Swift.String? { get }
|
|
217
|
+
var params: [Swift.String : Swift.String]? { get }
|
|
218
|
+
}
|
|
219
|
+
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class EmbeddedSearchUIView : UIKit.UIView {
|
|
220
|
+
@_Concurrency.MainActor @preconcurrency final public let expectedWidth: CoreFoundation.CGFloat
|
|
221
|
+
@_Concurrency.MainActor @preconcurrency final public let expectedHeight: CoreFoundation.CGFloat
|
|
222
|
+
@objc deinit
|
|
223
|
+
}
|
|
224
|
+
@_Concurrency.MainActor @preconcurrency public struct EmbeddedSearchView : SwiftUICore.View {
|
|
225
|
+
@_Concurrency.MainActor @preconcurrency public let expectedWidth: CoreFoundation.CGFloat
|
|
226
|
+
@_Concurrency.MainActor @preconcurrency public let expectedHeight: CoreFoundation.CGFloat
|
|
227
|
+
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
228
|
+
get
|
|
229
|
+
}
|
|
230
|
+
public typealias Body = @_opaqueReturnTypeOf("$s7LinkKit18EmbeddedSearchViewV4bodyQrvp", 0) __
|
|
231
|
+
}
|
|
232
|
+
public enum ApiErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
233
|
+
case internalServerError
|
|
234
|
+
case plannedMaintenance
|
|
235
|
+
case unknown(Swift.String)
|
|
236
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
237
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
238
|
+
public var description: Swift.String {
|
|
239
|
+
get
|
|
240
|
+
}
|
|
241
|
+
public static func == (a: LinkKit.ApiErrorCode, b: LinkKit.ApiErrorCode) -> Swift.Bool
|
|
242
|
+
}
|
|
243
|
+
public enum ConfigurationError : Foundation.LocalizedError {
|
|
244
|
+
case invalidToken(message: Swift.String)
|
|
245
|
+
public var message: Swift.String {
|
|
246
|
+
get
|
|
247
|
+
}
|
|
248
|
+
public var errorDescription: Swift.String? {
|
|
249
|
+
get
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
@_Concurrency.MainActor @preconcurrency public struct PlaidLinkView<ErrorView> : SwiftUICore.View where ErrorView : SwiftUICore.View {
|
|
253
|
+
@_Concurrency.MainActor @preconcurrency public init(token: Swift.String, onSuccess: @escaping LinkKit.OnSuccessHandler, onExit: LinkKit.OnExitHandler? = nil, onEvent: LinkKit.OnEventHandler? = nil, @SwiftUICore.ViewBuilder errorView: @escaping (any Swift.Error) -> ErrorView)
|
|
254
|
+
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
255
|
+
get
|
|
256
|
+
}
|
|
257
|
+
public typealias Body = @_opaqueReturnTypeOf("$s7LinkKit05PlaidA4ViewV4bodyQrvp", 0) __<ErrorView>
|
|
258
|
+
}
|
|
259
|
+
public enum AuthErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
260
|
+
case productNotReady
|
|
261
|
+
case verificationExpired
|
|
262
|
+
case unknown(Swift.String)
|
|
263
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
264
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
265
|
+
public var description: Swift.String {
|
|
266
|
+
get
|
|
267
|
+
}
|
|
268
|
+
public static func == (a: LinkKit.AuthErrorCode, b: LinkKit.AuthErrorCode) -> Swift.Bool
|
|
269
|
+
}
|
|
270
|
+
public struct Institution : Swift.Codable, Swift.Equatable {
|
|
271
|
+
public var id: LinkKit.InstitutionID
|
|
272
|
+
public var name: Swift.String
|
|
273
|
+
public static func == (a: LinkKit.Institution, b: LinkKit.Institution) -> Swift.Bool
|
|
274
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
275
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
276
|
+
}
|
|
277
|
+
public struct Plaid {
|
|
278
|
+
public static let version: Swift.String
|
|
279
|
+
public static func createPlaidLinkSession(configuration: LinkKit.LinkTokenConfiguration) throws -> LinkKit.PlaidLinkSession
|
|
280
|
+
public static func createPlaidLayerSession(configuration: LinkKit.LayerTokenConfiguration) throws -> LinkKit.PlaidLayerSession
|
|
281
|
+
public static func createHeadlessSession(configuration: LinkKit.LinkTokenConfiguration) throws -> any LinkKit.PlaidHeadlessSession
|
|
282
|
+
public static func createEmbeddedLinkUIView(configuration: LinkKit.EmbeddedLinkTokenConfiguration, presentationMethod: LinkKit.PresentationMethod) throws -> LinkKit.EmbeddedSearchUIView
|
|
283
|
+
public static func createEmbeddedLinkView(configuration: LinkKit.EmbeddedLinkTokenConfiguration) throws -> LinkKit.EmbeddedSearchView
|
|
284
|
+
}
|
|
285
|
+
public enum ItemErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Equatable {
|
|
286
|
+
case insufficientCredentials
|
|
287
|
+
case invalidCredentials
|
|
288
|
+
case invalidMfa
|
|
289
|
+
case invalidSendMethod
|
|
290
|
+
case invalidUpdatedUsername
|
|
291
|
+
case itemLocked
|
|
292
|
+
case itemLoginRequired
|
|
293
|
+
case itemNoError
|
|
294
|
+
case itemNotSupported
|
|
295
|
+
case incorrectDepositAmounts
|
|
296
|
+
case userSetupRequired
|
|
297
|
+
case mfaNotSupported
|
|
298
|
+
case noAccounts
|
|
299
|
+
case noAuthAccounts
|
|
300
|
+
case noInvestmentAccounts
|
|
301
|
+
case noLiabilityAccounts
|
|
302
|
+
case productNotReady
|
|
303
|
+
case productsNotSupported
|
|
304
|
+
case instantMatchFailed
|
|
305
|
+
case unknown(Swift.String)
|
|
306
|
+
public var description: Swift.String {
|
|
307
|
+
get
|
|
308
|
+
}
|
|
309
|
+
public static func == (a: LinkKit.ItemErrorCode, b: LinkKit.ItemErrorCode) -> Swift.Bool
|
|
310
|
+
}
|
|
311
|
+
@available(iOS 17.4, *)
|
|
312
|
+
public enum FinanceKitError : Foundation.LocalizedError {
|
|
313
|
+
case invalidToken(message: Swift.String)
|
|
314
|
+
case permissionError(message: Swift.String)
|
|
315
|
+
case linkApiError(message: Swift.String)
|
|
316
|
+
case permissionAccessError(message: Swift.String)
|
|
317
|
+
case unknown(error: any Swift.Error)
|
|
318
|
+
public var errorDescription: Swift.String? {
|
|
319
|
+
get
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
public enum AssetReportErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
323
|
+
case productNotEnabled
|
|
324
|
+
case dataUnavailable
|
|
325
|
+
case productNotReady
|
|
326
|
+
case assetReportGenerationFailed
|
|
327
|
+
case invalidParent
|
|
328
|
+
case insightsNotEnabled
|
|
329
|
+
case insightsPreviouslyNotEnabled
|
|
330
|
+
case unknown(Swift.String)
|
|
331
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
332
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
333
|
+
public var description: Swift.String {
|
|
334
|
+
get
|
|
335
|
+
}
|
|
336
|
+
public static func == (a: LinkKit.AssetReportErrorCode, b: LinkKit.AssetReportErrorCode) -> Swift.Bool
|
|
337
|
+
}
|
|
338
|
+
public enum InvalidRequestErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
339
|
+
case missingFields
|
|
340
|
+
case unknownFields
|
|
341
|
+
case invalidField
|
|
342
|
+
case invalidBody
|
|
343
|
+
case invalidAddress
|
|
344
|
+
case notFound
|
|
345
|
+
case sandboxOnly
|
|
346
|
+
case unknown(Swift.String)
|
|
347
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
348
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
349
|
+
public var description: Swift.String {
|
|
350
|
+
get
|
|
351
|
+
}
|
|
352
|
+
public static func == (a: LinkKit.InvalidRequestErrorCode, b: LinkKit.InvalidRequestErrorCode) -> Swift.Bool
|
|
353
|
+
}
|
|
354
|
+
public enum RateLimitErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
355
|
+
case accountsLimit
|
|
356
|
+
case additionLimit
|
|
357
|
+
case authLimit
|
|
358
|
+
case identityLimit
|
|
359
|
+
case incomeLimit
|
|
360
|
+
case itemGetLimit
|
|
361
|
+
case rateLimit
|
|
362
|
+
case transactionsLimit
|
|
363
|
+
case unknown(Swift.String)
|
|
364
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
365
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
366
|
+
public var description: Swift.String {
|
|
367
|
+
get
|
|
368
|
+
}
|
|
369
|
+
public static func == (a: LinkKit.RateLimitErrorCode, b: LinkKit.RateLimitErrorCode) -> Swift.Bool
|
|
370
|
+
}
|
|
371
|
+
public enum MFAType : Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
372
|
+
case code
|
|
373
|
+
case device
|
|
374
|
+
case questions
|
|
375
|
+
case selections
|
|
376
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
377
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
378
|
+
public var description: Swift.String {
|
|
379
|
+
get
|
|
380
|
+
}
|
|
381
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
382
|
+
public static func == (a: LinkKit.MFAType, b: LinkKit.MFAType) -> Swift.Bool
|
|
383
|
+
public var hashValue: Swift.Int {
|
|
384
|
+
get
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
public protocol PlaidHeadlessSession {
|
|
388
|
+
func start()
|
|
389
|
+
}
|
|
390
|
+
@_hasMissingDesignatedInitializers final public class PlaidLinkSession : Swift.Identifiable {
|
|
391
|
+
final public let id: Swift.String
|
|
392
|
+
final public var showGradientBackground: Swift.Bool {
|
|
393
|
+
get
|
|
394
|
+
set
|
|
395
|
+
}
|
|
396
|
+
final public func sheet() -> some SwiftUICore.View
|
|
397
|
+
|
|
398
|
+
final public func open(using: LinkKit.PresentationMethod)
|
|
399
|
+
public typealias ID = Swift.String
|
|
400
|
+
@objc deinit
|
|
401
|
+
}
|
|
402
|
+
public struct Account : Swift.Codable {
|
|
403
|
+
public var id: LinkKit.AccountID
|
|
404
|
+
public var name: Swift.String
|
|
405
|
+
public var mask: LinkKit.AccountMask?
|
|
406
|
+
public var subtype: LinkKit.AccountSubtype
|
|
407
|
+
public var verificationStatus: LinkKit.VerificationStatus?
|
|
408
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
409
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
410
|
+
}
|
|
411
|
+
@_Concurrency.MainActor @preconcurrency public struct PlaidLinkSheet : SwiftUICore.View {
|
|
412
|
+
@_Concurrency.MainActor @preconcurrency public init(_ session: LinkKit.PlaidLinkSession)
|
|
413
|
+
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
414
|
+
get
|
|
415
|
+
}
|
|
416
|
+
public typealias Body = @_opaqueReturnTypeOf("$s7LinkKit05PlaidA5SheetV4bodyQrvp", 0) __
|
|
417
|
+
}
|
|
418
|
+
public struct LinkEvent : Swift.Codable {
|
|
419
|
+
public var eventName: LinkKit.EventName
|
|
420
|
+
public var metadata: LinkKit.EventMetadata
|
|
421
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
422
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
423
|
+
}
|
|
424
|
+
@_hasMissingDesignatedInitializers final public class PlaidLayerSession : Swift.Identifiable {
|
|
425
|
+
final public var id: Swift.String {
|
|
426
|
+
get
|
|
427
|
+
}
|
|
428
|
+
final public func sheet() -> some SwiftUICore.View
|
|
429
|
+
|
|
430
|
+
final public func open(using: LinkKit.PresentationMethod)
|
|
431
|
+
final public func submit(data: any LinkKit.SubmissionData)
|
|
432
|
+
public typealias ID = Swift.String
|
|
433
|
+
@objc deinit
|
|
434
|
+
}
|
|
435
|
+
public enum ViewName : Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
436
|
+
case acceptTOS
|
|
437
|
+
case connected
|
|
438
|
+
case consent
|
|
439
|
+
case credential
|
|
440
|
+
case dataTransparency
|
|
441
|
+
case dataTransparencyConsent
|
|
442
|
+
case dataTransparencyMessagingModal
|
|
443
|
+
case documentaryVerification
|
|
444
|
+
case error
|
|
445
|
+
case exit
|
|
446
|
+
case identityMatchBlock
|
|
447
|
+
case kycCheck
|
|
448
|
+
case loading
|
|
449
|
+
case matchedConsent
|
|
450
|
+
case matchedCredential
|
|
451
|
+
case matchedMFA
|
|
452
|
+
case mfa
|
|
453
|
+
case numbers
|
|
454
|
+
case numbersSelectInstitution
|
|
455
|
+
case oauth
|
|
456
|
+
case profileDataReview
|
|
457
|
+
case recaptcha
|
|
458
|
+
case riskCheck
|
|
459
|
+
case screening
|
|
460
|
+
case selectAccount
|
|
461
|
+
case selectAuthType
|
|
462
|
+
case submitPhone
|
|
463
|
+
case verifyPhone
|
|
464
|
+
case selectSavedInstitution
|
|
465
|
+
case selectSavedAccount
|
|
466
|
+
case selectBrand
|
|
467
|
+
case selectInstitution
|
|
468
|
+
case selfieCheck
|
|
469
|
+
case uploadDocuments
|
|
470
|
+
case submitDocuments
|
|
471
|
+
case submitDocumentsSuccess
|
|
472
|
+
case submitDocumentsError
|
|
473
|
+
case verifySMS
|
|
474
|
+
case submitEmail
|
|
475
|
+
case verifyEmail
|
|
476
|
+
case craConsent
|
|
477
|
+
case instantMicrodepositAuthorized
|
|
478
|
+
case sameDayMicrodepositAuthorized
|
|
479
|
+
case instantMicrodepositVerification
|
|
480
|
+
case sameDayMicrodepositVerification
|
|
481
|
+
case transferStatusCheck
|
|
482
|
+
case unknown(Swift.String)
|
|
483
|
+
public static var allCases: [LinkKit.ViewName] {
|
|
484
|
+
get
|
|
485
|
+
}
|
|
486
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
487
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
488
|
+
public var description: Swift.String {
|
|
489
|
+
get
|
|
490
|
+
}
|
|
491
|
+
public static func == (a: LinkKit.ViewName, b: LinkKit.ViewName) -> Swift.Bool
|
|
492
|
+
}
|
|
493
|
+
public typealias PublicToken = Swift.String
|
|
494
|
+
public typealias Language = Swift.String
|
|
495
|
+
public typealias CountryCode = Swift.String
|
|
496
|
+
public typealias RawJSONMetadata = Swift.String
|
|
497
|
+
public typealias InstitutionID = Swift.String
|
|
498
|
+
public typealias AccountID = Swift.String
|
|
499
|
+
public typealias AccountMask = Swift.String
|
|
500
|
+
public typealias OnSuccessHandler = (LinkKit.LinkSuccess) -> Swift.Void
|
|
501
|
+
public typealias OnExitHandler = (LinkKit.LinkExit) -> Swift.Void
|
|
502
|
+
public typealias OnEventHandler = (LinkKit.LinkEvent) -> Swift.Void
|
|
503
|
+
public typealias OnLoadHandler = (() -> Swift.Void)
|
|
504
|
+
public typealias PresentationHandler = (UIKit.UIViewController) -> Swift.Void
|
|
505
|
+
public typealias DismissalHandler = (UIKit.UIViewController) -> Swift.Void
|
|
506
|
+
public struct LinkTokenConfiguration {
|
|
507
|
+
public let token: Swift.String
|
|
508
|
+
public let onSuccess: LinkKit.OnSuccessHandler
|
|
509
|
+
public let onExit: LinkKit.OnExitHandler?
|
|
510
|
+
public let onEvent: LinkKit.OnEventHandler?
|
|
511
|
+
public var onLoad: LinkKit.OnLoadHandler?
|
|
512
|
+
public init(token: Swift.String, onSuccess: @escaping LinkKit.OnSuccessHandler, onExit: LinkKit.OnExitHandler?, onEvent: LinkKit.OnEventHandler?, onLoad: LinkKit.OnLoadHandler?)
|
|
513
|
+
}
|
|
514
|
+
public enum PresentationMethod {
|
|
515
|
+
case viewController(UIKit.UIViewController)
|
|
516
|
+
case custom(LinkKit.PresentationHandler, _: LinkKit.DismissalHandler = { $0.presentingViewController?.dismiss(animated: true, completion: nil) })
|
|
517
|
+
}
|
|
518
|
+
public struct LayerTokenConfiguration {
|
|
519
|
+
public init(token: Swift.String, onSuccess: @escaping LinkKit.OnSuccessHandler, onExit: LinkKit.OnExitHandler?, onEvent: LinkKit.OnEventHandler?)
|
|
520
|
+
public var token: Swift.String {
|
|
521
|
+
get
|
|
522
|
+
}
|
|
523
|
+
public var onSuccess: LinkKit.OnSuccessHandler {
|
|
524
|
+
get
|
|
525
|
+
}
|
|
526
|
+
public var onExit: LinkKit.OnExitHandler? {
|
|
527
|
+
get
|
|
528
|
+
}
|
|
529
|
+
public var onEvent: LinkKit.OnEventHandler? {
|
|
530
|
+
get
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
public enum VerificationStatus : Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
534
|
+
case pendingAutomaticVerification
|
|
535
|
+
case pendingManualVerification
|
|
536
|
+
case manuallyVerified
|
|
537
|
+
case unknown(Swift.String)
|
|
538
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
539
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
540
|
+
public var description: Swift.String {
|
|
541
|
+
get
|
|
542
|
+
}
|
|
543
|
+
public static func == (a: LinkKit.VerificationStatus, b: LinkKit.VerificationStatus) -> Swift.Bool
|
|
544
|
+
}
|
|
545
|
+
public enum Environment : Swift.CustomStringConvertible, Swift.Codable {
|
|
546
|
+
case production
|
|
547
|
+
case sandbox
|
|
548
|
+
public var description: Swift.String {
|
|
549
|
+
get
|
|
550
|
+
}
|
|
551
|
+
public static func == (a: LinkKit.Environment, b: LinkKit.Environment) -> Swift.Bool
|
|
552
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
553
|
+
public var hashValue: Swift.Int {
|
|
554
|
+
get
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
extension LinkKit.Environment {
|
|
558
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
559
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
560
|
+
}
|
|
561
|
+
public struct EventMetadata : Swift.Codable {
|
|
562
|
+
public var accountNumberMask: Swift.String?
|
|
563
|
+
public var errorCode: LinkKit.ExitErrorCode?
|
|
564
|
+
public var errorMessage: Swift.String?
|
|
565
|
+
public var exitStatus: LinkKit.ExitStatus?
|
|
566
|
+
public var institutionID: LinkKit.InstitutionID?
|
|
567
|
+
public var institutionName: Swift.String?
|
|
568
|
+
public var institutionSearchQuery: Swift.String?
|
|
569
|
+
public var isUpdateMode: Swift.String?
|
|
570
|
+
public var matchReason: Swift.String?
|
|
571
|
+
public var linkSessionID: Swift.String
|
|
572
|
+
public var mfaType: LinkKit.MFAType?
|
|
573
|
+
public var requestID: Swift.String?
|
|
574
|
+
public var issueID: Swift.String?
|
|
575
|
+
public var issueDescription: Swift.String?
|
|
576
|
+
public var issueDetectedAt: Foundation.Date?
|
|
577
|
+
public var routingNumber: Swift.String?
|
|
578
|
+
public var selection: Swift.String?
|
|
579
|
+
public var timestamp: Foundation.Date
|
|
580
|
+
public var viewName: LinkKit.ViewName?
|
|
581
|
+
public var metadataJSON: LinkKit.RawJSONMetadata?
|
|
582
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
583
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
584
|
+
}
|
|
585
|
+
public enum EventName : Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
586
|
+
case autoSubmitPhone
|
|
587
|
+
case bankIncomeInsightsCompleted
|
|
588
|
+
case closeOAuth
|
|
589
|
+
case connectNewInstitution
|
|
590
|
+
case error
|
|
591
|
+
case exit
|
|
592
|
+
case failOAuth
|
|
593
|
+
case handoff
|
|
594
|
+
case identityMatchPassed
|
|
595
|
+
case identityMatchFailed
|
|
596
|
+
case identityVerificationStartStep
|
|
597
|
+
case identityVerificationPassStep
|
|
598
|
+
case identityVerificationFailStep
|
|
599
|
+
case identityVerificationPendingReviewStep
|
|
600
|
+
case identityVerificationCreateSession
|
|
601
|
+
case identityVerificationResumeSession
|
|
602
|
+
case identityVerificationPassSession
|
|
603
|
+
case identityVerificationFailSession
|
|
604
|
+
case identityVerificationPendingReviewSession
|
|
605
|
+
case identityVerificationOpenUI
|
|
606
|
+
case identityVerificationResumeUI
|
|
607
|
+
case identityVerificationCloseUI
|
|
608
|
+
case issueFollowed
|
|
609
|
+
case layerAutoFillNotAvailable
|
|
610
|
+
case layerReady
|
|
611
|
+
case layerNotAvailable
|
|
612
|
+
case matchedSelectInstitution
|
|
613
|
+
case matchedSelectVerifyMethod
|
|
614
|
+
case open
|
|
615
|
+
case openMyPlaid
|
|
616
|
+
case openOAuth
|
|
617
|
+
case profileEligibilityCheckReady
|
|
618
|
+
case profileEligibilityCheckError
|
|
619
|
+
case searchInstitution
|
|
620
|
+
case selectAccount
|
|
621
|
+
case selectDegradedInstitution
|
|
622
|
+
case selectFilteredInstitution
|
|
623
|
+
case selectFallbackRoutingInstitution
|
|
624
|
+
case selectDownInstitution
|
|
625
|
+
case selectDenylistedInstitution
|
|
626
|
+
case selectRememberMeDuplicateInstitution
|
|
627
|
+
case selectInstitution
|
|
628
|
+
case selectBrand
|
|
629
|
+
case selectAuthType
|
|
630
|
+
case skipSubmitPhone
|
|
631
|
+
case submitAccountNumber
|
|
632
|
+
case submitCredentials
|
|
633
|
+
case submitDocuments
|
|
634
|
+
case submitDocumentsSuccess
|
|
635
|
+
case submitDocumentsError
|
|
636
|
+
case submitMFA
|
|
637
|
+
case submitOTP
|
|
638
|
+
case submitPhone
|
|
639
|
+
case submitRoutingNumber
|
|
640
|
+
case transitionView
|
|
641
|
+
case verifyPhone
|
|
642
|
+
case viewDataTypes
|
|
643
|
+
case submitEmail
|
|
644
|
+
case skipSubmitEmail
|
|
645
|
+
case rememberMeEnabled
|
|
646
|
+
case rememberMeDisabled
|
|
647
|
+
case rememberMeHoldout
|
|
648
|
+
case selectSavedInstitution
|
|
649
|
+
case selectSavedAccount
|
|
650
|
+
case autoSelectSavedInstitution
|
|
651
|
+
case plaidCheckPane
|
|
652
|
+
case unknown(Swift.String)
|
|
653
|
+
public static var allCases: [LinkKit.EventName] {
|
|
654
|
+
get
|
|
655
|
+
}
|
|
656
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
657
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
658
|
+
public var description: Swift.String {
|
|
659
|
+
get
|
|
660
|
+
}
|
|
661
|
+
public static func == (a: LinkKit.EventName, b: LinkKit.EventName) -> Swift.Bool
|
|
662
|
+
}
|
|
663
|
+
public struct PlaidFinanceKit {
|
|
664
|
+
@available(iOS 17.4, *)
|
|
665
|
+
public enum SyncBehavior {
|
|
666
|
+
case live
|
|
667
|
+
case simulated
|
|
668
|
+
public static func == (a: LinkKit.PlaidFinanceKit.SyncBehavior, b: LinkKit.PlaidFinanceKit.SyncBehavior) -> Swift.Bool
|
|
669
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
670
|
+
public var hashValue: Swift.Int {
|
|
671
|
+
get
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
@available(iOS 17.4, *)
|
|
675
|
+
public static func sync(token: Swift.String, requestAuthorizationIfNeeded: Swift.Bool, syncBehavior: LinkKit.PlaidFinanceKit.SyncBehavior = .live, completion: @escaping (Swift.Result<Swift.Void, LinkKit.FinanceKitError>) -> Swift.Void)
|
|
676
|
+
@available(iOS 17.4, *)
|
|
677
|
+
public static func sync(token: Swift.String, requestAuthorizationIfNeeded: Swift.Bool, syncBehavior: LinkKit.PlaidFinanceKit.SyncBehavior = .live) async throws
|
|
678
|
+
}
|
|
679
|
+
@_Concurrency.MainActor @preconcurrency public struct PlaidLinkUIViewControllerRepresentable : SwiftUI.UIViewControllerRepresentable {
|
|
680
|
+
@_Concurrency.MainActor @preconcurrency public init(session: LinkKit.PlaidLinkSession)
|
|
681
|
+
@_Concurrency.MainActor @preconcurrency public init(session: LinkKit.PlaidLayerSession)
|
|
682
|
+
@objc @_hasMissingDesignatedInitializers final public class Coordinator : ObjectiveC.NSObject {
|
|
683
|
+
@objc deinit
|
|
684
|
+
}
|
|
685
|
+
@_Concurrency.MainActor @preconcurrency public func makeCoordinator() -> LinkKit.PlaidLinkUIViewControllerRepresentable.Coordinator
|
|
686
|
+
@_Concurrency.MainActor @preconcurrency public func makeUIViewController(context: LinkKit.PlaidLinkUIViewControllerRepresentable.Context) -> UIKit.UIViewController
|
|
687
|
+
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: UIKit.UIViewController, context: LinkKit.PlaidLinkUIViewControllerRepresentable.Context)
|
|
688
|
+
public typealias Body = Swift.Never
|
|
689
|
+
public typealias UIViewControllerType = UIKit.UIViewController
|
|
690
|
+
}
|
|
691
|
+
public enum InstitutionErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Equatable, Swift.Codable {
|
|
692
|
+
case institutionDown
|
|
693
|
+
case institutionNotResponding
|
|
694
|
+
case institutionNotAvailable
|
|
695
|
+
case institutionNoLongerSupported
|
|
696
|
+
case unknown(Swift.String)
|
|
697
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
698
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
699
|
+
public var description: Swift.String {
|
|
700
|
+
get
|
|
701
|
+
}
|
|
702
|
+
public static func == (a: LinkKit.InstitutionErrorCode, b: LinkKit.InstitutionErrorCode) -> Swift.Bool
|
|
703
|
+
}
|
|
704
|
+
public struct LinkSuccess : Swift.Codable {
|
|
705
|
+
public var publicToken: Swift.String
|
|
706
|
+
public var metadata: LinkKit.SuccessMetadata
|
|
707
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
708
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
709
|
+
}
|
|
710
|
+
public struct SuccessMetadata : Swift.Codable {
|
|
711
|
+
public var institution: LinkKit.Institution
|
|
712
|
+
public var accounts: [LinkKit.Account]
|
|
713
|
+
public var linkSessionID: Swift.String
|
|
714
|
+
public var metadataJSON: LinkKit.RawJSONMetadata?
|
|
715
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
716
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
717
|
+
}
|
|
718
|
+
public struct ExitError : Swift.Error, Swift.Codable {
|
|
719
|
+
public var errorCode: LinkKit.ExitErrorCode
|
|
720
|
+
public var errorMessage: Swift.String
|
|
721
|
+
public var displayMessage: Swift.String?
|
|
722
|
+
public var errorJSON: LinkKit.RawJSONMetadata?
|
|
723
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
724
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
725
|
+
}
|
|
726
|
+
extension LinkKit.ExitError {
|
|
727
|
+
public static func privateObjCInitializer(errorCode: LinkKit.ExitErrorCode, errorMessage: Swift.String, displayMesssage: Swift.String?, errorJSON: LinkKit.RawJSONMetadata?) -> LinkKit.ExitError
|
|
728
|
+
}
|
|
729
|
+
public enum ExitStatus : Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
730
|
+
case requiresQuestions
|
|
731
|
+
case requiresSelections
|
|
732
|
+
case requiresCode
|
|
733
|
+
case chooseDevice
|
|
734
|
+
case requiresCredentials
|
|
735
|
+
case institutionNotFound
|
|
736
|
+
case requiresAccountSelection
|
|
737
|
+
case continueToThirdParty
|
|
738
|
+
case unknown(Swift.String)
|
|
739
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
740
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
741
|
+
public var description: Swift.String {
|
|
742
|
+
get
|
|
743
|
+
}
|
|
744
|
+
public static func == (a: LinkKit.ExitStatus, b: LinkKit.ExitStatus) -> Swift.Bool
|
|
745
|
+
}
|
|
746
|
+
extension LinkKit.EmbeddedSearchView : Swift.Sendable {}
|
|
747
|
+
extension LinkKit.PlaidLinkView : Swift.Sendable {}
|
|
748
|
+
extension LinkKit.MFAType : Swift.Hashable {}
|
|
749
|
+
extension LinkKit.PlaidLinkSheet : Swift.Sendable {}
|
|
750
|
+
extension LinkKit.Environment : Swift.Equatable {}
|
|
751
|
+
extension LinkKit.Environment : Swift.Hashable {}
|
|
752
|
+
@available(iOS 17.4, *)
|
|
753
|
+
extension LinkKit.PlaidFinanceKit.SyncBehavior : Swift.Equatable {}
|
|
754
|
+
@available(iOS 17.4, *)
|
|
755
|
+
extension LinkKit.PlaidFinanceKit.SyncBehavior : Swift.Hashable {}
|
|
756
|
+
extension LinkKit.PlaidLinkUIViewControllerRepresentable : Swift.Sendable {}
|