finch-api 0.1.0.pre.alpha.49 → 0.1.0.pre.alpha.51

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/finch_api/models/connect/session_new_params.rb +3 -0
  5. data/lib/finch_api/models/connect/session_reauthenticate_params.rb +3 -0
  6. data/lib/finch_api/models/hris/employment_data.rb +36 -1
  7. data/lib/finch_api/models/hris/individual.rb +30 -1
  8. data/lib/finch_api/models/sandbox/directory_create_params.rb +65 -1
  9. data/lib/finch_api/models/sandbox/employment_update_params.rb +36 -1
  10. data/lib/finch_api/models/sandbox/employment_update_response.rb +36 -1
  11. data/lib/finch_api/models/sandbox/individual_update_params.rb +28 -1
  12. data/lib/finch_api/models/sandbox/individual_update_response.rb +30 -1
  13. data/lib/finch_api/resources/sandbox/employment.rb +9 -1
  14. data/lib/finch_api/resources/sandbox/individual.rb +3 -1
  15. data/lib/finch_api/version.rb +1 -1
  16. data/rbi/finch_api/models/connect/session_new_params.rbi +15 -0
  17. data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +15 -0
  18. data/rbi/finch_api/models/hris/employment_data.rbi +38 -0
  19. data/rbi/finch_api/models/hris/individual.rbi +78 -0
  20. data/rbi/finch_api/models/sandbox/directory_create_params.rbi +119 -3
  21. data/rbi/finch_api/models/sandbox/employment_update_params.rbi +38 -0
  22. data/rbi/finch_api/models/sandbox/employment_update_response.rbi +41 -3
  23. data/rbi/finch_api/models/sandbox/individual_update_params.rbi +78 -0
  24. data/rbi/finch_api/models/sandbox/individual_update_response.rbi +78 -0
  25. data/rbi/finch_api/resources/sandbox/employment.rbi +15 -0
  26. data/rbi/finch_api/resources/sandbox/individual.rbi +7 -0
  27. data/sig/finch_api/models/connect/session_new_params.rbs +6 -0
  28. data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +6 -0
  29. data/sig/finch_api/models/hris/employment_data.rbs +20 -0
  30. data/sig/finch_api/models/hris/individual.rbs +26 -0
  31. data/sig/finch_api/models/sandbox/directory_create_params.rbs +49 -3
  32. data/sig/finch_api/models/sandbox/employment_update_params.rbs +21 -1
  33. data/sig/finch_api/models/sandbox/employment_update_response.rbs +23 -3
  34. data/sig/finch_api/models/sandbox/individual_update_params.rbs +26 -0
  35. data/sig/finch_api/models/sandbox/individual_update_response.rbs +26 -0
  36. data/sig/finch_api/resources/sandbox/employment.rbs +4 -0
  37. data/sig/finch_api/resources/sandbox/individual.rbs +1 -0
  38. metadata +2 -2
@@ -105,6 +105,11 @@ module FinchAPI
105
105
  end
106
106
  attr_accessor :flsa_status
107
107
 
108
+ # IRS flag indicating whether the employee is classified as a Highly Compensated
109
+ # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only.
110
+ sig { returns(T.nilable(T::Boolean)) }
111
+ attr_accessor :highly_compensated_employee
112
+
108
113
  # The employee's income as reported by the provider. This may not always be
109
114
  # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc,
110
115
  # depending on what information the provider returns.
@@ -122,6 +127,11 @@ module FinchAPI
122
127
  sig { returns(T.nilable(T::Boolean)) }
123
128
  attr_accessor :is_active
124
129
 
130
+ # IRS flag indicating whether the employee is classified as a Key Employee for
131
+ # top-heavy testing purposes. US-only.
132
+ sig { returns(T.nilable(T::Boolean)) }
133
+ attr_accessor :key_employee
134
+
125
135
  # The legal last name of the individual.
126
136
  sig { returns(T.nilable(String)) }
127
137
  attr_accessor :last_name
@@ -170,6 +180,15 @@ module FinchAPI
170
180
  sig { returns(T.nilable(String)) }
171
181
  attr_accessor :title
