finch-api 0.1.0.pre.alpha.60 → 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 +13 -0
- data/README.md +1 -1
- data/lib/finch_api/models/access_token_create_params.rb +8 -2
- 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_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/resources/access_tokens.rb +4 -1
- data/lib/finch_api/resources/connect/sessions.rb +2 -2
- 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/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_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/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
- metadata +2 -2
|
@@ -24,7 +24,9 @@ module FinchAPI
|
|
|
24
24
|
end
|
|
25
25
|
def create(
|
|
26
26
|
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
27
|
-
# exactly one entity ID per request; a maximum of one is accepted.
|
|
27
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
28
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
29
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
28
30
|
entity_ids: nil,
|
|
29
31
|
# Body param: The company match for this benefit.
|
|
30
32
|
company_contribution: nil,
|
|
@@ -51,7 +53,9 @@ module FinchAPI
|
|
|
51
53
|
def retrieve(
|
|
52
54
|
benefit_id,
|
|
53
55
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
54
|
-
# entity ID per request; a maximum of one is accepted.
|
|
56
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
57
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
58
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
55
59
|
entity_ids: nil,
|
|
56
60
|
request_options: {}
|
|
57
61
|
)
|
|
@@ -70,7 +74,9 @@ module FinchAPI
|
|
|
70
74
|
# Path param
|
|
71
75
|
benefit_id,
|
|
72
76
|
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
73
|
-
# exactly one entity ID per request; a maximum of one is accepted.
|
|
77
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
78
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
79
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
74
80
|
entity_ids: nil,
|
|
75
81
|
# Body param: Updated name or description.
|
|
76
82
|
description: nil,
|
|
@@ -89,7 +95,9 @@ module FinchAPI
|
|
|
89
95
|
end
|
|
90
96
|
def list(
|
|
91
97
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
92
|
-
# entity ID per request; a maximum of one is accepted.
|
|
98
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
99
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
100
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
93
101
|
entity_ids: nil,
|
|
94
102
|
request_options: {}
|
|
95
103
|
)
|
|
@@ -106,7 +114,9 @@ module FinchAPI
|
|
|
106
114
|
end
|
|
107
115
|
def list_supported_benefits(
|
|
108
116
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
109
|
-
# entity ID per request; a maximum of one is accepted.
|
|
117
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
118
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
119
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
110
120
|
entity_ids: nil,
|
|
111
121
|
request_options: {}
|
|
112
122
|
)
|
|
@@ -125,7 +135,9 @@ module FinchAPI
|
|
|
125
135
|
end
|
|
126
136
|
def register(
|
|
127
137
|
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
128
|
-
# exactly one entity ID per request; a maximum of one is accepted.
|
|
138
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
139
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
140
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
129
141
|
entity_ids: nil,
|
|
130
142
|
# Body param
|
|
131
143
|
description: nil,
|
|
@@ -13,7 +13,9 @@ module FinchAPI
|
|
|
13
13
|
end
|
|
14
14
|
def retrieve(
|
|
15
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
17
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
18
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
17
19
|
entity_ids: nil,
|
|
18
20
|
request_options: {}
|
|
19
21
|
)
|
|
@@ -19,7 +19,9 @@ module FinchAPI
|
|
|
19
19
|
end
|
|
20
20
|
def list(
|
|
21
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
23
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
24
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
23
25
|
entity_ids: nil,
|
|
24
26
|
# Number of employees to return (defaults to 100, maximum 10000)
|
|
25
27
|
limit: nil,
|
|
@@ -18,7 +18,9 @@ module FinchAPI
|
|
|
18
18
|
end
|
|
19
19
|
def list(
|
|
20
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
22
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
23
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
22
24
|
entity_ids: nil,
|
|
23
25
|
# Comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
24
26
|
# defaults to all individuals
|
|
@@ -47,7 +49,9 @@ module FinchAPI
|
|
|
47
49
|
# The unique identifier of the document.
|
|
48
50
|
document_id,
|
|
49
51
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
50
|
-
# entity ID per request; a maximum of one is accepted.
|
|
52
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
53
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
54
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
51
55
|
entity_ids: nil,
|
|
52
56
|
request_options: {}
|
|
53
57
|
)
|
|
@@ -23,7 +23,9 @@ module FinchAPI
|
|
|
23
23
|
# Body param: The array of batch requests. Maximum 10000 items per request.
|
|
24
24
|
requests:,
|
|
25
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
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
27
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
28
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
27
29
|
entity_ids: nil,
|
|
28
30
|
request_options: {}
|
|
29
31
|
)
|
|
@@ -27,7 +27,9 @@ module FinchAPI
|
|
|
27
27
|
# Body param: The array of batch requests. Maximum 10000 items per request.
|
|
28
28
|
requests:,
|
|
29
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
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
31
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
32
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
31
33
|
entity_ids: nil,
|
|
32
34
|
# Body param
|
|
33
35
|
options: nil,
|
|
@@ -29,7 +29,9 @@ module FinchAPI
|
|
|
29
29
|
end
|
|
30
30
|
def create(
|
|
31
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
|
+
# ID per request; a maximum of one is accepted. Required when the connection has
|
|
33
|
+
# more than one entity — omitting it returns a `400` `invalid_request_error`.
|
|
34
|
+
# Optional for single-entity connections.
|
|
33
35
|
entity_ids: nil,
|
|
34
36
|
# Body param: Specifies the fields to be applied when the condition is met.
|
|
35
37
|
attributes: nil,
|
|
@@ -61,7 +63,9 @@ module FinchAPI
|
|
|
61
63
|
# Path param
|
|
62
64
|
rule_id,
|
|
63
65
|
# Query param: The entity IDs to update the rule for. Provide exactly one entity
|
|
64
|
-
# ID per request; a maximum of one is accepted.
|
|
66
|
+
# ID per request; a maximum of one is accepted. Required when the connection has
|
|
67
|
+
# more than one entity — omitting it returns a `400` `invalid_request_error`.
|
|
68
|
+
# Optional for single-entity connections.
|
|
65
69
|
entity_ids: nil,
|
|
66
70
|
# Body param
|
|
67
71
|
optional_property: nil,
|
|
@@ -82,7 +86,9 @@ module FinchAPI
|
|
|
82
86
|
end
|
|
83
87
|
def list(
|
|
84
88
|
# The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
85
|
-
# a maximum of one is accepted.
|
|
89
|
+
# a maximum of one is accepted. Required when the connection has more than one
|
|
90
|
+
# entity — omitting it returns a `400` `invalid_request_error`. Optional for
|
|
91
|
+
# single-entity connections.
|
|
86
92
|
entity_ids: nil,
|
|
87
93
|
request_options: {}
|
|
88
94
|
)
|
|
@@ -101,7 +107,9 @@ module FinchAPI
|
|
|
101
107
|
def delete(
|
|
102
108
|
rule_id,
|
|
103
109
|
# The entity IDs to delete the rule for. Provide exactly one entity ID per
|
|
104
|
-
# request; a maximum of one is accepted.
|
|
110
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
111
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
112
|
+
# for single-entity connections.
|
|
105
113
|
entity_ids: nil,
|
|
106
114
|
request_options: {}
|
|
107
115
|
)
|
|
@@ -35,7 +35,9 @@ module FinchAPI
|
|
|
35
35
|
# `YYYY-MM-DD` format.
|
|
36
36
|
end_date: nil,
|
|
37
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
39
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
40
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
39
41
|
entity_ids: nil,
|
|
40
42
|
# Case-insensitive partial match search by pay statement item name.
|
|
41
43
|
name: nil,
|
|
@@ -26,7 +26,9 @@ module FinchAPI
|
|
|
26
26
|
# Body param: The array of batch requests. Maximum 10 payment_ids per request.
|
|
27
27
|
requests:,
|
|
28
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
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
30
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
31
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
30
32
|
entity_ids: nil,
|
|
31
33
|
request_options: {}
|
|
32
34
|
)
|
|
@@ -21,7 +21,9 @@ module FinchAPI
|
|
|
21
21
|
# format. Filters payments by their **pay_date** field.
|
|
22
22
|
start_date:,
|
|
23
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
25
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
26
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
25
27
|
entity_ids: nil,
|
|
26
28
|
request_options: {}
|
|
27
29
|
)
|
|
@@ -15,7 +15,9 @@ module FinchAPI
|
|
|
15
15
|
def retrieve(
|
|
16
16
|
pay_group_id,
|
|
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
|
entity_ids: nil,
|
|
20
22
|
request_options: {}
|
|
21
23
|
)
|
|
@@ -36,7 +38,9 @@ module FinchAPI
|
|
|
36
38
|
end
|
|
37
39
|
def list(
|
|
38
40
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
39
|
-
# entity ID per request; a maximum of one is accepted.
|
|
41
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
42
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
43
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
40
44
|
entity_ids: nil,
|
|
41
45
|
individual_id: nil,
|
|
42
46
|
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.61
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|