finch-api 0.1.0.pre.alpha.48 → 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 +8 -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 +6 -2
- data/lib/finch_api/models/hris/directory_list_params.rb +6 -2
- 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 +6 -2
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +6 -2
- 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 +6 -2
- 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 +4 -1
- data/lib/finch_api/resources/hris/documents.rb +5 -2
- data/lib/finch_api/resources/hris/employments.rb +4 -1
- data/lib/finch_api/resources/hris/individuals.rb +4 -1
- 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 +4 -1
- 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 +4 -2
- data/rbi/finch_api/models/hris/directory_list_params.rbi +4 -2
- 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 +4 -2
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +4 -2
- 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 +4 -2
- 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 +2 -1
- data/rbi/finch_api/resources/hris/documents.rbi +4 -2
- data/rbi/finch_api/resources/hris/employments.rbi +2 -1
- data/rbi/finch_api/resources/hris/individuals.rbi +2 -1
- 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 +2 -1
- data/rbi/finch_api/resources/hris/payments.rbi +2 -1
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +4 -2
- metadata +2 -2
|
@@ -12,7 +12,8 @@ module FinchAPI
|
|
|
12
12
|
).returns(FinchAPI::HRIS::HRISCompany)
|
|
13
13
|
end
|
|
14
14
|
def retrieve(
|
|
15
|
-
# The entity IDs to specify which entities' data to access.
|
|
15
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
16
|
+
# entity ID per request; a maximum of one is accepted.
|
|
16
17
|
entity_ids: nil,
|
|
17
18
|
request_options: {}
|
|
18
19
|
)
|
|
@@ -18,7 +18,8 @@ module FinchAPI
|
|
|
18
18
|
)
|
|
19
19
|
end
|
|
20
20
|
def list(
|
|
21
|
-
# The entity IDs to specify which entities' data to access.
|
|
21
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
22
|
+
# entity ID per request; a maximum of one is accepted.
|
|
22
23
|
entity_ids: nil,
|
|
23
24
|
# Number of employees to return (defaults to 100, maximum 10000)
|
|
24
25
|
limit: nil,
|
|
@@ -17,7 +17,8 @@ module FinchAPI
|
|
|
17
17
|
).returns(FinchAPI::Models::HRIS::DocumentListResponse)
|
|
18
18
|
end
|
|
19
19
|
def list(
|
|
20
|
-
# The entity IDs to specify which entities' data to access.
|
|
20
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
21
|
+
# entity ID per request; a maximum of one is accepted.
|
|
21
22
|
entity_ids: nil,
|
|
22
23
|
# Comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
23
24
|
# defaults to all individuals
|
|
@@ -45,7 +46,8 @@ module FinchAPI
|
|
|
45
46
|
def retreive(
|
|
46
47
|
# The unique identifier of the document.
|
|
47
48
|
document_id,
|
|
48
|
-
# The entity IDs to specify which entities' data to access.
|
|
49
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
50
|
+
# entity ID per request; a maximum of one is accepted.
|
|
49
51
|
entity_ids: nil,
|
|
50
52
|
request_options: {}
|
|
51
53
|
)
|
|
@@ -22,7 +22,8 @@ module FinchAPI
|
|
|
22
22
|
def retrieve_many(
|
|
23
23
|
# Body param: The array of batch requests. Maximum 10000 items per request.
|
|
24
24
|
requests:,
|
|
25
|
-
# Query param: The entity IDs to specify which entities' data to access.
|
|
25
|
+
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
26
|
+
# exactly one entity ID per request; a maximum of one is accepted.
|
|
26
27
|
entity_ids: nil,
|
|
27
28
|
request_options: {}
|
|
28
29
|
)
|
|
@@ -26,7 +26,8 @@ module FinchAPI
|
|
|
26
26
|
def retrieve_many(
|
|
27
27
|
# Body param: The array of batch requests. Maximum 10000 items per request.
|
|
28
28
|
requests:,
|
|
29
|
-
# Query param: The entity IDs to specify which entities' data to access.
|
|
29
|
+
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
30
|
+
# exactly one entity ID per request; a maximum of one is accepted.
|
|
30
31
|
entity_ids: nil,
|
|
31
32
|
# Body param
|
|
32
33
|
options: nil,
|
|
@@ -28,7 +28,8 @@ module FinchAPI
|
|
|
28
28
|
)
|
|
29
29
|
end
|
|
30
30
|
def create(
|
|
31
|
-
# Query param: The entity IDs to create the rule for.
|
|
31
|
+
# Query param: The entity IDs to create the rule for. Provide exactly one entity
|
|
32
|
+
# ID per request; a maximum of one is accepted.
|
|
32
33
|
entity_ids: nil,
|
|
33
34
|
# Body param: Specifies the fields to be applied when the condition is met.
|
|
34
35
|
attributes: nil,
|
|
@@ -59,7 +60,8 @@ module FinchAPI
|
|
|
59
60
|
def update(
|
|
60
61
|
# Path param
|
|
61
62
|
rule_id,
|
|
62
|
-
# Query param: The entity IDs to update the rule for.
|
|
63
|
+
# Query param: The entity IDs to update the rule for. Provide exactly one entity
|
|
64
|
+
# ID per request; a maximum of one is accepted.
|
|
63
65
|
entity_ids: nil,
|
|
64
66
|
# Body param
|
|
65
67
|
optional_property: nil,
|
|
@@ -79,7 +81,8 @@ module FinchAPI
|
|
|
79
81
|
)
|
|
80
82
|
end
|
|
81
83
|
def list(
|
|
82
|
-
# The entity IDs to retrieve rules for.
|
|
84
|
+
# The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
85
|
+
# a maximum of one is accepted.
|
|
83
86
|
entity_ids: nil,
|
|
84
87
|
request_options: {}
|
|
85
88
|
)
|
|
@@ -97,7 +100,8 @@ module FinchAPI
|
|
|
97
100
|
end
|
|
98
101
|
def delete(
|
|
99
102
|
rule_id,
|
|
100
|
-
# The entity IDs to delete the rule for.
|
|
103
|
+
# The entity IDs to delete the rule for. Provide exactly one entity ID per
|
|
104
|
+
# request; a maximum of one is accepted.
|
|
101
105
|
entity_ids: nil,
|
|
102
106
|
request_options: {}
|
|
103
107
|
)
|
|
@@ -34,7 +34,8 @@ module FinchAPI
|
|
|
34
34
|
# The end date to retrieve pay statement items by via their last seen pay date in
|
|
35
35
|
# `YYYY-MM-DD` format.
|
|
36
36
|
end_date: nil,
|
|
37
|
-
# The entity IDs to specify which entities' data to access.
|
|
37
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
38
|
+
# entity ID per request; a maximum of one is accepted.
|
|
38
39
|
entity_ids: nil,
|
|
39
40
|
# Case-insensitive partial match search by pay statement item name.
|
|
40
41
|
name: nil,
|
|
@@ -25,7 +25,8 @@ module FinchAPI
|
|
|
25
25
|
def retrieve_many(
|
|
26
26
|
# Body param: The array of batch requests. Maximum 10 payment_ids per request.
|
|
27
27
|
requests:,
|
|
28
|
-
# Query param: The entity IDs to specify which entities' data to access.
|
|
28
|
+
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
29
|
+
# exactly one entity ID per request; a maximum of one is accepted.
|
|
29
30
|
entity_ids: nil,
|
|
30
31
|
request_options: {}
|
|
31
32
|
)
|
|
@@ -20,7 +20,8 @@ module FinchAPI
|
|
|
20
20
|
# The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
21
21
|
# format. Filters payments by their **pay_date** field.
|
|
22
22
|
start_date:,
|
|
23
|
-
# The entity IDs to specify which entities' data to access.
|
|
23
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
24
|
+
# entity ID per request; a maximum of one is accepted.
|
|
24
25
|
entity_ids: nil,
|
|
25
26
|
request_options: {}
|
|
26
27
|
)
|
|
@@ -14,7 +14,8 @@ module FinchAPI
|
|
|
14
14
|
end
|
|
15
15
|
def retrieve(
|
|
16
16
|
pay_group_id,
|
|
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
|
entity_ids: nil,
|
|
19
20
|
request_options: {}
|
|
20
21
|
)
|
|
@@ -34,7 +35,8 @@ module FinchAPI
|
|
|
34
35
|
)
|
|
35
36
|
end
|
|
36
37
|
def list(
|
|
37
|
-
# The entity IDs to specify which entities' data to access.
|
|
38
|
+
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
39
|
+
# entity ID per request; a maximum of one is accepted.
|
|
38
40
|
entity_ids: nil,
|
|
39
41
|
individual_id: nil,
|
|
40
42
|
pay_frequencies: nil,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: finch-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.pre.alpha.
|
|
4
|
+
version: 0.1.0.pre.alpha.49
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|