Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "d9d749d",
"long_sha": "d9d749dfbd3873524400efe236f7d398bb9e948e",
"short_sha": "ad80494",
"long_sha": "ad8049477731f42993257dd8cbbbd4a193f06c92",
"version": "v6.2.0"
},
"release": "v6.3.0"
Expand Down
16 changes: 10 additions & 6 deletions onfido/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
"ApplicantsList",
"BiometricToken",
"BiometricTokenData",
"BiometricTokenResponse",
"BiometricTokenUpdater",
"BiometricTokensList",
"BiometricTokensResponse",
"Check",
"CheckBuilder",
"CheckRequest",
Expand Down Expand Up @@ -216,9 +217,10 @@
"IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid",
"IndiaPanReportAllOfProperties",
"IndiaPanReportAllOfPropertiesDevice",
"InvalidatedBiometricTokenResponse",
"InvalidatedBiometricTokenSummary",
"InvalidatedBiometricTokenSummaryDeletedItems",
"InvalidatedBiometricTokensSummary",
"InvalidatedBiometricTokensResponse",
"KnownFacesBreakdown",
"KnownFacesBreakdownImageIntegrity",
"KnownFacesBreakdownPreviouslySeenFaces",
Expand Down Expand Up @@ -273,7 +275,7 @@
"Task",
"TaskItem",
"TimelineFileReference",
"UpdateBiometricToken200Response",
"UpdatedBiometricTokenResponse",
"UsDrivingLicenceBreakdown",
"UsDrivingLicenceBreakdownAddress",
"UsDrivingLicenceBreakdownAddressBreakdown",
Expand Down Expand Up @@ -379,8 +381,9 @@
from onfido.models.applicants_list import ApplicantsList as ApplicantsList
from onfido.models.biometric_token import BiometricToken as BiometricToken
from onfido.models.biometric_token_data import BiometricTokenData as BiometricTokenData
from onfido.models.biometric_token_response import BiometricTokenResponse as BiometricTokenResponse
from onfido.models.biometric_token_updater import BiometricTokenUpdater as BiometricTokenUpdater
from onfido.models.biometric_tokens_list import BiometricTokensList as BiometricTokensList
from onfido.models.biometric_tokens_response import BiometricTokensResponse as BiometricTokensResponse
from onfido.models.check import Check as Check
from onfido.models.check_builder import CheckBuilder as CheckBuilder
from onfido.models.check_request import CheckRequest as CheckRequest
Expand Down Expand Up @@ -549,9 +552,10 @@
from onfido.models.india_pan_report_all_of_breakdown_device_breakdown_pan_valid import IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid as IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid
from onfido.models.india_pan_report_all_of_properties import IndiaPanReportAllOfProperties as IndiaPanReportAllOfProperties
from onfido.models.india_pan_report_all_of_properties_device import IndiaPanReportAllOfPropertiesDevice as IndiaPanReportAllOfPropertiesDevice
from onfido.models.invalidated_biometric_token_response import InvalidatedBiometricTokenResponse as InvalidatedBiometricTokenResponse
from onfido.models.invalidated_biometric_token_summary import InvalidatedBiometricTokenSummary as InvalidatedBiometricTokenSummary
from onfido.models.invalidated_biometric_token_summary_deleted_items import InvalidatedBiometricTokenSummaryDeletedItems as InvalidatedBiometricTokenSummaryDeletedItems
from onfido.models.invalidated_biometric_tokens_summary import InvalidatedBiometricTokensSummary as InvalidatedBiometricTokensSummary
from onfido.models.invalidated_biometric_tokens_response import InvalidatedBiometricTokensResponse as InvalidatedBiometricTokensResponse
from onfido.models.known_faces_breakdown import KnownFacesBreakdown as KnownFacesBreakdown
from onfido.models.known_faces_breakdown_image_integrity import KnownFacesBreakdownImageIntegrity as KnownFacesBreakdownImageIntegrity
from onfido.models.known_faces_breakdown_previously_seen_faces import KnownFacesBreakdownPreviouslySeenFaces as KnownFacesBreakdownPreviouslySeenFaces
Expand Down Expand Up @@ -606,7 +610,7 @@
from onfido.models.task import Task as Task
from onfido.models.task_item import TaskItem as TaskItem
from onfido.models.timeline_file_reference import TimelineFileReference as TimelineFileReference
from onfido.models.update_biometric_token200_response import UpdateBiometricToken200Response as UpdateBiometricToken200Response
from onfido.models.updated_biometric_token_response import UpdatedBiometricTokenResponse as UpdatedBiometricTokenResponse
from onfido.models.us_driving_licence_breakdown import UsDrivingLicenceBreakdown as UsDrivingLicenceBreakdown
from onfido.models.us_driving_licence_breakdown_address import UsDrivingLicenceBreakdownAddress as UsDrivingLicenceBreakdownAddress
from onfido.models.us_driving_licence_breakdown_address_breakdown import UsDrivingLicenceBreakdownAddressBreakdown as UsDrivingLicenceBreakdownAddressBreakdown
Expand Down
60 changes: 30 additions & 30 deletions onfido/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
from onfido.models.applicant_consent import ApplicantConsent
from onfido.models.applicant_updater import ApplicantUpdater
from onfido.models.applicants_list import ApplicantsList
from onfido.models.biometric_token import BiometricToken
from onfido.models.biometric_token_response import BiometricTokenResponse
from onfido.models.biometric_token_updater import BiometricTokenUpdater
from onfido.models.biometric_tokens_list import BiometricTokensList
from onfido.models.biometric_tokens_response import BiometricTokensResponse
from onfido.models.check import Check
from onfido.models.check_builder import CheckBuilder
from onfido.models.checks_list import ChecksList
Expand All @@ -40,8 +40,8 @@
from onfido.models.extraction import Extraction
from onfido.models.id_photo import IdPhoto
from onfido.models.id_photos_list import IdPhotosList
from onfido.models.invalidated_biometric_token_summary import InvalidatedBiometricTokenSummary
from onfido.models.invalidated_biometric_tokens_summary import InvalidatedBiometricTokensSummary
from onfido.models.invalidated_biometric_token_response import InvalidatedBiometricTokenResponse
from onfido.models.invalidated_biometric_tokens_response import InvalidatedBiometricTokensResponse
from onfido.models.live_photo import LivePhoto
from onfido.models.live_photos_list import LivePhotosList
from onfido.models.live_video import LiveVideo
Expand All @@ -63,7 +63,7 @@
from onfido.models.task import Task
from onfido.models.task_item import TaskItem
from onfido.models.timeline_file_reference import TimelineFileReference
from onfido.models.update_biometric_token200_response import UpdateBiometricToken200Response
from onfido.models.updated_biometric_token_response import UpdatedBiometricTokenResponse
from onfido.models.watchlist_monitor import WatchlistMonitor
from onfido.models.watchlist_monitor_builder import WatchlistMonitorBuilder
from onfido.models.watchlist_monitor_matches_list import WatchlistMonitorMatchesList
Expand Down Expand Up @@ -8990,7 +8990,7 @@ def find_biometric_token(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> BiometricToken:
) -> BiometricTokenResponse:
"""Retrieve biometric token

Returns a biometric token's details.
Expand Down Expand Up @@ -9031,7 +9031,7 @@ def find_biometric_token(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "BiometricToken",
'200': "BiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -9061,7 +9061,7 @@ def find_biometric_token_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[BiometricToken]:
) -> ApiResponse[BiometricTokenResponse]:
"""Retrieve biometric token

