finch-api 0.1.0.pre.alpha.58 → 0.1.0.pre.alpha.60
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 +24 -0
- data/README.md +1 -1
- data/lib/finch_api/models/account_update_event.rb +328 -8
- data/lib/finch_api/models/hris/employment_data.rb +11 -1
- data/lib/finch_api/models/hris/individual.rb +9 -1
- data/lib/finch_api/models/provider.rb +1371 -4
- data/lib/finch_api/models/provider_list_response.rb +1387 -4
- data/lib/finch_api/models/sandbox/directory_create_params.rb +20 -2
- data/lib/finch_api/models/sandbox/employment_update_params.rb +11 -1
- data/lib/finch_api/models/sandbox/employment_update_response.rb +11 -1
- data/lib/finch_api/models/sandbox/individual_update_params.rb +9 -1
- data/lib/finch_api/models/sandbox/individual_update_response.rb +9 -1
- data/lib/finch_api/resources/sandbox/employment.rb +3 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/account_update_event.rbi +738 -15
- data/rbi/finch_api/models/hris/employment_data.rbi +12 -0
- data/rbi/finch_api/models/hris/individual.rbi +10 -1
- data/rbi/finch_api/models/provider.rbi +3137 -6
- data/rbi/finch_api/models/provider_list_response.rbi +3139 -6
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +22 -1
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +12 -0
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +12 -0
- data/rbi/finch_api/models/sandbox/individual_update_params.rbi +10 -1
- data/rbi/finch_api/models/sandbox/individual_update_response.rbi +10 -1
- data/rbi/finch_api/resources/sandbox/employment.rbi +5 -0
- data/sig/finch_api/models/account_update_event.rbs +405 -17
- data/sig/finch_api/models/hris/employment_data.rbs +5 -0
- data/sig/finch_api/models/provider.rbs +1722 -6
- data/sig/finch_api/models/provider_list_response.rbs +1722 -6
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +5 -0
- data/sig/finch_api/resources/sandbox/employment.rbs +1 -0
- metadata +2 -2
|
@@ -24,6 +24,14 @@ module FinchAPI
|
|
|
24
24
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
25
25
|
|
|
26
26
|
class Body < FinchAPI::Internal::Type::BaseModel
|
|
27
|
+
# @!attribute benefit_eligibility_class
|
|
28
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
29
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
30
|
+
# configured.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :benefit_eligibility_class, String, nil?: true
|
|
34
|
+
|
|
27
35
|
# @!attribute class_code
|
|
28
36
|
# Worker's compensation classification code for this employee
|
|
29
37
|
#
|
|
@@ -255,10 +263,12 @@ module FinchAPI
|
|
|
255
263
|
# @return [String, nil]
|
|
256
264
|
optional :union_local, String, nil?: true
|
|
257
265
|
|
|
258
|
-
# @!method initialize(class_code: nil, custom_fields: nil, department: nil, dob: nil, emails: nil, employment: nil, employment_status: nil, encrypted_ssn: nil, end_date: nil, ethnicity: nil, first_name: nil, flsa_status: nil, gender: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, marital_status: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, source_id: nil, ssn: nil, start_date: nil, title: nil, union_code: nil, union_local: nil)
|
|
266
|
+
# @!method initialize(benefit_eligibility_class: nil, class_code: nil, custom_fields: nil, department: nil, dob: nil, emails: nil, employment: nil, employment_status: nil, encrypted_ssn: nil, end_date: nil, ethnicity: nil, first_name: nil, flsa_status: nil, gender: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, marital_status: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, source_id: nil, ssn: nil, start_date: nil, title: nil, union_code: nil, union_local: nil)
|
|
259
267
|
# Some parameter documentations has been truncated, see
|
|
260
268
|
# {FinchAPI::Models::Sandbox::DirectoryCreateParams::Body} for more details.
|
|
261
269
|
#
|
|
270
|
+
# @param benefit_eligibility_class [String, nil] The employer defined benefit eligibility class that groups an employee into a se
|
|
271
|
+
#
|
|
262
272
|
# @param class_code [String, nil] Worker's compensation classification code for this employee
|
|
263
273
|
#
|
|
264
274
|
# @param custom_fields [Array<FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::CustomField>, nil] Custom fields for the individual. These are fields which are defined by the empl
|
|
@@ -574,6 +584,9 @@ module FinchAPI
|
|
|
574
584
|
|
|
575
585
|
class PhoneNumber < FinchAPI::Internal::Type::BaseModel
|
|
576
586
|
# @!attribute data
|
|
587
|
+
# The phone number. Format: E.164, with extension where applicable, e.g.
|
|
588
|
+
# `+NNNNNNNNNNN xExtension`. If the number cannot be parsed, the raw value from
|
|
589
|
+
# the provider is returned.
|
|
577
590
|
#
|
|
578
591
|
# @return [String, nil]
|
|
579
592
|
optional :data, String, nil?: true
|
|
@@ -588,7 +601,12 @@ module FinchAPI
|
|
|
588
601
|
nil?: true
|
|
589
602
|
|
|
590
603
|
# @!method initialize(data: nil, type: nil)
|
|
591
|
-
#
|
|
604
|
+
# Some parameter documentations has been truncated, see
|
|
605
|
+
# {FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber} for more
|
|
606
|
+
# details.
|
|
607
|
+
#
|
|
608
|
+
# @param data [String, nil] The phone number. Format: E.164, with extension where applicable, e.g. `+NNNNNNN
|
|
609
|
+
#
|
|
592
610
|
# @param type [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type, nil]
|
|
593
611
|
|
|
594
612
|
# @see FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber#type
|
|
@@ -13,6 +13,14 @@ module FinchAPI
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :individual_id, String
|
|
15
15
|
|
|
16
|
+
# @!attribute benefit_eligibility_class
|
|
17
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
18
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
19
|
+
# configured.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :benefit_eligibility_class, String, nil?: true
|
|
23
|
+
|
|
16
24
|
# @!attribute class_code
|
|
17
25
|
# Worker's compensation classification code for this employee
|
|
18
26
|
#
|
|
@@ -163,12 +171,14 @@ module FinchAPI
|
|
|
163
171
|
# @return [String, nil]
|
|
164
172
|
optional :union_local, String, nil?: true
|
|
165
173
|
|
|
166
|
-
# @!method initialize(individual_id:, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil, request_options: {})
|
|
174
|
+
# @!method initialize(individual_id:, benefit_eligibility_class: nil, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil, request_options: {})
|
|
167
175
|
# Some parameter documentations has been truncated, see
|
|
168
176
|
# {FinchAPI::Models::Sandbox::EmploymentUpdateParams} for more details.
|
|
169
177
|
#
|
|
170
178
|
# @param individual_id [String]
|
|
171
179
|
#
|
|
180
|
+
# @param benefit_eligibility_class [String, nil] The employer defined benefit eligibility class that groups an employee into a se
|
|
181
|
+
#
|
|
172
182
|
# @param class_code [String, nil] Worker's compensation classification code for this employee
|
|
173
183
|
#
|
|
174
184
|
# @param custom_fields [Array<FinchAPI::Models::Sandbox::EmploymentUpdateParams::CustomField>, nil] Custom fields for the individual. These are fields which are defined by the empl
|
|
@@ -11,6 +11,14 @@ module FinchAPI
|
|
|
11
11
|
# @return [String, nil]
|
|
12
12
|
optional :id, String
|
|
13
13
|
|
|
14
|
+
# @!attribute benefit_eligibility_class
|
|
15
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
16
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
17
|
+
# configured.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :benefit_eligibility_class, String, nil?: true
|
|
21
|
+
|
|
14
22
|
# @!attribute class_code
|
|
15
23
|
# Worker's compensation classification code for this employee
|
|
16
24
|
#
|
|
@@ -161,12 +169,14 @@ module FinchAPI
|
|
|
161
169
|
# @return [String, nil]
|
|
162
170
|
optional :union_local, String, nil?: true
|
|
163
171
|
|
|
164
|
-
# @!method initialize(id: nil, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil)
|
|
172
|
+
# @!method initialize(id: nil, benefit_eligibility_class: nil, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil)
|
|
165
173
|
# Some parameter documentations has been truncated, see
|
|
166
174
|
# {FinchAPI::Models::Sandbox::EmploymentUpdateResponse} for more details.
|
|
167
175
|
#
|
|
168
176
|
# @param id [String] A stable Finch `id` (UUID v4) for an individual in the company.
|
|
169
177
|
#
|
|
178
|
+
# @param benefit_eligibility_class [String, nil] The employer defined benefit eligibility class that groups an employee into a se
|
|
179
|
+
#
|
|
170
180
|
# @param class_code [String, nil] Worker's compensation classification code for this employee
|
|
171
181
|
#
|
|
172
182
|
# @param custom_fields [Array<FinchAPI::Models::Sandbox::EmploymentUpdateResponse::CustomField>, nil] Custom fields for the individual. These are fields which are defined by the empl
|
|
@@ -211,6 +211,9 @@ module FinchAPI
|
|
|
211
211
|
|
|
212
212
|
class PhoneNumber < FinchAPI::Internal::Type::BaseModel
|
|
213
213
|
# @!attribute data
|
|
214
|
+
# The phone number. Format: E.164, with extension where applicable, e.g.
|
|
215
|
+
# `+NNNNNNNNNNN xExtension`. If the number cannot be parsed, the raw value from
|
|
216
|
+
# the provider is returned.
|
|
214
217
|
#
|
|
215
218
|
# @return [String, nil]
|
|
216
219
|
optional :data, String, nil?: true
|
|
@@ -225,7 +228,12 @@ module FinchAPI
|
|
|
225
228
|
nil?: true
|
|
226
229
|
|
|
227
230
|
# @!method initialize(data: nil, type: nil)
|
|
228
|
-
#
|
|
231
|
+
# Some parameter documentations has been truncated, see
|
|
232
|
+
# {FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber} for more
|
|
233
|
+
# details.
|
|
234
|
+
#
|
|
235
|
+
# @param data [String, nil] The phone number. Format: E.164, with extension where applicable, e.g. `+NNNNNNN
|
|
236
|
+
#
|
|
229
237
|
# @param type [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::Type, nil]
|
|
230
238
|
|
|
231
239
|
# @see FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber#type
|
|
@@ -212,6 +212,9 @@ module FinchAPI
|
|
|
212
212
|
|
|
213
213
|
class PhoneNumber < FinchAPI::Internal::Type::BaseModel
|
|
214
214
|
# @!attribute data
|
|
215
|
+
# The phone number. Format: E.164, with extension where applicable, e.g.
|
|
216
|
+
# `+NNNNNNNNNNN xExtension`. If the number cannot be parsed, the raw value from
|
|
217
|
+
# the provider is returned.
|
|
215
218
|
#
|
|
216
219
|
# @return [String, nil]
|
|
217
220
|
optional :data, String, nil?: true
|
|
@@ -224,7 +227,12 @@ module FinchAPI
|
|
|
224
227
|
nil?: true
|
|
225
228
|
|
|
226
229
|
# @!method initialize(data: nil, type: nil)
|
|
227
|
-
#
|
|
230
|
+
# Some parameter documentations has been truncated, see
|
|
231
|
+
# {FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber} for more
|
|
232
|
+
# details.
|
|
233
|
+
#
|
|
234
|
+
# @param data [String, nil] The phone number. Format: E.164, with extension where applicable, e.g. `+NNNNNNN
|
|
235
|
+
#
|
|
228
236
|
# @param type [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::Type, nil]
|
|
229
237
|
|
|
230
238
|
# @see FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber#type
|
|
@@ -9,10 +9,12 @@ module FinchAPI
|
|
|
9
9
|
#
|
|
10
10
|
# Update sandbox employment
|
|
11
11
|
#
|
|
12
|
-
# @overload update(individual_id, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil, request_options: {})
|
|
12
|
+
# @overload update(individual_id, benefit_eligibility_class: nil, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil, request_options: {})
|
|
13
13
|
#
|
|
14
14
|
# @param individual_id [String]
|
|
15
15
|
#
|
|
16
|
+
# @param benefit_eligibility_class [String, nil] The employer defined benefit eligibility class that groups an employee into a se
|
|
17
|
+
#
|
|
16
18
|
# @param class_code [String, nil] Worker's compensation classification code for this employee
|
|
17
19
|
#
|
|
18
20
|
# @param custom_fields [Array<FinchAPI::Models::Sandbox::EmploymentUpdateParams::CustomField>, nil] Custom fields for the individual. These are fields which are defined by the empl
|
data/lib/finch_api/version.rb
CHANGED