Skip to content

Commit d510a23

Browse files
Merge pull request #79 from fingerprintjs/feat/open-api-v1.2.0
OpenAPI schema sync
2 parents a0c009b + d66f13e commit d510a23

33 files changed

+1647
-1975
lines changed

.changeset/orange-taxis-fetch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'fingerprint-pro-server-api-python-sdk': minor
3+
---
4+
5+
**visitors**: Add the confidence field to the VPN Detection Smart Signal

.changeset/pre.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mode": "pre",
3+
"tag": "rc",
4+
"initialVersions": {
5+
"fingerprint-pro-server-api-python-sdk": "7.0.1"
6+
},
7+
"changesets": []
8+
}

.schema-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v1.2.0

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ Class | Method | HTTP request | Description
346346
- [VelocityIntervals](docs/VelocityIntervals.md)
347347
- [VelocityResult](docs/VelocityResult.md)
348348
- [VirtualMachineResult](docs/VirtualMachineResult.md)
349-
- [Visit](docs/Visit.md)
350349
- [VpnResult](docs/VpnResult.md)
351350
- [VpnResultMethods](docs/VpnResultMethods.md)
352351
- [WebhookVisit](docs/WebhookVisit.md)

docs/FingerprintApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414
1515
Delete data by visitor ID
1616