Returns a biometric token's details.
Expand Down Expand Up @@ -9102,7 +9102,7 @@ def find_biometric_token_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "BiometricToken",
'200': "BiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -9173,7 +9173,7 @@ def find_biometric_token_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "BiometricToken",
'200': "BiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -13524,7 +13524,7 @@ def invalidate_biometric_token(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> InvalidatedBiometricTokenSummary:
) -> InvalidatedBiometricTokenResponse:
"""Invalidate biometric token

Invalidates a biometric token.
Expand Down Expand Up @@ -13565,7 +13565,7 @@ def invalidate_biometric_token(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "InvalidatedBiometricTokenSummary",
'200': "InvalidatedBiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -13595,7 +13595,7 @@ def invalidate_biometric_token_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[InvalidatedBiometricTokenSummary]:
) -> ApiResponse[InvalidatedBiometricTokenResponse]:
"""Invalidate biometric token

Invalidates a biometric token.
Expand Down Expand Up @@ -13636,7 +13636,7 @@ def invalidate_biometric_token_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "InvalidatedBiometricTokenSummary",
'200': "InvalidatedBiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -13707,7 +13707,7 @@ def invalidate_biometric_token_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "InvalidatedBiometricTokenSummary",
'200': "InvalidatedBiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -13800,7 +13800,7 @@ def invalidate_biometric_tokens(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> InvalidatedBiometricTokensSummary:
) -> InvalidatedBiometricTokensResponse:
"""Invalidate biometric tokens

Invalidates every biometric token associated with the supplied customer user ID.
Expand Down Expand Up @@ -13838,7 +13838,7 @@ def invalidate_biometric_tokens(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "InvalidatedBiometricTokensSummary",
'200': "InvalidatedBiometricTokensResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -13867,7 +13867,7 @@ def invalidate_biometric_tokens_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[InvalidatedBiometricTokensSummary]:
) -> ApiResponse[InvalidatedBiometricTokensResponse]:
"""Invalidate biometric tokens

