react-native-plaid-link-sdk 12.8.5 → 12.8.7

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +3369 -0
  2. package/README.md +4 -0
  3. package/android/build.gradle +1 -1
  4. package/android/src/main/AndroidManifest.xml +1 -1
  5. package/dist/src/Types.d.ts +1 -0
  6. package/dist/src/fabric/EmbeddedLinkViewNativeComponent.d.ts +2 -0
  7. package/ios/Frameworks/LinkKit.xcframework/Info.plist +44 -0
  8. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/LinkKit-Swift.h +364 -0
  9. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/LinkKit.h +25 -0
  10. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/PLKPlaid+PrivateInitializers.h +122 -0
  11. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/PLKPlaid.h +648 -0
  12. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Info.plist +0 -0
  13. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/LinkKit +0 -0
  14. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.abi.json +57717 -0
  15. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.private.swiftinterface +724 -0
  16. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftinterface +724 -0
  18. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
  19. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/module.modulemap +11 -0
  20. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/PrivacyInfo.xcprivacy +32 -0
  21. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Threads_Threads.bundle/Assets.car +0 -0
  22. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Threads_Threads.bundle/Info.plist +0 -0
  23. package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/_CodeSignature/CodeResources +245 -0
  24. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/LinkKit-Swift.h +724 -0
  25. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/LinkKit.h +25 -0
  26. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/PLKPlaid+PrivateInitializers.h +122 -0
  27. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/PLKPlaid.h +648 -0
  28. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Info.plist +0 -0
  29. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/LinkKit +0 -0
  30. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.abi.json +57717 -0
  31. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +724 -0
  32. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  33. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +724 -0
  34. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
  35. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +57717 -0
  36. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +724 -0
  37. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  38. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +724 -0
  39. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
  40. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/module.modulemap +11 -0
  41. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/PrivacyInfo.xcprivacy +32 -0
  42. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Threads_Threads.bundle/Assets.car +0 -0
  43. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Threads_Threads.bundle/Info.plist +0 -0
  44. package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/_CodeSignature/CodeResources +300 -0
  45. package/ios/RNLinksdk.mm +1 -1
  46. package/package.json +30 -4
  47. package/react-native-plaid-link-sdk.podspec +6 -2
  48. package/dist/EmbeddedLink/EmbeddedLinkView.d.ts +0 -13
  49. package/dist/EmbeddedLink/EmbeddedLinkView.js +0 -55
  50. package/dist/EmbeddedLink/EmbeddedLinkView.web.d.ts +0 -1
  51. package/dist/EmbeddedLink/EmbeddedLinkView.web.js +0 -1
  52. package/dist/EmbeddedLink/NativeEmbeddedLinkView.d.ts +0 -2
  53. package/dist/EmbeddedLink/NativeEmbeddedLinkView.js +0 -2
  54. package/dist/PlaidLink.d.ts +0 -27
  55. package/dist/PlaidLink.js +0 -124
  56. package/dist/Types.d.ts +0 -539
  57. package/dist/Types.js +0 -454
  58. package/dist/__tests__/Types.tests.d.ts +0 -1
  59. package/dist/__tests__/Types.tests.js +0 -14
  60. package/dist/build/PlaidEmbeddedSearchView.d.ts +0 -2
  61. package/dist/build/PlaidEmbeddedSearchView.js +0 -19
  62. package/dist/build/ReactNativePlaidLinkSdk.types.d.ts +0 -108
  63. package/dist/build/ReactNativePlaidLinkSdk.types.js +0 -470
  64. package/dist/build/ReactNativePlaidLinkSdkModule.d.ts +0 -2
  65. package/dist/build/ReactNativePlaidLinkSdkModule.js +0 -4
  66. package/dist/build/index.d.ts +0 -14
  67. package/dist/build/index.js +0 -104
  68. package/dist/fabric/EmbeddedLinkViewNativeComponent.d.ts +0 -15
  69. package/dist/fabric/EmbeddedLinkViewNativeComponent.js +0 -2
  70. package/dist/fabric/NativePlaidLinkModuleAndroid.d.ts +0 -14
  71. package/dist/fabric/NativePlaidLinkModuleAndroid.js +0 -4
  72. package/dist/fabric/NativePlaidLinkModuleiOS.d.ts +0 -15
  73. package/dist/fabric/NativePlaidLinkModuleiOS.js +0 -4
  74. package/dist/fabric/fabricUtils.d.ts +0 -1
  75. package/dist/fabric/fabricUtils.js +0 -1
  76. package/dist/index.d.ts +0 -4
  77. package/dist/index.js +0 -6
  78. package/dist/scripts/check-package-entrypoints.d.ts +0 -1
  79. package/dist/scripts/check-package-entrypoints.js +0 -61
