diff --git a/CHANGELOG.md b/CHANGELOG.md index d52357d..277a12f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm None + + +## [5.1.1] - 2025-02-18 + +### Changed + +- Make statusCallbackURL property mandatory for CreateConference + ## [5.1.0] - 2025-02-05 diff --git a/README.md b/README.md index bcce84a..794d10c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 5.1.0 +- Package version: 5.1.1 - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/) diff --git a/docs/CreateConferenceRequest.md b/docs/CreateConferenceRequest.md index 6cfee26..4a57edc 100644 --- a/docs/CreateConferenceRequest.md +++ b/docs/CreateConferenceRequest.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **play_beep** | [**PlayBeep**](PlayBeep.md) | | [optional] **record** | **bool** | Setting to `true` records the entire Conference. | [optional] **wait_url** | **str** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &mdash; when the Conference is created. | [optional] -**status_callback_url** | **str** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [optional] +**status_callback_url** | **str** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | ## Example diff --git a/freeclimb/__init__.py b/freeclimb/__init__.py index 2e9c502..57b96b3 100644 --- a/freeclimb/__init__.py +++ b/freeclimb/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "5.1.0" +__version__ = "5.1.1" # import apis into sdk package from freeclimb.api.default_api import DefaultApi as DefaultApi diff --git a/freeclimb/api_client.py b/freeclimb/api_client.py index 28a985c..7303eaa 100644 --- a/freeclimb/api_client.py +++ b/freeclimb/api_client.py @@ -88,7 +88,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "OpenAPI-Generator/5.1.0/python" + self.user_agent = "OpenAPI-Generator/5.1.1/python" self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/freeclimb/configuration.py b/freeclimb/configuration.py index 6df67e1..54be454 100644 --- a/freeclimb/configuration.py +++ b/freeclimb/configuration.py @@ -427,7 +427,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 1.0.0\n" - "SDK Package Version: 5.1.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 5.1.1".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self): diff --git a/freeclimb/models/create_conference_request.py b/freeclimb/models/create_conference_request.py index 6a45cf2..12fd1ab 100644 --- a/freeclimb/models/create_conference_request.py +++ b/freeclimb/models/create_conference_request.py @@ -46,8 +46,7 @@ class CreateConferenceRequest( description="If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once — when the Conference is created.", alias="waitUrl", ) - status_callback_url: Optional[StrictStr] = Field( - default=None, + status_callback_url: StrictStr = Field( description="This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).", alias="statusCallbackUrl", ) diff --git a/openapi.json b/openapi.json index 0302013..e8f5da9 100644 --- a/openapi.json +++ b/openapi.json @@ -3658,6 +3658,9 @@ }, "CreateConferenceRequest": { "type": "object", + "required": [ + "statusCallbackUrl" + ], "properties": { "alias": { "type": "string", diff --git a/package.json b/package.json index df830c5..a8336b0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "dependencies": { "@stoplight/prism-cli": "5.6.0", "fast-xml-parser": "^4.5.0", - "jsonpath-plus": "^10.0.0" + "jsonpath-plus": "^10.3.0" }, "resolutions": { "@stoplight/json": "3.20.0" diff --git a/pyproject.toml b/pyproject.toml index bfc7645..44b6432 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "freeclimb" -version = "5.1.0" +version = "5.1.1" description = "FreeClimb API" authors = ["FreeClimb API Support "] license = "NoLicense" diff --git a/setup.py b/setup.py index c5f92c0..1455f48 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "FreeClimb" -VERSION = "5.1.0" +VERSION = "5.1.1" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ "urllib3 >= 1.25.3, < 3.0.0", diff --git a/test/models/test_create_conference_request.py b/test/models/test_create_conference_request.py index 45a0910..cea4fd2 100644 --- a/test/models/test_create_conference_request.py +++ b/test/models/test_create_conference_request.py @@ -25,7 +25,9 @@ class TestCreateConferenceRequest(unittest.TestCase): """CreateConferenceRequest unit test stubs""" def setUp(self): - self.model = CreateConferenceRequest() + self.model = CreateConferenceRequest( + status_callback_url="TS", + ) def test_alias(self): """Test CreateConferenceRequest.alias""" diff --git a/yarn.lock b/yarn.lock index 05c5376..6aeaf0f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -783,7 +783,7 @@ jsonc-parser@~2.2.1: resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.2.1.tgz#db73cd59d78cce28723199466b2a03d1be1df2bc" integrity sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w== -jsonpath-plus@^10.0.0, jsonpath-plus@^10.1.0, jsonpath-plus@^7.2.0: +jsonpath-plus@^10.1.0: version "10.2.0" resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.2.0.tgz#84d680544d9868579cc7c8f59bbe153a5aad54c4" integrity sha512-T9V+8iNYKFL2n2rF+w02LBOT2JjDnTjioaNFrxRy0Bv1y/hNsqR/EBK7Ojy2ythRHwmz2cRIls+9JitQGZC/sw== @@ -792,6 +792,20 @@ jsonpath-plus@^10.0.0, jsonpath-plus@^10.1.0, jsonpath-plus@^7.2.0: "@jsep-plugin/regex" "^1.0.4" jsep "^1.4.0" +jsonpath-plus@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz#59e22e4fa2298c68dfcd70659bb47f0cad525238" + integrity sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA== + dependencies: + "@jsep-plugin/assignment" "^1.3.0" + "@jsep-plugin/regex" "^1.0.4" + jsep "^1.4.0" + +jsonpath-plus@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz#7ad94e147b3ed42f7939c315d2b9ce490c5a3899" + integrity sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA== + liquid-json@0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/liquid-json/-/liquid-json-0.3.1.tgz#9155a18136d8a6b2615e5f16f9a2448ab6b50eea"