finch-api 0.1.0.pre.alpha.30 → 0.1.0.pre.alpha.31
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 +40 -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
|
@@ -2,13 +2,17 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type directory_list_params =
|
|
5
|
-
{ limit: Integer, offset: Integer }
|
|
5
|
+
{ entity_ids: ::Array[String], limit: Integer, offset: Integer }
|
|
6
6
|
& FinchAPI::Internal::Type::request_parameters
|
|
7
7
|
|
|
8
8
|
class DirectoryListParams < FinchAPI::Internal::Type::BaseModel
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
attr_reader entity_ids: ::Array[String]?
|
|
13
|
+
|
|
14
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
15
|
+
|
|
12
16
|
attr_reader limit: Integer?
|
|
13
17
|
|
|
14
18
|
def limit=: (Integer) -> Integer
|
|
@@ -18,12 +22,14 @@ module FinchAPI
|
|
|
18
22
|
def offset=: (Integer) -> Integer
|
|
19
23
|
|
|
20
24
|
def initialize: (
|
|
25
|
+
?entity_ids: ::Array[String],
|
|
21
26
|
?limit: Integer,
|
|
22
27
|
?offset: Integer,
|
|
23
28
|
?request_options: FinchAPI::request_opts
|
|
24
29
|
) -> void
|
|
25
30
|
|
|
26
31
|
def to_hash: -> {
|
|
32
|
+
entity_ids: ::Array[String],
|
|
27
33
|
limit: Integer,
|
|
28
34
|
offset: Integer,
|
|
29
35
|
request_options: FinchAPI::RequestOptions
|
|
@@ -3,6 +3,7 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
type document_list_params =
|
|
5
5
|
{
|
|
6
|
+
entity_ids: ::Array[String],
|
|
6
7
|
individual_ids: ::Array[String],
|
|
7
8
|
limit: Integer,
|
|
8
9
|
offset: Integer,
|
|
@@ -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_reader individual_ids: ::Array[String]?
|
|
18
23
|
|
|
19
24
|
def individual_ids=: (::Array[String]) -> ::Array[String]
|
|
@@ -33,6 +38,7 @@ module FinchAPI
|
|
|
33
38
|
) -> ::Array[FinchAPI::Models::HRIS::DocumentListParams::type_]
|
|
34
39
|
|
|
35
40
|
def initialize: (
|
|
41
|
+
?entity_ids: ::Array[String],
|
|
36
42
|
?individual_ids: ::Array[String],
|
|
37
43
|
?limit: Integer,
|
|
38
44
|
?offset: Integer,
|
|
@@ -41,6 +47,7 @@ module FinchAPI
|
|
|
41
47
|
) -> void
|
|
42
48
|
|
|
43
49
|
def to_hash: -> {
|
|
50
|
+
entity_ids: ::Array[String],
|
|
44
51
|
individual_ids: ::Array[String],
|
|
45
52
|
limit: Integer,
|
|
46
53
|
offset: Integer,
|
|
@@ -7,34 +7,26 @@ module FinchAPI
|
|
|
7
7
|
individual_id: String?,
|
|
8
8
|
type: FinchAPI::Models::HRIS::DocumentResponse::type_,
|
|
9
9
|
url: String,
|
|
10
|
-
year: Float
|
|
10
|
+
year: Float
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class DocumentResponse < FinchAPI::Internal::Type::BaseModel
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def id=: (String) -> String
|
|
14
|
+
attr_accessor id: String
|
|
17
15
|
|
|
18
16
|
attr_accessor individual_id: String?
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def type=: (
|
|
23
|
-
FinchAPI::Models::HRIS::DocumentResponse::type_
|
|
24
|
-
) -> FinchAPI::Models::HRIS::DocumentResponse::type_
|
|
18
|
+
attr_accessor type: FinchAPI::Models::HRIS::DocumentResponse::type_
|
|
25
19
|
|
|
26
|
-
|
|
20
|
+
attr_accessor url: String
|
|
27
21
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
attr_accessor year: Float?
|
|
22
|
+
attr_accessor year: Float
|
|
31
23
|
|
|
32
24
|
def initialize: (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
25
|
+
id: String,
|
|
26
|
+
individual_id: String?,
|
|
27
|
+
type: FinchAPI::Models::HRIS::DocumentResponse::type_,
|
|
28
|
+
url: String,
|
|
29
|
+
year: Float
|
|
38
30
|
) -> void
|
|
39
31
|
|
|
40
32
|
def to_hash: -> {
|
|
@@ -42,7 +34,7 @@ module FinchAPI
|
|
|
42
34
|
individual_id: String?,
|
|
43
35
|
type: FinchAPI::Models::HRIS::DocumentResponse::type_,
|
|
44
36
|
url: String,
|
|
45
|
-
year: Float
|
|
37
|
+
year: Float
|
|
46
38
|
}
|
|
47
39
|
|
|
48
40
|
type type_ = :w4_2020 | :w4_2005
|
|
@@ -2,15 +2,26 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type document_retreive_params =
|
|
5
|
-
{
|
|
5
|
+
{ entity_ids: ::Array[String] }
|
|
6
|
+
& FinchAPI::Internal::Type::request_parameters
|
|
6
7
|
|
|
7
8
|
class DocumentRetreiveParams < 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
|
|
@@ -3,7 +3,8 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
type employment_retrieve_many_params =
|
|
5
5
|
{
|
|
6
|
-
requests: ::Array[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request]
|
|
6
|
+
requests: ::Array[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request],
|
|
7
|
+
entity_ids: ::Array[String]
|
|
7
8
|
}
|
|
8
9
|
& FinchAPI::Internal::Type::request_parameters
|
|
9
10
|
|
|
@@ -13,13 +14,19 @@ module FinchAPI
|
|
|
13
14
|
|
|
14
15
|
attr_accessor requests: ::Array[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request]
|
|
15
16
|
|
|
17
|
+
attr_reader entity_ids: ::Array[String]?
|
|
18
|
+
|
|
19
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
20
|
+
|
|
16
21
|
def initialize: (
|
|
17
22
|
requests: ::Array[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request],
|
|
23
|
+
?entity_ids: ::Array[String],
|
|
18
24
|
?request_options: FinchAPI::request_opts
|
|
19
25
|
) -> void
|
|
20
26
|
|
|
21
27
|
def to_hash: -> {
|
|
22
28
|
requests: ::Array[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request],
|
|
29
|
+
entity_ids: ::Array[String],
|
|
23
30
|
request_options: FinchAPI::RequestOptions
|
|
24
31
|
}
|
|
25
32
|
|
|
@@ -3,6 +3,7 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
type individual_retrieve_many_params =
|
|
5
5
|
{
|
|
6
|
+
entity_ids: ::Array[String],
|
|
6
7
|
options: FinchAPI::HRIS::IndividualRetrieveManyParams::Options?,
|
|
7
8
|
requests: ::Array[FinchAPI::HRIS::IndividualRetrieveManyParams::Request]
|
|
8
9
|
}
|
|
@@ -12,6 +13,10 @@ module FinchAPI
|
|
|
12
13
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
13
14
|
include FinchAPI::Internal::Type::RequestParameters
|
|
14
15
|
|
|
16
|
+
attr_reader entity_ids: ::Array[String]?
|
|
17
|
+
|
|
18
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
19
|
+
|
|
15
20
|
attr_accessor options: FinchAPI::HRIS::IndividualRetrieveManyParams::Options?
|
|
16
21
|
|
|
17
22
|
attr_reader requests: ::Array[FinchAPI::HRIS::IndividualRetrieveManyParams::Request]?
|
|
@@ -21,12 +26,14 @@ module FinchAPI
|
|
|
21
26
|
) -> ::Array[FinchAPI::HRIS::IndividualRetrieveManyParams::Request]
|
|
22
27
|
|
|
23
28
|
def initialize: (
|
|
29
|
+
?entity_ids: ::Array[String],
|
|
24
30
|
?options: FinchAPI::HRIS::IndividualRetrieveManyParams::Options?,
|
|
25
31
|
?requests: ::Array[FinchAPI::HRIS::IndividualRetrieveManyParams::Request],
|
|
26
32
|
?request_options: FinchAPI::request_opts
|
|
27
33
|
) -> void
|
|
28
34
|
|
|
29
35
|
def to_hash: -> {
|
|
36
|
+
entity_ids: ::Array[String],
|
|
30
37
|
options: FinchAPI::HRIS::IndividualRetrieveManyParams::Options?,
|
|
31
38
|
requests: ::Array[FinchAPI::HRIS::IndividualRetrieveManyParams::Request],
|
|
32
39
|
request_options: FinchAPI::RequestOptions
|
|
@@ -4,13 +4,13 @@ module FinchAPI
|
|
|
4
4
|
type pay_statement =
|
|
5
5
|
{
|
|
6
6
|
earnings: ::Array[FinchAPI::HRIS::PayStatement::Earning?]?,
|
|
7
|
-
employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction
|
|
8
|
-
employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution
|
|
7
|
+
employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction]?,
|
|
8
|
+
employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution]?,
|
|
9
9
|
gross_pay: FinchAPI::Money?,
|
|
10
10
|
individual_id: String,
|
|
11
11
|
net_pay: FinchAPI::Money?,
|
|
12
12
|
payment_method: FinchAPI::Models::HRIS::PayStatement::payment_method?,
|
|
13
|
-
taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax
|
|
13
|
+
taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax]?,
|
|
14
14
|
total_hours: Float?,
|
|
15
15
|
type: FinchAPI::Models::HRIS::PayStatement::type_?
|
|
16
16
|
}
|
|
@@ -18,9 +18,9 @@ module FinchAPI
|
|
|
18
18
|
class PayStatement < FinchAPI::Internal::Type::BaseModel
|
|
19
19
|
attr_accessor earnings: ::Array[FinchAPI::HRIS::PayStatement::Earning?]?
|
|
20
20
|
|
|
21
|
-
attr_accessor employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction
|
|
21
|
+
attr_accessor employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction]?
|
|
22
22
|
|
|
23
|
-
attr_accessor employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution
|
|
23
|
+
attr_accessor employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution]?
|
|
24
24
|
|
|
25
25
|
attr_accessor gross_pay: FinchAPI::Money?
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ module FinchAPI
|
|
|
30
30
|
|
|
31
31
|
attr_accessor payment_method: FinchAPI::Models::HRIS::PayStatement::payment_method?
|
|
32
32
|
|
|
33
|
-
attr_accessor taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax
|
|
33
|
+
attr_accessor taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax]?
|
|
34
34
|
|
|
35
35
|
attr_accessor total_hours: Float?
|
|
36
36
|
|
|
@@ -38,26 +38,26 @@ module FinchAPI
|
|
|
38
38
|
|
|
39
39
|
def initialize: (
|
|
40
40
|
earnings: ::Array[FinchAPI::HRIS::PayStatement::Earning?]?,
|
|
41
|
-
employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction
|
|
42
|
-
employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution
|
|
41
|
+
employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction]?,
|
|
42
|
+
employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution]?,
|
|
43
43
|
gross_pay: FinchAPI::Money?,
|
|
44
44
|
individual_id: String,
|
|
45
45
|
net_pay: FinchAPI::Money?,
|
|
46
46
|
payment_method: FinchAPI::Models::HRIS::PayStatement::payment_method?,
|
|
47
|
-
taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax
|
|
47
|
+
taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax]?,
|
|
48
48
|
total_hours: Float?,
|
|
49
49
|
type: FinchAPI::Models::HRIS::PayStatement::type_?
|
|
50
50
|
) -> void
|
|
51
51
|
|
|
52
52
|
def to_hash: -> {
|
|
53
53
|
earnings: ::Array[FinchAPI::HRIS::PayStatement::Earning?]?,
|
|
54
|
-
employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction
|
|
55
|
-
employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution
|
|
54
|
+
employee_deductions: ::Array[FinchAPI::HRIS::PayStatement::EmployeeDeduction]?,
|
|
55
|
+
employer_contributions: ::Array[FinchAPI::HRIS::PayStatement::EmployerContribution]?,
|
|
56
56
|
gross_pay: FinchAPI::Money?,
|
|
57
57
|
individual_id: String,
|
|
58
58
|
net_pay: FinchAPI::Money?,
|
|
59
59
|
payment_method: FinchAPI::Models::HRIS::PayStatement::payment_method?,
|
|
60
|
-
taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax
|
|
60
|
+
taxes: ::Array[FinchAPI::HRIS::PayStatement::Tax]?,
|
|
61
61
|
total_hours: Float?,
|
|
62
62
|
type: FinchAPI::Models::HRIS::PayStatement::type_?
|
|
63
63
|
}
|
|
@@ -3,7 +3,8 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
type pay_statement_retrieve_many_params =
|
|
5
5
|
{
|
|
6
|
-
requests: ::Array[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request]
|
|
6
|
+
requests: ::Array[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request],
|
|
7
|
+
entity_ids: ::Array[String]
|
|
7
8
|
}
|
|
8
9
|
& FinchAPI::Internal::Type::request_parameters
|
|
9
10
|
|
|
@@ -13,13 +14,19 @@ module FinchAPI
|
|
|
13
14
|
|
|
14
15
|
attr_accessor requests: ::Array[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request]
|
|
15
16
|
|
|
17
|
+
attr_reader entity_ids: ::Array[String]?
|
|
18
|
+
|
|
19
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
20
|
+
|
|
16
21
|
def initialize: (
|
|
17
22
|
requests: ::Array[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request],
|
|
23
|
+
?entity_ids: ::Array[String],
|
|
18
24
|
?request_options: FinchAPI::request_opts
|
|
19
25
|
) -> void
|
|
20
26
|
|
|
21
27
|
def to_hash: -> {
|
|
22
28
|
requests: ::Array[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request],
|
|
29
|
+
entity_ids: ::Array[String],
|
|
23
30
|
request_options: FinchAPI::RequestOptions
|
|
24
31
|
}
|
|
25
32
|
|
|
@@ -2,7 +2,7 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type payment_list_params =
|
|
5
|
-
{ end_date: Date, start_date: Date }
|
|
5
|
+
{ end_date: Date, start_date: Date, entity_ids: ::Array[String] }
|
|
6
6
|
& FinchAPI::Internal::Type::request_parameters
|
|
7
7
|
|
|
8
8
|
class PaymentListParams < FinchAPI::Internal::Type::BaseModel
|
|
@@ -13,15 +13,21 @@ module FinchAPI
|
|
|
13
13
|
|
|
14
14
|
attr_accessor start_date: Date
|
|
15
15
|
|
|
16
|
+
attr_reader entity_ids: ::Array[String]?
|
|
17
|
+
|
|
18
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
19
|
+
|
|
16
20
|
def initialize: (
|
|
17
21
|
end_date: Date,
|
|
18
22
|
start_date: Date,
|
|
23
|
+
?entity_ids: ::Array[String],
|
|
19
24
|
?request_options: FinchAPI::request_opts
|
|
20
25
|
) -> void
|
|
21
26
|
|
|
22
27
|
def to_hash: -> {
|
|
23
28
|
end_date: Date,
|
|
24
29
|
start_date: Date,
|
|
30
|
+
entity_ids: ::Array[String],
|
|
25
31
|
request_options: FinchAPI::RequestOptions
|
|
26
32
|
}
|
|
27
33
|
end
|
|
@@ -47,13 +47,14 @@ module FinchAPI
|
|
|
47
47
|
hsa_contribution_limit: ::Array[FinchAPI::Models::HRIS::SupportedBenefit::hsa_contribution_limit?]?
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
type company_contribution = :fixed | :percent
|
|
50
|
+
type company_contribution = :fixed | :percent | :tiered
|
|
51
51
|
|
|
52
52
|
module CompanyContribution
|
|
53
53
|
extend FinchAPI::Internal::Type::Enum
|
|
54
54
|
|
|
55
55
|
FIXED: :fixed
|
|
56
56
|
PERCENT: :percent
|
|
57
|
+
TIERED: :tiered
|
|
57
58
|
|
|
58
59
|
def self?.values: -> ::Array[FinchAPI::Models::HRIS::SupportedBenefit::company_contribution]
|
|
59
60
|
end
|
|
@@ -5,76 +5,62 @@ module FinchAPI
|
|
|
5
5
|
{
|
|
6
6
|
data: FinchAPI::HRIS::W42005::Data,
|
|
7
7
|
type: FinchAPI::Models::HRIS::W42005::type_,
|
|
8
|
-
year: Float
|
|
8
|
+
year: Float
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class W42005 < FinchAPI::Internal::Type::BaseModel
|
|
12
|
-
|
|
12
|
+
attr_accessor data: FinchAPI::HRIS::W42005::Data
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
FinchAPI::HRIS::W42005::Data
|
|
16
|
-
) -> FinchAPI::HRIS::W42005::Data
|
|
14
|
+
attr_accessor type: FinchAPI::Models::HRIS::W42005::type_
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
def type=: (
|
|
21
|
-
FinchAPI::Models::HRIS::W42005::type_
|
|
22
|
-
) -> FinchAPI::Models::HRIS::W42005::type_
|
|
23
|
-
|
|
24
|
-
attr_accessor year: Float?
|
|
16
|
+
attr_accessor year: Float
|
|
25
17
|
|
|
26
18
|
def initialize: (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
data: FinchAPI::HRIS::W42005::Data,
|
|
20
|
+
type: FinchAPI::Models::HRIS::W42005::type_,
|
|
21
|
+
year: Float
|
|
30
22
|
) -> void
|
|
31
23
|
|
|
32
24
|
def to_hash: -> {
|
|
33
25
|
data: FinchAPI::HRIS::W42005::Data,
|
|
34
26
|
type: FinchAPI::Models::HRIS::W42005::type_,
|
|
35
|
-
year: Float
|
|
27
|
+
year: Float
|
|
36
28
|
}
|
|
37
29
|
|
|
38
30
|
type data =
|
|
39
31
|
{
|
|
40
|
-
additional_withholding: Integer
|
|
41
|
-
exemption: FinchAPI::Models::HRIS::W42005::Data::exemption
|
|
32
|
+
additional_withholding: Integer,
|
|
33
|
+
exemption: FinchAPI::Models::HRIS::W42005::Data::exemption?,
|
|
42
34
|
filing_status: FinchAPI::Models::HRIS::W42005::Data::filing_status?,
|
|
43
35
|
individual_id: String,
|
|
44
|
-
total_number_of_allowances: Integer
|
|
36
|
+
total_number_of_allowances: Integer
|
|
45
37
|
}
|
|
46
38
|
|
|
47
39
|
class Data < FinchAPI::Internal::Type::BaseModel
|
|
48
|
-
attr_accessor additional_withholding: Integer
|
|
40
|
+
attr_accessor additional_withholding: Integer
|
|
49
41
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def exemption=: (
|
|
53
|
-
FinchAPI::Models::HRIS::W42005::Data::exemption
|
|
54
|
-
) -> FinchAPI::Models::HRIS::W42005::Data::exemption
|
|
42
|
+
attr_accessor exemption: FinchAPI::Models::HRIS::W42005::Data::exemption?
|
|
55
43
|
|
|
56
44
|
attr_accessor filing_status: FinchAPI::Models::HRIS::W42005::Data::filing_status?
|
|
57
45
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
def individual_id=: (String) -> String
|
|
46
|
+
attr_accessor individual_id: String
|
|
61
47
|
|
|
62
|
-
attr_accessor total_number_of_allowances: Integer
|
|
48
|
+
attr_accessor total_number_of_allowances: Integer
|
|
63
49
|
|
|
64
50
|
def initialize: (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
51
|
+
additional_withholding: Integer,
|
|
52
|
+
exemption: FinchAPI::Models::HRIS::W42005::Data::exemption?,
|
|
53
|
+
filing_status: FinchAPI::Models::HRIS::W42005::Data::filing_status?,
|
|
54
|
+
individual_id: String,
|
|
55
|
+
total_number_of_allowances: Integer
|
|
70
56
|
) -> void
|
|
71
57
|
|
|
72
58
|
def to_hash: -> {
|
|
73
|
-
additional_withholding: Integer
|
|
74
|
-
exemption: FinchAPI::Models::HRIS::W42005::Data::exemption
|
|
59
|
+
additional_withholding: Integer,
|
|
60
|
+
exemption: FinchAPI::Models::HRIS::W42005::Data::exemption?,
|
|
75
61
|
filing_status: FinchAPI::Models::HRIS::W42005::Data::filing_status?,
|
|
76
62
|
individual_id: String,
|
|
77
|
-
total_number_of_allowances: Integer
|
|
63
|
+
total_number_of_allowances: Integer
|
|
78
64
|
}
|
|
79
65
|
|
|
80
66
|
type exemption = :exempt | :non_exempt
|
|
@@ -5,87 +5,77 @@ module FinchAPI
|
|
|
5
5
|
{
|
|
6
6
|
data: FinchAPI::HRIS::W42020::Data,
|
|
7
7
|
type: FinchAPI::Models::HRIS::W42020::type_,
|
|
8
|
-
year: Float
|
|
8
|
+
year: Float
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class W42020 < FinchAPI::Internal::Type::BaseModel
|
|
12
|
-
|
|
12
|
+
attr_accessor data: FinchAPI::HRIS::W42020::Data
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
FinchAPI::HRIS::W42020::Data
|
|
16
|
-
) -> FinchAPI::HRIS::W42020::Data
|
|
14
|
+
attr_accessor type: FinchAPI::Models::HRIS::W42020::type_
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
def type=: (
|
|
21
|
-
FinchAPI::Models::HRIS::W42020::type_
|
|
22
|
-
) -> FinchAPI::Models::HRIS::W42020::type_
|
|
23
|
-
|
|
24
|
-
attr_accessor year: Float?
|
|
16
|
+
attr_accessor year: Float
|
|
25
17
|
|
|
26
18
|
def initialize: (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
data: FinchAPI::HRIS::W42020::Data,
|
|
20
|
+
type: FinchAPI::Models::HRIS::W42020::type_,
|
|
21
|
+
year: Float
|
|
30
22
|
) -> void
|
|
31
23
|
|
|
32
24
|
def to_hash: -> {
|
|
33
25
|
data: FinchAPI::HRIS::W42020::Data,
|
|
34
26
|
type: FinchAPI::Models::HRIS::W42020::type_,
|
|
35
|
-
year: Float
|
|
27
|
+
year: Float
|
|
36
28
|
}
|
|
37
29
|
|
|
38
30
|
type data =
|
|
39
31
|
{
|
|
40
|
-
amount_for_other_dependents: Integer
|
|
41
|
-
:amount_for_qualifying_children_under_17 => Integer
|
|
42
|
-
deductions: Integer
|
|
43
|
-
extra_withholding: Integer
|
|
32
|
+
amount_for_other_dependents: Integer,
|
|
33
|
+
:amount_for_qualifying_children_under_17 => Integer,
|
|
34
|
+
deductions: Integer,
|
|
35
|
+
extra_withholding: Integer,
|
|
44
36
|
filing_status: FinchAPI::Models::HRIS::W42020::Data::filing_status?,
|
|
45
37
|
individual_id: String,
|
|
46
|
-
other_income: Integer
|
|
47
|
-
total_claim_dependent_and_other_credits: Integer
|
|
38
|
+
other_income: Integer,
|
|
39
|
+
total_claim_dependent_and_other_credits: Integer
|
|
48
40
|
}
|
|
49
41
|
|
|
50
42
|
class Data < FinchAPI::Internal::Type::BaseModel
|
|
51
|
-
attr_accessor amount_for_other_dependents: Integer
|
|
43
|
+
attr_accessor amount_for_other_dependents: Integer
|
|
52
44
|
|
|
53
|
-
attr_accessor amount_for_qualifying_children_under_17: Integer
|
|
45
|
+
attr_accessor amount_for_qualifying_children_under_17: Integer
|
|
54
46
|
|
|
55
|
-
attr_accessor deductions: Integer
|
|
47
|
+
attr_accessor deductions: Integer
|
|
56
48
|
|
|
57
|
-
attr_accessor extra_withholding: Integer
|
|
49
|
+
attr_accessor extra_withholding: Integer
|
|
58
50
|
|
|
59
51
|
attr_accessor filing_status: FinchAPI::Models::HRIS::W42020::Data::filing_status?
|
|
60
52
|
|
|
61
|
-
|
|
53
|
+
attr_accessor individual_id: String
|
|
62
54
|
|
|
63
|
-
|
|
55
|
+
attr_accessor other_income: Integer
|
|
64
56
|
|
|
65
|
-
attr_accessor
|
|
66
|
-
|
|
67
|
-
attr_accessor total_claim_dependent_and_other_credits: Integer?
|
|
57
|
+
attr_accessor total_claim_dependent_and_other_credits: Integer
|
|
68
58
|
|
|
69
59
|
def initialize: (
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
60
|
+
amount_for_other_dependents: Integer,
|
|
61
|
+
amount_for_qualifying_children_under_17: Integer,
|
|
62
|
+
deductions: Integer,
|
|
63
|
+
extra_withholding: Integer,
|
|
64
|
+
filing_status: FinchAPI::Models::HRIS::W42020::Data::filing_status?,
|
|
65
|
+
individual_id: String,
|
|
66
|
+
other_income: Integer,
|
|
67
|
+
total_claim_dependent_and_other_credits: Integer
|
|
78
68
|
) -> void
|
|
79
69
|
|
|
80
70
|
def to_hash: -> {
|
|
81
|
-
amount_for_other_dependents: Integer
|
|
82
|
-
:amount_for_qualifying_children_under_17 => Integer
|
|
83
|
-
deductions: Integer
|
|
84
|
-
extra_withholding: Integer
|
|
71
|
+
amount_for_other_dependents: Integer,
|
|
72
|
+
:amount_for_qualifying_children_under_17 => Integer,
|
|
73
|
+
deductions: Integer,
|
|
74
|
+
extra_withholding: Integer,
|
|
85
75
|
filing_status: FinchAPI::Models::HRIS::W42020::Data::filing_status?,
|
|
86
76
|
individual_id: String,
|
|
87
|
-
other_income: Integer
|
|
88
|
-
total_claim_dependent_and_other_credits: Integer
|
|
77
|
+
other_income: Integer,
|
|
78
|
+
total_claim_dependent_and_other_credits: Integer
|
|
89
79
|
}
|
|
90
80
|
|
|
91
81
|
type filing_status =
|