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.11.0
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.11.0"

# 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.11.0/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.11.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
21 changes: 15 additions & 6 deletions shotstack_sdk/model/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def lazy_import():
CaptionMargin
ChromaKey
Crop
Html5Asset
HtmlAsset
ImageAsset
ImageToVideoAsset
Expand Down Expand Up @@ -101,6 +102,7 @@ class Asset(ModelComposed):
''caption'': 'caption',
''rich-caption'': 'rich-caption',
''html'': 'html',
''html5'': 'html5',
''title'': 'title',
''shape'': 'shape',
''svg'': 'svg',
Expand Down Expand Up @@ -226,6 +228,7 @@ def openapi_types():
'active': (RichCaptionActive,), # noqa: E501
'css': (str,), # noqa: E501
'position': (str,), # noqa: E501
'js': (str,), # noqa: E501
'color': (str,), # noqa: E501
'size': (str,), # noqa: E501
'offset': (Offset,), # noqa: E501
Expand All @@ -245,6 +248,7 @@ def discriminator():
'audio': AudioAsset,
'caption': CaptionAsset,
'html': HtmlAsset,
'html5': Html5Asset,
'image': ImageAsset,
'image-to-video': ImageToVideoAsset,
'luma': LumaAsset,
Expand All @@ -259,6 +263,7 @@ def discriminator():
'video': VideoAsset,
'AudioAsset': AudioAsset,
'CaptionAsset': CaptionAsset,
'Html5Asset': Html5Asset,
'HtmlAsset': HtmlAsset,
'ImageAsset': ImageAsset,
'ImageToVideoAsset': ImageToVideoAsset,
Expand Down Expand Up @@ -310,6 +315,7 @@ def discriminator():
'active': 'active', # noqa: E501
'css': 'css', # noqa: E501
'position': 'position', # noqa: E501
'js': 'js', # noqa: E501
'color': 'color', # noqa: E501
'size': 'size', # noqa: E501
'offset': 'offset', # noqa: E501
Expand All @@ -331,10 +337,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
"""Asset - a model defined in OpenAPI

Keyword Args:
type (str): The type of asset - set to `video` for videos.. defaults to 'video', must be one of ['video', 'image', 'text', 'rich-text', 'audio', 'luma', 'caption', 'rich-caption', 'html', 'title', 'shape', 'svg', 'text-to-image', 'image-to-video', 'text-to-speech', ] # noqa: E501
type (str): The type of asset - set to `video` for videos.. defaults to 'video', must be one of ['video', 'image', 'text', 'rich-text', 'audio', 'luma', 'caption', 'rich-caption', 'html', 'html5', 'title', 'shape', 'svg', 'text-to-image', 'image-to-video', 'text-to-speech', ] # noqa: E501
src (str): The image source URL. The URL must be publicly accessible or include credentials.
text (str): The text to convert to speech.
html (str): The HTML text string. See list of [supported HTML tags](https://shotstack.io/docs/guide/architecting-an-application/html-support/#supported-html-tags).
html (str): The HTML markup for the asset.
shape (str): The shape to display.
prompt (str): The instructions for modifying the image into a video sequence.
voice (str): The voice to use for the text-to-speech conversion.
Expand Down Expand Up @@ -391,8 +397,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
effect (str): The effect to apply to the audio asset <ul> <li>`fadeIn` - fade volume in only</li> <li>`fadeOut` - fade volume out only</li> <li>`fadeInFadeOut` - fade volume in and out</li> </ul>. [optional] # noqa: E501
margin (CaptionMargin): [optional] # noqa: E501
active (RichCaptionActive): [optional] # noqa: E501
css (str): The CSS text string to apply styling to the HTML. See list of [support CSS properties](https://shotstack.io/docs/guide/architecting-an-application/html-support/#supported-css-properties).. [optional] # noqa: E501
css (str): The CSS string applied to the HTML.. [optional] # noqa: E501
position (str): Place the title in one of nine predefined positions of the viewport. <ul> <li>`top` - top (center)</li> <li>`topRight` - top right</li> <li>`right` - right (center)</li> <li>`bottomRight` - bottom right</li> <li>`bottom` - bottom (center)</li> <li>`bottomLeft` - bottom left</li> <li>`left` - left (center)</li> <li>`topLeft` - top left</li> <li>`center` - center</li> </ul>. [optional] # noqa: E501
js (str): Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically. . [optional] # noqa: E501
color (str): Set the text color using hexadecimal color notation. Transparency is supported by setting the first two characters of the hex string (opposite to HTML), i.e. #80ffffff will be white with 50% transparency.. [optional] # noqa: E501
size (str): Set the relative size of the text using predefined sizes from xx-small to xx-large. <ul> <li>`xx-small`</li> <li>`x-small`</li> <li>`small`</li> <li>`medium`</li> <li>`large`</li> <li>`x-large`</li> <li>`xx-large`</li> </ul>. [optional] # noqa: E501
offset (Offset): [optional] # noqa: E501
Expand Down Expand Up @@ -473,10 +480,10 @@ def __init__(self, *args, **kwargs): # noqa: E501
"""Asset - a model defined in OpenAPI

