finch-api 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.20
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 +37 -0
- data/README.md +4 -4
- data/SECURITY.md +2 -2
- data/lib/finch_api/errors.rb +22 -0
- data/lib/finch_api/internal/individuals_page.rb +1 -1
- data/lib/finch_api/internal/page.rb +1 -1
- data/lib/finch_api/internal/type/array_of.rb +14 -1
- data/lib/finch_api/internal/type/base_model.rb +84 -25
- data/lib/finch_api/internal/type/boolean.rb +15 -1
- data/lib/finch_api/internal/type/converter.rb +42 -34
- data/lib/finch_api/internal/type/enum.rb +25 -2
- data/lib/finch_api/internal/type/file_input.rb +13 -1
- data/lib/finch_api/internal/type/hash_of.rb +14 -1
- data/lib/finch_api/internal/type/union.rb +27 -7
- data/lib/finch_api/internal/type/unknown.rb +15 -1
- data/lib/finch_api/internal/util.rb +62 -10
- data/lib/finch_api/internal.rb +3 -0
- data/lib/finch_api/models/account_update_event.rb +110 -109
- data/lib/finch_api/models/base_webhook_event.rb +1 -1
- data/lib/finch_api/models/company_event.rb +2 -2
- data/lib/finch_api/models/connect/session_new_params.rb +12 -12
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +2 -2
- data/lib/finch_api/models/create_access_token_response.rb +7 -7
- data/lib/finch_api/models/directory_event.rb +4 -4
- data/lib/finch_api/models/employment_event.rb +4 -4
- data/lib/finch_api/models/hris/benefit_contribution.rb +3 -3
- data/lib/finch_api/models/hris/benefit_create_params.rb +11 -11
- data/lib/finch_api/models/hris/benefit_features_and_operations.rb +5 -120
- data/lib/finch_api/models/hris/benefit_type.rb +10 -10
- data/lib/finch_api/models/hris/benefits/individual_benefit.rb +11 -11
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +23 -23
- data/lib/finch_api/models/hris/benefits_support.rb +24 -24
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +11 -11
- data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +2 -2
- data/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +18 -18
- data/lib/finch_api/models/hris/company.rb +23 -23
- data/lib/finch_api/models/hris/company_benefit.rb +12 -12
- data/lib/finch_api/models/hris/document_list_params.rb +2 -2
- data/lib/finch_api/models/hris/document_list_response.rb +4 -4
- data/lib/finch_api/models/hris/document_response.rb +4 -4
- data/lib/finch_api/models/hris/document_retreive_response.rb +1 -5
- data/lib/finch_api/models/hris/employment_data.rb +89 -100
- data/lib/finch_api/models/hris/employment_data_response.rb +2 -2
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +4 -3
- data/lib/finch_api/models/hris/individual.rb +20 -26
- data/lib/finch_api/models/hris/individual_in_directory.rb +6 -6
- data/lib/finch_api/models/hris/individual_response.rb +2 -2
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +4 -4
- data/lib/finch_api/models/hris/pay_statement.rb +184 -182
- data/lib/finch_api/models/hris/pay_statement_data_sync_in_progress.rb +76 -0
- data/lib/finch_api/models/hris/pay_statement_response.rb +50 -8
- data/lib/finch_api/models/hris/pay_statement_response_body.rb +27 -9
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +2 -2
- data/lib/finch_api/models/hris/payment.rb +37 -37
- data/lib/finch_api/models/hris/support_per_benefit_type.rb +4 -4
- data/lib/finch_api/models/hris/supported_benefit.rb +10 -9
- data/lib/finch_api/models/hris/w42005.rb +12 -12
- data/lib/finch_api/models/hris/w42020.rb +10 -10
- data/lib/finch_api/models/income.rb +8 -8
- data/lib/finch_api/models/individual_event.rb +4 -4
- data/lib/finch_api/models/introspection.rb +23 -23
- data/lib/finch_api/models/job_completion_event.rb +4 -4
- data/lib/finch_api/models/jobs/automated_async_job.rb +10 -10
- data/lib/finch_api/models/jobs/automated_create_params.rb +4 -4
- data/lib/finch_api/models/jobs/automated_list_response.rb +2 -2
- data/lib/finch_api/models/jobs/manual_async_job.rb +3 -3
- data/lib/finch_api/models/money.rb +4 -4
- data/lib/finch_api/models/operation_support_matrix.rb +9 -9
- data/lib/finch_api/models/pay_statement_event.rb +4 -4
- data/lib/finch_api/models/payment_event.rb +4 -4
- data/lib/finch_api/models/payroll/pay_group_list_response.rb +12 -12
- data/lib/finch_api/models/payroll/pay_group_retrieve_response.rb +5 -5
- data/lib/finch_api/models/provider.rb +104 -104
- data/lib/finch_api/models/sandbox/company_update_params.rb +21 -21
- data/lib/finch_api/models/sandbox/company_update_response.rb +2 -2
- data/lib/finch_api/models/sandbox/connection_create_params.rb +2 -2
- data/lib/finch_api/models/sandbox/connections/account_create_params.rb +2 -2
- data/lib/finch_api/models/sandbox/connections/account_update_params.rb +2 -2
- data/lib/finch_api/models/sandbox/directory_create_params.rb +49 -48
- data/lib/finch_api/models/sandbox/employment_update_params.rb +24 -23
- data/lib/finch_api/models/sandbox/employment_update_response.rb +6 -6
- data/lib/finch_api/models/sandbox/individual_update_params.rb +16 -16
- data/lib/finch_api/models/sandbox/individual_update_response.rb +2 -2
- data/lib/finch_api/models/sandbox/job_create_params.rb +2 -2
- data/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rb +6 -6
- data/lib/finch_api/models/sandbox/payment_create_params.rb +160 -367
- data/lib/finch_api/models/webhook_event.rb +1 -16
- data/lib/finch_api/models.rb +30 -19
- data/lib/finch_api/resources/access_tokens.rb +1 -1
- data/lib/finch_api/resources/account.rb +2 -2
- data/lib/finch_api/resources/connect/sessions.rb +5 -5
- data/lib/finch_api/resources/hris/benefits/individuals.rb +4 -4
- data/lib/finch_api/resources/hris/benefits.rb +9 -9
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +3 -3
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +1 -1
- data/lib/finch_api/resources/hris/company.rb +1 -1
- data/lib/finch_api/resources/hris/directory.rb +1 -1
- data/lib/finch_api/resources/hris/documents.rb +2 -2
- data/lib/finch_api/resources/hris/employments.rb +2 -2
- data/lib/finch_api/resources/hris/individuals.rb +3 -3
- data/lib/finch_api/resources/hris/pay_statements.rb +2 -2
- data/lib/finch_api/resources/hris/payments.rb +1 -1
- data/lib/finch_api/resources/jobs/automated.rb +3 -3
- data/lib/finch_api/resources/jobs/manual.rb +1 -1
- data/lib/finch_api/resources/providers.rb +1 -1
- data/lib/finch_api/resources/sandbox/company.rb +4 -4
- data/lib/finch_api/resources/sandbox/connections/accounts.rb +2 -2
- data/lib/finch_api/resources/sandbox/connections.rb +1 -1
- data/lib/finch_api/resources/sandbox/directory.rb +1 -1
- data/lib/finch_api/resources/sandbox/employment.rb +8 -8
- data/lib/finch_api/resources/sandbox/individual.rb +5 -5
- data/lib/finch_api/resources/sandbox/jobs/configuration.rb +4 -4
- data/lib/finch_api/resources/sandbox/jobs.rb +1 -1
- data/lib/finch_api/resources/sandbox/payment.rb +6 -3
- data/lib/finch_api/version.rb +1 -1
- data/lib/finch_api.rb +4 -2
- data/rbi/finch_api/errors.rbi +16 -0
- data/rbi/finch_api/internal/type/array_of.rbi +6 -0
- data/rbi/finch_api/internal/type/base_model.rbi +5 -0
- data/rbi/finch_api/internal/type/boolean.rbi +8 -0
- data/rbi/finch_api/internal/type/converter.rbi +15 -15
- data/rbi/finch_api/internal/type/enum.rbi +5 -0
- data/rbi/finch_api/internal/type/file_input.rbi +5 -0
- data/rbi/finch_api/internal/type/hash_of.rbi +6 -0
- data/rbi/finch_api/internal/type/union.rbi +10 -0
- data/rbi/finch_api/internal/type/unknown.rbi +8 -0
- data/rbi/finch_api/internal/util.rbi +36 -0
- data/rbi/finch_api/internal.rbi +3 -0
- data/rbi/finch_api/models/connect/session_new_params.rbi +4 -4
- data/rbi/finch_api/models/hris/benefit_features_and_operations.rbi +4 -296
- data/rbi/finch_api/models/hris/benefit_type.rbi +16 -16
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_response.rbi +18 -33
- data/rbi/finch_api/models/hris/employment_data.rbi +123 -141
- data/rbi/finch_api/models/hris/employment_data_response.rbi +2 -13
- data/rbi/finch_api/models/hris/individual_response.rbi +2 -13
- data/rbi/finch_api/models/hris/pay_statement.rbi +275 -307
- data/rbi/finch_api/models/hris/pay_statement_data_sync_in_progress.rbi +188 -0
- data/rbi/finch_api/models/hris/pay_statement_response.rbi +84 -20
- data/rbi/finch_api/models/hris/pay_statement_response_body.rbi +45 -17
- data/rbi/finch_api/models/hris/payment.rbi +27 -30
- data/rbi/finch_api/models/hris/supported_benefit.rbi +12 -8
- data/rbi/finch_api/models/income.rbi +3 -3
- data/rbi/finch_api/models/money.rbi +4 -7
- data/rbi/finch_api/models/payroll/pay_group_list_response.rbi +25 -43
- data/rbi/finch_api/models/payroll/pay_group_retrieve_response.rbi +14 -14
- data/rbi/finch_api/models/sandbox/payment_create_params.rbi +463 -727
- data/rbi/finch_api/resources/connect/sessions.rbi +2 -2
- data/rbi/finch_api/resources/hris/benefits.rbi +1 -3
- data/rbi/finch_api/resources/hris/documents.rbi +1 -1
- data/rbi/finch_api/resources/sandbox/payment.rbi +3 -2
- data/sig/finch_api/errors.rbs +9 -0
- data/sig/finch_api/internal/type/array_of.rbs +3 -0
- data/sig/finch_api/internal/type/base_model.rbs +2 -0
- data/sig/finch_api/internal/type/boolean.rbs +3 -0
- data/sig/finch_api/internal/type/converter.rbs +7 -1
- data/sig/finch_api/internal/type/enum.rbs +2 -0
- data/sig/finch_api/internal/type/file_input.rbs +2 -0
- data/sig/finch_api/internal/type/hash_of.rbs +3 -0
- data/sig/finch_api/internal/type/union.rbs +2 -0
- data/sig/finch_api/internal/type/unknown.rbs +3 -0
- data/sig/finch_api/internal/util.rbs +12 -0
- data/sig/finch_api/internal.rbs +2 -0
- data/sig/finch_api/models/access_token_create_params.rbs +8 -0
- data/sig/finch_api/models/account_disconnect_params.rbs +2 -0
- data/sig/finch_api/models/account_introspect_params.rbs +2 -0
- data/sig/finch_api/models/account_update_event.rbs +230 -12
- data/sig/finch_api/models/base_webhook_event.rbs +6 -0
- data/sig/finch_api/models/company_event.rbs +11 -6
- data/sig/finch_api/models/connect/session_new_params.rbs +26 -8
- data/sig/finch_api/models/connect/session_new_response.rbs +2 -0
- data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +12 -4
- data/sig/finch_api/models/connect/session_reauthenticate_response.rbs +2 -0
- data/sig/finch_api/models/create_access_token_response.rbs +21 -8
- data/sig/finch_api/models/directory_event.rbs +13 -6
- data/sig/finch_api/models/disconnect_response.rbs +2 -0
- data/sig/finch_api/models/employment_event.rbs +13 -6
- data/sig/finch_api/models/hris/benefit_contribution.rbs +12 -4
- data/sig/finch_api/models/hris/benefit_create_params.rbs +21 -6
- data/sig/finch_api/models/hris/benefit_features_and_operations.rbs +9 -78
- data/sig/finch_api/models/hris/benefit_list_params.rbs +2 -0
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +2 -0
- data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +2 -0
- data/sig/finch_api/models/hris/benefit_type.rbs +21 -21
- data/sig/finch_api/models/hris/benefit_update_params.rbs +5 -0
- data/sig/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbs +2 -0
- data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +18 -4
- data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +47 -18
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +2 -0
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbs +5 -0
- data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +5 -0
- data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +5 -0
- data/sig/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbs +2 -0
- data/sig/finch_api/models/hris/benefits_support.rbs +15 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +23 -6
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbs +20 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +2 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbs +21 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +2 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbs +20 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +5 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbs +20 -0
- data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +15 -6
- data/sig/finch_api/models/hris/company/pay_statement_item_list_response.rbs +23 -20
- data/sig/finch_api/models/hris/company.rbs +44 -12
- data/sig/finch_api/models/hris/company_benefit.rbs +21 -6
- data/sig/finch_api/models/hris/company_retrieve_params.rbs +2 -0
- data/sig/finch_api/models/hris/create_company_benefits_response.rbs +2 -0
- data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +6 -0
- data/sig/finch_api/models/hris/directory_list_params.rbs +6 -0
- data/sig/finch_api/models/hris/document_list_params.rbs +14 -6
- data/sig/finch_api/models/hris/document_list_response.rbs +5 -0
- data/sig/finch_api/models/hris/document_response.rbs +14 -6
- data/sig/finch_api/models/hris/document_retreive_params.rbs +2 -0
- data/sig/finch_api/models/hris/employment_data.rbs +91 -47
- data/sig/finch_api/models/hris/employment_data_response.rbs +6 -0
- data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +7 -0
- data/sig/finch_api/models/hris/individual.rbs +49 -16
- data/sig/finch_api/models/hris/individual_in_directory.rbs +14 -0
- data/sig/finch_api/models/hris/individual_response.rbs +6 -0
- data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +10 -0
- data/sig/finch_api/models/hris/pay_statement.rbs +179 -133
- data/sig/finch_api/models/hris/pay_statement_data_sync_in_progress.rbs +78 -0
- data/sig/finch_api/models/hris/pay_statement_response.rbs +51 -13
- data/sig/finch_api/models/hris/pay_statement_response_body.rbs +24 -11
- data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +11 -0
- data/sig/finch_api/models/hris/payment.rbs +44 -29
- data/sig/finch_api/models/hris/payment_list_params.rbs +6 -0
- data/sig/finch_api/models/hris/support_per_benefit_type.rbs +5 -0
- data/sig/finch_api/models/hris/supported_benefit.rbs +22 -12
- data/sig/finch_api/models/hris/update_company_benefit_response.rbs +2 -0
- data/sig/finch_api/models/hris/w42005.rbs +30 -16
- data/sig/finch_api/models/hris/w42020.rbs +27 -10
- data/sig/finch_api/models/income.rbs +14 -7
- data/sig/finch_api/models/individual_event.rbs +13 -6
- data/sig/finch_api/models/introspection.rbs +51 -14
- data/sig/finch_api/models/job_completion_event.rbs +13 -6
- data/sig/finch_api/models/jobs/automated_async_job.rbs +22 -8
- data/sig/finch_api/models/jobs/automated_create_params.rbs +8 -0
- data/sig/finch_api/models/jobs/automated_create_response.rbs +7 -0
- data/sig/finch_api/models/jobs/automated_list_params.rbs +6 -0
- data/sig/finch_api/models/jobs/automated_list_response.rbs +18 -0
- data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +2 -0
- data/sig/finch_api/models/jobs/manual_async_job.rbs +10 -4
- data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +2 -0
- data/sig/finch_api/models/location.rbs +11 -0
- data/sig/finch_api/models/money.rbs +3 -3
- data/sig/finch_api/models/operation_support_matrix.rbs +7 -0
- data/sig/finch_api/models/paging.rbs +2 -0
- data/sig/finch_api/models/pay_statement_event.rbs +13 -6
- data/sig/finch_api/models/payment_event.rbs +13 -6
- data/sig/finch_api/models/payroll/pay_group_list_params.rbs +6 -0
- data/sig/finch_api/models/payroll/pay_group_list_response.rbs +22 -24
- data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +2 -0
- data/sig/finch_api/models/payroll/pay_group_retrieve_response.rbs +17 -10
- data/sig/finch_api/models/provider.rbs +227 -6
- data/sig/finch_api/models/provider_list_params.rbs +2 -0
- data/sig/finch_api/models/request_forwarding_forward_params.rbs +9 -0
- data/sig/finch_api/models/request_forwarding_forward_response.rbs +15 -0
- data/sig/finch_api/models/sandbox/company_update_params.rbs +44 -12
- data/sig/finch_api/models/sandbox/company_update_response.rbs +31 -0
- data/sig/finch_api/models/sandbox/connection_create_params.rbs +8 -0
- data/sig/finch_api/models/sandbox/connection_create_response.rbs +11 -0
- data/sig/finch_api/models/sandbox/connections/account_create_params.rbs +8 -0
- data/sig/finch_api/models/sandbox/connections/account_create_response.rbs +10 -0
- data/sig/finch_api/models/sandbox/connections/account_update_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/connections/account_update_response.rbs +9 -0
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +84 -28
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +41 -8
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +33 -0
- data/sig/finch_api/models/sandbox/individual_update_params.rbs +34 -8
- data/sig/finch_api/models/sandbox/individual_update_response.rbs +26 -0
- data/sig/finch_api/models/sandbox/job_create_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/job_create_response.rbs +7 -0
- data/sig/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbs +2 -0
- data/sig/finch_api/models/sandbox/jobs/configuration_update_params.rbs +2 -0
- data/sig/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbs +13 -8
- data/sig/finch_api/models/sandbox/payment_create_params.rbs +287 -228
- data/sig/finch_api/models/sandbox/payment_create_response.rbs +2 -0
- data/sig/finch_api/resources/connect/sessions.rbs +2 -2
- data/sig/finch_api/resources/hris/benefits.rbs +1 -1
- data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +1 -1
- data/sig/finch_api/resources/hris/documents.rbs +1 -1
- data/sig/finch_api/resources/sandbox/payment.rbs +2 -2
- metadata +5 -5
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_response.rb +0 -110
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_response.rbi +0 -290
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_response.rbs +0 -79
@@ -9,49 +9,47 @@ module FinchAPI
|
|
9
9
|
}
|
10
10
|
|
11
11
|
class PayGroupListResponse < FinchAPI::Internal::Type::BaseModel
|
12
|
-
|
12
|
+
attr_accessor id: String
|
13
13
|
|
14
|
-
|
14
|
+
attr_accessor name: String
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
def name=: (String) -> String
|
19
|
-
|
20
|
-
attr_reader pay_frequencies: ::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]?
|
21
|
-
|
22
|
-
def pay_frequencies=: (
|
23
|
-
::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]
|
24
|
-
) -> ::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]
|
16
|
+
attr_accessor pay_frequencies: ::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]
|
25
17
|
|
26
18
|
def initialize: (
|
27
|
-
|
28
|
-
|
29
|
-
|
19
|
+
id: String,
|
20
|
+
name: String,
|
21
|
+
pay_frequencies: ::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]
|
30
22
|
) -> void
|
31
23
|
|
24
|
+
def to_hash: -> {
|
25
|
+
id: String,
|
26
|
+
name: String,
|
27
|
+
pay_frequencies: ::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]
|
28
|
+
}
|
29
|
+
|
32
30
|
type pay_frequency =
|
33
31
|
:annually
|
34
|
-
| :semi_annually
|
35
|
-
| :quarterly
|
36
|
-
| :monthly
|
37
|
-
| :semi_monthly
|
38
32
|
| :bi_weekly
|
39
|
-
| :weekly
|
40
33
|
| :daily
|
34
|
+
| :monthly
|
41
35
|
| :other
|
36
|
+
| :quarterly
|
37
|
+
| :semi_annually
|
38
|
+
| :semi_monthly
|
39
|
+
| :weekly
|
42
40
|
|
43
41
|
module PayFrequency
|
44
42
|
extend FinchAPI::Internal::Type::Enum
|
45
43
|
|
46
44
|
ANNUALLY: :annually
|
47
|
-
SEMI_ANNUALLY: :semi_annually
|
48
|
-
QUARTERLY: :quarterly
|
49
|
-
MONTHLY: :monthly
|
50
|
-
SEMI_MONTHLY: :semi_monthly
|
51
45
|
BI_WEEKLY: :bi_weekly
|
52
|
-
WEEKLY: :weekly
|
53
46
|
DAILY: :daily
|
47
|
+
MONTHLY: :monthly
|
54
48
|
OTHER: :other
|
49
|
+
QUARTERLY: :quarterly
|
50
|
+
SEMI_ANNUALLY: :semi_annually
|
51
|
+
SEMI_MONTHLY: :semi_monthly
|
52
|
+
WEEKLY: :weekly
|
55
53
|
|
56
54
|
def self?.values: -> ::Array[FinchAPI::Models::Payroll::PayGroupListResponse::pay_frequency]
|
57
55
|
end
|
@@ -25,29 +25,36 @@ module FinchAPI
|
|
25
25
|
pay_frequencies: ::Array[FinchAPI::Models::Payroll::PayGroupRetrieveResponse::pay_frequency]
|
26
26
|
) -> void
|
27
27
|
|
28
|
+
def to_hash: -> {
|
29
|
+
id: String,
|
30
|
+
individual_ids: ::Array[String],
|
31
|
+
name: String,
|
32
|
+
pay_frequencies: ::Array[FinchAPI::Models::Payroll::PayGroupRetrieveResponse::pay_frequency]
|
33
|
+
}
|
34
|
+
|
28
35
|
type pay_frequency =
|
29
36
|
:annually
|
30
|
-
| :semi_annually
|
31
|
-
| :quarterly
|
32
|
-
| :monthly
|
33
|
-
| :semi_monthly
|
34
37
|
| :bi_weekly
|
35
|
-
| :weekly
|
36
38
|
| :daily
|
39
|
+
| :monthly
|
37
40
|
| :other
|
41
|
+
| :quarterly
|
42
|
+
| :semi_annually
|
43
|
+
| :semi_monthly
|
44
|
+
| :weekly
|
38
45
|
|
39
46
|
module PayFrequency
|
40
47
|
extend FinchAPI::Internal::Type::Enum
|
41
48
|
|
42
49
|
ANNUALLY: :annually
|
43
|
-
SEMI_ANNUALLY: :semi_annually
|
44
|
-
QUARTERLY: :quarterly
|
45
|
-
MONTHLY: :monthly
|
46
|
-
SEMI_MONTHLY: :semi_monthly
|
47
50
|
BI_WEEKLY: :bi_weekly
|
48
|
-
WEEKLY: :weekly
|
49
51
|
DAILY: :daily
|
52
|
+
MONTHLY: :monthly
|
50
53
|
OTHER: :other
|
54
|
+
QUARTERLY: :quarterly
|
55
|
+
SEMI_ANNUALLY: :semi_annually
|
56
|
+
SEMI_MONTHLY: :semi_monthly
|
57
|
+
WEEKLY: :weekly
|
51
58
|
|
52
59
|
def self?.values: -> ::Array[FinchAPI::Models::Payroll::PayGroupRetrieveResponse::pay_frequency]
|
53
60
|
end
|
@@ -70,11 +70,24 @@ module FinchAPI
|
|
70
70
|
?products: ::Array[String]
|
71
71
|
) -> void
|
72
72
|
|
73
|
+
def to_hash: -> {
|
74
|
+
id: String,
|
75
|
+
authentication_methods: ::Array[FinchAPI::Provider::AuthenticationMethod],
|
76
|
+
beta: bool,
|
77
|
+
display_name: String,
|
78
|
+
icon: String,
|
79
|
+
logo: String,
|
80
|
+
manual: bool,
|
81
|
+
mfa_required: bool,
|
82
|
+
primary_color: String,
|
83
|
+
products: ::Array[String]
|
84
|
+
}
|
85
|
+
|
73
86
|
type authentication_method =
|
74
87
|
{
|
75
88
|
benefits_support: FinchAPI::HRIS::BenefitsSupport?,
|
76
89
|
supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?,
|
77
|
-
type: FinchAPI::Provider::AuthenticationMethod::type_
|
90
|
+
type: FinchAPI::Models::Provider::AuthenticationMethod::type_
|
78
91
|
}
|
79
92
|
|
80
93
|
class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel
|
@@ -82,18 +95,24 @@ module FinchAPI
|
|
82
95
|
|
83
96
|
attr_accessor supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?
|
84
97
|
|
85
|
-
attr_reader type: FinchAPI::Provider::AuthenticationMethod::type_?
|
98
|
+
attr_reader type: FinchAPI::Models::Provider::AuthenticationMethod::type_?
|
86
99
|
|
87
100
|
def type=: (
|
88
|
-
FinchAPI::Provider::AuthenticationMethod::type_
|
89
|
-
) -> FinchAPI::Provider::AuthenticationMethod::type_
|
101
|
+
FinchAPI::Models::Provider::AuthenticationMethod::type_
|
102
|
+
) -> FinchAPI::Models::Provider::AuthenticationMethod::type_
|
90
103
|
|
91
104
|
def initialize: (
|
92
105
|
?benefits_support: FinchAPI::HRIS::BenefitsSupport?,
|
93
106
|
?supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?,
|
94
|
-
?type: FinchAPI::Provider::AuthenticationMethod::type_
|
107
|
+
?type: FinchAPI::Models::Provider::AuthenticationMethod::type_
|
95
108
|
) -> void
|
96
109
|
|
110
|
+
def to_hash: -> {
|
111
|
+
benefits_support: FinchAPI::HRIS::BenefitsSupport?,
|
112
|
+
supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?,
|
113
|
+
type: FinchAPI::Models::Provider::AuthenticationMethod::type_
|
114
|
+
}
|
115
|
+
|
97
116
|
type supported_fields =
|
98
117
|
{
|
99
118
|
company: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company,
|
@@ -158,6 +177,16 @@ module FinchAPI
|
|
158
177
|
?payment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
|
159
178
|
) -> void
|
160
179
|
|
180
|
+
def to_hash: -> {
|
181
|
+
company: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company,
|
182
|
+
directory: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory,
|
183
|
+
employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment,
|
184
|
+
individual: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual,
|
185
|
+
pay_group: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup,
|
186
|
+
pay_statement: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement,
|
187
|
+
payment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
|
188
|
+
}
|
189
|
+
|
161
190
|
type company =
|
162
191
|
{
|
163
192
|
id: bool,
|
@@ -228,6 +257,18 @@ module FinchAPI
|
|
228
257
|
?primary_phone_number: bool
|
229
258
|
) -> void
|
230
259
|
|
260
|
+
def to_hash: -> {
|
261
|
+
id: bool,
|
262
|
+
accounts: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts,
|
263
|
+
departments: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments,
|
264
|
+
ein: bool,
|
265
|
+
entity: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity,
|
266
|
+
legal_name: bool,
|
267
|
+
locations: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations,
|
268
|
+
primary_email: bool,
|
269
|
+
primary_phone_number: bool
|
270
|
+
}
|
271
|
+
|
231
272
|
type accounts =
|
232
273
|
{
|
233
274
|
account_name: bool,
|
@@ -265,6 +306,14 @@ module FinchAPI
|
|
265
306
|
?institution_name: bool,
|
266
307
|
?routing_number: bool
|
267
308
|
) -> void
|
309
|
+
|
310
|
+
def to_hash: -> {
|
311
|
+
account_name: bool,
|
312
|
+
account_number: bool,
|
313
|
+
account_type: bool,
|
314
|
+
institution_name: bool,
|
315
|
+
routing_number: bool
|
316
|
+
}
|
268
317
|
end
|
269
318
|
|
270
319
|
type departments =
|
@@ -289,6 +338,11 @@ module FinchAPI
|
|
289
338
|
?parent: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
|
290
339
|
) -> void
|
291
340
|
|
341
|
+
def to_hash: -> {
|
342
|
+
name: bool,
|
343
|
+
parent: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
|
344
|
+
}
|
345
|
+
|
292
346
|
type parent = { name: bool }
|
293
347
|
|
294
348
|
class Parent < FinchAPI::Internal::Type::BaseModel
|
@@ -297,6 +351,8 @@ module FinchAPI
|
|
297
351
|
def name=: (bool) -> bool
|
298
352
|
|
299
353
|
def initialize: (?name: bool) -> void
|
354
|
+
|
355
|
+
def to_hash: -> { name: bool }
|
300
356
|
end
|
301
357
|
end
|
302
358
|
|
@@ -312,6 +368,8 @@ module FinchAPI
|
|
312
368
|
def type=: (bool) -> bool
|
313
369
|
|
314
370
|
def initialize: (?subtype: bool, ?type: bool) -> void
|
371
|
+
|
372
|
+
def to_hash: -> { subtype: bool, type: bool }
|
315
373
|
end
|
316
374
|
|
317
375
|
type locations =
|
@@ -357,6 +415,15 @@ module FinchAPI
|
|
357
415
|
?postal_code: bool,
|
358
416
|
?state: bool
|
359
417
|
) -> void
|
418
|
+
|
419
|
+
def to_hash: -> {
|
420
|
+
city: bool,
|
421
|
+
country: bool,
|
422
|
+
:line1 => bool,
|
423
|
+
:line2 => bool,
|
424
|
+
postal_code: bool,
|
425
|
+
state: bool
|
426
|
+
}
|
360
427
|
end
|
361
428
|
end
|
362
429
|
|
@@ -384,6 +451,11 @@ module FinchAPI
|
|
384
451
|
?paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
|
385
452
|
) -> void
|
386
453
|
|
454
|
+
def to_hash: -> {
|
455
|
+
individuals: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals,
|
456
|
+
paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
|
457
|
+
}
|
458
|
+
|
387
459
|
type individuals =
|
388
460
|
{
|
389
461
|
id: bool,
|
@@ -436,6 +508,16 @@ module FinchAPI
|
|
436
508
|
?middle_name: bool
|
437
509
|
) -> void
|
438
510
|
|
511
|
+
def to_hash: -> {
|
512
|
+
id: bool,
|
513
|
+
department: bool,
|
514
|
+
first_name: bool,
|
515
|
+
is_active: bool,
|
516
|
+
last_name: bool,
|
517
|
+
manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
|
518
|
+
middle_name: bool
|
519
|
+
}
|
520
|
+
|
439
521
|
type manager = { id: bool }
|
440
522
|
|
441
523
|
class Manager < FinchAPI::Internal::Type::BaseModel
|
@@ -444,6 +526,8 @@ module FinchAPI
|
|
444
526
|
def id=: (bool) -> bool
|
445
527
|
|
446
528
|
def initialize: (?id: bool) -> void
|
529
|
+
|
530
|
+
def to_hash: -> { id: bool }
|
447
531
|
end
|
448
532
|
end
|
449
533
|
|
@@ -459,6 +543,8 @@ module FinchAPI
|
|
459
543
|
def offset=: (bool) -> bool
|
460
544
|
|
461
545
|
def initialize: (?count: bool, ?offset: bool) -> void
|
546
|
+
|
547
|
+
def to_hash: -> { count: bool, offset: bool }
|
462
548
|
end
|
463
549
|
end
|
464
550
|
|
@@ -582,6 +668,26 @@ module FinchAPI
|
|
582
668
|
?title: bool
|
583
669
|
) -> void
|
584
670
|
|
671
|
+
def to_hash: -> {
|
672
|
+
id: bool,
|
673
|
+
class_code: bool,
|
674
|
+
custom_fields: bool,
|
675
|
+
department: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department,
|
676
|
+
employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment,
|
677
|
+
employment_status: bool,
|
678
|
+
end_date: bool,
|
679
|
+
first_name: bool,
|
680
|
+
income: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income,
|
681
|
+
income_history: bool,
|
682
|
+
is_active: bool,
|
683
|
+
last_name: bool,
|
684
|
+
location: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location,
|
685
|
+
manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager,
|
686
|
+
middle_name: bool,
|
687
|
+
start_date: bool,
|
688
|
+
title: bool
|
689
|
+
}
|
690
|
+
|
585
691
|
type department = { name: bool }
|
586
692
|
|
587
693
|
class Department < FinchAPI::Internal::Type::BaseModel
|
@@ -590,6 +696,8 @@ module FinchAPI
|
|
590
696
|
def name=: (bool) -> bool
|
591
697
|
|
592
698
|
def initialize: (?name: bool) -> void
|
699
|
+
|
700
|
+
def to_hash: -> { name: bool }
|
593
701
|
end
|
594
702
|
|
595
703
|
type employment = { subtype: bool, type: bool }
|
@@ -604,6 +712,8 @@ module FinchAPI
|
|
604
712
|
def type=: (bool) -> bool
|
605
713
|
|
606
714
|
def initialize: (?subtype: bool, ?type: bool) -> void
|
715
|
+
|
716
|
+
def to_hash: -> { subtype: bool, type: bool }
|
607
717
|
end
|
608
718
|
|
609
719
|
type income = { amount: bool, currency: bool, unit: bool }
|
@@ -626,6 +736,8 @@ module FinchAPI
|
|
626
736
|
?currency: bool,
|
627
737
|
?unit: bool
|
628
738
|
) -> void
|
739
|
+
|
740
|
+
def to_hash: -> { amount: bool, currency: bool, unit: bool }
|
629
741
|
end
|
630
742
|
|
631
743
|
type location =
|
@@ -671,6 +783,15 @@ module FinchAPI
|
|
671
783
|
?postal_code: bool,
|
672
784
|
?state: bool
|
673
785
|
) -> void
|
786
|
+
|
787
|
+
def to_hash: -> {
|
788
|
+
city: bool,
|
789
|
+
country: bool,
|
790
|
+
:line1 => bool,
|
791
|
+
:line2 => bool,
|
792
|
+
postal_code: bool,
|
793
|
+
state: bool
|
794
|
+
}
|
674
795
|
end
|
675
796
|
|
676
797
|
type manager = { id: bool }
|
@@ -681,6 +802,8 @@ module FinchAPI
|
|
681
802
|
def id=: (bool) -> bool
|
682
803
|
|
683
804
|
def initialize: (?id: bool) -> void
|
805
|
+
|
806
|
+
def to_hash: -> { id: bool }
|
684
807
|
end
|
685
808
|
end
|
686
809
|
|
@@ -776,6 +899,22 @@ module FinchAPI
|
|
776
899
|
?ssn: bool
|
777
900
|
) -> void
|
778
901
|
|
902
|
+
def to_hash: -> {
|
903
|
+
id: bool,
|
904
|
+
dob: bool,
|
905
|
+
emails: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails,
|
906
|
+
encrypted_ssn: bool,
|
907
|
+
ethnicity: bool,
|
908
|
+
first_name: bool,
|
909
|
+
gender: bool,
|
910
|
+
last_name: bool,
|
911
|
+
middle_name: bool,
|
912
|
+
phone_numbers: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
|
913
|
+
preferred_name: bool,
|
914
|
+
residence: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence,
|
915
|
+
ssn: bool
|
916
|
+
}
|
917
|
+
|
779
918
|
type emails = { data: bool, type: bool }
|
780
919
|
|
781
920
|
class Emails < FinchAPI::Internal::Type::BaseModel
|
@@ -788,6 +927,8 @@ module FinchAPI
|
|
788
927
|
def type=: (bool) -> bool
|
789
928
|
|
790
929
|
def initialize: (?data: bool, ?type: bool) -> void
|
930
|
+
|
931
|
+
def to_hash: -> { data: bool, type: bool }
|
791
932
|
end
|
792
933
|
|
793
934
|
type phone_numbers = { data: bool, type: bool }
|
@@ -802,6 +943,8 @@ module FinchAPI
|
|
802
943
|
def type=: (bool) -> bool
|
803
944
|
|
804
945
|
def initialize: (?data: bool, ?type: bool) -> void
|
946
|
+
|
947
|
+
def to_hash: -> { data: bool, type: bool }
|
805
948
|
end
|
806
949
|
|
807
950
|
type residence =
|
@@ -847,6 +990,15 @@ module FinchAPI
|
|
847
990
|
?postal_code: bool,
|
848
991
|
?state: bool
|
849
992
|
) -> void
|
993
|
+
|
994
|
+
def to_hash: -> {
|
995
|
+
city: bool,
|
996
|
+
country: bool,
|
997
|
+
:line1 => bool,
|
998
|
+
:line2 => bool,
|
999
|
+
postal_code: bool,
|
1000
|
+
state: bool
|
1001
|
+
}
|
850
1002
|
end
|
851
1003
|
end
|
852
1004
|
|
@@ -881,6 +1033,13 @@ module FinchAPI
|
|
881
1033
|
?name: bool,
|
882
1034
|
?pay_frequencies: bool
|
883
1035
|
) -> void
|
1036
|
+
|
1037
|
+
def to_hash: -> {
|
1038
|
+
id: bool,
|
1039
|
+
individual_ids: bool,
|
1040
|
+
name: bool,
|
1041
|
+
pay_frequencies: bool
|
1042
|
+
}
|
884
1043
|
end
|
885
1044
|
|
886
1045
|
type pay_statement =
|
@@ -907,6 +1066,11 @@ module FinchAPI
|
|
907
1066
|
?pay_statements: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
|
908
1067
|
) -> void
|
909
1068
|
|
1069
|
+
def to_hash: -> {
|
1070
|
+
paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging,
|
1071
|
+
pay_statements: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
|
1072
|
+
}
|
1073
|
+
|
910
1074
|
type paging = { count: bool, offset: bool }
|
911
1075
|
|
912
1076
|
class Paging < FinchAPI::Internal::Type::BaseModel
|
@@ -915,6 +1079,8 @@ module FinchAPI
|
|
915
1079
|
attr_accessor offset: bool
|
916
1080
|
|
917
1081
|
def initialize: (count: bool, offset: bool) -> void
|
1082
|
+
|
1083
|
+
def to_hash: -> { count: bool, offset: bool }
|
918
1084
|
end
|
919
1085
|
|
920
1086
|
type pay_statements =
|
@@ -993,6 +1159,19 @@ module FinchAPI
|
|
993
1159
|
?type: bool
|
994
1160
|
) -> void
|
995
1161
|
|
1162
|
+
def to_hash: -> {
|
1163
|
+
earnings: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
|
1164
|
+
employee_deductions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
|
1165
|
+
employer_contributions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
|
1166
|
+
gross_pay: bool,
|
1167
|
+
individual_id: bool,
|
1168
|
+
net_pay: bool,
|
1169
|
+
payment_method: bool,
|
1170
|
+
taxes: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
|
1171
|
+
total_hours: bool,
|
1172
|
+
type: bool
|
1173
|
+
}
|
1174
|
+
|
996
1175
|
type earnings =
|
997
1176
|
{ amount: bool, currency: bool, name: bool, type: bool }
|
998
1177
|
|
@@ -1019,6 +1198,13 @@ module FinchAPI
|
|
1019
1198
|
?name: bool,
|
1020
1199
|
?type: bool
|
1021
1200
|
) -> void
|
1201
|
+
|
1202
|
+
def to_hash: -> {
|
1203
|
+
amount: bool,
|
1204
|
+
currency: bool,
|
1205
|
+
name: bool,
|
1206
|
+
type: bool
|
1207
|
+
}
|
1022
1208
|
end
|
1023
1209
|
|
1024
1210
|
type employee_deductions =
|
@@ -1058,6 +1244,14 @@ module FinchAPI
|
|
1058
1244
|
?pre_tax: bool,
|
1059
1245
|
?type: bool
|
1060
1246
|
) -> void
|
1247
|
+
|
1248
|
+
def to_hash: -> {
|
1249
|
+
amount: bool,
|
1250
|
+
currency: bool,
|
1251
|
+
name: bool,
|
1252
|
+
pre_tax: bool,
|
1253
|
+
type: bool
|
1254
|
+
}
|
1061
1255
|
end
|
1062
1256
|
|
1063
1257
|
type employer_contributions =
|
@@ -1081,6 +1275,8 @@ module FinchAPI
|
|
1081
1275
|
?currency: bool,
|
1082
1276
|
?name: bool
|
1083
1277
|
) -> void
|
1278
|
+
|
1279
|
+
def to_hash: -> { amount: bool, currency: bool, name: bool }
|
1084
1280
|
end
|
1085
1281
|
|
1086
1282
|
type taxes =
|
@@ -1120,6 +1316,14 @@ module FinchAPI
|
|
1120
1316
|
?name: bool,
|
1121
1317
|
?type: bool
|
1122
1318
|
) -> void
|
1319
|
+
|
1320
|
+
def to_hash: -> {
|
1321
|
+
amount: bool,
|
1322
|
+
currency: bool,
|
1323
|
+
employer: bool,
|
1324
|
+
name: bool,
|
1325
|
+
type: bool
|
1326
|
+
}
|
1123
1327
|
end
|
1124
1328
|
end
|
1125
1329
|
end
|
@@ -1206,6 +1410,21 @@ module FinchAPI
|
|
1206
1410
|
?pay_period: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
|
1207
1411
|
) -> void
|
1208
1412
|
|
1413
|
+
def to_hash: -> {
|
1414
|
+
id: bool,
|
1415
|
+
company_debit: bool,
|
1416
|
+
debit_date: bool,
|
1417
|
+
employee_taxes: bool,
|
1418
|
+
employer_taxes: bool,
|
1419
|
+
gross_pay: bool,
|
1420
|
+
individual_ids: bool,
|
1421
|
+
net_pay: bool,
|
1422
|
+
pay_date: bool,
|
1423
|
+
pay_frequencies: bool,
|
1424
|
+
pay_group_ids: bool,
|
1425
|
+
pay_period: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
|
1426
|
+
}
|
1427
|
+
|
1209
1428
|
type pay_period = { end_date: bool, start_date: bool }
|
1210
1429
|
|
1211
1430
|
class PayPeriod < FinchAPI::Internal::Type::BaseModel
|
@@ -1218,6 +1437,8 @@ module FinchAPI
|
|
1218
1437
|
def start_date=: (bool) -> bool
|
1219
1438
|
|
1220
1439
|
def initialize: (?end_date: bool, ?start_date: bool) -> void
|
1440
|
+
|
1441
|
+
def to_hash: -> { end_date: bool, start_date: bool }
|
1221
1442
|
end
|
1222
1443
|
end
|
1223
1444
|
end
|
@@ -1234,7 +1455,7 @@ module FinchAPI
|
|
1234
1455
|
API_CREDENTIAL: :api_credential
|
1235
1456
|
OAUTH: :oauth
|
1236
1457
|
|
1237
|
-
def self?.values: -> ::Array[FinchAPI::Provider::AuthenticationMethod::type_]
|
1458
|
+
def self?.values: -> ::Array[FinchAPI::Models::Provider::AuthenticationMethod::type_]
|
1238
1459
|
end
|
1239
1460
|
end
|
1240
1461
|
end
|
@@ -32,6 +32,15 @@ module FinchAPI
|
|
32
32
|
?params: top?,
|
33
33
|
?request_options: FinchAPI::request_opts
|
34
34
|
) -> void
|
35
|
+
|
36
|
+
def to_hash: -> {
|
37
|
+
method_: String,
|
38
|
+
route: String,
|
39
|
+
data: String?,
|
40
|
+
headers: top?,
|
41
|
+
params: top?,
|
42
|
+
request_options: FinchAPI::RequestOptions
|
43
|
+
}
|
35
44
|
end
|
36
45
|
end
|
37
46
|
end
|
@@ -24,6 +24,13 @@ module FinchAPI
|
|
24
24
|
status_code: Integer
|
25
25
|
) -> void
|
26
26
|
|
27
|
+
def to_hash: -> {
|
28
|
+
data: String?,
|
29
|
+
headers: top?,
|
30
|
+
request: FinchAPI::Models::RequestForwardingForwardResponse::Request,
|
31
|
+
status_code: Integer
|
32
|
+
}
|
33
|
+
|
27
34
|
type request =
|
28
35
|
{
|
29
36
|
data: String?,
|
@@ -51,6 +58,14 @@ module FinchAPI
|
|
51
58
|
params: top?,
|
52
59
|
route: String
|
53
60
|
) -> void
|
61
|
+
|
62
|
+
def to_hash: -> {
|
63
|
+
data: String?,
|
64
|
+
headers: top?,
|
65
|
+
method_: String,
|
66
|
+
params: top?,
|
67
|
+
route: String
|
68
|
+
}
|
54
69
|
end
|
55
70
|
end
|
56
71
|
end
|