Skip to content

Commit 745ca2b

Browse files
authored
Merge pull request #62 from fingerprintjs/INTER-773-update-schema
Update schema
2 parents 89d18e3 + e8a28f6 commit 745ca2b

19 files changed

+306
-31
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Class | Method | HTTP request | Description
226226
- [DataCenter](docs/DataCenter.md)
227227
- [DeprecatedIPLocation](docs/DeprecatedIPLocation.md)
228228
- [DeprecatedIPLocationCity](docs/DeprecatedIPLocationCity.md)
229+
- [DeveloperToolsResult](docs/DeveloperToolsResult.md)
229230
- [EmulatorResult](docs/EmulatorResult.md)
230231
- [ErrorCommon403Response](docs/ErrorCommon403Response.md)
231232
- [ErrorCommon429Response](docs/ErrorCommon429Response.md)
@@ -272,6 +273,7 @@ Class | Method | HTTP request | Description
272273
- [RootAppsResult](docs/RootAppsResult.md)
273274
- [SeenAt](docs/SeenAt.md)
274275
- [SignalResponseClonedApp](docs/SignalResponseClonedApp.md)
276+
- [SignalResponseDeveloperTools](docs/SignalResponseDeveloperTools.md)
275277
- [SignalResponseEmulator](docs/SignalResponseEmulator.md)
276278
- [SignalResponseFactoryReset](docs/SignalResponseFactoryReset.md)
277279
- [SignalResponseFrida](docs/SignalResponseFrida.md)

