finch-api 0.1.0.pre.alpha.29 → 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 +49 -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/access_token_create_params.rb +13 -13
- 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 +53 -103
- 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/access_tokens.rb +3 -3
- 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/access_token_create_params.rbi +19 -13
- 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 +69 -272
- 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/access_tokens.rbi +5 -5
- 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/access_token_create_params.rbs +11 -7
- 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 +28 -96
- 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/access_tokens.rbs +2 -2
- 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
|
@@ -50,13 +50,21 @@ module FinchAPI
|
|
|
50
50
|
|
|
51
51
|
# @!attribute company_contribution
|
|
52
52
|
#
|
|
53
|
-
# @return [FinchAPI::Models::HRIS::
|
|
54
|
-
required :company_contribution,
|
|
53
|
+
# @return [FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2, nil]
|
|
54
|
+
required :company_contribution,
|
|
55
|
+
union: -> {
|
|
56
|
+
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution
|
|
57
|
+
},
|
|
58
|
+
nil?: true
|
|
55
59
|
|
|
56
60
|
# @!attribute employee_deduction
|
|
57
61
|
#
|
|
58
|
-
# @return [FinchAPI::Models::HRIS::
|
|
59
|
-
required :employee_deduction,
|
|
62
|
+
# @return [FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1, nil]
|
|
63
|
+
required :employee_deduction,
|
|
64
|
+
union: -> {
|
|
65
|
+
FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction
|
|
66
|
+
},
|
|
67
|
+
nil?: true
|
|
60
68
|
|
|
61
69
|
# @!attribute hsa_contribution_limit
|
|
62
70
|
# Type for HSA contribution limit if the benefit is a HSA.
|
|
@@ -77,12 +85,220 @@ module FinchAPI
|
|
|
77
85
|
#
|
|
78
86
|
# @param catch_up [Boolean, nil] If the benefit supports catch up (401k, 403b, etc.), whether catch up is enabled
|
|
79
87
|
#
|
|
80
|
-
# @param company_contribution [FinchAPI::Models::HRIS::
|
|
88
|
+
# @param company_contribution [FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2, nil]
|
|
81
89
|
#
|
|
82
|
-
# @param employee_deduction [FinchAPI::Models::HRIS::
|
|
90
|
+
# @param employee_deduction [FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1, nil]
|
|
83
91
|
#
|
|
84
92
|
# @param hsa_contribution_limit [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::HsaContributionLimit, nil] Type for HSA contribution limit if the benefit is a HSA.
|
|
85
93
|
|
|
94
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0#company_contribution
|
|
95
|
+
module CompanyContribution
|
|
96
|
+
extend FinchAPI::Internal::Type::Union
|
|
97
|
+
|
|
98
|
+
variant -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0 }
|
|
99
|
+
|
|
100
|
+
variant -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1 }
|
|
101
|
+
|
|
102
|
+
variant -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2 }
|
|
103
|
+
|
|
104
|
+
class UnionMember0 < FinchAPI::Internal::Type::BaseModel
|
|
105
|
+
# @!attribute amount
|
|
106
|
+
# Contribution amount in cents.
|
|
107
|
+
#
|
|
108
|
+
# @return [Integer]
|
|
109
|
+
required :amount, Integer
|
|
110
|
+
|
|
111
|
+
# @!attribute type
|
|
112
|
+
# Fixed contribution type.
|
|
113
|
+
#
|
|
114
|
+
# @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0::Type]
|
|
115
|
+
required :type,
|
|
116
|
+
enum: -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0::Type }
|
|
117
|
+
|
|
118
|
+
# @!method initialize(amount:, type:)
|
|
119
|
+
# @param amount [Integer] Contribution amount in cents.
|
|
120
|
+
#
|
|
121
|
+
# @param type [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0::Type] Fixed contribution type.
|
|
122
|
+
|
|
123
|
+
# Fixed contribution type.
|
|
124
|
+
#
|
|
125
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0#type
|
|
126
|
+
module Type
|
|
127
|
+
extend FinchAPI::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
FIXED = :fixed
|
|
130
|
+
|
|
131
|
+
# @!method self.values
|
|
132
|
+
# @return [Array<Symbol>]
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
class UnionMember1 < FinchAPI::Internal::Type::BaseModel
|
|
137
|
+
# @!attribute amount
|
|
138
|
+
# Contribution amount in basis points (1/100th of a percent).
|
|
139
|
+
#
|
|
140
|
+
# @return [Integer]
|
|
141
|
+
required :amount, Integer
|
|
142
|
+
|
|
143
|
+
# @!attribute type
|
|
144
|
+
# Percentage contribution type.
|
|
145
|
+
#
|
|
146
|
+
# @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1::Type]
|
|
147
|
+
required :type,
|
|
148
|
+
enum: -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1::Type }
|
|
149
|
+
|
|
150
|
+
# @!method initialize(amount:, type:)
|
|
151
|
+
# @param amount [Integer] Contribution amount in basis points (1/100th of a percent).
|
|
152
|
+
#
|
|
153
|
+
# @param type [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1::Type] Percentage contribution type.
|
|
154
|
+
|
|
155
|
+
# Percentage contribution type.
|
|
156
|
+
#
|
|
157
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1#type
|
|
158
|
+
module Type
|
|
159
|
+
extend FinchAPI::Internal::Type::Enum
|
|
160
|
+
|
|
161
|
+
PERCENT = :percent
|
|
162
|
+
|
|
163
|
+
# @!method self.values
|
|
164
|
+
# @return [Array<Symbol>]
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
class UnionMember2 < FinchAPI::Internal::Type::BaseModel
|
|
169
|
+
# @!attribute tiers
|
|
170
|
+
# Array of tier objects defining employer match tiers based on employee
|
|
171
|
+
# contribution thresholds.
|
|
172
|
+
#
|
|
173
|
+
# @return [Array<FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2::Tier>]
|
|
174
|
+
required :tiers,
|
|
175
|
+
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2::Tier] }
|
|
176
|
+
|
|
177
|
+
# @!attribute type
|
|
178
|
+
# Tiered contribution type (only valid for company_contribution).
|
|
179
|
+
#
|
|
180
|
+
# @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2::Type]
|
|
181
|
+
required :type,
|
|
182
|
+
enum: -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2::Type }
|
|
183
|
+
|
|
184
|
+
# @!method initialize(tiers:, type:)
|
|
185
|
+
# Some parameter documentations has been truncated, see
|
|
186
|
+
# {FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2}
|
|
187
|
+
# for more details.
|
|
188
|
+
#
|
|
189
|
+
# @param tiers [Array<FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2::Tier>] Array of tier objects defining employer match tiers based on employee contributi
|
|
190
|
+
#
|
|
191
|
+
# @param type [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2::Type] Tiered contribution type (only valid for company_contribution).
|
|
192
|
+
|
|
193
|
+
class Tier < FinchAPI::Internal::Type::BaseModel
|
|
194
|
+
# @!attribute match
|
|
195
|
+
#
|
|
196
|
+
# @return [Integer]
|
|
197
|
+
required :match, Integer
|
|
198
|
+
|
|
199
|
+
# @!attribute threshold
|
|
200
|
+
#
|
|
201
|
+
# @return [Integer]
|
|
202
|
+
required :threshold, Integer
|
|
203
|
+
|
|
204
|
+
# @!method initialize(match:, threshold:)
|
|
205
|
+
# @param match [Integer]
|
|
206
|
+
# @param threshold [Integer]
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# Tiered contribution type (only valid for company_contribution).
|
|
210
|
+
#
|
|
211
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2#type
|
|
212
|
+
module Type
|
|
213
|
+
extend FinchAPI::Internal::Type::Enum
|
|
214
|
+
|
|
215
|
+
TIERED = :tiered
|
|
216
|
+
|
|
217
|
+
# @!method self.values
|
|
218
|
+
# @return [Array<Symbol>]
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# @!method self.variants
|
|
223
|
+
# @return [Array(FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember0, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember1, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::CompanyContribution::UnionMember2)]
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0#employee_deduction
|
|
227
|
+
module EmployeeDeduction
|
|
228
|
+
extend FinchAPI::Internal::Type::Union
|
|
229
|
+
|
|
230
|
+
variant -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0 }
|
|
231
|
+
|
|
232
|
+
variant -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1 }
|
|
233
|
+
|
|
234
|
+
class UnionMember0 < FinchAPI::Internal::Type::BaseModel
|
|
235
|
+
# @!attribute amount
|
|
236
|
+
# Contribution amount in cents.
|
|
237
|
+
#
|
|
238
|
+
# @return [Integer]
|
|
239
|
+
required :amount, Integer
|
|
240
|
+
|
|
241
|
+
# @!attribute type
|
|
242
|
+
# Fixed contribution type.
|
|
243
|
+
#
|
|
244
|
+
# @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0::Type]
|
|
245
|
+
required :type,
|
|
246
|
+
enum: -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0::Type }
|
|
247
|
+
|
|
248
|
+
# @!method initialize(amount:, type:)
|
|
249
|
+
# @param amount [Integer] Contribution amount in cents.
|
|
250
|
+
#
|
|
251
|
+
# @param type [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0::Type] Fixed contribution type.
|
|
252
|
+
|
|
253
|
+
# Fixed contribution type.
|
|
254
|
+
#
|
|
255
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0#type
|
|
256
|
+
module Type
|
|
257
|
+
extend FinchAPI::Internal::Type::Enum
|
|
258
|
+
|
|
259
|
+
FIXED = :fixed
|
|
260
|
+
|
|
261
|
+
# @!method self.values
|
|
262
|
+
# @return [Array<Symbol>]
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
class UnionMember1 < FinchAPI::Internal::Type::BaseModel
|
|
267
|
+
# @!attribute amount
|
|
268
|
+
# Contribution amount in basis points (1/100th of a percent).
|
|
269
|
+
#
|
|
270
|
+
# @return [Integer]
|
|
271
|
+
required :amount, Integer
|
|
272
|
+
|
|
273
|
+
# @!attribute type
|
|
274
|
+
# Percentage contribution type.
|
|
275
|
+
#
|
|
276
|
+
# @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1::Type]
|
|
277
|
+
required :type,
|
|
278
|
+
enum: -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1::Type }
|
|
279
|
+
|
|
280
|
+
# @!method initialize(amount:, type:)
|
|
281
|
+
# @param amount [Integer] Contribution amount in basis points (1/100th of a percent).
|
|
282
|
+
#
|
|
283
|
+
# @param type [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1::Type] Percentage contribution type.
|
|
284
|
+
|
|
285
|
+
# Percentage contribution type.
|
|
286
|
+
#
|
|
287
|
+
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1#type
|
|
288
|
+
module Type
|
|
289
|
+
extend FinchAPI::Internal::Type::Enum
|
|
290
|
+
|
|
291
|
+
PERCENT = :percent
|
|
292
|
+
|
|
293
|
+
# @!method self.values
|
|
294
|
+
# @return [Array<Symbol>]
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# @!method self.variants
|
|
299
|
+
# @return [Array(FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember0, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0::EmployeeDeduction::UnionMember1)]
|
|
300
|
+
end
|
|
301
|
+
|
|
86
302
|
# Type for HSA contribution limit if the benefit is a HSA.
|
|
87
303
|
#
|
|
88
304
|
# @see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::UnionMember0#hsa_contribution_limit
|
|
@@ -9,6 +9,12 @@ module FinchAPI
|
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
# @!attribute entity_ids
|
|
13
|
+
# The entity IDs to specify which entities' data to access.
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<String>, nil]
|
|
16
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
17
|
+
|
|
12
18
|
# @!attribute individuals
|
|
13
19
|
# Array of the individual_id to enroll and a configuration object.
|
|
14
20
|
#
|
|
@@ -16,7 +22,9 @@ module FinchAPI
|
|
|
16
22
|
optional :individuals,
|
|
17
23
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual] }
|
|
18
24
|
|
|
19
|
-
# @!method initialize(individuals: nil, request_options: {})
|
|
25
|
+
# @!method initialize(entity_ids: nil, individuals: nil, request_options: {})
|
|
26
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
27
|
+
#
|
|
20
28
|
# @param individuals [Array<FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual>] Array of the individual_id to enroll and a configuration object.
|
|
21
29
|
#
|
|
22
30
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -119,27 +127,57 @@ module FinchAPI
|
|
|
119
127
|
# @return [Integer, nil]
|
|
120
128
|
optional :amount, Integer
|
|
121
129
|
|
|
130
|
+
# @!attribute tiers
|
|
131
|
+
# Array of tier objects for tiered contribution matching (required when type is
|
|
132
|
+
# tiered)
|
|
133
|
+
#
|
|
134
|
+
# @return [Array<FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Tier>, nil]
|
|
135
|
+
optional :tiers,
|
|
136
|
+
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Tier] }
|
|
137
|
+
|
|
122
138
|
# @!attribute type
|
|
123
139
|
#
|
|
124
140
|
# @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Type, nil]
|
|
125
141
|
optional :type,
|
|
126
142
|
enum: -> { FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Type }
|
|
127
143
|
|
|
128
|
-
# @!method initialize(amount: nil, type: nil)
|
|
144
|
+
# @!method initialize(amount: nil, tiers: nil, type: nil)
|
|
129
145
|
# Some parameter documentations has been truncated, see
|
|
130
146
|
# {FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution}
|
|
131
147
|
# for more details.
|
|
132
148
|
#
|
|
133
149
|
# @param amount [Integer] Amount in cents for fixed type or basis points (1/100th of a percent) for percen
|
|
134
150
|
#
|
|
151
|
+
# @param tiers [Array<FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Tier>] Array of tier objects for tiered contribution matching (required when type is ti
|
|
152
|
+
#
|
|
135
153
|
# @param type [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Type]
|
|
136
154
|
|
|
155
|
+
class Tier < FinchAPI::Internal::Type::BaseModel
|
|
156
|
+
# @!attribute match
|
|
157
|
+
# The employer match percentage in basis points (0-10000 = 0-100%)
|
|
158
|
+
#
|
|
159
|
+
# @return [Integer]
|
|
160
|
+
required :match, Integer
|
|
161
|
+
|
|
162
|
+
# @!attribute threshold
|
|
163
|
+
# The employee contribution threshold in basis points (0-10000 = 0-100%)
|
|
164
|
+
#
|
|
165
|
+
# @return [Integer]
|
|
166
|
+
required :threshold, Integer
|
|
167
|
+
|
|
168
|
+
# @!method initialize(match:, threshold:)
|
|
169
|
+
# @param match [Integer] The employer match percentage in basis points (0-10000 = 0-100%)
|
|
170
|
+
#
|
|
171
|
+
# @param threshold [Integer] The employee contribution threshold in basis points (0-10000 = 0-100%)
|
|
172
|
+
end
|
|
173
|
+
|
|
137
174
|
# @see FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution#type
|
|
138
175
|
module Type
|
|
139
176
|
extend FinchAPI::Internal::Type::Enum
|
|
140
177
|
|
|
141
178
|
FIXED = :fixed
|
|
142
179
|
PERCENT = :percent
|
|
180
|
+
TIERED = :tiered
|
|
143
181
|
|
|
144
182
|
# @!method self.values
|
|
145
183
|
# @return [Array<Symbol>]
|
|
@@ -9,7 +9,15 @@ module FinchAPI
|
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
-
# @!
|
|
12
|
+
# @!attribute entity_ids
|
|
13
|
+
# The entity IDs to specify which entities' data to access.
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<String>, nil]
|
|
16
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
17
|
+
|
|
18
|
+
# @!method initialize(entity_ids: nil, request_options: {})
|
|
19
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
20
|
+
#
|
|
13
21
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
14
22
|
end
|
|
15
23
|
end
|
|
@@ -9,6 +9,12 @@ module FinchAPI
|
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
# @!attribute entity_ids
|
|
13
|
+
# The entity IDs to specify which entities' data to access.
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<String>, nil]
|
|
16
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
17
|
+
|
|
12
18
|
# @!attribute individual_ids
|
|
13
19
|
# comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
14
20
|
# defaults to all individuals
|
|
@@ -16,11 +22,13 @@ module FinchAPI
|
|
|
16
22
|
# @return [String, nil]
|
|
17
23
|
optional :individual_ids, String
|
|
18
24
|
|
|
19
|
-
# @!method initialize(individual_ids: nil, request_options: {})
|
|
25
|
+
# @!method initialize(entity_ids: nil, individual_ids: nil, request_options: {})
|
|
20
26
|
# Some parameter documentations has been truncated, see
|
|
21
27
|
# {FinchAPI::Models::HRIS::Benefits::IndividualRetrieveManyBenefitsParams} for
|
|
22
28
|
# more details.
|
|
23
29
|
#
|
|
30
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
31
|
+
#
|
|
24
32
|
# @param individual_ids [String] comma-delimited list of stable Finch uuids for each individual. If empty, defaul
|
|
25
33
|
#
|
|
26
34
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -9,13 +9,21 @@ module FinchAPI
|
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
# @!attribute entity_ids
|
|
13
|
+
# The entity IDs to specify which entities' data to access.
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<String>, nil]
|
|
16
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
17
|
+
|
|
12
18
|
# @!attribute individual_ids
|
|
13
19
|
# Array of individual_ids to unenroll.
|
|
14
20
|
#
|
|
15
21
|
# @return [Array<String>, nil]
|
|
16
22
|
optional :individual_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
17
23
|
|
|
18
|
-
# @!method initialize(individual_ids: nil, request_options: {})
|
|
24
|
+
# @!method initialize(entity_ids: nil, individual_ids: nil, request_options: {})
|
|
25
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
26
|
+
#
|
|
19
27
|
# @param individual_ids [Array<String>] Array of individual_ids to unenroll.
|
|
20
28
|
#
|
|
21
29
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -10,6 +10,12 @@ module FinchAPI
|
|
|
10
10
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
12
|
|
|
13
|
+
# @!attribute entity_ids
|
|
14
|
+
# The entity IDs to create the rule for.
|
|
15
|
+
#
|
|
16
|
+
# @return [Array<String>, nil]
|
|
17
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
18
|
+
|
|
13
19
|
# @!attribute attributes
|
|
14
20
|
# Specifies the fields to be applied when the condition is met.
|
|
15
21
|
#
|
|
@@ -41,7 +47,9 @@ module FinchAPI
|
|
|
41
47
|
optional :entity_type,
|
|
42
48
|
enum: -> { FinchAPI::HRIS::Company::PayStatementItem::RuleCreateParams::EntityType }
|
|
43
49
|
|
|
44
|
-
# @!method initialize(attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
|
|
50
|
+
# @!method initialize(entity_ids: nil, attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
|
|
51
|
+
# @param entity_ids [Array<String>] The entity IDs to create the rule for.
|
|
52
|
+
#
|
|
45
53
|
# @param attributes [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes] Specifies the fields to be applied when the condition is met.
|
|
46
54
|
#
|
|
47
55
|
# @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>]
|
|
@@ -10,7 +10,15 @@ module FinchAPI
|
|
|
10
10
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
12
|
|
|
13
|
-
# @!
|
|
13
|
+
# @!attribute entity_ids
|
|
14
|
+
# The entity IDs to delete the rule for.
|
|
15
|
+
#
|
|
16
|
+
# @return [Array<String>, nil]
|
|
17
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
18
|
+
|
|
19
|
+
# @!method initialize(entity_ids: nil, request_options: {})
|
|
20
|
+
# @param entity_ids [Array<String>] The entity IDs to delete the rule for.
|
|
21
|
+
#
|
|
14
22
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
15
23
|
end
|
|
16
24
|
end
|
|
@@ -10,7 +10,15 @@ module FinchAPI
|
|
|
10
10
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
12
|
|
|
13
|
-
# @!
|
|
13
|
+
# @!attribute entity_ids
|
|
14
|
+
# The entity IDs to retrieve rules for.
|
|
15
|
+
#
|
|
16
|
+
# @return [Array<String>, nil]
|
|
17
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
18
|
+
|
|
19
|
+
# @!method initialize(entity_ids: nil, request_options: {})
|
|
20
|
+
# @param entity_ids [Array<String>] The entity IDs to retrieve rules for.
|
|
21
|
+
#
|
|
14
22
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
15
23
|
end
|
|
16
24
|
end
|
|
@@ -10,13 +10,22 @@ module FinchAPI
|
|
|
10
10
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
12
|
|
|
13
|
+
# @!attribute entity_ids
|
|
14
|
+
# The entity IDs to update the rule for.
|
|
15
|
+
#
|
|
16
|
+
# @return [Array<String>, nil]
|
|
17
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
18
|
+
|
|
13
19
|
# @!attribute optional_property
|
|
14
20
|
#
|
|
15
21
|
# @return [Object, nil]
|
|
16
22
|
optional :optional_property, FinchAPI::Internal::Type::Unknown, api_name: :optionalProperty
|
|
17
23
|
|
|
18
|
-
# @!method initialize(optional_property: nil, request_options: {})
|
|
24
|
+
# @!method initialize(entity_ids: nil, optional_property: nil, request_options: {})
|
|
25
|
+
# @param entity_ids [Array<String>] The entity IDs to update the rule for.
|
|
26
|
+
#
|
|
19
27
|
# @param optional_property [Object]
|
|
28
|
+
#
|
|
20
29
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
21
30
|
end
|
|
22
31
|
end
|
|
@@ -24,6 +24,12 @@ module FinchAPI
|
|
|
24
24
|
# @return [Date, nil]
|
|
25
25
|
optional :end_date, Date
|
|
26
26
|
|
|
27
|
+
# @!attribute entity_ids
|
|
28
|
+
# The entity IDs to specify which entities' data to access.
|
|
29
|
+
#
|
|
30
|
+
# @return [Array<String>, nil]
|
|
31
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
32
|
+
|
|
27
33
|
# @!attribute name
|
|
28
34
|
# Case-insensitive partial match search by pay statement item name.
|
|
29
35
|
#
|
|
@@ -43,7 +49,7 @@ module FinchAPI
|
|
|
43
49
|
# @return [String, nil]
|
|
44
50
|
optional :type, String
|
|
45
51
|
|
|
46
|
-
# @!method initialize(categories: nil, end_date: nil, name: nil, start_date: nil, type: nil, request_options: {})
|
|
52
|
+
# @!method initialize(categories: nil, end_date: nil, entity_ids: nil, name: nil, start_date: nil, type: nil, request_options: {})
|
|
47
53
|
# Some parameter documentations has been truncated, see
|
|
48
54
|
# {FinchAPI::Models::HRIS::Company::PayStatementItemListParams} for more details.
|
|
49
55
|
#
|
|
@@ -51,6 +57,8 @@ module FinchAPI
|
|
|
51
57
|
#
|
|
52
58
|
# @param end_date [Date] The end date to retrieve pay statement items by via their last seen pay date in
|
|
53
59
|
#
|
|
60
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
61
|
+
#
|
|
54
62
|
# @param name [String] Case-insensitive partial match search by pay statement item name.
|
|
55
63
|
#
|
|
56
64
|
# @param start_date [Date] The start date to retrieve pay statement items by via their last seen pay date (
|
|
@@ -8,7 +8,15 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
11
|
+
# @!attribute entity_ids
|
|
12
|
+
# The entity IDs to specify which entities' data to access.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<String>, nil]
|
|
15
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
|
+
|
|
17
|
+
# @!method initialize(entity_ids: nil, request_options: {})
|
|
18
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
19
|
+
#
|
|
12
20
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
13
21
|
end
|
|
14
22
|
end
|
|
@@ -8,6 +8,12 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute entity_ids
|
|
12
|
+
# The entity IDs to specify which entities' data to access.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<String>, nil]
|
|
15
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
|
+
|
|
11
17
|
# @!attribute limit
|
|
12
18
|
# Number of employees to return (defaults to all)
|
|
13
19
|
#
|
|
@@ -20,7 +26,9 @@ module FinchAPI
|
|
|
20
26
|
# @return [Integer, nil]
|
|
21
27
|
optional :offset, Integer
|
|
22
28
|
|
|
23
|
-
# @!method initialize(limit: nil, offset: nil, request_options: {})
|
|
29
|
+
# @!method initialize(entity_ids: nil, limit: nil, offset: nil, request_options: {})
|
|
30
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
31
|
+
#
|
|
24
32
|
# @param limit [Integer] Number of employees to return (defaults to all)
|
|
25
33
|
#
|
|
26
34
|
# @param offset [Integer] Index to start from (defaults to 0)
|
|
@@ -8,6 +8,12 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute entity_ids
|
|
12
|
+
# The entity IDs to specify which entities' data to access.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<String>, nil]
|
|
15
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
|
+
|
|
11
17
|
# @!attribute limit
|
|
12
18
|
# Number of employees to return (defaults to all)
|
|
13
19
|
#
|
|
@@ -20,7 +26,9 @@ module FinchAPI
|
|
|
20
26
|
# @return [Integer, nil]
|
|
21
27
|
optional :offset, Integer
|
|
22
28
|
|
|
23
|
-
# @!method initialize(limit: nil, offset: nil, request_options: {})
|
|
29
|
+
# @!method initialize(entity_ids: nil, limit: nil, offset: nil, request_options: {})
|
|
30
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
31
|
+
#
|
|
24
32
|
# @param limit [Integer] Number of employees to return (defaults to all)
|
|
25
33
|
#
|
|
26
34
|
# @param offset [Integer] Index to start from (defaults to 0)
|
|
@@ -8,6 +8,12 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute entity_ids
|
|
12
|
+
# The entity IDs to specify which entities' data to access.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<String>, nil]
|
|
15
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
|
+
|
|
11
17
|
# @!attribute individual_ids
|
|
12
18
|
# Comma-delimited list of stable Finch uuids for each individual. If empty,
|
|
13
19
|
# defaults to all individuals
|
|
@@ -34,10 +40,12 @@ module FinchAPI
|
|
|
34
40
|
# @return [Array<Symbol, FinchAPI::Models::HRIS::DocumentListParams::Type>, nil]
|
|
35
41
|
optional :types, -> { FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::HRIS::DocumentListParams::Type] }
|
|
36
42
|
|
|
37
|
-
# @!method initialize(individual_ids: nil, limit: nil, offset: nil, types: nil, request_options: {})
|
|
43
|
+
# @!method initialize(entity_ids: nil, individual_ids: nil, limit: nil, offset: nil, types: nil, request_options: {})
|
|
38
44
|
# Some parameter documentations has been truncated, see
|
|
39
45
|
# {FinchAPI::Models::HRIS::DocumentListParams} for more details.
|
|
40
46
|
#
|
|
47
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
48
|
+
#
|
|
41
49
|
# @param individual_ids [Array<String>] Comma-delimited list of stable Finch uuids for each individual. If empty, defaul
|
|
42
50
|
#
|
|
43
51
|
# @param limit [Integer] Number of documents to return (defaults to all)
|