From 58f4c23285c04be1b035277a41a2075022819a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Mon, 14 Oct 2024 15:11:53 +0200 Subject: [PATCH] chore: revert release --- .changeset/pre.json | 4 +- CHANGELOG.md | 222 ++++++++---------- README.md | 2 +- .../api/fingerprint_api.py | 8 +- fingerprint_pro_server_api_sdk/api_client.py | 2 +- .../configuration.py | 2 +- package.json | 2 +- test/test_fingerprint_api.py | 2 +- 8 files changed, 108 insertions(+), 136 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index bccb1705..f4f6a7f1 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -4,7 +4,5 @@ "initialVersions": { "fingerprint-pro-server-api-python-sdk": "7.0.1" }, - "changesets": [ - "orange-taxis-fetch" - ] + "changesets": [] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a8a8e37..59fa7847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,128 +1,134 @@ # Fingerprint Pro Server Python SDK -## 7.1.0-rc.0 - -### Minor Changes - -- **visitors**: Add the confidence field to the VPN Detection Smart Signal ([e98dbd4](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/e98dbd4675bdb28f5e98c4a670612e3f8d0aa671)) - ## [7.0.1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v7.0.0...v7.0.1) (2024-08-22) + ### Bug Fixes -- deserialize `raw_device_attributes.data` to correct type `RawDeviceAttributesResult` ([743db13](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/743db13b384003a6fffd4124936db29fa7e9a850)) +* deserialize `raw_device_attributes.data` to correct type `RawDeviceAttributesResult` ([743db13](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/743db13b384003a6fffd4124936db29fa7e9a850)) ## [7.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v6.0.0...v7.0.0) (2024-08-14) + ### ⚠ BREAKING CHANGES -- rename `unseal_events_response` to `unseal_event_response` to keep proper naming -- minimum supported Python version is 3.9 now -- rename `error_event403_response`, `error_event403_response_error`, `many_requests_response` to `common403_error_response`, `error_common403_response` `too_many_requests_response` +* rename `unseal_events_response` to `unseal_event_response` to keep proper naming +* minimum supported Python version is 3.9 now +* rename `error_event403_response`, `error_event403_response_error`, `many_requests_response` to `common403_error_response`, `error_common403_response` `too_many_requests_response` ### Features -- add `delete_visitor_data` method ([961a165](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/961a165bd1acf43797dd3767fc3c1d72cc541917)) -- add `developer_tools` signal ([ca25ef7](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ca25ef7f07acbf47a7e5a55092bd336050cd0967)) -- add `osMismatch` field to the `vpn` signal ([0b95bda](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/0b95bdadaad62285558c442cf36b3990668537c1)) -- add `remoteControl` signal ([5c7b149](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5c7b1493dfa84ddab2df753c4c856da808bf844d)) -- add `revision` field to the `confidence` signal ([9b42d6b](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9b42d6b984a0c8c65a98faeea21bd86460a51df1)) -- add `update_event` method ([752b1c9](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/752b1c97054a131afcb3582a58a77f6a4d8b1816)) -- add `velocity` signal ([9b31367](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9b313677da304c8090518f484406694c7b1123b8)) -- add better error reporting in case of wrong data shape ([40e9e6a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/40e9e6a4a7d743d853c6defcb2f0ae6aa78f5e7e)) -- add webhook validation method ([d92b1fe](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d92b1fe9a69e943926c729affa6ef7b91a0857d8)) -- create base class for models and move here utility functions ([bfa2285](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/bfa2285cd45136c970cc3d07b1ada56874011c98)) -- drop Python 3.8 support ([d857954](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d857954e826b05f2061d195b2a2a8c3cae5b0232)) -- simplify `Configuration` class, use inline types ([8cad048](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8cad04860ec59b6a57d50827fb288871c2dbf384)) -- simplify `rest.py` and `api_client.py` and add inline types ([a8b1ae6](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/a8b1ae61d74ff5eaca09012741be4a894ff8526e)) -- update schema ([c2e99cd](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c2e99cd104e6ab9c7e9f670636d984e829eb2747)) -- use inline types for `fingerprint_api.py` ([c466bd5](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c466bd58f1838baf0b6bbf5aac2de6b0a047630b)) -- use inline types instead of annotations for models ([1121a5c](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1121a5c5e81d3458595d2bd7920463cce0b661ac)) +* add `delete_visitor_data` method ([961a165](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/961a165bd1acf43797dd3767fc3c1d72cc541917)) +* add `developer_tools` signal ([ca25ef7](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ca25ef7f07acbf47a7e5a55092bd336050cd0967)) +* add `osMismatch` field to the `vpn` signal ([0b95bda](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/0b95bdadaad62285558c442cf36b3990668537c1)) +* add `remoteControl` signal ([5c7b149](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5c7b1493dfa84ddab2df753c4c856da808bf844d)) +* add `revision` field to the `confidence` signal ([9b42d6b](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9b42d6b984a0c8c65a98faeea21bd86460a51df1)) +* add `update_event` method ([752b1c9](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/752b1c97054a131afcb3582a58a77f6a4d8b1816)) +* add `velocity` signal ([9b31367](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9b313677da304c8090518f484406694c7b1123b8)) +* add better error reporting in case of wrong data shape ([40e9e6a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/40e9e6a4a7d743d853c6defcb2f0ae6aa78f5e7e)) +* add webhook validation method ([d92b1fe](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d92b1fe9a69e943926c729affa6ef7b91a0857d8)) +* create base class for models and move here utility functions ([bfa2285](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/bfa2285cd45136c970cc3d07b1ada56874011c98)) +* drop Python 3.8 support ([d857954](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d857954e826b05f2061d195b2a2a8c3cae5b0232)) +* simplify `Configuration` class, use inline types ([8cad048](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8cad04860ec59b6a57d50827fb288871c2dbf384)) +* simplify `rest.py` and `api_client.py` and add inline types ([a8b1ae6](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/a8b1ae61d74ff5eaca09012741be4a894ff8526e)) +* update schema ([c2e99cd](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c2e99cd104e6ab9c7e9f670636d984e829eb2747)) +* use inline types for `fingerprint_api.py` ([c466bd5](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c466bd58f1838baf0b6bbf5aac2de6b0a047630b)) +* use inline types instead of annotations for models ([1121a5c](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1121a5c5e81d3458595d2bd7920463cce0b661ac)) + ### Bug Fixes -- `unseal_event_response` returns correct `EventResponse` structure ([a7a0e2d](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/a7a0e2d3c0c42fb225545673954ee816917d3124)) -- don't serialise empty fields in models ([9643e1d](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9643e1d7781e0d1eb414f8f5177cdace16ef3063)) -- make `tag` field optional for webhook ([e8a28f6](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/e8a28f69d08a7969af3b1b66ef399aacd4bc14d1)) -- mark optional fields in models ([2c62e20](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/2c62e209de1d09ebd58f3174a0be81e39c6d8bf6)) -- remove Python2 compatibility code ([2621ccd](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/2621ccddb01c495a8a385766d15ea875171260e8)) -- update schema with required `body` field for the `updateEvent` method ([c6eaf5e](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c6eaf5e64d387ce55a898ba800b8989e77c5cae0)) +* `unseal_event_response` returns correct `EventResponse` structure ([a7a0e2d](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/a7a0e2d3c0c42fb225545673954ee816917d3124)) +* don't serialise empty fields in models ([9643e1d](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9643e1d7781e0d1eb414f8f5177cdace16ef3063)) +* make `tag` field optional for webhook ([e8a28f6](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/e8a28f69d08a7969af3b1b66ef399aacd4bc14d1)) +* mark optional fields in models ([2c62e20](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/2c62e209de1d09ebd58f3174a0be81e39c6d8bf6)) +* remove Python2 compatibility code ([2621ccd](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/2621ccddb01c495a8a385766d15ea875171260e8)) +* update schema with required `body` field for the `updateEvent` method ([c6eaf5e](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c6eaf5e64d387ce55a898ba800b8989e77c5cae0)) ## [6.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v5.0.0...v6.0.0) (2024-03-27) + ### ⚠ BREAKING CHANGES -- now only Python >= 3.8 is supported +* now only Python >= 3.8 is supported ### Features -- drop support for python < 3.8 ([1e18e2c](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1e18e2ccafb6967229922d7783782f2c97cadb64)) +* drop support for python < 3.8 ([1e18e2c](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1e18e2ccafb6967229922d7783782f2c97cadb64)) ## [5.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v4.0.0...v5.0.0) (2024-03-20) + ### ⚠ BREAKING CHANGES -- make identification field `confidence` optional -- deprecated `ipLocation` field uses `DeprecatedIpLocation` model -- change models for the most smart signals +* make identification field `confidence` optional +* deprecated `ipLocation` field uses `DeprecatedIpLocation` model +* change models for the most smart signals ### Features -- add `linked_id` field to the `BotdResult` type ([3aba5d0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/3aba5d0c4782696d1974f650ae22ff30deeedd20)) -- add `origin_country` field to the `vpn` signal ([27f7c58](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/27f7c580e36b2c6b803c2617462b19d51c886e17)) -- add `SuspectScore` smart signal support ([331f2a8](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/331f2a82b31e7a281dfaa7921b015128b147cbe8)) -- fix `ipLocation` deprecation ([cb3b7b1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/cb3b7b1ade37fc3d221e2fa46c5d691a85a37248)) -- make identification field `tag` required ([678a3a1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/678a3a187fe5a10c5811b56dc43daab57e7cdff4)) -- use shared structures for webhooks and event ([c15ae21](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c15ae2107256d29fff02af3cc70b065d93092af3)) +* add `linked_id` field to the `BotdResult` type ([3aba5d0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/3aba5d0c4782696d1974f650ae22ff30deeedd20)) +* add `origin_country` field to the `vpn` signal ([27f7c58](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/27f7c580e36b2c6b803c2617462b19d51c886e17)) +* add `SuspectScore` smart signal support ([331f2a8](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/331f2a82b31e7a281dfaa7921b015128b147cbe8)) +* fix `ipLocation` deprecation ([cb3b7b1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/cb3b7b1ade37fc3d221e2fa46c5d691a85a37248)) +* make identification field `tag` required ([678a3a1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/678a3a187fe5a10c5811b56dc43daab57e7cdff4)) +* use shared structures for webhooks and event ([c15ae21](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c15ae2107256d29fff02af3cc70b065d93092af3)) + ### Bug Fixes -- make fields required according to real API response ([8beb757](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8beb757db67af38b7a112f93f1a7c21ef35e62a8)) +* make fields required according to real API response ([8beb757](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8beb757db67af38b7a112f93f1a7c21ef35e62a8)) ## [4.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v3.0.0...v4.0.0) (2024-02-14) + ### ⚠ BREAKING CHANGES -- now only Python >= 3.6 is supported +* now only Python >= 3.6 is supported ### Features -- add method for decoding sealed results ([1acdeea](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1acdeea7003c599261ae61e5f0a678c88899d85a)) -- drop support for python < 3.6 ([82d5213](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/82d5213e95af4a142f0ca49051f270046c972eb5)) +* add method for decoding sealed results ([1acdeea](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1acdeea7003c599261ae61e5f0a678c88899d85a)) +* drop support for python < 3.6 ([82d5213](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/82d5213e95af4a142f0ca49051f270046c972eb5)) ## [3.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.6.0...v3.0.0) (2024-01-12) + ### ⚠ BREAKING CHANGES -- `IpInfo` field `data_center` renamed to `datacenter` +* `IpInfo` field `data_center` renamed to `datacenter` ### Features -- deprecate `IPLocation` ([b39189b](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/b39189b8a2cee94ab277729033f82460c72c8b38)) -- use `datacenter` field instead of the wrong `dataCenter` ([53bcda2](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/53bcda26729b7e7a793c61f7292fa474536ef652)) +* deprecate `IPLocation` ([b39189b](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/b39189b8a2cee94ab277729033f82460c72c8b38)) +* use `datacenter` field instead of the wrong `dataCenter` ([53bcda2](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/53bcda26729b7e7a793c61f7292fa474536ef652)) ## [2.6.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.5.1...v2.6.0) (2023-11-27) + ### Features -- add `highActivity` and `locationSpoofing` signals, support `originTimezone` for `vpn` signal ([36793fe](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/36793feab226c6cfc65c6c156995c7d1f46b5b6d)) +* add `highActivity` and `locationSpoofing` signals, support `originTimezone` for `vpn` signal ([36793fe](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/36793feab226c6cfc65c6c156995c7d1f46b5b6d)) ## [2.5.1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.5.0...v2.5.1) (2023-09-20) + ### Bug Fixes -- update OpenAPI Schema with `asn` and `dataCenter` signals ([4684316](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/4684316e153d1782fd0980e08488a8d7d78d695e)) -- update OpenAPI Schema with `auxiliaryMobile` method for VPN signal ([5422741](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5422741d3250c63884eeb5b6f8365e2e4210c47a)) +* update OpenAPI Schema with `asn` and `dataCenter` signals ([4684316](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/4684316e153d1782fd0980e08488a8d7d78d695e)) +* update OpenAPI Schema with `auxiliaryMobile` method for VPN signal ([5422741](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5422741d3250c63884eeb5b6f8365e2e4210c47a)) ## [2.5.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.4.0...v2.5.0) (2023-08-10) + ### Features -- make SDK more independent from environment ([1d017c1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1d017c158849d9125ca6ba01f414ec0948458769)), closes [#31](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/issues/31) +* make SDK more independent from environment ([1d017c1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1d017c158849d9125ca6ba01f414ec0948458769)), closes [#31](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/issues/31) + ### Bug Fixes -- fix `multiprocessing.pool` detection fro Lambda ([9373a93](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9373a9360bc6111fe362ea39ea1eea1a86d9bfcf)) +* fix `multiprocessing.pool` detection fro Lambda ([9373a93](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9373a9360bc6111fe362ea39ea1eea1a86d9bfcf)) # Changelog @@ -132,140 +138,108 @@ ### Feature -- Add raw device attributes support ([`6b81649`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/6b81649005cdd336173dd33ae41143fc8aa4f5ef)) -- Add support for smart signals ([`28926b8`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/28926b87954f31f0bbaa917dc7b956217c61e5a6)) +* Add raw device attributes support ([`6b81649`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/6b81649005cdd336173dd33ae41143fc8aa4f5ef)) +* Add support for smart signals ([`28926b8`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/28926b87954f31f0bbaa917dc7b956217c61e5a6)) ### Documentation -- Improve model documentation, add special fix for `RawDeviceAttributesResult` documentation ([`36ddc0d`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/36ddc0df68dc394640e01ad0fd060d353ef7eb63)) -- **README:** Use `pagination_key` in README example instead of deprecated `before` ([`5dd6e55`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5dd6e5528bbe710f54e3bd9c5660d15fe5aa548c)) +* Improve model documentation, add special fix for `RawDeviceAttributesResult` documentation ([`36ddc0d`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/36ddc0df68dc394640e01ad0fd060d353ef7eb63)) +* **README:** Use `pagination_key` in README example instead of deprecated `before` ([`5dd6e55`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5dd6e5528bbe710f54e3bd9c5660d15fe5aa548c)) ## v2.3.0 (2023-06-06) - ### Feature - -- Update schema with correct `IpLocation` format and doc updates ([`d501cfa`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d501cfa13b585e881c0645eed6dd89c09ea46a78)) +* Update schema with correct `IpLocation` format and doc updates ([`d501cfa`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d501cfa13b585e881c0645eed6dd89c09ea46a78)) ## v2.2.0 (2023-05-16) - ### Feature - -- Introduce additional signals ([`4e5fc79`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/4e5fc79eebc0d67bd5b451636e60c461f08dd7ee)) +* Introduce additional signals ([`4e5fc79`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/4e5fc79eebc0d67bd5b451636e60c461f08dd7ee)) ## v2.1.0 (2023-02-03) - ### Feature - -- Improve error reporting by adding `KnownApiException` class ([`f60625a`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/f60625a209525a3591b4e2f1f52c38550f6a303e)) +* Improve error reporting by adding `KnownApiException` class ([`f60625a`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/f60625a209525a3591b4e2f1f52c38550f6a303e)) ### Fix - -- Set `retry_after` to `1` in case of missed header ([`1d5b5b9`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1d5b5b9ba91b0cf265f31130bc246275abf97f20)) -- Add `retry_after` value from header to `ManyRequestsResponse` error ([`25dc803`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/25dc8035626b9dff388cd94b74ecc8fc4f4782a3)) -- Update schema ([`c9be3d3`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c9be3d36266e065fa606591fef6c6357f14e8556)) +* Set `retry_after` to `1` in case of missed header ([`1d5b5b9`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1d5b5b9ba91b0cf265f31130bc246275abf97f20)) +* Add `retry_after` value from header to `ManyRequestsResponse` error ([`25dc803`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/25dc8035626b9dff388cd94b74ecc8fc4f4782a3)) +* Update schema ([`c9be3d3`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c9be3d36266e065fa606591fef6c6357f14e8556)) ### Documentation - -- Extend example with new error reporting ([`d78d12b`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d78d12bbe44116c75d1deb802cc386fd12b993eb)) +* Extend example with new error reporting ([`d78d12b`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d78d12bbe44116c75d1deb802cc386fd12b993eb)) ## v2.0.0 (2023-01-16) - ### Feature - -- Update schema ([`065f23c`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/065f23cd8afc3f87a9186927942b86a75981c6f8)) +* Update schema ([`065f23c`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/065f23cd8afc3f87a9186927942b86a75981c6f8)) ### Breaking - -- `StSeenAt` type renamed to `SeenAt` ([`065f23c`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/065f23cd8afc3f87a9186927942b86a75981c6f8)) +* `StSeenAt` type renamed to `SeenAt` ([`065f23c`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/065f23cd8afc3f87a9186927942b86a75981c6f8)) ### Documentation - -- Add coverage badge ([`f8c6236`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/f8c623687b3b41422606b763b81e0f4e98a97bc4)) -- Add instruction how to run tests ([`5eb8115`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5eb81158eba44968d40725d66da2dfa24d54c9cd)) +* Add coverage badge ([`f8c6236`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/f8c623687b3b41422606b763b81e0f4e98a97bc4)) +* Add instruction how to run tests ([`5eb8115`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5eb81158eba44968d40725d66da2dfa24d54c9cd)) ## v1.3.0 (2022-10-25) - ### Feature - -- Update schema to support url field for botd result ([`24bfdf0`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/24bfdf0339bf9965b7e5a31e0871304c87562c7e)) +* Update schema to support url field for botd result ([`24bfdf0`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/24bfdf0339bf9965b7e5a31e0871304c87562c7e)) ### Fix - -- Restore some parts of api_doc.mustache template from swagger-codegen repository ([`5b6b531`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5b6b531244cebbf00b8f1d8bc580301ed5b7ac01)) +* Restore some parts of api_doc.mustache template from swagger-codegen repository ([`5b6b531`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5b6b531244cebbf00b8f1d8bc580301ed5b7ac01)) ## v1.2.0 (2022-09-14) - ### Feature - -- Introduce /event/{request_id} endpoint ([`3e587d0`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/3e587d08b6b02532667c382daf27f05a80a98a4b)) +* Introduce /event/{request_id} endpoint ([`3e587d0`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/3e587d08b6b02532667c382daf27f05a80a98a4b)) ### Documentation - -- **README:** Add examples to readme ([`13256fd`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/13256fd34a1275c9c3a9ca8c01cd5beb1fafa668)) +* **README:** Add examples to readme ([`13256fd`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/13256fd34a1275c9c3a9ca8c01cd5beb1fafa668)) ## v1.1.0 (2022-08-25) - ### Feature - -- Support nullable types ([`7ac3b07`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/7ac3b07a9622ddeb9e332a793f02f8112bcd3b7f)) +* Support nullable types ([`7ac3b07`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/7ac3b07a9622ddeb9e332a793f02f8112bcd3b7f)) ### Fix - -- Regenerate schema with nullable types support ([`9c05f3e`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9c05f3e9492c3a1374ef5a950b95420be9600af5)) +* Regenerate schema with nullable types support ([`9c05f3e`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9c05f3e9492c3a1374ef5a950b95420be9600af5)) ## v1.0.0 (2022-08-24) - ### Feature - -- Stable release ([`993a34a`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/993a34af407279b75b98d1b72e439e799c072cae)) +* Stable release ([`993a34a`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/993a34af407279b75b98d1b72e439e799c072cae)) ### Breaking - -- stable release ([`993a34a`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/993a34af407279b75b98d1b72e439e799c072cae)) +* stable release ([`993a34a`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/993a34af407279b75b98d1b72e439e799c072cae)) ## v0.0.4 (2022-08-19) - ### Fix - -- Add correct links to documentation from PyPI ([`af8264f`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/af8264f6e9cabc7aa75c1e2b5269045884373600)) +* Add correct links to documentation from PyPI ([`af8264f`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/af8264f6e9cabc7aa75c1e2b5269045884373600)) ### Documentation - -- Improve setup instruction ([`c95f794`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c95f79468050b332313f1bfcf803b249624bf493)) -- Remove extra imports, use print instead of pprint in example ([`9cccd53`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9cccd53a7fcf05d60cdab484a2aaf43c5a83038d)) -- Add keywords ([`93fc3a2`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/93fc3a2c3c993905a6133776e0dca531ff26e683)) +* Improve setup instruction ([`c95f794`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c95f79468050b332313f1bfcf803b249624bf493)) +* Remove extra imports, use print instead of pprint in example ([`9cccd53`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9cccd53a7fcf05d60cdab484a2aaf43c5a83038d)) +* Add keywords ([`93fc3a2`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/93fc3a2c3c993905a6133776e0dca531ff26e683)) ## v0.0.3 (2022-08-17) - ### Fix - -- Sync version in generated code ([`0181453`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/0181453ea61341188c04bcad4bb81d8769bf5664)) -- Update release commit message to not trigger new release ([`9d079ca`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9d079ca4aa0c04b7e77c7f76fe8c3fee673bf9e9)) +* Sync version in generated code ([`0181453`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/0181453ea61341188c04bcad4bb81d8769bf5664)) +* Update release commit message to not trigger new release ([`9d079ca`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9d079ca4aa0c04b7e77c7f76fe8c3fee673bf9e9)) ## v0.0.2 (2022-08-16) - ### Documentation - -- Add pypi badge ([`af44bbb`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/af44bbb457f6d56e640b944c28ecd9d14e559f53)) -- Add ci badges ([`ac20d9e`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ac20d9ea07b2d1b8cc851a0c25c3318cd81c87e2)) +* Add pypi badge ([`af44bbb`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/af44bbb457f6d56e640b944c28ecd9d14e559f53)) +* Add ci badges ([`ac20d9e`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ac20d9ea07b2d1b8cc851a0c25c3318cd81c87e2)) ## v0.0.2-beta.9 (2022-08-15) - ### Documentation - -- Add author ([`ad95a50`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ad95a5038641a9dc94237894d78bf03cd3ac69e4)) -- Update description ([`4b28f0f`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/4b28f0fac38700e27d41baee25e857de975af110)) +* Add author ([`ad95a50`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ad95a5038641a9dc94237894d78bf03cd3ac69e4)) +* Update description ([`4b28f0f`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/4b28f0fac38700e27d41baee25e857de975af110)) ## v0.0.2-beta.8 (2022-08-12) - ### Documentation - -- Use full url to logo ([`5cd84fa`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5cd84fabbf1a230a41f0e93039e2739227f79597)) +* Use full url to logo ([`5cd84fa`](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5cd84fabbf1a230a41f0e93039e2739227f79597)) ## v0.0.2-beta.7 (2022-08-12) + ## v0.0.2-beta.6 (2022-08-12) + ## v0.0.2-beta.5 (2022-08-12) + ## v0.0.2-beta.4 (2022-08-12) diff --git a/README.md b/README.md index ef41c946..2fa85ccf 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The Fingerprint Server Python SDK is an easy way to interact with the Fingerprin This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 -- Package version: 7.1.0-rc.0 +- Package version: 7.0.1 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements diff --git a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py index f1223cae..3d537361 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -109,7 +109,7 @@ def delete_visitor_data_with_http_info(self, visitor_id: str, **kwargs): # noqa if 'visitor_id' in params: path_params['visitor_id'] = params['visitor_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0-rc.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.1')] header_params = {} @@ -219,7 +219,7 @@ def get_event_with_http_info(self, request_id: str, **kwargs): # noqa: E501 if 'request_id' in params: path_params['request_id'] = params['request_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0-rc.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.1')] header_params = {} @@ -338,7 +338,7 @@ def get_visits_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501 if 'visitor_id' in params: path_params['visitor_id'] = params['visitor_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0-rc.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.1')] if 'request_id' in params: query_params.append(('request_id', params['request_id'])) # noqa: E501 if 'linked_id' in params: @@ -458,7 +458,7 @@ def update_event_with_http_info(self, body: EventUpdateRequest, request_id: str, if 'request_id' in params: path_params['request_id'] = params['request_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.1.0-rc.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.1')] header_params = {} diff --git a/fingerprint_pro_server_api_sdk/api_client.py b/fingerprint_pro_server_api_sdk/api_client.py index 4853dbe0..638256c7 100644 --- a/fingerprint_pro_server_api_sdk/api_client.py +++ b/fingerprint_pro_server_api_sdk/api_client.py @@ -79,7 +79,7 @@ def __init__(self, configuration: Optional[Configuration] = None, header_name: O self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.0-rc.0/python' + self.user_agent = 'Swagger-Codegen/7.0.1/python' def __del__(self): self.pool.close() diff --git a/fingerprint_pro_server_api_sdk/configuration.py b/fingerprint_pro_server_api_sdk/configuration.py index 4e678b9d..bd845114 100644 --- a/fingerprint_pro_server_api_sdk/configuration.py +++ b/fingerprint_pro_server_api_sdk/configuration.py @@ -210,5 +210,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3\n"\ - "SDK Package Version: 7.1.0-rc.0".\ + "SDK Package Version: 7.0.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/package.json b/package.json index 115ecec4..e983576f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fingerprint-pro-server-api-python-sdk", - "version": "7.1.0-rc.0", + "version": "7.0.1", "private": true, "devDependencies": { "@changesets/cli": "^2.27.8", diff --git a/test/test_fingerprint_api.py b/test/test_fingerprint_api.py index dc745052..7e494a4c 100644 --- a/test/test_fingerprint_api.py +++ b/test/test_fingerprint_api.py @@ -27,7 +27,7 @@ API_KEY = 'private_key' -VERSION = '7.1.0-rc.0' +VERSION = '7.0.1' class MockPoolManager(object):