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/dark-dogs-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-python-sdk': minor
---

Mark `replayed` field required in the `identification` product schema. This field will always be present.
8 changes: 8 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"mode": "pre",
"tag": "rc",
"initialVersions": {
"fingerprint-pro-server-api-python-sdk": "8.8.0"
},
"changesets": []
}
5 changes: 5 additions & 0 deletions .changeset/sharp-facts-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-python-sdk': minor
---

Add `sdk` field with platform metadata to `identification`
5 changes: 5 additions & 0 deletions .changeset/ten-plums-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-python-sdk': patch
---

Deprecate the Remote Control Detection Smart Signal. This signal is no longer available.
2 changes: 1 addition & 1 deletion .schema-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.8.0
v2.9.0
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ Class | Method | HTTP request | Description
- [RelatedVisitorsResponse](docs/RelatedVisitorsResponse.md)
- [RemoteControl](docs/RemoteControl.md)
- [RootApps](docs/RootApps.md)
- [SDK](docs/SDK.md)
- [SearchEventsResponse](docs/SearchEventsResponse.md)
- [SearchEventsResponseEvents](docs/SearchEventsResponseEvents.md)
- [SuspectScore](docs/SuspectScore.md)
Expand Down
3 changes: 2 additions & 1 deletion docs/Identification.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ 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]
**replayed** | **bool** | `true` if we determined that this payload was replayed, `false` otherwise. |
**sdk** | [**SDK**](SDK.md) | | [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)

3 changes: 3 additions & 0 deletions docs/ProductRemoteControl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ProductRemoteControl
This product is deprecated.



## Properties
Name | Type | Description | Notes
Expand Down
3 changes: 3 additions & 0 deletions docs/RemoteControl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# RemoteControl
This signal is deprecated.



## Properties
Name | Type | Description | Notes
Expand Down
12 changes: 12 additions & 0 deletions docs/SDK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SDK
Contains information about the SDK used to perform the request.


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**platform** | **str** | Platform of the SDK. |
**version** | **str** | SDK version string. |

