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
|
@@ -4,6 +4,7 @@ module FinchAPI
|
|
|
4
4
|
module Benefits
|
|
5
5
|
type individual_enroll_many_params =
|
|
6
6
|
{
|
|
7
|
+
benefit_id: String,
|
|
7
8
|
entity_ids: ::Array[String],
|
|
8
9
|
individuals: ::Array[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual]
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module FinchAPI
|
|
|
13
14
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
14
15
|
include FinchAPI::Internal::Type::RequestParameters
|
|
15
16
|
|
|
17
|
+
attr_accessor benefit_id: String
|
|
18
|
+
|
|
16
19
|
attr_reader entity_ids: ::Array[String]?
|
|
17
20
|
|
|
18
21
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
@@ -24,12 +27,14 @@ module FinchAPI
|
|
|
24
27
|
) -> ::Array[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual]
|
|
25
28
|
|
|
26
29
|
def initialize: (
|
|
30
|
+
benefit_id: String,
|
|
27
31
|
?entity_ids: ::Array[String],
|
|
28
32
|
?individuals: ::Array[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual],
|
|
29
33
|
?request_options: FinchAPI::request_opts
|
|
30
34
|
) -> void
|
|
31
35
|
|
|
32
36
|
def to_hash: -> {
|
|
37
|
+
benefit_id: String,
|
|
33
38
|
entity_ids: ::Array[String],
|
|
34
39
|
individuals: ::Array[FinchAPI::HRIS::Benefits::IndividualEnrollManyParams::Individual],
|
|
35
40
|
request_options: FinchAPI::RequestOptions
|
|
@@ -3,23 +3,27 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
module Benefits
|
|
5
5
|
type individual_enrolled_ids_params =
|
|
6
|
-
{ entity_ids: ::Array[String] }
|
|
6
|
+
{ benefit_id: String, entity_ids: ::Array[String] }
|
|
7
7
|
& FinchAPI::Internal::Type::request_parameters
|
|
8
8
|
|
|
9
9
|
class IndividualEnrolledIDsParams < FinchAPI::Internal::Type::BaseModel
|
|
10
10
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
12
|
|
|
13
|
+
attr_accessor benefit_id: String
|
|
14
|
+
|
|
13
15
|
attr_reader entity_ids: ::Array[String]?
|
|
14
16
|
|
|
15
17
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
16
18
|
|
|
17
19
|
def initialize: (
|
|
20
|
+
benefit_id: String,
|
|
18
21
|
?entity_ids: ::Array[String],
|
|
19
22
|
?request_options: FinchAPI::request_opts
|
|
20
23
|
) -> void
|
|
21
24
|
|
|
22
25
|
def to_hash: -> {
|
|
26
|
+
benefit_id: String,
|
|
23
27
|
entity_ids: ::Array[String],
|
|
24
28
|
request_options: FinchAPI::RequestOptions
|
|
25
29
|
}
|
|
@@ -3,13 +3,19 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
module Benefits
|
|
5
5
|
type individual_retrieve_many_benefits_params =
|
|
6
|
-
{
|
|
6
|
+
{
|
|
7
|
+
benefit_id: String,
|
|
8
|
+
entity_ids: ::Array[String],
|
|
9
|
+
individual_ids: String
|
|
10
|
+
}
|
|
7
11
|
& FinchAPI::Internal::Type::request_parameters
|
|
8
12
|
|
|
9
13
|
class IndividualRetrieveManyBenefitsParams < FinchAPI::Internal::Type::BaseModel
|
|
10
14
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
15
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
16
|
|
|
17
|
+
attr_accessor benefit_id: String
|
|
18
|
+
|
|
13
19
|
attr_reader entity_ids: ::Array[String]?
|
|
14
20
|
|
|
15
21
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
@@ -19,12 +25,14 @@ module FinchAPI
|
|
|
19
25
|
def individual_ids=: (String) -> String
|
|
20
26
|
|
|
21
27
|
def initialize: (
|
|
28
|
+
benefit_id: String,
|
|
22
29
|
?entity_ids: ::Array[String],
|
|
23
30
|
?individual_ids: String,
|
|
24
31
|
?request_options: FinchAPI::request_opts
|
|
25
32
|
) -> void
|
|
26
33
|
|
|
27
34
|
def to_hash: -> {
|
|
35
|
+
benefit_id: String,
|
|
28
36
|
entity_ids: ::Array[String],
|
|
29
37
|
individual_ids: String,
|
|
30
38
|
request_options: FinchAPI::RequestOptions
|
|
@@ -3,13 +3,19 @@ module FinchAPI
|
|
|
3
3
|
module HRIS
|
|
4
4
|
module Benefits
|
|
5
5
|
type individual_unenroll_many_params =
|
|
6
|
-
{
|
|
6
|
+
{
|
|
7
|
+
benefit_id: String,
|
|
8
|
+
entity_ids: ::Array[String],
|
|
9
|
+
individual_ids: ::Array[String]
|
|
10
|
+
}
|
|
7
11
|
& FinchAPI::Internal::Type::request_parameters
|
|
8
12
|
|
|
9
13
|
class IndividualUnenrollManyParams < FinchAPI::Internal::Type::BaseModel
|
|
10
14
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
15
|
include FinchAPI::Internal::Type::RequestParameters
|
|
12
16
|
|
|
17
|
+
attr_accessor benefit_id: String
|
|
18
|
+
|
|
13
19
|
attr_reader entity_ids: ::Array[String]?
|
|
14
20
|
|
|
15
21
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
@@ -19,12 +25,14 @@ module FinchAPI
|
|
|
19
25
|
def individual_ids=: (::Array[String]) -> ::Array[String]
|
|
20
26
|
|
|
21
27
|
def initialize: (
|
|
28
|
+
benefit_id: String,
|
|
22
29
|
?entity_ids: ::Array[String],
|
|
23
30
|
?individual_ids: ::Array[String],
|
|
24
31
|
?request_options: FinchAPI::request_opts
|
|
25
32
|
) -> void
|
|
26
33
|
|
|
27
34
|
def to_hash: -> {
|
|
35
|
+
benefit_id: String,
|
|
28
36
|
entity_ids: ::Array[String],
|
|
29
37
|
individual_ids: ::Array[String],
|
|
30
38
|
request_options: FinchAPI::RequestOptions
|
|
@@ -4,23 +4,27 @@ module FinchAPI
|
|
|
4
4
|
module Company
|
|
5
5
|
module PayStatementItem
|
|
6
6
|
type rule_delete_params =
|
|
7
|
-
{ entity_ids: ::Array[String] }
|
|
7
|
+
{ rule_id: String, entity_ids: ::Array[String] }
|
|
8
8
|
& FinchAPI::Internal::Type::request_parameters
|
|
9
9
|
|
|
10
10
|
class RuleDeleteParams < FinchAPI::Internal::Type::BaseModel
|
|
11
11
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
12
12
|
include FinchAPI::Internal::Type::RequestParameters
|
|
13
13
|
|
|
14
|
+
attr_accessor rule_id: String
|
|
15
|
+
|
|
14
16
|
attr_reader entity_ids: ::Array[String]?
|
|
15
17
|
|
|
16
18
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
17
19
|
|
|
18
20
|
def initialize: (
|
|
21
|
+
rule_id: String,
|
|
19
22
|
?entity_ids: ::Array[String],
|
|
20
23
|
?request_options: FinchAPI::request_opts
|
|
21
24
|
) -> void
|
|
22
25
|
|
|
23
26
|
def to_hash: -> {
|
|
27
|
+
rule_id: String,
|
|
24
28
|
entity_ids: ::Array[String],
|
|
25
29
|
request_options: FinchAPI::RequestOptions
|
|
26
30
|
}
|
|
@@ -4,13 +4,19 @@ module FinchAPI
|
|
|
4
4
|
module Company
|
|
5
5
|
module PayStatementItem
|
|
6
6
|
type rule_update_params =
|
|
7
|
-
{
|
|
7
|
+
{
|
|
8
|
+
rule_id: String,
|
|
9
|
+
entity_ids: ::Array[String],
|
|
10
|
+
optional_property: top
|
|
11
|
+
}
|
|
8
12
|
& FinchAPI::Internal::Type::request_parameters
|
|
9
13
|
|
|
10
14
|
class RuleUpdateParams < FinchAPI::Internal::Type::BaseModel
|
|
11
15
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
12
16
|
include FinchAPI::Internal::Type::RequestParameters
|
|
13
17
|
|
|
18
|
+
attr_accessor rule_id: String
|
|
19
|
+
|
|
14
20
|
attr_reader entity_ids: ::Array[String]?
|
|
15
21
|
|
|
16
22
|
def entity_ids=: (::Array[String]) -> ::Array[String]
|
|
@@ -20,12 +26,14 @@ module FinchAPI
|
|
|
20
26
|
def optional_property=: (top) -> top
|
|
21
27
|
|
|
22
28
|
def initialize: (
|
|
29
|
+
rule_id: String,
|
|
23
30
|
?entity_ids: ::Array[String],
|
|
24
31
|
?optional_property: top,
|
|
25
32
|
?request_options: FinchAPI::request_opts
|
|
26
33
|
) -> void
|
|
27
34
|
|
|
28
35
|
def to_hash: -> {
|
|
36
|
+
rule_id: String,
|
|
29
37
|
entity_ids: ::Array[String],
|
|
30
38
|
optional_property: top,
|
|
31
39
|
request_options: FinchAPI::RequestOptions
|
|
@@ -2,23 +2,27 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type document_retreive_params =
|
|
5
|
-
{ entity_ids: ::Array[String] }
|
|
5
|
+
{ document_id: String, entity_ids: ::Array[String] }
|
|
6
6
|
& FinchAPI::Internal::Type::request_parameters
|
|
7
7
|
|
|
8
8
|
class DocumentRetreiveParams < FinchAPI::Internal::Type::BaseModel
|
|
9
9
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include FinchAPI::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
attr_accessor document_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
|
+
document_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
|
+
document_id: String,
|
|
22
26
|
entity_ids: ::Array[String],
|
|
23
27
|
request_options: FinchAPI::RequestOptions
|
|
24
28
|
}
|
|
@@ -2,51 +2,54 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type employment_data =
|
|
5
|
-
FinchAPI::HRIS::EmploymentData::
|
|
5
|
+
FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody
|
|
6
6
|
| FinchAPI::HRIS::EmploymentData::BatchError
|
|
7
7
|
|
|
8
8
|
module EmploymentData
|
|
9
9
|
extend FinchAPI::Internal::Type::Union
|
|
10
10
|
|
|
11
|
-
type
|
|
11
|
+
type employment_data_response_body =
|
|
12
12
|
{
|
|
13
13
|
id: String,
|
|
14
14
|
class_code: String?,
|
|
15
|
-
department: FinchAPI::HRIS::EmploymentData::
|
|
16
|
-
employment: FinchAPI::HRIS::EmploymentData::
|
|
17
|
-
employment_status: FinchAPI::Models::HRIS::EmploymentData::
|
|
15
|
+
department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?,
|
|
16
|
+
employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?,
|
|
17
|
+
employment_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::employment_status?,
|
|
18
18
|
end_date: String?,
|
|
19
19
|
first_name: String?,
|
|
20
|
+
flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?,
|
|
20
21
|
is_active: bool?,
|
|
21
22
|
last_name: String?,
|
|
22
23
|
latest_rehire_date: String?,
|
|
23
24
|
location: FinchAPI::Location?,
|
|
24
|
-
manager: FinchAPI::HRIS::EmploymentData::
|
|
25
|
+
manager: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager?,
|
|
25
26
|
middle_name: String?,
|
|
26
27
|
start_date: String?,
|
|
27
28
|
title: String?,
|
|
28
|
-
custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::
|
|
29
|
+
custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?,
|
|
29
30
|
income: FinchAPI::Income?,
|
|
30
31
|
income_history: ::Array[FinchAPI::Income?]?,
|
|
31
32
|
source_id: String?,
|
|
32
33
|
work_id: String?
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
class
|
|
36
|
+
class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel
|
|
36
37
|
attr_accessor id: String
|
|
37
38
|
|
|
38
39
|
attr_accessor class_code: String?
|
|
39
40
|
|
|
40
|
-
attr_accessor department: FinchAPI::HRIS::EmploymentData::
|
|
41
|
+
attr_accessor department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?
|
|
41
42
|
|
|
42
|
-
attr_accessor employment: FinchAPI::HRIS::EmploymentData::
|
|
43
|
+
attr_accessor employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?
|
|
43
44
|
|
|
44
|
-
attr_accessor employment_status: FinchAPI::Models::HRIS::EmploymentData::
|
|
45
|
+
attr_accessor employment_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::employment_status?
|
|
45
46
|
|
|
46
47
|
attr_accessor end_date: String?
|
|
47
48
|
|
|
48
49
|
attr_accessor first_name: String?
|
|
49
50
|
|
|
51
|
+
attr_accessor flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?
|
|
52
|
+
|
|
50
53
|
attr_accessor is_active: bool?
|
|
51
54
|
|
|
52
55
|
attr_accessor last_name: String?
|
|
@@ -55,7 +58,7 @@ module FinchAPI
|
|
|
55
58
|
|
|
56
59
|
attr_accessor location: FinchAPI::Location?
|
|
57
60
|
|
|
58
|
-
attr_accessor manager: FinchAPI::HRIS::EmploymentData::
|
|
61
|
+
attr_accessor manager: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager?
|
|
59
62
|
|
|
60
63
|
attr_accessor middle_name: String?
|
|
61
64
|
|
|
@@ -63,7 +66,7 @@ module FinchAPI
|
|
|
63
66
|
|
|
64
67
|
attr_accessor title: String?
|
|
65
68
|
|
|
66
|
-
attr_accessor custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::
|
|
69
|
+
attr_accessor custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?
|
|
67
70
|
|
|
68
71
|
attr_accessor income: FinchAPI::Income?
|
|
69
72
|
|
|
@@ -76,20 +79,21 @@ module FinchAPI
|
|
|
76
79
|
def initialize: (
|
|
77
80
|
id: String,
|
|
78
81
|
class_code: String?,
|
|
79
|
-
department: FinchAPI::HRIS::EmploymentData::
|
|
80
|
-
employment: FinchAPI::HRIS::EmploymentData::
|
|
81
|
-
employment_status: FinchAPI::Models::HRIS::EmploymentData::
|
|
82
|
+
department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?,
|
|
83
|
+
employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?,
|
|
84
|
+
employment_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::employment_status?,
|
|
82
85
|
end_date: String?,
|
|
83
86
|
first_name: String?,
|
|
87
|
+
flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?,
|
|
84
88
|
is_active: bool?,
|
|
85
89
|
last_name: String?,
|
|
86
90
|
latest_rehire_date: String?,
|
|
87
91
|
location: FinchAPI::Location?,
|
|
88
|
-
manager: FinchAPI::HRIS::EmploymentData::
|
|
92
|
+
manager: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager?,
|
|
89
93
|
middle_name: String?,
|
|
90
94
|
start_date: String?,
|
|
91
95
|
title: String?,
|
|
92
|
-
?custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::
|
|
96
|
+
?custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?,
|
|
93
97
|
?income: FinchAPI::Income?,
|
|
94
98
|
?income_history: ::Array[FinchAPI::Income?]?,
|
|
95
99
|
?source_id: String?,
|
|
@@ -99,20 +103,21 @@ module FinchAPI
|
|
|
99
103
|
def to_hash: -> {
|
|
100
104
|
id: String,
|
|
101
105
|
class_code: String?,
|
|
102
|
-
department: FinchAPI::HRIS::EmploymentData::
|
|
103
|
-
employment: FinchAPI::HRIS::EmploymentData::
|
|
104
|
-
employment_status: FinchAPI::Models::HRIS::EmploymentData::
|
|
106
|
+
department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?,
|
|
107
|
+
employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?,
|
|
108
|
+
employment_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::employment_status?,
|
|
105
109
|
end_date: String?,
|
|
106
110
|
first_name: String?,
|
|
111
|
+
flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?,
|
|
107
112
|
is_active: bool?,
|
|
108
113
|
last_name: String?,
|
|
109
114
|
latest_rehire_date: String?,
|
|
110
115
|
location: FinchAPI::Location?,
|
|
111
|
-
manager: FinchAPI::HRIS::EmploymentData::
|
|
116
|
+
manager: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Manager?,
|
|
112
117
|
middle_name: String?,
|
|
113
118
|
start_date: String?,
|
|
114
119
|
title: String?,
|
|
115
|
-
custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::
|
|
120
|
+
custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?,
|
|
116
121
|
income: FinchAPI::Income?,
|
|
117
122
|
income_history: ::Array[FinchAPI::Income?]?,
|
|
118
123
|
source_id: String?,
|
|
@@ -131,23 +136,23 @@ module FinchAPI
|
|
|
131
136
|
|
|
132
137
|
type employment =
|
|
133
138
|
{
|
|
134
|
-
subtype: FinchAPI::Models::HRIS::EmploymentData::
|
|
135
|
-
type: FinchAPI::Models::HRIS::EmploymentData::
|
|
139
|
+
subtype: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::subtype?,
|
|
140
|
+
type: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::type_?
|
|
136
141
|
}
|
|
137
142
|
|
|
138
143
|
class Employment < FinchAPI::Internal::Type::BaseModel
|
|
139
|
-
attr_accessor subtype: FinchAPI::Models::HRIS::EmploymentData::
|
|
144
|
+
attr_accessor subtype: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::subtype?
|
|
140
145
|
|
|
141
|
-
attr_accessor type: FinchAPI::Models::HRIS::EmploymentData::
|
|
146
|
+
attr_accessor type: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::type_?
|
|
142
147
|
|
|
143
148
|
def initialize: (
|
|
144
|
-
subtype: FinchAPI::Models::HRIS::EmploymentData::
|
|
145
|
-
type: FinchAPI::Models::HRIS::EmploymentData::
|
|
149
|
+
subtype: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::subtype?,
|
|
150
|
+
type: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::type_?
|
|
146
151
|
) -> void
|
|
147
152
|
|
|
148
153
|
def to_hash: -> {
|
|
149
|
-
subtype: FinchAPI::Models::HRIS::EmploymentData::
|
|
150
|
-
type: FinchAPI::Models::HRIS::EmploymentData::
|
|
154
|
+
subtype: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::subtype?,
|
|
155
|
+
type: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::type_?
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
type subtype =
|
|
@@ -168,7 +173,7 @@ module FinchAPI
|
|
|
168
173
|
SEASONAL: :seasonal
|
|
169
174
|
INDIVIDUAL_CONTRACTOR: :individual_contractor
|
|
170
175
|
|
|
171
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::
|
|
176
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::subtype]
|
|
172
177
|
end
|
|
173
178
|
|
|
174
179
|
type type_ = :employee | :contractor
|
|
@@ -179,7 +184,7 @@ module FinchAPI
|
|
|
179
184
|
EMPLOYEE: :employee
|
|
180
185
|
CONTRACTOR: :contractor
|
|
181
186
|
|
|
182
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::
|
|
187
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::Employment::type_]
|
|
183
188
|
end
|
|
184
189
|
end
|
|
185
190
|
|
|
@@ -203,7 +208,19 @@ module FinchAPI
|
|
|
203
208
|
RETIRED: :retired
|
|
204
209
|
TERMINATED: :terminated
|
|
205
210
|
|
|
206
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::
|
|
211
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::employment_status]
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
type flsa_status = :exempt | :non_exempt | :unknown
|
|
215
|
+
|
|
216
|
+
module FlsaStatus
|
|
217
|
+
extend FinchAPI::Internal::Type::Enum
|
|
218
|
+
|
|
219
|
+
EXEMPT: :exempt
|
|
220
|
+
NON_EXEMPT: :non_exempt
|
|
221
|
+
UNKNOWN: :unknown
|
|
222
|
+
|
|
223
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status]
|
|
207
224
|
end
|
|
208
225
|
|
|
209
226
|
type manager = { id: String }
|
|
@@ -219,22 +236,22 @@ module FinchAPI
|
|
|
219
236
|
type custom_field =
|
|
220
237
|
{
|
|
221
238
|
name: String?,
|
|
222
|
-
value: FinchAPI::Models::HRIS::EmploymentData::
|
|
239
|
+
value: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::value?
|
|
223
240
|
}
|
|
224
241
|
|
|
225
242
|
class CustomField < FinchAPI::Internal::Type::BaseModel
|
|
226
243
|
attr_accessor name: String?
|
|
227
244
|
|
|
228
|
-
attr_accessor value: FinchAPI::Models::HRIS::EmploymentData::
|
|
245
|
+
attr_accessor value: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::value?
|
|
229
246
|
|
|
230
247
|
def initialize: (
|
|
231
248
|
?name: String?,
|
|
232
|
-
?value: FinchAPI::Models::HRIS::EmploymentData::
|
|
249
|
+
?value: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::value?
|
|
233
250
|
) -> void
|
|
234
251
|
|
|
235
252
|
def to_hash: -> {
|
|
236
253
|
name: String?,
|
|
237
|
-
value: FinchAPI::Models::HRIS::EmploymentData::
|
|
254
|
+
value: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::value?
|
|
238
255
|
}
|
|
239
256
|
|
|
240
257
|
type value = (String | ::Array[top] | top | Float | bool)?
|
|
@@ -242,7 +259,7 @@ module FinchAPI
|
|
|
242
259
|
module Value
|
|
243
260
|
extend FinchAPI::Internal::Type::Union
|
|
244
261
|
|
|
245
|
-
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::
|
|
262
|
+
def self?.variants: -> ::Array[FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField::value]
|
|
246
263
|
|
|
247
264
|
UnionMember1Array: FinchAPI::Internal::Type::Converter
|
|
248
265
|
end
|
|
@@ -2,51 +2,51 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
module HRIS
|
|
4
4
|
type individual =
|
|
5
|
-
FinchAPI::HRIS::Individual::
|
|
5
|
+
FinchAPI::HRIS::Individual::IndividualResponseBody
|
|
6
6
|
| FinchAPI::HRIS::Individual::BatchError
|
|
7
7
|
|
|
8
8
|
module Individual
|
|
9
9
|
extend FinchAPI::Internal::Type::Union
|
|
10
10
|
|
|
11
|
-
type
|
|
11
|
+
type individual_response_body =
|
|
12
12
|
{
|
|
13
13
|
id: String,
|
|
14
14
|
dob: String?,
|
|
15
|
-
ethnicity: FinchAPI::Models::HRIS::Individual::
|
|
15
|
+
ethnicity: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::ethnicity?,
|
|
16
16
|
first_name: String?,
|
|
17
|
-
gender: FinchAPI::Models::HRIS::Individual::
|
|
17
|
+
gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?,
|
|
18
18
|
last_name: String?,
|
|
19
19
|
middle_name: String?,
|
|
20
|
-
phone_numbers: ::Array[FinchAPI::HRIS::Individual::
|
|
20
|
+
phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?,
|
|
21
21
|
preferred_name: String?,
|
|
22
22
|
residence: FinchAPI::Location?,
|
|
23
|
-
emails: ::Array[FinchAPI::HRIS::Individual::
|
|
23
|
+
emails: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::Email]?,
|
|
24
24
|
encrypted_ssn: String?,
|
|
25
25
|
ssn: String?
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
class
|
|
28
|
+
class IndividualResponseBody < FinchAPI::Internal::Type::BaseModel
|
|
29
29
|
attr_accessor id: String
|
|
30
30
|
|
|
31
31
|
attr_accessor dob: String?
|
|
32
32
|
|
|
33
|
-
attr_accessor ethnicity: FinchAPI::Models::HRIS::Individual::
|
|
33
|
+
attr_accessor ethnicity: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::ethnicity?
|
|
34
34
|
|
|
35
35
|
attr_accessor first_name: String?
|
|
36
36
|
|
|
37
|
-
attr_accessor gender: FinchAPI::Models::HRIS::Individual::
|
|
37
|
+
attr_accessor gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?
|
|
38
38
|
|
|
39
39
|
attr_accessor last_name: String?
|
|
40
40
|
|
|
41
41
|
attr_accessor middle_name: String?
|
|
42
42
|
|
|
43
|
-
attr_accessor phone_numbers: ::Array[FinchAPI::HRIS::Individual::
|
|
43
|
+
attr_accessor phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?
|
|
44
44
|
|
|
45
45
|
attr_accessor preferred_name: String?
|
|
46
46
|
|
|
47
47
|
attr_accessor residence: FinchAPI::Location?
|
|
48
48
|
|
|
49
|
-
attr_accessor emails: ::Array[FinchAPI::HRIS::Individual::
|
|
49
|
+
attr_accessor emails: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::Email]?
|
|
50
50
|
|
|
51
51
|
attr_accessor encrypted_ssn: String?
|
|
52
52
|
|
|
@@ -55,15 +55,15 @@ module FinchAPI
|
|
|
55
55
|
def initialize: (
|
|
56
56
|
id: String,
|
|
57
57
|
dob: String?,
|
|
58
|
-
ethnicity: FinchAPI::Models::HRIS::Individual::
|
|
58
|
+
ethnicity: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::ethnicity?,
|
|
59
59
|
first_name: String?,
|
|
60
|
-
gender: FinchAPI::Models::HRIS::Individual::
|
|
60
|
+
gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?,
|
|
61
61
|
last_name: String?,
|
|
62
62
|
middle_name: String?,
|
|
63
|
-
phone_numbers: ::Array[FinchAPI::HRIS::Individual::
|
|
63
|
+
phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?,
|
|
64
64
|
preferred_name: String?,
|
|
65
65
|
residence: FinchAPI::Location?,
|
|
66
|
-
?emails: ::Array[FinchAPI::HRIS::Individual::
|
|
66
|
+
?emails: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::Email]?,
|
|
67
67
|
?encrypted_ssn: String?,
|
|
68
68
|
?ssn: String?
|
|
69
69
|
) -> void
|
|
@@ -71,15 +71,15 @@ module FinchAPI
|
|
|
71
71
|
def to_hash: -> {
|
|
72
72
|
id: String,
|
|
73
73
|
dob: String?,
|
|
74
|
-
ethnicity: FinchAPI::Models::HRIS::Individual::
|
|
74
|
+
ethnicity: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::ethnicity?,
|
|
75
75
|
first_name: String?,
|
|
76
|
-
gender: FinchAPI::Models::HRIS::Individual::
|
|
76
|
+
gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?,
|
|
77
77
|
last_name: String?,
|
|
78
78
|
middle_name: String?,
|
|
79
|
-
phone_numbers: ::Array[FinchAPI::HRIS::Individual::
|
|
79
|
+
phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?,
|
|
80
80
|
preferred_name: String?,
|
|
81
81
|
residence: FinchAPI::Location?,
|
|
82
|
-
emails: ::Array[FinchAPI::HRIS::Individual::
|
|
82
|
+
emails: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::Email]?,
|
|
83
83
|
encrypted_ssn: String?,
|
|
84
84
|
ssn: String?
|
|
85
85
|
}
|
|
@@ -106,7 +106,7 @@ module FinchAPI
|
|
|
106
106
|
TWO_OR_MORE_RACES: :two_or_more_races
|
|
107
107
|
DECLINE_TO_SPECIFY: :decline_to_specify
|
|
108
108
|
|
|
109
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::
|
|
109
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::ethnicity]
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
type gender = :female | :male | :other | :decline_to_specify
|
|
@@ -119,28 +119,28 @@ module FinchAPI
|
|
|
119
119
|
OTHER: :other
|
|
120
120
|
DECLINE_TO_SPECIFY: :decline_to_specify
|
|
121
121
|
|
|
122
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::
|
|
122
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender]
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
type phone_number =
|
|
126
126
|
{
|
|
127
127
|
data: String?,
|
|
128
|
-
type: FinchAPI::Models::HRIS::Individual::
|
|
128
|
+
type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::PhoneNumber::type_?
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
class PhoneNumber < FinchAPI::Internal::Type::BaseModel
|
|
132
132
|
attr_accessor data: String?
|
|
133
133
|
|
|
134
|
-
attr_accessor type: FinchAPI::Models::HRIS::Individual::
|
|
134
|
+
attr_accessor type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::PhoneNumber::type_?
|
|
135
135
|
|
|
136
136
|
def initialize: (
|
|
137
137
|
data: String?,
|
|
138
|
-
type: FinchAPI::Models::HRIS::Individual::
|
|
138
|
+
type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::PhoneNumber::type_?
|
|
139
139
|
) -> void
|
|
140
140
|
|
|
141
141
|
def to_hash: -> {
|
|
142
142
|
data: String?,
|
|
143
|
-
type: FinchAPI::Models::HRIS::Individual::
|
|
143
|
+
type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::PhoneNumber::type_?
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
type type_ = :work | :personal
|
|
@@ -151,29 +151,29 @@ module FinchAPI
|
|
|
151
151
|
WORK: :work
|
|
152
152
|
PERSONAL: :personal
|
|
153
153
|
|
|
154
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::
|
|
154
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::PhoneNumber::type_]
|
|
155
155
|
end
|
|
156
156
|
end
|
|
157
157
|
|
|
158
158
|
type email =
|
|
159
159
|
{
|
|
160
160
|
data: String,
|
|
161
|
-
type: FinchAPI::Models::HRIS::Individual::
|
|
161
|
+
type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::Email::type_?
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
class Email < FinchAPI::Internal::Type::BaseModel
|
|
165
165
|
attr_accessor data: String
|
|
166
166
|
|
|
167
|
-
attr_accessor type: FinchAPI::Models::HRIS::Individual::
|
|
167
|
+
attr_accessor type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::Email::type_?
|
|
168
168
|
|
|
169
169
|
def initialize: (
|
|
170
170
|
data: String,
|
|
171
|
-
type: FinchAPI::Models::HRIS::Individual::
|
|
171
|
+
type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::Email::type_?
|
|
172
172
|
) -> void
|
|
173
173
|
|
|
174
174
|
def to_hash: -> {
|
|
175
175
|
data: String,
|
|
176
|
-
type: FinchAPI::Models::HRIS::Individual::
|
|
176
|
+
type: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::Email::type_?
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
type type_ = :work | :personal
|
|
@@ -184,7 +184,7 @@ module FinchAPI
|
|
|
184
184
|
WORK: :work
|
|
185
185
|
PERSONAL: :personal
|
|
186
186
|
|
|
187
|
-
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::
|
|
187
|
+
def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::Email::type_]
|
|
188
188
|
end
|
|
189
189
|
end
|
|
190
190
|
end
|