172
182
 
183
+ # The code identifying the union the employee is a member of, as configured in the
184
+ # payroll system.
185
+ sig { returns(T.nilable(String)) }
186
+ attr_accessor :union_code
187
+
188
+ # The local chapter or local number within the employee's union.
189
+ sig { returns(T.nilable(String)) }
190
+ attr_accessor :union_local
191
+
173
192
  sig do
174
193
  params(
175
194
  id: String,
@@ -198,10 +217,12 @@ module FinchAPI
198
217
  T.nilable(
199
218
  FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus::OrSymbol
200
219
  ),
220
+ highly_compensated_employee: T.nilable(T::Boolean),
201
221
  income: T.nilable(FinchAPI::Income::OrHash),
202
222
  income_history:
203
223
  T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]),
204
224
  is_active: T.nilable(T::Boolean),
225
+ key_employee: T.nilable(T::Boolean),
205
226
  last_name: T.nilable(String),
206
227
  latest_rehire_date: T.nilable(String),
207
228
  location: T.nilable(FinchAPI::Location::OrHash),
@@ -212,7 +233,9 @@ module FinchAPI
212
233
  middle_name: T.nilable(String),
213
234
  source_id: T.nilable(String),
214
235
  start_date: T.nilable(String),
215
- title: T.nilable(String)
236
+ title: T.nilable(String),
237
+ union_code: T.nilable(String),
238
+ union_local: T.nilable(String)
216
239
  ).returns(T.attached_class)
217
240
  end
218
241
  def self.new(
@@ -236,6 +259,9 @@ module FinchAPI
236
259
  # The FLSA status of the individual. Available options: `exempt`, `non_exempt`,
237
260
  # `unknown`.
238
261
  flsa_status: nil,
262
+ # IRS flag indicating whether the employee is classified as a Highly Compensated
263
+ # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only.
264
+ highly_compensated_employee: nil,
239
265
  # The employee's income as reported by the provider. This may not always be
240
266
  # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc,
241
267
  # depending on what information the provider returns.
@@ -244,6 +270,9 @@ module FinchAPI
244
270
  income_history: nil,
245
271
  # `true` if the individual an an active employee or contractor at the company.
246
272
  is_active: nil,
273
+ # IRS flag indicating whether the employee is classified as a Key Employee for
274
+ # top-heavy testing purposes. US-only.
275
+ key_employee: nil,
247
276
  # The legal last name of the individual.
248
277
  last_name: nil,
249
278
  latest_rehire_date: nil,
@@ -256,7 +285,12 @@ module FinchAPI
256
285
  source_id: nil,
257
286
  start_date: nil,
258
287
  # The current title of the individual.
259
- title: nil
288
+ title: nil,
289
+ # The code identifying the union the employee is a member of, as configured in the
290
+ # payroll system.
291
+ union_code: nil,
292
+ # The local chapter or local number within the employee's union.
293
+ union_local: nil
260
294
  )
261
295
  end
262
296
 
@@ -289,9 +323,11 @@ module FinchAPI
289
323
  T.nilable(
290
324
  FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus::TaggedSymbol
291
325
  ),
326
+ highly_compensated_employee: T.nilable(T::Boolean),
292
327
  income: T.nilable(FinchAPI::Income),
293
328
  income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income)]),
294
329
  is_active: T.nilable(T::Boolean),
330
+ key_employee: T.nilable(T::Boolean),
295
331
  last_name: T.nilable(String),
296
332
  latest_rehire_date: T.nilable(String),
297
333
  location: T.nilable(FinchAPI::Location),
@@ -302,7 +338,9 @@ module FinchAPI
302
338
  middle_name: T.nilable(String),
303
339
  source_id: T.nilable(String),
304
340
  start_date: T.nilable(String),
305
- title: T.nilable(String)
341
+ title: T.nilable(String),
342
+ union_code: T.nilable(String),
343
+ union_local: T.nilable(String)
306
344
  }
307
345
  )
308
346
  end
@@ -64,6 +64,17 @@ module FinchAPI
64
64
  sig { returns(T.nilable(String)) }
65
65
  attr_accessor :last_name
