finch-api 0.1.0.pre.alpha.41 → 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 +73 -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
|
@@ -9,16 +9,16 @@ module FinchAPI
|
|
|
9
9
|
Variants =
|
|
10
10
|
T.type_alias do
|
|
11
11
|
T.any(
|
|
12
|
-
FinchAPI::HRIS::EmploymentData::
|
|
12
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody,
|
|
13
13
|
FinchAPI::HRIS::EmploymentData::BatchError
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
class
|
|
17
|
+
class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel
|
|
18
18
|
OrHash =
|
|
19
19
|
T.type_alias do
|
|
20
20
|
T.any(
|
|
21
|
-
FinchAPI::HRIS::EmploymentData::
|
|
21
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody,
|
|
22
22
|
FinchAPI::Internal::AnyHash
|
|
23
23
|
)
|
|
24
24
|
end
|
|
@@ -35,7 +35,7 @@ module FinchAPI
|
|
|
35
35
|
sig do
|
|
36
36
|
returns(
|
|
37
37
|
T.nilable(
|
|
38
|
-
FinchAPI::HRIS::EmploymentData::
|
|
38
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department
|
|
39
39
|
)
|
|
40
40
|
)
|
|
41
41
|
end
|
|
@@ -45,7 +45,7 @@ module FinchAPI
|
|
|
45
45
|
params(
|
|
46
46
|
department:
|
|
47
47
|
T.nilable(
|
|
48
|
-
FinchAPI::HRIS::EmploymentData::
|
|
48
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department::OrHash
|
|
49
49
|
)
|
|
50
50
|
).void
|
|
51
51
|
end
|
|
@@ -55,7 +55,7 @@ module FinchAPI
|
|
|
55
55
|
sig do
|
|
56
56
|
returns(
|
|
57
57
|
T.nilable(
|
|
58
|
-
FinchAPI::HRIS::EmploymentData::
|
|
58
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment
|
|
59
59
|
)
|
|
60
60
|
)
|
|
61
61
|
end
|
|
@@ -65,7 +65,7 @@ module FinchAPI
|
|
|
65
65
|
params(
|
|
66
66
|
employment:
|
|
67
67
|
T.nilable(
|
|
68
|
-
FinchAPI::HRIS::EmploymentData::
|
|
68
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::OrHash
|
|
69
69
|
)
|
|
70
70
|
).void
|
|
71
71
|
end
|
|
@@ -75,7 +75,7 @@ module FinchAPI
|
|
|
75
75
|
sig do
|
|
76
76
|
returns(
|
|
77
77
|
T.nilable(
|
|
78
|
-
FinchAPI::HRIS::EmploymentData::
|
|
78
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
79
79
|
)
|
|
80
80
|
)
|
|
81
81
|
end
|
|
@@ -88,6 +88,17 @@ module FinchAPI
|
|
|
88
88
|
sig { returns(T.nilable(String)) }
|
|
89
89
|
attr_accessor :first_name
|
|
90
90
|
|
|
91
|
+
# The FLSA status of the individual. Available options: `exempt`, `non_exempt`,
|
|
92
|
+
# `unknown`.
|
|
93
|
+
sig do
|
|
94
|
+
returns(
|
|
95
|
+
T.nilable(
|
|
96
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol
|
|
97
|
+
)
|
|
98
|
+
)
|
|
99
|
+
end
|
|
100
|
+
attr_accessor :flsa_status
|
|
101
|
+
|
|
91
102
|
# `true` if the individual an an active employee or contractor at the company.
|
|
92
103
|
sig { returns(T.nilable(T::Boolean)) }
|
|
93
104
|
attr_accessor :is_active
|
|
@@ -108,7 +119,9 @@ module FinchAPI
|
|
|
108
119
|
# The manager object representing the manager of the individual within the org.
|
|
109
120
|
sig do
|
|
110
121
|
returns(
|
|
111
|
-
T.nilable(
|
|
122
|
+
T.nilable(
|
|
123
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager
|
|
124
|
+
)
|
|
112
125
|
)
|
|
113
126
|
end
|
|
114
127
|
attr_reader :manager
|
|
@@ -117,7 +130,7 @@ module FinchAPI
|
|
|
117
130
|
params(
|
|
118
131
|
manager:
|
|
119
132
|
T.nilable(
|
|
120
|
-
FinchAPI::HRIS::EmploymentData::
|
|
133
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager::OrHash
|
|
121
134
|
)
|
|
122
135
|
).void
|
|
123
136
|
end
|
|
@@ -141,7 +154,7 @@ module FinchAPI
|
|
|
141
154
|
returns(
|
|
142
155
|
T.nilable(
|
|
143
156
|
T::Array[
|
|
144
|
-
FinchAPI::HRIS::EmploymentData::
|
|
157
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField
|
|
145
158
|
]
|
|
146
159
|
)
|
|
147
160
|
)
|
|
@@ -175,25 +188,29 @@ module FinchAPI
|
|
|
175
188
|
class_code: T.nilable(String),
|
|
176
189
|
department:
|
|
177
190
|
T.nilable(
|
|
178
|
-
FinchAPI::HRIS::EmploymentData::
|
|
191
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department::OrHash
|
|
179
192
|
),
|
|
180
193
|
employment:
|
|
181
194
|
T.nilable(
|
|
182
|
-
FinchAPI::HRIS::EmploymentData::
|
|
195
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::OrHash
|
|
183
196
|
),
|
|
184
197
|
employment_status:
|
|
185
198
|
T.nilable(
|
|
186
|
-
FinchAPI::HRIS::EmploymentData::
|
|
199
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::OrSymbol
|
|
187
200
|
),
|
|
188
201
|
end_date: T.nilable(String),
|
|
189
202
|
first_name: T.nilable(String),
|
|
203
|
+
flsa_status:
|
|
204
|
+
T.nilable(
|
|
205
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::OrSymbol
|
|
206
|
+
),
|
|
190
207
|
is_active: T.nilable(T::Boolean),
|
|
191
208
|
last_name: T.nilable(String),
|
|
192
209
|
latest_rehire_date: T.nilable(String),
|
|
193
210
|
location: T.nilable(FinchAPI::Location::OrHash),
|
|
194
211
|
manager:
|
|
195
212
|
T.nilable(
|
|
196
|
-
FinchAPI::HRIS::EmploymentData::
|
|
213
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager::OrHash
|
|
197
214
|
),
|
|
198
215
|
middle_name: T.nilable(String),
|
|
199
216
|
start_date: T.nilable(String),
|
|
@@ -201,7 +218,7 @@ module FinchAPI
|
|
|
201
218
|
custom_fields:
|
|
202
219
|
T.nilable(
|
|
203
220
|
T::Array[
|
|
204
|
-
FinchAPI::HRIS::EmploymentData::
|
|
221
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::OrHash
|
|
205
222
|
]
|
|
206
223
|
),
|
|
207
224
|
income: T.nilable(FinchAPI::Income::OrHash),
|
|
@@ -225,6 +242,9 @@ module FinchAPI
|
|
|
225
242
|
end_date:,
|
|
226
243
|
# The legal first name of the individual.
|
|
227
244
|
first_name:,
|
|
245
|
+
# The FLSA status of the individual. Available options: `exempt`, `non_exempt`,
|
|
246
|
+
# `unknown`.
|
|
247
|
+
flsa_status:,
|
|
228
248
|
# `true` if the individual an an active employee or contractor at the company.
|
|
229
249
|
is_active:,
|
|
230
250
|
# The legal last name of the individual.
|
|
@@ -262,25 +282,29 @@ module FinchAPI
|
|
|
262
282
|
class_code: T.nilable(String),
|
|
263
283
|
department:
|
|
264
284
|
T.nilable(
|
|
265
|
-
FinchAPI::HRIS::EmploymentData::
|
|
285
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department
|
|
266
286
|
),
|
|
267
287
|
employment:
|
|
268
288
|
T.nilable(
|
|
269
|
-
FinchAPI::HRIS::EmploymentData::
|
|
289
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment
|
|
270
290
|
),
|
|
271
291
|
employment_status:
|
|
272
292
|
T.nilable(
|
|
273
|
-
FinchAPI::HRIS::EmploymentData::
|
|
293
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
274
294
|
),
|
|
275
295
|
end_date: T.nilable(String),
|
|
276
296
|
first_name: T.nilable(String),
|
|
297
|
+
flsa_status:
|
|
298
|
+
T.nilable(
|
|
299
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol
|
|
300
|
+
),
|
|
277
301
|
is_active: T.nilable(T::Boolean),
|
|
278
302
|
last_name: T.nilable(String),
|
|
279
303
|
latest_rehire_date: T.nilable(String),
|
|
280
304
|
location: T.nilable(FinchAPI::Location),
|
|
281
305
|
manager:
|
|
282
306
|
T.nilable(
|
|
283
|
-
FinchAPI::HRIS::EmploymentData::
|
|
307
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager
|
|
284
308
|
),
|
|
285
309
|
middle_name: T.nilable(String),
|
|
286
310
|
start_date: T.nilable(String),
|
|
@@ -288,7 +312,7 @@ module FinchAPI
|
|
|
288
312
|
custom_fields:
|
|
289
313
|
T.nilable(
|
|
290
314
|
T::Array[
|
|
291
|
-
FinchAPI::HRIS::EmploymentData::
|
|
315
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField
|
|
292
316
|
]
|
|
293
317
|
),
|
|
294
318
|
income: T.nilable(FinchAPI::Income),
|
|
@@ -306,7 +330,7 @@ module FinchAPI
|
|
|
306
330
|
OrHash =
|
|
307
331
|
T.type_alias do
|
|
308
332
|
T.any(
|
|
309
|
-
FinchAPI::HRIS::EmploymentData::
|
|
333
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department,
|
|
310
334
|
FinchAPI::Internal::AnyHash
|
|
311
335
|
)
|
|
312
336
|
end
|
|
@@ -332,7 +356,7 @@ module FinchAPI
|
|
|
332
356
|
OrHash =
|
|
333
357
|
T.type_alias do
|
|
334
358
|
T.any(
|
|
335
|
-
FinchAPI::HRIS::EmploymentData::
|
|
359
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment,
|
|
336
360
|
FinchAPI::Internal::AnyHash
|
|
337
361
|
)
|
|
338
362
|
end
|
|
@@ -342,7 +366,7 @@ module FinchAPI
|
|
|
342
366
|
sig do
|
|
343
367
|
returns(
|
|
344
368
|
T.nilable(
|
|
345
|
-
FinchAPI::HRIS::EmploymentData::
|
|
369
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
346
370
|
)
|
|
347
371
|
)
|
|
348
372
|
end
|
|
@@ -352,7 +376,7 @@ module FinchAPI
|
|
|
352
376
|
sig do
|
|
353
377
|
returns(
|
|
354
378
|
T.nilable(
|
|
355
|
-
FinchAPI::HRIS::EmploymentData::
|
|
379
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type::TaggedSymbol
|
|
356
380
|
)
|
|
357
381
|
)
|
|
358
382
|
end
|
|
@@ -363,11 +387,11 @@ module FinchAPI
|
|
|
363
387
|
params(
|
|
364
388
|
subtype:
|
|
365
389
|
T.nilable(
|
|
366
|
-
FinchAPI::HRIS::EmploymentData::
|
|
390
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::OrSymbol
|
|
367
391
|
),
|
|
368
392
|
type:
|
|
369
393
|
T.nilable(
|
|
370
|
-
FinchAPI::HRIS::EmploymentData::
|
|
394
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type::OrSymbol
|
|
371
395
|
)
|
|
372
396
|
).returns(T.attached_class)
|
|
373
397
|
end
|
|
@@ -385,11 +409,11 @@ module FinchAPI
|
|
|
385
409
|
{
|
|
386
410
|
subtype:
|
|
387
411
|
T.nilable(
|
|
388
|
-
FinchAPI::HRIS::EmploymentData::
|
|
412
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
389
413
|
),
|
|
390
414
|
type:
|
|
391
415
|
T.nilable(
|
|
392
|
-
FinchAPI::HRIS::EmploymentData::
|
|
416
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type::TaggedSymbol
|
|
393
417
|
)
|
|
394
418
|
}
|
|
395
419
|
)
|
|
@@ -406,7 +430,7 @@ module FinchAPI
|
|
|
406
430
|
T.type_alias do
|
|
407
431
|
T.all(
|
|
408
432
|
Symbol,
|
|
409
|
-
FinchAPI::HRIS::EmploymentData::
|
|
433
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype
|
|
410
434
|
)
|
|
411
435
|
end
|
|
412
436
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
@@ -414,38 +438,38 @@ module FinchAPI
|
|
|
414
438
|
FULL_TIME =
|
|
415
439
|
T.let(
|
|
416
440
|
:full_time,
|
|
417
|
-
FinchAPI::HRIS::EmploymentData::
|
|
441
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
418
442
|
)
|
|
419
443
|
INTERN =
|
|
420
444
|
T.let(
|
|
421
445
|
:intern,
|
|
422
|
-
FinchAPI::HRIS::EmploymentData::
|
|
446
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
423
447
|
)
|
|
424
448
|
PART_TIME =
|
|
425
449
|
T.let(
|
|
426
450
|
:part_time,
|
|
427
|
-
FinchAPI::HRIS::EmploymentData::
|
|
451
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
428
452
|
)
|
|
429
453
|
TEMP =
|
|
430
454
|
T.let(
|
|
431
455
|
:temp,
|
|
432
|
-
FinchAPI::HRIS::EmploymentData::
|
|
456
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
433
457
|
)
|
|
434
458
|
SEASONAL =
|
|
435
459
|
T.let(
|
|
436
460
|
:seasonal,
|
|
437
|
-
FinchAPI::HRIS::EmploymentData::
|
|
461
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
438
462
|
)
|
|
439
463
|
INDIVIDUAL_CONTRACTOR =
|
|
440
464
|
T.let(
|
|
441
465
|
:individual_contractor,
|
|
442
|
-
FinchAPI::HRIS::EmploymentData::
|
|
466
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
443
467
|
)
|
|
444
468
|
|
|
445
469
|
sig do
|
|
446
470
|
override.returns(
|
|
447
471
|
T::Array[
|
|
448
|
-
FinchAPI::HRIS::EmploymentData::
|
|
472
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Subtype::TaggedSymbol
|
|
449
473
|
]
|
|
450
474
|
)
|
|
451
475
|
end
|
|
@@ -461,7 +485,7 @@ module FinchAPI
|
|
|
461
485
|
T.type_alias do
|
|
462
486
|
T.all(
|
|
463
487
|
Symbol,
|
|
464
|
-
FinchAPI::HRIS::EmploymentData::
|
|
488
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type
|
|
465
489
|
)
|
|
466
490
|
end
|
|
467
491
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
@@ -469,18 +493,18 @@ module FinchAPI
|
|
|
469
493
|
EMPLOYEE =
|
|
470
494
|
T.let(
|
|
471
495
|
:employee,
|
|
472
|
-
FinchAPI::HRIS::EmploymentData::
|
|
496
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type::TaggedSymbol
|
|
473
497
|
)
|
|
474
498
|
CONTRACTOR =
|
|
475
499
|
T.let(
|
|
476
500
|
:contractor,
|
|
477
|
-
FinchAPI::HRIS::EmploymentData::
|
|
501
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type::TaggedSymbol
|
|
478
502
|
)
|
|
479
503
|
|
|
480
504
|
sig do
|
|
481
505
|
override.returns(
|
|
482
506
|
T::Array[
|
|
483
|
-
FinchAPI::HRIS::EmploymentData::
|
|
507
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::Type::TaggedSymbol
|
|
484
508
|
]
|
|
485
509
|
)
|
|
486
510
|
end
|
|
@@ -497,7 +521,7 @@ module FinchAPI
|
|
|
497
521
|
T.type_alias do
|
|
498
522
|
T.all(
|
|
499
523
|
Symbol,
|
|
500
|
-
FinchAPI::HRIS::EmploymentData::
|
|
524
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus
|
|
501
525
|
)
|
|
502
526
|
end
|
|
503
527
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
@@ -505,43 +529,84 @@ module FinchAPI
|
|
|
505
529
|
ACTIVE =
|
|
506
530
|
T.let(
|
|
507
531
|
:active,
|
|
508
|
-
FinchAPI::HRIS::EmploymentData::
|
|
532
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
509
533
|
)
|
|
510
534
|
DECEASED =
|
|
511
535
|
T.let(
|
|
512
536
|
:deceased,
|
|
513
|
-
FinchAPI::HRIS::EmploymentData::
|
|
537
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
514
538
|
)
|
|
515
539
|
LEAVE =
|
|
516
540
|
T.let(
|
|
517
541
|
:leave,
|
|
518
|
-
FinchAPI::HRIS::EmploymentData::
|
|
542
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
519
543
|
)
|
|
520
544
|
ONBOARDING =
|
|
521
545
|
T.let(
|
|
522
546
|
:onboarding,
|
|
523
|
-
FinchAPI::HRIS::EmploymentData::
|
|
547
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
524
548
|
)
|
|
525
549
|
PREHIRE =
|
|
526
550
|
T.let(
|
|
527
551
|
:prehire,
|
|
528
|
-
FinchAPI::HRIS::EmploymentData::
|
|
552
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
529
553
|
)
|
|
530
554
|
RETIRED =
|
|
531
555
|
T.let(
|
|
532
556
|
:retired,
|
|
533
|
-
FinchAPI::HRIS::EmploymentData::
|
|
557
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
534
558
|
)
|
|
535
559
|
TERMINATED =
|
|
536
560
|
T.let(
|
|
537
561
|
:terminated,
|
|
538
|
-
FinchAPI::HRIS::EmploymentData::
|
|
562
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
563
|
+
)
|
|
564
|
+
|
|
565
|
+
sig do
|
|
566
|
+
override.returns(
|
|
567
|
+
T::Array[
|
|
568
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::EmploymentStatus::TaggedSymbol
|
|
569
|
+
]
|
|
570
|
+
)
|
|
571
|
+
end
|
|
572
|
+
def self.values
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# The FLSA status of the individual. Available options: `exempt`, `non_exempt`,
|
|
577
|
+
# `unknown`.
|
|
578
|
+
module FlsaStatus
|
|
579
|
+
extend FinchAPI::Internal::Type::Enum
|
|
580
|
+
|
|
581
|
+
TaggedSymbol =
|
|
582
|
+
T.type_alias do
|
|
583
|
+
T.all(
|
|
584
|
+
Symbol,
|
|
585
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus
|
|
586
|
+
)
|
|
587
|
+
end
|
|
588
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
589
|
+
|
|
590
|
+
EXEMPT =
|
|
591
|
+
T.let(
|
|
592
|
+
:exempt,
|
|
593
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol
|
|
594
|
+
)
|
|
595
|
+
NON_EXEMPT =
|
|
596
|
+
T.let(
|
|
597
|
+
:non_exempt,
|
|
598
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol
|
|
599
|
+
)
|
|
600
|
+
UNKNOWN =
|
|
601
|
+
T.let(
|
|
602
|
+
:unknown,
|
|
603
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol
|
|
539
604
|
)
|
|
540
605
|
|
|
541
606
|
sig do
|
|
542
607
|
override.returns(
|
|
543
608
|
T::Array[
|
|
544
|
-
FinchAPI::HRIS::EmploymentData::
|
|
609
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol
|
|
545
610
|
]
|
|
546
611
|
)
|
|
547
612
|
end
|
|
@@ -553,7 +618,7 @@ module FinchAPI
|
|
|
553
618
|
OrHash =
|
|
554
619
|
T.type_alias do
|
|
555
620
|
T.any(
|
|
556
|
-
FinchAPI::HRIS::EmploymentData::
|
|
621
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager,
|
|
557
622
|
FinchAPI::Internal::AnyHash
|
|
558
623
|
)
|
|
559
624
|
end
|
|
@@ -579,7 +644,7 @@ module FinchAPI
|
|
|
579
644
|
OrHash =
|
|
580
645
|
T.type_alias do
|
|
581
646
|
T.any(
|
|
582
|
-
FinchAPI::HRIS::EmploymentData::
|
|
647
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField,
|
|
583
648
|
FinchAPI::Internal::AnyHash
|
|
584
649
|
)
|
|
585
650
|
end
|
|
@@ -590,7 +655,7 @@ module FinchAPI
|
|
|
590
655
|
sig do
|
|
591
656
|
returns(
|
|
592
657
|
T.nilable(
|
|
593
|
-
FinchAPI::HRIS::EmploymentData::
|
|
658
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::Value::Variants
|
|
594
659
|
)
|
|
595
660
|
)
|
|
596
661
|
end
|
|
@@ -601,7 +666,7 @@ module FinchAPI
|
|
|
601
666
|
name: T.nilable(String),
|
|
602
667
|
value:
|
|
603
668
|
T.nilable(
|
|
604
|
-
FinchAPI::HRIS::EmploymentData::
|
|
669
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::Value::Variants
|
|
605
670
|
)
|
|
606
671
|
).returns(T.attached_class)
|
|
607
672
|
end
|
|
@@ -614,7 +679,7 @@ module FinchAPI
|
|
|
614
679
|
name: T.nilable(String),
|
|
615
680
|
value:
|
|
616
681
|
T.nilable(
|
|
617
|
-
FinchAPI::HRIS::EmploymentData::
|
|
682
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::Value::Variants
|
|
618
683
|
)
|
|
619
684
|
}
|
|
620
685
|
)
|
|
@@ -641,7 +706,7 @@ module FinchAPI
|
|
|
641
706
|
sig do
|
|
642
707
|
override.returns(
|
|
643
708
|
T::Array[
|
|
644
|
-
FinchAPI::HRIS::EmploymentData::
|
|
709
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::Value::Variants
|
|
645
710
|
]
|
|
646
711
|
)
|
|
647
712
|
end
|