finch-api 0.1.0.pre.alpha.47 → 0.1.0.pre.alpha.49
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 +16 -0
- data/README.md +1 -1
- data/lib/finch_api/models/base_webhook_event.rb +2 -5
- data/lib/finch_api/models/create_access_token_response.rb +2 -5
- data/lib/finch_api/models/hris/benefit_create_params.rb +3 -2
- data/lib/finch_api/models/hris/benefit_list_params.rb +6 -2
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +6 -2
- data/lib/finch_api/models/hris/benefit_register_params.rb +6 -2
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +6 -2
- data/lib/finch_api/models/hris/benefit_update_params.rb +6 -2
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +6 -2
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +7 -2
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +3 -2
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +7 -2
- data/lib/finch_api/models/hris/company_retrieve_params.rb +6 -2
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +8 -4
- data/lib/finch_api/models/hris/directory_list_params.rb +8 -4
- data/lib/finch_api/models/hris/document_list_params.rb +3 -2
- data/lib/finch_api/models/hris/document_retreive_params.rb +6 -2
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +10 -12
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +25 -20
- data/lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb +6 -2
- data/lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb +6 -2
- data/lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb +6 -2
- data/lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb +6 -2
- data/lib/finch_api/models/hris/pay_statement_item_list_params.rb +3 -2
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +10 -6
- data/lib/finch_api/models/hris/payment_list_params.rb +3 -2
- data/lib/finch_api/models/introspection.rb +2 -5
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +6 -2
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +6 -2
- data/lib/finch_api/models/sandbox/connection_create_response.rb +2 -4
- data/lib/finch_api/models/sandbox/connections/account_create_response.rb +2 -4
- data/lib/finch_api/models/sandbox/connections/account_update_response.rb +2 -4
- data/lib/finch_api/resources/hris/benefits/individuals.rb +15 -4
- data/lib/finch_api/resources/hris/benefits.rb +21 -6
- data/lib/finch_api/resources/hris/company.rb +4 -1
- data/lib/finch_api/resources/hris/directory.rb +5 -2
- data/lib/finch_api/resources/hris/documents.rb +5 -2
- data/lib/finch_api/resources/hris/employments.rb +5 -2
- data/lib/finch_api/resources/hris/individuals.rb +8 -5
- data/lib/finch_api/resources/hris/pay_statement_item/rules.rb +13 -4
- data/lib/finch_api/resources/hris/pay_statement_item.rb +1 -1
- data/lib/finch_api/resources/hris/pay_statements.rb +5 -2
- data/lib/finch_api/resources/hris/payments.rb +1 -1
- data/lib/finch_api/resources/payroll/pay_groups.rb +8 -2
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/base_webhook_event.rbi +2 -4
- data/rbi/finch_api/models/create_access_token_response.rbi +2 -4
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefit_register_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +4 -2
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +4 -2
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +4 -2
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +6 -4
- data/rbi/finch_api/models/hris/directory_list_params.rbi +6 -4
- data/rbi/finch_api/models/hris/document_list_params.rbi +4 -2
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +4 -2
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +8 -10
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +33 -44
- data/rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi +4 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi +4 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi +4 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi +4 -2
- data/rbi/finch_api/models/hris/pay_statement_item_list_params.rbi +4 -2
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +8 -6
- data/rbi/finch_api/models/hris/payment_list_params.rbi +4 -2
- data/rbi/finch_api/models/introspection.rbi +2 -4
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +4 -2
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +4 -2
- data/rbi/finch_api/models/sandbox/connection_create_response.rbi +2 -2
- data/rbi/finch_api/models/sandbox/connections/account_create_response.rbi +2 -2
- data/rbi/finch_api/models/sandbox/connections/account_update_response.rbi +2 -2
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +8 -4
- data/rbi/finch_api/resources/hris/benefits.rbi +12 -6
- data/rbi/finch_api/resources/hris/company.rbi +2 -1
- data/rbi/finch_api/resources/hris/directory.rbi +3 -2
- data/rbi/finch_api/resources/hris/documents.rbi +4 -2
- data/rbi/finch_api/resources/hris/employments.rbi +3 -2
- data/rbi/finch_api/resources/hris/individuals.rbi +8 -7
- data/rbi/finch_api/resources/hris/pay_statement_item/rules.rbi +8 -4
- data/rbi/finch_api/resources/hris/pay_statement_item.rbi +2 -1
- data/rbi/finch_api/resources/hris/pay_statements.rbi +3 -2
- data/rbi/finch_api/resources/hris/payments.rbi +2 -1
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +4 -2
- data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +16 -22
- data/sig/finch_api/resources/hris/individuals.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e808c0bba7f22123fbcea95871a5b0a7d0149de1e6c3e63b30cb30406088684
|
|
4
|
+
data.tar.gz: bffa0baac1966f4b99a88e6fdfc8aefadc7b342109c70224821216721724a171
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4900f43c809f22998d056aafce9a7b8563685df7bb302f2012eca4163ffaab3112285886f47765e754fd36237f63766e504c716e28d9924f3507f56e7337073
|
|
7
|
+
data.tar.gz: ec75b28b2b7d2ddcfe2c2b96d8fa33f77dd9cecd1c22c26a43c3b470b495abcab7b8120840222e7d6bde62f1db974e0e0851592f2f5b8d4447180e25191096d7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.49 (2026-07-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.48...v0.1.0-alpha.49](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.48...v0.1.0-alpha.49)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([41c1dd6](https://github.com/Finch-API/finch-api-ruby/commit/41c1dd679e77e2a293321fbdff1d145149c3af5f))
|
|
10
|
+
|
|
11
|
+
## 0.1.0-alpha.48 (2026-07-13)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.1.0-alpha.47...v0.1.0-alpha.48](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.47...v0.1.0-alpha.48)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([69e8027](https://github.com/Finch-API/finch-api-ruby/commit/69e8027b72120985c9e601d517162a0225f3dd6d))
|
|
18
|
+
|
|
3
19
|
## 0.1.0-alpha.47 (2026-07-01)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.1.0-alpha.46...v0.1.0-alpha.47](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.46...v0.1.0-alpha.47)
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
26
26
|
<!-- x-release-please-start-version -->
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem "finch-api", "~> 0.1.0.pre.alpha.
|
|
29
|
+
gem "finch-api", "~> 0.1.0.pre.alpha.49"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
|
@@ -14,10 +14,7 @@ module FinchAPI
|
|
|
14
14
|
required :account_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute company_id
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
# [DEPRECATED] Unique Finch ID of the company for which data has been updated. Use
|
|
20
|
-
# `connection_id` instead to identify the connection associated with this event.
|
|
17
|
+
# Unique Finch ID of the company for which data has been updated.
|
|
21
18
|
#
|
|
22
19
|
# @return [String]
|
|
23
20
|
required :company_id, String
|
|
@@ -40,7 +37,7 @@ module FinchAPI
|
|
|
40
37
|
#
|
|
41
38
|
# @param account_id [String] [DEPRECATED] Unique Finch ID of the employer account used to make this connectio
|
|
42
39
|
#
|
|
43
|
-
# @param company_id [String]
|
|
40
|
+
# @param company_id [String] Unique Finch ID of the company for which data has been updated.
|
|
44
41
|
#
|
|
45
42
|
# @param connection_id [String] Unique Finch ID of the connection associated with the webhook event.
|
|
46
43
|
#
|
|
@@ -65,10 +65,7 @@ module FinchAPI
|
|
|
65
65
|
optional :account_id, String
|
|
66
66
|
|
|
67
67
|
# @!attribute company_id
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
# [DEPRECATED] Use `connection_id` to identify the connection instead of this
|
|
71
|
-
# company ID
|
|
68
|
+
# The Finch UUID of the company associated with the `access_token`.
|
|
72
69
|
#
|
|
73
70
|
# @return [String, nil]
|
|
74
71
|
optional :company_id, String
|
|
@@ -109,7 +106,7 @@ module FinchAPI
|
|
|
109
106
|
#
|
|
110
107
|
# @param account_id [String] [DEPRECATED] Use `connection_id` to identify the connection instead of this acco
|
|
111
108
|
#
|
|
112
|
-
# @param company_id [String]
|
|
109
|
+
# @param company_id [String] The Finch UUID of the company associated with the `access_token`.
|
|
113
110
|
#
|
|
114
111
|
# @param customer_id [String, nil] The ID of your customer you provided to Finch when a connect session was created
|
|
115
112
|
#
|
|
@@ -9,7 +9,8 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -46,7 +47,7 @@ module FinchAPI
|
|
|
46
47
|
# Some parameter documentations has been truncated, see
|
|
47
48
|
# {FinchAPI::Models::HRIS::BenefitCreateParams} for more details.
|
|
48
49
|
#
|
|
49
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
50
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
50
51
|
#
|
|
51
52
|
# @param company_contribution [FinchAPI::Models::HRIS::BenefitCreateParams::CompanyContribution, nil] The company match for this benefit.
|
|
52
53
|
#
|
|
@@ -9,13 +9,17 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
17
|
|
|
17
18
|
# @!method initialize(entity_ids: nil, request_options: {})
|
|
18
|
-
#
|
|
19
|
+
# Some parameter documentations has been truncated, see
|
|
20
|
+
# {FinchAPI::Models::HRIS::BenefitListParams} for more details.
|
|
21
|
+
#
|
|
22
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
19
23
|
#
|
|
20
24
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
21
25
|
end
|
|
@@ -9,13 +9,17 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
17
|
|
|
17
18
|
# @!method initialize(entity_ids: nil, request_options: {})
|
|
18
|
-
#
|
|
19
|
+
# Some parameter documentations has been truncated, see
|
|
20
|
+
# {FinchAPI::Models::HRIS::BenefitListSupportedBenefitsParams} for more details.
|
|
21
|
+
#
|
|
22
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
19
23
|
#
|
|
20
24
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
21
25
|
end
|
|
@@ -9,7 +9,8 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -32,7 +33,10 @@ module FinchAPI
|
|
|
32
33
|
optional :type, enum: -> { FinchAPI::HRIS::BenefitType }, nil?: true
|
|
33
34
|
|
|
34
35
|
# @!method initialize(entity_ids: nil, description: nil, frequency: nil, type: nil, request_options: {})
|
|
35
|
-
#
|
|
36
|
+
# Some parameter documentations has been truncated, see
|
|
37
|
+
# {FinchAPI::Models::HRIS::BenefitRegisterParams} for more details.
|
|
38
|
+
#
|
|
39
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
36
40
|
#
|
|
37
41
|
# @param description [String]
|
|
38
42
|
#
|
|
@@ -14,15 +14,19 @@ module FinchAPI
|
|
|
14
14
|
required :benefit_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute entity_ids
|
|
17
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
19
|
#
|
|
19
20
|
# @return [Array<String>, nil]
|
|
20
21
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
21
22
|
|
|
22
23
|
# @!method initialize(benefit_id:, entity_ids: nil, request_options: {})
|
|
24
|
+
# Some parameter documentations has been truncated, see
|
|
25
|
+
# {FinchAPI::Models::HRIS::BenefitRetrieveParams} for more details.
|
|
26
|
+
#
|
|
23
27
|
# @param benefit_id [String]
|
|
24
28
|
#
|
|
25
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
29
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
26
30
|
#
|
|
27
31
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
28
32
|
end
|
|
@@ -14,7 +14,8 @@ module FinchAPI
|
|
|
14
14
|
required :benefit_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute entity_ids
|
|
17
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
19
|
#
|
|
19
20
|
# @return [Array<String>, nil]
|
|
20
21
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -26,9 +27,12 @@ module FinchAPI
|
|
|
26
27
|
optional :description, String
|
|
27
28
|
|
|
28
29
|
# @!method initialize(benefit_id:, entity_ids: nil, description: nil, request_options: {})
|
|
30
|
+
# Some parameter documentations has been truncated, see
|
|
31
|
+
# {FinchAPI::Models::HRIS::BenefitUpdateParams} for more details.
|
|
32
|
+
#
|
|
29
33
|
# @param benefit_id [String]
|
|
30
34
|
#
|
|
31
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
35
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
32
36
|
#
|
|
33
37
|
# @param description [String] Updated name or description.
|
|
34
38
|
#
|
|
@@ -15,7 +15,8 @@ module FinchAPI
|
|
|
15
15
|
required :benefit_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
|
-
# The entity IDs to specify which entities' data to access.
|
|
18
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
19
|
+
# entity ID per request; a maximum of one is accepted.
|
|
19
20
|
#
|
|
20
21
|
# @return [Array<String>, nil]
|
|
21
22
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -28,9 +29,12 @@ module FinchAPI
|
|
|
28
29
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual] }
|
|
29
30
|
|
|
30
31
|
# @!method initialize(benefit_id:, entity_ids: nil, individuals: nil, request_options: {})
|
|
32
|
+
# Some parameter documentations has been truncated, see
|
|
33
|
+
# {FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams} for more details.
|
|
34
|
+
#
|
|
31
35
|
# @param benefit_id [String]
|
|
32
36
|
#
|
|
33
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
37
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
34
38
|
#
|
|
35
39
|
# @param individuals [Array<FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual>] Array of the individual_id to enroll and a configuration object.
|
|
36
40
|
#
|
|
@@ -15,15 +15,20 @@ module FinchAPI
|
|
|
15
15
|
required :benefit_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
|
-
# The entity IDs to specify which entities' data to access.
|
|
18
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
19
|
+
# entity ID per request; a maximum of one is accepted.
|
|
19
20
|
#
|
|
20
21
|
# @return [Array<String>, nil]
|
|
21
22
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
22
23
|
|
|
23
24
|
# @!method initialize(benefit_id:, entity_ids: nil, request_options: {})
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {FinchAPI::Models::HRIS::Benefits::IndividualEnrolledIDsParams} for more
|
|
27
|
+
# details.
|
|
28
|
+
#
|
|
24
29
|
# @param benefit_id [String]
|
|
25
30
|
#
|
|
26
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
31
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
27
32
|
#
|
|
28
33
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
29
34
|
end
|
|
@@ -15,7 +15,8 @@ module FinchAPI
|
|
|
15
15
|
required :benefit_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
|
-
# The entity IDs to specify which entities' data to access.
|
|
18
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
19
|
+
# entity ID per request; a maximum of one is accepted.
|
|
19
20
|
#
|
|
20
21
|
# @return [Array<String>, nil]
|
|
21
22
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -34,7 +35,7 @@ module FinchAPI
|
|
|
34
35
|
#
|
|
35
36
|
# @param benefit_id [String]
|
|
36
37
|
#
|
|
37
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
38
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
38
39
|
#
|
|
39
40
|
# @param individual_ids [String] comma-delimited list of stable Finch uuids for each individual. If empty, defaul
|
|
40
41
|
#
|
|
@@ -15,7 +15,8 @@ module FinchAPI
|
|
|
15
15
|
required :benefit_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
|
-
# The entity IDs to specify which entities' data to access.
|
|
18
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
19
|
+
# entity ID per request; a maximum of one is accepted.
|
|
19
20
|
#
|
|
20
21
|
# @return [Array<String>, nil]
|
|
21
22
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -27,9 +28,13 @@ module FinchAPI
|
|
|
27
28
|
optional :individual_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
28
29
|
|
|
29
30
|
# @!method initialize(benefit_id:, entity_ids: nil, individual_ids: nil, request_options: {})
|
|
31
|
+
# Some parameter documentations has been truncated, see
|
|
32
|
+
# {FinchAPI::Models::HRIS::Benefits::IndividualUnenrollManyParams} for more
|
|
33
|
+
# details.
|
|
34
|
+
#
|
|
30
35
|
# @param benefit_id [String]
|
|
31
36
|
#
|
|
32
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
37
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
33
38
|
#
|
|
34
39
|
# @param individual_ids [Array<String>] Array of individual_ids to unenroll.
|
|
35
40
|
#
|
|
@@ -9,13 +9,17 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
17
|
|
|
17
18
|
# @!method initialize(entity_ids: nil, request_options: {})
|
|
18
|
-
#
|
|
19
|
+
# Some parameter documentations has been truncated, see
|
|
20
|
+
# {FinchAPI::Models::HRIS::CompanyRetrieveParams} for more details.
|
|
21
|
+
#
|
|
22
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
19
23
|
#
|
|
20
24
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
21
25
|
end
|
|
@@ -9,13 +9,14 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
17
|
|
|
17
18
|
# @!attribute limit
|
|
18
|
-
# Number of employees to return (defaults to
|
|
19
|
+
# Number of employees to return (defaults to 100, maximum 10000)
|
|
19
20
|
#
|
|
20
21
|
# @return [Integer, nil]
|
|
21
22
|
optional :limit, Integer
|
|
@@ -27,9 +28,12 @@ module FinchAPI
|
|
|
27
28
|
optional :offset, Integer
|
|
28
29
|
|
|
29
30
|
# @!method initialize(entity_ids: nil, limit: nil, offset: nil, request_options: {})
|
|
30
|
-
#
|
|
31
|
+
# Some parameter documentations has been truncated, see
|
|
32
|
+
# {FinchAPI::Models::HRIS::DirectoryListIndividualsParams} for more details.
|
|
31
33
|
#
|
|
32
|
-
# @param
|
|
34
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
35
|
+
#
|
|
36
|
+
# @param limit [Integer] Number of employees to return (defaults to 100, maximum 10000)
|
|
33
37
|
#
|
|
34
38
|
# @param offset [Integer] Index to start from (defaults to 0)
|
|
35
39
|
#
|
|
@@ -9,13 +9,14 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
17
|
|
|
17
18
|
# @!attribute limit
|
|
18
|
-
# Number of employees to return (defaults to
|
|
19
|
+
# Number of employees to return (defaults to 100, maximum 10000)
|
|
19
20
|
#
|
|
20
21
|
# @return [Integer, nil]
|
|
21
22
|
optional :limit, Integer
|
|
@@ -27,9 +28,12 @@ module FinchAPI
|
|
|
27
28
|
optional :offset, Integer
|
|
28
29
|
|
|
29
30
|
# @!method initialize(entity_ids: nil, limit: nil, offset: nil, request_options: {})
|
|
30
|
-
#
|
|
31
|
+
# Some parameter documentations has been truncated, see
|
|
32
|
+
# {FinchAPI::Models::HRIS::DirectoryListParams} for more details.
|
|
31
33
|
#
|
|
32
|
-
# @param
|
|
34
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
35
|
+
#
|
|
36
|
+
# @param limit [Integer] Number of employees to return (defaults to 100, maximum 10000)
|
|
33
37
|
#
|
|
34
38
|
# @param offset [Integer] Index to start from (defaults to 0)
|
|
35
39
|
#
|
|
@@ -9,7 +9,8 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
14
|
#
|
|
14
15
|
# @return [Array<String>, nil]
|
|
15
16
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -44,7 +45,7 @@ module FinchAPI
|
|
|
44
45
|
# Some parameter documentations has been truncated, see
|
|
45
46
|
# {FinchAPI::Models::HRIS::DocumentListParams} for more details.
|
|
46
47
|
#
|
|
47
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
48
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
48
49
|
#
|
|
49
50
|
# @param individual_ids [Array<String>] Comma-delimited list of stable Finch uuids for each individual. If empty, defaul
|
|
50
51
|
#
|
|
@@ -14,15 +14,19 @@ module FinchAPI
|
|
|
14
14
|
required :document_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute entity_ids
|
|
17
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
19
|
#
|
|
19
20
|
# @return [Array<String>, nil]
|
|
20
21
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
21
22
|
|
|
22
23
|
# @!method initialize(document_id:, entity_ids: nil, request_options: {})
|
|
24
|
+
# Some parameter documentations has been truncated, see
|
|
25
|
+
# {FinchAPI::Models::HRIS::DocumentRetreiveParams} for more details.
|
|
26
|
+
#
|
|
23
27
|
# @param document_id [String]
|
|
24
28
|
#
|
|
25
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
29
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
26
30
|
#
|
|
27
31
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
28
32
|
end
|
|
@@ -9,40 +9,38 @@ module FinchAPI
|
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute requests
|
|
12
|
-
# The array of batch requests.
|
|
12
|
+
# The array of batch requests. Maximum 10000 items per request.
|
|
13
13
|
#
|
|
14
14
|
# @return [Array<FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request>]
|
|
15
15
|
required :requests,
|
|
16
16
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request] }
|
|
17
17
|
|
|
18
18
|
# @!attribute entity_ids
|
|
19
|
-
# The entity IDs to specify which entities' data to access.
|
|
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
21
|
#
|
|
21
22
|
# @return [Array<String>, nil]
|
|
22
23
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
23
24
|
|
|
24
25
|
# @!method initialize(requests:, entity_ids: nil, request_options: {})
|
|
25
|
-
#
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {FinchAPI::Models::HRIS::EmploymentRetrieveManyParams} for more details.
|
|
26
28
|
#
|
|
27
|
-
# @param
|
|
29
|
+
# @param requests [Array<FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request>] The array of batch requests. Maximum 10000 items per request.
|
|
30
|
+
#
|
|
31
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
28
32
|
#
|
|
29
33
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
30
34
|
|
|
31
35
|
class Request < FinchAPI::Internal::Type::BaseModel
|
|
32
36
|
# @!attribute individual_id
|
|
33
|
-
# A stable Finch `id` (UUID v4) for an individual in the company.
|
|
34
|
-
# limit to the number of `individual_id` to send per request. It is preferantial
|
|
35
|
-
# to send all ids in a single request for Finch to optimize provider rate-limits.
|
|
37
|
+
# A stable Finch `id` (UUID v4) for an individual in the company.
|
|
36
38
|
#
|
|
37
39
|
# @return [String]
|
|
38
40
|
required :individual_id, String
|
|
39
41
|
|
|
40
42
|
# @!method initialize(individual_id:)
|
|
41
|
-
#
|
|
42
|
-
# {FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request} for more
|
|
43
|
-
# details.
|
|
44
|
-
#
|
|
45
|
-
# @param individual_id [String] A stable Finch `id` (UUID v4) for an individual in the company. There is no limi
|
|
43
|
+
# @param individual_id [String] A stable Finch `id` (UUID v4) for an individual in the company.
|
|
46
44
|
end
|
|
47
45
|
end
|
|
48
46
|
end
|
|
@@ -8,8 +8,16 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute requests
|
|
12
|
+
# The array of batch requests. Maximum 10000 items per request.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>]
|
|
15
|
+
required :requests,
|
|
16
|
+
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::IndividualRetrieveManyParams::Request] }
|
|
17
|
+
|
|
11
18
|
# @!attribute entity_ids
|
|
12
|
-
# The entity IDs to specify which entities' data to access.
|
|
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.
|
|
13
21
|
#
|
|
14
22
|
# @return [Array<String>, nil]
|
|
15
23
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -19,21 +27,28 @@ module FinchAPI
|
|
|
19
27
|
# @return [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
|
|
20
28
|
optional :options, -> { FinchAPI::HRIS::IndividualRetrieveManyParams::Options }, nil?: true
|
|
21
29
|
|
|
22
|
-
# @!
|
|
30
|
+
# @!method initialize(requests:, entity_ids: nil, options: nil, request_options: {})
|
|
31
|
+
# Some parameter documentations has been truncated, see
|
|
32
|
+
# {FinchAPI::Models::HRIS::IndividualRetrieveManyParams} for more details.
|
|
23
33
|
#
|
|
24
|
-
# @
|
|
25
|
-
optional :requests,
|
|
26
|
-
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::IndividualRetrieveManyParams::Request] }
|
|
27
|
-
|
|
28
|
-
# @!method initialize(entity_ids: nil, options: nil, requests: nil, request_options: {})
|
|
29
|
-
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
34
|
+
# @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>] The array of batch requests. Maximum 10000 items per request.
|
|
30
35
|
#
|
|
31
|
-
# @param
|
|
36
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
|
|
32
37
|
#
|
|
33
|
-
# @param
|
|
38
|
+
# @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
|
|
34
39
|
#
|
|
35
40
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
36
41
|
|
|
42
|
+
class Request < FinchAPI::Internal::Type::BaseModel
|
|
43
|
+
# @!attribute individual_id
|
|
44
|
+
#
|
|
45
|
+
# @return [String]
|
|
46
|
+
required :individual_id, String
|
|
47
|
+
|
|
48
|
+
# @!method initialize(individual_id:)
|
|
49
|
+
# @param individual_id [String]
|
|
50
|
+
end
|
|
51
|
+
|
|
37
52
|
class Options < FinchAPI::Internal::Type::BaseModel
|
|
38
53
|
# @!attribute include
|
|
39
54
|
#
|
|
@@ -43,16 +58,6 @@ module FinchAPI
|
|
|
43
58
|
# @!method initialize(include: nil)
|
|
44
59
|
# @param include [Array<String>]
|
|
45
60
|
end
|
|
46
|
-
|
|
47
|
-
class Request < FinchAPI::Internal::Type::BaseModel
|
|
48
|
-
# @!attribute individual_id
|
|
49
|
-
#
|
|
50
|
-
# @return [String, nil]
|
|
51
|
-
optional :individual_id, String
|
|
52
|
-
|
|
53
|
-
# @!method initialize(individual_id: nil)
|
|
54
|
-
# @param individual_id [String]
|
|
55
|
-
end
|
|
56
61
|
end
|
|
57
62
|
end
|
|
58
63
|
end
|
|
@@ -10,7 +10,8 @@ module FinchAPI
|
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
12
|
# @!attribute entity_ids
|
|
13
|
-
# The entity IDs to create the rule for.
|
|
13
|
+
# The entity IDs to create the rule for. Provide exactly one entity ID per
|
|
14
|
+
# request; a maximum of one is accepted.
|
|
14
15
|
#
|
|
15
16
|
# @return [Array<String>, nil]
|
|
16
17
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
@@ -46,7 +47,10 @@ module FinchAPI
|
|
|
46
47
|
optional :entity_type, enum: -> { FinchAPI::HRIS::PayStatementItem::RuleCreateParams::EntityType }
|
|
47
48
|
|
|
48
49
|
# @!method initialize(entity_ids: nil, attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
|
|
49
|
-
#
|
|
50
|
+
# Some parameter documentations has been truncated, see
|
|
51
|
+
# {FinchAPI::Models::HRIS::PayStatementItem::RuleCreateParams} for more details.
|
|
52
|
+
#
|
|
53
|
+
# @param entity_ids [Array<String>] The entity IDs to create the rule for. Provide exactly one entity ID per request
|
|
50
54
|
#
|
|
51
55
|
# @param attributes [FinchAPI::Models::HRIS::PayStatementItem::RuleCreateParams::Attributes] Specifies the fields to be applied when the condition is met.
|
|
52
56
|
#
|
|
@@ -15,15 +15,19 @@ module FinchAPI
|
|
|
15
15
|
required :rule_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute entity_ids
|
|
18
|
-
# The entity IDs to delete the rule for.
|
|
18
|
+
# The entity IDs to delete the rule for. Provide exactly one entity ID per
|
|
19
|
+
# request; a maximum of one is accepted.
|
|
19
20
|
#
|
|
20
21
|
# @return [Array<String>, nil]
|
|
21
22
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
22
23
|
|
|
23
24
|
# @!method initialize(rule_id:, entity_ids: nil, request_options: {})
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {FinchAPI::Models::HRIS::PayStatementItem::RuleDeleteParams} for more details.
|
|
27
|
+
#
|
|
24
28
|
# @param rule_id [String]
|
|
25
29
|
#
|
|
26
|
-
# @param entity_ids [Array<String>] The entity IDs to delete the rule for.
|
|
30
|
+
# @param entity_ids [Array<String>] The entity IDs to delete the rule for. Provide exactly one entity ID per request
|
|
27
31
|
#
|
|
28
32
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
29
33
|
end
|
|
@@ -10,13 +10,17 @@ module FinchAPI
|
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
12
|
# @!attribute entity_ids
|
|
13
|
-
# The entity IDs to retrieve rules for.
|
|
13
|
+
# The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
14
|
+
# a maximum of one is accepted.
|
|
14
15
|
#
|
|
15
16
|
# @return [Array<String>, nil]
|
|
16
17
|
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
17
18
|
|
|
18
19
|
# @!method initialize(entity_ids: nil, request_options: {})
|
|
19
|
-
#
|
|
20
|
+
# Some parameter documentations has been truncated, see
|
|
21
|
+
# {FinchAPI::Models::HRIS::PayStatementItem::RuleListParams} for more details.
|
|
22
|
+
#
|
|
23
|
+
# @param entity_ids [Array<String>] The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
20
24
|
#
|
|
21
25
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
22
26
|
end
|