modern_treasury 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/lib/modern_treasury/models/child_legal_entity_create.rb +8 -6
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +8 -6
- data/lib/modern_treasury/models/counterparty_create_params.rb +8 -6
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +45 -1
- data/lib/modern_treasury/models/legal_entity.rb +8 -6
- data/lib/modern_treasury/models/legal_entity_association.rb +8 -6
- data/lib/modern_treasury/models/legal_entity_bank_settings.rb +91 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +8 -6
- data/lib/modern_treasury/models/legal_entity_update_params.rb +8 -6
- data/lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb +312 -0
- data/lib/modern_treasury/models.rb +4 -0
- data/lib/modern_treasury/resources/ledger_entries.rb +3 -1
- data/lib/modern_treasury/resources/legal_entities.rb +4 -4
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +2 -0
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +14 -8
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +16 -8
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +16 -8
- data/rbi/modern_treasury/models/ledger_entry_list_params.rbi +82 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_association.rbi +16 -8
- data/rbi/modern_treasury/models/legal_entity_bank_settings.rbi +112 -0
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_wealth_employment_detail.rbi +815 -0
- data/rbi/modern_treasury/models.rbi +5 -0
- data/rbi/modern_treasury/resources/ledger_entries.rbi +3 -0
- data/rbi/modern_treasury/resources/legal_entities.rbi +10 -4
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +8 -8
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +8 -8
- data/sig/modern_treasury/models/counterparty_create_params.rbs +8 -8
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +50 -0
- data/sig/modern_treasury/models/legal_entity.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_association.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_bank_settings.rbs +65 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_wealth_employment_detail.rbs +325 -0
- data/sig/modern_treasury/models.rbs +4 -0
- data/sig/modern_treasury/resources/ledger_entries.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entities.rbs +4 -4
- metadata +7 -1
|
@@ -0,0 +1,815 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
class LegalEntityWealthEmploymentDetail < ModernTreasury::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail,
|
|
10
|
+
ModernTreasury::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
17
|
+
# The annual income of the individual.
|
|
18
|
+
sig { returns(T.nilable(Integer)) }
|
|
19
|
+
attr_accessor :annual_income
|
|
20
|
+
|
|
21
|
+
sig { returns(Time) }
|
|
22
|
+
attr_accessor :created_at
|
|
23
|
+
|
|
24
|
+
sig { returns(T.nilable(Time)) }
|
|
25
|
+
attr_accessor :discarded_at
|
|
26
|
+
|
|
27
|
+
# The country in which the employer is located.
|
|
28
|
+
sig { returns(T.nilable(String)) }
|
|
29
|
+
attr_accessor :employer_country
|
|
30
|
+
|
|
31
|
+
# The name of the employer.
|
|
32
|
+
sig { returns(T.nilable(String)) }
|
|
33
|
+
attr_accessor :employer_name
|
|
34
|
+
|
|
35
|
+
# The state in which the employer is located.
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
attr_accessor :employer_state
|
|
38
|
+
|
|
39
|
+
# The employment status of the individual.
|
|
40
|
+
sig do
|
|
41
|
+
returns(
|
|
42
|
+
T.nilable(
|
|
43
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::OrSymbol
|
|
44
|
+
)
|
|
45
|
+
)
|
|
46
|
+
end
|
|
47
|
+
attr_accessor :employment_status
|
|
48
|
+
|
|
49
|
+
# The country in which the individual's income is earned.
|
|
50
|
+
sig { returns(T.nilable(String)) }
|
|
51
|
+
attr_accessor :income_country
|
|
52
|
+
|
|
53
|
+
# The source of the individual's income.
|
|
54
|
+
sig do
|
|
55
|
+
returns(
|
|
56
|
+
T.nilable(
|
|
57
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::OrSymbol
|
|
58
|
+
)
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
attr_accessor :income_source
|
|
62
|
+
|
|
63
|
+
# The state in which the individual's income is earned.
|
|
64
|
+
sig { returns(T.nilable(String)) }
|
|
65
|
+
attr_accessor :income_state
|
|
66
|
+
|
|
67
|
+
# The industry of the individual.
|
|
68
|
+
sig do
|
|
69
|
+
returns(
|
|
70
|
+
T.nilable(
|
|
71
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::OrSymbol
|
|
72
|
+
)
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
attr_accessor :industry
|
|
76
|
+
|
|
77
|
+
# This field will be true if this object exists in the live environment or false
|
|
78
|
+
# if it exists in the test environment.
|
|
79
|
+
sig { returns(T::Boolean) }
|
|
80
|
+
attr_accessor :live_mode
|
|
81
|
+
|
|
82
|
+
sig { returns(String) }
|
|
83
|
+
attr_accessor :object
|
|
84
|
+
|
|
85
|
+
# The occupation of the individual.
|
|
86
|
+
sig do
|
|
87
|
+
returns(
|
|
88
|
+
T.nilable(
|
|
89
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::OrSymbol
|
|
90
|
+
)
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
attr_accessor :occupation
|
|
94
|
+
|
|
95
|
+
# The source of the individual's funds.
|
|
96
|
+
sig do
|
|
97
|
+
returns(
|
|
98
|
+
T.nilable(
|
|
99
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::OrSymbol
|
|
100
|
+
)
|
|
101
|
+
)
|
|
102
|
+
end
|
|
103
|
+
attr_accessor :source_of_funds
|
|
104
|
+
|
|
105
|
+
sig { returns(Time) }
|
|
106
|
+
attr_accessor :updated_at
|
|
107
|
+
|
|
108
|
+
# The source of the individual's wealth.
|
|
109
|
+
sig do
|
|
110
|
+
returns(
|
|
111
|
+
T.nilable(
|
|
112
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::OrSymbol
|
|
113
|
+
)
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
attr_accessor :wealth_source
|
|
117
|
+
|
|
118
|
+
sig do
|
|
119
|
+
params(
|
|
120
|
+
id: String,
|
|
121
|
+
annual_income: T.nilable(Integer),
|
|
122
|
+
created_at: Time,
|
|
123
|
+
discarded_at: T.nilable(Time),
|
|
124
|
+
employer_country: T.nilable(String),
|
|
125
|
+
employer_name: T.nilable(String),
|
|
126
|
+
employer_state: T.nilable(String),
|
|
127
|
+
employment_status:
|
|
128
|
+
T.nilable(
|
|
129
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::OrSymbol
|
|
130
|
+
),
|
|
131
|
+
income_country: T.nilable(String),
|
|
132
|
+
income_source:
|
|
133
|
+
T.nilable(
|
|
134
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::OrSymbol
|
|
135
|
+
),
|
|
136
|
+
income_state: T.nilable(String),
|
|
137
|
+
industry:
|
|
138
|
+
T.nilable(
|
|
139
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::OrSymbol
|
|
140
|
+
),
|
|
141
|
+
live_mode: T::Boolean,
|
|
142
|
+
object: String,
|
|
143
|
+
occupation:
|
|
144
|
+
T.nilable(
|
|
145
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::OrSymbol
|
|
146
|
+
),
|
|
147
|
+
source_of_funds:
|
|
148
|
+
T.nilable(
|
|
149
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::OrSymbol
|
|
150
|
+
),
|
|
151
|
+
updated_at: Time,
|
|
152
|
+
wealth_source:
|
|
153
|
+
T.nilable(
|
|
154
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::OrSymbol
|
|
155
|
+
)
|
|
156
|
+
).returns(T.attached_class)
|
|
157
|
+
end
|
|
158
|
+
def self.new(
|
|
159
|
+
id:,
|
|
160
|
+
# The annual income of the individual.
|
|
161
|
+
annual_income:,
|
|
162
|
+
created_at:,
|
|
163
|
+
discarded_at:,
|
|
164
|
+
# The country in which the employer is located.
|
|
165
|
+
employer_country:,
|
|
166
|
+
# The name of the employer.
|
|
167
|
+
employer_name:,
|
|
168
|
+
# The state in which the employer is located.
|
|
169
|
+
employer_state:,
|
|
170
|
+
# The employment status of the individual.
|
|
171
|
+
employment_status:,
|
|
172
|
+
# The country in which the individual's income is earned.
|
|
173
|
+
income_country:,
|
|
174
|
+
# The source of the individual's income.
|
|
175
|
+
income_source:,
|
|
176
|
+
# The state in which the individual's income is earned.
|
|
177
|
+
income_state:,
|
|
178
|
+
# The industry of the individual.
|
|
179
|
+
industry:,
|
|
180
|
+
# This field will be true if this object exists in the live environment or false
|
|
181
|
+
# if it exists in the test environment.
|
|
182
|
+
live_mode:,
|
|
183
|
+
object:,
|
|
184
|
+
# The occupation of the individual.
|
|
185
|
+
occupation:,
|
|
186
|
+
# The source of the individual's funds.
|
|
187
|
+
source_of_funds:,
|
|
188
|
+
updated_at:,
|
|
189
|
+
# The source of the individual's wealth.
|
|
190
|
+
wealth_source:
|
|
191
|
+
)
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
sig do
|
|
195
|
+
override.returns(
|
|
196
|
+
{
|
|
197
|
+
id: String,
|
|
198
|
+
annual_income: T.nilable(Integer),
|
|
199
|
+
created_at: Time,
|
|
200
|
+
discarded_at: T.nilable(Time),
|
|
201
|
+
employer_country: T.nilable(String),
|
|
202
|
+
employer_name: T.nilable(String),
|
|
203
|
+
employer_state: T.nilable(String),
|
|
204
|
+
employment_status:
|
|
205
|
+
T.nilable(
|
|
206
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::OrSymbol
|
|
207
|
+
),
|
|
208
|
+
income_country: T.nilable(String),
|
|
209
|
+
income_source:
|
|
210
|
+
T.nilable(
|
|
211
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::OrSymbol
|
|
212
|
+
),
|
|
213
|
+
income_state: T.nilable(String),
|
|
214
|
+
industry:
|
|
215
|
+
T.nilable(
|
|
216
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::OrSymbol
|
|
217
|
+
),
|
|
218
|
+
live_mode: T::Boolean,
|
|
219
|
+
object: String,
|
|
220
|
+
occupation:
|
|
221
|
+
T.nilable(
|
|
222
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::OrSymbol
|
|
223
|
+
),
|
|
224
|
+
source_of_funds:
|
|
225
|
+
T.nilable(
|
|
226
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::OrSymbol
|
|
227
|
+
),
|
|
228
|
+
updated_at: Time,
|
|
229
|
+
wealth_source:
|
|
230
|
+
T.nilable(
|
|
231
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::OrSymbol
|
|
232
|
+
)
|
|
233
|
+
}
|
|
234
|
+
)
|
|
235
|
+
end
|
|
236
|
+
def to_hash
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# The employment status of the individual.
|
|
240
|
+
module EmploymentStatus
|
|
241
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
242
|
+
|
|
243
|
+
TaggedSymbol =
|
|
244
|
+
T.type_alias do
|
|
245
|
+
T.all(
|
|
246
|
+
Symbol,
|
|
247
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus
|
|
248
|
+
)
|
|
249
|
+
end
|
|
250
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
251
|
+
|
|
252
|
+
EMPLOYED =
|
|
253
|
+
T.let(
|
|
254
|
+
:employed,
|
|
255
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::TaggedSymbol
|
|
256
|
+
)
|
|
257
|
+
RETIRED =
|
|
258
|
+
T.let(
|
|
259
|
+
:retired,
|
|
260
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::TaggedSymbol
|
|
261
|
+
)
|
|
262
|
+
SELF_EMPLOYED =
|
|
263
|
+
T.let(
|
|
264
|
+
:self_employed,
|
|
265
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::TaggedSymbol
|
|
266
|
+
)
|
|
267
|
+
STUDENT =
|
|
268
|
+
T.let(
|
|
269
|
+
:student,
|
|
270
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::TaggedSymbol
|
|
271
|
+
)
|
|
272
|
+
UNEMPLOYED =
|
|
273
|
+
T.let(
|
|
274
|
+
:unemployed,
|
|
275
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::TaggedSymbol
|
|
276
|
+
)
|
|
277
|
+
|
|
278
|
+
sig do
|
|
279
|
+
override.returns(
|
|
280
|
+
T::Array[
|
|
281
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus::TaggedSymbol
|
|
282
|
+
]
|
|
283
|
+
)
|
|
284
|
+
end
|
|
285
|
+
def self.values
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# The source of the individual's income.
|
|
290
|
+
module IncomeSource
|
|
291
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
292
|
+
|
|
293
|
+
TaggedSymbol =
|
|
294
|
+
T.type_alias do
|
|
295
|
+
T.all(
|
|
296
|
+
Symbol,
|
|
297
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource
|
|
298
|
+
)
|
|
299
|
+
end
|
|
300
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
301
|
+
|
|
302
|
+
FAMILY_SUPPORT =
|
|
303
|
+
T.let(
|
|
304
|
+
:family_support,
|
|
305
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
306
|
+
)
|
|
307
|
+
GOVERNMENT_BENEFITS =
|
|
308
|
+
T.let(
|
|
309
|
+
:government_benefits,
|
|
310
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
311
|
+
)
|
|
312
|
+
INHERITANCE =
|
|
313
|
+
T.let(
|
|
314
|
+
:inheritance,
|
|
315
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
316
|
+
)
|
|
317
|
+
INVESTMENTS =
|
|
318
|
+
T.let(
|
|
319
|
+
:investments,
|
|
320
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
321
|
+
)
|
|
322
|
+
RENTAL_INCOME =
|
|
323
|
+
T.let(
|
|
324
|
+
:rental_income,
|
|
325
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
326
|
+
)
|
|
327
|
+
RETIREMENT =
|
|
328
|
+
T.let(
|
|
329
|
+
:retirement,
|
|
330
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
331
|
+
)
|
|
332
|
+
SALARY =
|
|
333
|
+
T.let(
|
|
334
|
+
:salary,
|
|
335
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
336
|
+
)
|
|
337
|
+
SELF_EMPLOYED =
|
|
338
|
+
T.let(
|
|
339
|
+
:self_employed,
|
|
340
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
341
|
+
)
|
|
342
|
+
|
|
343
|
+
sig do
|
|
344
|
+
override.returns(
|
|
345
|
+
T::Array[
|
|
346
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource::TaggedSymbol
|
|
347
|
+
]
|
|
348
|
+
)
|
|
349
|
+
end
|
|
350
|
+
def self.values
|
|
351
|
+
end
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# The industry of the individual.
|
|
355
|
+
module Industry
|
|
356
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
357
|
+
|
|
358
|
+
TaggedSymbol =
|
|
359
|
+
T.type_alias do
|
|
360
|
+
T.all(
|
|
361
|
+
Symbol,
|
|
362
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry
|
|
363
|
+
)
|
|
364
|
+
end
|
|
365
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
366
|
+
|
|
367
|
+
ACCOUNTING =
|
|
368
|
+
T.let(
|
|
369
|
+
:accounting,
|
|
370
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
371
|
+
)
|
|
372
|
+
AGRICULTURE =
|
|
373
|
+
T.let(
|
|
374
|
+
:agriculture,
|
|
375
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
376
|
+
)
|
|
377
|
+
AUTOMOTIVE =
|
|
378
|
+
T.let(
|
|
379
|
+
:automotive,
|
|
380
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
381
|
+
)
|
|
382
|
+
CHEMICAL_MANUFACTURING =
|
|
383
|
+
T.let(
|
|
384
|
+
:chemical_manufacturing,
|
|
385
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
386
|
+
)
|
|
387
|
+
CONSTRUCTION =
|
|
388
|
+
T.let(
|
|
389
|
+
:construction,
|
|
390
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
391
|
+
)
|
|
392
|
+
EDUCATIONAL_MEDICAL =
|
|
393
|
+
T.let(
|
|
394
|
+
:educational_medical,
|
|
395
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
396
|
+
)
|
|
397
|
+
FOOD_SERVICE =
|
|
398
|
+
T.let(
|
|
399
|
+
:food_service,
|
|
400
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
401
|
+
)
|
|
402
|
+
FINANCE =
|
|
403
|
+
T.let(
|
|
404
|
+
:finance,
|
|
405
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
406
|
+
)
|
|
407
|
+
GASOLINE =
|
|
408
|
+
T.let(
|
|
409
|
+
:gasoline,
|
|
410
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
411
|
+
)
|
|
412
|
+
HEALTH_STORES =
|
|
413
|
+
T.let(
|
|
414
|
+
:health_stores,
|
|
415
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
416
|
+
)
|
|
417
|
+
LAUNDRY =
|
|
418
|
+
T.let(
|
|
419
|
+
:laundry,
|
|
420
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
421
|
+
)
|
|
422
|
+
MAINTENANCE =
|
|
423
|
+
T.let(
|
|
424
|
+
:maintenance,
|
|
425
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
426
|
+
)
|
|
427
|
+
MANUFACTURING =
|
|
428
|
+
T.let(
|
|
429
|
+
:manufacturing,
|
|
430
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
431
|
+
)
|
|
432
|
+
MERCHANT_WHOLESALE =
|
|
433
|
+
T.let(
|
|
434
|
+
:merchant_wholesale,
|
|
435
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
436
|
+
)
|
|
437
|
+
MINING =
|
|
438
|
+
T.let(
|
|
439
|
+
:mining,
|
|
440
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
441
|
+
)
|
|
442
|
+
PERFORMING_ARTS =
|
|
443
|
+
T.let(
|
|
444
|
+
:performing_arts,
|
|
445
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
446
|
+
)
|
|
447
|
+
PROFESSIONAL_NON_LEGAL =
|
|
448
|
+
T.let(
|
|
449
|
+
:professional_non_legal,
|
|
450
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
451
|
+
)
|
|
452
|
+
PUBLIC_ADMINISTRATION =
|
|
453
|
+
T.let(
|
|
454
|
+
:public_administration,
|
|
455
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
456
|
+
)
|
|
457
|
+
PUBLISHING =
|
|
458
|
+
T.let(
|
|
459
|
+
:publishing,
|
|
460
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
461
|
+
)
|
|
462
|
+
REAL_ESTATE =
|
|
463
|
+
T.let(
|
|
464
|
+
:real_estate,
|
|
465
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
466
|
+
)
|
|
467
|
+
RECREATION_GAMBLING =
|
|
468
|
+
T.let(
|
|
469
|
+
:recreation_gambling,
|
|
470
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
471
|
+
)
|
|
472
|
+
RELIGIOUS_CHARITY =
|
|
473
|
+
T.let(
|
|
474
|
+
:religious_charity,
|
|
475
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
476
|
+
)
|
|
477
|
+
RENTAL_SERVICES =
|
|
478
|
+
T.let(
|
|
479
|
+
:rental_services,
|
|
480
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
481
|
+
)
|
|
482
|
+
RETAIL_CLOTHING =
|
|
483
|
+
T.let(
|
|
484
|
+
:retail_clothing,
|
|
485
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
486
|
+
)
|
|
487
|
+
RETAIL_ELECTRONICS =
|
|
488
|
+
T.let(
|
|
489
|
+
:retail_electronics,
|
|
490
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
491
|
+
)
|
|
492
|
+
RETAIL_FOOD =
|
|
493
|
+
T.let(
|
|
494
|
+
:retail_food,
|
|
495
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
496
|
+
)
|
|
497
|
+
RETAIL_FURNISHING =
|
|
498
|
+
T.let(
|
|
499
|
+
:retail_furnishing,
|
|
500
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
501
|
+
)
|
|
502
|
+
RETAIL_HOME =
|
|
503
|
+
T.let(
|
|
504
|
+
:retail_home,
|
|
505
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
506
|
+
)
|
|
507
|
+
RETAIL_NON_STORE =
|
|
508
|
+
T.let(
|
|
509
|
+
:retail_non_store,
|
|
510
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
511
|
+
)
|
|
512
|
+
RETAIL_SPORTING =
|
|
513
|
+
T.let(
|
|
514
|
+
:retail_sporting,
|
|
515
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
516
|
+
)
|
|
517
|
+
TRANSPORTATION =
|
|
518
|
+
T.let(
|
|
519
|
+
:transportation,
|
|
520
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
521
|
+
)
|
|
522
|
+
TRAVEL =
|
|
523
|
+
T.let(
|
|
524
|
+
:travel,
|
|
525
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
526
|
+
)
|
|
527
|
+
UTILITIES =
|
|
528
|
+
T.let(
|
|
529
|
+
:utilities,
|
|
530
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
531
|
+
)
|
|
532
|
+
|
|
533
|
+
sig do
|
|
534
|
+
override.returns(
|
|
535
|
+
T::Array[
|
|
536
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Industry::TaggedSymbol
|
|
537
|
+
]
|
|
538
|
+
)
|
|
539
|
+
end
|
|
540
|
+
def self.values
|
|
541
|
+
end
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
# The occupation of the individual.
|
|
545
|
+
module Occupation
|
|
546
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
547
|
+
|
|
548
|
+
TaggedSymbol =
|
|
549
|
+
T.type_alias do
|
|
550
|
+
T.all(
|
|
551
|
+
Symbol,
|
|
552
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation
|
|
553
|
+
)
|
|
554
|
+
end
|
|
555
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
556
|
+
|
|
557
|
+
CONSULTING =
|
|
558
|
+
T.let(
|
|
559
|
+
:consulting,
|
|
560
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
561
|
+
)
|
|
562
|
+
EXECUTIVE =
|
|
563
|
+
T.let(
|
|
564
|
+
:executive,
|
|
565
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
566
|
+
)
|
|
567
|
+
FINANCE_ACCOUNTING =
|
|
568
|
+
T.let(
|
|
569
|
+
:finance_accounting,
|
|
570
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
571
|
+
)
|
|
572
|
+
FOOD_SERVICES =
|
|
573
|
+
T.let(
|
|
574
|
+
:food_services,
|
|
575
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
576
|
+
)
|
|
577
|
+
GOVERNMENT =
|
|
578
|
+
T.let(
|
|
579
|
+
:government,
|
|
580
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
581
|
+
)
|
|
582
|
+
HEALTHCARE =
|
|
583
|
+
T.let(
|
|
584
|
+
:healthcare,
|
|
585
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
586
|
+
)
|
|
587
|
+
LEGAL_SERVICES =
|
|
588
|
+
T.let(
|
|
589
|
+
:legal_services,
|
|
590
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
591
|
+
)
|
|
592
|
+
MANUFACTURING =
|
|
593
|
+
T.let(
|
|
594
|
+
:manufacturing,
|
|
595
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
596
|
+
)
|
|
597
|
+
OTHER =
|
|
598
|
+
T.let(
|
|
599
|
+
:other,
|
|
600
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
601
|
+
)
|
|
602
|
+
SALES =
|
|
603
|
+
T.let(
|
|
604
|
+
:sales,
|
|
605
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
606
|
+
)
|
|
607
|
+
SCIENCE_ENGINEERING =
|
|
608
|
+
T.let(
|
|
609
|
+
:science_engineering,
|
|
610
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
611
|
+
)
|
|
612
|
+
TECHNOLOGY =
|
|
613
|
+
T.let(
|
|
614
|
+
:technology,
|
|
615
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
616
|
+
)
|
|
617
|
+
|
|
618
|
+
sig do
|
|
619
|
+
override.returns(
|
|
620
|
+
T::Array[
|
|
621
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation::TaggedSymbol
|
|
622
|
+
]
|
|
623
|
+
)
|
|
624
|
+
end
|
|
625
|
+
def self.values
|
|
626
|
+
end
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
# The source of the individual's funds.
|
|
630
|
+
module SourceOfFunds
|
|
631
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
632
|
+
|
|
633
|
+
TaggedSymbol =
|
|
634
|
+
T.type_alias do
|
|
635
|
+
T.all(
|
|
636
|
+
Symbol,
|
|
637
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds
|
|
638
|
+
)
|
|
639
|
+
end
|
|
640
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
641
|
+
|
|
642
|
+
ALIMONY =
|
|
643
|
+
T.let(
|
|
644
|
+
:alimony,
|
|
645
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
646
|
+
)
|
|
647
|
+
ANNUITY =
|
|
648
|
+
T.let(
|
|
649
|
+
:annuity,
|
|
650
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
651
|
+
)
|
|
652
|
+
BUSINESS_OWNER =
|
|
653
|
+
T.let(
|
|
654
|
+
:business_owner,
|
|
655
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
656
|
+
)
|
|
657
|
+
GENERAL_EMPLOYEE =
|
|
658
|
+
T.let(
|
|
659
|
+
:general_employee,
|
|
660
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
661
|
+
)
|
|
662
|
+
GOVERNMENT_BENEFITS =
|
|
663
|
+
T.let(
|
|
664
|
+
:government_benefits,
|
|
665
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
666
|
+
)
|
|
667
|
+
HOMEMAKER =
|
|
668
|
+
T.let(
|
|
669
|
+
:homemaker,
|
|
670
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
671
|
+
)
|
|
672
|
+
INHERITANCE_GIFT =
|
|
673
|
+
T.let(
|
|
674
|
+
:inheritance_gift,
|
|
675
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
676
|
+
)
|
|
677
|
+
INVESTMENT =
|
|
678
|
+
T.let(
|
|
679
|
+
:investment,
|
|
680
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
681
|
+
)
|
|
682
|
+
LEGAL_SETTLEMENT =
|
|
683
|
+
T.let(
|
|
684
|
+
:legal_settlement,
|
|
685
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
686
|
+
)
|
|
687
|
+
LOTTERY =
|
|
688
|
+
T.let(
|
|
689
|
+
:lottery,
|
|
690
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
691
|
+
)
|
|
692
|
+
REAL_ESTATE =
|
|
693
|
+
T.let(
|
|
694
|
+
:real_estate,
|
|
695
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
696
|
+
)
|
|
697
|
+
RETIRED =
|
|
698
|
+
T.let(
|
|
699
|
+
:retired,
|
|
700
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
701
|
+
)
|
|
702
|
+
RETIREMENT =
|
|
703
|
+
T.let(
|
|
704
|
+
:retirement,
|
|
705
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
706
|
+
)
|
|
707
|
+
SALARY =
|
|
708
|
+
T.let(
|
|
709
|
+
:salary,
|
|
710
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
711
|
+
)
|
|
712
|
+
SELF_EMPLOYED =
|
|
713
|
+
T.let(
|
|
714
|
+
:self_employed,
|
|
715
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
716
|
+
)
|
|
717
|
+
SENIOR_EXECUTIVE =
|
|
718
|
+
T.let(
|
|
719
|
+
:senior_executive,
|
|
720
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
721
|
+
)
|
|
722
|
+
TRUST_INCOME =
|
|
723
|
+
T.let(
|
|
724
|
+
:trust_income,
|
|
725
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
726
|
+
)
|
|
727
|
+
|
|
728
|
+
sig do
|
|
729
|
+
override.returns(
|
|
730
|
+
T::Array[
|
|
731
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds::TaggedSymbol
|
|
732
|
+
]
|
|
733
|
+
)
|
|
734
|
+
end
|
|
735
|
+
def self.values
|
|
736
|
+
end
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
# The source of the individual's wealth.
|
|
740
|
+
module WealthSource
|
|
741
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
742
|
+
|
|
743
|
+
TaggedSymbol =
|
|
744
|
+
T.type_alias do
|
|
745
|
+
T.all(
|
|
746
|
+
Symbol,
|
|
747
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource
|
|
748
|
+
)
|
|
749
|
+
end
|
|
750
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
751
|
+
|
|
752
|
+
BUSINESS_SALE =
|
|
753
|
+
T.let(
|
|
754
|
+
:business_sale,
|
|
755
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
756
|
+
)
|
|
757
|
+
FAMILY_SUPPORT =
|
|
758
|
+
T.let(
|
|
759
|
+
:family_support,
|
|
760
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
761
|
+
)
|
|
762
|
+
GOVERNMENT_BENEFITS =
|
|
763
|
+
T.let(
|
|
764
|
+
:government_benefits,
|
|
765
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
766
|
+
)
|
|
767
|
+
INHERITANCE =
|
|
768
|
+
T.let(
|
|
769
|
+
:inheritance,
|
|
770
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
771
|
+
)
|
|
772
|
+
INVESTMENTS =
|
|
773
|
+
T.let(
|
|
774
|
+
:investments,
|
|
775
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
776
|
+
)
|
|
777
|
+
OTHER =
|
|
778
|
+
T.let(
|
|
779
|
+
:other,
|
|
780
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
781
|
+
)
|
|
782
|
+
RENTAL_INCOME =
|
|
783
|
+
T.let(
|
|
784
|
+
:rental_income,
|
|
785
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
786
|
+
)
|
|
787
|
+
RETIREMENT =
|
|
788
|
+
T.let(
|
|
789
|
+
:retirement,
|
|
790
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
791
|
+
)
|
|
792
|
+
SALARY =
|
|
793
|
+
T.let(
|
|
794
|
+
:salary,
|
|
795
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
796
|
+
)
|
|
797
|
+
SELF_EMPLOYED =
|
|
798
|
+
T.let(
|
|
799
|
+
:self_employed,
|
|
800
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
801
|
+
)
|
|
802
|
+
|
|
803
|
+
sig do
|
|
804
|
+
override.returns(
|
|
805
|
+
T::Array[
|
|
806
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource::TaggedSymbol
|
|
807
|
+
]
|
|
808
|
+
)
|
|
809
|
+
end
|
|
810
|
+
def self.values
|
|
811
|
+
end
|
|
812
|
+
end
|
|
813
|
+
end
|
|
814
|
+
end
|
|
815
|
+
end
|