diff --git a/.changeset/fuzzy-apes-talk.md b/.changeset/fuzzy-apes-talk.md new file mode 100644 index 00000000..4fc1e54a --- /dev/null +++ b/.changeset/fuzzy-apes-talk.md @@ -0,0 +1,5 @@ +--- +'fingerprint-pro-server-api-python-sdk': minor +--- + +Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. diff --git a/.changeset/khaki-results-help.md b/.changeset/khaki-results-help.md new file mode 100644 index 00000000..7939107a --- /dev/null +++ b/.changeset/khaki-results-help.md @@ -0,0 +1,15 @@ +--- +'fingerprint-pro-server-api-python-sdk': minor +--- + +- 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`. diff --git a/.changeset/large-lights-push.md b/.changeset/large-lights-push.md new file mode 100644 index 00000000..e6271532 --- /dev/null +++ b/.changeset/large-lights-push.md @@ -0,0 +1,33 @@ +--- +'fingerprint-pro-server-api-python-sdk': major +--- + +- 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`. diff --git a/.changeset/quiet-parrots-stick.md b/.changeset/quiet-parrots-stick.md new file mode 100644 index 00000000..1b19f5c8 --- /dev/null +++ b/.changeset/quiet-parrots-stick.md @@ -0,0 +1,65 @@ +--- +'fingerprint-pro-server-api-python-sdk': major +--- + +- 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`. \ No newline at end of file diff --git a/.changeset/short-icons-wish.md b/.changeset/short-icons-wish.md new file mode 100644 index 00000000..b11d595b --- /dev/null +++ b/.changeset/short-icons-wish.md @@ -0,0 +1,8 @@ +--- +'fingerprint-pro-server-api-python-sdk': patch +--- + +- Fix descriptions formatting: + - Remove extra line breaks. + - Fix block styles. +- Fix links in descriptions. \ No newline at end of file diff --git a/.changeset/tender-bottles-kneel.md b/.changeset/tender-bottles-kneel.md new file mode 100644 index 00000000..23c91981 --- /dev/null +++ b/.changeset/tender-bottles-kneel.md @@ -0,0 +1,13 @@ +--- +'fingerprint-pro-server-api-python-sdk': patch +--- + +- Remove all `example` YAML attributes from all the properties due to [deprecation](https://spec.openapis.org/oas/v3.1.0#fixed-fields-19). + - Keep using JSON Schema `examples` with the `externalValue` associated with JSON example from `/schemas/paths/examples`. +- Reorder all the `schemas` fields (e.g. `type` -> `format` -> `description` -> `required` -> `properties`). +- Reorder all the `paths` fields (e.g. `tags` -> `summary` -> `description` -> `parameters` -> ...) +- Reorder all the object properties in the order they returned by API. +- Move existing and add new error examples to `/schemas/paths/examples/errors`. +- 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. \ No newline at end of file diff --git a/.changeset/three-files-kneel.md b/.changeset/three-files-kneel.md new file mode 100644 index 00000000..9e5c7102 --- /dev/null +++ b/.changeset/three-files-kneel.md @@ -0,0 +1,5 @@ +--- +'fingerprint-pro-server-api-python-sdk': minor +--- + +**events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. diff --git a/.schema-version b/.schema-version index 0408c30b..6eaf8943 100644 --- a/.schema-version +++ b/.schema-version @@ -1 +1 @@ -v1.2.0 \ No newline at end of file +v2.0.0 \ No newline at end of file diff --git a/README.md b/README.md index e512f7dd..db88c840 100644 --- a/README.md +++ b/README.md @@ -259,96 +259,110 @@ Class | Method | HTTP request | Description ## Documentation For Models - - [ASN](docs/ASN.md) - - [BotdDetectionResult](docs/BotdDetectionResult.md) - - [BotdResult](docs/BotdResult.md) + - [Botd](docs/Botd.md) + - [BotdBot](docs/BotdBot.md) + - [BotdBotResult](docs/BotdBotResult.md) - [BrowserDetails](docs/BrowserDetails.md) - - [ClonedAppResult](docs/ClonedAppResult.md) - - [Common403ErrorResponse](docs/Common403ErrorResponse.md) - - [Confidence](docs/Confidence.md) - - [DataCenter](docs/DataCenter.md) - - [DeprecatedIPLocation](docs/DeprecatedIPLocation.md) - - [DeprecatedIPLocationCity](docs/DeprecatedIPLocationCity.md) - - [DeveloperToolsResult](docs/DeveloperToolsResult.md) - - [EmulatorResult](docs/EmulatorResult.md) - - [ErrorCommon403Response](docs/ErrorCommon403Response.md) - - [ErrorCommon429Response](docs/ErrorCommon429Response.md) - - [ErrorCommon429ResponseError](docs/ErrorCommon429ResponseError.md) - - [ErrorEvent404Response](docs/ErrorEvent404Response.md) - - [ErrorEvent404ResponseError](docs/ErrorEvent404ResponseError.md) - - [ErrorUpdateEvent400Response](docs/ErrorUpdateEvent400Response.md) - - [ErrorUpdateEvent400ResponseError](docs/ErrorUpdateEvent400ResponseError.md) - - [ErrorUpdateEvent409Response](docs/ErrorUpdateEvent409Response.md) - - [ErrorUpdateEvent409ResponseError](docs/ErrorUpdateEvent409ResponseError.md) - - [ErrorVisitor400Response](docs/ErrorVisitor400Response.md) - - [ErrorVisitor400ResponseError](docs/ErrorVisitor400ResponseError.md) - - [ErrorVisitor404Response](docs/ErrorVisitor404Response.md) - - [ErrorVisitor404ResponseError](docs/ErrorVisitor404ResponseError.md) - - [ErrorVisits403](docs/ErrorVisits403.md) - - [EventResponse](docs/EventResponse.md) - - [EventUpdateRequest](docs/EventUpdateRequest.md) - - [FactoryResetResult](docs/FactoryResetResult.md) - - [FridaResult](docs/FridaResult.md) - - [HighActivityResult](docs/HighActivityResult.md) - - [IPLocation](docs/IPLocation.md) - - [IPLocationCity](docs/IPLocationCity.md) - - [IdentificationError](docs/IdentificationError.md) - - [IncognitoResult](docs/IncognitoResult.md) - - [IpBlockListResult](docs/IpBlockListResult.md) - - [IpBlockListResultDetails](docs/IpBlockListResultDetails.md) - - [IpInfoResult](docs/IpInfoResult.md) - - [IpInfoResultV4](docs/IpInfoResultV4.md) - - [IpInfoResultV6](docs/IpInfoResultV6.md) - - [JailbrokenResult](docs/JailbrokenResult.md) - - [Location](docs/Location.md) - - [LocationSpoofingResult](docs/LocationSpoofingResult.md) - - [PrivacySettingsResult](docs/PrivacySettingsResult.md) - - [ProductError](docs/ProductError.md) - - [ProductsResponse](docs/ProductsResponse.md) - - [ProductsResponseBotd](docs/ProductsResponseBotd.md) - - [ProductsResponseIdentification](docs/ProductsResponseIdentification.md) - - [ProductsResponseIdentificationData](docs/ProductsResponseIdentificationData.md) - - [ProxyResult](docs/ProxyResult.md) - - [RawDeviceAttributesResult](docs/RawDeviceAttributesResult.md) - - [RemoteControlResult](docs/RemoteControlResult.md) - - [Response](docs/Response.md) - - [ResponseVisits](docs/ResponseVisits.md) - - [RootAppsResult](docs/RootAppsResult.md) - - [SeenAt](docs/SeenAt.md) - - [SignalResponseClonedApp](docs/SignalResponseClonedApp.md) - - [SignalResponseDeveloperTools](docs/SignalResponseDeveloperTools.md) - - [SignalResponseEmulator](docs/SignalResponseEmulator.md) - - [SignalResponseFactoryReset](docs/SignalResponseFactoryReset.md) - - [SignalResponseFrida](docs/SignalResponseFrida.md) - - [SignalResponseHighActivity](docs/SignalResponseHighActivity.md) - - [SignalResponseIncognito](docs/SignalResponseIncognito.md) - - [SignalResponseIpBlocklist](docs/SignalResponseIpBlocklist.md) - - [SignalResponseIpInfo](docs/SignalResponseIpInfo.md) - - [SignalResponseJailbroken](docs/SignalResponseJailbroken.md) - - [SignalResponseLocationSpoofing](docs/SignalResponseLocationSpoofing.md) - - [SignalResponsePrivacySettings](docs/SignalResponsePrivacySettings.md) - - [SignalResponseProxy](docs/SignalResponseProxy.md) - - [SignalResponseRawDeviceAttributes](docs/SignalResponseRawDeviceAttributes.md) - - [SignalResponseRemoteControl](docs/SignalResponseRemoteControl.md) - - [SignalResponseRootApps](docs/SignalResponseRootApps.md) - - [SignalResponseSuspectScore](docs/SignalResponseSuspectScore.md) - - [SignalResponseTampering](docs/SignalResponseTampering.md) - - [SignalResponseTor](docs/SignalResponseTor.md) - - [SignalResponseVelocity](docs/SignalResponseVelocity.md) - - [SignalResponseVirtualMachine](docs/SignalResponseVirtualMachine.md) - - [SignalResponseVpn](docs/SignalResponseVpn.md) - - [Subdivision](docs/Subdivision.md) - - [SuspectScoreResult](docs/SuspectScoreResult.md) - - [TamperingResult](docs/TamperingResult.md) - - [TooManyRequestsResponse](docs/TooManyRequestsResponse.md) - - [TorResult](docs/TorResult.md) - - [VelocityIntervalResult](docs/VelocityIntervalResult.md) + - [ClonedApp](docs/ClonedApp.md) + - [DeprecatedGeolocation](docs/DeprecatedGeolocation.md) + - [DeveloperTools](docs/DeveloperTools.md) + - [Emulator](docs/Emulator.md) + - [Error](docs/Error.md) + - [ErrorCode](docs/ErrorCode.md) + - [ErrorPlainResponse](docs/ErrorPlainResponse.md) + - [ErrorResponse](docs/ErrorResponse.md) + - [EventsGetResponse](docs/EventsGetResponse.md) + - [EventsUpdateRequest](docs/EventsUpdateRequest.md) + - [FactoryReset](docs/FactoryReset.md) + - [Frida](docs/Frida.md) + - [Geolocation](docs/Geolocation.md) + - [GeolocationCity](docs/GeolocationCity.md) + - [GeolocationContinent](docs/GeolocationContinent.md) + - [GeolocationCountry](docs/GeolocationCountry.md) + - [GeolocationSubdivision](docs/GeolocationSubdivision.md) + - [GeolocationSubdivisions](docs/GeolocationSubdivisions.md) + - [HighActivity](docs/HighActivity.md) + - [IPBlocklist](docs/IPBlocklist.md) + - [IPBlocklistDetails](docs/IPBlocklistDetails.md) + - [IPInfo](docs/IPInfo.md) + - [IPInfoASN](docs/IPInfoASN.md) + - [IPInfoDataCenter](docs/IPInfoDataCenter.md) + - [IPInfoV4](docs/IPInfoV4.md) + - [IPInfoV6](docs/IPInfoV6.md) + - [Identification](docs/Identification.md) + - [IdentificationConfidence](docs/IdentificationConfidence.md) + - [IdentificationSeenAt](docs/IdentificationSeenAt.md) + - [Incognito](docs/Incognito.md) + - [Jailbroken](docs/Jailbroken.md) + - [LocationSpoofing](docs/LocationSpoofing.md) + - [PrivacySettings](docs/PrivacySettings.md) + - [ProductBotd](docs/ProductBotd.md) + - [ProductClonedApp](docs/ProductClonedApp.md) + - [ProductDeveloperTools](docs/ProductDeveloperTools.md) + - [ProductEmulator](docs/ProductEmulator.md) + - [ProductFactoryReset](docs/ProductFactoryReset.md) + - [ProductFrida](docs/ProductFrida.md) + - [ProductHighActivity](docs/ProductHighActivity.md) + - [ProductIPBlocklist](docs/ProductIPBlocklist.md) + - [ProductIPInfo](docs/ProductIPInfo.md) + - [ProductIdentification](docs/ProductIdentification.md) + - [ProductIncognito](docs/ProductIncognito.md) + - [ProductJailbroken](docs/ProductJailbroken.md) + - [ProductLocationSpoofing](docs/ProductLocationSpoofing.md) + - [ProductPrivacySettings](docs/ProductPrivacySettings.md) + - [ProductProxy](docs/ProductProxy.md) + - [ProductRawDeviceAttributes](docs/ProductRawDeviceAttributes.md) + - [ProductRemoteControl](docs/ProductRemoteControl.md) + - [ProductRootApps](docs/ProductRootApps.md) + - [ProductSuspectScore](docs/ProductSuspectScore.md) + - [ProductTampering](docs/ProductTampering.md) + - [ProductTor](docs/ProductTor.md) + - [ProductVPN](docs/ProductVPN.md) + - [ProductVelocity](docs/ProductVelocity.md) + - [ProductVirtualMachine](docs/ProductVirtualMachine.md) + - [Products](docs/Products.md) + - [Proxy](docs/Proxy.md) + - [RawDeviceAttribute](docs/RawDeviceAttribute.md) + - [RawDeviceAttributeError](docs/RawDeviceAttributeError.md) + - [RawDeviceAttributes](docs/RawDeviceAttributes.md) + - [RelatedVisitor](docs/RelatedVisitor.md) + - [RemoteControl](docs/RemoteControl.md) + - [RootApps](docs/RootApps.md) + - [SuspectScore](docs/SuspectScore.md) + - [Tag](docs/Tag.md) + - [Tampering](docs/Tampering.md) + - [Tor](docs/Tor.md) + - [VPN](docs/VPN.md) + - [VPNConfidence](docs/VPNConfidence.md) + - [VPNMethods](docs/VPNMethods.md) + - [Velocity](docs/Velocity.md) + - [VelocityData](docs/VelocityData.md) - [VelocityIntervals](docs/VelocityIntervals.md) - - [VelocityResult](docs/VelocityResult.md) - - [VirtualMachineResult](docs/VirtualMachineResult.md) - - [VpnResult](docs/VpnResult.md) - - [VpnResultMethods](docs/VpnResultMethods.md) - - [WebhookVisit](docs/WebhookVisit.md) + - [VirtualMachine](docs/VirtualMachine.md) + - [Visit](docs/Visit.md) + - [VisitorsGetResponse](docs/VisitorsGetResponse.md) + - [Webhook](docs/Webhook.md) + - [WebhookClonedApp](docs/WebhookClonedApp.md) + - [WebhookDeveloperTools](docs/WebhookDeveloperTools.md) + - [WebhookEmulator](docs/WebhookEmulator.md) + - [WebhookFactoryReset](docs/WebhookFactoryReset.md) + - [WebhookFrida](docs/WebhookFrida.md) + - [WebhookHighActivity](docs/WebhookHighActivity.md) + - [WebhookIPBlocklist](docs/WebhookIPBlocklist.md) + - [WebhookIPInfo](docs/WebhookIPInfo.md) + - [WebhookJailbroken](docs/WebhookJailbroken.md) + - [WebhookLocationSpoofing](docs/WebhookLocationSpoofing.md) + - [WebhookPrivacySettings](docs/WebhookPrivacySettings.md) + - [WebhookProxy](docs/WebhookProxy.md) + - [WebhookRawDeviceAttributes](docs/WebhookRawDeviceAttributes.md) + - [WebhookRemoteControl](docs/WebhookRemoteControl.md) + - [WebhookRootApps](docs/WebhookRootApps.md) + - [WebhookSuspectScore](docs/WebhookSuspectScore.md) + - [WebhookTampering](docs/WebhookTampering.md) + - [WebhookTor](docs/WebhookTor.md) + - [WebhookVPN](docs/WebhookVPN.md) + - [WebhookVelocity](docs/WebhookVelocity.md) + - [WebhookVirtualMachine](docs/WebhookVirtualMachine.md) ## Documentation For Authorization diff --git a/docs/BotdResult.md b/docs/Botd.md similarity index 64% rename from docs/BotdResult.md rename to docs/Botd.md index bdc46d21..b2164d70 100644 --- a/docs/BotdResult.md +++ b/docs/Botd.md @@ -1,17 +1,18 @@ -# BotdResult +# Botd Contains all the information from Bot Detection product ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**bot** | [**BotdBot**](BotdBot.md) | | +**meta** | [**Tag**](Tag.md) | | [optional] +**linked_id** | **str** | A customer-provided id that was sent with the request. | [optional] +**url** | **str** | Page URL from which the request was sent. | **ip** | **str** | IP address of the requesting browser or bot. | -**time** | **datetime** | Time in UTC when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible | -**url** | **str** | Page URL from which identification request was sent. | +**time** | **datetime** | Time in UTC when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. | **user_agent** | **str** | | -**request_id** | **str** | | -**linked_id** | **str** | | [optional] -**bot** | [**BotdDetectionResult**](BotdDetectionResult.md) | | +**request_id** | **str** | Unique identifier of the user's request. | [[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/BotdBot.md b/docs/BotdBot.md new file mode 100644 index 00000000..570d9089 --- /dev/null +++ b/docs/BotdBot.md @@ -0,0 +1,12 @@ +# BotdBot +Stores bot detection result + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | [**BotdBotResult**](BotdBotResult.md) | | +**type** | **str** | | [optional] + +[[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/BotdBotResult.md b/docs/BotdBotResult.md new file mode 100644 index 00000000..a4138653 --- /dev/null +++ b/docs/BotdBotResult.md @@ -0,0 +1,10 @@ +# 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 + + +## 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/BotdDetectionResult.md b/docs/BotdDetectionResult.md deleted file mode 100644 index 766e66c0..00000000 --- a/docs/BotdDetectionResult.md +++ /dev/null @@ -1,12 +0,0 @@ -# BotdDetectionResult -Stores bot detection result - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**result** | **str** | 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 | -**type** | **str** | | [optional] - -[[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/BrowserDetails.md b/docs/BrowserDetails.md index 3a0aefff..ddcda6cb 100644 --- a/docs/BrowserDetails.md +++ b/docs/BrowserDetails.md @@ -10,7 +10,6 @@ Name | Type | Description | Notes **os_version** | **str** | | **device** | **str** | | **user_agent** | **str** | | -**bot_probability** | **int** | | [optional] [[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/ClonedAppResult.md b/docs/ClonedApp.md similarity index 54% rename from docs/ClonedAppResult.md rename to docs/ClonedApp.md index 63f2294e..53b59862 100644 --- a/docs/ClonedAppResult.md +++ b/docs/ClonedApp.md @@ -1,9 +1,9 @@ -# ClonedAppResult +# ClonedApp ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | Android specific cloned application detection. There are 2 values: • `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). • `false` - No signs of cloned application detected or the client is not Android. | +**result** | **bool** | Android specific cloned application detection. There are 2 values: * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). * `false` - No signs of cloned application detected or the client is not Android. | [[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/Common403ErrorResponse.md b/docs/Common403ErrorResponse.md deleted file mode 100644 index 20f21f61..00000000 --- a/docs/Common403ErrorResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Common403ErrorResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `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 | -**message** | **str** | | - -[[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/DeprecatedIPLocation.md b/docs/DeprecatedGeolocation.md similarity index 53% rename from docs/DeprecatedIPLocation.md rename to docs/DeprecatedGeolocation.md index 2f7f50df..6ef74b32 100644 --- a/docs/DeprecatedIPLocation.md +++ b/docs/DeprecatedGeolocation.md @@ -1,5 +1,5 @@ -# DeprecatedIPLocation -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. +# DeprecatedGeolocation +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. ## Properties @@ -10,10 +10,10 @@ Name | Type | Description | Notes **longitude** | **float** | | [optional] **postal_code** | **str** | | [optional] **timezone** | **str** | | [optional] -**city** | [**DeprecatedIPLocationCity**](DeprecatedIPLocationCity.md) | | [optional] -**country** | [**Location**](Location.md) | | [optional] -**continent** | [**Location**](Location.md) | | [optional] -**subdivisions** | [**list[Subdivision]**](Subdivision.md) | | [optional] +**city** | [**GeolocationCity**](GeolocationCity.md) | | [optional] +**country** | [**GeolocationCountry**](GeolocationCountry.md) | | [optional] +**continent** | [**GeolocationContinent**](GeolocationContinent.md) | | [optional] +**subdivisions** | [**GeolocationSubdivisions**](GeolocationSubdivisions.md) | | [optional] [[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/DeveloperToolsResult.md b/docs/DeveloperTools.md similarity index 94% rename from docs/DeveloperToolsResult.md rename to docs/DeveloperTools.md index b747f8b1..0eebf37f 100644 --- a/docs/DeveloperToolsResult.md +++ b/docs/DeveloperTools.md @@ -1,4 +1,4 @@ -# DeveloperToolsResult +# DeveloperTools ## Properties Name | Type | Description | Notes diff --git a/docs/EmulatorResult.md b/docs/Emulator.md similarity index 63% rename from docs/EmulatorResult.md rename to docs/Emulator.md index 96ee6c75..548d8aca 100644 --- a/docs/EmulatorResult.md +++ b/docs/Emulator.md @@ -1,9 +1,9 @@ -# EmulatorResult +# Emulator ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | Android specific emulator detection. There are 2 values: • `true` - Emulated environment detected (e.g. launch inside of AVD) • `false` - No signs of emulated environment detected or the client is not Android. | +**result** | **bool** | Android specific emulator detection. There are 2 values: * `true` - Emulated environment detected (e.g. launch inside of AVD). * `false` - No signs of emulated environment detected or the client is not Android. | [[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/Error.md b/docs/Error.md new file mode 100644 index 00000000..baef0cfc --- /dev/null +++ b/docs/Error.md @@ -0,0 +1,10 @@ +# Error + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | [**ErrorCode**](ErrorCode.md) | | +**message** | **str** | | + +[[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 new file mode 100644 index 00000000..0065912d --- /dev/null +++ b/docs/ErrorCode.md @@ -0,0 +1,10 @@ +# 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. + + +## 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/ErrorCommon429Response.md b/docs/ErrorCommon429Response.md deleted file mode 100644 index c966cb85..00000000 --- a/docs/ErrorCommon429Response.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorCommon429Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorCommon429ResponseError**](ErrorCommon429ResponseError.md) | | [optional] - -[[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/ErrorCommon429ResponseError.md b/docs/ErrorCommon429ResponseError.md deleted file mode 100644 index 9c26339b..00000000 --- a/docs/ErrorCommon429ResponseError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ErrorCommon429ResponseError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `TooManyRequests` - The request is throttled. | -**message** | **str** | | - -[[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/ErrorEvent404Response.md b/docs/ErrorEvent404Response.md deleted file mode 100644 index eb9d306a..00000000 --- a/docs/ErrorEvent404Response.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorEvent404Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorEvent404ResponseError**](ErrorEvent404ResponseError.md) | | [optional] - -[[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/ErrorEvent404ResponseError.md b/docs/ErrorEvent404ResponseError.md deleted file mode 100644 index 96e1f53d..00000000 --- a/docs/ErrorEvent404ResponseError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ErrorEvent404ResponseError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `RequestNotFound` - The specified request ID was not found. It never existed, expired, or it has been deleted. | -**message** | **str** | | - -[[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/IPLocationCity.md b/docs/ErrorPlainResponse.md similarity index 83% rename from docs/IPLocationCity.md rename to docs/ErrorPlainResponse.md index e2eaf973..046926ac 100644 --- a/docs/IPLocationCity.md +++ b/docs/ErrorPlainResponse.md @@ -1,9 +1,9 @@ -# IPLocationCity +# ErrorPlainResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | [optional] +**error** | **str** | | [[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/ErrorResponse.md b/docs/ErrorResponse.md new file mode 100644 index 00000000..f21b6bea --- /dev/null +++ b/docs/ErrorResponse.md @@ -0,0 +1,9 @@ +# ErrorResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [**Error**](Error.md) | | + +[[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/ErrorUpdateEvent400Response.md b/docs/ErrorUpdateEvent400Response.md deleted file mode 100644 index 78f7be65..00000000 --- a/docs/ErrorUpdateEvent400Response.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorUpdateEvent400Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorUpdateEvent400ResponseError**](ErrorUpdateEvent400ResponseError.md) | | [optional] - -[[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/ErrorUpdateEvent400ResponseError.md b/docs/ErrorUpdateEvent400ResponseError.md deleted file mode 100644 index 29675a95..00000000 --- a/docs/ErrorUpdateEvent400ResponseError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ErrorUpdateEvent400ResponseError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `RequestCannotBeParsed` - the JSON content of the request contains some errors that prevented us from parsing it (wrong type/surpassed limits) * `Failed` - the event is more than 10 days old and cannot be updated | -**message** | **str** | Details about the underlying issue with the input payload | - -[[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/ErrorUpdateEvent409Response.md b/docs/ErrorUpdateEvent409Response.md deleted file mode 100644 index 68e6bd53..00000000 --- a/docs/ErrorUpdateEvent409Response.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorUpdateEvent409Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorUpdateEvent409ResponseError**](ErrorUpdateEvent409ResponseError.md) | | [optional] - -[[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/ErrorUpdateEvent409ResponseError.md b/docs/ErrorUpdateEvent409ResponseError.md deleted file mode 100644 index 72eaee85..00000000 --- a/docs/ErrorUpdateEvent409ResponseError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ErrorUpdateEvent409ResponseError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `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. | -**message** | **str** | | - -[[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/ErrorVisitor400Response.md b/docs/ErrorVisitor400Response.md deleted file mode 100644 index 91df7398..00000000 --- a/docs/ErrorVisitor400Response.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorVisitor400Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorVisitor400ResponseError**](ErrorVisitor400ResponseError.md) | | [optional] - -[[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/ErrorVisitor400ResponseError.md b/docs/ErrorVisitor400ResponseError.md deleted file mode 100644 index 896f53e4..00000000 --- a/docs/ErrorVisitor400ResponseError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ErrorVisitor400ResponseError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `RequestCannotBeParsed` - The visitor ID parameter is missing or in the wrong format. | -**message** | **str** | | - -[[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/ErrorVisitor404Response.md b/docs/ErrorVisitor404Response.md deleted file mode 100644 index 8fe25083..00000000 --- a/docs/ErrorVisitor404Response.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorVisitor404Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorVisitor404ResponseError**](ErrorVisitor404ResponseError.md) | | [optional] - -[[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/ErrorVisitor404ResponseError.md b/docs/ErrorVisitor404ResponseError.md deleted file mode 100644 index cf0b636f..00000000 --- a/docs/ErrorVisitor404ResponseError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ErrorVisitor404ResponseError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. | -**message** | **str** | | - -[[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/EventResponse.md b/docs/EventsGetResponse.md similarity index 71% rename from docs/EventResponse.md rename to docs/EventsGetResponse.md index 32c81c70..b60ffe1d 100644 --- a/docs/EventResponse.md +++ b/docs/EventsGetResponse.md @@ -1,12 +1,11 @@ -# EventResponse +# EventsGetResponse Contains results from all activated products - Fingerprint Pro, Bot Detection, and others. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**products** | [**ProductsResponse**](ProductsResponse.md) | | -**error** | [**ProductError**](ProductError.md) | | [optional] +**products** | [**Products**](Products.md) | | [[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/EventUpdateRequest.md b/docs/EventsUpdateRequest.md similarity index 74% rename from docs/EventUpdateRequest.md rename to docs/EventsUpdateRequest.md index d6d0319b..34272642 100644 --- a/docs/EventUpdateRequest.md +++ b/docs/EventsUpdateRequest.md @@ -1,10 +1,10 @@ -# EventUpdateRequest +# EventsUpdateRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **linked_id** | **str** | LinkedID value to assign to the existing event | [optional] -**tag** | **object** | Full `tag` value to be set to the existing event. Replaces any existing `tag` payload completely. | [optional] +**tag** | [**Tag**](Tag.md) | | [optional] **suspect** | **bool** | Suspect flag indicating observed suspicious or fraudulent event | [optional] [[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/FactoryResetResult.md b/docs/FactoryReset.md similarity index 70% rename from docs/FactoryResetResult.md rename to docs/FactoryReset.md index d5e47186..a9db9469 100644 --- a/docs/FactoryResetResult.md +++ b/docs/FactoryReset.md @@ -1,9 +1,9 @@ -# FactoryResetResult +# FactoryReset ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**time** | **datetime** | Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. | +**time** | **datetime** | Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. | **timestamp** | **int** | This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. | [[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/FingerprintApi.md b/docs/FingerprintApi.md index 3c5dae1f..89f74bda 100644 --- a/docs/FingerprintApi.md +++ b/docs/FingerprintApi.md @@ -29,7 +29,7 @@ configuration = fingerprint_pro_server_api_sdk.Configuration(api_key="SECRET_API # create an instance of the API class api_instance = fingerprint_pro_server_api_sdk.FingerprintApi(configuration) -visitor_id = 'visitor_id_example' # str | The [visitor ID](https://dev.fingerprint.com/docs/js-agent#visitorid) you want to delete. +visitor_id = 'visitor_id_example' # str | The [visitor ID](https://dev.fingerprint.com/reference/get-function#visitorid) you want to delete. try: # Delete data by visitor ID @@ -42,7 +42,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **visitor_id** | **str**| The [visitor ID](https://dev.fingerprint.com/docs/js-agent#visitorid) you want to delete. | + **visitor_id** | **str**| The [visitor ID](https://dev.fingerprint.com/reference/get-function#visitorid) you want to delete. | ### Return type @@ -60,7 +60,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_event** -> EventResponse get_event(request_id) +> EventsGetResponse get_event(request_id) Get event by request ID @@ -79,7 +79,7 @@ configuration = fingerprint_pro_server_api_sdk.Configuration(api_key="SECRET_API # create an instance of the API class api_instance = fingerprint_pro_server_api_sdk.FingerprintApi(configuration) -request_id = 'request_id_example' # str | The unique [identifier](https://dev.fingerprint.com/docs/js-agent#requestid) of each identification request. +request_id = 'request_id_example' # str | The unique [identifier](https://dev.fingerprint.com/reference/get-function#requestid) of each identification request. try: # Get event by request ID @@ -93,11 +93,11 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request_id** | **str**| The unique [identifier](https://dev.fingerprint.com/docs/js-agent#requestid) of each identification request. | + **request_id** | **str**| The unique [identifier](https://dev.fingerprint.com/reference/get-function#requestid) of each identification request. | ### Return type -[**EventResponse**](EventResponse.md) +[**EventsGetResponse**](EventsGetResponse.md) ### Authorization @@ -111,7 +111,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_visits** -> Response get_visits(visitor_id, request_id=request_id, linked_id=linked_id, limit=limit, pagination_key=pagination_key, before=before) +> VisitorsGetResponse get_visits(visitor_id, request_id=request_id, linked_id=linked_id, limit=limit, pagination_key=pagination_key, before=before) Get visits by visitor ID @@ -130,9 +130,9 @@ configuration = fingerprint_pro_server_api_sdk.Configuration(api_key="SECRET_API # create an instance of the API class api_instance = fingerprint_pro_server_api_sdk.FingerprintApi(configuration) -visitor_id = 'visitor_id_example' # str | Unique [visitor identifier](https://dev.fingerprint.com/docs/js-agent#visitorid) issued by Fingerprint Pro. -request_id = 'request_id_example' # str | Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/docs/js-agent#requestid). When you filter visits by `requestId`, only one visit will be returned. (optional) -linked_id = 'linked_id_example' # str | Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/docs/js-agent#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. (optional) +visitor_id = 'visitor_id_example' # str | Unique [visitor identifier](https://dev.fingerprint.com/reference/get-function#visitorid) issued by Fingerprint Pro. +request_id = 'request_id_example' # str | Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/reference/get-function#requestid). When you filter visits by `requestId`, only one visit will be returned. (optional) +linked_id = 'linked_id_example' # str | Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/reference/get-function#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. (optional) limit = 56 # int | Limit scanned results. For performance reasons, the API first scans some number of events before filtering them. Use `limit` to specify how many events are scanned before they are filtered by `requestId` or `linkedId`. Results are always returned sorted by the timestamp (most recent first). By default, the most recent 100 visits are scanned, the maximum is 500. (optional) pagination_key = 'pagination_key_example' # str | Use `paginationKey` to get the next page of results. When more results are available (e.g., you requested 200 results using `limit` parameter, but a total of 600 results are available), the `paginationKey` top-level attribute is added to the response. The key corresponds to the `requestId` of the last returned event. In the following request, use that value in the `paginationKey` parameter to get the next page of results: 1. First request, returning most recent 200 events: `GET api-base-url/visitors/:visitorId?limit=200` 2. Use `response.paginationKey` to get the next page of results: `GET api-base-url/visitors/:visitorId?limit=200&paginationKey=1683900801733.Ogvu1j` Pagination happens during scanning and before filtering, so you can get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned. (optional) before = 789 # int | ⚠️ Deprecated pagination method, please use `paginationKey` instead. Timestamp (in milliseconds since epoch) used to paginate results. (optional) @@ -149,16 +149,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **visitor_id** | **str**| Unique [visitor identifier](https://dev.fingerprint.com/docs/js-agent#visitorid) issued by Fingerprint Pro. | - **request_id** | **str**| Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/docs/js-agent#requestid). When you filter visits by `requestId`, only one visit will be returned. | [optional] - **linked_id** | **str**| Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/docs/js-agent#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. | [optional] + **visitor_id** | **str**| Unique [visitor identifier](https://dev.fingerprint.com/reference/get-function#visitorid) issued by Fingerprint Pro. | + **request_id** | **str**| Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/reference/get-function#requestid). When you filter visits by `requestId`, only one visit will be returned. | [optional] + **linked_id** | **str**| Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/reference/get-function#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. | [optional] **limit** | **int**| Limit scanned results. For performance reasons, the API first scans some number of events before filtering them. Use `limit` to specify how many events are scanned before they are filtered by `requestId` or `linkedId`. Results are always returned sorted by the timestamp (most recent first). By default, the most recent 100 visits are scanned, the maximum is 500. | [optional] **pagination_key** | **str**| Use `paginationKey` to get the next page of results. When more results are available (e.g., you requested 200 results using `limit` parameter, but a total of 600 results are available), the `paginationKey` top-level attribute is added to the response. The key corresponds to the `requestId` of the last returned event. In the following request, use that value in the `paginationKey` parameter to get the next page of results: 1. First request, returning most recent 200 events: `GET api-base-url/visitors/:visitorId?limit=200` 2. Use `response.paginationKey` to get the next page of results: `GET api-base-url/visitors/:visitorId?limit=200&paginationKey=1683900801733.Ogvu1j` Pagination happens during scanning and before filtering, so you can get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned. | [optional] **before** | **int**| ⚠️ Deprecated pagination method, please use `paginationKey` instead. Timestamp (in milliseconds since epoch) used to paginate results. | [optional] ### Return type -[**Response**](Response.md) +[**VisitorsGetResponse**](VisitorsGetResponse.md) ### Authorization @@ -191,8 +191,8 @@ configuration = fingerprint_pro_server_api_sdk.Configuration(api_key="SECRET_API # create an instance of the API class api_instance = fingerprint_pro_server_api_sdk.FingerprintApi(configuration) -body = fingerprint_pro_server_api_sdk.EventUpdateRequest() # EventUpdateRequest | -request_id = 'request_id_example' # str | The unique event [identifier](https://dev.fingerprint.com/docs/js-agent#requestid). +body = fingerprint_pro_server_api_sdk.EventsUpdateRequest() # EventsUpdateRequest | +request_id = 'request_id_example' # str | The unique event [identifier](https://dev.fingerprint.com/reference/get-function#requestid). try: # Update an event with a given request ID @@ -205,8 +205,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**EventUpdateRequest**](EventUpdateRequest.md)| | - **request_id** | **str**| The unique event [identifier](https://dev.fingerprint.com/docs/js-agent#requestid). | + **body** | [**EventsUpdateRequest**](EventsUpdateRequest.md)| | + **request_id** | **str**| The unique event [identifier](https://dev.fingerprint.com/reference/get-function#requestid). | ### Return type diff --git a/docs/FridaResult.md b/docs/Frida.md similarity index 71% rename from docs/FridaResult.md rename to docs/Frida.md index 3fad5a4a..3dbf6eba 100644 --- a/docs/FridaResult.md +++ b/docs/Frida.md @@ -1,9 +1,9 @@ -# FridaResult +# Frida ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: • `true` - Frida detected • `false` - No signs of Frida or the client is not a mobile device. | +**result** | **bool** | [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: * `true` - Frida detected * `false` - No signs of Frida or the client is not a mobile device. | [[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/IPLocation.md b/docs/Geolocation.md similarity index 62% rename from docs/IPLocation.md rename to docs/Geolocation.md index 5fc4bd38..071eb60f 100644 --- a/docs/IPLocation.md +++ b/docs/Geolocation.md @@ -1,4 +1,4 @@ -# IPLocation +# Geolocation ## Properties Name | Type | Description | Notes @@ -8,10 +8,10 @@ Name | Type | Description | Notes **longitude** | **float** | | [optional] **postal_code** | **str** | | [optional] **timezone** | **str** | | [optional] -**city** | [**IPLocationCity**](IPLocationCity.md) | | [optional] -**country** | [**Location**](Location.md) | | [optional] -**continent** | [**Location**](Location.md) | | [optional] -**subdivisions** | [**list[Subdivision]**](Subdivision.md) | | [optional] +**city** | [**GeolocationCity**](GeolocationCity.md) | | [optional] +**country** | [**GeolocationCountry**](GeolocationCountry.md) | | [optional] +**continent** | [**GeolocationContinent**](GeolocationContinent.md) | | [optional] +**subdivisions** | [**GeolocationSubdivisions**](GeolocationSubdivisions.md) | | [optional] [[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/ErrorVisits403.md b/docs/GeolocationCity.md similarity index 83% rename from docs/ErrorVisits403.md rename to docs/GeolocationCity.md index 4b69dfea..f67531bc 100644 --- a/docs/ErrorVisits403.md +++ b/docs/GeolocationCity.md @@ -1,9 +1,9 @@ -# ErrorVisits403 +# GeolocationCity ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**error** | **str** | Error text. | +**name** | **str** | | [[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/GeolocationContinent.md b/docs/GeolocationContinent.md new file mode 100644 index 00000000..e85fb74d --- /dev/null +++ b/docs/GeolocationContinent.md @@ -0,0 +1,10 @@ +# GeolocationContinent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **str** | | +**name** | **str** | | + +[[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/Location.md b/docs/GeolocationCountry.md similarity index 93% rename from docs/Location.md rename to docs/GeolocationCountry.md index 30ba9aa6..be825425 100644 --- a/docs/Location.md +++ b/docs/GeolocationCountry.md @@ -1,4 +1,4 @@ -# Location +# GeolocationCountry ## Properties Name | Type | Description | Notes diff --git a/docs/GeolocationSubdivision.md b/docs/GeolocationSubdivision.md new file mode 100644 index 00000000..4a80e68f --- /dev/null +++ b/docs/GeolocationSubdivision.md @@ -0,0 +1,10 @@ +# GeolocationSubdivision + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**iso_code** | **str** | | +**name** | **str** | | + +[[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/GeolocationSubdivisions.md b/docs/GeolocationSubdivisions.md new file mode 100644 index 00000000..2b661b3d --- /dev/null +++ b/docs/GeolocationSubdivisions.md @@ -0,0 +1,8 @@ +# GeolocationSubdivisions + +## 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/HighActivity.md b/docs/HighActivity.md new file mode 100644 index 00000000..0ca36855 --- /dev/null +++ b/docs/HighActivity.md @@ -0,0 +1,10 @@ +# HighActivity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Flag indicating if the request came from a high-activity visitor. | +**daily_requests** | **int** | Number of requests from the same visitor in the previous day. | [optional] + +[[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/IpBlockListResult.md b/docs/IPBlocklist.md similarity index 80% rename from docs/IpBlockListResult.md rename to docs/IPBlocklist.md index 5fbd20d8..3252d292 100644 --- a/docs/IpBlockListResult.md +++ b/docs/IPBlocklist.md @@ -1,10 +1,10 @@ -# IpBlockListResult +# IPBlocklist ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **result** | **bool** | `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. | -**details** | [**IpBlockListResultDetails**](IpBlockListResultDetails.md) | | +**details** | [**IPBlocklistDetails**](IPBlocklistDetails.md) | | [[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/IpBlockListResultDetails.md b/docs/IPBlocklistDetails.md similarity index 94% rename from docs/IpBlockListResultDetails.md rename to docs/IPBlocklistDetails.md index a3223854..129499fc 100644 --- a/docs/IpBlockListResultDetails.md +++ b/docs/IPBlocklistDetails.md @@ -1,4 +1,4 @@ -# IpBlockListResultDetails +# IPBlocklistDetails ## Properties Name | Type | Description | Notes diff --git a/docs/IpInfoResult.md b/docs/IPInfo.md similarity index 71% rename from docs/IpInfoResult.md rename to docs/IPInfo.md index 1a6f5ff4..0da65626 100644 --- a/docs/IpInfoResult.md +++ b/docs/IPInfo.md @@ -1,12 +1,12 @@ -# IpInfoResult +# IPInfo Details about the request IP address. Has separate fields for v4 and v6 IP address versions. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**v4** | [**IpInfoResultV4**](IpInfoResultV4.md) | | [optional] -**v6** | [**IpInfoResultV6**](IpInfoResultV6.md) | | [optional] +**v4** | [**IPInfoV4**](IPInfoV4.md) | | [optional] +**v6** | [**IPInfoV6**](IPInfoV6.md) | | [optional] [[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/ASN.md b/docs/IPInfoASN.md similarity index 88% rename from docs/ASN.md rename to docs/IPInfoASN.md index 82e7887d..e5ab653f 100644 --- a/docs/ASN.md +++ b/docs/IPInfoASN.md @@ -1,11 +1,11 @@ -# ASN +# IPInfoASN ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asn** | **str** | | +**name** | **str** | | **network** | **str** | | -**name** | **str** | | [optional] [[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/DataCenter.md b/docs/IPInfoDataCenter.md similarity index 86% rename from docs/DataCenter.md rename to docs/IPInfoDataCenter.md index 675a1d91..7eecff67 100644 --- a/docs/DataCenter.md +++ b/docs/IPInfoDataCenter.md @@ -1,10 +1,10 @@ -# DataCenter +# IPInfoDataCenter ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **result** | **bool** | | -**name** | **str** | | [optional] +**name** | **str** | | [[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/IpInfoResultV4.md b/docs/IPInfoV4.md similarity index 59% rename from docs/IpInfoResultV4.md rename to docs/IPInfoV4.md index e2559b16..f8413286 100644 --- a/docs/IpInfoResultV4.md +++ b/docs/IPInfoV4.md @@ -1,12 +1,12 @@ -# IpInfoResultV4 +# IPInfoV4 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **address** | **str** | | -**geolocation** | [**IPLocation**](IPLocation.md) | | -**asn** | [**ASN**](ASN.md) | | [optional] -**datacenter** | [**DataCenter**](DataCenter.md) | | [optional] +**geolocation** | [**Geolocation**](Geolocation.md) | | +**asn** | [**IPInfoASN**](IPInfoASN.md) | | [optional] +**datacenter** | [**IPInfoDataCenter**](IPInfoDataCenter.md) | | [optional] [[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/IpInfoResultV6.md b/docs/IPInfoV6.md similarity index 59% rename from docs/IpInfoResultV6.md rename to docs/IPInfoV6.md index eae81b81..4f4f7aca 100644 --- a/docs/IpInfoResultV6.md +++ b/docs/IPInfoV6.md @@ -1,12 +1,12 @@ -# IpInfoResultV6 +# IPInfoV6 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **address** | **str** | | -**geolocation** | [**IPLocation**](IPLocation.md) | | -**asn** | [**ASN**](ASN.md) | | [optional] -**datacenter** | [**DataCenter**](DataCenter.md) | | [optional] +**geolocation** | [**Geolocation**](Geolocation.md) | | +**asn** | [**IPInfoASN**](IPInfoASN.md) | | [optional] +**datacenter** | [**IPInfoDataCenter**](IPInfoDataCenter.md) | | [optional] [[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/Identification.md b/docs/Identification.md new file mode 100644 index 00000000..0027abb7 --- /dev/null +++ b/docs/Identification.md @@ -0,0 +1,24 @@ +# Identification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**visitor_id** | **str** | String of 20 characters that uniquely identifies the visitor's browser. | +**request_id** | **str** | Unique identifier of the user's request. | +**browser_details** | [**BrowserDetails**](BrowserDetails.md) | | +**incognito** | **bool** | Flag if user used incognito session. | +**ip** | **str** | IP address of the requesting browser or bot. | +**ip_location** | [**DeprecatedGeolocation**](DeprecatedGeolocation.md) | | [optional] +**linked_id** | **str** | A customer-provided id that was sent with the request. | [optional] +**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. | +**time** | **datetime** | Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. | +**url** | **str** | Page URL from which the request was sent. | +**tag** | [**Tag**](Tag.md) | | +**confidence** | [**IdentificationConfidence**](IdentificationConfidence.md) | | [optional] +**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. | +**first_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | | +**last_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | | +**components** | [**RawDeviceAttributes**](RawDeviceAttributes.md) | | [optional] + +[[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/Confidence.md b/docs/IdentificationConfidence.md similarity index 90% rename from docs/Confidence.md rename to docs/IdentificationConfidence.md index eba9ccd6..8ff4f4d7 100644 --- a/docs/Confidence.md +++ b/docs/IdentificationConfidence.md @@ -1,10 +1,11 @@ -# Confidence +# IdentificationConfidence ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **score** | **float** | The confidence score is a floating-point number between 0 and 1 that represents the probability of accurate identification. | **revision** | **str** | The revision name of the method used to calculate the Confidence score. This field is only present for customers who opted in to an alternative calculation method. | [optional] +**comment** | **str** | | [optional] [[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/IdentificationError.md b/docs/IdentificationError.md deleted file mode 100644 index a66dacf2..00000000 --- a/docs/IdentificationError.md +++ /dev/null @@ -1,10 +0,0 @@ -# IdentificationError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded * `Failed` - internal server error | -**message** | **str** | | - -[[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/SeenAt.md b/docs/IdentificationSeenAt.md similarity index 93% rename from docs/SeenAt.md rename to docs/IdentificationSeenAt.md index b87b1bc4..ffe6ba36 100644 --- a/docs/SeenAt.md +++ b/docs/IdentificationSeenAt.md @@ -1,4 +1,4 @@ -# SeenAt +# IdentificationSeenAt ## Properties Name | Type | Description | Notes diff --git a/docs/IncognitoResult.md b/docs/Incognito.md similarity index 95% rename from docs/IncognitoResult.md rename to docs/Incognito.md index bf04424f..41b87cb5 100644 --- a/docs/IncognitoResult.md +++ b/docs/Incognito.md @@ -1,4 +1,4 @@ -# IncognitoResult +# Incognito ## Properties Name | Type | Description | Notes diff --git a/docs/JailbrokenResult.md b/docs/Jailbroken.md similarity index 72% rename from docs/JailbrokenResult.md rename to docs/Jailbroken.md index 6e4f42ca..981499b2 100644 --- a/docs/JailbrokenResult.md +++ b/docs/Jailbroken.md @@ -1,9 +1,9 @@ -# JailbrokenResult +# Jailbroken ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | iOS specific jailbreak detection. There are 2 values: • `true` - Jailbreak detected • `false` - No signs of jailbreak or the client is not iOS. | +**result** | **bool** | iOS specific jailbreak detection. There are 2 values: * `true` - Jailbreak detected. * `false` - No signs of jailbreak or the client is not iOS. | [[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/LocationSpoofingResult.md b/docs/LocationSpoofing.md similarity index 94% rename from docs/LocationSpoofingResult.md rename to docs/LocationSpoofing.md index ba0f563d..8c22f98d 100644 --- a/docs/LocationSpoofingResult.md +++ b/docs/LocationSpoofing.md @@ -1,4 +1,4 @@ -# LocationSpoofingResult +# LocationSpoofing ## Properties Name | Type | Description | Notes diff --git a/docs/PrivacySettingsResult.md b/docs/PrivacySettings.md similarity index 94% rename from docs/PrivacySettingsResult.md rename to docs/PrivacySettings.md index ac86e3f4..a242542a 100644 --- a/docs/PrivacySettingsResult.md +++ b/docs/PrivacySettings.md @@ -1,4 +1,4 @@ -# PrivacySettingsResult +# PrivacySettings ## Properties Name | Type | Description | Notes diff --git a/docs/ProductBotd.md b/docs/ProductBotd.md new file mode 100644 index 00000000..42cde921 --- /dev/null +++ b/docs/ProductBotd.md @@ -0,0 +1,10 @@ +# ProductBotd + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Botd**](Botd.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductClonedApp.md b/docs/ProductClonedApp.md new file mode 100644 index 00000000..da6a4eb3 --- /dev/null +++ b/docs/ProductClonedApp.md @@ -0,0 +1,10 @@ +# ProductClonedApp + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ClonedApp**](ClonedApp.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductDeveloperTools.md b/docs/ProductDeveloperTools.md new file mode 100644 index 00000000..044a3756 --- /dev/null +++ b/docs/ProductDeveloperTools.md @@ -0,0 +1,10 @@ +# ProductDeveloperTools + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**DeveloperTools**](DeveloperTools.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductEmulator.md b/docs/ProductEmulator.md new file mode 100644 index 00000000..4c3730cf --- /dev/null +++ b/docs/ProductEmulator.md @@ -0,0 +1,10 @@ +# ProductEmulator + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Emulator**](Emulator.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductError.md b/docs/ProductError.md deleted file mode 100644 index 93141f9f..00000000 --- a/docs/ProductError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ProductError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | Error code: * `TooManyRequests` - the limit on secret API key requests per second has been exceeded * `Failed` - internal server error | -**message** | **str** | | - -[[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/ProductFactoryReset.md b/docs/ProductFactoryReset.md new file mode 100644 index 00000000..913da56f --- /dev/null +++ b/docs/ProductFactoryReset.md @@ -0,0 +1,10 @@ +# ProductFactoryReset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**FactoryReset**](FactoryReset.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductFrida.md b/docs/ProductFrida.md new file mode 100644 index 00000000..57189ac0 --- /dev/null +++ b/docs/ProductFrida.md @@ -0,0 +1,10 @@ +# ProductFrida + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Frida**](Frida.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductHighActivity.md b/docs/ProductHighActivity.md new file mode 100644 index 00000000..7de47147 --- /dev/null +++ b/docs/ProductHighActivity.md @@ -0,0 +1,10 @@ +# ProductHighActivity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**HighActivity**](HighActivity.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductIPBlocklist.md b/docs/ProductIPBlocklist.md new file mode 100644 index 00000000..29dd754c --- /dev/null +++ b/docs/ProductIPBlocklist.md @@ -0,0 +1,10 @@ +# ProductIPBlocklist + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**IPBlocklist**](IPBlocklist.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductIPInfo.md b/docs/ProductIPInfo.md new file mode 100644 index 00000000..328c0279 --- /dev/null +++ b/docs/ProductIPInfo.md @@ -0,0 +1,10 @@ +# ProductIPInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**IPInfo**](IPInfo.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductIdentification.md b/docs/ProductIdentification.md new file mode 100644 index 00000000..7b8c09a0 --- /dev/null +++ b/docs/ProductIdentification.md @@ -0,0 +1,10 @@ +# ProductIdentification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Identification**](Identification.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductIncognito.md b/docs/ProductIncognito.md new file mode 100644 index 00000000..fe40ef02 --- /dev/null +++ b/docs/ProductIncognito.md @@ -0,0 +1,10 @@ +# ProductIncognito + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Incognito**](Incognito.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductJailbroken.md b/docs/ProductJailbroken.md new file mode 100644 index 00000000..27b46e22 --- /dev/null +++ b/docs/ProductJailbroken.md @@ -0,0 +1,10 @@ +# ProductJailbroken + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Jailbroken**](Jailbroken.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductLocationSpoofing.md b/docs/ProductLocationSpoofing.md new file mode 100644 index 00000000..5906c1de --- /dev/null +++ b/docs/ProductLocationSpoofing.md @@ -0,0 +1,10 @@ +# ProductLocationSpoofing + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**LocationSpoofing**](LocationSpoofing.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductPrivacySettings.md b/docs/ProductPrivacySettings.md new file mode 100644 index 00000000..d2619cb9 --- /dev/null +++ b/docs/ProductPrivacySettings.md @@ -0,0 +1,10 @@ +# ProductPrivacySettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**PrivacySettings**](PrivacySettings.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductProxy.md b/docs/ProductProxy.md new file mode 100644 index 00000000..b58c2ab7 --- /dev/null +++ b/docs/ProductProxy.md @@ -0,0 +1,10 @@ +# ProductProxy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Proxy**](Proxy.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/SignalResponseRemoteControl.md b/docs/ProductRawDeviceAttributes.md similarity index 64% rename from docs/SignalResponseRemoteControl.md rename to docs/ProductRawDeviceAttributes.md index 69b5e492..602a36eb 100644 --- a/docs/SignalResponseRemoteControl.md +++ b/docs/ProductRawDeviceAttributes.md @@ -1,10 +1,10 @@ -# SignalResponseRemoteControl +# ProductRawDeviceAttributes ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**RemoteControlResult**](RemoteControlResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] +**data** | [**RawDeviceAttributes**](RawDeviceAttributes.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] [[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/ProductRemoteControl.md b/docs/ProductRemoteControl.md new file mode 100644 index 00000000..b80cce38 --- /dev/null +++ b/docs/ProductRemoteControl.md @@ -0,0 +1,10 @@ +# ProductRemoteControl + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RemoteControl**](RemoteControl.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductRootApps.md b/docs/ProductRootApps.md new file mode 100644 index 00000000..29e676b9 --- /dev/null +++ b/docs/ProductRootApps.md @@ -0,0 +1,10 @@ +# ProductRootApps + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RootApps**](RootApps.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductSuspectScore.md b/docs/ProductSuspectScore.md new file mode 100644 index 00000000..8c8dfbdb --- /dev/null +++ b/docs/ProductSuspectScore.md @@ -0,0 +1,10 @@ +# ProductSuspectScore + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**SuspectScore**](SuspectScore.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductTampering.md b/docs/ProductTampering.md new file mode 100644 index 00000000..bdd9cfc6 --- /dev/null +++ b/docs/ProductTampering.md @@ -0,0 +1,10 @@ +# ProductTampering + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Tampering**](Tampering.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ErrorCommon403Response.md b/docs/ProductTor.md similarity index 71% rename from docs/ErrorCommon403Response.md rename to docs/ProductTor.md index c6420125..0c3fd864 100644 --- a/docs/ErrorCommon403Response.md +++ b/docs/ProductTor.md @@ -1,9 +1,10 @@ -# ErrorCommon403Response +# ProductTor ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**error** | [**Common403ErrorResponse**](Common403ErrorResponse.md) | | [optional] +**data** | [**Tor**](Tor.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] [[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/ProductVPN.md b/docs/ProductVPN.md new file mode 100644 index 00000000..f809b9d4 --- /dev/null +++ b/docs/ProductVPN.md @@ -0,0 +1,10 @@ +# ProductVPN + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**VPN**](VPN.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductVelocity.md b/docs/ProductVelocity.md new file mode 100644 index 00000000..e220a2e5 --- /dev/null +++ b/docs/ProductVelocity.md @@ -0,0 +1,10 @@ +# ProductVelocity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**Velocity**](Velocity.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/ProductVirtualMachine.md b/docs/ProductVirtualMachine.md new file mode 100644 index 00000000..aacff530 --- /dev/null +++ b/docs/ProductVirtualMachine.md @@ -0,0 +1,10 @@ +# ProductVirtualMachine + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**VirtualMachine**](VirtualMachine.md) | | [optional] +**error** | [**Error**](Error.md) | | [optional] + +[[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/Products.md b/docs/Products.md new file mode 100644 index 00000000..8e885397 --- /dev/null +++ b/docs/Products.md @@ -0,0 +1,34 @@ +# Products +Contains all information about the request identified by `requestId`, depending on the pricing plan (Pro, Pro Plus, Enterprise) + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**identification** | [**ProductIdentification**](ProductIdentification.md) | | [optional] +**botd** | [**ProductBotd**](ProductBotd.md) | | [optional] +**root_apps** | [**ProductRootApps**](ProductRootApps.md) | | [optional] +**emulator** | [**ProductEmulator**](ProductEmulator.md) | | [optional] +**ip_info** | [**ProductIPInfo**](ProductIPInfo.md) | | [optional] +**ip_blocklist** | [**ProductIPBlocklist**](ProductIPBlocklist.md) | | [optional] +**tor** | [**ProductTor**](ProductTor.md) | | [optional] +**vpn** | [**ProductVPN**](ProductVPN.md) | | [optional] +**proxy** | [**ProductProxy**](ProductProxy.md) | | [optional] +**incognito** | [**ProductIncognito**](ProductIncognito.md) | | [optional] +**tampering** | [**ProductTampering**](ProductTampering.md) | | [optional] +**cloned_app** | [**ProductClonedApp**](ProductClonedApp.md) | | [optional] +**factory_reset** | [**ProductFactoryReset**](ProductFactoryReset.md) | | [optional] +**jailbroken** | [**ProductJailbroken**](ProductJailbroken.md) | | [optional] +**frida** | [**ProductFrida**](ProductFrida.md) | | [optional] +**privacy_settings** | [**ProductPrivacySettings**](ProductPrivacySettings.md) | | [optional] +**virtual_machine** | [**ProductVirtualMachine**](ProductVirtualMachine.md) | | [optional] +**raw_device_attributes** | [**ProductRawDeviceAttributes**](ProductRawDeviceAttributes.md) | | [optional] +**high_activity** | [**ProductHighActivity**](ProductHighActivity.md) | | [optional] +**location_spoofing** | [**ProductLocationSpoofing**](ProductLocationSpoofing.md) | | [optional] +**suspect_score** | [**ProductSuspectScore**](ProductSuspectScore.md) | | [optional] +**remote_control** | [**ProductRemoteControl**](ProductRemoteControl.md) | | [optional] +**velocity** | [**ProductVelocity**](ProductVelocity.md) | | [optional] +**developer_tools** | [**ProductDeveloperTools**](ProductDeveloperTools.md) | | [optional] + +[[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/ProductsResponse.md b/docs/ProductsResponse.md deleted file mode 100644 index df2a8fba..00000000 --- a/docs/ProductsResponse.md +++ /dev/null @@ -1,34 +0,0 @@ -# ProductsResponse -Contains all information about the request identified by `requestId`, depending on the pricing plan (Pro, Pro Plus, Enterprise) - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identification** | [**ProductsResponseIdentification**](ProductsResponseIdentification.md) | | [optional] -**botd** | [**ProductsResponseBotd**](ProductsResponseBotd.md) | | [optional] -**ip_info** | [**SignalResponseIpInfo**](SignalResponseIpInfo.md) | | [optional] -**incognito** | [**SignalResponseIncognito**](SignalResponseIncognito.md) | | [optional] -**root_apps** | [**SignalResponseRootApps**](SignalResponseRootApps.md) | | [optional] -**emulator** | [**SignalResponseEmulator**](SignalResponseEmulator.md) | | [optional] -**cloned_app** | [**SignalResponseClonedApp**](SignalResponseClonedApp.md) | | [optional] -**factory_reset** | [**SignalResponseFactoryReset**](SignalResponseFactoryReset.md) | | [optional] -**jailbroken** | [**SignalResponseJailbroken**](SignalResponseJailbroken.md) | | [optional] -**frida** | [**SignalResponseFrida**](SignalResponseFrida.md) | | [optional] -**ip_blocklist** | [**SignalResponseIpBlocklist**](SignalResponseIpBlocklist.md) | | [optional] -**tor** | [**SignalResponseTor**](SignalResponseTor.md) | | [optional] -**privacy_settings** | [**SignalResponsePrivacySettings**](SignalResponsePrivacySettings.md) | | [optional] -**virtual_machine** | [**SignalResponseVirtualMachine**](SignalResponseVirtualMachine.md) | | [optional] -**vpn** | [**SignalResponseVpn**](SignalResponseVpn.md) | | [optional] -**proxy** | [**SignalResponseProxy**](SignalResponseProxy.md) | | [optional] -**tampering** | [**SignalResponseTampering**](SignalResponseTampering.md) | | [optional] -**high_activity** | [**SignalResponseHighActivity**](SignalResponseHighActivity.md) | | [optional] -**location_spoofing** | [**SignalResponseLocationSpoofing**](SignalResponseLocationSpoofing.md) | | [optional] -**suspect_score** | [**SignalResponseSuspectScore**](SignalResponseSuspectScore.md) | | [optional] -**raw_device_attributes** | [**SignalResponseRawDeviceAttributes**](SignalResponseRawDeviceAttributes.md) | | [optional] -**remote_control** | [**SignalResponseRemoteControl**](SignalResponseRemoteControl.md) | | [optional] -**velocity** | [**SignalResponseVelocity**](SignalResponseVelocity.md) | | [optional] -**developer_tools** | [**SignalResponseDeveloperTools**](SignalResponseDeveloperTools.md) | | [optional] - -[[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/ProductsResponseIdentificationData.md b/docs/ProductsResponseIdentificationData.md deleted file mode 100644 index 31a0e4b2..00000000 --- a/docs/ProductsResponseIdentificationData.md +++ /dev/null @@ -1,23 +0,0 @@ -# ProductsResponseIdentificationData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**request_id** | **str** | Unique identifier of the user's identification request. | -**browser_details** | [**BrowserDetails**](BrowserDetails.md) | | -**incognito** | **bool** | Flag if user used incognito session. | -**ip** | **str** | | -**ip_location** | [**DeprecatedIPLocation**](DeprecatedIPLocation.md) | | [optional] -**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. | -**time** | **datetime** | Time expressed according to ISO 8601 in UTC format. | -**url** | **str** | Page URL from which the identification request was sent. | -**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. | -**linked_id** | **str** | A customer-provided id that was sent with identification request. | [optional] -**confidence** | [**Confidence**](Confidence.md) | | [optional] -**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. | -**first_seen_at** | [**SeenAt**](SeenAt.md) | | -**last_seen_at** | [**SeenAt**](SeenAt.md) | | -**visitor_id** | **str** | String of 20 characters that uniquely identifies the visitor's browser. | - -[[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/ProxyResult.md b/docs/Proxy.md similarity index 96% rename from docs/ProxyResult.md rename to docs/Proxy.md index a6fd6a87..8d117978 100644 --- a/docs/ProxyResult.md +++ b/docs/Proxy.md @@ -1,4 +1,4 @@ -# ProxyResult +# Proxy ## Properties Name | Type | Description | Notes diff --git a/docs/RawDeviceAttribute.md b/docs/RawDeviceAttribute.md new file mode 100644 index 00000000..529fc66a --- /dev/null +++ b/docs/RawDeviceAttribute.md @@ -0,0 +1,10 @@ +# RawDeviceAttribute + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **object** | | [optional] +**error** | [**RawDeviceAttributeError**](RawDeviceAttributeError.md) | | [optional] + +[[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/DeprecatedIPLocationCity.md b/docs/RawDeviceAttributeError.md similarity index 82% rename from docs/DeprecatedIPLocationCity.md rename to docs/RawDeviceAttributeError.md index f609c25a..327b5338 100644 --- a/docs/DeprecatedIPLocationCity.md +++ b/docs/RawDeviceAttributeError.md @@ -1,9 +1,10 @@ -# DeprecatedIPLocationCity +# RawDeviceAttributeError ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | | [optional] +**message** | **str** | | [optional] [[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/RawDeviceAttributesResult.md b/docs/RawDeviceAttributes.md similarity index 84% rename from docs/RawDeviceAttributesResult.md rename to docs/RawDeviceAttributes.md index d0a39e7c..b49c6d8c 100644 --- a/docs/RawDeviceAttributesResult.md +++ b/docs/RawDeviceAttributes.md @@ -1,9 +1,10 @@ -# RawDeviceAttributesResult +# 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. ## Properties -The rawAttributes object follows this general shape: `{ value: any } | { error: { name: string; message: string; } }` +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/RelatedVisitor.md b/docs/RelatedVisitor.md new file mode 100644 index 00000000..27365db7 --- /dev/null +++ b/docs/RelatedVisitor.md @@ -0,0 +1,9 @@ +# RelatedVisitor + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**visitor_id** | **str** | Visitor ID of a browser that originates from the same mobile device as the input visitor ID. | + +[[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/RemoteControlResult.md b/docs/RemoteControl.md similarity index 94% rename from docs/RemoteControlResult.md rename to docs/RemoteControl.md index 990907a3..7c060afd 100644 --- a/docs/RemoteControlResult.md +++ b/docs/RemoteControl.md @@ -1,4 +1,4 @@ -# RemoteControlResult +# RemoteControl ## Properties Name | Type | Description | Notes diff --git a/docs/ResponseVisits.md b/docs/ResponseVisits.md deleted file mode 100644 index 6e379ba3..00000000 --- a/docs/ResponseVisits.md +++ /dev/null @@ -1,22 +0,0 @@ -# ResponseVisits - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**request_id** | **str** | Unique identifier of the user's identification request. | -**browser_details** | [**BrowserDetails**](BrowserDetails.md) | | -**incognito** | **bool** | Flag if user used incognito session. | -**ip** | **str** | | -**ip_location** | [**DeprecatedIPLocation**](DeprecatedIPLocation.md) | | [optional] -**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. | -**time** | **datetime** | Time expressed according to ISO 8601 in UTC format. | -**url** | **str** | Page URL from which the identification request was sent. | -**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. | -**linked_id** | **str** | A customer-provided id that was sent with identification request. | [optional] -**confidence** | [**Confidence**](Confidence.md) | | [optional] -**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. | -**first_seen_at** | [**SeenAt**](SeenAt.md) | | -**last_seen_at** | [**SeenAt**](SeenAt.md) | | - -[[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/RootAppsResult.md b/docs/RootApps.md similarity index 64% rename from docs/RootAppsResult.md rename to docs/RootApps.md index 9697918e..cc995045 100644 --- a/docs/RootAppsResult.md +++ b/docs/RootApps.md @@ -1,9 +1,9 @@ -# RootAppsResult +# RootApps ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | Android specific root management apps detection. There are 2 values: • `true` - Root Management Apps detected (e.g. Magisk) • `false` - No Root Management Apps detected or the client isn't Android. | +**result** | **bool** | Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. | [[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/SignalResponseDeveloperTools.md b/docs/SignalResponseDeveloperTools.md deleted file mode 100644 index b67eaef8..00000000 --- a/docs/SignalResponseDeveloperTools.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseDeveloperTools - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**DeveloperToolsResult**](DeveloperToolsResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseEmulator.md b/docs/SignalResponseEmulator.md deleted file mode 100644 index 2d16d907..00000000 --- a/docs/SignalResponseEmulator.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseEmulator - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**EmulatorResult**](EmulatorResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseFactoryReset.md b/docs/SignalResponseFactoryReset.md deleted file mode 100644 index 8d346494..00000000 --- a/docs/SignalResponseFactoryReset.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseFactoryReset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**FactoryResetResult**](FactoryResetResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseFrida.md b/docs/SignalResponseFrida.md deleted file mode 100644 index 8198799d..00000000 --- a/docs/SignalResponseFrida.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseFrida - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**FridaResult**](FridaResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseHighActivity.md b/docs/SignalResponseHighActivity.md deleted file mode 100644 index c98d5bbe..00000000 --- a/docs/SignalResponseHighActivity.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseHighActivity - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**HighActivityResult**](HighActivityResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseIncognito.md b/docs/SignalResponseIncognito.md deleted file mode 100644 index b8154f64..00000000 --- a/docs/SignalResponseIncognito.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseIncognito - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**IncognitoResult**](IncognitoResult.md) | | [optional] -**error** | [**IdentificationError**](IdentificationError.md) | | [optional] - -[[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/SignalResponseIpBlocklist.md b/docs/SignalResponseIpBlocklist.md deleted file mode 100644 index 980d4ca4..00000000 --- a/docs/SignalResponseIpBlocklist.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseIpBlocklist - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**IpBlockListResult**](IpBlockListResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseIpInfo.md b/docs/SignalResponseIpInfo.md deleted file mode 100644 index b95b3dbe..00000000 --- a/docs/SignalResponseIpInfo.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseIpInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**IpInfoResult**](IpInfoResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseJailbroken.md b/docs/SignalResponseJailbroken.md deleted file mode 100644 index a9eb1ad4..00000000 --- a/docs/SignalResponseJailbroken.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseJailbroken - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**JailbrokenResult**](JailbrokenResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseLocationSpoofing.md b/docs/SignalResponseLocationSpoofing.md deleted file mode 100644 index 1975c88a..00000000 --- a/docs/SignalResponseLocationSpoofing.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseLocationSpoofing - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**LocationSpoofingResult**](LocationSpoofingResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponsePrivacySettings.md b/docs/SignalResponsePrivacySettings.md deleted file mode 100644 index 44edd21f..00000000 --- a/docs/SignalResponsePrivacySettings.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponsePrivacySettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**PrivacySettingsResult**](PrivacySettingsResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseProxy.md b/docs/SignalResponseProxy.md deleted file mode 100644 index 6a46dbd0..00000000 --- a/docs/SignalResponseProxy.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseProxy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ProxyResult**](ProxyResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseRawDeviceAttributes.md b/docs/SignalResponseRawDeviceAttributes.md deleted file mode 100644 index d3092528..00000000 --- a/docs/SignalResponseRawDeviceAttributes.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseRawDeviceAttributes - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**RawDeviceAttributesResult**](RawDeviceAttributesResult.md) | | [optional] -**error** | [**IdentificationError**](IdentificationError.md) | | [optional] - -[[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/SignalResponseRootApps.md b/docs/SignalResponseRootApps.md deleted file mode 100644 index 6cf77032..00000000 --- a/docs/SignalResponseRootApps.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseRootApps - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**RootAppsResult**](RootAppsResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseSuspectScore.md b/docs/SignalResponseSuspectScore.md deleted file mode 100644 index 8adfe42c..00000000 --- a/docs/SignalResponseSuspectScore.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseSuspectScore - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**SuspectScoreResult**](SuspectScoreResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseTampering.md b/docs/SignalResponseTampering.md deleted file mode 100644 index 3fec7b6c..00000000 --- a/docs/SignalResponseTampering.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseTampering - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**TamperingResult**](TamperingResult.md) | | [optional] -**error** | [**IdentificationError**](IdentificationError.md) | | [optional] - -[[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/SignalResponseTor.md b/docs/SignalResponseTor.md deleted file mode 100644 index bbb84549..00000000 --- a/docs/SignalResponseTor.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseTor - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**TorResult**](TorResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseVelocity.md b/docs/SignalResponseVelocity.md deleted file mode 100644 index c1702ccb..00000000 --- a/docs/SignalResponseVelocity.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseVelocity - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**VelocityResult**](VelocityResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseVirtualMachine.md b/docs/SignalResponseVirtualMachine.md deleted file mode 100644 index 2fac2930..00000000 --- a/docs/SignalResponseVirtualMachine.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseVirtualMachine - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**VirtualMachineResult**](VirtualMachineResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/SignalResponseVpn.md b/docs/SignalResponseVpn.md deleted file mode 100644 index e630148e..00000000 --- a/docs/SignalResponseVpn.md +++ /dev/null @@ -1,10 +0,0 @@ -# SignalResponseVpn - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**VpnResult**](VpnResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] - -[[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/Subdivision.md b/docs/Subdivision.md deleted file mode 100644 index 62b39e8c..00000000 --- a/docs/Subdivision.md +++ /dev/null @@ -1,10 +0,0 @@ -# Subdivision - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**iso_code** | **str** | | [optional] -**name** | **str** | | [optional] - -[[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/SuspectScoreResult.md b/docs/SuspectScore.md similarity index 96% rename from docs/SuspectScoreResult.md rename to docs/SuspectScore.md index 142be54b..089173f9 100644 --- a/docs/SuspectScoreResult.md +++ b/docs/SuspectScore.md @@ -1,4 +1,4 @@ -# SuspectScoreResult +# SuspectScore ## Properties Name | Type | Description | Notes diff --git a/docs/Tag.md b/docs/Tag.md new file mode 100644 index 00000000..75c75c31 --- /dev/null +++ b/docs/Tag.md @@ -0,0 +1,10 @@ +# Tag +A customer-provided value or an object that was sent with identification request. + + +## 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/Tampering.md b/docs/Tampering.md new file mode 100644 index 00000000..688651b4 --- /dev/null +++ b/docs/Tampering.md @@ -0,0 +1,11 @@ +# Tampering + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Flag indicating browser tampering was detected. This happens when either of these conditions is true: * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). * The browser signature resembles one of \"anti-detect\" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). | +**anomaly_score** | **float** | Confidence score (`0.0 - 1.0`) for tampering detection: * Values above `0.5` indicate that there was a tampering attempt. * Values below `0.5` indicate genuine browsers. | +**anti_detect_browser** | **bool** | Is `true` if the identified browser resembles one of \"anti-detect\" browsers, for example, Incognition. Anti-detect browsers try to evade identification by masking or manipulating their fingerprint to imitate legitimate browser configurations. | + +[[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/TamperingResult.md b/docs/TamperingResult.md deleted file mode 100644 index d836cf18..00000000 --- a/docs/TamperingResult.md +++ /dev/null @@ -1,10 +0,0 @@ -# TamperingResult - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**result** | **bool** | Flag indicating whether browser tampering was detected according to our internal thresholds. | -**anomaly_score** | **float** | Confidence score (`0.0 - 1.0`) for the tampering detection. Values above `0.5` suggest that we're reasonably sure there was a tampering attempt. Values below `0.5` are genuine browsers. | - -[[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/TooManyRequestsResponse.md b/docs/TooManyRequestsResponse.md deleted file mode 100644 index 2d19e161..00000000 --- a/docs/TooManyRequestsResponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TooManyRequestsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | **str** | Error text. | - -[[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/TorResult.md b/docs/Tor.md similarity index 96% rename from docs/TorResult.md rename to docs/Tor.md index bfff9a4f..dd4053e8 100644 --- a/docs/TorResult.md +++ b/docs/Tor.md @@ -1,4 +1,4 @@ -# TorResult +# Tor ## Properties Name | Type | Description | Notes diff --git a/docs/VPN.md b/docs/VPN.md new file mode 100644 index 00000000..0b2a789d --- /dev/null +++ b/docs/VPN.md @@ -0,0 +1,13 @@ +# VPN + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | VPN or other anonymizing service has been used when sending the request. | +**confidence** | [**VPNConfidence**](VPNConfidence.md) | | +**origin_timezone** | **str** | Local timezone which is used in timezoneMismatch method. | +**origin_country** | **str** | Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). | +**methods** | [**VPNMethods**](VPNMethods.md) | | + +[[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/ProductsResponseBotd.md b/docs/VPNConfidence.md similarity index 60% rename from docs/ProductsResponseBotd.md rename to docs/VPNConfidence.md index 9c9f86f9..3b16ab7e 100644 --- a/docs/ProductsResponseBotd.md +++ b/docs/VPNConfidence.md @@ -1,10 +1,10 @@ -# ProductsResponseBotd +# 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 ------------ | ------------- | ------------- | ------------- -**data** | [**BotdResult**](BotdResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] [[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/VpnResultMethods.md b/docs/VPNMethods.md similarity index 87% rename from docs/VpnResultMethods.md rename to docs/VPNMethods.md index 287a4c1a..8d5245d9 100644 --- a/docs/VpnResultMethods.md +++ b/docs/VPNMethods.md @@ -1,4 +1,4 @@ -# VpnResultMethods +# VPNMethods ## Properties Name | Type | Description | Notes @@ -6,7 +6,7 @@ Name | Type | Description | Notes **timezone_mismatch** | **bool** | The browser timezone doesn't match the timezone inferred from the request IP address. | **public_vpn** | **bool** | Request IP address is owned and used by a public VPN service provider. | **auxiliary_mobile** | **bool** | This method applies to mobile devices only. Indicates the result of additional methods used to detect a VPN in mobile devices. | -**os_mismatch** | **bool** | The browser runs on a different operating system than the operating system inferred from the request network signature. | +**os_mismatch** | **bool** | The browser runs on a different operating system than the operating system inferred from the request network signature. | [[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/Velocity.md b/docs/Velocity.md new file mode 100644 index 00000000..37e7f7e8 --- /dev/null +++ b/docs/Velocity.md @@ -0,0 +1,17 @@ +# 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. + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**distinct_ip** | [**VelocityData**](VelocityData.md) | | +**distinct_linked_id** | [**VelocityData**](VelocityData.md) | | +**distinct_country** | [**VelocityData**](VelocityData.md) | | +**events** | [**VelocityData**](VelocityData.md) | | +**ip_events** | [**VelocityData**](VelocityData.md) | | +**distinct_ip_by_linked_id** | [**VelocityData**](VelocityData.md) | | +**distinct_visitor_id_by_linked_id** | [**VelocityData**](VelocityData.md) | | + +[[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/VelocityData.md b/docs/VelocityData.md new file mode 100644 index 00000000..4246a3a1 --- /dev/null +++ b/docs/VelocityData.md @@ -0,0 +1,9 @@ +# VelocityData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**intervals** | [**VelocityIntervals**](VelocityIntervals.md) | | [optional] + +[[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/VelocityIntervalResult.md b/docs/VelocityIntervalResult.md deleted file mode 100644 index 93206bbf..00000000 --- a/docs/VelocityIntervalResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# VelocityIntervalResult -Is absent if the velocity data could not be generated for the visitor ID. - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_5m** | **int** | | -**_1h** | **int** | | -**_24h** | **int** | The `24h` interval of `distinctIp`, `distinctLinkedId`, and `distinctCountry` 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. | [optional] - -[[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/VelocityIntervals.md b/docs/VelocityIntervals.md index 6f3f6bb7..66c717cf 100644 --- a/docs/VelocityIntervals.md +++ b/docs/VelocityIntervals.md @@ -1,9 +1,13 @@ # VelocityIntervals +Is absent if the velocity data could not be generated for the visitor ID. + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**intervals** | [**VelocityIntervalResult**](VelocityIntervalResult.md) | | [optional] +**_5m** | **int** | | +**_1h** | **int** | | +**_24h** | **int** | 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. | [optional] [[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/VelocityResult.md b/docs/VelocityResult.md deleted file mode 100644 index fb6e0236..00000000 --- a/docs/VelocityResult.md +++ /dev/null @@ -1,14 +0,0 @@ -# VelocityResult -Sums key data points for a specific `visitorId` at three distinct time intervals: 5 minutes, 1 hour, and 24 hours as follows: - Number of identification events attributed to the visitor ID - Number of distinct IP addresses associated to the visitor ID. - Number of distinct countries associated with the visitor ID. - Number of distinct `linkedId`s associated with the visitor ID. The `24h` interval of `distinctIp`, `distinctLinkedId`, and `distinctCountry` 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 -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**distinct_ip** | [**VelocityIntervals**](VelocityIntervals.md) | | -**distinct_linked_id** | [**VelocityIntervals**](VelocityIntervals.md) | | -**distinct_country** | [**VelocityIntervals**](VelocityIntervals.md) | | -**events** | [**VelocityIntervals**](VelocityIntervals.md) | | - -[[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/VirtualMachineResult.md b/docs/VirtualMachine.md similarity index 94% rename from docs/VirtualMachineResult.md rename to docs/VirtualMachine.md index 12558bc9..cdee06e3 100644 --- a/docs/VirtualMachineResult.md +++ b/docs/VirtualMachine.md @@ -1,4 +1,4 @@ -# VirtualMachineResult +# VirtualMachine ## Properties Name | Type | Description | Notes diff --git a/docs/Visit.md b/docs/Visit.md new file mode 100644 index 00000000..ad7e0a4b --- /dev/null +++ b/docs/Visit.md @@ -0,0 +1,23 @@ +# Visit + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**request_id** | **str** | Unique identifier of the user's request. | +**browser_details** | [**BrowserDetails**](BrowserDetails.md) | | +**incognito** | **bool** | Flag if user used incognito session. | +**ip** | **str** | IP address of the requesting browser or bot. | +**ip_location** | [**DeprecatedGeolocation**](DeprecatedGeolocation.md) | | [optional] +**linked_id** | **str** | A customer-provided id that was sent with the request. | [optional] +**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. | +**time** | **datetime** | Time expressed according to ISO 8601 in UTC format, when the request from the client agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. | +**url** | **str** | Page URL from which the request was sent. | +**tag** | [**Tag**](Tag.md) | | +**confidence** | [**IdentificationConfidence**](IdentificationConfidence.md) | | [optional] +**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. | +**first_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | | +**last_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | | +**components** | [**RawDeviceAttributes**](RawDeviceAttributes.md) | | [optional] + +[[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/Response.md b/docs/VisitorsGetResponse.md similarity index 73% rename from docs/Response.md rename to docs/VisitorsGetResponse.md index dd3e2b96..dc39069f 100644 --- a/docs/Response.md +++ b/docs/VisitorsGetResponse.md @@ -1,12 +1,12 @@ -# Response -Fields `lastTimestamp` and `paginationKey` added when `limit` or `before` parameter provided and there is more data to show +# VisitorsGetResponse +Pagination-related fields `lastTimestamp` and `paginationKey` are included if you use a pagination parameter like `limit` or `before` and there is more data available on the next page. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **visitor_id** | **str** | | -**visits** | [**list[ResponseVisits]**](ResponseVisits.md) | | +**visits** | [**list[Visit]**](Visit.md) | | **last_timestamp** | **int** | ⚠️ Deprecated paging attribute, please use `paginationKey` instead. Timestamp of the last visit in the current page of results. | [optional] **pagination_key** | **str** | Request ID of the last visit in the current page of results. Use this value in the following request as the `paginationKey` parameter to get the next page of results. | [optional] diff --git a/docs/Webhook.md b/docs/Webhook.md new file mode 100644 index 00000000..9de4a3a9 --- /dev/null +++ b/docs/Webhook.md @@ -0,0 +1,48 @@ +# Webhook + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**request_id** | **str** | Unique identifier of the user's request. | +**url** | **str** | Page URL from which the request was sent. | +**ip** | **str** | IP address of the requesting browser or bot. | +**tag** | [**Tag**](Tag.md) | | [optional] +**time** | **datetime** | Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. | +**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. | +**ip_location** | [**DeprecatedGeolocation**](DeprecatedGeolocation.md) | | [optional] +**linked_id** | **str** | A customer-provided id that was sent with the request. | [optional] +**visitor_id** | **str** | String of 20 characters that uniquely identifies the visitor's browser. | [optional] +**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. | [optional] +**confidence** | [**IdentificationConfidence**](IdentificationConfidence.md) | | [optional] +**first_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | | [optional] +**last_seen_at** | [**IdentificationSeenAt**](IdentificationSeenAt.md) | | [optional] +**browser_details** | [**BrowserDetails**](BrowserDetails.md) | | [optional] +**incognito** | **bool** | Flag if user used incognito session. | [optional] +**client_referrer** | **str** | | [optional] +**components** | [**RawDeviceAttributes**](RawDeviceAttributes.md) | | [optional] +**bot** | [**BotdBot**](BotdBot.md) | | [optional] +**user_agent** | **str** | | [optional] +**root_apps** | [**WebhookRootApps**](WebhookRootApps.md) | | [optional] +**emulator** | [**WebhookEmulator**](WebhookEmulator.md) | | [optional] +**ip_info** | [**WebhookIPInfo**](WebhookIPInfo.md) | | [optional] +**ip_blocklist** | [**WebhookIPBlocklist**](WebhookIPBlocklist.md) | | [optional] +**tor** | [**WebhookTor**](WebhookTor.md) | | [optional] +**vpn** | [**WebhookVPN**](WebhookVPN.md) | | [optional] +**proxy** | [**WebhookProxy**](WebhookProxy.md) | | [optional] +**tampering** | [**WebhookTampering**](WebhookTampering.md) | | [optional] +**cloned_app** | [**WebhookClonedApp**](WebhookClonedApp.md) | | [optional] +**factory_reset** | [**WebhookFactoryReset**](WebhookFactoryReset.md) | | [optional] +**jailbroken** | [**WebhookJailbroken**](WebhookJailbroken.md) | | [optional] +**frida** | [**WebhookFrida**](WebhookFrida.md) | | [optional] +**privacy_settings** | [**WebhookPrivacySettings**](WebhookPrivacySettings.md) | | [optional] +**virtual_machine** | [**WebhookVirtualMachine**](WebhookVirtualMachine.md) | | [optional] +**raw_device_attributes** | [**WebhookRawDeviceAttributes**](WebhookRawDeviceAttributes.md) | | [optional] +**high_activity** | [**WebhookHighActivity**](WebhookHighActivity.md) | | [optional] +**location_spoofing** | [**WebhookLocationSpoofing**](WebhookLocationSpoofing.md) | | [optional] +**suspect_score** | [**WebhookSuspectScore**](WebhookSuspectScore.md) | | [optional] +**remote_control** | [**WebhookRemoteControl**](WebhookRemoteControl.md) | | [optional] +**velocity** | [**WebhookVelocity**](WebhookVelocity.md) | | [optional] +**developer_tools** | [**WebhookDeveloperTools**](WebhookDeveloperTools.md) | | [optional] + +[[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/WebhookClonedApp.md b/docs/WebhookClonedApp.md new file mode 100644 index 00000000..ea91a58e --- /dev/null +++ b/docs/WebhookClonedApp.md @@ -0,0 +1,9 @@ +# WebhookClonedApp + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Android specific cloned application detection. There are 2 values: * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). * `false` - No signs of cloned application detected or the client is not Android. | [optional] + +[[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/WebhookDeveloperTools.md b/docs/WebhookDeveloperTools.md new file mode 100644 index 00000000..70cf9e2f --- /dev/null +++ b/docs/WebhookDeveloperTools.md @@ -0,0 +1,9 @@ +# WebhookDeveloperTools + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. | [optional] + +[[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/WebhookEmulator.md b/docs/WebhookEmulator.md new file mode 100644 index 00000000..cde292d4 --- /dev/null +++ b/docs/WebhookEmulator.md @@ -0,0 +1,9 @@ +# WebhookEmulator + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Android specific emulator detection. There are 2 values: * `true` - Emulated environment detected (e.g. launch inside of AVD). * `false` - No signs of emulated environment detected or the client is not Android. | [optional] + +[[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/WebhookFactoryReset.md b/docs/WebhookFactoryReset.md new file mode 100644 index 00000000..b4fcb010 --- /dev/null +++ b/docs/WebhookFactoryReset.md @@ -0,0 +1,10 @@ +# WebhookFactoryReset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**time** | **datetime** | Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. | [optional] +**timestamp** | **int** | This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. | [optional] + +[[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/WebhookFrida.md b/docs/WebhookFrida.md new file mode 100644 index 00000000..5a70b240 --- /dev/null +++ b/docs/WebhookFrida.md @@ -0,0 +1,9 @@ +# WebhookFrida + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: * `true` - Frida detected * `false` - No signs of Frida or the client is not a mobile device. | [optional] + +[[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/WebhookHighActivity.md b/docs/WebhookHighActivity.md new file mode 100644 index 00000000..6b5b5fd3 --- /dev/null +++ b/docs/WebhookHighActivity.md @@ -0,0 +1,10 @@ +# WebhookHighActivity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Flag indicating if the request came from a high-activity visitor. | +**daily_requests** | **int** | Number of requests from the same visitor in the previous day. | [optional] + +[[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/ProductsResponseIdentification.md b/docs/WebhookIPBlocklist.md similarity index 54% rename from docs/ProductsResponseIdentification.md rename to docs/WebhookIPBlocklist.md index ef9012fd..53d0eb8f 100644 --- a/docs/ProductsResponseIdentification.md +++ b/docs/WebhookIPBlocklist.md @@ -1,10 +1,10 @@ -# ProductsResponseIdentification +# WebhookIPBlocklist ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**ProductsResponseIdentificationData**](ProductsResponseIdentificationData.md) | | [optional] -**error** | [**IdentificationError**](IdentificationError.md) | | [optional] +**result** | **bool** | `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. | [optional] +**details** | [**IPBlocklistDetails**](IPBlocklistDetails.md) | | [optional] [[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/SignalResponseClonedApp.md b/docs/WebhookIPInfo.md similarity index 55% rename from docs/SignalResponseClonedApp.md rename to docs/WebhookIPInfo.md index b0dae865..abd8174c 100644 --- a/docs/SignalResponseClonedApp.md +++ b/docs/WebhookIPInfo.md @@ -1,10 +1,12 @@ -# SignalResponseClonedApp +# WebhookIPInfo +Details about the request IP address. Has separate fields for v4 and v6 IP address versions. + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**ClonedAppResult**](ClonedAppResult.md) | | [optional] -**error** | [**ProductError**](ProductError.md) | | [optional] +**v4** | [**IPInfoV4**](IPInfoV4.md) | | [optional] +**v6** | [**IPInfoV6**](IPInfoV6.md) | | [optional] [[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/WebhookJailbroken.md b/docs/WebhookJailbroken.md new file mode 100644 index 00000000..9e375559 --- /dev/null +++ b/docs/WebhookJailbroken.md @@ -0,0 +1,9 @@ +# WebhookJailbroken + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | iOS specific jailbreak detection. There are 2 values: * `true` - Jailbreak detected. * `false` - No signs of jailbreak or the client is not iOS. | [optional] + +[[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/HighActivityResult.md b/docs/WebhookLocationSpoofing.md similarity index 67% rename from docs/HighActivityResult.md rename to docs/WebhookLocationSpoofing.md index a7e7f5fa..b9a1a3d5 100644 --- a/docs/HighActivityResult.md +++ b/docs/WebhookLocationSpoofing.md @@ -1,10 +1,9 @@ -# HighActivityResult +# WebhookLocationSpoofing ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | Flag indicating whether the request came from a high activity visitor. | -**daily_requests** | **float** | Number of requests from the same visitor in the previous day. | [optional] +**result** | **bool** | Flag indicating whether the request came from a mobile device with location spoofing enabled. | [optional] [[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/WebhookPrivacySettings.md b/docs/WebhookPrivacySettings.md new file mode 100644 index 00000000..9c93aef5 --- /dev/null +++ b/docs/WebhookPrivacySettings.md @@ -0,0 +1,9 @@ +# WebhookPrivacySettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | `true` if the request is from a privacy aware browser (e.g. Tor) or from a browser in which fingerprinting is blocked. Otherwise `false`. | [optional] + +[[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/WebhookProxy.md b/docs/WebhookProxy.md new file mode 100644 index 00000000..3db02ac9 --- /dev/null +++ b/docs/WebhookProxy.md @@ -0,0 +1,9 @@ +# WebhookProxy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | `true` if the request IP address is used by a public proxy provider, `false` otherwise. | [optional] + +[[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/WebhookRawDeviceAttributes.md b/docs/WebhookRawDeviceAttributes.md new file mode 100644 index 00000000..b33c06e8 --- /dev/null +++ b/docs/WebhookRawDeviceAttributes.md @@ -0,0 +1,10 @@ +# 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. + + +## 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/WebhookRemoteControl.md b/docs/WebhookRemoteControl.md new file mode 100644 index 00000000..02e77ce0 --- /dev/null +++ b/docs/WebhookRemoteControl.md @@ -0,0 +1,9 @@ +# WebhookRemoteControl + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. | [optional] + +[[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/WebhookRootApps.md b/docs/WebhookRootApps.md new file mode 100644 index 00000000..0d312ee4 --- /dev/null +++ b/docs/WebhookRootApps.md @@ -0,0 +1,9 @@ +# WebhookRootApps + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. | [optional] + +[[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/WebhookSuspectScore.md b/docs/WebhookSuspectScore.md new file mode 100644 index 00000000..578c18cd --- /dev/null +++ b/docs/WebhookSuspectScore.md @@ -0,0 +1,9 @@ +# WebhookSuspectScore + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **int** | Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score | [optional] + +[[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/WebhookTampering.md b/docs/WebhookTampering.md new file mode 100644 index 00000000..548506de --- /dev/null +++ b/docs/WebhookTampering.md @@ -0,0 +1,11 @@ +# WebhookTampering + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | Flag indicating browser tampering was detected. This happens when either of these conditions is true: * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). * The browser signature resembles one of \"anti-detect\" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). | [optional] +**anomaly_score** | **float** | Confidence score (`0.0 - 1.0`) for tampering detection: * Values above `0.5` indicate that there was a tampering attempt * Values below `0.5` indicate genuine browsers. | [optional] +**anti_detect_browser** | **bool** | Is `true` if the identified browser resembles one of \"anti-detect\" browsers, for example, Incognition. Anti-detect browsers try to evade identification by masking or manipulating their fingerprint to imitate legitimate browser configurations. | [optional] + +[[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/WebhookTor.md b/docs/WebhookTor.md new file mode 100644 index 00000000..3862d918 --- /dev/null +++ b/docs/WebhookTor.md @@ -0,0 +1,9 @@ +# WebhookTor + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | `true` if the request IP address is a known tor exit node, `false` otherwise. | [optional] + +[[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/VpnResult.md b/docs/WebhookVPN.md similarity index 61% rename from docs/VpnResult.md rename to docs/WebhookVPN.md index 76a4bd79..d050117f 100644 --- a/docs/VpnResult.md +++ b/docs/WebhookVPN.md @@ -1,13 +1,13 @@ -# VpnResult +# WebhookVPN ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | **bool** | VPN or other anonymizing service has been used when sending the request. | -**origin_timezone** | **str** | Local timezone which is used in timezoneMismatch method. | +**result** | **bool** | VPN or other anonymizing service has been used when sending the request. | [optional] +**confidence** | [**VPNConfidence**](VPNConfidence.md) | | [optional] +**origin_timezone** | **str** | Local timezone which is used in timezoneMismatch method. | [optional] **origin_country** | **str** | Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). | [optional] -**methods** | [**VpnResultMethods**](VpnResultMethods.md) | | -**confidence** | **str** | A confidence rating for the VPN detection result — \"low\", \"medium\", or \"high\". Depends on the combination of results returned from all VPN detection methods. | +**methods** | [**VPNMethods**](VPNMethods.md) | | [optional] [[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/WebhookVelocity.md b/docs/WebhookVelocity.md new file mode 100644 index 00000000..2f01fb59 --- /dev/null +++ b/docs/WebhookVelocity.md @@ -0,0 +1,17 @@ +# 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. + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**distinct_ip** | [**VelocityData**](VelocityData.md) | | [optional] +**distinct_linked_id** | [**VelocityData**](VelocityData.md) | | [optional] +**distinct_country** | [**VelocityData**](VelocityData.md) | | [optional] +**events** | [**VelocityData**](VelocityData.md) | | [optional] +**ip_events** | [**VelocityData**](VelocityData.md) | | [optional] +**distinct_ip_by_linked_id** | [**VelocityData**](VelocityData.md) | | [optional] +**distinct_visitor_id_by_linked_id** | [**VelocityData**](VelocityData.md) | | [optional] + +[[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/WebhookVirtualMachine.md b/docs/WebhookVirtualMachine.md new file mode 100644 index 00000000..3ab8faf2 --- /dev/null +++ b/docs/WebhookVirtualMachine.md @@ -0,0 +1,9 @@ +# WebhookVirtualMachine + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | **bool** | `true` if the request came from a browser running inside a virtual machine (e.g. VMWare), `false` otherwise. | [optional] + +[[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/WebhookVisit.md b/docs/WebhookVisit.md deleted file mode 100644 index 0e443e73..00000000 --- a/docs/WebhookVisit.md +++ /dev/null @@ -1,47 +0,0 @@ -# WebhookVisit - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**visitor_id** | **str** | | -**client_referrer** | **str** | | [optional] -**user_agent** | **str** | | [optional] -**bot** | [**BotdDetectionResult**](BotdDetectionResult.md) | | [optional] -**ip_info** | [**IpInfoResult**](IpInfoResult.md) | | [optional] -**incognito** | **bool** | Flag if user used incognito session. | -**root_apps** | [**RootAppsResult**](RootAppsResult.md) | | [optional] -**emulator** | [**EmulatorResult**](EmulatorResult.md) | | [optional] -**cloned_app** | [**ClonedAppResult**](ClonedAppResult.md) | | [optional] -**factory_reset** | [**FactoryResetResult**](FactoryResetResult.md) | | [optional] -**jailbroken** | [**JailbrokenResult**](JailbrokenResult.md) | | [optional] -**frida** | [**FridaResult**](FridaResult.md) | | [optional] -**ip_blocklist** | [**IpBlockListResult**](IpBlockListResult.md) | | [optional] -**tor** | [**TorResult**](TorResult.md) | | [optional] -**privacy_settings** | [**PrivacySettingsResult**](PrivacySettingsResult.md) | | [optional] -**virtual_machine** | [**VirtualMachineResult**](VirtualMachineResult.md) | | [optional] -**vpn** | [**VpnResult**](VpnResult.md) | | [optional] -**proxy** | [**ProxyResult**](ProxyResult.md) | | [optional] -**tampering** | [**TamperingResult**](TamperingResult.md) | | [optional] -**raw_device_attributes** | [**RawDeviceAttributesResult**](RawDeviceAttributesResult.md) | | [optional] -**high_activity** | [**HighActivityResult**](HighActivityResult.md) | | [optional] -**location_spoofing** | [**LocationSpoofingResult**](LocationSpoofingResult.md) | | [optional] -**suspect_score** | [**SuspectScoreResult**](SuspectScoreResult.md) | | [optional] -**remote_control** | [**RemoteControlResult**](RemoteControlResult.md) | | [optional] -**velocity** | [**VelocityResult**](VelocityResult.md) | | [optional] -**developer_tools** | [**DeveloperToolsResult**](DeveloperToolsResult.md) | | [optional] -**request_id** | **str** | Unique identifier of the user's identification request. | -**browser_details** | [**BrowserDetails**](BrowserDetails.md) | | -**ip** | **str** | | -**ip_location** | [**DeprecatedIPLocation**](DeprecatedIPLocation.md) | | [optional] -**timestamp** | **int** | Timestamp of the event with millisecond precision in Unix time. | -**time** | **datetime** | Time expressed according to ISO 8601 in UTC format. | -**url** | **str** | Page URL from which the identification request was sent. | -**tag** | **dict(str, object)** | A customer-provided value or an object that was sent with identification request. | [optional] -**linked_id** | **str** | A customer-provided id that was sent with identification request. | [optional] -**confidence** | [**Confidence**](Confidence.md) | | [optional] -**visitor_found** | **bool** | Attribute represents if a visitor had been identified before. | -**first_seen_at** | [**SeenAt**](SeenAt.md) | | -**last_seen_at** | [**SeenAt**](SeenAt.md) | | - -[[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/fingerprint_pro_server_api_sdk/__init__.py b/fingerprint_pro_server_api_sdk/__init__.py index d537d3a1..3a1f64d6 100644 --- a/fingerprint_pro_server_api_sdk/__init__.py +++ b/fingerprint_pro_server_api_sdk/__init__.py @@ -20,96 +20,110 @@ # import BaseModel from fingerprint_pro_server_api_sdk.base_model import BaseModel # import models into sdk package -from fingerprint_pro_server_api_sdk.models.asn import ASN -from fingerprint_pro_server_api_sdk.models.botd_detection_result import BotdDetectionResult -from fingerprint_pro_server_api_sdk.models.botd_result import BotdResult +from fingerprint_pro_server_api_sdk.models.botd import Botd +from fingerprint_pro_server_api_sdk.models.botd_bot import BotdBot +from fingerprint_pro_server_api_sdk.models.botd_bot_result import BotdBotResult from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails -from fingerprint_pro_server_api_sdk.models.cloned_app_result import ClonedAppResult -from fingerprint_pro_server_api_sdk.models.common403_error_response import Common403ErrorResponse -from fingerprint_pro_server_api_sdk.models.confidence import Confidence -from fingerprint_pro_server_api_sdk.models.data_center import DataCenter -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location_city import DeprecatedIPLocationCity -from fingerprint_pro_server_api_sdk.models.developer_tools_result import DeveloperToolsResult -from fingerprint_pro_server_api_sdk.models.emulator_result import EmulatorResult -from fingerprint_pro_server_api_sdk.models.error_common403_response import ErrorCommon403Response -from fingerprint_pro_server_api_sdk.models.error_common429_response import ErrorCommon429Response -from fingerprint_pro_server_api_sdk.models.error_common429_response_error import ErrorCommon429ResponseError -from fingerprint_pro_server_api_sdk.models.error_event404_response import ErrorEvent404Response -from fingerprint_pro_server_api_sdk.models.error_event404_response_error import ErrorEvent404ResponseError -from fingerprint_pro_server_api_sdk.models.error_update_event400_response import ErrorUpdateEvent400Response -from fingerprint_pro_server_api_sdk.models.error_update_event400_response_error import ErrorUpdateEvent400ResponseError -from fingerprint_pro_server_api_sdk.models.error_update_event409_response import ErrorUpdateEvent409Response -from fingerprint_pro_server_api_sdk.models.error_update_event409_response_error import ErrorUpdateEvent409ResponseError -from fingerprint_pro_server_api_sdk.models.error_visitor400_response import ErrorVisitor400Response -from fingerprint_pro_server_api_sdk.models.error_visitor400_response_error import ErrorVisitor400ResponseError -from fingerprint_pro_server_api_sdk.models.error_visitor404_response import ErrorVisitor404Response -from fingerprint_pro_server_api_sdk.models.error_visitor404_response_error import ErrorVisitor404ResponseError -from fingerprint_pro_server_api_sdk.models.error_visits403 import ErrorVisits403 -from fingerprint_pro_server_api_sdk.models.event_response import EventResponse -from fingerprint_pro_server_api_sdk.models.event_update_request import EventUpdateRequest -from fingerprint_pro_server_api_sdk.models.factory_reset_result import FactoryResetResult -from fingerprint_pro_server_api_sdk.models.frida_result import FridaResult -from fingerprint_pro_server_api_sdk.models.high_activity_result import HighActivityResult -from fingerprint_pro_server_api_sdk.models.ip_location import IPLocation -from fingerprint_pro_server_api_sdk.models.ip_location_city import IPLocationCity -from fingerprint_pro_server_api_sdk.models.identification_error import IdentificationError -from fingerprint_pro_server_api_sdk.models.incognito_result import IncognitoResult -from fingerprint_pro_server_api_sdk.models.ip_block_list_result import IpBlockListResult -from fingerprint_pro_server_api_sdk.models.ip_block_list_result_details import IpBlockListResultDetails -from fingerprint_pro_server_api_sdk.models.ip_info_result import IpInfoResult -from fingerprint_pro_server_api_sdk.models.ip_info_result_v4 import IpInfoResultV4 -from fingerprint_pro_server_api_sdk.models.ip_info_result_v6 import IpInfoResultV6 -from fingerprint_pro_server_api_sdk.models.jailbroken_result import JailbrokenResult -from fingerprint_pro_server_api_sdk.models.location import Location -from fingerprint_pro_server_api_sdk.models.location_spoofing_result import LocationSpoofingResult -from fingerprint_pro_server_api_sdk.models.privacy_settings_result import PrivacySettingsResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError -from fingerprint_pro_server_api_sdk.models.products_response import ProductsResponse -from fingerprint_pro_server_api_sdk.models.products_response_botd import ProductsResponseBotd -from fingerprint_pro_server_api_sdk.models.products_response_identification import ProductsResponseIdentification -from fingerprint_pro_server_api_sdk.models.products_response_identification_data import ProductsResponseIdentificationData -from fingerprint_pro_server_api_sdk.models.proxy_result import ProxyResult -from fingerprint_pro_server_api_sdk.models.raw_device_attributes_result import RawDeviceAttributesResult -from fingerprint_pro_server_api_sdk.models.remote_control_result import RemoteControlResult -from fingerprint_pro_server_api_sdk.models.response import Response -from fingerprint_pro_server_api_sdk.models.response_visits import ResponseVisits -from fingerprint_pro_server_api_sdk.models.root_apps_result import RootAppsResult -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt -from fingerprint_pro_server_api_sdk.models.signal_response_cloned_app import SignalResponseClonedApp -from fingerprint_pro_server_api_sdk.models.signal_response_developer_tools import SignalResponseDeveloperTools -from fingerprint_pro_server_api_sdk.models.signal_response_emulator import SignalResponseEmulator -from fingerprint_pro_server_api_sdk.models.signal_response_factory_reset import SignalResponseFactoryReset -from fingerprint_pro_server_api_sdk.models.signal_response_frida import SignalResponseFrida -from fingerprint_pro_server_api_sdk.models.signal_response_high_activity import SignalResponseHighActivity -from fingerprint_pro_server_api_sdk.models.signal_response_incognito import SignalResponseIncognito -from fingerprint_pro_server_api_sdk.models.signal_response_ip_blocklist import SignalResponseIpBlocklist -from fingerprint_pro_server_api_sdk.models.signal_response_ip_info import SignalResponseIpInfo -from fingerprint_pro_server_api_sdk.models.signal_response_jailbroken import SignalResponseJailbroken -from fingerprint_pro_server_api_sdk.models.signal_response_location_spoofing import SignalResponseLocationSpoofing -from fingerprint_pro_server_api_sdk.models.signal_response_privacy_settings import SignalResponsePrivacySettings -from fingerprint_pro_server_api_sdk.models.signal_response_proxy import SignalResponseProxy -from fingerprint_pro_server_api_sdk.models.signal_response_raw_device_attributes import SignalResponseRawDeviceAttributes -from fingerprint_pro_server_api_sdk.models.signal_response_remote_control import SignalResponseRemoteControl -from fingerprint_pro_server_api_sdk.models.signal_response_root_apps import SignalResponseRootApps -from fingerprint_pro_server_api_sdk.models.signal_response_suspect_score import SignalResponseSuspectScore -from fingerprint_pro_server_api_sdk.models.signal_response_tampering import SignalResponseTampering -from fingerprint_pro_server_api_sdk.models.signal_response_tor import SignalResponseTor -from fingerprint_pro_server_api_sdk.models.signal_response_velocity import SignalResponseVelocity -from fingerprint_pro_server_api_sdk.models.signal_response_virtual_machine import SignalResponseVirtualMachine -from fingerprint_pro_server_api_sdk.models.signal_response_vpn import SignalResponseVpn -from fingerprint_pro_server_api_sdk.models.subdivision import Subdivision -from fingerprint_pro_server_api_sdk.models.suspect_score_result import SuspectScoreResult -from fingerprint_pro_server_api_sdk.models.tampering_result import TamperingResult -from fingerprint_pro_server_api_sdk.models.too_many_requests_response import TooManyRequestsResponse -from fingerprint_pro_server_api_sdk.models.tor_result import TorResult -from fingerprint_pro_server_api_sdk.models.velocity_interval_result import VelocityIntervalResult +from fingerprint_pro_server_api_sdk.models.cloned_app import ClonedApp +from fingerprint_pro_server_api_sdk.models.deprecated_geolocation import DeprecatedGeolocation +from fingerprint_pro_server_api_sdk.models.developer_tools import DeveloperTools +from fingerprint_pro_server_api_sdk.models.emulator import Emulator +from fingerprint_pro_server_api_sdk.models.error import Error +from fingerprint_pro_server_api_sdk.models.error_code import ErrorCode +from fingerprint_pro_server_api_sdk.models.error_plain_response import ErrorPlainResponse +from fingerprint_pro_server_api_sdk.models.error_response import ErrorResponse +from fingerprint_pro_server_api_sdk.models.events_get_response import EventsGetResponse +from fingerprint_pro_server_api_sdk.models.events_update_request import EventsUpdateRequest +from fingerprint_pro_server_api_sdk.models.factory_reset import FactoryReset +from fingerprint_pro_server_api_sdk.models.frida import Frida +from fingerprint_pro_server_api_sdk.models.geolocation import Geolocation +from fingerprint_pro_server_api_sdk.models.geolocation_city import GeolocationCity +from fingerprint_pro_server_api_sdk.models.geolocation_continent import GeolocationContinent +from fingerprint_pro_server_api_sdk.models.geolocation_country import GeolocationCountry +from fingerprint_pro_server_api_sdk.models.geolocation_subdivision import GeolocationSubdivision +from fingerprint_pro_server_api_sdk.models.geolocation_subdivisions import GeolocationSubdivisions +from fingerprint_pro_server_api_sdk.models.high_activity import HighActivity +from fingerprint_pro_server_api_sdk.models.ip_blocklist import IPBlocklist +from fingerprint_pro_server_api_sdk.models.ip_blocklist_details import IPBlocklistDetails +from fingerprint_pro_server_api_sdk.models.ip_info import IPInfo +from fingerprint_pro_server_api_sdk.models.ip_info_asn import IPInfoASN +from fingerprint_pro_server_api_sdk.models.ip_info_data_center import IPInfoDataCenter +from fingerprint_pro_server_api_sdk.models.ip_info_v4 import IPInfoV4 +from fingerprint_pro_server_api_sdk.models.ip_info_v6 import IPInfoV6 +from fingerprint_pro_server_api_sdk.models.identification import Identification +from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.incognito import Incognito +from fingerprint_pro_server_api_sdk.models.jailbroken import Jailbroken +from fingerprint_pro_server_api_sdk.models.location_spoofing import LocationSpoofing +from fingerprint_pro_server_api_sdk.models.privacy_settings import PrivacySettings +from fingerprint_pro_server_api_sdk.models.product_botd import ProductBotd +from fingerprint_pro_server_api_sdk.models.product_cloned_app import ProductClonedApp +from fingerprint_pro_server_api_sdk.models.product_developer_tools import ProductDeveloperTools +from fingerprint_pro_server_api_sdk.models.product_emulator import ProductEmulator +from fingerprint_pro_server_api_sdk.models.product_factory_reset import ProductFactoryReset +from fingerprint_pro_server_api_sdk.models.product_frida import ProductFrida +from fingerprint_pro_server_api_sdk.models.product_high_activity import ProductHighActivity +from fingerprint_pro_server_api_sdk.models.product_ip_blocklist import ProductIPBlocklist +from fingerprint_pro_server_api_sdk.models.product_ip_info import ProductIPInfo +from fingerprint_pro_server_api_sdk.models.product_identification import ProductIdentification +from fingerprint_pro_server_api_sdk.models.product_incognito import ProductIncognito +from fingerprint_pro_server_api_sdk.models.product_jailbroken import ProductJailbroken +from fingerprint_pro_server_api_sdk.models.product_location_spoofing import ProductLocationSpoofing +from fingerprint_pro_server_api_sdk.models.product_privacy_settings import ProductPrivacySettings +from fingerprint_pro_server_api_sdk.models.product_proxy import ProductProxy +from fingerprint_pro_server_api_sdk.models.product_raw_device_attributes import ProductRawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.product_remote_control import ProductRemoteControl +from fingerprint_pro_server_api_sdk.models.product_root_apps import ProductRootApps +from fingerprint_pro_server_api_sdk.models.product_suspect_score import ProductSuspectScore +from fingerprint_pro_server_api_sdk.models.product_tampering import ProductTampering +from fingerprint_pro_server_api_sdk.models.product_tor import ProductTor +from fingerprint_pro_server_api_sdk.models.product_vpn import ProductVPN +from fingerprint_pro_server_api_sdk.models.product_velocity import ProductVelocity +from fingerprint_pro_server_api_sdk.models.product_virtual_machine import ProductVirtualMachine +from fingerprint_pro_server_api_sdk.models.products import Products +from fingerprint_pro_server_api_sdk.models.proxy import Proxy +from fingerprint_pro_server_api_sdk.models.raw_device_attribute import RawDeviceAttribute +from fingerprint_pro_server_api_sdk.models.raw_device_attribute_error import RawDeviceAttributeError +from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.related_visitor import RelatedVisitor +from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl +from fingerprint_pro_server_api_sdk.models.root_apps import RootApps +from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore +from fingerprint_pro_server_api_sdk.models.tag import Tag +from fingerprint_pro_server_api_sdk.models.tampering import Tampering +from fingerprint_pro_server_api_sdk.models.tor import Tor +from fingerprint_pro_server_api_sdk.models.vpn import VPN +from fingerprint_pro_server_api_sdk.models.vpn_confidence import VPNConfidence +from fingerprint_pro_server_api_sdk.models.vpn_methods import VPNMethods +from fingerprint_pro_server_api_sdk.models.velocity import Velocity +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals -from fingerprint_pro_server_api_sdk.models.velocity_result import VelocityResult -from fingerprint_pro_server_api_sdk.models.virtual_machine_result import VirtualMachineResult -from fingerprint_pro_server_api_sdk.models.vpn_result import VpnResult -from fingerprint_pro_server_api_sdk.models.vpn_result_methods import VpnResultMethods -from fingerprint_pro_server_api_sdk.models.webhook_visit import WebhookVisit +from fingerprint_pro_server_api_sdk.models.virtual_machine import VirtualMachine +from fingerprint_pro_server_api_sdk.models.visit import Visit +from fingerprint_pro_server_api_sdk.models.visitors_get_response import VisitorsGetResponse +from fingerprint_pro_server_api_sdk.models.webhook import Webhook +from fingerprint_pro_server_api_sdk.models.webhook_cloned_app import WebhookClonedApp +from fingerprint_pro_server_api_sdk.models.webhook_developer_tools import WebhookDeveloperTools +from fingerprint_pro_server_api_sdk.models.webhook_emulator import WebhookEmulator +from fingerprint_pro_server_api_sdk.models.webhook_factory_reset import WebhookFactoryReset +from fingerprint_pro_server_api_sdk.models.webhook_frida import WebhookFrida +from fingerprint_pro_server_api_sdk.models.webhook_high_activity import WebhookHighActivity +from fingerprint_pro_server_api_sdk.models.webhook_ip_blocklist import WebhookIPBlocklist +from fingerprint_pro_server_api_sdk.models.webhook_ip_info import WebhookIPInfo +from fingerprint_pro_server_api_sdk.models.webhook_jailbroken import WebhookJailbroken +from fingerprint_pro_server_api_sdk.models.webhook_location_spoofing import WebhookLocationSpoofing +from fingerprint_pro_server_api_sdk.models.webhook_privacy_settings import WebhookPrivacySettings +from fingerprint_pro_server_api_sdk.models.webhook_proxy import WebhookProxy +from fingerprint_pro_server_api_sdk.models.webhook_raw_device_attributes import WebhookRawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.webhook_remote_control import WebhookRemoteControl +from fingerprint_pro_server_api_sdk.models.webhook_root_apps import WebhookRootApps +from fingerprint_pro_server_api_sdk.models.webhook_suspect_score import WebhookSuspectScore +from fingerprint_pro_server_api_sdk.models.webhook_tampering import WebhookTampering +from fingerprint_pro_server_api_sdk.models.webhook_tor import WebhookTor +from fingerprint_pro_server_api_sdk.models.webhook_vpn import WebhookVPN +from fingerprint_pro_server_api_sdk.models.webhook_velocity import WebhookVelocity +from fingerprint_pro_server_api_sdk.models.webhook_virtual_machine import WebhookVirtualMachine # import custom methods into sdk package from fingerprint_pro_server_api_sdk.webhook import Webhook from fingerprint_pro_server_api_sdk.sealed import ApiClientDeserializer, DecryptionAlgorithm, DecryptionKey, \ diff --git a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py index c3ef960f..a6ce9d1f 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -19,18 +19,11 @@ from fingerprint_pro_server_api_sdk.api_client import ApiClient from fingerprint_pro_server_api_sdk.extend_exception import extend_exception from fingerprint_pro_server_api_sdk.rest import ApiException -from fingerprint_pro_server_api_sdk.models.error_common403_response import ErrorCommon403Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_common429_response import ErrorCommon429Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_event404_response import ErrorEvent404Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_update_event400_response import ErrorUpdateEvent400Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_update_event409_response import ErrorUpdateEvent409Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_visitor400_response import ErrorVisitor400Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_visitor404_response import ErrorVisitor404Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.error_visits403 import ErrorVisits403 # noqa: F401 -from fingerprint_pro_server_api_sdk.models.event_response import EventResponse # noqa: F401 -from fingerprint_pro_server_api_sdk.models.event_update_request import EventUpdateRequest # noqa: F401 -from fingerprint_pro_server_api_sdk.models.response import Response # noqa: F401 -from fingerprint_pro_server_api_sdk.models.too_many_requests_response import TooManyRequestsResponse # noqa: F401 +from fingerprint_pro_server_api_sdk.models.error_plain_response import ErrorPlainResponse # noqa: F401 +from fingerprint_pro_server_api_sdk.models.error_response import ErrorResponse # noqa: F401 +from fingerprint_pro_server_api_sdk.models.events_get_response import EventsGetResponse # noqa: F401 +from fingerprint_pro_server_api_sdk.models.events_update_request import EventsUpdateRequest # noqa: F401 +from fingerprint_pro_server_api_sdk.models.visitors_get_response import VisitorsGetResponse # noqa: F401 class FingerprintApi: @@ -55,7 +48,7 @@ def delete_visitor_data(self, visitor_id: str, **kwargs) -> Union[None, AsyncRes >>> result = thread.get() :param async_req bool - :param visitor_id: The [visitor ID](https://dev.fingerprint.com/docs/js-agent#visitorid) you want to delete. (required) + :param visitor_id: The [visitor ID](https://dev.fingerprint.com/reference/get-function#visitorid) you want to delete. (required) :return: None If the method is called asynchronously, returns the request thread. @@ -77,7 +70,7 @@ def delete_visitor_data_with_http_info(self, visitor_id: str, **kwargs): # noqa >>> result = thread.get() :param async_req bool - :param str visitor_id: The [visitor ID](https://dev.fingerprint.com/docs/js-agent#visitorid) you want to delete. (required) + :param str visitor_id: The [visitor ID](https://dev.fingerprint.com/reference/get-function#visitorid) you want to delete. (required) :return: None If the method is called asynchronously, returns the request thread. @@ -142,20 +135,20 @@ def delete_visitor_data_with_http_info(self, visitor_id: str, **kwargs): # noqa collection_formats=collection_formats) except ApiException as e: if e.status == 400: - error = self.api_client.deserialize(e, 'ErrorVisitor400Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 403: - error = self.api_client.deserialize(e, 'ErrorCommon403Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 404: - error = self.api_client.deserialize(e, 'ErrorVisitor404Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 429: - error = self.api_client.deserialize(e, 'ErrorCommon429Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) raise e - def get_event(self, request_id: str, **kwargs) -> Union[EventResponse, AsyncResult[EventResponse]]: # noqa: E501 + def get_event(self, request_id: str, **kwargs) -> Union[EventsGetResponse, AsyncResult[EventsGetResponse]]: # noqa: E501 """Get event by request ID # noqa: E501 Get a detailed analysis of an individual identification event, including Smart Signals. Please note that the response includes mobile signals (e.g. `rootApps`) even if the request originated from a non-mobile platform. It is highly recommended that you **ignore** the mobile signals for such requests. Use `requestId` as the URL path parameter. This API method is scoped to a request, i.e. all returned information is by `requestId`. # noqa: E501 @@ -165,8 +158,8 @@ def get_event(self, request_id: str, **kwargs) -> Union[EventResponse, AsyncResu >>> result = thread.get() :param async_req bool - :param request_id: The unique [identifier](https://dev.fingerprint.com/docs/js-agent#requestid) of each identification request. (required) - :return: EventResponse + :param request_id: The unique [identifier](https://dev.fingerprint.com/reference/get-function#requestid) of each identification request. (required) + :return: EventsGetResponse If the method is called asynchronously, returns the request thread. """ @@ -187,8 +180,8 @@ def get_event_with_http_info(self, request_id: str, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param str request_id: The unique [identifier](https://dev.fingerprint.com/docs/js-agent#requestid) of each identification request. (required) - :return: EventResponse + :param str request_id: The unique [identifier](https://dev.fingerprint.com/reference/get-function#requestid) of each identification request. (required) + :return: EventsGetResponse If the method is called asynchronously, returns the request thread. """ @@ -243,7 +236,7 @@ def get_event_with_http_info(self, request_id: str, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='EventResponse', # noqa: E501 + response_type='EventsGetResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -252,14 +245,14 @@ def get_event_with_http_info(self, request_id: str, **kwargs): # noqa: E501 collection_formats=collection_formats) except ApiException as e: if e.status == 403: - error = self.api_client.deserialize(e, 'ErrorCommon403Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 404: - error = self.api_client.deserialize(e, 'ErrorEvent404Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) raise e - def get_visits(self, visitor_id: str, **kwargs) -> Union[Response, AsyncResult[Response]]: # noqa: E501 + def get_visits(self, visitor_id: str, **kwargs) -> Union[VisitorsGetResponse, AsyncResult[VisitorsGetResponse]]: # noqa: E501 """Get visits by visitor ID # noqa: E501 Get a history of visits (identification events) for a specific `visitorId`. Use the `visitorId` as a URL path parameter. Only information from the _Identification_ product is returned. #### Headers * `Retry-After` — Present in case of `429 Too many requests`. Indicates how long you should wait before making a follow-up request. The value is non-negative decimal integer indicating the seconds to delay after the response is received. # noqa: E501 @@ -269,13 +262,13 @@ def get_visits(self, visitor_id: str, **kwargs) -> Union[Response, AsyncResult[R >>> result = thread.get() :param async_req bool - :param visitor_id: Unique [visitor identifier](https://dev.fingerprint.com/docs/js-agent#visitorid) issued by Fingerprint Pro. (required) - :param request_id: Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/docs/js-agent#requestid). When you filter visits by `requestId`, only one visit will be returned. - :param linked_id: Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/docs/js-agent#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. + :param visitor_id: Unique [visitor identifier](https://dev.fingerprint.com/reference/get-function#visitorid) issued by Fingerprint Pro. (required) + :param request_id: Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/reference/get-function#requestid). When you filter visits by `requestId`, only one visit will be returned. + :param linked_id: Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/reference/get-function#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. :param limit: Limit scanned results. For performance reasons, the API first scans some number of events before filtering them. Use `limit` to specify how many events are scanned before they are filtered by `requestId` or `linkedId`. Results are always returned sorted by the timestamp (most recent first). By default, the most recent 100 visits are scanned, the maximum is 500. :param pagination_key: Use `paginationKey` to get the next page of results. When more results are available (e.g., you requested 200 results using `limit` parameter, but a total of 600 results are available), the `paginationKey` top-level attribute is added to the response. The key corresponds to the `requestId` of the last returned event. In the following request, use that value in the `paginationKey` parameter to get the next page of results: 1. First request, returning most recent 200 events: `GET api-base-url/visitors/:visitorId?limit=200` 2. Use `response.paginationKey` to get the next page of results: `GET api-base-url/visitors/:visitorId?limit=200&paginationKey=1683900801733.Ogvu1j` Pagination happens during scanning and before filtering, so you can get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned. :param before: ⚠️ Deprecated pagination method, please use `paginationKey` instead. Timestamp (in milliseconds since epoch) used to paginate results. - :return: Response + :return: VisitorsGetResponse If the method is called asynchronously, returns the request thread. """ @@ -296,13 +289,13 @@ def get_visits_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param str visitor_id: Unique [visitor identifier](https://dev.fingerprint.com/docs/js-agent#visitorid) issued by Fingerprint Pro. (required) - :param str request_id: Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/docs/js-agent#requestid). When you filter visits by `requestId`, only one visit will be returned. - :param str linked_id: Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/docs/js-agent#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. + :param str visitor_id: Unique [visitor identifier](https://dev.fingerprint.com/reference/get-function#visitorid) issued by Fingerprint Pro. (required) + :param str request_id: Filter visits by `requestId`. Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification [result](https://dev.fingerprint.com/reference/get-function#requestid). When you filter visits by `requestId`, only one visit will be returned. + :param str linked_id: Filter visits by your custom identifier. You can use [`linkedId`](https://dev.fingerprint.com/reference/get-function#linkedid) to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. :param int limit: Limit scanned results. For performance reasons, the API first scans some number of events before filtering them. Use `limit` to specify how many events are scanned before they are filtered by `requestId` or `linkedId`. Results are always returned sorted by the timestamp (most recent first). By default, the most recent 100 visits are scanned, the maximum is 500. :param str pagination_key: Use `paginationKey` to get the next page of results. When more results are available (e.g., you requested 200 results using `limit` parameter, but a total of 600 results are available), the `paginationKey` top-level attribute is added to the response. The key corresponds to the `requestId` of the last returned event. In the following request, use that value in the `paginationKey` parameter to get the next page of results: 1. First request, returning most recent 200 events: `GET api-base-url/visitors/:visitorId?limit=200` 2. Use `response.paginationKey` to get the next page of results: `GET api-base-url/visitors/:visitorId?limit=200&paginationKey=1683900801733.Ogvu1j` Pagination happens during scanning and before filtering, so you can get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned. :param int before: ⚠️ Deprecated pagination method, please use `paginationKey` instead. Timestamp (in milliseconds since epoch) used to paginate results. - :return: Response + :return: VisitorsGetResponse If the method is called asynchronously, returns the request thread. """ @@ -372,7 +365,7 @@ def get_visits_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='Response', # noqa: E501 + response_type='VisitorsGetResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -380,15 +373,18 @@ def get_visits_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) except ApiException as e: + if e.status == 400: + error = self.api_client.deserialize(e, 'ErrorPlainResponse', True) + raise extend_exception(e, error) if e.status == 403: - error = self.api_client.deserialize(e, 'ErrorVisits403', True) + error = self.api_client.deserialize(e, 'ErrorPlainResponse', True) raise extend_exception(e, error) if e.status == 429: - error = self.api_client.deserialize(e, 'TooManyRequestsResponse', True) + error = self.api_client.deserialize(e, 'ErrorPlainResponse', True) raise extend_exception(e, error) raise e - def update_event(self, body: EventUpdateRequest, request_id: str, **kwargs) -> Union[None, AsyncResult[None]]: # noqa: E501 + def update_event(self, body: EventsUpdateRequest, request_id: str, **kwargs) -> Union[None, AsyncResult[None]]: # noqa: E501 """Update an event with a given request ID # noqa: E501 Change information in existing events specified by `requestId` or *flag suspicious events*. When an event is created, it is assigned `linkedId` and `tag` submitted through the JS agent parameters. This information might not be available on the client so the Server API allows for updating the attributes after the fact. **Warning** It's not possible to update events older than 10 days. # noqa: E501 @@ -399,7 +395,7 @@ def update_event(self, body: EventUpdateRequest, request_id: str, **kwargs) -> U :param async_req bool :param body: (required) - :param request_id: The unique event [identifier](https://dev.fingerprint.com/docs/js-agent#requestid). (required) + :param request_id: The unique event [identifier](https://dev.fingerprint.com/reference/get-function#requestid). (required) :return: None If the method is called asynchronously, returns the request thread. @@ -411,7 +407,7 @@ def update_event(self, body: EventUpdateRequest, request_id: str, **kwargs) -> U (data) = self.update_event_with_http_info(body, request_id, **kwargs) # noqa: E501 return data - def update_event_with_http_info(self, body: EventUpdateRequest, request_id: str, **kwargs): # noqa: E501 + def update_event_with_http_info(self, body: EventsUpdateRequest, request_id: str, **kwargs): # noqa: E501 """Update an event with a given request ID # noqa: E501 Change information in existing events specified by `requestId` or *flag suspicious events*. When an event is created, it is assigned `linkedId` and `tag` submitted through the JS agent parameters. This information might not be available on the client so the Server API allows for updating the attributes after the fact. **Warning** It's not possible to update events older than 10 days. # noqa: E501 @@ -421,8 +417,8 @@ def update_event_with_http_info(self, body: EventUpdateRequest, request_id: str, >>> result = thread.get() :param async_req bool - :param EventUpdateRequest body: (required) - :param str request_id: The unique event [identifier](https://dev.fingerprint.com/docs/js-agent#requestid). (required) + :param EventsUpdateRequest body: (required) + :param str request_id: The unique event [identifier](https://dev.fingerprint.com/reference/get-function#requestid). (required) :return: None If the method is called asynchronously, returns the request thread. @@ -497,15 +493,15 @@ def update_event_with_http_info(self, body: EventUpdateRequest, request_id: str, collection_formats=collection_formats) except ApiException as e: if e.status == 400: - error = self.api_client.deserialize(e, 'ErrorUpdateEvent400Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 403: - error = self.api_client.deserialize(e, 'ErrorCommon403Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 404: - error = self.api_client.deserialize(e, 'ErrorEvent404Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) if e.status == 409: - error = self.api_client.deserialize(e, 'ErrorUpdateEvent409Response', True) + error = self.api_client.deserialize(e, 'ErrorResponse', True) raise extend_exception(e, error) raise e diff --git a/fingerprint_pro_server_api_sdk/models/__init__.py b/fingerprint_pro_server_api_sdk/models/__init__.py index 212c1856..6ee7ae28 100644 --- a/fingerprint_pro_server_api_sdk/models/__init__.py +++ b/fingerprint_pro_server_api_sdk/models/__init__.py @@ -12,93 +12,107 @@ """ # import models into model package -from fingerprint_pro_server_api_sdk.models.asn import ASN -from fingerprint_pro_server_api_sdk.models.botd_detection_result import BotdDetectionResult -from fingerprint_pro_server_api_sdk.models.botd_result import BotdResult +from fingerprint_pro_server_api_sdk.models.botd import Botd +from fingerprint_pro_server_api_sdk.models.botd_bot import BotdBot +from fingerprint_pro_server_api_sdk.models.botd_bot_result import BotdBotResult from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails -from fingerprint_pro_server_api_sdk.models.cloned_app_result import ClonedAppResult -from fingerprint_pro_server_api_sdk.models.common403_error_response import Common403ErrorResponse -from fingerprint_pro_server_api_sdk.models.confidence import Confidence -from fingerprint_pro_server_api_sdk.models.data_center import DataCenter -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location_city import DeprecatedIPLocationCity -from fingerprint_pro_server_api_sdk.models.developer_tools_result import DeveloperToolsResult -from fingerprint_pro_server_api_sdk.models.emulator_result import EmulatorResult -from fingerprint_pro_server_api_sdk.models.error_common403_response import ErrorCommon403Response -from fingerprint_pro_server_api_sdk.models.error_common429_response import ErrorCommon429Response -from fingerprint_pro_server_api_sdk.models.error_common429_response_error import ErrorCommon429ResponseError -from fingerprint_pro_server_api_sdk.models.error_event404_response import ErrorEvent404Response -from fingerprint_pro_server_api_sdk.models.error_event404_response_error import ErrorEvent404ResponseError -from fingerprint_pro_server_api_sdk.models.error_update_event400_response import ErrorUpdateEvent400Response -from fingerprint_pro_server_api_sdk.models.error_update_event400_response_error import ErrorUpdateEvent400ResponseError -from fingerprint_pro_server_api_sdk.models.error_update_event409_response import ErrorUpdateEvent409Response -from fingerprint_pro_server_api_sdk.models.error_update_event409_response_error import ErrorUpdateEvent409ResponseError -from fingerprint_pro_server_api_sdk.models.error_visitor400_response import ErrorVisitor400Response -from fingerprint_pro_server_api_sdk.models.error_visitor400_response_error import ErrorVisitor400ResponseError -from fingerprint_pro_server_api_sdk.models.error_visitor404_response import ErrorVisitor404Response -from fingerprint_pro_server_api_sdk.models.error_visitor404_response_error import ErrorVisitor404ResponseError -from fingerprint_pro_server_api_sdk.models.error_visits403 import ErrorVisits403 -from fingerprint_pro_server_api_sdk.models.event_response import EventResponse -from fingerprint_pro_server_api_sdk.models.event_update_request import EventUpdateRequest -from fingerprint_pro_server_api_sdk.models.factory_reset_result import FactoryResetResult -from fingerprint_pro_server_api_sdk.models.frida_result import FridaResult -from fingerprint_pro_server_api_sdk.models.high_activity_result import HighActivityResult -from fingerprint_pro_server_api_sdk.models.ip_location import IPLocation -from fingerprint_pro_server_api_sdk.models.ip_location_city import IPLocationCity -from fingerprint_pro_server_api_sdk.models.identification_error import IdentificationError -from fingerprint_pro_server_api_sdk.models.incognito_result import IncognitoResult -from fingerprint_pro_server_api_sdk.models.ip_block_list_result import IpBlockListResult -from fingerprint_pro_server_api_sdk.models.ip_block_list_result_details import IpBlockListResultDetails -from fingerprint_pro_server_api_sdk.models.ip_info_result import IpInfoResult -from fingerprint_pro_server_api_sdk.models.ip_info_result_v4 import IpInfoResultV4 -from fingerprint_pro_server_api_sdk.models.ip_info_result_v6 import IpInfoResultV6 -from fingerprint_pro_server_api_sdk.models.jailbroken_result import JailbrokenResult -from fingerprint_pro_server_api_sdk.models.location import Location -from fingerprint_pro_server_api_sdk.models.location_spoofing_result import LocationSpoofingResult -from fingerprint_pro_server_api_sdk.models.privacy_settings_result import PrivacySettingsResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError -from fingerprint_pro_server_api_sdk.models.products_response import ProductsResponse -from fingerprint_pro_server_api_sdk.models.products_response_botd import ProductsResponseBotd -from fingerprint_pro_server_api_sdk.models.products_response_identification import ProductsResponseIdentification -from fingerprint_pro_server_api_sdk.models.products_response_identification_data import ProductsResponseIdentificationData -from fingerprint_pro_server_api_sdk.models.proxy_result import ProxyResult -from fingerprint_pro_server_api_sdk.models.raw_device_attributes_result import RawDeviceAttributesResult -from fingerprint_pro_server_api_sdk.models.remote_control_result import RemoteControlResult -from fingerprint_pro_server_api_sdk.models.response import Response -from fingerprint_pro_server_api_sdk.models.response_visits import ResponseVisits -from fingerprint_pro_server_api_sdk.models.root_apps_result import RootAppsResult -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt -from fingerprint_pro_server_api_sdk.models.signal_response_cloned_app import SignalResponseClonedApp -from fingerprint_pro_server_api_sdk.models.signal_response_developer_tools import SignalResponseDeveloperTools -from fingerprint_pro_server_api_sdk.models.signal_response_emulator import SignalResponseEmulator -from fingerprint_pro_server_api_sdk.models.signal_response_factory_reset import SignalResponseFactoryReset -from fingerprint_pro_server_api_sdk.models.signal_response_frida import SignalResponseFrida -from fingerprint_pro_server_api_sdk.models.signal_response_high_activity import SignalResponseHighActivity -from fingerprint_pro_server_api_sdk.models.signal_response_incognito import SignalResponseIncognito -from fingerprint_pro_server_api_sdk.models.signal_response_ip_blocklist import SignalResponseIpBlocklist -from fingerprint_pro_server_api_sdk.models.signal_response_ip_info import SignalResponseIpInfo -from fingerprint_pro_server_api_sdk.models.signal_response_jailbroken import SignalResponseJailbroken -from fingerprint_pro_server_api_sdk.models.signal_response_location_spoofing import SignalResponseLocationSpoofing -from fingerprint_pro_server_api_sdk.models.signal_response_privacy_settings import SignalResponsePrivacySettings -from fingerprint_pro_server_api_sdk.models.signal_response_proxy import SignalResponseProxy -from fingerprint_pro_server_api_sdk.models.signal_response_raw_device_attributes import SignalResponseRawDeviceAttributes -from fingerprint_pro_server_api_sdk.models.signal_response_remote_control import SignalResponseRemoteControl -from fingerprint_pro_server_api_sdk.models.signal_response_root_apps import SignalResponseRootApps -from fingerprint_pro_server_api_sdk.models.signal_response_suspect_score import SignalResponseSuspectScore -from fingerprint_pro_server_api_sdk.models.signal_response_tampering import SignalResponseTampering -from fingerprint_pro_server_api_sdk.models.signal_response_tor import SignalResponseTor -from fingerprint_pro_server_api_sdk.models.signal_response_velocity import SignalResponseVelocity -from fingerprint_pro_server_api_sdk.models.signal_response_virtual_machine import SignalResponseVirtualMachine -from fingerprint_pro_server_api_sdk.models.signal_response_vpn import SignalResponseVpn -from fingerprint_pro_server_api_sdk.models.subdivision import Subdivision -from fingerprint_pro_server_api_sdk.models.suspect_score_result import SuspectScoreResult -from fingerprint_pro_server_api_sdk.models.tampering_result import TamperingResult -from fingerprint_pro_server_api_sdk.models.too_many_requests_response import TooManyRequestsResponse -from fingerprint_pro_server_api_sdk.models.tor_result import TorResult -from fingerprint_pro_server_api_sdk.models.velocity_interval_result import VelocityIntervalResult +from fingerprint_pro_server_api_sdk.models.cloned_app import ClonedApp +from fingerprint_pro_server_api_sdk.models.deprecated_geolocation import DeprecatedGeolocation +from fingerprint_pro_server_api_sdk.models.developer_tools import DeveloperTools +from fingerprint_pro_server_api_sdk.models.emulator import Emulator +from fingerprint_pro_server_api_sdk.models.error import Error +from fingerprint_pro_server_api_sdk.models.error_code import ErrorCode +from fingerprint_pro_server_api_sdk.models.error_plain_response import ErrorPlainResponse +from fingerprint_pro_server_api_sdk.models.error_response import ErrorResponse +from fingerprint_pro_server_api_sdk.models.events_get_response import EventsGetResponse +from fingerprint_pro_server_api_sdk.models.events_update_request import EventsUpdateRequest +from fingerprint_pro_server_api_sdk.models.factory_reset import FactoryReset +from fingerprint_pro_server_api_sdk.models.frida import Frida +from fingerprint_pro_server_api_sdk.models.geolocation import Geolocation +from fingerprint_pro_server_api_sdk.models.geolocation_city import GeolocationCity +from fingerprint_pro_server_api_sdk.models.geolocation_continent import GeolocationContinent +from fingerprint_pro_server_api_sdk.models.geolocation_country import GeolocationCountry +from fingerprint_pro_server_api_sdk.models.geolocation_subdivision import GeolocationSubdivision +from fingerprint_pro_server_api_sdk.models.geolocation_subdivisions import GeolocationSubdivisions +from fingerprint_pro_server_api_sdk.models.high_activity import HighActivity +from fingerprint_pro_server_api_sdk.models.ip_blocklist import IPBlocklist +from fingerprint_pro_server_api_sdk.models.ip_blocklist_details import IPBlocklistDetails +from fingerprint_pro_server_api_sdk.models.ip_info import IPInfo +from fingerprint_pro_server_api_sdk.models.ip_info_asn import IPInfoASN +from fingerprint_pro_server_api_sdk.models.ip_info_data_center import IPInfoDataCenter +from fingerprint_pro_server_api_sdk.models.ip_info_v4 import IPInfoV4 +from fingerprint_pro_server_api_sdk.models.ip_info_v6 import IPInfoV6 +from fingerprint_pro_server_api_sdk.models.identification import Identification +from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.incognito import Incognito +from fingerprint_pro_server_api_sdk.models.jailbroken import Jailbroken +from fingerprint_pro_server_api_sdk.models.location_spoofing import LocationSpoofing +from fingerprint_pro_server_api_sdk.models.privacy_settings import PrivacySettings +from fingerprint_pro_server_api_sdk.models.product_botd import ProductBotd +from fingerprint_pro_server_api_sdk.models.product_cloned_app import ProductClonedApp +from fingerprint_pro_server_api_sdk.models.product_developer_tools import ProductDeveloperTools +from fingerprint_pro_server_api_sdk.models.product_emulator import ProductEmulator +from fingerprint_pro_server_api_sdk.models.product_factory_reset import ProductFactoryReset +from fingerprint_pro_server_api_sdk.models.product_frida import ProductFrida +from fingerprint_pro_server_api_sdk.models.product_high_activity import ProductHighActivity +from fingerprint_pro_server_api_sdk.models.product_ip_blocklist import ProductIPBlocklist +from fingerprint_pro_server_api_sdk.models.product_ip_info import ProductIPInfo +from fingerprint_pro_server_api_sdk.models.product_identification import ProductIdentification +from fingerprint_pro_server_api_sdk.models.product_incognito import ProductIncognito +from fingerprint_pro_server_api_sdk.models.product_jailbroken import ProductJailbroken +from fingerprint_pro_server_api_sdk.models.product_location_spoofing import ProductLocationSpoofing +from fingerprint_pro_server_api_sdk.models.product_privacy_settings import ProductPrivacySettings +from fingerprint_pro_server_api_sdk.models.product_proxy import ProductProxy +from fingerprint_pro_server_api_sdk.models.product_raw_device_attributes import ProductRawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.product_remote_control import ProductRemoteControl +from fingerprint_pro_server_api_sdk.models.product_root_apps import ProductRootApps +from fingerprint_pro_server_api_sdk.models.product_suspect_score import ProductSuspectScore +from fingerprint_pro_server_api_sdk.models.product_tampering import ProductTampering +from fingerprint_pro_server_api_sdk.models.product_tor import ProductTor +from fingerprint_pro_server_api_sdk.models.product_vpn import ProductVPN +from fingerprint_pro_server_api_sdk.models.product_velocity import ProductVelocity +from fingerprint_pro_server_api_sdk.models.product_virtual_machine import ProductVirtualMachine +from fingerprint_pro_server_api_sdk.models.products import Products +from fingerprint_pro_server_api_sdk.models.proxy import Proxy +from fingerprint_pro_server_api_sdk.models.raw_device_attribute import RawDeviceAttribute +from fingerprint_pro_server_api_sdk.models.raw_device_attribute_error import RawDeviceAttributeError +from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.related_visitor import RelatedVisitor +from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl +from fingerprint_pro_server_api_sdk.models.root_apps import RootApps +from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore +from fingerprint_pro_server_api_sdk.models.tag import Tag +from fingerprint_pro_server_api_sdk.models.tampering import Tampering +from fingerprint_pro_server_api_sdk.models.tor import Tor +from fingerprint_pro_server_api_sdk.models.vpn import VPN +from fingerprint_pro_server_api_sdk.models.vpn_confidence import VPNConfidence +from fingerprint_pro_server_api_sdk.models.vpn_methods import VPNMethods +from fingerprint_pro_server_api_sdk.models.velocity import Velocity +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals -from fingerprint_pro_server_api_sdk.models.velocity_result import VelocityResult -from fingerprint_pro_server_api_sdk.models.virtual_machine_result import VirtualMachineResult -from fingerprint_pro_server_api_sdk.models.vpn_result import VpnResult -from fingerprint_pro_server_api_sdk.models.vpn_result_methods import VpnResultMethods -from fingerprint_pro_server_api_sdk.models.webhook_visit import WebhookVisit +from fingerprint_pro_server_api_sdk.models.virtual_machine import VirtualMachine +from fingerprint_pro_server_api_sdk.models.visit import Visit +from fingerprint_pro_server_api_sdk.models.visitors_get_response import VisitorsGetResponse +from fingerprint_pro_server_api_sdk.models.webhook import Webhook +from fingerprint_pro_server_api_sdk.models.webhook_cloned_app import WebhookClonedApp +from fingerprint_pro_server_api_sdk.models.webhook_developer_tools import WebhookDeveloperTools +from fingerprint_pro_server_api_sdk.models.webhook_emulator import WebhookEmulator +from fingerprint_pro_server_api_sdk.models.webhook_factory_reset import WebhookFactoryReset +from fingerprint_pro_server_api_sdk.models.webhook_frida import WebhookFrida +from fingerprint_pro_server_api_sdk.models.webhook_high_activity import WebhookHighActivity +from fingerprint_pro_server_api_sdk.models.webhook_ip_blocklist import WebhookIPBlocklist +from fingerprint_pro_server_api_sdk.models.webhook_ip_info import WebhookIPInfo +from fingerprint_pro_server_api_sdk.models.webhook_jailbroken import WebhookJailbroken +from fingerprint_pro_server_api_sdk.models.webhook_location_spoofing import WebhookLocationSpoofing +from fingerprint_pro_server_api_sdk.models.webhook_privacy_settings import WebhookPrivacySettings +from fingerprint_pro_server_api_sdk.models.webhook_proxy import WebhookProxy +from fingerprint_pro_server_api_sdk.models.webhook_raw_device_attributes import WebhookRawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.webhook_remote_control import WebhookRemoteControl +from fingerprint_pro_server_api_sdk.models.webhook_root_apps import WebhookRootApps +from fingerprint_pro_server_api_sdk.models.webhook_suspect_score import WebhookSuspectScore +from fingerprint_pro_server_api_sdk.models.webhook_tampering import WebhookTampering +from fingerprint_pro_server_api_sdk.models.webhook_tor import WebhookTor +from fingerprint_pro_server_api_sdk.models.webhook_vpn import WebhookVPN +from fingerprint_pro_server_api_sdk.models.webhook_velocity import WebhookVelocity +from fingerprint_pro_server_api_sdk.models.webhook_virtual_machine import WebhookVirtualMachine diff --git a/fingerprint_pro_server_api_sdk/models/botd_result.py b/fingerprint_pro_server_api_sdk/models/botd.py similarity index 58% rename from fingerprint_pro_server_api_sdk/models/botd_result.py rename to fingerprint_pro_server_api_sdk/models/botd.py index 9fead700..0a0080cb 100644 --- a/fingerprint_pro_server_api_sdk/models/botd_result.py +++ b/fingerprint_pro_server_api_sdk/models/botd.py @@ -13,11 +13,12 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.botd_bot import BotdBot +from fingerprint_pro_server_api_sdk.models.tag import Tag from datetime import datetime -from fingerprint_pro_server_api_sdk.models.botd_detection_result import BotdDetectionResult -class BotdResult(BaseModel): +class Botd(BaseModel): """ Contains all the information from Bot Detection product @@ -33,107 +34,127 @@ class BotdResult(BaseModel): and the value is json key in definition. """ swagger_types = { + 'bot': 'BotdBot', + 'meta': 'Tag', + 'linked_id': 'str', + 'url': 'str', 'ip': 'str', 'time': 'datetime', - 'url': 'str', 'user_agent': 'str', - 'request_id': 'str', - 'linked_id': 'str', - 'bot': 'BotdDetectionResult' + 'request_id': 'str' } attribute_map = { + 'bot': 'bot', + 'meta': 'meta', + 'linked_id': 'linkedId', + 'url': 'url', 'ip': 'ip', 'time': 'time', - 'url': 'url', 'user_agent': 'userAgent', - 'request_id': 'requestId', - 'linked_id': 'linkedId', - 'bot': 'bot' + 'request_id': 'requestId' } - def __init__(self, ip=None, time=None, url=None, user_agent=None, request_id=None, linked_id=None, bot=None): # noqa: E501 - """BotdResult - a model defined in Swagger""" # noqa: E501 + def __init__(self, bot=None, meta=None, linked_id=None, url=None, ip=None, time=None, user_agent=None, request_id=None): # noqa: E501 + """Botd - a model defined in Swagger""" # noqa: E501 + self._bot = None + self._meta = None + self._linked_id = None + self._url = None self._ip = None self._time = None - self._url = None self._user_agent = None self._request_id = None - self._linked_id = None - self._bot = None self.discriminator = None + self.bot = bot + if meta is not None: + self.meta = meta + if linked_id is not None: + self.linked_id = linked_id + self.url = url self.ip = ip self.time = time - self.url = url self.user_agent = user_agent self.request_id = request_id - if linked_id is not None: - self.linked_id = linked_id - self.bot = bot @property - def ip(self) -> str: - """Gets the ip of this BotdResult. # noqa: E501 + def bot(self) -> BotdBot: + """Gets the bot of this Botd. # noqa: E501 - IP address of the requesting browser or bot. # noqa: E501 - :return: The ip of this BotdResult. # noqa: E501 + :return: The bot of this Botd. # noqa: E501 """ - return self._ip + return self._bot - @ip.setter - def ip(self, ip: str): - """Sets the ip of this BotdResult. + @bot.setter + def bot(self, bot: BotdBot): + """Sets the bot of this Botd. - IP address of the requesting browser or bot. # noqa: E501 - :param ip: The ip of this BotdResult. # noqa: E501 + :param bot: The bot of this Botd. # noqa: E501 """ - if ip is None: - raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 + if bot is None: + raise ValueError("Invalid value for `bot`, must not be `None`") # noqa: E501 - self._ip = ip + self._bot = bot @property - def time(self) -> datetime: - """Gets the time of this BotdResult. # noqa: E501 + def meta(self) -> Optional[Tag]: + """Gets the meta of this Botd. # noqa: E501 - Time in UTC when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible # noqa: E501 - :return: The time of this BotdResult. # noqa: E501 + :return: The meta of this Botd. # noqa: E501 """ - return self._time + return self._meta - @time.setter - def time(self, time: datetime): - """Sets the time of this BotdResult. + @meta.setter + def meta(self, meta: Optional[Tag]): + """Sets the meta of this Botd. - Time in UTC when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible # noqa: E501 - :param time: The time of this BotdResult. # noqa: E501 + :param meta: The meta of this Botd. # noqa: E501 """ - if time is None: - raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 - self._time = time + self._meta = meta + + @property + def linked_id(self) -> Optional[str]: + """Gets the linked_id of this Botd. # noqa: E501 + + A customer-provided id that was sent with the request. # noqa: E501 + + :return: The linked_id of this Botd. # noqa: E501 + """ + return self._linked_id + + @linked_id.setter + def linked_id(self, linked_id: Optional[str]): + """Sets the linked_id of this Botd. + + A customer-provided id that was sent with the request. # noqa: E501 + + :param linked_id: The linked_id of this Botd. # noqa: E501 + """ + + self._linked_id = linked_id @property def url(self) -> str: - """Gets the url of this BotdResult. # noqa: E501 + """Gets the url of this Botd. # noqa: E501 - Page URL from which identification request was sent. # noqa: E501 + Page URL from which the request was sent. # noqa: E501 - :return: The url of this BotdResult. # noqa: E501 + :return: The url of this Botd. # noqa: E501 """ return self._url @url.setter def url(self, url: str): - """Sets the url of this BotdResult. + """Sets the url of this Botd. - Page URL from which identification request was sent. # noqa: E501 + Page URL from which the request was sent. # noqa: E501 - :param url: The url of this BotdResult. # noqa: E501 + :param url: The url of this Botd. # noqa: E501 """ if url is None: raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 @@ -141,84 +162,92 @@ def url(self, url: str): self._url = url @property - def user_agent(self) -> str: - """Gets the user_agent of this BotdResult. # noqa: E501 + def ip(self) -> str: + """Gets the ip of this Botd. # noqa: E501 + IP address of the requesting browser or bot. # noqa: E501 - :return: The user_agent of this BotdResult. # noqa: E501 + :return: The ip of this Botd. # noqa: E501 """ - return self._user_agent + return self._ip - @user_agent.setter - def user_agent(self, user_agent: str): - """Sets the user_agent of this BotdResult. + @ip.setter + def ip(self, ip: str): + """Sets the ip of this Botd. + IP address of the requesting browser or bot. # noqa: E501 - :param user_agent: The user_agent of this BotdResult. # noqa: E501 + :param ip: The ip of this Botd. # noqa: E501 """ - if user_agent is None: - raise ValueError("Invalid value for `user_agent`, must not be `None`") # noqa: E501 + if ip is None: + raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 - self._user_agent = user_agent + self._ip = ip @property - def request_id(self) -> str: - """Gets the request_id of this BotdResult. # noqa: E501 + def time(self) -> datetime: + """Gets the time of this Botd. # noqa: E501 + Time in UTC when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 - :return: The request_id of this BotdResult. # noqa: E501 + :return: The time of this Botd. # noqa: E501 """ - return self._request_id + return self._time - @request_id.setter - def request_id(self, request_id: str): - """Sets the request_id of this BotdResult. + @time.setter + def time(self, time: datetime): + """Sets the time of this Botd. + Time in UTC when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 - :param request_id: The request_id of this BotdResult. # noqa: E501 + :param time: The time of this Botd. # noqa: E501 """ - if request_id is None: - raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 + if time is None: + raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 - self._request_id = request_id + self._time = time @property - def linked_id(self) -> Optional[str]: - """Gets the linked_id of this BotdResult. # noqa: E501 + def user_agent(self) -> str: + """Gets the user_agent of this Botd. # noqa: E501 - :return: The linked_id of this BotdResult. # noqa: E501 + :return: The user_agent of this Botd. # noqa: E501 """ - return self._linked_id + return self._user_agent - @linked_id.setter - def linked_id(self, linked_id: Optional[str]): - """Sets the linked_id of this BotdResult. + @user_agent.setter + def user_agent(self, user_agent: str): + """Sets the user_agent of this Botd. - :param linked_id: The linked_id of this BotdResult. # noqa: E501 + :param user_agent: The user_agent of this Botd. # noqa: E501 """ + if user_agent is None: + raise ValueError("Invalid value for `user_agent`, must not be `None`") # noqa: E501 - self._linked_id = linked_id + self._user_agent = user_agent @property - def bot(self) -> BotdDetectionResult: - """Gets the bot of this BotdResult. # noqa: E501 + def request_id(self) -> str: + """Gets the request_id of this Botd. # noqa: E501 + Unique identifier of the user's request. # noqa: E501 - :return: The bot of this BotdResult. # noqa: E501 + :return: The request_id of this Botd. # noqa: E501 """ - return self._bot + return self._request_id - @bot.setter - def bot(self, bot: BotdDetectionResult): - """Sets the bot of this BotdResult. + @request_id.setter + def request_id(self, request_id: str): + """Sets the request_id of this Botd. + Unique identifier of the user's request. # noqa: E501 - :param bot: The bot of this BotdResult. # noqa: E501 + :param request_id: The request_id of this Botd. # noqa: E501 """ - if bot is None: - raise ValueError("Invalid value for `bot`, must not be `None`") # noqa: E501 + if request_id is None: + raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 - self._bot = bot + self._request_id = request_id diff --git a/fingerprint_pro_server_api_sdk/models/botd_detection_result.py b/fingerprint_pro_server_api_sdk/models/botd_bot.py similarity index 55% rename from fingerprint_pro_server_api_sdk/models/botd_detection_result.py rename to fingerprint_pro_server_api_sdk/models/botd_bot.py index 0124d5eb..1b97d25d 100644 --- a/fingerprint_pro_server_api_sdk/models/botd_detection_result.py +++ b/fingerprint_pro_server_api_sdk/models/botd_bot.py @@ -13,9 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.botd_bot_result import BotdBotResult -class BotdDetectionResult(BaseModel): +class BotdBot(BaseModel): """ Stores bot detection result @@ -31,7 +32,7 @@ class BotdDetectionResult(BaseModel): and the value is json key in definition. """ swagger_types = { - 'result': 'str', + 'result': 'BotdBotResult', 'type': 'str' } @@ -41,7 +42,7 @@ class BotdDetectionResult(BaseModel): } def __init__(self, result=None, type=None): # noqa: E501 - """BotdDetectionResult - a model defined in Swagger""" # noqa: E501 + """BotdBot - a model defined in Swagger""" # noqa: E501 self._result = None self._type = None self.discriminator = None @@ -50,49 +51,41 @@ def __init__(self, result=None, type=None): # noqa: E501 self.type = type @property - def result(self) -> str: - """Gets the result of this BotdDetectionResult. # noqa: E501 + def result(self) -> BotdBotResult: + """Gets the result of this BotdBot. # noqa: E501 - 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 # noqa: E501 - :return: The result of this BotdDetectionResult. # noqa: E501 + :return: The result of this BotdBot. # noqa: E501 """ return self._result @result.setter - def result(self, result: str): - """Sets the result of this BotdDetectionResult. + def result(self, result: BotdBotResult): + """Sets the result of this BotdBot. - 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 # noqa: E501 - :param result: The result of this BotdDetectionResult. # noqa: E501 + :param result: The result of this BotdBot. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 - allowed_values = ["notDetected", "good", "bad"] # noqa: E501 - if (result not in allowed_values): - raise ValueError( - "Invalid value for `result` ({0}), must be one of {1}" # noqa: E501 - .format(result, allowed_values) - ) self._result = result @property def type(self) -> Optional[str]: - """Gets the type of this BotdDetectionResult. # noqa: E501 + """Gets the type of this BotdBot. # noqa: E501 - :return: The type of this BotdDetectionResult. # noqa: E501 + :return: The type of this BotdBot. # noqa: E501 """ return self._type @type.setter def type(self, type: Optional[str]): - """Sets the type of this BotdDetectionResult. + """Sets the type of this BotdBot. - :param type: The type of this BotdDetectionResult. # noqa: E501 + :param type: The type of this BotdBot. # noqa: E501 """ self._type = type diff --git a/fingerprint_pro_server_api_sdk/models/botd_bot_result.py b/fingerprint_pro_server_api_sdk/models/botd_bot_result.py new file mode 100644 index 00000000..5a6c3fa4 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/botd_bot_result.py @@ -0,0 +1,49 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class BotdBotResult(BaseModel): + """ + 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 + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NOTDETECTED = "notDetected" + GOOD = "good" + BAD = "bad" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """BotdBotResult - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + diff --git a/fingerprint_pro_server_api_sdk/models/browser_details.py b/fingerprint_pro_server_api_sdk/models/browser_details.py index 983891d9..0acb32b8 100644 --- a/fingerprint_pro_server_api_sdk/models/browser_details.py +++ b/fingerprint_pro_server_api_sdk/models/browser_details.py @@ -34,8 +34,7 @@ class BrowserDetails(BaseModel): 'os': 'str', 'os_version': 'str', 'device': 'str', - 'user_agent': 'str', - 'bot_probability': 'int' + 'user_agent': 'str' } attribute_map = { @@ -45,11 +44,10 @@ class BrowserDetails(BaseModel): 'os': 'os', 'os_version': 'osVersion', 'device': 'device', - 'user_agent': 'userAgent', - 'bot_probability': 'botProbability' + 'user_agent': 'userAgent' } - def __init__(self, browser_name=None, browser_major_version=None, browser_full_version=None, os=None, os_version=None, device=None, user_agent=None, bot_probability=None): # noqa: E501 + def __init__(self, browser_name=None, browser_major_version=None, browser_full_version=None, os=None, os_version=None, device=None, user_agent=None): # noqa: E501 """BrowserDetails - a model defined in Swagger""" # noqa: E501 self._browser_name = None self._browser_major_version = None @@ -58,7 +56,6 @@ def __init__(self, browser_name=None, browser_major_version=None, browser_full_v self._os_version = None self._device = None self._user_agent = None - self._bot_probability = None self.discriminator = None self.browser_name = browser_name self.browser_major_version = browser_major_version @@ -67,8 +64,6 @@ def __init__(self, browser_name=None, browser_major_version=None, browser_full_v self.os_version = os_version self.device = device self.user_agent = user_agent - if bot_probability is not None: - self.bot_probability = bot_probability @property def browser_name(self) -> str: @@ -217,22 +212,3 @@ def user_agent(self, user_agent: str): self._user_agent = user_agent - @property - def bot_probability(self) -> Optional[int]: - """Gets the bot_probability of this BrowserDetails. # noqa: E501 - - - :return: The bot_probability of this BrowserDetails. # noqa: E501 - """ - return self._bot_probability - - @bot_probability.setter - def bot_probability(self, bot_probability: Optional[int]): - """Sets the bot_probability of this BrowserDetails. - - - :param bot_probability: The bot_probability of this BrowserDetails. # noqa: E501 - """ - - self._bot_probability = bot_probability - diff --git a/fingerprint_pro_server_api_sdk/models/cloned_app_result.py b/fingerprint_pro_server_api_sdk/models/cloned_app.py similarity index 66% rename from fingerprint_pro_server_api_sdk/models/cloned_app_result.py rename to fingerprint_pro_server_api_sdk/models/cloned_app.py index 7300a893..44750f20 100644 --- a/fingerprint_pro_server_api_sdk/models/cloned_app_result.py +++ b/fingerprint_pro_server_api_sdk/models/cloned_app.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class ClonedAppResult(BaseModel): +class ClonedApp(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class ClonedAppResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """ClonedAppResult - a model defined in Swagger""" # noqa: E501 + """ClonedApp - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this ClonedAppResult. # noqa: E501 + """Gets the result of this ClonedApp. # noqa: E501 - Android specific cloned application detection. There are 2 values: • `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). • `false` - No signs of cloned application detected or the client is not Android. # noqa: E501 + Android specific cloned application detection. There are 2 values: * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). * `false` - No signs of cloned application detected or the client is not Android. # noqa: E501 - :return: The result of this ClonedAppResult. # noqa: E501 + :return: The result of this ClonedApp. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this ClonedAppResult. + """Sets the result of this ClonedApp. - Android specific cloned application detection. There are 2 values: • `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). • `false` - No signs of cloned application detected or the client is not Android. # noqa: E501 + Android specific cloned application detection. There are 2 values: * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). * `false` - No signs of cloned application detected or the client is not Android. # noqa: E501 - :param result: The result of this ClonedAppResult. # noqa: E501 + :param result: The result of this ClonedApp. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/common403_error_response.py b/fingerprint_pro_server_api_sdk/models/common403_error_response.py deleted file mode 100644 index 3e38dadb..00000000 --- a/fingerprint_pro_server_api_sdk/models/common403_error_response.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class Common403ErrorResponse(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """Common403ErrorResponse - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this Common403ErrorResponse. # noqa: E501 - - Error code: * `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 # noqa: E501 - - :return: The code of this Common403ErrorResponse. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this Common403ErrorResponse. - - Error code: * `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 # noqa: E501 - - :param code: The code of this Common403ErrorResponse. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["TokenRequired", "TokenNotFound", "SubscriptionNotActive", "WrongRegion", "FeatureNotEnabled"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this Common403ErrorResponse. # noqa: E501 - - - :return: The message of this Common403ErrorResponse. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this Common403ErrorResponse. - - - :param message: The message of this Common403ErrorResponse. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/deprecated_ip_location.py b/fingerprint_pro_server_api_sdk/models/deprecated_geolocation.py similarity index 57% rename from fingerprint_pro_server_api_sdk/models/deprecated_ip_location.py rename to fingerprint_pro_server_api_sdk/models/deprecated_geolocation.py index a9cbec28..f786fbb8 100644 --- a/fingerprint_pro_server_api_sdk/models/deprecated_ip_location.py +++ b/fingerprint_pro_server_api_sdk/models/deprecated_geolocation.py @@ -13,15 +13,15 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location_city import DeprecatedIPLocationCity -from fingerprint_pro_server_api_sdk.models.location import Location -from fingerprint_pro_server_api_sdk.models.location import Location -from fingerprint_pro_server_api_sdk.models.subdivision import Subdivision +from fingerprint_pro_server_api_sdk.models.geolocation_city import GeolocationCity +from fingerprint_pro_server_api_sdk.models.geolocation_country import GeolocationCountry +from fingerprint_pro_server_api_sdk.models.geolocation_continent import GeolocationContinent +from fingerprint_pro_server_api_sdk.models.geolocation_subdivisions import GeolocationSubdivisions -class DeprecatedIPLocation(BaseModel): +class DeprecatedGeolocation(BaseModel): """ - 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. + 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. NOTE: This class is auto generated by the swagger code generator program. @@ -40,10 +40,10 @@ class DeprecatedIPLocation(BaseModel): 'longitude': 'float', 'postal_code': 'str', 'timezone': 'str', - 'city': 'DeprecatedIPLocationCity', - 'country': 'Location', - 'continent': 'Location', - 'subdivisions': 'list[Subdivision]' + 'city': 'GeolocationCity', + 'country': 'GeolocationCountry', + 'continent': 'GeolocationContinent', + 'subdivisions': 'GeolocationSubdivisions' } attribute_map = { @@ -59,7 +59,7 @@ class DeprecatedIPLocation(BaseModel): } def __init__(self, accuracy_radius=None, latitude=None, longitude=None, postal_code=None, timezone=None, city=None, country=None, continent=None, subdivisions=None): # noqa: E501 - """DeprecatedIPLocation - a model defined in Swagger""" # noqa: E501 + """DeprecatedGeolocation - a model defined in Swagger""" # noqa: E501 self._accuracy_radius = None self._latitude = None self._longitude = None @@ -91,173 +91,173 @@ def __init__(self, accuracy_radius=None, latitude=None, longitude=None, postal_c @property def accuracy_radius(self) -> Optional[int]: - """Gets the accuracy_radius of this DeprecatedIPLocation. # noqa: E501 + """Gets the accuracy_radius of this DeprecatedGeolocation. # noqa: E501 The IP address is likely to be within this radius (in km) of the specified location. # noqa: E501 - :return: The accuracy_radius of this DeprecatedIPLocation. # noqa: E501 + :return: The accuracy_radius of this DeprecatedGeolocation. # noqa: E501 """ return self._accuracy_radius @accuracy_radius.setter def accuracy_radius(self, accuracy_radius: Optional[int]): - """Sets the accuracy_radius of this DeprecatedIPLocation. + """Sets the accuracy_radius of this DeprecatedGeolocation. The IP address is likely to be within this radius (in km) of the specified location. # noqa: E501 - :param accuracy_radius: The accuracy_radius of this DeprecatedIPLocation. # noqa: E501 + :param accuracy_radius: The accuracy_radius of this DeprecatedGeolocation. # noqa: E501 """ self._accuracy_radius = accuracy_radius @property def latitude(self) -> Optional[float]: - """Gets the latitude of this DeprecatedIPLocation. # noqa: E501 + """Gets the latitude of this DeprecatedGeolocation. # noqa: E501 - :return: The latitude of this DeprecatedIPLocation. # noqa: E501 + :return: The latitude of this DeprecatedGeolocation. # noqa: E501 """ return self._latitude @latitude.setter def latitude(self, latitude: Optional[float]): - """Sets the latitude of this DeprecatedIPLocation. + """Sets the latitude of this DeprecatedGeolocation. - :param latitude: The latitude of this DeprecatedIPLocation. # noqa: E501 + :param latitude: The latitude of this DeprecatedGeolocation. # noqa: E501 """ self._latitude = latitude @property def longitude(self) -> Optional[float]: - """Gets the longitude of this DeprecatedIPLocation. # noqa: E501 + """Gets the longitude of this DeprecatedGeolocation. # noqa: E501 - :return: The longitude of this DeprecatedIPLocation. # noqa: E501 + :return: The longitude of this DeprecatedGeolocation. # noqa: E501 """ return self._longitude @longitude.setter def longitude(self, longitude: Optional[float]): - """Sets the longitude of this DeprecatedIPLocation. + """Sets the longitude of this DeprecatedGeolocation. - :param longitude: The longitude of this DeprecatedIPLocation. # noqa: E501 + :param longitude: The longitude of this DeprecatedGeolocation. # noqa: E501 """ self._longitude = longitude @property def postal_code(self) -> Optional[str]: - """Gets the postal_code of this DeprecatedIPLocation. # noqa: E501 + """Gets the postal_code of this DeprecatedGeolocation. # noqa: E501 - :return: The postal_code of this DeprecatedIPLocation. # noqa: E501 + :return: The postal_code of this DeprecatedGeolocation. # noqa: E501 """ return self._postal_code @postal_code.setter def postal_code(self, postal_code: Optional[str]): - """Sets the postal_code of this DeprecatedIPLocation. + """Sets the postal_code of this DeprecatedGeolocation. - :param postal_code: The postal_code of this DeprecatedIPLocation. # noqa: E501 + :param postal_code: The postal_code of this DeprecatedGeolocation. # noqa: E501 """ self._postal_code = postal_code @property def timezone(self) -> Optional[str]: - """Gets the timezone of this DeprecatedIPLocation. # noqa: E501 + """Gets the timezone of this DeprecatedGeolocation. # noqa: E501 - :return: The timezone of this DeprecatedIPLocation. # noqa: E501 + :return: The timezone of this DeprecatedGeolocation. # noqa: E501 """ return self._timezone @timezone.setter def timezone(self, timezone: Optional[str]): - """Sets the timezone of this DeprecatedIPLocation. + """Sets the timezone of this DeprecatedGeolocation. - :param timezone: The timezone of this DeprecatedIPLocation. # noqa: E501 + :param timezone: The timezone of this DeprecatedGeolocation. # noqa: E501 """ self._timezone = timezone @property - def city(self) -> Optional[DeprecatedIPLocationCity]: - """Gets the city of this DeprecatedIPLocation. # noqa: E501 + def city(self) -> Optional[GeolocationCity]: + """Gets the city of this DeprecatedGeolocation. # noqa: E501 - :return: The city of this DeprecatedIPLocation. # noqa: E501 + :return: The city of this DeprecatedGeolocation. # noqa: E501 """ return self._city @city.setter - def city(self, city: Optional[DeprecatedIPLocationCity]): - """Sets the city of this DeprecatedIPLocation. + def city(self, city: Optional[GeolocationCity]): + """Sets the city of this DeprecatedGeolocation. - :param city: The city of this DeprecatedIPLocation. # noqa: E501 + :param city: The city of this DeprecatedGeolocation. # noqa: E501 """ self._city = city @property - def country(self) -> Optional[Location]: - """Gets the country of this DeprecatedIPLocation. # noqa: E501 + def country(self) -> Optional[GeolocationCountry]: + """Gets the country of this DeprecatedGeolocation. # noqa: E501 - :return: The country of this DeprecatedIPLocation. # noqa: E501 + :return: The country of this DeprecatedGeolocation. # noqa: E501 """ return self._country @country.setter - def country(self, country: Optional[Location]): - """Sets the country of this DeprecatedIPLocation. + def country(self, country: Optional[GeolocationCountry]): + """Sets the country of this DeprecatedGeolocation. - :param country: The country of this DeprecatedIPLocation. # noqa: E501 + :param country: The country of this DeprecatedGeolocation. # noqa: E501 """ self._country = country @property - def continent(self) -> Optional[Location]: - """Gets the continent of this DeprecatedIPLocation. # noqa: E501 + def continent(self) -> Optional[GeolocationContinent]: + """Gets the continent of this DeprecatedGeolocation. # noqa: E501 - :return: The continent of this DeprecatedIPLocation. # noqa: E501 + :return: The continent of this DeprecatedGeolocation. # noqa: E501 """ return self._continent @continent.setter - def continent(self, continent: Optional[Location]): - """Sets the continent of this DeprecatedIPLocation. + def continent(self, continent: Optional[GeolocationContinent]): + """Sets the continent of this DeprecatedGeolocation. - :param continent: The continent of this DeprecatedIPLocation. # noqa: E501 + :param continent: The continent of this DeprecatedGeolocation. # noqa: E501 """ self._continent = continent @property - def subdivisions(self) -> Optional[List[Subdivision]]: - """Gets the subdivisions of this DeprecatedIPLocation. # noqa: E501 + def subdivisions(self) -> Optional[GeolocationSubdivisions]: + """Gets the subdivisions of this DeprecatedGeolocation. # noqa: E501 - :return: The subdivisions of this DeprecatedIPLocation. # noqa: E501 + :return: The subdivisions of this DeprecatedGeolocation. # noqa: E501 """ return self._subdivisions @subdivisions.setter - def subdivisions(self, subdivisions: Optional[List[Subdivision]]): - """Sets the subdivisions of this DeprecatedIPLocation. + def subdivisions(self, subdivisions: Optional[GeolocationSubdivisions]): + """Sets the subdivisions of this DeprecatedGeolocation. - :param subdivisions: The subdivisions of this DeprecatedIPLocation. # noqa: E501 + :param subdivisions: The subdivisions of this DeprecatedGeolocation. # noqa: E501 """ self._subdivisions = subdivisions diff --git a/fingerprint_pro_server_api_sdk/models/developer_tools_result.py b/fingerprint_pro_server_api_sdk/models/developer_tools.py similarity index 83% rename from fingerprint_pro_server_api_sdk/models/developer_tools_result.py rename to fingerprint_pro_server_api_sdk/models/developer_tools.py index 61e24715..43a2e9e9 100644 --- a/fingerprint_pro_server_api_sdk/models/developer_tools_result.py +++ b/fingerprint_pro_server_api_sdk/models/developer_tools.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class DeveloperToolsResult(BaseModel): +class DeveloperTools(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class DeveloperToolsResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """DeveloperToolsResult - a model defined in Swagger""" # noqa: E501 + """DeveloperTools - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this DeveloperToolsResult. # noqa: E501 + """Gets the result of this DeveloperTools. # noqa: E501 `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. # noqa: E501 - :return: The result of this DeveloperToolsResult. # noqa: E501 + :return: The result of this DeveloperTools. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this DeveloperToolsResult. + """Sets the result of this DeveloperTools. `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. # noqa: E501 - :param result: The result of this DeveloperToolsResult. # noqa: E501 + :param result: The result of this DeveloperTools. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/emulator_result.py b/fingerprint_pro_server_api_sdk/models/emulator.py similarity index 71% rename from fingerprint_pro_server_api_sdk/models/emulator_result.py rename to fingerprint_pro_server_api_sdk/models/emulator.py index b86ad93b..2690502a 100644 --- a/fingerprint_pro_server_api_sdk/models/emulator_result.py +++ b/fingerprint_pro_server_api_sdk/models/emulator.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class EmulatorResult(BaseModel): +class Emulator(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class EmulatorResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """EmulatorResult - a model defined in Swagger""" # noqa: E501 + """Emulator - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this EmulatorResult. # noqa: E501 + """Gets the result of this Emulator. # noqa: E501 - Android specific emulator detection. There are 2 values: • `true` - Emulated environment detected (e.g. launch inside of AVD) • `false` - No signs of emulated environment detected or the client is not Android. # noqa: E501 + Android specific emulator detection. There are 2 values: * `true` - Emulated environment detected (e.g. launch inside of AVD). * `false` - No signs of emulated environment detected or the client is not Android. # noqa: E501 - :return: The result of this EmulatorResult. # noqa: E501 + :return: The result of this Emulator. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this EmulatorResult. + """Sets the result of this Emulator. - Android specific emulator detection. There are 2 values: • `true` - Emulated environment detected (e.g. launch inside of AVD) • `false` - No signs of emulated environment detected or the client is not Android. # noqa: E501 + Android specific emulator detection. There are 2 values: * `true` - Emulated environment detected (e.g. launch inside of AVD). * `false` - No signs of emulated environment detected or the client is not Android. # noqa: E501 - :param result: The result of this EmulatorResult. # noqa: E501 + :param result: The result of this Emulator. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/error_common429_response_error.py b/fingerprint_pro_server_api_sdk/models/error.py similarity index 61% rename from fingerprint_pro_server_api_sdk/models/error_common429_response_error.py rename to fingerprint_pro_server_api_sdk/models/error.py index 1ffe88ea..033f5090 100644 --- a/fingerprint_pro_server_api_sdk/models/error_common429_response_error.py +++ b/fingerprint_pro_server_api_sdk/models/error.py @@ -13,9 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.error_code import ErrorCode -class ErrorCommon429ResponseError(BaseModel): +class Error(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -28,7 +29,7 @@ class ErrorCommon429ResponseError(BaseModel): and the value is json key in definition. """ swagger_types = { - 'code': 'str', + 'code': 'ErrorCode', 'message': 'str' } @@ -38,7 +39,7 @@ class ErrorCommon429ResponseError(BaseModel): } def __init__(self, code=None, message=None): # noqa: E501 - """ErrorCommon429ResponseError - a model defined in Swagger""" # noqa: E501 + """Error - a model defined in Swagger""" # noqa: E501 self._code = None self._message = None self.discriminator = None @@ -46,49 +47,41 @@ def __init__(self, code=None, message=None): # noqa: E501 self.message = message @property - def code(self) -> str: - """Gets the code of this ErrorCommon429ResponseError. # noqa: E501 + def code(self) -> ErrorCode: + """Gets the code of this Error. # noqa: E501 - Error code: * `TooManyRequests` - The request is throttled. # noqa: E501 - :return: The code of this ErrorCommon429ResponseError. # noqa: E501 + :return: The code of this Error. # noqa: E501 """ return self._code @code.setter - def code(self, code: str): - """Sets the code of this ErrorCommon429ResponseError. + def code(self, code: ErrorCode): + """Sets the code of this Error. - Error code: * `TooManyRequests` - The request is throttled. # noqa: E501 - :param code: The code of this ErrorCommon429ResponseError. # noqa: E501 + :param code: The code of this Error. # noqa: E501 """ if code is None: raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["TooManyRequests"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) self._code = code @property def message(self) -> str: - """Gets the message of this ErrorCommon429ResponseError. # noqa: E501 + """Gets the message of this Error. # noqa: E501 - :return: The message of this ErrorCommon429ResponseError. # noqa: E501 + :return: The message of this Error. # noqa: E501 """ return self._message @message.setter def message(self, message: str): - """Sets the message of this ErrorCommon429ResponseError. + """Sets the message of this Error. - :param message: The message of this ErrorCommon429ResponseError. # noqa: E501 + :param message: The message of this Error. # noqa: E501 """ if message is None: raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/error_code.py b/fingerprint_pro_server_api_sdk/models/error_code.py new file mode 100644 index 00000000..ae8f1a2b --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/error_code.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class ErrorCode(BaseModel): + """ + 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. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + REQUESTCANNOTBEPARSED = "RequestCannotBeParsed" + TOKENREQUIRED = "TokenRequired" + TOKENNOTFOUND = "TokenNotFound" + SUBSCRIPTIONNOTACTIVE = "SubscriptionNotActive" + WRONGREGION = "WrongRegion" + FEATURENOTENABLED = "FeatureNotEnabled" + REQUESTNOTFOUND = "RequestNotFound" + VISITORNOTFOUND = "VisitorNotFound" + TOOMANYREQUESTS = "TooManyRequests" + _429_TOO_MANY_REQUESTS = "429 Too Many Requests" + STATENOTREADY = "StateNotReady" + FAILED = "Failed" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ErrorCode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + diff --git a/fingerprint_pro_server_api_sdk/models/error_common429_response.py b/fingerprint_pro_server_api_sdk/models/error_common429_response.py deleted file mode 100644 index a50a2967..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_common429_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.error_common429_response_error import ErrorCommon429ResponseError - - -class ErrorCommon429Response(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'error': 'ErrorCommon429ResponseError' - } - - attribute_map = { - 'error': 'error' - } - - def __init__(self, error=None): # noqa: E501 - """ErrorCommon429Response - a model defined in Swagger""" # noqa: E501 - self._error = None - self.discriminator = None - if error is not None: - self.error = error - - @property - def error(self) -> Optional[ErrorCommon429ResponseError]: - """Gets the error of this ErrorCommon429Response. # noqa: E501 - - - :return: The error of this ErrorCommon429Response. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ErrorCommon429ResponseError]): - """Sets the error of this ErrorCommon429Response. - - - :param error: The error of this ErrorCommon429Response. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/error_event404_response_error.py b/fingerprint_pro_server_api_sdk/models/error_event404_response_error.py deleted file mode 100644 index 839ff239..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_event404_response_error.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class ErrorEvent404ResponseError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """ErrorEvent404ResponseError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this ErrorEvent404ResponseError. # noqa: E501 - - Error code: * `RequestNotFound` - The specified request ID was not found. It never existed, expired, or it has been deleted. # noqa: E501 - - :return: The code of this ErrorEvent404ResponseError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this ErrorEvent404ResponseError. - - Error code: * `RequestNotFound` - The specified request ID was not found. It never existed, expired, or it has been deleted. # noqa: E501 - - :param code: The code of this ErrorEvent404ResponseError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["RequestNotFound"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this ErrorEvent404ResponseError. # noqa: E501 - - - :return: The message of this ErrorEvent404ResponseError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this ErrorEvent404ResponseError. - - - :param message: The message of this ErrorEvent404ResponseError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/error_visits403.py b/fingerprint_pro_server_api_sdk/models/error_plain_response.py similarity index 79% rename from fingerprint_pro_server_api_sdk/models/error_visits403.py rename to fingerprint_pro_server_api_sdk/models/error_plain_response.py index dd73bf00..45e3cd7f 100644 --- a/fingerprint_pro_server_api_sdk/models/error_visits403.py +++ b/fingerprint_pro_server_api_sdk/models/error_plain_response.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class ErrorVisits403(BaseModel): +class ErrorPlainResponse(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,26 @@ class ErrorVisits403(BaseModel): } def __init__(self, error=None): # noqa: E501 - """ErrorVisits403 - a model defined in Swagger""" # noqa: E501 + """ErrorPlainResponse - a model defined in Swagger""" # noqa: E501 self._error = None self.discriminator = None self.error = error @property def error(self) -> str: - """Gets the error of this ErrorVisits403. # noqa: E501 + """Gets the error of this ErrorPlainResponse. # noqa: E501 - Error text. # noqa: E501 - :return: The error of this ErrorVisits403. # noqa: E501 + :return: The error of this ErrorPlainResponse. # noqa: E501 """ return self._error @error.setter def error(self, error: str): - """Sets the error of this ErrorVisits403. + """Sets the error of this ErrorPlainResponse. - Error text. # noqa: E501 - :param error: The error of this ErrorVisits403. # noqa: E501 + :param error: The error of this ErrorPlainResponse. # noqa: E501 """ if error is None: raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/error_common403_response.py b/fingerprint_pro_server_api_sdk/models/error_response.py similarity index 66% rename from fingerprint_pro_server_api_sdk/models/error_common403_response.py rename to fingerprint_pro_server_api_sdk/models/error_response.py index 5c823b27..b952d798 100644 --- a/fingerprint_pro_server_api_sdk/models/error_common403_response.py +++ b/fingerprint_pro_server_api_sdk/models/error_response.py @@ -13,10 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.common403_error_response import Common403ErrorResponse +from fingerprint_pro_server_api_sdk.models.error import Error -class ErrorCommon403Response(BaseModel): +class ErrorResponse(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +29,7 @@ class ErrorCommon403Response(BaseModel): and the value is json key in definition. """ swagger_types = { - 'error': 'Common403ErrorResponse' + 'error': 'Error' } attribute_map = { @@ -37,28 +37,29 @@ class ErrorCommon403Response(BaseModel): } def __init__(self, error=None): # noqa: E501 - """ErrorCommon403Response - a model defined in Swagger""" # noqa: E501 + """ErrorResponse - a model defined in Swagger""" # noqa: E501 self._error = None self.discriminator = None - if error is not None: - self.error = error + self.error = error @property - def error(self) -> Optional[Common403ErrorResponse]: - """Gets the error of this ErrorCommon403Response. # noqa: E501 + def error(self) -> Error: + """Gets the error of this ErrorResponse. # noqa: E501 - :return: The error of this ErrorCommon403Response. # noqa: E501 + :return: The error of this ErrorResponse. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[Common403ErrorResponse]): - """Sets the error of this ErrorCommon403Response. + def error(self, error: Error): + """Sets the error of this ErrorResponse. - :param error: The error of this ErrorCommon403Response. # noqa: E501 + :param error: The error of this ErrorResponse. # noqa: E501 """ + if error is None: + raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501 self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/error_update_event400_response.py b/fingerprint_pro_server_api_sdk/models/error_update_event400_response.py deleted file mode 100644 index 8d6674f7..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_update_event400_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.error_update_event400_response_error import ErrorUpdateEvent400ResponseError - - -class ErrorUpdateEvent400Response(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'error': 'ErrorUpdateEvent400ResponseError' - } - - attribute_map = { - 'error': 'error' - } - - def __init__(self, error=None): # noqa: E501 - """ErrorUpdateEvent400Response - a model defined in Swagger""" # noqa: E501 - self._error = None - self.discriminator = None - if error is not None: - self.error = error - - @property - def error(self) -> Optional[ErrorUpdateEvent400ResponseError]: - """Gets the error of this ErrorUpdateEvent400Response. # noqa: E501 - - - :return: The error of this ErrorUpdateEvent400Response. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ErrorUpdateEvent400ResponseError]): - """Sets the error of this ErrorUpdateEvent400Response. - - - :param error: The error of this ErrorUpdateEvent400Response. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/error_update_event400_response_error.py b/fingerprint_pro_server_api_sdk/models/error_update_event400_response_error.py deleted file mode 100644 index b3eb3cb8..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_update_event400_response_error.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class ErrorUpdateEvent400ResponseError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """ErrorUpdateEvent400ResponseError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this ErrorUpdateEvent400ResponseError. # noqa: E501 - - Error code: * `RequestCannotBeParsed` - the JSON content of the request contains some errors that prevented us from parsing it (wrong type/surpassed limits) * `Failed` - the event is more than 10 days old and cannot be updated # noqa: E501 - - :return: The code of this ErrorUpdateEvent400ResponseError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this ErrorUpdateEvent400ResponseError. - - Error code: * `RequestCannotBeParsed` - the JSON content of the request contains some errors that prevented us from parsing it (wrong type/surpassed limits) * `Failed` - the event is more than 10 days old and cannot be updated # noqa: E501 - - :param code: The code of this ErrorUpdateEvent400ResponseError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["RequestCannotBeParsed", "Failed"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this ErrorUpdateEvent400ResponseError. # noqa: E501 - - Details about the underlying issue with the input payload # noqa: E501 - - :return: The message of this ErrorUpdateEvent400ResponseError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this ErrorUpdateEvent400ResponseError. - - Details about the underlying issue with the input payload # noqa: E501 - - :param message: The message of this ErrorUpdateEvent400ResponseError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/error_update_event409_response.py b/fingerprint_pro_server_api_sdk/models/error_update_event409_response.py deleted file mode 100644 index 3ca32e44..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_update_event409_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.error_update_event409_response_error import ErrorUpdateEvent409ResponseError - - -class ErrorUpdateEvent409Response(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'error': 'ErrorUpdateEvent409ResponseError' - } - - attribute_map = { - 'error': 'error' - } - - def __init__(self, error=None): # noqa: E501 - """ErrorUpdateEvent409Response - a model defined in Swagger""" # noqa: E501 - self._error = None - self.discriminator = None - if error is not None: - self.error = error - - @property - def error(self) -> Optional[ErrorUpdateEvent409ResponseError]: - """Gets the error of this ErrorUpdateEvent409Response. # noqa: E501 - - - :return: The error of this ErrorUpdateEvent409Response. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ErrorUpdateEvent409ResponseError]): - """Sets the error of this ErrorUpdateEvent409Response. - - - :param error: The error of this ErrorUpdateEvent409Response. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/error_update_event409_response_error.py b/fingerprint_pro_server_api_sdk/models/error_update_event409_response_error.py deleted file mode 100644 index 2abdb69b..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_update_event409_response_error.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class ErrorUpdateEvent409ResponseError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """ErrorUpdateEvent409ResponseError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this ErrorUpdateEvent409ResponseError. # noqa: E501 - - Error code: * `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. # noqa: E501 - - :return: The code of this ErrorUpdateEvent409ResponseError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this ErrorUpdateEvent409ResponseError. - - Error code: * `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. # noqa: E501 - - :param code: The code of this ErrorUpdateEvent409ResponseError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["StateNotReady"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this ErrorUpdateEvent409ResponseError. # noqa: E501 - - - :return: The message of this ErrorUpdateEvent409ResponseError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this ErrorUpdateEvent409ResponseError. - - - :param message: The message of this ErrorUpdateEvent409ResponseError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/error_visitor400_response.py b/fingerprint_pro_server_api_sdk/models/error_visitor400_response.py deleted file mode 100644 index e66556ce..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_visitor400_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.error_visitor400_response_error import ErrorVisitor400ResponseError - - -class ErrorVisitor400Response(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'error': 'ErrorVisitor400ResponseError' - } - - attribute_map = { - 'error': 'error' - } - - def __init__(self, error=None): # noqa: E501 - """ErrorVisitor400Response - a model defined in Swagger""" # noqa: E501 - self._error = None - self.discriminator = None - if error is not None: - self.error = error - - @property - def error(self) -> Optional[ErrorVisitor400ResponseError]: - """Gets the error of this ErrorVisitor400Response. # noqa: E501 - - - :return: The error of this ErrorVisitor400Response. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ErrorVisitor400ResponseError]): - """Sets the error of this ErrorVisitor400Response. - - - :param error: The error of this ErrorVisitor400Response. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/error_visitor400_response_error.py b/fingerprint_pro_server_api_sdk/models/error_visitor400_response_error.py deleted file mode 100644 index c38f4895..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_visitor400_response_error.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class ErrorVisitor400ResponseError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """ErrorVisitor400ResponseError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this ErrorVisitor400ResponseError. # noqa: E501 - - Error code: * `RequestCannotBeParsed` - The visitor ID parameter is missing or in the wrong format. # noqa: E501 - - :return: The code of this ErrorVisitor400ResponseError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this ErrorVisitor400ResponseError. - - Error code: * `RequestCannotBeParsed` - The visitor ID parameter is missing or in the wrong format. # noqa: E501 - - :param code: The code of this ErrorVisitor400ResponseError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["RequestCannotBeParsed"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this ErrorVisitor400ResponseError. # noqa: E501 - - - :return: The message of this ErrorVisitor400ResponseError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this ErrorVisitor400ResponseError. - - - :param message: The message of this ErrorVisitor400ResponseError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/error_visitor404_response.py b/fingerprint_pro_server_api_sdk/models/error_visitor404_response.py deleted file mode 100644 index 5a36ceaf..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_visitor404_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.error_visitor404_response_error import ErrorVisitor404ResponseError - - -class ErrorVisitor404Response(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'error': 'ErrorVisitor404ResponseError' - } - - attribute_map = { - 'error': 'error' - } - - def __init__(self, error=None): # noqa: E501 - """ErrorVisitor404Response - a model defined in Swagger""" # noqa: E501 - self._error = None - self.discriminator = None - if error is not None: - self.error = error - - @property - def error(self) -> Optional[ErrorVisitor404ResponseError]: - """Gets the error of this ErrorVisitor404Response. # noqa: E501 - - - :return: The error of this ErrorVisitor404Response. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ErrorVisitor404ResponseError]): - """Sets the error of this ErrorVisitor404Response. - - - :param error: The error of this ErrorVisitor404Response. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/error_visitor404_response_error.py b/fingerprint_pro_server_api_sdk/models/error_visitor404_response_error.py deleted file mode 100644 index 09f62e86..00000000 --- a/fingerprint_pro_server_api_sdk/models/error_visitor404_response_error.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class ErrorVisitor404ResponseError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """ErrorVisitor404ResponseError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this ErrorVisitor404ResponseError. # noqa: E501 - - Error code: * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. # noqa: E501 - - :return: The code of this ErrorVisitor404ResponseError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this ErrorVisitor404ResponseError. - - Error code: * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. # noqa: E501 - - :param code: The code of this ErrorVisitor404ResponseError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["VisitorNotFound"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this ErrorVisitor404ResponseError. # noqa: E501 - - - :return: The message of this ErrorVisitor404ResponseError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this ErrorVisitor404ResponseError. - - - :param message: The message of this ErrorVisitor404ResponseError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/event_response.py b/fingerprint_pro_server_api_sdk/models/events_get_response.py similarity index 54% rename from fingerprint_pro_server_api_sdk/models/event_response.py rename to fingerprint_pro_server_api_sdk/models/events_get_response.py index f1b5d228..3cd82c84 100644 --- a/fingerprint_pro_server_api_sdk/models/event_response.py +++ b/fingerprint_pro_server_api_sdk/models/events_get_response.py @@ -13,11 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.products_response import ProductsResponse -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.products import Products -class EventResponse(BaseModel): +class EventsGetResponse(BaseModel): """ Contains results from all activated products - Fingerprint Pro, Bot Detection, and others. @@ -33,61 +32,37 @@ class EventResponse(BaseModel): and the value is json key in definition. """ swagger_types = { - 'products': 'ProductsResponse', - 'error': 'ProductError' + 'products': 'Products' } attribute_map = { - 'products': 'products', - 'error': 'error' + 'products': 'products' } - def __init__(self, products=None, error=None): # noqa: E501 - """EventResponse - a model defined in Swagger""" # noqa: E501 + def __init__(self, products=None): # noqa: E501 + """EventsGetResponse - a model defined in Swagger""" # noqa: E501 self._products = None - self._error = None self.discriminator = None self.products = products - if error is not None: - self.error = error @property - def products(self) -> ProductsResponse: - """Gets the products of this EventResponse. # noqa: E501 + def products(self) -> Products: + """Gets the products of this EventsGetResponse. # noqa: E501 - :return: The products of this EventResponse. # noqa: E501 + :return: The products of this EventsGetResponse. # noqa: E501 """ return self._products @products.setter - def products(self, products: ProductsResponse): - """Sets the products of this EventResponse. + def products(self, products: Products): + """Sets the products of this EventsGetResponse. - :param products: The products of this EventResponse. # noqa: E501 + :param products: The products of this EventsGetResponse. # noqa: E501 """ if products is None: raise ValueError("Invalid value for `products`, must not be `None`") # noqa: E501 self._products = products - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this EventResponse. # noqa: E501 - - - :return: The error of this EventResponse. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this EventResponse. - - - :param error: The error of this EventResponse. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/event_update_request.py b/fingerprint_pro_server_api_sdk/models/events_update_request.py similarity index 67% rename from fingerprint_pro_server_api_sdk/models/event_update_request.py rename to fingerprint_pro_server_api_sdk/models/events_update_request.py index 67ace400..e397b901 100644 --- a/fingerprint_pro_server_api_sdk/models/event_update_request.py +++ b/fingerprint_pro_server_api_sdk/models/events_update_request.py @@ -13,9 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.tag import Tag -class EventUpdateRequest(BaseModel): +class EventsUpdateRequest(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +30,7 @@ class EventUpdateRequest(BaseModel): """ swagger_types = { 'linked_id': 'str', - 'tag': 'object', + 'tag': 'Tag', 'suspect': 'bool' } @@ -40,7 +41,7 @@ class EventUpdateRequest(BaseModel): } def __init__(self, linked_id=None, tag=None, suspect=None): # noqa: E501 - """EventUpdateRequest - a model defined in Swagger""" # noqa: E501 + """EventsUpdateRequest - a model defined in Swagger""" # noqa: E501 self._linked_id = None self._tag = None self._suspect = None @@ -54,63 +55,61 @@ def __init__(self, linked_id=None, tag=None, suspect=None): # noqa: E501 @property def linked_id(self) -> Optional[str]: - """Gets the linked_id of this EventUpdateRequest. # noqa: E501 + """Gets the linked_id of this EventsUpdateRequest. # noqa: E501 LinkedID value to assign to the existing event # noqa: E501 - :return: The linked_id of this EventUpdateRequest. # noqa: E501 + :return: The linked_id of this EventsUpdateRequest. # noqa: E501 """ return self._linked_id @linked_id.setter def linked_id(self, linked_id: Optional[str]): - """Sets the linked_id of this EventUpdateRequest. + """Sets the linked_id of this EventsUpdateRequest. LinkedID value to assign to the existing event # noqa: E501 - :param linked_id: The linked_id of this EventUpdateRequest. # noqa: E501 + :param linked_id: The linked_id of this EventsUpdateRequest. # noqa: E501 """ self._linked_id = linked_id @property - def tag(self) -> Optional[object]: - """Gets the tag of this EventUpdateRequest. # noqa: E501 + def tag(self) -> Optional[Tag]: + """Gets the tag of this EventsUpdateRequest. # noqa: E501 - Full `tag` value to be set to the existing event. Replaces any existing `tag` payload completely. # noqa: E501 - :return: The tag of this EventUpdateRequest. # noqa: E501 + :return: The tag of this EventsUpdateRequest. # noqa: E501 """ return self._tag @tag.setter - def tag(self, tag: Optional[object]): - """Sets the tag of this EventUpdateRequest. + def tag(self, tag: Optional[Tag]): + """Sets the tag of this EventsUpdateRequest. - Full `tag` value to be set to the existing event. Replaces any existing `tag` payload completely. # noqa: E501 - :param tag: The tag of this EventUpdateRequest. # noqa: E501 + :param tag: The tag of this EventsUpdateRequest. # noqa: E501 """ self._tag = tag @property def suspect(self) -> Optional[bool]: - """Gets the suspect of this EventUpdateRequest. # noqa: E501 + """Gets the suspect of this EventsUpdateRequest. # noqa: E501 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501 - :return: The suspect of this EventUpdateRequest. # noqa: E501 + :return: The suspect of this EventsUpdateRequest. # noqa: E501 """ return self._suspect @suspect.setter def suspect(self, suspect: Optional[bool]): - """Sets the suspect of this EventUpdateRequest. + """Sets the suspect of this EventsUpdateRequest. Suspect flag indicating observed suspicious or fraudulent event # noqa: E501 - :param suspect: The suspect of this EventUpdateRequest. # noqa: E501 + :param suspect: The suspect of this EventsUpdateRequest. # noqa: E501 """ self._suspect = suspect diff --git a/fingerprint_pro_server_api_sdk/models/factory_reset_result.py b/fingerprint_pro_server_api_sdk/models/factory_reset.py similarity index 72% rename from fingerprint_pro_server_api_sdk/models/factory_reset_result.py rename to fingerprint_pro_server_api_sdk/models/factory_reset.py index 9d115b1d..4e11f4f8 100644 --- a/fingerprint_pro_server_api_sdk/models/factory_reset_result.py +++ b/fingerprint_pro_server_api_sdk/models/factory_reset.py @@ -16,7 +16,7 @@ from datetime import datetime -class FactoryResetResult(BaseModel): +class FactoryReset(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class FactoryResetResult(BaseModel): } def __init__(self, time=None, timestamp=None): # noqa: E501 - """FactoryResetResult - a model defined in Swagger""" # noqa: E501 + """FactoryReset - a model defined in Swagger""" # noqa: E501 self._time = None self._timestamp = None self.discriminator = None @@ -48,21 +48,21 @@ def __init__(self, time=None, timestamp=None): # noqa: E501 @property def time(self) -> datetime: - """Gets the time of this FactoryResetResult. # noqa: E501 + """Gets the time of this FactoryReset. # noqa: E501 - Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501 + Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501 - :return: The time of this FactoryResetResult. # noqa: E501 + :return: The time of this FactoryReset. # noqa: E501 """ return self._time @time.setter def time(self, time: datetime): - """Sets the time of this FactoryResetResult. + """Sets the time of this FactoryReset. - Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501 + Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501 - :param time: The time of this FactoryResetResult. # noqa: E501 + :param time: The time of this FactoryReset. # noqa: E501 """ if time is None: raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 @@ -71,21 +71,21 @@ def time(self, time: datetime): @property def timestamp(self) -> int: - """Gets the timestamp of this FactoryResetResult. # noqa: E501 + """Gets the timestamp of this FactoryReset. # noqa: E501 This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. # noqa: E501 - :return: The timestamp of this FactoryResetResult. # noqa: E501 + :return: The timestamp of this FactoryReset. # noqa: E501 """ return self._timestamp @timestamp.setter def timestamp(self, timestamp: int): - """Sets the timestamp of this FactoryResetResult. + """Sets the timestamp of this FactoryReset. This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. # noqa: E501 - :param timestamp: The timestamp of this FactoryResetResult. # noqa: E501 + :param timestamp: The timestamp of this FactoryReset. # noqa: E501 """ if timestamp is None: raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/frida_result.py b/fingerprint_pro_server_api_sdk/models/frida.py similarity index 75% rename from fingerprint_pro_server_api_sdk/models/frida_result.py rename to fingerprint_pro_server_api_sdk/models/frida.py index 52cc8f4e..b1aedca9 100644 --- a/fingerprint_pro_server_api_sdk/models/frida_result.py +++ b/fingerprint_pro_server_api_sdk/models/frida.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class FridaResult(BaseModel): +class Frida(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class FridaResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """FridaResult - a model defined in Swagger""" # noqa: E501 + """Frida - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this FridaResult. # noqa: E501 + """Gets the result of this Frida. # noqa: E501 - [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: • `true` - Frida detected • `false` - No signs of Frida or the client is not a mobile device. # noqa: E501 + [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: * `true` - Frida detected * `false` - No signs of Frida or the client is not a mobile device. # noqa: E501 - :return: The result of this FridaResult. # noqa: E501 + :return: The result of this Frida. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this FridaResult. + """Sets the result of this Frida. - [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: • `true` - Frida detected • `false` - No signs of Frida or the client is not a mobile device. # noqa: E501 + [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: * `true` - Frida detected * `false` - No signs of Frida or the client is not a mobile device. # noqa: E501 - :param result: The result of this FridaResult. # noqa: E501 + :param result: The result of this Frida. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/ip_location.py b/fingerprint_pro_server_api_sdk/models/geolocation.py similarity index 58% rename from fingerprint_pro_server_api_sdk/models/ip_location.py rename to fingerprint_pro_server_api_sdk/models/geolocation.py index 5431b4cb..45995968 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_location.py +++ b/fingerprint_pro_server_api_sdk/models/geolocation.py @@ -13,13 +13,13 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_location_city import IPLocationCity -from fingerprint_pro_server_api_sdk.models.location import Location -from fingerprint_pro_server_api_sdk.models.location import Location -from fingerprint_pro_server_api_sdk.models.subdivision import Subdivision +from fingerprint_pro_server_api_sdk.models.geolocation_city import GeolocationCity +from fingerprint_pro_server_api_sdk.models.geolocation_country import GeolocationCountry +from fingerprint_pro_server_api_sdk.models.geolocation_continent import GeolocationContinent +from fingerprint_pro_server_api_sdk.models.geolocation_subdivisions import GeolocationSubdivisions -class IPLocation(BaseModel): +class Geolocation(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -37,10 +37,10 @@ class IPLocation(BaseModel): 'longitude': 'float', 'postal_code': 'str', 'timezone': 'str', - 'city': 'IPLocationCity', - 'country': 'Location', - 'continent': 'Location', - 'subdivisions': 'list[Subdivision]' + 'city': 'GeolocationCity', + 'country': 'GeolocationCountry', + 'continent': 'GeolocationContinent', + 'subdivisions': 'GeolocationSubdivisions' } attribute_map = { @@ -56,7 +56,7 @@ class IPLocation(BaseModel): } def __init__(self, accuracy_radius=None, latitude=None, longitude=None, postal_code=None, timezone=None, city=None, country=None, continent=None, subdivisions=None): # noqa: E501 - """IPLocation - a model defined in Swagger""" # noqa: E501 + """Geolocation - a model defined in Swagger""" # noqa: E501 self._accuracy_radius = None self._latitude = None self._longitude = None @@ -88,173 +88,173 @@ def __init__(self, accuracy_radius=None, latitude=None, longitude=None, postal_c @property def accuracy_radius(self) -> Optional[int]: - """Gets the accuracy_radius of this IPLocation. # noqa: E501 + """Gets the accuracy_radius of this Geolocation. # noqa: E501 The IP address is likely to be within this radius (in km) of the specified location. # noqa: E501 - :return: The accuracy_radius of this IPLocation. # noqa: E501 + :return: The accuracy_radius of this Geolocation. # noqa: E501 """ return self._accuracy_radius @accuracy_radius.setter def accuracy_radius(self, accuracy_radius: Optional[int]): - """Sets the accuracy_radius of this IPLocation. + """Sets the accuracy_radius of this Geolocation. The IP address is likely to be within this radius (in km) of the specified location. # noqa: E501 - :param accuracy_radius: The accuracy_radius of this IPLocation. # noqa: E501 + :param accuracy_radius: The accuracy_radius of this Geolocation. # noqa: E501 """ self._accuracy_radius = accuracy_radius @property def latitude(self) -> Optional[float]: - """Gets the latitude of this IPLocation. # noqa: E501 + """Gets the latitude of this Geolocation. # noqa: E501 - :return: The latitude of this IPLocation. # noqa: E501 + :return: The latitude of this Geolocation. # noqa: E501 """ return self._latitude @latitude.setter def latitude(self, latitude: Optional[float]): - """Sets the latitude of this IPLocation. + """Sets the latitude of this Geolocation. - :param latitude: The latitude of this IPLocation. # noqa: E501 + :param latitude: The latitude of this Geolocation. # noqa: E501 """ self._latitude = latitude @property def longitude(self) -> Optional[float]: - """Gets the longitude of this IPLocation. # noqa: E501 + """Gets the longitude of this Geolocation. # noqa: E501 - :return: The longitude of this IPLocation. # noqa: E501 + :return: The longitude of this Geolocation. # noqa: E501 """ return self._longitude @longitude.setter def longitude(self, longitude: Optional[float]): - """Sets the longitude of this IPLocation. + """Sets the longitude of this Geolocation. - :param longitude: The longitude of this IPLocation. # noqa: E501 + :param longitude: The longitude of this Geolocation. # noqa: E501 """ self._longitude = longitude @property def postal_code(self) -> Optional[str]: - """Gets the postal_code of this IPLocation. # noqa: E501 + """Gets the postal_code of this Geolocation. # noqa: E501 - :return: The postal_code of this IPLocation. # noqa: E501 + :return: The postal_code of this Geolocation. # noqa: E501 """ return self._postal_code @postal_code.setter def postal_code(self, postal_code: Optional[str]): - """Sets the postal_code of this IPLocation. + """Sets the postal_code of this Geolocation. - :param postal_code: The postal_code of this IPLocation. # noqa: E501 + :param postal_code: The postal_code of this Geolocation. # noqa: E501 """ self._postal_code = postal_code @property def timezone(self) -> Optional[str]: - """Gets the timezone of this IPLocation. # noqa: E501 + """Gets the timezone of this Geolocation. # noqa: E501 - :return: The timezone of this IPLocation. # noqa: E501 + :return: The timezone of this Geolocation. # noqa: E501 """ return self._timezone @timezone.setter def timezone(self, timezone: Optional[str]): - """Sets the timezone of this IPLocation. + """Sets the timezone of this Geolocation. - :param timezone: The timezone of this IPLocation. # noqa: E501 + :param timezone: The timezone of this Geolocation. # noqa: E501 """ self._timezone = timezone @property - def city(self) -> Optional[IPLocationCity]: - """Gets the city of this IPLocation. # noqa: E501 + def city(self) -> Optional[GeolocationCity]: + """Gets the city of this Geolocation. # noqa: E501 - :return: The city of this IPLocation. # noqa: E501 + :return: The city of this Geolocation. # noqa: E501 """ return self._city @city.setter - def city(self, city: Optional[IPLocationCity]): - """Sets the city of this IPLocation. + def city(self, city: Optional[GeolocationCity]): + """Sets the city of this Geolocation. - :param city: The city of this IPLocation. # noqa: E501 + :param city: The city of this Geolocation. # noqa: E501 """ self._city = city @property - def country(self) -> Optional[Location]: - """Gets the country of this IPLocation. # noqa: E501 + def country(self) -> Optional[GeolocationCountry]: + """Gets the country of this Geolocation. # noqa: E501 - :return: The country of this IPLocation. # noqa: E501 + :return: The country of this Geolocation. # noqa: E501 """ return self._country @country.setter - def country(self, country: Optional[Location]): - """Sets the country of this IPLocation. + def country(self, country: Optional[GeolocationCountry]): + """Sets the country of this Geolocation. - :param country: The country of this IPLocation. # noqa: E501 + :param country: The country of this Geolocation. # noqa: E501 """ self._country = country @property - def continent(self) -> Optional[Location]: - """Gets the continent of this IPLocation. # noqa: E501 + def continent(self) -> Optional[GeolocationContinent]: + """Gets the continent of this Geolocation. # noqa: E501 - :return: The continent of this IPLocation. # noqa: E501 + :return: The continent of this Geolocation. # noqa: E501 """ return self._continent @continent.setter - def continent(self, continent: Optional[Location]): - """Sets the continent of this IPLocation. + def continent(self, continent: Optional[GeolocationContinent]): + """Sets the continent of this Geolocation. - :param continent: The continent of this IPLocation. # noqa: E501 + :param continent: The continent of this Geolocation. # noqa: E501 """ self._continent = continent @property - def subdivisions(self) -> Optional[List[Subdivision]]: - """Gets the subdivisions of this IPLocation. # noqa: E501 + def subdivisions(self) -> Optional[GeolocationSubdivisions]: + """Gets the subdivisions of this Geolocation. # noqa: E501 - :return: The subdivisions of this IPLocation. # noqa: E501 + :return: The subdivisions of this Geolocation. # noqa: E501 """ return self._subdivisions @subdivisions.setter - def subdivisions(self, subdivisions: Optional[List[Subdivision]]): - """Sets the subdivisions of this IPLocation. + def subdivisions(self, subdivisions: Optional[GeolocationSubdivisions]): + """Sets the subdivisions of this Geolocation. - :param subdivisions: The subdivisions of this IPLocation. # noqa: E501 + :param subdivisions: The subdivisions of this Geolocation. # noqa: E501 """ self._subdivisions = subdivisions diff --git a/fingerprint_pro_server_api_sdk/models/deprecated_ip_location_city.py b/fingerprint_pro_server_api_sdk/models/geolocation_city.py similarity index 72% rename from fingerprint_pro_server_api_sdk/models/deprecated_ip_location_city.py rename to fingerprint_pro_server_api_sdk/models/geolocation_city.py index c20e052f..5fe5af2d 100644 --- a/fingerprint_pro_server_api_sdk/models/deprecated_ip_location_city.py +++ b/fingerprint_pro_server_api_sdk/models/geolocation_city.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class DeprecatedIPLocationCity(BaseModel): +class GeolocationCity(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,29 @@ class DeprecatedIPLocationCity(BaseModel): } def __init__(self, name=None): # noqa: E501 - """DeprecatedIPLocationCity - a model defined in Swagger""" # noqa: E501 + """GeolocationCity - a model defined in Swagger""" # noqa: E501 self._name = None self.discriminator = None - if name is not None: - self.name = name + self.name = name @property - def name(self) -> Optional[str]: - """Gets the name of this DeprecatedIPLocationCity. # noqa: E501 + def name(self) -> str: + """Gets the name of this GeolocationCity. # noqa: E501 - :return: The name of this DeprecatedIPLocationCity. # noqa: E501 + :return: The name of this GeolocationCity. # noqa: E501 """ return self._name @name.setter - def name(self, name: Optional[str]): - """Sets the name of this DeprecatedIPLocationCity. + def name(self, name: str): + """Sets the name of this GeolocationCity. - :param name: The name of this DeprecatedIPLocationCity. # noqa: E501 + :param name: The name of this GeolocationCity. # noqa: E501 """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 self._name = name diff --git a/fingerprint_pro_server_api_sdk/models/geolocation_continent.py b/fingerprint_pro_server_api_sdk/models/geolocation_continent.py new file mode 100644 index 00000000..64888787 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/geolocation_continent.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class GeolocationContinent(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'code': 'str', + 'name': 'str' + } + + attribute_map = { + 'code': 'code', + 'name': 'name' + } + + def __init__(self, code=None, name=None): # noqa: E501 + """GeolocationContinent - a model defined in Swagger""" # noqa: E501 + self._code = None + self._name = None + self.discriminator = None + self.code = code + self.name = name + + @property + def code(self) -> str: + """Gets the code of this GeolocationContinent. # noqa: E501 + + + :return: The code of this GeolocationContinent. # noqa: E501 + """ + return self._code + + @code.setter + def code(self, code: str): + """Sets the code of this GeolocationContinent. + + + :param code: The code of this GeolocationContinent. # noqa: E501 + """ + if code is None: + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + + self._code = code + + @property + def name(self) -> str: + """Gets the name of this GeolocationContinent. # noqa: E501 + + + :return: The name of this GeolocationContinent. # noqa: E501 + """ + return self._name + + @name.setter + def name(self, name: str): + """Sets the name of this GeolocationContinent. + + + :param name: The name of this GeolocationContinent. # noqa: E501 + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + diff --git a/fingerprint_pro_server_api_sdk/models/location.py b/fingerprint_pro_server_api_sdk/models/geolocation_country.py similarity index 76% rename from fingerprint_pro_server_api_sdk/models/location.py rename to fingerprint_pro_server_api_sdk/models/geolocation_country.py index 2013fb0e..bbfb5bbb 100644 --- a/fingerprint_pro_server_api_sdk/models/location.py +++ b/fingerprint_pro_server_api_sdk/models/geolocation_country.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class Location(BaseModel): +class GeolocationCountry(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,7 +38,7 @@ class Location(BaseModel): } def __init__(self, code=None, name=None): # noqa: E501 - """Location - a model defined in Swagger""" # noqa: E501 + """GeolocationCountry - a model defined in Swagger""" # noqa: E501 self._code = None self._name = None self.discriminator = None @@ -47,19 +47,19 @@ def __init__(self, code=None, name=None): # noqa: E501 @property def code(self) -> str: - """Gets the code of this Location. # noqa: E501 + """Gets the code of this GeolocationCountry. # noqa: E501 - :return: The code of this Location. # noqa: E501 + :return: The code of this GeolocationCountry. # noqa: E501 """ return self._code @code.setter def code(self, code: str): - """Sets the code of this Location. + """Sets the code of this GeolocationCountry. - :param code: The code of this Location. # noqa: E501 + :param code: The code of this GeolocationCountry. # noqa: E501 """ if code is None: raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 @@ -68,19 +68,19 @@ def code(self, code: str): @property def name(self) -> str: - """Gets the name of this Location. # noqa: E501 + """Gets the name of this GeolocationCountry. # noqa: E501 - :return: The name of this Location. # noqa: E501 + :return: The name of this GeolocationCountry. # noqa: E501 """ return self._name @name.setter def name(self, name: str): - """Sets the name of this Location. + """Sets the name of this GeolocationCountry. - :param name: The name of this Location. # noqa: E501 + :param name: The name of this GeolocationCountry. # noqa: E501 """ if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/subdivision.py b/fingerprint_pro_server_api_sdk/models/geolocation_subdivision.py similarity index 59% rename from fingerprint_pro_server_api_sdk/models/subdivision.py rename to fingerprint_pro_server_api_sdk/models/geolocation_subdivision.py index 199ef234..7a6c99cd 100644 --- a/fingerprint_pro_server_api_sdk/models/subdivision.py +++ b/fingerprint_pro_server_api_sdk/models/geolocation_subdivision.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class Subdivision(BaseModel): +class GeolocationSubdivision(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,50 +38,52 @@ class Subdivision(BaseModel): } def __init__(self, iso_code=None, name=None): # noqa: E501 - """Subdivision - a model defined in Swagger""" # noqa: E501 + """GeolocationSubdivision - a model defined in Swagger""" # noqa: E501 self._iso_code = None self._name = None self.discriminator = None - if iso_code is not None: - self.iso_code = iso_code - if name is not None: - self.name = name + self.iso_code = iso_code + self.name = name @property - def iso_code(self) -> Optional[str]: - """Gets the iso_code of this Subdivision. # noqa: E501 + def iso_code(self) -> str: + """Gets the iso_code of this GeolocationSubdivision. # noqa: E501 - :return: The iso_code of this Subdivision. # noqa: E501 + :return: The iso_code of this GeolocationSubdivision. # noqa: E501 """ return self._iso_code @iso_code.setter - def iso_code(self, iso_code: Optional[str]): - """Sets the iso_code of this Subdivision. + def iso_code(self, iso_code: str): + """Sets the iso_code of this GeolocationSubdivision. - :param iso_code: The iso_code of this Subdivision. # noqa: E501 + :param iso_code: The iso_code of this GeolocationSubdivision. # noqa: E501 """ + if iso_code is None: + raise ValueError("Invalid value for `iso_code`, must not be `None`") # noqa: E501 self._iso_code = iso_code @property - def name(self) -> Optional[str]: - """Gets the name of this Subdivision. # noqa: E501 + def name(self) -> str: + """Gets the name of this GeolocationSubdivision. # noqa: E501 - :return: The name of this Subdivision. # noqa: E501 + :return: The name of this GeolocationSubdivision. # noqa: E501 """ return self._name @name.setter - def name(self, name: Optional[str]): - """Sets the name of this Subdivision. + def name(self, name: str): + """Sets the name of this GeolocationSubdivision. - :param name: The name of this Subdivision. # noqa: E501 + :param name: The name of this GeolocationSubdivision. # noqa: E501 """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 self._name = name diff --git a/fingerprint_pro_server_api_sdk/models/ip_location_city.py b/fingerprint_pro_server_api_sdk/models/geolocation_subdivisions.py similarity index 62% rename from fingerprint_pro_server_api_sdk/models/ip_location_city.py rename to fingerprint_pro_server_api_sdk/models/geolocation_subdivisions.py index 52102f86..9573e33e 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_location_city.py +++ b/fingerprint_pro_server_api_sdk/models/geolocation_subdivisions.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class IPLocationCity(BaseModel): +class GeolocationSubdivisions(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -28,36 +28,12 @@ class IPLocationCity(BaseModel): and the value is json key in definition. """ swagger_types = { - 'name': 'str' } attribute_map = { - 'name': 'name' } - def __init__(self, name=None): # noqa: E501 - """IPLocationCity - a model defined in Swagger""" # noqa: E501 - self._name = None + def __init__(self): # noqa: E501 + """GeolocationSubdivisions - a model defined in Swagger""" # noqa: E501 self.discriminator = None - if name is not None: - self.name = name - - @property - def name(self) -> Optional[str]: - """Gets the name of this IPLocationCity. # noqa: E501 - - - :return: The name of this IPLocationCity. # noqa: E501 - """ - return self._name - - @name.setter - def name(self, name: Optional[str]): - """Sets the name of this IPLocationCity. - - - :param name: The name of this IPLocationCity. # noqa: E501 - """ - - self._name = name diff --git a/fingerprint_pro_server_api_sdk/models/high_activity_result.py b/fingerprint_pro_server_api_sdk/models/high_activity.py similarity index 70% rename from fingerprint_pro_server_api_sdk/models/high_activity_result.py rename to fingerprint_pro_server_api_sdk/models/high_activity.py index 6ba92f55..d6559ee3 100644 --- a/fingerprint_pro_server_api_sdk/models/high_activity_result.py +++ b/fingerprint_pro_server_api_sdk/models/high_activity.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class HighActivityResult(BaseModel): +class HighActivity(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +29,7 @@ class HighActivityResult(BaseModel): """ swagger_types = { 'result': 'bool', - 'daily_requests': 'float' + 'daily_requests': 'int' } attribute_map = { @@ -38,7 +38,7 @@ class HighActivityResult(BaseModel): } def __init__(self, result=None, daily_requests=None): # noqa: E501 - """HighActivityResult - a model defined in Swagger""" # noqa: E501 + """HighActivity - a model defined in Swagger""" # noqa: E501 self._result = None self._daily_requests = None self.discriminator = None @@ -48,21 +48,21 @@ def __init__(self, result=None, daily_requests=None): # noqa: E501 @property def result(self) -> bool: - """Gets the result of this HighActivityResult. # noqa: E501 + """Gets the result of this HighActivity. # noqa: E501 - Flag indicating whether the request came from a high activity visitor. # noqa: E501 + Flag indicating if the request came from a high-activity visitor. # noqa: E501 - :return: The result of this HighActivityResult. # noqa: E501 + :return: The result of this HighActivity. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this HighActivityResult. + """Sets the result of this HighActivity. - Flag indicating whether the request came from a high activity visitor. # noqa: E501 + Flag indicating if the request came from a high-activity visitor. # noqa: E501 - :param result: The result of this HighActivityResult. # noqa: E501 + :param result: The result of this HighActivity. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 @@ -70,22 +70,22 @@ def result(self, result: bool): self._result = result @property - def daily_requests(self) -> Optional[float]: - """Gets the daily_requests of this HighActivityResult. # noqa: E501 + def daily_requests(self) -> Optional[int]: + """Gets the daily_requests of this HighActivity. # noqa: E501 Number of requests from the same visitor in the previous day. # noqa: E501 - :return: The daily_requests of this HighActivityResult. # noqa: E501 + :return: The daily_requests of this HighActivity. # noqa: E501 """ return self._daily_requests @daily_requests.setter - def daily_requests(self, daily_requests: Optional[float]): - """Sets the daily_requests of this HighActivityResult. + def daily_requests(self, daily_requests: Optional[int]): + """Sets the daily_requests of this HighActivity. Number of requests from the same visitor in the previous day. # noqa: E501 - :param daily_requests: The daily_requests of this HighActivityResult. # noqa: E501 + :param daily_requests: The daily_requests of this HighActivity. # noqa: E501 """ self._daily_requests = daily_requests diff --git a/fingerprint_pro_server_api_sdk/models/products_response_identification_data.py b/fingerprint_pro_server_api_sdk/models/identification.py similarity index 51% rename from fingerprint_pro_server_api_sdk/models/products_response_identification_data.py rename to fingerprint_pro_server_api_sdk/models/identification.py index 41fe876e..0b0f87a2 100644 --- a/fingerprint_pro_server_api_sdk/models/products_response_identification_data.py +++ b/fingerprint_pro_server_api_sdk/models/identification.py @@ -14,14 +14,16 @@ from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation +from fingerprint_pro_server_api_sdk.models.deprecated_geolocation import DeprecatedGeolocation from datetime import datetime -from fingerprint_pro_server_api_sdk.models.confidence import Confidence -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt +from fingerprint_pro_server_api_sdk.models.tag import Tag +from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes -class ProductsResponseIdentificationData(BaseModel): +class Identification(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -34,95 +36,123 @@ class ProductsResponseIdentificationData(BaseModel): and the value is json key in definition. """ swagger_types = { + 'visitor_id': 'str', 'request_id': 'str', 'browser_details': 'BrowserDetails', 'incognito': 'bool', 'ip': 'str', - 'ip_location': 'DeprecatedIPLocation', + 'ip_location': 'DeprecatedGeolocation', + 'linked_id': 'str', 'timestamp': 'int', 'time': 'datetime', 'url': 'str', - 'tag': 'dict(str, object)', - 'linked_id': 'str', - 'confidence': 'Confidence', + 'tag': 'Tag', + 'confidence': 'IdentificationConfidence', 'visitor_found': 'bool', - 'first_seen_at': 'SeenAt', - 'last_seen_at': 'SeenAt', - 'visitor_id': 'str' + 'first_seen_at': 'IdentificationSeenAt', + 'last_seen_at': 'IdentificationSeenAt', + 'components': 'RawDeviceAttributes' } attribute_map = { + 'visitor_id': 'visitorId', 'request_id': 'requestId', 'browser_details': 'browserDetails', 'incognito': 'incognito', 'ip': 'ip', 'ip_location': 'ipLocation', + 'linked_id': 'linkedId', 'timestamp': 'timestamp', 'time': 'time', 'url': 'url', 'tag': 'tag', - 'linked_id': 'linkedId', 'confidence': 'confidence', 'visitor_found': 'visitorFound', 'first_seen_at': 'firstSeenAt', 'last_seen_at': 'lastSeenAt', - 'visitor_id': 'visitorId' + 'components': 'components' } - def __init__(self, request_id=None, browser_details=None, incognito=None, ip=None, ip_location=None, timestamp=None, time=None, url=None, tag=None, linked_id=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None, visitor_id=None): # noqa: E501 - """ProductsResponseIdentificationData - a model defined in Swagger""" # noqa: E501 + def __init__(self, visitor_id=None, request_id=None, browser_details=None, incognito=None, ip=None, ip_location=None, linked_id=None, timestamp=None, time=None, url=None, tag=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None, components=None): # noqa: E501 + """Identification - a model defined in Swagger""" # noqa: E501 + self._visitor_id = None self._request_id = None self._browser_details = None self._incognito = None self._ip = None self._ip_location = None + self._linked_id = None self._timestamp = None self._time = None self._url = None self._tag = None - self._linked_id = None self._confidence = None self._visitor_found = None self._first_seen_at = None self._last_seen_at = None - self._visitor_id = None + self._components = None self.discriminator = None + self.visitor_id = visitor_id self.request_id = request_id self.browser_details = browser_details self.incognito = incognito self.ip = ip if ip_location is not None: self.ip_location = ip_location + if linked_id is not None: + self.linked_id = linked_id self.timestamp = timestamp self.time = time self.url = url self.tag = tag - if linked_id is not None: - self.linked_id = linked_id if confidence is not None: self.confidence = confidence self.visitor_found = visitor_found self.first_seen_at = first_seen_at self.last_seen_at = last_seen_at - self.visitor_id = visitor_id + if components is not None: + self.components = components + + @property + def visitor_id(self) -> str: + """Gets the visitor_id of this Identification. # noqa: E501 + + String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 + + :return: The visitor_id of this Identification. # noqa: E501 + """ + return self._visitor_id + + @visitor_id.setter + def visitor_id(self, visitor_id: str): + """Sets the visitor_id of this Identification. + + String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 + + :param visitor_id: The visitor_id of this Identification. # noqa: E501 + """ + if visitor_id is None: + raise ValueError("Invalid value for `visitor_id`, must not be `None`") # noqa: E501 + + self._visitor_id = visitor_id @property def request_id(self) -> str: - """Gets the request_id of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the request_id of this Identification. # noqa: E501 - Unique identifier of the user's identification request. # noqa: E501 + Unique identifier of the user's request. # noqa: E501 - :return: The request_id of this ProductsResponseIdentificationData. # noqa: E501 + :return: The request_id of this Identification. # noqa: E501 """ return self._request_id @request_id.setter def request_id(self, request_id: str): - """Sets the request_id of this ProductsResponseIdentificationData. + """Sets the request_id of this Identification. - Unique identifier of the user's identification request. # noqa: E501 + Unique identifier of the user's request. # noqa: E501 - :param request_id: The request_id of this ProductsResponseIdentificationData. # noqa: E501 + :param request_id: The request_id of this Identification. # noqa: E501 """ if request_id is None: raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 @@ -131,19 +161,19 @@ def request_id(self, request_id: str): @property def browser_details(self) -> BrowserDetails: - """Gets the browser_details of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the browser_details of this Identification. # noqa: E501 - :return: The browser_details of this ProductsResponseIdentificationData. # noqa: E501 + :return: The browser_details of this Identification. # noqa: E501 """ return self._browser_details @browser_details.setter def browser_details(self, browser_details: BrowserDetails): - """Sets the browser_details of this ProductsResponseIdentificationData. + """Sets the browser_details of this Identification. - :param browser_details: The browser_details of this ProductsResponseIdentificationData. # noqa: E501 + :param browser_details: The browser_details of this Identification. # noqa: E501 """ if browser_details is None: raise ValueError("Invalid value for `browser_details`, must not be `None`") # noqa: E501 @@ -152,21 +182,21 @@ def browser_details(self, browser_details: BrowserDetails): @property def incognito(self) -> bool: - """Gets the incognito of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the incognito of this Identification. # noqa: E501 Flag if user used incognito session. # noqa: E501 - :return: The incognito of this ProductsResponseIdentificationData. # noqa: E501 + :return: The incognito of this Identification. # noqa: E501 """ return self._incognito @incognito.setter def incognito(self, incognito: bool): - """Sets the incognito of this ProductsResponseIdentificationData. + """Sets the incognito of this Identification. Flag if user used incognito session. # noqa: E501 - :param incognito: The incognito of this ProductsResponseIdentificationData. # noqa: E501 + :param incognito: The incognito of this Identification. # noqa: E501 """ if incognito is None: raise ValueError("Invalid value for `incognito`, must not be `None`") # noqa: E501 @@ -175,19 +205,21 @@ def incognito(self, incognito: bool): @property def ip(self) -> str: - """Gets the ip of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the ip of this Identification. # noqa: E501 + IP address of the requesting browser or bot. # noqa: E501 - :return: The ip of this ProductsResponseIdentificationData. # noqa: E501 + :return: The ip of this Identification. # noqa: E501 """ return self._ip @ip.setter def ip(self, ip: str): - """Sets the ip of this ProductsResponseIdentificationData. + """Sets the ip of this Identification. + IP address of the requesting browser or bot. # noqa: E501 - :param ip: The ip of this ProductsResponseIdentificationData. # noqa: E501 + :param ip: The ip of this Identification. # noqa: E501 """ if ip is None: raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 @@ -195,41 +227,62 @@ def ip(self, ip: str): self._ip = ip @property - def ip_location(self) -> Optional[DeprecatedIPLocation]: - """Gets the ip_location of this ProductsResponseIdentificationData. # noqa: E501 + def ip_location(self) -> Optional[DeprecatedGeolocation]: + """Gets the ip_location of this Identification. # noqa: E501 - :return: The ip_location of this ProductsResponseIdentificationData. # noqa: E501 + :return: The ip_location of this Identification. # noqa: E501 """ return self._ip_location @ip_location.setter - def ip_location(self, ip_location: Optional[DeprecatedIPLocation]): - """Sets the ip_location of this ProductsResponseIdentificationData. + def ip_location(self, ip_location: Optional[DeprecatedGeolocation]): + """Sets the ip_location of this Identification. - :param ip_location: The ip_location of this ProductsResponseIdentificationData. # noqa: E501 + :param ip_location: The ip_location of this Identification. # noqa: E501 """ self._ip_location = ip_location + @property + def linked_id(self) -> Optional[str]: + """Gets the linked_id of this Identification. # noqa: E501 + + A customer-provided id that was sent with the request. # noqa: E501 + + :return: The linked_id of this Identification. # noqa: E501 + """ + return self._linked_id + + @linked_id.setter + def linked_id(self, linked_id: Optional[str]): + """Sets the linked_id of this Identification. + + A customer-provided id that was sent with the request. # noqa: E501 + + :param linked_id: The linked_id of this Identification. # noqa: E501 + """ + + self._linked_id = linked_id + @property def timestamp(self) -> int: - """Gets the timestamp of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the timestamp of this Identification. # noqa: E501 Timestamp of the event with millisecond precision in Unix time. # noqa: E501 - :return: The timestamp of this ProductsResponseIdentificationData. # noqa: E501 + :return: The timestamp of this Identification. # noqa: E501 """ return self._timestamp @timestamp.setter def timestamp(self, timestamp: int): - """Sets the timestamp of this ProductsResponseIdentificationData. + """Sets the timestamp of this Identification. Timestamp of the event with millisecond precision in Unix time. # noqa: E501 - :param timestamp: The timestamp of this ProductsResponseIdentificationData. # noqa: E501 + :param timestamp: The timestamp of this Identification. # noqa: E501 """ if timestamp is None: raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 @@ -238,21 +291,21 @@ def timestamp(self, timestamp: int): @property def time(self) -> datetime: - """Gets the time of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the time of this Identification. # noqa: E501 - Time expressed according to ISO 8601 in UTC format. # noqa: E501 + Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 - :return: The time of this ProductsResponseIdentificationData. # noqa: E501 + :return: The time of this Identification. # noqa: E501 """ return self._time @time.setter def time(self, time: datetime): - """Sets the time of this ProductsResponseIdentificationData. + """Sets the time of this Identification. - Time expressed according to ISO 8601 in UTC format. # noqa: E501 + Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 - :param time: The time of this ProductsResponseIdentificationData. # noqa: E501 + :param time: The time of this Identification. # noqa: E501 """ if time is None: raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 @@ -261,21 +314,21 @@ def time(self, time: datetime): @property def url(self) -> str: - """Gets the url of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the url of this Identification. # noqa: E501 - Page URL from which the identification request was sent. # noqa: E501 + Page URL from which the request was sent. # noqa: E501 - :return: The url of this ProductsResponseIdentificationData. # noqa: E501 + :return: The url of this Identification. # noqa: E501 """ return self._url @url.setter def url(self, url: str): - """Sets the url of this ProductsResponseIdentificationData. + """Sets the url of this Identification. - Page URL from which the identification request was sent. # noqa: E501 + Page URL from which the request was sent. # noqa: E501 - :param url: The url of this ProductsResponseIdentificationData. # noqa: E501 + :param url: The url of this Identification. # noqa: E501 """ if url is None: raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 @@ -283,22 +336,20 @@ def url(self, url: str): self._url = url @property - def tag(self) -> Dict[str, object]: - """Gets the tag of this ProductsResponseIdentificationData. # noqa: E501 + def tag(self) -> Tag: + """Gets the tag of this Identification. # noqa: E501 - A customer-provided value or an object that was sent with identification request. # noqa: E501 - :return: The tag of this ProductsResponseIdentificationData. # noqa: E501 + :return: The tag of this Identification. # noqa: E501 """ return self._tag @tag.setter - def tag(self, tag: Dict[str, object]): - """Sets the tag of this ProductsResponseIdentificationData. + def tag(self, tag: Tag): + """Sets the tag of this Identification. - A customer-provided value or an object that was sent with identification request. # noqa: E501 - :param tag: The tag of this ProductsResponseIdentificationData. # noqa: E501 + :param tag: The tag of this Identification. # noqa: E501 """ if tag is None: raise ValueError("Invalid value for `tag`, must not be `None`") # noqa: E501 @@ -306,62 +357,41 @@ def tag(self, tag: Dict[str, object]): self._tag = tag @property - def linked_id(self) -> Optional[str]: - """Gets the linked_id of this ProductsResponseIdentificationData. # noqa: E501 - - A customer-provided id that was sent with identification request. # noqa: E501 - - :return: The linked_id of this ProductsResponseIdentificationData. # noqa: E501 - """ - return self._linked_id - - @linked_id.setter - def linked_id(self, linked_id: Optional[str]): - """Sets the linked_id of this ProductsResponseIdentificationData. - - A customer-provided id that was sent with identification request. # noqa: E501 - - :param linked_id: The linked_id of this ProductsResponseIdentificationData. # noqa: E501 - """ - - self._linked_id = linked_id - - @property - def confidence(self) -> Optional[Confidence]: - """Gets the confidence of this ProductsResponseIdentificationData. # noqa: E501 + def confidence(self) -> Optional[IdentificationConfidence]: + """Gets the confidence of this Identification. # noqa: E501 - :return: The confidence of this ProductsResponseIdentificationData. # noqa: E501 + :return: The confidence of this Identification. # noqa: E501 """ return self._confidence @confidence.setter - def confidence(self, confidence: Optional[Confidence]): - """Sets the confidence of this ProductsResponseIdentificationData. + def confidence(self, confidence: Optional[IdentificationConfidence]): + """Sets the confidence of this Identification. - :param confidence: The confidence of this ProductsResponseIdentificationData. # noqa: E501 + :param confidence: The confidence of this Identification. # noqa: E501 """ self._confidence = confidence @property def visitor_found(self) -> bool: - """Gets the visitor_found of this ProductsResponseIdentificationData. # noqa: E501 + """Gets the visitor_found of this Identification. # noqa: E501 Attribute represents if a visitor had been identified before. # noqa: E501 - :return: The visitor_found of this ProductsResponseIdentificationData. # noqa: E501 + :return: The visitor_found of this Identification. # noqa: E501 """ return self._visitor_found @visitor_found.setter def visitor_found(self, visitor_found: bool): - """Sets the visitor_found of this ProductsResponseIdentificationData. + """Sets the visitor_found of this Identification. Attribute represents if a visitor had been identified before. # noqa: E501 - :param visitor_found: The visitor_found of this ProductsResponseIdentificationData. # noqa: E501 + :param visitor_found: The visitor_found of this Identification. # noqa: E501 """ if visitor_found is None: raise ValueError("Invalid value for `visitor_found`, must not be `None`") # noqa: E501 @@ -369,20 +399,20 @@ def visitor_found(self, visitor_found: bool): self._visitor_found = visitor_found @property - def first_seen_at(self) -> SeenAt: - """Gets the first_seen_at of this ProductsResponseIdentificationData. # noqa: E501 + def first_seen_at(self) -> IdentificationSeenAt: + """Gets the first_seen_at of this Identification. # noqa: E501 - :return: The first_seen_at of this ProductsResponseIdentificationData. # noqa: E501 + :return: The first_seen_at of this Identification. # noqa: E501 """ return self._first_seen_at @first_seen_at.setter - def first_seen_at(self, first_seen_at: SeenAt): - """Sets the first_seen_at of this ProductsResponseIdentificationData. + def first_seen_at(self, first_seen_at: IdentificationSeenAt): + """Sets the first_seen_at of this Identification. - :param first_seen_at: The first_seen_at of this ProductsResponseIdentificationData. # noqa: E501 + :param first_seen_at: The first_seen_at of this Identification. # noqa: E501 """ if first_seen_at is None: raise ValueError("Invalid value for `first_seen_at`, must not be `None`") # noqa: E501 @@ -390,20 +420,20 @@ def first_seen_at(self, first_seen_at: SeenAt): self._first_seen_at = first_seen_at @property - def last_seen_at(self) -> SeenAt: - """Gets the last_seen_at of this ProductsResponseIdentificationData. # noqa: E501 + def last_seen_at(self) -> IdentificationSeenAt: + """Gets the last_seen_at of this Identification. # noqa: E501 - :return: The last_seen_at of this ProductsResponseIdentificationData. # noqa: E501 + :return: The last_seen_at of this Identification. # noqa: E501 """ return self._last_seen_at @last_seen_at.setter - def last_seen_at(self, last_seen_at: SeenAt): - """Sets the last_seen_at of this ProductsResponseIdentificationData. + def last_seen_at(self, last_seen_at: IdentificationSeenAt): + """Sets the last_seen_at of this Identification. - :param last_seen_at: The last_seen_at of this ProductsResponseIdentificationData. # noqa: E501 + :param last_seen_at: The last_seen_at of this Identification. # noqa: E501 """ if last_seen_at is None: raise ValueError("Invalid value for `last_seen_at`, must not be `None`") # noqa: E501 @@ -411,25 +441,21 @@ def last_seen_at(self, last_seen_at: SeenAt): self._last_seen_at = last_seen_at @property - def visitor_id(self) -> str: - """Gets the visitor_id of this ProductsResponseIdentificationData. # noqa: E501 + def components(self) -> Optional[RawDeviceAttributes]: + """Gets the components of this Identification. # noqa: E501 - String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 - :return: The visitor_id of this ProductsResponseIdentificationData. # noqa: E501 + :return: The components of this Identification. # noqa: E501 """ - return self._visitor_id + return self._components - @visitor_id.setter - def visitor_id(self, visitor_id: str): - """Sets the visitor_id of this ProductsResponseIdentificationData. + @components.setter + def components(self, components: Optional[RawDeviceAttributes]): + """Sets the components of this Identification. - String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 - :param visitor_id: The visitor_id of this ProductsResponseIdentificationData. # noqa: E501 + :param components: The components of this Identification. # noqa: E501 """ - if visitor_id is None: - raise ValueError("Invalid value for `visitor_id`, must not be `None`") # noqa: E501 - self._visitor_id = visitor_id + self._components = components diff --git a/fingerprint_pro_server_api_sdk/models/confidence.py b/fingerprint_pro_server_api_sdk/models/identification_confidence.py similarity index 62% rename from fingerprint_pro_server_api_sdk/models/confidence.py rename to fingerprint_pro_server_api_sdk/models/identification_confidence.py index cb502867..060d88b1 100644 --- a/fingerprint_pro_server_api_sdk/models/confidence.py +++ b/fingerprint_pro_server_api_sdk/models/identification_confidence.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class Confidence(BaseModel): +class IdentificationConfidence(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,40 +29,45 @@ class Confidence(BaseModel): """ swagger_types = { 'score': 'float', - 'revision': 'str' + 'revision': 'str', + 'comment': 'str' } attribute_map = { 'score': 'score', - 'revision': 'revision' + 'revision': 'revision', + 'comment': 'comment' } - def __init__(self, score=None, revision=None): # noqa: E501 - """Confidence - a model defined in Swagger""" # noqa: E501 + def __init__(self, score=None, revision=None, comment=None): # noqa: E501 + """IdentificationConfidence - a model defined in Swagger""" # noqa: E501 self._score = None self._revision = None + self._comment = None self.discriminator = None self.score = score if revision is not None: self.revision = revision + if comment is not None: + self.comment = comment @property def score(self) -> float: - """Gets the score of this Confidence. # noqa: E501 + """Gets the score of this IdentificationConfidence. # noqa: E501 The confidence score is a floating-point number between 0 and 1 that represents the probability of accurate identification. # noqa: E501 - :return: The score of this Confidence. # noqa: E501 + :return: The score of this IdentificationConfidence. # noqa: E501 """ return self._score @score.setter def score(self, score: float): - """Sets the score of this Confidence. + """Sets the score of this IdentificationConfidence. The confidence score is a floating-point number between 0 and 1 that represents the probability of accurate identification. # noqa: E501 - :param score: The score of this Confidence. # noqa: E501 + :param score: The score of this IdentificationConfidence. # noqa: E501 """ if score is None: raise ValueError("Invalid value for `score`, must not be `None`") # noqa: E501 @@ -71,22 +76,41 @@ def score(self, score: float): @property def revision(self) -> Optional[str]: - """Gets the revision of this Confidence. # noqa: E501 + """Gets the revision of this IdentificationConfidence. # noqa: E501 The revision name of the method used to calculate the Confidence score. This field is only present for customers who opted in to an alternative calculation method. # noqa: E501 - :return: The revision of this Confidence. # noqa: E501 + :return: The revision of this IdentificationConfidence. # noqa: E501 """ return self._revision @revision.setter def revision(self, revision: Optional[str]): - """Sets the revision of this Confidence. + """Sets the revision of this IdentificationConfidence. The revision name of the method used to calculate the Confidence score. This field is only present for customers who opted in to an alternative calculation method. # noqa: E501 - :param revision: The revision of this Confidence. # noqa: E501 + :param revision: The revision of this IdentificationConfidence. # noqa: E501 """ self._revision = revision + @property + def comment(self) -> Optional[str]: + """Gets the comment of this IdentificationConfidence. # noqa: E501 + + + :return: The comment of this IdentificationConfidence. # noqa: E501 + """ + return self._comment + + @comment.setter + def comment(self, comment: Optional[str]): + """Sets the comment of this IdentificationConfidence. + + + :param comment: The comment of this IdentificationConfidence. # noqa: E501 + """ + + self._comment = comment + diff --git a/fingerprint_pro_server_api_sdk/models/identification_error.py b/fingerprint_pro_server_api_sdk/models/identification_error.py deleted file mode 100644 index 7903cd84..00000000 --- a/fingerprint_pro_server_api_sdk/models/identification_error.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class IdentificationError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """IdentificationError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this IdentificationError. # noqa: E501 - - Error code: * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded * `Failed` - internal server error # noqa: E501 - - :return: The code of this IdentificationError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this IdentificationError. - - Error code: * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded * `Failed` - internal server error # noqa: E501 - - :param code: The code of this IdentificationError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["429 Too Many Requests", "Failed"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this IdentificationError. # noqa: E501 - - - :return: The message of this IdentificationError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this IdentificationError. - - - :param message: The message of this IdentificationError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/seen_at.py b/fingerprint_pro_server_api_sdk/models/identification_seen_at.py similarity index 74% rename from fingerprint_pro_server_api_sdk/models/seen_at.py rename to fingerprint_pro_server_api_sdk/models/identification_seen_at.py index fac3db30..8c5bcc6a 100644 --- a/fingerprint_pro_server_api_sdk/models/seen_at.py +++ b/fingerprint_pro_server_api_sdk/models/identification_seen_at.py @@ -17,7 +17,7 @@ from datetime import datetime -class SeenAt(BaseModel): +class IdentificationSeenAt(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class SeenAt(BaseModel): } def __init__(self, _global=None, subscription=None): # noqa: E501 - """SeenAt - a model defined in Swagger""" # noqa: E501 + """IdentificationSeenAt - a model defined in Swagger""" # noqa: E501 self.__global = None self._subscription = None self.discriminator = None @@ -49,38 +49,38 @@ def __init__(self, _global=None, subscription=None): # noqa: E501 @property def _global(self) -> datetime: - """Gets the _global of this SeenAt. # noqa: E501 + """Gets the _global of this IdentificationSeenAt. # noqa: E501 - :return: The _global of this SeenAt. # noqa: E501 + :return: The _global of this IdentificationSeenAt. # noqa: E501 """ return self.__global @_global.setter def _global(self, _global: datetime): - """Sets the _global of this SeenAt. + """Sets the _global of this IdentificationSeenAt. - :param _global: The _global of this SeenAt. # noqa: E501 + :param _global: The _global of this IdentificationSeenAt. # noqa: E501 """ self.__global = _global @property def subscription(self) -> datetime: - """Gets the subscription of this SeenAt. # noqa: E501 + """Gets the subscription of this IdentificationSeenAt. # noqa: E501 - :return: The subscription of this SeenAt. # noqa: E501 + :return: The subscription of this IdentificationSeenAt. # noqa: E501 """ return self._subscription @subscription.setter def subscription(self, subscription: datetime): - """Sets the subscription of this SeenAt. + """Sets the subscription of this IdentificationSeenAt. - :param subscription: The subscription of this SeenAt. # noqa: E501 + :param subscription: The subscription of this IdentificationSeenAt. # noqa: E501 """ self._subscription = subscription diff --git a/fingerprint_pro_server_api_sdk/models/incognito_result.py b/fingerprint_pro_server_api_sdk/models/incognito.py similarity index 83% rename from fingerprint_pro_server_api_sdk/models/incognito_result.py rename to fingerprint_pro_server_api_sdk/models/incognito.py index c9db2562..14ded3ec 100644 --- a/fingerprint_pro_server_api_sdk/models/incognito_result.py +++ b/fingerprint_pro_server_api_sdk/models/incognito.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class IncognitoResult(BaseModel): +class Incognito(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class IncognitoResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """IncognitoResult - a model defined in Swagger""" # noqa: E501 + """Incognito - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this IncognitoResult. # noqa: E501 + """Gets the result of this Incognito. # noqa: E501 `true` if we detected incognito mode used in the browser, `false` otherwise. # noqa: E501 - :return: The result of this IncognitoResult. # noqa: E501 + :return: The result of this Incognito. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this IncognitoResult. + """Sets the result of this Incognito. `true` if we detected incognito mode used in the browser, `false` otherwise. # noqa: E501 - :param result: The result of this IncognitoResult. # noqa: E501 + :param result: The result of this Incognito. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/ip_block_list_result.py b/fingerprint_pro_server_api_sdk/models/ip_blocklist.py similarity index 72% rename from fingerprint_pro_server_api_sdk/models/ip_block_list_result.py rename to fingerprint_pro_server_api_sdk/models/ip_blocklist.py index c344a389..978c3f3c 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_block_list_result.py +++ b/fingerprint_pro_server_api_sdk/models/ip_blocklist.py @@ -13,10 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_block_list_result_details import IpBlockListResultDetails +from fingerprint_pro_server_api_sdk.models.ip_blocklist_details import IPBlocklistDetails -class IpBlockListResult(BaseModel): +class IPBlocklist(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class IpBlockListResult(BaseModel): """ swagger_types = { 'result': 'bool', - 'details': 'IpBlockListResultDetails' + 'details': 'IPBlocklistDetails' } attribute_map = { @@ -39,7 +39,7 @@ class IpBlockListResult(BaseModel): } def __init__(self, result=None, details=None): # noqa: E501 - """IpBlockListResult - a model defined in Swagger""" # noqa: E501 + """IPBlocklist - a model defined in Swagger""" # noqa: E501 self._result = None self._details = None self.discriminator = None @@ -48,21 +48,21 @@ def __init__(self, result=None, details=None): # noqa: E501 @property def result(self) -> bool: - """Gets the result of this IpBlockListResult. # noqa: E501 + """Gets the result of this IPBlocklist. # noqa: E501 `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. # noqa: E501 - :return: The result of this IpBlockListResult. # noqa: E501 + :return: The result of this IPBlocklist. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this IpBlockListResult. + """Sets the result of this IPBlocklist. `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. # noqa: E501 - :param result: The result of this IpBlockListResult. # noqa: E501 + :param result: The result of this IPBlocklist. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 @@ -70,20 +70,20 @@ def result(self, result: bool): self._result = result @property - def details(self) -> IpBlockListResultDetails: - """Gets the details of this IpBlockListResult. # noqa: E501 + def details(self) -> IPBlocklistDetails: + """Gets the details of this IPBlocklist. # noqa: E501 - :return: The details of this IpBlockListResult. # noqa: E501 + :return: The details of this IPBlocklist. # noqa: E501 """ return self._details @details.setter - def details(self, details: IpBlockListResultDetails): - """Sets the details of this IpBlockListResult. + def details(self, details: IPBlocklistDetails): + """Sets the details of this IPBlocklist. - :param details: The details of this IpBlockListResult. # noqa: E501 + :param details: The details of this IPBlocklist. # noqa: E501 """ if details is None: raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/ip_block_list_result_details.py b/fingerprint_pro_server_api_sdk/models/ip_blocklist_details.py similarity index 77% rename from fingerprint_pro_server_api_sdk/models/ip_block_list_result_details.py rename to fingerprint_pro_server_api_sdk/models/ip_blocklist_details.py index 38e76422..a2558892 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_block_list_result_details.py +++ b/fingerprint_pro_server_api_sdk/models/ip_blocklist_details.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class IpBlockListResultDetails(BaseModel): +class IPBlocklistDetails(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,7 +38,7 @@ class IpBlockListResultDetails(BaseModel): } def __init__(self, email_spam=None, attack_source=None): # noqa: E501 - """IpBlockListResultDetails - a model defined in Swagger""" # noqa: E501 + """IPBlocklistDetails - a model defined in Swagger""" # noqa: E501 self._email_spam = None self._attack_source = None self.discriminator = None @@ -47,21 +47,21 @@ def __init__(self, email_spam=None, attack_source=None): # noqa: E501 @property def email_spam(self) -> bool: - """Gets the email_spam of this IpBlockListResultDetails. # noqa: E501 + """Gets the email_spam of this IPBlocklistDetails. # noqa: E501 IP address was part of a known email spam attack (SMTP). # noqa: E501 - :return: The email_spam of this IpBlockListResultDetails. # noqa: E501 + :return: The email_spam of this IPBlocklistDetails. # noqa: E501 """ return self._email_spam @email_spam.setter def email_spam(self, email_spam: bool): - """Sets the email_spam of this IpBlockListResultDetails. + """Sets the email_spam of this IPBlocklistDetails. IP address was part of a known email spam attack (SMTP). # noqa: E501 - :param email_spam: The email_spam of this IpBlockListResultDetails. # noqa: E501 + :param email_spam: The email_spam of this IPBlocklistDetails. # noqa: E501 """ if email_spam is None: raise ValueError("Invalid value for `email_spam`, must not be `None`") # noqa: E501 @@ -70,21 +70,21 @@ def email_spam(self, email_spam: bool): @property def attack_source(self) -> bool: - """Gets the attack_source of this IpBlockListResultDetails. # noqa: E501 + """Gets the attack_source of this IPBlocklistDetails. # noqa: E501 IP address was part of a known network attack (SSH/HTTPS). # noqa: E501 - :return: The attack_source of this IpBlockListResultDetails. # noqa: E501 + :return: The attack_source of this IPBlocklistDetails. # noqa: E501 """ return self._attack_source @attack_source.setter def attack_source(self, attack_source: bool): - """Sets the attack_source of this IpBlockListResultDetails. + """Sets the attack_source of this IPBlocklistDetails. IP address was part of a known network attack (SSH/HTTPS). # noqa: E501 - :param attack_source: The attack_source of this IpBlockListResultDetails. # noqa: E501 + :param attack_source: The attack_source of this IPBlocklistDetails. # noqa: E501 """ if attack_source is None: raise ValueError("Invalid value for `attack_source`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/ip_info_result.py b/fingerprint_pro_server_api_sdk/models/ip_info.py similarity index 64% rename from fingerprint_pro_server_api_sdk/models/ip_info_result.py rename to fingerprint_pro_server_api_sdk/models/ip_info.py index e727a16e..0cc8ba9e 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_info_result.py +++ b/fingerprint_pro_server_api_sdk/models/ip_info.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_info_result_v4 import IpInfoResultV4 -from fingerprint_pro_server_api_sdk.models.ip_info_result_v6 import IpInfoResultV6 +from fingerprint_pro_server_api_sdk.models.ip_info_v4 import IPInfoV4 +from fingerprint_pro_server_api_sdk.models.ip_info_v6 import IPInfoV6 -class IpInfoResult(BaseModel): +class IPInfo(BaseModel): """ Details about the request IP address. Has separate fields for v4 and v6 IP address versions. @@ -33,8 +33,8 @@ class IpInfoResult(BaseModel): and the value is json key in definition. """ swagger_types = { - 'v4': 'IpInfoResultV4', - 'v6': 'IpInfoResultV6' + 'v4': 'IPInfoV4', + 'v6': 'IPInfoV6' } attribute_map = { @@ -43,7 +43,7 @@ class IpInfoResult(BaseModel): } def __init__(self, v4=None, v6=None): # noqa: E501 - """IpInfoResult - a model defined in Swagger""" # noqa: E501 + """IPInfo - a model defined in Swagger""" # noqa: E501 self._v4 = None self._v6 = None self.discriminator = None @@ -53,39 +53,39 @@ def __init__(self, v4=None, v6=None): # noqa: E501 self.v6 = v6 @property - def v4(self) -> Optional[IpInfoResultV4]: - """Gets the v4 of this IpInfoResult. # noqa: E501 + def v4(self) -> Optional[IPInfoV4]: + """Gets the v4 of this IPInfo. # noqa: E501 - :return: The v4 of this IpInfoResult. # noqa: E501 + :return: The v4 of this IPInfo. # noqa: E501 """ return self._v4 @v4.setter - def v4(self, v4: Optional[IpInfoResultV4]): - """Sets the v4 of this IpInfoResult. + def v4(self, v4: Optional[IPInfoV4]): + """Sets the v4 of this IPInfo. - :param v4: The v4 of this IpInfoResult. # noqa: E501 + :param v4: The v4 of this IPInfo. # noqa: E501 """ self._v4 = v4 @property - def v6(self) -> Optional[IpInfoResultV6]: - """Gets the v6 of this IpInfoResult. # noqa: E501 + def v6(self) -> Optional[IPInfoV6]: + """Gets the v6 of this IPInfo. # noqa: E501 - :return: The v6 of this IpInfoResult. # noqa: E501 + :return: The v6 of this IPInfo. # noqa: E501 """ return self._v6 @v6.setter - def v6(self, v6: Optional[IpInfoResultV6]): - """Sets the v6 of this IpInfoResult. + def v6(self, v6: Optional[IPInfoV6]): + """Sets the v6 of this IPInfo. - :param v6: The v6 of this IpInfoResult. # noqa: E501 + :param v6: The v6 of this IPInfo. # noqa: E501 """ self._v6 = v6 diff --git a/fingerprint_pro_server_api_sdk/models/asn.py b/fingerprint_pro_server_api_sdk/models/ip_info_asn.py similarity index 64% rename from fingerprint_pro_server_api_sdk/models/asn.py rename to fingerprint_pro_server_api_sdk/models/ip_info_asn.py index d64ed39d..e7f5561f 100644 --- a/fingerprint_pro_server_api_sdk/models/asn.py +++ b/fingerprint_pro_server_api_sdk/models/ip_info_asn.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class ASN(BaseModel): +class IPInfoASN(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,42 +29,41 @@ class ASN(BaseModel): """ swagger_types = { 'asn': 'str', - 'network': 'str', - 'name': 'str' + 'name': 'str', + 'network': 'str' } attribute_map = { 'asn': 'asn', - 'network': 'network', - 'name': 'name' + 'name': 'name', + 'network': 'network' } - def __init__(self, asn=None, network=None, name=None): # noqa: E501 - """ASN - a model defined in Swagger""" # noqa: E501 + def __init__(self, asn=None, name=None, network=None): # noqa: E501 + """IPInfoASN - a model defined in Swagger""" # noqa: E501 self._asn = None - self._network = None self._name = None + self._network = None self.discriminator = None self.asn = asn + self.name = name self.network = network - if name is not None: - self.name = name @property def asn(self) -> str: - """Gets the asn of this ASN. # noqa: E501 + """Gets the asn of this IPInfoASN. # noqa: E501 - :return: The asn of this ASN. # noqa: E501 + :return: The asn of this IPInfoASN. # noqa: E501 """ return self._asn @asn.setter def asn(self, asn: str): - """Sets the asn of this ASN. + """Sets the asn of this IPInfoASN. - :param asn: The asn of this ASN. # noqa: E501 + :param asn: The asn of this IPInfoASN. # noqa: E501 """ if asn is None: raise ValueError("Invalid value for `asn`, must not be `None`") # noqa: E501 @@ -72,42 +71,44 @@ def asn(self, asn: str): self._asn = asn @property - def network(self) -> str: - """Gets the network of this ASN. # noqa: E501 + def name(self) -> str: + """Gets the name of this IPInfoASN. # noqa: E501 - :return: The network of this ASN. # noqa: E501 + :return: The name of this IPInfoASN. # noqa: E501 """ - return self._network + return self._name - @network.setter - def network(self, network: str): - """Sets the network of this ASN. + @name.setter + def name(self, name: str): + """Sets the name of this IPInfoASN. - :param network: The network of this ASN. # noqa: E501 + :param name: The name of this IPInfoASN. # noqa: E501 """ - if network is None: - raise ValueError("Invalid value for `network`, must not be `None`") # noqa: E501 + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._network = network + self._name = name @property - def name(self) -> Optional[str]: - """Gets the name of this ASN. # noqa: E501 + def network(self) -> str: + """Gets the network of this IPInfoASN. # noqa: E501 - :return: The name of this ASN. # noqa: E501 + :return: The network of this IPInfoASN. # noqa: E501 """ - return self._name + return self._network - @name.setter - def name(self, name: Optional[str]): - """Sets the name of this ASN. + @network.setter + def network(self, network: str): + """Sets the network of this IPInfoASN. - :param name: The name of this ASN. # noqa: E501 + :param network: The network of this IPInfoASN. # noqa: E501 """ + if network is None: + raise ValueError("Invalid value for `network`, must not be `None`") # noqa: E501 - self._name = name + self._network = network diff --git a/fingerprint_pro_server_api_sdk/models/data_center.py b/fingerprint_pro_server_api_sdk/models/ip_info_data_center.py similarity index 69% rename from fingerprint_pro_server_api_sdk/models/data_center.py rename to fingerprint_pro_server_api_sdk/models/ip_info_data_center.py index b7e8cff7..0de738c2 100644 --- a/fingerprint_pro_server_api_sdk/models/data_center.py +++ b/fingerprint_pro_server_api_sdk/models/ip_info_data_center.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class DataCenter(BaseModel): +class IPInfoDataCenter(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,29 +38,28 @@ class DataCenter(BaseModel): } def __init__(self, result=None, name=None): # noqa: E501 - """DataCenter - a model defined in Swagger""" # noqa: E501 + """IPInfoDataCenter - a model defined in Swagger""" # noqa: E501 self._result = None self._name = None self.discriminator = None self.result = result - if name is not None: - self.name = name + self.name = name @property def result(self) -> bool: - """Gets the result of this DataCenter. # noqa: E501 + """Gets the result of this IPInfoDataCenter. # noqa: E501 - :return: The result of this DataCenter. # noqa: E501 + :return: The result of this IPInfoDataCenter. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this DataCenter. + """Sets the result of this IPInfoDataCenter. - :param result: The result of this DataCenter. # noqa: E501 + :param result: The result of this IPInfoDataCenter. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 @@ -68,21 +67,23 @@ def result(self, result: bool): self._result = result @property - def name(self) -> Optional[str]: - """Gets the name of this DataCenter. # noqa: E501 + def name(self) -> str: + """Gets the name of this IPInfoDataCenter. # noqa: E501 - :return: The name of this DataCenter. # noqa: E501 + :return: The name of this IPInfoDataCenter. # noqa: E501 """ return self._name @name.setter - def name(self, name: Optional[str]): - """Sets the name of this DataCenter. + def name(self, name: str): + """Sets the name of this IPInfoDataCenter. - :param name: The name of this DataCenter. # noqa: E501 + :param name: The name of this IPInfoDataCenter. # noqa: E501 """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 self._name = name diff --git a/fingerprint_pro_server_api_sdk/models/ip_info_result_v4.py b/fingerprint_pro_server_api_sdk/models/ip_info_v4.py similarity index 60% rename from fingerprint_pro_server_api_sdk/models/ip_info_result_v4.py rename to fingerprint_pro_server_api_sdk/models/ip_info_v4.py index d4731fb4..72cd3b2b 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_info_result_v4.py +++ b/fingerprint_pro_server_api_sdk/models/ip_info_v4.py @@ -13,12 +13,12 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_location import IPLocation -from fingerprint_pro_server_api_sdk.models.asn import ASN -from fingerprint_pro_server_api_sdk.models.data_center import DataCenter +from fingerprint_pro_server_api_sdk.models.geolocation import Geolocation +from fingerprint_pro_server_api_sdk.models.ip_info_asn import IPInfoASN +from fingerprint_pro_server_api_sdk.models.ip_info_data_center import IPInfoDataCenter -class IpInfoResultV4(BaseModel): +class IPInfoV4(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -32,9 +32,9 @@ class IpInfoResultV4(BaseModel): """ swagger_types = { 'address': 'str', - 'geolocation': 'IPLocation', - 'asn': 'ASN', - 'datacenter': 'DataCenter' + 'geolocation': 'Geolocation', + 'asn': 'IPInfoASN', + 'datacenter': 'IPInfoDataCenter' } attribute_map = { @@ -45,7 +45,7 @@ class IpInfoResultV4(BaseModel): } def __init__(self, address=None, geolocation=None, asn=None, datacenter=None): # noqa: E501 - """IpInfoResultV4 - a model defined in Swagger""" # noqa: E501 + """IPInfoV4 - a model defined in Swagger""" # noqa: E501 self._address = None self._geolocation = None self._asn = None @@ -60,19 +60,19 @@ def __init__(self, address=None, geolocation=None, asn=None, datacenter=None): @property def address(self) -> str: - """Gets the address of this IpInfoResultV4. # noqa: E501 + """Gets the address of this IPInfoV4. # noqa: E501 - :return: The address of this IpInfoResultV4. # noqa: E501 + :return: The address of this IPInfoV4. # noqa: E501 """ return self._address @address.setter def address(self, address: str): - """Sets the address of this IpInfoResultV4. + """Sets the address of this IPInfoV4. - :param address: The address of this IpInfoResultV4. # noqa: E501 + :param address: The address of this IPInfoV4. # noqa: E501 """ if address is None: raise ValueError("Invalid value for `address`, must not be `None`") # noqa: E501 @@ -80,20 +80,20 @@ def address(self, address: str): self._address = address @property - def geolocation(self) -> IPLocation: - """Gets the geolocation of this IpInfoResultV4. # noqa: E501 + def geolocation(self) -> Geolocation: + """Gets the geolocation of this IPInfoV4. # noqa: E501 - :return: The geolocation of this IpInfoResultV4. # noqa: E501 + :return: The geolocation of this IPInfoV4. # noqa: E501 """ return self._geolocation @geolocation.setter - def geolocation(self, geolocation: IPLocation): - """Sets the geolocation of this IpInfoResultV4. + def geolocation(self, geolocation: Geolocation): + """Sets the geolocation of this IPInfoV4. - :param geolocation: The geolocation of this IpInfoResultV4. # noqa: E501 + :param geolocation: The geolocation of this IPInfoV4. # noqa: E501 """ if geolocation is None: raise ValueError("Invalid value for `geolocation`, must not be `None`") # noqa: E501 @@ -101,39 +101,39 @@ def geolocation(self, geolocation: IPLocation): self._geolocation = geolocation @property - def asn(self) -> Optional[ASN]: - """Gets the asn of this IpInfoResultV4. # noqa: E501 + def asn(self) -> Optional[IPInfoASN]: + """Gets the asn of this IPInfoV4. # noqa: E501 - :return: The asn of this IpInfoResultV4. # noqa: E501 + :return: The asn of this IPInfoV4. # noqa: E501 """ return self._asn @asn.setter - def asn(self, asn: Optional[ASN]): - """Sets the asn of this IpInfoResultV4. + def asn(self, asn: Optional[IPInfoASN]): + """Sets the asn of this IPInfoV4. - :param asn: The asn of this IpInfoResultV4. # noqa: E501 + :param asn: The asn of this IPInfoV4. # noqa: E501 """ self._asn = asn @property - def datacenter(self) -> Optional[DataCenter]: - """Gets the datacenter of this IpInfoResultV4. # noqa: E501 + def datacenter(self) -> Optional[IPInfoDataCenter]: + """Gets the datacenter of this IPInfoV4. # noqa: E501 - :return: The datacenter of this IpInfoResultV4. # noqa: E501 + :return: The datacenter of this IPInfoV4. # noqa: E501 """ return self._datacenter @datacenter.setter - def datacenter(self, datacenter: Optional[DataCenter]): - """Sets the datacenter of this IpInfoResultV4. + def datacenter(self, datacenter: Optional[IPInfoDataCenter]): + """Sets the datacenter of this IPInfoV4. - :param datacenter: The datacenter of this IpInfoResultV4. # noqa: E501 + :param datacenter: The datacenter of this IPInfoV4. # noqa: E501 """ self._datacenter = datacenter diff --git a/fingerprint_pro_server_api_sdk/models/ip_info_result_v6.py b/fingerprint_pro_server_api_sdk/models/ip_info_v6.py similarity index 60% rename from fingerprint_pro_server_api_sdk/models/ip_info_result_v6.py rename to fingerprint_pro_server_api_sdk/models/ip_info_v6.py index 7ba56e1c..21e6c337 100644 --- a/fingerprint_pro_server_api_sdk/models/ip_info_result_v6.py +++ b/fingerprint_pro_server_api_sdk/models/ip_info_v6.py @@ -13,12 +13,12 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_location import IPLocation -from fingerprint_pro_server_api_sdk.models.asn import ASN -from fingerprint_pro_server_api_sdk.models.data_center import DataCenter +from fingerprint_pro_server_api_sdk.models.geolocation import Geolocation +from fingerprint_pro_server_api_sdk.models.ip_info_asn import IPInfoASN +from fingerprint_pro_server_api_sdk.models.ip_info_data_center import IPInfoDataCenter -class IpInfoResultV6(BaseModel): +class IPInfoV6(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -32,9 +32,9 @@ class IpInfoResultV6(BaseModel): """ swagger_types = { 'address': 'str', - 'geolocation': 'IPLocation', - 'asn': 'ASN', - 'datacenter': 'DataCenter' + 'geolocation': 'Geolocation', + 'asn': 'IPInfoASN', + 'datacenter': 'IPInfoDataCenter' } attribute_map = { @@ -45,7 +45,7 @@ class IpInfoResultV6(BaseModel): } def __init__(self, address=None, geolocation=None, asn=None, datacenter=None): # noqa: E501 - """IpInfoResultV6 - a model defined in Swagger""" # noqa: E501 + """IPInfoV6 - a model defined in Swagger""" # noqa: E501 self._address = None self._geolocation = None self._asn = None @@ -60,19 +60,19 @@ def __init__(self, address=None, geolocation=None, asn=None, datacenter=None): @property def address(self) -> str: - """Gets the address of this IpInfoResultV6. # noqa: E501 + """Gets the address of this IPInfoV6. # noqa: E501 - :return: The address of this IpInfoResultV6. # noqa: E501 + :return: The address of this IPInfoV6. # noqa: E501 """ return self._address @address.setter def address(self, address: str): - """Sets the address of this IpInfoResultV6. + """Sets the address of this IPInfoV6. - :param address: The address of this IpInfoResultV6. # noqa: E501 + :param address: The address of this IPInfoV6. # noqa: E501 """ if address is None: raise ValueError("Invalid value for `address`, must not be `None`") # noqa: E501 @@ -80,20 +80,20 @@ def address(self, address: str): self._address = address @property - def geolocation(self) -> IPLocation: - """Gets the geolocation of this IpInfoResultV6. # noqa: E501 + def geolocation(self) -> Geolocation: + """Gets the geolocation of this IPInfoV6. # noqa: E501 - :return: The geolocation of this IpInfoResultV6. # noqa: E501 + :return: The geolocation of this IPInfoV6. # noqa: E501 """ return self._geolocation @geolocation.setter - def geolocation(self, geolocation: IPLocation): - """Sets the geolocation of this IpInfoResultV6. + def geolocation(self, geolocation: Geolocation): + """Sets the geolocation of this IPInfoV6. - :param geolocation: The geolocation of this IpInfoResultV6. # noqa: E501 + :param geolocation: The geolocation of this IPInfoV6. # noqa: E501 """ if geolocation is None: raise ValueError("Invalid value for `geolocation`, must not be `None`") # noqa: E501 @@ -101,39 +101,39 @@ def geolocation(self, geolocation: IPLocation): self._geolocation = geolocation @property - def asn(self) -> Optional[ASN]: - """Gets the asn of this IpInfoResultV6. # noqa: E501 + def asn(self) -> Optional[IPInfoASN]: + """Gets the asn of this IPInfoV6. # noqa: E501 - :return: The asn of this IpInfoResultV6. # noqa: E501 + :return: The asn of this IPInfoV6. # noqa: E501 """ return self._asn @asn.setter - def asn(self, asn: Optional[ASN]): - """Sets the asn of this IpInfoResultV6. + def asn(self, asn: Optional[IPInfoASN]): + """Sets the asn of this IPInfoV6. - :param asn: The asn of this IpInfoResultV6. # noqa: E501 + :param asn: The asn of this IPInfoV6. # noqa: E501 """ self._asn = asn @property - def datacenter(self) -> Optional[DataCenter]: - """Gets the datacenter of this IpInfoResultV6. # noqa: E501 + def datacenter(self) -> Optional[IPInfoDataCenter]: + """Gets the datacenter of this IPInfoV6. # noqa: E501 - :return: The datacenter of this IpInfoResultV6. # noqa: E501 + :return: The datacenter of this IPInfoV6. # noqa: E501 """ return self._datacenter @datacenter.setter - def datacenter(self, datacenter: Optional[DataCenter]): - """Sets the datacenter of this IpInfoResultV6. + def datacenter(self, datacenter: Optional[IPInfoDataCenter]): + """Sets the datacenter of this IPInfoV6. - :param datacenter: The datacenter of this IpInfoResultV6. # noqa: E501 + :param datacenter: The datacenter of this IPInfoV6. # noqa: E501 """ self._datacenter = datacenter diff --git a/fingerprint_pro_server_api_sdk/models/jailbroken.py b/fingerprint_pro_server_api_sdk/models/jailbroken.py new file mode 100644 index 00000000..35219ac9 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/jailbroken.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class Jailbroken(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """Jailbroken - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + self.result = result + + @property + def result(self) -> bool: + """Gets the result of this Jailbroken. # noqa: E501 + + iOS specific jailbreak detection. There are 2 values: * `true` - Jailbreak detected. * `false` - No signs of jailbreak or the client is not iOS. # noqa: E501 + + :return: The result of this Jailbroken. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: bool): + """Sets the result of this Jailbroken. + + iOS specific jailbreak detection. There are 2 values: * `true` - Jailbreak detected. * `false` - No signs of jailbreak or the client is not iOS. # noqa: E501 + + :param result: The result of this Jailbroken. # noqa: E501 + """ + if result is None: + raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/location_spoofing_result.py b/fingerprint_pro_server_api_sdk/models/location_spoofing.py similarity index 82% rename from fingerprint_pro_server_api_sdk/models/location_spoofing_result.py rename to fingerprint_pro_server_api_sdk/models/location_spoofing.py index 8977908a..dc332814 100644 --- a/fingerprint_pro_server_api_sdk/models/location_spoofing_result.py +++ b/fingerprint_pro_server_api_sdk/models/location_spoofing.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class LocationSpoofingResult(BaseModel): +class LocationSpoofing(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class LocationSpoofingResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """LocationSpoofingResult - a model defined in Swagger""" # noqa: E501 + """LocationSpoofing - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this LocationSpoofingResult. # noqa: E501 + """Gets the result of this LocationSpoofing. # noqa: E501 Flag indicating whether the request came from a mobile device with location spoofing enabled. # noqa: E501 - :return: The result of this LocationSpoofingResult. # noqa: E501 + :return: The result of this LocationSpoofing. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this LocationSpoofingResult. + """Sets the result of this LocationSpoofing. Flag indicating whether the request came from a mobile device with location spoofing enabled. # noqa: E501 - :param result: The result of this LocationSpoofingResult. # noqa: E501 + :param result: The result of this LocationSpoofing. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/privacy_settings_result.py b/fingerprint_pro_server_api_sdk/models/privacy_settings.py similarity index 83% rename from fingerprint_pro_server_api_sdk/models/privacy_settings_result.py rename to fingerprint_pro_server_api_sdk/models/privacy_settings.py index 18a57682..be1a30e6 100644 --- a/fingerprint_pro_server_api_sdk/models/privacy_settings_result.py +++ b/fingerprint_pro_server_api_sdk/models/privacy_settings.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class PrivacySettingsResult(BaseModel): +class PrivacySettings(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class PrivacySettingsResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """PrivacySettingsResult - a model defined in Swagger""" # noqa: E501 + """PrivacySettings - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this PrivacySettingsResult. # noqa: E501 + """Gets the result of this PrivacySettings. # noqa: E501 `true` if the request is from a privacy aware browser (e.g. Tor) or from a browser in which fingerprinting is blocked. Otherwise `false`. # noqa: E501 - :return: The result of this PrivacySettingsResult. # noqa: E501 + :return: The result of this PrivacySettings. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this PrivacySettingsResult. + """Sets the result of this PrivacySettings. `true` if the request is from a privacy aware browser (e.g. Tor) or from a browser in which fingerprinting is blocked. Otherwise `false`. # noqa: E501 - :param result: The result of this PrivacySettingsResult. # noqa: E501 + :param result: The result of this PrivacySettings. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/product_botd.py b/fingerprint_pro_server_api_sdk/models/product_botd.py new file mode 100644 index 00000000..71f34246 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_botd.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.botd import Botd +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductBotd(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Botd', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductBotd - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Botd]: + """Gets the data of this ProductBotd. # noqa: E501 + + + :return: The data of this ProductBotd. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Botd]): + """Sets the data of this ProductBotd. + + + :param data: The data of this ProductBotd. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductBotd. # noqa: E501 + + + :return: The error of this ProductBotd. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductBotd. + + + :param error: The error of this ProductBotd. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_cloned_app.py b/fingerprint_pro_server_api_sdk/models/product_cloned_app.py new file mode 100644 index 00000000..90b0b989 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_cloned_app.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.cloned_app import ClonedApp +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductClonedApp(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'ClonedApp', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductClonedApp - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[ClonedApp]: + """Gets the data of this ProductClonedApp. # noqa: E501 + + + :return: The data of this ProductClonedApp. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[ClonedApp]): + """Sets the data of this ProductClonedApp. + + + :param data: The data of this ProductClonedApp. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductClonedApp. # noqa: E501 + + + :return: The error of this ProductClonedApp. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductClonedApp. + + + :param error: The error of this ProductClonedApp. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_developer_tools.py b/fingerprint_pro_server_api_sdk/models/product_developer_tools.py new file mode 100644 index 00000000..961c64b8 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_developer_tools.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.developer_tools import DeveloperTools +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductDeveloperTools(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'DeveloperTools', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductDeveloperTools - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[DeveloperTools]: + """Gets the data of this ProductDeveloperTools. # noqa: E501 + + + :return: The data of this ProductDeveloperTools. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[DeveloperTools]): + """Sets the data of this ProductDeveloperTools. + + + :param data: The data of this ProductDeveloperTools. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductDeveloperTools. # noqa: E501 + + + :return: The error of this ProductDeveloperTools. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductDeveloperTools. + + + :param error: The error of this ProductDeveloperTools. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_vpn.py b/fingerprint_pro_server_api_sdk/models/product_emulator.py similarity index 63% rename from fingerprint_pro_server_api_sdk/models/signal_response_vpn.py rename to fingerprint_pro_server_api_sdk/models/product_emulator.py index 22e3d068..5308fe83 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_vpn.py +++ b/fingerprint_pro_server_api_sdk/models/product_emulator.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.vpn_result import VpnResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.emulator import Emulator +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseVpn(BaseModel): +class ProductEmulator(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseVpn(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'VpnResult', - 'error': 'ProductError' + 'data': 'Emulator', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseVpn(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseVpn - a model defined in Swagger""" # noqa: E501 + """ProductEmulator - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[VpnResult]: - """Gets the data of this SignalResponseVpn. # noqa: E501 + def data(self) -> Optional[Emulator]: + """Gets the data of this ProductEmulator. # noqa: E501 - :return: The data of this SignalResponseVpn. # noqa: E501 + :return: The data of this ProductEmulator. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[VpnResult]): - """Sets the data of this SignalResponseVpn. + def data(self, data: Optional[Emulator]): + """Sets the data of this ProductEmulator. - :param data: The data of this SignalResponseVpn. # noqa: E501 + :param data: The data of this ProductEmulator. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseVpn. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductEmulator. # noqa: E501 - :return: The error of this SignalResponseVpn. # noqa: E501 + :return: The error of this ProductEmulator. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseVpn. + def error(self, error: Optional[Error]): + """Sets the error of this ProductEmulator. - :param error: The error of this SignalResponseVpn. # noqa: E501 + :param error: The error of this ProductEmulator. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/product_error.py b/fingerprint_pro_server_api_sdk/models/product_error.py deleted file mode 100644 index a56ee1c6..00000000 --- a/fingerprint_pro_server_api_sdk/models/product_error.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class ProductError(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """ProductError - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - self.code = code - self.message = message - - @property - def code(self) -> str: - """Gets the code of this ProductError. # noqa: E501 - - Error code: * `TooManyRequests` - the limit on secret API key requests per second has been exceeded * `Failed` - internal server error # noqa: E501 - - :return: The code of this ProductError. # noqa: E501 - """ - return self._code - - @code.setter - def code(self, code: str): - """Sets the code of this ProductError. - - Error code: * `TooManyRequests` - the limit on secret API key requests per second has been exceeded * `Failed` - internal server error # noqa: E501 - - :param code: The code of this ProductError. # noqa: E501 - """ - if code is None: - raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - allowed_values = ["TooManyRequests", "Failed"] # noqa: E501 - if (code not in allowed_values): - raise ValueError( - "Invalid value for `code` ({0}), must be one of {1}" # noqa: E501 - .format(code, allowed_values) - ) - - self._code = code - - @property - def message(self) -> str: - """Gets the message of this ProductError. # noqa: E501 - - - :return: The message of this ProductError. # noqa: E501 - """ - return self._message - - @message.setter - def message(self, message: str): - """Sets the message of this ProductError. - - - :param message: The message of this ProductError. # noqa: E501 - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - - self._message = message - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_proxy.py b/fingerprint_pro_server_api_sdk/models/product_factory_reset.py similarity index 63% rename from fingerprint_pro_server_api_sdk/models/signal_response_proxy.py rename to fingerprint_pro_server_api_sdk/models/product_factory_reset.py index 90622868..a705bab6 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_proxy.py +++ b/fingerprint_pro_server_api_sdk/models/product_factory_reset.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.proxy_result import ProxyResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.factory_reset import FactoryReset +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseProxy(BaseModel): +class ProductFactoryReset(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseProxy(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'ProxyResult', - 'error': 'ProductError' + 'data': 'FactoryReset', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseProxy(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseProxy - a model defined in Swagger""" # noqa: E501 + """ProductFactoryReset - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[ProxyResult]: - """Gets the data of this SignalResponseProxy. # noqa: E501 + def data(self) -> Optional[FactoryReset]: + """Gets the data of this ProductFactoryReset. # noqa: E501 - :return: The data of this SignalResponseProxy. # noqa: E501 + :return: The data of this ProductFactoryReset. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[ProxyResult]): - """Sets the data of this SignalResponseProxy. + def data(self, data: Optional[FactoryReset]): + """Sets the data of this ProductFactoryReset. - :param data: The data of this SignalResponseProxy. # noqa: E501 + :param data: The data of this ProductFactoryReset. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseProxy. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductFactoryReset. # noqa: E501 - :return: The error of this SignalResponseProxy. # noqa: E501 + :return: The error of this ProductFactoryReset. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseProxy. + def error(self, error: Optional[Error]): + """Sets the error of this ProductFactoryReset. - :param error: The error of this SignalResponseProxy. # noqa: E501 + :param error: The error of this ProductFactoryReset. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/product_frida.py b/fingerprint_pro_server_api_sdk/models/product_frida.py new file mode 100644 index 00000000..26c2a0d1 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_frida.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.frida import Frida +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductFrida(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Frida', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductFrida - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Frida]: + """Gets the data of this ProductFrida. # noqa: E501 + + + :return: The data of this ProductFrida. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Frida]): + """Sets the data of this ProductFrida. + + + :param data: The data of this ProductFrida. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductFrida. # noqa: E501 + + + :return: The error of this ProductFrida. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductFrida. + + + :param error: The error of this ProductFrida. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_frida.py b/fingerprint_pro_server_api_sdk/models/product_high_activity.py similarity index 63% rename from fingerprint_pro_server_api_sdk/models/signal_response_frida.py rename to fingerprint_pro_server_api_sdk/models/product_high_activity.py index 22586897..f937fc75 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_frida.py +++ b/fingerprint_pro_server_api_sdk/models/product_high_activity.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.frida_result import FridaResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.high_activity import HighActivity +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseFrida(BaseModel): +class ProductHighActivity(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseFrida(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'FridaResult', - 'error': 'ProductError' + 'data': 'HighActivity', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseFrida(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseFrida - a model defined in Swagger""" # noqa: E501 + """ProductHighActivity - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[FridaResult]: - """Gets the data of this SignalResponseFrida. # noqa: E501 + def data(self) -> Optional[HighActivity]: + """Gets the data of this ProductHighActivity. # noqa: E501 - :return: The data of this SignalResponseFrida. # noqa: E501 + :return: The data of this ProductHighActivity. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[FridaResult]): - """Sets the data of this SignalResponseFrida. + def data(self, data: Optional[HighActivity]): + """Sets the data of this ProductHighActivity. - :param data: The data of this SignalResponseFrida. # noqa: E501 + :param data: The data of this ProductHighActivity. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseFrida. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductHighActivity. # noqa: E501 - :return: The error of this SignalResponseFrida. # noqa: E501 + :return: The error of this ProductHighActivity. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseFrida. + def error(self, error: Optional[Error]): + """Sets the error of this ProductHighActivity. - :param error: The error of this SignalResponseFrida. # noqa: E501 + :param error: The error of this ProductHighActivity. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/product_identification.py b/fingerprint_pro_server_api_sdk/models/product_identification.py new file mode 100644 index 00000000..f5ae4621 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_identification.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.identification import Identification +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductIdentification(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Identification', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductIdentification - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Identification]: + """Gets the data of this ProductIdentification. # noqa: E501 + + + :return: The data of this ProductIdentification. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Identification]): + """Sets the data of this ProductIdentification. + + + :param data: The data of this ProductIdentification. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductIdentification. # noqa: E501 + + + :return: The error of this ProductIdentification. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductIdentification. + + + :param error: The error of this ProductIdentification. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_incognito.py b/fingerprint_pro_server_api_sdk/models/product_incognito.py new file mode 100644 index 00000000..948720c6 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_incognito.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.incognito import Incognito +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductIncognito(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Incognito', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductIncognito - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Incognito]: + """Gets the data of this ProductIncognito. # noqa: E501 + + + :return: The data of this ProductIncognito. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Incognito]): + """Sets the data of this ProductIncognito. + + + :param data: The data of this ProductIncognito. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductIncognito. # noqa: E501 + + + :return: The error of this ProductIncognito. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductIncognito. + + + :param error: The error of this ProductIncognito. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_ip_blocklist.py b/fingerprint_pro_server_api_sdk/models/product_ip_blocklist.py new file mode 100644 index 00000000..c1edae88 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_ip_blocklist.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.ip_blocklist import IPBlocklist +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductIPBlocklist(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'IPBlocklist', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductIPBlocklist - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[IPBlocklist]: + """Gets the data of this ProductIPBlocklist. # noqa: E501 + + + :return: The data of this ProductIPBlocklist. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[IPBlocklist]): + """Sets the data of this ProductIPBlocklist. + + + :param data: The data of this ProductIPBlocklist. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductIPBlocklist. # noqa: E501 + + + :return: The error of this ProductIPBlocklist. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductIPBlocklist. + + + :param error: The error of this ProductIPBlocklist. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_ip_info.py b/fingerprint_pro_server_api_sdk/models/product_ip_info.py new file mode 100644 index 00000000..94be65d0 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_ip_info.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.ip_info import IPInfo +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductIPInfo(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'IPInfo', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductIPInfo - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[IPInfo]: + """Gets the data of this ProductIPInfo. # noqa: E501 + + + :return: The data of this ProductIPInfo. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[IPInfo]): + """Sets the data of this ProductIPInfo. + + + :param data: The data of this ProductIPInfo. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductIPInfo. # noqa: E501 + + + :return: The error of this ProductIPInfo. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductIPInfo. + + + :param error: The error of this ProductIPInfo. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_tor.py b/fingerprint_pro_server_api_sdk/models/product_jailbroken.py similarity index 63% rename from fingerprint_pro_server_api_sdk/models/signal_response_tor.py rename to fingerprint_pro_server_api_sdk/models/product_jailbroken.py index 881df788..fef2c956 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_tor.py +++ b/fingerprint_pro_server_api_sdk/models/product_jailbroken.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.tor_result import TorResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.jailbroken import Jailbroken +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseTor(BaseModel): +class ProductJailbroken(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseTor(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'TorResult', - 'error': 'ProductError' + 'data': 'Jailbroken', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseTor(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseTor - a model defined in Swagger""" # noqa: E501 + """ProductJailbroken - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[TorResult]: - """Gets the data of this SignalResponseTor. # noqa: E501 + def data(self) -> Optional[Jailbroken]: + """Gets the data of this ProductJailbroken. # noqa: E501 - :return: The data of this SignalResponseTor. # noqa: E501 + :return: The data of this ProductJailbroken. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[TorResult]): - """Sets the data of this SignalResponseTor. + def data(self, data: Optional[Jailbroken]): + """Sets the data of this ProductJailbroken. - :param data: The data of this SignalResponseTor. # noqa: E501 + :param data: The data of this ProductJailbroken. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseTor. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductJailbroken. # noqa: E501 - :return: The error of this SignalResponseTor. # noqa: E501 + :return: The error of this ProductJailbroken. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseTor. + def error(self, error: Optional[Error]): + """Sets the error of this ProductJailbroken. - :param error: The error of this SignalResponseTor. # noqa: E501 + :param error: The error of this ProductJailbroken. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_cloned_app.py b/fingerprint_pro_server_api_sdk/models/product_location_spoofing.py similarity index 65% rename from fingerprint_pro_server_api_sdk/models/signal_response_cloned_app.py rename to fingerprint_pro_server_api_sdk/models/product_location_spoofing.py index 59d969c6..f5d12fac 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_cloned_app.py +++ b/fingerprint_pro_server_api_sdk/models/product_location_spoofing.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.cloned_app_result import ClonedAppResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.location_spoofing import LocationSpoofing +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseClonedApp(BaseModel): +class ProductLocationSpoofing(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseClonedApp(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'ClonedAppResult', - 'error': 'ProductError' + 'data': 'LocationSpoofing', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseClonedApp(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseClonedApp - a model defined in Swagger""" # noqa: E501 + """ProductLocationSpoofing - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[ClonedAppResult]: - """Gets the data of this SignalResponseClonedApp. # noqa: E501 + def data(self) -> Optional[LocationSpoofing]: + """Gets the data of this ProductLocationSpoofing. # noqa: E501 - :return: The data of this SignalResponseClonedApp. # noqa: E501 + :return: The data of this ProductLocationSpoofing. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[ClonedAppResult]): - """Sets the data of this SignalResponseClonedApp. + def data(self, data: Optional[LocationSpoofing]): + """Sets the data of this ProductLocationSpoofing. - :param data: The data of this SignalResponseClonedApp. # noqa: E501 + :param data: The data of this ProductLocationSpoofing. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseClonedApp. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductLocationSpoofing. # noqa: E501 - :return: The error of this SignalResponseClonedApp. # noqa: E501 + :return: The error of this ProductLocationSpoofing. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseClonedApp. + def error(self, error: Optional[Error]): + """Sets the error of this ProductLocationSpoofing. - :param error: The error of this SignalResponseClonedApp. # noqa: E501 + :param error: The error of this ProductLocationSpoofing. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_velocity.py b/fingerprint_pro_server_api_sdk/models/product_privacy_settings.py similarity index 63% rename from fingerprint_pro_server_api_sdk/models/signal_response_velocity.py rename to fingerprint_pro_server_api_sdk/models/product_privacy_settings.py index e1d45810..f3aaef79 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_velocity.py +++ b/fingerprint_pro_server_api_sdk/models/product_privacy_settings.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.velocity_result import VelocityResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.privacy_settings import PrivacySettings +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseVelocity(BaseModel): +class ProductPrivacySettings(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseVelocity(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'VelocityResult', - 'error': 'ProductError' + 'data': 'PrivacySettings', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseVelocity(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseVelocity - a model defined in Swagger""" # noqa: E501 + """ProductPrivacySettings - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[VelocityResult]: - """Gets the data of this SignalResponseVelocity. # noqa: E501 + def data(self) -> Optional[PrivacySettings]: + """Gets the data of this ProductPrivacySettings. # noqa: E501 - :return: The data of this SignalResponseVelocity. # noqa: E501 + :return: The data of this ProductPrivacySettings. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[VelocityResult]): - """Sets the data of this SignalResponseVelocity. + def data(self, data: Optional[PrivacySettings]): + """Sets the data of this ProductPrivacySettings. - :param data: The data of this SignalResponseVelocity. # noqa: E501 + :param data: The data of this ProductPrivacySettings. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseVelocity. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductPrivacySettings. # noqa: E501 - :return: The error of this SignalResponseVelocity. # noqa: E501 + :return: The error of this ProductPrivacySettings. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseVelocity. + def error(self, error: Optional[Error]): + """Sets the error of this ProductPrivacySettings. - :param error: The error of this SignalResponseVelocity. # noqa: E501 + :param error: The error of this ProductPrivacySettings. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/product_proxy.py b/fingerprint_pro_server_api_sdk/models/product_proxy.py new file mode 100644 index 00000000..85239399 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_proxy.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.proxy import Proxy +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductProxy(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Proxy', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductProxy - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Proxy]: + """Gets the data of this ProductProxy. # noqa: E501 + + + :return: The data of this ProductProxy. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Proxy]): + """Sets the data of this ProductProxy. + + + :param data: The data of this ProductProxy. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductProxy. # noqa: E501 + + + :return: The error of this ProductProxy. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductProxy. + + + :param error: The error of this ProductProxy. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_suspect_score.py b/fingerprint_pro_server_api_sdk/models/product_raw_device_attributes.py similarity index 62% rename from fingerprint_pro_server_api_sdk/models/signal_response_suspect_score.py rename to fingerprint_pro_server_api_sdk/models/product_raw_device_attributes.py index 78080830..ea84788d 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_suspect_score.py +++ b/fingerprint_pro_server_api_sdk/models/product_raw_device_attributes.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.suspect_score_result import SuspectScoreResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.error import Error -class SignalResponseSuspectScore(BaseModel): +class ProductRawDeviceAttributes(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class SignalResponseSuspectScore(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'SuspectScoreResult', - 'error': 'ProductError' + 'data': 'RawDeviceAttributes', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class SignalResponseSuspectScore(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseSuspectScore - a model defined in Swagger""" # noqa: E501 + """ProductRawDeviceAttributes - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[SuspectScoreResult]: - """Gets the data of this SignalResponseSuspectScore. # noqa: E501 + def data(self) -> Optional[RawDeviceAttributes]: + """Gets the data of this ProductRawDeviceAttributes. # noqa: E501 - :return: The data of this SignalResponseSuspectScore. # noqa: E501 + :return: The data of this ProductRawDeviceAttributes. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[SuspectScoreResult]): - """Sets the data of this SignalResponseSuspectScore. + def data(self, data: Optional[RawDeviceAttributes]): + """Sets the data of this ProductRawDeviceAttributes. - :param data: The data of this SignalResponseSuspectScore. # noqa: E501 + :param data: The data of this ProductRawDeviceAttributes. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseSuspectScore. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductRawDeviceAttributes. # noqa: E501 - :return: The error of this SignalResponseSuspectScore. # noqa: E501 + :return: The error of this ProductRawDeviceAttributes. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseSuspectScore. + def error(self, error: Optional[Error]): + """Sets the error of this ProductRawDeviceAttributes. - :param error: The error of this SignalResponseSuspectScore. # noqa: E501 + :param error: The error of this ProductRawDeviceAttributes. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/products_response_botd.py b/fingerprint_pro_server_api_sdk/models/product_remote_control.py similarity index 63% rename from fingerprint_pro_server_api_sdk/models/products_response_botd.py rename to fingerprint_pro_server_api_sdk/models/product_remote_control.py index c656135c..d5f73d93 100644 --- a/fingerprint_pro_server_api_sdk/models/products_response_botd.py +++ b/fingerprint_pro_server_api_sdk/models/product_remote_control.py @@ -13,11 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.botd_result import BotdResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl +from fingerprint_pro_server_api_sdk.models.error import Error -class ProductsResponseBotd(BaseModel): +class ProductRemoteControl(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class ProductsResponseBotd(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'BotdResult', - 'error': 'ProductError' + 'data': 'RemoteControl', + 'error': 'Error' } attribute_map = { @@ -40,7 +40,7 @@ class ProductsResponseBotd(BaseModel): } def __init__(self, data=None, error=None): # noqa: E501 - """ProductsResponseBotd - a model defined in Swagger""" # noqa: E501 + """ProductRemoteControl - a model defined in Swagger""" # noqa: E501 self._data = None self._error = None self.discriminator = None @@ -50,39 +50,39 @@ def __init__(self, data=None, error=None): # noqa: E501 self.error = error @property - def data(self) -> Optional[BotdResult]: - """Gets the data of this ProductsResponseBotd. # noqa: E501 + def data(self) -> Optional[RemoteControl]: + """Gets the data of this ProductRemoteControl. # noqa: E501 - :return: The data of this ProductsResponseBotd. # noqa: E501 + :return: The data of this ProductRemoteControl. # noqa: E501 """ return self._data @data.setter - def data(self, data: Optional[BotdResult]): - """Sets the data of this ProductsResponseBotd. + def data(self, data: Optional[RemoteControl]): + """Sets the data of this ProductRemoteControl. - :param data: The data of this ProductsResponseBotd. # noqa: E501 + :param data: The data of this ProductRemoteControl. # noqa: E501 """ self._data = data @property - def error(self) -> Optional[ProductError]: - """Gets the error of this ProductsResponseBotd. # noqa: E501 + def error(self) -> Optional[Error]: + """Gets the error of this ProductRemoteControl. # noqa: E501 - :return: The error of this ProductsResponseBotd. # noqa: E501 + :return: The error of this ProductRemoteControl. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this ProductsResponseBotd. + def error(self, error: Optional[Error]): + """Sets the error of this ProductRemoteControl. - :param error: The error of this ProductsResponseBotd. # noqa: E501 + :param error: The error of this ProductRemoteControl. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/product_root_apps.py b/fingerprint_pro_server_api_sdk/models/product_root_apps.py new file mode 100644 index 00000000..be6726cc --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_root_apps.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.root_apps import RootApps +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductRootApps(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'RootApps', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductRootApps - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[RootApps]: + """Gets the data of this ProductRootApps. # noqa: E501 + + + :return: The data of this ProductRootApps. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[RootApps]): + """Sets the data of this ProductRootApps. + + + :param data: The data of this ProductRootApps. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductRootApps. # noqa: E501 + + + :return: The error of this ProductRootApps. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductRootApps. + + + :param error: The error of this ProductRootApps. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_suspect_score.py b/fingerprint_pro_server_api_sdk/models/product_suspect_score.py new file mode 100644 index 00000000..77af729a --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_suspect_score.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.suspect_score import SuspectScore +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductSuspectScore(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'SuspectScore', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductSuspectScore - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[SuspectScore]: + """Gets the data of this ProductSuspectScore. # noqa: E501 + + + :return: The data of this ProductSuspectScore. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[SuspectScore]): + """Sets the data of this ProductSuspectScore. + + + :param data: The data of this ProductSuspectScore. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductSuspectScore. # noqa: E501 + + + :return: The error of this ProductSuspectScore. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductSuspectScore. + + + :param error: The error of this ProductSuspectScore. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_tampering.py b/fingerprint_pro_server_api_sdk/models/product_tampering.py new file mode 100644 index 00000000..b02620eb --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_tampering.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.tampering import Tampering +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductTampering(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Tampering', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductTampering - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Tampering]: + """Gets the data of this ProductTampering. # noqa: E501 + + + :return: The data of this ProductTampering. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Tampering]): + """Sets the data of this ProductTampering. + + + :param data: The data of this ProductTampering. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductTampering. # noqa: E501 + + + :return: The error of this ProductTampering. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductTampering. + + + :param error: The error of this ProductTampering. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_tor.py b/fingerprint_pro_server_api_sdk/models/product_tor.py new file mode 100644 index 00000000..cb683825 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_tor.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.tor import Tor +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductTor(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Tor', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductTor - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Tor]: + """Gets the data of this ProductTor. # noqa: E501 + + + :return: The data of this ProductTor. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Tor]): + """Sets the data of this ProductTor. + + + :param data: The data of this ProductTor. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductTor. # noqa: E501 + + + :return: The error of this ProductTor. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductTor. + + + :param error: The error of this ProductTor. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_velocity.py b/fingerprint_pro_server_api_sdk/models/product_velocity.py new file mode 100644 index 00000000..7a572b3a --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_velocity.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.velocity import Velocity +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductVelocity(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'Velocity', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductVelocity - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[Velocity]: + """Gets the data of this ProductVelocity. # noqa: E501 + + + :return: The data of this ProductVelocity. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[Velocity]): + """Sets the data of this ProductVelocity. + + + :param data: The data of this ProductVelocity. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductVelocity. # noqa: E501 + + + :return: The error of this ProductVelocity. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductVelocity. + + + :param error: The error of this ProductVelocity. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_virtual_machine.py b/fingerprint_pro_server_api_sdk/models/product_virtual_machine.py new file mode 100644 index 00000000..fbb622b4 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_virtual_machine.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.virtual_machine import VirtualMachine +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductVirtualMachine(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'VirtualMachine', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductVirtualMachine - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[VirtualMachine]: + """Gets the data of this ProductVirtualMachine. # noqa: E501 + + + :return: The data of this ProductVirtualMachine. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[VirtualMachine]): + """Sets the data of this ProductVirtualMachine. + + + :param data: The data of this ProductVirtualMachine. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductVirtualMachine. # noqa: E501 + + + :return: The error of this ProductVirtualMachine. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductVirtualMachine. + + + :param error: The error of this ProductVirtualMachine. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/product_vpn.py b/fingerprint_pro_server_api_sdk/models/product_vpn.py new file mode 100644 index 00000000..04d07d1b --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/product_vpn.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.vpn import VPN +from fingerprint_pro_server_api_sdk.models.error import Error + + +class ProductVPN(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'VPN', + 'error': 'Error' + } + + attribute_map = { + 'data': 'data', + 'error': 'error' + } + + def __init__(self, data=None, error=None): # noqa: E501 + """ProductVPN - a model defined in Swagger""" # noqa: E501 + self._data = None + self._error = None + self.discriminator = None + if data is not None: + self.data = data + if error is not None: + self.error = error + + @property + def data(self) -> Optional[VPN]: + """Gets the data of this ProductVPN. # noqa: E501 + + + :return: The data of this ProductVPN. # noqa: E501 + """ + return self._data + + @data.setter + def data(self, data: Optional[VPN]): + """Sets the data of this ProductVPN. + + + :param data: The data of this ProductVPN. # noqa: E501 + """ + + self._data = data + + @property + def error(self) -> Optional[Error]: + """Gets the error of this ProductVPN. # noqa: E501 + + + :return: The error of this ProductVPN. # noqa: E501 + """ + return self._error + + @error.setter + def error(self, error: Optional[Error]): + """Sets the error of this ProductVPN. + + + :param error: The error of this ProductVPN. # noqa: E501 + """ + + self._error = error + diff --git a/fingerprint_pro_server_api_sdk/models/products.py b/fingerprint_pro_server_api_sdk/models/products.py new file mode 100644 index 00000000..3ef4d259 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/products.py @@ -0,0 +1,642 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.product_identification import ProductIdentification +from fingerprint_pro_server_api_sdk.models.product_botd import ProductBotd +from fingerprint_pro_server_api_sdk.models.product_root_apps import ProductRootApps +from fingerprint_pro_server_api_sdk.models.product_emulator import ProductEmulator +from fingerprint_pro_server_api_sdk.models.product_ip_info import ProductIPInfo +from fingerprint_pro_server_api_sdk.models.product_ip_blocklist import ProductIPBlocklist +from fingerprint_pro_server_api_sdk.models.product_tor import ProductTor +from fingerprint_pro_server_api_sdk.models.product_vpn import ProductVPN +from fingerprint_pro_server_api_sdk.models.product_proxy import ProductProxy +from fingerprint_pro_server_api_sdk.models.product_incognito import ProductIncognito +from fingerprint_pro_server_api_sdk.models.product_tampering import ProductTampering +from fingerprint_pro_server_api_sdk.models.product_cloned_app import ProductClonedApp +from fingerprint_pro_server_api_sdk.models.product_factory_reset import ProductFactoryReset +from fingerprint_pro_server_api_sdk.models.product_jailbroken import ProductJailbroken +from fingerprint_pro_server_api_sdk.models.product_frida import ProductFrida +from fingerprint_pro_server_api_sdk.models.product_privacy_settings import ProductPrivacySettings +from fingerprint_pro_server_api_sdk.models.product_virtual_machine import ProductVirtualMachine +from fingerprint_pro_server_api_sdk.models.product_raw_device_attributes import ProductRawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.product_high_activity import ProductHighActivity +from fingerprint_pro_server_api_sdk.models.product_location_spoofing import ProductLocationSpoofing +from fingerprint_pro_server_api_sdk.models.product_suspect_score import ProductSuspectScore +from fingerprint_pro_server_api_sdk.models.product_remote_control import ProductRemoteControl +from fingerprint_pro_server_api_sdk.models.product_velocity import ProductVelocity +from fingerprint_pro_server_api_sdk.models.product_developer_tools import ProductDeveloperTools + + +class Products(BaseModel): + """ + Contains all information about the request identified by `requestId`, depending on the pricing plan (Pro, Pro Plus, Enterprise) + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'identification': 'ProductIdentification', + 'botd': 'ProductBotd', + 'root_apps': 'ProductRootApps', + 'emulator': 'ProductEmulator', + 'ip_info': 'ProductIPInfo', + 'ip_blocklist': 'ProductIPBlocklist', + 'tor': 'ProductTor', + 'vpn': 'ProductVPN', + 'proxy': 'ProductProxy', + 'incognito': 'ProductIncognito', + 'tampering': 'ProductTampering', + 'cloned_app': 'ProductClonedApp', + 'factory_reset': 'ProductFactoryReset', + 'jailbroken': 'ProductJailbroken', + 'frida': 'ProductFrida', + 'privacy_settings': 'ProductPrivacySettings', + 'virtual_machine': 'ProductVirtualMachine', + 'raw_device_attributes': 'ProductRawDeviceAttributes', + 'high_activity': 'ProductHighActivity', + 'location_spoofing': 'ProductLocationSpoofing', + 'suspect_score': 'ProductSuspectScore', + 'remote_control': 'ProductRemoteControl', + 'velocity': 'ProductVelocity', + 'developer_tools': 'ProductDeveloperTools' + } + + attribute_map = { + 'identification': 'identification', + 'botd': 'botd', + 'root_apps': 'rootApps', + 'emulator': 'emulator', + 'ip_info': 'ipInfo', + 'ip_blocklist': 'ipBlocklist', + 'tor': 'tor', + 'vpn': 'vpn', + 'proxy': 'proxy', + 'incognito': 'incognito', + 'tampering': 'tampering', + 'cloned_app': 'clonedApp', + 'factory_reset': 'factoryReset', + 'jailbroken': 'jailbroken', + 'frida': 'frida', + 'privacy_settings': 'privacySettings', + 'virtual_machine': 'virtualMachine', + 'raw_device_attributes': 'rawDeviceAttributes', + 'high_activity': 'highActivity', + 'location_spoofing': 'locationSpoofing', + 'suspect_score': 'suspectScore', + 'remote_control': 'remoteControl', + 'velocity': 'velocity', + 'developer_tools': 'developerTools' + } + + def __init__(self, identification=None, botd=None, root_apps=None, emulator=None, ip_info=None, ip_blocklist=None, tor=None, vpn=None, proxy=None, incognito=None, tampering=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, privacy_settings=None, virtual_machine=None, raw_device_attributes=None, high_activity=None, location_spoofing=None, suspect_score=None, remote_control=None, velocity=None, developer_tools=None): # noqa: E501 + """Products - a model defined in Swagger""" # noqa: E501 + self._identification = None + self._botd = None + self._root_apps = None + self._emulator = None + self._ip_info = None + self._ip_blocklist = None + self._tor = None + self._vpn = None + self._proxy = None + self._incognito = None + self._tampering = None + self._cloned_app = None + self._factory_reset = None + self._jailbroken = None + self._frida = None + self._privacy_settings = None + self._virtual_machine = None + self._raw_device_attributes = None + self._high_activity = None + self._location_spoofing = None + self._suspect_score = None + self._remote_control = None + self._velocity = None + self._developer_tools = None + self.discriminator = None + if identification is not None: + self.identification = identification + if botd is not None: + self.botd = botd + if root_apps is not None: + self.root_apps = root_apps + if emulator is not None: + self.emulator = emulator + if ip_info is not None: + self.ip_info = ip_info + if ip_blocklist is not None: + self.ip_blocklist = ip_blocklist + if tor is not None: + self.tor = tor + if vpn is not None: + self.vpn = vpn + if proxy is not None: + self.proxy = proxy + if incognito is not None: + self.incognito = incognito + if tampering is not None: + self.tampering = tampering + if cloned_app is not None: + self.cloned_app = cloned_app + if factory_reset is not None: + self.factory_reset = factory_reset + if jailbroken is not None: + self.jailbroken = jailbroken + if frida is not None: + self.frida = frida + if privacy_settings is not None: + self.privacy_settings = privacy_settings + if virtual_machine is not None: + self.virtual_machine = virtual_machine + if raw_device_attributes is not None: + self.raw_device_attributes = raw_device_attributes + if high_activity is not None: + self.high_activity = high_activity + if location_spoofing is not None: + self.location_spoofing = location_spoofing + if suspect_score is not None: + self.suspect_score = suspect_score + if remote_control is not None: + self.remote_control = remote_control + if velocity is not None: + self.velocity = velocity + if developer_tools is not None: + self.developer_tools = developer_tools + + @property + def identification(self) -> Optional[ProductIdentification]: + """Gets the identification of this Products. # noqa: E501 + + + :return: The identification of this Products. # noqa: E501 + """ + return self._identification + + @identification.setter + def identification(self, identification: Optional[ProductIdentification]): + """Sets the identification of this Products. + + + :param identification: The identification of this Products. # noqa: E501 + """ + + self._identification = identification + + @property + def botd(self) -> Optional[ProductBotd]: + """Gets the botd of this Products. # noqa: E501 + + + :return: The botd of this Products. # noqa: E501 + """ + return self._botd + + @botd.setter + def botd(self, botd: Optional[ProductBotd]): + """Sets the botd of this Products. + + + :param botd: The botd of this Products. # noqa: E501 + """ + + self._botd = botd + + @property + def root_apps(self) -> Optional[ProductRootApps]: + """Gets the root_apps of this Products. # noqa: E501 + + + :return: The root_apps of this Products. # noqa: E501 + """ + return self._root_apps + + @root_apps.setter + def root_apps(self, root_apps: Optional[ProductRootApps]): + """Sets the root_apps of this Products. + + + :param root_apps: The root_apps of this Products. # noqa: E501 + """ + + self._root_apps = root_apps + + @property + def emulator(self) -> Optional[ProductEmulator]: + """Gets the emulator of this Products. # noqa: E501 + + + :return: The emulator of this Products. # noqa: E501 + """ + return self._emulator + + @emulator.setter + def emulator(self, emulator: Optional[ProductEmulator]): + """Sets the emulator of this Products. + + + :param emulator: The emulator of this Products. # noqa: E501 + """ + + self._emulator = emulator + + @property + def ip_info(self) -> Optional[ProductIPInfo]: + """Gets the ip_info of this Products. # noqa: E501 + + + :return: The ip_info of this Products. # noqa: E501 + """ + return self._ip_info + + @ip_info.setter + def ip_info(self, ip_info: Optional[ProductIPInfo]): + """Sets the ip_info of this Products. + + + :param ip_info: The ip_info of this Products. # noqa: E501 + """ + + self._ip_info = ip_info + + @property + def ip_blocklist(self) -> Optional[ProductIPBlocklist]: + """Gets the ip_blocklist of this Products. # noqa: E501 + + + :return: The ip_blocklist of this Products. # noqa: E501 + """ + return self._ip_blocklist + + @ip_blocklist.setter + def ip_blocklist(self, ip_blocklist: Optional[ProductIPBlocklist]): + """Sets the ip_blocklist of this Products. + + + :param ip_blocklist: The ip_blocklist of this Products. # noqa: E501 + """ + + self._ip_blocklist = ip_blocklist + + @property + def tor(self) -> Optional[ProductTor]: + """Gets the tor of this Products. # noqa: E501 + + + :return: The tor of this Products. # noqa: E501 + """ + return self._tor + + @tor.setter + def tor(self, tor: Optional[ProductTor]): + """Sets the tor of this Products. + + + :param tor: The tor of this Products. # noqa: E501 + """ + + self._tor = tor + + @property + def vpn(self) -> Optional[ProductVPN]: + """Gets the vpn of this Products. # noqa: E501 + + + :return: The vpn of this Products. # noqa: E501 + """ + return self._vpn + + @vpn.setter + def vpn(self, vpn: Optional[ProductVPN]): + """Sets the vpn of this Products. + + + :param vpn: The vpn of this Products. # noqa: E501 + """ + + self._vpn = vpn + + @property + def proxy(self) -> Optional[ProductProxy]: + """Gets the proxy of this Products. # noqa: E501 + + + :return: The proxy of this Products. # noqa: E501 + """ + return self._proxy + + @proxy.setter + def proxy(self, proxy: Optional[ProductProxy]): + """Sets the proxy of this Products. + + + :param proxy: The proxy of this Products. # noqa: E501 + """ + + self._proxy = proxy + + @property + def incognito(self) -> Optional[ProductIncognito]: + """Gets the incognito of this Products. # noqa: E501 + + + :return: The incognito of this Products. # noqa: E501 + """ + return self._incognito + + @incognito.setter + def incognito(self, incognito: Optional[ProductIncognito]): + """Sets the incognito of this Products. + + + :param incognito: The incognito of this Products. # noqa: E501 + """ + + self._incognito = incognito + + @property + def tampering(self) -> Optional[ProductTampering]: + """Gets the tampering of this Products. # noqa: E501 + + + :return: The tampering of this Products. # noqa: E501 + """ + return self._tampering + + @tampering.setter + def tampering(self, tampering: Optional[ProductTampering]): + """Sets the tampering of this Products. + + + :param tampering: The tampering of this Products. # noqa: E501 + """ + + self._tampering = tampering + + @property + def cloned_app(self) -> Optional[ProductClonedApp]: + """Gets the cloned_app of this Products. # noqa: E501 + + + :return: The cloned_app of this Products. # noqa: E501 + """ + return self._cloned_app + + @cloned_app.setter + def cloned_app(self, cloned_app: Optional[ProductClonedApp]): + """Sets the cloned_app of this Products. + + + :param cloned_app: The cloned_app of this Products. # noqa: E501 + """ + + self._cloned_app = cloned_app + + @property + def factory_reset(self) -> Optional[ProductFactoryReset]: + """Gets the factory_reset of this Products. # noqa: E501 + + + :return: The factory_reset of this Products. # noqa: E501 + """ + return self._factory_reset + + @factory_reset.setter + def factory_reset(self, factory_reset: Optional[ProductFactoryReset]): + """Sets the factory_reset of this Products. + + + :param factory_reset: The factory_reset of this Products. # noqa: E501 + """ + + self._factory_reset = factory_reset + + @property + def jailbroken(self) -> Optional[ProductJailbroken]: + """Gets the jailbroken of this Products. # noqa: E501 + + + :return: The jailbroken of this Products. # noqa: E501 + """ + return self._jailbroken + + @jailbroken.setter + def jailbroken(self, jailbroken: Optional[ProductJailbroken]): + """Sets the jailbroken of this Products. + + + :param jailbroken: The jailbroken of this Products. # noqa: E501 + """ + + self._jailbroken = jailbroken + + @property + def frida(self) -> Optional[ProductFrida]: + """Gets the frida of this Products. # noqa: E501 + + + :return: The frida of this Products. # noqa: E501 + """ + return self._frida + + @frida.setter + def frida(self, frida: Optional[ProductFrida]): + """Sets the frida of this Products. + + + :param frida: The frida of this Products. # noqa: E501 + """ + + self._frida = frida + + @property + def privacy_settings(self) -> Optional[ProductPrivacySettings]: + """Gets the privacy_settings of this Products. # noqa: E501 + + + :return: The privacy_settings of this Products. # noqa: E501 + """ + return self._privacy_settings + + @privacy_settings.setter + def privacy_settings(self, privacy_settings: Optional[ProductPrivacySettings]): + """Sets the privacy_settings of this Products. + + + :param privacy_settings: The privacy_settings of this Products. # noqa: E501 + """ + + self._privacy_settings = privacy_settings + + @property + def virtual_machine(self) -> Optional[ProductVirtualMachine]: + """Gets the virtual_machine of this Products. # noqa: E501 + + + :return: The virtual_machine of this Products. # noqa: E501 + """ + return self._virtual_machine + + @virtual_machine.setter + def virtual_machine(self, virtual_machine: Optional[ProductVirtualMachine]): + """Sets the virtual_machine of this Products. + + + :param virtual_machine: The virtual_machine of this Products. # noqa: E501 + """ + + self._virtual_machine = virtual_machine + + @property + def raw_device_attributes(self) -> Optional[ProductRawDeviceAttributes]: + """Gets the raw_device_attributes of this Products. # noqa: E501 + + + :return: The raw_device_attributes of this Products. # noqa: E501 + """ + return self._raw_device_attributes + + @raw_device_attributes.setter + def raw_device_attributes(self, raw_device_attributes: Optional[ProductRawDeviceAttributes]): + """Sets the raw_device_attributes of this Products. + + + :param raw_device_attributes: The raw_device_attributes of this Products. # noqa: E501 + """ + + self._raw_device_attributes = raw_device_attributes + + @property + def high_activity(self) -> Optional[ProductHighActivity]: + """Gets the high_activity of this Products. # noqa: E501 + + + :return: The high_activity of this Products. # noqa: E501 + """ + return self._high_activity + + @high_activity.setter + def high_activity(self, high_activity: Optional[ProductHighActivity]): + """Sets the high_activity of this Products. + + + :param high_activity: The high_activity of this Products. # noqa: E501 + """ + + self._high_activity = high_activity + + @property + def location_spoofing(self) -> Optional[ProductLocationSpoofing]: + """Gets the location_spoofing of this Products. # noqa: E501 + + + :return: The location_spoofing of this Products. # noqa: E501 + """ + return self._location_spoofing + + @location_spoofing.setter + def location_spoofing(self, location_spoofing: Optional[ProductLocationSpoofing]): + """Sets the location_spoofing of this Products. + + + :param location_spoofing: The location_spoofing of this Products. # noqa: E501 + """ + + self._location_spoofing = location_spoofing + + @property + def suspect_score(self) -> Optional[ProductSuspectScore]: + """Gets the suspect_score of this Products. # noqa: E501 + + + :return: The suspect_score of this Products. # noqa: E501 + """ + return self._suspect_score + + @suspect_score.setter + def suspect_score(self, suspect_score: Optional[ProductSuspectScore]): + """Sets the suspect_score of this Products. + + + :param suspect_score: The suspect_score of this Products. # noqa: E501 + """ + + self._suspect_score = suspect_score + + @property + def remote_control(self) -> Optional[ProductRemoteControl]: + """Gets the remote_control of this Products. # noqa: E501 + + + :return: The remote_control of this Products. # noqa: E501 + """ + return self._remote_control + + @remote_control.setter + def remote_control(self, remote_control: Optional[ProductRemoteControl]): + """Sets the remote_control of this Products. + + + :param remote_control: The remote_control of this Products. # noqa: E501 + """ + + self._remote_control = remote_control + + @property + def velocity(self) -> Optional[ProductVelocity]: + """Gets the velocity of this Products. # noqa: E501 + + + :return: The velocity of this Products. # noqa: E501 + """ + return self._velocity + + @velocity.setter + def velocity(self, velocity: Optional[ProductVelocity]): + """Sets the velocity of this Products. + + + :param velocity: The velocity of this Products. # noqa: E501 + """ + + self._velocity = velocity + + @property + def developer_tools(self) -> Optional[ProductDeveloperTools]: + """Gets the developer_tools of this Products. # noqa: E501 + + + :return: The developer_tools of this Products. # noqa: E501 + """ + return self._developer_tools + + @developer_tools.setter + def developer_tools(self, developer_tools: Optional[ProductDeveloperTools]): + """Sets the developer_tools of this Products. + + + :param developer_tools: The developer_tools of this Products. # noqa: E501 + """ + + self._developer_tools = developer_tools + diff --git a/fingerprint_pro_server_api_sdk/models/products_response.py b/fingerprint_pro_server_api_sdk/models/products_response.py deleted file mode 100644 index bc8a3bdf..00000000 --- a/fingerprint_pro_server_api_sdk/models/products_response.py +++ /dev/null @@ -1,642 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.products_response_identification import ProductsResponseIdentification -from fingerprint_pro_server_api_sdk.models.products_response_botd import ProductsResponseBotd -from fingerprint_pro_server_api_sdk.models.signal_response_ip_info import SignalResponseIpInfo -from fingerprint_pro_server_api_sdk.models.signal_response_incognito import SignalResponseIncognito -from fingerprint_pro_server_api_sdk.models.signal_response_root_apps import SignalResponseRootApps -from fingerprint_pro_server_api_sdk.models.signal_response_emulator import SignalResponseEmulator -from fingerprint_pro_server_api_sdk.models.signal_response_cloned_app import SignalResponseClonedApp -from fingerprint_pro_server_api_sdk.models.signal_response_factory_reset import SignalResponseFactoryReset -from fingerprint_pro_server_api_sdk.models.signal_response_jailbroken import SignalResponseJailbroken -from fingerprint_pro_server_api_sdk.models.signal_response_frida import SignalResponseFrida -from fingerprint_pro_server_api_sdk.models.signal_response_ip_blocklist import SignalResponseIpBlocklist -from fingerprint_pro_server_api_sdk.models.signal_response_tor import SignalResponseTor -from fingerprint_pro_server_api_sdk.models.signal_response_privacy_settings import SignalResponsePrivacySettings -from fingerprint_pro_server_api_sdk.models.signal_response_virtual_machine import SignalResponseVirtualMachine -from fingerprint_pro_server_api_sdk.models.signal_response_vpn import SignalResponseVpn -from fingerprint_pro_server_api_sdk.models.signal_response_proxy import SignalResponseProxy -from fingerprint_pro_server_api_sdk.models.signal_response_tampering import SignalResponseTampering -from fingerprint_pro_server_api_sdk.models.signal_response_high_activity import SignalResponseHighActivity -from fingerprint_pro_server_api_sdk.models.signal_response_location_spoofing import SignalResponseLocationSpoofing -from fingerprint_pro_server_api_sdk.models.signal_response_suspect_score import SignalResponseSuspectScore -from fingerprint_pro_server_api_sdk.models.signal_response_raw_device_attributes import SignalResponseRawDeviceAttributes -from fingerprint_pro_server_api_sdk.models.signal_response_remote_control import SignalResponseRemoteControl -from fingerprint_pro_server_api_sdk.models.signal_response_velocity import SignalResponseVelocity -from fingerprint_pro_server_api_sdk.models.signal_response_developer_tools import SignalResponseDeveloperTools - - -class ProductsResponse(BaseModel): - """ - Contains all information about the request identified by `requestId`, depending on the pricing plan (Pro, Pro Plus, Enterprise) - - NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'identification': 'ProductsResponseIdentification', - 'botd': 'ProductsResponseBotd', - 'ip_info': 'SignalResponseIpInfo', - 'incognito': 'SignalResponseIncognito', - 'root_apps': 'SignalResponseRootApps', - 'emulator': 'SignalResponseEmulator', - 'cloned_app': 'SignalResponseClonedApp', - 'factory_reset': 'SignalResponseFactoryReset', - 'jailbroken': 'SignalResponseJailbroken', - 'frida': 'SignalResponseFrida', - 'ip_blocklist': 'SignalResponseIpBlocklist', - 'tor': 'SignalResponseTor', - 'privacy_settings': 'SignalResponsePrivacySettings', - 'virtual_machine': 'SignalResponseVirtualMachine', - 'vpn': 'SignalResponseVpn', - 'proxy': 'SignalResponseProxy', - 'tampering': 'SignalResponseTampering', - 'high_activity': 'SignalResponseHighActivity', - 'location_spoofing': 'SignalResponseLocationSpoofing', - 'suspect_score': 'SignalResponseSuspectScore', - 'raw_device_attributes': 'SignalResponseRawDeviceAttributes', - 'remote_control': 'SignalResponseRemoteControl', - 'velocity': 'SignalResponseVelocity', - 'developer_tools': 'SignalResponseDeveloperTools' - } - - attribute_map = { - 'identification': 'identification', - 'botd': 'botd', - 'ip_info': 'ipInfo', - 'incognito': 'incognito', - 'root_apps': 'rootApps', - 'emulator': 'emulator', - 'cloned_app': 'clonedApp', - 'factory_reset': 'factoryReset', - 'jailbroken': 'jailbroken', - 'frida': 'frida', - 'ip_blocklist': 'ipBlocklist', - 'tor': 'tor', - 'privacy_settings': 'privacySettings', - 'virtual_machine': 'virtualMachine', - 'vpn': 'vpn', - 'proxy': 'proxy', - 'tampering': 'tampering', - 'high_activity': 'highActivity', - 'location_spoofing': 'locationSpoofing', - 'suspect_score': 'suspectScore', - 'raw_device_attributes': 'rawDeviceAttributes', - 'remote_control': 'remoteControl', - 'velocity': 'velocity', - 'developer_tools': 'developerTools' - } - - def __init__(self, identification=None, botd=None, ip_info=None, incognito=None, root_apps=None, emulator=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, ip_blocklist=None, tor=None, privacy_settings=None, virtual_machine=None, vpn=None, proxy=None, tampering=None, high_activity=None, location_spoofing=None, suspect_score=None, raw_device_attributes=None, remote_control=None, velocity=None, developer_tools=None): # noqa: E501 - """ProductsResponse - a model defined in Swagger""" # noqa: E501 - self._identification = None - self._botd = None - self._ip_info = None - self._incognito = None - self._root_apps = None - self._emulator = None - self._cloned_app = None - self._factory_reset = None - self._jailbroken = None - self._frida = None - self._ip_blocklist = None - self._tor = None - self._privacy_settings = None - self._virtual_machine = None - self._vpn = None - self._proxy = None - self._tampering = None - self._high_activity = None - self._location_spoofing = None - self._suspect_score = None - self._raw_device_attributes = None - self._remote_control = None - self._velocity = None - self._developer_tools = None - self.discriminator = None - if identification is not None: - self.identification = identification - if botd is not None: - self.botd = botd - if ip_info is not None: - self.ip_info = ip_info - if incognito is not None: - self.incognito = incognito - if root_apps is not None: - self.root_apps = root_apps - if emulator is not None: - self.emulator = emulator - if cloned_app is not None: - self.cloned_app = cloned_app - if factory_reset is not None: - self.factory_reset = factory_reset - if jailbroken is not None: - self.jailbroken = jailbroken - if frida is not None: - self.frida = frida - if ip_blocklist is not None: - self.ip_blocklist = ip_blocklist - if tor is not None: - self.tor = tor - if privacy_settings is not None: - self.privacy_settings = privacy_settings - if virtual_machine is not None: - self.virtual_machine = virtual_machine - if vpn is not None: - self.vpn = vpn - if proxy is not None: - self.proxy = proxy - if tampering is not None: - self.tampering = tampering - if high_activity is not None: - self.high_activity = high_activity - if location_spoofing is not None: - self.location_spoofing = location_spoofing - if suspect_score is not None: - self.suspect_score = suspect_score - if raw_device_attributes is not None: - self.raw_device_attributes = raw_device_attributes - if remote_control is not None: - self.remote_control = remote_control - if velocity is not None: - self.velocity = velocity - if developer_tools is not None: - self.developer_tools = developer_tools - - @property - def identification(self) -> Optional[ProductsResponseIdentification]: - """Gets the identification of this ProductsResponse. # noqa: E501 - - - :return: The identification of this ProductsResponse. # noqa: E501 - """ - return self._identification - - @identification.setter - def identification(self, identification: Optional[ProductsResponseIdentification]): - """Sets the identification of this ProductsResponse. - - - :param identification: The identification of this ProductsResponse. # noqa: E501 - """ - - self._identification = identification - - @property - def botd(self) -> Optional[ProductsResponseBotd]: - """Gets the botd of this ProductsResponse. # noqa: E501 - - - :return: The botd of this ProductsResponse. # noqa: E501 - """ - return self._botd - - @botd.setter - def botd(self, botd: Optional[ProductsResponseBotd]): - """Sets the botd of this ProductsResponse. - - - :param botd: The botd of this ProductsResponse. # noqa: E501 - """ - - self._botd = botd - - @property - def ip_info(self) -> Optional[SignalResponseIpInfo]: - """Gets the ip_info of this ProductsResponse. # noqa: E501 - - - :return: The ip_info of this ProductsResponse. # noqa: E501 - """ - return self._ip_info - - @ip_info.setter - def ip_info(self, ip_info: Optional[SignalResponseIpInfo]): - """Sets the ip_info of this ProductsResponse. - - - :param ip_info: The ip_info of this ProductsResponse. # noqa: E501 - """ - - self._ip_info = ip_info - - @property - def incognito(self) -> Optional[SignalResponseIncognito]: - """Gets the incognito of this ProductsResponse. # noqa: E501 - - - :return: The incognito of this ProductsResponse. # noqa: E501 - """ - return self._incognito - - @incognito.setter - def incognito(self, incognito: Optional[SignalResponseIncognito]): - """Sets the incognito of this ProductsResponse. - - - :param incognito: The incognito of this ProductsResponse. # noqa: E501 - """ - - self._incognito = incognito - - @property - def root_apps(self) -> Optional[SignalResponseRootApps]: - """Gets the root_apps of this ProductsResponse. # noqa: E501 - - - :return: The root_apps of this ProductsResponse. # noqa: E501 - """ - return self._root_apps - - @root_apps.setter - def root_apps(self, root_apps: Optional[SignalResponseRootApps]): - """Sets the root_apps of this ProductsResponse. - - - :param root_apps: The root_apps of this ProductsResponse. # noqa: E501 - """ - - self._root_apps = root_apps - - @property - def emulator(self) -> Optional[SignalResponseEmulator]: - """Gets the emulator of this ProductsResponse. # noqa: E501 - - - :return: The emulator of this ProductsResponse. # noqa: E501 - """ - return self._emulator - - @emulator.setter - def emulator(self, emulator: Optional[SignalResponseEmulator]): - """Sets the emulator of this ProductsResponse. - - - :param emulator: The emulator of this ProductsResponse. # noqa: E501 - """ - - self._emulator = emulator - - @property - def cloned_app(self) -> Optional[SignalResponseClonedApp]: - """Gets the cloned_app of this ProductsResponse. # noqa: E501 - - - :return: The cloned_app of this ProductsResponse. # noqa: E501 - """ - return self._cloned_app - - @cloned_app.setter - def cloned_app(self, cloned_app: Optional[SignalResponseClonedApp]): - """Sets the cloned_app of this ProductsResponse. - - - :param cloned_app: The cloned_app of this ProductsResponse. # noqa: E501 - """ - - self._cloned_app = cloned_app - - @property - def factory_reset(self) -> Optional[SignalResponseFactoryReset]: - """Gets the factory_reset of this ProductsResponse. # noqa: E501 - - - :return: The factory_reset of this ProductsResponse. # noqa: E501 - """ - return self._factory_reset - - @factory_reset.setter - def factory_reset(self, factory_reset: Optional[SignalResponseFactoryReset]): - """Sets the factory_reset of this ProductsResponse. - - - :param factory_reset: The factory_reset of this ProductsResponse. # noqa: E501 - """ - - self._factory_reset = factory_reset - - @property - def jailbroken(self) -> Optional[SignalResponseJailbroken]: - """Gets the jailbroken of this ProductsResponse. # noqa: E501 - - - :return: The jailbroken of this ProductsResponse. # noqa: E501 - """ - return self._jailbroken - - @jailbroken.setter - def jailbroken(self, jailbroken: Optional[SignalResponseJailbroken]): - """Sets the jailbroken of this ProductsResponse. - - - :param jailbroken: The jailbroken of this ProductsResponse. # noqa: E501 - """ - - self._jailbroken = jailbroken - - @property - def frida(self) -> Optional[SignalResponseFrida]: - """Gets the frida of this ProductsResponse. # noqa: E501 - - - :return: The frida of this ProductsResponse. # noqa: E501 - """ - return self._frida - - @frida.setter - def frida(self, frida: Optional[SignalResponseFrida]): - """Sets the frida of this ProductsResponse. - - - :param frida: The frida of this ProductsResponse. # noqa: E501 - """ - - self._frida = frida - - @property - def ip_blocklist(self) -> Optional[SignalResponseIpBlocklist]: - """Gets the ip_blocklist of this ProductsResponse. # noqa: E501 - - - :return: The ip_blocklist of this ProductsResponse. # noqa: E501 - """ - return self._ip_blocklist - - @ip_blocklist.setter - def ip_blocklist(self, ip_blocklist: Optional[SignalResponseIpBlocklist]): - """Sets the ip_blocklist of this ProductsResponse. - - - :param ip_blocklist: The ip_blocklist of this ProductsResponse. # noqa: E501 - """ - - self._ip_blocklist = ip_blocklist - - @property - def tor(self) -> Optional[SignalResponseTor]: - """Gets the tor of this ProductsResponse. # noqa: E501 - - - :return: The tor of this ProductsResponse. # noqa: E501 - """ - return self._tor - - @tor.setter - def tor(self, tor: Optional[SignalResponseTor]): - """Sets the tor of this ProductsResponse. - - - :param tor: The tor of this ProductsResponse. # noqa: E501 - """ - - self._tor = tor - - @property - def privacy_settings(self) -> Optional[SignalResponsePrivacySettings]: - """Gets the privacy_settings of this ProductsResponse. # noqa: E501 - - - :return: The privacy_settings of this ProductsResponse. # noqa: E501 - """ - return self._privacy_settings - - @privacy_settings.setter - def privacy_settings(self, privacy_settings: Optional[SignalResponsePrivacySettings]): - """Sets the privacy_settings of this ProductsResponse. - - - :param privacy_settings: The privacy_settings of this ProductsResponse. # noqa: E501 - """ - - self._privacy_settings = privacy_settings - - @property - def virtual_machine(self) -> Optional[SignalResponseVirtualMachine]: - """Gets the virtual_machine of this ProductsResponse. # noqa: E501 - - - :return: The virtual_machine of this ProductsResponse. # noqa: E501 - """ - return self._virtual_machine - - @virtual_machine.setter - def virtual_machine(self, virtual_machine: Optional[SignalResponseVirtualMachine]): - """Sets the virtual_machine of this ProductsResponse. - - - :param virtual_machine: The virtual_machine of this ProductsResponse. # noqa: E501 - """ - - self._virtual_machine = virtual_machine - - @property - def vpn(self) -> Optional[SignalResponseVpn]: - """Gets the vpn of this ProductsResponse. # noqa: E501 - - - :return: The vpn of this ProductsResponse. # noqa: E501 - """ - return self._vpn - - @vpn.setter - def vpn(self, vpn: Optional[SignalResponseVpn]): - """Sets the vpn of this ProductsResponse. - - - :param vpn: The vpn of this ProductsResponse. # noqa: E501 - """ - - self._vpn = vpn - - @property - def proxy(self) -> Optional[SignalResponseProxy]: - """Gets the proxy of this ProductsResponse. # noqa: E501 - - - :return: The proxy of this ProductsResponse. # noqa: E501 - """ - return self._proxy - - @proxy.setter - def proxy(self, proxy: Optional[SignalResponseProxy]): - """Sets the proxy of this ProductsResponse. - - - :param proxy: The proxy of this ProductsResponse. # noqa: E501 - """ - - self._proxy = proxy - - @property - def tampering(self) -> Optional[SignalResponseTampering]: - """Gets the tampering of this ProductsResponse. # noqa: E501 - - - :return: The tampering of this ProductsResponse. # noqa: E501 - """ - return self._tampering - - @tampering.setter - def tampering(self, tampering: Optional[SignalResponseTampering]): - """Sets the tampering of this ProductsResponse. - - - :param tampering: The tampering of this ProductsResponse. # noqa: E501 - """ - - self._tampering = tampering - - @property - def high_activity(self) -> Optional[SignalResponseHighActivity]: - """Gets the high_activity of this ProductsResponse. # noqa: E501 - - - :return: The high_activity of this ProductsResponse. # noqa: E501 - """ - return self._high_activity - - @high_activity.setter - def high_activity(self, high_activity: Optional[SignalResponseHighActivity]): - """Sets the high_activity of this ProductsResponse. - - - :param high_activity: The high_activity of this ProductsResponse. # noqa: E501 - """ - - self._high_activity = high_activity - - @property - def location_spoofing(self) -> Optional[SignalResponseLocationSpoofing]: - """Gets the location_spoofing of this ProductsResponse. # noqa: E501 - - - :return: The location_spoofing of this ProductsResponse. # noqa: E501 - """ - return self._location_spoofing - - @location_spoofing.setter - def location_spoofing(self, location_spoofing: Optional[SignalResponseLocationSpoofing]): - """Sets the location_spoofing of this ProductsResponse. - - - :param location_spoofing: The location_spoofing of this ProductsResponse. # noqa: E501 - """ - - self._location_spoofing = location_spoofing - - @property - def suspect_score(self) -> Optional[SignalResponseSuspectScore]: - """Gets the suspect_score of this ProductsResponse. # noqa: E501 - - - :return: The suspect_score of this ProductsResponse. # noqa: E501 - """ - return self._suspect_score - - @suspect_score.setter - def suspect_score(self, suspect_score: Optional[SignalResponseSuspectScore]): - """Sets the suspect_score of this ProductsResponse. - - - :param suspect_score: The suspect_score of this ProductsResponse. # noqa: E501 - """ - - self._suspect_score = suspect_score - - @property - def raw_device_attributes(self) -> Optional[SignalResponseRawDeviceAttributes]: - """Gets the raw_device_attributes of this ProductsResponse. # noqa: E501 - - - :return: The raw_device_attributes of this ProductsResponse. # noqa: E501 - """ - return self._raw_device_attributes - - @raw_device_attributes.setter - def raw_device_attributes(self, raw_device_attributes: Optional[SignalResponseRawDeviceAttributes]): - """Sets the raw_device_attributes of this ProductsResponse. - - - :param raw_device_attributes: The raw_device_attributes of this ProductsResponse. # noqa: E501 - """ - - self._raw_device_attributes = raw_device_attributes - - @property - def remote_control(self) -> Optional[SignalResponseRemoteControl]: - """Gets the remote_control of this ProductsResponse. # noqa: E501 - - - :return: The remote_control of this ProductsResponse. # noqa: E501 - """ - return self._remote_control - - @remote_control.setter - def remote_control(self, remote_control: Optional[SignalResponseRemoteControl]): - """Sets the remote_control of this ProductsResponse. - - - :param remote_control: The remote_control of this ProductsResponse. # noqa: E501 - """ - - self._remote_control = remote_control - - @property - def velocity(self) -> Optional[SignalResponseVelocity]: - """Gets the velocity of this ProductsResponse. # noqa: E501 - - - :return: The velocity of this ProductsResponse. # noqa: E501 - """ - return self._velocity - - @velocity.setter - def velocity(self, velocity: Optional[SignalResponseVelocity]): - """Sets the velocity of this ProductsResponse. - - - :param velocity: The velocity of this ProductsResponse. # noqa: E501 - """ - - self._velocity = velocity - - @property - def developer_tools(self) -> Optional[SignalResponseDeveloperTools]: - """Gets the developer_tools of this ProductsResponse. # noqa: E501 - - - :return: The developer_tools of this ProductsResponse. # noqa: E501 - """ - return self._developer_tools - - @developer_tools.setter - def developer_tools(self, developer_tools: Optional[SignalResponseDeveloperTools]): - """Sets the developer_tools of this ProductsResponse. - - - :param developer_tools: The developer_tools of this ProductsResponse. # noqa: E501 - """ - - self._developer_tools = developer_tools - diff --git a/fingerprint_pro_server_api_sdk/models/products_response_identification.py b/fingerprint_pro_server_api_sdk/models/products_response_identification.py deleted file mode 100644 index 5b0811b5..00000000 --- a/fingerprint_pro_server_api_sdk/models/products_response_identification.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.products_response_identification_data import ProductsResponseIdentificationData -from fingerprint_pro_server_api_sdk.models.identification_error import IdentificationError - - -class ProductsResponseIdentification(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'ProductsResponseIdentificationData', - 'error': 'IdentificationError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """ProductsResponseIdentification - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[ProductsResponseIdentificationData]: - """Gets the data of this ProductsResponseIdentification. # noqa: E501 - - - :return: The data of this ProductsResponseIdentification. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[ProductsResponseIdentificationData]): - """Sets the data of this ProductsResponseIdentification. - - - :param data: The data of this ProductsResponseIdentification. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[IdentificationError]: - """Gets the error of this ProductsResponseIdentification. # noqa: E501 - - - :return: The error of this ProductsResponseIdentification. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[IdentificationError]): - """Sets the error of this ProductsResponseIdentification. - - - :param error: The error of this ProductsResponseIdentification. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/proxy_result.py b/fingerprint_pro_server_api_sdk/models/proxy.py similarity index 84% rename from fingerprint_pro_server_api_sdk/models/proxy_result.py rename to fingerprint_pro_server_api_sdk/models/proxy.py index 7027dcc8..b49e0a23 100644 --- a/fingerprint_pro_server_api_sdk/models/proxy_result.py +++ b/fingerprint_pro_server_api_sdk/models/proxy.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class ProxyResult(BaseModel): +class Proxy(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class ProxyResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """ProxyResult - a model defined in Swagger""" # noqa: E501 + """Proxy - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this ProxyResult. # noqa: E501 + """Gets the result of this Proxy. # noqa: E501 `true` if the request IP address is used by a public proxy provider, `false` otherwise. # noqa: E501 - :return: The result of this ProxyResult. # noqa: E501 + :return: The result of this Proxy. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this ProxyResult. + """Sets the result of this Proxy. `true` if the request IP address is used by a public proxy provider, `false` otherwise. # noqa: E501 - :param result: The result of this ProxyResult. # noqa: E501 + :param result: The result of this Proxy. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_ip_info.py b/fingerprint_pro_server_api_sdk/models/raw_device_attribute.py similarity index 53% rename from fingerprint_pro_server_api_sdk/models/signal_response_ip_info.py rename to fingerprint_pro_server_api_sdk/models/raw_device_attribute.py index ddbc282a..60ec25da 100644 --- a/fingerprint_pro_server_api_sdk/models/signal_response_ip_info.py +++ b/fingerprint_pro_server_api_sdk/models/raw_device_attribute.py @@ -13,11 +13,10 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_info_result import IpInfoResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError +from fingerprint_pro_server_api_sdk.models.raw_device_attribute_error import RawDeviceAttributeError -class SignalResponseIpInfo(BaseModel): +class RawDeviceAttribute(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,59 +29,59 @@ class SignalResponseIpInfo(BaseModel): and the value is json key in definition. """ swagger_types = { - 'data': 'IpInfoResult', - 'error': 'ProductError' + 'value': 'object', + 'error': 'RawDeviceAttributeError' } attribute_map = { - 'data': 'data', + 'value': 'value', 'error': 'error' } - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseIpInfo - a model defined in Swagger""" # noqa: E501 - self._data = None + def __init__(self, value=None, error=None): # noqa: E501 + """RawDeviceAttribute - a model defined in Swagger""" # noqa: E501 + self._value = None self._error = None self.discriminator = None - if data is not None: - self.data = data + if value is not None: + self.value = value if error is not None: self.error = error @property - def data(self) -> Optional[IpInfoResult]: - """Gets the data of this SignalResponseIpInfo. # noqa: E501 + def value(self) -> Optional[object]: + """Gets the value of this RawDeviceAttribute. # noqa: E501 - :return: The data of this SignalResponseIpInfo. # noqa: E501 + :return: The value of this RawDeviceAttribute. # noqa: E501 """ - return self._data + return self._value - @data.setter - def data(self, data: Optional[IpInfoResult]): - """Sets the data of this SignalResponseIpInfo. + @value.setter + def value(self, value: Optional[object]): + """Sets the value of this RawDeviceAttribute. - :param data: The data of this SignalResponseIpInfo. # noqa: E501 + :param value: The value of this RawDeviceAttribute. # noqa: E501 """ - self._data = data + self._value = value @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseIpInfo. # noqa: E501 + def error(self) -> Optional[RawDeviceAttributeError]: + """Gets the error of this RawDeviceAttribute. # noqa: E501 - :return: The error of this SignalResponseIpInfo. # noqa: E501 + :return: The error of this RawDeviceAttribute. # noqa: E501 """ return self._error @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseIpInfo. + def error(self, error: Optional[RawDeviceAttributeError]): + """Sets the error of this RawDeviceAttribute. - :param error: The error of this SignalResponseIpInfo. # noqa: E501 + :param error: The error of this RawDeviceAttribute. # noqa: E501 """ self._error = error diff --git a/fingerprint_pro_server_api_sdk/models/raw_device_attribute_error.py b/fingerprint_pro_server_api_sdk/models/raw_device_attribute_error.py new file mode 100644 index 00000000..1eb17b94 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/raw_device_attribute_error.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class RawDeviceAttributeError(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'message': 'str' + } + + attribute_map = { + 'name': 'name', + 'message': 'message' + } + + def __init__(self, name=None, message=None): # noqa: E501 + """RawDeviceAttributeError - a model defined in Swagger""" # noqa: E501 + self._name = None + self._message = None + self.discriminator = None + if name is not None: + self.name = name + if message is not None: + self.message = message + + @property + def name(self) -> Optional[str]: + """Gets the name of this RawDeviceAttributeError. # noqa: E501 + + + :return: The name of this RawDeviceAttributeError. # noqa: E501 + """ + return self._name + + @name.setter + def name(self, name: Optional[str]): + """Sets the name of this RawDeviceAttributeError. + + + :param name: The name of this RawDeviceAttributeError. # noqa: E501 + """ + + self._name = name + + @property + def message(self) -> Optional[str]: + """Gets the message of this RawDeviceAttributeError. # noqa: E501 + + + :return: The message of this RawDeviceAttributeError. # noqa: E501 + """ + return self._message + + @message.setter + def message(self, message: Optional[str]): + """Sets the message of this RawDeviceAttributeError. + + + :param message: The message of this RawDeviceAttributeError. # noqa: E501 + """ + + self._message = message + diff --git a/fingerprint_pro_server_api_sdk/models/raw_device_attributes_result.py b/fingerprint_pro_server_api_sdk/models/raw_device_attributes.py similarity index 97% rename from fingerprint_pro_server_api_sdk/models/raw_device_attributes_result.py rename to fingerprint_pro_server_api_sdk/models/raw_device_attributes.py index a3e66f88..163fdc41 100644 --- a/fingerprint_pro_server_api_sdk/models/raw_device_attributes_result.py +++ b/fingerprint_pro_server_api_sdk/models/raw_device_attributes.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class RawDeviceAttributesResult(dict): +class RawDeviceAttributes(dict): """ 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. diff --git a/fingerprint_pro_server_api_sdk/models/error_event404_response.py b/fingerprint_pro_server_api_sdk/models/related_visitor.py similarity index 53% rename from fingerprint_pro_server_api_sdk/models/error_event404_response.py rename to fingerprint_pro_server_api_sdk/models/related_visitor.py index 26b8d2c1..0b8cc0ef 100644 --- a/fingerprint_pro_server_api_sdk/models/error_event404_response.py +++ b/fingerprint_pro_server_api_sdk/models/related_visitor.py @@ -13,10 +13,9 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.error_event404_response_error import ErrorEvent404ResponseError -class ErrorEvent404Response(BaseModel): +class RelatedVisitor(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,36 +28,39 @@ class ErrorEvent404Response(BaseModel): and the value is json key in definition. """ swagger_types = { - 'error': 'ErrorEvent404ResponseError' + 'visitor_id': 'str' } attribute_map = { - 'error': 'error' + 'visitor_id': 'visitorId' } - def __init__(self, error=None): # noqa: E501 - """ErrorEvent404Response - a model defined in Swagger""" # noqa: E501 - self._error = None + def __init__(self, visitor_id=None): # noqa: E501 + """RelatedVisitor - a model defined in Swagger""" # noqa: E501 + self._visitor_id = None self.discriminator = None - if error is not None: - self.error = error + self.visitor_id = visitor_id @property - def error(self) -> Optional[ErrorEvent404ResponseError]: - """Gets the error of this ErrorEvent404Response. # noqa: E501 + def visitor_id(self) -> str: + """Gets the visitor_id of this RelatedVisitor. # noqa: E501 + Visitor ID of a browser that originates from the same mobile device as the input visitor ID. # noqa: E501 - :return: The error of this ErrorEvent404Response. # noqa: E501 + :return: The visitor_id of this RelatedVisitor. # noqa: E501 """ - return self._error + return self._visitor_id - @error.setter - def error(self, error: Optional[ErrorEvent404ResponseError]): - """Sets the error of this ErrorEvent404Response. + @visitor_id.setter + def visitor_id(self, visitor_id: str): + """Sets the visitor_id of this RelatedVisitor. + Visitor ID of a browser that originates from the same mobile device as the input visitor ID. # noqa: E501 - :param error: The error of this ErrorEvent404Response. # noqa: E501 + :param visitor_id: The visitor_id of this RelatedVisitor. # noqa: E501 """ + if visitor_id is None: + raise ValueError("Invalid value for `visitor_id`, must not be `None`") # noqa: E501 - self._error = error + self._visitor_id = visitor_id diff --git a/fingerprint_pro_server_api_sdk/models/remote_control_result.py b/fingerprint_pro_server_api_sdk/models/remote_control.py similarity index 83% rename from fingerprint_pro_server_api_sdk/models/remote_control_result.py rename to fingerprint_pro_server_api_sdk/models/remote_control.py index 8b748e34..dc9f8022 100644 --- a/fingerprint_pro_server_api_sdk/models/remote_control_result.py +++ b/fingerprint_pro_server_api_sdk/models/remote_control.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class RemoteControlResult(BaseModel): +class RemoteControl(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class RemoteControlResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """RemoteControlResult - a model defined in Swagger""" # noqa: E501 + """RemoteControl - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this RemoteControlResult. # noqa: E501 + """Gets the result of this RemoteControl. # noqa: E501 `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501 - :return: The result of this RemoteControlResult. # noqa: E501 + :return: The result of this RemoteControl. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this RemoteControlResult. + """Sets the result of this RemoteControl. `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501 - :param result: The result of this RemoteControlResult. # noqa: E501 + :param result: The result of this RemoteControl. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/root_apps_result.py b/fingerprint_pro_server_api_sdk/models/root_apps.py similarity index 72% rename from fingerprint_pro_server_api_sdk/models/root_apps_result.py rename to fingerprint_pro_server_api_sdk/models/root_apps.py index 840fe7c8..8ffc78bb 100644 --- a/fingerprint_pro_server_api_sdk/models/root_apps_result.py +++ b/fingerprint_pro_server_api_sdk/models/root_apps.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class RootAppsResult(BaseModel): +class RootApps(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class RootAppsResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """RootAppsResult - a model defined in Swagger""" # noqa: E501 + """RootApps - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this RootAppsResult. # noqa: E501 + """Gets the result of this RootApps. # noqa: E501 - Android specific root management apps detection. There are 2 values: • `true` - Root Management Apps detected (e.g. Magisk) • `false` - No Root Management Apps detected or the client isn't Android. # noqa: E501 + Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. # noqa: E501 - :return: The result of this RootAppsResult. # noqa: E501 + :return: The result of this RootApps. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this RootAppsResult. + """Sets the result of this RootApps. - Android specific root management apps detection. There are 2 values: • `true` - Root Management Apps detected (e.g. Magisk) • `false` - No Root Management Apps detected or the client isn't Android. # noqa: E501 + Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. # noqa: E501 - :param result: The result of this RootAppsResult. # noqa: E501 + :param result: The result of this RootApps. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_developer_tools.py b/fingerprint_pro_server_api_sdk/models/signal_response_developer_tools.py deleted file mode 100644 index 26869693..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_developer_tools.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.developer_tools_result import DeveloperToolsResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseDeveloperTools(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'DeveloperToolsResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseDeveloperTools - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[DeveloperToolsResult]: - """Gets the data of this SignalResponseDeveloperTools. # noqa: E501 - - - :return: The data of this SignalResponseDeveloperTools. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[DeveloperToolsResult]): - """Sets the data of this SignalResponseDeveloperTools. - - - :param data: The data of this SignalResponseDeveloperTools. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseDeveloperTools. # noqa: E501 - - - :return: The error of this SignalResponseDeveloperTools. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseDeveloperTools. - - - :param error: The error of this SignalResponseDeveloperTools. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_emulator.py b/fingerprint_pro_server_api_sdk/models/signal_response_emulator.py deleted file mode 100644 index 5f3a0bcd..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_emulator.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.emulator_result import EmulatorResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseEmulator(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'EmulatorResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseEmulator - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[EmulatorResult]: - """Gets the data of this SignalResponseEmulator. # noqa: E501 - - - :return: The data of this SignalResponseEmulator. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[EmulatorResult]): - """Sets the data of this SignalResponseEmulator. - - - :param data: The data of this SignalResponseEmulator. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseEmulator. # noqa: E501 - - - :return: The error of this SignalResponseEmulator. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseEmulator. - - - :param error: The error of this SignalResponseEmulator. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_factory_reset.py b/fingerprint_pro_server_api_sdk/models/signal_response_factory_reset.py deleted file mode 100644 index e8955f75..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_factory_reset.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.factory_reset_result import FactoryResetResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseFactoryReset(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'FactoryResetResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseFactoryReset - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[FactoryResetResult]: - """Gets the data of this SignalResponseFactoryReset. # noqa: E501 - - - :return: The data of this SignalResponseFactoryReset. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[FactoryResetResult]): - """Sets the data of this SignalResponseFactoryReset. - - - :param data: The data of this SignalResponseFactoryReset. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseFactoryReset. # noqa: E501 - - - :return: The error of this SignalResponseFactoryReset. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseFactoryReset. - - - :param error: The error of this SignalResponseFactoryReset. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_high_activity.py b/fingerprint_pro_server_api_sdk/models/signal_response_high_activity.py deleted file mode 100644 index 7ab81a84..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_high_activity.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.high_activity_result import HighActivityResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseHighActivity(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'HighActivityResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseHighActivity - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[HighActivityResult]: - """Gets the data of this SignalResponseHighActivity. # noqa: E501 - - - :return: The data of this SignalResponseHighActivity. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[HighActivityResult]): - """Sets the data of this SignalResponseHighActivity. - - - :param data: The data of this SignalResponseHighActivity. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseHighActivity. # noqa: E501 - - - :return: The error of this SignalResponseHighActivity. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseHighActivity. - - - :param error: The error of this SignalResponseHighActivity. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_incognito.py b/fingerprint_pro_server_api_sdk/models/signal_response_incognito.py deleted file mode 100644 index 4f7c1eac..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_incognito.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.incognito_result import IncognitoResult -from fingerprint_pro_server_api_sdk.models.identification_error import IdentificationError - - -class SignalResponseIncognito(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'IncognitoResult', - 'error': 'IdentificationError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseIncognito - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[IncognitoResult]: - """Gets the data of this SignalResponseIncognito. # noqa: E501 - - - :return: The data of this SignalResponseIncognito. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[IncognitoResult]): - """Sets the data of this SignalResponseIncognito. - - - :param data: The data of this SignalResponseIncognito. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[IdentificationError]: - """Gets the error of this SignalResponseIncognito. # noqa: E501 - - - :return: The error of this SignalResponseIncognito. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[IdentificationError]): - """Sets the error of this SignalResponseIncognito. - - - :param error: The error of this SignalResponseIncognito. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_ip_blocklist.py b/fingerprint_pro_server_api_sdk/models/signal_response_ip_blocklist.py deleted file mode 100644 index 010ed2aa..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_ip_blocklist.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.ip_block_list_result import IpBlockListResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseIpBlocklist(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'IpBlockListResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseIpBlocklist - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[IpBlockListResult]: - """Gets the data of this SignalResponseIpBlocklist. # noqa: E501 - - - :return: The data of this SignalResponseIpBlocklist. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[IpBlockListResult]): - """Sets the data of this SignalResponseIpBlocklist. - - - :param data: The data of this SignalResponseIpBlocklist. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseIpBlocklist. # noqa: E501 - - - :return: The error of this SignalResponseIpBlocklist. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseIpBlocklist. - - - :param error: The error of this SignalResponseIpBlocklist. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_jailbroken.py b/fingerprint_pro_server_api_sdk/models/signal_response_jailbroken.py deleted file mode 100644 index abc2d06b..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_jailbroken.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.jailbroken_result import JailbrokenResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseJailbroken(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'JailbrokenResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseJailbroken - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[JailbrokenResult]: - """Gets the data of this SignalResponseJailbroken. # noqa: E501 - - - :return: The data of this SignalResponseJailbroken. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[JailbrokenResult]): - """Sets the data of this SignalResponseJailbroken. - - - :param data: The data of this SignalResponseJailbroken. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseJailbroken. # noqa: E501 - - - :return: The error of this SignalResponseJailbroken. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseJailbroken. - - - :param error: The error of this SignalResponseJailbroken. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_location_spoofing.py b/fingerprint_pro_server_api_sdk/models/signal_response_location_spoofing.py deleted file mode 100644 index 4f6b2836..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_location_spoofing.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.location_spoofing_result import LocationSpoofingResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseLocationSpoofing(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'LocationSpoofingResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseLocationSpoofing - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[LocationSpoofingResult]: - """Gets the data of this SignalResponseLocationSpoofing. # noqa: E501 - - - :return: The data of this SignalResponseLocationSpoofing. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[LocationSpoofingResult]): - """Sets the data of this SignalResponseLocationSpoofing. - - - :param data: The data of this SignalResponseLocationSpoofing. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseLocationSpoofing. # noqa: E501 - - - :return: The error of this SignalResponseLocationSpoofing. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseLocationSpoofing. - - - :param error: The error of this SignalResponseLocationSpoofing. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_privacy_settings.py b/fingerprint_pro_server_api_sdk/models/signal_response_privacy_settings.py deleted file mode 100644 index 13407402..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_privacy_settings.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.privacy_settings_result import PrivacySettingsResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponsePrivacySettings(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'PrivacySettingsResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponsePrivacySettings - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[PrivacySettingsResult]: - """Gets the data of this SignalResponsePrivacySettings. # noqa: E501 - - - :return: The data of this SignalResponsePrivacySettings. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[PrivacySettingsResult]): - """Sets the data of this SignalResponsePrivacySettings. - - - :param data: The data of this SignalResponsePrivacySettings. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponsePrivacySettings. # noqa: E501 - - - :return: The error of this SignalResponsePrivacySettings. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponsePrivacySettings. - - - :param error: The error of this SignalResponsePrivacySettings. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_raw_device_attributes.py b/fingerprint_pro_server_api_sdk/models/signal_response_raw_device_attributes.py deleted file mode 100644 index 35f5afcc..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_raw_device_attributes.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.raw_device_attributes_result import RawDeviceAttributesResult -from fingerprint_pro_server_api_sdk.models.identification_error import IdentificationError - - -class SignalResponseRawDeviceAttributes(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'RawDeviceAttributesResult', - 'error': 'IdentificationError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseRawDeviceAttributes - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[RawDeviceAttributesResult]: - """Gets the data of this SignalResponseRawDeviceAttributes. # noqa: E501 - - - :return: The data of this SignalResponseRawDeviceAttributes. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[RawDeviceAttributesResult]): - """Sets the data of this SignalResponseRawDeviceAttributes. - - - :param data: The data of this SignalResponseRawDeviceAttributes. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[IdentificationError]: - """Gets the error of this SignalResponseRawDeviceAttributes. # noqa: E501 - - - :return: The error of this SignalResponseRawDeviceAttributes. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[IdentificationError]): - """Sets the error of this SignalResponseRawDeviceAttributes. - - - :param error: The error of this SignalResponseRawDeviceAttributes. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_remote_control.py b/fingerprint_pro_server_api_sdk/models/signal_response_remote_control.py deleted file mode 100644 index b9f0f488..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_remote_control.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.remote_control_result import RemoteControlResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseRemoteControl(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'RemoteControlResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseRemoteControl - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[RemoteControlResult]: - """Gets the data of this SignalResponseRemoteControl. # noqa: E501 - - - :return: The data of this SignalResponseRemoteControl. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[RemoteControlResult]): - """Sets the data of this SignalResponseRemoteControl. - - - :param data: The data of this SignalResponseRemoteControl. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseRemoteControl. # noqa: E501 - - - :return: The error of this SignalResponseRemoteControl. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseRemoteControl. - - - :param error: The error of this SignalResponseRemoteControl. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_root_apps.py b/fingerprint_pro_server_api_sdk/models/signal_response_root_apps.py deleted file mode 100644 index 4aa0ad85..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_root_apps.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.root_apps_result import RootAppsResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseRootApps(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'RootAppsResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseRootApps - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[RootAppsResult]: - """Gets the data of this SignalResponseRootApps. # noqa: E501 - - - :return: The data of this SignalResponseRootApps. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[RootAppsResult]): - """Sets the data of this SignalResponseRootApps. - - - :param data: The data of this SignalResponseRootApps. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseRootApps. # noqa: E501 - - - :return: The error of this SignalResponseRootApps. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseRootApps. - - - :param error: The error of this SignalResponseRootApps. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_tampering.py b/fingerprint_pro_server_api_sdk/models/signal_response_tampering.py deleted file mode 100644 index 1eaef0e9..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_tampering.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.tampering_result import TamperingResult -from fingerprint_pro_server_api_sdk.models.identification_error import IdentificationError - - -class SignalResponseTampering(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'TamperingResult', - 'error': 'IdentificationError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseTampering - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[TamperingResult]: - """Gets the data of this SignalResponseTampering. # noqa: E501 - - - :return: The data of this SignalResponseTampering. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[TamperingResult]): - """Sets the data of this SignalResponseTampering. - - - :param data: The data of this SignalResponseTampering. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[IdentificationError]: - """Gets the error of this SignalResponseTampering. # noqa: E501 - - - :return: The error of this SignalResponseTampering. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[IdentificationError]): - """Sets the error of this SignalResponseTampering. - - - :param error: The error of this SignalResponseTampering. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/signal_response_virtual_machine.py b/fingerprint_pro_server_api_sdk/models/signal_response_virtual_machine.py deleted file mode 100644 index 5f5598b0..00000000 --- a/fingerprint_pro_server_api_sdk/models/signal_response_virtual_machine.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.virtual_machine_result import VirtualMachineResult -from fingerprint_pro_server_api_sdk.models.product_error import ProductError - - -class SignalResponseVirtualMachine(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'VirtualMachineResult', - 'error': 'ProductError' - } - - attribute_map = { - 'data': 'data', - 'error': 'error' - } - - def __init__(self, data=None, error=None): # noqa: E501 - """SignalResponseVirtualMachine - a model defined in Swagger""" # noqa: E501 - self._data = None - self._error = None - self.discriminator = None - if data is not None: - self.data = data - if error is not None: - self.error = error - - @property - def data(self) -> Optional[VirtualMachineResult]: - """Gets the data of this SignalResponseVirtualMachine. # noqa: E501 - - - :return: The data of this SignalResponseVirtualMachine. # noqa: E501 - """ - return self._data - - @data.setter - def data(self, data: Optional[VirtualMachineResult]): - """Sets the data of this SignalResponseVirtualMachine. - - - :param data: The data of this SignalResponseVirtualMachine. # noqa: E501 - """ - - self._data = data - - @property - def error(self) -> Optional[ProductError]: - """Gets the error of this SignalResponseVirtualMachine. # noqa: E501 - - - :return: The error of this SignalResponseVirtualMachine. # noqa: E501 - """ - return self._error - - @error.setter - def error(self, error: Optional[ProductError]): - """Sets the error of this SignalResponseVirtualMachine. - - - :param error: The error of this SignalResponseVirtualMachine. # noqa: E501 - """ - - self._error = error - diff --git a/fingerprint_pro_server_api_sdk/models/suspect_score_result.py b/fingerprint_pro_server_api_sdk/models/suspect_score.py similarity index 86% rename from fingerprint_pro_server_api_sdk/models/suspect_score_result.py rename to fingerprint_pro_server_api_sdk/models/suspect_score.py index 72a3e056..c3b91662 100644 --- a/fingerprint_pro_server_api_sdk/models/suspect_score_result.py +++ b/fingerprint_pro_server_api_sdk/models/suspect_score.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class SuspectScoreResult(BaseModel): +class SuspectScore(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class SuspectScoreResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """SuspectScoreResult - a model defined in Swagger""" # noqa: E501 + """SuspectScore - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> int: - """Gets the result of this SuspectScoreResult. # noqa: E501 + """Gets the result of this SuspectScore. # noqa: E501 Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score # noqa: E501 - :return: The result of this SuspectScoreResult. # noqa: E501 + :return: The result of this SuspectScore. # noqa: E501 """ return self._result @result.setter def result(self, result: int): - """Sets the result of this SuspectScoreResult. + """Sets the result of this SuspectScore. Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score # noqa: E501 - :param result: The result of this SuspectScoreResult. # noqa: E501 + :param result: The result of this SuspectScore. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/tag.py b/fingerprint_pro_server_api_sdk/models/tag.py new file mode 100644 index 00000000..05a4b4ce --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/tag.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class Tag(dict): + """ + A customer-provided value or an object that was sent with identification request. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + __parent_class__ = 'dict' + diff --git a/fingerprint_pro_server_api_sdk/models/tampering.py b/fingerprint_pro_server_api_sdk/models/tampering.py new file mode 100644 index 00000000..a0c6c59f --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/tampering.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class Tampering(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool', + 'anomaly_score': 'float', + 'anti_detect_browser': 'bool' + } + + attribute_map = { + 'result': 'result', + 'anomaly_score': 'anomalyScore', + 'anti_detect_browser': 'antiDetectBrowser' + } + + def __init__(self, result=None, anomaly_score=None, anti_detect_browser=None): # noqa: E501 + """Tampering - a model defined in Swagger""" # noqa: E501 + self._result = None + self._anomaly_score = None + self._anti_detect_browser = None + self.discriminator = None + self.result = result + self.anomaly_score = anomaly_score + self.anti_detect_browser = anti_detect_browser + + @property + def result(self) -> bool: + """Gets the result of this Tampering. # noqa: E501 + + Flag indicating browser tampering was detected. This happens when either of these conditions is true: * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). * The browser signature resembles one of \"anti-detect\" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). # noqa: E501 + + :return: The result of this Tampering. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: bool): + """Sets the result of this Tampering. + + Flag indicating browser tampering was detected. This happens when either of these conditions is true: * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). * The browser signature resembles one of \"anti-detect\" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). # noqa: E501 + + :param result: The result of this Tampering. # noqa: E501 + """ + if result is None: + raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 + + self._result = result + + @property + def anomaly_score(self) -> float: + """Gets the anomaly_score of this Tampering. # noqa: E501 + + Confidence score (`0.0 - 1.0`) for tampering detection: * Values above `0.5` indicate that there was a tampering attempt. * Values below `0.5` indicate genuine browsers. # noqa: E501 + + :return: The anomaly_score of this Tampering. # noqa: E501 + """ + return self._anomaly_score + + @anomaly_score.setter + def anomaly_score(self, anomaly_score: float): + """Sets the anomaly_score of this Tampering. + + Confidence score (`0.0 - 1.0`) for tampering detection: * Values above `0.5` indicate that there was a tampering attempt. * Values below `0.5` indicate genuine browsers. # noqa: E501 + + :param anomaly_score: The anomaly_score of this Tampering. # noqa: E501 + """ + if anomaly_score is None: + raise ValueError("Invalid value for `anomaly_score`, must not be `None`") # noqa: E501 + + self._anomaly_score = anomaly_score + + @property + def anti_detect_browser(self) -> bool: + """Gets the anti_detect_browser of this Tampering. # noqa: E501 + + Is `true` if the identified browser resembles one of \"anti-detect\" browsers, for example, Incognition. Anti-detect browsers try to evade identification by masking or manipulating their fingerprint to imitate legitimate browser configurations. # noqa: E501 + + :return: The anti_detect_browser of this Tampering. # noqa: E501 + """ + return self._anti_detect_browser + + @anti_detect_browser.setter + def anti_detect_browser(self, anti_detect_browser: bool): + """Sets the anti_detect_browser of this Tampering. + + Is `true` if the identified browser resembles one of \"anti-detect\" browsers, for example, Incognition. Anti-detect browsers try to evade identification by masking or manipulating their fingerprint to imitate legitimate browser configurations. # noqa: E501 + + :param anti_detect_browser: The anti_detect_browser of this Tampering. # noqa: E501 + """ + if anti_detect_browser is None: + raise ValueError("Invalid value for `anti_detect_browser`, must not be `None`") # noqa: E501 + + self._anti_detect_browser = anti_detect_browser + diff --git a/fingerprint_pro_server_api_sdk/models/tampering_result.py b/fingerprint_pro_server_api_sdk/models/tampering_result.py deleted file mode 100644 index 2d817ec6..00000000 --- a/fingerprint_pro_server_api_sdk/models/tampering_result.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class TamperingResult(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'result': 'bool', - 'anomaly_score': 'float' - } - - attribute_map = { - 'result': 'result', - 'anomaly_score': 'anomalyScore' - } - - def __init__(self, result=None, anomaly_score=None): # noqa: E501 - """TamperingResult - a model defined in Swagger""" # noqa: E501 - self._result = None - self._anomaly_score = None - self.discriminator = None - self.result = result - self.anomaly_score = anomaly_score - - @property - def result(self) -> bool: - """Gets the result of this TamperingResult. # noqa: E501 - - Flag indicating whether browser tampering was detected according to our internal thresholds. # noqa: E501 - - :return: The result of this TamperingResult. # noqa: E501 - """ - return self._result - - @result.setter - def result(self, result: bool): - """Sets the result of this TamperingResult. - - Flag indicating whether browser tampering was detected according to our internal thresholds. # noqa: E501 - - :param result: The result of this TamperingResult. # noqa: E501 - """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 - - self._result = result - - @property - def anomaly_score(self) -> float: - """Gets the anomaly_score of this TamperingResult. # noqa: E501 - - Confidence score (`0.0 - 1.0`) for the tampering detection. Values above `0.5` suggest that we're reasonably sure there was a tampering attempt. Values below `0.5` are genuine browsers. # noqa: E501 - - :return: The anomaly_score of this TamperingResult. # noqa: E501 - """ - return self._anomaly_score - - @anomaly_score.setter - def anomaly_score(self, anomaly_score: float): - """Sets the anomaly_score of this TamperingResult. - - Confidence score (`0.0 - 1.0`) for the tampering detection. Values above `0.5` suggest that we're reasonably sure there was a tampering attempt. Values below `0.5` are genuine browsers. # noqa: E501 - - :param anomaly_score: The anomaly_score of this TamperingResult. # noqa: E501 - """ - if anomaly_score is None: - raise ValueError("Invalid value for `anomaly_score`, must not be `None`") # noqa: E501 - - self._anomaly_score = anomaly_score - diff --git a/fingerprint_pro_server_api_sdk/models/tor_result.py b/fingerprint_pro_server_api_sdk/models/tor.py similarity index 84% rename from fingerprint_pro_server_api_sdk/models/tor_result.py rename to fingerprint_pro_server_api_sdk/models/tor.py index 03a3eb18..4e96a69f 100644 --- a/fingerprint_pro_server_api_sdk/models/tor_result.py +++ b/fingerprint_pro_server_api_sdk/models/tor.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class TorResult(BaseModel): +class Tor(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class TorResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """TorResult - a model defined in Swagger""" # noqa: E501 + """Tor - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this TorResult. # noqa: E501 + """Gets the result of this Tor. # noqa: E501 `true` if the request IP address is a known tor exit node, `false` otherwise. # noqa: E501 - :return: The result of this TorResult. # noqa: E501 + :return: The result of this Tor. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this TorResult. + """Sets the result of this Tor. `true` if the request IP address is a known tor exit node, `false` otherwise. # noqa: E501 - :param result: The result of this TorResult. # noqa: E501 + :param result: The result of this Tor. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/velocity.py b/fingerprint_pro_server_api_sdk/models/velocity.py new file mode 100644 index 00000000..6c2d4f38 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/velocity.py @@ -0,0 +1,224 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData + + +class Velocity(BaseModel): + """ + 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. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'distinct_ip': 'VelocityData', + 'distinct_linked_id': 'VelocityData', + 'distinct_country': 'VelocityData', + 'events': 'VelocityData', + 'ip_events': 'VelocityData', + 'distinct_ip_by_linked_id': 'VelocityData', + 'distinct_visitor_id_by_linked_id': 'VelocityData' + } + + attribute_map = { + 'distinct_ip': 'distinctIp', + 'distinct_linked_id': 'distinctLinkedId', + 'distinct_country': 'distinctCountry', + 'events': 'events', + 'ip_events': 'ipEvents', + 'distinct_ip_by_linked_id': 'distinctIpByLinkedId', + 'distinct_visitor_id_by_linked_id': 'distinctVisitorIdByLinkedId' + } + + def __init__(self, distinct_ip=None, distinct_linked_id=None, distinct_country=None, events=None, ip_events=None, distinct_ip_by_linked_id=None, distinct_visitor_id_by_linked_id=None): # noqa: E501 + """Velocity - a model defined in Swagger""" # noqa: E501 + self._distinct_ip = None + self._distinct_linked_id = None + self._distinct_country = None + self._events = None + self._ip_events = None + self._distinct_ip_by_linked_id = None + self._distinct_visitor_id_by_linked_id = None + self.discriminator = None + self.distinct_ip = distinct_ip + self.distinct_linked_id = distinct_linked_id + self.distinct_country = distinct_country + self.events = events + self.ip_events = ip_events + self.distinct_ip_by_linked_id = distinct_ip_by_linked_id + self.distinct_visitor_id_by_linked_id = distinct_visitor_id_by_linked_id + + @property + def distinct_ip(self) -> VelocityData: + """Gets the distinct_ip of this Velocity. # noqa: E501 + + + :return: The distinct_ip of this Velocity. # noqa: E501 + """ + return self._distinct_ip + + @distinct_ip.setter + def distinct_ip(self, distinct_ip: VelocityData): + """Sets the distinct_ip of this Velocity. + + + :param distinct_ip: The distinct_ip of this Velocity. # noqa: E501 + """ + if distinct_ip is None: + raise ValueError("Invalid value for `distinct_ip`, must not be `None`") # noqa: E501 + + self._distinct_ip = distinct_ip + + @property + def distinct_linked_id(self) -> VelocityData: + """Gets the distinct_linked_id of this Velocity. # noqa: E501 + + + :return: The distinct_linked_id of this Velocity. # noqa: E501 + """ + return self._distinct_linked_id + + @distinct_linked_id.setter + def distinct_linked_id(self, distinct_linked_id: VelocityData): + """Sets the distinct_linked_id of this Velocity. + + + :param distinct_linked_id: The distinct_linked_id of this Velocity. # noqa: E501 + """ + if distinct_linked_id is None: + raise ValueError("Invalid value for `distinct_linked_id`, must not be `None`") # noqa: E501 + + self._distinct_linked_id = distinct_linked_id + + @property + def distinct_country(self) -> VelocityData: + """Gets the distinct_country of this Velocity. # noqa: E501 + + + :return: The distinct_country of this Velocity. # noqa: E501 + """ + return self._distinct_country + + @distinct_country.setter + def distinct_country(self, distinct_country: VelocityData): + """Sets the distinct_country of this Velocity. + + + :param distinct_country: The distinct_country of this Velocity. # noqa: E501 + """ + if distinct_country is None: + raise ValueError("Invalid value for `distinct_country`, must not be `None`") # noqa: E501 + + self._distinct_country = distinct_country + + @property + def events(self) -> VelocityData: + """Gets the events of this Velocity. # noqa: E501 + + + :return: The events of this Velocity. # noqa: E501 + """ + return self._events + + @events.setter + def events(self, events: VelocityData): + """Sets the events of this Velocity. + + + :param events: The events of this Velocity. # noqa: E501 + """ + if events is None: + raise ValueError("Invalid value for `events`, must not be `None`") # noqa: E501 + + self._events = events + + @property + def ip_events(self) -> VelocityData: + """Gets the ip_events of this Velocity. # noqa: E501 + + + :return: The ip_events of this Velocity. # noqa: E501 + """ + return self._ip_events + + @ip_events.setter + def ip_events(self, ip_events: VelocityData): + """Sets the ip_events of this Velocity. + + + :param ip_events: The ip_events of this Velocity. # noqa: E501 + """ + if ip_events is None: + raise ValueError("Invalid value for `ip_events`, must not be `None`") # noqa: E501 + + self._ip_events = ip_events + + @property + def distinct_ip_by_linked_id(self) -> VelocityData: + """Gets the distinct_ip_by_linked_id of this Velocity. # noqa: E501 + + + :return: The distinct_ip_by_linked_id of this Velocity. # noqa: E501 + """ + return self._distinct_ip_by_linked_id + + @distinct_ip_by_linked_id.setter + def distinct_ip_by_linked_id(self, distinct_ip_by_linked_id: VelocityData): + """Sets the distinct_ip_by_linked_id of this Velocity. + + + :param distinct_ip_by_linked_id: The distinct_ip_by_linked_id of this Velocity. # noqa: E501 + """ + if distinct_ip_by_linked_id is None: + raise ValueError("Invalid value for `distinct_ip_by_linked_id`, must not be `None`") # noqa: E501 + + self._distinct_ip_by_linked_id = distinct_ip_by_linked_id + + @property + def distinct_visitor_id_by_linked_id(self) -> VelocityData: + """Gets the distinct_visitor_id_by_linked_id of this Velocity. # noqa: E501 + + + :return: The distinct_visitor_id_by_linked_id of this Velocity. # noqa: E501 + """ + return self._distinct_visitor_id_by_linked_id + + @distinct_visitor_id_by_linked_id.setter + def distinct_visitor_id_by_linked_id(self, distinct_visitor_id_by_linked_id: VelocityData): + """Sets the distinct_visitor_id_by_linked_id of this Velocity. + + + :param distinct_visitor_id_by_linked_id: The distinct_visitor_id_by_linked_id of this Velocity. # noqa: E501 + """ + if distinct_visitor_id_by_linked_id is None: + raise ValueError("Invalid value for `distinct_visitor_id_by_linked_id`, must not be `None`") # noqa: E501 + + self._distinct_visitor_id_by_linked_id = distinct_visitor_id_by_linked_id + diff --git a/fingerprint_pro_server_api_sdk/models/velocity_data.py b/fingerprint_pro_server_api_sdk/models/velocity_data.py new file mode 100644 index 00000000..e077e1b0 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/velocity_data.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals + + +class VelocityData(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'intervals': 'VelocityIntervals' + } + + attribute_map = { + 'intervals': 'intervals' + } + + def __init__(self, intervals=None): # noqa: E501 + """VelocityData - a model defined in Swagger""" # noqa: E501 + self._intervals = None + self.discriminator = None + if intervals is not None: + self.intervals = intervals + + @property + def intervals(self) -> Optional[VelocityIntervals]: + """Gets the intervals of this VelocityData. # noqa: E501 + + + :return: The intervals of this VelocityData. # noqa: E501 + """ + return self._intervals + + @intervals.setter + def intervals(self, intervals: Optional[VelocityIntervals]): + """Sets the intervals of this VelocityData. + + + :param intervals: The intervals of this VelocityData. # noqa: E501 + """ + + self._intervals = intervals + diff --git a/fingerprint_pro_server_api_sdk/models/velocity_interval_result.py b/fingerprint_pro_server_api_sdk/models/velocity_interval_result.py deleted file mode 100644 index c61afb19..00000000 --- a/fingerprint_pro_server_api_sdk/models/velocity_interval_result.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel - - -class VelocityIntervalResult(BaseModel): - """ - Is absent if the velocity data could not be generated for the visitor ID. - - NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - '_5m': 'int', - '_1h': 'int', - '_24h': 'int' - } - - attribute_map = { - '_5m': '5m', - '_1h': '1h', - '_24h': '24h' - } - - def __init__(self, _5m=None, _1h=None, _24h=None): # noqa: E501 - """VelocityIntervalResult - a model defined in Swagger""" # noqa: E501 - self.__5m = None - self.__1h = None - self.__24h = None - self.discriminator = None - self._5m = _5m - self._1h = _1h - if _24h is not None: - self._24h = _24h - - @property - def _5m(self) -> int: - """Gets the _5m of this VelocityIntervalResult. # noqa: E501 - - - :return: The _5m of this VelocityIntervalResult. # noqa: E501 - """ - return self.__5m - - @_5m.setter - def _5m(self, _5m: int): - """Sets the _5m of this VelocityIntervalResult. - - - :param _5m: The _5m of this VelocityIntervalResult. # noqa: E501 - """ - if _5m is None: - raise ValueError("Invalid value for `_5m`, must not be `None`") # noqa: E501 - - self.__5m = _5m - - @property - def _1h(self) -> int: - """Gets the _1h of this VelocityIntervalResult. # noqa: E501 - - - :return: The _1h of this VelocityIntervalResult. # noqa: E501 - """ - return self.__1h - - @_1h.setter - def _1h(self, _1h: int): - """Sets the _1h of this VelocityIntervalResult. - - - :param _1h: The _1h of this VelocityIntervalResult. # noqa: E501 - """ - if _1h is None: - raise ValueError("Invalid value for `_1h`, must not be `None`") # noqa: E501 - - self.__1h = _1h - - @property - def _24h(self) -> Optional[int]: - """Gets the _24h of this VelocityIntervalResult. # noqa: E501 - - The `24h` interval of `distinctIp`, `distinctLinkedId`, and `distinctCountry` 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. # noqa: E501 - - :return: The _24h of this VelocityIntervalResult. # noqa: E501 - """ - return self.__24h - - @_24h.setter - def _24h(self, _24h: Optional[int]): - """Sets the _24h of this VelocityIntervalResult. - - The `24h` interval of `distinctIp`, `distinctLinkedId`, and `distinctCountry` 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. # noqa: E501 - - :param _24h: The _24h of this VelocityIntervalResult. # noqa: E501 - """ - - self.__24h = _24h - diff --git a/fingerprint_pro_server_api_sdk/models/velocity_intervals.py b/fingerprint_pro_server_api_sdk/models/velocity_intervals.py index 6d496ed1..052f3b35 100644 --- a/fingerprint_pro_server_api_sdk/models/velocity_intervals.py +++ b/fingerprint_pro_server_api_sdk/models/velocity_intervals.py @@ -13,11 +13,13 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.velocity_interval_result import VelocityIntervalResult class VelocityIntervals(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. + """ + Is absent if the velocity data could not be generated for the visitor ID. + + NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ @@ -29,36 +31,88 @@ class VelocityIntervals(BaseModel): and the value is json key in definition. """ swagger_types = { - 'intervals': 'VelocityIntervalResult' + '_5m': 'int', + '_1h': 'int', + '_24h': 'int' } attribute_map = { - 'intervals': 'intervals' + '_5m': '5m', + '_1h': '1h', + '_24h': '24h' } - def __init__(self, intervals=None): # noqa: E501 + def __init__(self, _5m=None, _1h=None, _24h=None): # noqa: E501 """VelocityIntervals - a model defined in Swagger""" # noqa: E501 - self._intervals = None + self.__5m = None + self.__1h = None + self.__24h = None self.discriminator = None - if intervals is not None: - self.intervals = intervals + self._5m = _5m + self._1h = _1h + if _24h is not None: + self._24h = _24h + + @property + def _5m(self) -> int: + """Gets the _5m of this VelocityIntervals. # noqa: E501 + + + :return: The _5m of this VelocityIntervals. # noqa: E501 + """ + return self.__5m + + @_5m.setter + def _5m(self, _5m: int): + """Sets the _5m of this VelocityIntervals. + + + :param _5m: The _5m of this VelocityIntervals. # noqa: E501 + """ + if _5m is None: + raise ValueError("Invalid value for `_5m`, must not be `None`") # noqa: E501 + + self.__5m = _5m + + @property + def _1h(self) -> int: + """Gets the _1h of this VelocityIntervals. # noqa: E501 + + + :return: The _1h of this VelocityIntervals. # noqa: E501 + """ + return self.__1h + + @_1h.setter + def _1h(self, _1h: int): + """Sets the _1h of this VelocityIntervals. + + + :param _1h: The _1h of this VelocityIntervals. # noqa: E501 + """ + if _1h is None: + raise ValueError("Invalid value for `_1h`, must not be `None`") # noqa: E501 + + self.__1h = _1h @property - def intervals(self) -> Optional[VelocityIntervalResult]: - """Gets the intervals of this VelocityIntervals. # noqa: E501 + def _24h(self) -> Optional[int]: + """Gets the _24h of this VelocityIntervals. # noqa: E501 + 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. # noqa: E501 - :return: The intervals of this VelocityIntervals. # noqa: E501 + :return: The _24h of this VelocityIntervals. # noqa: E501 """ - return self._intervals + return self.__24h - @intervals.setter - def intervals(self, intervals: Optional[VelocityIntervalResult]): - """Sets the intervals of this VelocityIntervals. + @_24h.setter + def _24h(self, _24h: Optional[int]): + """Sets the _24h of this VelocityIntervals. + 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. # noqa: E501 - :param intervals: The intervals of this VelocityIntervals. # noqa: E501 + :param _24h: The _24h of this VelocityIntervals. # noqa: E501 """ - self._intervals = intervals + self.__24h = _24h diff --git a/fingerprint_pro_server_api_sdk/models/velocity_result.py b/fingerprint_pro_server_api_sdk/models/velocity_result.py deleted file mode 100644 index 89f81afd..00000000 --- a/fingerprint_pro_server_api_sdk/models/velocity_result.py +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals -from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals -from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals -from fingerprint_pro_server_api_sdk.models.velocity_intervals import VelocityIntervals - - -class VelocityResult(BaseModel): - """ - Sums key data points for a specific `visitorId` at three distinct time intervals: 5 minutes, 1 hour, and 24 hours as follows: - Number of identification events attributed to the visitor ID - Number of distinct IP addresses associated to the visitor ID. - Number of distinct countries associated with the visitor ID. - Number of distinct `linkedId`s associated with the visitor ID. The `24h` interval of `distinctIp`, `distinctLinkedId`, and `distinctCountry` 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. - - NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'distinct_ip': 'VelocityIntervals', - 'distinct_linked_id': 'VelocityIntervals', - 'distinct_country': 'VelocityIntervals', - 'events': 'VelocityIntervals' - } - - attribute_map = { - 'distinct_ip': 'distinctIp', - 'distinct_linked_id': 'distinctLinkedId', - 'distinct_country': 'distinctCountry', - 'events': 'events' - } - - def __init__(self, distinct_ip=None, distinct_linked_id=None, distinct_country=None, events=None): # noqa: E501 - """VelocityResult - a model defined in Swagger""" # noqa: E501 - self._distinct_ip = None - self._distinct_linked_id = None - self._distinct_country = None - self._events = None - self.discriminator = None - self.distinct_ip = distinct_ip - self.distinct_linked_id = distinct_linked_id - self.distinct_country = distinct_country - self.events = events - - @property - def distinct_ip(self) -> VelocityIntervals: - """Gets the distinct_ip of this VelocityResult. # noqa: E501 - - - :return: The distinct_ip of this VelocityResult. # noqa: E501 - """ - return self._distinct_ip - - @distinct_ip.setter - def distinct_ip(self, distinct_ip: VelocityIntervals): - """Sets the distinct_ip of this VelocityResult. - - - :param distinct_ip: The distinct_ip of this VelocityResult. # noqa: E501 - """ - if distinct_ip is None: - raise ValueError("Invalid value for `distinct_ip`, must not be `None`") # noqa: E501 - - self._distinct_ip = distinct_ip - - @property - def distinct_linked_id(self) -> VelocityIntervals: - """Gets the distinct_linked_id of this VelocityResult. # noqa: E501 - - - :return: The distinct_linked_id of this VelocityResult. # noqa: E501 - """ - return self._distinct_linked_id - - @distinct_linked_id.setter - def distinct_linked_id(self, distinct_linked_id: VelocityIntervals): - """Sets the distinct_linked_id of this VelocityResult. - - - :param distinct_linked_id: The distinct_linked_id of this VelocityResult. # noqa: E501 - """ - if distinct_linked_id is None: - raise ValueError("Invalid value for `distinct_linked_id`, must not be `None`") # noqa: E501 - - self._distinct_linked_id = distinct_linked_id - - @property - def distinct_country(self) -> VelocityIntervals: - """Gets the distinct_country of this VelocityResult. # noqa: E501 - - - :return: The distinct_country of this VelocityResult. # noqa: E501 - """ - return self._distinct_country - - @distinct_country.setter - def distinct_country(self, distinct_country: VelocityIntervals): - """Sets the distinct_country of this VelocityResult. - - - :param distinct_country: The distinct_country of this VelocityResult. # noqa: E501 - """ - if distinct_country is None: - raise ValueError("Invalid value for `distinct_country`, must not be `None`") # noqa: E501 - - self._distinct_country = distinct_country - - @property - def events(self) -> VelocityIntervals: - """Gets the events of this VelocityResult. # noqa: E501 - - - :return: The events of this VelocityResult. # noqa: E501 - """ - return self._events - - @events.setter - def events(self, events: VelocityIntervals): - """Sets the events of this VelocityResult. - - - :param events: The events of this VelocityResult. # noqa: E501 - """ - if events is None: - raise ValueError("Invalid value for `events`, must not be `None`") # noqa: E501 - - self._events = events - diff --git a/fingerprint_pro_server_api_sdk/models/virtual_machine_result.py b/fingerprint_pro_server_api_sdk/models/virtual_machine.py similarity index 83% rename from fingerprint_pro_server_api_sdk/models/virtual_machine_result.py rename to fingerprint_pro_server_api_sdk/models/virtual_machine.py index 4bebd481..58c8db7f 100644 --- a/fingerprint_pro_server_api_sdk/models/virtual_machine_result.py +++ b/fingerprint_pro_server_api_sdk/models/virtual_machine.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class VirtualMachineResult(BaseModel): +class VirtualMachine(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,28 +36,28 @@ class VirtualMachineResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """VirtualMachineResult - a model defined in Swagger""" # noqa: E501 + """VirtualMachine - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None self.result = result @property def result(self) -> bool: - """Gets the result of this VirtualMachineResult. # noqa: E501 + """Gets the result of this VirtualMachine. # noqa: E501 `true` if the request came from a browser running inside a virtual machine (e.g. VMWare), `false` otherwise. # noqa: E501 - :return: The result of this VirtualMachineResult. # noqa: E501 + :return: The result of this VirtualMachine. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this VirtualMachineResult. + """Sets the result of this VirtualMachine. `true` if the request came from a browser running inside a virtual machine (e.g. VMWare), `false` otherwise. # noqa: E501 - :param result: The result of this VirtualMachineResult. # noqa: E501 + :param result: The result of this VirtualMachine. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/response_visits.py b/fingerprint_pro_server_api_sdk/models/visit.py similarity index 53% rename from fingerprint_pro_server_api_sdk/models/response_visits.py rename to fingerprint_pro_server_api_sdk/models/visit.py index b7ee40c5..6d7c98ae 100644 --- a/fingerprint_pro_server_api_sdk/models/response_visits.py +++ b/fingerprint_pro_server_api_sdk/models/visit.py @@ -14,14 +14,16 @@ from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation +from fingerprint_pro_server_api_sdk.models.deprecated_geolocation import DeprecatedGeolocation from datetime import datetime -from fingerprint_pro_server_api_sdk.models.confidence import Confidence -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt +from fingerprint_pro_server_api_sdk.models.tag import Tag +from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes -class ResponseVisits(BaseModel): +class Visit(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,16 +40,17 @@ class ResponseVisits(BaseModel): 'browser_details': 'BrowserDetails', 'incognito': 'bool', 'ip': 'str', - 'ip_location': 'DeprecatedIPLocation', + 'ip_location': 'DeprecatedGeolocation', + 'linked_id': 'str', 'timestamp': 'int', 'time': 'datetime', 'url': 'str', - 'tag': 'dict(str, object)', - 'linked_id': 'str', - 'confidence': 'Confidence', + 'tag': 'Tag', + 'confidence': 'IdentificationConfidence', 'visitor_found': 'bool', - 'first_seen_at': 'SeenAt', - 'last_seen_at': 'SeenAt' + 'first_seen_at': 'IdentificationSeenAt', + 'last_seen_at': 'IdentificationSeenAt', + 'components': 'RawDeviceAttributes' } attribute_map = { @@ -56,33 +59,35 @@ class ResponseVisits(BaseModel): 'incognito': 'incognito', 'ip': 'ip', 'ip_location': 'ipLocation', + 'linked_id': 'linkedId', 'timestamp': 'timestamp', 'time': 'time', 'url': 'url', 'tag': 'tag', - 'linked_id': 'linkedId', 'confidence': 'confidence', 'visitor_found': 'visitorFound', 'first_seen_at': 'firstSeenAt', - 'last_seen_at': 'lastSeenAt' + 'last_seen_at': 'lastSeenAt', + 'components': 'components' } - def __init__(self, request_id=None, browser_details=None, incognito=None, ip=None, ip_location=None, timestamp=None, time=None, url=None, tag=None, linked_id=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None): # noqa: E501 - """ResponseVisits - a model defined in Swagger""" # noqa: E501 + def __init__(self, request_id=None, browser_details=None, incognito=None, ip=None, ip_location=None, linked_id=None, timestamp=None, time=None, url=None, tag=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None, components=None): # noqa: E501 + """Visit - a model defined in Swagger""" # noqa: E501 self._request_id = None self._browser_details = None self._incognito = None self._ip = None self._ip_location = None + self._linked_id = None self._timestamp = None self._time = None self._url = None self._tag = None - self._linked_id = None self._confidence = None self._visitor_found = None self._first_seen_at = None self._last_seen_at = None + self._components = None self.discriminator = None self.request_id = request_id self.browser_details = browser_details @@ -90,35 +95,37 @@ def __init__(self, request_id=None, browser_details=None, incognito=None, ip=Non self.ip = ip if ip_location is not None: self.ip_location = ip_location + if linked_id is not None: + self.linked_id = linked_id self.timestamp = timestamp self.time = time self.url = url self.tag = tag - if linked_id is not None: - self.linked_id = linked_id if confidence is not None: self.confidence = confidence self.visitor_found = visitor_found self.first_seen_at = first_seen_at self.last_seen_at = last_seen_at + if components is not None: + self.components = components @property def request_id(self) -> str: - """Gets the request_id of this ResponseVisits. # noqa: E501 + """Gets the request_id of this Visit. # noqa: E501 - Unique identifier of the user's identification request. # noqa: E501 + Unique identifier of the user's request. # noqa: E501 - :return: The request_id of this ResponseVisits. # noqa: E501 + :return: The request_id of this Visit. # noqa: E501 """ return self._request_id @request_id.setter def request_id(self, request_id: str): - """Sets the request_id of this ResponseVisits. + """Sets the request_id of this Visit. - Unique identifier of the user's identification request. # noqa: E501 + Unique identifier of the user's request. # noqa: E501 - :param request_id: The request_id of this ResponseVisits. # noqa: E501 + :param request_id: The request_id of this Visit. # noqa: E501 """ if request_id is None: raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 @@ -127,19 +134,19 @@ def request_id(self, request_id: str): @property def browser_details(self) -> BrowserDetails: - """Gets the browser_details of this ResponseVisits. # noqa: E501 + """Gets the browser_details of this Visit. # noqa: E501 - :return: The browser_details of this ResponseVisits. # noqa: E501 + :return: The browser_details of this Visit. # noqa: E501 """ return self._browser_details @browser_details.setter def browser_details(self, browser_details: BrowserDetails): - """Sets the browser_details of this ResponseVisits. + """Sets the browser_details of this Visit. - :param browser_details: The browser_details of this ResponseVisits. # noqa: E501 + :param browser_details: The browser_details of this Visit. # noqa: E501 """ if browser_details is None: raise ValueError("Invalid value for `browser_details`, must not be `None`") # noqa: E501 @@ -148,21 +155,21 @@ def browser_details(self, browser_details: BrowserDetails): @property def incognito(self) -> bool: - """Gets the incognito of this ResponseVisits. # noqa: E501 + """Gets the incognito of this Visit. # noqa: E501 Flag if user used incognito session. # noqa: E501 - :return: The incognito of this ResponseVisits. # noqa: E501 + :return: The incognito of this Visit. # noqa: E501 """ return self._incognito @incognito.setter def incognito(self, incognito: bool): - """Sets the incognito of this ResponseVisits. + """Sets the incognito of this Visit. Flag if user used incognito session. # noqa: E501 - :param incognito: The incognito of this ResponseVisits. # noqa: E501 + :param incognito: The incognito of this Visit. # noqa: E501 """ if incognito is None: raise ValueError("Invalid value for `incognito`, must not be `None`") # noqa: E501 @@ -171,19 +178,21 @@ def incognito(self, incognito: bool): @property def ip(self) -> str: - """Gets the ip of this ResponseVisits. # noqa: E501 + """Gets the ip of this Visit. # noqa: E501 + IP address of the requesting browser or bot. # noqa: E501 - :return: The ip of this ResponseVisits. # noqa: E501 + :return: The ip of this Visit. # noqa: E501 """ return self._ip @ip.setter def ip(self, ip: str): - """Sets the ip of this ResponseVisits. + """Sets the ip of this Visit. + IP address of the requesting browser or bot. # noqa: E501 - :param ip: The ip of this ResponseVisits. # noqa: E501 + :param ip: The ip of this Visit. # noqa: E501 """ if ip is None: raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 @@ -191,41 +200,62 @@ def ip(self, ip: str): self._ip = ip @property - def ip_location(self) -> Optional[DeprecatedIPLocation]: - """Gets the ip_location of this ResponseVisits. # noqa: E501 + def ip_location(self) -> Optional[DeprecatedGeolocation]: + """Gets the ip_location of this Visit. # noqa: E501 - :return: The ip_location of this ResponseVisits. # noqa: E501 + :return: The ip_location of this Visit. # noqa: E501 """ return self._ip_location @ip_location.setter - def ip_location(self, ip_location: Optional[DeprecatedIPLocation]): - """Sets the ip_location of this ResponseVisits. + def ip_location(self, ip_location: Optional[DeprecatedGeolocation]): + """Sets the ip_location of this Visit. - :param ip_location: The ip_location of this ResponseVisits. # noqa: E501 + :param ip_location: The ip_location of this Visit. # noqa: E501 """ self._ip_location = ip_location + @property + def linked_id(self) -> Optional[str]: + """Gets the linked_id of this Visit. # noqa: E501 + + A customer-provided id that was sent with the request. # noqa: E501 + + :return: The linked_id of this Visit. # noqa: E501 + """ + return self._linked_id + + @linked_id.setter + def linked_id(self, linked_id: Optional[str]): + """Sets the linked_id of this Visit. + + A customer-provided id that was sent with the request. # noqa: E501 + + :param linked_id: The linked_id of this Visit. # noqa: E501 + """ + + self._linked_id = linked_id + @property def timestamp(self) -> int: - """Gets the timestamp of this ResponseVisits. # noqa: E501 + """Gets the timestamp of this Visit. # noqa: E501 Timestamp of the event with millisecond precision in Unix time. # noqa: E501 - :return: The timestamp of this ResponseVisits. # noqa: E501 + :return: The timestamp of this Visit. # noqa: E501 """ return self._timestamp @timestamp.setter def timestamp(self, timestamp: int): - """Sets the timestamp of this ResponseVisits. + """Sets the timestamp of this Visit. Timestamp of the event with millisecond precision in Unix time. # noqa: E501 - :param timestamp: The timestamp of this ResponseVisits. # noqa: E501 + :param timestamp: The timestamp of this Visit. # noqa: E501 """ if timestamp is None: raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 @@ -234,21 +264,21 @@ def timestamp(self, timestamp: int): @property def time(self) -> datetime: - """Gets the time of this ResponseVisits. # noqa: E501 + """Gets the time of this Visit. # noqa: E501 - Time expressed according to ISO 8601 in UTC format. # noqa: E501 + Time expressed according to ISO 8601 in UTC format, when the request from the client agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 - :return: The time of this ResponseVisits. # noqa: E501 + :return: The time of this Visit. # noqa: E501 """ return self._time @time.setter def time(self, time: datetime): - """Sets the time of this ResponseVisits. + """Sets the time of this Visit. - Time expressed according to ISO 8601 in UTC format. # noqa: E501 + Time expressed according to ISO 8601 in UTC format, when the request from the client agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 - :param time: The time of this ResponseVisits. # noqa: E501 + :param time: The time of this Visit. # noqa: E501 """ if time is None: raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 @@ -257,21 +287,21 @@ def time(self, time: datetime): @property def url(self) -> str: - """Gets the url of this ResponseVisits. # noqa: E501 + """Gets the url of this Visit. # noqa: E501 - Page URL from which the identification request was sent. # noqa: E501 + Page URL from which the request was sent. # noqa: E501 - :return: The url of this ResponseVisits. # noqa: E501 + :return: The url of this Visit. # noqa: E501 """ return self._url @url.setter def url(self, url: str): - """Sets the url of this ResponseVisits. + """Sets the url of this Visit. - Page URL from which the identification request was sent. # noqa: E501 + Page URL from which the request was sent. # noqa: E501 - :param url: The url of this ResponseVisits. # noqa: E501 + :param url: The url of this Visit. # noqa: E501 """ if url is None: raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 @@ -279,22 +309,20 @@ def url(self, url: str): self._url = url @property - def tag(self) -> Dict[str, object]: - """Gets the tag of this ResponseVisits. # noqa: E501 + def tag(self) -> Tag: + """Gets the tag of this Visit. # noqa: E501 - A customer-provided value or an object that was sent with identification request. # noqa: E501 - :return: The tag of this ResponseVisits. # noqa: E501 + :return: The tag of this Visit. # noqa: E501 """ return self._tag @tag.setter - def tag(self, tag: Dict[str, object]): - """Sets the tag of this ResponseVisits. + def tag(self, tag: Tag): + """Sets the tag of this Visit. - A customer-provided value or an object that was sent with identification request. # noqa: E501 - :param tag: The tag of this ResponseVisits. # noqa: E501 + :param tag: The tag of this Visit. # noqa: E501 """ if tag is None: raise ValueError("Invalid value for `tag`, must not be `None`") # noqa: E501 @@ -302,62 +330,41 @@ def tag(self, tag: Dict[str, object]): self._tag = tag @property - def linked_id(self) -> Optional[str]: - """Gets the linked_id of this ResponseVisits. # noqa: E501 + def confidence(self) -> Optional[IdentificationConfidence]: + """Gets the confidence of this Visit. # noqa: E501 - A customer-provided id that was sent with identification request. # noqa: E501 - :return: The linked_id of this ResponseVisits. # noqa: E501 - """ - return self._linked_id - - @linked_id.setter - def linked_id(self, linked_id: Optional[str]): - """Sets the linked_id of this ResponseVisits. - - A customer-provided id that was sent with identification request. # noqa: E501 - - :param linked_id: The linked_id of this ResponseVisits. # noqa: E501 - """ - - self._linked_id = linked_id - - @property - def confidence(self) -> Optional[Confidence]: - """Gets the confidence of this ResponseVisits. # noqa: E501 - - - :return: The confidence of this ResponseVisits. # noqa: E501 + :return: The confidence of this Visit. # noqa: E501 """ return self._confidence @confidence.setter - def confidence(self, confidence: Optional[Confidence]): - """Sets the confidence of this ResponseVisits. + def confidence(self, confidence: Optional[IdentificationConfidence]): + """Sets the confidence of this Visit. - :param confidence: The confidence of this ResponseVisits. # noqa: E501 + :param confidence: The confidence of this Visit. # noqa: E501 """ self._confidence = confidence @property def visitor_found(self) -> bool: - """Gets the visitor_found of this ResponseVisits. # noqa: E501 + """Gets the visitor_found of this Visit. # noqa: E501 Attribute represents if a visitor had been identified before. # noqa: E501 - :return: The visitor_found of this ResponseVisits. # noqa: E501 + :return: The visitor_found of this Visit. # noqa: E501 """ return self._visitor_found @visitor_found.setter def visitor_found(self, visitor_found: bool): - """Sets the visitor_found of this ResponseVisits. + """Sets the visitor_found of this Visit. Attribute represents if a visitor had been identified before. # noqa: E501 - :param visitor_found: The visitor_found of this ResponseVisits. # noqa: E501 + :param visitor_found: The visitor_found of this Visit. # noqa: E501 """ if visitor_found is None: raise ValueError("Invalid value for `visitor_found`, must not be `None`") # noqa: E501 @@ -365,20 +372,20 @@ def visitor_found(self, visitor_found: bool): self._visitor_found = visitor_found @property - def first_seen_at(self) -> SeenAt: - """Gets the first_seen_at of this ResponseVisits. # noqa: E501 + def first_seen_at(self) -> IdentificationSeenAt: + """Gets the first_seen_at of this Visit. # noqa: E501 - :return: The first_seen_at of this ResponseVisits. # noqa: E501 + :return: The first_seen_at of this Visit. # noqa: E501 """ return self._first_seen_at @first_seen_at.setter - def first_seen_at(self, first_seen_at: SeenAt): - """Sets the first_seen_at of this ResponseVisits. + def first_seen_at(self, first_seen_at: IdentificationSeenAt): + """Sets the first_seen_at of this Visit. - :param first_seen_at: The first_seen_at of this ResponseVisits. # noqa: E501 + :param first_seen_at: The first_seen_at of this Visit. # noqa: E501 """ if first_seen_at is None: raise ValueError("Invalid value for `first_seen_at`, must not be `None`") # noqa: E501 @@ -386,23 +393,42 @@ def first_seen_at(self, first_seen_at: SeenAt): self._first_seen_at = first_seen_at @property - def last_seen_at(self) -> SeenAt: - """Gets the last_seen_at of this ResponseVisits. # noqa: E501 + def last_seen_at(self) -> IdentificationSeenAt: + """Gets the last_seen_at of this Visit. # noqa: E501 - :return: The last_seen_at of this ResponseVisits. # noqa: E501 + :return: The last_seen_at of this Visit. # noqa: E501 """ return self._last_seen_at @last_seen_at.setter - def last_seen_at(self, last_seen_at: SeenAt): - """Sets the last_seen_at of this ResponseVisits. + def last_seen_at(self, last_seen_at: IdentificationSeenAt): + """Sets the last_seen_at of this Visit. - :param last_seen_at: The last_seen_at of this ResponseVisits. # noqa: E501 + :param last_seen_at: The last_seen_at of this Visit. # noqa: E501 """ if last_seen_at is None: raise ValueError("Invalid value for `last_seen_at`, must not be `None`") # noqa: E501 self._last_seen_at = last_seen_at + @property + def components(self) -> Optional[RawDeviceAttributes]: + """Gets the components of this Visit. # noqa: E501 + + + :return: The components of this Visit. # noqa: E501 + """ + return self._components + + @components.setter + def components(self, components: Optional[RawDeviceAttributes]): + """Sets the components of this Visit. + + + :param components: The components of this Visit. # noqa: E501 + """ + + self._components = components + diff --git a/fingerprint_pro_server_api_sdk/models/response.py b/fingerprint_pro_server_api_sdk/models/visitors_get_response.py similarity index 69% rename from fingerprint_pro_server_api_sdk/models/response.py rename to fingerprint_pro_server_api_sdk/models/visitors_get_response.py index 678d50ee..b25f55b0 100644 --- a/fingerprint_pro_server_api_sdk/models/response.py +++ b/fingerprint_pro_server_api_sdk/models/visitors_get_response.py @@ -13,12 +13,12 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.response_visits import ResponseVisits +from fingerprint_pro_server_api_sdk.models.visit import Visit -class Response(BaseModel): +class VisitorsGetResponse(BaseModel): """ - Fields `lastTimestamp` and `paginationKey` added when `limit` or `before` parameter provided and there is more data to show + Pagination-related fields `lastTimestamp` and `paginationKey` are included if you use a pagination parameter like `limit` or `before` and there is more data available on the next page. NOTE: This class is auto generated by the swagger code generator program. @@ -33,7 +33,7 @@ class Response(BaseModel): """ swagger_types = { 'visitor_id': 'str', - 'visits': 'list[ResponseVisits]', + 'visits': 'list[Visit]', 'last_timestamp': 'int', 'pagination_key': 'str' } @@ -46,7 +46,7 @@ class Response(BaseModel): } def __init__(self, visitor_id=None, visits=None, last_timestamp=None, pagination_key=None): # noqa: E501 - """Response - a model defined in Swagger""" # noqa: E501 + """VisitorsGetResponse - a model defined in Swagger""" # noqa: E501 self._visitor_id = None self._visits = None self._last_timestamp = None @@ -61,19 +61,19 @@ def __init__(self, visitor_id=None, visits=None, last_timestamp=None, pagination @property def visitor_id(self) -> str: - """Gets the visitor_id of this Response. # noqa: E501 + """Gets the visitor_id of this VisitorsGetResponse. # noqa: E501 - :return: The visitor_id of this Response. # noqa: E501 + :return: The visitor_id of this VisitorsGetResponse. # noqa: E501 """ return self._visitor_id @visitor_id.setter def visitor_id(self, visitor_id: str): - """Sets the visitor_id of this Response. + """Sets the visitor_id of this VisitorsGetResponse. - :param visitor_id: The visitor_id of this Response. # noqa: E501 + :param visitor_id: The visitor_id of this VisitorsGetResponse. # noqa: E501 """ if visitor_id is None: raise ValueError("Invalid value for `visitor_id`, must not be `None`") # noqa: E501 @@ -81,20 +81,20 @@ def visitor_id(self, visitor_id: str): self._visitor_id = visitor_id @property - def visits(self) -> List[ResponseVisits]: - """Gets the visits of this Response. # noqa: E501 + def visits(self) -> List[Visit]: + """Gets the visits of this VisitorsGetResponse. # noqa: E501 - :return: The visits of this Response. # noqa: E501 + :return: The visits of this VisitorsGetResponse. # noqa: E501 """ return self._visits @visits.setter - def visits(self, visits: List[ResponseVisits]): - """Sets the visits of this Response. + def visits(self, visits: List[Visit]): + """Sets the visits of this VisitorsGetResponse. - :param visits: The visits of this Response. # noqa: E501 + :param visits: The visits of this VisitorsGetResponse. # noqa: E501 """ if visits is None: raise ValueError("Invalid value for `visits`, must not be `None`") # noqa: E501 @@ -103,42 +103,42 @@ def visits(self, visits: List[ResponseVisits]): @property def last_timestamp(self) -> Optional[int]: - """Gets the last_timestamp of this Response. # noqa: E501 + """Gets the last_timestamp of this VisitorsGetResponse. # noqa: E501 ⚠️ Deprecated paging attribute, please use `paginationKey` instead. Timestamp of the last visit in the current page of results. # noqa: E501 - :return: The last_timestamp of this Response. # noqa: E501 + :return: The last_timestamp of this VisitorsGetResponse. # noqa: E501 """ return self._last_timestamp @last_timestamp.setter def last_timestamp(self, last_timestamp: Optional[int]): - """Sets the last_timestamp of this Response. + """Sets the last_timestamp of this VisitorsGetResponse. ⚠️ Deprecated paging attribute, please use `paginationKey` instead. Timestamp of the last visit in the current page of results. # noqa: E501 - :param last_timestamp: The last_timestamp of this Response. # noqa: E501 + :param last_timestamp: The last_timestamp of this VisitorsGetResponse. # noqa: E501 """ self._last_timestamp = last_timestamp @property def pagination_key(self) -> Optional[str]: - """Gets the pagination_key of this Response. # noqa: E501 + """Gets the pagination_key of this VisitorsGetResponse. # noqa: E501 Request ID of the last visit in the current page of results. Use this value in the following request as the `paginationKey` parameter to get the next page of results. # noqa: E501 - :return: The pagination_key of this Response. # noqa: E501 + :return: The pagination_key of this VisitorsGetResponse. # noqa: E501 """ return self._pagination_key @pagination_key.setter def pagination_key(self, pagination_key: Optional[str]): - """Sets the pagination_key of this Response. + """Sets the pagination_key of this VisitorsGetResponse. Request ID of the last visit in the current page of results. Use this value in the following request as the `paginationKey` parameter to get the next page of results. # noqa: E501 - :param pagination_key: The pagination_key of this Response. # noqa: E501 + :param pagination_key: The pagination_key of this VisitorsGetResponse. # noqa: E501 """ self._pagination_key = pagination_key diff --git a/fingerprint_pro_server_api_sdk/models/vpn_result.py b/fingerprint_pro_server_api_sdk/models/vpn.py similarity index 57% rename from fingerprint_pro_server_api_sdk/models/vpn_result.py rename to fingerprint_pro_server_api_sdk/models/vpn.py index bc7914de..1d020140 100644 --- a/fingerprint_pro_server_api_sdk/models/vpn_result.py +++ b/fingerprint_pro_server_api_sdk/models/vpn.py @@ -13,10 +13,11 @@ import re # noqa: F401 from typing import Dict, List, Optional # noqa: F401 from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.vpn_result_methods import VpnResultMethods +from fingerprint_pro_server_api_sdk.models.vpn_confidence import VPNConfidence +from fingerprint_pro_server_api_sdk.models.vpn_methods import VPNMethods -class VpnResult(BaseModel): +class VPN(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,75 +31,95 @@ class VpnResult(BaseModel): """ swagger_types = { 'result': 'bool', + 'confidence': 'VPNConfidence', 'origin_timezone': 'str', 'origin_country': 'str', - 'methods': 'VpnResultMethods', - 'confidence': 'str' + 'methods': 'VPNMethods' } attribute_map = { 'result': 'result', + 'confidence': 'confidence', 'origin_timezone': 'originTimezone', 'origin_country': 'originCountry', - 'methods': 'methods', - 'confidence': 'confidence' + 'methods': 'methods' } - def __init__(self, result=None, origin_timezone=None, origin_country=None, methods=None, confidence=None): # noqa: E501 - """VpnResult - a model defined in Swagger""" # noqa: E501 + def __init__(self, result=None, confidence=None, origin_timezone=None, origin_country=None, methods=None): # noqa: E501 + """VPN - a model defined in Swagger""" # noqa: E501 self._result = None + self._confidence = None self._origin_timezone = None self._origin_country = None self._methods = None - self._confidence = None self.discriminator = None self.result = result + self.confidence = confidence self.origin_timezone = origin_timezone - if origin_country is not None: - self.origin_country = origin_country + self.origin_country = origin_country self.methods = methods - self.confidence = confidence @property def result(self) -> bool: - """Gets the result of this VpnResult. # noqa: E501 + """Gets the result of this VPN. # noqa: E501 VPN or other anonymizing service has been used when sending the request. # noqa: E501 - :return: The result of this VpnResult. # noqa: E501 + :return: The result of this VPN. # noqa: E501 """ return self._result @result.setter def result(self, result: bool): - """Sets the result of this VpnResult. + """Sets the result of this VPN. VPN or other anonymizing service has been used when sending the request. # noqa: E501 - :param result: The result of this VpnResult. # noqa: E501 + :param result: The result of this VPN. # noqa: E501 """ if result is None: raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result + @property + def confidence(self) -> VPNConfidence: + """Gets the confidence of this VPN. # noqa: E501 + + + :return: The confidence of this VPN. # noqa: E501 + """ + return self._confidence + + @confidence.setter + def confidence(self, confidence: VPNConfidence): + """Sets the confidence of this VPN. + + + :param confidence: The confidence of this VPN. # noqa: E501 + """ + if confidence is None: + raise ValueError("Invalid value for `confidence`, must not be `None`") # noqa: E501 + + self._confidence = confidence + @property def origin_timezone(self) -> str: - """Gets the origin_timezone of this VpnResult. # noqa: E501 + """Gets the origin_timezone of this VPN. # noqa: E501 Local timezone which is used in timezoneMismatch method. # noqa: E501 - :return: The origin_timezone of this VpnResult. # noqa: E501 + :return: The origin_timezone of this VPN. # noqa: E501 """ return self._origin_timezone @origin_timezone.setter def origin_timezone(self, origin_timezone: str): - """Sets the origin_timezone of this VpnResult. + """Sets the origin_timezone of this VPN. Local timezone which is used in timezoneMismatch method. # noqa: E501 - :param origin_timezone: The origin_timezone of this VpnResult. # noqa: E501 + :param origin_timezone: The origin_timezone of this VPN. # noqa: E501 """ if origin_timezone is None: raise ValueError("Invalid value for `origin_timezone`, must not be `None`") # noqa: E501 @@ -106,73 +127,46 @@ def origin_timezone(self, origin_timezone: str): self._origin_timezone = origin_timezone @property - def origin_country(self) -> Optional[str]: - """Gets the origin_country of this VpnResult. # noqa: E501 + def origin_country(self) -> str: + """Gets the origin_country of this VPN. # noqa: E501 Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). # noqa: E501 - :return: The origin_country of this VpnResult. # noqa: E501 + :return: The origin_country of this VPN. # noqa: E501 """ return self._origin_country @origin_country.setter - def origin_country(self, origin_country: Optional[str]): - """Sets the origin_country of this VpnResult. + def origin_country(self, origin_country: str): + """Sets the origin_country of this VPN. Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). # noqa: E501 - :param origin_country: The origin_country of this VpnResult. # noqa: E501 + :param origin_country: The origin_country of this VPN. # noqa: E501 """ + if origin_country is None: + raise ValueError("Invalid value for `origin_country`, must not be `None`") # noqa: E501 self._origin_country = origin_country @property - def methods(self) -> VpnResultMethods: - """Gets the methods of this VpnResult. # noqa: E501 + def methods(self) -> VPNMethods: + """Gets the methods of this VPN. # noqa: E501 - :return: The methods of this VpnResult. # noqa: E501 + :return: The methods of this VPN. # noqa: E501 """ return self._methods @methods.setter - def methods(self, methods: VpnResultMethods): - """Sets the methods of this VpnResult. + def methods(self, methods: VPNMethods): + """Sets the methods of this VPN. - :param methods: The methods of this VpnResult. # noqa: E501 + :param methods: The methods of this VPN. # noqa: E501 """ if methods is None: raise ValueError("Invalid value for `methods`, must not be `None`") # noqa: E501 self._methods = methods - @property - def confidence(self) -> str: - """Gets the confidence of this VpnResult. # noqa: E501 - - A confidence rating for the VPN detection result — \"low\", \"medium\", or \"high\". Depends on the combination of results returned from all VPN detection methods. # noqa: E501 - - :return: The confidence of this VpnResult. # noqa: E501 - """ - return self._confidence - - @confidence.setter - def confidence(self, confidence: str): - """Sets the confidence of this VpnResult. - - A confidence rating for the VPN detection result — \"low\", \"medium\", or \"high\". Depends on the combination of results returned from all VPN detection methods. # noqa: E501 - - :param confidence: The confidence of this VpnResult. # noqa: E501 - """ - if confidence is None: - raise ValueError("Invalid value for `confidence`, must not be `None`") # noqa: E501 - allowed_values = ["low", "medium", "high"] # noqa: E501 - if (confidence not in allowed_values): - raise ValueError( - "Invalid value for `confidence` ({0}), must be one of {1}" # noqa: E501 - .format(confidence, allowed_values) - ) - - self._confidence = confidence - diff --git a/fingerprint_pro_server_api_sdk/models/vpn_confidence.py b/fingerprint_pro_server_api_sdk/models/vpn_confidence.py new file mode 100644 index 00000000..8dda168a --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/vpn_confidence.py @@ -0,0 +1,49 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class VPNConfidence(BaseModel): + """ + A confidence rating for the VPN detection result — \"low\", \"medium\", or \"high\". Depends on the combination of results returned from all VPN detection methods. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + LOW = "low" + MEDIUM = "medium" + HIGH = "high" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """VPNConfidence - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + diff --git a/fingerprint_pro_server_api_sdk/models/vpn_result_methods.py b/fingerprint_pro_server_api_sdk/models/vpn_methods.py similarity index 76% rename from fingerprint_pro_server_api_sdk/models/vpn_result_methods.py rename to fingerprint_pro_server_api_sdk/models/vpn_methods.py index 62160d42..12c0b95a 100644 --- a/fingerprint_pro_server_api_sdk/models/vpn_result_methods.py +++ b/fingerprint_pro_server_api_sdk/models/vpn_methods.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class VpnResultMethods(BaseModel): +class VPNMethods(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -42,7 +42,7 @@ class VpnResultMethods(BaseModel): } def __init__(self, timezone_mismatch=None, public_vpn=None, auxiliary_mobile=None, os_mismatch=None): # noqa: E501 - """VpnResultMethods - a model defined in Swagger""" # noqa: E501 + """VPNMethods - a model defined in Swagger""" # noqa: E501 self._timezone_mismatch = None self._public_vpn = None self._auxiliary_mobile = None @@ -55,21 +55,21 @@ def __init__(self, timezone_mismatch=None, public_vpn=None, auxiliary_mobile=Non @property def timezone_mismatch(self) -> bool: - """Gets the timezone_mismatch of this VpnResultMethods. # noqa: E501 + """Gets the timezone_mismatch of this VPNMethods. # noqa: E501 The browser timezone doesn't match the timezone inferred from the request IP address. # noqa: E501 - :return: The timezone_mismatch of this VpnResultMethods. # noqa: E501 + :return: The timezone_mismatch of this VPNMethods. # noqa: E501 """ return self._timezone_mismatch @timezone_mismatch.setter def timezone_mismatch(self, timezone_mismatch: bool): - """Sets the timezone_mismatch of this VpnResultMethods. + """Sets the timezone_mismatch of this VPNMethods. The browser timezone doesn't match the timezone inferred from the request IP address. # noqa: E501 - :param timezone_mismatch: The timezone_mismatch of this VpnResultMethods. # noqa: E501 + :param timezone_mismatch: The timezone_mismatch of this VPNMethods. # noqa: E501 """ if timezone_mismatch is None: raise ValueError("Invalid value for `timezone_mismatch`, must not be `None`") # noqa: E501 @@ -78,21 +78,21 @@ def timezone_mismatch(self, timezone_mismatch: bool): @property def public_vpn(self) -> bool: - """Gets the public_vpn of this VpnResultMethods. # noqa: E501 + """Gets the public_vpn of this VPNMethods. # noqa: E501 Request IP address is owned and used by a public VPN service provider. # noqa: E501 - :return: The public_vpn of this VpnResultMethods. # noqa: E501 + :return: The public_vpn of this VPNMethods. # noqa: E501 """ return self._public_vpn @public_vpn.setter def public_vpn(self, public_vpn: bool): - """Sets the public_vpn of this VpnResultMethods. + """Sets the public_vpn of this VPNMethods. Request IP address is owned and used by a public VPN service provider. # noqa: E501 - :param public_vpn: The public_vpn of this VpnResultMethods. # noqa: E501 + :param public_vpn: The public_vpn of this VPNMethods. # noqa: E501 """ if public_vpn is None: raise ValueError("Invalid value for `public_vpn`, must not be `None`") # noqa: E501 @@ -101,21 +101,21 @@ def public_vpn(self, public_vpn: bool): @property def auxiliary_mobile(self) -> bool: - """Gets the auxiliary_mobile of this VpnResultMethods. # noqa: E501 + """Gets the auxiliary_mobile of this VPNMethods. # noqa: E501 This method applies to mobile devices only. Indicates the result of additional methods used to detect a VPN in mobile devices. # noqa: E501 - :return: The auxiliary_mobile of this VpnResultMethods. # noqa: E501 + :return: The auxiliary_mobile of this VPNMethods. # noqa: E501 """ return self._auxiliary_mobile @auxiliary_mobile.setter def auxiliary_mobile(self, auxiliary_mobile: bool): - """Sets the auxiliary_mobile of this VpnResultMethods. + """Sets the auxiliary_mobile of this VPNMethods. This method applies to mobile devices only. Indicates the result of additional methods used to detect a VPN in mobile devices. # noqa: E501 - :param auxiliary_mobile: The auxiliary_mobile of this VpnResultMethods. # noqa: E501 + :param auxiliary_mobile: The auxiliary_mobile of this VPNMethods. # noqa: E501 """ if auxiliary_mobile is None: raise ValueError("Invalid value for `auxiliary_mobile`, must not be `None`") # noqa: E501 @@ -124,21 +124,21 @@ def auxiliary_mobile(self, auxiliary_mobile: bool): @property def os_mismatch(self) -> bool: - """Gets the os_mismatch of this VpnResultMethods. # noqa: E501 + """Gets the os_mismatch of this VPNMethods. # noqa: E501 - The browser runs on a different operating system than the operating system inferred from the request network signature. # noqa: E501 + The browser runs on a different operating system than the operating system inferred from the request network signature. # noqa: E501 - :return: The os_mismatch of this VpnResultMethods. # noqa: E501 + :return: The os_mismatch of this VPNMethods. # noqa: E501 """ return self._os_mismatch @os_mismatch.setter def os_mismatch(self, os_mismatch: bool): - """Sets the os_mismatch of this VpnResultMethods. + """Sets the os_mismatch of this VPNMethods. - The browser runs on a different operating system than the operating system inferred from the request network signature. # noqa: E501 + The browser runs on a different operating system than the operating system inferred from the request network signature. # noqa: E501 - :param os_mismatch: The os_mismatch of this VpnResultMethods. # noqa: E501 + :param os_mismatch: The os_mismatch of this VPNMethods. # noqa: E501 """ if os_mismatch is None: raise ValueError("Invalid value for `os_mismatch`, must not be `None`") # noqa: E501 diff --git a/fingerprint_pro_server_api_sdk/models/webhook.py b/fingerprint_pro_server_api_sdk/models/webhook.py new file mode 100644 index 00000000..4f474a67 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook.py @@ -0,0 +1,1052 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.tag import Tag +from datetime import datetime +from fingerprint_pro_server_api_sdk.models.deprecated_geolocation import DeprecatedGeolocation +from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt +from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails +from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.botd_bot import BotdBot +from fingerprint_pro_server_api_sdk.models.webhook_root_apps import WebhookRootApps +from fingerprint_pro_server_api_sdk.models.webhook_emulator import WebhookEmulator +from fingerprint_pro_server_api_sdk.models.webhook_ip_info import WebhookIPInfo +from fingerprint_pro_server_api_sdk.models.webhook_ip_blocklist import WebhookIPBlocklist +from fingerprint_pro_server_api_sdk.models.webhook_tor import WebhookTor +from fingerprint_pro_server_api_sdk.models.webhook_vpn import WebhookVPN +from fingerprint_pro_server_api_sdk.models.webhook_proxy import WebhookProxy +from fingerprint_pro_server_api_sdk.models.webhook_tampering import WebhookTampering +from fingerprint_pro_server_api_sdk.models.webhook_cloned_app import WebhookClonedApp +from fingerprint_pro_server_api_sdk.models.webhook_factory_reset import WebhookFactoryReset +from fingerprint_pro_server_api_sdk.models.webhook_jailbroken import WebhookJailbroken +from fingerprint_pro_server_api_sdk.models.webhook_frida import WebhookFrida +from fingerprint_pro_server_api_sdk.models.webhook_privacy_settings import WebhookPrivacySettings +from fingerprint_pro_server_api_sdk.models.webhook_virtual_machine import WebhookVirtualMachine +from fingerprint_pro_server_api_sdk.models.webhook_raw_device_attributes import WebhookRawDeviceAttributes +from fingerprint_pro_server_api_sdk.models.webhook_high_activity import WebhookHighActivity +from fingerprint_pro_server_api_sdk.models.webhook_location_spoofing import WebhookLocationSpoofing +from fingerprint_pro_server_api_sdk.models.webhook_suspect_score import WebhookSuspectScore +from fingerprint_pro_server_api_sdk.models.webhook_remote_control import WebhookRemoteControl +from fingerprint_pro_server_api_sdk.models.webhook_velocity import WebhookVelocity +from fingerprint_pro_server_api_sdk.models.webhook_developer_tools import WebhookDeveloperTools + + +class Webhook(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'request_id': 'str', + 'url': 'str', + 'ip': 'str', + 'tag': 'Tag', + 'time': 'datetime', + 'timestamp': 'int', + 'ip_location': 'DeprecatedGeolocation', + 'linked_id': 'str', + 'visitor_id': 'str', + 'visitor_found': 'bool', + 'confidence': 'IdentificationConfidence', + 'first_seen_at': 'IdentificationSeenAt', + 'last_seen_at': 'IdentificationSeenAt', + 'browser_details': 'BrowserDetails', + 'incognito': 'bool', + 'client_referrer': 'str', + 'components': 'RawDeviceAttributes', + 'bot': 'BotdBot', + 'user_agent': 'str', + 'root_apps': 'WebhookRootApps', + 'emulator': 'WebhookEmulator', + 'ip_info': 'WebhookIPInfo', + 'ip_blocklist': 'WebhookIPBlocklist', + 'tor': 'WebhookTor', + 'vpn': 'WebhookVPN', + 'proxy': 'WebhookProxy', + 'tampering': 'WebhookTampering', + 'cloned_app': 'WebhookClonedApp', + 'factory_reset': 'WebhookFactoryReset', + 'jailbroken': 'WebhookJailbroken', + 'frida': 'WebhookFrida', + 'privacy_settings': 'WebhookPrivacySettings', + 'virtual_machine': 'WebhookVirtualMachine', + 'raw_device_attributes': 'WebhookRawDeviceAttributes', + 'high_activity': 'WebhookHighActivity', + 'location_spoofing': 'WebhookLocationSpoofing', + 'suspect_score': 'WebhookSuspectScore', + 'remote_control': 'WebhookRemoteControl', + 'velocity': 'WebhookVelocity', + 'developer_tools': 'WebhookDeveloperTools' + } + + attribute_map = { + 'request_id': 'requestId', + 'url': 'url', + 'ip': 'ip', + 'tag': 'tag', + 'time': 'time', + 'timestamp': 'timestamp', + 'ip_location': 'ipLocation', + 'linked_id': 'linkedId', + 'visitor_id': 'visitorId', + 'visitor_found': 'visitorFound', + 'confidence': 'confidence', + 'first_seen_at': 'firstSeenAt', + 'last_seen_at': 'lastSeenAt', + 'browser_details': 'browserDetails', + 'incognito': 'incognito', + 'client_referrer': 'clientReferrer', + 'components': 'components', + 'bot': 'bot', + 'user_agent': 'userAgent', + 'root_apps': 'rootApps', + 'emulator': 'emulator', + 'ip_info': 'ipInfo', + 'ip_blocklist': 'ipBlocklist', + 'tor': 'tor', + 'vpn': 'vpn', + 'proxy': 'proxy', + 'tampering': 'tampering', + 'cloned_app': 'clonedApp', + 'factory_reset': 'factoryReset', + 'jailbroken': 'jailbroken', + 'frida': 'frida', + 'privacy_settings': 'privacySettings', + 'virtual_machine': 'virtualMachine', + 'raw_device_attributes': 'rawDeviceAttributes', + 'high_activity': 'highActivity', + 'location_spoofing': 'locationSpoofing', + 'suspect_score': 'suspectScore', + 'remote_control': 'remoteControl', + 'velocity': 'velocity', + 'developer_tools': 'developerTools' + } + + def __init__(self, request_id=None, url=None, ip=None, tag=None, time=None, timestamp=None, ip_location=None, linked_id=None, visitor_id=None, visitor_found=None, confidence=None, first_seen_at=None, last_seen_at=None, browser_details=None, incognito=None, client_referrer=None, components=None, bot=None, user_agent=None, root_apps=None, emulator=None, ip_info=None, ip_blocklist=None, tor=None, vpn=None, proxy=None, tampering=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, privacy_settings=None, virtual_machine=None, raw_device_attributes=None, high_activity=None, location_spoofing=None, suspect_score=None, remote_control=None, velocity=None, developer_tools=None): # noqa: E501 + """Webhook - a model defined in Swagger""" # noqa: E501 + self._request_id = None + self._url = None + self._ip = None + self._tag = None + self._time = None + self._timestamp = None + self._ip_location = None + self._linked_id = None + self._visitor_id = None + self._visitor_found = None + self._confidence = None + self._first_seen_at = None + self._last_seen_at = None + self._browser_details = None + self._incognito = None + self._client_referrer = None + self._components = None + self._bot = None + self._user_agent = None + self._root_apps = None + self._emulator = None + self._ip_info = None + self._ip_blocklist = None + self._tor = None + self._vpn = None + self._proxy = None + self._tampering = None + self._cloned_app = None + self._factory_reset = None + self._jailbroken = None + self._frida = None + self._privacy_settings = None + self._virtual_machine = None + self._raw_device_attributes = None + self._high_activity = None + self._location_spoofing = None + self._suspect_score = None + self._remote_control = None + self._velocity = None + self._developer_tools = None + self.discriminator = None + self.request_id = request_id + self.url = url + self.ip = ip + if tag is not None: + self.tag = tag + self.time = time + self.timestamp = timestamp + if ip_location is not None: + self.ip_location = ip_location + if linked_id is not None: + self.linked_id = linked_id + if visitor_id is not None: + self.visitor_id = visitor_id + if visitor_found is not None: + self.visitor_found = visitor_found + if confidence is not None: + self.confidence = confidence + if first_seen_at is not None: + self.first_seen_at = first_seen_at + if last_seen_at is not None: + self.last_seen_at = last_seen_at + if browser_details is not None: + self.browser_details = browser_details + if incognito is not None: + self.incognito = incognito + if client_referrer is not None: + self.client_referrer = client_referrer + if components is not None: + self.components = components + if bot is not None: + self.bot = bot + if user_agent is not None: + self.user_agent = user_agent + if root_apps is not None: + self.root_apps = root_apps + if emulator is not None: + self.emulator = emulator + if ip_info is not None: + self.ip_info = ip_info + if ip_blocklist is not None: + self.ip_blocklist = ip_blocklist + if tor is not None: + self.tor = tor + if vpn is not None: + self.vpn = vpn + if proxy is not None: + self.proxy = proxy + if tampering is not None: + self.tampering = tampering + if cloned_app is not None: + self.cloned_app = cloned_app + if factory_reset is not None: + self.factory_reset = factory_reset + if jailbroken is not None: + self.jailbroken = jailbroken + if frida is not None: + self.frida = frida + if privacy_settings is not None: + self.privacy_settings = privacy_settings + if virtual_machine is not None: + self.virtual_machine = virtual_machine + if raw_device_attributes is not None: + self.raw_device_attributes = raw_device_attributes + if high_activity is not None: + self.high_activity = high_activity + if location_spoofing is not None: + self.location_spoofing = location_spoofing + if suspect_score is not None: + self.suspect_score = suspect_score + if remote_control is not None: + self.remote_control = remote_control + if velocity is not None: + self.velocity = velocity + if developer_tools is not None: + self.developer_tools = developer_tools + + @property + def request_id(self) -> str: + """Gets the request_id of this Webhook. # noqa: E501 + + Unique identifier of the user's request. # noqa: E501 + + :return: The request_id of this Webhook. # noqa: E501 + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id: str): + """Sets the request_id of this Webhook. + + Unique identifier of the user's request. # noqa: E501 + + :param request_id: The request_id of this Webhook. # noqa: E501 + """ + if request_id is None: + raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 + + self._request_id = request_id + + @property + def url(self) -> str: + """Gets the url of this Webhook. # noqa: E501 + + Page URL from which the request was sent. # noqa: E501 + + :return: The url of this Webhook. # noqa: E501 + """ + return self._url + + @url.setter + def url(self, url: str): + """Sets the url of this Webhook. + + Page URL from which the request was sent. # noqa: E501 + + :param url: The url of this Webhook. # noqa: E501 + """ + if url is None: + raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 + + self._url = url + + @property + def ip(self) -> str: + """Gets the ip of this Webhook. # noqa: E501 + + IP address of the requesting browser or bot. # noqa: E501 + + :return: The ip of this Webhook. # noqa: E501 + """ + return self._ip + + @ip.setter + def ip(self, ip: str): + """Sets the ip of this Webhook. + + IP address of the requesting browser or bot. # noqa: E501 + + :param ip: The ip of this Webhook. # noqa: E501 + """ + if ip is None: + raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 + + self._ip = ip + + @property + def tag(self) -> Optional[Tag]: + """Gets the tag of this Webhook. # noqa: E501 + + + :return: The tag of this Webhook. # noqa: E501 + """ + return self._tag + + @tag.setter + def tag(self, tag: Optional[Tag]): + """Sets the tag of this Webhook. + + + :param tag: The tag of this Webhook. # noqa: E501 + """ + + self._tag = tag + + @property + def time(self) -> datetime: + """Gets the time of this Webhook. # noqa: E501 + + Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 + + :return: The time of this Webhook. # noqa: E501 + """ + return self._time + + @time.setter + def time(self, time: datetime): + """Sets the time of this Webhook. + + Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501 + + :param time: The time of this Webhook. # noqa: E501 + """ + if time is None: + raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 + + self._time = time + + @property + def timestamp(self) -> int: + """Gets the timestamp of this Webhook. # noqa: E501 + + Timestamp of the event with millisecond precision in Unix time. # noqa: E501 + + :return: The timestamp of this Webhook. # noqa: E501 + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp: int): + """Sets the timestamp of this Webhook. + + Timestamp of the event with millisecond precision in Unix time. # noqa: E501 + + :param timestamp: The timestamp of this Webhook. # noqa: E501 + """ + if timestamp is None: + raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 + + self._timestamp = timestamp + + @property + def ip_location(self) -> Optional[DeprecatedGeolocation]: + """Gets the ip_location of this Webhook. # noqa: E501 + + + :return: The ip_location of this Webhook. # noqa: E501 + """ + return self._ip_location + + @ip_location.setter + def ip_location(self, ip_location: Optional[DeprecatedGeolocation]): + """Sets the ip_location of this Webhook. + + + :param ip_location: The ip_location of this Webhook. # noqa: E501 + """ + + self._ip_location = ip_location + + @property + def linked_id(self) -> Optional[str]: + """Gets the linked_id of this Webhook. # noqa: E501 + + A customer-provided id that was sent with the request. # noqa: E501 + + :return: The linked_id of this Webhook. # noqa: E501 + """ + return self._linked_id + + @linked_id.setter + def linked_id(self, linked_id: Optional[str]): + """Sets the linked_id of this Webhook. + + A customer-provided id that was sent with the request. # noqa: E501 + + :param linked_id: The linked_id of this Webhook. # noqa: E501 + """ + + self._linked_id = linked_id + + @property + def visitor_id(self) -> Optional[str]: + """Gets the visitor_id of this Webhook. # noqa: E501 + + String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 + + :return: The visitor_id of this Webhook. # noqa: E501 + """ + return self._visitor_id + + @visitor_id.setter + def visitor_id(self, visitor_id: Optional[str]): + """Sets the visitor_id of this Webhook. + + String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 + + :param visitor_id: The visitor_id of this Webhook. # noqa: E501 + """ + + self._visitor_id = visitor_id + + @property + def visitor_found(self) -> Optional[bool]: + """Gets the visitor_found of this Webhook. # noqa: E501 + + Attribute represents if a visitor had been identified before. # noqa: E501 + + :return: The visitor_found of this Webhook. # noqa: E501 + """ + return self._visitor_found + + @visitor_found.setter + def visitor_found(self, visitor_found: Optional[bool]): + """Sets the visitor_found of this Webhook. + + Attribute represents if a visitor had been identified before. # noqa: E501 + + :param visitor_found: The visitor_found of this Webhook. # noqa: E501 + """ + + self._visitor_found = visitor_found + + @property + def confidence(self) -> Optional[IdentificationConfidence]: + """Gets the confidence of this Webhook. # noqa: E501 + + + :return: The confidence of this Webhook. # noqa: E501 + """ + return self._confidence + + @confidence.setter + def confidence(self, confidence: Optional[IdentificationConfidence]): + """Sets the confidence of this Webhook. + + + :param confidence: The confidence of this Webhook. # noqa: E501 + """ + + self._confidence = confidence + + @property + def first_seen_at(self) -> Optional[IdentificationSeenAt]: + """Gets the first_seen_at of this Webhook. # noqa: E501 + + + :return: The first_seen_at of this Webhook. # noqa: E501 + """ + return self._first_seen_at + + @first_seen_at.setter + def first_seen_at(self, first_seen_at: Optional[IdentificationSeenAt]): + """Sets the first_seen_at of this Webhook. + + + :param first_seen_at: The first_seen_at of this Webhook. # noqa: E501 + """ + + self._first_seen_at = first_seen_at + + @property + def last_seen_at(self) -> Optional[IdentificationSeenAt]: + """Gets the last_seen_at of this Webhook. # noqa: E501 + + + :return: The last_seen_at of this Webhook. # noqa: E501 + """ + return self._last_seen_at + + @last_seen_at.setter + def last_seen_at(self, last_seen_at: Optional[IdentificationSeenAt]): + """Sets the last_seen_at of this Webhook. + + + :param last_seen_at: The last_seen_at of this Webhook. # noqa: E501 + """ + + self._last_seen_at = last_seen_at + + @property + def browser_details(self) -> Optional[BrowserDetails]: + """Gets the browser_details of this Webhook. # noqa: E501 + + + :return: The browser_details of this Webhook. # noqa: E501 + """ + return self._browser_details + + @browser_details.setter + def browser_details(self, browser_details: Optional[BrowserDetails]): + """Sets the browser_details of this Webhook. + + + :param browser_details: The browser_details of this Webhook. # noqa: E501 + """ + + self._browser_details = browser_details + + @property + def incognito(self) -> Optional[bool]: + """Gets the incognito of this Webhook. # noqa: E501 + + Flag if user used incognito session. # noqa: E501 + + :return: The incognito of this Webhook. # noqa: E501 + """ + return self._incognito + + @incognito.setter + def incognito(self, incognito: Optional[bool]): + """Sets the incognito of this Webhook. + + Flag if user used incognito session. # noqa: E501 + + :param incognito: The incognito of this Webhook. # noqa: E501 + """ + + self._incognito = incognito + + @property + def client_referrer(self) -> Optional[str]: + """Gets the client_referrer of this Webhook. # noqa: E501 + + + :return: The client_referrer of this Webhook. # noqa: E501 + """ + return self._client_referrer + + @client_referrer.setter + def client_referrer(self, client_referrer: Optional[str]): + """Sets the client_referrer of this Webhook. + + + :param client_referrer: The client_referrer of this Webhook. # noqa: E501 + """ + + self._client_referrer = client_referrer + + @property + def components(self) -> Optional[RawDeviceAttributes]: + """Gets the components of this Webhook. # noqa: E501 + + + :return: The components of this Webhook. # noqa: E501 + """ + return self._components + + @components.setter + def components(self, components: Optional[RawDeviceAttributes]): + """Sets the components of this Webhook. + + + :param components: The components of this Webhook. # noqa: E501 + """ + + self._components = components + + @property + def bot(self) -> Optional[BotdBot]: + """Gets the bot of this Webhook. # noqa: E501 + + + :return: The bot of this Webhook. # noqa: E501 + """ + return self._bot + + @bot.setter + def bot(self, bot: Optional[BotdBot]): + """Sets the bot of this Webhook. + + + :param bot: The bot of this Webhook. # noqa: E501 + """ + + self._bot = bot + + @property + def user_agent(self) -> Optional[str]: + """Gets the user_agent of this Webhook. # noqa: E501 + + + :return: The user_agent of this Webhook. # noqa: E501 + """ + return self._user_agent + + @user_agent.setter + def user_agent(self, user_agent: Optional[str]): + """Sets the user_agent of this Webhook. + + + :param user_agent: The user_agent of this Webhook. # noqa: E501 + """ + + self._user_agent = user_agent + + @property + def root_apps(self) -> Optional[WebhookRootApps]: + """Gets the root_apps of this Webhook. # noqa: E501 + + + :return: The root_apps of this Webhook. # noqa: E501 + """ + return self._root_apps + + @root_apps.setter + def root_apps(self, root_apps: Optional[WebhookRootApps]): + """Sets the root_apps of this Webhook. + + + :param root_apps: The root_apps of this Webhook. # noqa: E501 + """ + + self._root_apps = root_apps + + @property + def emulator(self) -> Optional[WebhookEmulator]: + """Gets the emulator of this Webhook. # noqa: E501 + + + :return: The emulator of this Webhook. # noqa: E501 + """ + return self._emulator + + @emulator.setter + def emulator(self, emulator: Optional[WebhookEmulator]): + """Sets the emulator of this Webhook. + + + :param emulator: The emulator of this Webhook. # noqa: E501 + """ + + self._emulator = emulator + + @property + def ip_info(self) -> Optional[WebhookIPInfo]: + """Gets the ip_info of this Webhook. # noqa: E501 + + + :return: The ip_info of this Webhook. # noqa: E501 + """ + return self._ip_info + + @ip_info.setter + def ip_info(self, ip_info: Optional[WebhookIPInfo]): + """Sets the ip_info of this Webhook. + + + :param ip_info: The ip_info of this Webhook. # noqa: E501 + """ + + self._ip_info = ip_info + + @property + def ip_blocklist(self) -> Optional[WebhookIPBlocklist]: + """Gets the ip_blocklist of this Webhook. # noqa: E501 + + + :return: The ip_blocklist of this Webhook. # noqa: E501 + """ + return self._ip_blocklist + + @ip_blocklist.setter + def ip_blocklist(self, ip_blocklist: Optional[WebhookIPBlocklist]): + """Sets the ip_blocklist of this Webhook. + + + :param ip_blocklist: The ip_blocklist of this Webhook. # noqa: E501 + """ + + self._ip_blocklist = ip_blocklist + + @property + def tor(self) -> Optional[WebhookTor]: + """Gets the tor of this Webhook. # noqa: E501 + + + :return: The tor of this Webhook. # noqa: E501 + """ + return self._tor + + @tor.setter + def tor(self, tor: Optional[WebhookTor]): + """Sets the tor of this Webhook. + + + :param tor: The tor of this Webhook. # noqa: E501 + """ + + self._tor = tor + + @property + def vpn(self) -> Optional[WebhookVPN]: + """Gets the vpn of this Webhook. # noqa: E501 + + + :return: The vpn of this Webhook. # noqa: E501 + """ + return self._vpn + + @vpn.setter + def vpn(self, vpn: Optional[WebhookVPN]): + """Sets the vpn of this Webhook. + + + :param vpn: The vpn of this Webhook. # noqa: E501 + """ + + self._vpn = vpn + + @property + def proxy(self) -> Optional[WebhookProxy]: + """Gets the proxy of this Webhook. # noqa: E501 + + + :return: The proxy of this Webhook. # noqa: E501 + """ + return self._proxy + + @proxy.setter + def proxy(self, proxy: Optional[WebhookProxy]): + """Sets the proxy of this Webhook. + + + :param proxy: The proxy of this Webhook. # noqa: E501 + """ + + self._proxy = proxy + + @property + def tampering(self) -> Optional[WebhookTampering]: + """Gets the tampering of this Webhook. # noqa: E501 + + + :return: The tampering of this Webhook. # noqa: E501 + """ + return self._tampering + + @tampering.setter + def tampering(self, tampering: Optional[WebhookTampering]): + """Sets the tampering of this Webhook. + + + :param tampering: The tampering of this Webhook. # noqa: E501 + """ + + self._tampering = tampering + + @property + def cloned_app(self) -> Optional[WebhookClonedApp]: + """Gets the cloned_app of this Webhook. # noqa: E501 + + + :return: The cloned_app of this Webhook. # noqa: E501 + """ + return self._cloned_app + + @cloned_app.setter + def cloned_app(self, cloned_app: Optional[WebhookClonedApp]): + """Sets the cloned_app of this Webhook. + + + :param cloned_app: The cloned_app of this Webhook. # noqa: E501 + """ + + self._cloned_app = cloned_app + + @property + def factory_reset(self) -> Optional[WebhookFactoryReset]: + """Gets the factory_reset of this Webhook. # noqa: E501 + + + :return: The factory_reset of this Webhook. # noqa: E501 + """ + return self._factory_reset + + @factory_reset.setter + def factory_reset(self, factory_reset: Optional[WebhookFactoryReset]): + """Sets the factory_reset of this Webhook. + + + :param factory_reset: The factory_reset of this Webhook. # noqa: E501 + """ + + self._factory_reset = factory_reset + + @property + def jailbroken(self) -> Optional[WebhookJailbroken]: + """Gets the jailbroken of this Webhook. # noqa: E501 + + + :return: The jailbroken of this Webhook. # noqa: E501 + """ + return self._jailbroken + + @jailbroken.setter + def jailbroken(self, jailbroken: Optional[WebhookJailbroken]): + """Sets the jailbroken of this Webhook. + + + :param jailbroken: The jailbroken of this Webhook. # noqa: E501 + """ + + self._jailbroken = jailbroken + + @property + def frida(self) -> Optional[WebhookFrida]: + """Gets the frida of this Webhook. # noqa: E501 + + + :return: The frida of this Webhook. # noqa: E501 + """ + return self._frida + + @frida.setter + def frida(self, frida: Optional[WebhookFrida]): + """Sets the frida of this Webhook. + + + :param frida: The frida of this Webhook. # noqa: E501 + """ + + self._frida = frida + + @property + def privacy_settings(self) -> Optional[WebhookPrivacySettings]: + """Gets the privacy_settings of this Webhook. # noqa: E501 + + + :return: The privacy_settings of this Webhook. # noqa: E501 + """ + return self._privacy_settings + + @privacy_settings.setter + def privacy_settings(self, privacy_settings: Optional[WebhookPrivacySettings]): + """Sets the privacy_settings of this Webhook. + + + :param privacy_settings: The privacy_settings of this Webhook. # noqa: E501 + """ + + self._privacy_settings = privacy_settings + + @property + def virtual_machine(self) -> Optional[WebhookVirtualMachine]: + """Gets the virtual_machine of this Webhook. # noqa: E501 + + + :return: The virtual_machine of this Webhook. # noqa: E501 + """ + return self._virtual_machine + + @virtual_machine.setter + def virtual_machine(self, virtual_machine: Optional[WebhookVirtualMachine]): + """Sets the virtual_machine of this Webhook. + + + :param virtual_machine: The virtual_machine of this Webhook. # noqa: E501 + """ + + self._virtual_machine = virtual_machine + + @property + def raw_device_attributes(self) -> Optional[WebhookRawDeviceAttributes]: + """Gets the raw_device_attributes of this Webhook. # noqa: E501 + + + :return: The raw_device_attributes of this Webhook. # noqa: E501 + """ + return self._raw_device_attributes + + @raw_device_attributes.setter + def raw_device_attributes(self, raw_device_attributes: Optional[WebhookRawDeviceAttributes]): + """Sets the raw_device_attributes of this Webhook. + + + :param raw_device_attributes: The raw_device_attributes of this Webhook. # noqa: E501 + """ + + self._raw_device_attributes = raw_device_attributes + + @property + def high_activity(self) -> Optional[WebhookHighActivity]: + """Gets the high_activity of this Webhook. # noqa: E501 + + + :return: The high_activity of this Webhook. # noqa: E501 + """ + return self._high_activity + + @high_activity.setter + def high_activity(self, high_activity: Optional[WebhookHighActivity]): + """Sets the high_activity of this Webhook. + + + :param high_activity: The high_activity of this Webhook. # noqa: E501 + """ + + self._high_activity = high_activity + + @property + def location_spoofing(self) -> Optional[WebhookLocationSpoofing]: + """Gets the location_spoofing of this Webhook. # noqa: E501 + + + :return: The location_spoofing of this Webhook. # noqa: E501 + """ + return self._location_spoofing + + @location_spoofing.setter + def location_spoofing(self, location_spoofing: Optional[WebhookLocationSpoofing]): + """Sets the location_spoofing of this Webhook. + + + :param location_spoofing: The location_spoofing of this Webhook. # noqa: E501 + """ + + self._location_spoofing = location_spoofing + + @property + def suspect_score(self) -> Optional[WebhookSuspectScore]: + """Gets the suspect_score of this Webhook. # noqa: E501 + + + :return: The suspect_score of this Webhook. # noqa: E501 + """ + return self._suspect_score + + @suspect_score.setter + def suspect_score(self, suspect_score: Optional[WebhookSuspectScore]): + """Sets the suspect_score of this Webhook. + + + :param suspect_score: The suspect_score of this Webhook. # noqa: E501 + """ + + self._suspect_score = suspect_score + + @property + def remote_control(self) -> Optional[WebhookRemoteControl]: + """Gets the remote_control of this Webhook. # noqa: E501 + + + :return: The remote_control of this Webhook. # noqa: E501 + """ + return self._remote_control + + @remote_control.setter + def remote_control(self, remote_control: Optional[WebhookRemoteControl]): + """Sets the remote_control of this Webhook. + + + :param remote_control: The remote_control of this Webhook. # noqa: E501 + """ + + self._remote_control = remote_control + + @property + def velocity(self) -> Optional[WebhookVelocity]: + """Gets the velocity of this Webhook. # noqa: E501 + + + :return: The velocity of this Webhook. # noqa: E501 + """ + return self._velocity + + @velocity.setter + def velocity(self, velocity: Optional[WebhookVelocity]): + """Sets the velocity of this Webhook. + + + :param velocity: The velocity of this Webhook. # noqa: E501 + """ + + self._velocity = velocity + + @property + def developer_tools(self) -> Optional[WebhookDeveloperTools]: + """Gets the developer_tools of this Webhook. # noqa: E501 + + + :return: The developer_tools of this Webhook. # noqa: E501 + """ + return self._developer_tools + + @developer_tools.setter + def developer_tools(self, developer_tools: Optional[WebhookDeveloperTools]): + """Sets the developer_tools of this Webhook. + + + :param developer_tools: The developer_tools of this Webhook. # noqa: E501 + """ + + self._developer_tools = developer_tools + diff --git a/fingerprint_pro_server_api_sdk/models/jailbroken_result.py b/fingerprint_pro_server_api_sdk/models/webhook_cloned_app.py similarity index 56% rename from fingerprint_pro_server_api_sdk/models/jailbroken_result.py rename to fingerprint_pro_server_api_sdk/models/webhook_cloned_app.py index af3e0bc6..2c2e83e5 100644 --- a/fingerprint_pro_server_api_sdk/models/jailbroken_result.py +++ b/fingerprint_pro_server_api_sdk/models/webhook_cloned_app.py @@ -15,7 +15,7 @@ from fingerprint_pro_server_api_sdk.base_model import BaseModel -class JailbrokenResult(BaseModel): +class WebhookClonedApp(BaseModel): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,31 +36,30 @@ class JailbrokenResult(BaseModel): } def __init__(self, result=None): # noqa: E501 - """JailbrokenResult - a model defined in Swagger""" # noqa: E501 + """WebhookClonedApp - a model defined in Swagger""" # noqa: E501 self._result = None self.discriminator = None - self.result = result + if result is not None: + self.result = result @property - def result(self) -> bool: - """Gets the result of this JailbrokenResult. # noqa: E501 + def result(self) -> Optional[bool]: + """Gets the result of this WebhookClonedApp. # noqa: E501 - iOS specific jailbreak detection. There are 2 values: • `true` - Jailbreak detected • `false` - No signs of jailbreak or the client is not iOS. # noqa: E501 + Android specific cloned application detection. There are 2 values: * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). * `false` - No signs of cloned application detected or the client is not Android. # noqa: E501 - :return: The result of this JailbrokenResult. # noqa: E501 + :return: The result of this WebhookClonedApp. # noqa: E501 """ return self._result @result.setter - def result(self, result: bool): - """Sets the result of this JailbrokenResult. + def result(self, result: Optional[bool]): + """Sets the result of this WebhookClonedApp. - iOS specific jailbreak detection. There are 2 values: • `true` - Jailbreak detected • `false` - No signs of jailbreak or the client is not iOS. # noqa: E501 + Android specific cloned application detection. There are 2 values: * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). * `false` - No signs of cloned application detected or the client is not Android. # noqa: E501 - :param result: The result of this JailbrokenResult. # noqa: E501 + :param result: The result of this WebhookClonedApp. # noqa: E501 """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/fingerprint_pro_server_api_sdk/models/webhook_developer_tools.py b/fingerprint_pro_server_api_sdk/models/webhook_developer_tools.py new file mode 100644 index 00000000..c75c0695 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_developer_tools.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookDeveloperTools(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookDeveloperTools - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookDeveloperTools. # noqa: E501 + + `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. # noqa: E501 + + :return: The result of this WebhookDeveloperTools. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookDeveloperTools. + + `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. # noqa: E501 + + :param result: The result of this WebhookDeveloperTools. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_emulator.py b/fingerprint_pro_server_api_sdk/models/webhook_emulator.py new file mode 100644 index 00000000..d997b7c2 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_emulator.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookEmulator(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookEmulator - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookEmulator. # noqa: E501 + + Android specific emulator detection. There are 2 values: * `true` - Emulated environment detected (e.g. launch inside of AVD). * `false` - No signs of emulated environment detected or the client is not Android. # noqa: E501 + + :return: The result of this WebhookEmulator. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookEmulator. + + Android specific emulator detection. There are 2 values: * `true` - Emulated environment detected (e.g. launch inside of AVD). * `false` - No signs of emulated environment detected or the client is not Android. # noqa: E501 + + :param result: The result of this WebhookEmulator. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_factory_reset.py b/fingerprint_pro_server_api_sdk/models/webhook_factory_reset.py new file mode 100644 index 00000000..d0c874ed --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_factory_reset.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from datetime import datetime + + +class WebhookFactoryReset(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'time': 'datetime', + 'timestamp': 'int' + } + + attribute_map = { + 'time': 'time', + 'timestamp': 'timestamp' + } + + def __init__(self, time=None, timestamp=None): # noqa: E501 + """WebhookFactoryReset - a model defined in Swagger""" # noqa: E501 + self._time = None + self._timestamp = None + self.discriminator = None + if time is not None: + self.time = time + if timestamp is not None: + self.timestamp = timestamp + + @property + def time(self) -> Optional[datetime]: + """Gets the time of this WebhookFactoryReset. # noqa: E501 + + Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501 + + :return: The time of this WebhookFactoryReset. # noqa: E501 + """ + return self._time + + @time.setter + def time(self, time: Optional[datetime]): + """Sets the time of this WebhookFactoryReset. + + Indicates the time (in UTC) of the most recent factory reset that happened on the **mobile device**. When a factory reset cannot be detected on the mobile device or when the request is initiated from a browser, this field will correspond to the *epoch* time (i.e 1 Jan 1970 UTC). See [Factory Reset Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) to learn more about this Smart Signal. # noqa: E501 + + :param time: The time of this WebhookFactoryReset. # noqa: E501 + """ + + self._time = time + + @property + def timestamp(self) -> Optional[int]: + """Gets the timestamp of this WebhookFactoryReset. # noqa: E501 + + This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. # noqa: E501 + + :return: The timestamp of this WebhookFactoryReset. # noqa: E501 + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp: Optional[int]): + """Sets the timestamp of this WebhookFactoryReset. + + This field is just another representation of the value in the `time` field. The time of the most recent factory reset that happened on the **mobile device** is expressed as Unix epoch time. # noqa: E501 + + :param timestamp: The timestamp of this WebhookFactoryReset. # noqa: E501 + """ + + self._timestamp = timestamp + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_frida.py b/fingerprint_pro_server_api_sdk/models/webhook_frida.py new file mode 100644 index 00000000..31e65dcc --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_frida.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookFrida(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookFrida - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookFrida. # noqa: E501 + + [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: * `true` - Frida detected * `false` - No signs of Frida or the client is not a mobile device. # noqa: E501 + + :return: The result of this WebhookFrida. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookFrida. + + [Frida](https://frida.re/docs/) detection for Android and iOS devices. There are 2 values: * `true` - Frida detected * `false` - No signs of Frida or the client is not a mobile device. # noqa: E501 + + :param result: The result of this WebhookFrida. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_high_activity.py b/fingerprint_pro_server_api_sdk/models/webhook_high_activity.py new file mode 100644 index 00000000..be754e4c --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_high_activity.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookHighActivity(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool', + 'daily_requests': 'int' + } + + attribute_map = { + 'result': 'result', + 'daily_requests': 'dailyRequests' + } + + def __init__(self, result=None, daily_requests=None): # noqa: E501 + """WebhookHighActivity - a model defined in Swagger""" # noqa: E501 + self._result = None + self._daily_requests = None + self.discriminator = None + self.result = result + if daily_requests is not None: + self.daily_requests = daily_requests + + @property + def result(self) -> bool: + """Gets the result of this WebhookHighActivity. # noqa: E501 + + Flag indicating if the request came from a high-activity visitor. # noqa: E501 + + :return: The result of this WebhookHighActivity. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: bool): + """Sets the result of this WebhookHighActivity. + + Flag indicating if the request came from a high-activity visitor. # noqa: E501 + + :param result: The result of this WebhookHighActivity. # noqa: E501 + """ + if result is None: + raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 + + self._result = result + + @property + def daily_requests(self) -> Optional[int]: + """Gets the daily_requests of this WebhookHighActivity. # noqa: E501 + + Number of requests from the same visitor in the previous day. # noqa: E501 + + :return: The daily_requests of this WebhookHighActivity. # noqa: E501 + """ + return self._daily_requests + + @daily_requests.setter + def daily_requests(self, daily_requests: Optional[int]): + """Sets the daily_requests of this WebhookHighActivity. + + Number of requests from the same visitor in the previous day. # noqa: E501 + + :param daily_requests: The daily_requests of this WebhookHighActivity. # noqa: E501 + """ + + self._daily_requests = daily_requests + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_ip_blocklist.py b/fingerprint_pro_server_api_sdk/models/webhook_ip_blocklist.py new file mode 100644 index 00000000..86d2b68e --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_ip_blocklist.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.ip_blocklist_details import IPBlocklistDetails + + +class WebhookIPBlocklist(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool', + 'details': 'IPBlocklistDetails' + } + + attribute_map = { + 'result': 'result', + 'details': 'details' + } + + def __init__(self, result=None, details=None): # noqa: E501 + """WebhookIPBlocklist - a model defined in Swagger""" # noqa: E501 + self._result = None + self._details = None + self.discriminator = None + if result is not None: + self.result = result + if details is not None: + self.details = details + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookIPBlocklist. # noqa: E501 + + `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. # noqa: E501 + + :return: The result of this WebhookIPBlocklist. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookIPBlocklist. + + `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. # noqa: E501 + + :param result: The result of this WebhookIPBlocklist. # noqa: E501 + """ + + self._result = result + + @property + def details(self) -> Optional[IPBlocklistDetails]: + """Gets the details of this WebhookIPBlocklist. # noqa: E501 + + + :return: The details of this WebhookIPBlocklist. # noqa: E501 + """ + return self._details + + @details.setter + def details(self, details: Optional[IPBlocklistDetails]): + """Sets the details of this WebhookIPBlocklist. + + + :param details: The details of this WebhookIPBlocklist. # noqa: E501 + """ + + self._details = details + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_ip_info.py b/fingerprint_pro_server_api_sdk/models/webhook_ip_info.py new file mode 100644 index 00000000..33ad4479 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_ip_info.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.ip_info_v4 import IPInfoV4 +from fingerprint_pro_server_api_sdk.models.ip_info_v6 import IPInfoV6 + + +class WebhookIPInfo(BaseModel): + """ + Details about the request IP address. Has separate fields for v4 and v6 IP address versions. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'v4': 'IPInfoV4', + 'v6': 'IPInfoV6' + } + + attribute_map = { + 'v4': 'v4', + 'v6': 'v6' + } + + def __init__(self, v4=None, v6=None): # noqa: E501 + """WebhookIPInfo - a model defined in Swagger""" # noqa: E501 + self._v4 = None + self._v6 = None + self.discriminator = None + if v4 is not None: + self.v4 = v4 + if v6 is not None: + self.v6 = v6 + + @property + def v4(self) -> Optional[IPInfoV4]: + """Gets the v4 of this WebhookIPInfo. # noqa: E501 + + + :return: The v4 of this WebhookIPInfo. # noqa: E501 + """ + return self._v4 + + @v4.setter + def v4(self, v4: Optional[IPInfoV4]): + """Sets the v4 of this WebhookIPInfo. + + + :param v4: The v4 of this WebhookIPInfo. # noqa: E501 + """ + + self._v4 = v4 + + @property + def v6(self) -> Optional[IPInfoV6]: + """Gets the v6 of this WebhookIPInfo. # noqa: E501 + + + :return: The v6 of this WebhookIPInfo. # noqa: E501 + """ + return self._v6 + + @v6.setter + def v6(self, v6: Optional[IPInfoV6]): + """Sets the v6 of this WebhookIPInfo. + + + :param v6: The v6 of this WebhookIPInfo. # noqa: E501 + """ + + self._v6 = v6 + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_jailbroken.py b/fingerprint_pro_server_api_sdk/models/webhook_jailbroken.py new file mode 100644 index 00000000..9af17442 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_jailbroken.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookJailbroken(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookJailbroken - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookJailbroken. # noqa: E501 + + iOS specific jailbreak detection. There are 2 values: * `true` - Jailbreak detected. * `false` - No signs of jailbreak or the client is not iOS. # noqa: E501 + + :return: The result of this WebhookJailbroken. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookJailbroken. + + iOS specific jailbreak detection. There are 2 values: * `true` - Jailbreak detected. * `false` - No signs of jailbreak or the client is not iOS. # noqa: E501 + + :param result: The result of this WebhookJailbroken. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_location_spoofing.py b/fingerprint_pro_server_api_sdk/models/webhook_location_spoofing.py new file mode 100644 index 00000000..a0a75d23 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_location_spoofing.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookLocationSpoofing(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookLocationSpoofing - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookLocationSpoofing. # noqa: E501 + + Flag indicating whether the request came from a mobile device with location spoofing enabled. # noqa: E501 + + :return: The result of this WebhookLocationSpoofing. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookLocationSpoofing. + + Flag indicating whether the request came from a mobile device with location spoofing enabled. # noqa: E501 + + :param result: The result of this WebhookLocationSpoofing. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_privacy_settings.py b/fingerprint_pro_server_api_sdk/models/webhook_privacy_settings.py new file mode 100644 index 00000000..4a05f00b --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_privacy_settings.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookPrivacySettings(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookPrivacySettings - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookPrivacySettings. # noqa: E501 + + `true` if the request is from a privacy aware browser (e.g. Tor) or from a browser in which fingerprinting is blocked. Otherwise `false`. # noqa: E501 + + :return: The result of this WebhookPrivacySettings. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookPrivacySettings. + + `true` if the request is from a privacy aware browser (e.g. Tor) or from a browser in which fingerprinting is blocked. Otherwise `false`. # noqa: E501 + + :param result: The result of this WebhookPrivacySettings. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_proxy.py b/fingerprint_pro_server_api_sdk/models/webhook_proxy.py new file mode 100644 index 00000000..f1147e52 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_proxy.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookProxy(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookProxy - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookProxy. # noqa: E501 + + `true` if the request IP address is used by a public proxy provider, `false` otherwise. # noqa: E501 + + :return: The result of this WebhookProxy. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookProxy. + + `true` if the request IP address is used by a public proxy provider, `false` otherwise. # noqa: E501 + + :param result: The result of this WebhookProxy. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_raw_device_attributes.py b/fingerprint_pro_server_api_sdk/models/webhook_raw_device_attributes.py new file mode 100644 index 00000000..01c3f874 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_raw_device_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookRawDeviceAttributes(dict): + """ + 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. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + __parent_class__ = 'dict' + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_remote_control.py b/fingerprint_pro_server_api_sdk/models/webhook_remote_control.py new file mode 100644 index 00000000..4dea5c6d --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_remote_control.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookRemoteControl(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookRemoteControl - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookRemoteControl. # noqa: E501 + + `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501 + + :return: The result of this WebhookRemoteControl. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookRemoteControl. + + `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501 + + :param result: The result of this WebhookRemoteControl. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_root_apps.py b/fingerprint_pro_server_api_sdk/models/webhook_root_apps.py new file mode 100644 index 00000000..aad1ea51 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_root_apps.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookRootApps(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookRootApps - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookRootApps. # noqa: E501 + + Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. # noqa: E501 + + :return: The result of this WebhookRootApps. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookRootApps. + + Android specific root management apps detection. There are 2 values: * `true` - Root Management Apps detected (e.g. Magisk). * `false` - No Root Management Apps detected or the client isn't Android. # noqa: E501 + + :param result: The result of this WebhookRootApps. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_suspect_score.py b/fingerprint_pro_server_api_sdk/models/webhook_suspect_score.py new file mode 100644 index 00000000..cc023f9b --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_suspect_score.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookSuspectScore(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'int' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookSuspectScore - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[int]: + """Gets the result of this WebhookSuspectScore. # noqa: E501 + + Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score # noqa: E501 + + :return: The result of this WebhookSuspectScore. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[int]): + """Sets the result of this WebhookSuspectScore. + + Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score # noqa: E501 + + :param result: The result of this WebhookSuspectScore. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_tampering.py b/fingerprint_pro_server_api_sdk/models/webhook_tampering.py new file mode 100644 index 00000000..c60a80bf --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_tampering.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookTampering(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool', + 'anomaly_score': 'float', + 'anti_detect_browser': 'bool' + } + + attribute_map = { + 'result': 'result', + 'anomaly_score': 'anomalyScore', + 'anti_detect_browser': 'antiDetectBrowser' + } + + def __init__(self, result=None, anomaly_score=None, anti_detect_browser=None): # noqa: E501 + """WebhookTampering - a model defined in Swagger""" # noqa: E501 + self._result = None + self._anomaly_score = None + self._anti_detect_browser = None + self.discriminator = None + if result is not None: + self.result = result + if anomaly_score is not None: + self.anomaly_score = anomaly_score + if anti_detect_browser is not None: + self.anti_detect_browser = anti_detect_browser + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookTampering. # noqa: E501 + + Flag indicating browser tampering was detected. This happens when either of these conditions is true: * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). * The browser signature resembles one of \"anti-detect\" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). # noqa: E501 + + :return: The result of this WebhookTampering. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookTampering. + + Flag indicating browser tampering was detected. This happens when either of these conditions is true: * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). * The browser signature resembles one of \"anti-detect\" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). # noqa: E501 + + :param result: The result of this WebhookTampering. # noqa: E501 + """ + + self._result = result + + @property + def anomaly_score(self) -> Optional[float]: + """Gets the anomaly_score of this WebhookTampering. # noqa: E501 + + Confidence score (`0.0 - 1.0`) for tampering detection: * Values above `0.5` indicate that there was a tampering attempt * Values below `0.5` indicate genuine browsers. # noqa: E501 + + :return: The anomaly_score of this WebhookTampering. # noqa: E501 + """ + return self._anomaly_score + + @anomaly_score.setter + def anomaly_score(self, anomaly_score: Optional[float]): + """Sets the anomaly_score of this WebhookTampering. + + Confidence score (`0.0 - 1.0`) for tampering detection: * Values above `0.5` indicate that there was a tampering attempt * Values below `0.5` indicate genuine browsers. # noqa: E501 + + :param anomaly_score: The anomaly_score of this WebhookTampering. # noqa: E501 + """ + + self._anomaly_score = anomaly_score + + @property + def anti_detect_browser(self) -> Optional[bool]: + """Gets the anti_detect_browser of this WebhookTampering. # noqa: E501 + + Is `true` if the identified browser resembles one of \"anti-detect\" browsers, for example, Incognition. Anti-detect browsers try to evade identification by masking or manipulating their fingerprint to imitate legitimate browser configurations. # noqa: E501 + + :return: The anti_detect_browser of this WebhookTampering. # noqa: E501 + """ + return self._anti_detect_browser + + @anti_detect_browser.setter + def anti_detect_browser(self, anti_detect_browser: Optional[bool]): + """Sets the anti_detect_browser of this WebhookTampering. + + Is `true` if the identified browser resembles one of \"anti-detect\" browsers, for example, Incognition. Anti-detect browsers try to evade identification by masking or manipulating their fingerprint to imitate legitimate browser configurations. # noqa: E501 + + :param anti_detect_browser: The anti_detect_browser of this WebhookTampering. # noqa: E501 + """ + + self._anti_detect_browser = anti_detect_browser + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_tor.py b/fingerprint_pro_server_api_sdk/models/webhook_tor.py new file mode 100644 index 00000000..1a0ed8ac --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_tor.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookTor(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookTor - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookTor. # noqa: E501 + + `true` if the request IP address is a known tor exit node, `false` otherwise. # noqa: E501 + + :return: The result of this WebhookTor. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookTor. + + `true` if the request IP address is a known tor exit node, `false` otherwise. # noqa: E501 + + :param result: The result of this WebhookTor. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_velocity.py b/fingerprint_pro_server_api_sdk/models/webhook_velocity.py new file mode 100644 index 00000000..cd157a5c --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_velocity.py @@ -0,0 +1,217 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData +from fingerprint_pro_server_api_sdk.models.velocity_data import VelocityData + + +class WebhookVelocity(BaseModel): + """ + 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. + + NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'distinct_ip': 'VelocityData', + 'distinct_linked_id': 'VelocityData', + 'distinct_country': 'VelocityData', + 'events': 'VelocityData', + 'ip_events': 'VelocityData', + 'distinct_ip_by_linked_id': 'VelocityData', + 'distinct_visitor_id_by_linked_id': 'VelocityData' + } + + attribute_map = { + 'distinct_ip': 'distinctIp', + 'distinct_linked_id': 'distinctLinkedId', + 'distinct_country': 'distinctCountry', + 'events': 'events', + 'ip_events': 'ipEvents', + 'distinct_ip_by_linked_id': 'distinctIpByLinkedId', + 'distinct_visitor_id_by_linked_id': 'distinctVisitorIdByLinkedId' + } + + def __init__(self, distinct_ip=None, distinct_linked_id=None, distinct_country=None, events=None, ip_events=None, distinct_ip_by_linked_id=None, distinct_visitor_id_by_linked_id=None): # noqa: E501 + """WebhookVelocity - a model defined in Swagger""" # noqa: E501 + self._distinct_ip = None + self._distinct_linked_id = None + self._distinct_country = None + self._events = None + self._ip_events = None + self._distinct_ip_by_linked_id = None + self._distinct_visitor_id_by_linked_id = None + self.discriminator = None + if distinct_ip is not None: + self.distinct_ip = distinct_ip + if distinct_linked_id is not None: + self.distinct_linked_id = distinct_linked_id + if distinct_country is not None: + self.distinct_country = distinct_country + if events is not None: + self.events = events + if ip_events is not None: + self.ip_events = ip_events + if distinct_ip_by_linked_id is not None: + self.distinct_ip_by_linked_id = distinct_ip_by_linked_id + if distinct_visitor_id_by_linked_id is not None: + self.distinct_visitor_id_by_linked_id = distinct_visitor_id_by_linked_id + + @property + def distinct_ip(self) -> Optional[VelocityData]: + """Gets the distinct_ip of this WebhookVelocity. # noqa: E501 + + + :return: The distinct_ip of this WebhookVelocity. # noqa: E501 + """ + return self._distinct_ip + + @distinct_ip.setter + def distinct_ip(self, distinct_ip: Optional[VelocityData]): + """Sets the distinct_ip of this WebhookVelocity. + + + :param distinct_ip: The distinct_ip of this WebhookVelocity. # noqa: E501 + """ + + self._distinct_ip = distinct_ip + + @property + def distinct_linked_id(self) -> Optional[VelocityData]: + """Gets the distinct_linked_id of this WebhookVelocity. # noqa: E501 + + + :return: The distinct_linked_id of this WebhookVelocity. # noqa: E501 + """ + return self._distinct_linked_id + + @distinct_linked_id.setter + def distinct_linked_id(self, distinct_linked_id: Optional[VelocityData]): + """Sets the distinct_linked_id of this WebhookVelocity. + + + :param distinct_linked_id: The distinct_linked_id of this WebhookVelocity. # noqa: E501 + """ + + self._distinct_linked_id = distinct_linked_id + + @property + def distinct_country(self) -> Optional[VelocityData]: + """Gets the distinct_country of this WebhookVelocity. # noqa: E501 + + + :return: The distinct_country of this WebhookVelocity. # noqa: E501 + """ + return self._distinct_country + + @distinct_country.setter + def distinct_country(self, distinct_country: Optional[VelocityData]): + """Sets the distinct_country of this WebhookVelocity. + + + :param distinct_country: The distinct_country of this WebhookVelocity. # noqa: E501 + """ + + self._distinct_country = distinct_country + + @property + def events(self) -> Optional[VelocityData]: + """Gets the events of this WebhookVelocity. # noqa: E501 + + + :return: The events of this WebhookVelocity. # noqa: E501 + """ + return self._events + + @events.setter + def events(self, events: Optional[VelocityData]): + """Sets the events of this WebhookVelocity. + + + :param events: The events of this WebhookVelocity. # noqa: E501 + """ + + self._events = events + + @property + def ip_events(self) -> Optional[VelocityData]: + """Gets the ip_events of this WebhookVelocity. # noqa: E501 + + + :return: The ip_events of this WebhookVelocity. # noqa: E501 + """ + return self._ip_events + + @ip_events.setter + def ip_events(self, ip_events: Optional[VelocityData]): + """Sets the ip_events of this WebhookVelocity. + + + :param ip_events: The ip_events of this WebhookVelocity. # noqa: E501 + """ + + self._ip_events = ip_events + + @property + def distinct_ip_by_linked_id(self) -> Optional[VelocityData]: + """Gets the distinct_ip_by_linked_id of this WebhookVelocity. # noqa: E501 + + + :return: The distinct_ip_by_linked_id of this WebhookVelocity. # noqa: E501 + """ + return self._distinct_ip_by_linked_id + + @distinct_ip_by_linked_id.setter + def distinct_ip_by_linked_id(self, distinct_ip_by_linked_id: Optional[VelocityData]): + """Sets the distinct_ip_by_linked_id of this WebhookVelocity. + + + :param distinct_ip_by_linked_id: The distinct_ip_by_linked_id of this WebhookVelocity. # noqa: E501 + """ + + self._distinct_ip_by_linked_id = distinct_ip_by_linked_id + + @property + def distinct_visitor_id_by_linked_id(self) -> Optional[VelocityData]: + """Gets the distinct_visitor_id_by_linked_id of this WebhookVelocity. # noqa: E501 + + + :return: The distinct_visitor_id_by_linked_id of this WebhookVelocity. # noqa: E501 + """ + return self._distinct_visitor_id_by_linked_id + + @distinct_visitor_id_by_linked_id.setter + def distinct_visitor_id_by_linked_id(self, distinct_visitor_id_by_linked_id: Optional[VelocityData]): + """Sets the distinct_visitor_id_by_linked_id of this WebhookVelocity. + + + :param distinct_visitor_id_by_linked_id: The distinct_visitor_id_by_linked_id of this WebhookVelocity. # noqa: E501 + """ + + self._distinct_visitor_id_by_linked_id = distinct_visitor_id_by_linked_id + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_virtual_machine.py b/fingerprint_pro_server_api_sdk/models/webhook_virtual_machine.py new file mode 100644 index 00000000..9c846b59 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_virtual_machine.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel + + +class WebhookVirtualMachine(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): # noqa: E501 + """WebhookVirtualMachine - a model defined in Swagger""" # noqa: E501 + self._result = None + self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookVirtualMachine. # noqa: E501 + + `true` if the request came from a browser running inside a virtual machine (e.g. VMWare), `false` otherwise. # noqa: E501 + + :return: The result of this WebhookVirtualMachine. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookVirtualMachine. + + `true` if the request came from a browser running inside a virtual machine (e.g. VMWare), `false` otherwise. # noqa: E501 + + :param result: The result of this WebhookVirtualMachine. # noqa: E501 + """ + + self._result = result + diff --git a/fingerprint_pro_server_api_sdk/models/webhook_visit.py b/fingerprint_pro_server_api_sdk/models/webhook_visit.py deleted file mode 100644 index 2235a5b7..00000000 --- a/fingerprint_pro_server_api_sdk/models/webhook_visit.py +++ /dev/null @@ -1,1030 +0,0 @@ -# coding: utf-8 - -""" - Fingerprint Pro Server API - - Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 - - OpenAPI spec version: 3 - Contact: support@fingerprint.com - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import Dict, List, Optional # noqa: F401 -from fingerprint_pro_server_api_sdk.base_model import BaseModel -from fingerprint_pro_server_api_sdk.models.botd_detection_result import BotdDetectionResult -from fingerprint_pro_server_api_sdk.models.ip_info_result import IpInfoResult -from fingerprint_pro_server_api_sdk.models.root_apps_result import RootAppsResult -from fingerprint_pro_server_api_sdk.models.emulator_result import EmulatorResult -from fingerprint_pro_server_api_sdk.models.cloned_app_result import ClonedAppResult -from fingerprint_pro_server_api_sdk.models.factory_reset_result import FactoryResetResult -from fingerprint_pro_server_api_sdk.models.jailbroken_result import JailbrokenResult -from fingerprint_pro_server_api_sdk.models.frida_result import FridaResult -from fingerprint_pro_server_api_sdk.models.ip_block_list_result import IpBlockListResult -from fingerprint_pro_server_api_sdk.models.tor_result import TorResult -from fingerprint_pro_server_api_sdk.models.privacy_settings_result import PrivacySettingsResult -from fingerprint_pro_server_api_sdk.models.virtual_machine_result import VirtualMachineResult -from fingerprint_pro_server_api_sdk.models.vpn_result import VpnResult -from fingerprint_pro_server_api_sdk.models.proxy_result import ProxyResult -from fingerprint_pro_server_api_sdk.models.tampering_result import TamperingResult -from fingerprint_pro_server_api_sdk.models.raw_device_attributes_result import RawDeviceAttributesResult -from fingerprint_pro_server_api_sdk.models.high_activity_result import HighActivityResult -from fingerprint_pro_server_api_sdk.models.location_spoofing_result import LocationSpoofingResult -from fingerprint_pro_server_api_sdk.models.suspect_score_result import SuspectScoreResult -from fingerprint_pro_server_api_sdk.models.remote_control_result import RemoteControlResult -from fingerprint_pro_server_api_sdk.models.velocity_result import VelocityResult -from fingerprint_pro_server_api_sdk.models.developer_tools_result import DeveloperToolsResult -from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails -from fingerprint_pro_server_api_sdk.models.deprecated_ip_location import DeprecatedIPLocation -from datetime import datetime -from fingerprint_pro_server_api_sdk.models.confidence import Confidence -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt -from fingerprint_pro_server_api_sdk.models.seen_at import SeenAt - - -class WebhookVisit(BaseModel): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'visitor_id': 'str', - 'client_referrer': 'str', - 'user_agent': 'str', - 'bot': 'BotdDetectionResult', - 'ip_info': 'IpInfoResult', - 'incognito': 'bool', - 'root_apps': 'RootAppsResult', - 'emulator': 'EmulatorResult', - 'cloned_app': 'ClonedAppResult', - 'factory_reset': 'FactoryResetResult', - 'jailbroken': 'JailbrokenResult', - 'frida': 'FridaResult', - 'ip_blocklist': 'IpBlockListResult', - 'tor': 'TorResult', - 'privacy_settings': 'PrivacySettingsResult', - 'virtual_machine': 'VirtualMachineResult', - 'vpn': 'VpnResult', - 'proxy': 'ProxyResult', - 'tampering': 'TamperingResult', - 'raw_device_attributes': 'RawDeviceAttributesResult', - 'high_activity': 'HighActivityResult', - 'location_spoofing': 'LocationSpoofingResult', - 'suspect_score': 'SuspectScoreResult', - 'remote_control': 'RemoteControlResult', - 'velocity': 'VelocityResult', - 'developer_tools': 'DeveloperToolsResult', - 'request_id': 'str', - 'browser_details': 'BrowserDetails', - 'ip': 'str', - 'ip_location': 'DeprecatedIPLocation', - 'timestamp': 'int', - 'time': 'datetime', - 'url': 'str', - 'tag': 'dict(str, object)', - 'linked_id': 'str', - 'confidence': 'Confidence', - 'visitor_found': 'bool', - 'first_seen_at': 'SeenAt', - 'last_seen_at': 'SeenAt' - } - - attribute_map = { - 'visitor_id': 'visitorId', - 'client_referrer': 'clientReferrer', - 'user_agent': 'userAgent', - 'bot': 'bot', - 'ip_info': 'ipInfo', - 'incognito': 'incognito', - 'root_apps': 'rootApps', - 'emulator': 'emulator', - 'cloned_app': 'clonedApp', - 'factory_reset': 'factoryReset', - 'jailbroken': 'jailbroken', - 'frida': 'frida', - 'ip_blocklist': 'ipBlocklist', - 'tor': 'tor', - 'privacy_settings': 'privacySettings', - 'virtual_machine': 'virtualMachine', - 'vpn': 'vpn', - 'proxy': 'proxy', - 'tampering': 'tampering', - 'raw_device_attributes': 'rawDeviceAttributes', - 'high_activity': 'highActivity', - 'location_spoofing': 'locationSpoofing', - 'suspect_score': 'suspectScore', - 'remote_control': 'remoteControl', - 'velocity': 'velocity', - 'developer_tools': 'developerTools', - 'request_id': 'requestId', - 'browser_details': 'browserDetails', - 'ip': 'ip', - 'ip_location': 'ipLocation', - 'timestamp': 'timestamp', - 'time': 'time', - 'url': 'url', - 'tag': 'tag', - 'linked_id': 'linkedId', - 'confidence': 'confidence', - 'visitor_found': 'visitorFound', - 'first_seen_at': 'firstSeenAt', - 'last_seen_at': 'lastSeenAt' - } - - def __init__(self, visitor_id=None, client_referrer=None, user_agent=None, bot=None, ip_info=None, incognito=None, root_apps=None, emulator=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, ip_blocklist=None, tor=None, privacy_settings=None, virtual_machine=None, vpn=None, proxy=None, tampering=None, raw_device_attributes=None, high_activity=None, location_spoofing=None, suspect_score=None, remote_control=None, velocity=None, developer_tools=None, request_id=None, browser_details=None, ip=None, ip_location=None, timestamp=None, time=None, url=None, tag=None, linked_id=None, confidence=None, visitor_found=None, first_seen_at=None, last_seen_at=None): # noqa: E501 - """WebhookVisit - a model defined in Swagger""" # noqa: E501 - self._visitor_id = None - self._client_referrer = None - self._user_agent = None - self._bot = None - self._ip_info = None - self._incognito = None - self._root_apps = None - self._emulator = None - self._cloned_app = None - self._factory_reset = None - self._jailbroken = None - self._frida = None - self._ip_blocklist = None - self._tor = None - self._privacy_settings = None - self._virtual_machine = None - self._vpn = None - self._proxy = None - self._tampering = None - self._raw_device_attributes = None - self._high_activity = None - self._location_spoofing = None - self._suspect_score = None - self._remote_control = None - self._velocity = None - self._developer_tools = None - self._request_id = None - self._browser_details = None - self._ip = None - self._ip_location = None - self._timestamp = None - self._time = None - self._url = None - self._tag = None - self._linked_id = None - self._confidence = None - self._visitor_found = None - self._first_seen_at = None - self._last_seen_at = None - self.discriminator = None - self.visitor_id = visitor_id - if client_referrer is not None: - self.client_referrer = client_referrer - if user_agent is not None: - self.user_agent = user_agent - if bot is not None: - self.bot = bot - if ip_info is not None: - self.ip_info = ip_info - self.incognito = incognito - if root_apps is not None: - self.root_apps = root_apps - if emulator is not None: - self.emulator = emulator - if cloned_app is not None: - self.cloned_app = cloned_app - if factory_reset is not None: - self.factory_reset = factory_reset - if jailbroken is not None: - self.jailbroken = jailbroken - if frida is not None: - self.frida = frida - if ip_blocklist is not None: - self.ip_blocklist = ip_blocklist - if tor is not None: - self.tor = tor - if privacy_settings is not None: - self.privacy_settings = privacy_settings - if virtual_machine is not None: - self.virtual_machine = virtual_machine - if vpn is not None: - self.vpn = vpn - if proxy is not None: - self.proxy = proxy - if tampering is not None: - self.tampering = tampering - if raw_device_attributes is not None: - self.raw_device_attributes = raw_device_attributes - if high_activity is not None: - self.high_activity = high_activity - if location_spoofing is not None: - self.location_spoofing = location_spoofing - if suspect_score is not None: - self.suspect_score = suspect_score - if remote_control is not None: - self.remote_control = remote_control - if velocity is not None: - self.velocity = velocity - if developer_tools is not None: - self.developer_tools = developer_tools - self.request_id = request_id - self.browser_details = browser_details - self.ip = ip - if ip_location is not None: - self.ip_location = ip_location - self.timestamp = timestamp - self.time = time - self.url = url - if tag is not None: - self.tag = tag - if linked_id is not None: - self.linked_id = linked_id - if confidence is not None: - self.confidence = confidence - self.visitor_found = visitor_found - self.first_seen_at = first_seen_at - self.last_seen_at = last_seen_at - - @property - def visitor_id(self) -> str: - """Gets the visitor_id of this WebhookVisit. # noqa: E501 - - - :return: The visitor_id of this WebhookVisit. # noqa: E501 - """ - return self._visitor_id - - @visitor_id.setter - def visitor_id(self, visitor_id: str): - """Sets the visitor_id of this WebhookVisit. - - - :param visitor_id: The visitor_id of this WebhookVisit. # noqa: E501 - """ - if visitor_id is None: - raise ValueError("Invalid value for `visitor_id`, must not be `None`") # noqa: E501 - - self._visitor_id = visitor_id - - @property - def client_referrer(self) -> Optional[str]: - """Gets the client_referrer of this WebhookVisit. # noqa: E501 - - - :return: The client_referrer of this WebhookVisit. # noqa: E501 - """ - return self._client_referrer - - @client_referrer.setter - def client_referrer(self, client_referrer: Optional[str]): - """Sets the client_referrer of this WebhookVisit. - - - :param client_referrer: The client_referrer of this WebhookVisit. # noqa: E501 - """ - - self._client_referrer = client_referrer - - @property - def user_agent(self) -> Optional[str]: - """Gets the user_agent of this WebhookVisit. # noqa: E501 - - - :return: The user_agent of this WebhookVisit. # noqa: E501 - """ - return self._user_agent - - @user_agent.setter - def user_agent(self, user_agent: Optional[str]): - """Sets the user_agent of this WebhookVisit. - - - :param user_agent: The user_agent of this WebhookVisit. # noqa: E501 - """ - - self._user_agent = user_agent - - @property - def bot(self) -> Optional[BotdDetectionResult]: - """Gets the bot of this WebhookVisit. # noqa: E501 - - - :return: The bot of this WebhookVisit. # noqa: E501 - """ - return self._bot - - @bot.setter - def bot(self, bot: Optional[BotdDetectionResult]): - """Sets the bot of this WebhookVisit. - - - :param bot: The bot of this WebhookVisit. # noqa: E501 - """ - - self._bot = bot - - @property - def ip_info(self) -> Optional[IpInfoResult]: - """Gets the ip_info of this WebhookVisit. # noqa: E501 - - - :return: The ip_info of this WebhookVisit. # noqa: E501 - """ - return self._ip_info - - @ip_info.setter - def ip_info(self, ip_info: Optional[IpInfoResult]): - """Sets the ip_info of this WebhookVisit. - - - :param ip_info: The ip_info of this WebhookVisit. # noqa: E501 - """ - - self._ip_info = ip_info - - @property - def incognito(self) -> bool: - """Gets the incognito of this WebhookVisit. # noqa: E501 - - Flag if user used incognito session. # noqa: E501 - - :return: The incognito of this WebhookVisit. # noqa: E501 - """ - return self._incognito - - @incognito.setter - def incognito(self, incognito: bool): - """Sets the incognito of this WebhookVisit. - - Flag if user used incognito session. # noqa: E501 - - :param incognito: The incognito of this WebhookVisit. # noqa: E501 - """ - if incognito is None: - raise ValueError("Invalid value for `incognito`, must not be `None`") # noqa: E501 - - self._incognito = incognito - - @property - def root_apps(self) -> Optional[RootAppsResult]: - """Gets the root_apps of this WebhookVisit. # noqa: E501 - - - :return: The root_apps of this WebhookVisit. # noqa: E501 - """ - return self._root_apps - - @root_apps.setter - def root_apps(self, root_apps: Optional[RootAppsResult]): - """Sets the root_apps of this WebhookVisit. - - - :param root_apps: The root_apps of this WebhookVisit. # noqa: E501 - """ - - self._root_apps = root_apps - - @property - def emulator(self) -> Optional[EmulatorResult]: - """Gets the emulator of this WebhookVisit. # noqa: E501 - - - :return: The emulator of this WebhookVisit. # noqa: E501 - """ - return self._emulator - - @emulator.setter - def emulator(self, emulator: Optional[EmulatorResult]): - """Sets the emulator of this WebhookVisit. - - - :param emulator: The emulator of this WebhookVisit. # noqa: E501 - """ - - self._emulator = emulator - - @property - def cloned_app(self) -> Optional[ClonedAppResult]: - """Gets the cloned_app of this WebhookVisit. # noqa: E501 - - - :return: The cloned_app of this WebhookVisit. # noqa: E501 - """ - return self._cloned_app - - @cloned_app.setter - def cloned_app(self, cloned_app: Optional[ClonedAppResult]): - """Sets the cloned_app of this WebhookVisit. - - - :param cloned_app: The cloned_app of this WebhookVisit. # noqa: E501 - """ - - self._cloned_app = cloned_app - - @property - def factory_reset(self) -> Optional[FactoryResetResult]: - """Gets the factory_reset of this WebhookVisit. # noqa: E501 - - - :return: The factory_reset of this WebhookVisit. # noqa: E501 - """ - return self._factory_reset - - @factory_reset.setter - def factory_reset(self, factory_reset: Optional[FactoryResetResult]): - """Sets the factory_reset of this WebhookVisit. - - - :param factory_reset: The factory_reset of this WebhookVisit. # noqa: E501 - """ - - self._factory_reset = factory_reset - - @property - def jailbroken(self) -> Optional[JailbrokenResult]: - """Gets the jailbroken of this WebhookVisit. # noqa: E501 - - - :return: The jailbroken of this WebhookVisit. # noqa: E501 - """ - return self._jailbroken - - @jailbroken.setter - def jailbroken(self, jailbroken: Optional[JailbrokenResult]): - """Sets the jailbroken of this WebhookVisit. - - - :param jailbroken: The jailbroken of this WebhookVisit. # noqa: E501 - """ - - self._jailbroken = jailbroken - - @property - def frida(self) -> Optional[FridaResult]: - """Gets the frida of this WebhookVisit. # noqa: E501 - - - :return: The frida of this WebhookVisit. # noqa: E501 - """ - return self._frida - - @frida.setter - def frida(self, frida: Optional[FridaResult]): - """Sets the frida of this WebhookVisit. - - - :param frida: The frida of this WebhookVisit. # noqa: E501 - """ - - self._frida = frida - - @property - def ip_blocklist(self) -> Optional[IpBlockListResult]: - """Gets the ip_blocklist of this WebhookVisit. # noqa: E501 - - - :return: The ip_blocklist of this WebhookVisit. # noqa: E501 - """ - return self._ip_blocklist - - @ip_blocklist.setter - def ip_blocklist(self, ip_blocklist: Optional[IpBlockListResult]): - """Sets the ip_blocklist of this WebhookVisit. - - - :param ip_blocklist: The ip_blocklist of this WebhookVisit. # noqa: E501 - """ - - self._ip_blocklist = ip_blocklist - - @property - def tor(self) -> Optional[TorResult]: - """Gets the tor of this WebhookVisit. # noqa: E501 - - - :return: The tor of this WebhookVisit. # noqa: E501 - """ - return self._tor - - @tor.setter - def tor(self, tor: Optional[TorResult]): - """Sets the tor of this WebhookVisit. - - - :param tor: The tor of this WebhookVisit. # noqa: E501 - """ - - self._tor = tor - - @property - def privacy_settings(self) -> Optional[PrivacySettingsResult]: - """Gets the privacy_settings of this WebhookVisit. # noqa: E501 - - - :return: The privacy_settings of this WebhookVisit. # noqa: E501 - """ - return self._privacy_settings - - @privacy_settings.setter - def privacy_settings(self, privacy_settings: Optional[PrivacySettingsResult]): - """Sets the privacy_settings of this WebhookVisit. - - - :param privacy_settings: The privacy_settings of this WebhookVisit. # noqa: E501 - """ - - self._privacy_settings = privacy_settings - - @property - def virtual_machine(self) -> Optional[VirtualMachineResult]: - """Gets the virtual_machine of this WebhookVisit. # noqa: E501 - - - :return: The virtual_machine of this WebhookVisit. # noqa: E501 - """ - return self._virtual_machine - - @virtual_machine.setter - def virtual_machine(self, virtual_machine: Optional[VirtualMachineResult]): - """Sets the virtual_machine of this WebhookVisit. - - - :param virtual_machine: The virtual_machine of this WebhookVisit. # noqa: E501 - """ - - self._virtual_machine = virtual_machine - - @property - def vpn(self) -> Optional[VpnResult]: - """Gets the vpn of this WebhookVisit. # noqa: E501 - - - :return: The vpn of this WebhookVisit. # noqa: E501 - """ - return self._vpn - - @vpn.setter - def vpn(self, vpn: Optional[VpnResult]): - """Sets the vpn of this WebhookVisit. - - - :param vpn: The vpn of this WebhookVisit. # noqa: E501 - """ - - self._vpn = vpn - - @property - def proxy(self) -> Optional[ProxyResult]: - """Gets the proxy of this WebhookVisit. # noqa: E501 - - - :return: The proxy of this WebhookVisit. # noqa: E501 - """ - return self._proxy - - @proxy.setter - def proxy(self, proxy: Optional[ProxyResult]): - """Sets the proxy of this WebhookVisit. - - - :param proxy: The proxy of this WebhookVisit. # noqa: E501 - """ - - self._proxy = proxy - - @property - def tampering(self) -> Optional[TamperingResult]: - """Gets the tampering of this WebhookVisit. # noqa: E501 - - - :return: The tampering of this WebhookVisit. # noqa: E501 - """ - return self._tampering - - @tampering.setter - def tampering(self, tampering: Optional[TamperingResult]): - """Sets the tampering of this WebhookVisit. - - - :param tampering: The tampering of this WebhookVisit. # noqa: E501 - """ - - self._tampering = tampering - - @property - def raw_device_attributes(self) -> Optional[RawDeviceAttributesResult]: - """Gets the raw_device_attributes of this WebhookVisit. # noqa: E501 - - - :return: The raw_device_attributes of this WebhookVisit. # noqa: E501 - """ - return self._raw_device_attributes - - @raw_device_attributes.setter - def raw_device_attributes(self, raw_device_attributes: Optional[RawDeviceAttributesResult]): - """Sets the raw_device_attributes of this WebhookVisit. - - - :param raw_device_attributes: The raw_device_attributes of this WebhookVisit. # noqa: E501 - """ - - self._raw_device_attributes = raw_device_attributes - - @property - def high_activity(self) -> Optional[HighActivityResult]: - """Gets the high_activity of this WebhookVisit. # noqa: E501 - - - :return: The high_activity of this WebhookVisit. # noqa: E501 - """ - return self._high_activity - - @high_activity.setter - def high_activity(self, high_activity: Optional[HighActivityResult]): - """Sets the high_activity of this WebhookVisit. - - - :param high_activity: The high_activity of this WebhookVisit. # noqa: E501 - """ - - self._high_activity = high_activity - - @property - def location_spoofing(self) -> Optional[LocationSpoofingResult]: - """Gets the location_spoofing of this WebhookVisit. # noqa: E501 - - - :return: The location_spoofing of this WebhookVisit. # noqa: E501 - """ - return self._location_spoofing - - @location_spoofing.setter - def location_spoofing(self, location_spoofing: Optional[LocationSpoofingResult]): - """Sets the location_spoofing of this WebhookVisit. - - - :param location_spoofing: The location_spoofing of this WebhookVisit. # noqa: E501 - """ - - self._location_spoofing = location_spoofing - - @property - def suspect_score(self) -> Optional[SuspectScoreResult]: - """Gets the suspect_score of this WebhookVisit. # noqa: E501 - - - :return: The suspect_score of this WebhookVisit. # noqa: E501 - """ - return self._suspect_score - - @suspect_score.setter - def suspect_score(self, suspect_score: Optional[SuspectScoreResult]): - """Sets the suspect_score of this WebhookVisit. - - - :param suspect_score: The suspect_score of this WebhookVisit. # noqa: E501 - """ - - self._suspect_score = suspect_score - - @property - def remote_control(self) -> Optional[RemoteControlResult]: - """Gets the remote_control of this WebhookVisit. # noqa: E501 - - - :return: The remote_control of this WebhookVisit. # noqa: E501 - """ - return self._remote_control - - @remote_control.setter - def remote_control(self, remote_control: Optional[RemoteControlResult]): - """Sets the remote_control of this WebhookVisit. - - - :param remote_control: The remote_control of this WebhookVisit. # noqa: E501 - """ - - self._remote_control = remote_control - - @property - def velocity(self) -> Optional[VelocityResult]: - """Gets the velocity of this WebhookVisit. # noqa: E501 - - - :return: The velocity of this WebhookVisit. # noqa: E501 - """ - return self._velocity - - @velocity.setter - def velocity(self, velocity: Optional[VelocityResult]): - """Sets the velocity of this WebhookVisit. - - - :param velocity: The velocity of this WebhookVisit. # noqa: E501 - """ - - self._velocity = velocity - - @property - def developer_tools(self) -> Optional[DeveloperToolsResult]: - """Gets the developer_tools of this WebhookVisit. # noqa: E501 - - - :return: The developer_tools of this WebhookVisit. # noqa: E501 - """ - return self._developer_tools - - @developer_tools.setter - def developer_tools(self, developer_tools: Optional[DeveloperToolsResult]): - """Sets the developer_tools of this WebhookVisit. - - - :param developer_tools: The developer_tools of this WebhookVisit. # noqa: E501 - """ - - self._developer_tools = developer_tools - - @property - def request_id(self) -> str: - """Gets the request_id of this WebhookVisit. # noqa: E501 - - Unique identifier of the user's identification request. # noqa: E501 - - :return: The request_id of this WebhookVisit. # noqa: E501 - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id: str): - """Sets the request_id of this WebhookVisit. - - Unique identifier of the user's identification request. # noqa: E501 - - :param request_id: The request_id of this WebhookVisit. # noqa: E501 - """ - if request_id is None: - raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 - - self._request_id = request_id - - @property - def browser_details(self) -> BrowserDetails: - """Gets the browser_details of this WebhookVisit. # noqa: E501 - - - :return: The browser_details of this WebhookVisit. # noqa: E501 - """ - return self._browser_details - - @browser_details.setter - def browser_details(self, browser_details: BrowserDetails): - """Sets the browser_details of this WebhookVisit. - - - :param browser_details: The browser_details of this WebhookVisit. # noqa: E501 - """ - if browser_details is None: - raise ValueError("Invalid value for `browser_details`, must not be `None`") # noqa: E501 - - self._browser_details = browser_details - - @property - def ip(self) -> str: - """Gets the ip of this WebhookVisit. # noqa: E501 - - - :return: The ip of this WebhookVisit. # noqa: E501 - """ - return self._ip - - @ip.setter - def ip(self, ip: str): - """Sets the ip of this WebhookVisit. - - - :param ip: The ip of this WebhookVisit. # noqa: E501 - """ - if ip is None: - raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 - - self._ip = ip - - @property - def ip_location(self) -> Optional[DeprecatedIPLocation]: - """Gets the ip_location of this WebhookVisit. # noqa: E501 - - - :return: The ip_location of this WebhookVisit. # noqa: E501 - """ - return self._ip_location - - @ip_location.setter - def ip_location(self, ip_location: Optional[DeprecatedIPLocation]): - """Sets the ip_location of this WebhookVisit. - - - :param ip_location: The ip_location of this WebhookVisit. # noqa: E501 - """ - - self._ip_location = ip_location - - @property - def timestamp(self) -> int: - """Gets the timestamp of this WebhookVisit. # noqa: E501 - - Timestamp of the event with millisecond precision in Unix time. # noqa: E501 - - :return: The timestamp of this WebhookVisit. # noqa: E501 - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp: int): - """Sets the timestamp of this WebhookVisit. - - Timestamp of the event with millisecond precision in Unix time. # noqa: E501 - - :param timestamp: The timestamp of this WebhookVisit. # noqa: E501 - """ - if timestamp is None: - raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 - - self._timestamp = timestamp - - @property - def time(self) -> datetime: - """Gets the time of this WebhookVisit. # noqa: E501 - - Time expressed according to ISO 8601 in UTC format. # noqa: E501 - - :return: The time of this WebhookVisit. # noqa: E501 - """ - return self._time - - @time.setter - def time(self, time: datetime): - """Sets the time of this WebhookVisit. - - Time expressed according to ISO 8601 in UTC format. # noqa: E501 - - :param time: The time of this WebhookVisit. # noqa: E501 - """ - if time is None: - raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 - - self._time = time - - @property - def url(self) -> str: - """Gets the url of this WebhookVisit. # noqa: E501 - - Page URL from which the identification request was sent. # noqa: E501 - - :return: The url of this WebhookVisit. # noqa: E501 - """ - return self._url - - @url.setter - def url(self, url: str): - """Sets the url of this WebhookVisit. - - Page URL from which the identification request was sent. # noqa: E501 - - :param url: The url of this WebhookVisit. # noqa: E501 - """ - if url is None: - raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 - - self._url = url - - @property - def tag(self) -> Optional[Dict[str, object]]: - """Gets the tag of this WebhookVisit. # noqa: E501 - - A customer-provided value or an object that was sent with identification request. # noqa: E501 - - :return: The tag of this WebhookVisit. # noqa: E501 - """ - return self._tag - - @tag.setter - def tag(self, tag: Optional[Dict[str, object]]): - """Sets the tag of this WebhookVisit. - - A customer-provided value or an object that was sent with identification request. # noqa: E501 - - :param tag: The tag of this WebhookVisit. # noqa: E501 - """ - - self._tag = tag - - @property - def linked_id(self) -> Optional[str]: - """Gets the linked_id of this WebhookVisit. # noqa: E501 - - A customer-provided id that was sent with identification request. # noqa: E501 - - :return: The linked_id of this WebhookVisit. # noqa: E501 - """ - return self._linked_id - - @linked_id.setter - def linked_id(self, linked_id: Optional[str]): - """Sets the linked_id of this WebhookVisit. - - A customer-provided id that was sent with identification request. # noqa: E501 - - :param linked_id: The linked_id of this WebhookVisit. # noqa: E501 - """ - - self._linked_id = linked_id - - @property - def confidence(self) -> Optional[Confidence]: - """Gets the confidence of this WebhookVisit. # noqa: E501 - - - :return: The confidence of this WebhookVisit. # noqa: E501 - """ - return self._confidence - - @confidence.setter - def confidence(self, confidence: Optional[Confidence]): - """Sets the confidence of this WebhookVisit. - - - :param confidence: The confidence of this WebhookVisit. # noqa: E501 - """ - - self._confidence = confidence - - @property - def visitor_found(self) -> bool: - """Gets the visitor_found of this WebhookVisit. # noqa: E501 - - Attribute represents if a visitor had been identified before. # noqa: E501 - - :return: The visitor_found of this WebhookVisit. # noqa: E501 - """ - return self._visitor_found - - @visitor_found.setter - def visitor_found(self, visitor_found: bool): - """Sets the visitor_found of this WebhookVisit. - - Attribute represents if a visitor had been identified before. # noqa: E501 - - :param visitor_found: The visitor_found of this WebhookVisit. # noqa: E501 - """ - if visitor_found is None: - raise ValueError("Invalid value for `visitor_found`, must not be `None`") # noqa: E501 - - self._visitor_found = visitor_found - - @property - def first_seen_at(self) -> SeenAt: - """Gets the first_seen_at of this WebhookVisit. # noqa: E501 - - - :return: The first_seen_at of this WebhookVisit. # noqa: E501 - """ - return self._first_seen_at - - @first_seen_at.setter - def first_seen_at(self, first_seen_at: SeenAt): - """Sets the first_seen_at of this WebhookVisit. - - - :param first_seen_at: The first_seen_at of this WebhookVisit. # noqa: E501 - """ - if first_seen_at is None: - raise ValueError("Invalid value for `first_seen_at`, must not be `None`") # noqa: E501 - - self._first_seen_at = first_seen_at - - @property - def last_seen_at(self) -> SeenAt: - """Gets the last_seen_at of this WebhookVisit. # noqa: E501 - - - :return: The last_seen_at of this WebhookVisit. # noqa: E501 - """ - return self._last_seen_at - - @last_seen_at.setter - def last_seen_at(self, last_seen_at: SeenAt): - """Sets the last_seen_at of this WebhookVisit. - - - :param last_seen_at: The last_seen_at of this WebhookVisit. # noqa: E501 - """ - if last_seen_at is None: - raise ValueError("Invalid value for `last_seen_at`, must not be `None`") # noqa: E501 - - self._last_seen_at = last_seen_at - diff --git a/fingerprint_pro_server_api_sdk/models/webhook_vpn.py b/fingerprint_pro_server_api_sdk/models/webhook_vpn.py new file mode 100644 index 00000000..5e73cd70 --- /dev/null +++ b/fingerprint_pro_server_api_sdk/models/webhook_vpn.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +""" + Fingerprint Pro Server API + + Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501 + + OpenAPI spec version: 3 + Contact: support@fingerprint.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import Dict, List, Optional # noqa: F401 +from fingerprint_pro_server_api_sdk.base_model import BaseModel +from fingerprint_pro_server_api_sdk.models.vpn_confidence import VPNConfidence +from fingerprint_pro_server_api_sdk.models.vpn_methods import VPNMethods + + +class WebhookVPN(BaseModel): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'result': 'bool', + 'confidence': 'VPNConfidence', + 'origin_timezone': 'str', + 'origin_country': 'str', + 'methods': 'VPNMethods' + } + + attribute_map = { + 'result': 'result', + 'confidence': 'confidence', + 'origin_timezone': 'originTimezone', + 'origin_country': 'originCountry', + 'methods': 'methods' + } + + def __init__(self, result=None, confidence=None, origin_timezone=None, origin_country=None, methods=None): # noqa: E501 + """WebhookVPN - a model defined in Swagger""" # noqa: E501 + self._result = None + self._confidence = None + self._origin_timezone = None + self._origin_country = None + self._methods = None + self.discriminator = None + if result is not None: + self.result = result + if confidence is not None: + self.confidence = confidence + if origin_timezone is not None: + self.origin_timezone = origin_timezone + if origin_country is not None: + self.origin_country = origin_country + if methods is not None: + self.methods = methods + + @property + def result(self) -> Optional[bool]: + """Gets the result of this WebhookVPN. # noqa: E501 + + VPN or other anonymizing service has been used when sending the request. # noqa: E501 + + :return: The result of this WebhookVPN. # noqa: E501 + """ + return self._result + + @result.setter + def result(self, result: Optional[bool]): + """Sets the result of this WebhookVPN. + + VPN or other anonymizing service has been used when sending the request. # noqa: E501 + + :param result: The result of this WebhookVPN. # noqa: E501 + """ + + self._result = result + + @property + def confidence(self) -> Optional[VPNConfidence]: + """Gets the confidence of this WebhookVPN. # noqa: E501 + + + :return: The confidence of this WebhookVPN. # noqa: E501 + """ + return self._confidence + + @confidence.setter + def confidence(self, confidence: Optional[VPNConfidence]): + """Sets the confidence of this WebhookVPN. + + + :param confidence: The confidence of this WebhookVPN. # noqa: E501 + """ + + self._confidence = confidence + + @property + def origin_timezone(self) -> Optional[str]: + """Gets the origin_timezone of this WebhookVPN. # noqa: E501 + + Local timezone which is used in timezoneMismatch method. # noqa: E501 + + :return: The origin_timezone of this WebhookVPN. # noqa: E501 + """ + return self._origin_timezone + + @origin_timezone.setter + def origin_timezone(self, origin_timezone: Optional[str]): + """Sets the origin_timezone of this WebhookVPN. + + Local timezone which is used in timezoneMismatch method. # noqa: E501 + + :param origin_timezone: The origin_timezone of this WebhookVPN. # noqa: E501 + """ + + self._origin_timezone = origin_timezone + + @property + def origin_country(self) -> Optional[str]: + """Gets the origin_country of this WebhookVPN. # noqa: E501 + + Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). # noqa: E501 + + :return: The origin_country of this WebhookVPN. # noqa: E501 + """ + return self._origin_country + + @origin_country.setter + def origin_country(self, origin_country: Optional[str]): + """Sets the origin_country of this WebhookVPN. + + Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). # noqa: E501 + + :param origin_country: The origin_country of this WebhookVPN. # noqa: E501 + """ + + self._origin_country = origin_country + + @property + def methods(self) -> Optional[VPNMethods]: + """Gets the methods of this WebhookVPN. # noqa: E501 + + + :return: The methods of this WebhookVPN. # noqa: E501 + """ + return self._methods + + @methods.setter + def methods(self, methods: Optional[VPNMethods]): + """Sets the methods of this WebhookVPN. + + + :param methods: The methods of this WebhookVPN. # noqa: E501 + """ + + self._methods = methods + diff --git a/res/fingerprint-server-api.yaml b/res/fingerprint-server-api.yaml index 3ee7eb49..194fa318 100644 --- a/res/fingerprint-server-api.yaml +++ b/res/fingerprint-server-api.yaml @@ -53,32 +53,34 @@ paths: parameters: - name: request_id in: path - description: >- - The unique - [identifier](https://dev.fingerprint.com/docs/js-agent#requestid) of - each identification request. required: true schema: type: string + description: >- + The unique + [identifier](https://dev.fingerprint.com/reference/get-function#requestid) + of each identification request. responses: '200': - description: OK + description: OK. content: application/json: schema: - $ref: '#/components/schemas/EventResponse' + $ref: '#/components/schemas/EventsGetResponse' '403': - description: Forbidden + description: Forbidden. Access to this API is denied. content: application/json: schema: - $ref: '#/components/schemas/ErrorCommon403Response' + $ref: '#/components/schemas/ErrorResponse' '404': - description: Not found + description: >- + Not found. The request ID cannot be found in this application's + data. content: application/json: schema: - $ref: '#/components/schemas/ErrorEvent404Response' + $ref: '#/components/schemas/ErrorResponse' put: tags: - Fingerprint @@ -99,45 +101,47 @@ paths: parameters: - name: request_id in: path - description: >- - The unique event - [identifier](https://dev.fingerprint.com/docs/js-agent#requestid). required: true schema: type: string + description: >- + The unique event + [identifier](https://dev.fingerprint.com/reference/get-function#requestid). requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/EventUpdateRequest' + $ref: '#/components/schemas/EventsUpdateRequest' responses: '200': - description: OK + description: OK. '400': - description: Bad request + description: Bad request. The request payload is not valid. content: application/json: schema: - $ref: '#/components/schemas/ErrorUpdateEvent400Response' + $ref: '#/components/schemas/ErrorResponse' '403': - description: Forbidden + description: Forbidden. Access to this API is denied. content: application/json: schema: - $ref: '#/components/schemas/ErrorCommon403Response' + $ref: '#/components/schemas/ErrorResponse' '404': - description: Not found + description: >- + Not found. The request ID cannot be found in this application's + data. content: application/json: schema: - $ref: '#/components/schemas/ErrorEvent404Response' + $ref: '#/components/schemas/ErrorResponse' '409': - description: Conflict + description: Conflict. The event is not mutable yet. content: application/json: schema: - $ref: '#/components/schemas/ErrorUpdateEvent409Response' + $ref: '#/components/schemas/ErrorResponse' /visitors/{visitor_id}: get: tags: @@ -160,16 +164,18 @@ paths: response is received. parameters: - name: visitor_id - description: >- - Unique [visitor - identifier](https://dev.fingerprint.com/docs/js-agent#visitorid) - issued by Fingerprint Pro. in: path required: true schema: type: string - example: uYIm7Ksp5rf00SllPhFp + description: >- + Unique [visitor + identifier](https://dev.fingerprint.com/reference/get-function#visitorid) + issued by Fingerprint Pro. - name: request_id + in: query + schema: + type: string description: > Filter visits by `requestId`. @@ -177,27 +183,29 @@ paths: Every identification request has a unique identifier associated with it called `requestId`. This identifier is returned to the client in the identification - [result](https://dev.fingerprint.com/docs/js-agent#requestid). When - you filter visits by `requestId`, only one visit will be returned. + [result](https://dev.fingerprint.com/reference/get-function#requestid). + When you filter visits by `requestId`, only one visit will be + returned. + - name: linked_id in: query schema: type: string - - name: linked_id description: > Filter visits by your custom identifier. You can use - [`linkedId`](https://dev.fingerprint.com/docs/js-agent#linkedid) to - associate identification requests with your own identifier, for + [`linkedId`](https://dev.fingerprint.com/reference/get-function#linkedid) + to associate identification requests with your own identifier, for example: session ID, purchase ID, or transaction ID. You can then use this `linked_id` parameter to retrieve all events associated with your custom identifier. + - name: limit in: query schema: - type: string - required: false - - name: limit + type: integer + format: int32 + minimum: 0 description: > Limit scanned results. @@ -210,12 +218,10 @@ paths: By default, the most recent 100 visits are scanned, the maximum is 500. + - name: paginationKey in: query schema: - type: integer - format: int32 - minimum: 0 - - name: paginationKey + type: string description: > Use `paginationKey` to get the next page of results. @@ -240,34 +246,39 @@ paths: get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned. - in: query - schema: - type: string - required: false - name: before - description: > - ⚠️ Deprecated pagination method, please use `paginationKey` instead. - Timestamp (in milliseconds since epoch) used to paginate results. in: query + deprecated: true schema: type: integer format: int64 minimum: 0 + description: > + ⚠️ Deprecated pagination method, please use `paginationKey` instead. + Timestamp (in milliseconds since epoch) used to paginate results. responses: '200': - description: OK + description: OK. + content: + application/json: + schema: + $ref: '#/components/schemas/VisitorsGetResponse' + '400': + description: >- + Bad request. The visitor ID or query parameters are missing or in + the wrong format. content: application/json: schema: - $ref: '#/components/schemas/Response' + $ref: '#/components/schemas/ErrorPlainResponse' '403': - description: Forbidden. The API Key is probably missing or incorrect. + description: Forbidden. Access to this API is denied. content: application/json: schema: - $ref: '#/components/schemas/ErrorVisits403' + $ref: '#/components/schemas/ErrorPlainResponse' '429': - description: Too Many Requests + description: Too Many Requests. The request is throttled. headers: Retry-After: description: >- @@ -280,7 +291,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TooManyRequestsResponse' + $ref: '#/components/schemas/ErrorPlainResponse' delete: tags: - Fingerprint @@ -345,13 +356,13 @@ paths: parameters: - name: visitor_id in: path - description: >- - The [visitor - ID](https://dev.fingerprint.com/docs/js-agent#visitorid) you want to - delete. required: true schema: type: string + description: >- + The [visitor + ID](https://dev.fingerprint.com/reference/get-function#visitorid) + you want to delete. responses: '200': description: OK. The visitor ID is scheduled for deletion. @@ -362,13 +373,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ErrorVisitor400Response' + $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden. Access to this API is denied. content: application/json: schema: - $ref: '#/components/schemas/ErrorCommon403Response' + $ref: '#/components/schemas/ErrorResponse' '404': description: >- Not found. The visitor ID cannot be found in this application's @@ -376,13 +387,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ErrorVisitor404Response' + $ref: '#/components/schemas/ErrorResponse' '429': description: Too Many Requests. The request is throttled. content: application/json: schema: - $ref: '#/components/schemas/ErrorCommon429Response' + $ref: '#/components/schemas/ErrorResponse' /webhook: trace: tags: @@ -391,6 +402,11 @@ paths: Fake path to describe webhook format. More information about webhooks can be found in the [documentation](https://dev.fingerprint.com/docs/webhooks) + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Webhook' responses: default: description: Dummy for the schema @@ -406,22 +422,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WebhookVisit' + $ref: '#/components/schemas/Webhook' example: value: requestId: Px6VxbRC6WBkA39yeNH3 + url: https://banking.example.com/signup + ip: 216.3.128.12 tag: requestType: signup yourCustomId: 45321 - linkedId: any-string - visitorId: 3HNey93AkBW6CRbxV6xP - visitorFound: true - timestamp: 1554910997788 time: '2019-10-12T07:20:50.52Z' - incognito: false - url: https://banking.example.com/signup - clientReferrer: https://google.com?search=banking+services - ip: 216.3.128.12 + timestamp: 1554910997788 ipLocation: accuracyRadius: 1 city: @@ -439,6 +450,17 @@ paths: - isoCode: IL name: Illinois timezone: America/Chicago + linkedId: any-string + visitorId: 3HNey93AkBW6CRbxV6xP + visitorFound: true + confidence: + score: 0.97 + firstSeenAt: + global: '2022-03-16T11:26:45.362Z' + subscription: '2022-03-16T11:31:01.101Z' + lastSeenAt: + global: '2022-03-16T11:28:34.023Z' + subscription: null browserDetails: browserName: Chrome browserFullVersion: 73.0.3683.86 @@ -449,20 +471,18 @@ paths: userAgent: >- (Macintosh; Intel Mac OS X 10_14_3) Chrome/73.0.3683.86 - confidence: - score: 0.97 - firstSeenAt: - global: '2022-03-16T11:26:45.362Z' - subscription: '2022-03-16T11:31:01.101Z' - lastSeenAt: - global: '2022-03-16T11:28:34.023Z' - subscription: null + incognito: false + clientReferrer: https://google.com?search=banking+services bot: result: bad type: selenium userAgent: >- (Macintosh; Intel Mac OS X 10_14_3) Chrome/73.0.3683.86 + rootApps: + result: false + emulator: + result: false ipInfo: v4: address: 94.142.239.124 @@ -490,10 +510,6 @@ paths: datacenter: result: true name: DediPath - rootApps: - result: false - emulator: - result: false ipBlocklist: result: false details: @@ -503,6 +519,7 @@ paths: result: false vpn: result: false + confidence: high originTimezone: Europe/Berlin originCountry: unknown methods: @@ -510,12 +527,12 @@ paths: publicVPN: false auxiliaryMobile: false osMismatch: false - confidence: high proxy: result: false tampering: result: false anomalyScore: 0 + antiDetectBrowser: false clonedApp: result: false factoryReset: @@ -572,6 +589,21 @@ paths: 5m: 1 1h: 5 24h: 5 + ipEvents: + intervals: + 5m: 1 + 1h: 5 + 24h: 5 + distinctIpByLinkedId: + intervals: + 5m: 1 + 1h: 5 + 24h: 5 + distinctVisitorIdByLinkedId: + intervals: + 5m: 1 + 1h: 5 + 24h: 5 developerTools: result: false responses: @@ -591,187 +623,339 @@ components: BrowserDetails: type: object additionalProperties: false + required: + - browserName + - browserFullVersion + - browserMajorVersion + - os + - osVersion + - device + - userAgent properties: browserName: type: string - example: Chrome browserMajorVersion: type: string - example: '101' browserFullVersion: type: string - example: 101.0.4951 os: type: string - example: Windows osVersion: type: string - example: '10' device: type: string - example: Other userAgent: type: string - example: >- - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, - like Gecko) Chrome/101.0.4951.41 Safari/537.36 - botProbability: - type: integer + GeolocationCity: + type: object + additionalProperties: false required: - - browserFullVersion - - browserMajorVersion - - browserName - - device - - os - - osVersion - - userAgent - title: BrowserDetails - Location: + - name + properties: + name: + type: string + GeolocationCountry: type: object additionalProperties: false + required: + - code + - name properties: code: type: string minLength: 2 maxLength: 2 - example: US name: type: string - example: United States + GeolocationContinent: + type: object + additionalProperties: false required: - code - name - title: Location - Subdivision: + properties: + code: + type: string + minLength: 2 + maxLength: 2 + name: + type: string + GeolocationSubdivision: type: object additionalProperties: false + required: + - isoCode + - name properties: isoCode: type: string - example: '10' name: type: string - example: Hlavni mesto Praha - Confidence: + GeolocationSubdivisions: + type: array + items: + $ref: '#/components/schemas/GeolocationSubdivision' + DeprecatedGeolocation: + deprecated: true type: object + 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. additionalProperties: false properties: - score: + accuracyRadius: + type: integer + minimum: 0 description: >- - The confidence score is a floating-point number between 0 and 1 that - represents the probability of accurate identification. + The IP address is likely to be within this radius (in km) of the + specified location. + latitude: + type: number + format: double + minimum: -90 + maximum: 90 + longitude: + type: number + format: double + minimum: -180 + maximum: 180 + postalCode: + type: string + timezone: + type: string + format: timezone + city: + $ref: '#/components/schemas/GeolocationCity' + country: + $ref: '#/components/schemas/GeolocationCountry' + continent: + $ref: '#/components/schemas/GeolocationContinent' + subdivisions: + $ref: '#/components/schemas/GeolocationSubdivisions' + Tag: + type: object + description: >- + A customer-provided value or an object that was sent with identification + request. + additionalProperties: true + IdentificationConfidence: + type: object + additionalProperties: false + required: + - score + properties: + score: type: number - format: float + format: double minimum: 0 maximum: 1 + description: >- + The confidence score is a floating-point number between 0 and 1 that + represents the probability of accurate identification. revision: + type: string description: >- The revision name of the method used to calculate the Confidence score. This field is only present for customers who opted in to an alternative calculation method. + comment: type: string - required: - - score - title: Confidence - SeenAt: + IdentificationSeenAt: type: object additionalProperties: false + required: + - global + - subscription properties: global: type: string nullable: true format: date-time - example: '2022-05-05T18:28:54.535Z' subscription: type: string nullable: true format: date-time - example: '2022-06-09T22:58:05.576Z' - required: - - global - - subscription - title: SeenAt - example: - global: '2022-05-05T18:28:54.535Z' - subscription: null - IdentificationError: + RawDeviceAttributeError: type: object additionalProperties: false properties: - code: + name: type: string - description: | - Error code: - * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded - * `Failed` - internal server error - enum: - - 429 Too Many Requests - - Failed - example: 429 Too Many Requests message: type: string - example: too many requests - required: - - code - - message - BotdDetectionResult: + RawDeviceAttribute: type: object additionalProperties: false - description: Stores bot detection result properties: - result: - type: string - description: | - 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 - enum: - - notDetected - - good - - bad - example: bad - type: - type: string - example: selenium - required: - - result - BotdResult: + value: + title: value + error: + $ref: '#/components/schemas/RawDeviceAttributeError' + RawDeviceAttributes: + type: object + description: > + 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. + additionalProperties: + $ref: '#/components/schemas/RawDeviceAttribute' + Identification: type: object additionalProperties: false - description: Contains all the information from Bot Detection product + required: + - visitorId + - requestId + - browserDetails + - incognito + - ip + - timestamp + - time + - url + - tag + - visitorFound + - firstSeenAt + - lastSeenAt properties: - ip: + visitorId: type: string - format: ipv4 - example: 8.8.8.8 - description: IP address of the requesting browser or bot. - time: - title: Time description: >- - Time in UTC when the request from the JS agent was made. We - recommend to treat requests that are older than 2 minutes as - malicious. Otherwise, request replay attacks are possible - type: string - format: date-time - example: '2022-06-09T22:58:36Z' - url: - description: Page URL from which identification request was sent. - type: string - example: https://example.com/login - userAgent: - type: string - example: >- - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 - (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 + String of 20 characters that uniquely identifies the visitor's + browser. requestId: type: string - example: 1681392853693.lRiBBD + description: Unique identifier of the user's request. + browserDetails: + $ref: '#/components/schemas/BrowserDetails' + incognito: + description: Flag if user used incognito session. + type: boolean + ip: + type: string + format: ipv4 + description: IP address of the requesting browser or bot. + ipLocation: + $ref: '#/components/schemas/DeprecatedGeolocation' linkedId: type: string - example: Automatic tests bot - bot: - $ref: '#/components/schemas/BotdDetectionResult' + description: A customer-provided id that was sent with the request. + timestamp: + description: Timestamp of the event with millisecond precision in Unix time. + type: integer + format: int64 + time: + type: string + format: date-time + description: >- + Time expressed according to ISO 8601 in UTC format, when the request + from the JS agent was made. We recommend to treat requests that are + older than 2 minutes as malicious. Otherwise, request replay attacks + are possible. + url: + type: string + description: Page URL from which the request was sent. + tag: + $ref: '#/components/schemas/Tag' + confidence: + $ref: '#/components/schemas/IdentificationConfidence' + visitorFound: + type: boolean + description: Attribute represents if a visitor had been identified before. + firstSeenAt: + $ref: '#/components/schemas/IdentificationSeenAt' + lastSeenAt: + $ref: '#/components/schemas/IdentificationSeenAt' + components: + $ref: '#/components/schemas/RawDeviceAttributes' + ErrorCode: + type: string + enum: + - RequestCannotBeParsed + - TokenRequired + - TokenNotFound + - SubscriptionNotActive + - WrongRegion + - FeatureNotEnabled + - RequestNotFound + - VisitorNotFound + - TooManyRequests + - 429 Too Many Requests + - StateNotReady + - Failed + description: | + 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: + type: object + additionalProperties: false + required: + - code + - message + properties: + code: + $ref: '#/components/schemas/ErrorCode' + message: + type: string + ProductIdentification: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Identification' + error: + $ref: '#/components/schemas/Error' + BotdBotResult: + type: string + enum: + - notDetected + - good + - bad + description: | + 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 + BotdBot: + type: object + description: Stores bot detection result + additionalProperties: false + required: + - result + properties: + result: + $ref: '#/components/schemas/BotdBotResult' + type: + type: string + Botd: + type: object + description: Contains all the information from Bot Detection product + additionalProperties: false required: - bot - url @@ -779,103 +963,173 @@ components: - time - userAgent - requestId - ProductError: - type: object - additionalProperties: false properties: - code: + bot: + $ref: '#/components/schemas/BotdBot' + meta: + $ref: '#/components/schemas/Tag' + linkedId: type: string - description: | - Error code: - * `TooManyRequests` - the limit on secret API key requests per second has been exceeded - * `Failed` - internal server error - enum: - - TooManyRequests - - Failed - example: TooManyRequests - message: + description: A customer-provided id that was sent with the request. + url: + type: string + 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 + format: date-time + description: >- + Time in UTC when the request from the JS agent was made. We + recommend to treat requests that are older than 2 minutes as + malicious. Otherwise, request replay attacks are possible. + userAgent: + type: string + requestId: type: string - example: too many requests + description: Unique identifier of the user's request. + ProductBotd: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Botd' + error: + $ref: '#/components/schemas/Error' + RootApps: + type: object + additionalProperties: false required: - - code - - message - IPLocation: + - result + properties: + result: + type: boolean + description: > + Android specific root management apps detection. There are 2 + values: + * `true` - Root Management Apps detected (e.g. Magisk). + * `false` - No Root Management Apps detected or the client isn't Android. + ProductRootApps: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/RootApps' + error: + $ref: '#/components/schemas/Error' + Emulator: + type: object + additionalProperties: false + required: + - result + properties: + result: + type: boolean + description: | + Android specific emulator detection. There are 2 values: + * `true` - Emulated environment detected (e.g. launch inside of AVD). + * `false` - No signs of emulated environment detected or the client is not Android. + ProductEmulator: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Emulator' + error: + $ref: '#/components/schemas/Error' + Geolocation: type: object additionalProperties: false properties: accuracyRadius: + type: integer + minimum: 0 description: >- The IP address is likely to be within this radius (in km) of the specified location. - type: integer - minimum: 0 - example: 1000 latitude: type: number format: double minimum: -90 maximum: 90 - example: 37.75 longitude: type: number format: double minimum: -180 maximum: 180 - example: -97.82 postalCode: type: string - example: 130 00 timezone: type: string format: timezone - example: America/Chicago city: - type: object - additionalProperties: false - title: IPLocationCity - properties: - name: - type: string - example: Prague + $ref: '#/components/schemas/GeolocationCity' country: - $ref: '#/components/schemas/Location' + $ref: '#/components/schemas/GeolocationCountry' continent: - $ref: '#/components/schemas/Location' + $ref: '#/components/schemas/GeolocationContinent' subdivisions: - type: array - items: - $ref: '#/components/schemas/Subdivision' - title: IPLocation - ASN: + $ref: '#/components/schemas/GeolocationSubdivisions' + IPInfoASN: type: object additionalProperties: false + required: + - asn + - name + - network properties: asn: type: string - example: '7922' - network: - type: string - example: 73.136.0.0/13 name: type: string - example: COMCAST-7922 - required: - - asn - - network - title: ASN - DataCenter: + network: + type: string + IPInfoDataCenter: type: object additionalProperties: false + required: + - result + - name properties: result: type: boolean name: type: string - example: DediPath + IPInfoV4: + type: object + additionalProperties: false required: - - result - title: DataCenter - IpInfoResult: + - address + - geolocation + properties: + address: + type: string + format: ipv4 + geolocation: + $ref: '#/components/schemas/Geolocation' + asn: + $ref: '#/components/schemas/IPInfoASN' + datacenter: + $ref: '#/components/schemas/IPInfoDataCenter' + IPInfoV6: + type: object + additionalProperties: false + required: + - address + - geolocation + properties: + address: + type: string + format: ipv6 + geolocation: + $ref: '#/components/schemas/Geolocation' + asn: + $ref: '#/components/schemas/IPInfoASN' + datacenter: + $ref: '#/components/schemas/IPInfoDataCenter' + IPInfo: type: object description: >- Details about the request IP address. Has separate fields for v4 and v6 @@ -883,351 +1137,414 @@ components: additionalProperties: false properties: v4: - type: object - additionalProperties: false - properties: - address: - type: string - format: ipv4 - example: 94.142.239.124 - geolocation: - $ref: '#/components/schemas/IPLocation' - asn: - $ref: '#/components/schemas/ASN' - datacenter: - $ref: '#/components/schemas/DataCenter' - required: - - address - - geolocation + $ref: '#/components/schemas/IPInfoV4' v6: - type: object - additionalProperties: false - properties: - address: - type: string - format: ipv6 - example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 - geolocation: - $ref: '#/components/schemas/IPLocation' - asn: - $ref: '#/components/schemas/ASN' - datacenter: - $ref: '#/components/schemas/DataCenter' - required: - - address - - geolocation - IncognitoResult: + $ref: '#/components/schemas/IPInfoV6' + ProductIPInfo: type: object additionalProperties: false properties: - result: - type: boolean - description: > - `true` if we detected incognito mode used in the browser, `false` - otherwise. - example: false - required: - - result - RootAppsResult: + data: + $ref: '#/components/schemas/IPInfo' + error: + $ref: '#/components/schemas/Error' + IPBlocklistDetails: type: object additionalProperties: false - properties: - result: - type: boolean - description: > - Android specific root management apps detection. There are 2 values: - • `true` - Root Management Apps detected (e.g. Magisk) • `false` - - No Root Management Apps detected or the client isn't Android. - example: false required: - - result - EmulatorResult: - type: object - additionalProperties: false + - emailSpam + - attackSource properties: - result: + emailSpam: type: boolean - description: > - Android specific emulator detection. There are 2 values: • `true` - - Emulated environment detected (e.g. launch inside of AVD) • `false` - - No signs of emulated environment detected or the client is not - Android. - example: false - required: - - result - ClonedAppResult: - type: object - additionalProperties: false - properties: - result: + description: IP address was part of a known email spam attack (SMTP). + attackSource: type: boolean - description: > - Android specific cloned application detection. There are 2 values: • - `true` - Presence of app cloners work detected (e.g. fully cloned - application found or launch of it inside of a not main working - profile detected). • `false` - No signs of cloned application - detected or the client is not Android. - example: false - required: - - result - FactoryResetResult: + description: IP address was part of a known network attack (SSH/HTTPS). + IPBlocklist: type: object additionalProperties: false - properties: - time: - description: > - Indicates the time (in UTC) of the most recent factory reset that - happened on the **mobile device**. - - When a factory reset cannot be detected on the mobile device or when - the request is initiated from a browser, this field will correspond - to the *epoch* time (i.e 1 Jan 1970 UTC). - - See [Factory Reset - Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) - to learn more about this Smart Signal. - type: string - format: date-time - example: '2022-06-09T22:58:36Z' - timestamp: - description: > - This field is just another representation of the value in the `time` - field. - - The time of the most recent factory reset that happened on the - **mobile device** is expressed as Unix epoch time. - type: integer - format: int64 - example: 1654815517198 required: - - time - - timestamp - JailbrokenResult: - type: object - additionalProperties: false + - result + - details properties: result: type: boolean description: > - iOS specific jailbreak detection. There are 2 values: • `true` - - Jailbreak detected • `false` - No signs of jailbreak or the client - is not iOS. - example: false - required: - - result - FridaResult: + `true` if request IP address is part of any database that we use to + search for known malicious actors, `false` otherwise. + details: + $ref: '#/components/schemas/IPBlocklistDetails' + ProductIPBlocklist: type: object additionalProperties: false properties: - result: - type: boolean - description: > - [Frida](https://frida.re/docs/) detection for Android and iOS - devices. There are 2 values: • `true` - Frida detected • `false` - - No signs of Frida or the client is not a mobile device. - example: false - required: - - result - IpBlockListResult: + data: + $ref: '#/components/schemas/IPBlocklist' + error: + $ref: '#/components/schemas/Error' + Tor: type: object additionalProperties: false - properties: - result: - type: boolean - description: > - `true` if request IP address is part of any database that we use to - search for known malicious actors, `false` otherwise. - example: false - details: - type: object - additionalProperties: false - properties: - emailSpam: - type: boolean - description: IP address was part of a known email spam attack (SMTP). - example: false - attackSource: - type: boolean - description: IP address was part of a known network attack (SSH/HTTPS). - example: false - required: - - emailSpam - - attackSource required: - result - - details - TorResult: - type: object - additionalProperties: false properties: result: type: boolean description: > `true` if the request IP address is a known tor exit node, `false` otherwise. - example: false - required: - - result - PrivacySettingsResult: + ProductTor: type: object additionalProperties: false properties: - result: - type: boolean - description: > - `true` if the request is from a privacy aware browser (e.g. Tor) or - from a browser in which fingerprinting is blocked. Otherwise - `false`. - example: false - required: - - result - VirtualMachineResult: + data: + $ref: '#/components/schemas/Tor' + error: + $ref: '#/components/schemas/Error' + VPNConfidence: + type: string + enum: + - low + - medium + - high + description: >- + A confidence rating for the VPN detection result — "low", "medium", or + "high". Depends on the combination of results returned from all VPN + detection methods. + VPNMethods: type: object additionalProperties: false + required: + - timezoneMismatch + - publicVPN + - auxiliaryMobile + - osMismatch properties: - result: + timezoneMismatch: type: boolean - description: > - `true` if the request came from a browser running inside a virtual - machine (e.g. VMWare), `false` otherwise. - example: false - required: - - result - VpnResult: + description: >- + The browser timezone doesn't match the timezone inferred from the + request IP address. + publicVPN: + type: boolean + description: >- + Request IP address is owned and used by a public VPN service + provider. + auxiliaryMobile: + type: boolean + description: >- + This method applies to mobile devices only. Indicates the result of + additional methods used to detect a VPN in mobile devices. + osMismatch: + type: boolean + description: >- + The browser runs on a different operating system than the operating + system inferred from the request network signature. + VPN: type: object additionalProperties: false + required: + - result + - confidence + - originTimezone + - originCountry + - methods properties: result: type: boolean description: >- VPN or other anonymizing service has been used when sending the request. - example: false + confidence: + $ref: '#/components/schemas/VPNConfidence' originTimezone: type: string description: Local timezone which is used in timezoneMismatch method. - example: Europe/Berlin originCountry: type: string description: >- Country of the request (only for Android SDK version >= 2.4.0, ISO 3166 format or unknown). - example: unknown methods: - type: object - additionalProperties: false - properties: - timezoneMismatch: - type: boolean - description: >- - The browser timezone doesn't match the timezone inferred from - the request IP address. - example: false - publicVPN: - type: boolean - description: >- - Request IP address is owned and used by a public VPN service - provider. - example: false - auxiliaryMobile: - type: boolean - description: >- - This method applies to mobile devices only. Indicates the result - of additional methods used to detect a VPN in mobile devices. - example: false - osMismatch: - type: boolean - description: >- - The browser runs on a different operating system than the - operating system inferred from the request network signature. - example: false - required: - - timezoneMismatch - - publicVPN - - auxiliaryMobile - - osMismatch - confidence: - type: string - enum: - - low - - medium - - high - description: >- - A confidence rating for the VPN detection result — "low", "medium", - or "high". Depends on the combination of results returned from all - VPN detection methods. - example: low - required: - - result - - originTimezone - - methods - - confidence - ProxyResult: + $ref: '#/components/schemas/VPNMethods' + ProductVPN: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/VPN' + error: + $ref: '#/components/schemas/Error' + Proxy: type: object additionalProperties: false + required: + - result properties: result: type: boolean description: > `true` if the request IP address is used by a public proxy provider, `false` otherwise. - example: false + ProductProxy: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Proxy' + error: + $ref: '#/components/schemas/Error' + Incognito: + type: object + additionalProperties: false required: - result - TamperingResult: + properties: + result: + type: boolean + description: > + `true` if we detected incognito mode used in the browser, `false` + otherwise. + ProductIncognito: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Incognito' + error: + $ref: '#/components/schemas/Error' + Tampering: type: object additionalProperties: false + required: + - result + - anomalyScore + - antiDetectBrowser properties: result: type: boolean - description: >- - Flag indicating whether browser tampering was detected according to - our internal thresholds. - example: false + description: > + Flag indicating browser tampering was detected. This happens when + either of these conditions is true: + * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). + * The browser signature resembles one of "anti-detect" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). anomalyScore: type: number - description: >- - Confidence score (`0.0 - 1.0`) for the tampering detection. Values - above `0.5` suggest that we're reasonably sure there was a tampering - attempt. Values below `0.5` are genuine browsers. - example: 0 + format: double minimum: 0 maximum: 1 + description: | + Confidence score (`0.0 - 1.0`) for tampering detection: + * Values above `0.5` indicate that there was a tampering attempt. + * Values below `0.5` indicate genuine browsers. + antiDetectBrowser: + type: boolean + description: >- + Is `true` if the identified browser resembles one of "anti-detect" + browsers, for example, Incognition. Anti-detect browsers try to + evade identification by masking or manipulating their fingerprint to + imitate legitimate browser configurations. + ProductTampering: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Tampering' + error: + $ref: '#/components/schemas/Error' + ClonedApp: + type: object + additionalProperties: false required: - result - - anomalyScore - HighActivityResult: + properties: + result: + type: boolean + description: | + Android specific cloned application detection. There are 2 values: + * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). + * `false` - No signs of cloned application detected or the client is not Android. + ProductClonedApp: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/ClonedApp' + error: + $ref: '#/components/schemas/Error' + FactoryReset: + type: object + additionalProperties: false + required: + - time + - timestamp + properties: + time: + type: string + format: date-time + description: > + Indicates the time (in UTC) of the most recent factory reset that + happened on the **mobile device**. + + When a factory reset cannot be detected on the mobile device or when + the request is initiated from a browser, this field will correspond + to the *epoch* time (i.e 1 Jan 1970 UTC). + + See [Factory Reset + Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) + to learn more about this Smart Signal. + timestamp: + type: integer + format: int64 + description: > + This field is just another representation of the value in the `time` + field. + + The time of the most recent factory reset that happened on the + **mobile device** is expressed as Unix epoch time. + ProductFactoryReset: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/FactoryReset' + error: + $ref: '#/components/schemas/Error' + Jailbroken: type: object additionalProperties: false + required: + - result properties: result: type: boolean - description: >- - Flag indicating whether the request came from a high activity - visitor. - example: false - dailyRequests: - type: number - description: Number of requests from the same visitor in the previous day. - example: 10 - minimum: 1 + description: | + iOS specific jailbreak detection. There are 2 values: + * `true` - Jailbreak detected. + * `false` - No signs of jailbreak or the client is not iOS. + ProductJailbroken: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Jailbroken' + error: + $ref: '#/components/schemas/Error' + Frida: + type: object + additionalProperties: false + required: + - result + properties: + result: + type: boolean + description: > + [Frida](https://frida.re/docs/) detection for Android and iOS + devices. There are 2 values: + * `true` - Frida detected + * `false` - No signs of Frida or the client is not a mobile device. + ProductFrida: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Frida' + error: + $ref: '#/components/schemas/Error' + PrivacySettings: + type: object + additionalProperties: false + required: + - result + properties: + result: + type: boolean + description: > + `true` if the request is from a privacy aware browser (e.g. Tor) or + from a browser in which fingerprinting is blocked. Otherwise + `false`. + ProductPrivacySettings: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/PrivacySettings' + error: + $ref: '#/components/schemas/Error' + VirtualMachine: + type: object + additionalProperties: false + required: + - result + properties: + result: + type: boolean + description: > + `true` if the request came from a browser running inside a virtual + machine (e.g. VMWare), `false` otherwise. + ProductVirtualMachine: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/VirtualMachine' + error: + $ref: '#/components/schemas/Error' + ProductRawDeviceAttributes: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/RawDeviceAttributes' + error: + $ref: '#/components/schemas/Error' + HighActivity: + type: object + additionalProperties: false required: - result - LocationSpoofingResult: + properties: + result: + type: boolean + description: Flag indicating if the request came from a high-activity visitor. + dailyRequests: + type: integer + format: int64 + minimum: 1 + description: Number of requests from the same visitor in the previous day. + ProductHighActivity: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/HighActivity' + error: + $ref: '#/components/schemas/Error' + LocationSpoofing: type: object additionalProperties: false + required: + - result properties: result: type: boolean description: >- Flag indicating whether the request came from a mobile device with location spoofing enabled. - example: false - required: - - result - SuspectScoreResult: + ProductLocationSpoofing: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/LocationSpoofing' + error: + $ref: '#/components/schemas/Error' + SuspectScore: type: object additionalProperties: false + required: + - result properties: result: type: integer @@ -1238,126 +1555,148 @@ components: activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score - example: 0 - required: - - result - RawDeviceAttributesResult: + ProductSuspectScore: type: object - description: > - 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. - additionalProperties: - type: object - properties: - error: - properties: - name: - title: error.name - type: string - message: - title: error.message - type: string - required: - - name - - message - title: error - type: object - value: - title: value - RemoteControlResult: + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/SuspectScore' + error: + $ref: '#/components/schemas/Error' + RemoteControl: type: object additionalProperties: false + required: + - result properties: result: type: boolean description: > `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. - example: false - required: - - result - VelocityIntervalResult: + ProductRemoteControl: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/RemoteControl' + error: + $ref: '#/components/schemas/Error' + VelocityIntervals: type: object description: > Is absent if the velocity data could not be generated for the visitor ID. additionalProperties: false + required: + - 5m + - 1h properties: 5m: type: integer - example: 1 1h: type: integer - example: 1 24h: type: integer description: > - The `24h` interval of `distinctIp`, `distinctLinkedId`, and - `distinctCountry` 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. - example: 1 - required: - - 5m - - 1h - VelocityIntervals: + 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. + VelocityData: type: object additionalProperties: false properties: intervals: - $ref: '#/components/schemas/VelocityIntervalResult' - VelocityResult: + $ref: '#/components/schemas/VelocityIntervals' + Velocity: type: object description: > - Sums key data points for a specific `visitorId` at three distinct time + 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 identification events attributed to the visitor ID - Number - of distinct IP addresses associated to the visitor ID. - Number of - distinct countries associated with the visitor ID. - Number of distinct - `linkedId`s associated with the visitor ID. - The `24h` interval of `distinctIp`, `distinctLinkedId`, and - `distinctCountry` 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. + - 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. additionalProperties: false - properties: - distinctIp: - $ref: '#/components/schemas/VelocityIntervals' - distinctLinkedId: - $ref: '#/components/schemas/VelocityIntervals' - distinctCountry: - $ref: '#/components/schemas/VelocityIntervals' - events: - $ref: '#/components/schemas/VelocityIntervals' required: - distinctIp - distinctLinkedId - distinctCountry - events - DeveloperToolsResult: + - ipEvents + - distinctIpByLinkedId + - distinctVisitorIdByLinkedId + properties: + distinctIp: + $ref: '#/components/schemas/VelocityData' + distinctLinkedId: + $ref: '#/components/schemas/VelocityData' + distinctCountry: + $ref: '#/components/schemas/VelocityData' + events: + $ref: '#/components/schemas/VelocityData' + ipEvents: + $ref: '#/components/schemas/VelocityData' + distinctIpByLinkedId: + $ref: '#/components/schemas/VelocityData' + distinctVisitorIdByLinkedId: + $ref: '#/components/schemas/VelocityData' + ProductVelocity: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/Velocity' + error: + $ref: '#/components/schemas/Error' + DeveloperTools: type: object additionalProperties: false + required: + - result properties: result: type: boolean description: > `true` if the browser is Chrome with DevTools open or Firefox with Developer Tools open, `false` otherwise. - example: false - required: - - result - ProductsResponse: + ProductDeveloperTools: + type: object + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/DeveloperTools' + error: + $ref: '#/components/schemas/Error' + Products: type: object description: >- Contains all information about the request identified by `requestId`, @@ -1365,875 +1704,604 @@ components: additionalProperties: false properties: identification: - type: object - additionalProperties: false - title: ProductsResponseIdentification - properties: - data: - title: ProductsResponseIdentificationData - type: object - properties: - requestId: - description: Unique identifier of the user's identification request. - type: string - example: 1654815516083.OX6kx8 - browserDetails: - $ref: '#/components/schemas/BrowserDetails' - incognito: - description: Flag if user used incognito session. - type: boolean - ip: - type: string - format: ipv4 - example: 8.8.8.8 - ipLocation: - type: object - additionalProperties: false - deprecated: true - 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. - properties: - accuracyRadius: - description: >- - The IP address is likely to be within this radius (in - km) of the specified location. - type: integer - minimum: 0 - latitude: - type: number - format: double - minimum: -90 - maximum: 90 - longitude: - type: number - format: double - minimum: -180 - maximum: 180 - postalCode: - type: string - timezone: - type: string - format: timezone - city: - type: object - additionalProperties: false - title: DeprecatedIPLocationCity - properties: - name: - type: string - country: - $ref: '#/components/schemas/Location' - continent: - $ref: '#/components/schemas/Location' - subdivisions: - type: array - items: - $ref: '#/components/schemas/Subdivision' - title: DeprecatedIPLocation - timestamp: - description: >- - Timestamp of the event with millisecond precision in Unix - time. - type: integer - format: int64 - example: 1654815516086 - time: - title: Time - description: Time expressed according to ISO 8601 in UTC format. - type: string - format: date-time - example: '2022-06-09T22:58:36Z' - url: - description: Page URL from which the identification request was sent. - type: string - example: https://some.website/path?query=params - tag: - description: >- - A customer-provided value or an object that was sent with - identification request. - type: object - additionalProperties: true - linkedId: - description: >- - A customer-provided id that was sent with identification - request. - type: string - example: someID - confidence: - $ref: '#/components/schemas/Confidence' - visitorFound: - description: >- - Attribute represents if a visitor had been identified - before. - type: boolean - firstSeenAt: - $ref: '#/components/schemas/SeenAt' - lastSeenAt: - $ref: '#/components/schemas/SeenAt' - visitorId: - type: string - description: > - String of 20 characters that uniquely identifies the - visitor's browser. - example: - - Ibk1527CUFmcnjLwIs4A - additionalProperties: false - required: - - browserDetails - - firstSeenAt - - incognito - - ip - - lastSeenAt - - requestId - - time - - timestamp - - url - - visitorFound - - visitorId - - tag - error: - $ref: '#/components/schemas/IdentificationError' + $ref: '#/components/schemas/ProductIdentification' botd: - title: ProductsResponseBotd - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/BotdResult' - error: - $ref: '#/components/schemas/ProductError' - ipInfo: - title: SignalResponseIpInfo - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/IpInfoResult' - error: - $ref: '#/components/schemas/ProductError' - incognito: - title: SignalResponseIncognito - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/IncognitoResult' - error: - $ref: '#/components/schemas/IdentificationError' + $ref: '#/components/schemas/ProductBotd' rootApps: - title: SignalResponseRootApps - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/RootAppsResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductRootApps' emulator: - title: SignalResponseEmulator - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/EmulatorResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductEmulator' + ipInfo: + $ref: '#/components/schemas/ProductIPInfo' + ipBlocklist: + $ref: '#/components/schemas/ProductIPBlocklist' + tor: + $ref: '#/components/schemas/ProductTor' + vpn: + $ref: '#/components/schemas/ProductVPN' + proxy: + $ref: '#/components/schemas/ProductProxy' + incognito: + $ref: '#/components/schemas/ProductIncognito' + tampering: + $ref: '#/components/schemas/ProductTampering' clonedApp: - title: SignalResponseClonedApp - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/ClonedAppResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductClonedApp' factoryReset: - title: SignalResponseFactoryReset - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/FactoryResetResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductFactoryReset' jailbroken: - title: SignalResponseJailbroken - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/JailbrokenResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductJailbroken' frida: - title: SignalResponseFrida - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/FridaResult' - error: - $ref: '#/components/schemas/ProductError' - ipBlocklist: - title: SignalResponseIpBlocklist - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/IpBlockListResult' - error: - $ref: '#/components/schemas/ProductError' - tor: - title: SignalResponseTor - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/TorResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductFrida' privacySettings: - title: SignalResponsePrivacySettings - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/PrivacySettingsResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductPrivacySettings' virtualMachine: - title: SignalResponseVirtualMachine - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/VirtualMachineResult' - error: - $ref: '#/components/schemas/ProductError' - vpn: - title: SignalResponseVpn - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/VpnResult' - error: - $ref: '#/components/schemas/ProductError' - proxy: - title: SignalResponseProxy - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/ProxyResult' - error: - $ref: '#/components/schemas/ProductError' - tampering: - title: SignalResponseTampering - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/TamperingResult' - error: - $ref: '#/components/schemas/IdentificationError' + $ref: '#/components/schemas/ProductVirtualMachine' + rawDeviceAttributes: + $ref: '#/components/schemas/ProductRawDeviceAttributes' highActivity: - title: SignalResponseHighActivity - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/HighActivityResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductHighActivity' locationSpoofing: - title: SignalResponseLocationSpoofing - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/LocationSpoofingResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductLocationSpoofing' suspectScore: - title: SignalResponseSuspectScore - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/SuspectScoreResult' - error: - $ref: '#/components/schemas/ProductError' - rawDeviceAttributes: - title: SignalResponseRawDeviceAttributes - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/RawDeviceAttributesResult' - error: - $ref: '#/components/schemas/IdentificationError' + $ref: '#/components/schemas/ProductSuspectScore' remoteControl: - title: SignalResponseRemoteControl - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/RemoteControlResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductRemoteControl' velocity: - title: SignalResponseVelocity - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/VelocityResult' - error: - $ref: '#/components/schemas/ProductError' + $ref: '#/components/schemas/ProductVelocity' developerTools: - title: SignalResponseDeveloperTools - type: object - additionalProperties: false - properties: - data: - $ref: '#/components/schemas/DeveloperToolsResult' - error: - $ref: '#/components/schemas/ProductError' - EventResponse: + $ref: '#/components/schemas/ProductDeveloperTools' + EventsGetResponse: + type: object description: >- Contains results from all activated products - Fingerprint Pro, Bot Detection, and others. - type: object additionalProperties: false - properties: - products: - $ref: '#/components/schemas/ProductsResponse' - error: - $ref: '#/components/schemas/ProductError' required: - products - ErrorCommon403Response: - type: object - additionalProperties: false properties: - error: - type: object - additionalProperties: false - title: Common403ErrorResponse - properties: - code: - type: string - description: | - Error code: - * `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 - enum: - - TokenRequired - - TokenNotFound - - SubscriptionNotActive - - WrongRegion - - FeatureNotEnabled - example: TokenRequired - message: - type: string - example: secret key is required - required: - - code - - message - ErrorEvent404Response: + products: + $ref: '#/components/schemas/Products' + ErrorResponse: type: object additionalProperties: false + required: + - error properties: error: - type: object - additionalProperties: false - title: ErrorEvent404ResponseError - properties: - code: - type: string - description: | - Error code: - * `RequestNotFound` - The specified request ID was not found. It never existed, expired, or it has been deleted. - enum: - - RequestNotFound - example: RequestNotFound - message: - type: string - example: request id is not found - required: - - code - - message - EventUpdateRequest: + $ref: '#/components/schemas/Error' + EventsUpdateRequest: type: object properties: linkedId: type: string description: LinkedID value to assign to the existing event tag: - type: object - description: >- - Full `tag` value to be set to the existing event. Replaces any - existing `tag` payload completely. + $ref: '#/components/schemas/Tag' suspect: type: boolean description: Suspect flag indicating observed suspicious or fraudulent event - ErrorUpdateEvent400Response: - type: object - additionalProperties: false - properties: - error: - type: object - additionalProperties: false - title: ErrorUpdateEvent400ResponseError - properties: - code: - type: string - description: > - Error code: * `RequestCannotBeParsed` - the JSON content of the - request contains some errors that prevented us from parsing it - (wrong type/surpassed limits) * `Failed` - the event is more - than 10 days old and cannot be updated - enum: - - RequestCannotBeParsed - - Failed - example: RequestCannotBeParsed - message: - type: string - description: Details about the underlying issue with the input payload - example: suspect flag must be a boolean - required: - - code - - message - ErrorUpdateEvent409Response: + Visit: type: object additionalProperties: false + required: + - requestId + - browserDetails + - incognito + - ip + - timestamp + - time + - url + - tag + - visitorFound + - firstSeenAt + - lastSeenAt properties: - error: - type: object - additionalProperties: false - title: ErrorUpdateEvent409ResponseError - properties: - code: - type: string - description: > - Error code: * `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. - enum: - - StateNotReady - example: StateNotReady - message: - type: string - example: resource is not mutable yet, try again - required: - - code - - message - Response: + requestId: + type: string + description: Unique identifier of the user's request. + browserDetails: + $ref: '#/components/schemas/BrowserDetails' + incognito: + type: boolean + 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' + linkedId: + type: string + description: A customer-provided id that was sent with the request. + timestamp: + type: integer + format: int64 + description: Timestamp of the event with millisecond precision in Unix time. + time: + type: string + format: date-time + description: >- + Time expressed according to ISO 8601 in UTC format, when the request + from the client agent was made. We recommend to treat requests that + are older than 2 minutes as malicious. Otherwise, request replay + attacks are possible. + url: + type: string + description: Page URL from which the request was sent. + tag: + $ref: '#/components/schemas/Tag' + confidence: + $ref: '#/components/schemas/IdentificationConfidence' + visitorFound: + type: boolean + description: Attribute represents if a visitor had been identified before. + firstSeenAt: + $ref: '#/components/schemas/IdentificationSeenAt' + lastSeenAt: + $ref: '#/components/schemas/IdentificationSeenAt' + components: + $ref: '#/components/schemas/RawDeviceAttributes' + VisitorsGetResponse: type: object + description: >- + Pagination-related fields `lastTimestamp` and `paginationKey` are + included if you use a pagination parameter like `limit` or `before` and + there is more data available on the next page. additionalProperties: false + required: + - visitorId + - visits properties: visitorId: type: string visits: type: array items: - title: ResponseVisits - type: object - properties: - requestId: - description: Unique identifier of the user's identification request. - type: string - example: 1654815516083.OX6kx8 - browserDetails: - $ref: '#/components/schemas/BrowserDetails' - incognito: - description: Flag if user used incognito session. - type: boolean - ip: - type: string - format: ipv4 - example: 8.8.8.8 - ipLocation: - type: object - additionalProperties: false - deprecated: true - 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. - properties: - accuracyRadius: - description: >- - The IP address is likely to be within this radius (in km) - of the specified location. - type: integer - minimum: 0 - latitude: - type: number - format: double - minimum: -90 - maximum: 90 - longitude: - type: number - format: double - minimum: -180 - maximum: 180 - postalCode: - type: string - timezone: - type: string - format: timezone - city: - type: object - additionalProperties: false - title: DeprecatedIPLocationCity - properties: - name: - type: string - country: - $ref: '#/components/schemas/Location' - continent: - $ref: '#/components/schemas/Location' - subdivisions: - type: array - items: - $ref: '#/components/schemas/Subdivision' - title: DeprecatedIPLocation - timestamp: - description: >- - Timestamp of the event with millisecond precision in Unix - time. - type: integer - format: int64 - example: 1654815516086 - time: - title: Time - description: Time expressed according to ISO 8601 in UTC format. - type: string - format: date-time - example: '2022-06-09T22:58:36Z' - url: - description: Page URL from which the identification request was sent. - type: string - example: https://some.website/path?query=params - tag: - description: >- - A customer-provided value or an object that was sent with - identification request. - type: object - additionalProperties: true - linkedId: - description: >- - A customer-provided id that was sent with identification - request. - type: string - example: someID - confidence: - $ref: '#/components/schemas/Confidence' - visitorFound: - description: Attribute represents if a visitor had been identified before. - type: boolean - firstSeenAt: - $ref: '#/components/schemas/SeenAt' - lastSeenAt: - $ref: '#/components/schemas/SeenAt' - additionalProperties: false - required: - - browserDetails - - firstSeenAt - - incognito - - ip - - lastSeenAt - - requestId - - time - - timestamp - - url - - visitorFound - - tag + $ref: '#/components/schemas/Visit' lastTimestamp: + deprecated: true + type: integer + format: int64 description: > ⚠️ Deprecated paging attribute, please use `paginationKey` instead. Timestamp of the last visit in the current page of results. - type: integer - format: int64 - example: 1654815517198 paginationKey: + type: string description: >- Request ID of the last visit in the current page of results. Use this value in the following request as the `paginationKey` parameter to get the next page of results. - type: string - example: 1654815517198.azN4IZ + ErrorPlainResponse: + type: object + additionalProperties: false required: - - visitorId - - visits - title: PaginatedResponse + - error + properties: + error: + type: string + WebhookRootApps: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + Android specific root management apps detection. There are 2 + values: + * `true` - Root Management Apps detected (e.g. Magisk). + * `false` - No Root Management Apps detected or the client isn't Android. + WebhookEmulator: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: | + Android specific emulator detection. There are 2 values: + * `true` - Emulated environment detected (e.g. launch inside of AVD). + * `false` - No signs of emulated environment detected or the client is not Android. + WebhookIPInfo: + type: object description: >- - Fields `lastTimestamp` and `paginationKey` added when `limit` or - `before` parameter provided and there is more data to show - ErrorVisits403: + Details about the request IP address. Has separate fields for v4 and v6 + IP address versions. + additionalProperties: false + properties: + v4: + $ref: '#/components/schemas/IPInfoV4' + v6: + $ref: '#/components/schemas/IPInfoV6' + WebhookIPBlocklist: type: object additionalProperties: false properties: - error: + result: + type: boolean + description: > + `true` if request IP address is part of any database that we use to + search for known malicious actors, `false` otherwise. + details: + $ref: '#/components/schemas/IPBlocklistDetails' + WebhookTor: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + `true` if the request IP address is a known tor exit node, `false` + otherwise. + WebhookVPN: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: >- + VPN or other anonymizing service has been used when sending the + request. + confidence: + $ref: '#/components/schemas/VPNConfidence' + originTimezone: type: string - description: Error text. - example: Forbidden (HTTP 403) - required: - - error - TooManyRequestsResponse: + description: Local timezone which is used in timezoneMismatch method. + originCountry: + type: string + description: >- + Country of the request (only for Android SDK version >= 2.4.0, ISO + 3166 format or unknown). + methods: + $ref: '#/components/schemas/VPNMethods' + WebhookProxy: type: object additionalProperties: false properties: - error: + result: + type: boolean + description: > + `true` if the request IP address is used by a public proxy provider, + `false` otherwise. + WebhookTampering: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + Flag indicating browser tampering was detected. This happens when + either of these conditions is true: + * There are inconsistencies in the browser configuration that cross our internal tampering thresholds (indicated by `anomalyScore`). + * The browser signature resembles one of "anti-detect" browsers specifically designed to evade identification and fingerprinting, for example, Incognition (indicated by `antiDetectBrowser`). + anomalyScore: + type: number + format: double + minimum: 0 + maximum: 1 + description: | + Confidence score (`0.0 - 1.0`) for tampering detection: + * Values above `0.5` indicate that there was a tampering attempt + * Values below `0.5` indicate genuine browsers. + antiDetectBrowser: + type: boolean + description: >- + Is `true` if the identified browser resembles one of "anti-detect" + browsers, for example, Incognition. Anti-detect browsers try to + evade identification by masking or manipulating their fingerprint to + imitate legitimate browser configurations. + WebhookClonedApp: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: | + Android specific cloned application detection. There are 2 values: + * `true` - Presence of app cloners work detected (e.g. fully cloned application found or launch of it inside of a not main working profile detected). + * `false` - No signs of cloned application detected or the client is not Android. + WebhookFactoryReset: + type: object + additionalProperties: false + properties: + time: type: string - description: Error text. - example: request throttled + format: date-time + description: > + Indicates the time (in UTC) of the most recent factory reset that + happened on the **mobile device**. + + When a factory reset cannot be detected on the mobile device or when + the request is initiated from a browser, this field will correspond + to the *epoch* time (i.e 1 Jan 1970 UTC). + + See [Factory Reset + Detection](https://dev.fingerprint.com/docs/smart-signals-overview#factory-reset-detection) + to learn more about this Smart Signal. + timestamp: + type: integer + format: int64 + description: > + This field is just another representation of the value in the `time` + field. + + The time of the most recent factory reset that happened on the + **mobile device** is expressed as Unix epoch time. + WebhookJailbroken: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: | + iOS specific jailbreak detection. There are 2 values: + * `true` - Jailbreak detected. + * `false` - No signs of jailbreak or the client is not iOS. + WebhookFrida: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + [Frida](https://frida.re/docs/) detection for Android and iOS + devices. There are 2 values: + * `true` - Frida detected + * `false` - No signs of Frida or the client is not a mobile device. + WebhookPrivacySettings: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + `true` if the request is from a privacy aware browser (e.g. Tor) or + from a browser in which fingerprinting is blocked. Otherwise + `false`. + WebhookVirtualMachine: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + `true` if the request came from a browser running inside a virtual + machine (e.g. VMWare), `false` otherwise. + WebhookRawDeviceAttributes: + type: object + description: > + 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. + additionalProperties: + $ref: '#/components/schemas/RawDeviceAttribute' + WebhookHighActivity: + type: object + additionalProperties: false required: - - error - ErrorVisitor400Response: + - result + properties: + result: + type: boolean + description: Flag indicating if the request came from a high-activity visitor. + dailyRequests: + type: integer + format: int64 + minimum: 1 + description: Number of requests from the same visitor in the previous day. + WebhookLocationSpoofing: type: object additionalProperties: false properties: - error: - type: object - additionalProperties: false - properties: - code: - type: string - description: > - Error code: * `RequestCannotBeParsed` - The visitor ID parameter - is missing or in the wrong format. - enum: - - RequestCannotBeParsed - example: RequestCannotBeParsed - message: - type: string - example: invalid visitor id - required: - - code - - message - ErrorVisitor404Response: + result: + type: boolean + description: >- + Flag indicating whether the request came from a mobile device with + location spoofing enabled. + WebhookSuspectScore: type: object additionalProperties: false properties: - error: - type: object - additionalProperties: false - title: ErrorVisitor404ResponseError - properties: - code: - type: string - description: > - Error code: * `VisitorNotFound` - The specified visitor ID was - not found. It never existed or it may have already been deleted. - enum: - - VisitorNotFound - example: VisitorNotFound - message: - type: string - example: visitor not found - required: - - code - - message - ErrorCommon429Response: + result: + type: integer + description: > + Suspect Score is an easy way to integrate Smart Signals into your + fraud protection work flow. It is a weighted representation of all + Smart Signals present in the payload that helps identify suspicious + activity. The value range is [0; S] where S is sum of all Smart + Signals weights. See more details here: + https://dev.fingerprint.com/docs/suspect-score + WebhookRemoteControl: type: object additionalProperties: false properties: - error: - type: object - additionalProperties: false - properties: - code: - type: string - description: | - Error code: * `TooManyRequests` - The request is throttled. - enum: - - TooManyRequests - example: TooManyRequests - message: - type: string - example: request throttled - required: - - code - - message - WebhookVisit: + result: + type: boolean + description: > + `true` if the request came from a machine being remotely controlled + (e.g. TeamViewer), `false` otherwise. + WebhookVelocity: + type: object + description: > + 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. + additionalProperties: false + properties: + distinctIp: + $ref: '#/components/schemas/VelocityData' + distinctLinkedId: + $ref: '#/components/schemas/VelocityData' + distinctCountry: + $ref: '#/components/schemas/VelocityData' + events: + $ref: '#/components/schemas/VelocityData' + ipEvents: + $ref: '#/components/schemas/VelocityData' + distinctIpByLinkedId: + $ref: '#/components/schemas/VelocityData' + distinctVisitorIdByLinkedId: + $ref: '#/components/schemas/VelocityData' + WebhookDeveloperTools: + type: object + additionalProperties: false + properties: + result: + type: boolean + description: > + `true` if the browser is Chrome with DevTools open or Firefox with + Developer Tools open, `false` otherwise. + Webhook: type: object + required: + - requestId + - url + - ip + - time + - timestamp properties: + requestId: + type: string + description: Unique identifier of the user's request. + url: + type: string + 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' + time: + type: string + format: date-time + description: >- + Time expressed according to ISO 8601 in UTC format, when the request + from the JS agent was made. We recommend to treat requests that are + older than 2 minutes as malicious. Otherwise, request replay attacks + are possible. + timestamp: + type: integer + format: int64 + description: Timestamp of the event with millisecond precision in Unix time. + ipLocation: + $ref: '#/components/schemas/DeprecatedGeolocation' + linkedId: + type: string + description: A customer-provided id that was sent with the request. visitorId: type: string - example: 3HNey93AkBW6CRbxV6xP + description: >- + String of 20 characters that uniquely identifies the visitor's + browser. + visitorFound: + type: boolean + description: Attribute represents if a visitor had been identified before. + confidence: + $ref: '#/components/schemas/IdentificationConfidence' + firstSeenAt: + $ref: '#/components/schemas/IdentificationSeenAt' + lastSeenAt: + $ref: '#/components/schemas/IdentificationSeenAt' + browserDetails: + $ref: '#/components/schemas/BrowserDetails' + incognito: + type: boolean + description: Flag if user used incognito session. clientReferrer: type: string - example: https://google.com?search=banking+services + components: + $ref: '#/components/schemas/RawDeviceAttributes' + bot: + $ref: '#/components/schemas/BotdBot' userAgent: type: string - example: >- - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 - (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 - bot: - $ref: '#/components/schemas/BotdDetectionResult' - ipInfo: - $ref: '#/components/schemas/IpInfoResult' - incognito: - description: Flag if user used incognito session. - type: boolean rootApps: - $ref: '#/components/schemas/RootAppsResult' + $ref: '#/components/schemas/WebhookRootApps' emulator: - $ref: '#/components/schemas/EmulatorResult' + $ref: '#/components/schemas/WebhookEmulator' + ipInfo: + $ref: '#/components/schemas/WebhookIPInfo' + ipBlocklist: + $ref: '#/components/schemas/WebhookIPBlocklist' + tor: + $ref: '#/components/schemas/WebhookTor' + vpn: + $ref: '#/components/schemas/WebhookVPN' + proxy: + $ref: '#/components/schemas/WebhookProxy' + tampering: + $ref: '#/components/schemas/WebhookTampering' clonedApp: - $ref: '#/components/schemas/ClonedAppResult' + $ref: '#/components/schemas/WebhookClonedApp' factoryReset: - $ref: '#/components/schemas/FactoryResetResult' + $ref: '#/components/schemas/WebhookFactoryReset' jailbroken: - $ref: '#/components/schemas/JailbrokenResult' + $ref: '#/components/schemas/WebhookJailbroken' frida: - $ref: '#/components/schemas/FridaResult' - ipBlocklist: - $ref: '#/components/schemas/IpBlockListResult' - tor: - $ref: '#/components/schemas/TorResult' + $ref: '#/components/schemas/WebhookFrida' privacySettings: - $ref: '#/components/schemas/PrivacySettingsResult' + $ref: '#/components/schemas/WebhookPrivacySettings' virtualMachine: - $ref: '#/components/schemas/VirtualMachineResult' - vpn: - $ref: '#/components/schemas/VpnResult' - proxy: - $ref: '#/components/schemas/ProxyResult' - tampering: - $ref: '#/components/schemas/TamperingResult' + $ref: '#/components/schemas/WebhookVirtualMachine' rawDeviceAttributes: - $ref: '#/components/schemas/RawDeviceAttributesResult' + $ref: '#/components/schemas/WebhookRawDeviceAttributes' highActivity: - $ref: '#/components/schemas/HighActivityResult' + $ref: '#/components/schemas/WebhookHighActivity' locationSpoofing: - $ref: '#/components/schemas/LocationSpoofingResult' + $ref: '#/components/schemas/WebhookLocationSpoofing' suspectScore: - $ref: '#/components/schemas/SuspectScoreResult' + $ref: '#/components/schemas/WebhookSuspectScore' remoteControl: - $ref: '#/components/schemas/RemoteControlResult' + $ref: '#/components/schemas/WebhookRemoteControl' velocity: - $ref: '#/components/schemas/VelocityResult' + $ref: '#/components/schemas/WebhookVelocity' developerTools: - $ref: '#/components/schemas/DeveloperToolsResult' - requestId: - description: Unique identifier of the user's identification request. - type: string - example: 1654815516083.OX6kx8 - browserDetails: - $ref: '#/components/schemas/BrowserDetails' - ip: - type: string - format: ipv4 - example: 8.8.8.8 - ipLocation: - type: object - additionalProperties: false - deprecated: true - 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. - properties: - accuracyRadius: - description: >- - The IP address is likely to be within this radius (in km) of the - specified location. - type: integer - minimum: 0 - latitude: - type: number - format: double - minimum: -90 - maximum: 90 - longitude: - type: number - format: double - minimum: -180 - maximum: 180 - postalCode: - type: string - timezone: - type: string - format: timezone - city: - type: object - additionalProperties: false - title: DeprecatedIPLocationCity - properties: - name: - type: string - country: - $ref: '#/components/schemas/Location' - continent: - $ref: '#/components/schemas/Location' - subdivisions: - type: array - items: - $ref: '#/components/schemas/Subdivision' - title: DeprecatedIPLocation - timestamp: - description: Timestamp of the event with millisecond precision in Unix time. - type: integer - format: int64 - example: 1654815516086 - time: - title: Time - description: Time expressed according to ISO 8601 in UTC format. - type: string - format: date-time - example: '2022-06-09T22:58:36Z' - url: - description: Page URL from which the identification request was sent. - type: string - example: https://some.website/path?query=params - tag: - description: >- - A customer-provided value or an object that was sent with - identification request. - type: object - additionalProperties: true - linkedId: - description: A customer-provided id that was sent with identification request. - type: string - example: someID - confidence: - $ref: '#/components/schemas/Confidence' - visitorFound: - description: Attribute represents if a visitor had been identified before. - type: boolean - firstSeenAt: - $ref: '#/components/schemas/SeenAt' - lastSeenAt: - $ref: '#/components/schemas/SeenAt' + $ref: '#/components/schemas/WebhookDeveloperTools' + RelatedVisitor: + type: object additionalProperties: false required: - visitorId - - browserDetails - - firstSeenAt - - incognito - - ip - - lastSeenAt - - requestId - - time - - timestamp - - url - - visitorFound + properties: + visitorId: + type: string + description: >- + Visitor ID of a browser that originates from the same mobile device + as the input visitor ID. diff --git a/test/mocks/errors/400_request_body_invalid.json b/test/mocks/errors/400_request_body_invalid.json new file mode 100644 index 00000000..ce56deff --- /dev/null +++ b/test/mocks/errors/400_request_body_invalid.json @@ -0,0 +1,6 @@ +{ + "error": { + "code": "RequestCannotBeParsed", + "message": "request body is not valid" + } +} diff --git a/test/mocks/shared/400_error_incorrect_visitor_id.json b/test/mocks/errors/400_visitor_id_invalid.json similarity index 100% rename from test/mocks/shared/400_error_incorrect_visitor_id.json rename to test/mocks/errors/400_visitor_id_invalid.json diff --git a/test/mocks/shared/400_error_empty_visitor_id.json b/test/mocks/errors/400_visitor_id_required.json similarity index 100% rename from test/mocks/shared/400_error_empty_visitor_id.json rename to test/mocks/errors/400_visitor_id_required.json diff --git a/test/mocks/errors/403_feature_not_enabled.json b/test/mocks/errors/403_feature_not_enabled.json new file mode 100644 index 00000000..3deac898 --- /dev/null +++ b/test/mocks/errors/403_feature_not_enabled.json @@ -0,0 +1,6 @@ +{ + "error": { + "code": "SubscriptionNotActive", + "message": "forbidden" + } +} diff --git a/test/mocks/shared/403_error_feature_not_enabled.json b/test/mocks/errors/403_subscription_not_active.json similarity index 100% rename from test/mocks/shared/403_error_feature_not_enabled.json rename to test/mocks/errors/403_subscription_not_active.json diff --git a/test/mocks/shared/403_error_token_not_found.json b/test/mocks/errors/403_token_not_found.json similarity index 100% rename from test/mocks/shared/403_error_token_not_found.json rename to test/mocks/errors/403_token_not_found.json diff --git a/test/mocks/get_event_403_error.json b/test/mocks/errors/403_token_required.json similarity index 100% rename from test/mocks/get_event_403_error.json rename to test/mocks/errors/403_token_required.json diff --git a/test/mocks/shared/403_error_wrong_region.json b/test/mocks/errors/403_wrong_region.json similarity index 100% rename from test/mocks/shared/403_error_wrong_region.json rename to test/mocks/errors/403_wrong_region.json diff --git a/test/mocks/get_event_404_error.json b/test/mocks/errors/404_request_not_found.json similarity index 100% rename from test/mocks/get_event_404_error.json rename to test/mocks/errors/404_request_not_found.json diff --git a/test/mocks/shared/404_error_visitor_not_found.json b/test/mocks/errors/404_visitor_not_found.json similarity index 100% rename from test/mocks/shared/404_error_visitor_not_found.json rename to test/mocks/errors/404_visitor_not_found.json diff --git a/test/mocks/errors/409_state_not_ready.json b/test/mocks/errors/409_state_not_ready.json new file mode 100644 index 00000000..36e6dde3 --- /dev/null +++ b/test/mocks/errors/409_state_not_ready.json @@ -0,0 +1,6 @@ +{ + "error": { + "code": "StateNotReady", + "message": "resource is not mutable yet, try again" + } +} diff --git a/test/mocks/shared/429_error_too_many_requests.json b/test/mocks/errors/429_too_many_requests.json similarity index 100% rename from test/mocks/shared/429_error_too_many_requests.json rename to test/mocks/errors/429_too_many_requests.json diff --git a/test/mocks/get_event_200.json b/test/mocks/get_event_200.json index 025ff4a4..fba76de3 100644 --- a/test/mocks/get_event_200.json +++ b/test/mocks/get_event_200.json @@ -173,6 +173,7 @@ "vpn": { "data": { "result": false, + "confidence": "high", "originTimezone": "Europe/Berlin", "originCountry": "unknown", "methods": { @@ -180,8 +181,7 @@ "publicVPN": false, "auxiliaryMobile": false, "osMismatch": false - }, - "confidence": "high" + } } }, "proxy": { @@ -197,7 +197,8 @@ "tampering": { "data": { "result": false, - "anomalyScore": 0.1955 + "anomalyScore": 0.1955, + "antiDetectBrowser": false } }, "clonedApp": { @@ -302,6 +303,27 @@ "1h": 5, "24h": 5 } + }, + "ipEvents": { + "intervals": { + "5m": 1, + "1h": 5, + "24h": 5 + } + }, + "distinctIpByLinkedId": { + "intervals": { + "5m": 1, + "1h": 5, + "24h": 5 + } + }, + "distinctVisitorIdByLinkedId": { + "intervals": { + "5m": 1, + "1h": 5, + "24h": 5 + } } } }, diff --git a/test/mocks/get_event_200_all_errors.json b/test/mocks/get_event_200_all_errors.json index 2fe90ccb..ddc55fac 100644 --- a/test/mocks/get_event_200_all_errors.json +++ b/test/mocks/get_event_200_all_errors.json @@ -3,7 +3,7 @@ "identification": { "error": { "code": "Failed", - "message": "failed" + "message": "internal server error" } }, "botd": { diff --git a/test/mocks/get_event_200_botd_too_many_requests_error.json b/test/mocks/get_event_200_botd_too_many_requests_error.json deleted file mode 100644 index 79288281..00000000 --- a/test/mocks/get_event_200_botd_too_many_requests_error.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "products": { - "identification": { - "data": { - "visitorId": "Ibk1527CUFmcnjLwIs4A9", - "requestId": "0KSh65EnVoB85JBmloQK", - "incognito": true, - "linkedId": "somelinkedId", - "tag": {}, - "time": "2019-05-21T16:40:13Z", - "timestamp": 1582299576512, - "url": "https://www.example.com/login", - "ip": "61.127.217.15", - "ipLocation": { - "accuracyRadius": 10, - "latitude": 49.982, - "longitude": 36.2566, - "postalCode": "61202", - "timezone": "Europe/Dusseldorf", - "city": { - "name": "Dusseldorf" - }, - "continent": { - "code": "EU", - "name": "Europe" - }, - "country": { - "code": "DE", - "name": "Germany" - }, - "subdivisions": [ - { - "isoCode": "63", - "name": "North Rhine-Westphalia" - } - ] - }, - "browserDetails": { - "browserName": "Chrome", - "browserMajorVersion": "74", - "browserFullVersion": "74.0.3729", - "os": "Windows", - "osVersion": "7", - "device": "Other", - "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) ...." - }, - "confidence": { - "score": 0.97 - }, - "visitorFound": true, - "firstSeenAt": { - "global": "2022-03-16T11:26:45.362Z", - "subscription": "2022-03-16T11:31:01.101Z" - }, - "lastSeenAt": { - "global": "2022-03-16T11:28:34.023Z", - "subscription": null - } - } - }, - "botd": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - } - } -} diff --git a/test/mocks/get_event_200_identification_failed_error.json b/test/mocks/get_event_200_identification_failed_error.json index 5b42c579..4739f36e 100644 --- a/test/mocks/get_event_200_identification_failed_error.json +++ b/test/mocks/get_event_200_identification_failed_error.json @@ -3,7 +3,7 @@ "identification": { "error": { "code": "Failed", - "message": "failed" + "message": "internal server error" } }, "botd": { diff --git a/test/mocks/get_event_200_identification_too_many_requests_error.json b/test/mocks/get_event_200_identification_too_many_requests_error.json deleted file mode 100644 index deacdcad..00000000 --- a/test/mocks/get_event_200_identification_too_many_requests_error.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "products": { - "identification": { - "error": { - "code": "429 Too Many Requests", - "message": "too many requests" - } - }, - "botd": { - "data": { - "bot": { - "result": "bad", - "type": "headlessChrome" - }, - "url": "https://example.com/login", - "ip": "94.60.143.223", - "time": "2024-02-23T10:20:25.287Z", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/121.0.6167.57 Safari/537.36", - "requestId": "1708683625245.tuJ4nD" - } - } - } -} diff --git a/test/mocks/get_event_200_identification_too_many_requests_error_all_fields.json b/test/mocks/get_event_200_identification_too_many_requests_error_all_fields.json deleted file mode 100644 index 06462139..00000000 --- a/test/mocks/get_event_200_identification_too_many_requests_error_all_fields.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "products": { - "identification": { - "error": { - "code": "429 Too Many Requests", - "message": "too many requests" - } - }, - "botd": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "rootApps": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "emulator": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "ipInfo": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "ipBlocklist": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "tor": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "vpn": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "proxy": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "incognito": { - "error": { - "code": "429 Too Many Requests", - "message": "too many requests" - } - }, - "tampering": { - "error": { - "code": "429 Too Many Requests", - "message": "too many requests" - } - }, - "clonedApp": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "factoryReset": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "jailbroken": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "frida": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "privacySettings": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "virtualMachine": { - "error": { - "code": "TooManyRequests", - "message": "too many requests" - } - }, - "rawDeviceAttributes": { - "error": { - "code": "429 Too Many Requests", - "message": "too many requests" - } - } - } -} diff --git a/test/mocks/get_event_200_too_many_requests_error.json b/test/mocks/get_event_200_too_many_requests_error.json new file mode 100644 index 00000000..138aae72 --- /dev/null +++ b/test/mocks/get_event_200_too_many_requests_error.json @@ -0,0 +1,16 @@ +{ + "products": { + "identification": { + "error": { + "code": "429 Too Many Requests", + "message": "too many requests" + } + }, + "botd": { + "error": { + "code": "TooManyRequests", + "message": "too many requests" + } + } + } +} diff --git a/test/mocks/get_event_200_with_unknown_field.json b/test/mocks/get_event_200_with_unknown_field.json new file mode 100644 index 00000000..eba63e09 --- /dev/null +++ b/test/mocks/get_event_200_with_unknown_field.json @@ -0,0 +1,285 @@ +{ + "unknown": "field", + "products": { + "unknown": "field", + "identification": { + "unknown": "field", + "data": { + "unknown": "field", + "visitorId": "Ibk1527CUFmcnjLwIs4A9", + "requestId": "1708102555327.NLOjmg", + "incognito": true, + "linkedId": "somelinkedId", + "tag": {}, + "time": "2019-05-21T16:40:13Z", + "timestamp": 1582299576512, + "url": "https://www.example.com/login?hope{this{works[!", + "ip": "61.127.217.15", + "ipLocation": { + "accuracyRadius": 10, + "latitude": 49.982, + "longitude": 36.2566, + "postalCode": "61202", + "timezone": "Europe/Dusseldorf", + "city": { + "name": "Dusseldorf" + }, + "country": { + "code": "DE", + "name": "Germany" + }, + "continent": { + "code": "EU", + "name": "Europe" + }, + "subdivisions": [ + { + "isoCode": "63", + "name": "North Rhine-Westphalia" + } + ] + }, + "browserDetails": { + "browserName": "Chrome", + "browserMajorVersion": "74", + "browserFullVersion": "74.0.3729", + "os": "Windows", + "osVersion": "7", + "device": "Other", + "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) ...." + }, + "confidence": { + "score": 0.97 + }, + "visitorFound": false, + "firstSeenAt": { + "global": "2022-03-16T11:26:45.362Z", + "subscription": "2022-03-16T11:31:01.101Z" + }, + "lastSeenAt": { + "global": null, + "subscription": null + } + } + }, + "botd": { + "data": { + "bot": { + "result": "notDetected" + }, + "url": "https://www.example.com/login?hope{this{works}[!", + "ip": "61.127.217.15", + "time": "2019-05-21T16:40:13Z", + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 YaBrowser/24.1.0.0 Safari/537.36", + "requestId": "1708102555327.NLOjmg" + } + }, + "rootApps": { + "data": { + "result": false + } + }, + "emulator": { + "data": { + "result": false + } + }, + "ipInfo": { + "data": { + "v4": { + "address": "94.142.239.124", + "geolocation": { + "accuracyRadius": 20, + "latitude": 50.05, + "longitude": 14.4, + "postalCode": "150 00", + "timezone": "Europe/Prague", + "city": { + "name": "Prague" + }, + "country": { + "code": "CZ", + "name": "Czechia" + }, + "continent": { + "code": "EU", + "name": "Europe" + }, + "subdivisions": [ + { + "isoCode": "10", + "name": "Hlavni mesto Praha" + } + ] + }, + "asn": { + "asn": "7922", + "name": "COMCAST-7922", + "network": "73.136.0.0/13" + }, + "datacenter": { + "result": true, + "name": "DediPath" + } + }, + "v6": { + "address": "2001:db8:3333:4444:5555:6666:7777:8888", + "geolocation": { + "accuracyRadius": 5, + "latitude": 49.982, + "longitude": 36.2566, + "postalCode": "10112", + "timezone": "Europe/Berlin", + "city": { + "name": "Berlin" + }, + "country": { + "code": "DE", + "name": "Germany" + }, + "continent": { + "code": "EU", + "name": "Europe" + }, + "subdivisions": [ + { + "isoCode": "BE", + "name": "Land Berlin" + } + ] + }, + "asn": { + "asn": "6805", + "name": "Telefonica Germany", + "network": "2a02:3100::/24" + }, + "datacenter": { + "result": false, + "name": "" + } + } + } + }, + "ipBlocklist": { + "data": { + "result": false, + "details": { + "emailSpam": false, + "attackSource": false + } + } + }, + "tor": { + "data": { + "result": false + } + }, + "vpn": { + "data": { + "result": false, + "originTimezone": "Europe/Berlin", + "originCountry": "unknown", + "methods": { + "timezoneMismatch": false, + "publicVPN": false, + "auxiliaryMobile": false + } + } + }, + "proxy": { + "data": { + "result": false + } + }, + "incognito": { + "data": { + "result": false + } + }, + "tampering": { + "data": { + "result": false, + "anomalyScore": 0.1955 + } + }, + "clonedApp": { + "data": { + "result": false + } + }, + "factoryReset": { + "data": { + "time": "1970-01-01T00:00:00Z", + "timestamp": 0 + } + }, + "jailbroken": { + "data": { + "result": false + } + }, + "frida": { + "data": { + "result": false + } + }, + "privacySettings": { + "data": { + "result": false + } + }, + "virtualMachine": { + "data": { + "result": false + } + }, + "rawDeviceAttributes": { + "data": { + "architecture": { + "value": 127 + }, + "audio": { + "value": 35.73832903057337 + }, + "canvas": { + "value": { + "Winding": true, + "Geometry": "4dce9d6017c3e0c052a77252f29f2b1c", + "Text": "dd2474a56ff78c1de3e7a07070ba3b7d" + } + }, + "colorDepth": { + "value": 30 + }, + "colorGamut": { + "value": "p3" + }, + "contrast": { + "value": 0 + }, + "cookiesEnabled": { + "value": true + }, + "cpuClass": {}, + "fonts": { + "value": [ + "Arial Unicode MS", + "Gill Sans", + "Helvetica Neue", + "Menlo" + ] + } + } + }, + "highActivity": { + "data": { + "result": false + } + }, + "locationSpoofing": { + "data": { + "result": false + } + } + } +} diff --git a/test/mocks/get_visits_200_limit_1.json b/test/mocks/get_visitors_200_limit_1.json similarity index 97% rename from test/mocks/get_visits_200_limit_1.json rename to test/mocks/get_visitors_200_limit_1.json index c5bbeedf..f6357ea5 100644 --- a/test/mocks/get_visits_200_limit_1.json +++ b/test/mocks/get_visitors_200_limit_1.json @@ -10,8 +10,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "82.118.30.68", diff --git a/test/mocks/get_visits_200_limit_500.json b/test/mocks/get_visitors_200_limit_500.json similarity index 96% rename from test/mocks/get_visits_200_limit_500.json rename to test/mocks/get_visitors_200_limit_500.json index f0451331..3e3aceb0 100644 --- a/test/mocks/get_visits_200_limit_500.json +++ b/test/mocks/get_visitors_200_limit_500.json @@ -10,8 +10,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -65,8 +64,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "82.118.30.62", @@ -120,8 +118,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "82.118.30.68", @@ -175,8 +172,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "82.118.30.91", @@ -230,8 +226,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -285,8 +280,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "45.86.200.137", @@ -316,8 +310,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "89.38.224.157", @@ -352,8 +345,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -386,8 +378,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -441,8 +432,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -496,8 +486,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -550,8 +539,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -604,8 +592,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -658,8 +645,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -712,8 +698,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -766,8 +751,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -820,8 +804,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -874,8 +857,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -928,8 +910,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -982,8 +963,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "217.150.54.233", @@ -1037,8 +1017,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": true, "ip": "217.150.54.233", @@ -1092,8 +1071,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" }, "incognito": false, "ip": "217.150.54.233", @@ -1147,8 +1125,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -1201,8 +1178,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -1255,8 +1231,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "89.38.224.157", @@ -1309,8 +1284,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "89.38.224.165", @@ -1363,8 +1337,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -1418,8 +1391,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "84.247.59.113", @@ -1473,8 +1445,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "84.247.59.113", @@ -1528,8 +1499,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "84.247.59.146", @@ -1583,8 +1553,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "84.247.59.146", @@ -1638,8 +1607,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.105", @@ -1683,8 +1651,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.99", @@ -1728,8 +1695,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.99", @@ -1773,8 +1739,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.96", @@ -1818,8 +1783,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.96", @@ -1863,8 +1827,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "188.242.36.107", @@ -1918,8 +1881,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.227", @@ -1963,8 +1925,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.89", @@ -2008,8 +1969,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.111", @@ -2053,8 +2013,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.111", @@ -2098,8 +2057,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.111", @@ -2143,8 +2101,7 @@ "os": "Android", "osVersion": "6.0", "device": "Nexus 5", - "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36" }, "incognito": false, "ip": "45.86.200.198", @@ -2188,8 +2145,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.198", @@ -2233,8 +2189,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.206", @@ -2278,8 +2233,7 @@ "os": "Android", "osVersion": "6.0", "device": "Nexus 5", - "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36" }, "incognito": false, "ip": "45.86.200.204", @@ -2323,8 +2277,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.204", @@ -2368,8 +2321,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.204", @@ -2413,8 +2365,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.204", @@ -2458,8 +2409,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.172", @@ -2503,8 +2453,7 @@ "os": "Android", "osVersion": "6.0", "device": "Nexus 5", - "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36" }, "incognito": false, "ip": "45.86.200.210", @@ -2548,8 +2497,7 @@ "os": "Android", "osVersion": "6.0", "device": "Nexus 5", - "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36" }, "incognito": false, "ip": "45.86.200.210", @@ -2593,8 +2541,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.180", @@ -2638,8 +2585,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" }, "incognito": false, "ip": "45.86.200.180", @@ -2683,8 +2629,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36" }, "incognito": false, "ip": "45.86.200.195", @@ -2728,8 +2673,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36" }, "incognito": false, "ip": "45.86.200.179", @@ -2773,8 +2717,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" }, "incognito": false, "ip": "109.245.35.200", @@ -2827,8 +2770,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" }, "incognito": false, "ip": "109.245.35.200", @@ -2881,8 +2823,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36" }, "incognito": false, "ip": "178.223.21.183", @@ -2935,8 +2876,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36" }, "incognito": false, "ip": "87.116.165.97", @@ -2989,8 +2929,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36" }, "incognito": false, "ip": "87.116.165.97", @@ -3043,8 +2982,7 @@ "os": "Mac OS X", "osVersion": "10.15.7", "device": "Other", - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36", - "botProbability": 0 + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36" }, "incognito": false, "ip": "87.116.165.97", diff --git a/test/mocks/get_visitors_400_bad_request.json b/test/mocks/get_visitors_400_bad_request.json new file mode 100644 index 00000000..c2b6e295 --- /dev/null +++ b/test/mocks/get_visitors_400_bad_request.json @@ -0,0 +1,3 @@ +{ + "error": "bad request" +} diff --git a/test/mocks/get_visits_403_error.json b/test/mocks/get_visitors_403_forbidden.json similarity index 100% rename from test/mocks/get_visits_403_error.json rename to test/mocks/get_visitors_403_forbidden.json diff --git a/test/mocks/get_visits_429_too_many_requests_error.json b/test/mocks/get_visitors_429_too_many_requests.json similarity index 100% rename from test/mocks/get_visits_429_too_many_requests_error.json rename to test/mocks/get_visitors_429_too_many_requests.json diff --git a/test/mocks/shared/403_error_token_required.json b/test/mocks/shared/403_error_token_required.json deleted file mode 100644 index 544d8714..00000000 --- a/test/mocks/shared/403_error_token_required.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "error": { - "code": "TokenRequired", - "message": "secret key is required" - } -} diff --git a/test/mocks/update_event_400_error.json b/test/mocks/update_event_400_error.json deleted file mode 100644 index 78568329..00000000 --- a/test/mocks/update_event_400_error.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "error": { - "code":"RequestCannotBeParsed", - "message":"request body is not valid" - } -} diff --git a/test/mocks/update_event_403_error.json b/test/mocks/update_event_403_error.json deleted file mode 100644 index 544d8714..00000000 --- a/test/mocks/update_event_403_error.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "error": { - "code": "TokenRequired", - "message": "secret key is required" - } -} diff --git a/test/mocks/update_event_404_error.json b/test/mocks/update_event_404_error.json deleted file mode 100644 index 389b351c..00000000 --- a/test/mocks/update_event_404_error.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "error": { - "code": "RequestNotFound", - "message": "request id is not found" - } -} diff --git a/test/mocks/update_event_409_error.json b/test/mocks/update_event_409_error.json deleted file mode 100644 index 16ad29ae..00000000 --- a/test/mocks/update_event_409_error.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "error": { - "code": "StateNotReady", - "message": "resource is not mutable yet, try again" - } -} diff --git a/test/mocks/webhook.json b/test/mocks/webhook.json index ceab1c79..2152b842 100644 --- a/test/mocks/webhook.json +++ b/test/mocks/webhook.json @@ -1,18 +1,13 @@ { "requestId": "Px6VxbRC6WBkA39yeNH3", + "url": "https://banking.example.com/signup", + "ip": "216.3.128.12", "tag": { "requestType": "signup", "yourCustomId": 45321 }, - "linkedId": "any-string", - "visitorId": "3HNey93AkBW6CRbxV6xP", - "visitorFound": true, - "timestamp": 1554910997788, "time": "2019-10-12T07:20:50.52Z", - "incognito": false, - "url": "https://banking.example.com/signup", - "clientReferrer": "https://google.com?search=banking+services", - "ip": "216.3.128.12", + "timestamp": 1554910997788, "ipLocation": { "accuracyRadius": 1, "city": { @@ -37,15 +32,9 @@ ], "timezone": "America/Chicago" }, - "browserDetails": { - "browserName": "Chrome", - "browserFullVersion": "73.0.3683.86", - "browserMajorVersion": "73", - "os": "Mac OS X", - "osVersion": "10.14.3", - "device": "Other", - "userAgent": "(Macintosh; Intel Mac OS X 10_14_3) Chrome/73.0.3683.86" - }, + "linkedId": "any-string", + "visitorId": "3HNey93AkBW6CRbxV6xP", + "visitorFound": true, "confidence": { "score": 0.97 }, @@ -57,11 +46,28 @@ "global": "2022-03-16T11:28:34.023Z", "subscription": null }, + "browserDetails": { + "browserName": "Chrome", + "browserFullVersion": "73.0.3683.86", + "browserMajorVersion": "73", + "os": "Mac OS X", + "osVersion": "10.14.3", + "device": "Other", + "userAgent": "(Macintosh; Intel Mac OS X 10_14_3) Chrome/73.0.3683.86" + }, + "incognito": false, + "clientReferrer": "https://google.com?search=banking+services", "bot": { "result": "bad", "type": "selenium" }, "userAgent": "(Macintosh; Intel Mac OS X 10_14_3) Chrome/73.0.3683.86", + "rootApps": { + "result": false + }, + "emulator": { + "result": false + }, "ipInfo": { "v4": { "address": "94.142.239.124", @@ -100,12 +106,6 @@ } } }, - "rootApps": { - "result": false - }, - "emulator": { - "result": false - }, "ipBlocklist": { "result": false, "details": { @@ -118,6 +118,7 @@ }, "vpn": { "result": false, + "confidence": "high", "originTimezone": "Europe/Berlin", "originCountry": "unknown", "methods": { @@ -125,15 +126,15 @@ "publicVPN": false, "auxiliaryMobile": false, "osMismatch": false - }, - "confidence": "high" + } }, "proxy": { "result": false }, "tampering": { "result": false, - "anomalyScore": 0 + "anomalyScore": 0, + "antiDetectBrowser": false }, "clonedApp": { "result": false @@ -215,6 +216,27 @@ "1h": 5, "24h": 5 } + }, + "ipEvents": { + "intervals": { + "5m": 1, + "1h": 5, + "24h": 5 + } + }, + "distinctIpByLinkedId": { + "intervals": { + "5m": 1, + "1h": 5, + "24h": 5 + } + }, + "distinctVisitorIdByLinkedId": { + "intervals": { + "5m": 1, + "1h": 5, + "24h": 5 + } } }, "developerTools": {