Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

Commit 6850653

Browse files
author
Engineering at Onfido
committed
New client release: 3.0.0
1 parent 76492d4 commit 6850653

20 files changed

+77
-4204
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Onfido API is used to submit check requests.
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 2.0.0
7-
- Package version: 2.1.0
7+
- Package version: 3.0.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

docs/Check.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
1515
**type** | **str** | The type of the check, `standard` or `express`. |
1616
**report_type_groups** | **list[str]** | Array containing ids of the Report type groups being requested for. Write-only. | [optional]
1717
**tags** | **list[str]** | Array of tags being assigned to this check. | [optional]
18-
**suppress_form_emails** | **bool** | For standard checks, applicant form will not be automatically sent if this is set to true. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. | [optional] [default to False]
19-
**charge_applicant_for_check** | **bool** | For standard checks, applicants will be presented with a mandatory payment screen before they can submit the applicant form, if this is set to true. In this case, your account will not be charged. Write-only. | [optional] [default to False]
18+
**suppress_form_emails** | **bool** | For standard checks, applicant form will not be automatically sent if this is set to true. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false. | [optional]
19+
**charge_applicant_for_check** | **bool** | For standard checks, applicants will be presented with a mandatory payment screen before they can submit the applicant form, if this is set to true. In this case, your account will not be charged. Write-only. Defaults to false. | [optional]
2020
**brand_id** | **str** | ID of the brand under which the check should be conducted. Write-only. | [optional]
21-
**async** | **bool** | If this is set to true, we will queue checks for processing and return a response immediately. You can configure webhooks to notify you when the report is complete. Write-only. | [optional] [default to False]
21+
**asynchronous** | **bool** | If this is set to true, we will queue checks for processing and return a response immediately. You can configure webhooks to notify you when the report is complete. Write-only. Defaults to false. | [optional]
2222
**reports** | [**list[Report]**](Report.md) | An array of reports. | [optional]
2323

2424
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/CheckCommon.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
1515
**type** | **str** | The type of the check, `standard` or `express`. | [optional]
1616
**report_type_groups** | **list[str]** | Array containing ids of the Report type groups being requested for. Write-only. | [optional]
1717
**tags** | **list[str]** | Array of tags being assigned to this check. | [optional]
18-
**suppress_form_emails** | **bool** | For standard checks, applicant form will not be automatically sent if this is set to true. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. | [optional] [default to False]
19-
**charge_applicant_for_check** | **bool** | For standard checks, applicants will be presented with a mandatory payment screen before they can submit the applicant form, if this is set to true. In this case, your account will not be charged. Write-only. | [optional] [default to False]
18+
**suppress_form_emails** | **bool** | For standard checks, applicant form will not be automatically sent if this is set to true. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false. | [optional]
19+
**charge_applicant_for_check** | **bool** | For standard checks, applicants will be presented with a mandatory payment screen before they can submit the applicant form, if this is set to true. In this case, your account will not be charged. Write-only. Defaults to false. | [optional]
2020
**brand_id** | **str** | ID of the brand under which the check should be conducted. Write-only. | [optional]
21-
**async** | **bool** | If this is set to true, we will queue checks for processing and return a response immediately. You can configure webhooks to notify you when the report is complete. Write-only. | [optional] [default to False]
21+
**asynchronous** | **bool** | If this is set to true, we will queue checks for processing and return a response immediately. You can configure webhooks to notify you when the report is complete. Write-only. Defaults to false. | [optional]
2222

2323
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2424

docs/CheckCreationRequest.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/CheckWithReportIds.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
1515
**type** | **str** | The type of the check, `standard` or `express`. | [optional]
1616
**report_type_groups** | **list[str]** | Array containing ids of the Report type groups being requested for. Write-only. | [optional]
1717
**tags** | **list[str]** | Array of tags being assigned to this check. | [optional]
18-
**suppress_form_emails** | **bool** | For standard checks, applicant form will not be automatically sent if this is set to true. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. | [optional] [default to False]
19-
**charge_applicant_for_check** | **bool** | For standard checks, applicants will be presented with a mandatory payment screen before they can submit the applicant form, if this is set to true. In this case, your account will not be charged. Write-only. | [optional] [default to False]
18+
**suppress_form_emails** | **bool** | For standard checks, applicant form will not be automatically sent if this is set to true. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false. | [optional]
19+
**charge_applicant_for_check** | **bool** | For standard checks, applicants will be presented with a mandatory payment screen before they can submit the applicant form, if this is set to true. In this case, your account will not be charged. Write-only. Defaults to false. | [optional]
2020
**brand_id** | **str** | ID of the brand under which the check should be conducted. Write-only. | [optional]
21-
**async** | **bool** | If this is set to true, we will queue checks for processing and return a response immediately. You can configure webhooks to notify you when the report is complete. Write-only. | [optional] [default to False]
21+
**asynchronous** | **bool** | If this is set to true, we will queue checks for processing and return a response immediately. You can configure webhooks to notify you when the report is complete. Write-only. Defaults to false. | [optional]
2222
**reports** | **list[str]** | An array of report ids. | [optional]
2323

2424
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/ReportTypeOption.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

git_push.sh

Lines changed: 0 additions & 52 deletions
This file was deleted.

onfido/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "2.1.0"
17+
__version__ = "3.0.0"
1818

1919
# import apis into sdk package
2020
from onfido.api.default_api import DefaultApi

onfido/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7575
self.default_headers[header_name] = header_value
7676
self.cookie = cookie
7777
# Set default User-Agent.
78-
self.user_agent = 'OpenAPI-Generator/2.1.0/python'
78+
self.user_agent = 'OpenAPI-Generator/3.0.0/python'
7979

8080
def __del__(self):
8181
if self._pool:

onfido/apis/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)