diff --git a/.changeset/pre.json b/.changeset/pre.json
index a4b92f9..3fddb34 100644
--- a/.changeset/pre.json
+++ b/.changeset/pre.json
@@ -4,5 +4,14 @@
"initialVersions": {
"fingerprint-pro-server-api-java-sdk": "6.2.0"
},
- "changesets": []
+ "changesets": [
+ "fuzzy-apes-talk",
+ "khaki-results-help",
+ "large-lights-push",
+ "quiet-parrots-stick",
+ "short-icons-wish",
+ "shy-worms-wish",
+ "tender-bottles-kneel",
+ "three-files-kneel"
+ ]
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f5ad8bf..0f4daf6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,127 @@
# Fingerprint Pro Server Java SDK
+## 7.0.0-develop.0
+
+### Major Changes
+
+- - Remove the `BrowserDetails` field `botProbability`.
+ - Update the `IdentificationConfidence` field `score` type format: `float` -> `double`.
+ - Make the `RawDeviceAttributeError` field `name` **optional** .
+ - Make the `RawDeviceAttributeError` field `message` **optional** .
+ - **events**: Remove the `EventsResponse` field `error`.
+ - [note]: The errors are represented by `ErrorResponse` model.
+ - **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`.
+ - **events**: Specify the `Tampering` field `anomalyScore` type format: `double`.
+ - **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`.
+ - **webhook**: Make the `WebhookClonedApp` field `result` **optional**.
+ - **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**.
+ - **webhook**: Make the `WebhookEmulator` field `result` **optional**.
+ - **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**.
+ - **webhook**: Make the `WebhookFrida` field `result` **optional**.
+ - **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`.
+ - **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**.
+ - **webhook**: Make the `WebhookJailbroken` field `result` **optional**.
+ - **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**.
+ - **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**.
+ - **webhook**: Make the `WebhookProxy` field `result` **optional**.
+ - **webhook**: Make the `WebhookRemoteControl` field `result` **optional**.
+ - **webhook**: Make the `WebhookRootApps` field `result` **optional**.
+ - **webhook**: Make the `WebhookSuspectScore` field `result` **optional**.
+ - **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**.
+ - **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`.
+ - **webhook**: Make the `WebhookTor` field `result` **optional**.
+ - **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`.
+ - **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**.
+ - **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+- - Rename `BotdResult` -> `Botd`.
+ - Rename `BotdDetectionResult` -> `BotdBot`:
+ - Extract `result` type as `BotdBotResult`.
+ - Rename `ClonedAppResult` -> `ClonedApp`.
+ - Rename `DeveloperToolsResult` -> `DeveloperTools`.
+ - Rename `EmulatorResult` -> `Emulator`.
+ - Refactor error models:
+ - Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`.
+ - Introduce `ErrorResponse` and `ErrorPlainResponse`.
+ - [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`.
+ - Extract `error` type as `Error`.
+ - Extract `error.code` type as `ErrorCode`.
+ - Rename `EventResponse` -> `EventsGetResponse`.
+ - Rename `EventUpdateRequest` -> `EventsUpdateRequest`.
+ - Rename `FactoryResetResult` -> `FactoryReset`.
+ - Rename `FridaResult` -> `Frida`.
+ - Rename `IPLocation` -> `Geolocation`:
+ - Rename `IPLocationCity` -> `GeolocationCity`.
+ - Extract `subdivisions` type as `GeolocationSubdivisions`.
+ - Rename `Location` -> `GeolocationContinent`:
+ - Introduce a dedicated type `GeolocationCountry`.
+ - Rename `Subdivision` -> `GeolocationSubdivision`.
+ - Rename `HighActivityResult` -> `HighActivity`.
+ - Rename `Confidence` -> `IdentificationConfidence`.
+ - Rename `SeenAt` -> `IdentificationSeenAt`.
+ - Rename `IncognitoResult` -> `Incognito`.
+ - Rename `IpBlockListResult` -> `IPBlocklist`:
+ - Extract `details` type as `IPBlocklistDetails`.
+ - Rename `IpInfoResult` -> `IPInfo`:
+ - Rename `IpInfoResultV4` -> `IPInfoV4`.
+ - Rename `IpInfoResultV6` -> `IPInfoV6`.
+ - Rename `ASN` -> `IPInfoASN`.
+ - Rename `DataCenter` -> `IPInfoDataCenter`.
+ - Rename `JailbrokenResult` -> `Jailbroken`.
+ - Rename `LocationSpoofingResult` -> `LocationSpoofing`.
+ - Rename `PrivacySettingsResult` -> `PrivacySettings`.
+ - Rename `ProductsResponse` -> `Products`:
+ - 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`.
+ - Extract `identification.data` type as `Identification`.
+ - Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`:
+ - Extract item type as `RawDeviceAttribute`.
+ - Extract `error` type as `RawDeviceAttributeError`.
+ - Rename `RemoteControlResult` -> `RemoteControl`.
+ - Rename `RootAppsResult` -> `RootApps`.
+ - Rename `SuspectScoreResult` -> `SuspectScore`.
+ - Extract new model `Tag`.
+ - Rename `TamperingResult` -> `Tampering`.
+ - Rename `TorResult` -> `Tor`.
+ - Rename `VelocityResult` -> `Velocity`:
+ - Rename `VelocityIntervals` -> `VelocityData`.
+ - Rename `VelocityIntervalResult` -> `VelocityIntervals`.
+ - Rename `VirtualMachineResult` -> `VirtualMachine`.
+ - Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`.
+ - Instead of `DeprecatedIPLocationCity` use common `GeolocationCity`
+ - Rename `Response` -> `VisitorsGetResponse`.
+ - Omit extra inner type `ResponseVisits`
+ - Rename `VpnResult` -> `VPN`.
+ - Extract `confidence` type as `VPNConfidence`.
+ - Extract `methods` type as `VPNMethods`.
+ - Rename `WebhookVisit` -> `Webhook`.
+ - 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`. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+
+### Minor Changes
+
+- Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+- - Make the `GeolocationCity` field `name` **required**.
+ - Make the `GeolocationSubdivision` field `isoCode` **required**.
+ - Make the `GeolocationSubdivision` field `name` **required**.
+ - Make the `IPInfoASN` field `name` **required** .
+ - Make the `IPInfoDataCenter` field `name` **required**.
+ - Add **optional** `IdentificationConfidence` field `comment`.
+ - **events**: Add **optional** `Botd` field `meta`.
+ - **events**: Add **optional** `Identification` field `components`.
+ - **events**: Make the `VPN` field `originCountry` **required**.
+ - **visitors**: Add **optional** `Visit` field `components`.
+ - **webhook**: Add **optional** `Webhook` field `components`. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+- Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models. ([d608cfe](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/d608cfeb3d0007fff9f6742255f8110a5f4ae3e1))
+- **events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+
+### Patch Changes
+
+- - Fix descriptions formatting:
+ - Remove extra line breaks.
+ - Fix block styles.
+ - Fix links in descriptions. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+- - Replace GET /events TooManyRequests examples with a single `get_event_200_too_many_requests_error.json`.
+ - Update `products.identification.error.message` in `get_event_200_<...>.json` examples.
+ - Rename GET /visitors example files. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73))
+
## 6.2.0
### Minor Changes
diff --git a/README.md b/README.md
index d11ad8b..4afa7a6 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ Add this dependency to your project's POM:
com.github.fingerprintjs
fingerprint-pro-server-api-java-sdk
- v6.2.0
+ v7.0.0-develop.0
```
@@ -70,7 +70,7 @@ repositories {
}
dependencies {
- implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v6.2.0"
+ implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.0.0-develop.0"
}
```
@@ -85,7 +85,7 @@ repositories {
}
dependencies {
- implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v6.2.0")
+ implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.0.0-develop.0")
}
```
@@ -99,7 +99,7 @@ At first generate the JAR by executing:
Then manually install the following JARs:
-- `target/fingerprint-pro-server-api-sdk-6.2.0.jar`
+- `target/fingerprint-pro-server-api-sdk-7.0.0-develop.0.jar`
## Getting Started
diff --git a/gradle.properties b/gradle.properties
index e2de3ea..b88622b 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1 +1 @@
-projectVersion = 6.2.0
+projectVersion = 7.0.0-develop.0
diff --git a/package.json b/package.json
index c737ef1..1cb1fa6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "fingerprint-pro-server-api-java-sdk",
- "version": "6.2.0",
+ "version": "7.0.0-develop.0",
"private": true,
"devDependencies": {
"@changesets/cli": "^2.27.8",
diff --git a/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java b/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java
index d8dcb21..e0ff02b 100644
--- a/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java
+++ b/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java
@@ -23,7 +23,7 @@
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
public class FingerprintApi {
- public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/6.2.0";
+ public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/7.0.0-develop.0";
private ApiClient apiClient;
public FingerprintApi() {
diff --git a/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java b/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java
index d89a1da..f840090 100644
--- a/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java
+++ b/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java
@@ -135,7 +135,7 @@ public ApiClient(Map authMap) {
this.dateFormat = new RFC3339DateFormat();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/6.2.0/java");
+ setUserAgent("OpenAPI-Generator/7.0.0-develop.0/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<>();