17-
Request deleting all data associated with the specified visitor ID. This API is useful for compliance with privacy regulations. All delete requests are queued: * Recent data (10 days or newer) belonging to the specified visitor will be deleted within 24 hours. * Data from older (11 days or more) identification events will be deleted after 90 days. If you are interested in using this API, please [contact our support team](https://fingerprint.com/support/) to enable it for you. Otherwise, you will receive a 403.
17+
Request deleting all data associated with the specified visitor ID. This API is useful for compliance with privacy regulations. ### Which data is deleted? - Browser (or device) properties - Identification requests made from this browser (or device) #### Browser (or device) properties - Represents the data that Fingerprint collected from this specific browser (or device) and everything inferred and derived from it. - Upon request to delete, this data is deleted asynchronously (typically within a few minutes) and it will no longer be used to identify this browser (or device) for your [Fingerprint Application](https://dev.fingerprint.com/docs/glossary#fingerprint-application). #### Identification requests made from this browser (or device) - Fingerprint stores the identification requests made from a browser (or device) for up to 30 (or 90) days depending on your plan. To learn more, see [Data Retention](https://dev.fingerprint.com/docs/regions#data-retention). - Upon request to delete, the identification requests that were made by this browser - Within the past 10 days are deleted within 24 hrs. - Outside of 10 days are allowed to purge as per your data retention period. ### Corollary After requesting to delete a visitor ID, - If the same browser (or device) requests to identify, it will receive a different visitor ID. - If you request [`/events` API](https://dev.fingerprint.com/reference/getevent) with a `request_id` that was made outside of the 10 days, you will still receive a valid response. - If you request [`/visitors` API](https://dev.fingerprint.com/reference/getvisits) for the deleted visitor ID, the response will include identification requests that were made outside of those 10 days. ### Interested? Please [contact our support team](https://fingerprint.com/support/) to enable it for you. Otherwise, you will receive a 403.
1818

1919
### Example
2020
```python

docs/Visit.md

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

docs/VpnResult.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**origin_timezone** | **str** | Local timezone which is used in timezoneMismatch method. |
88
**origin_country** | **str** | Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). | [optional]
99
**methods** | [**VpnResultMethods**](VpnResultMethods.md) | |
10+
**confidence** | **str** | A confidence rating for the VPN detection result — \"low\", \"medium\", or \"high\". Depends on the combination of results returned from all VPN detection methods. |
1011

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

fingerprint_pro_server_api_sdk/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals
108108
from fingerprint_pro_server_api_sdk.models.velocity_result import VelocityResult
109109
from fingerprint_pro_server_api_sdk.models.virtual_machine_result import VirtualMachineResult
110-
from fingerprint_pro_server_api_sdk.models.visit import Visit
111110
from fingerprint_pro_server_api_sdk.models.vpn_result import VpnResult
112111
from fingerprint_pro_server_api_sdk.models.vpn_result_methods import VpnResultMethods
113112
from fingerprint_pro_server_api_sdk.models.webhook_visit import WebhookVisit

fingerprint_pro_server_api_sdk/api/fingerprint_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, configuration: Optional[Configuration] = None, pool: Optional
4848
def delete_visitor_data(self, visitor_id: str, **kwargs) -> Union[None, AsyncResult[None]]: # noqa: E501
4949
"""Delete data by visitor ID # noqa: E501
5050
51-
Request deleting all data associated with the specified visitor ID. This API is useful for compliance with privacy regulations. All delete requests are queued: * Recent data (10 days or newer) belonging to the specified visitor will be deleted within 24 hours. * Data from older (11 days or more) identification events will be deleted after 90 days. If you are interested in using this API, please [contact our support team](https://fingerprint.com/support/) to enable it for you. Otherwise, you will receive a 403. # noqa: E501
51+
Request deleting all data associated with the specified visitor ID. This API is useful for compliance with privacy regulations. ### Which data is deleted? - Browser (or device) properties - Identification requests made from this browser (or device) #### Browser (or device) properties - Represents the data that Fingerprint collected from this specific browser (or device) and everything inferred and derived from it. - Upon request to delete, this data is deleted asynchronously (typically within a few minutes) and it will no longer be used to identify this browser (or device) for your [Fingerprint Application](https://dev.fingerprint.com/docs/glossary#fingerprint-application). #### Identification requests made from this browser (or device) - Fingerprint stores the identification requests made from a browser (or device) for up to 30 (or 90) days depending on your plan. To learn more, see [Data Retention](https://dev.fingerprint.com/docs/regions#data-retention). - Upon request to delete, the identification requests that were made by this browser - Within the past 10 days are deleted within 24 hrs. - Outside of 10 days are allowed to purge as per your data retention period. ### Corollary After requesting to delete a visitor ID, - If the same browser (or device) requests to identify, it will receive a different visitor ID. - If you request [`/events` API](https://dev.fingerprint.com/reference/getevent) with a `request_id` that was made outside of the 10 days, you will still receive a valid response. - If you request [`/visitors` API](https://dev.fingerprint.com/reference/getvisits) for the deleted visitor ID, the response will include identification requests that were made outside of those 10 days. ### Interested? Please [contact our support team](https://fingerprint.com/support/) to enable it for you. Otherwise, you will receive a 403. # noqa: E501
5252
This method makes a synchronous HTTP request by default. To make an
5353
asynchronous HTTP request, please pass async_req=True
5454
>>> thread = api.delete_visitor_data(visitor_id, async_req=True)
@@ -70,7 +70,7 @@ def delete_visitor_data(self, visitor_id: str, **kwargs) -> Union[None, AsyncRes
7070
def delete_visitor_data_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501
7171
"""Delete data by visitor ID # noqa: E501
7272
73-
Request deleting all data associated with the specified visitor ID. This API is useful for compliance with privacy regulations. All delete requests are queued: * Recent data (10 days or newer) belonging to the specified visitor will be deleted within 24 hours. * Data from older (11 days or more) identification events will be deleted after 90 days. If you are interested in using this API, please [contact our support team](https://fingerprint.com/support/) to enable it for you. Otherwise, you will receive a 403. # noqa: E501
73+
Request deleting all data associated with the specified visitor ID. This API is useful for compliance with privacy regulations. ### Which data is deleted? - Browser (or device) properties - Identification requests made from this browser (or device) #### Browser (or device) properties - Represents the data that Fingerprint collected from this specific browser (or device) and everything inferred and derived from it. - Upon request to delete, this data is deleted asynchronously (typically within a few minutes) and it will no longer be used to identify this browser (or device) for your [Fingerprint Application](https://dev.fingerprint.com/docs/glossary#fingerprint-application). #### Identification requests made from this browser (or device) - Fingerprint stores the identification requests made from a browser (or device) for up to 30 (or 90) days depending on your plan. To learn more, see [Data Retention](https://dev.fingerprint.com/docs/regions#data-retention). - Upon request to delete, the identification requests that were made by this browser - Within the past 10 days are deleted within 24 hrs. - Outside of 10 days are allowed to purge as per your data retention period. ### Corollary After requesting to delete a visitor ID, - If the same browser (or device) requests to identify, it will receive a different visitor ID. - If you request [`/events` API](https://dev.fingerprint.com/reference/getevent) with a `request_id` that was made outside of the 10 days, you will still receive a valid response. - If you request [`/visitors` API](https://dev.fingerprint.com/reference/getvisits) for the deleted visitor ID, the response will include identification requests that were made outside of those 10 days. ### Interested? Please [contact our support team](https://fingerprint.com/support/) to enable it for you. Otherwise, you will receive a 403. # noqa: E501
7474
This method makes a synchronous HTTP request by default. To make an
7575
asynchronous HTTP request, please pass async_req=True
7676
>>> thread = api.delete_visitor_data_with_http_info(visitor_id, async_req=True)

fingerprint_pro_server_api_sdk/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals
100100
from fingerprint_pro_server_api_sdk.models.velocity_result import VelocityResult
101101
from fingerprint_pro_server_api_sdk.models.virtual_machine_result import VirtualMachineResult
102-
from fingerprint_pro_server_api_sdk.models.visit import Visit
103102
from fingerprint_pro_server_api_sdk.models.vpn_result import VpnResult
104103
from fingerprint_pro_server_api_sdk.models.vpn_result_methods import VpnResultMethods
105104
from fingerprint_pro_server_api_sdk.models.webhook_visit import WebhookVisit

0 commit comments

Comments
 (0)