Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .oas-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.4
1.10.8
2 changes: 1 addition & 1 deletion shotstack_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""


__version__ = "1.10.4"
__version__ = "1.10.8"

# import ApiClient
from shotstack_sdk.api_client import ApiClient
Expand Down
2 changes: 1 addition & 1 deletion shotstack_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shotstack_sdk/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions shotstack_sdk/model/rich_caption_asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions shotstack_sdk/model/rich_text_background.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 = {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down