finch-api 0.1.0.pre.alpha.40 → 0.1.0.pre.alpha.41
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 +14 -0
- data/README.md +1 -1
- data/lib/finch_api/models/hris/employment_data.rb +3 -5
- data/lib/finch_api/models/hris/payment_list_params.rb +2 -2
- data/lib/finch_api/models/sandbox/directory_create_params.rb +3 -5
- data/lib/finch_api/models/sandbox/employment_update_params.rb +3 -5
- data/lib/finch_api/models/sandbox/employment_update_response.rb +3 -5
- data/lib/finch_api/resources/hris/benefits/individuals.rb +2 -2
- data/lib/finch_api/resources/hris/benefits.rb +1 -1
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +10 -15
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +2 -3
- data/lib/finch_api/resources/hris/individuals.rb +2 -2
- data/lib/finch_api/resources/jobs/manual.rb +2 -2
- data/lib/finch_api/resources/sandbox/employment.rb +1 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/hris/employment_data.rbi +3 -6
- data/rbi/finch_api/models/hris/payment_list_params.rbi +4 -4
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +3 -6
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +3 -6
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +3 -6
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +2 -2
- data/rbi/finch_api/resources/hris/benefits.rbi +1 -1
- data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +10 -15
- data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +2 -3
- data/rbi/finch_api/resources/hris/individuals.rbi +2 -2
- data/rbi/finch_api/resources/hris/payments.rbi +2 -2
- data/rbi/finch_api/resources/jobs/manual.rbi +2 -2
- data/rbi/finch_api/resources/sandbox/employment.rbi +1 -2
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0c2c976c70cb05a8a51e10cc2dd857fe65096c2547a525d0322d728d6b9c273
|
|
4
|
+
data.tar.gz: 25b6ecd53cfa6fbab429c14406bbe99d4b29cf261123db10253d66c6b9d56004
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0676202b2ce5c5e50799b4b507b92a27fc63ba723ac05e56363621082032992c1f2bf3a9f74d27c860120141eb8e2df3904d37a3acf8f17f8fc55cfafb36fc4f
|
|
7
|
+
data.tar.gz: acaa49d18fc5567cd1d04cb8f34b80d62570f08d9c0cd4bc69230736249f2b5c138191e5b5f82e79875ae225175265a502a479604d341b40ae7657d675c4174e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.41 (2026-01-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.40...v0.1.0-alpha.41](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.40...v0.1.0-alpha.41)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([c7cf406](https://github.com/Finch-API/finch-api-ruby/commit/c7cf4068b9cff10eb1b8c34ee507375a31bcc412))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* fix typo in descriptions ([6ea1ae9](https://github.com/Finch-API/finch-api-ruby/commit/6ea1ae93b192ad7ec8a54e9881665decc46a716b))
|
|
15
|
+
* move `cgi` into dependencies for ruby 4 ([05f9567](https://github.com/Finch-API/finch-api-ruby/commit/05f95676c9102c184d4d157c055f4387f42dc66b))
|
|
16
|
+
|
|
3
17
|
## 0.1.0-alpha.40 (2026-01-05)
|
|
4
18
|
|
|
5
19
|
Full Changelog: [v0.1.0-alpha.39...v0.1.0-alpha.40](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.39...v0.1.0-alpha.40)
|
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.41"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
|
@@ -36,8 +36,7 @@ module FinchAPI
|
|
|
36
36
|
required :employment, -> { FinchAPI::HRIS::EmploymentData::UnionMember0::Employment }, nil?: true
|
|
37
37
|
|
|
38
38
|
# @!attribute employment_status
|
|
39
|
-
# The detailed employment status of the individual.
|
|
40
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
39
|
+
# The detailed employment status of the individual.
|
|
41
40
|
#
|
|
42
41
|
# @return [Symbol, FinchAPI::Models::HRIS::EmploymentData::UnionMember0::EmploymentStatus, nil]
|
|
43
42
|
required :employment_status,
|
|
@@ -154,7 +153,7 @@ module FinchAPI
|
|
|
154
153
|
#
|
|
155
154
|
# @param employment [FinchAPI::Models::HRIS::EmploymentData::UnionMember0::Employment, nil] The employment object.
|
|
156
155
|
#
|
|
157
|
-
# @param employment_status [Symbol, FinchAPI::Models::HRIS::EmploymentData::UnionMember0::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
156
|
+
# @param employment_status [Symbol, FinchAPI::Models::HRIS::EmploymentData::UnionMember0::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
158
157
|
#
|
|
159
158
|
# @param end_date [String, nil]
|
|
160
159
|
#
|
|
@@ -264,8 +263,7 @@ module FinchAPI
|
|
|
264
263
|
end
|
|
265
264
|
end
|
|
266
265
|
|
|
267
|
-
# The detailed employment status of the individual.
|
|
268
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
266
|
+
# The detailed employment status of the individual.
|
|
269
267
|
#
|
|
270
268
|
# @see FinchAPI::Models::HRIS::EmploymentData::UnionMember0#employment_status
|
|
271
269
|
module EmploymentStatus
|
|
@@ -10,14 +10,14 @@ module FinchAPI
|
|
|
10
10
|
|
|
11
11
|
# @!attribute end_date
|
|
12
12
|
# The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
13
|
-
# format.
|
|
13
|
+
# format. Filters payments by their **pay_date** field.
|
|
14
14
|
#
|
|
15
15
|
# @return [Date]
|
|
16
16
|
required :end_date, Date
|
|
17
17
|
|
|
18
18
|
# @!attribute start_date
|
|
19
19
|
# The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
20
|
-
# format.
|
|
20
|
+
# format. Filters payments by their **pay_date** field.
|
|
21
21
|
#
|
|
22
22
|
# @return [Date]
|
|
23
23
|
required :start_date, Date
|
|
@@ -69,8 +69,7 @@ module FinchAPI
|
|
|
69
69
|
optional :employment, -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment }, nil?: true
|
|
70
70
|
|
|
71
71
|
# @!attribute employment_status
|
|
72
|
-
# The detailed employment status of the individual.
|
|
73
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
72
|
+
# The detailed employment status of the individual.
|
|
74
73
|
#
|
|
75
74
|
# @return [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus, nil]
|
|
76
75
|
optional :employment_status,
|
|
@@ -225,7 +224,7 @@ module FinchAPI
|
|
|
225
224
|
#
|
|
226
225
|
# @param employment [FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment, nil] The employment object.
|
|
227
226
|
#
|
|
228
|
-
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
227
|
+
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
229
228
|
#
|
|
230
229
|
# @param encrypted_ssn [String, nil] Social Security Number of the individual in **encrypted** format. This field is
|
|
231
230
|
#
|
|
@@ -392,8 +391,7 @@ module FinchAPI
|
|
|
392
391
|
end
|
|
393
392
|
end
|
|
394
393
|
|
|
395
|
-
# The detailed employment status of the individual.
|
|
396
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
394
|
+
# The detailed employment status of the individual.
|
|
397
395
|
#
|
|
398
396
|
# @see FinchAPI::Models::Sandbox::DirectoryCreateParams::Body#employment_status
|
|
399
397
|
module EmploymentStatus
|
|
@@ -39,8 +39,7 @@ module FinchAPI
|
|
|
39
39
|
optional :employment, -> { FinchAPI::Sandbox::EmploymentUpdateParams::Employment }, nil?: true
|
|
40
40
|
|
|
41
41
|
# @!attribute employment_status
|
|
42
|
-
# The detailed employment status of the individual.
|
|
43
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
42
|
+
# The detailed employment status of the individual.
|
|
44
43
|
#
|
|
45
44
|
# @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil]
|
|
46
45
|
optional :employment_status,
|
|
@@ -137,7 +136,7 @@ module FinchAPI
|
|
|
137
136
|
#
|
|
138
137
|
# @param employment [FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment, nil] The employment object.
|
|
139
138
|
#
|
|
140
|
-
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
139
|
+
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
141
140
|
#
|
|
142
141
|
# @param end_date [String, nil]
|
|
143
142
|
#
|
|
@@ -257,8 +256,7 @@ module FinchAPI
|
|
|
257
256
|
end
|
|
258
257
|
end
|
|
259
258
|
|
|
260
|
-
# The detailed employment status of the individual.
|
|
261
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
259
|
+
# The detailed employment status of the individual.
|
|
262
260
|
module EmploymentStatus
|
|
263
261
|
extend FinchAPI::Internal::Type::Enum
|
|
264
262
|
|
|
@@ -40,8 +40,7 @@ module FinchAPI
|
|
|
40
40
|
optional :employment, -> { FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment }, nil?: true
|
|
41
41
|
|
|
42
42
|
# @!attribute employment_status
|
|
43
|
-
# The detailed employment status of the individual.
|
|
44
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
43
|
+
# The detailed employment status of the individual.
|
|
45
44
|
#
|
|
46
45
|
# @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus, nil]
|
|
47
46
|
optional :employment_status,
|
|
@@ -140,7 +139,7 @@ module FinchAPI
|
|
|
140
139
|
#
|
|
141
140
|
# @param employment [FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment, nil] The employment object.
|
|
142
141
|
#
|
|
143
|
-
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
142
|
+
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
144
143
|
#
|
|
145
144
|
# @param end_date [String, nil]
|
|
146
145
|
#
|
|
@@ -260,8 +259,7 @@ module FinchAPI
|
|
|
260
259
|
end
|
|
261
260
|
end
|
|
262
261
|
|
|
263
|
-
# The detailed employment status of the individual.
|
|
264
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
262
|
+
# The detailed employment status of the individual.
|
|
265
263
|
#
|
|
266
264
|
# @see FinchAPI::Models::Sandbox::EmploymentUpdateResponse#employment_status
|
|
267
265
|
module EmploymentStatus
|
|
@@ -12,7 +12,7 @@ module FinchAPI
|
|
|
12
12
|
#
|
|
13
13
|
# @overload enroll_many(benefit_id, entity_ids: nil, individuals: nil, request_options: {})
|
|
14
14
|
#
|
|
15
|
-
# @param benefit_id [String] Path param
|
|
15
|
+
# @param benefit_id [String] Path param
|
|
16
16
|
#
|
|
17
17
|
# @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
|
|
18
18
|
#
|
|
@@ -94,7 +94,7 @@ module FinchAPI
|
|
|
94
94
|
#
|
|
95
95
|
# @overload unenroll_many(benefit_id, entity_ids: nil, individual_ids: nil, request_options: {})
|
|
96
96
|
#
|
|
97
|
-
# @param benefit_id [String] Path param
|
|
97
|
+
# @param benefit_id [String] Path param
|
|
98
98
|
#
|
|
99
99
|
# @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
|
|
100
100
|
#
|
|
@@ -71,7 +71,7 @@ module FinchAPI
|
|
|
71
71
|
#
|
|
72
72
|
# @overload update(benefit_id, entity_ids: nil, description: nil, request_options: {})
|
|
73
73
|
#
|
|
74
|
-
# @param benefit_id [String] Path param
|
|
74
|
+
# @param benefit_id [String] Path param
|
|
75
75
|
#
|
|
76
76
|
# @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
|
|
77
77
|
#
|
|
@@ -10,12 +10,10 @@ module FinchAPI
|
|
|
10
10
|
# {FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams} for more
|
|
11
11
|
# details.
|
|
12
12
|
#
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
# pre-tax 401k. This metadata can be retrieved where pay statement item
|
|
18
|
-
# information is available.
|
|
13
|
+
# Custom rules can be created to associate specific attributes to pay statement
|
|
14
|
+
# items depending on the use case. For example, pay statement items that meet
|
|
15
|
+
# certain conditions can be labeled as a pre-tax 401k. This metadata can be
|
|
16
|
+
# retrieved where pay statement item information is available.
|
|
19
17
|
#
|
|
20
18
|
# @overload create(entity_ids: nil, attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
|
|
21
19
|
#
|
|
@@ -23,7 +21,7 @@ module FinchAPI
|
|
|
23
21
|
#
|
|
24
22
|
# @param attributes [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes] Body param: Specifies the fields to be applied when the condition is met.
|
|
25
23
|
#
|
|
26
|
-
# @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>] Body param
|
|
24
|
+
# @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>] Body param
|
|
27
25
|
#
|
|
28
26
|
# @param effective_end_date [String, nil] Body param: Specifies when the rules should stop applying rules based on the dat
|
|
29
27
|
#
|
|
@@ -49,16 +47,15 @@ module FinchAPI
|
|
|
49
47
|
)
|
|
50
48
|
end
|
|
51
49
|
|
|
52
|
-
#
|
|
53
|
-
# historical support will be added soon Update a rule for a pay statement item.
|
|
50
|
+
# Update a rule for a pay statement item.
|
|
54
51
|
#
|
|
55
52
|
# @overload update(rule_id, entity_ids: nil, optional_property: nil, request_options: {})
|
|
56
53
|
#
|
|
57
|
-
# @param rule_id [String] Path param
|
|
54
|
+
# @param rule_id [String] Path param
|
|
58
55
|
#
|
|
59
56
|
# @param entity_ids [Array<String>] Query param: The entity IDs to update the rule for.
|
|
60
57
|
#
|
|
61
|
-
# @param optional_property [Object] Body param
|
|
58
|
+
# @param optional_property [Object] Body param
|
|
62
59
|
#
|
|
63
60
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
64
61
|
#
|
|
@@ -78,8 +75,7 @@ module FinchAPI
|
|
|
78
75
|
)
|
|
79
76
|
end
|
|
80
77
|
|
|
81
|
-
#
|
|
82
|
-
# historical support will be added soon List all rules of a connection account.
|
|
78
|
+
# List all rules of a connection account.
|
|
83
79
|
#
|
|
84
80
|
# @overload list(entity_ids: nil, request_options: {})
|
|
85
81
|
#
|
|
@@ -102,8 +98,7 @@ module FinchAPI
|
|
|
102
98
|
)
|
|
103
99
|
end
|
|
104
100
|
|
|
105
|
-
#
|
|
106
|
-
# historical support will be added soon Delete a rule for a pay statement item.
|
|
101
|
+
# Delete a rule for a pay statement item.
|
|
107
102
|
#
|
|
108
103
|
# @overload delete(rule_id, entity_ids: nil, request_options: {})
|
|
109
104
|
#
|
|
@@ -11,9 +11,8 @@ module FinchAPI
|
|
|
11
11
|
# Some parameter documentations has been truncated, see
|
|
12
12
|
# {FinchAPI::Models::HRIS::Company::PayStatementItemListParams} for more details.
|
|
13
13
|
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
# items for the access token's connection account.
|
|
14
|
+
# Retrieve a list of detailed pay statement items for the access token's
|
|
15
|
+
# connection account.
|
|
17
16
|
#
|
|
18
17
|
# @overload list(categories: nil, end_date: nil, entity_ids: nil, name: nil, start_date: nil, type: nil, request_options: {})
|
|
19
18
|
#
|
|
@@ -10,9 +10,9 @@ module FinchAPI
|
|
|
10
10
|
#
|
|
11
11
|
# @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
|
|
12
12
|
#
|
|
13
|
-
# @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil] Body param
|
|
13
|
+
# @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil] Body param
|
|
14
14
|
#
|
|
15
|
-
# @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>] Body param
|
|
15
|
+
# @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>] Body param
|
|
16
16
|
#
|
|
17
17
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
18
18
|
#
|
|
@@ -4,8 +4,8 @@ module FinchAPI
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Jobs
|
|
6
6
|
class Manual
|
|
7
|
-
#
|
|
8
|
-
#
|
|
7
|
+
# Check the status and outcome of a job by `job_id`. This includes all deductions
|
|
8
|
+
# jobs including those for both automated and assisted integrations.
|
|
9
9
|
#
|
|
10
10
|
# @overload retrieve(job_id, request_options: {})
|
|
11
11
|
#
|
|
@@ -21,7 +21,7 @@ module FinchAPI
|
|
|
21
21
|
#
|
|
22
22
|
# @param employment [FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment, nil] The employment object.
|
|
23
23
|
#
|
|
24
|
-
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
24
|
+
# @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual.
|
|
25
25
|
#
|
|
26
26
|
# @param end_date [String, nil]
|
|
27
27
|
#
|
data/lib/finch_api/version.rb
CHANGED
|
@@ -71,8 +71,7 @@ module FinchAPI
|
|
|
71
71
|
end
|
|
72
72
|
attr_writer :employment
|
|
73
73
|
|
|
74
|
-
# The detailed employment status of the individual.
|
|
75
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
74
|
+
# The detailed employment status of the individual.
|
|
76
75
|
sig do
|
|
77
76
|
returns(
|
|
78
77
|
T.nilable(
|
|
@@ -221,8 +220,7 @@ module FinchAPI
|
|
|
221
220
|
department:,
|
|
222
221
|
# The employment object.
|
|
223
222
|
employment:,
|
|
224
|
-
# The detailed employment status of the individual.
|
|
225
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
223
|
+
# The detailed employment status of the individual.
|
|
226
224
|
employment_status:,
|
|
227
225
|
end_date:,
|
|
228
226
|
# The legal first name of the individual.
|
|
@@ -491,8 +489,7 @@ module FinchAPI
|
|
|
491
489
|
end
|
|
492
490
|
end
|
|
493
491
|
|
|
494
|
-
# The detailed employment status of the individual.
|
|
495
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
492
|
+
# The detailed employment status of the individual.
|
|
496
493
|
module EmploymentStatus
|
|
497
494
|
extend FinchAPI::Internal::Type::Enum
|
|
498
495
|
|
|
@@ -16,12 +16,12 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
19
|
-
# format.
|
|
19
|
+
# format. Filters payments by their **pay_date** field.
|
|
20
20
|
sig { returns(Date) }
|
|
21
21
|
attr_accessor :end_date
|
|
22
22
|
|
|
23
23
|
# The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
24
|
-
# format.
|
|
24
|
+
# format. Filters payments by their **pay_date** field.
|
|
25
25
|
sig { returns(Date) }
|
|
26
26
|
attr_accessor :start_date
|
|
27
27
|
|
|
@@ -42,10 +42,10 @@ module FinchAPI
|
|
|
42
42
|
end
|
|
43
43
|
def self.new(
|
|
44
44
|
# The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
45
|
-
# format.
|
|
45
|
+
# format. Filters payments by their **pay_date** field.
|
|
46
46
|
end_date:,
|
|
47
47
|
# The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
48
|
-
# format.
|
|
48
|
+
# format. Filters payments by their **pay_date** field.
|
|
49
49
|
start_date:,
|
|
50
50
|
# The entity IDs to specify which entities' data to access.
|
|
51
51
|
entity_ids: nil,
|
|
@@ -137,8 +137,7 @@ module FinchAPI
|
|
|
137
137
|
end
|
|
138
138
|
attr_writer :employment
|
|
139
139
|
|
|
140
|
-
# The detailed employment status of the individual.
|
|
141
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
140
|
+
# The detailed employment status of the individual.
|
|
142
141
|
sig do
|
|
143
142
|
returns(
|
|
144
143
|
T.nilable(
|
|
@@ -354,8 +353,7 @@ module FinchAPI
|
|
|
354
353
|
emails: nil,
|
|
355
354
|
# The employment object.
|
|
356
355
|
employment: nil,
|
|
357
|
-
# The detailed employment status of the individual.
|
|
358
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
356
|
+
# The detailed employment status of the individual.
|
|
359
357
|
employment_status: nil,
|
|
360
358
|
# Social Security Number of the individual in **encrypted** format. This field is
|
|
361
359
|
# only available with the `ssn` scope enabled and the
|
|
@@ -778,8 +776,7 @@ module FinchAPI
|
|
|
778
776
|
end
|
|
779
777
|
end
|
|
780
778
|
|
|
781
|
-
# The detailed employment status of the individual.
|
|
782
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
779
|
+
# The detailed employment status of the individual.
|
|
783
780
|
module EmploymentStatus
|
|
784
781
|
extend FinchAPI::Internal::Type::Enum
|
|
785
782
|
|
|
@@ -67,8 +67,7 @@ module FinchAPI
|
|
|
67
67
|
end
|
|
68
68
|
attr_writer :employment
|
|
69
69
|
|
|
70
|
-
# The detailed employment status of the individual.
|
|
71
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
70
|
+
# The detailed employment status of the individual.
|
|
72
71
|
sig do
|
|
73
72
|
returns(
|
|
74
73
|
T.nilable(
|
|
@@ -198,8 +197,7 @@ module FinchAPI
|
|
|
198
197
|
department: nil,
|
|
199
198
|
# The employment object.
|
|
200
199
|
employment: nil,
|
|
201
|
-
# The detailed employment status of the individual.
|
|
202
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
200
|
+
# The detailed employment status of the individual.
|
|
203
201
|
employment_status: nil,
|
|
204
202
|
end_date: nil,
|
|
205
203
|
# The legal first name of the individual.
|
|
@@ -492,8 +490,7 @@ module FinchAPI
|
|
|
492
490
|
end
|
|
493
491
|
end
|
|
494
492
|
|
|
495
|
-
# The detailed employment status of the individual.
|
|
496
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
493
|
+
# The detailed employment status of the individual.
|
|
497
494
|
module EmploymentStatus
|
|
498
495
|
extend FinchAPI::Internal::Type::Enum
|
|
499
496
|
|
|
@@ -77,8 +77,7 @@ module FinchAPI
|
|
|
77
77
|
end
|
|
78
78
|
attr_writer :employment
|
|
79
79
|
|
|
80
|
-
# The detailed employment status of the individual.
|
|
81
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
80
|
+
# The detailed employment status of the individual.
|
|
82
81
|
sig do
|
|
83
82
|
returns(
|
|
84
83
|
T.nilable(
|
|
@@ -214,8 +213,7 @@ module FinchAPI
|
|
|
214
213
|
department: nil,
|
|
215
214
|
# The employment object.
|
|
216
215
|
employment: nil,
|
|
217
|
-
# The detailed employment status of the individual.
|
|
218
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
216
|
+
# The detailed employment status of the individual.
|
|
219
217
|
employment_status: nil,
|
|
220
218
|
end_date: nil,
|
|
221
219
|
# The legal first name of the individual.
|
|
@@ -509,8 +507,7 @@ module FinchAPI
|
|
|
509
507
|
end
|
|
510
508
|
end
|
|
511
509
|
|
|
512
|
-
# The detailed employment status of the individual.
|
|
513
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
510
|
+
# The detailed employment status of the individual.
|
|
514
511
|
module EmploymentStatus
|
|
515
512
|
extend FinchAPI::Internal::Type::Enum
|
|
516
513
|
|
|
@@ -23,7 +23,7 @@ module FinchAPI
|
|
|
23
23
|
)
|
|
24
24
|
end
|
|
25
25
|
def enroll_many(
|
|
26
|
-
# Path param
|
|
26
|
+
# Path param
|
|
27
27
|
benefit_id,
|
|
28
28
|
# Query param: The entity IDs to specify which entities' data to access.
|
|
29
29
|
entity_ids: nil,
|
|
@@ -87,7 +87,7 @@ module FinchAPI
|
|
|
87
87
|
)
|
|
88
88
|
end
|
|
89
89
|
def unenroll_many(
|
|
90
|
-
# Path param
|
|
90
|
+
# Path param
|
|
91
91
|
benefit_id,
|
|
92
92
|
# Query param: The entity IDs to specify which entities' data to access.
|
|
93
93
|
entity_ids: nil,
|
|
@@ -6,12 +6,10 @@ module FinchAPI
|
|
|
6
6
|
class Company
|
|
7
7
|
class PayStatementItem
|
|
8
8
|
class Rules
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
# pre-tax 401k. This metadata can be retrieved where pay statement item
|
|
14
|
-
# information is available.
|
|
9
|
+
# Custom rules can be created to associate specific attributes to pay statement
|
|
10
|
+
# items depending on the use case. For example, pay statement items that meet
|
|
11
|
+
# certain conditions can be labeled as a pre-tax 401k. This metadata can be
|
|
12
|
+
# retrieved where pay statement item information is available.
|
|
15
13
|
sig do
|
|
16
14
|
params(
|
|
17
15
|
entity_ids: T::Array[String],
|
|
@@ -35,7 +33,7 @@ module FinchAPI
|
|
|
35
33
|
entity_ids: nil,
|
|
36
34
|
# Body param: Specifies the fields to be applied when the condition is met.
|
|
37
35
|
attributes: nil,
|
|
38
|
-
# Body param
|
|
36
|
+
# Body param
|
|
39
37
|
conditions: nil,
|
|
40
38
|
# Body param: Specifies when the rules should stop applying rules based on the
|
|
41
39
|
# date.
|
|
@@ -48,8 +46,7 @@ module FinchAPI
|
|
|
48
46
|
)
|
|
49
47
|
end
|
|
50
48
|
|
|
51
|
-
#
|
|
52
|
-
# historical support will be added soon Update a rule for a pay statement item.
|
|
49
|
+
# Update a rule for a pay statement item.
|
|
53
50
|
sig do
|
|
54
51
|
params(
|
|
55
52
|
rule_id: String,
|
|
@@ -61,18 +58,17 @@ module FinchAPI
|
|
|
61
58
|
)
|
|
62
59
|
end
|
|
63
60
|
def update(
|
|
64
|
-
# Path param
|
|
61
|
+
# Path param
|
|
65
62
|
rule_id,
|
|
66
63
|
# Query param: The entity IDs to update the rule for.
|
|
67
64
|
entity_ids: nil,
|
|
68
|
-
# Body param
|
|
65
|
+
# Body param
|
|
69
66
|
optional_property: nil,
|
|
70
67
|
request_options: {}
|
|
71
68
|
)
|
|
72
69
|
end
|
|
73
70
|
|
|
74
|
-
#
|
|
75
|
-
# historical support will be added soon List all rules of a connection account.
|
|
71
|
+
# List all rules of a connection account.
|
|
76
72
|
sig do
|
|
77
73
|
params(
|
|
78
74
|
entity_ids: T::Array[String],
|
|
@@ -90,8 +86,7 @@ module FinchAPI
|
|
|
90
86
|
)
|
|
91
87
|
end
|
|
92
88
|
|
|
93
|
-
#
|
|
94
|
-
# historical support will be added soon Delete a rule for a pay statement item.
|
|
89
|
+
# Delete a rule for a pay statement item.
|
|
95
90
|
sig do
|
|
96
91
|
params(
|
|
97
92
|
rule_id: String,
|
|
@@ -10,9 +10,8 @@ module FinchAPI
|
|
|
10
10
|
end
|
|
11
11
|
attr_reader :rules
|
|
12
12
|
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
# items for the access token's connection account.
|
|
13
|
+
# Retrieve a list of detailed pay statement items for the access token's
|
|
14
|
+
# connection account.
|
|
16
15
|
sig do
|
|
17
16
|
params(
|
|
18
17
|
categories:
|
|
@@ -26,9 +26,9 @@ module FinchAPI
|
|
|
26
26
|
def retrieve_many(
|
|
27
27
|
# Query param: The entity IDs to specify which entities' data to access.
|
|
28
28
|
entity_ids: nil,
|
|
29
|
-
# Body param
|
|
29
|
+
# Body param
|
|
30
30
|
options: nil,
|
|
31
|
-
# Body param
|
|
31
|
+
# Body param
|
|
32
32
|
requests: nil,
|
|
33
33
|
request_options: {}
|
|
34
34
|
)
|
|
@@ -15,10 +15,10 @@ module FinchAPI
|
|
|
15
15
|
end
|
|
16
16
|
def list(
|
|
17
17
|
# The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
18
|
-
# format.
|
|
18
|
+
# format. Filters payments by their **pay_date** field.
|
|
19
19
|
end_date:,
|
|
20
20
|
# The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
|
|
21
|
-
# format.
|
|
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.
|
|
24
24
|
entity_ids: nil,
|
|
@@ -4,8 +4,8 @@ module FinchAPI
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Jobs
|
|
6
6
|
class Manual
|
|
7
|
-
#
|
|
8
|
-
#
|
|
7
|
+
# Check the status and outcome of a job by `job_id`. This includes all deductions
|
|
8
|
+
# jobs including those for both automated and assisted integrations.
|
|
9
9
|
sig do
|
|
10
10
|
params(
|
|
11
11
|
job_id: String,
|
|
@@ -59,8 +59,7 @@ module FinchAPI
|
|
|
59
59
|
department: nil,
|
|
60
60
|
# The employment object.
|
|
61
61
|
employment: nil,
|
|
62
|
-
# The detailed employment status of the individual.
|
|
63
|
-
# `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
|
|
62
|
+
# The detailed employment status of the individual.
|
|
64
63
|
employment_status: nil,
|
|
65
64
|
end_date: nil,
|
|
66
65
|
# The legal first name of the individual.
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
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.41
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: cgi
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: connection_pool
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|