modern-treasury 3.3.0 → 4.4.2
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/CHANGELOG.md +193 -0
- package/LICENSE +1 -1
- package/README.md +14 -5
- package/client.d.mts +16 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +16 -6
- package/client.d.ts.map +1 -1
- package/client.js +27 -3
- package/client.js.map +1 -1
- package/client.mjs +27 -3
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-details.d.mts +4 -4
- package/resources/account-details.d.mts.map +1 -1
- package/resources/account-details.d.ts +4 -4
- package/resources/account-details.d.ts.map +1 -1
- package/resources/bulk-requests.d.mts +57 -4
- package/resources/bulk-requests.d.mts.map +1 -1
- package/resources/bulk-requests.d.ts +57 -4
- package/resources/bulk-requests.d.ts.map +1 -1
- package/resources/connection-legal-entities.d.mts +88 -21
- package/resources/connection-legal-entities.d.mts.map +1 -1
- package/resources/connection-legal-entities.d.ts +88 -21
- package/resources/connection-legal-entities.d.ts.map +1 -1
- package/resources/counterparties.d.mts +91 -20
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +91 -20
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/documents.d.mts +8 -8
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +8 -8
- package/resources/documents.d.ts.map +1 -1
- package/resources/expected-payments.d.mts +60 -0
- package/resources/expected-payments.d.mts.map +1 -1
- package/resources/expected-payments.d.ts +60 -0
- package/resources/expected-payments.d.ts.map +1 -1
- package/resources/external-accounts.d.mts +1 -1
- package/resources/external-accounts.d.mts.map +1 -1
- package/resources/external-accounts.d.ts +1 -1
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/holds.d.mts +261 -0
- package/resources/holds.d.mts.map +1 -0
- package/resources/holds.d.ts +261 -0
- package/resources/holds.d.ts.map +1 -0
- package/resources/holds.js +35 -0
- package/resources/holds.js.map +1 -0
- package/resources/holds.mjs +31 -0
- package/resources/holds.mjs.map +1 -0
- package/resources/incoming-payment-details.d.mts +17 -4
- package/resources/incoming-payment-details.d.mts.map +1 -1
- package/resources/incoming-payment-details.d.ts +17 -4
- package/resources/incoming-payment-details.d.ts.map +1 -1
- package/resources/index.d.mts +4 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/internal-accounts/internal-accounts.d.mts +35 -0
- package/resources/internal-accounts/internal-accounts.d.mts.map +1 -1
- package/resources/internal-accounts/internal-accounts.d.ts +35 -0
- package/resources/internal-accounts/internal-accounts.d.ts.map +1 -1
- package/resources/internal-accounts/internal-accounts.js +12 -0
- package/resources/internal-accounts/internal-accounts.js.map +1 -1
- package/resources/internal-accounts/internal-accounts.mjs +12 -0
- package/resources/internal-accounts/internal-accounts.mjs.map +1 -1
- package/resources/invoices/invoices.d.mts +1 -21
- package/resources/invoices/invoices.d.mts.map +1 -1
- package/resources/invoices/invoices.d.ts +1 -21
- package/resources/invoices/invoices.d.ts.map +1 -1
- package/resources/invoices/invoices.js.map +1 -1
- package/resources/invoices/invoices.mjs.map +1 -1
- package/resources/journal-entries.d.mts +31 -0
- package/resources/journal-entries.d.mts.map +1 -0
- package/resources/journal-entries.d.ts +31 -0
- package/resources/journal-entries.d.ts.map +1 -0
- package/resources/journal-entries.js +30 -0
- package/resources/journal-entries.js.map +1 -0
- package/resources/journal-entries.mjs +26 -0
- package/resources/journal-entries.mjs.map +1 -0
- package/resources/journal-reports.d.mts +25 -0
- package/resources/journal-reports.d.mts.map +1 -0
- package/resources/journal-reports.d.ts +25 -0
- package/resources/journal-reports.d.ts.map +1 -0
- package/resources/journal-reports.js +39 -0
- package/resources/journal-reports.js.map +1 -0
- package/resources/journal-reports.mjs +35 -0
- package/resources/journal-reports.mjs.map +1 -0
- package/resources/ledger-account-categories.d.mts +9 -5
- package/resources/ledger-account-categories.d.mts.map +1 -1
- package/resources/ledger-account-categories.d.ts +9 -5
- package/resources/ledger-account-categories.d.ts.map +1 -1
- package/resources/ledger-accounts.d.mts +8 -0
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +8 -0
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/ledger-entries.d.mts +6 -1
- package/resources/ledger-entries.d.mts.map +1 -1
- package/resources/ledger-entries.d.ts +6 -1
- package/resources/ledger-entries.d.ts.map +1 -1
- package/resources/ledger-transactions/ledger-transactions.d.mts +5 -0
- package/resources/ledger-transactions/ledger-transactions.d.mts.map +1 -1
- package/resources/ledger-transactions/ledger-transactions.d.ts +5 -0
- package/resources/ledger-transactions/ledger-transactions.d.ts.map +1 -1
- package/resources/ledger-transactions/ledger-transactions.js.map +1 -1
- package/resources/ledger-transactions/ledger-transactions.mjs.map +1 -1
- package/resources/ledger-transactions/versions.d.mts +5 -0
- package/resources/ledger-transactions/versions.d.mts.map +1 -1
- package/resources/ledger-transactions/versions.d.ts +5 -0
- package/resources/ledger-transactions/versions.d.ts.map +1 -1
- package/resources/legal-entities.d.mts +264 -29
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +264 -29
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/legal-entity-associations.d.mts +314 -230
- package/resources/legal-entity-associations.d.mts.map +1 -1
- package/resources/legal-entity-associations.d.ts +314 -230
- package/resources/legal-entity-associations.d.ts.map +1 -1
- package/resources/legal-entity-associations.js.map +1 -1
- package/resources/legal-entity-associations.mjs.map +1 -1
- package/resources/payment-orders/payment-orders.d.mts +31 -14
- package/resources/payment-orders/payment-orders.d.mts.map +1 -1
- package/resources/payment-orders/payment-orders.d.ts +31 -14
- package/resources/payment-orders/payment-orders.d.ts.map +1 -1
- package/resources/payment-orders/payment-orders.js.map +1 -1
- package/resources/payment-orders/payment-orders.mjs.map +1 -1
- package/resources/payment-orders/reversals.d.mts +4 -0
- package/resources/payment-orders/reversals.d.mts.map +1 -1
- package/resources/payment-orders/reversals.d.ts +4 -0
- package/resources/payment-orders/reversals.d.ts.map +1 -1
- package/resources/payment-references.d.mts +1 -1
- package/resources/payment-references.d.mts.map +1 -1
- package/resources/payment-references.d.ts +1 -1
- package/resources/payment-references.d.ts.map +1 -1
- package/resources/returns.d.mts +3 -3
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +3 -3
- package/resources/returns.d.ts.map +1 -1
- package/resources/routing-details.d.mts +2 -2
- package/resources/routing-details.d.ts +2 -2
- package/resources/shared.d.mts +112 -30
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +112 -30
- package/resources/shared.d.ts.map +1 -1
- package/resources/transactions/transactions.d.mts +1 -1
- package/resources/transactions/transactions.d.mts.map +1 -1
- package/resources/transactions/transactions.d.ts +1 -1
- package/resources/transactions/transactions.d.ts.map +1 -1
- package/resources/transactions/transactions.js.map +1 -1
- package/resources/transactions/transactions.mjs.map +1 -1
- package/resources/virtual-accounts.d.mts +1 -1
- package/resources/virtual-accounts.d.mts.map +1 -1
- package/resources/virtual-accounts.d.ts +1 -1
- package/resources/virtual-accounts.d.ts.map +1 -1
- package/src/client.ts +65 -8
- package/src/internal/parse.ts +6 -0
- package/src/resources/account-details.ts +4 -2
- package/src/resources/bulk-requests.ts +68 -2
- package/src/resources/connection-legal-entities.ts +107 -21
- package/src/resources/counterparties.ts +111 -19
- package/src/resources/documents.ts +19 -15
- package/src/resources/expected-payments.ts +72 -0
- package/src/resources/external-accounts.ts +1 -0
- package/src/resources/holds.ts +336 -0
- package/src/resources/incoming-payment-details.ts +35 -3
- package/src/resources/index.ts +14 -0
- package/src/resources/internal-accounts/internal-accounts.ts +44 -0
- package/src/resources/invoices/invoices.ts +1 -25
- package/src/resources/journal-entries.ts +51 -0
- package/src/resources/journal-reports.ts +54 -0
- package/src/resources/ledger-account-categories.ts +11 -5
- package/src/resources/ledger-accounts.ts +10 -0
- package/src/resources/ledger-entries.ts +7 -1
- package/src/resources/ledger-transactions/ledger-transactions.ts +6 -0
- package/src/resources/ledger-transactions/versions.ts +6 -0
- package/src/resources/legal-entities.ts +332 -27
- package/src/resources/legal-entity-associations.ts +502 -390
- package/src/resources/payment-orders/payment-orders.ts +48 -19
- package/src/resources/payment-orders/reversals.ts +5 -0
- package/src/resources/payment-references.ts +8 -3
- package/src/resources/returns.ts +11 -5
- package/src/resources/routing-details.ts +2 -2
- package/src/resources/shared.ts +138 -36
- package/src/resources/transactions/transactions.ts +2 -1
- package/src/resources/virtual-accounts.ts +1 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as DocumentsAPI from './documents';
|
|
4
5
|
import * as Shared from './shared';
|
|
5
6
|
import { APIPromise } from '../core/api-promise';
|
|
6
7
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -17,130 +18,357 @@ export class LegalEntityAssociations extends APIResource {
|
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface ChildLegalEntity {
|
|
21
22
|
id: string;
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
+
* A list of addresses for the entity.
|
|
26
|
+
*/
|
|
27
|
+
addresses: Array<ChildLegalEntity.Address>;
|
|
28
|
+
|
|
29
|
+
bank_settings: ChildLegalEntity.BankSettings | null;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* A description of the business.
|
|
33
|
+
*/
|
|
34
|
+
business_description: string | null;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The business's legal business name.
|
|
38
|
+
*/
|
|
39
|
+
business_name: string | null;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The country of citizenship for an individual.
|
|
25
43
|
*/
|
|
26
|
-
|
|
44
|
+
citizenship_country: string | null;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated
|
|
48
|
+
*/
|
|
49
|
+
compliance_details: unknown | null;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The country code where the business is incorporated in the ISO 3166-1 alpha-2 or
|
|
53
|
+
* alpha-3 formats.
|
|
54
|
+
*/
|
|
55
|
+
country_of_incorporation: string | null;
|
|
27
56
|
|
|
28
57
|
created_at: string;
|
|
29
58
|
|
|
59
|
+
/**
|
|
60
|
+
* A business's formation date (YYYY-MM-DD).
|
|
61
|
+
*/
|
|
62
|
+
date_formed: string | null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* An individual's date of birth (YYYY-MM-DD).
|
|
66
|
+
*/
|
|
67
|
+
date_of_birth: string | null;
|
|
68
|
+
|
|
30
69
|
discarded_at: string | null;
|
|
31
70
|
|
|
71
|
+
documents: Array<DocumentsAPI.Document>;
|
|
72
|
+
|
|
73
|
+
doing_business_as_names: Array<string>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The entity's primary email.
|
|
77
|
+
*/
|
|
78
|
+
email: string | null;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Monthly expected transaction volume in USD.
|
|
82
|
+
*/
|
|
83
|
+
expected_activity_volume: number | null;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* An optional user-defined 180 character unique identifier.
|
|
87
|
+
*/
|
|
88
|
+
external_id: string | null;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* An individual's first name.
|
|
92
|
+
*/
|
|
93
|
+
first_name: string | null;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* A list of identifications for the legal entity.
|
|
97
|
+
*/
|
|
98
|
+
identifications: Array<ChildLegalEntity.Identification>;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* A list of industry classifications for the legal entity.
|
|
102
|
+
*/
|
|
103
|
+
industry_classifications: Array<Shared.LegalEntityIndustryClassification>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* A description of the intended use of the legal entity.
|
|
107
|
+
*/
|
|
108
|
+
intended_use: string | null;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* An individual's last name.
|
|
112
|
+
*/
|
|
113
|
+
last_name: string | null;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* The legal entity associations and its child legal entities.
|
|
117
|
+
*/
|
|
118
|
+
legal_entity_associations: Array<LegalEntityAssociation> | null;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The type of legal entity.
|
|
122
|
+
*/
|
|
123
|
+
legal_entity_type: 'business' | 'individual' | 'joint';
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The business's legal structure.
|
|
127
|
+
*/
|
|
128
|
+
legal_structure:
|
|
129
|
+
| 'corporation'
|
|
130
|
+
| 'llc'
|
|
131
|
+
| 'non_profit'
|
|
132
|
+
| 'partnership'
|
|
133
|
+
| 'sole_proprietorship'
|
|
134
|
+
| 'trust'
|
|
135
|
+
| null;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* ISO 10383 market identifier code.
|
|
139
|
+
*/
|
|
140
|
+
listed_exchange: string | null;
|
|
141
|
+
|
|
32
142
|
/**
|
|
33
143
|
* This field will be true if this object exists in the live environment or false
|
|
34
144
|
* if it exists in the test environment.
|
|
35
145
|
*/
|
|
36
146
|
live_mode: boolean;
|
|
37
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Additional data represented as key-value pairs. Both the key and value must be
|
|
150
|
+
* strings.
|
|
151
|
+
*/
|
|
152
|
+
metadata: { [key: string]: string };
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* An individual's middle name.
|
|
156
|
+
*/
|
|
157
|
+
middle_name: string | null;
|
|
158
|
+
|
|
38
159
|
object: string;
|
|
39
160
|
|
|
40
161
|
/**
|
|
41
|
-
*
|
|
162
|
+
* A list of countries where the business operates (ISO 3166-1 alpha-2 or alpha-3
|
|
163
|
+
* codes).
|
|
42
164
|
*/
|
|
43
|
-
|
|
165
|
+
operating_jurisdictions: Array<string>;
|
|
166
|
+
|
|
167
|
+
phone_numbers: Array<ChildLegalEntity.PhoneNumber>;
|
|
44
168
|
|
|
45
169
|
/**
|
|
46
|
-
*
|
|
47
|
-
* entity.
|
|
170
|
+
* Whether the individual is a politically exposed person.
|
|
48
171
|
*/
|
|
49
|
-
|
|
172
|
+
politically_exposed_person: boolean | null;
|
|
50
173
|
|
|
51
|
-
|
|
174
|
+
/**
|
|
175
|
+
* An individual's preferred name.
|
|
176
|
+
*/
|
|
177
|
+
preferred_name: string | null;
|
|
52
178
|
|
|
53
179
|
/**
|
|
54
|
-
*
|
|
180
|
+
* An individual's prefix.
|
|
55
181
|
*/
|
|
56
|
-
|
|
182
|
+
prefix: string | null;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* A list of primary social media URLs for the business.
|
|
186
|
+
*/
|
|
187
|
+
primary_social_media_sites: Array<string>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Array of regulatory bodies overseeing this institution.
|
|
191
|
+
*/
|
|
192
|
+
regulators: Array<ChildLegalEntity.Regulator> | null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* The risk rating of the legal entity. One of low, medium, high.
|
|
196
|
+
*/
|
|
197
|
+
risk_rating: 'low' | 'medium' | 'high' | null;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The activation status of the legal entity. One of pending, active, suspended, or
|
|
201
|
+
* closed.
|
|
202
|
+
*/
|
|
203
|
+
status: 'active' | 'closed' | 'pending' | 'suspended' | null;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* An individual's suffix.
|
|
207
|
+
*/
|
|
208
|
+
suffix: string | null;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Information describing a third-party verification run by an external vendor.
|
|
212
|
+
*/
|
|
213
|
+
third_party_verification: ChildLegalEntity.ThirdPartyVerification | null;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Stock ticker symbol for publicly traded companies.
|
|
217
|
+
*/
|
|
218
|
+
ticker_symbol: string | null;
|
|
57
219
|
|
|
58
220
|
updated_at: string;
|
|
59
|
-
}
|
|
60
221
|
|
|
61
|
-
|
|
222
|
+
wealth_and_employment_details: ChildLegalEntity.WealthAndEmploymentDetails | null;
|
|
223
|
+
|
|
62
224
|
/**
|
|
63
|
-
* The
|
|
225
|
+
* The entity's primary website URL.
|
|
64
226
|
*/
|
|
65
|
-
|
|
227
|
+
website: string | null;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export namespace ChildLegalEntity {
|
|
231
|
+
export interface Address {
|
|
66
232
|
id: string;
|
|
67
233
|
|
|
68
234
|
/**
|
|
69
|
-
*
|
|
235
|
+
* The types of this address.
|
|
236
|
+
*/
|
|
237
|
+
address_types: Array<'business' | 'mailing' | 'other' | 'po_box' | 'residential'>;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Country code conforms to [ISO 3166-1 alpha-2]
|
|
70
241
|
*/
|
|
71
|
-
|
|
242
|
+
country: string | null;
|
|
243
|
+
|
|
244
|
+
created_at: string;
|
|
72
245
|
|
|
73
|
-
|
|
246
|
+
discarded_at: string | null;
|
|
247
|
+
|
|
248
|
+
line1: string | null;
|
|
249
|
+
|
|
250
|
+
line2: string | null;
|
|
74
251
|
|
|
75
252
|
/**
|
|
76
|
-
*
|
|
253
|
+
* This field will be true if this object exists in the live environment or false
|
|
254
|
+
* if it exists in the test environment.
|
|
77
255
|
*/
|
|
78
|
-
|
|
256
|
+
live_mode: boolean;
|
|
79
257
|
|
|
80
258
|
/**
|
|
81
|
-
*
|
|
259
|
+
* Locality or City.
|
|
82
260
|
*/
|
|
83
|
-
|
|
261
|
+
locality: string | null;
|
|
84
262
|
|
|
85
|
-
|
|
263
|
+
object: string;
|
|
86
264
|
|
|
87
|
-
|
|
265
|
+
/**
|
|
266
|
+
* The postal code of the address.
|
|
267
|
+
*/
|
|
268
|
+
postal_code: string | null;
|
|
88
269
|
|
|
89
270
|
/**
|
|
90
|
-
*
|
|
271
|
+
* Region or State.
|
|
91
272
|
*/
|
|
92
|
-
|
|
273
|
+
region: string | null;
|
|
274
|
+
|
|
275
|
+
updated_at: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export interface BankSettings {
|
|
279
|
+
id: string;
|
|
93
280
|
|
|
94
281
|
/**
|
|
95
|
-
*
|
|
282
|
+
* The percentage of backup withholding to apply to the legal entity.
|
|
96
283
|
*/
|
|
97
|
-
|
|
284
|
+
backup_withholding_percentage: number | null;
|
|
285
|
+
|
|
286
|
+
created_at: string;
|
|
98
287
|
|
|
99
288
|
discarded_at: string | null;
|
|
100
289
|
|
|
101
|
-
|
|
290
|
+
/**
|
|
291
|
+
* Whether backup withholding is enabled. See more here -
|
|
292
|
+
* https://www.irs.gov/businesses/small-businesses-self-employed/backup-withholding.
|
|
293
|
+
*/
|
|
294
|
+
enable_backup_withholding: boolean | null;
|
|
102
295
|
|
|
103
296
|
/**
|
|
104
|
-
*
|
|
297
|
+
* This field will be true if this object exists in the live environment or false
|
|
298
|
+
* if it exists in the test environment.
|
|
105
299
|
*/
|
|
106
|
-
|
|
300
|
+
live_mode: boolean;
|
|
301
|
+
|
|
302
|
+
object: string;
|
|
107
303
|
|
|
108
304
|
/**
|
|
109
|
-
*
|
|
305
|
+
* Cross River Bank specific setting to opt out of privacy policy.
|
|
110
306
|
*/
|
|
111
|
-
|
|
307
|
+
privacy_opt_out: boolean | null;
|
|
112
308
|
|
|
113
309
|
/**
|
|
114
|
-
*
|
|
310
|
+
* It covers, among other types of insider loans, extensions of credit by a member
|
|
311
|
+
* bank to an executive officer, director, or principal shareholder of the member
|
|
312
|
+
* bank; a bank holding company of which the member bank is a subsidiary; and any
|
|
313
|
+
* other subsidiary of that bank holding company.
|
|
115
314
|
*/
|
|
116
|
-
|
|
315
|
+
regulation_o: boolean | null;
|
|
316
|
+
|
|
317
|
+
updated_at: string;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export interface Identification {
|
|
321
|
+
id: string;
|
|
322
|
+
|
|
323
|
+
created_at: string;
|
|
324
|
+
|
|
325
|
+
discarded_at: string | null;
|
|
326
|
+
|
|
327
|
+
documents: Array<DocumentsAPI.Document>;
|
|
117
328
|
|
|
118
329
|
/**
|
|
119
|
-
*
|
|
330
|
+
* The date when the Identification is no longer considered valid by the issuing
|
|
331
|
+
* authority.
|
|
120
332
|
*/
|
|
121
|
-
|
|
333
|
+
expiration_date: string | null;
|
|
122
334
|
|
|
123
335
|
/**
|
|
124
|
-
*
|
|
336
|
+
* The type of ID number.
|
|
125
337
|
*/
|
|
126
|
-
|
|
338
|
+
id_type:
|
|
339
|
+
| 'ar_cuil'
|
|
340
|
+
| 'ar_cuit'
|
|
341
|
+
| 'br_cnpj'
|
|
342
|
+
| 'br_cpf'
|
|
343
|
+
| 'cl_run'
|
|
344
|
+
| 'cl_rut'
|
|
345
|
+
| 'co_cedulas'
|
|
346
|
+
| 'co_nit'
|
|
347
|
+
| 'drivers_license'
|
|
348
|
+
| 'hn_id'
|
|
349
|
+
| 'hn_rtn'
|
|
350
|
+
| 'in_lei'
|
|
351
|
+
| 'kr_brn'
|
|
352
|
+
| 'kr_crn'
|
|
353
|
+
| 'kr_rrn'
|
|
354
|
+
| 'passport'
|
|
355
|
+
| 'sa_tin'
|
|
356
|
+
| 'sa_vat'
|
|
357
|
+
| 'us_ein'
|
|
358
|
+
| 'us_itin'
|
|
359
|
+
| 'us_ssn'
|
|
360
|
+
| 'vn_tin';
|
|
127
361
|
|
|
128
362
|
/**
|
|
129
|
-
* The
|
|
363
|
+
* The ISO 3166-1 alpha-2 country code of the country that issued the
|
|
364
|
+
* identification
|
|
130
365
|
*/
|
|
131
|
-
|
|
366
|
+
issuing_country: string | null;
|
|
132
367
|
|
|
133
368
|
/**
|
|
134
|
-
* The
|
|
369
|
+
* The region in which the identifcation was issued.
|
|
135
370
|
*/
|
|
136
|
-
|
|
137
|
-
| 'corporation'
|
|
138
|
-
| 'llc'
|
|
139
|
-
| 'non_profit'
|
|
140
|
-
| 'partnership'
|
|
141
|
-
| 'sole_proprietorship'
|
|
142
|
-
| 'trust'
|
|
143
|
-
| null;
|
|
371
|
+
issuing_region: string | null;
|
|
144
372
|
|
|
145
373
|
/**
|
|
146
374
|
* This field will be true if this object exists in the live environment or false
|
|
@@ -148,380 +376,263 @@ export namespace LegalEntityAssociation {
|
|
|
148
376
|
*/
|
|
149
377
|
live_mode: boolean;
|
|
150
378
|
|
|
379
|
+
object: string;
|
|
380
|
+
|
|
381
|
+
updated_at: string;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* A list of phone numbers in E.164 format.
|
|
386
|
+
*/
|
|
387
|
+
export interface PhoneNumber {
|
|
388
|
+
phone_number?: string;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface Regulator {
|
|
151
392
|
/**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
393
|
+
* The country code where the regulator operates in the ISO 3166-1 alpha-2 format
|
|
394
|
+
* (e.g., "US", "CA", "GB").
|
|
154
395
|
*/
|
|
155
|
-
|
|
396
|
+
jurisdiction: string;
|
|
156
397
|
|
|
157
398
|
/**
|
|
158
|
-
*
|
|
399
|
+
* Full name of the regulatory body.
|
|
159
400
|
*/
|
|
160
|
-
|
|
401
|
+
name: string;
|
|
161
402
|
|
|
162
|
-
|
|
403
|
+
/**
|
|
404
|
+
* Registration or identification number with the regulator.
|
|
405
|
+
*/
|
|
406
|
+
registration_number: string;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Information describing a third-party verification run by an external vendor.
|
|
411
|
+
*/
|
|
412
|
+
export interface ThirdPartyVerification {
|
|
413
|
+
/**
|
|
414
|
+
* The vendor that performed the verification, e.g. `persona`.
|
|
415
|
+
*/
|
|
416
|
+
vendor: 'persona';
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* The identification of the third party verification in `vendor`'s system.
|
|
420
|
+
*/
|
|
421
|
+
vendor_verification_id: string;
|
|
422
|
+
}
|
|
163
423
|
|
|
164
|
-
|
|
424
|
+
export interface WealthAndEmploymentDetails {
|
|
425
|
+
id: string;
|
|
165
426
|
|
|
166
427
|
/**
|
|
167
|
-
*
|
|
428
|
+
* The annual income of the individual in USD.
|
|
168
429
|
*/
|
|
169
|
-
|
|
430
|
+
annual_income: number | null;
|
|
431
|
+
|
|
432
|
+
created_at: string;
|
|
433
|
+
|
|
434
|
+
discarded_at: string | null;
|
|
170
435
|
|
|
171
436
|
/**
|
|
172
|
-
*
|
|
437
|
+
* The country in which the employer is located.
|
|
173
438
|
*/
|
|
174
|
-
|
|
439
|
+
employer_country: string | null;
|
|
175
440
|
|
|
176
441
|
/**
|
|
177
|
-
*
|
|
442
|
+
* The name of the employer.
|
|
178
443
|
*/
|
|
179
|
-
|
|
444
|
+
employer_name: string | null;
|
|
180
445
|
|
|
181
446
|
/**
|
|
182
|
-
* The
|
|
447
|
+
* The state in which the employer is located.
|
|
183
448
|
*/
|
|
184
|
-
|
|
449
|
+
employer_state: string | null;
|
|
185
450
|
|
|
186
451
|
/**
|
|
187
|
-
*
|
|
452
|
+
* The employment status of the individual.
|
|
188
453
|
*/
|
|
189
|
-
|
|
454
|
+
employment_status: 'employed' | 'retired' | 'self_employed' | 'student' | 'unemployed' | null;
|
|
190
455
|
|
|
191
|
-
|
|
456
|
+
/**
|
|
457
|
+
* The country in which the individual's income is earned.
|
|
458
|
+
*/
|
|
459
|
+
income_country: string | null;
|
|
192
460
|
|
|
193
|
-
|
|
461
|
+
/**
|
|
462
|
+
* The source of the individual's income.
|
|
463
|
+
*/
|
|
464
|
+
income_source:
|
|
465
|
+
| 'family_support'
|
|
466
|
+
| 'government_benefits'
|
|
467
|
+
| 'inheritance'
|
|
468
|
+
| 'investments'
|
|
469
|
+
| 'rental_income'
|
|
470
|
+
| 'retirement'
|
|
471
|
+
| 'salary'
|
|
472
|
+
| 'self_employed'
|
|
473
|
+
| null;
|
|
194
474
|
|
|
195
475
|
/**
|
|
196
|
-
* The
|
|
476
|
+
* The state in which the individual's income is earned.
|
|
197
477
|
*/
|
|
198
|
-
|
|
199
|
-
|
|
478
|
+
income_state: string | null;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* The industry of the individual.
|
|
482
|
+
*/
|
|
483
|
+
industry:
|
|
484
|
+
| 'accounting'
|
|
485
|
+
| 'agriculture'
|
|
486
|
+
| 'automotive'
|
|
487
|
+
| 'chemical_manufacturing'
|
|
488
|
+
| 'construction'
|
|
489
|
+
| 'educational_medical'
|
|
490
|
+
| 'food_service'
|
|
491
|
+
| 'finance'
|
|
492
|
+
| 'gasoline'
|
|
493
|
+
| 'health_stores'
|
|
494
|
+
| 'laundry'
|
|
495
|
+
| 'maintenance'
|
|
496
|
+
| 'manufacturing'
|
|
497
|
+
| 'merchant_wholesale'
|
|
498
|
+
| 'mining'
|
|
499
|
+
| 'performing_arts'
|
|
500
|
+
| 'professional_non_legal'
|
|
501
|
+
| 'public_administration'
|
|
502
|
+
| 'publishing'
|
|
503
|
+
| 'real_estate'
|
|
504
|
+
| 'recreation_gambling'
|
|
505
|
+
| 'religious_charity'
|
|
506
|
+
| 'rental_services'
|
|
507
|
+
| 'retail_clothing'
|
|
508
|
+
| 'retail_electronics'
|
|
509
|
+
| 'retail_food'
|
|
510
|
+
| 'retail_furnishing'
|
|
511
|
+
| 'retail_home'
|
|
512
|
+
| 'retail_non_store'
|
|
513
|
+
| 'retail_sporting'
|
|
514
|
+
| 'transportation'
|
|
515
|
+
| 'travel'
|
|
516
|
+
| 'utilities'
|
|
517
|
+
| null;
|
|
200
518
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
519
|
+
/**
|
|
520
|
+
* This field will be true if this object exists in the live environment or false
|
|
521
|
+
* if it exists in the test environment.
|
|
522
|
+
*/
|
|
523
|
+
live_mode: boolean;
|
|
204
524
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
525
|
+
object: string;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* The occupation of the individual.
|
|
529
|
+
*/
|
|
530
|
+
occupation:
|
|
531
|
+
| 'consulting'
|
|
532
|
+
| 'executive'
|
|
533
|
+
| 'finance_accounting'
|
|
534
|
+
| 'food_services'
|
|
535
|
+
| 'government'
|
|
536
|
+
| 'healthcare'
|
|
537
|
+
| 'legal_services'
|
|
538
|
+
| 'manufacturing'
|
|
539
|
+
| 'other'
|
|
540
|
+
| 'sales'
|
|
541
|
+
| 'science_engineering'
|
|
542
|
+
| 'technology'
|
|
543
|
+
| null;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* The source of the individual's funds.
|
|
547
|
+
*/
|
|
548
|
+
source_of_funds:
|
|
549
|
+
| 'alimony'
|
|
550
|
+
| 'annuity'
|
|
551
|
+
| 'business_owner'
|
|
552
|
+
| 'business_revenue'
|
|
553
|
+
| 'debt_financing'
|
|
554
|
+
| 'general_employee'
|
|
555
|
+
| 'government_benefits'
|
|
556
|
+
| 'homemaker'
|
|
557
|
+
| 'inheritance_gift'
|
|
558
|
+
| 'intercompany_loan'
|
|
559
|
+
| 'investment'
|
|
560
|
+
| 'investor_funding'
|
|
561
|
+
| 'legal_settlement'
|
|
562
|
+
| 'lottery'
|
|
563
|
+
| 'real_estate'
|
|
564
|
+
| 'retained_earnings_or_savings'
|
|
565
|
+
| 'retired'
|
|
566
|
+
| 'retirement'
|
|
567
|
+
| 'salary'
|
|
568
|
+
| 'sale_of_business_assets'
|
|
569
|
+
| 'sale_of_real_estate'
|
|
570
|
+
| 'self_employed'
|
|
571
|
+
| 'senior_executive'
|
|
572
|
+
| 'trust_income'
|
|
573
|
+
| null;
|
|
209
574
|
|
|
210
|
-
|
|
211
|
-
* Country code conforms to [ISO 3166-1 alpha-2]
|
|
212
|
-
*/
|
|
213
|
-
country: string | null;
|
|
575
|
+
updated_at: string;
|
|
214
576
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
* Locality or City.
|
|
231
|
-
*/
|
|
232
|
-
locality: string | null;
|
|
233
|
-
|
|
234
|
-
object: string;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The postal code of the address.
|
|
238
|
-
*/
|
|
239
|
-
postal_code: string | null;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Region or State.
|
|
243
|
-
*/
|
|
244
|
-
region: string | null;
|
|
245
|
-
|
|
246
|
-
updated_at: string;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
export interface BankSettings {
|
|
250
|
-
id: string;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* The percentage of backup withholding to apply to the legal entity.
|
|
254
|
-
*/
|
|
255
|
-
backup_withholding_percentage: number | null;
|
|
256
|
-
|
|
257
|
-
created_at: string;
|
|
258
|
-
|
|
259
|
-
discarded_at: string | null;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Whether backup withholding is enabled. See more here -
|
|
263
|
-
* https://www.irs.gov/businesses/small-businesses-self-employed/backup-withholding.
|
|
264
|
-
*/
|
|
265
|
-
enable_backup_withholding: boolean | null;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* This field will be true if this object exists in the live environment or false
|
|
269
|
-
* if it exists in the test environment.
|
|
270
|
-
*/
|
|
271
|
-
live_mode: boolean;
|
|
272
|
-
|
|
273
|
-
object: string;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Cross River Bank specific setting to opt out of privacy policy.
|
|
277
|
-
*/
|
|
278
|
-
privacy_opt_out: boolean | null;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* It covers, among other types of insider loans, extensions of credit by a member
|
|
282
|
-
* bank to an executive officer, director, or principal shareholder of the member
|
|
283
|
-
* bank; a bank holding company of which the member bank is a subsidiary; and any
|
|
284
|
-
* other subsidiary of that bank holding company.
|
|
285
|
-
*/
|
|
286
|
-
regulation_o: boolean | null;
|
|
287
|
-
|
|
288
|
-
updated_at: string;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export interface Identification {
|
|
292
|
-
id: string;
|
|
293
|
-
|
|
294
|
-
created_at: string;
|
|
295
|
-
|
|
296
|
-
discarded_at: string | null;
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* The date when the Identification is no longer considered valid by the issuing
|
|
300
|
-
* authority.
|
|
301
|
-
*/
|
|
302
|
-
expiration_date: string | null;
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* The type of ID number.
|
|
306
|
-
*/
|
|
307
|
-
id_type:
|
|
308
|
-
| 'ar_cuil'
|
|
309
|
-
| 'ar_cuit'
|
|
310
|
-
| 'br_cnpj'
|
|
311
|
-
| 'br_cpf'
|
|
312
|
-
| 'cl_run'
|
|
313
|
-
| 'cl_rut'
|
|
314
|
-
| 'co_cedulas'
|
|
315
|
-
| 'co_nit'
|
|
316
|
-
| 'drivers_license'
|
|
317
|
-
| 'hn_id'
|
|
318
|
-
| 'hn_rtn'
|
|
319
|
-
| 'in_lei'
|
|
320
|
-
| 'kr_brn'
|
|
321
|
-
| 'kr_crn'
|
|
322
|
-
| 'kr_rrn'
|
|
323
|
-
| 'passport'
|
|
324
|
-
| 'sa_tin'
|
|
325
|
-
| 'sa_vat'
|
|
326
|
-
| 'us_ein'
|
|
327
|
-
| 'us_itin'
|
|
328
|
-
| 'us_ssn'
|
|
329
|
-
| 'vn_tin';
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* The ISO 3166-1 alpha-2 country code of the country that issued the
|
|
333
|
-
* identification
|
|
334
|
-
*/
|
|
335
|
-
issuing_country: string | null;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* The region in which the identifcation was issued.
|
|
339
|
-
*/
|
|
340
|
-
issuing_region: string | null;
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* This field will be true if this object exists in the live environment or false
|
|
344
|
-
* if it exists in the test environment.
|
|
345
|
-
*/
|
|
346
|
-
live_mode: boolean;
|
|
347
|
-
|
|
348
|
-
object: string;
|
|
349
|
-
|
|
350
|
-
updated_at: string;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* A list of phone numbers in E.164 format.
|
|
355
|
-
*/
|
|
356
|
-
export interface PhoneNumber {
|
|
357
|
-
phone_number?: string;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export interface WealthAndEmploymentDetails {
|
|
361
|
-
id: string;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* The annual income of the individual.
|
|
365
|
-
*/
|
|
366
|
-
annual_income: number | null;
|
|
367
|
-
|
|
368
|
-
created_at: string;
|
|
369
|
-
|
|
370
|
-
discarded_at: string | null;
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* The country in which the employer is located.
|
|
374
|
-
*/
|
|
375
|
-
employer_country: string | null;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* The name of the employer.
|
|
379
|
-
*/
|
|
380
|
-
employer_name: string | null;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* The state in which the employer is located.
|
|
384
|
-
*/
|
|
385
|
-
employer_state: string | null;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* The employment status of the individual.
|
|
389
|
-
*/
|
|
390
|
-
employment_status: 'employed' | 'retired' | 'self_employed' | 'student' | 'unemployed' | null;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* The country in which the individual's income is earned.
|
|
394
|
-
*/
|
|
395
|
-
income_country: string | null;
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* The source of the individual's income.
|
|
399
|
-
*/
|
|
400
|
-
income_source:
|
|
401
|
-
| 'family_support'
|
|
402
|
-
| 'government_benefits'
|
|
403
|
-
| 'inheritance'
|
|
404
|
-
| 'investments'
|
|
405
|
-
| 'rental_income'
|
|
406
|
-
| 'retirement'
|
|
407
|
-
| 'salary'
|
|
408
|
-
| 'self_employed'
|
|
409
|
-
| null;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* The state in which the individual's income is earned.
|
|
413
|
-
*/
|
|
414
|
-
income_state: string | null;
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* The industry of the individual.
|
|
418
|
-
*/
|
|
419
|
-
industry:
|
|
420
|
-
| 'accounting'
|
|
421
|
-
| 'agriculture'
|
|
422
|
-
| 'automotive'
|
|
423
|
-
| 'chemical_manufacturing'
|
|
424
|
-
| 'construction'
|
|
425
|
-
| 'educational_medical'
|
|
426
|
-
| 'food_service'
|
|
427
|
-
| 'finance'
|
|
428
|
-
| 'gasoline'
|
|
429
|
-
| 'health_stores'
|
|
430
|
-
| 'laundry'
|
|
431
|
-
| 'maintenance'
|
|
432
|
-
| 'manufacturing'
|
|
433
|
-
| 'merchant_wholesale'
|
|
434
|
-
| 'mining'
|
|
435
|
-
| 'performing_arts'
|
|
436
|
-
| 'professional_non_legal'
|
|
437
|
-
| 'public_administration'
|
|
438
|
-
| 'publishing'
|
|
439
|
-
| 'real_estate'
|
|
440
|
-
| 'recreation_gambling'
|
|
441
|
-
| 'religious_charity'
|
|
442
|
-
| 'rental_services'
|
|
443
|
-
| 'retail_clothing'
|
|
444
|
-
| 'retail_electronics'
|
|
445
|
-
| 'retail_food'
|
|
446
|
-
| 'retail_furnishing'
|
|
447
|
-
| 'retail_home'
|
|
448
|
-
| 'retail_non_store'
|
|
449
|
-
| 'retail_sporting'
|
|
450
|
-
| 'transportation'
|
|
451
|
-
| 'travel'
|
|
452
|
-
| 'utilities'
|
|
453
|
-
| null;
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* This field will be true if this object exists in the live environment or false
|
|
457
|
-
* if it exists in the test environment.
|
|
458
|
-
*/
|
|
459
|
-
live_mode: boolean;
|
|
460
|
-
|
|
461
|
-
object: string;
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* The occupation of the individual.
|
|
465
|
-
*/
|
|
466
|
-
occupation:
|
|
467
|
-
| 'consulting'
|
|
468
|
-
| 'executive'
|
|
469
|
-
| 'finance_accounting'
|
|
470
|
-
| 'food_services'
|
|
471
|
-
| 'government'
|
|
472
|
-
| 'healthcare'
|
|
473
|
-
| 'legal_services'
|
|
474
|
-
| 'manufacturing'
|
|
475
|
-
| 'other'
|
|
476
|
-
| 'sales'
|
|
477
|
-
| 'science_engineering'
|
|
478
|
-
| 'technology'
|
|
479
|
-
| null;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* The source of the individual's funds.
|
|
483
|
-
*/
|
|
484
|
-
source_of_funds:
|
|
485
|
-
| 'alimony'
|
|
486
|
-
| 'annuity'
|
|
487
|
-
| 'business_owner'
|
|
488
|
-
| 'general_employee'
|
|
489
|
-
| 'government_benefits'
|
|
490
|
-
| 'homemaker'
|
|
491
|
-
| 'inheritance_gift'
|
|
492
|
-
| 'investment'
|
|
493
|
-
| 'legal_settlement'
|
|
494
|
-
| 'lottery'
|
|
495
|
-
| 'real_estate'
|
|
496
|
-
| 'retired'
|
|
497
|
-
| 'retirement'
|
|
498
|
-
| 'salary'
|
|
499
|
-
| 'self_employed'
|
|
500
|
-
| 'senior_executive'
|
|
501
|
-
| 'trust_income'
|
|
502
|
-
| null;
|
|
503
|
-
|
|
504
|
-
updated_at: string;
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* The source of the individual's wealth.
|
|
508
|
-
*/
|
|
509
|
-
wealth_source:
|
|
510
|
-
| 'business_sale'
|
|
511
|
-
| 'family_support'
|
|
512
|
-
| 'government_benefits'
|
|
513
|
-
| 'inheritance'
|
|
514
|
-
| 'investments'
|
|
515
|
-
| 'other'
|
|
516
|
-
| 'rental_income'
|
|
517
|
-
| 'retirement'
|
|
518
|
-
| 'salary'
|
|
519
|
-
| 'self_employed'
|
|
520
|
-
| null;
|
|
521
|
-
}
|
|
577
|
+
/**
|
|
578
|
+
* The source of the individual's wealth.
|
|
579
|
+
*/
|
|
580
|
+
wealth_source:
|
|
581
|
+
| 'business_sale'
|
|
582
|
+
| 'family_support'
|
|
583
|
+
| 'government_benefits'
|
|
584
|
+
| 'inheritance'
|
|
585
|
+
| 'investments'
|
|
586
|
+
| 'other'
|
|
587
|
+
| 'rental_income'
|
|
588
|
+
| 'retirement'
|
|
589
|
+
| 'salary'
|
|
590
|
+
| 'self_employed'
|
|
591
|
+
| null;
|
|
522
592
|
}
|
|
523
593
|
}
|
|
524
594
|
|
|
595
|
+
export interface LegalEntityAssociation {
|
|
596
|
+
id: string;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* The child legal entity.
|
|
600
|
+
*/
|
|
601
|
+
child_legal_entity: ChildLegalEntity;
|
|
602
|
+
|
|
603
|
+
created_at: string;
|
|
604
|
+
|
|
605
|
+
discarded_at: string | null;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* This field will be true if this object exists in the live environment or false
|
|
609
|
+
* if it exists in the test environment.
|
|
610
|
+
*/
|
|
611
|
+
live_mode: boolean;
|
|
612
|
+
|
|
613
|
+
object: string;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* The child entity's ownership percentage iff they are a beneficial owner.
|
|
617
|
+
*/
|
|
618
|
+
ownership_percentage: number | null;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* The ID of the parent legal entity. This must be a business or joint legal
|
|
622
|
+
* entity.
|
|
623
|
+
*/
|
|
624
|
+
parent_legal_entity_id: string;
|
|
625
|
+
|
|
626
|
+
relationship_types: Array<'authorized_signer' | 'beneficial_owner' | 'control_person'>;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* The job title of the child entity at the parent entity.
|
|
630
|
+
*/
|
|
631
|
+
title: string | null;
|
|
632
|
+
|
|
633
|
+
updated_at: string;
|
|
634
|
+
}
|
|
635
|
+
|
|
525
636
|
export interface LegalEntityAssociationCreateParams {
|
|
526
637
|
/**
|
|
527
638
|
* The ID of the parent legal entity. This must be a business or joint legal
|
|
@@ -554,6 +665,7 @@ export interface LegalEntityAssociationCreateParams {
|
|
|
554
665
|
|
|
555
666
|
export declare namespace LegalEntityAssociations {
|
|
556
667
|
export {
|
|
668
|
+
type ChildLegalEntity as ChildLegalEntity,
|
|
557
669
|
type LegalEntityAssociation as LegalEntityAssociation,
|
|
558
670
|
type LegalEntityAssociationCreateParams as LegalEntityAssociationCreateParams,
|
|
559
671
|
};
|