diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs
index 89a5062..bbac556 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs
@@ -46,6 +46,18 @@ public sealed partial class RichTextBackground
[global::System.Text.Json.Serialization.JsonPropertyName("wrap")]
public bool? Wrap { get; set; }
+ ///
+ /// Inner padding in pixels between the wrap pill edge and the rendered text. Only takes
+ /// effect when `wrap: true`. When omitted, the renderer applies a sensible default
+ /// proportional to the font size (approximately 12% of the active page font size on
+ /// rich-caption assets). Set to 0 for a pill that hugs the text exactly. Available on
+ /// rich-text and rich-caption assets only.
+ /// Example: 12
+ ///
+ /// 12
+ [global::System.Text.Json.Serialization.JsonPropertyName("padding")]
+ public int? Padding { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -77,6 +89,14 @@ public sealed partial class RichTextBackground
/// Default Value: false
/// Example: true
///
+ ///
+ /// Inner padding in pixels between the wrap pill edge and the rendered text. Only takes
+ /// effect when `wrap: true`. When omitted, the renderer applies a sensible default
+ /// proportional to the font size (approximately 12% of the active page font size on
+ /// rich-caption assets). Set to 0 for a pill that hugs the text exactly. Available on
+ /// rich-text and rich-caption assets only.
+ /// Example: 12
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -84,12 +104,14 @@ public RichTextBackground(
string? color,
double? opacity,
double? borderRadius,
- bool? wrap)
+ bool? wrap,
+ int? padding)
{
this.Color = color;
this.Opacity = opacity;
this.BorderRadius = borderRadius;
this.Wrap = wrap;
+ this.Padding = padding;
}
///
diff --git a/src/libs/Shotstack/openapi.json b/src/libs/Shotstack/openapi.json
index 56c6b1b..96079e4 100644
--- a/src/libs/Shotstack/openapi.json
+++ b/src/libs/Shotstack/openapi.json
@@ -2957,6 +2957,13 @@
"type": "boolean",
"default": false,
"example": true
+ },
+ "padding": {
+ "description": "Inner padding in pixels between the wrap pill edge and the rendered text. Only takes\neffect when `wrap: true`. When omitted, the renderer applies a sensible default\nproportional to the font size (approximately 12% of the active page font size on\nrich-caption assets). Set to 0 for a pill that hugs the text exactly. Available on\nrich-text and rich-caption assets only.\n",
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 200,
+ "example": 12
}
},
"additionalProperties": false,