finch-api 0.1.0.pre.alpha.59 → 0.1.0.pre.alpha.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +1 -1
- data/lib/finch_api/models/access_token_create_params.rb +8 -2
- data/lib/finch_api/models/account_update_event.rb +328 -8
- data/lib/finch_api/models/connect/session_new_params.rb +4 -2
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +4 -2
- data/lib/finch_api/models/hris/benefit_create_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_list_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_register_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_update_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +3 -1
- data/lib/finch_api/models/hris/company_retrieve_params.rb +3 -1
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +3 -1
- data/lib/finch_api/models/hris/directory_list_params.rb +3 -1
- data/lib/finch_api/models/hris/document_list_params.rb +3 -1
- data/lib/finch_api/models/hris/document_retreive_params.rb +3 -1
- data/lib/finch_api/models/hris/employment_data.rb +11 -1
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item_list_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/payment_list_params.rb +3 -1
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +3 -1
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +3 -1
- data/lib/finch_api/models/provider.rb +1371 -4
- data/lib/finch_api/models/provider_list_response.rb +1387 -4
- data/lib/finch_api/models/sandbox/directory_create_params.rb +11 -1
- data/lib/finch_api/models/sandbox/employment_update_params.rb +11 -1
- data/lib/finch_api/models/sandbox/employment_update_response.rb +11 -1
- data/lib/finch_api/resources/access_tokens.rb +4 -1
- data/lib/finch_api/resources/connect/sessions.rb +2 -2
- data/lib/finch_api/resources/sandbox/employment.rb +3 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/access_token_create_params.rbi +8 -2
- data/rbi/finch_api/models/account_update_event.rbi +738 -15
- data/rbi/finch_api/models/connect/session_new_params.rbi +6 -2
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_register_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +6 -2
- data/rbi/finch_api/models/hris/directory_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/document_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +6 -2
- data/rbi/finch_api/models/hris/employment_data.rbi +12 -0
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/payment_list_params.rbi +6 -2
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +6 -2
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/provider.rbi +3137 -6
- data/rbi/finch_api/models/provider_list_response.rbi +3139 -6
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +12 -0
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +12 -0
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +12 -0
- data/rbi/finch_api/resources/access_tokens.rbi +4 -1
- data/rbi/finch_api/resources/connect/sessions.rbi +6 -2
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +12 -4
- data/rbi/finch_api/resources/hris/benefits.rbi +18 -6
- data/rbi/finch_api/resources/hris/company.rbi +3 -1
- data/rbi/finch_api/resources/hris/directory.rbi +3 -1
- data/rbi/finch_api/resources/hris/documents.rbi +6 -2
- data/rbi/finch_api/resources/hris/employments.rbi +3 -1
- data/rbi/finch_api/resources/hris/individuals.rbi +3 -1
- data/rbi/finch_api/resources/hris/pay_statement_item/rules.rbi +12 -4
- data/rbi/finch_api/resources/hris/pay_statement_item.rbi +3 -1
- data/rbi/finch_api/resources/hris/pay_statements.rbi +3 -1
- data/rbi/finch_api/resources/hris/payments.rbi +3 -1
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +6 -2
- data/rbi/finch_api/resources/sandbox/employment.rbi +5 -0
- data/sig/finch_api/models/account_update_event.rbs +405 -17
- data/sig/finch_api/models/hris/employment_data.rbs +5 -0
- data/sig/finch_api/models/provider.rbs +1722 -6
- data/sig/finch_api/models/provider_list_response.rbs +1722 -6
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +5 -0
- data/sig/finch_api/resources/sandbox/employment.rbs +1 -0
- metadata +2 -2
|
@@ -80,7 +80,9 @@ module FinchAPI
|
|
|
80
80
|
end
|
|
81
81
|
attr_writer :recordkeeping
|
|
82
82
|
|
|
83
|
-
# The URI to redirect to after the Connect flow is completed
|
|
83
|
+
# The URI to redirect to after the Connect flow is completed. Required if you use
|
|
84
|
+
# the redirect flow, and it must be registered on the Credentials tab of the Finch
|
|
85
|
+
# Developer Dashboard. Omit it for the embedded flow (Connect SDK).
|
|
84
86
|
sig { returns(T.nilable(String)) }
|
|
85
87
|
attr_accessor :redirect_uri
|
|
86
88
|
|
|
@@ -137,7 +139,9 @@ module FinchAPI
|
|
|
137
139
|
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
138
140
|
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
139
141
|
recordkeeping: nil,
|
|
140
|
-
# The URI to redirect to after the Connect flow is completed
|
|
142
|
+
# The URI to redirect to after the Connect flow is completed. Required if you use
|
|
143
|
+
# the redirect flow, and it must be registered on the Credentials tab of the Finch
|
|
144
|
+
# Developer Dashboard. Omit it for the embedded flow (Connect SDK).
|
|
141
145
|
redirect_uri: nil,
|
|
142
146
|
# Sandbox mode for testing
|
|
143
147
|
sandbox: nil,
|
|
@@ -41,7 +41,9 @@ module FinchAPI
|
|
|
41
41
|
end
|
|
42
42
|
attr_accessor :products
|
|
43
43
|
|
|
44
|
-
# The URI to redirect to after the Connect flow is completed
|
|
44
|
+
# The URI to redirect to after the Connect flow is completed. Required if you use
|
|
45
|
+
# the redirect flow, and it must be registered on the Credentials tab of the Finch
|
|
46
|
+
# Developer Dashboard. Omit it for the embedded flow (Connect SDK).
|
|
45
47
|
sig { returns(T.nilable(String)) }
|
|
46
48
|
attr_accessor :redirect_uri
|
|
47
49
|
|
|
@@ -69,7 +71,9 @@ module FinchAPI
|
|
|
69
71
|
# `benefits` to access deductions endpoints — `deduction` is a deprecated alias
|
|
70
72
|
# that is still accepted but should not be combined with `benefits`.
|
|
71
73
|
products: nil,
|
|
72
|
-
# The URI to redirect to after the Connect flow is completed
|
|
74
|
+
# The URI to redirect to after the Connect flow is completed. Required if you use
|
|
75
|
+
# the redirect flow, and it must be registered on the Credentials tab of the Finch
|
|
76
|
+
# Developer Dashboard. Omit it for the embedded flow (Connect SDK).
|
|
73
77
|
redirect_uri: nil,
|
|
74
78
|
request_options: {}
|
|
75
79
|
)
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -73,7 +75,9 @@ module FinchAPI
|
|
|
73
75
|
end
|
|
74
76
|
def self.new(
|
|
75
77
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
76
|
-
# entity ID per request; a maximum of one is accepted.
|
|
78
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
79
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
80
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
77
81
|
entity_ids: nil,
|
|
78
82
|
# The company match for this benefit.
|
|
79
83
|
company_contribution: nil,
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -31,7 +33,9 @@ module FinchAPI
|
|
|
31
33
|
end
|
|
32
34
|
def self.new(
|
|
33
35
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
34
|
-
# entity ID per request; a maximum of one is accepted.
|
|
36
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
37
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
38
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
35
39
|
entity_ids: nil,
|
|
36
40
|
request_options: {}
|
|
37
41
|
)
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -31,7 +33,9 @@ module FinchAPI
|
|
|
31
33
|
end
|
|
32
34
|
def self.new(
|
|
33
35
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
34
|
-
# entity ID per request; a maximum of one is accepted.
|
|
36
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
37
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
38
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
35
39
|
entity_ids: nil,
|
|
36
40
|
request_options: {}
|
|
37
41
|
)
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -48,7 +50,9 @@ module FinchAPI
|
|
|
48
50
|
end
|
|
49
51
|
def self.new(
|
|
50
52
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
51
|
-
# entity ID per request; a maximum of one is accepted.
|
|
53
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
54
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
55
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
52
56
|
entity_ids: nil,
|
|
53
57
|
description: nil,
|
|
54
58
|
# The frequency of the benefit deduction/contribution.
|
|
@@ -19,7 +19,9 @@ module FinchAPI
|
|
|
19
19
|
attr_accessor :benefit_id
|
|
20
20
|
|
|
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
|
sig { returns(T.nilable(T::Array[String])) }
|
|
24
26
|
attr_reader :entity_ids
|
|
25
27
|
|
|
@@ -36,7 +38,9 @@ module FinchAPI
|
|
|
36
38
|
def self.new(
|
|
37
39
|
benefit_id:,
|
|
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
|
request_options: {}
|
|
42
46
|
)
|
|
@@ -19,7 +19,9 @@ module FinchAPI
|
|
|
19
19
|
attr_accessor :benefit_id
|
|
20
20
|
|
|
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
|
sig { returns(T.nilable(T::Array[String])) }
|
|
24
26
|
attr_reader :entity_ids
|
|
25
27
|
|
|
@@ -44,7 +46,9 @@ module FinchAPI
|
|
|
44
46
|
def self.new(
|
|
45
47
|
benefit_id:,
|
|
46
48
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
47
|
-
# entity ID per request; a maximum of one is accepted.
|
|
49
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
50
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
51
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
48
52
|
entity_ids: nil,
|
|
49
53
|
# Updated name or description.
|
|
50
54
|
description: nil,
|
|
@@ -20,7 +20,9 @@ module FinchAPI
|
|
|
20
20
|
attr_accessor :benefit_id
|
|
21
21
|
|
|
22
22
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
23
|
-
# entity ID per request; a maximum of one is accepted.
|
|
23
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
24
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
25
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
24
26
|
sig { returns(T.nilable(T::Array[String])) }
|
|
25
27
|
attr_reader :entity_ids
|
|
26
28
|
|
|
@@ -63,7 +65,9 @@ module FinchAPI
|
|
|
63
65
|
def self.new(
|
|
64
66
|
benefit_id:,
|
|
65
67
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
66
|
-
# entity ID per request; a maximum of one is accepted.
|
|
68
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
69
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
70
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
67
71
|
entity_ids: nil,
|
|
68
72
|
# Array of the individual_id to enroll and a configuration object.
|
|
69
73
|
individuals: nil,
|
|
@@ -20,7 +20,9 @@ module FinchAPI
|
|
|
20
20
|
attr_accessor :benefit_id
|
|
21
21
|
|
|
22
22
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
23
|
-
# entity ID per request; a maximum of one is accepted.
|
|
23
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
24
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
25
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
24
26
|
sig { returns(T.nilable(T::Array[String])) }
|
|
25
27
|
attr_reader :entity_ids
|
|
26
28
|
|
|
@@ -37,7 +39,9 @@ module FinchAPI
|
|
|
37
39
|
def self.new(
|
|
38
40
|
benefit_id:,
|
|
39
41
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
40
|
-
# entity ID per request; a maximum of one is accepted.
|
|
42
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
43
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
44
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
41
45
|
entity_ids: nil,
|
|
42
46
|
request_options: {}
|
|
43
47
|
)
|
|
@@ -20,7 +20,9 @@ module FinchAPI
|
|
|
20
20
|
attr_accessor :benefit_id
|
|
21
21
|
|
|
22
22
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
23
|
-
# entity ID per request; a maximum of one is accepted.
|
|
23
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
24
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
25
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
24
26
|
sig { returns(T.nilable(T::Array[String])) }
|
|
25
27
|
attr_reader :entity_ids
|
|
26
28
|
|
|
@@ -46,7 +48,9 @@ module FinchAPI
|
|
|
46
48
|
def self.new(
|
|
47
49
|
benefit_id:,
|
|
48
50
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
49
|
-
# entity ID per request; a maximum of one is accepted.
|
|
51
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
52
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
53
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
50
54
|
entity_ids: nil,
|
|
51
55
|
# comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
52
56
|
# defaults to all individuals
|
|
@@ -20,7 +20,9 @@ module FinchAPI
|
|
|
20
20
|
attr_accessor :benefit_id
|
|
21
21
|
|
|
22
22
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
23
|
-
# entity ID per request; a maximum of one is accepted.
|
|
23
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
24
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
25
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
24
26
|
sig { returns(T.nilable(T::Array[String])) }
|
|
25
27
|
attr_reader :entity_ids
|
|
26
28
|
|
|
@@ -45,7 +47,9 @@ module FinchAPI
|
|
|
45
47
|
def self.new(
|
|
46
48
|
benefit_id:,
|
|
47
49
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
48
|
-
# entity ID per request; a maximum of one is accepted.
|
|
50
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
51
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
52
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
49
53
|
entity_ids: nil,
|
|
50
54
|
# Array of individual_ids to unenroll.
|
|
51
55
|
individual_ids: nil,
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -31,7 +33,9 @@ module FinchAPI
|
|
|
31
33
|
end
|
|
32
34
|
def self.new(
|
|
33
35
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
34
|
-
# entity ID per request; a maximum of one is accepted.
|
|
36
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
37
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
38
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
35
39
|
entity_ids: nil,
|
|
36
40
|
request_options: {}
|
|
37
41
|
)
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -47,7 +49,9 @@ module FinchAPI
|
|
|
47
49
|
end
|
|
48
50
|
def self.new(
|
|
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
|
# Number of employees to return (defaults to 100, maximum 10000)
|
|
53
57
|
limit: nil,
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -47,7 +49,9 @@ module FinchAPI
|
|
|
47
49
|
end
|
|
48
50
|
def self.new(
|
|
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
|
# Number of employees to return (defaults to 100, maximum 10000)
|
|
53
57
|
limit: nil,
|
|
@@ -16,7 +16,9 @@ module FinchAPI
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
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
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
20
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
21
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
20
22
|
sig { returns(T.nilable(T::Array[String])) }
|
|
21
23
|
attr_reader :entity_ids
|
|
22
24
|
|
|
@@ -75,7 +77,9 @@ module FinchAPI
|
|
|
75
77
|
end
|
|
76
78
|
def self.new(
|
|
77
79
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
78
|
-
# entity ID per request; a maximum of one is accepted.
|
|
80
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
81
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
82
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
79
83
|
entity_ids: nil,
|
|
80
84
|
# Comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
81
85
|
# defaults to all individuals
|
|
@@ -19,7 +19,9 @@ module FinchAPI
|
|
|
19
19
|
attr_accessor :document_id
|
|
20
20
|
|
|
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
|
sig { returns(T.nilable(T::Array[String])) }
|
|
24
26
|
attr_reader :entity_ids
|
|
25
27
|
|
|
@@ -36,7 +38,9 @@ module FinchAPI
|
|
|
36
38
|
def self.new(
|
|
37
39
|
document_id:,
|
|
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
|
request_options: {}
|
|
42
46
|
)
|
|
@@ -27,6 +27,12 @@ module FinchAPI
|
|
|
27
27
|
sig { returns(String) }
|
|
28
28
|
attr_accessor :id
|
|
29
29
|
|
|
30
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
31
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
32
|
+
# configured.
|
|
33
|
+
sig { returns(T.nilable(String)) }
|
|
34
|
+
attr_accessor :benefit_eligibility_class
|
|
35
|
+
|
|
30
36
|
# Worker's compensation classification code for this employee
|
|
31
37
|
sig { returns(T.nilable(String)) }
|
|
32
38
|
attr_accessor :class_code
|
|
@@ -204,6 +210,7 @@ module FinchAPI
|
|
|
204
210
|
sig do
|
|
205
211
|
params(
|
|
206
212
|
id: String,
|
|
213
|
+
benefit_eligibility_class: T.nilable(String),
|
|
207
214
|
class_code: T.nilable(String),
|
|
208
215
|
department:
|
|
209
216
|
T.nilable(
|
|
@@ -254,6 +261,10 @@ module FinchAPI
|
|
|
254
261
|
def self.new(
|
|
255
262
|
# A stable Finch `id` (UUID v4) for an individual in the company.
|
|
256
263
|
id:,
|
|
264
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
265
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
266
|
+
# configured.
|
|
267
|
+
benefit_eligibility_class:,
|
|
257
268
|
# Worker's compensation classification code for this employee
|
|
258
269
|
class_code:,
|
|
259
270
|
# The department object.
|
|
@@ -313,6 +324,7 @@ module FinchAPI
|
|
|
313
324
|
override.returns(
|
|
314
325
|
{
|
|
315
326
|
id: String,
|
|
327
|
+
benefit_eligibility_class: T.nilable(String),
|
|
316
328
|
class_code: T.nilable(String),
|
|
317
329
|
department:
|
|
318
330
|
T.nilable(
|
|
@@ -24,7 +24,9 @@ module FinchAPI
|
|
|
24
24
|
attr_accessor :requests
|
|
25
25
|
|
|
26
26
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
27
|
-
# entity ID per request; a maximum of one is accepted.
|
|
27
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
28
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
29
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
28
30
|
sig { returns(T.nilable(T::Array[String])) }
|
|
29
31
|
attr_reader :entity_ids
|
|
30
32
|
|
|
@@ -45,7 +47,9 @@ module FinchAPI
|
|
|
45
47
|
# The array of batch requests. Maximum 10000 items per request.
|
|
46
48
|
requests:,
|
|
47
49
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
48
|
-
# entity ID per request; a maximum of one is accepted.
|
|
50
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
51
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
52
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
49
53
|
entity_ids: nil,
|
|
50
54
|
request_options: {}
|
|
51
55
|
)
|
|
@@ -24,7 +24,9 @@ module FinchAPI
|
|
|
24
24
|
attr_accessor :requests
|
|
25
25
|
|
|
26
26
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
27
|
-
# entity ID per request; a maximum of one is accepted.
|
|
27
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
28
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
29
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
28
30
|
sig { returns(T.nilable(T::Array[String])) }
|
|
29
31
|
attr_reader :entity_ids
|
|
30
32
|
|
|
@@ -66,7 +68,9 @@ module FinchAPI
|
|
|
66
68
|
# The array of batch requests. Maximum 10000 items per request.
|
|
67
69
|
requests:,
|
|
68
70
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
69
|
-
# entity ID per request; a maximum of one is accepted.
|
|
71
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
72
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
73
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
70
74
|
entity_ids: nil,
|
|
71
75
|
options: nil,
|
|
72
76
|
request_options: {}
|
|
@@ -17,7 +17,9 @@ module FinchAPI
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
# The entity IDs to create the rule for. Provide exactly one entity ID per
|
|
20
|
-
# request; a maximum of one is accepted.
|
|
20
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
21
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
22
|
+
# for single-entity connections.
|
|
21
23
|
sig { returns(T.nilable(T::Array[String])) }
|
|
22
24
|
attr_reader :entity_ids
|
|
23
25
|
|
|
@@ -107,7 +109,9 @@ module FinchAPI
|
|
|
107
109
|
end
|
|
108
110
|
def self.new(
|
|
109
111
|
# The entity IDs to create the rule for. Provide exactly one entity ID per
|
|
110
|
-
# request; a maximum of one is accepted.
|
|
112
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
113
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
114
|
+
# for single-entity connections.
|
|
111
115
|
entity_ids: nil,
|
|
112
116
|
# Specifies the fields to be applied when the condition is met.
|
|
113
117
|
attributes: nil,
|
|
@@ -20,7 +20,9 @@ module FinchAPI
|
|
|
20
20
|
attr_accessor :rule_id
|
|
21
21
|
|
|
22
22
|
# The entity IDs to delete the rule for. Provide exactly one entity ID per
|
|
23
|
-
# request; a maximum of one is accepted.
|
|
23
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
24
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
25
|
+
# for single-entity connections.
|
|
24
26
|
sig { returns(T.nilable(T::Array[String])) }
|
|
25
27
|
attr_reader :entity_ids
|
|
26
28
|
|
|
@@ -37,7 +39,9 @@ module FinchAPI
|
|
|
37
39
|
def self.new(
|
|
38
40
|
rule_id:,
|
|
39
41
|
# The entity IDs to delete the rule for. Provide exactly one entity ID per
|
|
40
|
-
# request; a maximum of one is accepted.
|
|
42
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
43
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
44
|
+
# for single-entity connections.
|
|
41
45
|
entity_ids: nil,
|
|
42
46
|
request_options: {}
|
|
43
47
|
)
|
|
@@ -17,7 +17,9 @@ module FinchAPI
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
# The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
20
|
-
# a maximum of one is accepted.
|
|
20
|
+
# a maximum of one is accepted. Required when the connection has more than one
|
|
21
|
+
# entity — omitting it returns a `400` `invalid_request_error`. Optional for
|
|
22
|
+
# single-entity connections.
|
|
21
23
|
sig { returns(T.nilable(T::Array[String])) }
|
|
22
24
|
attr_reader :entity_ids
|
|
23
25
|
|
|
@@ -32,7 +34,9 @@ module FinchAPI
|
|
|
32
34
|
end
|
|
33
35
|
def self.new(
|
|
34
36
|
# The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
|
|
35
|
-
# a maximum of one is accepted.
|
|
37
|
+
# a maximum of one is accepted. Required when the connection has more than one
|
|
38
|
+
# entity — omitting it returns a `400` `invalid_request_error`. Optional for
|
|
39
|
+
# single-entity connections.
|
|
36
40
|
entity_ids: nil,
|
|
37
41
|
request_options: {}
|
|
38
42
|
)
|
|
@@ -20,7 +20,9 @@ module FinchAPI
|
|
|
20
20
|
attr_accessor :rule_id
|
|
21
21
|
|
|
22
22
|
# The entity IDs to update the rule for. Provide exactly one entity ID per
|
|
23
|
-
# request; a maximum of one is accepted.
|
|
23
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
24
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
25
|
+
# for single-entity connections.
|
|
24
26
|
sig { returns(T.nilable(T::Array[String])) }
|
|
25
27
|
attr_reader :entity_ids
|
|
26
28
|
|
|
@@ -44,7 +46,9 @@ module FinchAPI
|
|
|
44
46
|
def self.new(
|
|
45
47
|
rule_id:,
|
|
46
48
|
# The entity IDs to update the rule for. Provide exactly one entity ID per
|
|
47
|
-
# request; a maximum of one is accepted.
|
|
49
|
+
# request; a maximum of one is accepted. Required when the connection has more
|
|
50
|
+
# than one entity — omitting it returns a `400` `invalid_request_error`. Optional
|
|
51
|
+
# for single-entity connections.
|
|
48
52
|
entity_ids: nil,
|
|
49
53
|
optional_property: nil,
|
|
50
54
|
request_options: {}
|
|
@@ -47,7 +47,9 @@ module FinchAPI
|
|
|
47
47
|
attr_writer :end_date
|
|
48
48
|
|
|
49
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.
|
|
50
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
51
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
52
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
51
53
|
sig { returns(T.nilable(T::Array[String])) }
|
|
52
54
|
attr_reader :entity_ids
|
|
53
55
|
|
|
@@ -98,7 +100,9 @@ module FinchAPI
|
|
|
98
100
|
# `YYYY-MM-DD` format.
|
|
99
101
|
end_date: nil,
|
|
100
102
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
101
|
-
# entity ID per request; a maximum of one is accepted.
|
|
103
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
104
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
105
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
102
106
|
entity_ids: nil,
|
|
103
107
|
# Case-insensitive partial match search by pay statement item name.
|
|
104
108
|
name: nil,
|
|
@@ -24,7 +24,9 @@ module FinchAPI
|
|
|
24
24
|
attr_accessor :requests
|
|
25
25
|
|
|
26
26
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
27
|
-
# entity ID per request; a maximum of one is accepted.
|
|
27
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
28
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
29
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
28
30
|
sig { returns(T.nilable(T::Array[String])) }
|
|
29
31
|
attr_reader :entity_ids
|
|
30
32
|
|
|
@@ -45,7 +47,9 @@ module FinchAPI
|
|
|
45
47
|
# The array of batch requests. Maximum 10 payment_ids per request.
|
|
46
48
|
requests:,
|
|
47
49
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
48
|
-
# entity ID per request; a maximum of one is accepted.
|
|
50
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
51
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
52
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
49
53
|
entity_ids: nil,
|
|
50
54
|
request_options: {}
|
|
51
55
|
)
|
|
@@ -26,7 +26,9 @@ module FinchAPI
|
|
|
26
26
|
attr_accessor :start_date
|
|
27
27
|
|
|
28
28
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
29
|
-
# entity ID per request; a maximum of one is accepted.
|
|
29
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
30
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
31
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
30
32
|
sig { returns(T.nilable(T::Array[String])) }
|
|
31
33
|
attr_reader :entity_ids
|
|
32
34
|
|
|
@@ -49,7 +51,9 @@ module FinchAPI
|
|
|
49
51
|
# format. Filters payments by their **pay_date** field.
|
|
50
52
|
start_date:,
|
|
51
53
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
52
|
-
# entity ID per request; a maximum of one is accepted.
|
|
54
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
55
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
56
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
53
57
|
entity_ids: nil,
|
|
54
58
|
request_options: {}
|
|
55
59
|
)
|