Skip to content

Commit 926b76c

Browse files
authored
Merge pull request #89 from fingerprintjs/feat/open-api-v2.0.0
OpenAPI schema sync
2 parents e18b487 + da0bc9b commit 926b76c

File tree

341 files changed

+10297
-8653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+10297
-8653
lines changed

.changeset/fuzzy-apes-talk.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+
Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal.

.changeset/khaki-results-help.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'fingerprint-pro-server-api-python-sdk': minor
3+
---
4+
5+
- Make the `GeolocationCity` field `name` **required**.
6+
- Make the `GeolocationSubdivision` field `isoCode` **required**.
7+
- Make the `GeolocationSubdivision` field `name` **required**.
8+
- Make the `IPInfoASN` field `name` **required** .
9+
- Make the `IPInfoDataCenter` field `name` **required**.
10+
- Add **optional** `IdentificationConfidence` field `comment`.
11+
- **events**: Add **optional** `Botd` field `meta`.
12+
- **events**: Add **optional** `Identification` field `components`.
13+
- **events**: Make the `VPN` field `originCountry` **required**.
14+
- **visitors**: Add **optional** `Visit` field `components`.
15+
- **webhook**: Add **optional** `Webhook` field `components`.

.changeset/large-lights-push.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
'fingerprint-pro-server-api-python-sdk': major
3+
---
4+
5+
- Remove the `BrowserDetails` field `botProbability`.
6+
- Update the `IdentificationConfidence` field `score` type format: `float` -> `double`.
7+
- Make the `RawDeviceAttributeError` field `name` **optional** .
8+
- Make the `RawDeviceAttributeError` field `message` **optional** .
9+
- **events**: Remove the `EventsResponse` field `error`.
10+
- [note]: The errors are represented by `ErrorResponse` model.
11+
- **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`.
12+
- **events**: Specify the `Tampering` field `anomalyScore` type format: `double`.
13+
- **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`.
14+
- **webhook**: Make the `WebhookClonedApp` field `result` **optional**.
15+
- **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**.
16+
- **webhook**: Make the `WebhookEmulator` field `result` **optional**.
17+
- **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**.
18+
- **webhook**: Make the `WebhookFrida` field `result` **optional**.
19+
- **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`.
20+
- **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**.
21+
- **webhook**: Make the `WebhookJailbroken` field `result` **optional**.
22+
- **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**.
23+
- **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**.
24+
- **webhook**: Make the `WebhookProxy` field `result` **optional**.
25+
- **webhook**: Make the `WebhookRemoteControl` field `result` **optional**.
26+
- **webhook**: Make the `WebhookRootApps` field `result` **optional**.
27+
- **webhook**: Make the `WebhookSuspectScore` field `result` **optional**.
28+
- **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**.
29+
- **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`.
30+
- **webhook**: Make the `WebhookTor` field `result` **optional**.
31+
- **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`.
32+
- **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**.
33+
- **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`.

.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": "dev",
4+
"initialVersions": {
5+
"fingerprint-pro-server-api-python-sdk": "7.1.0"
6+
},
7+
"changesets": []
8+
}

