Skip to content

Commit 04a00a5

Browse files
committed
chore: update schema, remove unused model RelatedVisitors
1 parent 4afac75 commit 04a00a5

File tree

10 files changed

+8
-101
lines changed

10 files changed

+8
-101
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ Class | Method | HTTP request | Description
325325
- [RawDeviceAttribute](docs/RawDeviceAttribute.md)
326326
- [RawDeviceAttributeError](docs/RawDeviceAttributeError.md)
327327
- [RawDeviceAttributes](docs/RawDeviceAttributes.md)
328-
- [RelatedVisitor](docs/RelatedVisitor.md)
329328
- [RemoteControl](docs/RemoteControl.md)
330329
- [RootApps](docs/RootApps.md)
331330
- [SuspectScore](docs/SuspectScore.md)

docs/FactoryReset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**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. |
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/RelatedVisitor.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/WebhookFactoryReset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**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. | [optional]
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. | [optional]
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. | [optional]
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

fingerprint_pro_server_api_sdk/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
from fingerprint_pro_server_api_sdk.models.raw_device_attribute import RawDeviceAttribute
8787
from fingerprint_pro_server_api_sdk.models.raw_device_attribute_error import RawDeviceAttributeError
8888
from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes
89-
from fingerprint_pro_server_api_sdk.models.related_visitor import RelatedVisitor
9089
from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl
9190
from fingerprint_pro_server_api_sdk.models.root_apps import RootApps
9291
from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore

fingerprint_pro_server_api_sdk/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
from fingerprint_pro_server_api_sdk.models.raw_device_attribute import RawDeviceAttribute
7979
from fingerprint_pro_server_api_sdk.models.raw_device_attribute_error import RawDeviceAttributeError
8080
from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes
81-
from fingerprint_pro_server_api_sdk.models.related_visitor import RelatedVisitor
8281
from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl
8382
from fingerprint_pro_server_api_sdk.models.root_apps import RootApps
8483
from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore

fingerprint_pro_server_api_sdk/models/factory_reset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def time(self, time: datetime):
7373
def timestamp(self) -> int:
7474
"""Gets the timestamp of this FactoryReset. # noqa: E501
7575
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
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 FactoryReset. # noqa: E501
7979
"""
@@ -83,7 +83,7 @@ def timestamp(self) -> int:
8383
def timestamp(self, timestamp: int):
8484
"""Sets the timestamp of this FactoryReset.
8585
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
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 FactoryReset. # noqa: E501
8989
"""

fingerprint_pro_server_api_sdk/models/related_visitor.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

fingerprint_pro_server_api_sdk/models/webhook_factory_reset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def time(self, time: Optional[datetime]):
7373
def timestamp(self) -> Optional[int]:
7474
"""Gets the timestamp of this WebhookFactoryReset. # noqa: E501
7575
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
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 WebhookFactoryReset. # noqa: E501
7979
"""
@@ -83,7 +83,7 @@ def timestamp(self) -> Optional[int]:
8383
def timestamp(self, timestamp: Optional[int]):
8484
"""Sets the timestamp of this WebhookFactoryReset.
8585
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
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 WebhookFactoryReset. # noqa: E501
8989
"""

res/fingerprint-server-api.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,6 @@ components:
842842
type: boolean
843843
ip:
844844
type: string
845-
format: ipv4
846845
description: IP address of the requesting browser or bot.
847846
ipLocation:
848847
$ref: '#/components/schemas/DeprecatedGeolocation'
@@ -976,7 +975,6 @@ components:
976975
description: Page URL from which the request was sent.
977976
ip:
978977
type: string
979-
format: ipv4
980978
description: IP address of the requesting browser or bot.
981979
time:
982980
type: string
@@ -1402,7 +1400,7 @@ components:
14021400
field.
14031401
14041402
The time of the most recent factory reset that happened on the
1405-
**mobile device** is expressed as Unix epoch time.
1403+
**mobile device** is expressed as Unix epoch time.
14061404
ProductFactoryReset:
14071405
type: object
14081406
additionalProperties: false
@@ -1807,7 +1805,6 @@ components:
18071805
description: Flag if user used incognito session.
18081806
ip:
18091807
type: string
1810-
format: ipv4
18111808
description: IP address of the requesting browser or bot.
18121809
ipLocation:
18131810
$ref: '#/components/schemas/DeprecatedGeolocation'
@@ -2025,7 +2022,7 @@ components:
20252022
field.
20262023
20272024
The time of the most recent factory reset that happened on the
2028-
**mobile device** is expressed as Unix epoch time.
2025+
**mobile device** is expressed as Unix epoch time.
20292026
WebhookJailbroken:
20302027
type: object
20312028
additionalProperties: false
@@ -2204,7 +2201,6 @@ components:
22042201
description: Page URL from which the request was sent.
22052202
ip:
22062203
type: string
2207-
format: ipv4
22082204
description: IP address of the requesting browser or bot.
22092205
tag:
22102206
$ref: '#/components/schemas/Tag'
@@ -2294,14 +2290,3 @@ components:
22942290
$ref: '#/components/schemas/WebhookVelocity'
22952291
developerTools:
22962292
$ref: '#/components/schemas/WebhookDeveloperTools'
2297-
RelatedVisitor:
2298-
type: object
2299-
additionalProperties: false
2300-
required:
2301-
- visitorId
2302-
properties:
2303-
visitorId:
2304-
type: string
2305-
description: >-
2306-
Visitor ID of a browser that originates from the same mobile device
2307-
as the input visitor ID.

0 commit comments

Comments
 (0)