Invalidates every biometric token associated with the supplied customer user ID.
Expand Down Expand Up @@ -13905,7 +13905,7 @@ def invalidate_biometric_tokens_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "InvalidatedBiometricTokensSummary",
'200': "InvalidatedBiometricTokensResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -13972,7 +13972,7 @@ def invalidate_biometric_tokens_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "InvalidatedBiometricTokensSummary",
'200': "InvalidatedBiometricTokensResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -14360,7 +14360,7 @@ def list_biometric_tokens(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> BiometricTokensList:
) -> BiometricTokensResponse:
"""List biometric tokens

Returns the biometric tokens associated with the supplied customer user ID.
Expand Down Expand Up @@ -14398,7 +14398,7 @@ def list_biometric_tokens(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "BiometricTokensList",
'200': "BiometricTokensResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -14427,7 +14427,7 @@ def list_biometric_tokens_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[BiometricTokensList]:
) -> ApiResponse[BiometricTokensResponse]:
"""List biometric tokens

Returns the biometric tokens associated with the supplied customer user ID.
Expand Down Expand Up @@ -14465,7 +14465,7 @@ def list_biometric_tokens_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "BiometricTokensList",
'200': "BiometricTokensResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -14532,7 +14532,7 @@ def list_biometric_tokens_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "BiometricTokensList",
'200': "BiometricTokensResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -20577,7 +20577,7 @@ def update_biometric_token(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> UpdateBiometricToken200Response:
) -> UpdatedBiometricTokenResponse:
"""Update biometric token

Updates a biometric token's status.
Expand Down Expand Up @@ -20621,7 +20621,7 @@ def update_biometric_token(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "UpdateBiometricToken200Response",
'200': "UpdatedBiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -20652,7 +20652,7 @@ def update_biometric_token_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[UpdateBiometricToken200Response]:
) -> ApiResponse[UpdatedBiometricTokenResponse]:
"""Update biometric token

Updates a biometric token's status.
Expand Down Expand Up @@ -20696,7 +20696,7 @@ def update_biometric_token_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "UpdateBiometricToken200Response",
'200': "UpdatedBiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -20771,7 +20771,7 @@ def update_biometric_token_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "UpdateBiometricToken200Response",
'200': "UpdatedBiometricTokenResponse",
}
response_data = self.api_client.call_api(
*_param,
Expand Down
8 changes: 5 additions & 3 deletions onfido/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
from onfido.models.applicants_list import ApplicantsList
from onfido.models.biometric_token import BiometricToken
from onfido.models.biometric_token_data import BiometricTokenData
from onfido.models.biometric_token_response import BiometricTokenResponse
from onfido.models.biometric_token_updater import BiometricTokenUpdater
from onfido.models.biometric_tokens_list import BiometricTokensList
from onfido.models.biometric_tokens_response import BiometricTokensResponse
from onfido.models.check import Check
from onfido.models.check_builder import CheckBuilder
from onfido.models.check_request import CheckRequest
Expand Down Expand Up @@ -201,9 +202,10 @@
from onfido.models.india_pan_report_all_of_breakdown_device_breakdown_pan_valid import IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid
from onfido.models.india_pan_report_all_of_properties import IndiaPanReportAllOfProperties
from onfido.models.india_pan_report_all_of_properties_device import IndiaPanReportAllOfPropertiesDevice
from onfido.models.invalidated_biometric_token_response import InvalidatedBiometricTokenResponse
from onfido.models.invalidated_biometric_token_summary import InvalidatedBiometricTokenSummary
from onfido.models.invalidated_biometric_token_summary_deleted_items import InvalidatedBiometricTokenSummaryDeletedItems
from onfido.models.invalidated_biometric_tokens_summary import InvalidatedBiometricTokensSummary
from onfido.models.invalidated_biometric_tokens_response import InvalidatedBiometricTokensResponse
from onfido.models.known_faces_breakdown import KnownFacesBreakdown
from onfido.models.known_faces_breakdown_image_integrity import KnownFacesBreakdownImageIntegrity
from onfido.models.known_faces_breakdown_previously_seen_faces import KnownFacesBreakdownPreviouslySeenFaces
Expand Down Expand Up @@ -258,7 +260,7 @@
from onfido.models.task import Task
from onfido.models.task_item import TaskItem
from onfido.models.timeline_file_reference import TimelineFileReference
from onfido.models.update_biometric_token200_response import UpdateBiometricToken200Response
from onfido.models.updated_biometric_token_response import UpdatedBiometricTokenResponse
from onfido.models.us_driving_licence_breakdown import UsDrivingLicenceBreakdown
from onfido.models.us_driving_licence_breakdown_address import UsDrivingLicenceBreakdownAddress
from onfido.models.us_driving_licence_breakdown_address_breakdown import UsDrivingLicenceBreakdownAddressBreakdown
Expand Down
Loading
Loading