66
66
 
67
+ # The employee's marital status, used for beneficiary designation and spousal
68
+ # consent workflows.
69
+ sig do
70
+ returns(
71
+ T.nilable(
72
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol
73
+ )
74
+ )
75
+ end
76
+ attr_accessor :marital_status
77
+
67
78
  # The legal middle name of the individual.
68
79
  sig { returns(T.nilable(String)) }
69
80
  attr_accessor :middle_name
@@ -119,6 +130,10 @@ module FinchAPI
119
130
  FinchAPI::Sandbox::IndividualUpdateParams::Gender::OrSymbol
120
131
  ),
121
132
  last_name: T.nilable(String),
133
+ marital_status:
134
+ T.nilable(
135
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol
136
+ ),
122
137
  middle_name: T.nilable(String),
123
138
  phone_numbers:
124
139
  T.nilable(
@@ -150,6 +165,9 @@ module FinchAPI
150
165
  gender: nil,
151
166
  # The legal last name of the individual.
152
167
  last_name: nil,
168
+ # The employee's marital status, used for beneficiary designation and spousal
169
+ # consent workflows.
170
+ marital_status: nil,
153
171
  # The legal middle name of the individual.
154
172
  middle_name: nil,
155
173
  phone_numbers: nil,
@@ -185,6 +203,10 @@ module FinchAPI
185
203
  FinchAPI::Sandbox::IndividualUpdateParams::Gender::OrSymbol
186
204
  ),
187
205
  last_name: T.nilable(String),
206
+ marital_status:
207
+ T.nilable(
208
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol
209
+ ),
188
210
  middle_name: T.nilable(String),
189
211
  phone_numbers:
190
212
  T.nilable(
@@ -396,6 +418,62 @@ module FinchAPI
396
418
  end
397
419
  end
398
420
 
421
+ # The employee's marital status, used for beneficiary designation and spousal
422
+ # consent workflows.
423
+ module MaritalStatus
424
+ extend FinchAPI::Internal::Type::Enum
425
+
426
+ TaggedSymbol =
427
+ T.type_alias do
428
+ T.all(
429
+ Symbol,
430
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus
431
+ )
432
+ end
433
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
434
+
435
+ SINGLE =
436
+ T.let(
437
+ :single,
438
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
439
+ )
440
+ MARRIED =
441
+ T.let(
442
+ :married,
443
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
444
+ )
445
+ DIVORCED =
446
+ T.let(
447
+ :divorced,
448
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
449
+ )
450
+ WIDOWED =
451
+ T.let(
452
+ :widowed,
453
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
454
+ )
455
+ DOMESTIC_PARTNER =
456
+ T.let(
457
+ :domestic_partner,
458
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
459
+ )
460
+ UNKNOWN =
461
+ T.let(
462
+ :unknown,
463
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
464
+ )
465
+
466
+ sig do
467
+ override.returns(
468
+ T::Array[
469
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol
470
+ ]
471
+ )
472
+ end
473
+ def self.values
474
+ end
475
+ end
476
+
399
477
  class PhoneNumber < FinchAPI::Internal::Type::BaseModel
400
478
  OrHash =
401
479
  T.type_alias do
@@ -67,6 +67,17 @@ module FinchAPI
67
67
  sig { returns(T.nilable(String)) }
68
68
  attr_accessor :last_name
69
69
 
70
+ # The employee's marital status, used for beneficiary designation and spousal
71
+ # consent workflows.
72
+ sig do
73
+ returns(
74
+ T.nilable(
75
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
76
+ )
77
+ )
78
+ end
79
+ attr_accessor :marital_status
80
+
70
81
  # The legal middle name of the individual.
71
82
  sig { returns(T.nilable(String)) }
72
83
  attr_accessor :middle_name
@@ -122,6 +133,10 @@ module FinchAPI
122
133
  FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender::OrSymbol
123
134
  ),
124
135
  last_name: T.nilable(String),
136
+ marital_status:
137
+ T.nilable(
138
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::OrSymbol
139
+ ),
125
140
  middle_name: T.nilable(String),
126
141
  phone_numbers:
