diff --git a/.oas-version b/.oas-version index 18b3114..3cc3669 100644 --- a/.oas-version +++ b/.oas-version @@ -1 +1 @@ -1.10.4 +1.10.8 diff --git a/shotstack_sdk/__init__.py b/shotstack_sdk/__init__.py index 21a63c1..293676a 100644 --- a/shotstack_sdk/__init__.py +++ b/shotstack_sdk/__init__.py @@ -11,7 +11,7 @@ """ -__version__ = "1.10.4" +__version__ = "1.10.8" # import ApiClient from shotstack_sdk.api_client import ApiClient diff --git a/shotstack_sdk/api_client.py b/shotstack_sdk/api_client.py index 952fdb0..ef16d0b 100644 --- a/shotstack_sdk/api_client.py +++ b/shotstack_sdk/api_client.py @@ -77,7 +77,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 = 'OpenAPI-Generator/1.10.4/python' + self.user_agent = 'OpenAPI-Generator/1.10.8/python' def __enter__(self): return self diff --git a/shotstack_sdk/configuration.py b/shotstack_sdk/configuration.py index 120b8b3..87e1fc4 100644 --- a/shotstack_sdk/configuration.py +++ b/shotstack_sdk/configuration.py @@ -410,7 +410,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1\n"\ - "SDK Package Version: 1.10.4".\ + "SDK Package Version: 1.10.8".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/shotstack_sdk/model/rich_caption_asset.py b/shotstack_sdk/model/rich_caption_asset.py index 40fe07e..ff41834 100644 --- a/shotstack_sdk/model/rich_caption_asset.py +++ b/shotstack_sdk/model/rich_caption_asset.py @@ -140,7 +140,7 @@ def _from_openapi_data(cls, src, *args, **kwargs): # noqa: E501 """RichCaptionAsset - a model defined in OpenAPI Args: - src (str): The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format `alias://clip-name` where clip-name is the alias of an audio, video, or text-to-speech clip. + src (str): Source for the caption words. Accepts three formats: (1) the URL to a subtitle file (`.srt`, `.vtt`, `.ttml`, or `.dfxp`) which is parsed directly; (2) the URL to an audio or video media file (`.mp4`, `.mov`, `.webm`, `.mp3`, `.wav`, `.m4a`, `.flac`, `.aac`, `.ogg`, and related formats) which is auto-transcribed; (3) an alias reference in the form `alias://clip-name` where `clip-name` is the alias of another audio, video, or text-to-speech clip in the same timeline — the referenced clip's source is auto-transcribed. For file URLs, the URL must be publicly accessible or include credentials. Content is classified at runtime and unsupported content types (HTML, PDF, images, archives) are rejected with a structured error. Keyword Args: type (str): The type of asset - set to `rich-caption` for rich captions.. defaults to 'rich-caption', must be one of ['rich-caption', ] # noqa: E501 @@ -238,7 +238,7 @@ def __init__(self, src, *args, **kwargs): # noqa: E501 """RichCaptionAsset - a model defined in OpenAPI Args: - src (str): The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format `alias://clip-name` where clip-name is the alias of an audio, video, or text-to-speech clip. + src (str): Source for the caption words. Accepts three formats: (1) the URL to a subtitle file (`.srt`, `.vtt`, `.ttml`, or `.dfxp`) which is parsed directly; (2) the URL to an audio or video media file (`.mp4`, `.mov`, `.webm`, `.mp3`, `.wav`, `.m4a`, `.flac`, `.aac`, `.ogg`, and related formats) which is auto-transcribed; (3) an alias reference in the form `alias://clip-name` where `clip-name` is the alias of another audio, video, or text-to-speech clip in the same timeline — the referenced clip's source is auto-transcribed. For file URLs, the URL must be publicly accessible or include credentials. Content is classified at runtime and unsupported content types (HTML, PDF, images, archives) are rejected with a structured error. Keyword Args: type (str): The type of asset - set to `rich-caption` for rich captions.. defaults to 'rich-caption', must be one of ['rich-caption', ] # noqa: E501 diff --git a/shotstack_sdk/model/rich_text_background.py b/shotstack_sdk/model/rich_text_background.py index 8c650bd..75ab1da 100644 --- a/shotstack_sdk/model/rich_text_background.py +++ b/shotstack_sdk/model/rich_text_background.py @@ -91,6 +91,7 @@ def openapi_types(): 'color': (str,), # noqa: E501 'opacity': (float,), # noqa: E501 'border_radius': (float,), # noqa: E501 + 'wrap': (bool,), # noqa: E501 } @cached_property @@ -102,6 +103,7 @@ def discriminator(): 'color': 'color', # noqa: E501 'opacity': 'opacity', # noqa: E501 'border_radius': 'borderRadius', # noqa: E501 + 'wrap': 'wrap', # noqa: E501 } read_only_vars = { @@ -148,6 +150,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 color (str): The background color using hexadecimal color notation.. [optional] # noqa: E501 opacity (float): The opacity of the background where 1 is opaque and 0 is transparent.. [optional] if omitted the server will use the default value of 1 # noqa: E501 border_radius (float): The border radius of the background box in pixels. Must be 0 or greater.. [optional] if omitted the server will use the default value of 0 # noqa: E501 + wrap (bool): When true, the background pill shrinks to fit the rendered text bounding box plus the asset's padding (and stroke width, if present), producing a pill or badge effect. When false (default), the background fills the full asset content area. Available on rich-text and rich-caption assets only; not supported on legacy `type: text`. . [optional] if omitted the server will use the default value of False # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -232,6 +235,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 color (str): The background color using hexadecimal color notation.. [optional] # noqa: E501 opacity (float): The opacity of the background where 1 is opaque and 0 is transparent.. [optional] if omitted the server will use the default value of 1 # noqa: E501 border_radius (float): The border radius of the background box in pixels. Must be 0 or greater.. [optional] if omitted the server will use the default value of 0 # noqa: E501 + wrap (bool): When true, the background pill shrinks to fit the rendered text bounding box plus the asset's padding (and stroke width, if present), producing a pill or badge effect. When false (default), the background fills the full asset content area. Available on rich-text and rich-caption assets only; not supported on legacy `type: text`. . [optional] if omitted the server will use the default value of False # noqa: E501 """ _check_type = kwargs.pop('_check_type', True)