@@ -1,470 +0,0 @@
1
- export var PlaidEnvironment;
2
- (function (PlaidEnvironment) {
3
- PlaidEnvironment["PRODUCTION"] = "production";
4
- PlaidEnvironment["SANDBOX"] = "sandbox";
5
- })(PlaidEnvironment || (PlaidEnvironment = {}));
6
- export var PlaidProduct;
7
- (function (PlaidProduct) {
8
- PlaidProduct["ASSETS"] = "assets";
9
- PlaidProduct["AUTH"] = "auth";
10
- PlaidProduct["DEPOSIT_SWITCH"] = "deposit_switch";
11
- PlaidProduct["IDENTITY"] = "identity";
12
- PlaidProduct["INCOME"] = "income";
13
- PlaidProduct["INVESTMENTS"] = "investments";
14
- PlaidProduct["LIABILITIES"] = "liabilities";
15
- PlaidProduct["LIABILITIES_REPORT"] = "liabilities_report";
16
- PlaidProduct["PAYMENT_INITIATION"] = "payment_initiation";
17
- PlaidProduct["TRANSACTIONS"] = "transactions";
18
- })(PlaidProduct || (PlaidProduct = {}));
19
- export var LinkAccountType;
20
- (function (LinkAccountType) {
21
- LinkAccountType["CREDIT"] = "credit";
22
- LinkAccountType["DEPOSITORY"] = "depository";
23
- LinkAccountType["INVESTMENT"] = "investment";
24
- LinkAccountType["LOAN"] = "loan";
25
- LinkAccountType["OTHER"] = "other";
26
- })(LinkAccountType || (LinkAccountType = {}));
27
- export var LinkAccountSubtypes;
28
- (function (LinkAccountSubtypes) {
29
- LinkAccountSubtypes["ALL"] = "all";
30
- LinkAccountSubtypes["CREDIT_CARD"] = "credit card";
31
- LinkAccountSubtypes["PAYPAL"] = "paypal";
32
- LinkAccountSubtypes["AUTO"] = "auto";
33
- LinkAccountSubtypes["BUSINESS"] = "business";
34
- LinkAccountSubtypes["COMMERCIAL"] = "commercial";
35
- LinkAccountSubtypes["CONSTRUCTION"] = "construction";
36
- LinkAccountSubtypes["CONSUMER"] = "consumer";
37
- LinkAccountSubtypes["HOME_EQUITY"] = "home equity";
38
- LinkAccountSubtypes["LINE_OF_CREDIT"] = "line of credit";
39
- LinkAccountSubtypes["LOAN"] = "loan";
40
- LinkAccountSubtypes["MORTGAGE"] = "mortgage";
41
- LinkAccountSubtypes["OVERDRAFT"] = "overdraft";
42
- LinkAccountSubtypes["STUDENT"] = "student";
43
- LinkAccountSubtypes["CASH_MANAGEMENT"] = "cash management";
44
- LinkAccountSubtypes["CD"] = "cd";
45
- LinkAccountSubtypes["CHECKING"] = "checking";
46
- LinkAccountSubtypes["EBT"] = "ebt";
47
- LinkAccountSubtypes["HSA"] = "hsa";
48
- LinkAccountSubtypes["MONEY_MARKET"] = "money market";
49
- LinkAccountSubtypes["PREPAID"] = "prepaid";
50
- LinkAccountSubtypes["SAVINGS"] = "savings";
51
- LinkAccountSubtypes["FOUR_0_1_A"] = "401a";
52
- LinkAccountSubtypes["FOUR_0_1_K"] = "401k";
53
- LinkAccountSubtypes["FOUR_0_3_B"] = "403B";
54
- LinkAccountSubtypes["FOUR_5_7_B"] = "457b";
55
- LinkAccountSubtypes["FIVE_2_9"] = "529";
56
- LinkAccountSubtypes["BROKERAGE"] = "brokerage";
57
- LinkAccountSubtypes["CASH_ISA"] = "cash isa";
58
- LinkAccountSubtypes["EDUCATION_SAVINGS_ACCOUNT"] = "education savings account";
59
- LinkAccountSubtypes["FIXED_ANNUNITY"] = "fixed annuity";
60
- LinkAccountSubtypes["GIC"] = "gic";
61
- LinkAccountSubtypes["HEALTH_REIMBURSEMENT_ARRANGEMENT"] = "health reimbursement arrangement";
62
- LinkAccountSubtypes["IRA"] = "ira";
63
- LinkAccountSubtypes["ISA"] = "isa";
64
- LinkAccountSubtypes["KEOGH"] = "keogh";
65
- LinkAccountSubtypes["LIF"] = "lif";
66
- LinkAccountSubtypes["LIRA"] = "lira";
67
- LinkAccountSubtypes["LRIF"] = "lrif";
68
- LinkAccountSubtypes["LRSP"] = "lrsp";
69
- LinkAccountSubtypes["MUTUAL_FUND"] = "mutual fund";
70
- LinkAccountSubtypes["NON_TAXABLE_BROKERAGE_ACCOUNT"] = "non-taxable brokerage account";
71
- LinkAccountSubtypes["PENSION"] = "pension";
72
- LinkAccountSubtypes["PLAN"] = "plan";
73
- LinkAccountSubtypes["PRIF"] = "prif";
74
- LinkAccountSubtypes["PROFIT_SHARING_PLAN"] = "profit sharing plan";
75
- LinkAccountSubtypes["RDSP"] = "rdsp";
76
- LinkAccountSubtypes["RESP"] = "resp";
77
- LinkAccountSubtypes["RETIREMENT"] = "retirement";
78
- LinkAccountSubtypes["RLIF"] = "rlif";
79
- LinkAccountSubtypes["ROTH_401K"] = "roth 401k";
80
- LinkAccountSubtypes["ROTH"] = "roth";
81
- LinkAccountSubtypes["RRIF"] = "rrif";
82
- LinkAccountSubtypes["RRSP"] = "rrsp";
83
- LinkAccountSubtypes["SARSEP"] = "sarsep";
84
- LinkAccountSubtypes["SEP_IRA"] = "sep ira";
85
- LinkAccountSubtypes["SIMPLE_IRA"] = "simple ira";
86
- LinkAccountSubtypes["SIPP"] = "sipp";
87
- LinkAccountSubtypes["STOCK_PLAN"] = "stock plan";
88
- LinkAccountSubtypes["TFSA"] = "tfsa";
89
- LinkAccountSubtypes["THRIFT_SAVINGS_PLAN"] = "thrift savings plan";
90
- LinkAccountSubtypes["TRUST"] = "trust";
91
- LinkAccountSubtypes["UGMA"] = "ugma";
92
- LinkAccountSubtypes["UTMA"] = "utma";
93
- LinkAccountSubtypes["VARIABLE_ANNUITY"] = "variable annuity";
94
- })(LinkAccountSubtypes || (LinkAccountSubtypes = {}));
95
- export class LinkAccountSubtypeCredit {
96
- constructor(type, subtype) {
97
- this.type = type;
98
- this.subtype = subtype;
99
- }
100
- }
101
- LinkAccountSubtypeCredit.ALL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.ALL);
102
- LinkAccountSubtypeCredit.CREDIT_CARD = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.CREDIT_CARD);
103
- LinkAccountSubtypeCredit.PAYPAL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.PAYPAL);
104
- export class LinkAccountSubtypeDepository {
105
- constructor(type, subtype) {
106
- this.type = type;
107
- this.subtype = subtype;
108
- }
109
- }
110
- LinkAccountSubtypeDepository.ALL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.ALL);
111
- LinkAccountSubtypeDepository.CASH_MANAGEMENT = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CASH_MANAGEMENT);
112
- LinkAccountSubtypeDepository.CD = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CD);
113
- LinkAccountSubtypeDepository.CHECKING = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CHECKING);
114
- LinkAccountSubtypeDepository.EBT = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.EBT);
115
- LinkAccountSubtypeDepository.HSA = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.HSA);
116
- LinkAccountSubtypeDepository.MONEY_MARKET = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.MONEY_MARKET);
117
- LinkAccountSubtypeDepository.PAYPAL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PAYPAL);
118
- LinkAccountSubtypeDepository.PREPAID = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PREPAID);
119
- LinkAccountSubtypeDepository.SAVINGS = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.SAVINGS);
120
- export class LinkAccountSubtypeInvestment {
121
- constructor(type, subtype) {
122
- this.type = type;
123
- this.subtype = subtype;
124
- }
125
- }
126
- LinkAccountSubtypeInvestment.ALL = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ALL);
127
- LinkAccountSubtypeInvestment.BROKERAGE = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.BROKERAGE);
128
- LinkAccountSubtypeInvestment.CASH_ISA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.CASH_ISA);
129
- LinkAccountSubtypeInvestment.EDUCATION_SAVINGS_ACCOUNT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.EDUCATION_SAVINGS_ACCOUNT);
130
- LinkAccountSubtypeInvestment.FIXED_ANNUNITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FIXED_ANNUNITY);
131
- LinkAccountSubtypeInvestment.GIC = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.GIC);
132
- LinkAccountSubtypeInvestment.HEALTH_REIMBURSEMENT_ARRANGEMENT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.HEALTH_REIMBURSEMENT_ARRANGEMENT);
133
- LinkAccountSubtypeInvestment.HSA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.HSA);
134
- LinkAccountSubtypeInvestment.INVESTMENT_401A = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_1_A);
135
- LinkAccountSubtypeInvestment.INVESTMENT_401K = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_1_K);
136
- LinkAccountSubtypeInvestment.INVESTMENT_403B = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_3_B);
137
- LinkAccountSubtypeInvestment.INVESTMENT_457B = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_5_7_B);
138
- LinkAccountSubtypeInvestment.INVESTMENT_529 = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FIVE_2_9);
139
- LinkAccountSubtypeInvestment.IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.IRA);
140
- LinkAccountSubtypeInvestment.ISA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ISA);
141
- LinkAccountSubtypeInvestment.KEOGH = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.KEOGH);
142
- LinkAccountSubtypeInvestment.LIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LIF);
143
- LinkAccountSubtypeInvestment.LIRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LIRA);
144
- LinkAccountSubtypeInvestment.LRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LRIF);
145
- LinkAccountSubtypeInvestment.LRSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LRSP);
146
- LinkAccountSubtypeInvestment.MUTUAL_FUND = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.MUTUAL_FUND);
147
- LinkAccountSubtypeInvestment.NON_TAXABLE_BROKERAGE_ACCOUNT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.NON_TAXABLE_BROKERAGE_ACCOUNT);
148
- LinkAccountSubtypeInvestment.PENSION = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PENSION);
149
- LinkAccountSubtypeInvestment.PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PLAN);
150
- LinkAccountSubtypeInvestment.PRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PRIF);
151
- LinkAccountSubtypeInvestment.PROFIT_SHARING_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PROFIT_SHARING_PLAN);
152
- LinkAccountSubtypeInvestment.RDSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RDSP);
153
- LinkAccountSubtypeInvestment.RESP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RESP);
154
- LinkAccountSubtypeInvestment.RETIREMENT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RETIREMENT);
155
- LinkAccountSubtypeInvestment.RLIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RLIF);
156
- LinkAccountSubtypeInvestment.ROTH = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ROTH);
157
- LinkAccountSubtypeInvestment.ROTH_401K = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ROTH_401K);
158
- LinkAccountSubtypeInvestment.RRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RRIF);
159
- LinkAccountSubtypeInvestment.RRSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RRSP);
160
- LinkAccountSubtypeInvestment.SARSEP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SARSEP);
161
- LinkAccountSubtypeInvestment.SEP_IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SEP_IRA);
162
- LinkAccountSubtypeInvestment.SIMPLE_IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SIMPLE_IRA);
163
- LinkAccountSubtypeInvestment.SIPP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SIPP);
164
- LinkAccountSubtypeInvestment.STOCK_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.STOCK_PLAN);
165
- LinkAccountSubtypeInvestment.TFSA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.TFSA);
166
- LinkAccountSubtypeInvestment.THRIFT_SAVINGS_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.THRIFT_SAVINGS_PLAN);
167
- LinkAccountSubtypeInvestment.TRUST = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.TRUST);
168
- LinkAccountSubtypeInvestment.UGMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UGMA);
169
- LinkAccountSubtypeInvestment.UTMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UTMA);
170
- LinkAccountSubtypeInvestment.VARIABLE_ANNUITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.VARIABLE_ANNUITY);
171
- export class LinkAccountSubtypeLoan {
172
- constructor(type, subtype) {
173
- this.type = type;
174
- this.subtype = subtype;
175
- }
176
- }
177
- LinkAccountSubtypeLoan.ALL = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.ALL);
178
- LinkAccountSubtypeLoan.AUTO = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.AUTO);
179
- LinkAccountSubtypeLoan.BUSINESS = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.BUSINESS);
180
- LinkAccountSubtypeLoan.COMMERCIAL = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.COMMERCIAL);
181
- LinkAccountSubtypeLoan.CONSTRUCTION = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.CONSTRUCTION);
182
- LinkAccountSubtypeLoan.CONSUMER = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.CONSUMER);
183
- LinkAccountSubtypeLoan.HOME_EQUITY = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.HOME_EQUITY);
184
- LinkAccountSubtypeLoan.LINE_OF_CREDIT = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.LINE_OF_CREDIT);
185
- LinkAccountSubtypeLoan.LOAN = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.LOAN);
186
- LinkAccountSubtypeLoan.MORTGAGE = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.MORTGAGE);
187
- LinkAccountSubtypeLoan.OVERDRAFT = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.OVERDRAFT);
188
- LinkAccountSubtypeLoan.STUDENT = new LinkAccountSubtypeLoan(LinkAccountType.LOAN, LinkAccountSubtypes.STUDENT);
189
- export class LinkAccountSubtypeUnknown {
190
- constructor(type, subtype) {
191
- this.type = type;
192
- this.subtype = subtype;
193
- }
194
- }
195
- export var LinkAccountVerificationStatus;
196
- (function (LinkAccountVerificationStatus) {
197
- LinkAccountVerificationStatus["PENDING_AUTOMATIC_VERIFICATION"] = "pending_automatic_verification";
198
- LinkAccountVerificationStatus["PENDING_MANUAL_VERIFICATION"] = "pending_manual_verification";
199
- LinkAccountVerificationStatus["MANUALLY_VERIFIED"] = "manually_verified";
200
- })(LinkAccountVerificationStatus || (LinkAccountVerificationStatus = {}));
201
- export var LinkExitMetadataStatus;
202
- (function (LinkExitMetadataStatus) {
203
- LinkExitMetadataStatus["CONNECTED"] = "connected";
204
- LinkExitMetadataStatus["CHOOSE_DEVICE"] = "choose_device";
205
- LinkExitMetadataStatus["REQUIRES_ACCOUNT_SELECTION"] = "requires_account_selection";
206
- LinkExitMetadataStatus["REQUIRES_CODE"] = "requires_code";
207
- LinkExitMetadataStatus["REQUIRES_CREDENTIALS"] = "requires_credentials";
208
- LinkExitMetadataStatus["REQUIRES_EXTERNAL_ACTION"] = "requires_external_action";
209
- LinkExitMetadataStatus["REQUIRES_OAUTH"] = "requires_oauth";
210
- LinkExitMetadataStatus["REQUIRES_QUESTIONS"] = "requires_questions";
211
- LinkExitMetadataStatus["REQUIRES_RECAPTCHA"] = "requires_recaptcha";
212
- LinkExitMetadataStatus["REQUIRES_SELECTIONS"] = "requires_selections";
213
- LinkExitMetadataStatus["REQUIRES_DEPOSIT_SWITCH_ALLOCATION_CONFIGURATION"] = "requires_deposit_switch_allocation_configuration";
214
- LinkExitMetadataStatus["REQUIRES_DEPOSIT_SWITCH_ALLOCATION_SELECTION"] = "requires_deposit_switch_allocation_selection";
215
- })(LinkExitMetadataStatus || (LinkExitMetadataStatus = {}));
216
- export var LinkErrorCode;
217
- (function (LinkErrorCode) {
218
- // ITEM_ERROR
219
- LinkErrorCode["INVALID_CREDENTIALS"] = "INVALID_CREDENTIALS";
220
- LinkErrorCode["INVALID_MFA"] = "INVALID_MFA";
221
- LinkErrorCode["ITEM_LOGIN_REQUIRED"] = "ITEM_LOGIN_REQUIRED";
222
- LinkErrorCode["INSUFFICIENT_CREDENTIALS"] = "INSUFFICIENT_CREDENTIALS";
223
- LinkErrorCode["ITEM_LOCKED"] = "ITEM_LOCKED";
224
- LinkErrorCode["USER_SETUP_REQUIRED"] = "USER_SETUP_REQUIRED";
225
- LinkErrorCode["MFA_NOT_SUPPORTED"] = "MFA_NOT_SUPPORTED";
226
- LinkErrorCode["INVALID_SEND_METHOD"] = "INVALID_SEND_METHOD";
227
- LinkErrorCode["NO_ACCOUNTS"] = "NO_ACCOUNTS";
228
- LinkErrorCode["ITEM_NOT_SUPPORTED"] = "ITEM_NOT_SUPPORTED";
229
- LinkErrorCode["TOO_MANY_VERIFICATION_ATTEMPTS"] = "TOO_MANY_VERIFICATION_ATTEMPTS";
230
- LinkErrorCode["INVALD_UPDATED_USERNAME"] = "INVALD_UPDATED_USERNAME";
231
- LinkErrorCode["INVALID_UPDATED_USERNAME"] = "INVALID_UPDATED_USERNAME";
232
- LinkErrorCode["ITEM_NO_ERROR"] = "ITEM_NO_ERROR";
233
- LinkErrorCode["item_no_error"] = "item-no-error";
234
- LinkErrorCode["NO_AUTH_ACCOUNTS"] = "NO_AUTH_ACCOUNTS";
235
- LinkErrorCode["NO_INVESTMENT_ACCOUNTS"] = "NO_INVESTMENT_ACCOUNTS";
236
- LinkErrorCode["NO_INVESTMENT_AUTH_ACCOUNTS"] = "NO_INVESTMENT_AUTH_ACCOUNTS";
237
- LinkErrorCode["NO_LIABILITY_ACCOUNTS"] = "NO_LIABILITY_ACCOUNTS";
238
- LinkErrorCode["PRODUCTS_NOT_SUPPORTED"] = "PRODUCTS_NOT_SUPPORTED";
239
- LinkErrorCode["ITEM_NOT_FOUND"] = "ITEM_NOT_FOUND";
240
- LinkErrorCode["ITEM_PRODUCT_NOT_READY"] = "ITEM_PRODUCT_NOT_READY";
241
- // INSTITUTION_ERROR
242
- LinkErrorCode["INSTITUTION_DOWN"] = "INSTITUTION_DOWN";
243
- LinkErrorCode["INSTITUTION_NOT_RESPONDING"] = "INSTITUTION_NOT_RESPONDING";
244
- LinkErrorCode["INSTITUTION_NOT_AVAILABLE"] = "INSTITUTION_NOT_AVAILABLE";
245
- LinkErrorCode["INSTITUTION_NO_LONGER_SUPPORTED"] = "INSTITUTION_NO_LONGER_SUPPORTED";
246
- // API_ERROR
247
- LinkErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
248
- LinkErrorCode["PLANNED_MAINTENANCE"] = "PLANNED_MAINTENANCE";
249
- // ASSET_REPORT_ERROR
250
- LinkErrorCode["PRODUCT_NOT_ENABLED"] = "PRODUCT_NOT_ENABLED";
251
- LinkErrorCode["DATA_UNAVAILABLE"] = "DATA_UNAVAILABLE";
252
- LinkErrorCode["ASSET_PRODUCT_NOT_READY"] = "ASSET_PRODUCT_NOT_READY";
253
- LinkErrorCode["ASSET_REPORT_GENERATION_FAILED"] = "ASSET_REPORT_GENERATION_FAILED";
254
- LinkErrorCode["INVALID_PARENT"] = "INVALID_PARENT";
255
- LinkErrorCode["INSIGHTS_NOT_ENABLED"] = "INSIGHTS_NOT_ENABLED";
256
- LinkErrorCode["INSIGHTS_PREVIOUSLY_NOT_ENABLED"] = "INSIGHTS_PREVIOUSLY_NOT_ENABLED";
257
- // BANK_TRANSFER_ERROR
258
- LinkErrorCode["BANK_TRANSFER_LIMIT_EXCEEDED"] = "BANK_TRANSFER_LIMIT_EXCEEDED";
259
- LinkErrorCode["BANK_TRANSFER_MISSING_ORIGINATION_ACCOUNT"] = "BANK_TRANSFER_MISSING_ORIGINATION_ACCOUNT";
260
- LinkErrorCode["BANK_TRANSFER_INVALID_ORIGINATION_ACCOUNT"] = "BANK_TRANSFER_INVALID_ORIGINATION_ACCOUNT";
261
- LinkErrorCode["BANK_TRANSFER_ACCOUNT_BLOCKED"] = "BANK_TRANSFER_ACCOUNT_BLOCKED";
262
- LinkErrorCode["BANK_TRANSFER_INSUFFICIENT_FUNDS"] = "BANK_TRANSFER_INSUFFICIENT_FUNDS";
263
- LinkErrorCode["BANK_TRANSFER_NOT_CANCELLABLE"] = "BANK_TRANSFER_NOT_CANCELLABLE";
264
- LinkErrorCode["BANK_TRANSFER_UNSUPPORTED_ACCOUNT_TYPE"] = "BANK_TRANSFER_UNSUPPORTED_ACCOUNT_TYPE";
265
- LinkErrorCode["BANK_TRANSFER_UNSUPPORTED_ENVIRONMENT"] = "BANK_TRANSFER_UNSUPPORTED_ENVIRONMENT";
266
- // SANDBOX_ERROR
267
- LinkErrorCode["SANDBOX_PRODUCT_NOT_ENABLED"] = "SANDBOX_PRODUCT_NOT_ENABLED";
268
- LinkErrorCode["SANDBOX_WEBHOOK_INVALID"] = "SANDBOX_WEBHOOK_INVALID";
269
- LinkErrorCode["SANDBOX_BANK_TRANSFER_EVENT_TRANSITION_INVALID"] = "SANDBOX_BANK_TRANSFER_EVENT_TRANSITION_INVALID";
270
- // INVALID_REQUEST
271
- LinkErrorCode["MISSING_FIELDS"] = "MISSING_FIELDS";
272
- LinkErrorCode["UNKNOWN_FIELDS"] = "UNKNOWN_FIELDS";
273
- LinkErrorCode["INVALID_FIELD"] = "INVALID_FIELD";
274
- LinkErrorCode["INCOMPATIBLE_API_VERSION"] = "INCOMPATIBLE_API_VERSION";
275
- LinkErrorCode["INVALID_BODY"] = "INVALID_BODY";
276
- LinkErrorCode["INVALID_HEADERS"] = "INVALID_HEADERS";
277
- LinkErrorCode["NOT_FOUND"] = "NOT_FOUND";
278
- LinkErrorCode["NO_LONGER_AVAILABLE"] = "NO_LONGER_AVAILABLE";
279
- LinkErrorCode["SANDBOX_ONLY"] = "SANDBOX_ONLY";
280
- LinkErrorCode["INVALID_ACCOUNT_NUMBER"] = "INVALID_ACCOUNT_NUMBER";
281
- // INVALID_INPUT
282
- // From above ITEM_LOGIN_REQUIRED = "INVALID_CREDENTIALS",
283
- LinkErrorCode["INCORRECT_DEPOSIT_AMOUNTS"] = "INCORRECT_DEPOSIT_AMOUNTS";
284
- LinkErrorCode["UNAUTHORIZED_ENVIRONMENT"] = "UNAUTHORIZED_ENVIRONMENT";
285
- LinkErrorCode["INVALID_PRODUCT"] = "INVALID_PRODUCT";
286
- LinkErrorCode["UNAUTHORIZED_ROUTE_ACCESS"] = "UNAUTHORIZED_ROUTE_ACCESS";
287
- LinkErrorCode["DIRECT_INTEGRATION_NOT_ENABLED"] = "DIRECT_INTEGRATION_NOT_ENABLED";
288
- LinkErrorCode["INVALID_API_KEYS"] = "INVALID_API_KEYS";
289
- LinkErrorCode["INVALID_ACCESS_TOKEN"] = "INVALID_ACCESS_TOKEN";
290
- LinkErrorCode["INVALID_PUBLIC_TOKEN"] = "INVALID_PUBLIC_TOKEN";
291
- LinkErrorCode["INVALID_LINK_TOKEN"] = "INVALID_LINK_TOKEN";
292
- LinkErrorCode["INVALID_PROCESSOR_TOKEN"] = "INVALID_PROCESSOR_TOKEN";
293
- LinkErrorCode["INVALID_AUDIT_COPY_TOKEN"] = "INVALID_AUDIT_COPY_TOKEN";
294
- LinkErrorCode["INVALID_ACCOUNT_ID"] = "INVALID_ACCOUNT_ID";
295
- LinkErrorCode["MICRODEPOSITS_ALREADY_VERIFIED"] = "MICRODEPOSITS_ALREADY_VERIFIED";
296
- // INVALID_RESULT
297
- LinkErrorCode["PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA"] = "PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA";
298
- // RATE_LIMIT_EXCEEDED
299
- LinkErrorCode["ACCOUNTS_LIMIT"] = "ACCOUNTS_LIMIT";
300
- LinkErrorCode["ADDITION_LIMIT"] = "ADDITION_LIMIT";
301
- LinkErrorCode["AUTH_LIMIT"] = "AUTH_LIMIT";
302
- LinkErrorCode["BALANCE_LIMIT"] = "BALANCE_LIMIT";
303
- LinkErrorCode["IDENTITY_LIMIT"] = "IDENTITY_LIMIT";
304
- LinkErrorCode["ITEM_GET_LIMIT"] = "ITEM_GET_LIMIT";
305
- LinkErrorCode["RATE_LIMIT"] = "RATE_LIMIT";
306
- LinkErrorCode["TRANSACTIONS_LIMIT"] = "TRANSACTIONS_LIMIT";
307
- // RECAPTCHA_ERROR
308
- LinkErrorCode["RECAPTCHA_REQUIRED"] = "RECAPTCHA_REQUIRED";
309
- LinkErrorCode["RECAPTCHA_BAD"] = "RECAPTCHA_BAD";
310
- // OAUTH_ERROR
311
- LinkErrorCode["INCORRECT_OAUTH_NONCE"] = "INCORRECT_OAUTH_NONCE";
312
- LinkErrorCode["OAUTH_STATE_ID_ALREADY_PROCESSED"] = "OAUTH_STATE_ID_ALREADY_PROCESSED";
313
- })(LinkErrorCode || (LinkErrorCode = {}));
314
- export var LinkErrorType;
315
- (function (LinkErrorType) {
316
- LinkErrorType["BANK_TRANSFER"] = "BANK_TRANSFER_ERROR";
317
- LinkErrorType["INVALID_REQUEST"] = "INVALID_REQUEST";
318
- LinkErrorType["INVALID_RESULT"] = "INVALID_RESULT";
319
- LinkErrorType["INVALID_INPUT"] = "INVALID_INPUT";
320
- LinkErrorType["INSTITUTION_ERROR"] = "INSTITUTION_ERROR";
321
- LinkErrorType["RATE_LIMIT_EXCEEDED"] = "RATE_LIMIT_EXCEEDED";
322
- LinkErrorType["API_ERROR"] = "API_ERROR";
323
- LinkErrorType["ITEM_ERROR"] = "ITEM_ERROR";
324
- LinkErrorType["AUTH_ERROR"] = "AUTH_ERROR";
325
- LinkErrorType["ASSET_REPORT_ERROR"] = "ASSET_REPORT_ERROR";
326
- LinkErrorType["SANDBOX_ERROR"] = "SANDBOX_ERROR";
327
- LinkErrorType["RECAPTCHA_ERROR"] = "RECAPTCHA_ERROR";
328
- LinkErrorType["OAUTH_ERROR"] = "OAUTH_ERROR";
329
- })(LinkErrorType || (LinkErrorType = {}));
330
- export var LinkEventName;
331
- (function (LinkEventName) {
332
- LinkEventName["AUTO_SELECT_SAVED_INSTITUTION"] = "AUTO_SELECT_SAVED_INSTITUTION";
333
- LinkEventName["AUTO_SUBMIT_PHONE"] = "AUTO_SUBMIT_PHONE";
334
- LinkEventName["BANK_INCOME_INSIGHTS_COMPLETED"] = "BANK_INCOME_INSIGHTS_COMPLETED";
335
- LinkEventName["CLOSE_OAUTH"] = "CLOSE_OAUTH";
336
- LinkEventName["CONNECT_NEW_INSTITUTION"] = "CONNECT_NEW_INSTITUTION";
337
- LinkEventName["ERROR"] = "ERROR";
338
- LinkEventName["EXIT"] = "EXIT";
339
- LinkEventName["FAIL_OAUTH"] = "FAIL_OAUTH";
340
- LinkEventName["HANDOFF"] = "HANDOFF";
341
- LinkEventName["IDENTITY_MATCH_PASSED"] = "IDENTITY_MATCH_PASSED";
342
- LinkEventName["IDENTITY_MATCH_FAILED"] = "IDENTITY_MATCH_FAILED";
343
- LinkEventName["IDENTITY_VERIFICATION_CLOSE_UI"] = "IDENTITY_VERIFICATION_CLOSE_UI";
344
- LinkEventName["IDENTITY_VERIFICATION_CREATE_SESSION"] = "IDENTITY_VERIFICATION_CREATE_SESSION";
345
- LinkEventName["IDENTITY_VERIFICATION_FAIL_SESSION"] = "IDENTITY_VERIFICATION_FAIL_SESSION";
346
- LinkEventName["IDENTITY_VERIFICATION_FAIL_STEP"] = "IDENTITY_VERIFICATION_FAIL_STEP";
347
- LinkEventName["IDENTITY_VERIFICATION_OPEN_UI"] = "IDENTITY_VERIFICATION_OPEN_UI";
348
- LinkEventName["IDENTITY_VERIFICATION_PASS_SESSION"] = "IDENTITY_VERIFICATION_PASS_SESSION";
349
- LinkEventName["IDENTITY_VERIFICATION_PASS_STEP"] = "IDENTITY_VERIFICATION_PASS_STEP";
350
- LinkEventName["IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION"] = "IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION";
351
- LinkEventName["IDENTITY_VERIFICATION_PENDING_REVIEW_STEP"] = "IDENTITY_VERIFICATION_PENDING_REVIEW_STEP";
352
- LinkEventName["IDENTITY_VERIFICATION_RESUME_SESSION"] = "IDENTITY_VERIFICATION_RESUME_SESSION";
353
- LinkEventName["IDENTITY_VERIFICATION_RESUME_UI"] = "IDENTITY_VERIFICATION_RESUME_UI";
354
- LinkEventName["IDENTITY_VERIFICATION_START_STEP"] = "IDENTITY_VERIFICATION_START_STEP";
355
- LinkEventName["ISSUE_FOLLOWED"] = "ISSUE_FOLLOWED";
356
- LinkEventName["LAYER_AUTOFILL_NOT_AVAILABLE"] = "LAYER_AUTOFILL_NOT_AVAILABLE";
357
- LinkEventName["LAYER_NOT_AVAILABLE"] = "LAYER_NOT_AVAILABLE";
358
- LinkEventName["LAYER_READY"] = "LAYER_READY";
359
- LinkEventName["MATCHED_SELECT_INSTITUTION"] = "MATCHED_SELECT_INSTITUTION";
360
- LinkEventName["MATCHED_SELECT_VERIFY_METHOD"] = "MATCHED_SELECT_VERIFY_METHOD";
361
- LinkEventName["OPEN"] = "OPEN";
362
- LinkEventName["OPEN_MY_PLAID"] = "OPEN_MY_PLAID";
363
- LinkEventName["OPEN_OAUTH"] = "OPEN_OAUTH";
364
- LinkEventName["PLAID_CHECK_PANE"] = "PLAID_CHECK_PANE";
365
- LinkEventName["PROFILE_ELIGIBILITY_CHECK_ERROR"] = "PROFILE_ELIGIBILITY_CHECK_ERROR";
366
- LinkEventName["PROFILE_ELIGIBILITY_CHECK_READY"] = "PROFILE_ELIGIBILITY_CHECK_READY";
367
- LinkEventName["REMEMBER_ME_DISABLED"] = "REMEMBER_ME_DISABLED";
368
- LinkEventName["REMEMBER_ME_ENABLED"] = "REMEMBER_ME_ENABLED";
369
- LinkEventName["REMEMBER_ME_HOLDOUT"] = "REMEMBER_ME_HOLDOUT";
370
- LinkEventName["SEARCH_INSTITUTION"] = "SEARCH_INSTITUTION";
371
- LinkEventName["SELECT_ACCOUNT"] = "SELECT_ACCOUNT";
372
- LinkEventName["SELECT_AUTH_TYPE"] = "SELECT_AUTH_TYPE";
373
- LinkEventName["SELECT_BRAND"] = "SELECT_BRAND";
374
- LinkEventName["SELECT_DEGRADED_INSTITUTION"] = "SELECT_DEGRADED_INSTITUTION";
375
- LinkEventName["SELECT_DENYLISTED_INSTITUTION"] = "SELECT_DENYLISTED_INSTITUTION";
376
- LinkEventName["SELECT_DOWN_INSTITUTION"] = "SELECT_DOWN_INSTITUTION";
377
- LinkEventName["SELECT_FALLBACK_ROUTING_INSTITUTION"] = "SELECT_FALLBACK_ROUTING_INSTITUTION";
378
- LinkEventName["SELECT_FILTERED_INSTITUTION"] = "SELECT_FILTERED_INSTITUTION";
379
- LinkEventName["SELECT_INSTITUTION"] = "SELECT_INSTITUTION";
380
- LinkEventName["SELECT_REMEMBER_ME_DUPLICATE_INSTITUTION"] = "SELECT_REMEMBER_ME_DUPLICATE_INSTITUTION";
381
- LinkEventName["SELECT_SAVED_ACCOUNT"] = "SELECT_SAVED_ACCOUNT";
382
- LinkEventName["SELECT_SAVED_INSTITUTION"] = "SELECT_SAVED_INSTITUTION";
383
- LinkEventName["SKIP_SUBMIT_EMAIL"] = "SKIP_SUBMIT_EMAIL";
384
- LinkEventName["SKIP_SUBMIT_PHONE"] = "SKIP_SUBMIT_PHONE";
385
- LinkEventName["SUBMIT_ACCOUNT_NUMBER"] = "SUBMIT_ACCOUNT_NUMBER";
386
- LinkEventName["SUBMIT_CREDENTIALS"] = "SUBMIT_CREDENTIALS";
387
- LinkEventName["SUBMIT_DOCUMENTS"] = "SUBMIT_DOCUMENTS";
388
- LinkEventName["SUBMIT_DOCUMENTS_ERROR"] = "SUBMIT_DOCUMENTS_ERROR";
389
- LinkEventName["SUBMIT_DOCUMENTS_SUCCESS"] = "SUBMIT_DOCUMENTS_SUCCESS";
390
- LinkEventName["SUBMIT_EMAIL"] = "SUBMIT_EMAIL";
391
- LinkEventName["SUBMIT_MFA"] = "SUBMIT_MFA";
392
- LinkEventName["SUBMIT_OTP"] = "SUBMIT_OTP";
393
- LinkEventName["SUBMIT_PHONE"] = "SUBMIT_PHONE";
394
- LinkEventName["SUBMIT_ROUTING_NUMBER"] = "SUBMIT_ROUTING_NUMBER";
395
- LinkEventName["TRANSITION_VIEW"] = "TRANSITION_VIEW";
396
- LinkEventName["VERIFY_PHONE"] = "VERIFY_PHONE";
397
- LinkEventName["VIEW_DATA_TYPES"] = "VIEW_DATA_TYPES";
398
- })(LinkEventName || (LinkEventName = {}));
399
- export var LinkEventViewName;
400
- (function (LinkEventViewName) {
401
- LinkEventViewName["ACCEPT_TOS"] = "ACCEPT_TOS";
402
- LinkEventViewName["BANK_INCOME_INSIGHTS_COMPLETED"] = "BANK_INCOME_INSIGHTS_COMPLETED";
403
- LinkEventViewName["CONNECTED"] = "CONNECTED";
404
- LinkEventViewName["CONSENT"] = "CONSENT";
405
- LinkEventViewName["CREDENTIAL"] = "CREDENTIAL";
406
- LinkEventViewName["CRA_CONSENT"] = "CRA_CONSENT";
407
- LinkEventViewName["DATA_TRANSPARENCY"] = "DATA_TRANSPARENCY";
408
- LinkEventViewName["DATA_TRANSPARENCY_CONSENT"] = "DATA_TRANSPARENCY_CONSENT";
409
- LinkEventViewName["DATA_TRANSPARENCY_MESSAGING_MODAL"] = "DATA_TRANSPARENCY_MESSAGING_MODAL";
410
- LinkEventViewName["DOCUMENTARY_VERIFICATION"] = "DOCUMENTARY_VERIFICATION";
411
- LinkEventViewName["ERROR"] = "ERROR";
412
- LinkEventViewName["EXIT"] = "EXIT";
413
- LinkEventViewName["IDENTITY_MATCH_BLOCK"] = "IDENTITY_MATCH_BLOCK";
414
- LinkEventViewName["INSTANT_MICRODEPOSIT_AUTHORIZED"] = "INSTANT_MICRODEPOSIT_AUTHORIZED";
415
- LinkEventViewName["INSTANT_MICRODEPOSIT_VERIFICATION"] = "INSTANT_MICRODEPOSIT_VERIFICATION";
416
- LinkEventViewName["KYC_CHECK"] = "KYC_CHECK";
417
- LinkEventViewName["LOADING"] = "LOADING";
418
- LinkEventViewName["MATCHED_CONSENT"] = "MATCHED_CONSENT";
419
- LinkEventViewName["MATCHED_CREDENTIAL"] = "MATCHED_CREDENTIAL";
420
- LinkEventViewName["MATCHED_MFA"] = "MATCHED_MFA";
421
- LinkEventViewName["MFA"] = "MFA";
422
- LinkEventViewName["NUMBERS"] = "NUMBERS";
423
- LinkEventViewName["NUMBERS_SELECT_INSTITUTION"] = "NUMBERS_SELECT_INSTITUTION";
424
- LinkEventViewName["OAUTH"] = "OAUTH";
425
- LinkEventViewName["PROFILE_DATA_REVIEW"] = "PROFILE_DATA_REVIEW";
426
- LinkEventViewName["RECAPTCHA"] = "RECAPTCHA";
427
- LinkEventViewName["RISK_CHECK"] = "RISK_CHECK";
428
- LinkEventViewName["SAME_DAY_MICRODEPOSIT_AUTHORIZED"] = "SAME_DAY_MICRODEPOSIT_AUTHORIZED";
429
- LinkEventViewName["SAME_DAY_MICRODEPOSIT_VERIFICATION"] = "SAME_DAY_MICRODEPOSIT_VERIFICATION";
430
- LinkEventViewName["SCREENING"] = "SCREENING";
431
- LinkEventViewName["SELECT_ACCOUNT"] = "SELECT_ACCOUNT";
432
- LinkEventViewName["SELECT_AUTH_TYPE"] = "SELECT_AUTH_TYPE";
433
- LinkEventViewName["SELECT_BRAND"] = "SELECT_BRAND";
434
- LinkEventViewName["SELECT_INSTITUTION"] = "SELECT_INSTITUTION";
435
- LinkEventViewName["SELECT_SAVED_ACCOUNT"] = "SELECT_SAVED_ACCOUNT";
436
- LinkEventViewName["SELECT_SAVED_INSTITUTION"] = "SELECT_SAVED_INSTITUTION";
437
- LinkEventViewName["SELFIE_CHECK"] = "SELFIE_CHECK";
438
- LinkEventViewName["SUBMIT_DOCUMENTS"] = "SUBMIT_DOCUMENTS";
439
- LinkEventViewName["SUBMIT_DOCUMENTS_ERROR"] = "SUBMIT_DOCUMENTS_ERROR";
440
- LinkEventViewName["SUBMIT_DOCUMENTS_SUCCESS"] = "SUBMIT_DOCUMENTS_SUCCESS";
441
- LinkEventViewName["SUBMIT_EMAIL"] = "SUBMIT_EMAIL";
442
- LinkEventViewName["SUBMIT_PHONE"] = "SUBMIT_PHONE";
443
- LinkEventViewName["TRANSFER_STATUS_CHECK"] = "TRANSFER_STATUS_CHECK";
444
- LinkEventViewName["UPLOAD_DOCUMENTS"] = "UPLOAD_DOCUMENTS";
445
- LinkEventViewName["VERIFY_EMAIL"] = "VERIFY_EMAIL";
446
- LinkEventViewName["VERIFY_PHONE"] = "VERIFY_PHONE";
447
- LinkEventViewName["VERIFY_SMS"] = "VERIFY_SMS";
448
- })(LinkEventViewName || (LinkEventViewName = {}));
449
- /// Methods to present Link on iOS.
450
- /// FULL_SCREEN is the converts to UIModalPresentationOverFullScreen on the native side.
451
- /// MODAL will use the default presentation style for iOS which is UIModalPresentationAutomatic.
452
- export var LinkIOSPresentationStyle;
453
- (function (LinkIOSPresentationStyle) {
454
- LinkIOSPresentationStyle["FULL_SCREEN"] = "FULL_SCREEN";
455
- LinkIOSPresentationStyle["MODAL"] = "MODAL";
456
- })(LinkIOSPresentationStyle || (LinkIOSPresentationStyle = {}));
457
- export var FinanceKitSyncBehavior;
458
- (function (FinanceKitSyncBehavior) {
459
- FinanceKitSyncBehavior[FinanceKitSyncBehavior["LIVE"] = 0] = "LIVE";
460
- FinanceKitSyncBehavior[FinanceKitSyncBehavior["SIMULATED"] = 1] = "SIMULATED";
461
- })(FinanceKitSyncBehavior || (FinanceKitSyncBehavior = {}));
462
- export var FinanceKitErrorType;
463
- (function (FinanceKitErrorType) {
464
- FinanceKitErrorType[FinanceKitErrorType["InvalidToken"] = 0] = "InvalidToken";
465
- FinanceKitErrorType[FinanceKitErrorType["PermissionError"] = 1] = "PermissionError";
466
- FinanceKitErrorType[FinanceKitErrorType["LinkApiError"] = 2] = "LinkApiError";
467
- FinanceKitErrorType[FinanceKitErrorType["PermissionAccessError"] = 3] = "PermissionAccessError";
468
- FinanceKitErrorType[FinanceKitErrorType["Unknown"] = 4] = "Unknown";
469
- })(FinanceKitErrorType || (FinanceKitErrorType = {}));
470
- //# sourceMappingURL=ReactNativePlaidLinkSdk.types.js.map
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,4 +0,0 @@
1
- import { requireNativeModule } from "expo";
2
- // This call loads the native module object from the JSI.
3
- export default requireNativeModule("ReactNativePlaidLinkSdk");
4
- //# sourceMappingURL=ReactNativePlaidLinkSdkModule.js.map
@@ -1,14 +0,0 @@
1
- export function createPlaidLinkSession(config: any): Promise<{
2
- open: (fullScreen?: boolean) => Promise<void>;
3
- }>;
4
- export function createPlaidLayerSession(config: any): Promise<{
5
- open: () => Promise<void>;
6
- submit: (data: any) => Promise<void>;
7
- }>;
8
- export function createPlaidHeadlessSession(config: any): Promise<{
9
- start: () => Promise<void>;
10
- }>;
11
- export function syncFinanceKit(config: any): Promise<void>;
12
- export { PlaidEmbeddedSearchView } from "./PlaidEmbeddedSearchView";
13
- export { default } from "./ReactNativePlaidLinkSdkModule";
14
- export * from "./ReactNativePlaidLinkSdk.types";
@@ -1,104 +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 { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import { Platform } from "react-native";
11
- import { FinanceKitSyncBehavior, } from "./ReactNativePlaidLinkSdk.types";
12
- import NativePlaidModule from "./ReactNativePlaidLinkSdkModule";
13
- let successSub = null;
14
- let exitSub = null;
15
- let eventSub = null;
16
- function cleanupListeners() {
17
- successSub === null || successSub === void 0 ? void 0 : successSub.remove();
18
- exitSub === null || exitSub === void 0 ? void 0 : exitSub.remove();
19
- eventSub === null || eventSub === void 0 ? void 0 : eventSub.remove();
20
- successSub = null;
21
- exitSub = null;
22
- eventSub = null;
23
- }
24
- export function createPlaidLinkSession(config) {
25
- return __awaiter(this, void 0, void 0, function* () {
26
- var _a;
27
- cleanupListeners();
28
- successSub = NativePlaidModule.addListener("PlaidLink.onSuccess", (success) => {
29
- config.onSuccess(success);
30
- cleanupListeners();
31
- });
32
- exitSub = NativePlaidModule.addListener("PlaidLink.onExit", (exit) => {
33
- config.onExit(exit);
34
- cleanupListeners();
35
- });
36
- eventSub = NativePlaidModule.addListener("PlaidLink.onEvent", (event) => {
37
- config.onEvent(event);
38
- });
39
- yield NativePlaidModule.createPlaidLinkSession(config.token);
40
- (_a = config.onLoad) === null || _a === void 0 ? void 0 : _a.call(config);
41
- return {
42
- open: (fullScreen = false) => NativePlaidModule.openLinkSession(fullScreen),
43
- };
44
- });
45
- }
46
- export function createPlaidLayerSession(config) {
47
- return __awaiter(this, void 0, void 0, function* () {
48
- cleanupListeners();
49
- successSub = NativePlaidModule.addListener("PlaidLink.onSuccess", (success) => {
50
- config.onSuccess(success);
51
- cleanupListeners();
52
- });
53
- exitSub = NativePlaidModule.addListener("PlaidLink.onExit", (exit) => {
54
- var _a;
55
- (_a = config.onExit) === null || _a === void 0 ? void 0 : _a.call(config, exit);
56
- cleanupListeners();
57
- });
58
- eventSub = NativePlaidModule.addListener("PlaidLink.onEvent", (event) => {
59
- var _a;
60
- (_a = config.onEvent) === null || _a === void 0 ? void 0 : _a.call(config, event);
61
- });
62
- yield NativePlaidModule.createPlaidLayerSession(config.token);
63
- return {
64
- open: () => NativePlaidModule.openLayerSession(),
65
- submit: (data) => NativePlaidModule.submitLayerData(data.phoneNumber, data.dateOfBirth, data.params),
66
- };
67
- });
68
- }
69
- export function createPlaidHeadlessSession(config) {
70
- return __awaiter(this, void 0, void 0, function* () {
71
- cleanupListeners();
72
- successSub = NativePlaidModule.addListener("PlaidLink.onSuccess", (success) => {
73
- config.onSuccess(success);
74
- cleanupListeners();
75
- });
76
- exitSub = NativePlaidModule.addListener("PlaidLink.onExit", (exit) => {
77
- config.onExit(exit);
78
- cleanupListeners();
79
- });
80
- eventSub = NativePlaidModule.addListener("PlaidLink.onEvent", (event) => {
81
- config.onEvent(event);
82
- });
83
- yield NativePlaidModule.createPlaidHeadlessSession(config.token);
84
- if (config.onLoad) {
85
- config.onLoad();
86
- }
87
- return {
88
- start: () => NativePlaidModule.startHeadlessSession(),
89
- };
90
- });
91
- }
92
- export function syncFinanceKit(config) {
93
- return __awaiter(this, void 0, void 0, function* () {
94
- var _a, _b;
95
- if (Platform.OS === "android") {
96
- throw new Error("FinanceKit is only available on iOS");
97
- }
98
- yield NativePlaidModule.syncFinanceKit(config.token, (_a = config.requestAuthorizationIfNeeded) !== null && _a !== void 0 ? _a : true, (_b = config.syncBehavior) !== null && _b !== void 0 ? _b : FinanceKitSyncBehavior.LIVE);
99
- });
100
- }
101
- export { PlaidEmbeddedSearchView, } from "./PlaidEmbeddedSearchView";
102
- export { default } from "./ReactNativePlaidLinkSdkModule";
103
- export * from "./ReactNativePlaidLinkSdk.types";
104
- //# sourceMappingURL=index.js.map
@@ -1,15 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
- import { DirectEventHandler, UnsafeMixed } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface NativeProps extends ViewProps {
4
- token?: string;
5
- iOSPresentationStyle?: string;
6
- onEmbeddedEvent: DirectEventHandler<{
7
- embeddedEventName: string;
8
- eventName?: string;
9
- error?: UnsafeMixed;
10
- publicToken?: string;
11
- metadata?: UnsafeMixed;
12
- }>;
13
- }
14
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
15
- export default _default;
@@ -1,2 +0,0 @@
1
- import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
- export default codegenNativeComponent('PLKEmbeddedView');
@@ -1,14 +0,0 @@
1
- import { TurboModule } from 'react-native';
2
- import { Double } from 'react-native/Libraries/Types/CodegenTypes';
3
- import { UnsafeObject } from './fabricUtils';
4
- import { LinkSuccess, LinkExit } from '../Types';
5
- export interface Spec extends TurboModule {
6
- create(token: string, noLoadingState: boolean, logLevel: string): void;
7
- open(onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (result: UnsafeObject<LinkExit>) => void): void;
8
- startLinkActivityForResult(token: string, noLoadingState: boolean, logLevel: string, onSuccessCallback: (result: UnsafeObject<LinkSuccess>) => void, onExitCallback: (result: UnsafeObject<LinkExit>) => void): void;
9
- submit(phoneNumber: string | undefined): void;
10
- addListener(eventName: string): void;
11
- removeListeners(count: Double): void;
12
- }
13
- declare const _default: Spec | null;
14
- export default _default;