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
5 changes: 5 additions & 0 deletions .changeset/silent-frogs-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-python-sdk': minor
---

add `replayed` field to `identification` in Events and Webhooks
2 changes: 1 addition & 1 deletion .schema-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.7.0
v2.8.0
1 change: 1 addition & 0 deletions docs/Identification.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Name | Type | Description | Notes
**first_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | |
**last_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | |
**components** | [**RawDeviceAttributes**](RawDeviceAttributes.md) | | [optional]
**replayed** | **bool** | `true` if we determined that this payload was replayed, `false` otherwise. | [optional]

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

1 change: 1 addition & 0 deletions docs/Webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Name | Type | Description | Notes
**velocity** | [**WebhookVelocity**](WebhookVelocity.md) | | [optional]
**developer_tools** | [**WebhookDeveloperTools**](WebhookDeveloperTools.md) | | [optional]
**mitm_attack** | [**WebhookMitMAttack**](WebhookMitMAttack.md) | | [optional]
**replayed** | **bool** | `true` if we determined that this payload was replayed, `false` otherwise. | [optional]

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

35 changes: 31 additions & 4 deletions fingerprint_pro_server_api_sdk/models/identification.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class Identification(BaseModel):
'visitor_found': 'bool',
'first_seen_at': 'IdentificationSeenAt',
'last_seen_at': 'IdentificationSeenAt',
'components': 'RawDeviceAttributes'
'components': 'RawDeviceAttributes',
'replayed': 'bool'
}

nullable_map = {
Expand All @@ -72,7 +73,8 @@ class Identification(BaseModel):
'visitor_found': False,
'first_seen_at': False,
'last_seen_at': False,
'components': False
'components': False,
'replayed': False
}

attribute_map = {
Expand All @@ -92,10 +94,11 @@ class Identification(BaseModel):
'visitor_found': 'visitorFound',
'first_seen_at': 'firstSeenAt',
'last_seen_at': 'lastSeenAt',
'components': 'components'
'components': 'components',
'replayed': 'replayed'
}

def __init__(self, visitor_id=None, request_id=None, browser_details=None, incognito=None, ip=None, ip_location=None, linked_id=None, suspect=None, timestamp=None, time=None, url=None, tag=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None, components=None): # noqa: E501
def __init__(self, visitor_id=None, request_id=None, browser_details=None, incognito=None, ip=None, ip_location=None, linked_id=None, suspect=None, timestamp=None, time=None, url=None, tag=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None, components=None, replayed=None): # noqa: E501
"""Identification - a model defined in Swagger""" # noqa: E501
self._visitor_id = None
self._request_id = None
Expand All @@ -114,6 +117,7 @@ def __init__(self, visitor_id=None, request_id=None, browser_details=None, incog
self._first_seen_at = None
self._last_seen_at = None
self._components = None
self._replayed = None
self.discriminator = None
self.visitor_id = visitor_id
self.request_id = request_id
Expand All @@ -137,6 +141,8 @@ def __init__(self, visitor_id=None, request_id=None, browser_details=None, incog
self.last_seen_at = last_seen_at
if components is not None:
self.components = components
if replayed is not None:
self.replayed = replayed

@property
def visitor_id(self) -> str:
Expand Down Expand Up @@ -505,3 +511,24 @@ def components(self, components: Optional[RawDeviceAttributes]):

self._components = components

@property
def replayed(self) -> Optional[bool]:
"""Gets the replayed of this Identification. # noqa: E501

`true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501

:return: The replayed of this Identification. # noqa: E501
"""
return self._replayed

@replayed.setter
def replayed(self, replayed: Optional[bool]):
"""Sets the replayed of this Identification.

`true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501

:param replayed: The replayed of this Identification. # noqa: E501
"""

self._replayed = replayed

35 changes: 31 additions & 4 deletions fingerprint_pro_server_api_sdk/models/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ class Webhook(BaseModel):
'remote_control': 'WebhookRemoteControl',
'velocity': 'WebhookVelocity',
'developer_tools': 'WebhookDeveloperTools',
'mitm_attack': 'WebhookMitMAttack'
'mitm_attack': 'WebhookMitMAttack',
'replayed': 'bool'
}

nullable_map = {
Expand Down Expand Up @@ -145,7 +146,8 @@ class Webhook(BaseModel):
'remote_control': False,
'velocity': False,
'developer_tools': False,
'mitm_attack': False
'mitm_attack': False,
'replayed': False
}

attribute_map = {
Expand Down Expand Up @@ -190,10 +192,11 @@ class Webhook(BaseModel):
'remote_control': 'remoteControl',
'velocity': 'velocity',
'developer_tools': 'developerTools',
'mitm_attack': 'mitmAttack'
'mitm_attack': 'mitmAttack',
'replayed': 'replayed'
}

def __init__(self, request_id=None, url=None, ip=None, environment_id=None, tag=None, time=None, timestamp=None, ip_location=None, linked_id=None, visitor_id=None, visitor_found=None, confidence=None, first_seen_at=None, last_seen_at=None, browser_details=None, incognito=None, client_referrer=None, components=None, bot=None, user_agent=None, root_apps=None, emulator=None, ip_info=None, ip_blocklist=None, tor=None, vpn=None, proxy=None, tampering=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, privacy_settings=None, virtual_machine=None, raw_device_attributes=None, high_activity=None, location_spoofing=None, suspect_score=None, remote_control=None, velocity=None, developer_tools=None, mitm_attack=None): # noqa: E501
def __init__(self, request_id=None, url=None, ip=None, environment_id=None, tag=None, time=None, timestamp=None, ip_location=None, linked_id=None, visitor_id=None, visitor_found=None, confidence=None, first_seen_at=None, last_seen_at=None, browser_details=None, incognito=None, client_referrer=None, components=None, bot=None, user_agent=None, root_apps=None, emulator=None, ip_info=None, ip_blocklist=None, tor=None, vpn=None, proxy=None, tampering=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, privacy_settings=None, virtual_machine=None, raw_device_attributes=None, high_activity=None, location_spoofing=None, suspect_score=None, remote_control=None, velocity=None, developer_tools=None, mitm_attack=None, replayed=None): # noqa: E501
"""Webhook - a model defined in Swagger""" # noqa: E501
self._request_id = None
self._url = None
Expand Down Expand Up @@ -237,6 +240,7 @@ def __init__(self, request_id=None, url=None, ip=None, environment_id=None, tag=
self._velocity = None
self._developer_tools = None
self._mitm_attack = None
self._replayed = None
self.discriminator = None
self.request_id = request_id
self.url = url
Expand Down Expand Up @@ -317,6 +321,8 @@ def __init__(self, request_id=None, url=None, ip=None, environment_id=None, tag=
self.developer_tools = developer_tools
if mitm_attack is not None:
self.mitm_attack = mitm_attack
if replayed is not None:
self.replayed = replayed

@property
def request_id(self) -> str:
Expand Down Expand Up @@ -1146,3 +1152,24 @@ def mitm_attack(self, mitm_attack: Optional[WebhookMitMAttack]):

self._mitm_attack = mitm_attack

@property
def replayed(self) -> Optional[bool]:
"""Gets the replayed of this Webhook. # noqa: E501

`true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501

:return: The replayed of this Webhook. # noqa: E501
"""
return self._replayed

@replayed.setter
def replayed(self, replayed: Optional[bool]):
"""Sets the replayed of this Webhook.

`true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501

:param replayed: The replayed of this Webhook. # noqa: E501
"""

self._replayed = replayed

Loading
Loading