diff --git a/.changeset/add-v3-error-responses.md b/.changeset/add-v3-error-responses.md deleted file mode 100644 index 7f9a0fc72..000000000 --- a/.changeset/add-v3-error-responses.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"fingerprint-pro-server-api-php-sdk": minor ---- - -Handle additional error responses: - -- `getEvent`: `429` and `504` -- `searchEvents`: `404`, `429`, and `504` -- `getVisits`: `404` and `504` - -Add `REQUEST_READ_TIMEOUT` to the `ErrorCode` enum. diff --git a/.changeset/default-reverse-to-false.md b/.changeset/default-reverse-to-false.md deleted file mode 100644 index b13d78ab2..000000000 --- a/.changeset/default-reverse-to-false.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fingerprint-pro-server-api-php-sdk": minor ---- - -Change the default value of the `reverse` parameter on `GET /events/search` to `false` and clarify its description. diff --git a/.changeset/limit-visitors-visits-response.md b/.changeset/limit-visitors-visits-response.md deleted file mode 100644 index ab252d2fd..000000000 --- a/.changeset/limit-visitors-visits-response.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fingerprint-pro-server-api-php-sdk": minor ---- - -Limit `VisitorsGetResponse.visits` to a maximum of one item and clarify that `GET /visitors/{visitor_id}` is deprecated in favor of `GET /events/search`. diff --git a/.changeset/require-labels-label.md b/.changeset/require-labels-label.md deleted file mode 100644 index 50639c6e3..000000000 --- a/.changeset/require-labels-label.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fingerprint-pro-server-api-php-sdk": minor ---- - -Require the `label` field on entries in the `labels` Smart Signal response. diff --git a/.changeset/update-proxy-type-description.md b/.changeset/update-proxy-type-description.md deleted file mode 100644 index c150ba42e..000000000 --- a/.changeset/update-proxy-type-description.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fingerprint-pro-server-api-php-sdk": minor ---- - -Clarify the `ProxyDetails` `proxyType` description to list the `residential`, `data_center`, and `unknown` proxy types explicitly. diff --git a/CHANGELOG.md b/CHANGELOG.md index eb061d37c..78e33fdf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Fingerprint Pro Server PHP SDK +## 6.13.0 + +### Minor Changes + +- Handle additional error responses: + + - `getEvent`: `429` and `504` + - `searchEvents`: `404`, `429`, and `504` + - `getVisits`: `404` and `504` + + Add `REQUEST_READ_TIMEOUT` to the `ErrorCode` enum. ([a523516](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/a52351675be2c0060549a8eaa0403cebd594c256)) + +- Change the default value of the `reverse` parameter on `GET /events/search` to `false` and clarify its description. ([a523516](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/a52351675be2c0060549a8eaa0403cebd594c256)) +- Limit `VisitorsGetResponse.visits` to a maximum of one item and clarify that `GET /visitors/{visitor_id}` is deprecated in favor of `GET /events/search`. ([a523516](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/a52351675be2c0060549a8eaa0403cebd594c256)) +- Require the `label` field on entries in the `labels` Smart Signal response. ([a523516](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/a52351675be2c0060549a8eaa0403cebd594c256)) +- Clarify the `ProxyDetails` `proxyType` description to list the `residential`, `data_center`, and `unknown` proxy types explicitly. ([a523516](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/a52351675be2c0060549a8eaa0403cebd594c256)) + ## 6.12.0 ### Minor Changes diff --git a/README.md b/README.md index aec522344..fe59d9640 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Server API is intended for server-side usage, it's not intended to be used from This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 - - Package version: 6.12.0 + - Package version: 6.13.0 - Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen ## Requirements diff --git a/composer.json b/composer.json index 0caeca30a..083b8d111 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fingerprint/fingerprint-pro-server-api-sdk", - "version": "6.12.0", + "version": "6.13.0", "description": "Fingerprint Server API provides a way for validating visitors’ data issued by Fingerprint Pro.", "keywords": [ "swagger", diff --git a/config.json b/config.json index 4c47b68e6..1a1895406 100644 --- a/config.json +++ b/config.json @@ -8,5 +8,5 @@ "gitUserId": "fingerprintjs", "gitRepoId": "fingerprint-pro-server-api-php-sdk", "description": "Fingerprint Pro Server API provides a way for validating visitors’ data issued by Fingerprint Pro.", - "artifactVersion": "6.12.0" + "artifactVersion": "6.13.0" } diff --git a/package.json b/package.json index d4b27ae93..ef1840c5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fingerprint-pro-server-api-php-sdk", - "version": "6.12.0", + "version": "6.13.0", "private": true, "engines": { "node": ">=18" diff --git a/src/Api/FingerprintApi.php b/src/Api/FingerprintApi.php index 7a1e79143..f02e4435a 100644 --- a/src/Api/FingerprintApi.php +++ b/src/Api/FingerprintApi.php @@ -65,7 +65,7 @@ class FingerprintApi protected ClientInterface $client; protected Configuration $config; - protected string $integration_info = 'fingerprint-pro-server-php-sdk/6.12.0'; + protected string $integration_info = 'fingerprint-pro-server-php-sdk/6.13.0'; public function __construct( ?ClientInterface $client = null, diff --git a/src/Configuration.php b/src/Configuration.php index eca0403fd..6d4ad5437 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -88,7 +88,7 @@ class Configuration /** * User agent of the HTTP request, set to "PHP-Swagger" by default. */ - protected string $userAgent = 'Swagger-Codegen/6.12.0/php'; + protected string $userAgent = 'Swagger-Codegen/6.13.0/php'; /** * Debug switch (default set to false). @@ -429,7 +429,7 @@ public static function toDebugReport(): string $report .= ' OS: '.php_uname().PHP_EOL; $report .= ' PHP Version: '.PHP_VERSION.PHP_EOL; $report .= ' OpenAPI Spec Version: 3'.PHP_EOL; - $report .= ' SDK Package Version: 6.12.0'.PHP_EOL; + $report .= ' SDK Package Version: 6.13.0'.PHP_EOL; $report .= ' Temp Folder Path: '.self::getDefaultConfiguration()->getTempFolderPath().PHP_EOL; return $report;