finch-api 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ignore +2 -0
- data/CHANGELOG.md +315 -0
- data/README.md +86 -26
- data/SECURITY.md +27 -0
- data/lib/finch_api/client.rb +142 -0
- data/lib/finch_api/errors.rb +192 -0
- data/lib/finch_api/file_part.rb +55 -0
- data/lib/finch_api/internal/individuals_page.rb +93 -0
- data/lib/finch_api/internal/page.rb +93 -0
- data/lib/finch_api/internal/responses_page.rb +76 -0
- data/lib/finch_api/internal/single_page.rb +73 -0
- data/lib/finch_api/internal/transport/base_client.rb +483 -0
- data/lib/finch_api/internal/transport/pooled_net_requester.rb +193 -0
- data/lib/finch_api/internal/type/array_of.rb +154 -0
- data/lib/finch_api/internal/type/base_model.rb +445 -0
- data/lib/finch_api/internal/type/base_page.rb +55 -0
- data/lib/finch_api/internal/type/boolean.rb +63 -0
- data/lib/finch_api/internal/type/converter.rb +274 -0
- data/lib/finch_api/internal/type/enum.rb +132 -0
- data/lib/finch_api/internal/type/file_input.rb +96 -0
- data/lib/finch_api/internal/type/hash_of.rb +174 -0
- data/lib/finch_api/internal/type/request_parameters.rb +48 -0
- data/lib/finch_api/internal/type/union.rb +235 -0
- data/lib/finch_api/internal/type/unknown.rb +67 -0
- data/lib/finch_api/internal/util.rb +790 -0
- data/lib/finch_api/internal.rb +11 -0
- data/lib/finch_api/models/access_token_create_params.rb +38 -0
- data/lib/finch_api/models/account_disconnect_params.rb +14 -0
- data/lib/finch_api/models/account_introspect_params.rb +14 -0
- data/lib/finch_api/models/account_update_event.rb +1161 -0
- data/lib/finch_api/models/base_webhook_event.rb +44 -0
- data/lib/finch_api/models/company_event.rb +30 -0
- data/lib/finch_api/models/connect/session_new_params.rb +146 -0
- data/lib/finch_api/models/connect/session_new_response.rb +27 -0
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +74 -0
- data/lib/finch_api/models/connect/session_reauthenticate_response.rb +27 -0
- data/lib/finch_api/models/connection_status_type.rb +19 -0
- data/lib/finch_api/models/create_access_token_response.rb +135 -0
- data/lib/finch_api/models/directory_event.rb +43 -0
- data/lib/finch_api/models/disconnect_response.rb +17 -0
- data/lib/finch_api/models/employment_event.rb +43 -0
- data/lib/finch_api/models/hris/benefit_contribution.rb +39 -0
- data/lib/finch_api/models/hris/benefit_create_params.rb +101 -0
- data/lib/finch_api/models/hris/benefit_features_and_operations.rb +142 -0
- data/lib/finch_api/models/hris/benefit_frequency.rb +19 -0
- data/lib/finch_api/models/hris/benefit_list_params.rb +16 -0
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +16 -0
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_response.rb +114 -0
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +16 -0
- data/lib/finch_api/models/hris/benefit_type.rb +35 -0
- data/lib/finch_api/models/hris/benefit_update_params.rb +24 -0
- data/lib/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rb +20 -0
- data/lib/finch_api/models/hris/benefits/individual_benefit.rb +97 -0
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +193 -0
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +18 -0
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_response.rb +28 -0
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +32 -0
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +26 -0
- data/lib/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rb +20 -0
- data/lib/finch_api/models/hris/benefits_support.rb +86 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +131 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb +161 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +20 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb +169 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +20 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb +161 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +26 -0
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb +161 -0
- data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +80 -0
- data/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +102 -0
- data/lib/finch_api/models/hris/company.rb +241 -0
- data/lib/finch_api/models/hris/company_benefit.rb +98 -0
- data/lib/finch_api/models/hris/company_retrieve_params.rb +16 -0
- data/lib/finch_api/models/hris/create_company_benefits_response.rb +26 -0
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +32 -0
- data/lib/finch_api/models/hris/directory_list_params.rb +32 -0
- data/lib/finch_api/models/hris/document_list_params.rb +66 -0
- data/lib/finch_api/models/hris/document_list_response.rb +24 -0
- data/lib/finch_api/models/hris/document_response.rb +70 -0
- data/lib/finch_api/models/hris/document_retreive_params.rb +16 -0
- data/lib/finch_api/models/hris/document_retreive_response.rb +26 -0
- data/lib/finch_api/models/hris/employment_data.rb +305 -0
- data/lib/finch_api/models/hris/employment_data_response.rb +33 -0
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +43 -0
- data/lib/finch_api/models/hris/individual.rb +253 -0
- data/lib/finch_api/models/hris/individual_in_directory.rb +95 -0
- data/lib/finch_api/models/hris/individual_response.rb +30 -0
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +49 -0
- data/lib/finch_api/models/hris/pay_statement.rb +483 -0
- data/lib/finch_api/models/hris/pay_statement_response.rb +30 -0
- data/lib/finch_api/models/hris/pay_statement_response_body.rb +25 -0
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +52 -0
- data/lib/finch_api/models/hris/payment.rb +138 -0
- data/lib/finch_api/models/hris/payment_list_params.rb +39 -0
- data/lib/finch_api/models/hris/support_per_benefit_type.rb +23 -0
- data/lib/finch_api/models/hris/supported_benefit.rb +113 -0
- data/lib/finch_api/models/hris/update_company_benefit_response.rb +26 -0
- data/lib/finch_api/models/hris/w42005.rb +122 -0
- data/lib/finch_api/models/hris/w42020.rb +139 -0
- data/lib/finch_api/models/income.rb +70 -0
- data/lib/finch_api/models/individual_event.rb +43 -0
- data/lib/finch_api/models/introspection.rb +287 -0
- data/lib/finch_api/models/job_completion_event.rb +54 -0
- data/lib/finch_api/models/jobs/automated_async_job.rb +133 -0
- data/lib/finch_api/models/jobs/automated_create_params.rb +52 -0
- data/lib/finch_api/models/jobs/automated_create_response.rb +43 -0
- data/lib/finch_api/models/jobs/automated_list_params.rb +32 -0
- data/lib/finch_api/models/jobs/automated_list_response.rb +76 -0
- data/lib/finch_api/models/jobs/automated_retrieve_params.rb +16 -0
- data/lib/finch_api/models/jobs/manual_async_job.rb +46 -0
- data/lib/finch_api/models/jobs/manual_retrieve_params.rb +16 -0
- data/lib/finch_api/models/location.rb +70 -0
- data/lib/finch_api/models/money.rb +23 -0
- data/lib/finch_api/models/operation_support.rb +24 -0
- data/lib/finch_api/models/operation_support_matrix.rb +67 -0
- data/lib/finch_api/models/paging.rb +24 -0
- data/lib/finch_api/models/pay_statement_event.rb +51 -0
- data/lib/finch_api/models/payment_event.rb +51 -0
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +28 -0
- data/lib/finch_api/models/payroll/pay_group_list_response.rb +53 -0
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +16 -0
- data/lib/finch_api/models/payroll/pay_group_retrieve_response.rb +60 -0
- data/lib/finch_api/models/provider.rb +1203 -0
- data/lib/finch_api/models/provider_list_params.rb +14 -0
- data/lib/finch_api/models/request_forwarding_forward_params.rb +69 -0
- data/lib/finch_api/models/request_forwarding_forward_response.rb +112 -0
- data/lib/finch_api/models/sandbox/company_update_params.rb +241 -0
- data/lib/finch_api/models/sandbox/company_update_response.rb +237 -0
- data/lib/finch_api/models/sandbox/connection_create_params.rb +65 -0
- data/lib/finch_api/models/sandbox/connection_create_response.rb +89 -0
- data/lib/finch_api/models/sandbox/connections/account_create_params.rb +66 -0
- data/lib/finch_api/models/sandbox/connections/account_create_response.rb +84 -0
- data/lib/finch_api/models/sandbox/connections/account_update_params.rb +24 -0
- data/lib/finch_api/models/sandbox/connections/account_update_response.rb +77 -0
- data/lib/finch_api/models/sandbox/directory_create_params.rb +489 -0
- data/lib/finch_api/models/sandbox/directory_create_response.rb +10 -0
- data/lib/finch_api/models/sandbox/employment_update_params.rb +290 -0
- data/lib/finch_api/models/sandbox/employment_update_response.rb +298 -0
- data/lib/finch_api/models/sandbox/individual_update_params.rb +208 -0
- data/lib/finch_api/models/sandbox/individual_update_response.rb +217 -0
- data/lib/finch_api/models/sandbox/job_create_params.rb +34 -0
- data/lib/finch_api/models/sandbox/job_create_response.rb +43 -0
- data/lib/finch_api/models/sandbox/jobs/configuration_retrieve_params.rb +18 -0
- data/lib/finch_api/models/sandbox/jobs/configuration_retrieve_response.rb +13 -0
- data/lib/finch_api/models/sandbox/jobs/configuration_update_params.rb +18 -0
- data/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rb +50 -0
- data/lib/finch_api/models/sandbox/payment_create_params.rb +527 -0
- data/lib/finch_api/models/sandbox/payment_create_response.rb +27 -0
- data/lib/finch_api/models/webhook_event.rb +30 -0
- data/lib/finch_api/request_options.rb +73 -0
- data/lib/finch_api/resources/access_tokens.rb +38 -0
- data/lib/finch_api/resources/account.rb +50 -0
- data/lib/finch_api/resources/connect/sessions.rb +90 -0
- data/lib/finch_api/resources/connect.rb +18 -0
- data/lib/finch_api/resources/hris/benefits/individuals.rb +119 -0
- data/lib/finch_api/resources/hris/benefits.rb +134 -0
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +120 -0
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +61 -0
- data/lib/finch_api/resources/hris/company.rb +38 -0
- data/lib/finch_api/resources/hris/directory.rb +46 -0
- data/lib/finch_api/resources/hris/documents.rb +71 -0
- data/lib/finch_api/resources/hris/employments.rb +39 -0
- data/lib/finch_api/resources/hris/individuals.rb +39 -0
- data/lib/finch_api/resources/hris/pay_statements.rb +42 -0
- data/lib/finch_api/resources/hris/payments.rb +46 -0
- data/lib/finch_api/resources/hris.rb +46 -0
- data/lib/finch_api/resources/jobs/automated.rb +98 -0
- data/lib/finch_api/resources/jobs/manual.rb +36 -0
- data/lib/finch_api/resources/jobs.rb +22 -0
- data/lib/finch_api/resources/payroll/pay_groups.rb +58 -0
- data/lib/finch_api/resources/payroll.rb +18 -0
- data/lib/finch_api/resources/providers.rb +33 -0
- data/lib/finch_api/resources/request_forwarding.rb +55 -0
- data/lib/finch_api/resources/sandbox/company.rb +56 -0
- data/lib/finch_api/resources/sandbox/connections/accounts.rb +72 -0
- data/lib/finch_api/resources/sandbox/connections.rb +52 -0
- data/lib/finch_api/resources/sandbox/directory.rb +42 -0
- data/lib/finch_api/resources/sandbox/employment.rb +79 -0
- data/lib/finch_api/resources/sandbox/individual.rb +67 -0
- data/lib/finch_api/resources/sandbox/jobs/configuration.rb +58 -0
- data/lib/finch_api/resources/sandbox/jobs.rb +42 -0
- data/lib/finch_api/resources/sandbox/payment.rb +39 -0
- data/lib/finch_api/resources/sandbox.rb +42 -0
- data/lib/finch_api/resources/webhooks.rb +14 -0
- data/lib/finch_api/version.rb +5 -0
- data/lib/finch_api.rb +210 -0
- data/manifest.yaml +1 -0
- data/rbi/finch_api/client.rbi +94 -0
- data/rbi/finch_api/errors.rbi +143 -0
- data/rbi/finch_api/file_part.rbi +34 -0
- data/rbi/finch_api/internal/individuals_page.rbi +21 -0
- data/rbi/finch_api/internal/page.rbi +21 -0
- data/rbi/finch_api/internal/responses_page.rbi +18 -0
- data/rbi/finch_api/internal/single_page.rbi +24 -0
- data/rbi/finch_api/internal/transport/base_client.rbi +213 -0
- data/rbi/finch_api/internal/transport/pooled_net_requester.rbi +60 -0
- data/rbi/finch_api/internal/type/array_of.rbi +88 -0
- data/rbi/finch_api/internal/type/base_model.rbi +219 -0
- data/rbi/finch_api/internal/type/base_page.rbi +38 -0
- data/rbi/finch_api/internal/type/boolean.rbi +48 -0
- data/rbi/finch_api/internal/type/converter.rbi +120 -0
- data/rbi/finch_api/internal/type/enum.rbi +64 -0
- data/rbi/finch_api/internal/type/file_input.rbi +50 -0
- data/rbi/finch_api/internal/type/hash_of.rbi +88 -0
- data/rbi/finch_api/internal/type/request_parameters.rbi +21 -0
- data/rbi/finch_api/internal/type/union.rbi +75 -0
- data/rbi/finch_api/internal/type/unknown.rbi +40 -0
- data/rbi/finch_api/internal/util.rbi +299 -0
- data/rbi/finch_api/internal.rbi +11 -0
- data/rbi/finch_api/models/access_token_create_params.rbi +57 -0
- data/rbi/finch_api/models/account_disconnect_params.rbi +19 -0
- data/rbi/finch_api/models/account_introspect_params.rbi +19 -0
- data/rbi/finch_api/models/account_update_event.rbi +2316 -0
- data/rbi/finch_api/models/base_webhook_event.rbi +40 -0
- data/rbi/finch_api/models/company_event.rbi +48 -0
- data/rbi/finch_api/models/connect/session_new_params.rbi +182 -0
- data/rbi/finch_api/models/connect/session_new_response.rbi +27 -0
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +95 -0
- data/rbi/finch_api/models/connect/session_reauthenticate_response.rbi +27 -0
- data/rbi/finch_api/models/connection_status_type.rbi +23 -0
- data/rbi/finch_api/models/create_access_token_response.rbi +151 -0
- data/rbi/finch_api/models/directory_event.rbi +73 -0
- data/rbi/finch_api/models/disconnect_response.rbi +19 -0
- data/rbi/finch_api/models/employment_event.rbi +73 -0
- data/rbi/finch_api/models/hris/benefit_contribution.rbi +52 -0
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +159 -0
- data/rbi/finch_api/models/hris/benefit_features_and_operations.rbi +293 -0
- data/rbi/finch_api/models/hris/benefit_frequency.rbi +22 -0
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +21 -0
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +21 -0
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_response.rbi +209 -0
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +21 -0
- data/rbi/finch_api/models/hris/benefit_type.rbi +38 -0
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +37 -0
- data/rbi/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbi +20 -0
- data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +158 -0
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +433 -0
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +23 -0
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi +27 -0
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +38 -0
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +38 -0
- data/rbi/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbi +20 -0
- data/rbi/finch_api/models/hris/benefits_support.rbi +195 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +249 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi +287 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +25 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi +298 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +25 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi +287 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +36 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi +287 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +132 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_response.rbi +158 -0
- data/rbi/finch_api/models/hris/company.rbi +303 -0
- data/rbi/finch_api/models/hris/company_benefit.rbi +146 -0
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +21 -0
- data/rbi/finch_api/models/hris/create_company_benefits_response.rbi +25 -0
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +44 -0
- data/rbi/finch_api/models/hris/directory_list_params.rbi +44 -0
- data/rbi/finch_api/models/hris/document_list_params.rbi +92 -0
- data/rbi/finch_api/models/hris/document_list_response.rbi +33 -0
- data/rbi/finch_api/models/hris/document_response.rbi +92 -0
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +21 -0
- data/rbi/finch_api/models/hris/document_retreive_response.rbi +16 -0
- data/rbi/finch_api/models/hris/employment_data.rbi +365 -0
- data/rbi/finch_api/models/hris/employment_data_response.rbi +45 -0
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +57 -0
- data/rbi/finch_api/models/hris/individual.rbi +317 -0
- data/rbi/finch_api/models/hris/individual_in_directory.rbi +127 -0
- data/rbi/finch_api/models/hris/individual_response.rbi +48 -0
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +88 -0
- data/rbi/finch_api/models/hris/pay_statement.rbi +675 -0
- data/rbi/finch_api/models/hris/pay_statement_response.rbi +43 -0
- data/rbi/finch_api/models/hris/pay_statement_response_body.rbi +45 -0
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +71 -0
- data/rbi/finch_api/models/hris/payment.rbi +168 -0
- data/rbi/finch_api/models/hris/payment_list_params.rbi +44 -0
- data/rbi/finch_api/models/hris/support_per_benefit_type.rbi +46 -0
- data/rbi/finch_api/models/hris/supported_benefit.rbi +145 -0
- data/rbi/finch_api/models/hris/update_company_benefit_response.rbi +25 -0
- data/rbi/finch_api/models/hris/w42005.rbi +168 -0
- data/rbi/finch_api/models/hris/w42020.rbi +182 -0
- data/rbi/finch_api/models/income.rbi +82 -0
- data/rbi/finch_api/models/individual_event.rbi +73 -0
- data/rbi/finch_api/models/introspection.rbi +362 -0
- data/rbi/finch_api/models/job_completion_event.rbi +82 -0
- data/rbi/finch_api/models/jobs/automated_async_job.rbi +162 -0
- data/rbi/finch_api/models/jobs/automated_create_params.rbi +79 -0
- data/rbi/finch_api/models/jobs/automated_create_response.rbi +50 -0
- data/rbi/finch_api/models/jobs/automated_list_params.rbi +44 -0
- data/rbi/finch_api/models/jobs/automated_list_response.rbi +129 -0
- data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +21 -0
- data/rbi/finch_api/models/jobs/manual_async_job.rbi +60 -0
- data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +21 -0
- data/rbi/finch_api/models/location.rbi +83 -0
- data/rbi/finch_api/models/money.rbi +26 -0
- data/rbi/finch_api/models/operation_support.rbi +28 -0
- data/rbi/finch_api/models/operation_support_matrix.rbi +115 -0
- data/rbi/finch_api/models/paging.rbi +28 -0
- data/rbi/finch_api/models/pay_statement_event.rbi +82 -0
- data/rbi/finch_api/models/payment_event.rbi +73 -0
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +46 -0
- data/rbi/finch_api/models/payroll/pay_group_list_response.rbi +86 -0
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +21 -0
- data/rbi/finch_api/models/payroll/pay_group_retrieve_response.rbi +84 -0
- data/rbi/finch_api/models/provider.rbi +2250 -0
- data/rbi/finch_api/models/provider_list_params.rbi +19 -0
- data/rbi/finch_api/models/request_forwarding_forward_params.rbi +83 -0
- data/rbi/finch_api/models/request_forwarding_forward_response.rbi +143 -0
- data/rbi/finch_api/models/sandbox/company_update_params.rbi +327 -0
- data/rbi/finch_api/models/sandbox/company_update_response.rbi +327 -0
- data/rbi/finch_api/models/sandbox/connection_create_params.rbi +100 -0
- data/rbi/finch_api/models/sandbox/connection_create_response.rbi +107 -0
- data/rbi/finch_api/models/sandbox/connections/account_create_params.rbi +115 -0
- data/rbi/finch_api/models/sandbox/connections/account_create_response.rbi +114 -0
- data/rbi/finch_api/models/sandbox/connections/account_update_params.rbi +40 -0
- data/rbi/finch_api/models/sandbox/connections/account_update_response.rbi +111 -0
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +688 -0
- data/rbi/finch_api/models/sandbox/directory_create_response.rbi +13 -0
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +391 -0
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +402 -0
- data/rbi/finch_api/models/sandbox/individual_update_params.rbi +281 -0
- data/rbi/finch_api/models/sandbox/individual_update_response.rbi +291 -0
- data/rbi/finch_api/models/sandbox/job_create_params.rbi +49 -0
- data/rbi/finch_api/models/sandbox/job_create_response.rbi +50 -0
- data/rbi/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi +23 -0
- data/rbi/finch_api/models/sandbox/jobs/configuration_retrieve_response.rbi +15 -0
- data/rbi/finch_api/models/sandbox/jobs/configuration_update_params.rbi +23 -0
- data/rbi/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi +82 -0
- data/rbi/finch_api/models/sandbox/payment_create_params.rbi +921 -0
- data/rbi/finch_api/models/sandbox/payment_create_response.rbi +27 -0
- data/rbi/finch_api/models/webhook_event.rbi +17 -0
- data/rbi/finch_api/request_options.rbi +48 -0
- data/rbi/finch_api/resources/access_tokens.rbi +24 -0
- data/rbi/finch_api/resources/account.rbi +19 -0
- data/rbi/finch_api/resources/connect/sessions.rbi +66 -0
- data/rbi/finch_api/resources/connect.rbi +14 -0
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +72 -0
- data/rbi/finch_api/resources/hris/benefits.rbi +75 -0
- data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +80 -0
- data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +48 -0
- data/rbi/finch_api/resources/hris/company.rbi +20 -0
- data/rbi/finch_api/resources/hris/directory.rbi +25 -0
- data/rbi/finch_api/resources/hris/documents.rbi +49 -0
- data/rbi/finch_api/resources/hris/employments.rbi +26 -0
- data/rbi/finch_api/resources/hris/individuals.rbi +26 -0
- data/rbi/finch_api/resources/hris/pay_statements.rbi +29 -0
- data/rbi/finch_api/resources/hris/payments.rbi +27 -0
- data/rbi/finch_api/resources/hris.rbi +35 -0
- data/rbi/finch_api/resources/jobs/automated.rbi +62 -0
- data/rbi/finch_api/resources/jobs/manual.rbi +21 -0
- data/rbi/finch_api/resources/jobs.rbi +17 -0
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +31 -0
- data/rbi/finch_api/resources/payroll.rbi +14 -0
- data/rbi/finch_api/resources/providers.rbi +18 -0
- data/rbi/finch_api/resources/request_forwarding.rbi +46 -0
- data/rbi/finch_api/resources/sandbox/company.rbi +51 -0
- data/rbi/finch_api/resources/sandbox/connections/accounts.rbi +47 -0
- data/rbi/finch_api/resources/sandbox/connections.rbi +38 -0
- data/rbi/finch_api/resources/sandbox/directory.rbi +27 -0
- data/rbi/finch_api/resources/sandbox/employment.rbi +83 -0
- data/rbi/finch_api/resources/sandbox/individual.rbi +70 -0
- data/rbi/finch_api/resources/sandbox/jobs/configuration.rbi +33 -0
- data/rbi/finch_api/resources/sandbox/jobs.rbi +29 -0
- data/rbi/finch_api/resources/sandbox/payment.rbi +25 -0
- data/rbi/finch_api/resources/sandbox.rbi +32 -0
- data/rbi/finch_api/resources/webhooks.rbi +11 -0
- data/rbi/finch_api/version.rbi +5 -0
- data/sig/finch_api/client.rbs +54 -0
- data/sig/finch_api/errors.rbs +101 -0
- data/sig/finch_api/file_part.rbs +21 -0
- data/sig/finch_api/internal/individuals_page.rbs +13 -0
- data/sig/finch_api/internal/page.rbs +13 -0
- data/sig/finch_api/internal/responses_page.rbs +11 -0
- data/sig/finch_api/internal/single_page.rbs +15 -0
- data/sig/finch_api/internal/transport/base_client.rbs +116 -0
- data/sig/finch_api/internal/transport/pooled_net_requester.rbs +41 -0
- data/sig/finch_api/internal/type/array_of.rbs +45 -0
- data/sig/finch_api/internal/type/base_model.rbs +94 -0
- data/sig/finch_api/internal/type/base_page.rbs +24 -0
- data/sig/finch_api/internal/type/boolean.rbs +23 -0
- data/sig/finch_api/internal/type/converter.rbs +54 -0
- data/sig/finch_api/internal/type/enum.rbs +29 -0
- data/sig/finch_api/internal/type/file_input.rbs +23 -0
- data/sig/finch_api/internal/type/hash_of.rbs +45 -0
- data/sig/finch_api/internal/type/request_parameters.rbs +15 -0
- data/sig/finch_api/internal/type/union.rbs +49 -0
- data/sig/finch_api/internal/type/unknown.rbs +23 -0
- data/sig/finch_api/internal/util.rbs +158 -0
- data/sig/finch_api/internal.rbs +5 -0
- data/sig/finch_api/models/access_token_create_params.rbs +41 -0
- data/sig/finch_api/models/account_disconnect_params.rbs +15 -0
- data/sig/finch_api/models/account_introspect_params.rbs +15 -0
- data/sig/finch_api/models/account_update_event.rbs +1291 -0
- data/sig/finch_api/models/base_webhook_event.rbs +24 -0
- data/sig/finch_api/models/company_event.rbs +38 -0
- data/sig/finch_api/models/connect/session_new_params.rbs +129 -0
- data/sig/finch_api/models/connect/session_new_response.rbs +17 -0
- data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +66 -0
- data/sig/finch_api/models/connect/session_reauthenticate_response.rbs +18 -0
- data/sig/finch_api/models/connection_status_type.rbs +24 -0
- data/sig/finch_api/models/create_access_token_response.rbs +79 -0
- data/sig/finch_api/models/directory_event.rbs +55 -0
- data/sig/finch_api/models/disconnect_response.rbs +13 -0
- data/sig/finch_api/models/employment_event.rbs +55 -0
- data/sig/finch_api/models/hris/benefit_contribution.rbs +35 -0
- data/sig/finch_api/models/hris/benefit_create_params.rbs +92 -0
- data/sig/finch_api/models/hris/benefit_features_and_operations.rbs +108 -0
- data/sig/finch_api/models/hris/benefit_frequency.rbs +17 -0
- data/sig/finch_api/models/hris/benefit_list_params.rbs +17 -0
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +17 -0
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_response.rbs +81 -0
- data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +17 -0
- data/sig/finch_api/models/hris/benefit_type.rbs +52 -0
- data/sig/finch_api/models/hris/benefit_update_params.rbs +24 -0
- data/sig/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbs +17 -0
- data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +82 -0
- data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +190 -0
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +19 -0
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbs +23 -0
- data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +27 -0
- data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +27 -0
- data/sig/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbs +17 -0
- data/sig/finch_api/models/hris/benefits_support.rbs +64 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +120 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbs +139 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +21 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbs +145 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +21 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbs +139 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +29 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbs +139 -0
- data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +69 -0
- data/sig/finch_api/models/hris/company/pay_statement_item_list_response.rbs +81 -0
- data/sig/finch_api/models/hris/company.rbs +177 -0
- data/sig/finch_api/models/hris/company_benefit.rbs +89 -0
- data/sig/finch_api/models/hris/company_retrieve_params.rbs +17 -0
- data/sig/finch_api/models/hris/create_company_benefits_response.rbs +18 -0
- data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +30 -0
- data/sig/finch_api/models/hris/directory_list_params.rbs +30 -0
- data/sig/finch_api/models/hris/document_list_params.rbs +58 -0
- data/sig/finch_api/models/hris/document_list_response.rbs +24 -0
- data/sig/finch_api/models/hris/document_response.rbs +55 -0
- data/sig/finch_api/models/hris/document_retreive_params.rbs +17 -0
- data/sig/finch_api/models/hris/document_retreive_response.rbs +14 -0
- data/sig/finch_api/models/hris/employment_data.rbs +210 -0
- data/sig/finch_api/models/hris/employment_data_response.rbs +36 -0
- data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +35 -0
- data/sig/finch_api/models/hris/individual.rbs +200 -0
- data/sig/finch_api/models/hris/individual_in_directory.rbs +64 -0
- data/sig/finch_api/models/hris/individual_response.rbs +28 -0
- data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +57 -0
- data/sig/finch_api/models/hris/pay_statement.rbs +389 -0
- data/sig/finch_api/models/hris/pay_statement_response.rbs +36 -0
- data/sig/finch_api/models/hris/pay_statement_response_body.rbs +30 -0
- data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +47 -0
- data/sig/finch_api/models/hris/payment.rbs +105 -0
- data/sig/finch_api/models/hris/payment_list_params.rbs +26 -0
- data/sig/finch_api/models/hris/support_per_benefit_type.rbs +32 -0
- data/sig/finch_api/models/hris/supported_benefit.rbs +81 -0
- data/sig/finch_api/models/hris/update_company_benefit_response.rbs +18 -0
- data/sig/finch_api/models/hris/w42005.rbs +107 -0
- data/sig/finch_api/models/hris/w42020.rbs +106 -0
- data/sig/finch_api/models/income.rbs +57 -0
- data/sig/finch_api/models/individual_event.rbs +55 -0
- data/sig/finch_api/models/introspection.rbs +206 -0
- data/sig/finch_api/models/job_completion_event.rbs +63 -0
- data/sig/finch_api/models/jobs/automated_async_job.rbs +96 -0
- data/sig/finch_api/models/jobs/automated_create_params.rbs +49 -0
- data/sig/finch_api/models/jobs/automated_create_response.rbs +32 -0
- data/sig/finch_api/models/jobs/automated_list_params.rbs +30 -0
- data/sig/finch_api/models/jobs/automated_list_response.rbs +82 -0
- data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +17 -0
- data/sig/finch_api/models/jobs/manual_async_job.rbs +41 -0
- data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +17 -0
- data/sig/finch_api/models/location.rbs +46 -0
- data/sig/finch_api/models/money.rbs +17 -0
- data/sig/finch_api/models/operation_support.rbs +20 -0
- data/sig/finch_api/models/operation_support_matrix.rbs +46 -0
- data/sig/finch_api/models/paging.rbs +17 -0
- data/sig/finch_api/models/pay_statement_event.rbs +61 -0
- data/sig/finch_api/models/payment_event.rbs +55 -0
- data/sig/finch_api/models/payroll/pay_group_list_params.rbs +30 -0
- data/sig/finch_api/models/payroll/pay_group_list_response.rbs +63 -0
- data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +17 -0
- data/sig/finch_api/models/payroll/pay_group_retrieve_response.rbs +59 -0
- data/sig/finch_api/models/provider.rbs +1308 -0
- data/sig/finch_api/models/provider_list_params.rbs +15 -0
- data/sig/finch_api/models/request_forwarding_forward_params.rbs +39 -0
- data/sig/finch_api/models/request_forwarding_forward_response.rbs +61 -0
- data/sig/finch_api/models/sandbox/company_update_params.rbs +178 -0
- data/sig/finch_api/models/sandbox/company_update_response.rbs +173 -0
- data/sig/finch_api/models/sandbox/connection_create_params.rbs +58 -0
- data/sig/finch_api/models/sandbox/connection_create_response.rbs +63 -0
- data/sig/finch_api/models/sandbox/connections/account_create_params.rbs +59 -0
- data/sig/finch_api/models/sandbox/connections/account_create_response.rbs +60 -0
- data/sig/finch_api/models/sandbox/connections/account_update_params.rbs +29 -0
- data/sig/finch_api/models/sandbox/connections/account_update_response.rbs +58 -0
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +364 -0
- data/sig/finch_api/models/sandbox/directory_create_response.rbs +9 -0
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +209 -0
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +210 -0
- data/sig/finch_api/models/sandbox/individual_update_params.rbs +169 -0
- data/sig/finch_api/models/sandbox/individual_update_response.rbs +170 -0
- data/sig/finch_api/models/sandbox/job_create_params.rbs +33 -0
- data/sig/finch_api/models/sandbox/job_create_response.rbs +32 -0
- data/sig/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbs +19 -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 +19 -0
- data/sig/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbs +50 -0
- data/sig/finch_api/models/sandbox/payment_create_params.rbs +425 -0
- data/sig/finch_api/models/sandbox/payment_create_response.rbs +17 -0
- data/sig/finch_api/models/webhook_event.rbs +19 -0
- data/sig/finch_api/request_options.rbs +34 -0
- data/sig/finch_api/resources/hris/benefits/individuals.rbs +34 -0
- data/sig/finch_api/resources/hris/benefits.rbs +38 -0
- data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +37 -0
- data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +22 -0
- data/sig/finch_api/resources/hris/company.rbs +15 -0
- data/sig/finch_api/resources/hris/directory.rbs +17 -0
- data/sig/finch_api/resources/hris/employments.rbs +14 -0
- data/sig/finch_api/resources/hris/individuals.rbs +15 -0
- data/sig/finch_api/resources/hris/pay_statements.rbs +14 -0
- data/sig/finch_api/resources/hris/payments.rbs +15 -0
- data/sig/finch_api/resources/payroll/pay_groups.rbs +20 -0
- data/sig/finch_api/resources/providers.rbs +11 -0
- data/sig/finch_api/version.rbs +3 -0
- metadata +552 -504
- data/lib/finch-api/client.rb +0 -141
- data/lib/finch-api/errors.rb +0 -183
- data/lib/finch-api/individuals_page.rb +0 -92
- data/lib/finch-api/models/access_token_create_params.rb +0 -54
- data/lib/finch-api/models/account_disconnect_params.rb +0 -18
- data/lib/finch-api/models/account_introspect_params.rb +0 -18
- data/lib/finch-api/models/account_update_event.rb +0 -1953
- data/lib/finch-api/models/base_webhook_event.rb +0 -41
- data/lib/finch-api/models/company_event.rb +0 -41
- data/lib/finch-api/models/connect/session_new_params.rb +0 -160
- data/lib/finch-api/models/connect/session_new_response.rb +0 -29
- data/lib/finch-api/models/connect/session_reauthenticate_params.rb +0 -71
- data/lib/finch-api/models/connect/session_reauthenticate_response.rb +0 -29
- data/lib/finch-api/models/connection_status_type.rb +0 -22
- data/lib/finch-api/models/create_access_token_response.rb +0 -139
- data/lib/finch-api/models/directory_event.rb +0 -66
- data/lib/finch-api/models/disconnect_response.rb +0 -20
- data/lib/finch-api/models/employment_event.rb +0 -66
- data/lib/finch-api/models/hris/benefit_contribution.rb +0 -43
- data/lib/finch-api/models/hris/benefit_create_params.rb +0 -46
- data/lib/finch-api/models/hris/benefit_features_and_operations.rb +0 -169
- data/lib/finch-api/models/hris/benefit_frequency.rb +0 -21
- data/lib/finch-api/models/hris/benefit_list_params.rb +0 -20
- data/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rb +0 -20
- data/lib/finch-api/models/hris/benefit_retrieve_params.rb +0 -20
- data/lib/finch-api/models/hris/benefit_type.rb +0 -38
- data/lib/finch-api/models/hris/benefit_update_params.rb +0 -31
- data/lib/finch-api/models/hris/benefits/enrolled_individual.rb +0 -93
- data/lib/finch-api/models/hris/benefits/individual_benefit.rb +0 -116
- data/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb +0 -237
- data/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rb +0 -22
- data/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rb +0 -29
- data/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +0 -34
- data/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rb +0 -33
- data/lib/finch-api/models/hris/benefits/unenrolled_individual.rb +0 -77
- data/lib/finch-api/models/hris/benefits_support.rb +0 -106
- data/lib/finch-api/models/hris/company.rb +0 -247
- data/lib/finch-api/models/hris/company_benefit.rb +0 -40
- data/lib/finch-api/models/hris/company_retrieve_params.rb +0 -20
- data/lib/finch-api/models/hris/create_company_benefits_response.rb +0 -21
- data/lib/finch-api/models/hris/directory_list_individuals_params.rb +0 -42
- data/lib/finch-api/models/hris/directory_list_params.rb +0 -42
- data/lib/finch-api/models/hris/document_list_params.rb +0 -79
- data/lib/finch-api/models/hris/document_list_response.rb +0 -27
- data/lib/finch-api/models/hris/document_response.rb +0 -78
- data/lib/finch-api/models/hris/document_retreive_params.rb +0 -20
- data/lib/finch-api/models/hris/document_retreive_response.rb +0 -25
- data/lib/finch-api/models/hris/employment_data.rb +0 -331
- data/lib/finch-api/models/hris/employment_data_response.rb +0 -45
- data/lib/finch-api/models/hris/employment_retrieve_many_params.rb +0 -45
- data/lib/finch-api/models/hris/individual.rb +0 -236
- data/lib/finch-api/models/hris/individual_in_directory.rb +0 -117
- data/lib/finch-api/models/hris/individual_response.rb +0 -45
- data/lib/finch-api/models/hris/individual_retrieve_many_params.rb +0 -73
- data/lib/finch-api/models/hris/pay_statement.rb +0 -529
- data/lib/finch-api/models/hris/pay_statement_response.rb +0 -45
- data/lib/finch-api/models/hris/pay_statement_response_body.rb +0 -36
- data/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rb +0 -65
- data/lib/finch-api/models/hris/payment.rb +0 -156
- data/lib/finch-api/models/hris/payment_list_params.rb +0 -36
- data/lib/finch-api/models/hris/support_per_benefit_type.rb +0 -35
- data/lib/finch-api/models/hris/supported_benefit.rb +0 -136
- data/lib/finch-api/models/hris/update_company_benefit_response.rb +0 -21
- data/lib/finch-api/models/hris/w42005.rb +0 -151
- data/lib/finch-api/models/hris/w42020.rb +0 -159
- data/lib/finch-api/models/income.rb +0 -68
- data/lib/finch-api/models/individual_event.rb +0 -66
- data/lib/finch-api/models/introspection.rb +0 -312
- data/lib/finch-api/models/job_completion_event.rb +0 -72
- data/lib/finch-api/models/jobs/automated_async_job.rb +0 -133
- data/lib/finch-api/models/jobs/automated_create_params.rb +0 -61
- data/lib/finch-api/models/jobs/automated_create_response.rb +0 -43
- data/lib/finch-api/models/jobs/automated_list_params.rb +0 -42
- data/lib/finch-api/models/jobs/automated_list_response.rb +0 -100
- data/lib/finch-api/models/jobs/automated_retrieve_params.rb +0 -20
- data/lib/finch-api/models/jobs/manual_async_job.rb +0 -49
- data/lib/finch-api/models/jobs/manual_retrieve_params.rb +0 -20
- data/lib/finch-api/models/location.rb +0 -79
- data/lib/finch-api/models/money.rb +0 -30
- data/lib/finch-api/models/operation_support.rb +0 -27
- data/lib/finch-api/models/operation_support_matrix.rb +0 -81
- data/lib/finch-api/models/paging.rb +0 -35
- data/lib/finch-api/models/pay_statement_event.rb +0 -77
- data/lib/finch-api/models/payment_event.rb +0 -69
- data/lib/finch-api/models/payroll/pay_group_list_params.rb +0 -40
- data/lib/finch-api/models/payroll/pay_group_list_response.rb +0 -69
- data/lib/finch-api/models/payroll/pay_group_retrieve_params.rb +0 -20
- data/lib/finch-api/models/payroll/pay_group_retrieve_response.rb +0 -63
- data/lib/finch-api/models/provider.rb +0 -2022
- data/lib/finch-api/models/provider_list_params.rb +0 -18
- data/lib/finch-api/models/request_forwarding_forward_params.rb +0 -60
- data/lib/finch-api/models/request_forwarding_forward_response.rb +0 -97
- data/lib/finch-api/models/sandbox/company_update_params.rb +0 -251
- data/lib/finch-api/models/sandbox/company_update_response.rb +0 -233
- data/lib/finch-api/models/sandbox/connection_create_params.rb +0 -76
- data/lib/finch-api/models/sandbox/connection_create_response.rb +0 -99
- data/lib/finch-api/models/sandbox/connections/account_create_params.rb +0 -73
- data/lib/finch-api/models/sandbox/connections/account_create_response.rb +0 -79
- data/lib/finch-api/models/sandbox/connections/account_update_params.rb +0 -32
- data/lib/finch-api/models/sandbox/connections/account_update_response.rb +0 -77
- data/lib/finch-api/models/sandbox/directory_create_params.rb +0 -535
- data/lib/finch-api/models/sandbox/directory_create_response.rb +0 -9
- data/lib/finch-api/models/sandbox/employment_update_params.rb +0 -323
- data/lib/finch-api/models/sandbox/employment_update_response.rb +0 -329
- data/lib/finch-api/models/sandbox/individual_update_params.rb +0 -234
- data/lib/finch-api/models/sandbox/individual_update_response.rb +0 -242
- data/lib/finch-api/models/sandbox/job_create_params.rb +0 -40
- data/lib/finch-api/models/sandbox/job_create_response.rb +0 -43
- data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rb +0 -22
- data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rb +0 -12
- data/lib/finch-api/models/sandbox/jobs/configuration_update_params.rb +0 -22
- data/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rb +0 -57
- data/lib/finch-api/models/sandbox/payment_create_params.rb +0 -588
- data/lib/finch-api/models/sandbox/payment_create_response.rb +0 -29
- data/lib/finch-api/models/webhook_event.rb +0 -31
- data/lib/finch-api/page.rb +0 -92
- data/lib/finch-api/request_options.rb +0 -75
- data/lib/finch-api/resources/access_tokens.rb +0 -38
- data/lib/finch-api/resources/account.rb +0 -44
- data/lib/finch-api/resources/connect/sessions.rb +0 -78
- data/lib/finch-api/resources/connect.rb +0 -16
- data/lib/finch-api/resources/hris/benefits/individuals.rb +0 -108
- data/lib/finch-api/resources/hris/benefits.rb +0 -119
- data/lib/finch-api/resources/hris/company.rb +0 -30
- data/lib/finch-api/resources/hris/directory.rb +0 -42
- data/lib/finch-api/resources/hris/documents.rb +0 -62
- data/lib/finch-api/resources/hris/employments.rb +0 -35
- data/lib/finch-api/resources/hris/individuals.rb +0 -37
- data/lib/finch-api/resources/hris/pay_statements.rb +0 -38
- data/lib/finch-api/resources/hris/payments.rb +0 -39
- data/lib/finch-api/resources/hris.rb +0 -44
- data/lib/finch-api/resources/jobs/automated.rb +0 -91
- data/lib/finch-api/resources/jobs/manual.rb +0 -33
- data/lib/finch-api/resources/jobs.rb +0 -20
- data/lib/finch-api/resources/payroll/pay_groups.rb +0 -55
- data/lib/finch-api/resources/payroll.rb +0 -16
- data/lib/finch-api/resources/providers.rb +0 -29
- data/lib/finch-api/resources/request_forwarding.rb +0 -50
- data/lib/finch-api/resources/sandbox/company.rb +0 -48
- data/lib/finch-api/resources/sandbox/connections/accounts.rb +0 -64
- data/lib/finch-api/resources/sandbox/connections.rb +0 -46
- data/lib/finch-api/resources/sandbox/directory.rb +0 -35
- data/lib/finch-api/resources/sandbox/employment.rb +0 -74
- data/lib/finch-api/resources/sandbox/individual.rb +0 -63
- data/lib/finch-api/resources/sandbox/jobs/configuration.rb +0 -54
- data/lib/finch-api/resources/sandbox/jobs.rb +0 -38
- data/lib/finch-api/resources/sandbox/payment.rb +0 -38
- data/lib/finch-api/resources/sandbox.rb +0 -40
- data/lib/finch-api/resources/webhooks.rb +0 -12
- data/lib/finch-api/responses_page.rb +0 -77
- data/lib/finch-api/single_page.rb +0 -74
- data/lib/finch-api/transport/base_client.rb +0 -459
- data/lib/finch-api/transport/pooled_net_requester.rb +0 -182
- data/lib/finch-api/type/array_of.rb +0 -110
- data/lib/finch-api/type/base_model.rb +0 -355
- data/lib/finch-api/type/base_page.rb +0 -61
- data/lib/finch-api/type/boolean_model.rb +0 -52
- data/lib/finch-api/type/converter.rb +0 -211
- data/lib/finch-api/type/enum.rb +0 -105
- data/lib/finch-api/type/hash_of.rb +0 -136
- data/lib/finch-api/type/request_parameters.rb +0 -38
- data/lib/finch-api/type/union.rb +0 -204
- data/lib/finch-api/type/unknown.rb +0 -56
- data/lib/finch-api/type.rb +0 -23
- data/lib/finch-api/util.rb +0 -726
- data/lib/finch-api/version.rb +0 -5
- data/lib/finch-api.rb +0 -203
- data/rbi/lib/finch-api/client.rbi +0 -97
- data/rbi/lib/finch-api/errors.rbi +0 -144
- data/rbi/lib/finch-api/individuals_page.rbi +0 -19
- data/rbi/lib/finch-api/models/access_token_create_params.rbi +0 -59
- data/rbi/lib/finch-api/models/account_disconnect_params.rbi +0 -25
- data/rbi/lib/finch-api/models/account_introspect_params.rbi +0 -25
- data/rbi/lib/finch-api/models/account_update_event.rbi +0 -2367
- data/rbi/lib/finch-api/models/base_webhook_event.rbi +0 -33
- data/rbi/lib/finch-api/models/company_event.rbi +0 -51
- data/rbi/lib/finch-api/models/connect/session_new_params.rbi +0 -189
- data/rbi/lib/finch-api/models/connect/session_new_response.rbi +0 -25
- data/rbi/lib/finch-api/models/connect/session_reauthenticate_params.rbi +0 -85
- data/rbi/lib/finch-api/models/connect/session_reauthenticate_response.rbi +0 -25
- data/rbi/lib/finch-api/models/connection_status_type.rbi +0 -24
- data/rbi/lib/finch-api/models/create_access_token_response.rbi +0 -142
- data/rbi/lib/finch-api/models/directory_event.rbi +0 -76
- data/rbi/lib/finch-api/models/disconnect_response.rbi +0 -19
- data/rbi/lib/finch-api/models/employment_event.rbi +0 -76
- data/rbi/lib/finch-api/models/hris/benefit_contribution.rbi +0 -52
- data/rbi/lib/finch-api/models/hris/benefit_create_params.rbi +0 -54
- data/rbi/lib/finch-api/models/hris/benefit_features_and_operations.rbi +0 -303
- data/rbi/lib/finch-api/models/hris/benefit_frequency.rbi +0 -22
- data/rbi/lib/finch-api/models/hris/benefit_list_params.rbi +0 -27
- data/rbi/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rbi +0 -27
- data/rbi/lib/finch-api/models/hris/benefit_retrieve_params.rbi +0 -27
- data/rbi/lib/finch-api/models/hris/benefit_type.rbi +0 -39
- data/rbi/lib/finch-api/models/hris/benefit_update_params.rbi +0 -33
- data/rbi/lib/finch-api/models/hris/benefits/enrolled_individual.rbi +0 -109
- data/rbi/lib/finch-api/models/hris/benefits/individual_benefit.rbi +0 -164
- data/rbi/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rbi +0 -426
- data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbi +0 -29
- data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbi +0 -25
- data/rbi/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +0 -39
- data/rbi/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rbi +0 -37
- data/rbi/lib/finch-api/models/hris/benefits/unenrolled_individual.rbi +0 -86
- data/rbi/lib/finch-api/models/hris/benefits_support.rbi +0 -198
- data/rbi/lib/finch-api/models/hris/company.rbi +0 -286
- data/rbi/lib/finch-api/models/hris/company_benefit.rbi +0 -48
- data/rbi/lib/finch-api/models/hris/company_retrieve_params.rbi +0 -27
- data/rbi/lib/finch-api/models/hris/create_company_benefits_response.rbi +0 -20
- data/rbi/lib/finch-api/models/hris/directory_list_individuals_params.rbi +0 -41
- data/rbi/lib/finch-api/models/hris/directory_list_params.rbi +0 -41
- data/rbi/lib/finch-api/models/hris/document_list_params.rbi +0 -84
- data/rbi/lib/finch-api/models/hris/document_list_response.rbi +0 -35
- data/rbi/lib/finch-api/models/hris/document_response.rbi +0 -83
- data/rbi/lib/finch-api/models/hris/document_retreive_params.rbi +0 -27
- data/rbi/lib/finch-api/models/hris/document_retreive_response.rbi +0 -17
- data/rbi/lib/finch-api/models/hris/employment_data.rbi +0 -351
- data/rbi/lib/finch-api/models/hris/employment_data_response.rbi +0 -42
- data/rbi/lib/finch-api/models/hris/employment_retrieve_many_params.rbi +0 -54
- data/rbi/lib/finch-api/models/hris/individual.rbi +0 -256
- data/rbi/lib/finch-api/models/hris/individual_in_directory.rbi +0 -121
- data/rbi/lib/finch-api/models/hris/individual_response.rbi +0 -42
- data/rbi/lib/finch-api/models/hris/individual_retrieve_many_params.rbi +0 -90
- data/rbi/lib/finch-api/models/hris/pay_statement.rbi +0 -640
- data/rbi/lib/finch-api/models/hris/pay_statement_response.rbi +0 -45
- data/rbi/lib/finch-api/models/hris/pay_statement_response_body.rbi +0 -41
- data/rbi/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rbi +0 -66
- data/rbi/lib/finch-api/models/hris/payment.rbi +0 -167
- data/rbi/lib/finch-api/models/hris/payment_list_params.rbi +0 -39
- data/rbi/lib/finch-api/models/hris/support_per_benefit_type.rbi +0 -43
- data/rbi/lib/finch-api/models/hris/supported_benefit.rbi +0 -159
- data/rbi/lib/finch-api/models/hris/update_company_benefit_response.rbi +0 -20
- data/rbi/lib/finch-api/models/hris/w42005.rbi +0 -166
- data/rbi/lib/finch-api/models/hris/w42020.rbi +0 -175
- data/rbi/lib/finch-api/models/income.rbi +0 -76
- data/rbi/lib/finch-api/models/individual_event.rbi +0 -76
- data/rbi/lib/finch-api/models/introspection.rbi +0 -327
- data/rbi/lib/finch-api/models/job_completion_event.rbi +0 -83
- data/rbi/lib/finch-api/models/jobs/automated_async_job.rbi +0 -146
- data/rbi/lib/finch-api/models/jobs/automated_create_params.rbi +0 -76
- data/rbi/lib/finch-api/models/jobs/automated_create_response.rbi +0 -44
- data/rbi/lib/finch-api/models/jobs/automated_list_params.rbi +0 -41
- data/rbi/lib/finch-api/models/jobs/automated_list_response.rbi +0 -126
- data/rbi/lib/finch-api/models/jobs/automated_retrieve_params.rbi +0 -27
- data/rbi/lib/finch-api/models/jobs/manual_async_job.rbi +0 -59
- data/rbi/lib/finch-api/models/jobs/manual_retrieve_params.rbi +0 -27
- data/rbi/lib/finch-api/models/location.rbi +0 -71
- data/rbi/lib/finch-api/models/money.rbi +0 -25
- data/rbi/lib/finch-api/models/operation_support.rbi +0 -29
- data/rbi/lib/finch-api/models/operation_support_matrix.rbi +0 -85
- data/rbi/lib/finch-api/models/paging.rbi +0 -29
- data/rbi/lib/finch-api/models/pay_statement_event.rbi +0 -83
- data/rbi/lib/finch-api/models/payment_event.rbi +0 -74
- data/rbi/lib/finch-api/models/payroll/pay_group_list_params.rbi +0 -48
- data/rbi/lib/finch-api/models/payroll/pay_group_list_response.rbi +0 -84
- data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_params.rbi +0 -27
- data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_response.rbi +0 -81
- data/rbi/lib/finch-api/models/provider.rbi +0 -2278
- data/rbi/lib/finch-api/models/provider_list_params.rbi +0 -25
- data/rbi/lib/finch-api/models/request_forwarding_forward_params.rbi +0 -67
- data/rbi/lib/finch-api/models/request_forwarding_forward_response.rbi +0 -119
- data/rbi/lib/finch-api/models/sandbox/company_update_params.rbi +0 -314
- data/rbi/lib/finch-api/models/sandbox/company_update_response.rbi +0 -301
- data/rbi/lib/finch-api/models/sandbox/connection_create_params.rbi +0 -95
- data/rbi/lib/finch-api/models/sandbox/connection_create_response.rbi +0 -108
- data/rbi/lib/finch-api/models/sandbox/connections/account_create_params.rbi +0 -116
- data/rbi/lib/finch-api/models/sandbox/connections/account_create_response.rbi +0 -112
- data/rbi/lib/finch-api/models/sandbox/connections/account_update_params.rbi +0 -42
- data/rbi/lib/finch-api/models/sandbox/connections/account_update_response.rbi +0 -110
- data/rbi/lib/finch-api/models/sandbox/directory_create_params.rbi +0 -674
- data/rbi/lib/finch-api/models/sandbox/directory_create_response.rbi +0 -9
- data/rbi/lib/finch-api/models/sandbox/employment_update_params.rbi +0 -373
- data/rbi/lib/finch-api/models/sandbox/employment_update_response.rbi +0 -379
- data/rbi/lib/finch-api/models/sandbox/individual_update_params.rbi +0 -279
- data/rbi/lib/finch-api/models/sandbox/individual_update_response.rbi +0 -292
- data/rbi/lib/finch-api/models/sandbox/job_create_params.rbi +0 -49
- data/rbi/lib/finch-api/models/sandbox/job_create_response.rbi +0 -44
- data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbi +0 -29
- data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbi +0 -15
- data/rbi/lib/finch-api/models/sandbox/jobs/configuration_update_params.rbi +0 -29
- data/rbi/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbi +0 -88
- data/rbi/lib/finch-api/models/sandbox/payment_create_params.rbi +0 -892
- data/rbi/lib/finch-api/models/sandbox/payment_create_response.rbi +0 -25
- data/rbi/lib/finch-api/models/webhook_event.rbi +0 -18
- data/rbi/lib/finch-api/page.rbi +0 -19
- data/rbi/lib/finch-api/request_options.rbi +0 -48
- data/rbi/lib/finch-api/resources/access_tokens.rbi +0 -25
- data/rbi/lib/finch-api/resources/account.rbi +0 -27
- data/rbi/lib/finch-api/resources/connect/sessions.rbi +0 -70
- data/rbi/lib/finch-api/resources/connect.rbi +0 -14
- data/rbi/lib/finch-api/resources/hris/benefits/individuals.rbi +0 -81
- data/rbi/lib/finch-api/resources/hris/benefits.rbi +0 -83
- data/rbi/lib/finch-api/resources/hris/company.rbi +0 -21
- data/rbi/lib/finch-api/resources/hris/directory.rbi +0 -31
- data/rbi/lib/finch-api/resources/hris/documents.rbi +0 -56
- data/rbi/lib/finch-api/resources/hris/employments.rbi +0 -28
- data/rbi/lib/finch-api/resources/hris/individuals.rbi +0 -25
- data/rbi/lib/finch-api/resources/hris/pay_statements.rbi +0 -31
- data/rbi/lib/finch-api/resources/hris/payments.rbi +0 -33
- data/rbi/lib/finch-api/resources/hris.rbi +0 -35
- data/rbi/lib/finch-api/resources/jobs/automated.rbi +0 -74
- data/rbi/lib/finch-api/resources/jobs/manual.rbi +0 -25
- data/rbi/lib/finch-api/resources/jobs.rbi +0 -17
- data/rbi/lib/finch-api/resources/payroll/pay_groups.rbi +0 -36
- data/rbi/lib/finch-api/resources/payroll.rbi +0 -14
- data/rbi/lib/finch-api/resources/providers.rbi +0 -19
- data/rbi/lib/finch-api/resources/request_forwarding.rbi +0 -48
- data/rbi/lib/finch-api/resources/sandbox/company.rbi +0 -52
- data/rbi/lib/finch-api/resources/sandbox/connections/accounts.rbi +0 -50
- data/rbi/lib/finch-api/resources/sandbox/connections.rbi +0 -40
- data/rbi/lib/finch-api/resources/sandbox/directory.rbi +0 -29
- data/rbi/lib/finch-api/resources/sandbox/employment.rbi +0 -81
- data/rbi/lib/finch-api/resources/sandbox/individual.rbi +0 -68
- data/rbi/lib/finch-api/resources/sandbox/jobs/configuration.rbi +0 -35
- data/rbi/lib/finch-api/resources/sandbox/jobs.rbi +0 -31
- data/rbi/lib/finch-api/resources/sandbox/payment.rbi +0 -26
- data/rbi/lib/finch-api/resources/sandbox.rbi +0 -32
- data/rbi/lib/finch-api/resources/webhooks.rbi +0 -11
- data/rbi/lib/finch-api/responses_page.rbi +0 -16
- data/rbi/lib/finch-api/single_page.rbi +0 -25
- data/rbi/lib/finch-api/transport/base_client.rbi +0 -204
- data/rbi/lib/finch-api/transport/pooled_net_requester.rbi +0 -64
- data/rbi/lib/finch-api/type/array_of.rbi +0 -82
- data/rbi/lib/finch-api/type/base_model.rbi +0 -191
- data/rbi/lib/finch-api/type/base_page.rbi +0 -38
- data/rbi/lib/finch-api/type/boolean_model.rbi +0 -41
- data/rbi/lib/finch-api/type/converter.rbi +0 -101
- data/rbi/lib/finch-api/type/enum.rbi +0 -58
- data/rbi/lib/finch-api/type/hash_of.rbi +0 -86
- data/rbi/lib/finch-api/type/request_parameters.rbi +0 -20
- data/rbi/lib/finch-api/type/union.rbi +0 -66
- data/rbi/lib/finch-api/type/unknown.rbi +0 -37
- data/rbi/lib/finch-api/type.rbi +0 -23
- data/rbi/lib/finch-api/util.rbi +0 -280
- data/rbi/lib/finch-api/version.rbi +0 -5
- data/sig/finch-api/client.rbs +0 -54
- data/sig/finch-api/errors.rbs +0 -99
- data/sig/finch-api/individuals_page.rbs +0 -11
- data/sig/finch-api/models/access_token_create_params.rbs +0 -41
- data/sig/finch-api/models/account_disconnect_params.rbs +0 -14
- data/sig/finch-api/models/account_introspect_params.rbs +0 -14
- data/sig/finch-api/models/account_update_event.rbs +0 -1291
- data/sig/finch-api/models/base_webhook_event.rbs +0 -24
- data/sig/finch-api/models/company_event.rbs +0 -38
- data/sig/finch-api/models/connect/session_new_params.rbs +0 -125
- data/sig/finch-api/models/connect/session_new_response.rbs +0 -17
- data/sig/finch-api/models/connect/session_reauthenticate_params.rbs +0 -62
- data/sig/finch-api/models/connect/session_reauthenticate_response.rbs +0 -18
- data/sig/finch-api/models/connection_status_type.rbs +0 -24
- data/sig/finch-api/models/create_access_token_response.rbs +0 -79
- data/sig/finch-api/models/directory_event.rbs +0 -55
- data/sig/finch-api/models/disconnect_response.rbs +0 -13
- data/sig/finch-api/models/employment_event.rbs +0 -55
- data/sig/finch-api/models/hris/benefit_contribution.rbs +0 -35
- data/sig/finch-api/models/hris/benefit_create_params.rbs +0 -35
- data/sig/finch-api/models/hris/benefit_features_and_operations.rbs +0 -108
- data/sig/finch-api/models/hris/benefit_frequency.rbs +0 -17
- data/sig/finch-api/models/hris/benefit_list_params.rbs +0 -16
- data/sig/finch-api/models/hris/benefit_list_supported_benefits_params.rbs +0 -17
- data/sig/finch-api/models/hris/benefit_retrieve_params.rbs +0 -16
- data/sig/finch-api/models/hris/benefit_type.rbs +0 -52
- data/sig/finch-api/models/hris/benefit_update_params.rbs +0 -24
- data/sig/finch-api/models/hris/benefits/enrolled_individual.rbs +0 -71
- data/sig/finch-api/models/hris/benefits/individual_benefit.rbs +0 -82
- data/sig/finch-api/models/hris/benefits/individual_enroll_many_params.rbs +0 -184
- data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbs +0 -19
- data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbs +0 -23
- data/sig/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +0 -26
- data/sig/finch-api/models/hris/benefits/individual_unenroll_many_params.rbs +0 -26
- data/sig/finch-api/models/hris/benefits/unenrolled_individual.rbs +0 -56
- data/sig/finch-api/models/hris/benefits_support.rbs +0 -64
- data/sig/finch-api/models/hris/company.rbs +0 -177
- data/sig/finch-api/models/hris/company_benefit.rbs +0 -32
- data/sig/finch-api/models/hris/company_retrieve_params.rbs +0 -16
- data/sig/finch-api/models/hris/create_company_benefits_response.rbs +0 -15
- data/sig/finch-api/models/hris/directory_list_individuals_params.rbs +0 -29
- data/sig/finch-api/models/hris/directory_list_params.rbs +0 -29
- data/sig/finch-api/models/hris/document_list_params.rbs +0 -58
- data/sig/finch-api/models/hris/document_list_response.rbs +0 -24
- data/sig/finch-api/models/hris/document_response.rbs +0 -55
- data/sig/finch-api/models/hris/document_retreive_params.rbs +0 -16
- data/sig/finch-api/models/hris/document_retreive_response.rbs +0 -14
- data/sig/finch-api/models/hris/employment_data.rbs +0 -210
- data/sig/finch-api/models/hris/employment_data_response.rbs +0 -36
- data/sig/finch-api/models/hris/employment_retrieve_many_params.rbs +0 -35
- data/sig/finch-api/models/hris/individual.rbs +0 -170
- data/sig/finch-api/models/hris/individual_in_directory.rbs +0 -68
- data/sig/finch-api/models/hris/individual_response.rbs +0 -36
- data/sig/finch-api/models/hris/individual_retrieve_many_params.rbs +0 -57
- data/sig/finch-api/models/hris/pay_statement.rbs +0 -389
- data/sig/finch-api/models/hris/pay_statement_response.rbs +0 -36
- data/sig/finch-api/models/hris/pay_statement_response_body.rbs +0 -30
- data/sig/finch-api/models/hris/pay_statement_retrieve_many_params.rbs +0 -47
- data/sig/finch-api/models/hris/payment.rbs +0 -105
- data/sig/finch-api/models/hris/payment_list_params.rbs +0 -25
- data/sig/finch-api/models/hris/support_per_benefit_type.rbs +0 -32
- data/sig/finch-api/models/hris/supported_benefit.rbs +0 -85
- data/sig/finch-api/models/hris/update_company_benefit_response.rbs +0 -15
- data/sig/finch-api/models/hris/w42005.rbs +0 -107
- data/sig/finch-api/models/hris/w42020.rbs +0 -106
- data/sig/finch-api/models/income.rbs +0 -57
- data/sig/finch-api/models/individual_event.rbs +0 -55
- data/sig/finch-api/models/introspection.rbs +0 -202
- data/sig/finch-api/models/job_completion_event.rbs +0 -63
- data/sig/finch-api/models/jobs/automated_async_job.rbs +0 -96
- data/sig/finch-api/models/jobs/automated_create_params.rbs +0 -49
- data/sig/finch-api/models/jobs/automated_create_response.rbs +0 -32
- data/sig/finch-api/models/jobs/automated_list_params.rbs +0 -29
- data/sig/finch-api/models/jobs/automated_list_response.rbs +0 -82
- data/sig/finch-api/models/jobs/automated_retrieve_params.rbs +0 -16
- data/sig/finch-api/models/jobs/manual_async_job.rbs +0 -41
- data/sig/finch-api/models/jobs/manual_retrieve_params.rbs +0 -16
- data/sig/finch-api/models/location.rbs +0 -46
- data/sig/finch-api/models/money.rbs +0 -17
- data/sig/finch-api/models/operation_support.rbs +0 -20
- data/sig/finch-api/models/operation_support_matrix.rbs +0 -46
- data/sig/finch-api/models/paging.rbs +0 -19
- data/sig/finch-api/models/pay_statement_event.rbs +0 -61
- data/sig/finch-api/models/payment_event.rbs +0 -55
- data/sig/finch-api/models/payroll/pay_group_list_params.rbs +0 -30
- data/sig/finch-api/models/payroll/pay_group_list_response.rbs +0 -63
- data/sig/finch-api/models/payroll/pay_group_retrieve_params.rbs +0 -16
- data/sig/finch-api/models/payroll/pay_group_retrieve_response.rbs +0 -59
- data/sig/finch-api/models/provider.rbs +0 -1308
- data/sig/finch-api/models/provider_list_params.rbs +0 -14
- data/sig/finch-api/models/request_forwarding_forward_params.rbs +0 -39
- data/sig/finch-api/models/request_forwarding_forward_response.rbs +0 -61
- data/sig/finch-api/models/sandbox/company_update_params.rbs +0 -178
- data/sig/finch-api/models/sandbox/company_update_response.rbs +0 -173
- data/sig/finch-api/models/sandbox/connection_create_params.rbs +0 -58
- data/sig/finch-api/models/sandbox/connection_create_response.rbs +0 -63
- data/sig/finch-api/models/sandbox/connections/account_create_params.rbs +0 -59
- data/sig/finch-api/models/sandbox/connections/account_create_response.rbs +0 -60
- data/sig/finch-api/models/sandbox/connections/account_update_params.rbs +0 -29
- data/sig/finch-api/models/sandbox/connections/account_update_response.rbs +0 -58
- data/sig/finch-api/models/sandbox/directory_create_params.rbs +0 -364
- data/sig/finch-api/models/sandbox/directory_create_response.rbs +0 -9
- data/sig/finch-api/models/sandbox/employment_update_params.rbs +0 -209
- data/sig/finch-api/models/sandbox/employment_update_response.rbs +0 -210
- data/sig/finch-api/models/sandbox/individual_update_params.rbs +0 -169
- data/sig/finch-api/models/sandbox/individual_update_response.rbs +0 -170
- data/sig/finch-api/models/sandbox/job_create_params.rbs +0 -33
- data/sig/finch-api/models/sandbox/job_create_response.rbs +0 -32
- data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbs +0 -18
- data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbs +0 -12
- data/sig/finch-api/models/sandbox/jobs/configuration_update_params.rbs +0 -18
- data/sig/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbs +0 -50
- data/sig/finch-api/models/sandbox/payment_create_params.rbs +0 -425
- data/sig/finch-api/models/sandbox/payment_create_response.rbs +0 -17
- data/sig/finch-api/models/webhook_event.rbs +0 -19
- data/sig/finch-api/page.rbs +0 -11
- data/sig/finch-api/request_options.rbs +0 -34
- data/sig/finch-api/resources/hris/benefits/individuals.rbs +0 -34
- data/sig/finch-api/resources/hris/benefits.rbs +0 -37
- data/sig/finch-api/resources/hris/company.rbs +0 -13
- data/sig/finch-api/resources/hris/directory.rbs +0 -17
- data/sig/finch-api/resources/hris/employments.rbs +0 -14
- data/sig/finch-api/resources/hris/individuals.rbs +0 -15
- data/sig/finch-api/resources/hris/pay_statements.rbs +0 -14
- data/sig/finch-api/resources/hris/payments.rbs +0 -15
- data/sig/finch-api/resources/payroll/pay_groups.rbs +0 -20
- data/sig/finch-api/resources/providers.rbs +0 -11
- data/sig/finch-api/responses_page.rbs +0 -9
- data/sig/finch-api/single_page.rbs +0 -13
- data/sig/finch-api/transport/base_client.rbs +0 -110
- data/sig/finch-api/transport/pooled_net_requester.rbs +0 -39
- data/sig/finch-api/type/array_of.rbs +0 -36
- data/sig/finch-api/type/base_model.rbs +0 -73
- data/sig/finch-api/type/base_page.rbs +0 -22
- data/sig/finch-api/type/boolean_model.rbs +0 -18
- data/sig/finch-api/type/converter.rbs +0 -36
- data/sig/finch-api/type/enum.rbs +0 -22
- data/sig/finch-api/type/hash_of.rbs +0 -36
- data/sig/finch-api/type/request_parameters.rbs +0 -13
- data/sig/finch-api/type/union.rbs +0 -37
- data/sig/finch-api/type/unknown.rbs +0 -18
- data/sig/finch-api/type.rbs +0 -22
- data/sig/finch-api/util.rbs +0 -134
- data/sig/finch-api/version.rbs +0 -3
- /data/lib/{finch-api → finch_api}/models/hris/benfit_contribution.rb +0 -0
- /data/rbi/{lib/finch-api → finch_api}/models/hris/benfit_contribution.rbi +0 -0
- /data/sig/{finch-api → finch_api}/models/hris/benfit_contribution.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/access_tokens.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/account.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/connect/sessions.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/connect.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/hris/documents.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/hris.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/jobs/automated.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/jobs/manual.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/jobs.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/payroll.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/request_forwarding.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/company.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/connections/accounts.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/connections.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/directory.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/employment.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/individual.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/jobs/configuration.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/jobs.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox/payment.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/sandbox.rbs +0 -0
- /data/sig/{finch-api → finch_api}/resources/webhooks.rbs +0 -0
data/lib/finch-api/client.rb
DELETED
@@ -1,141 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module FinchAPI
|
4
|
-
class Client < FinchAPI::Transport::BaseClient
|
5
|
-
# Default max number of retries to attempt after a failed retryable request.
|
6
|
-
DEFAULT_MAX_RETRIES = 2
|
7
|
-
|
8
|
-
# Default per-request timeout.
|
9
|
-
DEFAULT_TIMEOUT_IN_SECONDS = 60.0
|
10
|
-
|
11
|
-
# Default initial retry delay in seconds.
|
12
|
-
# Overall delay is calculated using exponential backoff + jitter.
|
13
|
-
DEFAULT_INITIAL_RETRY_DELAY = 0.5
|
14
|
-
|
15
|
-
# Default max retry delay in seconds.
|
16
|
-
DEFAULT_MAX_RETRY_DELAY = 8.0
|
17
|
-
|
18
|
-
# @return [String, nil]
|
19
|
-
attr_reader :access_token
|
20
|
-
|
21
|
-
# @return [String, nil]
|
22
|
-
attr_reader :client_id
|
23
|
-
|
24
|
-
# @return [String, nil]
|
25
|
-
attr_reader :client_secret
|
26
|
-
|
27
|
-
# @return [FinchAPI::Resources::AccessTokens]
|
28
|
-
attr_reader :access_tokens
|
29
|
-
|
30
|
-
# @return [FinchAPI::Resources::HRIS]
|
31
|
-
attr_reader :hris
|
32
|
-
|
33
|
-
# @return [FinchAPI::Resources::Providers]
|
34
|
-
attr_reader :providers
|
35
|
-
|
36
|
-
# @return [FinchAPI::Resources::Account]
|
37
|
-
attr_reader :account
|
38
|
-
|
39
|
-
# @return [FinchAPI::Resources::Webhooks]
|
40
|
-
attr_reader :webhooks
|
41
|
-
|
42
|
-
# @return [FinchAPI::Resources::RequestForwarding]
|
43
|
-
attr_reader :request_forwarding
|
44
|
-
|
45
|
-
# @return [FinchAPI::Resources::Jobs]
|
46
|
-
attr_reader :jobs
|
47
|
-
|
48
|
-
# @return [FinchAPI::Resources::Sandbox]
|
49
|
-
attr_reader :sandbox
|
50
|
-
|
51
|
-
# @return [FinchAPI::Resources::Payroll]
|
52
|
-
attr_reader :payroll
|
53
|
-
|
54
|
-
# @return [FinchAPI::Resources::Connect]
|
55
|
-
attr_reader :connect
|
56
|
-
|
57
|
-
# @api private
|
58
|
-
#
|
59
|
-
# @return [Hash{String=>String}]
|
60
|
-
private def auth_headers
|
61
|
-
{**bearer_auth, **basic_auth}
|
62
|
-
end
|
63
|
-
|
64
|
-
# @api private
|
65
|
-
#
|
66
|
-
# @return [Hash{String=>String}]
|
67
|
-
private def bearer_auth
|
68
|
-
return {} if @access_token.nil?
|
69
|
-
|
70
|
-
{"authorization" => "Bearer #{@access_token}"}
|
71
|
-
end
|
72
|
-
|
73
|
-
# @api private
|
74
|
-
#
|
75
|
-
# @return [Hash{String=>String}]
|
76
|
-
private def basic_auth
|
77
|
-
return {} if @client_id.nil? || @client_secret.nil?
|
78
|
-
|
79
|
-
base64_credentials = ["#{@client_id}:#{@client_secret}"].pack("m0")
|
80
|
-
{"authorization" => "Basic #{base64_credentials}"}
|
81
|
-
end
|
82
|
-
|
83
|
-
# Creates and returns a new client for interacting with the API.
|
84
|
-
#
|
85
|
-
# @param base_url [String, nil] Override the default base URL for the API, e.g., `"https://api.example.com/v2/"`
|
86
|
-
#
|
87
|
-
# @param access_token [String, nil]
|
88
|
-
#
|
89
|
-
# @param client_id [String, nil] Defaults to `ENV["FINCH_CLIENT_ID"]`
|
90
|
-
#
|
91
|
-
# @param client_secret [String, nil] Defaults to `ENV["FINCH_CLIENT_SECRET"]`
|
92
|
-
#
|
93
|
-
# @param max_retries [Integer] Max number of retries to attempt after a failed retryable request.
|
94
|
-
#
|
95
|
-
# @param timeout [Float]
|
96
|
-
#
|
97
|
-
# @param initial_retry_delay [Float]
|
98
|
-
#
|
99
|
-
# @param max_retry_delay [Float]
|
100
|
-
def initialize(
|
101
|
-
base_url: nil,
|
102
|
-
access_token: nil,
|
103
|
-
client_id: ENV["FINCH_CLIENT_ID"],
|
104
|
-
client_secret: ENV["FINCH_CLIENT_SECRET"],
|
105
|
-
max_retries: DEFAULT_MAX_RETRIES,
|
106
|
-
timeout: DEFAULT_TIMEOUT_IN_SECONDS,
|
107
|
-
initial_retry_delay: DEFAULT_INITIAL_RETRY_DELAY,
|
108
|
-
max_retry_delay: DEFAULT_MAX_RETRY_DELAY
|
109
|
-
)
|
110
|
-
base_url ||= "https://api.tryfinch.com"
|
111
|
-
|
112
|
-
headers = {
|
113
|
-
"finch-api-version" => "2020-09-17"
|
114
|
-
}
|
115
|
-
|
116
|
-
@access_token = access_token&.to_s
|
117
|
-
@client_id = client_id&.to_s
|
118
|
-
@client_secret = client_secret&.to_s
|
119
|
-
|
120
|
-
super(
|
121
|
-
base_url: base_url,
|
122
|
-
timeout: timeout,
|
123
|
-
max_retries: max_retries,
|
124
|
-
initial_retry_delay: initial_retry_delay,
|
125
|
-
max_retry_delay: max_retry_delay,
|
126
|
-
headers: headers
|
127
|
-
)
|
128
|
-
|
129
|
-
@access_tokens = FinchAPI::Resources::AccessTokens.new(client: self)
|
130
|
-
@hris = FinchAPI::Resources::HRIS.new(client: self)
|
131
|
-
@providers = FinchAPI::Resources::Providers.new(client: self)
|
132
|
-
@account = FinchAPI::Resources::Account.new(client: self)
|
133
|
-
@webhooks = FinchAPI::Resources::Webhooks.new(client: self)
|
134
|
-
@request_forwarding = FinchAPI::Resources::RequestForwarding.new(client: self)
|
135
|
-
@jobs = FinchAPI::Resources::Jobs.new(client: self)
|
136
|
-
@sandbox = FinchAPI::Resources::Sandbox.new(client: self)
|
137
|
-
@payroll = FinchAPI::Resources::Payroll.new(client: self)
|
138
|
-
@connect = FinchAPI::Resources::Connect.new(client: self)
|
139
|
-
end
|
140
|
-
end
|
141
|
-
end
|
data/lib/finch-api/errors.rb
DELETED
@@ -1,183 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module FinchAPI
|
4
|
-
class Error < StandardError
|
5
|
-
# @!parse
|
6
|
-
# # @return [StandardError, nil]
|
7
|
-
# attr_accessor :cause
|
8
|
-
end
|
9
|
-
|
10
|
-
class ConversionError < FinchAPI::Error
|
11
|
-
end
|
12
|
-
|
13
|
-
class APIError < FinchAPI::Error
|
14
|
-
# @return [URI::Generic]
|
15
|
-
attr_accessor :url
|
16
|
-
|
17
|
-
# @return [Integer, nil]
|
18
|
-
attr_accessor :status
|
19
|
-
|
20
|
-
# @return [Object, nil]
|
21
|
-
attr_accessor :body
|
22
|
-
|
23
|
-
# @api private
|
24
|
-
#
|
25
|
-
# @param url [URI::Generic]
|
26
|
-
# @param status [Integer, nil]
|
27
|
-
# @param body [Object, nil]
|
28
|
-
# @param request [nil]
|
29
|
-
# @param response [nil]
|
30
|
-
# @param message [String, nil]
|
31
|
-
def initialize(url:, status: nil, body: nil, request: nil, response: nil, message: nil)
|
32
|
-
@url = url
|
33
|
-
@status = status
|
34
|
-
@body = body
|
35
|
-
@request = request
|
36
|
-
@response = response
|
37
|
-
super(message)
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
class APIConnectionError < FinchAPI::APIError
|
42
|
-
# @!parse
|
43
|
-
# # @return [nil]
|
44
|
-
# attr_accessor :status
|
45
|
-
|
46
|
-
# @!parse
|
47
|
-
# # @return [nil]
|
48
|
-
# attr_accessor :body
|
49
|
-
|
50
|
-
# @api private
|
51
|
-
#
|
52
|
-
# @param url [URI::Generic]
|
53
|
-
# @param status [nil]
|
54
|
-
# @param body [nil]
|
55
|
-
# @param request [nil]
|
56
|
-
# @param response [nil]
|
57
|
-
# @param message [String, nil]
|
58
|
-
def initialize(
|
59
|
-
url:,
|
60
|
-
status: nil,
|
61
|
-
body: nil,
|
62
|
-
request: nil,
|
63
|
-
response: nil,
|
64
|
-
message: "Connection error."
|
65
|
-
)
|
66
|
-
super
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
class APITimeoutError < FinchAPI::APIConnectionError
|
71
|
-
# @api private
|
72
|
-
#
|
73
|
-
# @param url [URI::Generic]
|
74
|
-
# @param status [nil]
|
75
|
-
# @param body [nil]
|
76
|
-
# @param request [nil]
|
77
|
-
# @param response [nil]
|
78
|
-
# @param message [String, nil]
|
79
|
-
def initialize(
|
80
|
-
url:,
|
81
|
-
status: nil,
|
82
|
-
body: nil,
|
83
|
-
request: nil,
|
84
|
-
response: nil,
|
85
|
-
message: "Request timed out."
|
86
|
-
)
|
87
|
-
super
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|
91
|
-
class APIStatusError < FinchAPI::APIError
|
92
|
-
# @api private
|
93
|
-
#
|
94
|
-
# @param url [URI::Generic]
|
95
|
-
# @param status [Integer]
|
96
|
-
# @param body [Object, nil]
|
97
|
-
# @param request [nil]
|
98
|
-
# @param response [nil]
|
99
|
-
# @param message [String, nil]
|
100
|
-
#
|
101
|
-
# @return [FinchAPI::APIStatusError]
|
102
|
-
def self.for(url:, status:, body:, request:, response:, message: nil)
|
103
|
-
kwargs = {url: url, status: status, body: body, request: request, response: response, message: message}
|
104
|
-
|
105
|
-
case status
|
106
|
-
in 400
|
107
|
-
FinchAPI::BadRequestError.new(**kwargs)
|
108
|
-
in 401
|
109
|
-
FinchAPI::AuthenticationError.new(**kwargs)
|
110
|
-
in 403
|
111
|
-
FinchAPI::PermissionDeniedError.new(**kwargs)
|
112
|
-
in 404
|
113
|
-
FinchAPI::NotFoundError.new(**kwargs)
|
114
|
-
in 409
|
115
|
-
FinchAPI::ConflictError.new(**kwargs)
|
116
|
-
in 422
|
117
|
-
FinchAPI::UnprocessableEntityError.new(**kwargs)
|
118
|
-
in 429
|
119
|
-
FinchAPI::RateLimitError.new(**kwargs)
|
120
|
-
in (500..)
|
121
|
-
FinchAPI::InternalServerError.new(**kwargs)
|
122
|
-
else
|
123
|
-
FinchAPI::APIStatusError.new(**kwargs)
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
# @!parse
|
128
|
-
# # @return [Integer]
|
129
|
-
# attr_accessor :status
|
130
|
-
|
131
|
-
# @api private
|
132
|
-
#
|
133
|
-
# @param url [URI::Generic]
|
134
|
-
# @param status [Integer]
|
135
|
-
# @param body [Object, nil]
|
136
|
-
# @param request [nil]
|
137
|
-
# @param response [nil]
|
138
|
-
# @param message [String, nil]
|
139
|
-
def initialize(url:, status:, body:, request:, response:, message: nil)
|
140
|
-
message ||= {url: url.to_s, status: status, body: body}
|
141
|
-
super(
|
142
|
-
url: url,
|
143
|
-
status: status,
|
144
|
-
body: body,
|
145
|
-
request: request,
|
146
|
-
response: response,
|
147
|
-
message: message&.to_s
|
148
|
-
)
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
class BadRequestError < FinchAPI::APIStatusError
|
153
|
-
HTTP_STATUS = 400
|
154
|
-
end
|
155
|
-
|
156
|
-
class AuthenticationError < FinchAPI::APIStatusError
|
157
|
-
HTTP_STATUS = 401
|
158
|
-
end
|
159
|
-
|
160
|
-
class PermissionDeniedError < FinchAPI::APIStatusError
|
161
|
-
HTTP_STATUS = 403
|
162
|
-
end
|
163
|
-
|
164
|
-
class NotFoundError < FinchAPI::APIStatusError
|
165
|
-
HTTP_STATUS = 404
|
166
|
-
end
|
167
|
-
|
168
|
-
class ConflictError < FinchAPI::APIStatusError
|
169
|
-
HTTP_STATUS = 409
|
170
|
-
end
|
171
|
-
|
172
|
-
class UnprocessableEntityError < FinchAPI::APIStatusError
|
173
|
-
HTTP_STATUS = 422
|
174
|
-
end
|
175
|
-
|
176
|
-
class RateLimitError < FinchAPI::APIStatusError
|
177
|
-
HTTP_STATUS = 429
|
178
|
-
end
|
179
|
-
|
180
|
-
class InternalServerError < FinchAPI::APIStatusError
|
181
|
-
HTTP_STATUS = (500..)
|
182
|
-
end
|
183
|
-
end
|
@@ -1,92 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module FinchAPI
|
4
|
-
# @example
|
5
|
-
# if individuals_page.has_next?
|
6
|
-
# individuals_page = individuals_page.next_page
|
7
|
-
# end
|
8
|
-
#
|
9
|
-
# @example
|
10
|
-
# individuals_page.auto_paging_each do |directory|
|
11
|
-
# puts(directory)
|
12
|
-
# end
|
13
|
-
#
|
14
|
-
# @example
|
15
|
-
# directories =
|
16
|
-
# individuals_page
|
17
|
-
# .to_enum
|
18
|
-
# .lazy
|
19
|
-
# .select { _1.object_id.even? }
|
20
|
-
# .map(&:itself)
|
21
|
-
# .take(2)
|
22
|
-
# .to_a
|
23
|
-
#
|
24
|
-
# directories => Array
|
25
|
-
class IndividualsPage
|
26
|
-
include FinchAPI::Type::BasePage
|
27
|
-
|
28
|
-
# @return [Array<Object>, nil]
|
29
|
-
attr_accessor :individuals
|
30
|
-
|
31
|
-
# @return [FinchAPI::Models::Paging]
|
32
|
-
attr_accessor :paging
|
33
|
-
|
34
|
-
# @api private
|
35
|
-
#
|
36
|
-
# @param client [FinchAPI::Transport::BaseClient]
|
37
|
-
# @param req [Hash{Symbol=>Object}]
|
38
|
-
# @param headers [Hash{String=>String}, Net::HTTPHeader]
|
39
|
-
# @param page_data [Hash{Symbol=>Object}]
|
40
|
-
def initialize(client:, req:, headers:, page_data:)
|
41
|
-
super
|
42
|
-
model = req.fetch(:model)
|
43
|
-
|
44
|
-
case page_data
|
45
|
-
in {individuals: Array | nil => individuals}
|
46
|
-
@individuals = individuals&.map { FinchAPI::Type::Converter.coerce(model, _1) }
|
47
|
-
else
|
48
|
-
end
|
49
|
-
|
50
|
-
case page_data
|
51
|
-
in {paging: Hash | nil => paging}
|
52
|
-
@paging = FinchAPI::Type::Converter.coerce(FinchAPI::Models::Paging, paging)
|
53
|
-
else
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
# @return [Boolean]
|
58
|
-
def next_page?
|
59
|
-
paging&.offset.to_i + individuals.to_a.size < paging&.count.to_i
|
60
|
-
end
|
61
|
-
|
62
|
-
# @raise [FinchAPI::HTTP::Error]
|
63
|
-
# @return [FinchAPI::IndividualsPage]
|
64
|
-
def next_page
|
65
|
-
unless next_page?
|
66
|
-
message = "No more pages available. Please check #next_page? before calling ##{__method__}"
|
67
|
-
raise RuntimeError.new(message)
|
68
|
-
end
|
69
|
-
|
70
|
-
req = FinchAPI::Util.deep_merge(@req, {query: {offset: paging&.offset.to_i + individuals.to_a.size}})
|
71
|
-
@client.request(req)
|
72
|
-
end
|
73
|
-
|
74
|
-
# @param blk [Proc]
|
75
|
-
def auto_paging_each(&blk)
|
76
|
-
unless block_given?
|
77
|
-
raise ArgumentError.new("A block must be given to ##{__method__}")
|
78
|
-
end
|
79
|
-
page = self
|
80
|
-
loop do
|
81
|
-
page.individuals&.each { blk.call(_1) }
|
82
|
-
break unless page.next_page?
|
83
|
-
page = page.next_page
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
# @return [String]
|
88
|
-
def inspect
|
89
|
-
"#<#{self.class}:0x#{object_id.to_s(16)} individuals=#{individuals.inspect} paging=#{paging.inspect}>"
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module FinchAPI
|
4
|
-
module Models
|
5
|
-
class AccessTokenCreateParams < FinchAPI::BaseModel
|
6
|
-
# @!parse
|
7
|
-
# extend FinchAPI::Type::RequestParameters::Converter
|
8
|
-
include FinchAPI::RequestParameters
|
9
|
-
|
10
|
-
# @!attribute code
|
11
|
-
#
|
12
|
-
# @return [String]
|
13
|
-
required :code, String
|
14
|
-
|
15
|
-
# @!attribute [r] client_id
|
16
|
-
#
|
17
|
-
# @return [String, nil]
|
18
|
-
optional :client_id, String
|
19
|
-
|
20
|
-
# @!parse
|
21
|
-
# # @return [String]
|
22
|
-
# attr_writer :client_id
|
23
|
-
|
24
|
-
# @!attribute [r] client_secret
|
25
|
-
#
|
26
|
-
# @return [String, nil]
|
27
|
-
optional :client_secret, String
|
28
|
-
|
29
|
-
# @!parse
|
30
|
-
# # @return [String]
|
31
|
-
# attr_writer :client_secret
|
32
|
-
|
33
|
-
# @!attribute [r] redirect_uri
|
34
|
-
#
|
35
|
-
# @return [String, nil]
|
36
|
-
optional :redirect_uri, String
|
37
|
-
|
38
|
-
# @!parse
|
39
|
-
# # @return [String]
|
40
|
-
# attr_writer :redirect_uri
|
41
|
-
|
42
|
-
# @!parse
|
43
|
-
# # @param code [String]
|
44
|
-
# # @param client_id [String]
|
45
|
-
# # @param client_secret [String]
|
46
|
-
# # @param redirect_uri [String]
|
47
|
-
# # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
48
|
-
# #
|
49
|
-
# def initialize(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {}, **) = super
|
50
|
-
|
51
|
-
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module FinchAPI
|
4
|
-
module Models
|
5
|
-
class AccountDisconnectParams < FinchAPI::BaseModel
|
6
|
-
# @!parse
|
7
|
-
# extend FinchAPI::Type::RequestParameters::Converter
|
8
|
-
include FinchAPI::RequestParameters
|
9
|
-
|
10
|
-
# @!parse
|
11
|
-
# # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
12
|
-
# #
|
13
|
-
# def initialize(request_options: {}, **) = super
|
14
|
-
|
15
|
-
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module FinchAPI
|
4
|
-
module Models
|
5
|
-
class AccountIntrospectParams < FinchAPI::BaseModel
|
6
|
-
# @!parse
|
7
|
-
# extend FinchAPI::Type::RequestParameters::Converter
|
8
|
-
include FinchAPI::RequestParameters
|
9
|
-
|
10
|
-
# @!parse
|
11
|
-
# # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
12
|
-
# #
|
13
|
-
# def initialize(request_options: {}, **) = super
|
14
|
-
|
15
|
-
# def initialize: (Hash | FinchAPI::BaseModel) -> void
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|