finch-api 2.1.0__tar.gz → 2.2.0__tar.gz
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.
- finch_api-2.2.0/.release-please-manifest.json +3 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/CHANGELOG.md +8 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/PKG-INFO +1 -1
- {finch_api-2.1.0 → finch_api-2.2.0}/pyproject.toml +1 -1
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_version.py +1 -1
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/directory.py +4 -4
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/employments.py +2 -2
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/individuals.py +8 -4
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/pay_statements.py +2 -2
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/directory_list_individuals_params.py +1 -1
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/directory_list_params.py +1 -1
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/employment_retrieve_many_params.py +2 -7
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/individual_retrieve_many_params.py +8 -7
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_retrieve_many_params.py +2 -2
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_directory.py +4 -4
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_individuals.py +20 -8
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_pay_statements.py +10 -10
- finch_api-2.1.0/.release-please-manifest.json +0 -3
- {finch_api-2.1.0 → finch_api-2.2.0}/.gitignore +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/CONTRIBUTING.md +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/LICENSE +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/README.md +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/SECURITY.md +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/api.md +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/bin/check-release-environment +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/bin/publish-pypi +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/examples/.keep +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/noxfile.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/release-please-config.json +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/requirements-dev.lock +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/requirements.lock +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_base_client.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_client.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_compat.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_constants.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_exceptions.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_files.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_legacy_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_models.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_qs.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_resource.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_streaming.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_types.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_compat.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_datetime_parse.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_json.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_logs.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_path.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_proxy.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_reflection.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_resources_proxy.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_streams.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_sync.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_transform.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_typing.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/_utils/_utils.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/lib/.keep +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/pagination.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/py.typed +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/access_tokens.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/account.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/connect/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/connect/connect.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/connect/sessions.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/benefits/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/benefits/benefits.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/benefits/individuals.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/company.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/documents.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/hris.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/pay_statement_item/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/pay_statement_item/pay_statement_item.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/pay_statement_item/rules.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/hris/payments.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/jobs/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/jobs/automated.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/jobs/jobs.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/jobs/manual.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/payroll/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/payroll/pay_groups.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/payroll/payroll.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/providers.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/request_forwarding.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/company.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/connections/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/connections/accounts.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/connections/connections.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/directory.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/employment.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/individual.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/jobs/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/jobs/configuration.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/jobs/jobs.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/payment.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/sandbox/sandbox.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/resources/webhooks.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/access_token_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/account_disconnect_entity_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/account_update_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/base_webhook_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/company_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/connect/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/connect/session_new_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/connect/session_new_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/connect/session_reauthenticate_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/connect/session_reauthenticate_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/create_access_token_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/directory_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/disconnect_entity_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/disconnect_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/employment_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_features_and_operations.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_frequency.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_list_supported_benefits_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_register_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_retrieve_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_type.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefit_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/enrolled_individual_benefit_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/individual_benefit.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/individual_enroll_many_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/individual_enrolled_ids_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/individual_enrolled_ids_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/individual_retrieve_many_benefits_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/individual_unenroll_many_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits/unenrolled_individual_benefit_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/benefits_support.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/company.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/company_benefit.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/company_retrieve_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/create_company_benefits_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/document_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/document_list_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/document_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/document_retreive_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/document_retreive_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/employment_data.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/employment_data_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/individual.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/individual_in_directory.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/individual_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_data.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_data_sync_in_progress.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_delete_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_delete_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_list_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item/rule_update_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_item_list_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/payment.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/payment_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/register_company_benefit_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/support_per_benefit_type.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/supported_benefit.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/update_company_benefit_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/w42005.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/w42020.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/income.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/income_param.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/individual_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/introspection.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/job_completion_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/automated_async_job.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/automated_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/automated_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/automated_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/automated_list_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/jobs/manual_async_job.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/location.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/location_param.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/money.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/pay_statement_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/payment_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/payroll/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/payroll/pay_group_list_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/payroll/pay_group_list_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/payroll/pay_group_retrieve_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/payroll/pay_group_retrieve_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/provider_list_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/request_forwarding_forward_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/request_forwarding_forward_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/company_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/company_update_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connection_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connection_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connections/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connections/account_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connections/account_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connections/account_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/connections/account_update_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/directory_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/directory_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/employment_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/employment_update_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/individual_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/individual_update_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/job_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/job_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/jobs/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/jobs/configuration_retrieve_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/jobs/configuration_update_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/jobs/sandbox_job_configuration.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/payment_create_params.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/sandbox/payment_create_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared/connection_status_type.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared/operation_support.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared/operation_support_matrix.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared/paging.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared_params/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/shared_params/connection_status_type.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/webhook_event.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/connect/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/connect/test_sessions.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/benefits/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/benefits/test_individuals.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/pay_statement_item/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/pay_statement_item/test_rules.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_benefits.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_company.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_documents.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_employments.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_pay_statement_item.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/hris/test_payments.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/jobs/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/jobs/test_automated.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/jobs/test_manual.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/payroll/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/payroll/test_pay_groups.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/connections/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/connections/test_accounts.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/jobs/__init__.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/jobs/test_configuration.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_company.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_connections.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_directory.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_employment.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_individual.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_jobs.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/sandbox/test_payment.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/test_access_tokens.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/test_account.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/test_providers.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/test_request_forwarding.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/test_top_level.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/api_resources/test_webhooks.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/conftest.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/sample_file.txt +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_client.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_extract_files.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_files.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_legacy_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_models.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_qs.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_required_args.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_response.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_streaming.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_transform.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_utils/test_json.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_utils/test_path.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_utils/test_proxy.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/test_utils/test_typing.py +0 -0
- {finch_api-2.1.0 → finch_api-2.2.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.2.0 (2026-07-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.1.0...v2.2.0](https://github.com/Finch-API/finch-api-python/compare/v2.1.0...v2.2.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([2e8eab2](https://github.com/Finch-API/finch-api-python/commit/2e8eab2ee284482e6ed1070156bb378570cbc194))
|
|
10
|
+
|
|
3
11
|
## 2.1.0 (2026-07-01)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v2.0.0...v2.1.0](https://github.com/Finch-API/finch-api-python/compare/v2.0.0...v2.1.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: finch-api
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: The official Python library for the Finch API
|
|
5
5
|
Project-URL: Homepage, https://github.com/Finch-API/finch-api-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Finch-API/finch-api-python
|
|
@@ -59,7 +59,7 @@ class Directory(SyncAPIResource):
|
|
|
59
59
|
Args:
|
|
60
60
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
61
61
|
|
|
62
|
-
limit: Number of employees to return (defaults to
|
|
62
|
+
limit: Number of employees to return (defaults to 100, maximum 10000)
|
|
63
63
|
|
|
64
64
|
offset: Index to start from (defaults to 0)
|
|
65
65
|
|
|
@@ -112,7 +112,7 @@ class Directory(SyncAPIResource):
|
|
|
112
112
|
Args:
|
|
113
113
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
114
114
|
|
|
115
|
-
limit: Number of employees to return (defaults to
|
|
115
|
+
limit: Number of employees to return (defaults to 100, maximum 10000)
|
|
116
116
|
|
|
117
117
|
offset: Index to start from (defaults to 0)
|
|
118
118
|
|
|
@@ -174,7 +174,7 @@ class AsyncDirectory(AsyncAPIResource):
|
|
|
174
174
|
Args:
|
|
175
175
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
176
176
|
|
|
177
|
-
limit: Number of employees to return (defaults to
|
|
177
|
+
limit: Number of employees to return (defaults to 100, maximum 10000)
|
|
178
178
|
|
|
179
179
|
offset: Index to start from (defaults to 0)
|
|
180
180
|
|
|
@@ -227,7 +227,7 @@ class AsyncDirectory(AsyncAPIResource):
|
|
|
227
227
|
Args:
|
|
228
228
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
229
229
|
|
|
230
|
-
limit: Number of employees to return (defaults to
|
|
230
|
+
limit: Number of employees to return (defaults to 100, maximum 10000)
|
|
231
231
|
|
|
232
232
|
offset: Index to start from (defaults to 0)
|
|
233
233
|
|
|
@@ -56,7 +56,7 @@ class Employments(SyncAPIResource):
|
|
|
56
56
|
Read individual employment and income data
|
|
57
57
|
|
|
58
58
|
Args:
|
|
59
|
-
requests: The array of batch requests.
|
|
59
|
+
requests: The array of batch requests. Maximum 10000 items per request.
|
|
60
60
|
|
|
61
61
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
62
62
|
|
|
@@ -123,7 +123,7 @@ class AsyncEmployments(AsyncAPIResource):
|
|
|
123
123
|
Read individual employment and income data
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
|
-
requests: The array of batch requests.
|
|
126
|
+
requests: The array of batch requests. Maximum 10000 items per request.
|
|
127
127
|
|
|
128
128
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
129
129
|
|
|
@@ -43,9 +43,9 @@ class Individuals(SyncAPIResource):
|
|
|
43
43
|
def retrieve_many(
|
|
44
44
|
self,
|
|
45
45
|
*,
|
|
46
|
+
requests: Iterable[individual_retrieve_many_params.Request],
|
|
46
47
|
entity_ids: SequenceNotStr[str] | Omit = omit,
|
|
47
48
|
options: Optional[individual_retrieve_many_params.Options] | Omit = omit,
|
|
48
|
-
requests: Iterable[individual_retrieve_many_params.Request] | Omit = omit,
|
|
49
49
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
50
50
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
51
51
|
extra_headers: Headers | None = None,
|
|
@@ -57,6 +57,8 @@ class Individuals(SyncAPIResource):
|
|
|
57
57
|
Read individual data, excluding income and employment data
|
|
58
58
|
|
|
59
59
|
Args:
|
|
60
|
+
requests: The array of batch requests. Maximum 10000 items per request.
|
|
61
|
+
|
|
60
62
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
61
63
|
|
|
62
64
|
extra_headers: Send extra headers
|
|
@@ -72,8 +74,8 @@ class Individuals(SyncAPIResource):
|
|
|
72
74
|
page=SyncResponsesPage[IndividualResponse],
|
|
73
75
|
body=maybe_transform(
|
|
74
76
|
{
|
|
75
|
-
"options": options,
|
|
76
77
|
"requests": requests,
|
|
78
|
+
"options": options,
|
|
77
79
|
},
|
|
78
80
|
individual_retrieve_many_params.IndividualRetrieveManyParams,
|
|
79
81
|
),
|
|
@@ -115,9 +117,9 @@ class AsyncIndividuals(AsyncAPIResource):
|
|
|
115
117
|
def retrieve_many(
|
|
116
118
|
self,
|
|
117
119
|
*,
|
|
120
|
+
requests: Iterable[individual_retrieve_many_params.Request],
|
|
118
121
|
entity_ids: SequenceNotStr[str] | Omit = omit,
|
|
119
122
|
options: Optional[individual_retrieve_many_params.Options] | Omit = omit,
|
|
120
|
-
requests: Iterable[individual_retrieve_many_params.Request] | Omit = omit,
|
|
121
123
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
122
124
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
123
125
|
extra_headers: Headers | None = None,
|
|
@@ -129,6 +131,8 @@ class AsyncIndividuals(AsyncAPIResource):
|
|
|
129
131
|
Read individual data, excluding income and employment data
|
|
130
132
|
|
|
131
133
|
Args:
|
|
134
|
+
requests: The array of batch requests. Maximum 10000 items per request.
|
|
135
|
+
|
|
132
136
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
133
137
|
|
|
134
138
|
extra_headers: Send extra headers
|
|
@@ -144,8 +148,8 @@ class AsyncIndividuals(AsyncAPIResource):
|
|
|
144
148
|
page=AsyncResponsesPage[IndividualResponse],
|
|
145
149
|
body=maybe_transform(
|
|
146
150
|
{
|
|
147
|
-
"options": options,
|
|
148
151
|
"requests": requests,
|
|
152
|
+
"options": options,
|
|
149
153
|
},
|
|
150
154
|
individual_retrieve_many_params.IndividualRetrieveManyParams,
|
|
151
155
|
),
|
|
@@ -59,7 +59,7 @@ class PayStatements(SyncAPIResource):
|
|
|
59
59
|
supports Benefits.
|
|
60
60
|
|
|
61
61
|
Args:
|
|
62
|
-
requests: The array of batch requests.
|
|
62
|
+
requests: The array of batch requests. Maximum 10 payment_ids per request.
|
|
63
63
|
|
|
64
64
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
65
65
|
|
|
@@ -131,7 +131,7 @@ class AsyncPayStatements(AsyncAPIResource):
|
|
|
131
131
|
supports Benefits.
|
|
132
132
|
|
|
133
133
|
Args:
|
|
134
|
-
requests: The array of batch requests.
|
|
134
|
+
requests: The array of batch requests. Maximum 10 payment_ids per request.
|
|
135
135
|
|
|
136
136
|
entity_ids: The entity IDs to specify which entities' data to access.
|
|
137
137
|
|
{finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/directory_list_individuals_params.py
RENAMED
|
@@ -14,7 +14,7 @@ class DirectoryListIndividualsParams(TypedDict, total=False):
|
|
|
14
14
|
"""The entity IDs to specify which entities' data to access."""
|
|
15
15
|
|
|
16
16
|
limit: int
|
|
17
|
-
"""Number of employees to return (defaults to
|
|
17
|
+
"""Number of employees to return (defaults to 100, maximum 10000)"""
|
|
18
18
|
|
|
19
19
|
offset: int
|
|
20
20
|
"""Index to start from (defaults to 0)"""
|
|
@@ -14,7 +14,7 @@ class DirectoryListParams(TypedDict, total=False):
|
|
|
14
14
|
"""The entity IDs to specify which entities' data to access."""
|
|
15
15
|
|
|
16
16
|
limit: int
|
|
17
|
-
"""Number of employees to return (defaults to
|
|
17
|
+
"""Number of employees to return (defaults to 100, maximum 10000)"""
|
|
18
18
|
|
|
19
19
|
offset: int
|
|
20
20
|
"""Index to start from (defaults to 0)"""
|
|
@@ -12,7 +12,7 @@ __all__ = ["EmploymentRetrieveManyParams", "Request"]
|
|
|
12
12
|
|
|
13
13
|
class EmploymentRetrieveManyParams(TypedDict, total=False):
|
|
14
14
|
requests: Required[Iterable[Request]]
|
|
15
|
-
"""The array of batch requests."""
|
|
15
|
+
"""The array of batch requests. Maximum 10000 items per request."""
|
|
16
16
|
|
|
17
17
|
entity_ids: SequenceNotStr[str]
|
|
18
18
|
"""The entity IDs to specify which entities' data to access."""
|
|
@@ -20,9 +20,4 @@ class EmploymentRetrieveManyParams(TypedDict, total=False):
|
|
|
20
20
|
|
|
21
21
|
class Request(TypedDict, total=False):
|
|
22
22
|
individual_id: Required[str]
|
|
23
|
-
"""A stable Finch `id` (UUID v4) for an individual in the company.
|
|
24
|
-
|
|
25
|
-
There is no limit to the number of `individual_id` to send per request. It is
|
|
26
|
-
preferantial to send all ids in a single request for Finch to optimize provider
|
|
27
|
-
rate-limits.
|
|
28
|
-
"""
|
|
23
|
+
"""A stable Finch `id` (UUID v4) for an individual in the company."""
|
|
@@ -3,25 +3,26 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
from typing import Iterable, Optional
|
|
6
|
-
from typing_extensions import TypedDict
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from ..._types import SequenceNotStr
|
|
9
9
|
|
|
10
|
-
__all__ = ["IndividualRetrieveManyParams", "
|
|
10
|
+
__all__ = ["IndividualRetrieveManyParams", "Request", "Options"]
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class IndividualRetrieveManyParams(TypedDict, total=False):
|
|
14
|
+
requests: Required[Iterable[Request]]
|
|
15
|
+
"""The array of batch requests. Maximum 10000 items per request."""
|
|
16
|
+
|
|
14
17
|
entity_ids: SequenceNotStr[str]
|
|
15
18
|
"""The entity IDs to specify which entities' data to access."""
|
|
16
19
|
|
|
17
20
|
options: Optional[Options]
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
|
|
23
|
+
class Request(TypedDict, total=False):
|
|
24
|
+
individual_id: Required[str]
|
|
20
25
|
|
|
21
26
|
|
|
22
27
|
class Options(TypedDict, total=False):
|
|
23
28
|
include: SequenceNotStr[str]
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class Request(TypedDict, total=False):
|
|
27
|
-
individual_id: str
|
{finch_api-2.1.0 → finch_api-2.2.0}/src/finch/types/hris/pay_statement_retrieve_many_params.py
RENAMED
|
@@ -12,7 +12,7 @@ __all__ = ["PayStatementRetrieveManyParams", "Request"]
|
|
|
12
12
|
|
|
13
13
|
class PayStatementRetrieveManyParams(TypedDict, total=False):
|
|
14
14
|
requests: Required[Iterable[Request]]
|
|
15
|
-
"""The array of batch requests."""
|
|
15
|
+
"""The array of batch requests. Maximum 10 payment_ids per request."""
|
|
16
16
|
|
|
17
17
|
entity_ids: SequenceNotStr[str]
|
|
18
18
|
"""The entity IDs to specify which entities' data to access."""
|
|
@@ -23,7 +23,7 @@ class Request(TypedDict, total=False):
|
|
|
23
23
|
"""A stable Finch `id` (UUID v4) for a payment."""
|
|
24
24
|
|
|
25
25
|
limit: int
|
|
26
|
-
"""Number of pay statements to return (defaults to
|
|
26
|
+
"""Number of pay statements to return (defaults to 100, maximum 5000)."""
|
|
27
27
|
|
|
28
28
|
offset: int
|
|
29
29
|
"""Index to start from."""
|
|
@@ -29,7 +29,7 @@ class TestDirectory:
|
|
|
29
29
|
def test_method_list_with_all_params(self, client: Finch) -> None:
|
|
30
30
|
directory = client.hris.directory.list(
|
|
31
31
|
entity_ids=["550e8400-e29b-41d4-a716-446655440000"],
|
|
32
|
-
limit=
|
|
32
|
+
limit=10000,
|
|
33
33
|
offset=0,
|
|
34
34
|
)
|
|
35
35
|
assert_matches_type(SyncIndividualsPage[IndividualInDirectory], directory, path=["response"])
|
|
@@ -66,7 +66,7 @@ class TestDirectory:
|
|
|
66
66
|
with pytest.warns(DeprecationWarning):
|
|
67
67
|
directory = client.hris.directory.list_individuals(
|
|
68
68
|
entity_ids=["550e8400-e29b-41d4-a716-446655440000"],
|
|
69
|
-
limit=
|
|
69
|
+
limit=10000,
|
|
70
70
|
offset=0,
|
|
71
71
|
)
|
|
72
72
|
|
|
@@ -109,7 +109,7 @@ class TestAsyncDirectory:
|
|
|
109
109
|
async def test_method_list_with_all_params(self, async_client: AsyncFinch) -> None:
|
|
110
110
|
directory = await async_client.hris.directory.list(
|
|
111
111
|
entity_ids=["550e8400-e29b-41d4-a716-446655440000"],
|
|
112
|
-
limit=
|
|
112
|
+
limit=10000,
|
|
113
113
|
offset=0,
|
|
114
114
|
)
|
|
115
115
|
assert_matches_type(AsyncIndividualsPage[IndividualInDirectory], directory, path=["response"])
|
|
@@ -146,7 +146,7 @@ class TestAsyncDirectory:
|
|
|
146
146
|
with pytest.warns(DeprecationWarning):
|
|
147
147
|
directory = await async_client.hris.directory.list_individuals(
|
|
148
148
|
entity_ids=["550e8400-e29b-41d4-a716-446655440000"],
|
|
149
|
-
limit=
|
|
149
|
+
limit=10000,
|
|
150
150
|
offset=0,
|
|
151
151
|
)
|
|
152
152
|
|
|
@@ -20,21 +20,25 @@ class TestIndividuals:
|
|
|
20
20
|
|
|
21
21
|
@parametrize
|
|
22
22
|
def test_method_retrieve_many(self, client: Finch) -> None:
|
|
23
|
-
individual = client.hris.individuals.retrieve_many(
|
|
23
|
+
individual = client.hris.individuals.retrieve_many(
|
|
24
|
+
requests=[{"individual_id": "individual_id"}],
|
|
25
|
+
)
|
|
24
26
|
assert_matches_type(SyncResponsesPage[IndividualResponse], individual, path=["response"])
|
|
25
27
|
|
|
26
28
|
@parametrize
|
|
27
29
|
def test_method_retrieve_many_with_all_params(self, client: Finch) -> None:
|
|
28
30
|
individual = client.hris.individuals.retrieve_many(
|
|
31
|
+
requests=[{"individual_id": "individual_id"}],
|
|
29
32
|
entity_ids=["550e8400-e29b-41d4-a716-446655440000"],
|
|
30
33
|
options={"include": ["string"]},
|
|
31
|
-
requests=[{"individual_id": "individual_id"}],
|
|
32
34
|
)
|
|
33
35
|
assert_matches_type(SyncResponsesPage[IndividualResponse], individual, path=["response"])
|
|
34
36
|
|
|
35
37
|
@parametrize
|
|
36
38
|
def test_raw_response_retrieve_many(self, client: Finch) -> None:
|
|
37
|
-
response = client.hris.individuals.with_raw_response.retrieve_many(
|
|
39
|
+
response = client.hris.individuals.with_raw_response.retrieve_many(
|
|
40
|
+
requests=[{"individual_id": "individual_id"}],
|
|
41
|
+
)
|
|
38
42
|
|
|
39
43
|
assert response.is_closed is True
|
|
40
44
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -43,7 +47,9 @@ class TestIndividuals:
|
|
|
43
47
|
|
|
44
48
|
@parametrize
|
|
45
49
|
def test_streaming_response_retrieve_many(self, client: Finch) -> None:
|
|
46
|
-
with client.hris.individuals.with_streaming_response.retrieve_many(
|
|
50
|
+
with client.hris.individuals.with_streaming_response.retrieve_many(
|
|
51
|
+
requests=[{"individual_id": "individual_id"}],
|
|
52
|
+
) as response:
|
|
47
53
|
assert not response.is_closed
|
|
48
54
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
49
55
|
|
|
@@ -60,21 +66,25 @@ class TestAsyncIndividuals:
|
|
|
60
66
|
|
|
61
67
|
@parametrize
|
|
62
68
|
async def test_method_retrieve_many(self, async_client: AsyncFinch) -> None:
|
|
63
|
-
individual = await async_client.hris.individuals.retrieve_many(
|
|
69
|
+
individual = await async_client.hris.individuals.retrieve_many(
|
|
70
|
+
requests=[{"individual_id": "individual_id"}],
|
|
71
|
+
)
|
|
64
72
|
assert_matches_type(AsyncResponsesPage[IndividualResponse], individual, path=["response"])
|
|
65
73
|
|
|
66
74
|
@parametrize
|
|
67
75
|
async def test_method_retrieve_many_with_all_params(self, async_client: AsyncFinch) -> None:
|
|
68
76
|
individual = await async_client.hris.individuals.retrieve_many(
|
|
77
|
+
requests=[{"individual_id": "individual_id"}],
|
|
69
78
|
entity_ids=["550e8400-e29b-41d4-a716-446655440000"],
|
|
70
79
|
options={"include": ["string"]},
|
|
71
|
-
requests=[{"individual_id": "individual_id"}],
|
|
72
80
|
)
|
|
73
81
|
assert_matches_type(AsyncResponsesPage[IndividualResponse], individual, path=["response"])
|
|
74
82
|
|
|
75
83
|
@parametrize
|
|
76
84
|
async def test_raw_response_retrieve_many(self, async_client: AsyncFinch) -> None:
|
|
77
|
-
response = await async_client.hris.individuals.with_raw_response.retrieve_many(
|
|
85
|
+
response = await async_client.hris.individuals.with_raw_response.retrieve_many(
|
|
86
|
+
requests=[{"individual_id": "individual_id"}],
|
|
87
|
+
)
|
|
78
88
|
|
|
79
89
|
assert response.is_closed is True
|
|
80
90
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -83,7 +93,9 @@ class TestAsyncIndividuals:
|
|
|
83
93
|
|
|
84
94
|
@parametrize
|
|
85
95
|
async def test_streaming_response_retrieve_many(self, async_client: AsyncFinch) -> None:
|
|
86
|
-
async with async_client.hris.individuals.with_streaming_response.retrieve_many(
|
|
96
|
+
async with async_client.hris.individuals.with_streaming_response.retrieve_many(
|
|
97
|
+
requests=[{"individual_id": "individual_id"}],
|
|
98
|
+
) as response:
|
|
87
99
|
assert not response.is_closed
|
|
88
100
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
89
101
|
|
|
@@ -21,7 +21,7 @@ class TestPayStatements:
|
|
|
21
21
|
@parametrize
|
|
22
22
|
def test_method_retrieve_many(self, client: Finch) -> None:
|
|
23
23
|
pay_statement = client.hris.pay_statements.retrieve_many(
|
|
24
|
-
requests=[{"payment_id": "
|
|
24
|
+
requests=[{"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142"}],
|
|
25
25
|
)
|
|
26
26
|
assert_matches_type(SyncResponsesPage[PayStatementResponse], pay_statement, path=["response"])
|
|
27
27
|
|
|
@@ -30,8 +30,8 @@ class TestPayStatements:
|
|
|
30
30
|
pay_statement = client.hris.pay_statements.retrieve_many(
|
|
31
31
|
requests=[
|
|
32
32
|
{
|
|
33
|
-
"payment_id": "
|
|
34
|
-
"limit":
|
|
33
|
+
"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142",
|
|
34
|
+
"limit": 100,
|
|
35
35
|
"offset": 0,
|
|
36
36
|
}
|
|
37
37
|
],
|
|
@@ -42,7 +42,7 @@ class TestPayStatements:
|
|
|
42
42
|
@parametrize
|
|
43
43
|
def test_raw_response_retrieve_many(self, client: Finch) -> None:
|
|
44
44
|
response = client.hris.pay_statements.with_raw_response.retrieve_many(
|
|
45
|
-
requests=[{"payment_id": "
|
|
45
|
+
requests=[{"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142"}],
|
|
46
46
|
)
|
|
47
47
|
|
|
48
48
|
assert response.is_closed is True
|
|
@@ -53,7 +53,7 @@ class TestPayStatements:
|
|
|
53
53
|
@parametrize
|
|
54
54
|
def test_streaming_response_retrieve_many(self, client: Finch) -> None:
|
|
55
55
|
with client.hris.pay_statements.with_streaming_response.retrieve_many(
|
|
56
|
-
requests=[{"payment_id": "
|
|
56
|
+
requests=[{"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142"}],
|
|
57
57
|
) as response:
|
|
58
58
|
assert not response.is_closed
|
|
59
59
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -72,7 +72,7 @@ class TestAsyncPayStatements:
|
|
|
72
72
|
@parametrize
|
|
73
73
|
async def test_method_retrieve_many(self, async_client: AsyncFinch) -> None:
|
|
74
74
|
pay_statement = await async_client.hris.pay_statements.retrieve_many(
|
|
75
|
-
requests=[{"payment_id": "
|
|
75
|
+
requests=[{"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142"}],
|
|
76
76
|
)
|
|
77
77
|
assert_matches_type(AsyncResponsesPage[PayStatementResponse], pay_statement, path=["response"])
|
|
78
78
|
|
|
@@ -81,8 +81,8 @@ class TestAsyncPayStatements:
|
|
|
81
81
|
pay_statement = await async_client.hris.pay_statements.retrieve_many(
|
|
82
82
|
requests=[
|
|
83
83
|
{
|
|
84
|
-
"payment_id": "
|
|
85
|
-
"limit":
|
|
84
|
+
"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142",
|
|
85
|
+
"limit": 100,
|
|
86
86
|
"offset": 0,
|
|
87
87
|
}
|
|
88
88
|
],
|
|
@@ -93,7 +93,7 @@ class TestAsyncPayStatements:
|
|
|
93
93
|
@parametrize
|
|
94
94
|
async def test_raw_response_retrieve_many(self, async_client: AsyncFinch) -> None:
|
|
95
95
|
response = await async_client.hris.pay_statements.with_raw_response.retrieve_many(
|
|
96
|
-
requests=[{"payment_id": "
|
|
96
|
+
requests=[{"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142"}],
|
|
97
97
|
)
|
|
98
98
|
|
|
99
99
|
assert response.is_closed is True
|
|
@@ -104,7 +104,7 @@ class TestAsyncPayStatements:
|
|
|
104
104
|
@parametrize
|
|
105
105
|
async def test_streaming_response_retrieve_many(self, async_client: AsyncFinch) -> None:
|
|
106
106
|
async with async_client.hris.pay_statements.with_streaming_response.retrieve_many(
|
|
107
|
-
requests=[{"payment_id": "
|
|
107
|
+
requests=[{"payment_id": "fc8b024e-d373-4c9c-80fc-f1625383d142"}],
|
|
108
108
|
) as response:
|
|
109
109
|
assert not response.is_closed
|
|
110
110
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|