[[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 @@ -46,6 +46,7 @@ Name | Type | Description | Notes
**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]
**sdk** | [**SDK**](SDK.md) | |

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

3 changes: 3 additions & 0 deletions docs/WebhookRemoteControl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# WebhookRemoteControl
This signal is deprecated.



## Properties
Name | Type | Description | Notes
Expand Down
1 change: 1 addition & 0 deletions fingerprint_pro_server_api_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
from fingerprint_pro_server_api_sdk.models.related_visitors_response import RelatedVisitorsResponse
from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl
from fingerprint_pro_server_api_sdk.models.root_apps import RootApps
from fingerprint_pro_server_api_sdk.models.sdk import SDK
from fingerprint_pro_server_api_sdk.models.search_events_response import SearchEventsResponse
from fingerprint_pro_server_api_sdk.models.search_events_response_events import SearchEventsResponseEvents
from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore
Expand Down
1 change: 1 addition & 0 deletions fingerprint_pro_server_api_sdk/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
from fingerprint_pro_server_api_sdk.models.related_visitors_response import RelatedVisitorsResponse
from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl
from fingerprint_pro_server_api_sdk.models.root_apps import RootApps
from fingerprint_pro_server_api_sdk.models.sdk import SDK
from fingerprint_pro_server_api_sdk.models.search_events_response import SearchEventsResponse
from fingerprint_pro_server_api_sdk.models.search_events_response_events import SearchEventsResponseEvents
from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
from fingerprint_pro_server_api_sdk.models.geolocation_country import GeolocationCountry
from fingerprint_pro_server_api_sdk.models.geolocation_continent import GeolocationContinent
from fingerprint_pro_server_api_sdk.models.geolocation_subdivisions import GeolocationSubdivisions
from typing_extensions import deprecated


@deprecated("This class is deprecated. Please avoid using it in new code.")
class DeprecatedGeolocation(BaseModel):
"""
This field is **deprecated** and will not return a result for **applications created after January 23rd, 2024**. Please use the [IP Geolocation Smart signal](https://dev.fingerprint.com/docs/smart-signals-overview#ip-geolocation) for geolocation information.
Expand Down
43 changes: 35 additions & 8 deletions fingerprint_pro_server_api_sdk/models/identification.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt
from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt
from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes
from fingerprint_pro_server_api_sdk.models.sdk import SDK


class Identification(BaseModel):
Expand Down Expand Up @@ -53,7 +54,8 @@ class Identification(BaseModel):
'first_seen_at': 'IdentificationSeenAt',
'last_seen_at': 'IdentificationSeenAt',
'components': 'RawDeviceAttributes',
'replayed': 'bool'
'replayed': 'bool',
'sdk': 'SDK'
}

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

attribute_map = {
Expand All @@ -95,10 +98,11 @@ class Identification(BaseModel):
'first_seen_at': 'firstSeenAt',
'last_seen_at': 'lastSeenAt',
'components': 'components',
'replayed': 'replayed'
'replayed': 'replayed',
'sdk': 'sdk'
}

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
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, sdk=None): # noqa: E501
"""Identification - a model defined in Swagger""" # noqa: E501
self._visitor_id = None
self._request_id = None
Expand All @@ -118,6 +122,7 @@ def __init__(self, visitor_id=None, request_id=None, browser_details=None, incog
self._last_seen_at = None
self._components = None
self._replayed = None
self._sdk = None
self.discriminator = None
self.visitor_id = visitor_id
self.request_id = request_id
Expand All @@ -141,8 +146,9 @@ 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
self.replayed = replayed
if sdk is not None:
self.sdk = sdk

@property
def visitor_id(self) -> str:
Expand Down Expand Up @@ -512,7 +518,7 @@ def components(self, components: Optional[RawDeviceAttributes]):
self._components = components

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

`true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501
Expand All @@ -522,13 +528,34 @@ def replayed(self) -> Optional[bool]:
return self._replayed

@replayed.setter
def replayed(self, replayed: Optional[bool]):
def replayed(self, replayed: 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
"""
if replayed is None:
raise ValueError("Invalid value for `replayed`, must not be `None`") # noqa: E501

self._replayed = replayed

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


:return: The sdk of this Identification. # noqa: E501
"""
return self._sdk

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


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

self._sdk = sdk

Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@
from fingerprint_pro_server_api_sdk.base_model import BaseModel
from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl
from fingerprint_pro_server_api_sdk.models.error import Error
from typing_extensions import deprecated


@deprecated("This class is deprecated. Please avoid using it in new code.")
class ProductRemoteControl(BaseModel):
"""NOTE: This class is auto generated by the swagger code generator program.
"""
This product is deprecated.

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.
"""
Expand Down
7 changes: 6 additions & 1 deletion fingerprint_pro_server_api_sdk/models/remote_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
import re # noqa: F401
from typing import Dict, List, Optional # noqa: F401
from fingerprint_pro_server_api_sdk.base_model import BaseModel
from typing_extensions import deprecated


@deprecated("This class is deprecated. Please avoid using it in new code.")
class RemoteControl(BaseModel):
"""NOTE: This class is auto generated by the swagger code generator program.
"""
This signal is deprecated.

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.
"""
Expand Down
101 changes: 101 additions & 0 deletions fingerprint_pro_server_api_sdk/models/sdk.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# coding: utf-8

"""
Fingerprint Server API

Fingerprint Server API allows you to search, update, and delete identification events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501

OpenAPI spec version: 3
Contact: support@fingerprint.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import re # noqa: F401
from typing import Dict, List, Optional # noqa: F401
from fingerprint_pro_server_api_sdk.base_model import BaseModel


class SDK(BaseModel):
"""
Contains information about the SDK used to perform the request.

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.
"""
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
swagger_types = {
'platform': 'str',
'version': 'str'
}

nullable_map = {
'platform': False,
'version': False
}

attribute_map = {
'platform': 'platform',
'version': 'version'
}

def __init__(self, platform=None, version=None): # noqa: E501
"""SDK - a model defined in Swagger""" # noqa: E501
self._platform = None
self._version = None
self.discriminator = None
self.platform = platform
self.version = version

@property
def platform(self) -> str:
"""Gets the platform of this SDK. # noqa: E501

Platform of the SDK. # noqa: E501

:return: The platform of this SDK. # noqa: E501
"""
return self._platform

@platform.setter
def platform(self, platform: str):
"""Sets the platform of this SDK.

Platform of the SDK. # noqa: E501

:param platform: The platform of this SDK. # noqa: E501
"""
if platform is None:
raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501

self._platform = platform

@property
def version(self) -> str:
"""Gets the version of this SDK. # noqa: E501

SDK version string. # noqa: E501

:return: The version of this SDK. # noqa: E501
"""
return self._version

@version.setter
def version(self, version: str):
"""Sets the version of this SDK.

SDK version string. # noqa: E501

:param version: The version of this SDK. # noqa: E501
"""
if version is None:
raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501

self._version = version

Loading
Loading