diff --git a/CHANGELOG.md b/CHANGELOG.md index cc71e6a4..2c2f5be8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ +## v2.0.0 (2023-01-16) +### Feature +* 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)) + +### 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)) + ## 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)) diff --git a/README.md b/README.md index 58e0a2fe..ca9d37e5 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Fingerprint Pro Server API allows you to get information about visitors and abou This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 -- Package version: 1.3.0 +- Package version: 2.0.0 - 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 d8a39255..03802ff2 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -97,7 +97,7 @@ def get_event_with_http_info(self, request_id, **kwargs): # noqa: E501 path_params['request_id'] = params['request_id'] # noqa: E501 query_params = [] - query_params.append(('ii', 'fingerprint-pro-server-python-sdk/1.3.0')) + query_params.append(('ii', 'fingerprint-pro-server-python-sdk/2.0.0')) header_params = {} @@ -201,7 +201,7 @@ def get_visits_with_http_info(self, visitor_id, **kwargs): # noqa: E501 path_params['visitor_id'] = params['visitor_id'] # noqa: E501 query_params = [] - query_params.append(('ii', 'fingerprint-pro-server-python-sdk/1.3.0')) + query_params.append(('ii', 'fingerprint-pro-server-python-sdk/2.0.0')) if 'request_id' in params: query_params.append(('request_id', params['request_id'])) # noqa: E501 if 'linked_id' in params: diff --git a/fingerprint_pro_server_api_sdk/api_client.py b/fingerprint_pro_server_api_sdk/api_client.py index c4507de7..58d4fcfd 100644 --- a/fingerprint_pro_server_api_sdk/api_client.py +++ b/fingerprint_pro_server_api_sdk/api_client.py @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/1.3.0/python' + self.user_agent = 'Swagger-Codegen/2.0.0/python' def __del__(self): self.pool.close() diff --git a/fingerprint_pro_server_api_sdk/configuration.py b/fingerprint_pro_server_api_sdk/configuration.py index be7ac755..9c5f72d3 100644 --- a/fingerprint_pro_server_api_sdk/configuration.py +++ b/fingerprint_pro_server_api_sdk/configuration.py @@ -263,5 +263,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3\n"\ - "SDK Package Version: 1.3.0".\ + "SDK Package Version: 2.0.0".\ format(env=sys.platform, pyversion=sys.version) \ No newline at end of file diff --git a/generate.sh b/generate.sh index 84f25c97..ed5aa430 100755 --- a/generate.sh +++ b/generate.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION='1.3.0' +VERSION='2.0.0' while getopts "v:" arg; do case $arg in diff --git a/setup.py b/setup.py index ece57163..8abfa04e 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "fingerprint-pro-server-api-sdk" -VERSION = "1.3.0" +VERSION = "2.0.0" # To install the library, run the following # # python setup.py install diff --git a/test/test_fingerprint_api.py b/test/test_fingerprint_api.py index a11671e8..eaadc44e 100644 --- a/test/test_fingerprint_api.py +++ b/test/test_fingerprint_api.py @@ -24,7 +24,7 @@ API_KEY = 'private_key' -VERSION = '1.3.0' +VERSION = '2.0.0' class MockPoolManager(object): def __init__(self, tc):