finch-api 0.1.0.pre.alpha.18 → 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 +50 -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 -99
- 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 +57 -53
- data/lib/finch_api/models/sandbox/employment_update_params.rb +32 -28
- data/lib/finch_api/models/sandbox/employment_update_response.rb +17 -14
- 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 +9 -9
- 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 -140
- 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/directory_create_params.rbi +20 -26
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +20 -26
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +20 -26
- 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/employment.rbi +8 -5
- 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 -49
- 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 +90 -40
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +47 -20
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +39 -12
- 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/employment.rbs +2 -2
- 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
@@ -18,19 +18,19 @@ module FinchAPI
|
|
18
18
|
# @!attribute effective_date
|
19
19
|
# The date the income amount went into effect.
|
20
20
|
#
|
21
|
-
# @return [
|
22
|
-
required :effective_date,
|
21
|
+
# @return [Date, nil]
|
22
|
+
required :effective_date, Date, nil?: true
|
23
23
|
|
24
24
|
# @!attribute unit
|
25
25
|
# The income unit of payment. Options: `yearly`, `quarterly`, `monthly`,
|
26
26
|
# `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`.
|
27
27
|
#
|
28
|
-
# @return [Symbol, FinchAPI::Income::Unit, nil]
|
28
|
+
# @return [Symbol, FinchAPI::Models::Income::Unit, nil]
|
29
29
|
required :unit, enum: -> { FinchAPI::Income::Unit }, nil?: true
|
30
30
|
|
31
31
|
# @!method initialize(amount:, currency:, effective_date:, unit:)
|
32
|
-
# Some parameter documentations has been truncated, see {FinchAPI::Income}
|
33
|
-
# more details.
|
32
|
+
# Some parameter documentations has been truncated, see {FinchAPI::Models::Income}
|
33
|
+
# for more details.
|
34
34
|
#
|
35
35
|
# The employee's income as reported by the provider. This may not always be
|
36
36
|
# annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc,
|
@@ -40,14 +40,14 @@ module FinchAPI
|
|
40
40
|
#
|
41
41
|
# @param currency [String, nil] The currency code.
|
42
42
|
#
|
43
|
-
# @param effective_date [
|
43
|
+
# @param effective_date [Date, nil] The date the income amount went into effect.
|
44
44
|
#
|
45
|
-
# @param unit [Symbol, FinchAPI::Income::Unit, nil] The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, `semi_mon
|
45
|
+
# @param unit [Symbol, FinchAPI::Models::Income::Unit, nil] The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, `semi_mon
|
46
46
|
|
47
47
|
# The income unit of payment. Options: `yearly`, `quarterly`, `monthly`,
|
48
48
|
# `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`.
|
49
49
|
#
|
50
|
-
# @see FinchAPI::Income#unit
|
50
|
+
# @see FinchAPI::Models::Income#unit
|
51
51
|
module Unit
|
52
52
|
extend FinchAPI::Internal::Type::Enum
|
53
53
|
|
@@ -5,17 +5,17 @@ module FinchAPI
|
|
5
5
|
class IndividualEvent < FinchAPI::Models::BaseWebhookEvent
|
6
6
|
# @!attribute data
|
7
7
|
#
|
8
|
-
# @return [FinchAPI::IndividualEvent::Data, nil]
|
8
|
+
# @return [FinchAPI::Models::IndividualEvent::Data, nil]
|
9
9
|
optional :data, -> { FinchAPI::IndividualEvent::Data }
|
10
10
|
|
11
11
|
# @!attribute event_type
|
12
12
|
#
|
13
|
-
# @return [Symbol, FinchAPI::IndividualEvent::EventType, nil]
|
13
|
+
# @return [Symbol, FinchAPI::Models::IndividualEvent::EventType, nil]
|
14
14
|
optional :event_type, enum: -> { FinchAPI::IndividualEvent::EventType }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil, event_type: nil)
|
17
|
-
# @param data [FinchAPI::IndividualEvent::Data]
|
18
|
-
# @param event_type [Symbol, FinchAPI::IndividualEvent::EventType]
|
17
|
+
# @param data [FinchAPI::Models::IndividualEvent::Data]
|
18
|
+
# @param event_type [Symbol, FinchAPI::Models::IndividualEvent::EventType]
|
19
19
|
|
20
20
|
class Data < FinchAPI::Internal::Type::BaseModel
|
21
21
|
# @!attribute individual_id
|
@@ -21,7 +21,7 @@ module FinchAPI
|
|
21
21
|
|
22
22
|
# @!attribute authentication_methods
|
23
23
|
#
|
24
|
-
# @return [Array<FinchAPI::Introspection::AuthenticationMethod>]
|
24
|
+
# @return [Array<FinchAPI::Models::Introspection::AuthenticationMethod>]
|
25
25
|
required :authentication_methods,
|
26
26
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Introspection::AuthenticationMethod] }
|
27
27
|
|
@@ -34,7 +34,7 @@ module FinchAPI
|
|
34
34
|
# @!attribute client_type
|
35
35
|
# The type of application associated with a token.
|
36
36
|
#
|
37
|
-
# @return [Symbol, FinchAPI::Introspection::ClientType]
|
37
|
+
# @return [Symbol, FinchAPI::Models::Introspection::ClientType]
|
38
38
|
required :client_type, enum: -> { FinchAPI::Introspection::ClientType }
|
39
39
|
|
40
40
|
# @!attribute company_id
|
@@ -54,7 +54,7 @@ module FinchAPI
|
|
54
54
|
|
55
55
|
# @!attribute connection_status
|
56
56
|
#
|
57
|
-
# @return [FinchAPI::Introspection::ConnectionStatus]
|
57
|
+
# @return [FinchAPI::Models::Introspection::ConnectionStatus]
|
58
58
|
required :connection_status, -> { FinchAPI::Introspection::ConnectionStatus }
|
59
59
|
|
60
60
|
# @!attribute connection_type
|
@@ -63,7 +63,7 @@ module FinchAPI
|
|
63
63
|
# - `provider` - connection to an external provider
|
64
64
|
# - `finch` - finch-generated data.
|
65
65
|
#
|
66
|
-
# @return [Symbol, FinchAPI::Introspection::ConnectionType]
|
66
|
+
# @return [Symbol, FinchAPI::Models::Introspection::ConnectionType]
|
67
67
|
required :connection_type, enum: -> { FinchAPI::Introspection::ConnectionType }
|
68
68
|
|
69
69
|
# @!attribute customer_email
|
@@ -123,26 +123,26 @@ module FinchAPI
|
|
123
123
|
required :username, String
|
124
124
|
|
125
125
|
# @!method initialize(id:, account_id:, authentication_methods:, client_id:, client_type:, company_id:, connection_id:, connection_status:, connection_type:, customer_email:, customer_id:, customer_name:, manual:, payroll_provider_id:, products:, provider_id:, username:)
|
126
|
-
# Some parameter documentations has been truncated, see
|
127
|
-
# for more details.
|
126
|
+
# Some parameter documentations has been truncated, see
|
127
|
+
# {FinchAPI::Models::Introspection} for more details.
|
128
128
|
#
|
129
129
|
# @param id [String] The Finch UUID of the token being introspected.
|
130
130
|
#
|
131
131
|
# @param account_id [String] [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection ins
|
132
132
|
#
|
133
|
-
# @param authentication_methods [Array<FinchAPI::Introspection::AuthenticationMethod>]
|
133
|
+
# @param authentication_methods [Array<FinchAPI::Models::Introspection::AuthenticationMethod>]
|
134
134
|
#
|
135
135
|
# @param client_id [String] The client ID of the application associated with the `access_token`.
|
136
136
|
#
|
137
|
-
# @param client_type [Symbol, FinchAPI::Introspection::ClientType] The type of application associated with a token.
|
137
|
+
# @param client_type [Symbol, FinchAPI::Models::Introspection::ClientType] The type of application associated with a token.
|
138
138
|
#
|
139
139
|
# @param company_id [String] [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection ins
|
140
140
|
#
|
141
141
|
# @param connection_id [String] The Finch UUID of the connection associated with the `access_token`.
|
142
142
|
#
|
143
|
-
# @param connection_status [FinchAPI::Introspection::ConnectionStatus]
|
143
|
+
# @param connection_status [FinchAPI::Models::Introspection::ConnectionStatus]
|
144
144
|
#
|
145
|
-
# @param connection_type [Symbol, FinchAPI::Introspection::ConnectionType] The type of the connection associated with the token.
|
145
|
+
# @param connection_type [Symbol, FinchAPI::Models::Introspection::ConnectionType] The type of the connection associated with the token.
|
146
146
|
#
|
147
147
|
# @param customer_email [String, nil] The email of your customer you provided to Finch when a connect session was crea
|
148
148
|
#
|
@@ -163,7 +163,7 @@ module FinchAPI
|
|
163
163
|
class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel
|
164
164
|
# @!attribute connection_status
|
165
165
|
#
|
166
|
-
# @return [FinchAPI::Introspection::AuthenticationMethod::ConnectionStatus, nil]
|
166
|
+
# @return [FinchAPI::Models::Introspection::AuthenticationMethod::ConnectionStatus, nil]
|
167
167
|
optional :connection_status, -> { FinchAPI::Introspection::AuthenticationMethod::ConnectionStatus }
|
168
168
|
|
169
169
|
# @!attribute products
|
@@ -175,17 +175,17 @@ module FinchAPI
|
|
175
175
|
# @!attribute type
|
176
176
|
# The type of authentication method.
|
177
177
|
#
|
178
|
-
# @return [Symbol, FinchAPI::Introspection::AuthenticationMethod::Type, nil]
|
178
|
+
# @return [Symbol, FinchAPI::Models::Introspection::AuthenticationMethod::Type, nil]
|
179
179
|
optional :type, enum: -> { FinchAPI::Introspection::AuthenticationMethod::Type }
|
180
180
|
|
181
181
|
# @!method initialize(connection_status: nil, products: nil, type: nil)
|
182
|
-
# @param connection_status [FinchAPI::Introspection::AuthenticationMethod::ConnectionStatus]
|
182
|
+
# @param connection_status [FinchAPI::Models::Introspection::AuthenticationMethod::ConnectionStatus]
|
183
183
|
#
|
184
184
|
# @param products [Array<String>] An array of the authorized products associated with the `access_token`.
|
185
185
|
#
|
186
|
-
# @param type [Symbol, FinchAPI::Introspection::AuthenticationMethod::Type] The type of authentication method.
|
186
|
+
# @param type [Symbol, FinchAPI::Models::Introspection::AuthenticationMethod::Type] The type of authentication method.
|
187
187
|
|
188
|
-
# @see FinchAPI::Introspection::AuthenticationMethod#connection_status
|
188
|
+
# @see FinchAPI::Models::Introspection::AuthenticationMethod#connection_status
|
189
189
|
class ConnectionStatus < FinchAPI::Internal::Type::BaseModel
|
190
190
|
# @!attribute message
|
191
191
|
#
|
@@ -194,17 +194,17 @@ module FinchAPI
|
|
194
194
|
|
195
195
|
# @!attribute status
|
196
196
|
#
|
197
|
-
# @return [Symbol, FinchAPI::ConnectionStatusType, nil]
|
197
|
+
# @return [Symbol, FinchAPI::Models::ConnectionStatusType, nil]
|
198
198
|
optional :status, enum: -> { FinchAPI::ConnectionStatusType }
|
199
199
|
|
200
200
|
# @!method initialize(message: nil, status: nil)
|
201
201
|
# @param message [String]
|
202
|
-
# @param status [Symbol, FinchAPI::ConnectionStatusType]
|
202
|
+
# @param status [Symbol, FinchAPI::Models::ConnectionStatusType]
|
203
203
|
end
|
204
204
|
|
205
205
|
# The type of authentication method.
|
206
206
|
#
|
207
|
-
# @see FinchAPI::Introspection::AuthenticationMethod#type
|
207
|
+
# @see FinchAPI::Models::Introspection::AuthenticationMethod#type
|
208
208
|
module Type
|
209
209
|
extend FinchAPI::Internal::Type::Enum
|
210
210
|
|
@@ -221,7 +221,7 @@ module FinchAPI
|
|
221
221
|
|
222
222
|
# The type of application associated with a token.
|
223
223
|
#
|
224
|
-
# @see FinchAPI::Introspection#client_type
|
224
|
+
# @see FinchAPI::Models::Introspection#client_type
|
225
225
|
module ClientType
|
226
226
|
extend FinchAPI::Internal::Type::Enum
|
227
227
|
|
@@ -233,7 +233,7 @@ module FinchAPI
|
|
233
233
|
# @return [Array<Symbol>]
|
234
234
|
end
|
235
235
|
|
236
|
-
# @see FinchAPI::Introspection#connection_status
|
236
|
+
# @see FinchAPI::Models::Introspection#connection_status
|
237
237
|
class ConnectionStatus < FinchAPI::Internal::Type::BaseModel
|
238
238
|
# @!attribute last_successful_sync
|
239
239
|
# The datetime when the connection was last successfully synced.
|
@@ -248,7 +248,7 @@ module FinchAPI
|
|
248
248
|
|
249
249
|
# @!attribute status
|
250
250
|
#
|
251
|
-
# @return [Symbol, FinchAPI::ConnectionStatusType, nil]
|
251
|
+
# @return [Symbol, FinchAPI::Models::ConnectionStatusType, nil]
|
252
252
|
optional :status, enum: -> { FinchAPI::ConnectionStatusType }
|
253
253
|
|
254
254
|
# @!method initialize(last_successful_sync: nil, message: nil, status: nil)
|
@@ -256,7 +256,7 @@ module FinchAPI
|
|
256
256
|
#
|
257
257
|
# @param message [String]
|
258
258
|
#
|
259
|
-
# @param status [Symbol, FinchAPI::ConnectionStatusType]
|
259
|
+
# @param status [Symbol, FinchAPI::Models::ConnectionStatusType]
|
260
260
|
end
|
261
261
|
|
262
262
|
# The type of the connection associated with the token.
|
@@ -264,7 +264,7 @@ module FinchAPI
|
|
264
264
|
# - `provider` - connection to an external provider
|
265
265
|
# - `finch` - finch-generated data.
|
266
266
|
#
|
267
|
-
# @see FinchAPI::Introspection#connection_type
|
267
|
+
# @see FinchAPI::Models::Introspection#connection_type
|
268
268
|
module ConnectionType
|
269
269
|
extend FinchAPI::Internal::Type::Enum
|
270
270
|
|
@@ -5,17 +5,17 @@ module FinchAPI
|
|
5
5
|
class JobCompletionEvent < FinchAPI::Models::BaseWebhookEvent
|
6
6
|
# @!attribute data
|
7
7
|
#
|
8
|
-
# @return [FinchAPI::JobCompletionEvent::Data, nil]
|
8
|
+
# @return [FinchAPI::Models::JobCompletionEvent::Data, nil]
|
9
9
|
optional :data, -> { FinchAPI::JobCompletionEvent::Data }
|
10
10
|
|
11
11
|
# @!attribute event_type
|
12
12
|
#
|
13
|
-
# @return [Symbol, FinchAPI::JobCompletionEvent::EventType, nil]
|
13
|
+
# @return [Symbol, FinchAPI::Models::JobCompletionEvent::EventType, nil]
|
14
14
|
optional :event_type, enum: -> { FinchAPI::JobCompletionEvent::EventType }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil, event_type: nil)
|
17
|
-
# @param data [FinchAPI::JobCompletionEvent::Data]
|
18
|
-
# @param event_type [Symbol, FinchAPI::JobCompletionEvent::EventType]
|
17
|
+
# @param data [FinchAPI::Models::JobCompletionEvent::Data]
|
18
|
+
# @param event_type [Symbol, FinchAPI::Models::JobCompletionEvent::EventType]
|
19
19
|
|
20
20
|
class Data < FinchAPI::Internal::Type::BaseModel
|
21
21
|
# @!attribute job_id
|
@@ -34,7 +34,7 @@ module FinchAPI
|
|
34
34
|
# @!attribute params
|
35
35
|
# The input parameters for the job.
|
36
36
|
#
|
37
|
-
# @return [FinchAPI::Jobs::AutomatedAsyncJob::Params, nil]
|
37
|
+
# @return [FinchAPI::Models::Jobs::AutomatedAsyncJob::Params, nil]
|
38
38
|
required :params, -> { FinchAPI::Jobs::AutomatedAsyncJob::Params }, nil?: true
|
39
39
|
|
40
40
|
# @!attribute scheduled_at
|
@@ -53,18 +53,18 @@ module FinchAPI
|
|
53
53
|
|
54
54
|
# @!attribute status
|
55
55
|
#
|
56
|
-
# @return [Symbol, FinchAPI::Jobs::AutomatedAsyncJob::Status]
|
56
|
+
# @return [Symbol, FinchAPI::Models::Jobs::AutomatedAsyncJob::Status]
|
57
57
|
required :status, enum: -> { FinchAPI::Jobs::AutomatedAsyncJob::Status }
|
58
58
|
|
59
59
|
# @!attribute type
|
60
60
|
# The type of automated job
|
61
61
|
#
|
62
|
-
# @return [Symbol, FinchAPI::Jobs::AutomatedAsyncJob::Type]
|
62
|
+
# @return [Symbol, FinchAPI::Models::Jobs::AutomatedAsyncJob::Type]
|
63
63
|
required :type, enum: -> { FinchAPI::Jobs::AutomatedAsyncJob::Type }
|
64
64
|
|
65
65
|
# @!method initialize(completed_at:, created_at:, job_id:, job_url:, params:, scheduled_at:, started_at:, status:, type:)
|
66
66
|
# Some parameter documentations has been truncated, see
|
67
|
-
# {FinchAPI::Jobs::AutomatedAsyncJob} for more details.
|
67
|
+
# {FinchAPI::Models::Jobs::AutomatedAsyncJob} for more details.
|
68
68
|
#
|
69
69
|
# @param completed_at [Time, nil] The datetime the job completed.
|
70
70
|
#
|
@@ -74,17 +74,17 @@ module FinchAPI
|
|
74
74
|
#
|
75
75
|
# @param job_url [String] The url that can be used to retrieve the job status
|
76
76
|
#
|
77
|
-
# @param params [FinchAPI::Jobs::AutomatedAsyncJob::Params, nil] The input parameters for the job.
|
77
|
+
# @param params [FinchAPI::Models::Jobs::AutomatedAsyncJob::Params, nil] The input parameters for the job.
|
78
78
|
#
|
79
79
|
# @param scheduled_at [Time, nil] The datetime a job is scheduled to be run. For scheduled jobs, this datetime can
|
80
80
|
#
|
81
81
|
# @param started_at [Time, nil] The datetime a job entered into the job queue.
|
82
82
|
#
|
83
|
-
# @param status [Symbol, FinchAPI::Jobs::AutomatedAsyncJob::Status]
|
83
|
+
# @param status [Symbol, FinchAPI::Models::Jobs::AutomatedAsyncJob::Status]
|
84
84
|
#
|
85
|
-
# @param type [Symbol, FinchAPI::Jobs::AutomatedAsyncJob::Type] The type of automated job
|
85
|
+
# @param type [Symbol, FinchAPI::Models::Jobs::AutomatedAsyncJob::Type] The type of automated job
|
86
86
|
|
87
|
-
# @see FinchAPI::Jobs::AutomatedAsyncJob#params
|
87
|
+
# @see FinchAPI::Models::Jobs::AutomatedAsyncJob#params
|
88
88
|
class Params < FinchAPI::Internal::Type::BaseModel
|
89
89
|
# @!attribute individual_id
|
90
90
|
# The ID of the individual that the job was completed for.
|
@@ -98,7 +98,7 @@ module FinchAPI
|
|
98
98
|
# @param individual_id [String] The ID of the individual that the job was completed for.
|
99
99
|
end
|
100
100
|
|
101
|
-
# @see FinchAPI::Jobs::AutomatedAsyncJob#status
|
101
|
+
# @see FinchAPI::Models::Jobs::AutomatedAsyncJob#status
|
102
102
|
module Status
|
103
103
|
extend FinchAPI::Internal::Type::Enum
|
104
104
|
|
@@ -115,7 +115,7 @@ module FinchAPI
|
|
115
115
|
|
116
116
|
# The type of automated job
|
117
117
|
#
|
118
|
-
# @see FinchAPI::Jobs::AutomatedAsyncJob#type
|
118
|
+
# @see FinchAPI::Models::Jobs::AutomatedAsyncJob#type
|
119
119
|
module Type
|
120
120
|
extend FinchAPI::Internal::Type::Enum
|
121
121
|
|
@@ -11,18 +11,18 @@ module FinchAPI
|
|
11
11
|
# @!attribute type
|
12
12
|
# The type of job to start.
|
13
13
|
#
|
14
|
-
# @return [Symbol, FinchAPI::Jobs::AutomatedCreateParams::Type]
|
14
|
+
# @return [Symbol, FinchAPI::Models::Jobs::AutomatedCreateParams::Type]
|
15
15
|
required :type, enum: -> { FinchAPI::Jobs::AutomatedCreateParams::Type }
|
16
16
|
|
17
17
|
# @!attribute params
|
18
18
|
#
|
19
|
-
# @return [FinchAPI::Jobs::AutomatedCreateParams::Params]
|
19
|
+
# @return [FinchAPI::Models::Jobs::AutomatedCreateParams::Params]
|
20
20
|
required :params, -> { FinchAPI::Jobs::AutomatedCreateParams::Params }
|
21
21
|
|
22
22
|
# @!method initialize(type:, params:, request_options: {})
|
23
|
-
# @param type [Symbol, FinchAPI::Jobs::AutomatedCreateParams::Type] The type of job to start.
|
23
|
+
# @param type [Symbol, FinchAPI::Models::Jobs::AutomatedCreateParams::Type] The type of job to start.
|
24
24
|
#
|
25
|
-
# @param params [FinchAPI::Jobs::AutomatedCreateParams::Params]
|
25
|
+
# @param params [FinchAPI::Models::Jobs::AutomatedCreateParams::Params]
|
26
26
|
#
|
27
27
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
28
28
|
|
@@ -7,7 +7,7 @@ module FinchAPI
|
|
7
7
|
class AutomatedListResponse < FinchAPI::Internal::Type::BaseModel
|
8
8
|
# @!attribute data
|
9
9
|
#
|
10
|
-
# @return [Array<FinchAPI::Jobs::AutomatedAsyncJob>]
|
10
|
+
# @return [Array<FinchAPI::Models::Jobs::AutomatedAsyncJob>]
|
11
11
|
required :data, -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Jobs::AutomatedAsyncJob] }
|
12
12
|
|
13
13
|
# @!attribute meta
|
@@ -16,7 +16,7 @@ module FinchAPI
|
|
16
16
|
required :meta, -> { FinchAPI::Models::Jobs::AutomatedListResponse::Meta }
|
17
17
|
|
18
18
|
# @!method initialize(data:, meta:)
|
19
|
-
# @param data [Array<FinchAPI::Jobs::AutomatedAsyncJob>]
|
19
|
+
# @param data [Array<FinchAPI::Models::Jobs::AutomatedAsyncJob>]
|
20
20
|
# @param meta [FinchAPI::Models::Jobs::AutomatedListResponse::Meta]
|
21
21
|
|
22
22
|
# @see FinchAPI::Models::Jobs::AutomatedListResponse#meta
|
@@ -18,7 +18,7 @@ module FinchAPI
|
|
18
18
|
|
19
19
|
# @!attribute status
|
20
20
|
#
|
21
|
-
# @return [Symbol, FinchAPI::Jobs::ManualAsyncJob::Status]
|
21
|
+
# @return [Symbol, FinchAPI::Models::Jobs::ManualAsyncJob::Status]
|
22
22
|
required :status, enum: -> { FinchAPI::Jobs::ManualAsyncJob::Status }
|
23
23
|
|
24
24
|
# @!method initialize(body:, job_id:, status:)
|
@@ -26,9 +26,9 @@ module FinchAPI
|
|
26
26
|
#
|
27
27
|
# @param job_id [String]
|
28
28
|
#
|
29
|
-
# @param status [Symbol, FinchAPI::Jobs::ManualAsyncJob::Status]
|
29
|
+
# @param status [Symbol, FinchAPI::Models::Jobs::ManualAsyncJob::Status]
|
30
30
|
|
31
|
-
# @see FinchAPI::Jobs::ManualAsyncJob#status
|
31
|
+
# @see FinchAPI::Models::Jobs::ManualAsyncJob#status
|
32
32
|
module Status
|
33
33
|
extend FinchAPI::Internal::Type::Enum
|
34
34
|
|
@@ -7,14 +7,14 @@ module FinchAPI
|
|
7
7
|
# Amount for money object (in cents)
|
8
8
|
#
|
9
9
|
# @return [Integer, nil]
|
10
|
-
|
10
|
+
required :amount, Integer, nil?: true
|
11
11
|
|
12
12
|
# @!attribute currency
|
13
13
|
#
|
14
|
-
# @return [String
|
15
|
-
|
14
|
+
# @return [String]
|
15
|
+
required :currency, String
|
16
16
|
|
17
|
-
# @!method initialize(amount
|
17
|
+
# @!method initialize(amount:, currency:)
|
18
18
|
# @param amount [Integer, nil] Amount for money object (in cents)
|
19
19
|
#
|
20
20
|
# @param currency [String]
|
@@ -12,7 +12,7 @@ module FinchAPI
|
|
12
12
|
# - `client_access_only`: This behavior is supported by the provider, but only
|
13
13
|
# available to the client and not to Finch
|
14
14
|
#
|
15
|
-
# @return [Symbol, FinchAPI::OperationSupport, nil]
|
15
|
+
# @return [Symbol, FinchAPI::Models::OperationSupport, nil]
|
16
16
|
optional :create, enum: -> { FinchAPI::OperationSupport }
|
17
17
|
|
18
18
|
# @!attribute delete
|
@@ -24,7 +24,7 @@ module FinchAPI
|
|
24
24
|
# - `client_access_only`: This behavior is supported by the provider, but only
|
25
25
|
# available to the client and not to Finch
|
26
26
|
#
|
27
|
-
# @return [Symbol, FinchAPI::OperationSupport, nil]
|
27
|
+
# @return [Symbol, FinchAPI::Models::OperationSupport, nil]
|
28
28
|
optional :delete, enum: -> { FinchAPI::OperationSupport }
|
29
29
|
|
30
30
|
# @!attribute read
|
@@ -36,7 +36,7 @@ module FinchAPI
|
|
36
36
|
# - `client_access_only`: This behavior is supported by the provider, but only
|
37
37
|
# available to the client and not to Finch
|
38
38
|
#
|
39
|
-
# @return [Symbol, FinchAPI::OperationSupport, nil]
|
39
|
+
# @return [Symbol, FinchAPI::Models::OperationSupport, nil]
|
40
40
|
optional :read, enum: -> { FinchAPI::OperationSupport }
|
41
41
|
|
42
42
|
# @!attribute update
|
@@ -48,20 +48,20 @@ module FinchAPI
|
|
48
48
|
# - `client_access_only`: This behavior is supported by the provider, but only
|
49
49
|
# available to the client and not to Finch
|
50
50
|
#
|
51
|
-
# @return [Symbol, FinchAPI::OperationSupport, nil]
|
51
|
+
# @return [Symbol, FinchAPI::Models::OperationSupport, nil]
|
52
52
|
optional :update, enum: -> { FinchAPI::OperationSupport }
|
53
53
|
|
54
54
|
# @!method initialize(create: nil, delete: nil, read: nil, update: nil)
|
55
55
|
# Some parameter documentations has been truncated, see
|
56
|
-
# {FinchAPI::OperationSupportMatrix} for more details.
|
56
|
+
# {FinchAPI::Models::OperationSupportMatrix} for more details.
|
57
57
|
#
|
58
|
-
# @param create [Symbol, FinchAPI::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
58
|
+
# @param create [Symbol, FinchAPI::Models::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
59
59
|
#
|
60
|
-
# @param delete [Symbol, FinchAPI::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
60
|
+
# @param delete [Symbol, FinchAPI::Models::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
61
61
|
#
|
62
|
-
# @param read [Symbol, FinchAPI::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
62
|
+
# @param read [Symbol, FinchAPI::Models::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
63
63
|
#
|
64
|
-
# @param update [Symbol, FinchAPI::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
64
|
+
# @param update [Symbol, FinchAPI::Models::OperationSupport] - `supported`: This operation is supported by both the provider and Finch
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
@@ -5,17 +5,17 @@ module FinchAPI
|
|
5
5
|
class PayStatementEvent < FinchAPI::Models::BaseWebhookEvent
|
6
6
|
# @!attribute data
|
7
7
|
#
|
8
|
-
# @return [FinchAPI::PayStatementEvent::Data, nil]
|
8
|
+
# @return [FinchAPI::Models::PayStatementEvent::Data, nil]
|
9
9
|
optional :data, -> { FinchAPI::PayStatementEvent::Data }
|
10
10
|
|
11
11
|
# @!attribute event_type
|
12
12
|
#
|
13
|
-
# @return [Symbol, FinchAPI::PayStatementEvent::EventType, nil]
|
13
|
+
# @return [Symbol, FinchAPI::Models::PayStatementEvent::EventType, nil]
|
14
14
|
optional :event_type, enum: -> { FinchAPI::PayStatementEvent::EventType }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil, event_type: nil)
|
17
|
-
# @param data [FinchAPI::PayStatementEvent::Data]
|
18
|
-
# @param event_type [Symbol, FinchAPI::PayStatementEvent::EventType]
|
17
|
+
# @param data [FinchAPI::Models::PayStatementEvent::Data]
|
18
|
+
# @param event_type [Symbol, FinchAPI::Models::PayStatementEvent::EventType]
|
19
19
|
|
20
20
|
class Data < FinchAPI::Internal::Type::BaseModel
|
21
21
|
# @!attribute individual_id
|
@@ -5,17 +5,17 @@ module FinchAPI
|
|
5
5
|
class PaymentEvent < FinchAPI::Models::BaseWebhookEvent
|
6
6
|
# @!attribute data
|
7
7
|
#
|
8
|
-
# @return [FinchAPI::PaymentEvent::Data, nil]
|
8
|
+
# @return [FinchAPI::Models::PaymentEvent::Data, nil]
|
9
9
|
optional :data, -> { FinchAPI::PaymentEvent::Data }
|
10
10
|
|
11
11
|
# @!attribute event_type
|
12
12
|
#
|
13
|
-
# @return [Symbol, FinchAPI::PaymentEvent::EventType, nil]
|
13
|
+
# @return [Symbol, FinchAPI::Models::PaymentEvent::EventType, nil]
|
14
14
|
optional :event_type, enum: -> { FinchAPI::PaymentEvent::EventType }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil, event_type: nil)
|
17
|
-
# @param data [FinchAPI::PaymentEvent::Data]
|
18
|
-
# @param event_type [Symbol, FinchAPI::PaymentEvent::EventType]
|
17
|
+
# @param data [FinchAPI::Models::PaymentEvent::Data]
|
18
|
+
# @param event_type [Symbol, FinchAPI::Models::PaymentEvent::EventType]
|
19
19
|
|
20
20
|
class Data < FinchAPI::Internal::Type::BaseModel
|
21
21
|
# @!attribute pay_date
|
@@ -8,23 +8,23 @@ module FinchAPI
|
|
8
8
|
# @!attribute id
|
9
9
|
# Finch id (uuidv4) for the pay group
|
10
10
|
#
|
11
|
-
# @return [String
|
12
|
-
|
11
|
+
# @return [String]
|
12
|
+
required :id, String
|
13
13
|
|
14
14
|
# @!attribute name
|
15
15
|
# Name of the pay group
|
16
16
|
#
|
17
|
-
# @return [String
|
18
|
-
|
17
|
+
# @return [String]
|
18
|
+
required :name, String
|
19
19
|
|
20
20
|
# @!attribute pay_frequencies
|
21
21
|
# List of pay frequencies associated with this pay group
|
22
22
|
#
|
23
|
-
# @return [Array<Symbol, FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency
|
24
|
-
|
23
|
+
# @return [Array<Symbol, FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency>]
|
24
|
+
required :pay_frequencies,
|
25
25
|
-> { FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency] }
|
26
26
|
|
27
|
-
# @!method initialize(id
|
27
|
+
# @!method initialize(id:, name:, pay_frequencies:)
|
28
28
|
# @param id [String] Finch id (uuidv4) for the pay group
|
29
29
|
#
|
30
30
|
# @param name [String] Name of the pay group
|
@@ -35,14 +35,14 @@ module FinchAPI
|
|
35
35
|
extend FinchAPI::Internal::Type::Enum
|
36
36
|
|
37
37
|
ANNUALLY = :annually
|
38
|
-
SEMI_ANNUALLY = :semi_annually
|
39
|
-
QUARTERLY = :quarterly
|
40
|
-
MONTHLY = :monthly
|
41
|
-
SEMI_MONTHLY = :semi_monthly
|
42
38
|
BI_WEEKLY = :bi_weekly
|
43
|
-
WEEKLY = :weekly
|
44
39
|
DAILY = :daily
|
40
|
+
MONTHLY = :monthly
|
45
41
|
OTHER = :other
|
42
|
+
QUARTERLY = :quarterly
|
43
|
+
SEMI_ANNUALLY = :semi_annually
|
44
|
+
SEMI_MONTHLY = :semi_monthly
|
45
|
+
WEEKLY = :weekly
|
46
46
|
|
47
47
|
# @!method self.values
|
48
48
|
# @return [Array<Symbol>]
|
@@ -42,14 +42,14 @@ module FinchAPI
|
|
42
42
|
extend FinchAPI::Internal::Type::Enum
|
43
43
|
|
44
44
|
ANNUALLY = :annually
|
45
|
-
SEMI_ANNUALLY = :semi_annually
|
46
|
-
QUARTERLY = :quarterly
|
47
|
-
MONTHLY = :monthly
|
48
|
-
SEMI_MONTHLY = :semi_monthly
|
49
45
|
BI_WEEKLY = :bi_weekly
|
50
|
-
WEEKLY = :weekly
|
51
46
|
DAILY = :daily
|
47
|
+
MONTHLY = :monthly
|
52
48
|
OTHER = :other
|
49
|
+
QUARTERLY = :quarterly
|
50
|
+
SEMI_ANNUALLY = :semi_annually
|
51
|
+
SEMI_MONTHLY = :semi_monthly
|
52
|
+
WEEKLY = :weekly
|
53
53
|
|
54
54
|
# @!method self.values
|
55
55
|
# @return [Array<Symbol>]
|