finch-api 0.1.0.pre.alpha.30 → 0.1.0.pre.alpha.32
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 +48 -0
- data/README.md +1 -1
- data/lib/finch_api/errors.rb +25 -11
- data/lib/finch_api/file_part.rb +10 -7
- data/lib/finch_api/internal/individuals_page.rb +1 -1
- data/lib/finch_api/internal/page.rb +1 -1
- data/lib/finch_api/internal/responses_page.rb +1 -1
- data/lib/finch_api/internal/single_page.rb +1 -1
- data/lib/finch_api/internal/transport/base_client.rb +11 -7
- data/lib/finch_api/internal/transport/pooled_net_requester.rb +34 -31
- data/lib/finch_api/internal/type/base_page.rb +1 -1
- data/lib/finch_api/internal/type/file_input.rb +7 -4
- data/lib/finch_api/internal/util.rb +8 -7
- data/lib/finch_api/models/connect/session_new_params.rb +66 -50
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +10 -10
- data/lib/finch_api/models/create_access_token_response.rb +9 -1
- data/lib/finch_api/models/hris/benefit_contribution.rb +124 -29
- data/lib/finch_api/models/hris/benefit_create_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_list_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_update_params.rb +9 -1
- data/lib/finch_api/models/hris/benefits/individual_benefit.rb +222 -6
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +40 -2
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +9 -1
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +9 -1
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +10 -1
- data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +9 -1
- data/lib/finch_api/models/hris/company_retrieve_params.rb +9 -1
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +9 -1
- data/lib/finch_api/models/hris/directory_list_params.rb +9 -1
- data/lib/finch_api/models/hris/document_list_params.rb +9 -1
- data/lib/finch_api/models/hris/document_response.rb +11 -11
- data/lib/finch_api/models/hris/document_retreive_params.rb +9 -1
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +9 -1
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +11 -1
- data/lib/finch_api/models/hris/pay_statement.rb +11 -15
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +9 -1
- data/lib/finch_api/models/hris/payment_list_params.rb +9 -1
- data/lib/finch_api/models/hris/supported_benefit.rb +1 -0
- data/lib/finch_api/models/hris/w42005.rb +20 -20
- data/lib/finch_api/models/hris/w42020.rb +30 -30
- data/lib/finch_api/models/introspection.rb +38 -23
- data/lib/finch_api/models/jobs/automated_list_params.rb +1 -14
- data/lib/finch_api/models/jobs/automated_retrieve_params.rb +1 -14
- data/lib/finch_api/models/jobs/manual_retrieve_params.rb +1 -14
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +11 -1
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +9 -1
- data/lib/finch_api/models/provider.rb +42 -1092
- data/lib/finch_api/models/provider_list_response.rb +143 -0
- data/lib/finch_api/models/request_forwarding_forward_params.rb +10 -6
- data/lib/finch_api/models/request_forwarding_forward_response.rb +69 -48
- data/lib/finch_api/resources/connect/sessions.rb +12 -12
- data/lib/finch_api/resources/hris/benefits/individuals.rb +24 -10
- data/lib/finch_api/resources/hris/benefits.rb +37 -16
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +38 -15
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +3 -1
- data/lib/finch_api/resources/hris/company.rb +6 -2
- data/lib/finch_api/resources/hris/directory.rb +3 -1
- data/lib/finch_api/resources/hris/documents.rb +9 -3
- data/lib/finch_api/resources/hris/employments.rb +7 -3
- data/lib/finch_api/resources/hris/individuals.rb +10 -4
- data/lib/finch_api/resources/hris/pay_statements.rb +7 -3
- data/lib/finch_api/resources/hris/payments.rb +3 -1
- data/lib/finch_api/resources/jobs/automated.rb +3 -16
- data/lib/finch_api/resources/jobs/manual.rb +2 -10
- data/lib/finch_api/resources/payroll/pay_groups.rb +12 -3
- data/lib/finch_api/resources/providers.rb +2 -2
- data/lib/finch_api/resources/request_forwarding.rb +2 -2
- data/lib/finch_api/version.rb +1 -1
- data/lib/finch_api.rb +1 -0
- data/rbi/finch_api/errors.rbi +29 -2
- data/rbi/finch_api/file_part.rbi +1 -1
- data/rbi/finch_api/internal/transport/base_client.rbi +4 -5
- data/rbi/finch_api/internal/type/base_page.rbi +1 -1
- data/rbi/finch_api/internal/util.rbi +1 -1
- data/rbi/finch_api/models/connect/session_new_params.rbi +124 -98
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +23 -23
- data/rbi/finch_api/models/create_access_token_response.rbi +8 -0
- data/rbi/finch_api/models/hris/benefit_contribution.rbi +270 -52
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +11 -0
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +24 -5
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +24 -5
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +24 -5
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +15 -1
- data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +515 -20
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +87 -0
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +22 -5
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +11 -0
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +11 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +11 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +22 -5
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +22 -5
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +15 -1
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +24 -5
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +11 -0
- data/rbi/finch_api/models/hris/directory_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/document_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/document_response.rbi +14 -29
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +24 -5
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +11 -0
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +16 -1
- data/rbi/finch_api/models/hris/pay_statement.rbi +9 -34
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +11 -0
- data/rbi/finch_api/models/hris/payment_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/supported_benefit.rbi +5 -0
- data/rbi/finch_api/models/hris/w42005.rbi +28 -38
- data/rbi/finch_api/models/hris/w42020.rbi +37 -43
- data/rbi/finch_api/models/introspection.rbi +57 -33
- data/rbi/finch_api/models/jobs/automated_list_params.rbi +0 -15
- data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +5 -25
- data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +5 -25
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +11 -0
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +24 -5
- data/rbi/finch_api/models/provider.rbi +75 -2507
- data/rbi/finch_api/models/provider_list_response.rbi +280 -0
- data/rbi/finch_api/models/request_forwarding_forward_params.rbi +6 -6
- data/rbi/finch_api/models/request_forwarding_forward_response.rbi +93 -60
- data/rbi/finch_api/resources/connect/sessions.rbi +22 -14
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +20 -3
- data/rbi/finch_api/resources/hris/benefits.rbi +39 -12
- data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +35 -8
- data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +3 -0
- data/rbi/finch_api/resources/hris/company.rbi +9 -4
- data/rbi/finch_api/resources/hris/directory.rbi +3 -0
- data/rbi/finch_api/resources/hris/documents.rbi +6 -0
- data/rbi/finch_api/resources/hris/employments.rbi +4 -1
- data/rbi/finch_api/resources/hris/individuals.rbi +10 -1
- data/rbi/finch_api/resources/hris/pay_statements.rbi +4 -1
- data/rbi/finch_api/resources/hris/payments.rbi +3 -0
- data/rbi/finch_api/resources/jobs/automated.rbi +1 -14
- data/rbi/finch_api/resources/jobs/manual.rbi +1 -9
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +15 -2
- data/rbi/finch_api/resources/providers.rbi +1 -1
- data/rbi/finch_api/resources/request_forwarding.rbi +2 -2
- data/sig/finch_api/errors.rbs +7 -0
- data/sig/finch_api/file_part.rbs +1 -1
- data/sig/finch_api/models/connect/session_new_params.rbs +45 -45
- data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +15 -15
- data/sig/finch_api/models/create_access_token_response.rbs +5 -0
- data/sig/finch_api/models/hris/benefit_contribution.rbs +107 -21
- data/sig/finch_api/models/hris/benefit_create_params.rbs +7 -0
- data/sig/finch_api/models/hris/benefit_list_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefit_update_params.rbs +8 -1
- data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +201 -8
- data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +30 -1
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +7 -1
- data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +7 -1
- data/sig/finch_api/models/hris/benfit_contribution.rbs +1 -1
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +7 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +14 -3
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +14 -3
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +7 -1
- data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +7 -0
- data/sig/finch_api/models/hris/company_retrieve_params.rbs +14 -3
- data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +7 -1
- data/sig/finch_api/models/hris/directory_list_params.rbs +7 -1
- data/sig/finch_api/models/hris/document_list_params.rbs +7 -0
- data/sig/finch_api/models/hris/document_response.rbs +11 -19
- data/sig/finch_api/models/hris/document_retreive_params.rbs +14 -3
- data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +8 -1
- data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +7 -0
- data/sig/finch_api/models/hris/pay_statement.rbs +12 -12
- data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +8 -1
- data/sig/finch_api/models/hris/payment_list_params.rbs +7 -1
- data/sig/finch_api/models/hris/supported_benefit.rbs +2 -1
- data/sig/finch_api/models/hris/w42005.rbs +23 -37
- data/sig/finch_api/models/hris/w42020.rbs +35 -45
- data/sig/finch_api/models/introspection.rbs +29 -20
- data/sig/finch_api/models/jobs/automated_list_params.rbs +1 -7
- data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +3 -13
- data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +3 -13
- data/sig/finch_api/models/payroll/pay_group_list_params.rbs +11 -1
- data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +14 -3
- data/sig/finch_api/models/provider.rbs +31 -1366
- data/sig/finch_api/models/provider_list_response.rbs +128 -0
- data/sig/finch_api/models/request_forwarding_forward_params.rbs +8 -8
- data/sig/finch_api/models/request_forwarding_forward_response.rbs +40 -30
- data/sig/finch_api/resources/connect/sessions.rbs +9 -9
- data/sig/finch_api/resources/hris/benefits/individuals.rbs +4 -0
- data/sig/finch_api/resources/hris/benefits.rbs +5 -0
- data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +4 -0
- data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +1 -0
- data/sig/finch_api/resources/hris/company.rbs +1 -0
- data/sig/finch_api/resources/hris/directory.rbs +1 -0
- data/sig/finch_api/resources/hris/documents.rbs +2 -0
- data/sig/finch_api/resources/hris/employments.rbs +1 -0
- data/sig/finch_api/resources/hris/individuals.rbs +1 -0
- data/sig/finch_api/resources/hris/pay_statements.rbs +1 -0
- data/sig/finch_api/resources/hris/payments.rbs +1 -0
- data/sig/finch_api/resources/jobs/automated.rbs +0 -2
- data/sig/finch_api/resources/jobs/manual.rbs +0 -1
- data/sig/finch_api/resources/payroll/pay_groups.rbs +2 -0
- data/sig/finch_api/resources/providers.rbs +1 -1
- data/sig/finch_api/resources/request_forwarding.rbs +2 -2
- metadata +5 -2
|
@@ -3,13 +3,13 @@ module FinchAPI
|
|
|
3
3
|
module Connect
|
|
4
4
|
type session_new_params =
|
|
5
5
|
{
|
|
6
|
+
customer_email: String?,
|
|
6
7
|
customer_id: String,
|
|
7
8
|
customer_name: String,
|
|
8
|
-
products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product],
|
|
9
|
-
customer_email: String?,
|
|
10
9
|
integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
11
10
|
manual: bool?,
|
|
12
11
|
minutes_to_expire: Float?,
|
|
12
|
+
products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product],
|
|
13
13
|
redirect_uri: String?,
|
|
14
14
|
sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?
|
|
15
15
|
}
|
|
@@ -19,79 +19,50 @@ module FinchAPI
|
|
|
19
19
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
20
20
|
include FinchAPI::Internal::Type::RequestParameters
|
|
21
21
|
|
|
22
|
+
attr_accessor customer_email: String?
|
|
23
|
+
|
|
22
24
|
attr_accessor customer_id: String
|
|
23
25
|
|
|
24
26
|
attr_accessor customer_name: String
|
|
25
27
|
|
|
26
|
-
attr_accessor products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product]
|
|
27
|
-
|
|
28
|
-
attr_accessor customer_email: String?
|
|
29
|
-
|
|
30
28
|
attr_accessor integration: FinchAPI::Connect::SessionNewParams::Integration?
|
|
31
29
|
|
|
32
30
|
attr_accessor manual: bool?
|
|
33
31
|
|
|
34
32
|
attr_accessor minutes_to_expire: Float?
|
|
35
33
|
|
|
34
|
+
attr_accessor products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product]
|
|
35
|
+
|
|
36
36
|
attr_accessor redirect_uri: String?
|
|
37
37
|
|
|
38
38
|
attr_accessor sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?
|
|
39
39
|
|
|
40
40
|
def initialize: (
|
|
41
|
+
customer_email: String?,
|
|
41
42
|
customer_id: String,
|
|
42
43
|
customer_name: String,
|
|
44
|
+
integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
45
|
+
manual: bool?,
|
|
46
|
+
minutes_to_expire: Float?,
|
|
43
47
|
products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product],
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
?manual: bool?,
|
|
47
|
-
?minutes_to_expire: Float?,
|
|
48
|
-
?redirect_uri: String?,
|
|
49
|
-
?sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?,
|
|
48
|
+
redirect_uri: String?,
|
|
49
|
+
sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?,
|
|
50
50
|
?request_options: FinchAPI::request_opts
|
|
51
51
|
) -> void
|
|
52
52
|
|
|
53
53
|
def to_hash: -> {
|
|
54
|
+
customer_email: String?,
|
|
54
55
|
customer_id: String,
|
|
55
56
|
customer_name: String,
|
|
56
|
-
products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product],
|
|
57
|
-
customer_email: String?,
|
|
58
57
|
integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
59
58
|
manual: bool?,
|
|
60
59
|
minutes_to_expire: Float?,
|
|
60
|
+
products: ::Array[FinchAPI::Models::Connect::SessionNewParams::product],
|
|
61
61
|
redirect_uri: String?,
|
|
62
62
|
sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?,
|
|
63
63
|
request_options: FinchAPI::RequestOptions
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
type product =
|
|
67
|
-
:company
|
|
68
|
-
| :directory
|
|
69
|
-
| :individual
|
|
70
|
-
| :employment
|
|
71
|
-
| :payment
|
|
72
|
-
| :pay_statement
|
|
73
|
-
| :benefits
|
|
74
|
-
| :ssn
|
|
75
|
-
| :deduction
|
|
76
|
-
| :documents
|
|
77
|
-
|
|
78
|
-
module Product
|
|
79
|
-
extend FinchAPI::Internal::Type::Enum
|
|
80
|
-
|
|
81
|
-
COMPANY: :company
|
|
82
|
-
DIRECTORY: :directory
|
|
83
|
-
INDIVIDUAL: :individual
|
|
84
|
-
EMPLOYMENT: :employment
|
|
85
|
-
PAYMENT: :payment
|
|
86
|
-
PAY_STATEMENT: :pay_statement
|
|
87
|
-
BENEFITS: :benefits
|
|
88
|
-
SSN: :ssn
|
|
89
|
-
DEDUCTION: :deduction
|
|
90
|
-
DOCUMENTS: :documents
|
|
91
|
-
|
|
92
|
-
def self?.values: -> ::Array[FinchAPI::Models::Connect::SessionNewParams::product]
|
|
93
|
-
end
|
|
94
|
-
|
|
95
66
|
type integration =
|
|
96
67
|
{
|
|
97
68
|
auth_method: FinchAPI::Models::Connect::SessionNewParams::Integration::auth_method?,
|
|
@@ -104,8 +75,8 @@ module FinchAPI
|
|
|
104
75
|
attr_accessor provider: String?
|
|
105
76
|
|
|
106
77
|
def initialize: (
|
|
107
|
-
|
|
108
|
-
|
|
78
|
+
auth_method: FinchAPI::Models::Connect::SessionNewParams::Integration::auth_method?,
|
|
79
|
+
provider: String?
|
|
109
80
|
) -> void
|
|
110
81
|
|
|
111
82
|
def to_hash: -> {
|
|
@@ -127,6 +98,35 @@ module FinchAPI
|
|
|
127
98
|
end
|
|
128
99
|
end
|
|
129
100
|
|
|
101
|
+
type product =
|
|
102
|
+
:benefits
|
|
103
|
+
| :company
|
|
104
|
+
| :deduction
|
|
105
|
+
| :directory
|
|
106
|
+
| :documents
|
|
107
|
+
| :employment
|
|
108
|
+
| :individual
|
|
109
|
+
| :payment
|
|
110
|
+
| :pay_statement
|
|
111
|
+
| :ssn
|
|
112
|
+
|
|
113
|
+
module Product
|
|
114
|
+
extend FinchAPI::Internal::Type::Enum
|
|
115
|
+
|
|
116
|
+
BENEFITS: :benefits
|
|
117
|
+
COMPANY: :company
|
|
118
|
+
DEDUCTION: :deduction
|
|
119
|
+
DIRECTORY: :directory
|
|
120
|
+
DOCUMENTS: :documents
|
|
121
|
+
EMPLOYMENT: :employment
|
|
122
|
+
INDIVIDUAL: :individual
|
|
123
|
+
PAYMENT: :payment
|
|
124
|
+
PAY_STATEMENT: :pay_statement
|
|
125
|
+
SSN: :ssn
|
|
126
|
+
|
|
127
|
+
def self?.values: -> ::Array[FinchAPI::Models::Connect::SessionNewParams::product]
|
|
128
|
+
end
|
|
129
|
+
|
|
130
130
|
type sandbox = :finch | :provider
|
|
131
131
|
|
|
132
132
|
module Sandbox
|
|
@@ -4,7 +4,7 @@ module FinchAPI
|
|
|
4
4
|
type session_reauthenticate_params =
|
|
5
5
|
{
|
|
6
6
|
connection_id: String,
|
|
7
|
-
minutes_to_expire: Integer
|
|
7
|
+
minutes_to_expire: Integer,
|
|
8
8
|
products: ::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::product]?,
|
|
9
9
|
redirect_uri: String?
|
|
10
10
|
}
|
|
@@ -16,7 +16,7 @@ module FinchAPI
|
|
|
16
16
|
|
|
17
17
|
attr_accessor connection_id: String
|
|
18
18
|
|
|
19
|
-
attr_accessor minutes_to_expire: Integer
|
|
19
|
+
attr_accessor minutes_to_expire: Integer
|
|
20
20
|
|
|
21
21
|
attr_accessor products: ::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::product]?
|
|
22
22
|
|
|
@@ -24,45 +24,45 @@ module FinchAPI
|
|
|
24
24
|
|
|
25
25
|
def initialize: (
|
|
26
26
|
connection_id: String,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
minutes_to_expire: Integer,
|
|
28
|
+
products: ::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::product]?,
|
|
29
|
+
redirect_uri: String?,
|
|
30
30
|
?request_options: FinchAPI::request_opts
|
|
31
31
|
) -> void
|
|
32
32
|
|
|
33
33
|
def to_hash: -> {
|
|
34
34
|
connection_id: String,
|
|
35
|
-
minutes_to_expire: Integer
|
|
35
|
+
minutes_to_expire: Integer,
|
|
36
36
|
products: ::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::product]?,
|
|
37
37
|
redirect_uri: String?,
|
|
38
38
|
request_options: FinchAPI::RequestOptions
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
type product =
|
|
42
|
-
:
|
|
42
|
+
:benefits
|
|
43
|
+
| :company
|
|
44
|
+
| :deduction
|
|
43
45
|
| :directory
|
|
44
|
-
| :
|
|
46
|
+
| :documents
|
|
45
47
|
| :employment
|
|
48
|
+
| :individual
|
|
46
49
|
| :payment
|
|
47
50
|
| :pay_statement
|
|
48
|
-
| :benefits
|
|
49
51
|
| :ssn
|
|
50
|
-
| :deduction
|
|
51
|
-
| :documents
|
|
52
52
|
|
|
53
53
|
module Product
|
|
54
54
|
extend FinchAPI::Internal::Type::Enum
|
|
55
55
|
|
|
56
|
+
BENEFITS: :benefits
|
|
56
57
|
COMPANY: :company
|
|
58
|
+
DEDUCTION: :deduction
|
|
57
59
|
DIRECTORY: :directory
|
|
58
|
-
|
|
60
|
+
DOCUMENTS: :documents
|
|
59
61
|
EMPLOYMENT: :employment
|
|
62
|
+
INDIVIDUAL: :individual
|
|
60
63
|
PAYMENT: :payment
|
|
61
64
|
PAY_STATEMENT: :pay_statement
|
|
62
|
-
BENEFITS: :benefits
|
|
63
65
|
SSN: :ssn
|
|
64
|
-
DEDUCTION: :deduction
|
|
65
|
-
DOCUMENTS: :documents
|
|
66
66
|
|
|
67
67
|
def self?.values: -> ::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::product]
|
|
68
68
|
end
|
|
@@ -6,6 +6,7 @@ module FinchAPI
|
|
|
6
6
|
client_type: FinchAPI::Models::CreateAccessTokenResponse::client_type,
|
|
7
7
|
connection_id: String,
|
|
8
8
|
connection_type: FinchAPI::Models::CreateAccessTokenResponse::connection_type,
|
|
9
|
+
entity_ids: ::Array[String],
|
|
9
10
|
products: ::Array[String],
|
|
10
11
|
provider_id: String,
|
|
11
12
|
token_type: String,
|
|
@@ -23,6 +24,8 @@ module FinchAPI
|
|
|
23
24
|
|
|
24
25
|
attr_accessor connection_type: FinchAPI::Models::CreateAccessTokenResponse::connection_type
|
|
25
26
|
|
|
27
|
+
attr_accessor entity_ids: ::Array[String]
|
|
28
|
+
|
|
26
29
|
attr_accessor products: ::Array[String]
|
|
27
30
|
|
|
28
31
|
attr_accessor provider_id: String
|
|
@@ -44,6 +47,7 @@ module FinchAPI
|
|
|
44
47
|
client_type: FinchAPI::Models::CreateAccessTokenResponse::client_type,
|
|
45
48
|
connection_id: String,
|
|
46
49
|
connection_type: FinchAPI::Models::CreateAccessTokenResponse::connection_type,
|
|
50
|
+
entity_ids: ::Array[String],
|
|
47
51
|
products: ::Array[String],
|
|
48
52
|
provider_id: String,
|
|
49
53
|
token_type: String,
|
|
@@ -57,6 +61,7 @@ module FinchAPI
|
|
|
57
61
|
client_type: FinchAPI::Models::CreateAccessTokenResponse::client_type,
|
|
58
62
|
connection_id: String,
|
|
59
63
|
connection_type: FinchAPI::Models::CreateAccessTokenResponse::connection_type,
|
|
64
|
+
entity_ids: ::Array[String],
|
|
60
65
|
products: ::Array[String],
|
|
61
66
|
provider_id: String,
|
|
62
67
|
token_type: String,
|
|
@@ -2,36 +2,122 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_contribution =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
5
|
+
FinchAPI::HRIS::BenefitContribution::UnionMember0
|
|
6
|
+
| FinchAPI::HRIS::BenefitContribution::UnionMember1
|
|
7
|
+
| FinchAPI::HRIS::BenefitContribution::UnionMember2
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
module BenefitContribution
|
|
10
|
+
extend FinchAPI::Internal::Type::Union
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
type union_member0 =
|
|
13
|
+
{
|
|
14
|
+
amount: Integer,
|
|
15
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember0::type_
|
|
16
|
+
}
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
amount: Integer
|
|
17
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::type_?
|
|
18
|
-
) -> void
|
|
18
|
+
class UnionMember0 < FinchAPI::Internal::Type::BaseModel
|
|
19
|
+
attr_accessor amount: Integer
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
amount: Integer?,
|
|
22
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::type_?
|
|
23
|
-
}
|
|
21
|
+
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember0::type_
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
def initialize: (
|
|
24
|
+
amount: Integer,
|
|
25
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember0::type_
|
|
26
|
+
) -> void
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
amount: Integer,
|
|
30
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember0::type_
|
|
31
|
+
}
|
|
29
32
|
|
|
30
|
-
|
|
31
|
-
PERCENT: :percent
|
|
33
|
+
type type_ = :fixed
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
module Type
|
|
36
|
+
extend FinchAPI::Internal::Type::Enum
|
|
37
|
+
|
|
38
|
+
FIXED: :fixed
|
|
39
|
+
|
|
40
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::UnionMember0::type_]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
type union_member1 =
|
|
45
|
+
{
|
|
46
|
+
amount: Integer,
|
|
47
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember1::type_
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
class UnionMember1 < FinchAPI::Internal::Type::BaseModel
|
|
51
|
+
attr_accessor amount: Integer
|
|
52
|
+
|
|
53
|
+
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember1::type_
|
|
54
|
+
|
|
55
|
+
def initialize: (
|
|
56
|
+
amount: Integer,
|
|
57
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember1::type_
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
amount: Integer,
|
|
62
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember1::type_
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type type_ = :percent
|
|
66
|
+
|
|
67
|
+
module Type
|
|
68
|
+
extend FinchAPI::Internal::Type::Enum
|
|
69
|
+
|
|
70
|
+
PERCENT: :percent
|
|
71
|
+
|
|
72
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::UnionMember1::type_]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
type union_member2 =
|
|
77
|
+
{
|
|
78
|
+
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::UnionMember2::Tier],
|
|
79
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember2::type_
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
class UnionMember2 < FinchAPI::Internal::Type::BaseModel
|
|
83
|
+
attr_accessor tiers: ::Array[FinchAPI::HRIS::BenefitContribution::UnionMember2::Tier]
|
|
84
|
+
|
|
85
|
+
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember2::type_
|
|
86
|
+
|
|
87
|
+
def initialize: (
|
|
88
|
+
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::UnionMember2::Tier],
|
|
89
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember2::type_
|
|
90
|
+
) -> void
|
|
91
|
+
|
|
92
|
+
def to_hash: -> {
|
|
93
|
+
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::UnionMember2::Tier],
|
|
94
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::UnionMember2::type_
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type tier = { match: Integer, threshold: Integer }
|
|
98
|
+
|
|
99
|
+
class Tier < FinchAPI::Internal::Type::BaseModel
|
|
100
|
+
attr_accessor match: Integer
|
|
101
|
+
|
|
102
|
+
attr_accessor threshold: Integer
|
|
103
|
+
|
|
104
|
+
def initialize: (match: Integer, threshold: Integer) -> void
|
|
105
|
+
|
|
106
|
+
def to_hash: -> { match: Integer, threshold: Integer }
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
type type_ = :tiered
|
|
110
|
+
|
|
111
|
+
module Type
|
|
112
|
+
extend FinchAPI::Internal::Type::Enum
|
|
113
|
+
|
|
114
|
+
TIERED: :tiered
|
|
115
|
+
|
|
116
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::UnionMember2::type_]
|
|
117
|
+
end
|
|
34
118
|
end
|
|
119
|
+
|
|
120
|
+
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::benefit_contribution]
|
|
35
121
|
end
|
|
36
122
|
end
|
|
37
123
|
end
|
|
@@ -3,6 +3,7 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_create_params =
|
|
5
5
|
{
|
|
6
|
+
entity_ids: ::Array[String],
|
|
6
7
|
company_contribution: FinchAPI::HRIS::BenefitCreateParams::CompanyContribution?,
|
|
7
8
|
description: String,
|
|
8
9
|
frequency: FinchAPI::Models::HRIS::benefit_frequency?,
|
|
@@ -14,6 +15,10 @@ module FinchAPI
|
|
|
14
15
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
15
16
|
include FinchAPI::Internal::Type::RequestParameters
|
|
16
17
|
|
|
18
|
+
attr_reader entity_ids: ::Array[String]?
|
|
19
|
+
|
|
20
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
21
|
+
|
|
17
22
|
attr_accessor company_contribution: FinchAPI::HRIS::BenefitCreateParams::CompanyContribution?
|
|
18
23
|
|
|
19
24
|
attr_reader description: String?
|
|
@@ -25,6 +30,7 @@ module FinchAPI
|
|
|
25
30
|
attr_accessor type: FinchAPI::Models::HRIS::benefit_type?
|
|
26
31
|
|
|
27
32
|
def initialize: (
|
|
33
|
+
?entity_ids: ::Array[String],
|
|
28
34
|
?company_contribution: FinchAPI::HRIS::BenefitCreateParams::CompanyContribution?,
|
|
29
35
|
?description: String,
|
|
30
36
|
?frequency: FinchAPI::Models::HRIS::benefit_frequency?,
|
|
@@ -33,6 +39,7 @@ module FinchAPI
|
|
|
33
39
|
) -> void
|
|
34
40
|
|
|
35
41
|
def to_hash: -> {
|
|
42
|
+
entity_ids: ::Array[String],
|
|
36
43
|
company_contribution: FinchAPI::HRIS::BenefitCreateParams::CompanyContribution?,
|
|
37
44
|
description: String,
|
|
38
45
|
frequency: FinchAPI::Models::HRIS::benefit_frequency?,
|
|
@@ -2,15 +2,26 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_list_params =
|
|
5
|
-
{
|
|
5
|
+
{ entity_ids: ::Array[String] }
|
|
6
|
+
& FinchAPI::Internal::Type::request_parameters
|
|
6
7
|
|
|
7
8
|
class BenefitListParams < FinchAPI::Internal::Type::BaseModel
|
|
8
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
attr_reader entity_ids: ::Array[String]?
|
|
12
13
|
|
|
13
|
-
def
|
|
14
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?entity_ids: ::Array[String],
|
|
18
|
+
?request_options: FinchAPI::request_opts
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
entity_ids: ::Array[String],
|
|
23
|
+
request_options: FinchAPI::RequestOptions
|
|
24
|
+
}
|
|
14
25
|
end
|
|
15
26
|
end
|
|
16
27
|
end
|
|
@@ -2,15 +2,26 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_list_supported_benefits_params =
|
|
5
|
-
{
|
|
5
|
+
{ entity_ids: ::Array[String] }
|
|
6
|
+
& FinchAPI::Internal::Type::request_parameters
|
|
6
7
|
|
|
7
8
|
class BenefitListSupportedBenefitsParams < FinchAPI::Internal::Type::BaseModel
|
|
8
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
attr_reader entity_ids: ::Array[String]?
|
|
12
13
|
|
|
13
|
-
def
|
|
14
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?entity_ids: ::Array[String],
|
|
18
|
+
?request_options: FinchAPI::request_opts
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
entity_ids: ::Array[String],
|
|
23
|
+
request_options: FinchAPI::RequestOptions
|
|
24
|
+
}
|
|
14
25
|
end
|
|
15
26
|
end
|
|
16
27
|
end
|
|
@@ -2,15 +2,26 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_retrieve_params =
|
|
5
|
-
{
|
|
5
|
+
{ entity_ids: ::Array[String] }
|
|
6
|
+
& FinchAPI::Internal::Type::request_parameters
|
|
6
7
|
|
|
7
8
|
class BenefitRetrieveParams < FinchAPI::Internal::Type::BaseModel
|
|
8
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
attr_reader entity_ids: ::Array[String]?
|
|
12
13
|
|
|
13
|
-
def
|
|
14
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?entity_ids: ::Array[String],
|
|
18
|
+
?request_options: FinchAPI::request_opts
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
entity_ids: ::Array[String],
|
|
23
|
+
request_options: FinchAPI::RequestOptions
|
|
24
|
+
}
|
|
14
25
|
end
|
|
15
26
|
end
|
|
16
27
|
end
|
|
@@ -2,22 +2,29 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_update_params =
|
|
5
|
-
{ description: String }
|
|
5
|
+
{ entity_ids: ::Array[String], description: String }
|
|
6
|
+
& FinchAPI::Internal::Type::request_parameters
|
|
6
7
|
|
|
7
8
|
class BenefitUpdateParams < FinchAPI::Internal::Type::BaseModel
|
|
8
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
11
|
|
|
12
|
+
attr_reader entity_ids: ::Array[String]?
|
|
13
|
+
|
|
14
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
15
|
+
|
|
11
16
|
attr_reader description: String?
|
|
12
17
|
|
|
13
18
|
def description=: (String) -> String
|
|
14
19
|
|
|
15
20
|
def initialize: (
|
|
21
|
+
?entity_ids: ::Array[String],
|
|
16
22
|
?description: String,
|
|
17
23
|
?request_options: FinchAPI::request_opts
|
|
18
24
|
) -> void
|
|
19
25
|
|
|
20
26
|
def to_hash: -> {
|
|
27
|
+
entity_ids: ::Array[String],
|
|
21
28
|
description: String,
|
|
22
29
|
request_options: FinchAPI::RequestOptions
|
|
23
30
|
}
|