127
142
  T.nilable(
@@ -153,6 +168,9 @@ module FinchAPI
153
168
  gender: nil,
154
169
  # The legal last name of the individual.
155
170
  last_name: nil,
171
+ # The employee's marital status, used for beneficiary designation and spousal
172
+ # consent workflows.
173
+ marital_status: nil,
156
174
  # The legal middle name of the individual.
157
175
  middle_name: nil,
158
176
  phone_numbers: nil,
@@ -189,6 +207,10 @@ module FinchAPI
189
207
  FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender::TaggedSymbol
190
208
  ),
191
209
  last_name: T.nilable(String),
210
+ marital_status:
211
+ T.nilable(
212
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
213
+ ),
192
214
  middle_name: T.nilable(String),
193
215
  phone_numbers:
194
216
  T.nilable(
@@ -402,6 +424,62 @@ module FinchAPI
402
424
  end
403
425
  end
404
426
 
427
+ # The employee's marital status, used for beneficiary designation and spousal
428
+ # consent workflows.
429
+ module MaritalStatus
430
+ extend FinchAPI::Internal::Type::Enum
431
+
432
+ TaggedSymbol =
433
+ T.type_alias do
434
+ T.all(
435
+ Symbol,
436
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus
437
+ )
438
+ end
439
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
440
+
441
+ SINGLE =
442
+ T.let(
443
+ :single,
444
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
445
+ )
446
+ MARRIED =
447
+ T.let(
448
+ :married,
449
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
450
+ )
451
+ DIVORCED =
452
+ T.let(
453
+ :divorced,
454
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
455
+ )
456
+ WIDOWED =
457
+ T.let(
458
+ :widowed,
459
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
460
+ )
461
+ DOMESTIC_PARTNER =
462
+ T.let(
463
+ :domestic_partner,
464
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
465
+ )
466
+ UNKNOWN =
467
+ T.let(
468
+ :unknown,
469
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
470
+ )
471
+
472
+ sig do
473
+ override.returns(
474
+ T::Array[
475
+ FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol
476
+ ]
477
+ )
478
+ end
479
+ def self.values
480
+ end
481
+ end
482
+
405
483
  class PhoneNumber < FinchAPI::Internal::Type::BaseModel
406
484
  OrHash =
407
485
  T.type_alias do
@@ -33,10 +33,12 @@ module FinchAPI
33
33
  T.nilable(
34
34
  FinchAPI::Sandbox::EmploymentUpdateParams::FlsaStatus::OrSymbol
35
35
  ),
36
+ highly_compensated_employee: T.nilable(T::Boolean),
36
37
  income: T.nilable(FinchAPI::Income::OrHash),
37
38
  income_history:
38
39
  T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]),
39
40
  is_active: T.nilable(T::Boolean),
41
+ key_employee: T.nilable(T::Boolean),
40
42
  last_name: T.nilable(String),
41
43
  latest_rehire_date: T.nilable(String),
42
44
  location: T.nilable(FinchAPI::Location::OrHash),
@@ -48,6 +50,8 @@ module FinchAPI
48
50
  source_id: T.nilable(String),
49
51
  start_date: T.nilable(String),
50
52
  title: T.nilable(String),
53
+ union_code: T.nilable(String),
54
+ union_local: T.nilable(String),
51
55
  request_options: FinchAPI::RequestOptions::OrHash
52
56
  ).returns(FinchAPI::Models::Sandbox::EmploymentUpdateResponse)
53
57
  end
@@ -71,6 +75,9 @@ module FinchAPI
71
75
  # The FLSA status of the individual. Available options: `exempt`, `non_exempt`,
72
76
  # `unknown`.
73
77
  flsa_status: nil,
78
+ # IRS flag indicating whether the employee is classified as a Highly Compensated
79
+ # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only.
80
+ highly_compensated_employee: nil,
74
81
  # The employee's income as reported by the provider. This may not always be
75
82
  # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc,
76
83
  # depending on what information the provider returns.
@@ -79,6 +86,9 @@ module FinchAPI
79
86
  income_history: nil,
80
87
  # `true` if the individual an an active employee or contractor at the company.
