react-native-plaid-link-sdk 7.0.5 → 7.1.1
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/README.md +1 -0
- package/android/build.gradle +1 -1
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/Types.d.ts +1 -0
- package/dist/Types.js +1 -0
- package/ios/RNLinksdk.m +20 -13
- package/package.json +4 -6
- package/react-native-plaid-link-sdk.podspec +1 -1
- package/android/.gradle/5.6.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/5.6.4/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/dist/dist/PlaidLink.d.ts +0 -5
- package/dist/dist/PlaidLink.js +0 -101
- package/dist/dist/Types.d.ts +0 -117
- package/dist/dist/Types.js +0 -370
- package/dist/dist/check_version_hook.d.ts +0 -1
- package/dist/dist/check_version_hook.js +0 -11
- package/dist/dist/index.d.ts +0 -8
- package/dist/dist/index.js +0 -4
- package/ios/RNLinksdk.xcodeproj/xcuserdata/atang.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/ios/RNLinksdk.xcworkspace/xcuserdata/atang.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/RNLinksdk.xcworkspace/xcuserdata/atang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -20
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ dependencies {
|
|
|
73
73
|
include ':react-native-plaid-link-sdk'
|
|
74
74
|
project(':react-native-plaid-link-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-plaid-link-sdk/android')
|
|
75
75
|
```
|
|
76
|
+
4. (Optional) Run `npx react-native link`
|
|
76
77
|
|
|
77
78
|
## React native setup
|
|
78
79
|
To initialize `PlaidLink`, you will need to first create a `link_token` at [/link/token/create][plaid_tokendocs].
|
package/android/build.gradle
CHANGED
|
@@ -65,7 +65,7 @@ repositories {
|
|
|
65
65
|
|
|
66
66
|
dependencies {
|
|
67
67
|
implementation "com.facebook.react:react-native:+"
|
|
68
|
-
implementation "com.plaid.link:sdk-core:3.
|
|
68
|
+
implementation "com.plaid.link:sdk-core:3.6.1"
|
|
69
69
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
70
70
|
implementation "com.jakewharton.rxrelay2:rxrelay:2.1.1"
|
|
71
71
|
}
|
package/dist/Types.d.ts
CHANGED
|
@@ -224,6 +224,7 @@ export declare enum LinkErrorCode {
|
|
|
224
224
|
INVALID_SEND_METHOD = "INVALID_SEND_METHOD",
|
|
225
225
|
NO_ACCOUNTS = "NO_ACCOUNTS",
|
|
226
226
|
ITEM_NOT_SUPPORTED = "ITEM_NOT_SUPPORTED",
|
|
227
|
+
TOO_MANY_VERIFICATION_ATTEMPTS = "TOO_MANY_VERIFICATION_ATTEMPTS",
|
|
227
228
|
INVALD_UPDATED_USERNAME = "INVALD_UPDATED_USERNAME",
|
|
228
229
|
INVALID_UPDATED_USERNAME = "INVALID_UPDATED_USERNAME",
|
|
229
230
|
ITEM_NO_ERROR = "ITEM_NO_ERROR",
|
package/dist/Types.js
CHANGED
|
@@ -233,6 +233,7 @@ export var LinkErrorCode;
|
|
|
233
233
|
LinkErrorCode["INVALID_SEND_METHOD"] = "INVALID_SEND_METHOD";
|
|
234
234
|
LinkErrorCode["NO_ACCOUNTS"] = "NO_ACCOUNTS";
|
|
235
235
|
LinkErrorCode["ITEM_NOT_SUPPORTED"] = "ITEM_NOT_SUPPORTED";
|
|
236
|
+
LinkErrorCode["TOO_MANY_VERIFICATION_ATTEMPTS"] = "TOO_MANY_VERIFICATION_ATTEMPTS";
|
|
236
237
|
LinkErrorCode["INVALD_UPDATED_USERNAME"] = "INVALD_UPDATED_USERNAME";
|
|
237
238
|
LinkErrorCode["INVALID_UPDATED_USERNAME"] = "INVALID_UPDATED_USERNAME";
|
|
238
239
|
LinkErrorCode["ITEM_NO_ERROR"] = "ITEM_NO_ERROR";
|
package/ios/RNLinksdk.m
CHANGED
|
@@ -37,6 +37,7 @@ NSString* const kRNLinkKitLinkTokenPrefix = @"link-";
|
|
|
37
37
|
NSString* const kRNLinkKitItemAddTokenPrefix = @"item-add-";
|
|
38
38
|
NSString* const kRNLinkKitPaymentTokenPrefix = @"payment";
|
|
39
39
|
NSString* const kRNLinkKitDepositSwitchTokenPrefix = @"deposit-switch-";
|
|
40
|
+
NSString* const kRNLinkKitPublicTokenPrefix = @"public-";
|
|
40
41
|
|
|
41
42
|
@interface RNLinksdk ()
|
|
42
43
|
@property (nonatomic, strong) id<PLKHandler> linkHandler;
|
|
@@ -94,7 +95,7 @@ NSString* const kRNLinkKitDepositSwitchTokenPrefix = @"deposit-switch-";
|
|
|
94
95
|
// If PLKSuccessMetadata responds to neither, swizzling cannot fix this
|
|
95
96
|
if (respondsToNeither) {
|
|
96
97
|
NSString *githubIssueURLString = @"https://github.com/plaid/react-native-plaid-link-sdk/issues/new?assignees=&labels=&template=bug_report.md&title=";
|
|
97
|
-
NSAssert(
|
|
98
|
+
NSAssert(NO, @"%@ does not respond to correctly spelled %@ or legacy, typo %@. This is a bug in either react-native-plaid-link-sdk, or LinkKit. Please file an issue at: %@", NSStringFromClass(targetClass), NSStringFromSelector(correctSel), NSStringFromSelector(typoSel), githubIssueURLString);
|
|
98
99
|
return;
|
|
99
100
|
}
|
|
100
101
|
|
|
@@ -115,7 +116,7 @@ NSString* const kRNLinkKitDepositSwitchTokenPrefix = @"deposit-switch-";
|
|
|
115
116
|
RCT_EXPORT_MODULE();
|
|
116
117
|
|
|
117
118
|
+ (NSString*)sdkVersion {
|
|
118
|
-
return @"7.
|
|
119
|
+
return @"7.1.1"; // SDK_VERSION
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
+ (NSString*)objCBridgeVersion {
|
|
@@ -145,13 +146,13 @@ RCT_EXPORT_MODULE();
|
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
- (void)startObserving {
|
|
148
|
-
self.hasObservers =
|
|
149
|
+
self.hasObservers = YES;
|
|
149
150
|
[super startObserving];
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
- (void)stopObserving {
|
|
153
154
|
[super stopObserving];
|
|
154
|
-
self.hasObservers =
|
|
155
|
+
self.hasObservers = NO;
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
RCT_EXPORT_METHOD(continueFromRedirectUriString:(NSString *)redirectUriString) {
|
|
@@ -172,7 +173,6 @@ RCT_EXPORT_METHOD(create:(NSDictionary*)configuration) {
|
|
|
172
173
|
__weak typeof(self) weakSelf = self;
|
|
173
174
|
void (^onSuccess)(PLKLinkSuccess *) = ^(PLKLinkSuccess *success) {
|
|
174
175
|
__typeof(weakSelf) strongSelf = weakSelf;
|
|
175
|
-
[strongSelf dismissLinkViewController];
|
|
176
176
|
|
|
177
177
|
if (strongSelf.successCallback) {
|
|
178
178
|
NSDictionary<NSString*, id> *jsMetadata = [RNLinksdk dictionaryFromSuccess:success];
|
|
@@ -183,7 +183,6 @@ RCT_EXPORT_METHOD(create:(NSDictionary*)configuration) {
|
|
|
183
183
|
|
|
184
184
|
void (^onExit)(PLKLinkExit *) = ^(PLKLinkExit *exit) {
|
|
185
185
|
__typeof(weakSelf) strongSelf = weakSelf;
|
|
186
|
-
[weakSelf dismissLinkViewController];
|
|
187
186
|
|
|
188
187
|
if (strongSelf.exitCallback) {
|
|
189
188
|
NSDictionary *exitMetadata = [RNLinksdk dictionaryFromExit:exit];
|
|
@@ -219,7 +218,7 @@ RCT_EXPORT_METHOD(create:(NSDictionary*)configuration) {
|
|
|
219
218
|
onSuccessHandler:onSuccess];
|
|
220
219
|
config.onEvent = onEvent;
|
|
221
220
|
config.onExit = onExit;
|
|
222
|
-
|
|
221
|
+
NSError *creationError = nil;
|
|
223
222
|
self.linkHandler = [PLKPlaid createWithLinkPublicKeyConfiguration:config
|
|
224
223
|
error:&creationError];
|
|
225
224
|
self.creationError = creationError;
|
|
@@ -236,7 +235,15 @@ RCT_EXPORT_METHOD(open:(RCTResponseSenderBlock)onSuccess :(RCTResponseSenderBloc
|
|
|
236
235
|
self.exitCallback = onExit;
|
|
237
236
|
self.presentingViewController = RCTPresentedViewController();
|
|
238
237
|
NSDictionary *options = self.institutionID.length > 0 ? @{@"institution_id": self.institutionID} : @{};
|
|
239
|
-
|
|
238
|
+
|
|
239
|
+
__weak typeof(self) weakSelf = self;
|
|
240
|
+
void(^presentationHandler)(UIViewController *) = ^(UIViewController *linkViewController) {
|
|
241
|
+
[weakSelf.presentingViewController presentViewController:linkViewController animated:YES completion:nil];
|
|
242
|
+
};
|
|
243
|
+
void(^dismissalHandler)(UIViewController *) = ^(UIViewController *linkViewController) {
|
|
244
|
+
[weakSelf dismiss];
|
|
245
|
+
};
|
|
246
|
+
[self.linkHandler openWithPresentationHandler:presentationHandler dismissalHandler:dismissalHandler options:options];
|
|
240
247
|
} else {
|
|
241
248
|
id error = self.creationError ? RCTJSErrorFromNSError(self.creationError) : RCTMakeError(@"create was not called", nil, nil);
|
|
242
249
|
onExit(@[error]);
|
|
@@ -244,11 +251,8 @@ RCT_EXPORT_METHOD(open:(RCTResponseSenderBlock)onSuccess :(RCTResponseSenderBloc
|
|
|
244
251
|
}
|
|
245
252
|
|
|
246
253
|
RCT_EXPORT_METHOD(dismiss) {
|
|
247
|
-
[self
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
- (void)dismissLinkViewController {
|
|
251
|
-
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
|
|
254
|
+
[self.presentingViewController dismissViewControllerAnimated:YES
|
|
255
|
+
completion:nil];
|
|
252
256
|
self.presentingViewController = nil;
|
|
253
257
|
self.linkHandler = nil;
|
|
254
258
|
}
|
|
@@ -285,12 +289,15 @@ RCT_EXPORT_METHOD(dismiss) {
|
|
|
285
289
|
BOOL isPaymentToken = [tokenInput hasPrefix:kRNLinkKitPaymentTokenPrefix];
|
|
286
290
|
BOOL isItemAddToken = [tokenInput hasPrefix:kRNLinkKitItemAddTokenPrefix];
|
|
287
291
|
BOOL isDepositSwitchToken = [tokenInput hasPrefix:kRNLinkKitDepositSwitchTokenPrefix];
|
|
292
|
+
BOOL isPublicToken = [tokenInput hasPrefix:kRNLinkKitPublicTokenPrefix];
|
|
288
293
|
if (isPaymentToken) {
|
|
289
294
|
token = [PLKLinkPublicKeyConfigurationToken createWithPaymentToken:tokenInput publicKey:key];
|
|
290
295
|
} else if (isItemAddToken) {
|
|
291
296
|
token = [PLKLinkPublicKeyConfigurationToken createWithPublicToken:tokenInput publicKey:key];
|
|
292
297
|
} else if (isDepositSwitchToken) {
|
|
293
298
|
token = [PLKLinkPublicKeyConfigurationToken createWithDepositSwitchToken:tokenInput publicKey:key];
|
|
299
|
+
} else if (isPublicToken) {
|
|
300
|
+
token = [PLKLinkPublicKeyConfigurationToken createWithPublicToken:tokenInput publicKey:key];
|
|
294
301
|
} else {
|
|
295
302
|
token = [PLKLinkPublicKeyConfigurationToken createWithPublicKey:key];
|
|
296
303
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-plaid-link-sdk",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "React Native Plaid Link SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"version": "git add -A",
|
|
19
19
|
"postversion": "git push && git push --tags && rm -rf dist/temp",
|
|
20
20
|
"compile-typescript": "tsc",
|
|
21
|
-
"check-version": "node check_version_hook.js"
|
|
21
|
+
"check-version": "node check_version_hook.js",
|
|
22
|
+
"prepublishOnly": "tsc"
|
|
22
23
|
},
|
|
23
24
|
"keywords": [
|
|
24
25
|
"react-native",
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@react-native-community/eslint-plugin": "^1.1.0",
|
|
47
48
|
"@types/jest": "^26.0.14",
|
|
48
|
-
"@types/react": "^16.
|
|
49
|
+
"@types/react": "^16.14.20",
|
|
49
50
|
"@types/react-native": "^0.63.25",
|
|
50
51
|
"@types/react-test-renderer": "^16.9.3",
|
|
51
52
|
"@typescript-eslint/eslint-plugin": "^4.6.1",
|
|
@@ -61,8 +62,5 @@
|
|
|
61
62
|
"react-native": "^0.63.3",
|
|
62
63
|
"typescript": "^4.2.4",
|
|
63
64
|
"xyz": "0.5.x"
|
|
64
|
-
},
|
|
65
|
-
"dependencies": {
|
|
66
|
-
"tsc": "^1.20150623.0"
|
|
67
65
|
}
|
|
68
66
|
}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/dist/dist/PlaidLink.d.ts
DELETED
package/dist/dist/PlaidLink.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try {
|
|
5
|
-
step(generator.next(value));
|
|
6
|
-
}
|
|
7
|
-
catch (e) {
|
|
8
|
-
reject(e);
|
|
9
|
-
} }
|
|
10
|
-
function rejected(value) { try {
|
|
11
|
-
step(generator["throw"](value));
|
|
12
|
-
}
|
|
13
|
-
catch (e) {
|
|
14
|
-
reject(e);
|
|
15
|
-
} }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
import React, { useEffect } from 'react';
|
|
21
|
-
import { Linking, NativeEventEmitter, NativeModules, Platform, TouchableOpacity, } from 'react-native';
|
|
22
|
-
/**
|
|
23
|
-
* A hook that registers a listener on the Plaid emitter for the 'onEvent' type.
|
|
24
|
-
* The listener is cleaned up when this view is unmounted
|
|
25
|
-
*
|
|
26
|
-
* @param LinkEventListener the listener to call
|
|
27
|
-
*/
|
|
28
|
-
export const usePlaidEmitter = (LinkEventListener) => {
|
|
29
|
-
useEffect(() => {
|
|
30
|
-
const emitter = new NativeEventEmitter(Platform.OS === 'ios'
|
|
31
|
-
? NativeModules.RNLinksdk
|
|
32
|
-
: NativeModules.PlaidAndroid);
|
|
33
|
-
const listener = emitter.addListener('onEvent', LinkEventListener);
|
|
34
|
-
// Clean up after this effect:
|
|
35
|
-
return function cleanup() {
|
|
36
|
-
listener.remove();
|
|
37
|
-
};
|
|
38
|
-
}, []);
|
|
39
|
-
};
|
|
40
|
-
export const openLink = (props) => __awaiter(void 0, void 0, void 0, function* () {
|
|
41
|
-
if (props.tokenConfig == null) {
|
|
42
|
-
console.log('The public_key is being deprecated. Learn how to upgrade to link_tokens at https://plaid.com/docs/link-token-migration-guide/');
|
|
43
|
-
}
|
|
44
|
-
let config = props.tokenConfig ? props.tokenConfig : props.publicKeyConfig;
|
|
45
|
-
if (Platform.OS === 'android') {
|
|
46
|
-
NativeModules.PlaidAndroid.startLinkActivityForResult(JSON.stringify(config), (result) => {
|
|
47
|
-
if (props.onSuccess != null) {
|
|
48
|
-
props.onSuccess(result);
|
|
49
|
-
}
|
|
50
|
-
}, (result) => {
|
|
51
|
-
if (props.onExit != null) {
|
|
52
|
-
if (result.error != null && result.error.displayMessage != null) {
|
|
53
|
-
//TODO(RNSDK-118): Remove errorDisplayMessage field in next major update.
|
|
54
|
-
result.error.errorDisplayMessage = result.error.displayMessage;
|
|
55
|
-
}
|
|
56
|
-
props.onExit(result);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
NativeModules.RNLinksdk.create(config);
|
|
62
|
-
NativeModules.RNLinksdk.open((result) => {
|
|
63
|
-
if (props.onSuccess != null) {
|
|
64
|
-
props.onSuccess(result);
|
|
65
|
-
}
|
|
66
|
-
}, (error, result) => {
|
|
67
|
-
if (props.onExit != null) {
|
|
68
|
-
if (error) {
|
|
69
|
-
var data = result || {};
|
|
70
|
-
data.error = error;
|
|
71
|
-
props.onExit(data);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
props.onExit(result);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
export const dismissLink = () => {
|
|
81
|
-
if (Platform.OS === 'ios') {
|
|
82
|
-
NativeModules.RNLinksdk.dismiss();
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
export const useDeepLinkRedirector = () => {
|
|
86
|
-
const _handleListenerChange = (event) => {
|
|
87
|
-
if (event.url !== null && Platform.OS === 'ios') {
|
|
88
|
-
NativeModules.RNLinksdk.continueFromRedirectUriString(event.url);
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
useEffect(() => {
|
|
92
|
-
Linking.addEventListener('url', _handleListenerChange);
|
|
93
|
-
return function cleanup() {
|
|
94
|
-
Linking.removeEventListener('url', _handleListenerChange);
|
|
95
|
-
};
|
|
96
|
-
}, []);
|
|
97
|
-
};
|
|
98
|
-
export const PlaidLink = (props) => {
|
|
99
|
-
useDeepLinkRedirector();
|
|
100
|
-
return <TouchableOpacity onPress={() => openLink(props)}>{props.children}</TouchableOpacity>;
|
|
101
|
-
};
|
package/dist/dist/Types.d.ts
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
export var LinkLogLevel: any;
|
|
2
|
-
export var PlaidEnvironment: any;
|
|
3
|
-
export var PlaidProduct: any;
|
|
4
|
-
export class LinkAccountSubtypeCredit {
|
|
5
|
-
constructor(type: any, subtype: any);
|
|
6
|
-
type: any;
|
|
7
|
-
subtype: any;
|
|
8
|
-
}
|
|
9
|
-
export namespace LinkAccountSubtypeCredit {
|
|
10
|
-
const ALL: LinkAccountSubtypeCredit;
|
|
11
|
-
const CREDIT_CARD: LinkAccountSubtypeCredit;
|
|
12
|
-
const PAYPAL: LinkAccountSubtypeCredit;
|
|
13
|
-
}
|
|
14
|
-
export class LinkAccountSubtypeDepository {
|
|
15
|
-
constructor(type: any, subtype: any);
|
|
16
|
-
type: any;
|
|
17
|
-
subtype: any;
|
|
18
|
-
}
|
|
19
|
-
export namespace LinkAccountSubtypeDepository {
|
|
20
|
-
const ALL_1: LinkAccountSubtypeDepository;
|
|
21
|
-
export { ALL_1 as ALL };
|
|
22
|
-
export const CASH_MANAGEMENT: LinkAccountSubtypeDepository;
|
|
23
|
-
export const CD: LinkAccountSubtypeDepository;
|
|
24
|
-
export const CHECKING: LinkAccountSubtypeDepository;
|
|
25
|
-
export const EBT: LinkAccountSubtypeDepository;
|
|
26
|
-
export const HSA: LinkAccountSubtypeDepository;
|
|
27
|
-
export const MONEY_MARKET: LinkAccountSubtypeDepository;
|
|
28
|
-
const PAYPAL_1: LinkAccountSubtypeDepository;
|
|
29
|
-
export { PAYPAL_1 as PAYPAL };
|
|
30
|
-
export const PREPAID: LinkAccountSubtypeDepository;
|
|
31
|
-
export const SAVINGS: LinkAccountSubtypeDepository;
|
|
32
|
-
}
|
|
33
|
-
export class LinkAccountSubtypeInvestment {
|
|
34
|
-
constructor(type: any, subtype: any);
|
|
35
|
-
type: any;
|
|
36
|
-
subtype: any;
|
|
37
|
-
}
|
|
38
|
-
export namespace LinkAccountSubtypeInvestment {
|
|
39
|
-
const ALL_2: LinkAccountSubtypeInvestment;
|
|
40
|
-
export { ALL_2 as ALL };
|
|
41
|
-
export const BROKERAGE: LinkAccountSubtypeInvestment;
|
|
42
|
-
export const CASH_ISA: LinkAccountSubtypeInvestment;
|
|
43
|
-
export const EDUCATION_SAVINGS_ACCOUNT: LinkAccountSubtypeInvestment;
|
|
44
|
-
export const FIXED_ANNUNITY: LinkAccountSubtypeInvestment;
|
|
45
|
-
export const GIC: LinkAccountSubtypeInvestment;
|
|
46
|
-
export const HEALTH_REIMBURSEMENT_ARRANGEMENT: LinkAccountSubtypeInvestment;
|
|
47
|
-
const HSA_1: LinkAccountSubtypeInvestment;
|
|
48
|
-
export { HSA_1 as HSA };
|
|
49
|
-
export const INVESTMENT_401A: LinkAccountSubtypeInvestment;
|
|
50
|
-
export const INVESTMENT_401K: LinkAccountSubtypeInvestment;
|
|
51
|
-
export const INVESTMENT_403B: LinkAccountSubtypeInvestment;
|
|
52
|
-
export const INVESTMENT_457B: LinkAccountSubtypeInvestment;
|
|
53
|
-
export const INVESTMENT_529: LinkAccountSubtypeInvestment;
|
|
54
|
-
export const IRA: LinkAccountSubtypeInvestment;
|
|
55
|
-
export const ISA: LinkAccountSubtypeInvestment;
|
|
56
|
-
export const KEOGH: LinkAccountSubtypeInvestment;
|
|
57
|
-
export const LIF: LinkAccountSubtypeInvestment;
|
|
58
|
-
export const LIRA: LinkAccountSubtypeInvestment;
|
|
59
|
-
export const LRIF: LinkAccountSubtypeInvestment;
|
|
60
|
-
export const LRSP: LinkAccountSubtypeInvestment;
|
|
61
|
-
export const MUTUAL_FUND: LinkAccountSubtypeInvestment;
|
|
62
|
-
export const NON_TAXABLE_BROKERAGE_ACCOUNT: LinkAccountSubtypeInvestment;
|
|
63
|
-
export const PENSION: LinkAccountSubtypeInvestment;
|
|
64
|
-
export const PLAN: LinkAccountSubtypeInvestment;
|
|
65
|
-
export const PRIF: LinkAccountSubtypeInvestment;
|
|
66
|
-
export const PROFIT_SHARING_PLAN: LinkAccountSubtypeInvestment;
|
|
67
|
-
export const RDSP: LinkAccountSubtypeInvestment;
|
|
68
|
-
export const RESP: LinkAccountSubtypeInvestment;
|
|
69
|
-
export const RETIREMENT: LinkAccountSubtypeInvestment;
|
|
70
|
-
export const RLIF: LinkAccountSubtypeInvestment;
|
|
71
|
-
export const ROTH: LinkAccountSubtypeInvestment;
|
|
72
|
-
export const ROTH_401K: LinkAccountSubtypeInvestment;
|
|
73
|
-
export const RRIF: LinkAccountSubtypeInvestment;
|
|
74
|
-
export const RRSP: LinkAccountSubtypeInvestment;
|
|
75
|
-
export const SARSEP: LinkAccountSubtypeInvestment;
|
|
76
|
-
export const SEP_IRA: LinkAccountSubtypeInvestment;
|
|
77
|
-
export const SIMPLE_IRA: LinkAccountSubtypeInvestment;
|
|
78
|
-
export const SIIP: LinkAccountSubtypeInvestment;
|
|
79
|
-
export const STOCK_PLAN: LinkAccountSubtypeInvestment;
|
|
80
|
-
export const TFSA: LinkAccountSubtypeInvestment;
|
|
81
|
-
export const THRIFT_SAVINGS_PLAN: LinkAccountSubtypeInvestment;
|
|
82
|
-
export const TRUST: LinkAccountSubtypeInvestment;
|
|
83
|
-
export const UGMA: LinkAccountSubtypeInvestment;
|
|
84
|
-
export const UTMA: LinkAccountSubtypeInvestment;
|
|
85
|
-
export const VARIABLE_ANNUITY: LinkAccountSubtypeInvestment;
|
|
86
|
-
}
|
|
87
|
-
export class LinkAccountSubtypeLoan {
|
|
88
|
-
constructor(type: any, subtype: any);
|
|
89
|
-
type: any;
|
|
90
|
-
subtype: any;
|
|
91
|
-
}
|
|
92
|
-
export namespace LinkAccountSubtypeLoan {
|
|
93
|
-
const ALL_3: LinkAccountSubtypeLoan;
|
|
94
|
-
export { ALL_3 as ALL };
|
|
95
|
-
export const AUTO: LinkAccountSubtypeLoan;
|
|
96
|
-
export const BUSINESS: LinkAccountSubtypeLoan;
|
|
97
|
-
export const COMMERCIAL: LinkAccountSubtypeLoan;
|
|
98
|
-
export const CONSTRUCTION: LinkAccountSubtypeLoan;
|
|
99
|
-
export const CONSUMER: LinkAccountSubtypeLoan;
|
|
100
|
-
export const HOME_EQUITY: LinkAccountSubtypeLoan;
|
|
101
|
-
export const LINE_OF_CREDIT: LinkAccountSubtypeLoan;
|
|
102
|
-
export const LOAN: LinkAccountSubtypeLoan;
|
|
103
|
-
export const MORTGAGE: LinkAccountSubtypeLoan;
|
|
104
|
-
export const OVERDRAFT: LinkAccountSubtypeLoan;
|
|
105
|
-
export const STUDENT: LinkAccountSubtypeLoan;
|
|
106
|
-
}
|
|
107
|
-
export class LinkAccountSubtypeUnknown {
|
|
108
|
-
constructor(type: any, subtype: any);
|
|
109
|
-
type: any;
|
|
110
|
-
subtype: any;
|
|
111
|
-
}
|
|
112
|
-
export var LinkAccountVerificationStatus: any;
|
|
113
|
-
export var LinkExitMetadataStatus: any;
|
|
114
|
-
export var LinkErrorCode: any;
|
|
115
|
-
export var LinkErrorType: any;
|
|
116
|
-
export var LinkEventName: any;
|
|
117
|
-
export var LinkEventViewName: any;
|
package/dist/dist/Types.js
DELETED
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
export var LinkLogLevel;
|
|
2
|
-
(function (LinkLogLevel) {
|
|
3
|
-
LinkLogLevel["DEBUG"] = "debug";
|
|
4
|
-
LinkLogLevel["INFO"] = "info";
|
|
5
|
-
LinkLogLevel["WARN"] = "warn";
|
|
6
|
-
LinkLogLevel["ERROR"] = "error";
|
|
7
|
-
})(LinkLogLevel || (LinkLogLevel = {}));
|
|
8
|
-
export var PlaidEnvironment;
|
|
9
|
-
(function (PlaidEnvironment) {
|
|
10
|
-
PlaidEnvironment["PRODUCTION"] = "production";
|
|
11
|
-
PlaidEnvironment["DEVELOPMENT"] = "development";
|
|
12
|
-
PlaidEnvironment["SANDBOX"] = "sandbox";
|
|
13
|
-
})(PlaidEnvironment || (PlaidEnvironment = {}));
|
|
14
|
-
export var PlaidProduct;
|
|
15
|
-
(function (PlaidProduct) {
|
|
16
|
-
PlaidProduct["ASSETS"] = "assets";
|
|
17
|
-
PlaidProduct["AUTH"] = "auth";
|
|
18
|
-
PlaidProduct["DEPOSIT_SWITCH"] = "deposit_switch";
|
|
19
|
-
PlaidProduct["IDENTITY"] = "identity";
|
|
20
|
-
PlaidProduct["INCOME"] = "income";
|
|
21
|
-
PlaidProduct["INVESTMENTS"] = "investments";
|
|
22
|
-
PlaidProduct["LIABILITIES"] = "liabilities";
|
|
23
|
-
PlaidProduct["LIABILITIES_REPORT"] = "liabilities_report";
|
|
24
|
-
PlaidProduct["PAYMENT_INITIATION"] = "payment_initiation";
|
|
25
|
-
PlaidProduct["TRANSACTIONS"] = "transactions";
|
|
26
|
-
})(PlaidProduct || (PlaidProduct = {}));
|
|
27
|
-
var LinkAccountType;
|
|
28
|
-
(function (LinkAccountType) {
|
|
29
|
-
LinkAccountType["CREDIT"] = "credit";
|
|
30
|
-
LinkAccountType["DEPOSITORY"] = "depository";
|
|
31
|
-
LinkAccountType["INVESTMENT"] = "investment";
|
|
32
|
-
LinkAccountType["LOAN"] = "loan";
|
|
33
|
-
LinkAccountType["OTHER"] = "other";
|
|
34
|
-
})(LinkAccountType || (LinkAccountType = {}));
|
|
35
|
-
var LinkAccountSubtypes;
|
|
36
|
-
(function (LinkAccountSubtypes) {
|
|
37
|
-
LinkAccountSubtypes["ALL"] = "all";
|
|
38
|
-
LinkAccountSubtypes["CREDIT_CARD"] = "credit card";
|
|
39
|
-
LinkAccountSubtypes["PAYPAL"] = "paypal";
|
|
40
|
-
LinkAccountSubtypes["AUTO"] = "auto";
|
|
41
|
-
LinkAccountSubtypes["BUSINESS"] = "business";
|
|
42
|
-
LinkAccountSubtypes["COMMERCIAL"] = "commercial";
|
|
43
|
-
LinkAccountSubtypes["CONSTRUCTION"] = "construction";
|
|
44
|
-
LinkAccountSubtypes["CONSUMER"] = "consumer";
|
|
45
|
-
LinkAccountSubtypes["HOME_EQUITY"] = "home equity";
|
|
46
|
-
LinkAccountSubtypes["LINE_OF_CREDIT"] = "line of credit";
|
|
47
|
-
LinkAccountSubtypes["LOAN"] = "loan";
|
|
48
|
-
LinkAccountSubtypes["MORTGAGE"] = "mortgage";
|
|
49
|
-
LinkAccountSubtypes["OVERDRAFT"] = "overdraft";
|
|
50
|
-
LinkAccountSubtypes["STUDENT"] = "student";
|
|
51
|
-
LinkAccountSubtypes["CASH_MANAGEMENT"] = "cash management";
|
|
52
|
-
LinkAccountSubtypes["CD"] = "cd";
|
|
53
|
-
LinkAccountSubtypes["CHECKING"] = "checking";
|
|
54
|
-
LinkAccountSubtypes["EBT"] = "ebt";
|
|
55
|
-
LinkAccountSubtypes["HSA"] = "hsa";
|
|
56
|
-
LinkAccountSubtypes["MONEY_MARKET"] = "money market";
|
|
57
|
-
LinkAccountSubtypes["PREPAID"] = "prepaid";
|
|
58
|
-
LinkAccountSubtypes["SAVINGS"] = "savings";
|
|
59
|
-
LinkAccountSubtypes["FOUR_0_1_A"] = "401a";
|
|
60
|
-
LinkAccountSubtypes["FOUR_0_1_K"] = "401k";
|
|
61
|
-
LinkAccountSubtypes["FOUR_0_3_B"] = "403B";
|
|
62
|
-
LinkAccountSubtypes["FOUR_5_7_B"] = "457b";
|
|
63
|
-
LinkAccountSubtypes["FIVE_2_9"] = "529";
|
|
64
|
-
LinkAccountSubtypes["BROKERAGE"] = "brokerage";
|
|
65
|
-
LinkAccountSubtypes["CASH_ISA"] = "cash isa";
|
|
66
|
-
LinkAccountSubtypes["EDUCATION_SAVINGS_ACCOUNT"] = "education savings account";
|
|
67
|
-
LinkAccountSubtypes["FIXED_ANNUNITY"] = "fixed annuity";
|
|
68
|
-
LinkAccountSubtypes["GIC"] = "gic";
|
|
69
|
-
LinkAccountSubtypes["HEALTH_REIMBURSEMENT_ARRANGEMENT"] = "health reimbursement arrangement";
|
|
70
|
-
LinkAccountSubtypes["IRA"] = "ira";
|
|
71
|
-
LinkAccountSubtypes["ISA"] = "isa";
|
|
72
|
-
LinkAccountSubtypes["KEOGH"] = "keogh";
|
|
73
|
-
LinkAccountSubtypes["LIF"] = "lif";
|
|
74
|
-
LinkAccountSubtypes["LIRA"] = "lira";
|
|
75
|
-
LinkAccountSubtypes["LRIF"] = "lrif";
|
|
76
|
-
LinkAccountSubtypes["LRSP"] = "lrsp";
|
|
77
|
-
LinkAccountSubtypes["MUTUAL_FUND"] = "mutual fund";
|
|
78
|
-
LinkAccountSubtypes["NON_TAXABLE_BROKERAGE_ACCOUNT"] = "non-taxable brokerage account";
|
|
79
|
-
LinkAccountSubtypes["PENSION"] = "pension";
|
|
80
|
-
LinkAccountSubtypes["PLAN"] = "plan";
|
|
81
|
-
LinkAccountSubtypes["PRIF"] = "prif";
|
|
82
|
-
LinkAccountSubtypes["PROFIT_SHARING_PLAN"] = "profit sharing plan";
|
|
83
|
-
LinkAccountSubtypes["RDSP"] = "rdsp";
|
|
84
|
-
LinkAccountSubtypes["RESP"] = "resp";
|
|
85
|
-
LinkAccountSubtypes["RETIREMENT"] = "retirement";
|
|
86
|
-
LinkAccountSubtypes["RLIF"] = "rlif";
|
|
87
|
-
LinkAccountSubtypes["ROTH_401K"] = "roth 401k";
|
|
88
|
-
LinkAccountSubtypes["ROTH"] = "roth";
|
|
89
|
-
LinkAccountSubtypes["RRIF"] = "rrif";
|
|
90
|
-
LinkAccountSubtypes["RRSP"] = "rrsp";
|
|
91
|
-
LinkAccountSubtypes["SARSEP"] = "sarsep";
|
|
92
|
-
LinkAccountSubtypes["SEP_IRA"] = "sep ira";
|
|
93
|
-
LinkAccountSubtypes["SIMPLE_IRA"] = "simple ira";
|
|
94
|
-
LinkAccountSubtypes["SIPP"] = "sipp";
|
|
95
|
-
LinkAccountSubtypes["STOCK_PLAN"] = "stock plan";
|
|
96
|
-
LinkAccountSubtypes["TFSA"] = "tfsa";
|
|
97
|
-
LinkAccountSubtypes["THRIFT_SAVINGS_PLAN"] = "thrift savings plan";
|
|
98
|
-
LinkAccountSubtypes["TRUST"] = "trust";
|
|
99
|
-
LinkAccountSubtypes["UGMA"] = "ugma";
|
|
100
|
-
LinkAccountSubtypes["UTMA"] = "utma";
|
|
101
|
-
LinkAccountSubtypes["VARIABLE_ANNUITY"] = "variable annuity";
|
|
102
|
-
})(LinkAccountSubtypes || (LinkAccountSubtypes = {}));
|
|
103
|
-
export class LinkAccountSubtypeCredit {
|
|
104
|
-
constructor(type, subtype) {
|
|
105
|
-
this.type = type;
|
|
106
|
-
this.subtype = subtype;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
LinkAccountSubtypeCredit.ALL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.ALL);
|
|
110
|
-
LinkAccountSubtypeCredit.CREDIT_CARD = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.CREDIT_CARD);
|
|
111
|
-
LinkAccountSubtypeCredit.PAYPAL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.PAYPAL);
|
|
112
|
-
export class LinkAccountSubtypeDepository {
|
|
113
|
-
constructor(type, subtype) {
|
|
114
|
-
this.type = type;
|
|
115
|
-
this.subtype = subtype;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
LinkAccountSubtypeDepository.ALL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.ALL);
|
|
119
|
-
LinkAccountSubtypeDepository.CASH_MANAGEMENT = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CASH_MANAGEMENT);
|
|
120
|
-
LinkAccountSubtypeDepository.CD = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CD);
|
|
121
|
-
LinkAccountSubtypeDepository.CHECKING = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CHECKING);
|
|
122
|
-
LinkAccountSubtypeDepository.EBT = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.EBT);
|
|
123
|
-
LinkAccountSubtypeDepository.HSA = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.HSA);
|
|
124
|
-
LinkAccountSubtypeDepository.MONEY_MARKET = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.MONEY_MARKET);
|
|
125
|
-
LinkAccountSubtypeDepository.PAYPAL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PAYPAL);
|
|
126
|
-
LinkAccountSubtypeDepository.PREPAID = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PREPAID);
|
|
127
|
-
LinkAccountSubtypeDepository.SAVINGS = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.SAVINGS);
|
|
128
|
-
export class LinkAccountSubtypeInvestment {
|
|
129
|
-
constructor(type, subtype) {
|
|
130
|
-
this.type = type;
|
|
131
|
-
this.subtype = subtype;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
LinkAccountSubtypeInvestment.ALL = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ALL);
|
|
135
|
-
LinkAccountSubtypeInvestment.BROKERAGE = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.BROKERAGE);
|
|
136
|
-
LinkAccountSubtypeInvestment.CASH_ISA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.CASH_ISA);
|
|
137
|
-
LinkAccountSubtypeInvestment.EDUCATION_SAVINGS_ACCOUNT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.EDUCATION_SAVINGS_ACCOUNT);
|
|
138
|
-
LinkAccountSubtypeInvestment.FIXED_ANNUNITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FIXED_ANNUNITY);
|
|
139
|
-
LinkAccountSubtypeInvestment.GIC = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.GIC);
|
|
140
|
-
LinkAccountSubtypeInvestment.HEALTH_REIMBURSEMENT_ARRANGEMENT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.HEALTH_REIMBURSEMENT_ARRANGEMENT);
|
|
141
|
-
LinkAccountSubtypeInvestment.HSA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.HSA);
|
|
142
|
-
LinkAccountSubtypeInvestment.INVESTMENT_401A = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_1_A);
|
|
143
|
-
LinkAccountSubtypeInvestment.INVESTMENT_401K = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_1_K);
|
|
144
|
-
LinkAccountSubtypeInvestment.INVESTMENT_403B = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_3_B);
|
|
145
|
-
LinkAccountSubtypeInvestment.INVESTMENT_457B = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_5_7_B);
|
|
146
|
-
LinkAccountSubtypeInvestment.INVESTMENT_529 = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FIVE_2_9);
|
|
147
|
-
LinkAccountSubtypeInvestment.IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.IRA);
|
|
148
|
-
LinkAccountSubtypeInvestment.ISA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ISA);
|
|
149
|
-
LinkAccountSubtypeInvestment.KEOGH = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.KEOGH);
|
|
150
|
-
LinkAccountSubtypeInvestment.LIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LIF);
|
|
151
|
-
LinkAccountSubtypeInvestment.LIRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LIRA);
|
|
152
|
-
LinkAccountSubtypeInvestment.LRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LRIF);
|
|
153
|
-
LinkAccountSubtypeInvestment.LRSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LRSP);
|
|
154
|
-
LinkAccountSubtypeInvestment.MUTUAL_FUND = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.MUTUAL_FUND);
|
|
155
|
-
LinkAccountSubtypeInvestment.NON_TAXABLE_BROKERAGE_ACCOUNT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.NON_TAXABLE_BROKERAGE_ACCOUNT);
|
|
156
|
-
LinkAccountSubtypeInvestment.PENSION = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PENSION);
|
|
157
|
-
LinkAccountSubtypeInvestment.PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PLAN);
|
|
158
|
-
LinkAccountSubtypeInvestment.PRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PRIF);
|
|
159
|
-
LinkAccountSubtypeInvestment.PROFIT_SHARING_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PROFIT_SHARING_PLAN);
|
|
160
|
-
LinkAccountSubtypeInvestment.RDSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RDSP);
|
|
161
|
-
LinkAccountSubtypeInvestment.RESP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RESP);
|
|
162
|
-
LinkAccountSubtypeInvestment.RETIREMENT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RETIREMENT);
|
|
163
|
-
LinkAccountSubtypeInvestment.RLIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RLIF);
|
|
164
|
-
LinkAccountSubtypeInvestment.ROTH = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ROTH);
|
|
165
|
-
LinkAccountSubtypeInvestment.ROTH_401K = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ROTH_401K);
|
|
166
|
-
LinkAccountSubtypeInvestment.RRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RRIF);
|
|
167
|
-
LinkAccountSubtypeInvestment.RRSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RRSP);
|
|
168
|
-
LinkAccountSubtypeInvestment.SARSEP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SARSEP);
|
|
169
|
-
LinkAccountSubtypeInvestment.SEP_IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SEP_IRA);
|
|
170
|
-
LinkAccountSubtypeInvestment.SIMPLE_IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SIMPLE_IRA);
|
|
171
|
-
LinkAccountSubtypeInvestment.SIIP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SIPP);
|
|
172
|
-
LinkAccountSubtypeInvestment.STOCK_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.STOCK_PLAN);
|
|
173
|
-
LinkAccountSubtypeInvestment.TFSA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.TFSA);
|
|
174
|
-
LinkAccountSubtypeInvestment.THRIFT_SAVINGS_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.THRIFT_SAVINGS_PLAN);
|
|
175
|
-
LinkAccountSubtypeInvestment.TRUST = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.TRUST);
|
|
176
|
-
LinkAccountSubtypeInvestment.UGMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UGMA);
|
|
177
|
-
LinkAccountSubtypeInvestment.UTMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UTMA);
|
|
178
|
-
LinkAccountSubtypeInvestment.VARIABLE_ANNUITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.VARIABLE_ANNUITY);
|
|
179
|
-
export class LinkAccountSubtypeLoan {
|
|
180
|
-
constructor(type, subtype) {
|
|
181
|
-
this.type = type;
|
|
182
|
-
this.subtype = subtype;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
LinkAccountSubtypeLoan.ALL = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.ALL);
|
|
186
|
-
LinkAccountSubtypeLoan.AUTO = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.AUTO);
|
|
187
|
-
LinkAccountSubtypeLoan.BUSINESS = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.BUSINESS);
|
|
188
|
-
LinkAccountSubtypeLoan.COMMERCIAL = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.COMMERCIAL);
|
|
189
|
-
LinkAccountSubtypeLoan.CONSTRUCTION = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.CONSTRUCTION);
|
|
190
|
-
LinkAccountSubtypeLoan.CONSUMER = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.CONSUMER);
|
|
191
|
-
LinkAccountSubtypeLoan.HOME_EQUITY = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.HOME_EQUITY);
|
|
192
|
-
LinkAccountSubtypeLoan.LINE_OF_CREDIT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.LINE_OF_CREDIT);
|
|
193
|
-
LinkAccountSubtypeLoan.LOAN = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.LOAN);
|
|
194
|
-
LinkAccountSubtypeLoan.MORTGAGE = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.MORTGAGE);
|
|
195
|
-
LinkAccountSubtypeLoan.OVERDRAFT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.OVERDRAFT);
|
|
196
|
-
LinkAccountSubtypeLoan.STUDENT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.STUDENT);
|
|
197
|
-
export class LinkAccountSubtypeUnknown {
|
|
198
|
-
constructor(type, subtype) {
|
|
199
|
-
this.type = type;
|
|
200
|
-
this.subtype = subtype;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
export var LinkAccountVerificationStatus;
|
|
204
|
-
(function (LinkAccountVerificationStatus) {
|
|
205
|
-
LinkAccountVerificationStatus["PENDING_AUTOMATIC_VERIFICATION"] = "pending_automatic_verification";
|
|
206
|
-
LinkAccountVerificationStatus["PENDING_MANUAL_VERIFICATION"] = "pending_manual_verification";
|
|
207
|
-
LinkAccountVerificationStatus["MANUALLY_VERIFIED"] = "manually_verified";
|
|
208
|
-
})(LinkAccountVerificationStatus || (LinkAccountVerificationStatus = {}));
|
|
209
|
-
export var LinkExitMetadataStatus;
|
|
210
|
-
(function (LinkExitMetadataStatus) {
|
|
211
|
-
LinkExitMetadataStatus["CONNECTED"] = "connected";
|
|
212
|
-
LinkExitMetadataStatus["CHOOSE_DEVICE"] = "choose_device";
|
|
213
|
-
LinkExitMetadataStatus["REQUIRES_CODE"] = "requires_code";
|
|
214
|
-
LinkExitMetadataStatus["REQUIRES_CREDENTIALS"] = "requires_credentials";
|
|
215
|
-
LinkExitMetadataStatus["REQUIRES_EXTERNAL_ACTION"] = "requires_external_action";
|
|
216
|
-
LinkExitMetadataStatus["REQUIRES_OAUTH"] = "requires_oauth";
|
|
217
|
-
LinkExitMetadataStatus["REQUIRES_QUESTIONS"] = "requires_questions";
|
|
218
|
-
LinkExitMetadataStatus["REQUIRES_RECAPTCHA"] = "requires_recaptcha";
|
|
219
|
-
LinkExitMetadataStatus["REQUIRES_SELECTIONS"] = "requires_selections";
|
|
220
|
-
LinkExitMetadataStatus["REQUIRES_DEPOSIT_SWITCH_ALLOCATION_CONFIGURATION"] = "requires_deposit_switch_allocation_configuration";
|
|
221
|
-
LinkExitMetadataStatus["REQUIRES_DEPOSIT_SWITCH_ALLOCATION_SELECTION"] = "requires_deposit_switch_allocation_selection";
|
|
222
|
-
})(LinkExitMetadataStatus || (LinkExitMetadataStatus = {}));
|
|
223
|
-
export var LinkErrorCode;
|
|
224
|
-
(function (LinkErrorCode) {
|
|
225
|
-
// ITEM_ERROR
|
|
226
|
-
LinkErrorCode["INVALID_CREDENTIALS"] = "INVALID_CREDENTIALS";
|
|
227
|
-
LinkErrorCode["INVALID_MFA"] = "INVALID_MFA";
|
|
228
|
-
LinkErrorCode["ITEM_LOGIN_REQUIRED"] = "ITEM_LOGIN_REQUIRED";
|
|
229
|
-
LinkErrorCode["INSUFFICIENT_CREDENTIALS"] = "INSUFFICIENT_CREDENTIALS";
|
|
230
|
-
LinkErrorCode["ITEM_LOCKED"] = "ITEM_LOCKED";
|
|
231
|
-
LinkErrorCode["USER_SETUP_REQUIRED"] = "USER_SETUP_REQUIRED";
|
|
232
|
-
LinkErrorCode["MFA_NOT_SUPPORTED"] = "MFA_NOT_SUPPORTED";
|
|
233
|
-
LinkErrorCode["INVALID_SEND_METHOD"] = "INVALID_SEND_METHOD";
|
|
234
|
-
LinkErrorCode["NO_ACCOUNTS"] = "NO_ACCOUNTS";
|
|
235
|
-
LinkErrorCode["ITEM_NOT_SUPPORTED"] = "ITEM_NOT_SUPPORTED";
|
|
236
|
-
LinkErrorCode["INVALD_UPDATED_USERNAME"] = "INVALD_UPDATED_USERNAME";
|
|
237
|
-
LinkErrorCode["INVALID_UPDATED_USERNAME"] = "INVALID_UPDATED_USERNAME";
|
|
238
|
-
LinkErrorCode["ITEM_NO_ERROR"] = "ITEM_NO_ERROR";
|
|
239
|
-
LinkErrorCode["item_no_error"] = "item-no-error";
|
|
240
|
-
LinkErrorCode["NO_AUTH_ACCOUNTS"] = "NO_AUTH_ACCOUNTS";
|
|
241
|
-
LinkErrorCode["NO_INVESTMENT_ACCOUNTS"] = "NO_INVESTMENT_ACCOUNTS";
|
|
242
|
-
LinkErrorCode["NO_INVESTMENT_AUTH_ACCOUNTS"] = "NO_INVESTMENT_AUTH_ACCOUNTS";
|
|
243
|
-
LinkErrorCode["NO_LIABILITY_ACCOUNTS"] = "NO_LIABILITY_ACCOUNTS";
|
|
244
|
-
LinkErrorCode["PRODUCTS_NOT_SUPPORTED"] = "PRODUCTS_NOT_SUPPORTED";
|
|
245
|
-
LinkErrorCode["ITEM_NOT_FOUND"] = "ITEM_NOT_FOUND";
|
|
246
|
-
LinkErrorCode["ITEM_PRODUCT_NOT_READY"] = "ITEM_PRODUCT_NOT_READY";
|
|
247
|
-
// INSTITUTION_ERROR
|
|
248
|
-
LinkErrorCode["INSTITUTION_DOWN"] = "INSTITUTION_DOWN";
|
|
249
|
-
LinkErrorCode["INSTITUTION_NOT_RESPONDING"] = "INSTITUTION_NOT_RESPONDING";
|
|
250
|
-
LinkErrorCode["INSTITUTION_NOT_AVAILABLE"] = "INSTITUTION_NOT_AVAILABLE";
|
|
251
|
-
LinkErrorCode["INSTITUTION_NO_LONGER_SUPPORTED"] = "INSTITUTION_NO_LONGER_SUPPORTED";
|
|
252
|
-
// API_ERROR
|
|
253
|
-
LinkErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
|
|
254
|
-
LinkErrorCode["PLANNED_MAINTENANCE"] = "PLANNED_MAINTENANCE";
|
|
255
|
-
// ASSET_REPORT_ERROR
|
|
256
|
-
LinkErrorCode["PRODUCT_NOT_ENABLED"] = "PRODUCT_NOT_ENABLED";
|
|
257
|
-
LinkErrorCode["DATA_UNAVAILABLE"] = "DATA_UNAVAILABLE";
|
|
258
|
-
LinkErrorCode["ASSET_PRODUCT_NOT_READY"] = "ASSET_PRODUCT_NOT_READY";
|
|
259
|
-
LinkErrorCode["ASSET_REPORT_GENERATION_FAILED"] = "ASSET_REPORT_GENERATION_FAILED";
|
|
260
|
-
LinkErrorCode["INVALID_PARENT"] = "INVALID_PARENT";
|
|
261
|
-
LinkErrorCode["INSIGHTS_NOT_ENABLED"] = "INSIGHTS_NOT_ENABLED";
|
|
262
|
-
LinkErrorCode["INSIGHTS_PREVIOUSLY_NOT_ENABLED"] = "INSIGHTS_PREVIOUSLY_NOT_ENABLED";
|
|
263
|
-
// BANK_TRANSFER_ERROR
|
|
264
|
-
LinkErrorCode["BANK_TRANSFER_LIMIT_EXCEEDED"] = "BANK_TRANSFER_LIMIT_EXCEEDED";
|
|
265
|
-
LinkErrorCode["BANK_TRANSFER_MISSING_ORIGINATION_ACCOUNT"] = "BANK_TRANSFER_MISSING_ORIGINATION_ACCOUNT";
|
|
266
|
-
LinkErrorCode["BANK_TRANSFER_INVALID_ORIGINATION_ACCOUNT"] = "BANK_TRANSFER_INVALID_ORIGINATION_ACCOUNT";
|
|
267
|
-
LinkErrorCode["BANK_TRANSFER_ACCOUNT_BLOCKED"] = "BANK_TRANSFER_ACCOUNT_BLOCKED";
|
|
268
|
-
LinkErrorCode["BANK_TRANSFER_INSUFFICIENT_FUNDS"] = "BANK_TRANSFER_INSUFFICIENT_FUNDS";
|
|
269
|
-
LinkErrorCode["BANK_TRANSFER_NOT_CANCELLABLE"] = "BANK_TRANSFER_NOT_CANCELLABLE";
|
|
270
|
-
LinkErrorCode["BANK_TRANSFER_UNSUPPORTED_ACCOUNT_TYPE"] = "BANK_TRANSFER_UNSUPPORTED_ACCOUNT_TYPE";
|
|
271
|
-
LinkErrorCode["BANK_TRANSFER_UNSUPPORTED_ENVIRONMENT"] = "BANK_TRANSFER_UNSUPPORTED_ENVIRONMENT";
|
|
272
|
-
// SANDBOX_ERROR
|
|
273
|
-
LinkErrorCode["SANDBOX_PRODUCT_NOT_ENABLED"] = "SANDBOX_PRODUCT_NOT_ENABLED";
|
|
274
|
-
LinkErrorCode["SANDBOX_WEBHOOK_INVALID"] = "SANDBOX_WEBHOOK_INVALID";
|
|
275
|
-
LinkErrorCode["SANDBOX_BANK_TRANSFER_EVENT_TRANSITION_INVALID"] = "SANDBOX_BANK_TRANSFER_EVENT_TRANSITION_INVALID";
|
|
276
|
-
// INVALID_REQUEST
|
|
277
|
-
LinkErrorCode["MISSING_FIELDS"] = "MISSING_FIELDS";
|
|
278
|
-
LinkErrorCode["UNKNOWN_FIELDS"] = "UNKNOWN_FIELDS";
|
|
279
|
-
LinkErrorCode["INVALID_FIELD"] = "INVALID_FIELD";
|
|
280
|
-
LinkErrorCode["INCOMPATIBLE_API_VERSION"] = "INCOMPATIBLE_API_VERSION";
|
|
281
|
-
LinkErrorCode["INVALID_BODY"] = "INVALID_BODY";
|
|
282
|
-
LinkErrorCode["INVALID_HEADERS"] = "INVALID_HEADERS";
|
|
283
|
-
LinkErrorCode["NOT_FOUND"] = "NOT_FOUND";
|
|
284
|
-
LinkErrorCode["NO_LONGER_AVAILABLE"] = "NO_LONGER_AVAILABLE";
|
|
285
|
-
LinkErrorCode["SANDBOX_ONLY"] = "SANDBOX_ONLY";
|
|
286
|
-
LinkErrorCode["INVALID_ACCOUNT_NUMBER"] = "INVALID_ACCOUNT_NUMBER";
|
|
287
|
-
// INVALID_INPUT
|
|
288
|
-
// From above ITEM_LOGIN_REQUIRED = "INVALID_CREDENTIALS",
|
|
289
|
-
LinkErrorCode["INCORRECT_DEPOSIT_AMOUNTS"] = "INCORRECT_DEPOSIT_AMOUNTS";
|
|
290
|
-
LinkErrorCode["UNAUTHORIZED_ENVIRONMENT"] = "UNAUTHORIZED_ENVIRONMENT";
|
|
291
|
-
LinkErrorCode["INVALID_PRODUCT"] = "INVALID_PRODUCT";
|
|
292
|
-
LinkErrorCode["UNAUTHORIZED_ROUTE_ACCESS"] = "UNAUTHORIZED_ROUTE_ACCESS";
|
|
293
|
-
LinkErrorCode["DIRECT_INTEGRATION_NOT_ENABLED"] = "DIRECT_INTEGRATION_NOT_ENABLED";
|
|
294
|
-
LinkErrorCode["INVALID_API_KEYS"] = "INVALID_API_KEYS";
|
|
295
|
-
LinkErrorCode["INVALID_ACCESS_TOKEN"] = "INVALID_ACCESS_TOKEN";
|
|
296
|
-
LinkErrorCode["INVALID_PUBLIC_TOKEN"] = "INVALID_PUBLIC_TOKEN";
|
|
297
|
-
LinkErrorCode["INVALID_LINK_TOKEN"] = "INVALID_LINK_TOKEN";
|
|
298
|
-
LinkErrorCode["INVALID_PROCESSOR_TOKEN"] = "INVALID_PROCESSOR_TOKEN";
|
|
299
|
-
LinkErrorCode["INVALID_AUDIT_COPY_TOKEN"] = "INVALID_AUDIT_COPY_TOKEN";
|
|
300
|
-
LinkErrorCode["INVALID_ACCOUNT_ID"] = "INVALID_ACCOUNT_ID";
|
|
301
|
-
// INVALID_RESULT
|
|
302
|
-
LinkErrorCode["PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA"] = "PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA";
|
|
303
|
-
// RATE_LIMIT_EXCEEDED
|
|
304
|
-
LinkErrorCode["ACCOUNTS_LIMIT"] = "ACCOUNTS_LIMIT";
|
|
305
|
-
LinkErrorCode["ADDITION_LIMIT"] = "ADDITION_LIMIT";
|
|
306
|
-
LinkErrorCode["AUTH_LIMIT"] = "AUTH_LIMIT";
|
|
307
|
-
LinkErrorCode["BALANCE_LIMIT"] = "BALANCE_LIMIT";
|
|
308
|
-
LinkErrorCode["IDENTITY_LIMIT"] = "IDENTITY_LIMIT";
|
|
309
|
-
LinkErrorCode["ITEM_GET_LIMIT"] = "ITEM_GET_LIMIT";
|
|
310
|
-
LinkErrorCode["RATE_LIMIT"] = "RATE_LIMIT";
|
|
311
|
-
LinkErrorCode["TRANSACTIONS_LIMIT"] = "TRANSACTIONS_LIMIT";
|
|
312
|
-
// RECAPTCHA_ERROR
|
|
313
|
-
LinkErrorCode["RECAPTCHA_REQUIRED"] = "RECAPTCHA_REQUIRED";
|
|
314
|
-
LinkErrorCode["RECAPTCHA_BAD"] = "RECAPTCHA_BAD";
|
|
315
|
-
// OAUTH_ERROR
|
|
316
|
-
LinkErrorCode["INCORRECT_OAUTH_NONCE"] = "INCORRECT_OAUTH_NONCE";
|
|
317
|
-
LinkErrorCode["OAUTH_STATE_ID_ALREADY_PROCESSED"] = "OAUTH_STATE_ID_ALREADY_PROCESSED";
|
|
318
|
-
})(LinkErrorCode || (LinkErrorCode = {}));
|
|
319
|
-
export var LinkErrorType;
|
|
320
|
-
(function (LinkErrorType) {
|
|
321
|
-
LinkErrorType["BANK_TRANSFER"] = "BANK_TRANSFER_ERROR";
|
|
322
|
-
LinkErrorType["INVALID_REQUEST"] = "INVALID_REQUEST";
|
|
323
|
-
LinkErrorType["INVALID_RESULT"] = "INVALID_RESULT";
|
|
324
|
-
LinkErrorType["INVALID_INPUT"] = "INVALID_INPUT";
|
|
325
|
-
LinkErrorType["INSTITUTION_ERROR"] = "INSTITUTION_ERROR";
|
|
326
|
-
LinkErrorType["RATE_LIMIT_EXCEEDED"] = "RATE_LIMIT_EXCEEDED";
|
|
327
|
-
LinkErrorType["API_ERROR"] = "API_ERROR";
|
|
328
|
-
LinkErrorType["ITEM_ERROR"] = "ITEM_ERROR";
|
|
329
|
-
LinkErrorType["AUTH_ERROR"] = "AUTH_ERROR";
|
|
330
|
-
LinkErrorType["ASSET_REPORT_ERROR"] = "ASSET_REPORT_ERROR";
|
|
331
|
-
LinkErrorType["SANDBOX_ERROR"] = "SANDBOX_ERROR";
|
|
332
|
-
LinkErrorType["RECAPTCHA_ERROR"] = "RECAPTCHA_ERROR";
|
|
333
|
-
LinkErrorType["OAUTH_ERROR"] = "OAUTH_ERROR";
|
|
334
|
-
})(LinkErrorType || (LinkErrorType = {}));
|
|
335
|
-
export var LinkEventName;
|
|
336
|
-
(function (LinkEventName) {
|
|
337
|
-
LinkEventName["CLOSE_OAUTH"] = "CLOSE_OAUTH";
|
|
338
|
-
LinkEventName["ERROR"] = "ERROR";
|
|
339
|
-
LinkEventName["EXIT"] = "EXIT";
|
|
340
|
-
LinkEventName["FAIL_OAUTH"] = "FAIL_OAUTH";
|
|
341
|
-
LinkEventName["HANDOFF"] = "HANDOFF";
|
|
342
|
-
LinkEventName["MATCHED_CONSENT"] = "MATCHED_CONSENT";
|
|
343
|
-
LinkEventName["MATCHED_SELECT_INSTITUTION"] = "MATCHED_SELECT_INSTITUTION";
|
|
344
|
-
LinkEventName["MATCHED_SELECT_VERIFY_METHOD"] = "MATCHED_SELECT_VERIFY_METHOD";
|
|
345
|
-
LinkEventName["OPEN"] = "OPEN";
|
|
346
|
-
LinkEventName["OPEN_MY_PLAID"] = "OPEN_MY_PLAID";
|
|
347
|
-
LinkEventName["OPEN_OAUTH"] = "OPEN_OAUTH";
|
|
348
|
-
LinkEventName["SEARCH_INSTITUTION"] = "SEARCH_INSTITUTION";
|
|
349
|
-
LinkEventName["SELECT_INSTITUTION"] = "SELECT_INSTITUTION";
|
|
350
|
-
LinkEventName["SUBMIT_CREDENTIALS"] = "SUBMIT_CREDENTIALS";
|
|
351
|
-
LinkEventName["SUBMIT_MFA"] = "SUBMIT_MFA";
|
|
352
|
-
LinkEventName["TRANSITION_VIEW"] = "TRANSITION_VIEW";
|
|
353
|
-
})(LinkEventName || (LinkEventName = {}));
|
|
354
|
-
export var LinkEventViewName;
|
|
355
|
-
(function (LinkEventViewName) {
|
|
356
|
-
LinkEventViewName["CONNECTED"] = "CONNECTED";
|
|
357
|
-
LinkEventViewName["CONSENT"] = "CONSENT";
|
|
358
|
-
LinkEventViewName["CREDENTIAL"] = "CREDENTIAL";
|
|
359
|
-
LinkEventViewName["ERROR"] = "ERROR";
|
|
360
|
-
LinkEventViewName["EXIT"] = "EXIT";
|
|
361
|
-
LinkEventViewName["LOADING"] = "LOADING";
|
|
362
|
-
LinkEventViewName["MATCHED_CONSENT"] = "MATCHED_CONSENT";
|
|
363
|
-
LinkEventViewName["MATCHED_CREDENTIAL"] = "MATCHED_CREDENTIAL";
|
|
364
|
-
LinkEventViewName["MATCHED_MFA"] = "MATCHED_MFA";
|
|
365
|
-
LinkEventViewName["MFA"] = "MFA";
|
|
366
|
-
LinkEventViewName["NUMBERS"] = "NUMBERS";
|
|
367
|
-
LinkEventViewName["RECAPTCHA"] = "RECAPTCHA";
|
|
368
|
-
LinkEventViewName["SELECT_ACCOUNT"] = "SELECT_ACCOUNT";
|
|
369
|
-
LinkEventViewName["SELECT_INSTITUTION"] = "SELECT_INSTITUTION";
|
|
370
|
-
})(LinkEventViewName || (LinkEventViewName = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
const rn_version = JSON.parse(fs.readFileSync('package.json', 'utf-8'))['version'];
|
|
4
|
-
const android_version = fs
|
|
5
|
-
.readFileSync('android/src/main/AndroidManifest.xml', 'utf-8')
|
|
6
|
-
.match(/(?<=value=").*(?=")/)[0];
|
|
7
|
-
if (rn_version != android_version) {
|
|
8
|
-
console.error('Commit failed SDK version mismatch');
|
|
9
|
-
console.error('Please ensure package.json and android/src/main/AndroidManifest.xml have the same version');
|
|
10
|
-
process.exit(-1);
|
|
11
|
-
}
|
package/dist/dist/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./Types";
|
|
2
|
-
export default PlaidLink;
|
|
3
|
-
import { PlaidLink } from "./PlaidLink";
|
|
4
|
-
import { openLink } from "./PlaidLink";
|
|
5
|
-
import { dismissLink } from "./PlaidLink";
|
|
6
|
-
import { useDeepLinkRedirector } from "./PlaidLink";
|
|
7
|
-
import { usePlaidEmitter } from "./PlaidLink";
|
|
8
|
-
export { PlaidLink, openLink, dismissLink, useDeepLinkRedirector, usePlaidEmitter };
|
package/dist/dist/index.js
DELETED
package/ios/RNLinksdk.xcodeproj/xcuserdata/atang.xcuserdatad/xcschemes/xcschememanagement.plist
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>RNLinksdk.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>0</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
</dict>
|
|
13
|
-
</dict>
|
|
14
|
-
</plist>
|
package/ios/RNLinksdk.xcworkspace/xcuserdata/atang.xcuserdatad/UserInterfaceState.xcuserstate
DELETED
|
Binary file
|
package/ios/RNLinksdk.xcworkspace/xcuserdata/atang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Bucket
|
|
3
|
-
uuid = "20811C29-31D6-4B98-B630-034DE61441F7"
|
|
4
|
-
type = "0"
|
|
5
|
-
version = "2.0">
|
|
6
|
-
<Breakpoints>
|
|
7
|
-
<BreakpointProxy
|
|
8
|
-
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
|
|
9
|
-
<BreakpointContent
|
|
10
|
-
uuid = "C84ED84E-4F77-4E4C-99C5-3D08CD4C5C49"
|
|
11
|
-
shouldBeEnabled = "Yes"
|
|
12
|
-
ignoreCount = "0"
|
|
13
|
-
continueAfterRunningActions = "No"
|
|
14
|
-
breakpointStackSelectionBehavior = "1"
|
|
15
|
-
scope = "1"
|
|
16
|
-
stopOnStyle = "0">
|
|
17
|
-
</BreakpointContent>
|
|
18
|
-
</BreakpointProxy>
|
|
19
|
-
</Breakpoints>
|
|
20
|
-
</Bucket>
|