From eb08c84313ffd728521ee147de12212d20c38502 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Oct 2026 08:28:13 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Shotstack.Exceptions.g.cs | 26 ++++++++++++ ...hotstack.Ingest.JsonSerializerContext.g.cs | 1 + .../Shotstack.JsonSerializerContext.g.cs | 1 + .../Shotstack.JsonSerializerContextTypes.g.cs | 5 +++ ...Shotstack.Models.RichCaptionAnimation.g.cs | 8 ++-- ....Models.RichCaptionAnimationDirection.g.cs | 2 +- ...tack.Models.RichCaptionAnimationStyle.g.cs | 2 +- .../Shotstack.Models.RichTextAnimation.g.cs | 40 +++++++++---------- ...ack.Models.RichTextAnimationDirection.g.cs | 2 +- ...tstack.Models.RichTextAnimationPreset.g.cs | 14 +++---- ...otstack.Models.RichTextAnimationStyle.g.cs | 2 +- .../Shotstack.Models.Transition.g.cs | 8 ++-- .../Shotstack.Models.TransitionIn.g.cs | 2 +- .../Shotstack.Models.TransitionOut.g.cs | 2 +- .../Generated/Shotstack.Models.Tween.g.cs | 2 + ...Shotstack.Serve.JsonSerializerContext.g.cs | 1 + src/libs/Shotstack/openapi.json | 18 ++++----- 17 files changed, 86 insertions(+), 50 deletions(-) diff --git a/src/libs/Shotstack/Generated/Shotstack.Exceptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Exceptions.g.cs index 3133ac2..7bef3b8 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Exceptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Exceptions.g.cs @@ -20,6 +20,32 @@ public partial class ApiException : global::System.Exception /// public string? ResponseBody { get; set; } + /// + /// Successful HTTP responses that fail during processing put the cause before a bounded body preview. + /// Inspect ResponseBody for the full response; HTTP service-error messages retain their existing format. + /// + public override string Message + { + get + { + if ((int)StatusCode < 200 || (int)StatusCode >= 300 || InnerException == null) + { + return base.Message; + } + + string? path = (InnerException as global::System.Text.Json.JsonException)?.Path; + return "Response processing failed after successful HTTP " + + ((int)StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture) + ": " + + InnerException.GetType().FullName + ": " + BoundDiagnosticText(InnerException.Message) + + (string.IsNullOrEmpty(path) ? string.Empty : " Path: " + BoundDiagnosticText(path, 256)) + + "\nResponse preview: " + BoundDiagnosticText(base.Message); + } + } + + private static string BoundDiagnosticText(string? value, int maximumLength = 512) => + value == null ? string.Empty : + value.Length <= maximumLength ? value : value.Substring(0, maximumLength) + "... [truncated]"; + /// /// The response headers. /// diff --git a/src/libs/Shotstack/Generated/Shotstack.Ingest.JsonSerializerContext.g.cs b/src/libs/Shotstack/Generated/Shotstack.Ingest.JsonSerializerContext.g.cs index da82d17..34827ba 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Ingest.JsonSerializerContext.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Ingest.JsonSerializerContext.g.cs @@ -12,6 +12,7 @@ namespace Shotstack [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(string[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs index 9f05091..39bdb20 100644 --- a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs @@ -384,6 +384,7 @@ namespace Shotstack #pragma warning restore CS3016 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.JsonSerializerContextTypes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(string[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.Edit))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.Timeline))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.Output))] diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs index 70d7db6..8342d50 100644 --- a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs @@ -25,6 +25,11 @@ public sealed partial class JsonSerializerContextTypes /// public global::System.Collections.Generic.List? ObjectList { get; set; } + /// + /// String arrays used by dynamic JSON option values. + /// + public string[]? StringArray { get; set; } + /// /// /// diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs index f7630df..6540c5c 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs @@ -14,7 +14,7 @@ public sealed partial class RichCaptionAnimation /// <li>`highlight` - Word changes to active color when spoken (shows all words)</li>
/// <li>`pop` - Each word scales up when active</li>
/// <li>`fade` - Gradual opacity transition per word</li>
- /// <li>`slide` - Words slide in from a direction</li>
+ /// <li>`slide` - Words slide in, travelling in `direction`</li>
/// <li>`bounce` - Spring animation on word appearance</li>
/// <li>`typewriter` - Words appear one by one and stay visible</li>
/// <li>`none` - No animation, all words visible immediately</li>
@@ -30,7 +30,7 @@ public sealed partial class RichCaptionAnimation public required global::Shotstack.RichCaptionAnimationStyle Style { get; set; } = global::Shotstack.RichCaptionAnimationStyle.Highlight; /// - /// Direction for directional animations (slide). Only applicable when style is `slide`.
+ /// The direction words travel when style is `slide`.
/// Default Value: up
/// Example: up ///
@@ -54,7 +54,7 @@ public sealed partial class RichCaptionAnimation /// <li>`highlight` - Word changes to active color when spoken (shows all words)</li>
/// <li>`pop` - Each word scales up when active</li>
/// <li>`fade` - Gradual opacity transition per word</li>
- /// <li>`slide` - Words slide in from a direction</li>
+ /// <li>`slide` - Words slide in, travelling in `direction`</li>
/// <li>`bounce` - Spring animation on word appearance</li>
/// <li>`typewriter` - Words appear one by one and stay visible</li>
/// <li>`none` - No animation, all words visible immediately</li>
@@ -63,7 +63,7 @@ public sealed partial class RichCaptionAnimation /// Example: highlight /// /// - /// Direction for directional animations (slide). Only applicable when style is `slide`.
+ /// The direction words travel when style is `slide`.
/// Default Value: up
/// Example: up /// diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationDirection.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationDirection.g.cs index 0e85568..2cb4dfb 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationDirection.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationDirection.g.cs @@ -4,7 +4,7 @@ namespace Shotstack { /// - /// Direction for directional animations (slide). Only applicable when style is `slide`.
+ /// The direction words travel when style is `slide`.
/// Default Value: up
/// Example: up ///
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationStyle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationStyle.g.cs index 9096707..19d5f44 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationStyle.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimationStyle.g.cs @@ -9,7 +9,7 @@ namespace Shotstack /// <li>`highlight` - Word changes to active color when spoken (shows all words)</li>
/// <li>`pop` - Each word scales up when active</li>
/// <li>`fade` - Gradual opacity transition per word</li>
- /// <li>`slide` - Words slide in from a direction</li>
+ /// <li>`slide` - Words slide in, travelling in `direction`</li>
/// <li>`bounce` - Spring animation on word appearance</li>
/// <li>`typewriter` - Words appear one by one and stay visible</li>
/// <li>`none` - No animation, all words visible immediately</li>
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs index 9b31ff0..9a9f55d 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs @@ -9,13 +9,13 @@ namespace Shotstack public sealed partial class RichTextAnimation { /// - /// The animation preset to apply. Available presets: <ul>
- /// <li>`fadeIn` - fadeIn in animation</li>
- /// <li>`slideIn` - slide in from a direction</li>
- /// <li>`typewriter` - typewriter effect</li>
- /// <li>`ascend` - ascend from a direction</li>
- /// <li>`shift` - shift in from a direction</li>
- /// <li>`movingLetters` - letters move in from a direction</li>
+ /// The animation preset to apply. Every preset starts with the clip. Available presets: <ul>
+ /// <li>`fadeIn` - fade in</li>
+ /// <li>`slideIn` - fade in while sliding in `direction`</li>
+ /// <li>`typewriter` - type the text out behind a cursor</li>
+ /// <li>`ascend` - each word rises (`up`) or drops (`down`) into place</li>
+ /// <li>`shift` - fade in while shifting a short distance in `direction`</li>
+ /// <li>`movingLetters` - fade in, then ripple the letters along `direction` for the rest of the clip. Ignores `duration` and `style`.</li>
/// </ul>
/// Example: shift ///
@@ -26,7 +26,7 @@ public sealed partial class RichTextAnimation public required global::Shotstack.RichTextAnimationPreset Preset { get; set; } /// - /// Override animation duration in seconds. Must be between 0.1 and 30 seconds.
+ /// Override animation duration in seconds. Must be between 0.1 and 30 seconds. When omitted, the text animates at about 30 characters per second, taking at least 0.3 seconds and at most 90% of the clip.
/// Example: 2 ///
/// 2 @@ -34,7 +34,7 @@ public sealed partial class RichTextAnimation public double? Duration { get; set; } /// - /// Animation style - animate by character or by word. Only applicable for typewriter and shift animations.
+ /// Animate by character or by word. Applies to `fadeIn`, `slideIn`, `typewriter` and `shift`, where `shift` defaults to `character`. `ascend` always animates by word.
/// Example: character ///
/// character @@ -43,7 +43,7 @@ public sealed partial class RichTextAnimation public global::Shotstack.RichTextAnimationStyle? Style { get; set; } /// - /// Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets. <ul>
+ /// The direction the text travels. Defaults to `left` for `slideIn` and `shift`, and to `up` for `ascend` and `movingLetters`. <ul>
/// <li>`ascend` - supports: up, down</li>
/// <li>`shift` - supports: left, right, up, down</li>
/// <li>`slideIn` - supports: left, right, up, down</li>
@@ -66,26 +66,26 @@ public sealed partial class RichTextAnimation /// Initializes a new instance of the class. ///
/// - /// The animation preset to apply. Available presets: <ul>
- /// <li>`fadeIn` - fadeIn in animation</li>
- /// <li>`slideIn` - slide in from a direction</li>
- /// <li>`typewriter` - typewriter effect</li>
- /// <li>`ascend` - ascend from a direction</li>
- /// <li>`shift` - shift in from a direction</li>
- /// <li>`movingLetters` - letters move in from a direction</li>
+ /// The animation preset to apply. Every preset starts with the clip. Available presets: <ul>
+ /// <li>`fadeIn` - fade in</li>
+ /// <li>`slideIn` - fade in while sliding in `direction`</li>
+ /// <li>`typewriter` - type the text out behind a cursor</li>
+ /// <li>`ascend` - each word rises (`up`) or drops (`down`) into place</li>
+ /// <li>`shift` - fade in while shifting a short distance in `direction`</li>
+ /// <li>`movingLetters` - fade in, then ripple the letters along `direction` for the rest of the clip. Ignores `duration` and `style`.</li>
/// </ul>
/// Example: shift /// /// - /// Override animation duration in seconds. Must be between 0.1 and 30 seconds.
+ /// Override animation duration in seconds. Must be between 0.1 and 30 seconds. When omitted, the text animates at about 30 characters per second, taking at least 0.3 seconds and at most 90% of the clip.
/// Example: 2 /// /// - /// Animation style - animate by character or by word. Only applicable for typewriter and shift animations.
+ /// Animate by character or by word. Applies to `fadeIn`, `slideIn`, `typewriter` and `shift`, where `shift` defaults to `character`. `ascend` always animates by word.
/// Example: character /// /// - /// Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets. <ul>
+ /// The direction the text travels. Defaults to `left` for `slideIn` and `shift`, and to `up` for `ascend` and `movingLetters`. <ul>
/// <li>`ascend` - supports: up, down</li>
/// <li>`shift` - supports: left, right, up, down</li>
/// <li>`slideIn` - supports: left, right, up, down</li>
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationDirection.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationDirection.g.cs index befae9b..669786a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationDirection.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationDirection.g.cs @@ -4,7 +4,7 @@ namespace Shotstack { /// - /// Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets. <ul>
+ /// The direction the text travels. Defaults to `left` for `slideIn` and `shift`, and to `up` for `ascend` and `movingLetters`. <ul>
/// <li>`ascend` - supports: up, down</li>
/// <li>`shift` - supports: left, right, up, down</li>
/// <li>`slideIn` - supports: left, right, up, down</li>
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationPreset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationPreset.g.cs index 81cc7e7..979db8e 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationPreset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationPreset.g.cs @@ -4,13 +4,13 @@ namespace Shotstack { /// - /// The animation preset to apply. Available presets: <ul>
- /// <li>`fadeIn` - fadeIn in animation</li>
- /// <li>`slideIn` - slide in from a direction</li>
- /// <li>`typewriter` - typewriter effect</li>
- /// <li>`ascend` - ascend from a direction</li>
- /// <li>`shift` - shift in from a direction</li>
- /// <li>`movingLetters` - letters move in from a direction</li>
+ /// The animation preset to apply. Every preset starts with the clip. Available presets: <ul>
+ /// <li>`fadeIn` - fade in</li>
+ /// <li>`slideIn` - fade in while sliding in `direction`</li>
+ /// <li>`typewriter` - type the text out behind a cursor</li>
+ /// <li>`ascend` - each word rises (`up`) or drops (`down`) into place</li>
+ /// <li>`shift` - fade in while shifting a short distance in `direction`</li>
+ /// <li>`movingLetters` - fade in, then ripple the letters along `direction` for the rest of the clip. Ignores `duration` and `style`.</li>
/// </ul>
/// Example: shift ///
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationStyle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationStyle.g.cs index 12fd16c..fcf8c17 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationStyle.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimationStyle.g.cs @@ -4,7 +4,7 @@ namespace Shotstack { /// - /// Animation style - animate by character or by word. Only applicable for typewriter and shift animations.
+ /// Animate by character or by word. Applies to `fadeIn`, `slideIn`, `typewriter` and `shift`, where `shift` defaults to `character`. `ascend` always animates by word.
/// Example: character ///
public enum RichTextAnimationStyle diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs index c9cf7cd..e6c5ca7 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs @@ -33,7 +33,7 @@ public sealed partial class Transition /// <li>`shuffleTopLeft` - rotate in from top left</li>
/// <li>`zoom` - fast zoom in</li>
/// </ul>
- /// The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`. + /// The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("in")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.TransitionInJsonConverter))] @@ -64,7 +64,7 @@ public sealed partial class Transition /// <li>`shuffleTopLeft` - rotate out from top left</li>
/// <li>`zoom` - fast zoom out</li>
/// </ul>
- /// The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`. + /// The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`. /// [global::System.Text.Json.Serialization.JsonPropertyName("out")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.TransitionOutJsonConverter))] @@ -104,7 +104,7 @@ public sealed partial class Transition /// <li>`shuffleTopLeft` - rotate in from top left</li>
/// <li>`zoom` - fast zoom in</li>
/// </ul>
- /// The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`. + /// The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`. /// /// /// The transition out. Available transitions are:
@@ -131,7 +131,7 @@ public sealed partial class Transition /// <li>`shuffleTopLeft` - rotate out from top left</li>
/// <li>`zoom` - fast zoom out</li>
/// </ul>
- /// The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`. + /// The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TransitionIn.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TransitionIn.g.cs index 4d46d9e..69e434c 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TransitionIn.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TransitionIn.g.cs @@ -28,7 +28,7 @@ namespace Shotstack /// <li>`shuffleTopLeft` - rotate in from top left</li>
/// <li>`zoom` - fast zoom in</li>
/// </ul>
- /// The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`. + /// The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`. /// public enum TransitionIn { diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TransitionOut.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TransitionOut.g.cs index 5b20b7a..42fb2b1 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TransitionOut.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TransitionOut.g.cs @@ -28,7 +28,7 @@ namespace Shotstack /// <li>`shuffleTopLeft` - rotate out from top left</li>
/// <li>`zoom` - fast zoom out</li>
/// </ul>
- /// The transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`. + /// The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`. /// public enum TransitionOut { diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs index 51ab5c7..be428d2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs @@ -8,9 +8,11 @@ namespace Shotstack /// <ul>
/// <li>Opacity - animate the transparency of a clip.</li>
/// <li>Offset - animate the x and y position of a clip.</li>
+ /// <li>Scale - animate the size of a clip.</li>
/// <li>Rotation - animate the rotation of a clip.</li>
/// <li>Skew - animate the horizontal and vertical shearing effect.</li>
/// <li>Volume - animate the audio volume of a clip.</li>
+ /// <li>Speed - animate the playback speed of a video clip.</li>
/// </ul> /// public sealed partial class Tween diff --git a/src/libs/Shotstack/Generated/Shotstack.Serve.JsonSerializerContext.g.cs b/src/libs/Shotstack/Generated/Shotstack.Serve.JsonSerializerContext.g.cs index 47a32c2..e968f64 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Serve.JsonSerializerContext.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Serve.JsonSerializerContext.g.cs @@ -12,6 +12,7 @@ namespace Shotstack [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(string[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] diff --git a/src/libs/Shotstack/openapi.json b/src/libs/Shotstack/openapi.json index 55d3cbf..ba9f765 100644 --- a/src/libs/Shotstack/openapi.json +++ b/src/libs/Shotstack/openapi.json @@ -2506,7 +2506,7 @@ "type": "object", "properties": { "style": { - "description": "The animation style to apply to words:
    \n
  • `karaoke` - Word-by-word color fill as spoken (shows all words, highlights active)
  • \n
  • `highlight` - Word changes to active color when spoken (shows all words)
  • \n
  • `pop` - Each word scales up when active
  • \n
  • `fade` - Gradual opacity transition per word
  • \n
  • `slide` - Words slide in from a direction
  • \n
  • `bounce` - Spring animation on word appearance
  • \n
  • `typewriter` - Words appear one by one and stay visible
  • \n
  • `none` - No animation, all words visible immediately
  • \n
", + "description": "The animation style to apply to words:
    \n
  • `karaoke` - Word-by-word color fill as spoken (shows all words, highlights active)
  • \n
  • `highlight` - Word changes to active color when spoken (shows all words)
  • \n
  • `pop` - Each word scales up when active
  • \n
  • `fade` - Gradual opacity transition per word
  • \n
  • `slide` - Words slide in, travelling in `direction`
  • \n
  • `bounce` - Spring animation on word appearance
  • \n
  • `typewriter` - Words appear one by one and stay visible
  • \n
  • `none` - No animation, all words visible immediately
  • \n
", "type": "string", "enum": [ "karaoke", @@ -2522,7 +2522,7 @@ "example": "highlight" }, "direction": { - "description": "Direction for directional animations (slide). Only applicable when style is `slide`.", + "description": "The direction words travel when style is `slide`.", "type": "string", "enum": [ "left", @@ -2929,7 +2929,7 @@ "description": "In and out transitions for a clip - i.e. fade in and fade out", "properties": { "in": { - "description": "The transition in. Available transitions are:\n
    \n
  • `fade` - fade in
  • \n
  • `reveal` - reveal from left to right
  • \n
  • `wipeLeft` - fade across screen to the left
  • \n
  • `wipeRight` - fade across screen to the right
  • \n
  • `slideLeft` - move slightly left and fade in
  • \n
  • `slideRight` - move slightly right and fade in
  • \n
  • `slideUp` - move slightly up and fade in
  • \n
  • `slideDown` - move slightly down and fade in
  • \n
  • `carouselLeft` - slide in from right to left
  • \n
  • `carouselRight` - slide in from left to right
  • \n
  • `carouselUp` - slide in from bottom to top
  • \n
  • `carouselDown` - slide in from top to bottom
  • \n
  • `shuffleTopRight` - rotate in from top right
  • \n
  • `shuffleRightTop` - rotate in from right top
  • \n
  • `shuffleRightBottom` - rotate in from right bottom
  • \n
  • `shuffleBottomRight` - rotate in from bottom right
  • \n
  • `shuffleBottomLeft` - rotate in from bottom left
  • \n
  • `shuffleLeftBottom` - rotate in from left bottom
  • \n
  • `shuffleLeftTop` - rotate in from left top
  • \n
  • `shuffleTopLeft` - rotate in from top left
  • \n
  • `zoom` - fast zoom in
  • \n
\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.", + "description": "The transition in. Available transitions are:\n
    \n
  • `fade` - fade in
  • \n
  • `reveal` - reveal from left to right
  • \n
  • `wipeLeft` - fade across screen to the left
  • \n
  • `wipeRight` - fade across screen to the right
  • \n
  • `slideLeft` - move slightly left and fade in
  • \n
  • `slideRight` - move slightly right and fade in
  • \n
  • `slideUp` - move slightly up and fade in
  • \n
  • `slideDown` - move slightly down and fade in
  • \n
  • `carouselLeft` - slide in from right to left
  • \n
  • `carouselRight` - slide in from left to right
  • \n
  • `carouselUp` - slide in from bottom to top
  • \n
  • `carouselDown` - slide in from top to bottom
  • \n
  • `shuffleTopRight` - rotate in from top right
  • \n
  • `shuffleRightTop` - rotate in from right top
  • \n
  • `shuffleRightBottom` - rotate in from right bottom
  • \n
  • `shuffleBottomRight` - rotate in from bottom right
  • \n
  • `shuffleBottomLeft` - rotate in from bottom left
  • \n
  • `shuffleLeftBottom` - rotate in from left bottom
  • \n
  • `shuffleLeftTop` - rotate in from left top
  • \n
  • `shuffleTopLeft` - rotate in from top left
  • \n
  • `zoom` - fast zoom in
  • \n
\nThe transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`.", "enum": [ "none", "fade", @@ -2997,7 +2997,7 @@ "type": "string" }, "out": { - "description": "The transition out. Available transitions are:\n
    \n
  • `fade` - fade out
  • \n
  • `reveal` - reveal from right to left
  • \n
  • `wipeLeft` - fade across screen to the left
  • \n
  • `wipeRight` - fade across screen to the right
  • \n
  • `slideLeft` - move slightly left and fade out
  • \n
  • `slideRight` - move slightly right and fade out
  • \n
  • `slideUp` - move slightly up and fade out
  • \n
  • `slideDown` - move slightly down and fade out
  • \n
  • `carouselLeft` - slide out from right to left
  • \n
  • `carouselRight` - slide out from left to right
  • \n
  • `carouselUp` - slide out from bottom to top
  • \n
  • `carouselDown` - slide out from top to bottom
  • \n
  • `shuffleTopRight` - rotate out from top right
  • \n
  • `shuffleRightTop` - rotate out from right top
  • \n
  • `shuffleRightBottom` - rotate out from right bottom
  • \n
  • `shuffleBottomRight` - rotate out from bottom right
  • \n
  • `shuffleBottomLeft` - rotate out from bottom left
  • \n
  • `shuffleLeftBottom` - rotate out from left bottom
  • \n
  • `shuffleLeftTop` - rotate out from left top
  • \n
  • `shuffleTopLeft` - rotate out from top left
  • \n
  • `zoom` - fast zoom out
  • \n
\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.", + "description": "The transition out. Available transitions are:\n
    \n
  • `fade` - fade out
  • \n
  • `reveal` - reveal from right to left
  • \n
  • `wipeLeft` - fade across screen to the left
  • \n
  • `wipeRight` - fade across screen to the right
  • \n
  • `slideLeft` - move slightly left and fade out
  • \n
  • `slideRight` - move slightly right and fade out
  • \n
  • `slideUp` - move slightly up and fade out
  • \n
  • `slideDown` - move slightly down and fade out
  • \n
  • `carouselLeft` - slide out from right to left
  • \n
  • `carouselRight` - slide out from left to right
  • \n
  • `carouselUp` - slide out from bottom to top
  • \n
  • `carouselDown` - slide out from top to bottom
  • \n
  • `shuffleTopRight` - rotate out from top right
  • \n
  • `shuffleRightTop` - rotate out from right top
  • \n
  • `shuffleRightBottom` - rotate out from right bottom
  • \n
  • `shuffleBottomRight` - rotate out from bottom right
  • \n
  • `shuffleBottomLeft` - rotate out from bottom left
  • \n
  • `shuffleLeftBottom` - rotate out from left bottom
  • \n
  • `shuffleLeftTop` - rotate out from left top
  • \n
  • `shuffleTopLeft` - rotate out from top left
  • \n
  • `zoom` - fast zoom out
  • \n
\nThe transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`.", "enum": [ "none", "fade", @@ -3676,7 +3676,7 @@ "description": "Animation properties for text entrance effects.", "properties": { "preset": { - "description": "The animation preset to apply. Available presets:
    \n
  • `fadeIn` - fadeIn in animation
  • \n
  • `slideIn` - slide in from a direction
  • \n
  • `typewriter` - typewriter effect
  • \n
  • `ascend` - ascend from a direction
  • \n
  • `shift` - shift in from a direction
  • \n
  • `movingLetters` - letters move in from a direction
  • \n
", + "description": "The animation preset to apply. Every preset starts with the clip. Available presets:
    \n
  • `fadeIn` - fade in
  • \n
  • `slideIn` - fade in while sliding in `direction`
  • \n
  • `typewriter` - type the text out behind a cursor
  • \n
  • `ascend` - each word rises (`up`) or drops (`down`) into place
  • \n
  • `shift` - fade in while shifting a short distance in `direction`
  • \n
  • `movingLetters` - fade in, then ripple the letters along `direction` for the rest of the clip. Ignores `duration` and `style`.
  • \n
", "type": "string", "enum": [ "fadeIn", @@ -3689,14 +3689,14 @@ "example": "shift" }, "duration": { - "description": "Override animation duration in seconds. Must be between 0.1 and 30 seconds.", + "description": "Override animation duration in seconds. Must be between 0.1 and 30 seconds. When omitted, the text animates at about 30 characters per second, taking at least 0.3 seconds and at most 90% of the clip.", "type": "number", "minimum": 0.1, "maximum": 30, "example": 2 }, "style": { - "description": "Animation style - animate by character or by word. Only applicable for typewriter and shift animations.", + "description": "Animate by character or by word. Applies to `fadeIn`, `slideIn`, `typewriter` and `shift`, where `shift` defaults to `character`. `ascend` always animates by word.", "type": "string", "enum": [ "character", @@ -3705,7 +3705,7 @@ "example": "character" }, "direction": { - "description": "Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets.
    \n
  • `ascend` - supports: up, down
  • \n
  • `shift` - supports: left, right, up, down
  • \n
  • `slideIn` - supports: left, right, up, down
  • \n
  • `movingLetters` - supports: left, right, up, down
  • \n
", + "description": "The direction the text travels. Defaults to `left` for `slideIn` and `shift`, and to `up` for `ascend` and `movingLetters`.
    \n
  • `ascend` - supports: up, down
  • \n
  • `shift` - supports: left, right, up, down
  • \n
  • `slideIn` - supports: left, right, up, down
  • \n
  • `movingLetters` - supports: left, right, up, down
  • \n
", "type": "string", "enum": [ "left", @@ -3915,7 +3915,7 @@ "type": "object" }, "Tween": { - "description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:\n
    \n
  • Opacity - animate the transparency of a clip.
  • \n
  • Offset - animate the x and y position of a clip.
  • \n
  • Rotation - animate the rotation of a clip.
  • \n
  • Skew - animate the horizontal and vertical shearing effect.
  • \n
  • Volume - animate the audio volume of a clip.
  • \n
", + "description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:\n
    \n
  • Opacity - animate the transparency of a clip.
  • \n
  • Offset - animate the x and y position of a clip.
  • \n
  • Scale - animate the size of a clip.
  • \n
  • Rotation - animate the rotation of a clip.
  • \n
  • Skew - animate the horizontal and vertical shearing effect.
  • \n
  • Volume - animate the audio volume of a clip.
  • \n
  • Speed - animate the playback speed of a video clip.
  • \n
", "properties": { "from": { "description": "The initial property value at the start of the animation.",