81
88
  is_active: nil,
89
+ # IRS flag indicating whether the employee is classified as a Key Employee for
90
+ # top-heavy testing purposes. US-only.
91
+ key_employee: nil,
82
92
  # The legal last name of the individual.
83
93
  last_name: nil,
84
94
  latest_rehire_date: nil,
@@ -92,6 +102,11 @@ module FinchAPI
92
102
  start_date: nil,
93
103
  # The current title of the individual.
94
104
  title: nil,
105
+ # The code identifying the union the employee is a member of, as configured in the
106
+ # payroll system.
107
+ union_code: nil,
108
+ # The local chapter or local number within the employee's union.
109
+ union_local: nil,
95
110
  request_options: {}
96
111
  )
97
112
  end
@@ -26,6 +26,10 @@ module FinchAPI
26
26
  FinchAPI::Sandbox::IndividualUpdateParams::Gender::OrSymbol
27
27
  ),
28
28
  last_name: T.nilable(String),
29
+ marital_status:
30
+ T.nilable(
31
+ FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol
32
+ ),
29
33
  middle_name: T.nilable(String),
30
34
  phone_numbers:
31
35
  T.nilable(
@@ -57,6 +61,9 @@ module FinchAPI
57
61
  gender: nil,
58
62
  # The legal last name of the individual.
59
63
  last_name: nil,
64
+ # The employee's marital status, used for beneficiary designation and spousal
65
+ # consent workflows.
66
+ marital_status: nil,
60
67
  # The legal middle name of the individual.
61
68
  middle_name: nil,
62
69
  phone_numbers: nil,
@@ -73,6 +73,9 @@ module FinchAPI
73
73
  | :individual
74
74
  | :payment
75
75
  | :pay_statement
76
+ | :plans
77
+ | :plans_dependents
78
+ | :plans_enrollments
76
79
  | :recordkeeping
77
80
  | :ssn
78
81
 
@@ -88,6 +91,9 @@ module FinchAPI
88
91
  INDIVIDUAL: :individual
89
92
  PAYMENT: :payment
90
93
  PAY_STATEMENT: :pay_statement
94
+ PLANS: :plans
95
+ PLANS_DEPENDENTS: :plans_dependents
96
+ PLANS_ENROLLMENTS: :plans_enrollments
91
97
  RECORDKEEPING: :recordkeeping
92
98
  SSN: :ssn
93
99
 
@@ -50,6 +50,9 @@ module FinchAPI
50
50
  | :individual
51
51
  | :payment
52
52
  | :pay_statement
53
+ | :plans
54
+ | :plans_dependents
55
+ | :plans_enrollments
53
56
  | :recordkeeping
54
57
  | :ssn
55
58
 
@@ -65,6 +68,9 @@ module FinchAPI
65
68
  INDIVIDUAL: :individual
66
69
  PAYMENT: :payment
67
70
  PAY_STATEMENT: :pay_statement
71
+ PLANS: :plans
72
+ PLANS_DEPENDENTS: :plans_dependents
73
+ PLANS_ENROLLMENTS: :plans_enrollments
68
74
  RECORDKEEPING: :recordkeeping
69
75
  SSN: :ssn
70
76
 
@@ -18,7 +18,9 @@ module FinchAPI
18
18
  end_date: String?,
19
19
  first_name: String?,
20
20
  flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?,
21
+ highly_compensated_employee: bool?,
21
22
  is_active: bool?,
23
+ key_employee: bool?,
22
24
  last_name: String?,
23
25
  latest_rehire_date: String?,
24
26
  location: FinchAPI::Location?,
@@ -26,6 +28,8 @@ module FinchAPI
26
28
  middle_name: String?,
27
29
  start_date: String?,
28
30
  title: String?,
31
+ union_code: String?,
32
+ union_local: String?,
29
33
  custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?,
30
34
  income: FinchAPI::Income?,
31
35
  income_history: ::Array[FinchAPI::Income?]?,
@@ -50,8 +54,12 @@ module FinchAPI
50
54
 
51
55
  attr_accessor flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?
52
56
 
57
+ attr_accessor highly_compensated_employee: bool?
58
+
53
59
  attr_accessor is_active: bool?
54
60
 
61
+ attr_accessor key_employee: bool?
62
+
55
63
  attr_accessor last_name: String?
56
64
 
57
65
  attr_accessor latest_rehire_date: String?
@@ -66,6 +74,10 @@ module FinchAPI
66
74
 
67
75
  attr_accessor title: String?
68
76
 
77
+ attr_accessor union_code: String?
78
+
79
+ attr_accessor union_local: String?
80
+
69
81
  attr_accessor custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?
70
82
 
71
83
  attr_accessor income: FinchAPI::Income?
@@ -85,7 +97,9 @@ module FinchAPI
85
97
  end_date: String?,
86
98
  first_name: String?,
87
99
  flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?,
100
+ highly_compensated_employee: bool?,
88
101
  is_active: bool?,
102
+ key_employee: bool?,
89
103
  last_name: String?,
90
104
  latest_rehire_date: String?,
91
105
  location: FinchAPI::Location?,
@@ -93,6 +107,8 @@ module FinchAPI
93
107
  middle_name: String?,
94
108
  start_date: String?,
95
109
  title: String?,
110
+ union_code: String?,
111
+ union_local: String?,
96
112
  ?custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?,
97
113
  ?income: FinchAPI::Income?,
98
114
  ?income_history: ::Array[FinchAPI::Income?]?,
@@ -109,7 +125,9 @@ module FinchAPI
109
125
  end_date: String?,
110
126
  first_name: String?,
111
127
  flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?,
128
+ highly_compensated_employee: bool?,
112
129
  is_active: bool?,
130
+ key_employee: bool?,
113
131
  last_name: String?,
114
132
  latest_rehire_date: String?,
115
133
  location: FinchAPI::Location?,
@@ -117,6 +135,8 @@ module FinchAPI
117
135
  middle_name: String?,
118
136
  start_date: String?,
119
137
  title: String?,
138
+ union_code: String?,
139
+ union_local: String?,
120
140
  custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?,
121
141
  income: FinchAPI::Income?,
122
142
  income_history: ::Array[FinchAPI::Income?]?,
@@ -16,6 +16,7 @@ module FinchAPI
16
16
  first_name: String?,
17
17
  gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?,
18
18
  last_name: String?,
19
+ marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?,
19
20
  middle_name: String?,
20
21
  phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?,
21
22
  preferred_name: String?,
@@ -38,6 +39,8 @@ module FinchAPI
38
39
 
39
40
  attr_accessor last_name: String?
40
41
 
42
+ attr_accessor marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?
43
+
41
44
  attr_accessor middle_name: String?
42
45
 
43
46
  attr_accessor phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?
@@ -59,6 +62,7 @@ module FinchAPI
59
62
  first_name: String?,
60
63
  gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?,
61
64
  last_name: String?,
65
+ marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?,
62
66
  middle_name: String?,
63
67
  phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?,
64
68
  preferred_name: String?,
@@ -75,6 +79,7 @@ module FinchAPI
75
79
  first_name: String?,
76
80
  gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?,
77
81
  last_name: String?,
82
+ marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?,
78
83
  middle_name: String?,
79
84
  phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?,
80
85
  preferred_name: String?,
@@ -122,6 +127,27 @@ module FinchAPI
122
127
  def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender]
123
128
  end
124
129
 
130
+ type marital_status =
131
+ :single
132
+ | :married
133
+ | :divorced
134
+ | :widowed
135
+ | :domestic_partner
136
+ | :unknown
137
+
138
+ module MaritalStatus
139
+ extend FinchAPI::Internal::Type::Enum
140
+
141
+ SINGLE: :single
142
+ MARRIED: :married
143
+ DIVORCED: :divorced
144
+ WIDOWED: :widowed
145
+ DOMESTIC_PARTNER: :domestic_partner
146
+ UNKNOWN: :unknown
147
+
148
+ def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status]
149
+ end
150
+
125
151
  type phone_number =
126
152
  {
127
153
  data: String?,