From caaeae09d3428cd6212e4ffb092c76b5826701dd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 19 Nov 2024 16:08:25 +0000 Subject: [PATCH] chore(release): changeset created a new release (dev) --- .changeset/pre.json | 8 +- CHANGELOG.md | 111 ++++++++++++++++++ README.md | 2 +- docs/BotdBotResult.md | 11 +- docs/ErrorCode.md | 25 ++-- docs/RawDeviceAttributes.md | 4 +- docs/VPNConfidence.md | 9 +- docs/Velocity.md | 17 ++- docs/VelocityIntervals.md | 3 +- docs/WebhookRawDeviceAttributes.md | 4 +- docs/WebhookVelocity.md | 17 ++- .../api/fingerprint_api.py | 8 +- fingerprint_pro_server_api_sdk/api_client.py | 2 +- .../configuration.py | 2 +- package.json | 2 +- setup.cfg | 2 +- test/test_fingerprint_api.py | 2 +- 17 files changed, 191 insertions(+), 38 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index eb346988..bfa3dc3e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -4,5 +4,11 @@ "initialVersions": { "fingerprint-pro-server-api-python-sdk": "7.1.0" }, - "changesets": [] + "changesets": [ + "fuzzy-apes-talk", + "khaki-results-help", + "large-lights-push", + "quiet-parrots-stick", + "three-files-kneel" + ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c016e56..a75ecb7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,116 @@ # Fingerprint Pro Server Python SDK +## 8.0.0-dev.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`. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155)) +- - 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`. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155)) + +### Minor Changes + +- Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155)) +- - 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`. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155)) +- **events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155)) + ## 7.1.0 ### Minor Changes diff --git a/README.md b/README.md index ab571ca5..82a42109 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The Fingerprint Server Python SDK is an easy way to interact with the Fingerprin This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 -- Package version: 7.1.0 +- Package version: 8.0.0-dev.0 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements diff --git a/docs/BotdBotResult.md b/docs/BotdBotResult.md index a4138653..e13c25db 100644 --- a/docs/BotdBotResult.md +++ b/docs/BotdBotResult.md @@ -1,10 +1,7 @@ # BotdBotResult -Bot detection result: * `notDetected` - the visitor is not a bot * `good` - good bot detected, such as Google bot, Baidu Spider, AlexaBot and so on * `bad` - bad bot detected, such as Selenium, Puppeteer, Playwright, headless browsers, and so on +Bot detection result: + * `notDetected` - the visitor is not a bot + * `good` - good bot detected, such as Google bot, Baidu Spider, AlexaBot and so on + * `bad` - bad bot detected, such as Selenium, Puppeteer, Playwright, headless browsers, and so on -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/ErrorCode.md b/docs/ErrorCode.md index 0065912d..8d718997 100644 --- a/docs/ErrorCode.md +++ b/docs/ErrorCode.md @@ -1,10 +1,21 @@ # ErrorCode -Error code: * `RequestCannotBeParsed` - the query parameters or JSON payload contains some errors that prevented us from parsing it (wrong type/surpassed limits). * `TokenRequired` - `Auth-API-Key` header is missing or empty. * `TokenNotFound` - no Fingerprint application found for specified secret key. * `SubscriptionNotActive` - Fingerprint application is not active. * `WrongRegion` - server and application region differ. * `FeatureNotEnabled` - this feature (for example, Delete API) is not enabled for your application. * `RequestNotFound` - the specified request ID was not found. It never existed, expired, or it has been deleted. * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. * `TooManyRequests` - the limit on secret API key requests per second has been exceeded. * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded. * `StateNotReady` - The event specified with request id is not ready for updates yet. Try again. This error happens in rare cases when update API is called immediately after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead. * `Failed` - internal server error. +Error code: + * `RequestCannotBeParsed` - the query parameters or JSON payload contains some errors + that prevented us from parsing it (wrong type/surpassed limits). + * `TokenRequired` - `Auth-API-Key` header is missing or empty. + * `TokenNotFound` - no Fingerprint application found for specified secret key. + * `SubscriptionNotActive` - Fingerprint application is not active. + * `WrongRegion` - server and application region differ. + * `FeatureNotEnabled` - this feature (for example, Delete API) is not enabled for your application. + * `RequestNotFound` - the specified request ID was not found. It never existed, expired, or it has been deleted. + * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. + * `TooManyRequests` - the limit on secret API key requests per second has been exceeded. + * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded. + * `StateNotReady` - The event specified with request id is + not ready for updates yet. Try again. + This error happens in rare cases when update API is called immediately + after receiving the request id on the client. In case you need to send + information right away, we recommend using the JS agent API instead. + * `Failed` - internal server error. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/RawDeviceAttributes.md b/docs/RawDeviceAttributes.md index adc202cb..ce3ae71e 100644 --- a/docs/RawDeviceAttributes.md +++ b/docs/RawDeviceAttributes.md @@ -1,5 +1,7 @@ # RawDeviceAttributes -It includes 35+ raw browser identification attributes to provide Fingerprint users with even more information than our standard visitor ID provides. This enables Fingerprint users to not have to run our open-source product in conjunction with Fingerprint Pro Plus and Enterprise to get those additional attributes. Warning: The raw signals data can change at any moment as we improve the product. We cannot guarantee the internal shape of raw device attributes to be stable, so typical semantic versioning rules do not apply here. Use this data with caution without assuming a specific structure beyond the generic type provided here. +It includes 35+ raw browser identification attributes to provide Fingerprint users with even more information than our standard visitor ID provides. This enables Fingerprint users to not have to run our open-source product in conjunction with Fingerprint Pro Plus and Enterprise to get those additional attributes. +Warning: The raw signals data can change at any moment as we improve the product. We cannot guarantee the internal shape of raw device attributes to be stable, so typical semantic versioning rules do not apply here. Use this data with caution without assuming a specific structure beyond the generic type provided here. + ## Properties diff --git a/docs/VPNConfidence.md b/docs/VPNConfidence.md index 3b16ab7e..bc6faed5 100644 --- a/docs/VPNConfidence.md +++ b/docs/VPNConfidence.md @@ -1,10 +1,3 @@ # VPNConfidence -A confidence rating for the VPN detection result — \"low\", \"medium\", or \"high\". Depends on the combination of results returned from all VPN detection methods. - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +A confidence rating for the VPN detection result — "low", "medium", or "high". Depends on the combination of results returned from all VPN detection methods. diff --git a/docs/Velocity.md b/docs/Velocity.md index 37e7f7e8..302c93af 100644 --- a/docs/Velocity.md +++ b/docs/Velocity.md @@ -1,5 +1,20 @@ # Velocity -Sums key data points for a specific `visitorId`, `ipAddress` and `linkedId` at three distinct time intervals: 5 minutes, 1 hour, and 24 hours as follows: - Number of distinct IP addresses associated to the visitor ID. - Number of distinct linked IDs associated with the visitor ID. - Number of distinct countries associated with the visitor ID. - Number of identification events associated with the visitor ID. - Number of identification events associated with the detected IP address. - Number of distinct IP addresses associated with the provided linked ID. - Number of distinct visitor IDs associated with the provided linked ID. The `24h` interval of `distinctIp`, `distinctLinkedId`, `distinctCountry`, `distinctIpByLinkedId` and `distinctVisitorIdByLinkedId` will be omitted if the number of `events` for the visitor ID in the last 24 hours (`events.intervals.['24h']`) is higher than 20.000. +Sums key data points for a specific `visitorId`, `ipAddress` and `linkedId` at three distinct time +intervals: 5 minutes, 1 hour, and 24 hours as follows: + +- Number of distinct IP addresses associated to the visitor ID. +- Number of distinct linked IDs associated with the visitor ID. +- Number of distinct countries associated with the visitor ID. +- Number of identification events associated with the visitor ID. +- Number of identification events associated with the detected IP address. +- Number of distinct IP addresses associated with the provided linked ID. +- Number of distinct visitor IDs associated with the provided linked ID. + +The `24h` interval of `distinctIp`, `distinctLinkedId`, `distinctCountry`, +`distinctIpByLinkedId` and `distinctVisitorIdByLinkedId` will be omitted +if the number of `events` for the visitor ID in the last 24 +hours (`events.intervals.['24h']`) is higher than 20.000. + ## Properties diff --git a/docs/VelocityIntervals.md b/docs/VelocityIntervals.md index 66c717cf..35915a92 100644 --- a/docs/VelocityIntervals.md +++ b/docs/VelocityIntervals.md @@ -1,5 +1,6 @@ # VelocityIntervals -Is absent if the velocity data could not be generated for the visitor ID. +Is absent if the velocity data could not be generated for the visitor ID. + ## Properties diff --git a/docs/WebhookRawDeviceAttributes.md b/docs/WebhookRawDeviceAttributes.md index b33c06e8..0809d908 100644 --- a/docs/WebhookRawDeviceAttributes.md +++ b/docs/WebhookRawDeviceAttributes.md @@ -1,5 +1,7 @@ # WebhookRawDeviceAttributes -It includes 35+ raw browser identification attributes to provide Fingerprint users with even more information than our standard visitor ID provides. This enables Fingerprint users to not have to run our open-source product in conjunction with Fingerprint Pro Plus and Enterprise to get those additional attributes. Warning: The raw signals data can change at any moment as we improve the product. We cannot guarantee the internal shape of raw device attributes to be stable, so typical semantic versioning rules do not apply here. Use this data with caution without assuming a specific structure beyond the generic type provided here. +It includes 35+ raw browser identification attributes to provide Fingerprint users with even more information than our standard visitor ID provides. This enables Fingerprint users to not have to run our open-source product in conjunction with Fingerprint Pro Plus and Enterprise to get those additional attributes. +Warning: The raw signals data can change at any moment as we improve the product. We cannot guarantee the internal shape of raw device attributes to be stable, so typical semantic versioning rules do not apply here. Use this data with caution without assuming a specific structure beyond the generic type provided here. + ## Properties diff --git a/docs/WebhookVelocity.md b/docs/WebhookVelocity.md index 2f01fb59..8429b68d 100644 --- a/docs/WebhookVelocity.md +++ b/docs/WebhookVelocity.md @@ -1,5 +1,20 @@ # WebhookVelocity -Sums key data points for a specific `visitorId`, `ipAddress` and `linkedId` at three distinct time intervals: 5 minutes, 1 hour, and 24 hours as follows: - Number of distinct IP addresses associated to the visitor ID. - Number of distinct linked IDs associated with the visitor ID. - Number of distinct countries associated with the visitor ID. - Number of identification events associated with the visitor ID. - Number of identification events associated with the detected IP address. - Number of distinct IP addresses associated with the provided linked ID. - Number of distinct visitor IDs associated with the provided linked ID. The `24h` interval of `distinctIp`, `distinctLinkedId`, `distinctCountry`, `distinctIpByLinkedId` and `distinctVisitorIdByLinkedId` will be omitted if the number of `events` for the visitor ID in the last 24 hours (`events.intervals.['24h']`) is higher than 20.000. +Sums key data points for a specific `visitorId`, `ipAddress` and `linkedId` at three distinct time +intervals: 5 minutes, 1 hour, and 24 hours as follows: + +- Number of distinct IP addresses associated to the visitor ID. +- Number of distinct linked IDs associated with the visitor ID. +- Number of distinct countries associated with the visitor ID. +- Number of identification events associated with the visitor ID. +- Number of identification events associated with the detected IP address. +- Number of distinct IP addresses associated with the provided linked ID. +- Number of distinct visitor IDs associated with the provided linked ID. + +The `24h` interval of `distinctIp`, `distinctLinkedId`, `distinctCountry`, +`distinctIpByLinkedId` and `distinctVisitorIdByLinkedId` will be omitted +if the number of `events` for the visitor ID in the last 24 +hours (`events.intervals.['24h']`) is higher than 20.000. + ## Properties diff --git a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py index a6ce9d1f..caeca76c 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -102,7 +102,7 @@ def delete_visitor_data_with_http_info(self, visitor_id: str, **kwargs): # noqa if 'visitor_id' in params: path_params['visitor_id'] = params['visitor_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0-dev.0')] header_params = {} @@ -212,7 +212,7 @@ def get_event_with_http_info(self, request_id: str, **kwargs): # noqa: E501 if 'request_id' in params: path_params['request_id'] = params['request_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0-dev.0')] header_params = {} @@ -331,7 +331,7 @@ def get_visits_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501 if 'visitor_id' in params: path_params['visitor_id'] = params['visitor_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0-dev.0')] if 'request_id' in params: query_params.append(('request_id', params['request_id'])) # noqa: E501 if 'linked_id' in params: @@ -454,7 +454,7 @@ def update_event_with_http_info(self, body: EventsUpdateRequest, request_id: str if 'request_id' in params: path_params['request_id'] = params['request_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0-dev.0')] header_params = {} diff --git a/fingerprint_pro_server_api_sdk/api_client.py b/fingerprint_pro_server_api_sdk/api_client.py index 5bcce0ab..77f6d89d 100644 --- a/fingerprint_pro_server_api_sdk/api_client.py +++ b/fingerprint_pro_server_api_sdk/api_client.py @@ -79,7 +79,7 @@ def __init__(self, configuration: Optional[Configuration] = None, header_name: O self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.0/python' + self.user_agent = 'Swagger-Codegen/8.0.0-dev.0/python' def __del__(self): self.pool.close() diff --git a/fingerprint_pro_server_api_sdk/configuration.py b/fingerprint_pro_server_api_sdk/configuration.py index 8924fe53..6440fea6 100644 --- a/fingerprint_pro_server_api_sdk/configuration.py +++ b/fingerprint_pro_server_api_sdk/configuration.py @@ -210,5 +210,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3\n"\ - "SDK Package Version: 7.1.0".\ + "SDK Package Version: 8.0.0-dev.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/package.json b/package.json index 30083041..20b5d28b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fingerprint-pro-server-api-python-sdk", - "version": "7.1.0", + "version": "8.0.0-dev.0", "private": true, "devDependencies": { "@changesets/cli": "^2.27.8", diff --git a/setup.cfg b/setup.cfg index 22a27699..f6e446b2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -version = 7.1.0 +version = 8.0.0-dev.0 diff --git a/test/test_fingerprint_api.py b/test/test_fingerprint_api.py index 3d250cbb..4149059c 100644 --- a/test/test_fingerprint_api.py +++ b/test/test_fingerprint_api.py @@ -24,7 +24,7 @@ API_KEY = 'private_key' -VERSION = '7.1.0' +VERSION = '8.0.0-dev.0' MOCK_GET_VISITORS_200_LIMIT_1 = 'get_visitors_200_limit_1.json' MOCK_GET_VISITORS_200_LIMIT_500 = 'get_visitors_200_limit_500.json'