.changeset/quiet-parrots-stick.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
'fingerprint-pro-server-api-python-sdk': major
3+
---
4+
5+
- Rename `BotdResult` -> `Botd`.
6+
- Rename `BotdDetectionResult` -> `BotdBot`:
7+
- Extract `result` type as `BotdBotResult`.
8+
- Rename `ClonedAppResult` -> `ClonedApp`.
9+
- Rename `DeveloperToolsResult` -> `DeveloperTools`.
10+
- Rename `EmulatorResult` -> `Emulator`.
11+
- Refactor error models:
12+
- Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`.
13+
- Introduce `ErrorResponse` and `ErrorPlainResponse`.
14+
- [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`.
15+
- Extract `error` type as `Error`.
16+
- Extract `error.code` type as `ErrorCode`.
17+
- Rename `EventResponse` -> `EventsGetResponse`.
18+
- Rename `EventUpdateRequest` -> `EventsUpdateRequest`.
19+
- Rename `FactoryResetResult` -> `FactoryReset`.
20+
- Rename `FridaResult` -> `Frida`.
21+
- Rename `IPLocation` -> `Geolocation`:
22+
- Rename `IPLocationCity` -> `GeolocationCity`.
23+
- Extract `subdivisions` type as `GeolocationSubdivisions`.
24+
- Rename `Location` -> `GeolocationContinent`:
25+
- Introduce a dedicated type `GeolocationCountry`.
26+
- Rename `Subdivision` -> `GeolocationSubdivision`.
27+
- Rename `HighActivityResult` -> `HighActivity`.
28+
- Rename `Confidence` -> `IdentificationConfidence`.
29+
- Rename `SeenAt` -> `IdentificationSeenAt`.
30+
- Rename `IncognitoResult` -> `Incognito`.
31+
- Rename `IpBlockListResult` -> `IPBlocklist`:
32+
- Extract `details` type as `IPBlocklistDetails`.
33+
- Rename `IpInfoResult` -> `IPInfo`:
34+
- Rename `IpInfoResultV4` -> `IPInfoV4`.
35+
- Rename `IpInfoResultV6` -> `IPInfoV6`.
36+
- Rename `ASN` -> `IPInfoASN`.
37+
- Rename `DataCenter` -> `IPInfoDataCenter`.
38+
- Rename `JailbrokenResult` -> `Jailbroken`.
39+
- Rename `LocationSpoofingResult` -> `LocationSpoofing`.
40+
- Rename `PrivacySettingsResult` -> `PrivacySettings`.
41+
- Rename `ProductsResponse` -> `Products`:
42+
- Rename inner types: `ProductsResponseIdentification` -> `ProductIdentification`, `ProductsResponseIdentificationData` -> `Identification`, `ProductsResponseBotd` -> `ProductBotd`, `SignalResponseRootApps` -> `ProductRootApps`, `SignalResponseEmulator` -> `ProductEmulator`, `SignalResponseIpInfo` -> `ProductIPInfo`, `SignalResponseIpBlocklist` -> `ProductIPBlocklist`, `SignalResponseTor` -> `ProductTor`, `SignalResponseVpn` -> `ProductVPN`, `SignalResponseProxy` -> `ProductProxy`, `ProxyResult` -> `Proxy`, `SignalResponseIncognito` -> `ProductIncognito`, `SignalResponseTampering` -> `ProductTampering`, `SignalResponseClonedApp` -> `ProductClonedApp`, `SignalResponseFactoryReset` -> `ProductFactoryReset`, `SignalResponseJailbroken` -> `ProductJailbroken`, `SignalResponseFrida` -> `ProductFrida`, `SignalResponsePrivacySettings` -> `ProductPrivacySettings`, `SignalResponseVirtualMachine` -> `ProductVirtualMachine`, `SignalResponseRawDeviceAttributes` -> `ProductRawDeviceAttributes`, `RawDeviceAttributesResultValue` -> `RawDeviceAttributes`, `SignalResponseHighActivity` -> `ProductHighActivity`, `SignalResponseLocationSpoofing` -> `ProductLocationSpoofing`, `SignalResponseSuspectScore` -> `ProductSuspectScore`, `SignalResponseRemoteControl` -> `ProductRemoteControl`, `SignalResponseVelocity` -> `ProductVelocity`, `SignalResponseDeveloperTools` -> `ProductDeveloperTools`.
43+
- Extract `identification.data` type as `Identification`.
44+
- Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`:
45+
- Extract item type as `RawDeviceAttribute`.
46+
- Extract `error` type as `RawDeviceAttributeError`.
47+
- Rename `RemoteControlResult` -> `RemoteControl`.
48+
- Rename `RootAppsResult` -> `RootApps`.
49+
- Rename `SuspectScoreResult` -> `SuspectScore`.
50+
- Extract new model `Tag`.
51+
- Rename `TamperingResult` -> `Tampering`.
52+
- Rename `TorResult` -> `Tor`.
53+
- Rename `VelocityResult` -> `Velocity`:
54+
- Rename `VelocityIntervals` -> `VelocityData`.
55+
- Rename `VelocityIntervalResult` -> `VelocityIntervals`.
56+
- Rename `VirtualMachineResult` -> `VirtualMachine`.
57+
- Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`.
58+
- Instead of `DeprecatedIPLocationCity` use common `GeolocationCity`
59+
- Rename `Response` -> `VisitorsGetResponse`.
60+
- Omit extra inner type `ResponseVisits`
61+
- Rename `VpnResult` -> `VPN`.
62+
- Extract `confidence` type as `VPNConfidence`.
63+
- Extract `methods` type as `VPNMethods`.
64+
- Rename `WebhookVisit` -> `Webhook`.
65+
- Introduce new inner types: `WebhookRootApps`, `WebhookEmulator`, `WebhookIPInfo`, `WebhookIPBlocklist`, `WebhookTor`, `WebhookVPN`, `WebhookProxy`, `WebhookTampering`, `WebhookClonedApp`, `WebhookFactoryReset`, `WebhookJailbroken`, `WebhookFrida`, `WebhookPrivacySettings`, `WebhookVirtualMachine`, `WebhookRawDeviceAttributes`, `WebhookHighActivity`, `WebhookLocationSpoofing`, `WebhookSuspectScore`, `WebhookRemoteControl`, `WebhookVelocity`, `WebhookDeveloperTools`.

.changeset/three-files-kneel.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+
**events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal.

.schema-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.2.0
1+
v2.0.0

.swagger-codegen-ignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
git_push.sh
2828
tox.ini
2929
test/*.py
30-
fingerprint_pro_server_api_sdk/models/too_many_requests_response.py
30+
fingerprint_pro_server_api_sdk/models/error_plain_response.py
3131
requirements.txt
3232
test-requirements.txt

0 commit comments

Comments
 (0)