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
|
@@ -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
|
)
|
|
@@ -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
|
)
|
|
@@ -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
|
|
|
@@ -45,7 +47,9 @@ module FinchAPI
|
|
|
45
47
|
end
|
|
46
48
|
def self.new(
|
|
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
|
individual_id: nil,
|
|
51
55
|
pay_frequencies: nil,
|
|
@@ -19,7 +19,9 @@ module FinchAPI
|
|
|
19
19
|
attr_accessor :pay_group_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
|
pay_group_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
|
)
|
|
@@ -20,7 +20,10 @@ module FinchAPI
|
|
|
20
20
|
client_id: nil,
|
|
21
21
|
# The client secret for your application
|
|
22
22
|
client_secret: nil,
|
|
23
|
-
# The redirect URI used
|
|
23
|
+
# The redirect URI used when creating the Connect session. Required if the
|
|
24
|
+
# authorization code came from the redirect flow, and it must match the
|
|
25
|
+
# `redirect_uri` used to create the session. Omit it if the code came from the
|
|
26
|
+
# embedded flow (Connect SDK).
|
|
24
27
|
redirect_uri: nil,
|
|
25
28
|
request_options: {}
|
|
26
29
|
)
|
|
@@ -50,7 +50,9 @@ module FinchAPI
|
|
|
50
50
|
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
51
51
|
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
52
52
|
recordkeeping: nil,
|
|
53
|
-
# The URI to redirect to after the Connect flow is completed
|
|
53
|
+
# The URI to redirect to after the Connect flow is completed. Required if you use
|
|
54
|
+
# the redirect flow, and it must be registered on the Credentials tab of the Finch
|
|
55
|
+
# Developer Dashboard. Omit it for the embedded flow (Connect SDK).
|
|
54
56
|
redirect_uri: nil,
|
|
55
57
|
# Sandbox mode for testing
|
|
56
58
|
sandbox: nil,
|
|
@@ -83,7 +85,9 @@ module FinchAPI
|
|
|
83
85
|
# `benefits` to access deductions endpoints — `deduction` is a deprecated alias
|
|
84
86
|
# that is still accepted but should not be combined with `benefits`.
|
|
85
87
|
products: nil,
|
|
86
|
-
# The URI to redirect to after the Connect flow is completed
|
|
88
|
+
# The URI to redirect to after the Connect flow is completed. Required if you use
|
|
89
|
+
# the redirect flow, and it must be registered on the Credentials tab of the Finch
|
|
90
|
+
# Developer Dashboard. Omit it for the embedded flow (Connect SDK).
|
|
87
91
|
redirect_uri: nil,
|
|
88
92
|
request_options: {}
|
|
89
93
|
)
|
|
@@ -26,7 +26,9 @@ module FinchAPI
|
|
|
26
26
|
# Path param
|
|
27
27
|
benefit_id,
|
|
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
|
# Body param: Array of the individual_id to enroll and a configuration object.
|
|
32
34
|
individuals: nil,
|
|
@@ -47,7 +49,9 @@ module FinchAPI
|
|
|
47
49
|
def enrolled_ids(
|
|
48
50
|
benefit_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
|
)
|
|
@@ -69,7 +73,9 @@ module FinchAPI
|
|
|
69
73
|
def retrieve_many_benefits(
|
|
70
74
|
benefit_id,
|
|
71
75
|
# The entity IDs to specify which entities' data to access. Provide exactly one
|
|
72
|
-
# entity ID per request; a maximum of one is accepted.
|
|
76
|
+
# entity ID per request; a maximum of one is accepted. Required when the
|
|
77
|
+
# connection has more than one entity — omitting it returns a `400`
|
|
78
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
73
79
|
entity_ids: nil,
|
|
74
80
|
# comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
75
81
|
# defaults to all individuals
|
|
@@ -93,7 +99,9 @@ module FinchAPI
|
|
|
93
99
|
# Path param
|
|
94
100
|
benefit_id,
|
|
95
101
|
# Query param: The entity IDs to specify which entities' data to access. Provide
|
|
96
|
-
# exactly one entity ID per request; a maximum of one is accepted.
|
|
102
|
+
# exactly one entity ID per request; a maximum of one is accepted. Required when
|
|
103
|
+
# the connection has more than one entity — omitting it returns a `400`
|
|
104
|
+
# `invalid_request_error`. Optional for single-entity connections.
|
|
97
105
|
entity_ids: nil,
|
|
98
106
|
# Body param: Array of individual_ids to unenroll.
|
|
99
107
|
individual_ids: nil,
|