finch-api 0.1.0.pre.alpha.1
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 +7 -0
- data/README.md +124 -0
- data/lib/finch-api/base_client.rb +464 -0
- data/lib/finch-api/base_model.rb +1188 -0
- data/lib/finch-api/base_page.rb +40 -0
- data/lib/finch-api/client.rb +145 -0
- data/lib/finch-api/errors.rb +188 -0
- data/lib/finch-api/extern.rb +10 -0
- data/lib/finch-api/individuals_page.rb +98 -0
- data/lib/finch-api/models/access_token_create_params.rb +54 -0
- data/lib/finch-api/models/account_disconnect_params.rb +18 -0
- data/lib/finch-api/models/account_introspect_params.rb +18 -0
- data/lib/finch-api/models/account_update_event.rb +1978 -0
- data/lib/finch-api/models/base_webhook_event.rb +41 -0
- data/lib/finch-api/models/company_event.rb +49 -0
- data/lib/finch-api/models/connect/session_new_params.rb +203 -0
- data/lib/finch-api/models/connect/session_new_response.rb +29 -0
- data/lib/finch-api/models/connect/session_reauthenticate_params.rb +90 -0
- data/lib/finch-api/models/connect/session_reauthenticate_response.rb +29 -0
- data/lib/finch-api/models/connection_status_type.rb +40 -0
- data/lib/finch-api/models/create_access_token_response.rb +163 -0
- data/lib/finch-api/models/directory_event.rb +78 -0
- data/lib/finch-api/models/disconnect_response.rb +20 -0
- data/lib/finch-api/models/employment_event.rb +78 -0
- data/lib/finch-api/models/hris/benefit_contribution.rb +54 -0
- data/lib/finch-api/models/hris/benefit_create_params.rb +46 -0
- data/lib/finch-api/models/hris/benefit_features_and_operations.rb +199 -0
- data/lib/finch-api/models/hris/benefit_frequency.rb +33 -0
- data/lib/finch-api/models/hris/benefit_list_params.rb +20 -0
- data/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rb +20 -0
- data/lib/finch-api/models/hris/benefit_retrieve_params.rb +20 -0
- data/lib/finch-api/models/hris/benefit_type.rb +57 -0
- data/lib/finch-api/models/hris/benefit_update_params.rb +31 -0
- data/lib/finch-api/models/hris/benefits/enrolled_individual.rb +108 -0
- data/lib/finch-api/models/hris/benefits/individual_benefit.rb +127 -0
- data/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb +268 -0
- data/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rb +22 -0
- data/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rb +29 -0
- data/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +34 -0
- data/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rb +33 -0
- data/lib/finch-api/models/hris/benefits/unenrolled_individual.rb +77 -0
- data/lib/finch-api/models/hris/benefits_support.rb +106 -0
- data/lib/finch-api/models/hris/benfit_contribution.rb +9 -0
- data/lib/finch-api/models/hris/company.rb +290 -0
- data/lib/finch-api/models/hris/company_benefit.rb +40 -0
- data/lib/finch-api/models/hris/company_retrieve_params.rb +20 -0
- data/lib/finch-api/models/hris/create_company_benefits_response.rb +21 -0
- data/lib/finch-api/models/hris/directory_list_individuals_params.rb +42 -0
- data/lib/finch-api/models/hris/directory_list_params.rb +42 -0
- data/lib/finch-api/models/hris/document_list_params.rb +89 -0
- data/lib/finch-api/models/hris/document_list_response.rb +27 -0
- data/lib/finch-api/models/hris/document_response.rb +89 -0
- data/lib/finch-api/models/hris/document_retreive_params.rb +20 -0
- data/lib/finch-api/models/hris/document_retreive_response.rb +41 -0
- data/lib/finch-api/models/hris/employment_data.rb +380 -0
- data/lib/finch-api/models/hris/employment_data_response.rb +45 -0
- data/lib/finch-api/models/hris/employment_retrieve_many_params.rb +45 -0
- data/lib/finch-api/models/hris/individual.rb +290 -0
- data/lib/finch-api/models/hris/individual_in_directory.rb +117 -0
- data/lib/finch-api/models/hris/individual_response.rb +45 -0
- data/lib/finch-api/models/hris/individual_retrieve_many_params.rb +73 -0
- data/lib/finch-api/models/hris/pay_statement.rb +587 -0
- data/lib/finch-api/models/hris/pay_statement_response.rb +45 -0
- data/lib/finch-api/models/hris/pay_statement_response_body.rb +36 -0
- data/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rb +65 -0
- data/lib/finch-api/models/hris/payment.rb +174 -0
- data/lib/finch-api/models/hris/payment_list_params.rb +36 -0
- data/lib/finch-api/models/hris/support_per_benefit_type.rb +35 -0
- data/lib/finch-api/models/hris/supported_benefit.rb +166 -0
- data/lib/finch-api/models/hris/update_company_benefit_response.rb +21 -0
- data/lib/finch-api/models/hris/w42005.rb +188 -0
- data/lib/finch-api/models/hris/w42020.rb +180 -0
- data/lib/finch-api/models/income.rb +87 -0
- data/lib/finch-api/models/individual_event.rb +78 -0
- data/lib/finch-api/models/introspection.rb +342 -0
- data/lib/finch-api/models/job_completion_event.rb +90 -0
- data/lib/finch-api/models/jobs/automated_async_job.rb +162 -0
- data/lib/finch-api/models/jobs/automated_create_params.rb +70 -0
- data/lib/finch-api/models/jobs/automated_create_response.rb +43 -0
- data/lib/finch-api/models/jobs/automated_list_params.rb +42 -0
- data/lib/finch-api/models/jobs/automated_retrieve_params.rb +20 -0
- data/lib/finch-api/models/jobs/manual_async_job.rb +63 -0
- data/lib/finch-api/models/jobs/manual_retrieve_params.rb +20 -0
- data/lib/finch-api/models/location.rb +79 -0
- data/lib/finch-api/models/money.rb +30 -0
- data/lib/finch-api/models/operation_support.rb +42 -0
- data/lib/finch-api/models/operation_support_matrix.rb +81 -0
- data/lib/finch-api/models/paging.rb +35 -0
- data/lib/finch-api/models/pay_statement_event.rb +89 -0
- data/lib/finch-api/models/payment_event.rb +81 -0
- data/lib/finch-api/models/payroll/pay_group_list_params.rb +40 -0
- data/lib/finch-api/models/payroll/pay_group_list_response.rb +87 -0
- data/lib/finch-api/models/payroll/pay_group_retrieve_params.rb +20 -0
- data/lib/finch-api/models/payroll/pay_group_retrieve_response.rb +81 -0
- data/lib/finch-api/models/provider.rb +2039 -0
- data/lib/finch-api/models/provider_list_params.rb +18 -0
- data/lib/finch-api/models/request_forwarding_forward_params.rb +60 -0
- data/lib/finch-api/models/request_forwarding_forward_response.rb +97 -0
- data/lib/finch-api/models/sandbox/company_update_params.rb +294 -0
- data/lib/finch-api/models/sandbox/company_update_response.rb +276 -0
- data/lib/finch-api/models/sandbox/connection_create_params.rb +90 -0
- data/lib/finch-api/models/sandbox/connection_create_response.rb +113 -0
- data/lib/finch-api/models/sandbox/connections/account_create_params.rb +87 -0
- data/lib/finch-api/models/sandbox/connections/account_create_response.rb +93 -0
- data/lib/finch-api/models/sandbox/connections/account_update_params.rb +32 -0
- data/lib/finch-api/models/sandbox/connections/account_update_response.rb +91 -0
- data/lib/finch-api/models/sandbox/directory_create_params.rb +642 -0
- data/lib/finch-api/models/sandbox/directory_create_response.rb +9 -0
- data/lib/finch-api/models/sandbox/employment_update_params.rb +372 -0
- data/lib/finch-api/models/sandbox/employment_update_response.rb +378 -0
- data/lib/finch-api/models/sandbox/individual_update_params.rb +292 -0
- data/lib/finch-api/models/sandbox/individual_update_response.rb +300 -0
- data/lib/finch-api/models/sandbox/job_create_params.rb +49 -0
- data/lib/finch-api/models/sandbox/job_create_response.rb +43 -0
- data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rb +22 -0
- data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rb +11 -0
- data/lib/finch-api/models/sandbox/jobs/configuration_update_params.rb +22 -0
- data/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rb +79 -0
- data/lib/finch-api/models/sandbox/payment_create_params.rb +646 -0
- data/lib/finch-api/models/sandbox/payment_create_response.rb +29 -0
- data/lib/finch-api/models/webhook_event.rb +48 -0
- data/lib/finch-api/page.rb +98 -0
- data/lib/finch-api/pooled_net_requester.rb +175 -0
- data/lib/finch-api/request_options.rb +115 -0
- data/lib/finch-api/resources/access_tokens.rb +40 -0
- data/lib/finch-api/resources/account.rb +47 -0
- data/lib/finch-api/resources/connect/sessions.rb +81 -0
- data/lib/finch-api/resources/connect.rb +17 -0
- data/lib/finch-api/resources/hris/benefits/individuals.rb +112 -0
- data/lib/finch-api/resources/hris/benefits.rb +125 -0
- data/lib/finch-api/resources/hris/company.rb +32 -0
- data/lib/finch-api/resources/hris/directory.rb +65 -0
- data/lib/finch-api/resources/hris/documents.rb +65 -0
- data/lib/finch-api/resources/hris/employments.rb +37 -0
- data/lib/finch-api/resources/hris/individuals.rb +39 -0
- data/lib/finch-api/resources/hris/pay_statements.rb +40 -0
- data/lib/finch-api/resources/hris/payments.rb +41 -0
- data/lib/finch-api/resources/hris.rb +45 -0
- data/lib/finch-api/resources/jobs/automated.rb +96 -0
- data/lib/finch-api/resources/jobs/manual.rb +35 -0
- data/lib/finch-api/resources/jobs.rb +21 -0
- data/lib/finch-api/resources/payroll/pay_groups.rb +58 -0
- data/lib/finch-api/resources/payroll.rb +17 -0
- data/lib/finch-api/resources/providers.rb +31 -0
- data/lib/finch-api/resources/request_forwarding.rb +52 -0
- data/lib/finch-api/resources/sandbox/company.rb +50 -0
- data/lib/finch-api/resources/sandbox/connections/accounts.rb +67 -0
- data/lib/finch-api/resources/sandbox/connections.rb +48 -0
- data/lib/finch-api/resources/sandbox/directory.rb +37 -0
- data/lib/finch-api/resources/sandbox/employment.rb +76 -0
- data/lib/finch-api/resources/sandbox/individual.rb +65 -0
- data/lib/finch-api/resources/sandbox/jobs/configuration.rb +57 -0
- data/lib/finch-api/resources/sandbox/jobs.rb +40 -0
- data/lib/finch-api/resources/sandbox/payment.rb +40 -0
- data/lib/finch-api/resources/sandbox.rb +41 -0
- data/lib/finch-api/resources/webhooks.rb +13 -0
- data/lib/finch-api/responses_page.rb +84 -0
- data/lib/finch-api/single_page.rb +82 -0
- data/lib/finch-api/util.rb +636 -0
- data/lib/finch-api/version.rb +5 -0
- data/lib/finch-api.rb +178 -0
- data/manifest.yaml +13 -0
- data/rbi/lib/finch-api/base_client.rbi +173 -0
- data/rbi/lib/finch-api/base_model.rbi +476 -0
- data/rbi/lib/finch-api/base_page.rbi +39 -0
- data/rbi/lib/finch-api/client.rbi +102 -0
- data/rbi/lib/finch-api/errors.rbi +146 -0
- data/rbi/lib/finch-api/extern.rbi +7 -0
- data/rbi/lib/finch-api/individuals_page.rbi +37 -0
- data/rbi/lib/finch-api/models/access_token_create_params.rbi +70 -0
- data/rbi/lib/finch-api/models/account_disconnect_params.rbi +18 -0
- data/rbi/lib/finch-api/models/account_introspect_params.rbi +18 -0
- data/rbi/lib/finch-api/models/account_update_event.rbi +2479 -0
- data/rbi/lib/finch-api/models/base_webhook_event.rbi +39 -0
- data/rbi/lib/finch-api/models/company_event.rbi +43 -0
- data/rbi/lib/finch-api/models/connect/session_new_params.rbi +203 -0
- data/rbi/lib/finch-api/models/connect/session_new_response.rbi +33 -0
- data/rbi/lib/finch-api/models/connect/session_reauthenticate_params.rbi +95 -0
- data/rbi/lib/finch-api/models/connect/session_reauthenticate_response.rbi +33 -0
- data/rbi/lib/finch-api/models/connection_status_type.rbi +20 -0
- data/rbi/lib/finch-api/models/create_access_token_response.rbi +159 -0
- data/rbi/lib/finch-api/models/directory_event.rbi +61 -0
- data/rbi/lib/finch-api/models/disconnect_response.rbi +23 -0
- data/rbi/lib/finch-api/models/employment_event.rbi +61 -0
- data/rbi/lib/finch-api/models/hris/benefit_contribution.rbi +44 -0
- data/rbi/lib/finch-api/models/hris/benefit_create_params.rbi +62 -0
- data/rbi/lib/finch-api/models/hris/benefit_features_and_operations.rbi +190 -0
- data/rbi/lib/finch-api/models/hris/benefit_frequency.rbi +19 -0
- data/rbi/lib/finch-api/models/hris/benefit_list_params.rbi +20 -0
- data/rbi/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rbi +20 -0
- data/rbi/lib/finch-api/models/hris/benefit_retrieve_params.rbi +20 -0
- data/rbi/lib/finch-api/models/hris/benefit_type.rbi +35 -0
- data/rbi/lib/finch-api/models/hris/benefit_update_params.rbi +37 -0
- data/rbi/lib/finch-api/models/hris/benefits/enrolled_individual.rbi +115 -0
- data/rbi/lib/finch-api/models/hris/benefits/individual_benefit.rbi +153 -0
- data/rbi/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rbi +281 -0
- data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbi +22 -0
- data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbi +35 -0
- data/rbi/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +36 -0
- data/rbi/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rbi +38 -0
- data/rbi/lib/finch-api/models/hris/benefits/unenrolled_individual.rbi +102 -0
- data/rbi/lib/finch-api/models/hris/benefits_support.rbi +196 -0
- data/rbi/lib/finch-api/models/hris/benfit_contribution.rbi +9 -0
- data/rbi/lib/finch-api/models/hris/company.rbi +338 -0
- data/rbi/lib/finch-api/models/hris/company_benefit.rbi +67 -0
- data/rbi/lib/finch-api/models/hris/company_retrieve_params.rbi +20 -0
- data/rbi/lib/finch-api/models/hris/create_company_benefits_response.rbi +25 -0
- data/rbi/lib/finch-api/models/hris/directory_list_individuals_params.rbi +43 -0
- data/rbi/lib/finch-api/models/hris/directory_list_params.rbi +43 -0
- data/rbi/lib/finch-api/models/hris/document_list_params.rbi +83 -0
- data/rbi/lib/finch-api/models/hris/document_list_response.rbi +42 -0
- data/rbi/lib/finch-api/models/hris/document_response.rbi +86 -0
- data/rbi/lib/finch-api/models/hris/document_retreive_params.rbi +20 -0
- data/rbi/lib/finch-api/models/hris/document_retreive_response.rbi +15 -0
- data/rbi/lib/finch-api/models/hris/employment_data.rbi +393 -0
- data/rbi/lib/finch-api/models/hris/employment_data_response.rbi +41 -0
- data/rbi/lib/finch-api/models/hris/employment_retrieve_many_params.rbi +63 -0
- data/rbi/lib/finch-api/models/hris/individual.rbi +281 -0
- data/rbi/lib/finch-api/models/hris/individual_in_directory.rbi +147 -0
- data/rbi/lib/finch-api/models/hris/individual_response.rbi +41 -0
- data/rbi/lib/finch-api/models/hris/individual_retrieve_many_params.rbi +94 -0
- data/rbi/lib/finch-api/models/hris/pay_statement.rbi +691 -0
- data/rbi/lib/finch-api/models/hris/pay_statement_response.rbi +47 -0
- data/rbi/lib/finch-api/models/hris/pay_statement_response_body.rbi +44 -0
- data/rbi/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rbi +79 -0
- data/rbi/lib/finch-api/models/hris/payment.rbi +207 -0
- data/rbi/lib/finch-api/models/hris/payment_list_params.rbi +45 -0
- data/rbi/lib/finch-api/models/hris/support_per_benefit_type.rbi +47 -0
- data/rbi/lib/finch-api/models/hris/supported_benefit.rbi +155 -0
- data/rbi/lib/finch-api/models/hris/update_company_benefit_response.rbi +25 -0
- data/rbi/lib/finch-api/models/hris/w42005.rbi +150 -0
- data/rbi/lib/finch-api/models/hris/w42020.rbi +177 -0
- data/rbi/lib/finch-api/models/income.rbi +83 -0
- data/rbi/lib/finch-api/models/individual_event.rbi +61 -0
- data/rbi/lib/finch-api/models/introspection.rbi +350 -0
- data/rbi/lib/finch-api/models/job_completion_event.rbi +72 -0
- data/rbi/lib/finch-api/models/jobs/automated_async_job.rbi +174 -0
- data/rbi/lib/finch-api/models/jobs/automated_create_params.rbi +83 -0
- data/rbi/lib/finch-api/models/jobs/automated_create_response.rbi +64 -0
- data/rbi/lib/finch-api/models/jobs/automated_list_params.rbi +43 -0
- data/rbi/lib/finch-api/models/jobs/automated_retrieve_params.rbi +20 -0
- data/rbi/lib/finch-api/models/jobs/manual_async_job.rbi +54 -0
- data/rbi/lib/finch-api/models/jobs/manual_retrieve_params.rbi +20 -0
- data/rbi/lib/finch-api/models/location.rbi +114 -0
- data/rbi/lib/finch-api/models/money.rbi +31 -0
- data/rbi/lib/finch-api/models/operation_support.rbi +18 -0
- data/rbi/lib/finch-api/models/operation_support_matrix.rbi +47 -0
- data/rbi/lib/finch-api/models/paging.rbi +31 -0
- data/rbi/lib/finch-api/models/pay_statement_event.rbi +69 -0
- data/rbi/lib/finch-api/models/payment_event.rbi +69 -0
- data/rbi/lib/finch-api/models/payroll/pay_group_list_params.rbi +52 -0
- data/rbi/lib/finch-api/models/payroll/pay_group_list_response.rbi +59 -0
- data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_params.rbi +20 -0
- data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_response.rbi +82 -0
- data/rbi/lib/finch-api/models/provider.rbi +2369 -0
- data/rbi/lib/finch-api/models/provider_list_params.rbi +18 -0
- data/rbi/lib/finch-api/models/request_forwarding_forward_params.rbi +80 -0
- data/rbi/lib/finch-api/models/request_forwarding_forward_response.rbi +138 -0
- data/rbi/lib/finch-api/models/sandbox/company_update_params.rbi +336 -0
- data/rbi/lib/finch-api/models/sandbox/company_update_response.rbi +330 -0
- data/rbi/lib/finch-api/models/sandbox/connection_create_params.rbi +91 -0
- data/rbi/lib/finch-api/models/sandbox/connection_create_response.rbi +129 -0
- data/rbi/lib/finch-api/models/sandbox/connections/account_create_params.rbi +93 -0
- data/rbi/lib/finch-api/models/sandbox/connections/account_create_response.rbi +120 -0
- data/rbi/lib/finch-api/models/sandbox/connections/account_update_params.rbi +36 -0
- data/rbi/lib/finch-api/models/sandbox/connections/account_update_response.rbi +109 -0
- data/rbi/lib/finch-api/models/sandbox/directory_create_params.rbi +629 -0
- data/rbi/lib/finch-api/models/sandbox/directory_create_response.rbi +9 -0
- data/rbi/lib/finch-api/models/sandbox/employment_update_params.rbi +377 -0
- data/rbi/lib/finch-api/models/sandbox/employment_update_response.rbi +382 -0
- data/rbi/lib/finch-api/models/sandbox/individual_update_params.rbi +276 -0
- data/rbi/lib/finch-api/models/sandbox/individual_update_response.rbi +283 -0
- data/rbi/lib/finch-api/models/sandbox/job_create_params.rbi +46 -0
- data/rbi/lib/finch-api/models/sandbox/job_create_response.rbi +64 -0
- data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbi +22 -0
- data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbi +11 -0
- data/rbi/lib/finch-api/models/sandbox/jobs/configuration_update_params.rbi +22 -0
- data/rbi/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbi +58 -0
- data/rbi/lib/finch-api/models/sandbox/payment_create_params.rbi +876 -0
- data/rbi/lib/finch-api/models/sandbox/payment_create_response.rbi +33 -0
- data/rbi/lib/finch-api/models/webhook_event.rbi +18 -0
- data/rbi/lib/finch-api/page.rbi +37 -0
- data/rbi/lib/finch-api/pooled_net_requester.rbi +36 -0
- data/rbi/lib/finch-api/request_options.rbi +84 -0
- data/rbi/lib/finch-api/resources/access_tokens.rbi +24 -0
- data/rbi/lib/finch-api/resources/account.rbi +25 -0
- data/rbi/lib/finch-api/resources/connect/sessions.rbi +61 -0
- data/rbi/lib/finch-api/resources/connect.rbi +15 -0
- data/rbi/lib/finch-api/resources/hris/benefits/individuals.rbi +58 -0
- data/rbi/lib/finch-api/resources/hris/benefits.rbi +64 -0
- data/rbi/lib/finch-api/resources/hris/company.rbi +20 -0
- data/rbi/lib/finch-api/resources/hris/directory.rbi +35 -0
- data/rbi/lib/finch-api/resources/hris/documents.rbi +36 -0
- data/rbi/lib/finch-api/resources/hris/employments.rbi +23 -0
- data/rbi/lib/finch-api/resources/hris/individuals.rbi +24 -0
- data/rbi/lib/finch-api/resources/hris/pay_statements.rbi +23 -0
- data/rbi/lib/finch-api/resources/hris/payments.rbi +24 -0
- data/rbi/lib/finch-api/resources/hris.rbi +43 -0
- data/rbi/lib/finch-api/resources/jobs/automated.rbi +45 -0
- data/rbi/lib/finch-api/resources/jobs/manual.rbi +23 -0
- data/rbi/lib/finch-api/resources/jobs.rbi +19 -0
- data/rbi/lib/finch-api/resources/payroll/pay_groups.rbi +34 -0
- data/rbi/lib/finch-api/resources/payroll.rbi +15 -0
- data/rbi/lib/finch-api/resources/providers.rbi +18 -0
- data/rbi/lib/finch-api/resources/request_forwarding.rbi +25 -0
- data/rbi/lib/finch-api/resources/sandbox/company.rbi +40 -0
- data/rbi/lib/finch-api/resources/sandbox/connections/accounts.rbi +38 -0
- data/rbi/lib/finch-api/resources/sandbox/connections.rbi +36 -0
- data/rbi/lib/finch-api/resources/sandbox/directory.rbi +23 -0
- data/rbi/lib/finch-api/resources/sandbox/employment.rbi +62 -0
- data/rbi/lib/finch-api/resources/sandbox/individual.rbi +50 -0
- data/rbi/lib/finch-api/resources/sandbox/jobs/configuration.rbi +33 -0
- data/rbi/lib/finch-api/resources/sandbox/jobs.rbi +27 -0
- data/rbi/lib/finch-api/resources/sandbox/payment.rbi +25 -0
- data/rbi/lib/finch-api/resources/sandbox.rbi +39 -0
- data/rbi/lib/finch-api/resources/webhooks.rbi +11 -0
- data/rbi/lib/finch-api/responses_page.rbi +29 -0
- data/rbi/lib/finch-api/single_page.rbi +33 -0
- data/rbi/lib/finch-api/util.rbi +167 -0
- data/rbi/lib/finch-api/version.rbi +5 -0
- data/sig/finch-api/base_client.rbs +101 -0
- data/sig/finch-api/base_model.rbs +242 -0
- data/sig/finch-api/base_page.rbs +20 -0
- data/sig/finch-api/client.rbs +54 -0
- data/sig/finch-api/errors.rbs +99 -0
- data/sig/finch-api/extern.rbs +4 -0
- data/sig/finch-api/individuals_page.rbs +16 -0
- data/sig/finch-api/models/access_token_create_params.rbs +46 -0
- data/sig/finch-api/models/account_disconnect_params.rbs +19 -0
- data/sig/finch-api/models/account_introspect_params.rbs +19 -0
- data/sig/finch-api/models/account_update_event.rbs +1448 -0
- data/sig/finch-api/models/base_webhook_event.rbs +24 -0
- data/sig/finch-api/models/company_event.rbs +36 -0
- data/sig/finch-api/models/connect/session_new_params.rbs +129 -0
- data/sig/finch-api/models/connect/session_new_response.rbs +22 -0
- data/sig/finch-api/models/connect/session_reauthenticate_params.rbs +65 -0
- data/sig/finch-api/models/connect/session_reauthenticate_response.rbs +23 -0
- data/sig/finch-api/models/connection_status_type.rbs +22 -0
- data/sig/finch-api/models/create_access_token_response.rbs +80 -0
- data/sig/finch-api/models/directory_event.rbs +61 -0
- data/sig/finch-api/models/disconnect_response.rbs +17 -0
- data/sig/finch-api/models/employment_event.rbs +61 -0
- data/sig/finch-api/models/hris/benefit_contribution.rbs +38 -0
- data/sig/finch-api/models/hris/benefit_create_params.rbs +40 -0
- data/sig/finch-api/models/hris/benefit_features_and_operations.rbs +112 -0
- data/sig/finch-api/models/hris/benefit_frequency.rbs +15 -0
- data/sig/finch-api/models/hris/benefit_list_params.rbs +21 -0
- data/sig/finch-api/models/hris/benefit_list_supported_benefits_params.rbs +22 -0
- data/sig/finch-api/models/hris/benefit_retrieve_params.rbs +21 -0
- data/sig/finch-api/models/hris/benefit_type.rbs +50 -0
- data/sig/finch-api/models/hris/benefit_update_params.rbs +26 -0
- data/sig/finch-api/models/hris/benefits/enrolled_individual.rbs +75 -0
- data/sig/finch-api/models/hris/benefits/individual_benefit.rbs +91 -0
- data/sig/finch-api/models/hris/benefits/individual_enroll_many_params.rbs +203 -0
- data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbs +24 -0
- data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbs +25 -0
- data/sig/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +31 -0
- data/sig/finch-api/models/hris/benefits/individual_unenroll_many_params.rbs +31 -0
- data/sig/finch-api/models/hris/benefits/unenrolled_individual.rbs +62 -0
- data/sig/finch-api/models/hris/benefits_support.rbs +68 -0
- data/sig/finch-api/models/hris/benfit_contribution.rbs +8 -0
- data/sig/finch-api/models/hris/company.rbs +195 -0
- data/sig/finch-api/models/hris/company_benefit.rbs +36 -0
- data/sig/finch-api/models/hris/company_retrieve_params.rbs +21 -0
- data/sig/finch-api/models/hris/create_company_benefits_response.rbs +20 -0
- data/sig/finch-api/models/hris/directory_list_individuals_params.rbs +34 -0
- data/sig/finch-api/models/hris/directory_list_params.rbs +34 -0
- data/sig/finch-api/models/hris/document_list_params.rbs +61 -0
- data/sig/finch-api/models/hris/document_list_response.rbs +29 -0
- data/sig/finch-api/models/hris/document_response.rbs +58 -0
- data/sig/finch-api/models/hris/document_retreive_params.rbs +21 -0
- data/sig/finch-api/models/hris/document_retreive_response.rbs +12 -0
- data/sig/finch-api/models/hris/employment_data.rbs +228 -0
- data/sig/finch-api/models/hris/employment_data_response.rbs +41 -0
- data/sig/finch-api/models/hris/employment_retrieve_many_params.rbs +45 -0
- data/sig/finch-api/models/hris/individual.rbs +176 -0
- data/sig/finch-api/models/hris/individual_in_directory.rbs +83 -0
- data/sig/finch-api/models/hris/individual_response.rbs +41 -0
- data/sig/finch-api/models/hris/individual_retrieve_many_params.rbs +72 -0
- data/sig/finch-api/models/hris/pay_statement.rbs +445 -0
- data/sig/finch-api/models/hris/pay_statement_response.rbs +41 -0
- data/sig/finch-api/models/hris/pay_statement_response_body.rbs +35 -0
- data/sig/finch-api/models/hris/pay_statement_retrieve_many_params.rbs +53 -0
- data/sig/finch-api/models/hris/payment.rbs +112 -0
- data/sig/finch-api/models/hris/payment_list_params.rbs +30 -0
- data/sig/finch-api/models/hris/support_per_benefit_type.rbs +37 -0
- data/sig/finch-api/models/hris/supported_benefit.rbs +84 -0
- data/sig/finch-api/models/hris/update_company_benefit_response.rbs +20 -0
- data/sig/finch-api/models/hris/w42005.rbs +111 -0
- data/sig/finch-api/models/hris/w42020.rbs +108 -0
- data/sig/finch-api/models/income.rbs +57 -0
- data/sig/finch-api/models/individual_event.rbs +61 -0
- data/sig/finch-api/models/introspection.rbs +204 -0
- data/sig/finch-api/models/job_completion_event.rbs +70 -0
- data/sig/finch-api/models/jobs/automated_async_job.rbs +102 -0
- data/sig/finch-api/models/jobs/automated_create_params.rbs +57 -0
- data/sig/finch-api/models/jobs/automated_create_response.rbs +37 -0
- data/sig/finch-api/models/jobs/automated_list_params.rbs +34 -0
- data/sig/finch-api/models/jobs/automated_retrieve_params.rbs +21 -0
- data/sig/finch-api/models/jobs/manual_async_job.rbs +43 -0
- data/sig/finch-api/models/jobs/manual_retrieve_params.rbs +21 -0
- data/sig/finch-api/models/location.rbs +48 -0
- data/sig/finch-api/models/money.rbs +19 -0
- data/sig/finch-api/models/operation_support.rbs +18 -0
- data/sig/finch-api/models/operation_support_matrix.rbs +50 -0
- data/sig/finch-api/models/paging.rbs +21 -0
- data/sig/finch-api/models/pay_statement_event.rbs +68 -0
- data/sig/finch-api/models/payment_event.rbs +59 -0
- data/sig/finch-api/models/payroll/pay_group_list_params.rbs +35 -0
- data/sig/finch-api/models/payroll/pay_group_list_response.rbs +66 -0
- data/sig/finch-api/models/payroll/pay_group_retrieve_params.rbs +21 -0
- data/sig/finch-api/models/payroll/pay_group_retrieve_response.rbs +62 -0
- data/sig/finch-api/models/provider.rbs +1455 -0
- data/sig/finch-api/models/provider_list_params.rbs +18 -0
- data/sig/finch-api/models/request_forwarding_forward_params.rbs +44 -0
- data/sig/finch-api/models/request_forwarding_forward_response.rbs +71 -0
- data/sig/finch-api/models/sandbox/company_update_params.rbs +197 -0
- data/sig/finch-api/models/sandbox/company_update_response.rbs +192 -0
- data/sig/finch-api/models/sandbox/connection_create_params.rbs +61 -0
- data/sig/finch-api/models/sandbox/connection_create_response.rbs +66 -0
- data/sig/finch-api/models/sandbox/connections/account_create_params.rbs +62 -0
- data/sig/finch-api/models/sandbox/connections/account_create_response.rbs +63 -0
- data/sig/finch-api/models/sandbox/connections/account_update_params.rbs +34 -0
- data/sig/finch-api/models/sandbox/connections/account_update_response.rbs +61 -0
- data/sig/finch-api/models/sandbox/directory_create_params.rbs +392 -0
- data/sig/finch-api/models/sandbox/directory_create_response.rbs +9 -0
- data/sig/finch-api/models/sandbox/employment_update_params.rbs +228 -0
- data/sig/finch-api/models/sandbox/employment_update_response.rbs +229 -0
- data/sig/finch-api/models/sandbox/individual_update_params.rbs +178 -0
- data/sig/finch-api/models/sandbox/individual_update_response.rbs +179 -0
- data/sig/finch-api/models/sandbox/job_create_params.rbs +36 -0
- data/sig/finch-api/models/sandbox/job_create_response.rbs +37 -0
- data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbs +23 -0
- data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbs +12 -0
- data/sig/finch-api/models/sandbox/jobs/configuration_update_params.rbs +23 -0
- data/sig/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbs +51 -0
- data/sig/finch-api/models/sandbox/payment_create_params.rbs +487 -0
- data/sig/finch-api/models/sandbox/payment_create_response.rbs +22 -0
- data/sig/finch-api/models/webhook_event.rbs +17 -0
- data/sig/finch-api/page.rbs +16 -0
- data/sig/finch-api/pooled_net_requester.rbs +28 -0
- data/sig/finch-api/request_options.rbs +40 -0
- data/sig/finch-api/resources/access_tokens.rbs +19 -0
- data/sig/finch-api/resources/account.rbs +25 -0
- data/sig/finch-api/resources/connect/sessions.rbs +40 -0
- data/sig/finch-api/resources/connect.rbs +9 -0
- data/sig/finch-api/resources/hris/benefits/individuals.rbs +58 -0
- data/sig/finch-api/resources/hris/benefits.rbs +64 -0
- data/sig/finch-api/resources/hris/company.rbs +18 -0
- data/sig/finch-api/resources/hris/directory.rbs +31 -0
- data/sig/finch-api/resources/hris/documents.rbs +33 -0
- data/sig/finch-api/resources/hris/employments.rbs +19 -0
- data/sig/finch-api/resources/hris/individuals.rbs +20 -0
- data/sig/finch-api/resources/hris/pay_statements.rbs +19 -0
- data/sig/finch-api/resources/hris/payments.rbs +20 -0
- data/sig/finch-api/resources/hris.rbs +23 -0
- data/sig/finch-api/resources/jobs/automated.rbs +42 -0
- data/sig/finch-api/resources/jobs/manual.rbs +20 -0
- data/sig/finch-api/resources/jobs.rbs +11 -0
- data/sig/finch-api/resources/payroll/pay_groups.rbs +31 -0
- data/sig/finch-api/resources/payroll.rbs +9 -0
- data/sig/finch-api/resources/providers.rbs +15 -0
- data/sig/finch-api/resources/request_forwarding.rbs +21 -0
- data/sig/finch-api/resources/sandbox/company.rbs +26 -0
- data/sig/finch-api/resources/sandbox/connections/accounts.rbs +34 -0
- data/sig/finch-api/resources/sandbox/connections.rbs +24 -0
- data/sig/finch-api/resources/sandbox/directory.rbs +19 -0
- data/sig/finch-api/resources/sandbox/employment.rbs +38 -0
- data/sig/finch-api/resources/sandbox/individual.rbs +32 -0
- data/sig/finch-api/resources/sandbox/jobs/configuration.rbs +31 -0
- data/sig/finch-api/resources/sandbox/jobs.rbs +21 -0
- data/sig/finch-api/resources/sandbox/payment.rbs +21 -0
- data/sig/finch-api/resources/sandbox.rbs +21 -0
- data/sig/finch-api/resources/webhooks.rbs +7 -0
- data/sig/finch-api/responses_page.rbs +14 -0
- data/sig/finch-api/single_page.rbs +18 -0
- data/sig/finch-api/util.rbs +109 -0
- data/sig/finch-api/version.rbs +3 -0
- metadata +536 -0
@@ -0,0 +1,1978 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module FinchAPI
|
4
|
+
module Models
|
5
|
+
class AccountUpdateEvent < FinchAPI::Models::BaseWebhookEvent
|
6
|
+
# @!attribute [r] data
|
7
|
+
#
|
8
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data, nil]
|
9
|
+
optional :data, -> { FinchAPI::Models::AccountUpdateEvent::Data }
|
10
|
+
|
11
|
+
# @!parse
|
12
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data]
|
13
|
+
# attr_writer :data
|
14
|
+
|
15
|
+
# @!attribute [r] event_type
|
16
|
+
#
|
17
|
+
# @return [Symbol, FinchAPI::Models::AccountUpdateEvent::EventType, nil]
|
18
|
+
optional :event_type, enum: -> { FinchAPI::Models::AccountUpdateEvent::EventType }
|
19
|
+
|
20
|
+
# @!parse
|
21
|
+
# # @return [Symbol, FinchAPI::Models::AccountUpdateEvent::EventType]
|
22
|
+
# attr_writer :event_type
|
23
|
+
|
24
|
+
# @!parse
|
25
|
+
# # @param data [FinchAPI::Models::AccountUpdateEvent::Data]
|
26
|
+
# # @param event_type [Symbol, FinchAPI::Models::AccountUpdateEvent::EventType]
|
27
|
+
# #
|
28
|
+
# def initialize(data: nil, event_type: nil, **) = super
|
29
|
+
|
30
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
31
|
+
|
32
|
+
class Data < FinchAPI::BaseModel
|
33
|
+
# @!attribute authentication_method
|
34
|
+
#
|
35
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod]
|
36
|
+
required :authentication_method, -> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod }
|
37
|
+
|
38
|
+
# @!attribute status
|
39
|
+
#
|
40
|
+
# @return [Symbol, FinchAPI::Models::ConnectionStatusType]
|
41
|
+
required :status, enum: -> { FinchAPI::Models::ConnectionStatusType }
|
42
|
+
|
43
|
+
# @!parse
|
44
|
+
# # @param authentication_method [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod]
|
45
|
+
# # @param status [Symbol, FinchAPI::Models::ConnectionStatusType]
|
46
|
+
# #
|
47
|
+
# def initialize(authentication_method:, status:, **) = super
|
48
|
+
|
49
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
50
|
+
|
51
|
+
class AuthenticationMethod < FinchAPI::BaseModel
|
52
|
+
# @!attribute benefits_support
|
53
|
+
# Each benefit type and their supported features. If the benefit type is not
|
54
|
+
# supported, the property will be null
|
55
|
+
#
|
56
|
+
# @return [FinchAPI::Models::HRIS::BenefitsSupport, nil]
|
57
|
+
optional :benefits_support, -> { FinchAPI::Models::HRIS::BenefitsSupport }, nil?: true
|
58
|
+
|
59
|
+
# @!attribute supported_fields
|
60
|
+
# The supported data fields returned by our HR and payroll endpoints
|
61
|
+
#
|
62
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields, nil]
|
63
|
+
optional :supported_fields,
|
64
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields },
|
65
|
+
nil?: true
|
66
|
+
|
67
|
+
# @!attribute [r] type
|
68
|
+
# The type of authentication method.
|
69
|
+
#
|
70
|
+
# @return [Symbol, FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::Type, nil]
|
71
|
+
optional :type, enum: -> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::Type }
|
72
|
+
|
73
|
+
# @!parse
|
74
|
+
# # @return [Symbol, FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::Type]
|
75
|
+
# attr_writer :type
|
76
|
+
|
77
|
+
# @!parse
|
78
|
+
# # @param benefits_support [FinchAPI::Models::HRIS::BenefitsSupport, nil]
|
79
|
+
# # @param supported_fields [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields, nil]
|
80
|
+
# # @param type [Symbol, FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::Type]
|
81
|
+
# #
|
82
|
+
# def initialize(benefits_support: nil, supported_fields: nil, type: nil, **) = super
|
83
|
+
|
84
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
85
|
+
|
86
|
+
class SupportedFields < FinchAPI::BaseModel
|
87
|
+
# @!attribute [r] company
|
88
|
+
#
|
89
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company, nil]
|
90
|
+
optional :company,
|
91
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company }
|
92
|
+
|
93
|
+
# @!parse
|
94
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company]
|
95
|
+
# attr_writer :company
|
96
|
+
|
97
|
+
# @!attribute [r] directory
|
98
|
+
#
|
99
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory, nil]
|
100
|
+
optional :directory,
|
101
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory }
|
102
|
+
|
103
|
+
# @!parse
|
104
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory]
|
105
|
+
# attr_writer :directory
|
106
|
+
|
107
|
+
# @!attribute [r] employment
|
108
|
+
#
|
109
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment, nil]
|
110
|
+
optional :employment,
|
111
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment }
|
112
|
+
|
113
|
+
# @!parse
|
114
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment]
|
115
|
+
# attr_writer :employment
|
116
|
+
|
117
|
+
# @!attribute [r] individual
|
118
|
+
#
|
119
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual, nil]
|
120
|
+
optional :individual,
|
121
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual }
|
122
|
+
|
123
|
+
# @!parse
|
124
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual]
|
125
|
+
# attr_writer :individual
|
126
|
+
|
127
|
+
# @!attribute [r] pay_group
|
128
|
+
#
|
129
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup, nil]
|
130
|
+
optional :pay_group,
|
131
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup }
|
132
|
+
|
133
|
+
# @!parse
|
134
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup]
|
135
|
+
# attr_writer :pay_group
|
136
|
+
|
137
|
+
# @!attribute [r] pay_statement
|
138
|
+
#
|
139
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement, nil]
|
140
|
+
optional :pay_statement,
|
141
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement }
|
142
|
+
|
143
|
+
# @!parse
|
144
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement]
|
145
|
+
# attr_writer :pay_statement
|
146
|
+
|
147
|
+
# @!attribute [r] payment
|
148
|
+
#
|
149
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment, nil]
|
150
|
+
optional :payment,
|
151
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment }
|
152
|
+
|
153
|
+
# @!parse
|
154
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment]
|
155
|
+
# attr_writer :payment
|
156
|
+
|
157
|
+
# @!parse
|
158
|
+
# # The supported data fields returned by our HR and payroll endpoints
|
159
|
+
# #
|
160
|
+
# # @param company [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company]
|
161
|
+
# # @param directory [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory]
|
162
|
+
# # @param employment [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment]
|
163
|
+
# # @param individual [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual]
|
164
|
+
# # @param pay_group [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup]
|
165
|
+
# # @param pay_statement [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement]
|
166
|
+
# # @param payment [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment]
|
167
|
+
# #
|
168
|
+
# def initialize(
|
169
|
+
# company: nil,
|
170
|
+
# directory: nil,
|
171
|
+
# employment: nil,
|
172
|
+
# individual: nil,
|
173
|
+
# pay_group: nil,
|
174
|
+
# pay_statement: nil,
|
175
|
+
# payment: nil,
|
176
|
+
# **
|
177
|
+
# )
|
178
|
+
# super
|
179
|
+
# end
|
180
|
+
|
181
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
182
|
+
|
183
|
+
class Company < FinchAPI::BaseModel
|
184
|
+
# @!attribute [r] id
|
185
|
+
#
|
186
|
+
# @return [Boolean, nil]
|
187
|
+
optional :id, FinchAPI::BooleanModel
|
188
|
+
|
189
|
+
# @!parse
|
190
|
+
# # @return [Boolean]
|
191
|
+
# attr_writer :id
|
192
|
+
|
193
|
+
# @!attribute [r] accounts
|
194
|
+
#
|
195
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts, nil]
|
196
|
+
optional :accounts,
|
197
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts }
|
198
|
+
|
199
|
+
# @!parse
|
200
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts]
|
201
|
+
# attr_writer :accounts
|
202
|
+
|
203
|
+
# @!attribute [r] departments
|
204
|
+
#
|
205
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments, nil]
|
206
|
+
optional :departments,
|
207
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments }
|
208
|
+
|
209
|
+
# @!parse
|
210
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments]
|
211
|
+
# attr_writer :departments
|
212
|
+
|
213
|
+
# @!attribute [r] ein
|
214
|
+
#
|
215
|
+
# @return [Boolean, nil]
|
216
|
+
optional :ein, FinchAPI::BooleanModel
|
217
|
+
|
218
|
+
# @!parse
|
219
|
+
# # @return [Boolean]
|
220
|
+
# attr_writer :ein
|
221
|
+
|
222
|
+
# @!attribute [r] entity
|
223
|
+
#
|
224
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity, nil]
|
225
|
+
optional :entity,
|
226
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity }
|
227
|
+
|
228
|
+
# @!parse
|
229
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity]
|
230
|
+
# attr_writer :entity
|
231
|
+
|
232
|
+
# @!attribute [r] legal_name
|
233
|
+
#
|
234
|
+
# @return [Boolean, nil]
|
235
|
+
optional :legal_name, FinchAPI::BooleanModel
|
236
|
+
|
237
|
+
# @!parse
|
238
|
+
# # @return [Boolean]
|
239
|
+
# attr_writer :legal_name
|
240
|
+
|
241
|
+
# @!attribute [r] locations
|
242
|
+
#
|
243
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations, nil]
|
244
|
+
optional :locations,
|
245
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations }
|
246
|
+
|
247
|
+
# @!parse
|
248
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations]
|
249
|
+
# attr_writer :locations
|
250
|
+
|
251
|
+
# @!attribute [r] primary_email
|
252
|
+
#
|
253
|
+
# @return [Boolean, nil]
|
254
|
+
optional :primary_email, FinchAPI::BooleanModel
|
255
|
+
|
256
|
+
# @!parse
|
257
|
+
# # @return [Boolean]
|
258
|
+
# attr_writer :primary_email
|
259
|
+
|
260
|
+
# @!attribute [r] primary_phone_number
|
261
|
+
#
|
262
|
+
# @return [Boolean, nil]
|
263
|
+
optional :primary_phone_number, FinchAPI::BooleanModel
|
264
|
+
|
265
|
+
# @!parse
|
266
|
+
# # @return [Boolean]
|
267
|
+
# attr_writer :primary_phone_number
|
268
|
+
|
269
|
+
# @!parse
|
270
|
+
# # @param id [Boolean]
|
271
|
+
# # @param accounts [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts]
|
272
|
+
# # @param departments [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments]
|
273
|
+
# # @param ein [Boolean]
|
274
|
+
# # @param entity [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity]
|
275
|
+
# # @param legal_name [Boolean]
|
276
|
+
# # @param locations [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations]
|
277
|
+
# # @param primary_email [Boolean]
|
278
|
+
# # @param primary_phone_number [Boolean]
|
279
|
+
# #
|
280
|
+
# def initialize(
|
281
|
+
# id: nil,
|
282
|
+
# accounts: nil,
|
283
|
+
# departments: nil,
|
284
|
+
# ein: nil,
|
285
|
+
# entity: nil,
|
286
|
+
# legal_name: nil,
|
287
|
+
# locations: nil,
|
288
|
+
# primary_email: nil,
|
289
|
+
# primary_phone_number: nil,
|
290
|
+
# **
|
291
|
+
# )
|
292
|
+
# super
|
293
|
+
# end
|
294
|
+
|
295
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
296
|
+
|
297
|
+
class Accounts < FinchAPI::BaseModel
|
298
|
+
# @!attribute [r] account_name
|
299
|
+
#
|
300
|
+
# @return [Boolean, nil]
|
301
|
+
optional :account_name, FinchAPI::BooleanModel
|
302
|
+
|
303
|
+
# @!parse
|
304
|
+
# # @return [Boolean]
|
305
|
+
# attr_writer :account_name
|
306
|
+
|
307
|
+
# @!attribute [r] account_number
|
308
|
+
#
|
309
|
+
# @return [Boolean, nil]
|
310
|
+
optional :account_number, FinchAPI::BooleanModel
|
311
|
+
|
312
|
+
# @!parse
|
313
|
+
# # @return [Boolean]
|
314
|
+
# attr_writer :account_number
|
315
|
+
|
316
|
+
# @!attribute [r] account_type
|
317
|
+
#
|
318
|
+
# @return [Boolean, nil]
|
319
|
+
optional :account_type, FinchAPI::BooleanModel
|
320
|
+
|
321
|
+
# @!parse
|
322
|
+
# # @return [Boolean]
|
323
|
+
# attr_writer :account_type
|
324
|
+
|
325
|
+
# @!attribute [r] institution_name
|
326
|
+
#
|
327
|
+
# @return [Boolean, nil]
|
328
|
+
optional :institution_name, FinchAPI::BooleanModel
|
329
|
+
|
330
|
+
# @!parse
|
331
|
+
# # @return [Boolean]
|
332
|
+
# attr_writer :institution_name
|
333
|
+
|
334
|
+
# @!attribute [r] routing_number
|
335
|
+
#
|
336
|
+
# @return [Boolean, nil]
|
337
|
+
optional :routing_number, FinchAPI::BooleanModel
|
338
|
+
|
339
|
+
# @!parse
|
340
|
+
# # @return [Boolean]
|
341
|
+
# attr_writer :routing_number
|
342
|
+
|
343
|
+
# @!parse
|
344
|
+
# # @param account_name [Boolean]
|
345
|
+
# # @param account_number [Boolean]
|
346
|
+
# # @param account_type [Boolean]
|
347
|
+
# # @param institution_name [Boolean]
|
348
|
+
# # @param routing_number [Boolean]
|
349
|
+
# #
|
350
|
+
# def initialize(account_name: nil, account_number: nil, account_type: nil, institution_name: nil, routing_number: nil, **) = super
|
351
|
+
|
352
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
353
|
+
end
|
354
|
+
|
355
|
+
class Departments < FinchAPI::BaseModel
|
356
|
+
# @!attribute [r] name
|
357
|
+
#
|
358
|
+
# @return [Boolean, nil]
|
359
|
+
optional :name, FinchAPI::BooleanModel
|
360
|
+
|
361
|
+
# @!parse
|
362
|
+
# # @return [Boolean]
|
363
|
+
# attr_writer :name
|
364
|
+
|
365
|
+
# @!attribute [r] parent
|
366
|
+
#
|
367
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent, nil]
|
368
|
+
optional :parent,
|
369
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent }
|
370
|
+
|
371
|
+
# @!parse
|
372
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent]
|
373
|
+
# attr_writer :parent
|
374
|
+
|
375
|
+
# @!parse
|
376
|
+
# # @param name [Boolean]
|
377
|
+
# # @param parent [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent]
|
378
|
+
# #
|
379
|
+
# def initialize(name: nil, parent: nil, **) = super
|
380
|
+
|
381
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
382
|
+
|
383
|
+
class Parent < FinchAPI::BaseModel
|
384
|
+
# @!attribute [r] name
|
385
|
+
#
|
386
|
+
# @return [Boolean, nil]
|
387
|
+
optional :name, FinchAPI::BooleanModel
|
388
|
+
|
389
|
+
# @!parse
|
390
|
+
# # @return [Boolean]
|
391
|
+
# attr_writer :name
|
392
|
+
|
393
|
+
# @!parse
|
394
|
+
# # @param name [Boolean]
|
395
|
+
# #
|
396
|
+
# def initialize(name: nil, **) = super
|
397
|
+
|
398
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
class Entity < FinchAPI::BaseModel
|
403
|
+
# @!attribute [r] subtype
|
404
|
+
#
|
405
|
+
# @return [Boolean, nil]
|
406
|
+
optional :subtype, FinchAPI::BooleanModel
|
407
|
+
|
408
|
+
# @!parse
|
409
|
+
# # @return [Boolean]
|
410
|
+
# attr_writer :subtype
|
411
|
+
|
412
|
+
# @!attribute [r] type
|
413
|
+
#
|
414
|
+
# @return [Boolean, nil]
|
415
|
+
optional :type, FinchAPI::BooleanModel
|
416
|
+
|
417
|
+
# @!parse
|
418
|
+
# # @return [Boolean]
|
419
|
+
# attr_writer :type
|
420
|
+
|
421
|
+
# @!parse
|
422
|
+
# # @param subtype [Boolean]
|
423
|
+
# # @param type [Boolean]
|
424
|
+
# #
|
425
|
+
# def initialize(subtype: nil, type: nil, **) = super
|
426
|
+
|
427
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
428
|
+
end
|
429
|
+
|
430
|
+
class Locations < FinchAPI::BaseModel
|
431
|
+
# @!attribute [r] city
|
432
|
+
#
|
433
|
+
# @return [Boolean, nil]
|
434
|
+
optional :city, FinchAPI::BooleanModel
|
435
|
+
|
436
|
+
# @!parse
|
437
|
+
# # @return [Boolean]
|
438
|
+
# attr_writer :city
|
439
|
+
|
440
|
+
# @!attribute [r] country
|
441
|
+
#
|
442
|
+
# @return [Boolean, nil]
|
443
|
+
optional :country, FinchAPI::BooleanModel
|
444
|
+
|
445
|
+
# @!parse
|
446
|
+
# # @return [Boolean]
|
447
|
+
# attr_writer :country
|
448
|
+
|
449
|
+
# @!attribute [r] line1
|
450
|
+
#
|
451
|
+
# @return [Boolean, nil]
|
452
|
+
optional :line1, FinchAPI::BooleanModel
|
453
|
+
|
454
|
+
# @!parse
|
455
|
+
# # @return [Boolean]
|
456
|
+
# attr_writer :line1
|
457
|
+
|
458
|
+
# @!attribute [r] line2
|
459
|
+
#
|
460
|
+
# @return [Boolean, nil]
|
461
|
+
optional :line2, FinchAPI::BooleanModel
|
462
|
+
|
463
|
+
# @!parse
|
464
|
+
# # @return [Boolean]
|
465
|
+
# attr_writer :line2
|
466
|
+
|
467
|
+
# @!attribute [r] postal_code
|
468
|
+
#
|
469
|
+
# @return [Boolean, nil]
|
470
|
+
optional :postal_code, FinchAPI::BooleanModel
|
471
|
+
|
472
|
+
# @!parse
|
473
|
+
# # @return [Boolean]
|
474
|
+
# attr_writer :postal_code
|
475
|
+
|
476
|
+
# @!attribute [r] state
|
477
|
+
#
|
478
|
+
# @return [Boolean, nil]
|
479
|
+
optional :state, FinchAPI::BooleanModel
|
480
|
+
|
481
|
+
# @!parse
|
482
|
+
# # @return [Boolean]
|
483
|
+
# attr_writer :state
|
484
|
+
|
485
|
+
# @!parse
|
486
|
+
# # @param city [Boolean]
|
487
|
+
# # @param country [Boolean]
|
488
|
+
# # @param line1 [Boolean]
|
489
|
+
# # @param line2 [Boolean]
|
490
|
+
# # @param postal_code [Boolean]
|
491
|
+
# # @param state [Boolean]
|
492
|
+
# #
|
493
|
+
# def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, **) = super
|
494
|
+
|
495
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
class Directory < FinchAPI::BaseModel
|
500
|
+
# @!attribute [r] individuals
|
501
|
+
#
|
502
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals, nil]
|
503
|
+
optional :individuals,
|
504
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals }
|
505
|
+
|
506
|
+
# @!parse
|
507
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals]
|
508
|
+
# attr_writer :individuals
|
509
|
+
|
510
|
+
# @!attribute [r] paging
|
511
|
+
#
|
512
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging, nil]
|
513
|
+
optional :paging,
|
514
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging }
|
515
|
+
|
516
|
+
# @!parse
|
517
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging]
|
518
|
+
# attr_writer :paging
|
519
|
+
|
520
|
+
# @!parse
|
521
|
+
# # @param individuals [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals]
|
522
|
+
# # @param paging [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging]
|
523
|
+
# #
|
524
|
+
# def initialize(individuals: nil, paging: nil, **) = super
|
525
|
+
|
526
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
527
|
+
|
528
|
+
class Individuals < FinchAPI::BaseModel
|
529
|
+
# @!attribute [r] id
|
530
|
+
#
|
531
|
+
# @return [Boolean, nil]
|
532
|
+
optional :id, FinchAPI::BooleanModel
|
533
|
+
|
534
|
+
# @!parse
|
535
|
+
# # @return [Boolean]
|
536
|
+
# attr_writer :id
|
537
|
+
|
538
|
+
# @!attribute [r] department
|
539
|
+
#
|
540
|
+
# @return [Boolean, nil]
|
541
|
+
optional :department, FinchAPI::BooleanModel
|
542
|
+
|
543
|
+
# @!parse
|
544
|
+
# # @return [Boolean]
|
545
|
+
# attr_writer :department
|
546
|
+
|
547
|
+
# @!attribute [r] first_name
|
548
|
+
#
|
549
|
+
# @return [Boolean, nil]
|
550
|
+
optional :first_name, FinchAPI::BooleanModel
|
551
|
+
|
552
|
+
# @!parse
|
553
|
+
# # @return [Boolean]
|
554
|
+
# attr_writer :first_name
|
555
|
+
|
556
|
+
# @!attribute [r] is_active
|
557
|
+
#
|
558
|
+
# @return [Boolean, nil]
|
559
|
+
optional :is_active, FinchAPI::BooleanModel
|
560
|
+
|
561
|
+
# @!parse
|
562
|
+
# # @return [Boolean]
|
563
|
+
# attr_writer :is_active
|
564
|
+
|
565
|
+
# @!attribute [r] last_name
|
566
|
+
#
|
567
|
+
# @return [Boolean, nil]
|
568
|
+
optional :last_name, FinchAPI::BooleanModel
|
569
|
+
|
570
|
+
# @!parse
|
571
|
+
# # @return [Boolean]
|
572
|
+
# attr_writer :last_name
|
573
|
+
|
574
|
+
# @!attribute [r] manager
|
575
|
+
#
|
576
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager, nil]
|
577
|
+
optional :manager,
|
578
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager }
|
579
|
+
|
580
|
+
# @!parse
|
581
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager]
|
582
|
+
# attr_writer :manager
|
583
|
+
|
584
|
+
# @!attribute [r] middle_name
|
585
|
+
#
|
586
|
+
# @return [Boolean, nil]
|
587
|
+
optional :middle_name, FinchAPI::BooleanModel
|
588
|
+
|
589
|
+
# @!parse
|
590
|
+
# # @return [Boolean]
|
591
|
+
# attr_writer :middle_name
|
592
|
+
|
593
|
+
# @!parse
|
594
|
+
# # @param id [Boolean]
|
595
|
+
# # @param department [Boolean]
|
596
|
+
# # @param first_name [Boolean]
|
597
|
+
# # @param is_active [Boolean]
|
598
|
+
# # @param last_name [Boolean]
|
599
|
+
# # @param manager [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager]
|
600
|
+
# # @param middle_name [Boolean]
|
601
|
+
# #
|
602
|
+
# def initialize(
|
603
|
+
# id: nil,
|
604
|
+
# department: nil,
|
605
|
+
# first_name: nil,
|
606
|
+
# is_active: nil,
|
607
|
+
# last_name: nil,
|
608
|
+
# manager: nil,
|
609
|
+
# middle_name: nil,
|
610
|
+
# **
|
611
|
+
# )
|
612
|
+
# super
|
613
|
+
# end
|
614
|
+
|
615
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
616
|
+
|
617
|
+
class Manager < FinchAPI::BaseModel
|
618
|
+
# @!attribute [r] id
|
619
|
+
#
|
620
|
+
# @return [Boolean, nil]
|
621
|
+
optional :id, FinchAPI::BooleanModel
|
622
|
+
|
623
|
+
# @!parse
|
624
|
+
# # @return [Boolean]
|
625
|
+
# attr_writer :id
|
626
|
+
|
627
|
+
# @!parse
|
628
|
+
# # @param id [Boolean]
|
629
|
+
# #
|
630
|
+
# def initialize(id: nil, **) = super
|
631
|
+
|
632
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
class Paging < FinchAPI::BaseModel
|
637
|
+
# @!attribute [r] count
|
638
|
+
#
|
639
|
+
# @return [Boolean, nil]
|
640
|
+
optional :count, FinchAPI::BooleanModel
|
641
|
+
|
642
|
+
# @!parse
|
643
|
+
# # @return [Boolean]
|
644
|
+
# attr_writer :count
|
645
|
+
|
646
|
+
# @!attribute [r] offset
|
647
|
+
#
|
648
|
+
# @return [Boolean, nil]
|
649
|
+
optional :offset, FinchAPI::BooleanModel
|
650
|
+
|
651
|
+
# @!parse
|
652
|
+
# # @return [Boolean]
|
653
|
+
# attr_writer :offset
|
654
|
+
|
655
|
+
# @!parse
|
656
|
+
# # @param count [Boolean]
|
657
|
+
# # @param offset [Boolean]
|
658
|
+
# #
|
659
|
+
# def initialize(count: nil, offset: nil, **) = super
|
660
|
+
|
661
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
class Employment < FinchAPI::BaseModel
|
666
|
+
# @!attribute [r] id
|
667
|
+
#
|
668
|
+
# @return [Boolean, nil]
|
669
|
+
optional :id, FinchAPI::BooleanModel
|
670
|
+
|
671
|
+
# @!parse
|
672
|
+
# # @return [Boolean]
|
673
|
+
# attr_writer :id
|
674
|
+
|
675
|
+
# @!attribute [r] class_code
|
676
|
+
#
|
677
|
+
# @return [Boolean, nil]
|
678
|
+
optional :class_code, FinchAPI::BooleanModel
|
679
|
+
|
680
|
+
# @!parse
|
681
|
+
# # @return [Boolean]
|
682
|
+
# attr_writer :class_code
|
683
|
+
|
684
|
+
# @!attribute [r] custom_fields
|
685
|
+
#
|
686
|
+
# @return [Boolean, nil]
|
687
|
+
optional :custom_fields, FinchAPI::BooleanModel
|
688
|
+
|
689
|
+
# @!parse
|
690
|
+
# # @return [Boolean]
|
691
|
+
# attr_writer :custom_fields
|
692
|
+
|
693
|
+
# @!attribute [r] department
|
694
|
+
#
|
695
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department, nil]
|
696
|
+
optional :department,
|
697
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department }
|
698
|
+
|
699
|
+
# @!parse
|
700
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department]
|
701
|
+
# attr_writer :department
|
702
|
+
|
703
|
+
# @!attribute [r] employment
|
704
|
+
#
|
705
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment, nil]
|
706
|
+
optional :employment,
|
707
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment }
|
708
|
+
|
709
|
+
# @!parse
|
710
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment]
|
711
|
+
# attr_writer :employment
|
712
|
+
|
713
|
+
# @!attribute [r] employment_status
|
714
|
+
#
|
715
|
+
# @return [Boolean, nil]
|
716
|
+
optional :employment_status, FinchAPI::BooleanModel
|
717
|
+
|
718
|
+
# @!parse
|
719
|
+
# # @return [Boolean]
|
720
|
+
# attr_writer :employment_status
|
721
|
+
|
722
|
+
# @!attribute [r] end_date
|
723
|
+
#
|
724
|
+
# @return [Boolean, nil]
|
725
|
+
optional :end_date, FinchAPI::BooleanModel
|
726
|
+
|
727
|
+
# @!parse
|
728
|
+
# # @return [Boolean]
|
729
|
+
# attr_writer :end_date
|
730
|
+
|
731
|
+
# @!attribute [r] first_name
|
732
|
+
#
|
733
|
+
# @return [Boolean, nil]
|
734
|
+
optional :first_name, FinchAPI::BooleanModel
|
735
|
+
|
736
|
+
# @!parse
|
737
|
+
# # @return [Boolean]
|
738
|
+
# attr_writer :first_name
|
739
|
+
|
740
|
+
# @!attribute [r] income
|
741
|
+
#
|
742
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income, nil]
|
743
|
+
optional :income,
|
744
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income }
|
745
|
+
|
746
|
+
# @!parse
|
747
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income]
|
748
|
+
# attr_writer :income
|
749
|
+
|
750
|
+
# @!attribute [r] income_history
|
751
|
+
#
|
752
|
+
# @return [Boolean, nil]
|
753
|
+
optional :income_history, FinchAPI::BooleanModel
|
754
|
+
|
755
|
+
# @!parse
|
756
|
+
# # @return [Boolean]
|
757
|
+
# attr_writer :income_history
|
758
|
+
|
759
|
+
# @!attribute [r] is_active
|
760
|
+
#
|
761
|
+
# @return [Boolean, nil]
|
762
|
+
optional :is_active, FinchAPI::BooleanModel
|
763
|
+
|
764
|
+
# @!parse
|
765
|
+
# # @return [Boolean]
|
766
|
+
# attr_writer :is_active
|
767
|
+
|
768
|
+
# @!attribute [r] last_name
|
769
|
+
#
|
770
|
+
# @return [Boolean, nil]
|
771
|
+
optional :last_name, FinchAPI::BooleanModel
|
772
|
+
|
773
|
+
# @!parse
|
774
|
+
# # @return [Boolean]
|
775
|
+
# attr_writer :last_name
|
776
|
+
|
777
|
+
# @!attribute [r] location
|
778
|
+
#
|
779
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location, nil]
|
780
|
+
optional :location,
|
781
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location }
|
782
|
+
|
783
|
+
# @!parse
|
784
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location]
|
785
|
+
# attr_writer :location
|
786
|
+
|
787
|
+
# @!attribute [r] manager
|
788
|
+
#
|
789
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager, nil]
|
790
|
+
optional :manager,
|
791
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager }
|
792
|
+
|
793
|
+
# @!parse
|
794
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager]
|
795
|
+
# attr_writer :manager
|
796
|
+
|
797
|
+
# @!attribute [r] middle_name
|
798
|
+
#
|
799
|
+
# @return [Boolean, nil]
|
800
|
+
optional :middle_name, FinchAPI::BooleanModel
|
801
|
+
|
802
|
+
# @!parse
|
803
|
+
# # @return [Boolean]
|
804
|
+
# attr_writer :middle_name
|
805
|
+
|
806
|
+
# @!attribute [r] start_date
|
807
|
+
#
|
808
|
+
# @return [Boolean, nil]
|
809
|
+
optional :start_date, FinchAPI::BooleanModel
|
810
|
+
|
811
|
+
# @!parse
|
812
|
+
# # @return [Boolean]
|
813
|
+
# attr_writer :start_date
|
814
|
+
|
815
|
+
# @!attribute [r] title
|
816
|
+
#
|
817
|
+
# @return [Boolean, nil]
|
818
|
+
optional :title, FinchAPI::BooleanModel
|
819
|
+
|
820
|
+
# @!parse
|
821
|
+
# # @return [Boolean]
|
822
|
+
# attr_writer :title
|
823
|
+
|
824
|
+
# @!parse
|
825
|
+
# # @param id [Boolean]
|
826
|
+
# # @param class_code [Boolean]
|
827
|
+
# # @param custom_fields [Boolean]
|
828
|
+
# # @param department [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department]
|
829
|
+
# # @param employment [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment]
|
830
|
+
# # @param employment_status [Boolean]
|
831
|
+
# # @param end_date [Boolean]
|
832
|
+
# # @param first_name [Boolean]
|
833
|
+
# # @param income [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income]
|
834
|
+
# # @param income_history [Boolean]
|
835
|
+
# # @param is_active [Boolean]
|
836
|
+
# # @param last_name [Boolean]
|
837
|
+
# # @param location [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location]
|
838
|
+
# # @param manager [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager]
|
839
|
+
# # @param middle_name [Boolean]
|
840
|
+
# # @param start_date [Boolean]
|
841
|
+
# # @param title [Boolean]
|
842
|
+
# #
|
843
|
+
# def initialize(
|
844
|
+
# id: nil,
|
845
|
+
# class_code: nil,
|
846
|
+
# custom_fields: nil,
|
847
|
+
# department: nil,
|
848
|
+
# employment: nil,
|
849
|
+
# employment_status: nil,
|
850
|
+
# end_date: nil,
|
851
|
+
# first_name: nil,
|
852
|
+
# income: nil,
|
853
|
+
# income_history: nil,
|
854
|
+
# is_active: nil,
|
855
|
+
# last_name: nil,
|
856
|
+
# location: nil,
|
857
|
+
# manager: nil,
|
858
|
+
# middle_name: nil,
|
859
|
+
# start_date: nil,
|
860
|
+
# title: nil,
|
861
|
+
# **
|
862
|
+
# )
|
863
|
+
# super
|
864
|
+
# end
|
865
|
+
|
866
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
867
|
+
|
868
|
+
class Department < FinchAPI::BaseModel
|
869
|
+
# @!attribute [r] name
|
870
|
+
#
|
871
|
+
# @return [Boolean, nil]
|
872
|
+
optional :name, FinchAPI::BooleanModel
|
873
|
+
|
874
|
+
# @!parse
|
875
|
+
# # @return [Boolean]
|
876
|
+
# attr_writer :name
|
877
|
+
|
878
|
+
# @!parse
|
879
|
+
# # @param name [Boolean]
|
880
|
+
# #
|
881
|
+
# def initialize(name: nil, **) = super
|
882
|
+
|
883
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
884
|
+
end
|
885
|
+
|
886
|
+
class Employment < FinchAPI::BaseModel
|
887
|
+
# @!attribute [r] subtype
|
888
|
+
#
|
889
|
+
# @return [Boolean, nil]
|
890
|
+
optional :subtype, FinchAPI::BooleanModel
|
891
|
+
|
892
|
+
# @!parse
|
893
|
+
# # @return [Boolean]
|
894
|
+
# attr_writer :subtype
|
895
|
+
|
896
|
+
# @!attribute [r] type
|
897
|
+
#
|
898
|
+
# @return [Boolean, nil]
|
899
|
+
optional :type, FinchAPI::BooleanModel
|
900
|
+
|
901
|
+
# @!parse
|
902
|
+
# # @return [Boolean]
|
903
|
+
# attr_writer :type
|
904
|
+
|
905
|
+
# @!parse
|
906
|
+
# # @param subtype [Boolean]
|
907
|
+
# # @param type [Boolean]
|
908
|
+
# #
|
909
|
+
# def initialize(subtype: nil, type: nil, **) = super
|
910
|
+
|
911
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
912
|
+
end
|
913
|
+
|
914
|
+
class Income < FinchAPI::BaseModel
|
915
|
+
# @!attribute [r] amount
|
916
|
+
#
|
917
|
+
# @return [Boolean, nil]
|
918
|
+
optional :amount, FinchAPI::BooleanModel
|
919
|
+
|
920
|
+
# @!parse
|
921
|
+
# # @return [Boolean]
|
922
|
+
# attr_writer :amount
|
923
|
+
|
924
|
+
# @!attribute [r] currency
|
925
|
+
#
|
926
|
+
# @return [Boolean, nil]
|
927
|
+
optional :currency, FinchAPI::BooleanModel
|
928
|
+
|
929
|
+
# @!parse
|
930
|
+
# # @return [Boolean]
|
931
|
+
# attr_writer :currency
|
932
|
+
|
933
|
+
# @!attribute [r] unit
|
934
|
+
#
|
935
|
+
# @return [Boolean, nil]
|
936
|
+
optional :unit, FinchAPI::BooleanModel
|
937
|
+
|
938
|
+
# @!parse
|
939
|
+
# # @return [Boolean]
|
940
|
+
# attr_writer :unit
|
941
|
+
|
942
|
+
# @!parse
|
943
|
+
# # @param amount [Boolean]
|
944
|
+
# # @param currency [Boolean]
|
945
|
+
# # @param unit [Boolean]
|
946
|
+
# #
|
947
|
+
# def initialize(amount: nil, currency: nil, unit: nil, **) = super
|
948
|
+
|
949
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
950
|
+
end
|
951
|
+
|
952
|
+
class Location < FinchAPI::BaseModel
|
953
|
+
# @!attribute [r] city
|
954
|
+
#
|
955
|
+
# @return [Boolean, nil]
|
956
|
+
optional :city, FinchAPI::BooleanModel
|
957
|
+
|
958
|
+
# @!parse
|
959
|
+
# # @return [Boolean]
|
960
|
+
# attr_writer :city
|
961
|
+
|
962
|
+
# @!attribute [r] country
|
963
|
+
#
|
964
|
+
# @return [Boolean, nil]
|
965
|
+
optional :country, FinchAPI::BooleanModel
|
966
|
+
|
967
|
+
# @!parse
|
968
|
+
# # @return [Boolean]
|
969
|
+
# attr_writer :country
|
970
|
+
|
971
|
+
# @!attribute [r] line1
|
972
|
+
#
|
973
|
+
# @return [Boolean, nil]
|
974
|
+
optional :line1, FinchAPI::BooleanModel
|
975
|
+
|
976
|
+
# @!parse
|
977
|
+
# # @return [Boolean]
|
978
|
+
# attr_writer :line1
|
979
|
+
|
980
|
+
# @!attribute [r] line2
|
981
|
+
#
|
982
|
+
# @return [Boolean, nil]
|
983
|
+
optional :line2, FinchAPI::BooleanModel
|
984
|
+
|
985
|
+
# @!parse
|
986
|
+
# # @return [Boolean]
|
987
|
+
# attr_writer :line2
|
988
|
+
|
989
|
+
# @!attribute [r] postal_code
|
990
|
+
#
|
991
|
+
# @return [Boolean, nil]
|
992
|
+
optional :postal_code, FinchAPI::BooleanModel
|
993
|
+
|
994
|
+
# @!parse
|
995
|
+
# # @return [Boolean]
|
996
|
+
# attr_writer :postal_code
|
997
|
+
|
998
|
+
# @!attribute [r] state
|
999
|
+
#
|
1000
|
+
# @return [Boolean, nil]
|
1001
|
+
optional :state, FinchAPI::BooleanModel
|
1002
|
+
|
1003
|
+
# @!parse
|
1004
|
+
# # @return [Boolean]
|
1005
|
+
# attr_writer :state
|
1006
|
+
|
1007
|
+
# @!parse
|
1008
|
+
# # @param city [Boolean]
|
1009
|
+
# # @param country [Boolean]
|
1010
|
+
# # @param line1 [Boolean]
|
1011
|
+
# # @param line2 [Boolean]
|
1012
|
+
# # @param postal_code [Boolean]
|
1013
|
+
# # @param state [Boolean]
|
1014
|
+
# #
|
1015
|
+
# def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, **) = super
|
1016
|
+
|
1017
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
class Manager < FinchAPI::BaseModel
|
1021
|
+
# @!attribute [r] id
|
1022
|
+
#
|
1023
|
+
# @return [Boolean, nil]
|
1024
|
+
optional :id, FinchAPI::BooleanModel
|
1025
|
+
|
1026
|
+
# @!parse
|
1027
|
+
# # @return [Boolean]
|
1028
|
+
# attr_writer :id
|
1029
|
+
|
1030
|
+
# @!parse
|
1031
|
+
# # @param id [Boolean]
|
1032
|
+
# #
|
1033
|
+
# def initialize(id: nil, **) = super
|
1034
|
+
|
1035
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1036
|
+
end
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
class Individual < FinchAPI::BaseModel
|
1040
|
+
# @!attribute [r] id
|
1041
|
+
#
|
1042
|
+
# @return [Boolean, nil]
|
1043
|
+
optional :id, FinchAPI::BooleanModel
|
1044
|
+
|
1045
|
+
# @!parse
|
1046
|
+
# # @return [Boolean]
|
1047
|
+
# attr_writer :id
|
1048
|
+
|
1049
|
+
# @!attribute [r] dob
|
1050
|
+
#
|
1051
|
+
# @return [Boolean, nil]
|
1052
|
+
optional :dob, FinchAPI::BooleanModel
|
1053
|
+
|
1054
|
+
# @!parse
|
1055
|
+
# # @return [Boolean]
|
1056
|
+
# attr_writer :dob
|
1057
|
+
|
1058
|
+
# @!attribute [r] emails
|
1059
|
+
#
|
1060
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails, nil]
|
1061
|
+
optional :emails,
|
1062
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails }
|
1063
|
+
|
1064
|
+
# @!parse
|
1065
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails]
|
1066
|
+
# attr_writer :emails
|
1067
|
+
|
1068
|
+
# @!attribute [r] encrypted_ssn
|
1069
|
+
#
|
1070
|
+
# @return [Boolean, nil]
|
1071
|
+
optional :encrypted_ssn, FinchAPI::BooleanModel
|
1072
|
+
|
1073
|
+
# @!parse
|
1074
|
+
# # @return [Boolean]
|
1075
|
+
# attr_writer :encrypted_ssn
|
1076
|
+
|
1077
|
+
# @!attribute [r] ethnicity
|
1078
|
+
#
|
1079
|
+
# @return [Boolean, nil]
|
1080
|
+
optional :ethnicity, FinchAPI::BooleanModel
|
1081
|
+
|
1082
|
+
# @!parse
|
1083
|
+
# # @return [Boolean]
|
1084
|
+
# attr_writer :ethnicity
|
1085
|
+
|
1086
|
+
# @!attribute [r] first_name
|
1087
|
+
#
|
1088
|
+
# @return [Boolean, nil]
|
1089
|
+
optional :first_name, FinchAPI::BooleanModel
|
1090
|
+
|
1091
|
+
# @!parse
|
1092
|
+
# # @return [Boolean]
|
1093
|
+
# attr_writer :first_name
|
1094
|
+
|
1095
|
+
# @!attribute [r] gender
|
1096
|
+
#
|
1097
|
+
# @return [Boolean, nil]
|
1098
|
+
optional :gender, FinchAPI::BooleanModel
|
1099
|
+
|
1100
|
+
# @!parse
|
1101
|
+
# # @return [Boolean]
|
1102
|
+
# attr_writer :gender
|
1103
|
+
|
1104
|
+
# @!attribute [r] last_name
|
1105
|
+
#
|
1106
|
+
# @return [Boolean, nil]
|
1107
|
+
optional :last_name, FinchAPI::BooleanModel
|
1108
|
+
|
1109
|
+
# @!parse
|
1110
|
+
# # @return [Boolean]
|
1111
|
+
# attr_writer :last_name
|
1112
|
+
|
1113
|
+
# @!attribute [r] middle_name
|
1114
|
+
#
|
1115
|
+
# @return [Boolean, nil]
|
1116
|
+
optional :middle_name, FinchAPI::BooleanModel
|
1117
|
+
|
1118
|
+
# @!parse
|
1119
|
+
# # @return [Boolean]
|
1120
|
+
# attr_writer :middle_name
|
1121
|
+
|
1122
|
+
# @!attribute [r] phone_numbers
|
1123
|
+
#
|
1124
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers, nil]
|
1125
|
+
optional :phone_numbers,
|
1126
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers }
|
1127
|
+
|
1128
|
+
# @!parse
|
1129
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers]
|
1130
|
+
# attr_writer :phone_numbers
|
1131
|
+
|
1132
|
+
# @!attribute [r] preferred_name
|
1133
|
+
#
|
1134
|
+
# @return [Boolean, nil]
|
1135
|
+
optional :preferred_name, FinchAPI::BooleanModel
|
1136
|
+
|
1137
|
+
# @!parse
|
1138
|
+
# # @return [Boolean]
|
1139
|
+
# attr_writer :preferred_name
|
1140
|
+
|
1141
|
+
# @!attribute [r] residence
|
1142
|
+
#
|
1143
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence, nil]
|
1144
|
+
optional :residence,
|
1145
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence }
|
1146
|
+
|
1147
|
+
# @!parse
|
1148
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence]
|
1149
|
+
# attr_writer :residence
|
1150
|
+
|
1151
|
+
# @!attribute [r] ssn
|
1152
|
+
#
|
1153
|
+
# @return [Boolean, nil]
|
1154
|
+
optional :ssn, FinchAPI::BooleanModel
|
1155
|
+
|
1156
|
+
# @!parse
|
1157
|
+
# # @return [Boolean]
|
1158
|
+
# attr_writer :ssn
|
1159
|
+
|
1160
|
+
# @!parse
|
1161
|
+
# # @param id [Boolean]
|
1162
|
+
# # @param dob [Boolean]
|
1163
|
+
# # @param emails [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails]
|
1164
|
+
# # @param encrypted_ssn [Boolean]
|
1165
|
+
# # @param ethnicity [Boolean]
|
1166
|
+
# # @param first_name [Boolean]
|
1167
|
+
# # @param gender [Boolean]
|
1168
|
+
# # @param last_name [Boolean]
|
1169
|
+
# # @param middle_name [Boolean]
|
1170
|
+
# # @param phone_numbers [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers]
|
1171
|
+
# # @param preferred_name [Boolean]
|
1172
|
+
# # @param residence [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence]
|
1173
|
+
# # @param ssn [Boolean]
|
1174
|
+
# #
|
1175
|
+
# def initialize(
|
1176
|
+
# id: nil,
|
1177
|
+
# dob: nil,
|
1178
|
+
# emails: nil,
|
1179
|
+
# encrypted_ssn: nil,
|
1180
|
+
# ethnicity: nil,
|
1181
|
+
# first_name: nil,
|
1182
|
+
# gender: nil,
|
1183
|
+
# last_name: nil,
|
1184
|
+
# middle_name: nil,
|
1185
|
+
# phone_numbers: nil,
|
1186
|
+
# preferred_name: nil,
|
1187
|
+
# residence: nil,
|
1188
|
+
# ssn: nil,
|
1189
|
+
# **
|
1190
|
+
# )
|
1191
|
+
# super
|
1192
|
+
# end
|
1193
|
+
|
1194
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1195
|
+
|
1196
|
+
class Emails < FinchAPI::BaseModel
|
1197
|
+
# @!attribute [r] data
|
1198
|
+
#
|
1199
|
+
# @return [Boolean, nil]
|
1200
|
+
optional :data, FinchAPI::BooleanModel
|
1201
|
+
|
1202
|
+
# @!parse
|
1203
|
+
# # @return [Boolean]
|
1204
|
+
# attr_writer :data
|
1205
|
+
|
1206
|
+
# @!attribute [r] type
|
1207
|
+
#
|
1208
|
+
# @return [Boolean, nil]
|
1209
|
+
optional :type, FinchAPI::BooleanModel
|
1210
|
+
|
1211
|
+
# @!parse
|
1212
|
+
# # @return [Boolean]
|
1213
|
+
# attr_writer :type
|
1214
|
+
|
1215
|
+
# @!parse
|
1216
|
+
# # @param data [Boolean]
|
1217
|
+
# # @param type [Boolean]
|
1218
|
+
# #
|
1219
|
+
# def initialize(data: nil, type: nil, **) = super
|
1220
|
+
|
1221
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
class PhoneNumbers < FinchAPI::BaseModel
|
1225
|
+
# @!attribute [r] data
|
1226
|
+
#
|
1227
|
+
# @return [Boolean, nil]
|
1228
|
+
optional :data, FinchAPI::BooleanModel
|
1229
|
+
|
1230
|
+
# @!parse
|
1231
|
+
# # @return [Boolean]
|
1232
|
+
# attr_writer :data
|
1233
|
+
|
1234
|
+
# @!attribute [r] type
|
1235
|
+
#
|
1236
|
+
# @return [Boolean, nil]
|
1237
|
+
optional :type, FinchAPI::BooleanModel
|
1238
|
+
|
1239
|
+
# @!parse
|
1240
|
+
# # @return [Boolean]
|
1241
|
+
# attr_writer :type
|
1242
|
+
|
1243
|
+
# @!parse
|
1244
|
+
# # @param data [Boolean]
|
1245
|
+
# # @param type [Boolean]
|
1246
|
+
# #
|
1247
|
+
# def initialize(data: nil, type: nil, **) = super
|
1248
|
+
|
1249
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
class Residence < FinchAPI::BaseModel
|
1253
|
+
# @!attribute [r] city
|
1254
|
+
#
|
1255
|
+
# @return [Boolean, nil]
|
1256
|
+
optional :city, FinchAPI::BooleanModel
|
1257
|
+
|
1258
|
+
# @!parse
|
1259
|
+
# # @return [Boolean]
|
1260
|
+
# attr_writer :city
|
1261
|
+
|
1262
|
+
# @!attribute [r] country
|
1263
|
+
#
|
1264
|
+
# @return [Boolean, nil]
|
1265
|
+
optional :country, FinchAPI::BooleanModel
|
1266
|
+
|
1267
|
+
# @!parse
|
1268
|
+
# # @return [Boolean]
|
1269
|
+
# attr_writer :country
|
1270
|
+
|
1271
|
+
# @!attribute [r] line1
|
1272
|
+
#
|
1273
|
+
# @return [Boolean, nil]
|
1274
|
+
optional :line1, FinchAPI::BooleanModel
|
1275
|
+
|
1276
|
+
# @!parse
|
1277
|
+
# # @return [Boolean]
|
1278
|
+
# attr_writer :line1
|
1279
|
+
|
1280
|
+
# @!attribute [r] line2
|
1281
|
+
#
|
1282
|
+
# @return [Boolean, nil]
|
1283
|
+
optional :line2, FinchAPI::BooleanModel
|
1284
|
+
|
1285
|
+
# @!parse
|
1286
|
+
# # @return [Boolean]
|
1287
|
+
# attr_writer :line2
|
1288
|
+
|
1289
|
+
# @!attribute [r] postal_code
|
1290
|
+
#
|
1291
|
+
# @return [Boolean, nil]
|
1292
|
+
optional :postal_code, FinchAPI::BooleanModel
|
1293
|
+
|
1294
|
+
# @!parse
|
1295
|
+
# # @return [Boolean]
|
1296
|
+
# attr_writer :postal_code
|
1297
|
+
|
1298
|
+
# @!attribute [r] state
|
1299
|
+
#
|
1300
|
+
# @return [Boolean, nil]
|
1301
|
+
optional :state, FinchAPI::BooleanModel
|
1302
|
+
|
1303
|
+
# @!parse
|
1304
|
+
# # @return [Boolean]
|
1305
|
+
# attr_writer :state
|
1306
|
+
|
1307
|
+
# @!parse
|
1308
|
+
# # @param city [Boolean]
|
1309
|
+
# # @param country [Boolean]
|
1310
|
+
# # @param line1 [Boolean]
|
1311
|
+
# # @param line2 [Boolean]
|
1312
|
+
# # @param postal_code [Boolean]
|
1313
|
+
# # @param state [Boolean]
|
1314
|
+
# #
|
1315
|
+
# def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, **) = super
|
1316
|
+
|
1317
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1318
|
+
end
|
1319
|
+
end
|
1320
|
+
|
1321
|
+
class PayGroup < FinchAPI::BaseModel
|
1322
|
+
# @!attribute [r] id
|
1323
|
+
#
|
1324
|
+
# @return [Boolean, nil]
|
1325
|
+
optional :id, FinchAPI::BooleanModel
|
1326
|
+
|
1327
|
+
# @!parse
|
1328
|
+
# # @return [Boolean]
|
1329
|
+
# attr_writer :id
|
1330
|
+
|
1331
|
+
# @!attribute [r] individual_ids
|
1332
|
+
#
|
1333
|
+
# @return [Boolean, nil]
|
1334
|
+
optional :individual_ids, FinchAPI::BooleanModel
|
1335
|
+
|
1336
|
+
# @!parse
|
1337
|
+
# # @return [Boolean]
|
1338
|
+
# attr_writer :individual_ids
|
1339
|
+
|
1340
|
+
# @!attribute [r] name
|
1341
|
+
#
|
1342
|
+
# @return [Boolean, nil]
|
1343
|
+
optional :name, FinchAPI::BooleanModel
|
1344
|
+
|
1345
|
+
# @!parse
|
1346
|
+
# # @return [Boolean]
|
1347
|
+
# attr_writer :name
|
1348
|
+
|
1349
|
+
# @!attribute [r] pay_frequencies
|
1350
|
+
#
|
1351
|
+
# @return [Boolean, nil]
|
1352
|
+
optional :pay_frequencies, FinchAPI::BooleanModel
|
1353
|
+
|
1354
|
+
# @!parse
|
1355
|
+
# # @return [Boolean]
|
1356
|
+
# attr_writer :pay_frequencies
|
1357
|
+
|
1358
|
+
# @!parse
|
1359
|
+
# # @param id [Boolean]
|
1360
|
+
# # @param individual_ids [Boolean]
|
1361
|
+
# # @param name [Boolean]
|
1362
|
+
# # @param pay_frequencies [Boolean]
|
1363
|
+
# #
|
1364
|
+
# def initialize(id: nil, individual_ids: nil, name: nil, pay_frequencies: nil, **) = super
|
1365
|
+
|
1366
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
class PayStatement < FinchAPI::BaseModel
|
1370
|
+
# @!attribute [r] paging
|
1371
|
+
#
|
1372
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging, nil]
|
1373
|
+
optional :paging,
|
1374
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging }
|
1375
|
+
|
1376
|
+
# @!parse
|
1377
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging]
|
1378
|
+
# attr_writer :paging
|
1379
|
+
|
1380
|
+
# @!attribute [r] pay_statements
|
1381
|
+
#
|
1382
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements, nil]
|
1383
|
+
optional :pay_statements,
|
1384
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements }
|
1385
|
+
|
1386
|
+
# @!parse
|
1387
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements]
|
1388
|
+
# attr_writer :pay_statements
|
1389
|
+
|
1390
|
+
# @!parse
|
1391
|
+
# # @param paging [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging]
|
1392
|
+
# # @param pay_statements [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements]
|
1393
|
+
# #
|
1394
|
+
# def initialize(paging: nil, pay_statements: nil, **) = super
|
1395
|
+
|
1396
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1397
|
+
|
1398
|
+
class Paging < FinchAPI::BaseModel
|
1399
|
+
# @!attribute count
|
1400
|
+
#
|
1401
|
+
# @return [Boolean]
|
1402
|
+
required :count, FinchAPI::BooleanModel
|
1403
|
+
|
1404
|
+
# @!attribute offset
|
1405
|
+
#
|
1406
|
+
# @return [Boolean]
|
1407
|
+
required :offset, FinchAPI::BooleanModel
|
1408
|
+
|
1409
|
+
# @!parse
|
1410
|
+
# # @param count [Boolean]
|
1411
|
+
# # @param offset [Boolean]
|
1412
|
+
# #
|
1413
|
+
# def initialize(count:, offset:, **) = super
|
1414
|
+
|
1415
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
class PayStatements < FinchAPI::BaseModel
|
1419
|
+
# @!attribute [r] earnings
|
1420
|
+
#
|
1421
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings, nil]
|
1422
|
+
optional :earnings,
|
1423
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings }
|
1424
|
+
|
1425
|
+
# @!parse
|
1426
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings]
|
1427
|
+
# attr_writer :earnings
|
1428
|
+
|
1429
|
+
# @!attribute [r] employee_deductions
|
1430
|
+
#
|
1431
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions, nil]
|
1432
|
+
optional :employee_deductions,
|
1433
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions }
|
1434
|
+
|
1435
|
+
# @!parse
|
1436
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions]
|
1437
|
+
# attr_writer :employee_deductions
|
1438
|
+
|
1439
|
+
# @!attribute [r] employer_contributions
|
1440
|
+
#
|
1441
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions, nil]
|
1442
|
+
optional :employer_contributions,
|
1443
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions }
|
1444
|
+
|
1445
|
+
# @!parse
|
1446
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions]
|
1447
|
+
# attr_writer :employer_contributions
|
1448
|
+
|
1449
|
+
# @!attribute [r] gross_pay
|
1450
|
+
#
|
1451
|
+
# @return [Boolean, nil]
|
1452
|
+
optional :gross_pay, FinchAPI::BooleanModel
|
1453
|
+
|
1454
|
+
# @!parse
|
1455
|
+
# # @return [Boolean]
|
1456
|
+
# attr_writer :gross_pay
|
1457
|
+
|
1458
|
+
# @!attribute [r] individual_id
|
1459
|
+
#
|
1460
|
+
# @return [Boolean, nil]
|
1461
|
+
optional :individual_id, FinchAPI::BooleanModel
|
1462
|
+
|
1463
|
+
# @!parse
|
1464
|
+
# # @return [Boolean]
|
1465
|
+
# attr_writer :individual_id
|
1466
|
+
|
1467
|
+
# @!attribute [r] net_pay
|
1468
|
+
#
|
1469
|
+
# @return [Boolean, nil]
|
1470
|
+
optional :net_pay, FinchAPI::BooleanModel
|
1471
|
+
|
1472
|
+
# @!parse
|
1473
|
+
# # @return [Boolean]
|
1474
|
+
# attr_writer :net_pay
|
1475
|
+
|
1476
|
+
# @!attribute [r] payment_method
|
1477
|
+
#
|
1478
|
+
# @return [Boolean, nil]
|
1479
|
+
optional :payment_method, FinchAPI::BooleanModel
|
1480
|
+
|
1481
|
+
# @!parse
|
1482
|
+
# # @return [Boolean]
|
1483
|
+
# attr_writer :payment_method
|
1484
|
+
|
1485
|
+
# @!attribute [r] taxes
|
1486
|
+
#
|
1487
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes, nil]
|
1488
|
+
optional :taxes,
|
1489
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes }
|
1490
|
+
|
1491
|
+
# @!parse
|
1492
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes]
|
1493
|
+
# attr_writer :taxes
|
1494
|
+
|
1495
|
+
# @!attribute [r] total_hours
|
1496
|
+
#
|
1497
|
+
# @return [Boolean, nil]
|
1498
|
+
optional :total_hours, FinchAPI::BooleanModel
|
1499
|
+
|
1500
|
+
# @!parse
|
1501
|
+
# # @return [Boolean]
|
1502
|
+
# attr_writer :total_hours
|
1503
|
+
|
1504
|
+
# @!attribute [r] type
|
1505
|
+
#
|
1506
|
+
# @return [Boolean, nil]
|
1507
|
+
optional :type, FinchAPI::BooleanModel
|
1508
|
+
|
1509
|
+
# @!parse
|
1510
|
+
# # @return [Boolean]
|
1511
|
+
# attr_writer :type
|
1512
|
+
|
1513
|
+
# @!parse
|
1514
|
+
# # @param earnings [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings]
|
1515
|
+
# # @param employee_deductions [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions]
|
1516
|
+
# # @param employer_contributions [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions]
|
1517
|
+
# # @param gross_pay [Boolean]
|
1518
|
+
# # @param individual_id [Boolean]
|
1519
|
+
# # @param net_pay [Boolean]
|
1520
|
+
# # @param payment_method [Boolean]
|
1521
|
+
# # @param taxes [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes]
|
1522
|
+
# # @param total_hours [Boolean]
|
1523
|
+
# # @param type [Boolean]
|
1524
|
+
# #
|
1525
|
+
# def initialize(
|
1526
|
+
# earnings: nil,
|
1527
|
+
# employee_deductions: nil,
|
1528
|
+
# employer_contributions: nil,
|
1529
|
+
# gross_pay: nil,
|
1530
|
+
# individual_id: nil,
|
1531
|
+
# net_pay: nil,
|
1532
|
+
# payment_method: nil,
|
1533
|
+
# taxes: nil,
|
1534
|
+
# total_hours: nil,
|
1535
|
+
# type: nil,
|
1536
|
+
# **
|
1537
|
+
# )
|
1538
|
+
# super
|
1539
|
+
# end
|
1540
|
+
|
1541
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1542
|
+
|
1543
|
+
class Earnings < FinchAPI::BaseModel
|
1544
|
+
# @!attribute [r] amount
|
1545
|
+
#
|
1546
|
+
# @return [Boolean, nil]
|
1547
|
+
optional :amount, FinchAPI::BooleanModel
|
1548
|
+
|
1549
|
+
# @!parse
|
1550
|
+
# # @return [Boolean]
|
1551
|
+
# attr_writer :amount
|
1552
|
+
|
1553
|
+
# @!attribute [r] currency
|
1554
|
+
#
|
1555
|
+
# @return [Boolean, nil]
|
1556
|
+
optional :currency, FinchAPI::BooleanModel
|
1557
|
+
|
1558
|
+
# @!parse
|
1559
|
+
# # @return [Boolean]
|
1560
|
+
# attr_writer :currency
|
1561
|
+
|
1562
|
+
# @!attribute [r] name
|
1563
|
+
#
|
1564
|
+
# @return [Boolean, nil]
|
1565
|
+
optional :name, FinchAPI::BooleanModel
|
1566
|
+
|
1567
|
+
# @!parse
|
1568
|
+
# # @return [Boolean]
|
1569
|
+
# attr_writer :name
|
1570
|
+
|
1571
|
+
# @!attribute [r] type
|
1572
|
+
#
|
1573
|
+
# @return [Boolean, nil]
|
1574
|
+
optional :type, FinchAPI::BooleanModel
|
1575
|
+
|
1576
|
+
# @!parse
|
1577
|
+
# # @return [Boolean]
|
1578
|
+
# attr_writer :type
|
1579
|
+
|
1580
|
+
# @!parse
|
1581
|
+
# # @param amount [Boolean]
|
1582
|
+
# # @param currency [Boolean]
|
1583
|
+
# # @param name [Boolean]
|
1584
|
+
# # @param type [Boolean]
|
1585
|
+
# #
|
1586
|
+
# def initialize(amount: nil, currency: nil, name: nil, type: nil, **) = super
|
1587
|
+
|
1588
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
class EmployeeDeductions < FinchAPI::BaseModel
|
1592
|
+
# @!attribute [r] amount
|
1593
|
+
#
|
1594
|
+
# @return [Boolean, nil]
|
1595
|
+
optional :amount, FinchAPI::BooleanModel
|
1596
|
+
|
1597
|
+
# @!parse
|
1598
|
+
# # @return [Boolean]
|
1599
|
+
# attr_writer :amount
|
1600
|
+
|
1601
|
+
# @!attribute [r] currency
|
1602
|
+
#
|
1603
|
+
# @return [Boolean, nil]
|
1604
|
+
optional :currency, FinchAPI::BooleanModel
|
1605
|
+
|
1606
|
+
# @!parse
|
1607
|
+
# # @return [Boolean]
|
1608
|
+
# attr_writer :currency
|
1609
|
+
|
1610
|
+
# @!attribute [r] name
|
1611
|
+
#
|
1612
|
+
# @return [Boolean, nil]
|
1613
|
+
optional :name, FinchAPI::BooleanModel
|
1614
|
+
|
1615
|
+
# @!parse
|
1616
|
+
# # @return [Boolean]
|
1617
|
+
# attr_writer :name
|
1618
|
+
|
1619
|
+
# @!attribute [r] pre_tax
|
1620
|
+
#
|
1621
|
+
# @return [Boolean, nil]
|
1622
|
+
optional :pre_tax, FinchAPI::BooleanModel
|
1623
|
+
|
1624
|
+
# @!parse
|
1625
|
+
# # @return [Boolean]
|
1626
|
+
# attr_writer :pre_tax
|
1627
|
+
|
1628
|
+
# @!attribute [r] type
|
1629
|
+
#
|
1630
|
+
# @return [Boolean, nil]
|
1631
|
+
optional :type, FinchAPI::BooleanModel
|
1632
|
+
|
1633
|
+
# @!parse
|
1634
|
+
# # @return [Boolean]
|
1635
|
+
# attr_writer :type
|
1636
|
+
|
1637
|
+
# @!parse
|
1638
|
+
# # @param amount [Boolean]
|
1639
|
+
# # @param currency [Boolean]
|
1640
|
+
# # @param name [Boolean]
|
1641
|
+
# # @param pre_tax [Boolean]
|
1642
|
+
# # @param type [Boolean]
|
1643
|
+
# #
|
1644
|
+
# def initialize(amount: nil, currency: nil, name: nil, pre_tax: nil, type: nil, **) = super
|
1645
|
+
|
1646
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
class EmployerContributions < FinchAPI::BaseModel
|
1650
|
+
# @!attribute [r] amount
|
1651
|
+
#
|
1652
|
+
# @return [Boolean, nil]
|
1653
|
+
optional :amount, FinchAPI::BooleanModel
|
1654
|
+
|
1655
|
+
# @!parse
|
1656
|
+
# # @return [Boolean]
|
1657
|
+
# attr_writer :amount
|
1658
|
+
|
1659
|
+
# @!attribute [r] currency
|
1660
|
+
#
|
1661
|
+
# @return [Boolean, nil]
|
1662
|
+
optional :currency, FinchAPI::BooleanModel
|
1663
|
+
|
1664
|
+
# @!parse
|
1665
|
+
# # @return [Boolean]
|
1666
|
+
# attr_writer :currency
|
1667
|
+
|
1668
|
+
# @!attribute [r] name
|
1669
|
+
#
|
1670
|
+
# @return [Boolean, nil]
|
1671
|
+
optional :name, FinchAPI::BooleanModel
|
1672
|
+
|
1673
|
+
# @!parse
|
1674
|
+
# # @return [Boolean]
|
1675
|
+
# attr_writer :name
|
1676
|
+
|
1677
|
+
# @!parse
|
1678
|
+
# # @param amount [Boolean]
|
1679
|
+
# # @param currency [Boolean]
|
1680
|
+
# # @param name [Boolean]
|
1681
|
+
# #
|
1682
|
+
# def initialize(amount: nil, currency: nil, name: nil, **) = super
|
1683
|
+
|
1684
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
class Taxes < FinchAPI::BaseModel
|
1688
|
+
# @!attribute [r] amount
|
1689
|
+
#
|
1690
|
+
# @return [Boolean, nil]
|
1691
|
+
optional :amount, FinchAPI::BooleanModel
|
1692
|
+
|
1693
|
+
# @!parse
|
1694
|
+
# # @return [Boolean]
|
1695
|
+
# attr_writer :amount
|
1696
|
+
|
1697
|
+
# @!attribute [r] currency
|
1698
|
+
#
|
1699
|
+
# @return [Boolean, nil]
|
1700
|
+
optional :currency, FinchAPI::BooleanModel
|
1701
|
+
|
1702
|
+
# @!parse
|
1703
|
+
# # @return [Boolean]
|
1704
|
+
# attr_writer :currency
|
1705
|
+
|
1706
|
+
# @!attribute [r] employer
|
1707
|
+
#
|
1708
|
+
# @return [Boolean, nil]
|
1709
|
+
optional :employer, FinchAPI::BooleanModel
|
1710
|
+
|
1711
|
+
# @!parse
|
1712
|
+
# # @return [Boolean]
|
1713
|
+
# attr_writer :employer
|
1714
|
+
|
1715
|
+
# @!attribute [r] name
|
1716
|
+
#
|
1717
|
+
# @return [Boolean, nil]
|
1718
|
+
optional :name, FinchAPI::BooleanModel
|
1719
|
+
|
1720
|
+
# @!parse
|
1721
|
+
# # @return [Boolean]
|
1722
|
+
# attr_writer :name
|
1723
|
+
|
1724
|
+
# @!attribute [r] type
|
1725
|
+
#
|
1726
|
+
# @return [Boolean, nil]
|
1727
|
+
optional :type, FinchAPI::BooleanModel
|
1728
|
+
|
1729
|
+
# @!parse
|
1730
|
+
# # @return [Boolean]
|
1731
|
+
# attr_writer :type
|
1732
|
+
|
1733
|
+
# @!parse
|
1734
|
+
# # @param amount [Boolean]
|
1735
|
+
# # @param currency [Boolean]
|
1736
|
+
# # @param employer [Boolean]
|
1737
|
+
# # @param name [Boolean]
|
1738
|
+
# # @param type [Boolean]
|
1739
|
+
# #
|
1740
|
+
# def initialize(amount: nil, currency: nil, employer: nil, name: nil, type: nil, **) = super
|
1741
|
+
|
1742
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1743
|
+
end
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
class Payment < FinchAPI::BaseModel
|
1748
|
+
# @!attribute [r] id
|
1749
|
+
#
|
1750
|
+
# @return [Boolean, nil]
|
1751
|
+
optional :id, FinchAPI::BooleanModel
|
1752
|
+
|
1753
|
+
# @!parse
|
1754
|
+
# # @return [Boolean]
|
1755
|
+
# attr_writer :id
|
1756
|
+
|
1757
|
+
# @!attribute [r] company_debit
|
1758
|
+
#
|
1759
|
+
# @return [Boolean, nil]
|
1760
|
+
optional :company_debit, FinchAPI::BooleanModel
|
1761
|
+
|
1762
|
+
# @!parse
|
1763
|
+
# # @return [Boolean]
|
1764
|
+
# attr_writer :company_debit
|
1765
|
+
|
1766
|
+
# @!attribute [r] debit_date
|
1767
|
+
#
|
1768
|
+
# @return [Boolean, nil]
|
1769
|
+
optional :debit_date, FinchAPI::BooleanModel
|
1770
|
+
|
1771
|
+
# @!parse
|
1772
|
+
# # @return [Boolean]
|
1773
|
+
# attr_writer :debit_date
|
1774
|
+
|
1775
|
+
# @!attribute [r] employee_taxes
|
1776
|
+
#
|
1777
|
+
# @return [Boolean, nil]
|
1778
|
+
optional :employee_taxes, FinchAPI::BooleanModel
|
1779
|
+
|
1780
|
+
# @!parse
|
1781
|
+
# # @return [Boolean]
|
1782
|
+
# attr_writer :employee_taxes
|
1783
|
+
|
1784
|
+
# @!attribute [r] employer_taxes
|
1785
|
+
#
|
1786
|
+
# @return [Boolean, nil]
|
1787
|
+
optional :employer_taxes, FinchAPI::BooleanModel
|
1788
|
+
|
1789
|
+
# @!parse
|
1790
|
+
# # @return [Boolean]
|
1791
|
+
# attr_writer :employer_taxes
|
1792
|
+
|
1793
|
+
# @!attribute [r] gross_pay
|
1794
|
+
#
|
1795
|
+
# @return [Boolean, nil]
|
1796
|
+
optional :gross_pay, FinchAPI::BooleanModel
|
1797
|
+
|
1798
|
+
# @!parse
|
1799
|
+
# # @return [Boolean]
|
1800
|
+
# attr_writer :gross_pay
|
1801
|
+
|
1802
|
+
# @!attribute [r] individual_ids
|
1803
|
+
#
|
1804
|
+
# @return [Boolean, nil]
|
1805
|
+
optional :individual_ids, FinchAPI::BooleanModel
|
1806
|
+
|
1807
|
+
# @!parse
|
1808
|
+
# # @return [Boolean]
|
1809
|
+
# attr_writer :individual_ids
|
1810
|
+
|
1811
|
+
# @!attribute [r] net_pay
|
1812
|
+
#
|
1813
|
+
# @return [Boolean, nil]
|
1814
|
+
optional :net_pay, FinchAPI::BooleanModel
|
1815
|
+
|
1816
|
+
# @!parse
|
1817
|
+
# # @return [Boolean]
|
1818
|
+
# attr_writer :net_pay
|
1819
|
+
|
1820
|
+
# @!attribute [r] pay_date
|
1821
|
+
#
|
1822
|
+
# @return [Boolean, nil]
|
1823
|
+
optional :pay_date, FinchAPI::BooleanModel
|
1824
|
+
|
1825
|
+
# @!parse
|
1826
|
+
# # @return [Boolean]
|
1827
|
+
# attr_writer :pay_date
|
1828
|
+
|
1829
|
+
# @!attribute [r] pay_frequencies
|
1830
|
+
#
|
1831
|
+
# @return [Boolean, nil]
|
1832
|
+
optional :pay_frequencies, FinchAPI::BooleanModel
|
1833
|
+
|
1834
|
+
# @!parse
|
1835
|
+
# # @return [Boolean]
|
1836
|
+
# attr_writer :pay_frequencies
|
1837
|
+
|
1838
|
+
# @!attribute [r] pay_group_ids
|
1839
|
+
#
|
1840
|
+
# @return [Boolean, nil]
|
1841
|
+
optional :pay_group_ids, FinchAPI::BooleanModel
|
1842
|
+
|
1843
|
+
# @!parse
|
1844
|
+
# # @return [Boolean]
|
1845
|
+
# attr_writer :pay_group_ids
|
1846
|
+
|
1847
|
+
# @!attribute [r] pay_period
|
1848
|
+
#
|
1849
|
+
# @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod, nil]
|
1850
|
+
optional :pay_period,
|
1851
|
+
-> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod }
|
1852
|
+
|
1853
|
+
# @!parse
|
1854
|
+
# # @return [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod]
|
1855
|
+
# attr_writer :pay_period
|
1856
|
+
|
1857
|
+
# @!parse
|
1858
|
+
# # @param id [Boolean]
|
1859
|
+
# # @param company_debit [Boolean]
|
1860
|
+
# # @param debit_date [Boolean]
|
1861
|
+
# # @param employee_taxes [Boolean]
|
1862
|
+
# # @param employer_taxes [Boolean]
|
1863
|
+
# # @param gross_pay [Boolean]
|
1864
|
+
# # @param individual_ids [Boolean]
|
1865
|
+
# # @param net_pay [Boolean]
|
1866
|
+
# # @param pay_date [Boolean]
|
1867
|
+
# # @param pay_frequencies [Boolean]
|
1868
|
+
# # @param pay_group_ids [Boolean]
|
1869
|
+
# # @param pay_period [FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod]
|
1870
|
+
# #
|
1871
|
+
# def initialize(
|
1872
|
+
# id: nil,
|
1873
|
+
# company_debit: nil,
|
1874
|
+
# debit_date: nil,
|
1875
|
+
# employee_taxes: nil,
|
1876
|
+
# employer_taxes: nil,
|
1877
|
+
# gross_pay: nil,
|
1878
|
+
# individual_ids: nil,
|
1879
|
+
# net_pay: nil,
|
1880
|
+
# pay_date: nil,
|
1881
|
+
# pay_frequencies: nil,
|
1882
|
+
# pay_group_ids: nil,
|
1883
|
+
# pay_period: nil,
|
1884
|
+
# **
|
1885
|
+
# )
|
1886
|
+
# super
|
1887
|
+
# end
|
1888
|
+
|
1889
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1890
|
+
|
1891
|
+
class PayPeriod < FinchAPI::BaseModel
|
1892
|
+
# @!attribute [r] end_date
|
1893
|
+
#
|
1894
|
+
# @return [Boolean, nil]
|
1895
|
+
optional :end_date, FinchAPI::BooleanModel
|
1896
|
+
|
1897
|
+
# @!parse
|
1898
|
+
# # @return [Boolean]
|
1899
|
+
# attr_writer :end_date
|
1900
|
+
|
1901
|
+
# @!attribute [r] start_date
|
1902
|
+
#
|
1903
|
+
# @return [Boolean, nil]
|
1904
|
+
optional :start_date, FinchAPI::BooleanModel
|
1905
|
+
|
1906
|
+
# @!parse
|
1907
|
+
# # @return [Boolean]
|
1908
|
+
# attr_writer :start_date
|
1909
|
+
|
1910
|
+
# @!parse
|
1911
|
+
# # @param end_date [Boolean]
|
1912
|
+
# # @param start_date [Boolean]
|
1913
|
+
# #
|
1914
|
+
# def initialize(end_date: nil, start_date: nil, **) = super
|
1915
|
+
|
1916
|
+
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
1917
|
+
end
|
1918
|
+
end
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# @abstract
|
1922
|
+
#
|
1923
|
+
# The type of authentication method.
|
1924
|
+
#
|
1925
|
+
# @example
|
1926
|
+
# ```ruby
|
1927
|
+
# case type
|
1928
|
+
# in :assisted
|
1929
|
+
# # ...
|
1930
|
+
# in :credential
|
1931
|
+
# # ...
|
1932
|
+
# in :api_token
|
1933
|
+
# # ...
|
1934
|
+
# in :api_credential
|
1935
|
+
# # ...
|
1936
|
+
# in :oauth
|
1937
|
+
# # ...
|
1938
|
+
# end
|
1939
|
+
# ```
|
1940
|
+
class Type < FinchAPI::Enum
|
1941
|
+
ASSISTED = :assisted
|
1942
|
+
CREDENTIAL = :credential
|
1943
|
+
API_TOKEN = :api_token
|
1944
|
+
API_CREDENTIAL = :api_credential
|
1945
|
+
OAUTH = :oauth
|
1946
|
+
|
1947
|
+
finalize!
|
1948
|
+
|
1949
|
+
# @!parse
|
1950
|
+
# # @return [Array<Symbol>]
|
1951
|
+
# #
|
1952
|
+
# def self.values; end
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# @abstract
|
1958
|
+
#
|
1959
|
+
# @example
|
1960
|
+
# ```ruby
|
1961
|
+
# case event_type
|
1962
|
+
# in :"account.updated"
|
1963
|
+
# # ...
|
1964
|
+
# end
|
1965
|
+
# ```
|
1966
|
+
class EventType < FinchAPI::Enum
|
1967
|
+
ACCOUNT_UPDATED = :"account.updated"
|
1968
|
+
|
1969
|
+
finalize!
|
1970
|
+
|
1971
|
+
# @!parse
|
1972
|
+
# # @return [Array<Symbol>]
|
1973
|
+
# #
|
1974
|
+
# def self.values; end
|
1975
|
+
end
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
end
|