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
8 changes: 4 additions & 4 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "4204f00",
"long_sha": "4204f00a2c7f0f5bd61da3b5442d8eb613418e9e",
"version": "v6.0.0"
"short_sha": "6a19890",
"long_sha": "6a198909828b3935c65b669e44cf2927e84957c0",
"version": "v6.0.1"
},
"release": "v6.0.0"
"release": "v6.1.0"
}
2 changes: 1 addition & 1 deletion onfido/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "6.0.0"
__version__ = "6.1.0"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion onfido/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'onfido-python/6.0.0'
self.user_agent = 'onfido-python/6.1.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion onfido/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def to_debug_report(self) -> str:
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v3.6\n"\
"SDK Package Version: 6.0.0".\
"SDK Package Version: 6.1.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
6 changes: 5 additions & 1 deletion onfido/models/device_intelligence_properties_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ class DeviceIntelligencePropertiesDevice(BaseModel):
browser: Optional[StrictStr] = Field(default=None, description="The browser name reported by the browser's user agent.")
emulator: Optional[StrictBool] = Field(default=None, description="Whether the device is an emulator.")
randomized_device: Optional[StrictBool] = Field(default=None, description="Whether the device is providing false randomized device and network information.")
number_of_ip_reuse_reports: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Counts the number of distinct document reports submitted in the last 24 hours that are associated with the applicant’s IP address.")
number_of_suspected_ip_reuse_reports: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Counts the number of distinct document reports from the last 24 hours associated with the applicant’s IP address that have a result of suspected and other document integrity or authenticity signals have been flagged.")
fake_network_request: Optional[StrictBool] = Field(default=None, description="Whether device is using stolen security tokens to send the network information.")
ip_reputation: Optional[StrictStr] = Field(default=None, description="Whether there is highly suspicious traffic related to the IP address. The risk depends on the overall ratio of clear checks on a given IP.")
device_fingerprint_reuse: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of times the device was used to create a report for a new applicant. A value greater than 1 indicates potential device reuse.")
single_device_used: Optional[StrictBool] = Field(default=None, description="Whether the document or biometric media were uploaded from a single device.")
document_capture: Optional[StrictStr] = Field(default=None, description="Whether the document media were live captured from the device camera.")
biometric_capture: Optional[StrictStr] = Field(default=None, description="Whether the biometric media were live captured from the device camera.")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["sdk_version", "sdk_source", "authentication_type", "raw_model", "os", "browser", "emulator", "randomized_device", "fake_network_request", "ip_reputation", "device_fingerprint_reuse", "single_device_used", "document_capture", "biometric_capture"]
__properties: ClassVar[List[str]] = ["sdk_version", "sdk_source", "authentication_type", "raw_model", "os", "browser", "emulator", "randomized_device", "number_of_ip_reuse_reports", "number_of_suspected_ip_reuse_reports", "fake_network_request", "ip_reputation", "device_fingerprint_reuse", "single_device_used", "document_capture", "biometric_capture"]

@field_validator('sdk_source')
def sdk_source_validate_enum(cls, value):
Expand Down Expand Up @@ -164,6 +166,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"browser": obj.get("browser"),
"emulator": obj.get("emulator"),
"randomized_device": obj.get("randomized_device"),
"number_of_ip_reuse_reports": obj.get("number_of_ip_reuse_reports"),
"number_of_suspected_ip_reuse_reports": obj.get("number_of_suspected_ip_reuse_reports"),
"fake_network_request": obj.get("fake_network_request"),
"ip_reputation": obj.get("ip_reputation"),
"device_fingerprint_reuse": obj.get("device_fingerprint_reuse"),
Expand Down
Loading
Loading