finch-api 0.1.0.pre.alpha.59 → 0.1.0.pre.alpha.61
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 +25 -0
- data/README.md +1 -1
- data/lib/finch_api/models/access_token_create_params.rb +8 -2
- data/lib/finch_api/models/account_update_event.rb +328 -8
- data/lib/finch_api/models/connect/session_new_params.rb +4 -2
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +4 -2
- data/lib/finch_api/models/hris/benefit_create_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_list_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_register_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_update_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +3 -1
- data/lib/finch_api/models/hris/company_retrieve_params.rb +3 -1
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +3 -1
- data/lib/finch_api/models/hris/directory_list_params.rb +3 -1
- data/lib/finch_api/models/hris/document_list_params.rb +3 -1
- data/lib/finch_api/models/hris/document_retreive_params.rb +3 -1
- data/lib/finch_api/models/hris/employment_data.rb +11 -1
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item_list_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/payment_list_params.rb +3 -1
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +3 -1
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +3 -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 +11 -1
- 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/resources/access_tokens.rb +4 -1
- data/lib/finch_api/resources/connect/sessions.rb +2 -2
- data/lib/finch_api/resources/sandbox/employment.rb +3 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/access_token_create_params.rbi +8 -2
- data/rbi/finch_api/models/account_update_event.rbi +738 -15
- data/rbi/finch_api/models/connect/session_new_params.rbi +6 -2
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_register_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +6 -2
- data/rbi/finch_api/models/hris/directory_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/document_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +6 -2
- data/rbi/finch_api/models/hris/employment_data.rbi +12 -0
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/payment_list_params.rbi +6 -2
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +6 -2
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +6 -2
- 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 +12 -0
- 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/resources/access_tokens.rbi +4 -1
- data/rbi/finch_api/resources/connect/sessions.rbi +6 -2
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +12 -4
- data/rbi/finch_api/resources/hris/benefits.rbi +18 -6
- data/rbi/finch_api/resources/hris/company.rbi +3 -1
- data/rbi/finch_api/resources/hris/directory.rbi +3 -1
- data/rbi/finch_api/resources/hris/documents.rbi +6 -2
- data/rbi/finch_api/resources/hris/employments.rbi +3 -1
- data/rbi/finch_api/resources/hris/individuals.rbi +3 -1
- data/rbi/finch_api/resources/hris/pay_statement_item/rules.rbi +12 -4
- data/rbi/finch_api/resources/hris/pay_statement_item.rbi +3 -1
- data/rbi/finch_api/resources/hris/pay_statements.rbi +3 -1
- data/rbi/finch_api/resources/hris/payments.rbi +3 -1
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +6 -2
- 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
|
@@ -10,7 +10,9 @@ module FinchAPI
|
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
12
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
13
|
-
# entity ID per request; a maximum of one is accepted.
|
|
13
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
14
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
15
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
14
16
|
#
|
|
15
17
|
# @return [Array<String>, nil]
|
|
16
18
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -10,7 +10,9 @@ module FinchAPI
|
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
12
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
13
|
-
# entity ID per request; a maximum of one is accepted.
|
|
13
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
14
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
15
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
14
16
|
#
|
|
15
17
|
# @return [Array<String>, nil]
|
|
16
18
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -10,7 +10,9 @@ module FinchAPI
|
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
12
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
13
|
-
# entity ID per request; a maximum of one is accepted.
|
|
13
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
14
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
15
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
14
16
|
#
|
|
15
17
|
# @return [Array<String>, nil]
|
|
16
18
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -15,7 +15,9 @@ module FinchAPI
|
|
|
15
15
|
|
|
16
16
|
# @!attribute entity_ids
|
|
17
17
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
18
|
-
# entity ID per request; a maximum of one is accepted.
|
|
18
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
19
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
20
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
19
21
|
#
|
|
20
22
|
# @return [Array<String>, nil]
|
|
21
23
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -17,6 +17,14 @@ module FinchAPI
|
|
|
17
17
|
# @return [String]
|
|
18
18
|
required :id, String
|
|
19
19
|
|
|
20
|
+
# @!attribute benefit_eligibility_class
|
|
21
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
22
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
23
|
+
# configured.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
required :benefit_eligibility_class, String, nil?: true
|
|
27
|
+
|
|
20
28
|
# @!attribute class_code
|
|
21
29
|
# Worker's compensation classification code for this employee
|
|
22
30
|
#
|
|
@@ -185,13 +193,15 @@ module FinchAPI
|
|
|
185
193
|
# @return [String, nil]
|
|
186
194
|
optional :work_id, String, nil?: true
|
|
187
195
|
|
|
188
|
-
# @!method initialize(id:, class_code:, department:, employment:, employment_status:, end_date:, first_name:, flsa_status:, highly_compensated_employee:, is_active:, key_employee:, last_name:, latest_rehire_date:, location:, manager:, middle_name:, start_date:, title:, union_code:, union_local:, custom_fields: nil, income: nil, income_history: nil, source_id: nil, work_id: nil)
|
|
196
|
+
# @!method initialize(id:, benefit_eligibility_class:, class_code:, department:, employment:, employment_status:, end_date:, first_name:, flsa_status:, highly_compensated_employee:, is_active:, key_employee:, last_name:, latest_rehire_date:, location:, manager:, middle_name:, start_date:, title:, union_code:, union_local:, custom_fields: nil, income: nil, income_history: nil, source_id: nil, work_id: nil)
|
|
189
197
|
# Some parameter documentations has been truncated, see
|
|
190
198
|
# {FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody} for more
|
|
191
199
|
# details.
|
|
192
200
|
#
|
|
193
201
|
# @param id [String] A stable Finch `id` (UUID v4) for an individual in the company.
|
|
194
202
|
#
|
|
203
|
+
# @param benefit_eligibility_class [String, nil] The employer defined benefit eligibility class that groups an employee into a se
|
|
204
|
+
#
|
|
195
205
|
# @param class_code [String, nil] Worker's compensation classification code for this employee
|
|
196
206
|
#
|
|
197
207
|
# @param department [FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Department, nil] The department object.
|
|
@@ -17,7 +17,9 @@ module FinchAPI
|
|
|
17
17
|
|
|
18
18
|
# @!attribute entity_ids
|
|
19
19
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
20
|
-
# entity ID per request; a maximum of one is accepted.
|
|
20
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
21
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
22
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
21
23
|
#
|
|
22
24
|
# @return [Array<String>, nil]
|
|
23
25
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -17,7 +17,9 @@ module FinchAPI
|
|
|
17
17
|
|
|
18
18
|
# @!attribute entity_ids
|
|
19
19
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
20
|
-
# entity ID per request; a maximum of one is accepted.
|
|
20
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
21
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
22
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
21
23
|
#
|
|
22
24
|
# @return [Array<String>, nil]
|
|
23
25
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -11,7 +11,9 @@ module FinchAPI
|
|
|
11
11
|
|
|
12
12
|
# @!attribute entity_ids
|
|
13
13
|
# The entity IDs to create the rule for. Provide exactly one entity ID per
|
|
14
|
-
# request; a maximum of one is accepted.
|
|
14
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
15
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
16
|
+
# for single-entity connections.
|
|
15
17
|
#
|
|
16
18
|
# @return [Array<String>, nil]
|
|
17
19
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
18
|
# The entity IDs to delete the rule for. Provide exactly one entity ID per
|
|
19
|
-
# request; a maximum of one is accepted.
|
|
19
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
20
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
21
|
+
# for single-entity connections.
|
|
20
22
|
#
|
|
21
23
|
# @return [Array<String>, nil]
|
|
22
24
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -11,7 +11,9 @@ module FinchAPI
|
|
|
11
11
|
|
|
12
12
|
# @!attribute entity_ids
|
|
13
13
|
# The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
14
|
-
# a maximum of one is accepted.
|
|
14
|
+
# a maximum of one is accepted. Required when the connection has more than one
|
|
15
|
+
# entity — omitting it returns a `400` `invalid_request_error`. Optional for
|
|
16
|
+
# single-entity connections.
|
|
15
17
|
#
|
|
16
18
|
# @return [Array<String>, nil]
|
|
17
19
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
18
|
# The entity IDs to update the rule for. Provide exactly one entity ID per
|
|
19
|
-
# request; a maximum of one is accepted.
|
|
19
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
20
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
21
|
+
# for single-entity connections.
|
|
20
22
|
#
|
|
21
23
|
# @return [Array<String>, nil]
|
|
22
24
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -25,7 +25,9 @@ module FinchAPI
|
|
|
25
25
|
|
|
26
26
|
# @!attribute entity_ids
|
|
27
27
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
28
|
-
# entity ID per request; a maximum of one is accepted.
|
|
28
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
29
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
30
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
29
31
|
#
|
|
30
32
|
# @return [Array<String>, nil]
|
|
31
33
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -17,7 +17,9 @@ module FinchAPI
|
|
|
17
17
|
|
|
18
18
|
# @!attribute entity_ids
|
|
19
19
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
20
|
-
# entity ID per request; a maximum of one is accepted.
|
|
20
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
21
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
22
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
21
23
|
#
|
|
22
24
|
# @return [Array<String>, nil]
|
|
23
25
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -24,7 +24,9 @@ module FinchAPI
|
|
|
24
24
|
|
|
25
25
|
# @!attribute entity_ids
|
|
26
26
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
27
|
-
# entity ID per request; a maximum of one is accepted.
|
|
27
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
28
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
29
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
28
30
|
#
|
|
29
31
|
# @return [Array<String>, nil]
|
|
30
32
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -10,7 +10,9 @@ module FinchAPI
|
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
12
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
13
|
-
# entity ID per request; a maximum of one is accepted.
|
|
13
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
14
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
15
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
14
16
|
#
|
|
15
17
|
# @return [Array<String>, nil]
|
|
16
18
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -15,7 +15,9 @@ module FinchAPI
|
|
|
15
15
|
|
|
16
16
|
# @!attribute entity_ids
|
|
17
17
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
18
|
-
# entity ID per request; a maximum of one is accepted.
|
|
18
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
19
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
20
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
19
21
|
#
|
|
20
22
|
# @return [Array<String>, nil]
|
|
21
23
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|