Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI schema sync #150

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/shy-worms-wish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@fingerprintjs/fingerprintjs-pro-server-api': minor
---

Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models.
2 changes: 1 addition & 1 deletion .schema-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0.0
v2.1.0
4 changes: 0 additions & 4 deletions resources/fingerprint-server-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ components:
type: boolean
ip:
type: string
format: ipv4
description: IP address of the requesting browser or bot.
ipLocation:
$ref: '#/components/schemas/DeprecatedGeolocation'
Expand Down Expand Up @@ -1046,7 +1045,6 @@ components:
description: Page URL from which the request was sent.
ip:
type: string
format: ipv4
description: IP address of the requesting browser or bot.
time:
type: string
Expand Down Expand Up @@ -1877,7 +1875,6 @@ components:
description: Flag if user used incognito session.
ip:
type: string
format: ipv4
description: IP address of the requesting browser or bot.
ipLocation:
$ref: '#/components/schemas/DeprecatedGeolocation'
Expand Down Expand Up @@ -2274,7 +2271,6 @@ components:
description: Page URL from which the request was sent.
ip:
type: string
format: ipv4
description: IP address of the requesting browser or bot.
tag:
$ref: '#/components/schemas/Tag'
Expand Down
20 changes: 4 additions & 16 deletions src/generatedApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,7 @@ export interface components {
browserDetails: components['schemas']['BrowserDetails']
/** @description Flag if user used incognito session. */
incognito: boolean
/**
* Format: ipv4
* @description IP address of the requesting browser or bot.
*/
/** @description IP address of the requesting browser or bot. */
ip: string
/** @description This field is **deprecated** and will not return a result for **applications created after January 23rd, 2024**. Please use the [IP Geolocation Smart signal](https://dev.fingerprint.com/docs/smart-signals-overview#ip-geolocation) for geolocation information. */
ipLocation?: components['schemas']['DeprecatedGeolocation']
Expand Down Expand Up @@ -366,10 +363,7 @@ export interface components {
linkedId?: string
/** @description Page URL from which the request was sent. */
url: string
/**
* Format: ipv4
* @description IP address of the requesting browser or bot.
*/
/** @description IP address of the requesting browser or bot. */
ip: string
/**
* Format: date-time
Expand Down Expand Up @@ -784,10 +778,7 @@ export interface components {
browserDetails: components['schemas']['BrowserDetails']
/** @description Flag if user used incognito session. */
incognito: boolean
/**
* Format: ipv4
* @description IP address of the requesting browser or bot.
*/
/** @description IP address of the requesting browser or bot. */
ip: string
/** @description This field is **deprecated** and will not return a result for **applications created after January 23rd, 2024**. Please use the [IP Geolocation Smart signal](https://dev.fingerprint.com/docs/smart-signals-overview#ip-geolocation) for geolocation information. */
ipLocation?: components['schemas']['DeprecatedGeolocation']
Expand Down Expand Up @@ -1009,10 +1000,7 @@ export interface components {
requestId: string
/** @description Page URL from which the request was sent. */
url: string
/**
* Format: ipv4
* @description IP address of the requesting browser or bot.
*/
/** @description IP address of the requesting browser or bot. */
ip: string
/** @description A customer-provided value or an object that was sent with identification request. */
tag?: components['schemas']['Tag']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"error": {
"code": "SubscriptionNotActive",
"message": "forbidden"
"code": "FeatureNotEnabled",
"message": "feature not enabled"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"error": {
"code": "FeatureNotEnabled",
"message": "feature not enabled"
"code": "SubscriptionNotActive",
"message": "forbidden"
}
}
Loading