Skip to content

Commit 587ec0b

Browse files
committed
feat: update APIv4 to Schema v3.1.0
1 parent 1d098ae commit 587ec0b

32 files changed

Lines changed: 690 additions & 66 deletions

.changeset/dirty-eels-wash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fingerprint/python-sdk": minor
3+
---
4+
5+
Add `Simulator` signal for iOS platform

.changeset/nervous-boats-poke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fingerprint/python-sdk": minor
3+
---
4+
5+
Add `virtual_machine_ml_score` field for `VirtualMachine` signal
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fingerprint/python-sdk": minor
3+
---
4+
5+
Add `high_recall_id` and `simulator` filters for the `SearchEvents` method

.changeset/orange-coats-roll.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fingerprint/python-sdk": minor
3+
---
4+
5+
Add `tampering_confidence` and `tampering_ml_score` fields for `Tampering` smart signal

.changeset/tame-seals-breathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
супе---
2+
"@fingerprint/python-sdk": patch
3+
---
4+
5+
Remove `REQUEST_NOT_FOUND` value from the `ErrorCode` enum

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ docs/IPInfoV4.md
2424
docs/IPInfoV6.md
2525
docs/Identification.md
2626
docs/IdentificationConfidence.md
27+
docs/IncrementalIdentificationStatus.md
2728
docs/Integration.md
2829
docs/IntegrationSubintegration.md
2930
docs/PluginsInner.md
@@ -38,9 +39,11 @@ docs/RuleActionType.md
3839
docs/SDK.md
3940
docs/SealedResults.md
4041
docs/SearchEventsBot.md
42+
docs/SearchEventsIncrementalIdentificationStatus.md
4143
docs/SearchEventsSdkPlatform.md
4244
docs/SearchEventsVpnConfidence.md
4345
docs/SupplementaryIDHighRecall.md
46+
docs/TamperingConfidence.md
4447
docs/TamperingDetails.md
4548
docs/TouchSupport.md
4649
docs/Velocity.md
@@ -76,6 +79,7 @@ fingerprint_server_sdk/models/geolocation.py
7679
fingerprint_server_sdk/models/geolocation_subdivisions_inner.py
7780
fingerprint_server_sdk/models/identification.py
7881
fingerprint_server_sdk/models/identification_confidence.py
82+
fingerprint_server_sdk/models/incremental_identification_status.py
7983
fingerprint_server_sdk/models/integration.py
8084
fingerprint_server_sdk/models/integration_subintegration.py
8185
fingerprint_server_sdk/models/ip_block_list.py
@@ -93,9 +97,11 @@ fingerprint_server_sdk/models/rule_action_header_field.py
9397
fingerprint_server_sdk/models/rule_action_type.py
9498
fingerprint_server_sdk/models/sdk.py
9599
fingerprint_server_sdk/models/search_events_bot.py
100+
fingerprint_server_sdk/models/search_events_incremental_identification_status.py
96101
fingerprint_server_sdk/models/search_events_sdk_platform.py
97102
fingerprint_server_sdk/models/search_events_vpn_confidence.py
98103
fingerprint_server_sdk/models/supplementary_id_high_recall.py
104+
fingerprint_server_sdk/models/tampering_confidence.py
99105
fingerprint_server_sdk/models/tampering_details.py
100106
fingerprint_server_sdk/models/touch_support.py
101107
fingerprint_server_sdk/models/velocity.py

.schema-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.0.1
1+
v3.1.0

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ Class | Method | HTTP request | Description
348348
- [IPInfoV6](docs/IPInfoV6.md)
349349
- [Identification](docs/Identification.md)
350350
- [IdentificationConfidence](docs/IdentificationConfidence.md)
351+
- [IncrementalIdentificationStatus](docs/IncrementalIdentificationStatus.md)
351352
- [Integration](docs/Integration.md)
352353
- [IntegrationSubintegration](docs/IntegrationSubintegration.md)
353354
- [PluginsInner](docs/PluginsInner.md)
@@ -361,9 +362,11 @@ Class | Method | HTTP request | Description
361362
- [RuleActionType](docs/RuleActionType.md)
362363
- [SDK](docs/SDK.md)
363364
- [SearchEventsBot](docs/SearchEventsBot.md)
365+
- [SearchEventsIncrementalIdentificationStatus](docs/SearchEventsIncrementalIdentificationStatus.md)
364366
- [SearchEventsSdkPlatform](docs/SearchEventsSdkPlatform.md)
365367
- [SearchEventsVpnConfidence](docs/SearchEventsVpnConfidence.md)
366368
- [SupplementaryIDHighRecall](docs/SupplementaryIDHighRecall.md)
369+
- [TamperingConfidence](docs/TamperingConfidence.md)
367370
- [TamperingDetails](docs/TamperingDetails.md)
368371
- [TouchSupport](docs/TouchSupport.md)
369372
- [Velocity](docs/Velocity.md)

docs/ErrorCode.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Error code:
99
* `subscription_not_active` - Fingerprint workspace is not active.
1010
* `wrong_region` - Server and workspace region differ.
1111
* `feature_not_enabled` - This feature (for example, Delete API) is not enabled for your workspace.
12-
* `request_not_found` - The specified event ID was not found. It never existed, expired, or it has been deleted.
1312
* `visitor_not_found` - The specified visitor ID was not found. It never existed or it may have already been deleted.
1413
* `too_many_requests` - The limit on secret API key requests per second has been exceeded.
1514
* `state_not_ready` - The event specified with event ID is
@@ -35,7 +34,6 @@ Error code:
3534
* `SUBSCRIPTION_NOT_ACTIVE` (value: `'subscription_not_active'`)
3635
* `WRONG_REGION` (value: `'wrong_region'`)
3736
* `FEATURE_NOT_ENABLED` (value: `'feature_not_enabled'`)
38-
* `REQUEST_NOT_FOUND` (value: `'request_not_found'`)
3937
* `VISITOR_NOT_FOUND` (value: `'visitor_not_found'`)
4038
* `TOO_MANY_REQUESTS` (value: `'too_many_requests'`)
4139
* `STATE_NOT_READY` (value: `'state_not_ready'`)

docs/Event.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**event_id** | **str** | Unique identifier of the user's request. The first portion of the event_id is a unix epoch milliseconds timestamp For example: `1758130560902.8tRtrH` |
88
**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. |
9+
**incremental_identification_status** | [**IncrementalIdentificationStatus**](IncrementalIdentificationStatus.md) | | [optional]
910
**linked_id** | **str** | A customer-provided id that was sent with the request. | [optional]
1011
**environment_id** | **str** | Environment Id of the event. For example: `ae_47abaca3db2c7c43` | [optional]
1112
**suspect** | **bool** | Field is `true` if you have previously set the `suspect` flag for this event using the [Server API Update event endpoint](https://docs.fingerprint.com/reference/server-api-v4-update-event). | [optional]
@@ -42,11 +43,15 @@ Name | Type | Description | Notes
4243
**privacy_settings** | **bool** | `true` if the request is from a privacy aware browser (e.g. Tor) or from a browser in which fingerprinting is blocked. Otherwise `false`. | [optional]
4344
**root_apps** | **bool** | Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. | [optional]
4445
**rule_action** | [**EventRuleAction**](EventRuleAction.md) | | [optional]
46+
**simulator** | **bool** | iOS specific simulator detection. There are 2 values: * `true` - Simulator environment detected. * `false` - No signs of simulator or the client is not iOS. | [optional]
4547
**suspect_score** | **int** | Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://docs.fingerprint.com/docs/suspect-score | [optional]
4648
**tampering** | **bool** | Flag indicating browser tampering was detected. This happens when either: * There are inconsistencies in the browser configuration that cross internal tampering thresholds (see `tampering_details.anomaly_score`). * The browser signature resembles an \"anti-detect\" browser specifically designed to evade fingerprinting (see `tampering_details.anti_detect_browser`). | [optional]
49+
**tampering_confidence** | [**TamperingConfidence**](TamperingConfidence.md) | | [optional]
50+
**tampering_ml_score** | **float** | A score that indicates the models calculated probability that an event is coming from an anti detect browser. * Values above `0.8` indicate that the request is an anti detect browser based on the ml model * Values below `0.8` indicate that the request is not an anti detect browser based on the ml model | [optional]
4751
**tampering_details** | [**TamperingDetails**](TamperingDetails.md) | | [optional]
4852
**velocity** | [**Velocity**](Velocity.md) | | [optional]
4953
**virtual_machine** | **bool** | `true` if the request came from a browser running inside a virtual machine (e.g. VMWare), `false` otherwise. | [optional]
54+
**virtual_machine_ml_score** | **float** | Machine learning–based virtual machine score, represented as a floating-point value between 0 and 1 (inclusive), with up to three decimal places of precision. A higher score means a higher confidence in the positive `virtual_machine` detection result | [optional]
5055
**vpn** | **bool** | VPN or other anonymizing service has been used when sending the request. | [optional]
5156
**vpn_confidence** | [**VpnConfidence**](VpnConfidence.md) | | [optional]
5257
**vpn_origin_timezone** | **str** | Local timezone which is used in timezone_mismatch method. | [optional]

0 commit comments

Comments
 (0)