finch-api 0.1.0.pre.alpha.42 → 0.1.0.pre.alpha.43
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 +65 -0
- data/README.md +3 -3
- data/lib/finch_api/client.rb +22 -4
- data/lib/finch_api/internal/transport/base_client.rb +30 -3
- data/lib/finch_api/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/finch_api/internal/util.rb +54 -8
- data/lib/finch_api/models/account_disconnect_entity_params.rb +22 -0
- data/lib/finch_api/models/base_webhook_event.rb +9 -1
- data/lib/finch_api/models/connect/session_new_params.rb +5 -3
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +5 -3
- data/lib/finch_api/models/create_access_token_response.rb +10 -1
- data/lib/finch_api/models/disconnect_entity_response.rb +17 -0
- data/lib/finch_api/models/hris/benefit_contribution.rb +24 -23
- data/lib/finch_api/models/hris/benefit_register_params.rb +47 -0
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +8 -1
- data/lib/finch_api/models/hris/benefit_update_params.rb +8 -1
- data/lib/finch_api/models/hris/benefits/individual_benefit.rb +63 -59
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +8 -1
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +8 -1
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +8 -1
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +8 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +8 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +8 -1
- data/lib/finch_api/models/hris/document_retreive_params.rb +8 -1
- data/lib/finch_api/models/hris/employment_data.rb +76 -37
- data/lib/finch_api/models/hris/employment_data_response.rb +2 -2
- data/lib/finch_api/models/hris/individual.rb +38 -28
- data/lib/finch_api/models/hris/individual_response.rb +2 -2
- data/lib/finch_api/models/hris/register_company_benefit_response.rb +26 -0
- data/lib/finch_api/models/introspection.rb +27 -1
- data/lib/finch_api/models/job_completion_event.rb +3 -0
- data/lib/finch_api/models/jobs/automated_create_params.rb +53 -29
- data/lib/finch_api/models/jobs/automated_retrieve_params.rb +7 -1
- data/lib/finch_api/models/jobs/manual_retrieve_params.rb +7 -1
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +8 -1
- data/lib/finch_api/models/sandbox/directory_create_params.rb +55 -4
- data/lib/finch_api/models/sandbox/employment_update_params.rb +58 -4
- data/lib/finch_api/models/sandbox/employment_update_response.rb +53 -4
- data/lib/finch_api/models/sandbox/individual_update_params.rb +8 -1
- data/lib/finch_api/models.rb +4 -0
- data/lib/finch_api/resources/access_tokens.rb +1 -0
- data/lib/finch_api/resources/account.rb +26 -0
- data/lib/finch_api/resources/connect/sessions.rb +4 -2
- data/lib/finch_api/resources/hris/benefits/individuals.rb +13 -5
- data/lib/finch_api/resources/hris/benefits.rb +50 -7
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +14 -6
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +3 -1
- data/lib/finch_api/resources/hris/company.rb +3 -1
- data/lib/finch_api/resources/hris/directory.rb +3 -1
- data/lib/finch_api/resources/hris/documents.rb +6 -2
- data/lib/finch_api/resources/hris/employments.rb +4 -2
- data/lib/finch_api/resources/hris/individuals.rb +4 -2
- data/lib/finch_api/resources/hris/pay_statements.rb +4 -2
- data/lib/finch_api/resources/hris/payments.rb +3 -1
- data/lib/finch_api/resources/jobs/automated.rb +8 -7
- data/lib/finch_api/resources/jobs/manual.rb +1 -0
- data/lib/finch_api/resources/payroll/pay_groups.rb +6 -2
- data/lib/finch_api/resources/providers.rb +1 -0
- data/lib/finch_api/resources/request_forwarding.rb +1 -0
- data/lib/finch_api/resources/sandbox/company.rb +1 -0
- data/lib/finch_api/resources/sandbox/connections/accounts.rb +2 -0
- data/lib/finch_api/resources/sandbox/connections.rb +1 -0
- data/lib/finch_api/resources/sandbox/directory.rb +1 -0
- data/lib/finch_api/resources/sandbox/employment.rb +4 -1
- data/lib/finch_api/resources/sandbox/individual.rb +1 -0
- data/lib/finch_api/resources/sandbox/jobs/configuration.rb +2 -0
- data/lib/finch_api/resources/sandbox/jobs.rb +1 -0
- data/lib/finch_api/resources/sandbox/payment.rb +1 -0
- data/lib/finch_api/version.rb +1 -1
- data/lib/finch_api.rb +4 -0
- data/rbi/finch_api/client.rbi +12 -2
- data/rbi/finch_api/internal/transport/base_client.rbi +6 -1
- data/rbi/finch_api/internal/util.rbi +29 -1
- data/rbi/finch_api/models/account_disconnect_entity_params.rbi +46 -0
- data/rbi/finch_api/models/base_webhook_event.rbi +18 -3
- data/rbi/finch_api/models/connect/session_new_params.rbi +11 -3
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +11 -3
- data/rbi/finch_api/models/create_access_token_response.rbi +13 -3
- data/rbi/finch_api/models/disconnect_entity_response.rbi +27 -0
- data/rbi/finch_api/models/hris/benefit_contribution.rbi +33 -31
- data/rbi/finch_api/models/hris/benefit_register_params.rbi +76 -0
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +6 -0
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +6 -0
- data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +71 -71
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +6 -0
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +6 -0
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +6 -0
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +6 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +6 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +6 -0
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +6 -0
- data/rbi/finch_api/models/hris/employment_data.rbi +121 -56
- data/rbi/finch_api/models/hris/employment_data_response.rbi +1 -1
- data/rbi/finch_api/models/hris/individual.rbi +54 -47
- data/rbi/finch_api/models/hris/individual_response.rbi +1 -1
- data/rbi/finch_api/models/hris/register_company_benefit_response.rbi +38 -0
- data/rbi/finch_api/models/introspection.rbi +66 -3
- data/rbi/finch_api/models/job_completion_event.rbi +15 -0
- data/rbi/finch_api/models/jobs/automated_create_params.rbi +126 -56
- data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +13 -5
- data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +13 -5
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +6 -0
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +122 -9
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +128 -9
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +122 -9
- data/rbi/finch_api/models/sandbox/individual_update_params.rbi +6 -0
- data/rbi/finch_api/models.rbi +5 -0
- data/rbi/finch_api/resources/account.rbi +15 -0
- data/rbi/finch_api/resources/connect/sessions.rbi +6 -2
- data/rbi/finch_api/resources/hris/benefits.rbi +24 -0
- data/rbi/finch_api/resources/jobs/automated.rbi +6 -8
- data/rbi/finch_api/resources/sandbox/employment.rbi +7 -0
- data/sig/finch_api/client.rbs +6 -1
- data/sig/finch_api/internal/transport/base_client.rbs +2 -0
- data/sig/finch_api/internal/util.rbs +14 -0
- data/sig/finch_api/models/account_disconnect_entity_params.rbs +24 -0
- data/sig/finch_api/models/base_webhook_event.rbs +14 -3
- data/sig/finch_api/models/connect/session_new_params.rbs +2 -0
- data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +2 -0
- data/sig/finch_api/models/create_access_token_response.rbs +8 -3
- data/sig/finch_api/models/disconnect_entity_response.rbs +13 -0
- data/sig/finch_api/models/hris/benefit_contribution.rbs +28 -28
- data/sig/finch_api/models/hris/benefit_register_params.rbs +47 -0
- data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +5 -1
- data/sig/finch_api/models/hris/benefit_update_params.rbs +5 -1
- data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +62 -62
- data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +5 -0
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +5 -1
- data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +9 -1
- data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +9 -1
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +5 -1
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +9 -1
- data/sig/finch_api/models/hris/document_retreive_params.rbs +5 -1
- data/sig/finch_api/models/hris/employment_data.rbs +56 -39
- data/sig/finch_api/models/hris/individual.rbs +31 -31
- data/sig/finch_api/models/hris/register_company_benefit_response.rbs +18 -0
- data/sig/finch_api/models/introspection.rbs +44 -3
- data/sig/finch_api/models/job_completion_event.rbs +6 -0
- data/sig/finch_api/models/jobs/automated_create_params.rbs +47 -22
- data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +11 -3
- data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +11 -3
- data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +5 -1
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +40 -5
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +45 -5
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +40 -5
- data/sig/finch_api/models/sandbox/individual_update_params.rbs +5 -0
- data/sig/finch_api/models.rbs +4 -0
- data/sig/finch_api/resources/account.rbs +5 -0
- data/sig/finch_api/resources/hris/benefits.rbs +8 -0
- data/sig/finch_api/resources/jobs/automated.rbs +1 -2
- data/sig/finch_api/resources/sandbox/employment.rbs +1 -0
- metadata +14 -2
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
module FinchAPI
|
|
2
2
|
module Models
|
|
3
3
|
type base_webhook_event =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
account_id: String,
|
|
6
|
+
company_id: String,
|
|
7
|
+
connection_id: String,
|
|
8
|
+
entity_id: String
|
|
9
|
+
}
|
|
5
10
|
|
|
6
11
|
class BaseWebhookEvent < FinchAPI::Internal::Type::BaseModel
|
|
7
12
|
attr_accessor account_id: String
|
|
@@ -12,16 +17,22 @@ module FinchAPI
|
|
|
12
17
|
|
|
13
18
|
def connection_id=: (String) -> String
|
|
14
19
|
|
|
20
|
+
attr_reader entity_id: String?
|
|
21
|
+
|
|
22
|
+
def entity_id=: (String) -> String
|
|
23
|
+
|
|
15
24
|
def initialize: (
|
|
16
25
|
account_id: String,
|
|
17
26
|
company_id: String,
|
|
18
|
-
?connection_id: String
|
|
27
|
+
?connection_id: String,
|
|
28
|
+
?entity_id: String
|
|
19
29
|
) -> void
|
|
20
30
|
|
|
21
31
|
def to_hash: -> {
|
|
22
32
|
account_id: String,
|
|
23
33
|
company_id: String,
|
|
24
|
-
connection_id: String
|
|
34
|
+
connection_id: String,
|
|
35
|
+
entity_id: String
|
|
25
36
|
}
|
|
26
37
|
end
|
|
27
38
|
end
|
|
@@ -73,6 +73,7 @@ module FinchAPI
|
|
|
73
73
|
| :individual
|
|
74
74
|
| :payment
|
|
75
75
|
| :pay_statement
|
|
76
|
+
| :recordkeeping
|
|
76
77
|
| :ssn
|
|
77
78
|
|
|
78
79
|
module Product
|
|
@@ -87,6 +88,7 @@ module FinchAPI
|
|
|
87
88
|
INDIVIDUAL: :individual
|
|
88
89
|
PAYMENT: :payment
|
|
89
90
|
PAY_STATEMENT: :pay_statement
|
|
91
|
+
RECORDKEEPING: :recordkeeping
|
|
90
92
|
SSN: :ssn
|
|
91
93
|
|
|
92
94
|
def self?.values: -> ::Array[FinchAPI::Models::Connect::SessionNewParams::product]
|
|
@@ -50,6 +50,7 @@ module FinchAPI
|
|
|
50
50
|
| :individual
|
|
51
51
|
| :payment
|
|
52
52
|
| :pay_statement
|
|
53
|
+
| :recordkeeping
|
|
53
54
|
| :ssn
|
|
54
55
|
|
|
55
56
|
module Product
|
|
@@ -64,6 +65,7 @@ module FinchAPI
|
|
|
64
65
|
INDIVIDUAL: :individual
|
|
65
66
|
PAYMENT: :payment
|
|
66
67
|
PAY_STATEMENT: :pay_statement
|
|
68
|
+
RECORDKEEPING: :recordkeeping
|
|
67
69
|
SSN: :ssn
|
|
68
70
|
|
|
69
71
|
def self?.values: -> ::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::product]
|
|
@@ -12,7 +12,8 @@ module FinchAPI
|
|
|
12
12
|
token_type: String,
|
|
13
13
|
account_id: String,
|
|
14
14
|
company_id: String,
|
|
15
|
-
customer_id: String
|
|
15
|
+
customer_id: String?,
|
|
16
|
+
customer_name: String?
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel
|
|
@@ -42,6 +43,8 @@ module FinchAPI
|
|
|
42
43
|
|
|
43
44
|
attr_accessor customer_id: String?
|
|
44
45
|
|
|
46
|
+
attr_accessor customer_name: String?
|
|
47
|
+
|
|
45
48
|
def initialize: (
|
|
46
49
|
access_token: String,
|
|
47
50
|
client_type: FinchAPI::Models::CreateAccessTokenResponse::client_type,
|
|
@@ -53,7 +56,8 @@ module FinchAPI
|
|
|
53
56
|
token_type: String,
|
|
54
57
|
?account_id: String,
|
|
55
58
|
?company_id: String,
|
|
56
|
-
?customer_id: String
|
|
59
|
+
?customer_id: String?,
|
|
60
|
+
?customer_name: String?
|
|
57
61
|
) -> void
|
|
58
62
|
|
|
59
63
|
def to_hash: -> {
|
|
@@ -67,7 +71,8 @@ module FinchAPI
|
|
|
67
71
|
token_type: String,
|
|
68
72
|
account_id: String,
|
|
69
73
|
company_id: String,
|
|
70
|
-
customer_id: String
|
|
74
|
+
customer_id: String?,
|
|
75
|
+
customer_name: String?
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
type client_type = :development | :production | :sandbox
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module FinchAPI
|
|
2
|
+
module Models
|
|
3
|
+
type disconnect_entity_response = { status: String }
|
|
4
|
+
|
|
5
|
+
class DisconnectEntityResponse < FinchAPI::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor status: String
|
|
7
|
+
|
|
8
|
+
def initialize: (status: String) -> void
|
|
9
|
+
|
|
10
|
+
def to_hash: -> { status: String }
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -2,32 +2,32 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_contribution =
|
|
5
|
-
FinchAPI::HRIS::BenefitContribution::
|
|
6
|
-
| FinchAPI::HRIS::BenefitContribution::
|
|
7
|
-
| FinchAPI::HRIS::BenefitContribution::
|
|
5
|
+
FinchAPI::HRIS::BenefitContribution::BenefitContributionFixed
|
|
6
|
+
| FinchAPI::HRIS::BenefitContribution::BenefitContributionPercent
|
|
7
|
+
| FinchAPI::HRIS::BenefitContribution::BenefitContributionTiered
|
|
8
8
|
|
|
9
9
|
module BenefitContribution
|
|
10
10
|
extend FinchAPI::Internal::Type::Union
|
|
11
11
|
|
|
12
|
-
type
|
|
12
|
+
type benefit_contribution_fixed =
|
|
13
13
|
{
|
|
14
14
|
amount: Integer,
|
|
15
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
15
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionFixed::type_
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class BenefitContributionFixed < FinchAPI::Internal::Type::BaseModel
|
|
19
19
|
attr_accessor amount: Integer
|
|
20
20
|
|
|
21
|
-
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
21
|
+
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionFixed::type_
|
|
22
22
|
|
|
23
23
|
def initialize: (
|
|
24
24
|
amount: Integer,
|
|
25
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
25
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionFixed::type_
|
|
26
26
|
) -> void
|
|
27
27
|
|
|
28
28
|
def to_hash: -> {
|
|
29
29
|
amount: Integer,
|
|
30
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
30
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionFixed::type_
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
type type_ = :fixed
|
|
@@ -37,29 +37,29 @@ module FinchAPI
|
|
|
37
37
|
|
|
38
38
|
FIXED: :fixed
|
|
39
39
|
|
|
40
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::
|
|
40
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionFixed::type_]
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
type
|
|
44
|
+
type benefit_contribution_percent =
|
|
45
45
|
{
|
|
46
46
|
amount: Integer,
|
|
47
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
47
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionPercent::type_
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class BenefitContributionPercent < FinchAPI::Internal::Type::BaseModel
|
|
51
51
|
attr_accessor amount: Integer
|
|
52
52
|
|
|
53
|
-
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
53
|
+
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionPercent::type_
|
|
54
54
|
|
|
55
55
|
def initialize: (
|
|
56
56
|
amount: Integer,
|
|
57
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
57
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionPercent::type_
|
|
58
58
|
) -> void
|
|
59
59
|
|
|
60
60
|
def to_hash: -> {
|
|
61
61
|
amount: Integer,
|
|
62
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
62
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionPercent::type_
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
type type_ = :percent
|
|
@@ -69,29 +69,29 @@ module FinchAPI
|
|
|
69
69
|
|
|
70
70
|
PERCENT: :percent
|
|
71
71
|
|
|
72
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::
|
|
72
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionPercent::type_]
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
type
|
|
76
|
+
type benefit_contribution_tiered =
|
|
77
77
|
{
|
|
78
|
-
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::
|
|
79
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
78
|
+
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::BenefitContributionTiered::Tier],
|
|
79
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionTiered::type_
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
83
|
-
attr_accessor tiers: ::Array[FinchAPI::HRIS::BenefitContribution::
|
|
82
|
+
class BenefitContributionTiered < FinchAPI::Internal::Type::BaseModel
|
|
83
|
+
attr_accessor tiers: ::Array[FinchAPI::HRIS::BenefitContribution::BenefitContributionTiered::Tier]
|
|
84
84
|
|
|
85
|
-
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
85
|
+
attr_accessor type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionTiered::type_
|
|
86
86
|
|
|
87
87
|
def initialize: (
|
|
88
|
-
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::
|
|
89
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
88
|
+
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::BenefitContributionTiered::Tier],
|
|
89
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionTiered::type_
|
|
90
90
|
) -> void
|
|
91
91
|
|
|
92
92
|
def to_hash: -> {
|
|
93
|
-
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::
|
|
94
|
-
type: FinchAPI::Models::HRIS::BenefitContribution::
|
|
93
|
+
tiers: ::Array[FinchAPI::HRIS::BenefitContribution::BenefitContributionTiered::Tier],
|
|
94
|
+
type: FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionTiered::type_
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
type tier = { match: Integer, threshold: Integer }
|
|
@@ -113,7 +113,7 @@ module FinchAPI
|
|
|
113
113
|
|
|
114
114
|
TIERED: :tiered
|
|
115
115
|
|
|
116
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::
|
|
116
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::BenefitContribution::BenefitContributionTiered::type_]
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
module FinchAPI
|
|
2
|
+
module Models
|
|
3
|
+
module HRIS
|
|
4
|
+
type benefit_register_params =
|
|
5
|
+
{
|
|
6
|
+
entity_ids: ::Array[String],
|
|
7
|
+
description: String,
|
|
8
|
+
frequency: FinchAPI::Models::HRIS::benefit_frequency?,
|
|
9
|
+
type: FinchAPI::Models::HRIS::benefit_type?
|
|
10
|
+
}
|
|
11
|
+
& FinchAPI::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class BenefitRegisterParams < FinchAPI::Internal::Type::BaseModel
|
|
14
|
+
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include FinchAPI::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_reader entity_ids: ::Array[String]?
|
|
18
|
+
|
|
19
|
+
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
20
|
+
|
|
21
|
+
attr_reader description: String?
|
|
22
|
+
|
|
23
|
+
def description=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_accessor frequency: FinchAPI::Models::HRIS::benefit_frequency?
|
|
26
|
+
|
|
27
|
+
attr_accessor type: FinchAPI::Models::HRIS::benefit_type?
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
?entity_ids: ::Array[String],
|
|
31
|
+
?description: String,
|
|
32
|
+
?frequency: FinchAPI::Models::HRIS::benefit_frequency?,
|
|
33
|
+
?type: FinchAPI::Models::HRIS::benefit_type?,
|
|
34
|
+
?request_options: FinchAPI::request_opts
|
|
35
|
+
) -> void
|
|
36
|
+
|
|
37
|
+
def to_hash: -> {
|
|
38
|
+
entity_ids: ::Array[String],
|
|
39
|
+
description: String,
|
|
40
|
+
frequency: FinchAPI::Models::HRIS::benefit_frequency?,
|
|
41
|
+
type: FinchAPI::Models::HRIS::benefit_type?,
|
|
42
|
+
request_options: FinchAPI::RequestOptions
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -2,23 +2,27 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_retrieve_params =
|
|
5
|
-
{ entity_ids: ::Array[String] }
|
|
5
|
+
{ benefit_id: String, entity_ids: ::Array[String] }
|
|
6
6
|
& FinchAPI::Internal::Type::request_parameters
|
|
7
7
|
|
|
8
8
|
class BenefitRetrieveParams < FinchAPI::Internal::Type::BaseModel
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
attr_accessor benefit_id: String
|
|
13
|
+
|
|
12
14
|
attr_reader entity_ids: ::Array[String]?
|
|
13
15
|
|
|
14
16
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
15
17
|
|
|
16
18
|
def initialize: (
|
|
19
|
+
benefit_id: String,
|
|
17
20
|
?entity_ids: ::Array[String],
|
|
18
21
|
?request_options: FinchAPI::request_opts
|
|
19
22
|
) -> void
|
|
20
23
|
|
|
21
24
|
def to_hash: -> {
|
|
25
|
+
benefit_id: String,
|
|
22
26
|
entity_ids: ::Array[String],
|
|
23
27
|
request_options: FinchAPI::RequestOptions
|
|
24
28
|
}
|
|
@@ -2,13 +2,15 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type benefit_update_params =
|
|
5
|
-
{ entity_ids: ::Array[String], description: String }
|
|
5
|
+
{ benefit_id: String, entity_ids: ::Array[String], description: String }
|
|
6
6
|
& FinchAPI::Internal::Type::request_parameters
|
|
7
7
|
|
|
8
8
|
class BenefitUpdateParams < FinchAPI::Internal::Type::BaseModel
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
attr_accessor benefit_id: String
|
|
13
|
+
|
|
12
14
|
attr_reader entity_ids: ::Array[String]?
|
|
13
15
|
|
|
14
16
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
@@ -18,12 +20,14 @@ module FinchAPI
|
|
|
18
20
|
def description=: (String) -> String
|
|
19
21
|
|
|
20
22
|
def initialize: (
|
|
23
|
+
benefit_id: String,
|
|
21
24
|
?entity_ids: ::Array[String],
|
|
22
25
|
?description: String,
|
|
23
26
|
?request_options: FinchAPI::request_opts
|
|
24
27
|
) -> void
|
|
25
28
|
|
|
26
29
|
def to_hash: -> {
|
|
30
|
+
benefit_id: String,
|
|
27
31
|
entity_ids: ::Array[String],
|
|
28
32
|
description: String,
|
|
29
33
|
request_options: FinchAPI::RequestOptions
|
|
@@ -31,75 +31,75 @@ module FinchAPI
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
type body =
|
|
34
|
-
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
34
|
+
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit
|
|
35
35
|
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::BatchError
|
|
36
36
|
|
|
37
37
|
module Body
|
|
38
38
|
extend FinchAPI::Internal::Type::Union
|
|
39
39
|
|
|
40
|
-
type
|
|
40
|
+
type individual_benefit =
|
|
41
41
|
{
|
|
42
42
|
annual_maximum: Integer?,
|
|
43
43
|
catch_up: bool?,
|
|
44
|
-
company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
45
|
-
employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
46
|
-
hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
44
|
+
company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::company_contribution?,
|
|
45
|
+
employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::employee_deduction?,
|
|
46
|
+
hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::hsa_contribution_limit?
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class IndividualBenefit < FinchAPI::Internal::Type::BaseModel
|
|
50
50
|
attr_accessor annual_maximum: Integer?
|
|
51
51
|
|
|
52
52
|
attr_accessor catch_up: bool?
|
|
53
53
|
|
|
54
|
-
attr_accessor company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
54
|
+
attr_accessor company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::company_contribution?
|
|
55
55
|
|
|
56
|
-
attr_accessor employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
56
|
+
attr_accessor employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::employee_deduction?
|
|
57
57
|
|
|
58
|
-
attr_accessor hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
58
|
+
attr_accessor hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::hsa_contribution_limit?
|
|
59
59
|
|
|
60
60
|
def initialize: (
|
|
61
61
|
annual_maximum: Integer?,
|
|
62
62
|
catch_up: bool?,
|
|
63
|
-
company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
64
|
-
employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
65
|
-
?hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
63
|
+
company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::company_contribution?,
|
|
64
|
+
employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::employee_deduction?,
|
|
65
|
+
?hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::hsa_contribution_limit?
|
|
66
66
|
) -> void
|
|
67
67
|
|
|
68
68
|
def to_hash: -> {
|
|
69
69
|
annual_maximum: Integer?,
|
|
70
70
|
catch_up: bool?,
|
|
71
|
-
company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
72
|
-
employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
73
|
-
hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
71
|
+
company_contribution: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::company_contribution?,
|
|
72
|
+
employee_deduction: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::employee_deduction?,
|
|
73
|
+
hsa_contribution_limit: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::hsa_contribution_limit?
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
type company_contribution =
|
|
77
|
-
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
78
|
-
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
79
|
-
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
77
|
+
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionFixed
|
|
78
|
+
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionPercent
|
|
79
|
+
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered
|
|
80
80
|
|
|
81
81
|
module CompanyContribution
|
|
82
82
|
extend FinchAPI::Internal::Type::Union
|
|
83
83
|
|
|
84
|
-
type
|
|
84
|
+
type company_contribution_fixed =
|
|
85
85
|
{
|
|
86
86
|
amount: Integer,
|
|
87
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
87
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionFixed::type_
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class CompanyContributionFixed < FinchAPI::Internal::Type::BaseModel
|
|
91
91
|
attr_accessor amount: Integer
|
|
92
92
|
|
|
93
|
-
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
93
|
+
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionFixed::type_
|
|
94
94
|
|
|
95
95
|
def initialize: (
|
|
96
96
|
amount: Integer,
|
|
97
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
97
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionFixed::type_
|
|
98
98
|
) -> void
|
|
99
99
|
|
|
100
100
|
def to_hash: -> {
|
|
101
101
|
amount: Integer,
|
|
102
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
102
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionFixed::type_
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
type type_ = :fixed
|
|
@@ -109,29 +109,29 @@ module FinchAPI
|
|
|
109
109
|
|
|
110
110
|
FIXED: :fixed
|
|
111
111
|
|
|
112
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
112
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionFixed::type_]
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
type
|
|
116
|
+
type company_contribution_percent =
|
|
117
117
|
{
|
|
118
118
|
amount: Integer,
|
|
119
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
119
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionPercent::type_
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
class
|
|
122
|
+
class CompanyContributionPercent < FinchAPI::Internal::Type::BaseModel
|
|
123
123
|
attr_accessor amount: Integer
|
|
124
124
|
|
|
125
|
-
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
125
|
+
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionPercent::type_
|
|
126
126
|
|
|
127
127
|
def initialize: (
|
|
128
128
|
amount: Integer,
|
|
129
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
129
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionPercent::type_
|
|
130
130
|
) -> void
|
|
131
131
|
|
|
132
132
|
def to_hash: -> {
|
|
133
133
|
amount: Integer,
|
|
134
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
134
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionPercent::type_
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
type type_ = :percent
|
|
@@ -141,29 +141,29 @@ module FinchAPI
|
|
|
141
141
|
|
|
142
142
|
PERCENT: :percent
|
|
143
143
|
|
|
144
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
144
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionPercent::type_]
|
|
145
145
|
end
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
type
|
|
148
|
+
type company_contribution_tiered =
|
|
149
149
|
{
|
|
150
|
-
tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
151
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
150
|
+
tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::Tier],
|
|
151
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::type_
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
class
|
|
155
|
-
attr_accessor tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
154
|
+
class CompanyContributionTiered < FinchAPI::Internal::Type::BaseModel
|
|
155
|
+
attr_accessor tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::Tier]
|
|
156
156
|
|
|
157
|
-
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
157
|
+
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::type_
|
|
158
158
|
|
|
159
159
|
def initialize: (
|
|
160
|
-
tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
161
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
160
|
+
tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::Tier],
|
|
161
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::type_
|
|
162
162
|
) -> void
|
|
163
163
|
|
|
164
164
|
def to_hash: -> {
|
|
165
|
-
tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
166
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
165
|
+
tiers: ::Array[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::Tier],
|
|
166
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::type_
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
type tier = { match: Integer, threshold: Integer }
|
|
@@ -185,39 +185,39 @@ module FinchAPI
|
|
|
185
185
|
|
|
186
186
|
TIERED: :tiered
|
|
187
187
|
|
|
188
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
188
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::CompanyContribution::CompanyContributionTiered::type_]
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
-
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
192
|
+
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::company_contribution]
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
type employee_deduction =
|
|
196
|
-
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
197
|
-
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::
|
|
196
|
+
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed
|
|
197
|
+
| FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionPercent
|
|
198
198
|
|
|
199
199
|
module EmployeeDeduction
|
|
200
200
|
extend FinchAPI::Internal::Type::Union
|
|
201
201
|
|
|
202
|
-
type
|
|
202
|
+
type employee_deduction_contribution_fixed =
|
|
203
203
|
{
|
|
204
204
|
amount: Integer,
|
|
205
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
205
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::type_
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
class
|
|
208
|
+
class EmployeeDeductionContributionFixed < FinchAPI::Internal::Type::BaseModel
|
|
209
209
|
attr_accessor amount: Integer
|
|
210
210
|
|
|
211
|
-
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
211
|
+
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::type_
|
|
212
212
|
|
|
213
213
|
def initialize: (
|
|
214
214
|
amount: Integer,
|
|
215
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
215
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::type_
|
|
216
216
|
) -> void
|
|
217
217
|
|
|
218
218
|
def to_hash: -> {
|
|
219
219
|
amount: Integer,
|
|
220
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
220
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::type_
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
type type_ = :fixed
|
|
@@ -227,29 +227,29 @@ module FinchAPI
|
|
|
227
227
|
|
|
228
228
|
FIXED: :fixed
|
|
229
229
|
|
|
230
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
230
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::type_]
|
|
231
231
|
end
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
type
|
|
234
|
+
type employee_deduction_contribution_percent =
|
|
235
235
|
{
|
|
236
236
|
amount: Integer,
|
|
237
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
237
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionPercent::type_
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
class
|
|
240
|
+
class EmployeeDeductionContributionPercent < FinchAPI::Internal::Type::BaseModel
|
|
241
241
|
attr_accessor amount: Integer
|
|
242
242
|
|
|
243
|
-
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
243
|
+
attr_accessor type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionPercent::type_
|
|
244
244
|
|
|
245
245
|
def initialize: (
|
|
246
246
|
amount: Integer,
|
|
247
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
247
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionPercent::type_
|
|
248
248
|
) -> void
|
|
249
249
|
|
|
250
250
|
def to_hash: -> {
|
|
251
251
|
amount: Integer,
|
|
252
|
-
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
252
|
+
type: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionPercent::type_
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
type type_ = :percent
|
|
@@ -259,11 +259,11 @@ module FinchAPI
|
|
|
259
259
|
|
|
260
260
|
PERCENT: :percent
|
|
261
261
|
|
|
262
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
262
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionPercent::type_]
|
|
263
263
|
end
|
|
264
264
|
end
|
|
265
265
|
|
|
266
|
-
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
266
|
+
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::employee_deduction]
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
type hsa_contribution_limit = :individual | :family
|
|
@@ -274,7 +274,7 @@ module FinchAPI
|
|
|
274
274
|
INDIVIDUAL: :individual
|
|
275
275
|
FAMILY: :family
|
|
276
276
|
|
|
277
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::
|
|
277
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::hsa_contribution_limit]
|
|
278
278
|
end
|
|
279
279
|
end
|
|
280
280
|
|