docs/DeveloperToolsResult.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DeveloperToolsResult
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**result** | **bool** | `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. |
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+

docs/FactoryResetResult.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**time** | **datetime** | Time in UTC when the most recent factory reset of the Android or iOS device was done. If there is no sign of factory reset or the client is not a mobile device, the field will contain the epoch time (1 January 1970) in UTC. |
7-
**timestamp** | **int** | Same value as it's in the `time` field but represented in timestamp format. |
6+
**time** | **datetime** | Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. |
7+
**timestamp** | **int** | This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. |
88

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

docs/ProductsResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
2828
**raw_device_attributes** | [**SignalResponseRawDeviceAttributes**](SignalResponseRawDeviceAttributes.md) | | [optional]
2929
**remote_control** | [**SignalResponseRemoteControl**](SignalResponseRemoteControl.md) | | [optional]
3030
**velocity** | [**SignalResponseVelocity**](SignalResponseVelocity.md) | | [optional]
31+
**developer_tools** | [**SignalResponseDeveloperTools**](SignalResponseDeveloperTools.md) | | [optional]
3132

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

docs/SignalResponseDeveloperTools.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SignalResponseDeveloperTools
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**data** | [**DeveloperToolsResult**](DeveloperToolsResult.md) | | [optional]
7+
**error** | [**ProductError**](ProductError.md) | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+

docs/Visit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. |
1212
**time** | **datetime** | Time expressed according to ISO 8601 in UTC format. |
1313
**url** | **str** | Page URL from which the identification request was sent. |
14-
**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. |
14+
**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. | [optional]
1515
**linked_id** | **str** | A customer-provided id that was sent with identification request. | [optional]
1616
**confidence** | [**Confidence**](Confidence.md) | | [optional]
1717
**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. |

docs/WebhookVisit.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ Name | Type | Description | Notes
2828
**suspect_score** | [**SuspectScoreResult**](SuspectScoreResult.md) | | [optional]
2929
**remote_control** | [**RemoteControlResult**](RemoteControlResult.md) | | [optional]
3030
**velocity** | [**VelocityResult**](VelocityResult.md) | | [optional]
31+
**developer_tools** | [**DeveloperToolsResult**](DeveloperToolsResult.md) | | [optional]
3132
**request_id** | **str** | Unique identifier of the user's identification request. |
3233
**browser_details** | [**BrowserDetails**](BrowserDetails.md) | |
3334
**ip** | **str** | |
3435
**ip_location** | [**DeprecatedIPLocation**](DeprecatedIPLocation.md) | | [optional]
3536
**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. |
3637
**time** | **datetime** | Time expressed according to ISO 8601 in UTC format. |
3738
**url** | **str** | Page URL from which the identification request was sent. |
38-
**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. |
39+
**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. | [optional]
3940
**linked_id** | **str** | A customer-provided id that was sent with identification request. | [optional]
4041
**confidence** | [**Confidence**](Confidence.md) | | [optional]
4142
**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. |

fingerprint_pro_server_api_sdk/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from fingerprint_pro_server_api_sdk.models.data_center import DataCenter
3131
from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation
3232
from fingerprint_pro_server_api_sdk.models.deprecated_ip_location_city import DeprecatedIPLocationCity
33+
from fingerprint_pro_server_api_sdk.models.developer_tools_result import DeveloperToolsResult
3334
from fingerprint_pro_server_api_sdk.models.emulator_result import EmulatorResult
3435
from fingerprint_pro_server_api_sdk.models.error_common403_response import ErrorCommon403Response
3536
from fingerprint_pro_server_api_sdk.models.error_common429_response import ErrorCommon429Response
@@ -76,6 +77,7 @@
7677
from fingerprint_pro_server_api_sdk.models.root_apps_result import RootAppsResult
7778
from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt
7879
from fingerprint_pro_server_api_sdk.models.signal_response_cloned_app import SignalResponseClonedApp
80+
from fingerprint_pro_server_api_sdk.models.signal_response_developer_tools import SignalResponseDeveloperTools
7981
from fingerprint_pro_server_api_sdk.models.signal_response_emulator import SignalResponseEmulator
8082
from fingerprint_pro_server_api_sdk.models.signal_response_factory_reset import SignalResponseFactoryReset
8183
from fingerprint_pro_server_api_sdk.models.signal_response_frida import SignalResponseFrida

fingerprint_pro_server_api_sdk/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from fingerprint_pro_server_api_sdk.models.data_center import DataCenter
2323
from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation
2424
from fingerprint_pro_server_api_sdk.models.deprecated_ip_location_city import DeprecatedIPLocationCity
25+
from fingerprint_pro_server_api_sdk.models.developer_tools_result import DeveloperToolsResult
2526
from fingerprint_pro_server_api_sdk.models.emulator_result import EmulatorResult
2627
from fingerprint_pro_server_api_sdk.models.error_common403_response import ErrorCommon403Response
2728
from fingerprint_pro_server_api_sdk.models.error_common429_response import ErrorCommon429Response
@@ -68,6 +69,7 @@
6869
from fingerprint_pro_server_api_sdk.models.root_apps_result import RootAppsResult
6970
from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt
7071
from fingerprint_pro_server_api_sdk.models.signal_response_cloned_app import SignalResponseClonedApp
72+
from fingerprint_pro_server_api_sdk.models.signal_response_developer_tools import SignalResponseDeveloperTools
7173
from fingerprint_pro_server_api_sdk.models.signal_response_emulator import SignalResponseEmulator
7274
from fingerprint_pro_server_api_sdk.models.signal_response_factory_reset import SignalResponseFactoryReset
7375
from fingerprint_pro_server_api_sdk.models.signal_response_frida import SignalResponseFrida
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# coding: utf-8
2+
3+
"""
4+
Fingerprint Pro Server API
5+
6+
Fingerprint Pro Server API allows you to get information about visitors and about individual 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
7+
8+
OpenAPI spec version: 3
9+
Contact: support@fingerprint.com
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
import re # noqa: F401
14+
from typing import Dict, List # noqa: F401
15+
from fingerprint_pro_server_api_sdk.base_model import BaseModel
16+
17+
18+
class DeveloperToolsResult(BaseModel):
19+
"""NOTE: This class is auto generated by the swagger code generator program.
20+
21+
Do not edit the class manually.
22+
"""
23+
"""
24+
Attributes:
25+
swagger_types (dict): The key is attribute name
26+
and the value is attribute type.
27+
attribute_map (dict): The key is attribute name
28+
and the value is json key in definition.
29+
"""
30+
swagger_types = {
31+
'result': 'bool'
32+
}
33+
34+
attribute_map = {
35+
'result': 'result'
36+
}
37+
38+
def __init__(self, result=None): # noqa: E501
39+
"""DeveloperToolsResult - a model defined in Swagger""" # noqa: E501
40+
self._result = None
41+
self.discriminator = None
42+
self.result = result
43+
44+
@property
45+
def result(self) -> bool:
46+
"""Gets the result of this DeveloperToolsResult. # noqa: E501
47+
48+
`true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. # noqa: E501
49+
50+
:return: The result of this DeveloperToolsResult. # noqa: E501
51+
"""
52+
return self._result
53+
54+
@result.setter
55+
def result(self, result: bool):
56+
"""Sets the result of this DeveloperToolsResult.
57+
58+
`true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. # noqa: E501
59+
60+
:param result: The result of this DeveloperToolsResult. # noqa: E501
61+
"""
62+
if result is None:
63+
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
64+
65+
self._result = result
66+

fingerprint_pro_server_api_sdk/models/factory_reset_result.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, time=None, timestamp=None): # noqa: E501
5050
def time(self) -> datetime:
5151
"""Gets the time of this FactoryResetResult. # noqa: E501
5252
53-
Time in UTC when the most recent factory reset of the Android or iOS device was done. If there is no sign of factory reset or the client is not a mobile device, the field will contain the epoch time (1 January 1970) in UTC. # noqa: E501
53+
Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501
5454
5555
:return: The time of this FactoryResetResult. # noqa: E501
5656
"""
@@ -60,7 +60,7 @@ def time(self) -> datetime:
6060
def time(self, time: datetime):
6161
"""Sets the time of this FactoryResetResult.
6262
63-
Time in UTC when the most recent factory reset of the Android or iOS device was done. If there is no sign of factory reset or the client is not a mobile device, the field will contain the epoch time (1 January 1970) in UTC. # noqa: E501
63+
Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501
6464
6565
:param time: The time of this FactoryResetResult. # noqa: E501
6666
"""
@@ -73,7 +73,7 @@ def time(self, time: datetime):
7373
def timestamp(self) -> int:
7474
"""Gets the timestamp of this FactoryResetResult. # noqa: E501
7575
76-
Same value as it's in the `time` field but represented in timestamp format. # noqa: E501
76+
This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. # noqa: E501
7777
7878
:return: The timestamp of this FactoryResetResult. # noqa: E501
7979
"""
@@ -83,7 +83,7 @@ def timestamp(self) -> int:
8383
def timestamp(self, timestamp: int):
8484
"""Sets the timestamp of this FactoryResetResult.
8585
86-
Same value as it's in the `time` field but represented in timestamp format. # noqa: E501
86+
This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. # noqa: E501
8787
8888
:param timestamp: The timestamp of this FactoryResetResult. # noqa: E501
8989
"""

fingerprint_pro_server_api_sdk/models/products_response.py

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
from fingerprint_pro_server_api_sdk.models.signal_response_raw_device_attributes import SignalResponseRawDeviceAttributes
3737
from fingerprint_pro_server_api_sdk.models.signal_response_remote_control import SignalResponseRemoteControl
3838
from fingerprint_pro_server_api_sdk.models.signal_response_velocity import SignalResponseVelocity
39+
from fingerprint_pro_server_api_sdk.models.signal_response_developer_tools import SignalResponseDeveloperTools
3940

4041

4142
class ProductsResponse(BaseModel):
@@ -76,7 +77,8 @@ class ProductsResponse(BaseModel):
7677
'suspect_score': 'SignalResponseSuspectScore',
7778
'raw_device_attributes': 'SignalResponseRawDeviceAttributes',
7879
'remote_control': 'SignalResponseRemoteControl',
79-
'velocity': 'SignalResponseVelocity'
80+
'velocity': 'SignalResponseVelocity',
81+
'developer_tools': 'SignalResponseDeveloperTools'
8082
}
8183

8284
attribute_map = {
@@ -102,10 +104,11 @@ class ProductsResponse(BaseModel):
102104
'suspect_score': 'suspectScore',
103105
'raw_device_attributes': 'rawDeviceAttributes',
104106
'remote_control': 'remoteControl',
105-
'velocity': 'velocity'
107+
'velocity': 'velocity',
108+
'developer_tools': 'developerTools'
106109
}
107110

108-
def __init__(self, identification=None, botd=None, ip_info=None, incognito=None, root_apps=None, emulator=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, ip_blocklist=None, tor=None, privacy_settings=None, virtual_machine=None, vpn=None, proxy=None, tampering=None, high_activity=None, location_spoofing=None, suspect_score=None, raw_device_attributes=None, remote_control=None, velocity=None): # noqa: E501
111+
def __init__(self, identification=None, botd=None, ip_info=None, incognito=None, root_apps=None, emulator=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, ip_blocklist=None, tor=None, privacy_settings=None, virtual_machine=None, vpn=None, proxy=None, tampering=None, high_activity=None, location_spoofing=None, suspect_score=None, raw_device_attributes=None, remote_control=None, velocity=None, developer_tools=None): # noqa: E501
109112
"""ProductsResponse - a model defined in Swagger""" # noqa: E501
110113
self._identification = None
111114
self._botd = None
@@ -130,6 +133,7 @@ def __init__(self, identification=None, botd=None, ip_info=None, incognito=None,
130133
self._raw_device_attributes = None
131134
self._remote_control = None
132135
self._velocity = None
136+
self._developer_tools = None
133137
self.discriminator = None
134138
if identification is not None:
135139
self.identification = identification
@@ -177,6 +181,8 @@ def __init__(self, identification=None, botd=None, ip_info=None, incognito=None,
177181
self.remote_control = remote_control
178182
if velocity is not None:
179183
self.velocity = velocity
184+
if developer_tools is not None:
185+
self.developer_tools = developer_tools
180186

181187
@property
182188
def identification(self) -> ProductsResponseIdentification:
@@ -615,3 +621,22 @@ def velocity(self, velocity: SignalResponseVelocity):
615621

616622
self._velocity = velocity
617623

624+
@property
625+
def developer_tools(self) -> SignalResponseDeveloperTools:
626+
"""Gets the developer_tools of this ProductsResponse. # noqa: E501
627+
628+
629+
:return: The developer_tools of this ProductsResponse. # noqa: E501
630+
"""
631+
return self._developer_tools
632+
633+
@developer_tools.setter
634+
def developer_tools(self, developer_tools: SignalResponseDeveloperTools):
635+
"""Sets the developer_tools of this ProductsResponse.
636+
637+
638+
:param developer_tools: The developer_tools of this ProductsResponse. # noqa: E501
639+
"""
640+
641+
self._developer_tools = developer_tools
642+

0 commit comments

Comments
 (0)