Keyword Args:
type (str): The type of asset - set to `video` for videos.. defaults to 'video', must be one of ['video', 'image', 'text', 'rich-text', 'audio', 'luma', 'caption', 'rich-caption', 'html', 'title', 'shape', 'svg', 'text-to-image', 'image-to-video', 'text-to-speech', ] # noqa: E501
type (str): The type of asset - set to `video` for videos.. defaults to 'video', must be one of ['video', 'image', 'text', 'rich-text', 'audio', 'luma', 'caption', 'rich-caption', 'html', 'html5', 'title', 'shape', 'svg', 'text-to-image', 'image-to-video', 'text-to-speech', ] # noqa: E501
src (str): The image source URL. The URL must be publicly accessible or include credentials.
text (str): The text to convert to speech.
html (str): The HTML text string. See list of [supported HTML tags](https://shotstack.io/docs/guide/architecting-an-application/html-support/#supported-html-tags).
html (str): The HTML markup for the asset.
shape (str): The shape to display.
prompt (str): The instructions for modifying the image into a video sequence.
voice (str): The voice to use for the text-to-speech conversion.
Expand Down Expand Up @@ -533,8 +540,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
effect (str): The effect to apply to the audio asset <ul> <li>`fadeIn` - fade volume in only</li> <li>`fadeOut` - fade volume out only</li> <li>`fadeInFadeOut` - fade volume in and out</li> </ul>. [optional] # noqa: E501
margin (CaptionMargin): [optional] # noqa: E501
active (RichCaptionActive): [optional] # noqa: E501
css (str): The CSS text string to apply styling to the HTML. See list of [support CSS properties](https://shotstack.io/docs/guide/architecting-an-application/html-support/#supported-css-properties).. [optional] # noqa: E501
css (str): The CSS string applied to the HTML.. [optional] # noqa: E501
position (str): Place the title in one of nine predefined positions of the viewport. <ul> <li>`top` - top (center)</li> <li>`topRight` - top right</li> <li>`right` - right (center)</li> <li>`bottomRight` - bottom right</li> <li>`bottom` - bottom (center)</li> <li>`bottomLeft` - bottom left</li> <li>`left` - left (center)</li> <li>`topLeft` - top left</li> <li>`center` - center</li> </ul>. [optional] # noqa: E501
js (str): Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically. . [optional] # noqa: E501
color (str): Set the text color using hexadecimal color notation. Transparency is supported by setting the first two characters of the hex string (opposite to HTML), i.e. #80ffffff will be white with 50% transparency.. [optional] # noqa: E501
size (str): Set the relative size of the text using predefined sizes from xx-small to xx-large. <ul> <li>`xx-small`</li> <li>`x-small`</li> <li>`small`</li> <li>`medium`</li> <li>`large`</li> <li>`x-large`</li> <li>`xx-large`</li> </ul>. [optional] # noqa: E501
offset (Offset): [optional] # noqa: E501
Expand Down Expand Up @@ -615,6 +623,7 @@ def _composed_schemas():
'oneOf': [
AudioAsset,
CaptionAsset,
Html5Asset,
HtmlAsset,
ImageAsset,
ImageToVideoAsset,
Expand Down
Loading