Skip to content

OpenAPI schema sync (v2.5.0)#162

Merged
erayaydin merged 3 commits into
mainfrom
feat/open-api-v2.5.0
Apr 23, 2025
Merged

OpenAPI schema sync (v2.5.0)#162
erayaydin merged 3 commits into
mainfrom
feat/open-api-v2.5.0

Conversation

@fingerprint-dx-team-actions-runner
Copy link
Copy Markdown

Schema sync for v2.5.0 OpenAPI schema release.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2025

🟢 Coverage increased by 35.46%

Code Coverage Report

Coverage Report

St. Category Percentage Covered / Total
🔴 Statements 35.46% 1626 / 4585
🔴 Functions 29.53% 650 / 2201
Files Coverage
St. File Methods Statements Total Coverage
🔴 src/Model/BotdBotResult.php 0.00% 0.00% 0.00%
🔴 src/Model/ErrorCode.php 0.00% 0.00% 0.00%
🔴 src/Model/ModelInterface.php 0.00% 0.00% 0.00%
🔴 src/Model/VPNConfidence.php 0.00% 0.00% 0.00%

Expanded the `searchEvent` test case to cover additional query
parameters introduced in the new API version. Increased expected
query parameter count from 11 to 25 (+14 filters). Added assertions
for new parameters (`vpn`, `virtual_machine`, `tampering`,
`anti_detect_browser`, `incognito`, `privacy_settings`, `jailbroken`,
`frida`, `factory_reset`, `cloned_app`, `emulator`, `root_apps`,
`vpn_confidence`, `min_suspect_score`). Updated the method call to
include these new parameters.

Related-Task: INTER-1213
Replaced individual assertions with a loop-based structure using a map
to improve readability. Also included support for dynamically counting
additional query parameters (`ii`, `visitor_id`) and added helpful
failure messages to ease testing.

Related-Task: INTER-1213
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

fingerprint-pro-server-api-php-sdk@6.5.0-develop.0

Minor Changes

  • events-search: Event search now supports a new set of filter parameters: vpn, virtual_machine, tampering, anti_detect_browser, incognito, privacy_settings, jailbroken, frida, factory_reset, cloned_app, emulator, root_apps, vpn_confidence, min_suspect_score. (9ec63ea)

Patch Changes

  • webhook: Apply x-flatten-optional-params: true in correct place in the webhook.yaml (9ec63ea)
  • events: Update Tampering descriptions to reflect Android support. (9ec63ea)
  • webhook: Add environmentId property (9ec63ea)

@erayaydin erayaydin merged commit 1d7a74d into main Apr 23, 2025
15 checks passed
@erayaydin erayaydin deleted the feat/open-api-v2.5.0 branch April 23, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants