@shotstack/schemas 1.3.4 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -584,7 +584,7 @@ export interface components {
584
584
  alias?: string;
585
585
  };
586
586
  /** @description The type of asset to display for the duration of the Clip, i.e. a video clip or an image. Choose from one of the available asset types below. */
587
- Asset: components["schemas"]["VideoAsset"] | components["schemas"]["ImageAsset"] | components["schemas"]["TextAsset"] | components["schemas"]["RichTextAsset"] | components["schemas"]["AudioAsset"] | components["schemas"]["LumaAsset"] | components["schemas"]["CaptionAsset"] | components["schemas"]["HtmlAsset"] | components["schemas"]["TitleAsset"] | components["schemas"]["ShapeAsset"] | components["schemas"]["TextToImageAsset"] | components["schemas"]["ImageToVideoAsset"];
587
+ Asset: components["schemas"]["VideoAsset"] | components["schemas"]["ImageAsset"] | components["schemas"]["TextAsset"] | components["schemas"]["RichTextAsset"] | components["schemas"]["AudioAsset"] | components["schemas"]["LumaAsset"] | components["schemas"]["CaptionAsset"] | components["schemas"]["HtmlAsset"] | components["schemas"]["TitleAsset"] | components["schemas"]["ShapeAsset"] | components["schemas"]["SvgAsset"] | components["schemas"]["TextToImageAsset"] | components["schemas"]["ImageToVideoAsset"];
588
588
  /** @description The VideoAsset is used to create video sequences from video files. The src must be a publicly accessible URL to a video resource such as an mp4 file. */
589
589
  VideoAsset: {
590
590
  /**
@@ -598,11 +598,10 @@ export interface components {
598
598
  */
599
599
  src: string;
600
600
  /**
601
- * @description Set to `true` to force re-encoding of the video during preprocessing. This can help resolve compatibility issues, fix rotation problems, synchronize audio, or convert formats. The video will be processed to ensure optimal compatibility with the rendering engine.
602
- * @default false
601
+ * @description Set to `true` to force re-encoding of the video during preprocessing. This can help resolve compatibility issues, fix rotation problems, synchronize audio, or convert formats. The video will be processed to ensure optimal compatibility with the rendering engine.
603
602
  * @example false
604
603
  */
605
- transcode: boolean;
604
+ transcode?: boolean;
606
605
  /**
607
606
  * @description The start trim point of the video clip, in seconds (defaults to 0). Videos will start from the in trim point. The video will play until the file ends or the Clip length is reached.
608
607
  * @example 2
@@ -1148,6 +1147,638 @@ export interface components {
1148
1147
  /** @description Offset the location of the title relative to its position on the screen. */
1149
1148
  offset?: components["schemas"]["Offset"];
1150
1149
  };
1150
+ /**
1151
+ * @description The SvgAsset is used to add scalable vector graphics (SVG) shapes to a video.
1152
+ * It provides a comprehensive set of primitive shapes and custom paths with full
1153
+ * styling support including fills, strokes, gradients, and shadows.
1154
+ *
1155
+ * **Available Shapes:**
1156
+ * - `rectangle` - Rectangles with optional rounded corners
1157
+ * - `circle` - Perfect circles
1158
+ * - `ellipse` - Ellipses/ovals with separate x and y radii
1159
+ * - `line` - Straight lines with configurable thickness
1160
+ * - `polygon` - Regular polygons (triangle, pentagon, hexagon, etc.)
1161
+ * - `star` - Multi-pointed stars
1162
+ * - `arrow` - Directional arrows
1163
+ * - `heart` - Heart shapes
1164
+ * - `cross` - Plus/cross shapes
1165
+ * - `ring` - Donut/ring shapes
1166
+ * - `path` - Custom shapes using SVG path data
1167
+ *
1168
+ * **Styling Options:**
1169
+ * - Fill with solid colors or linear/radial gradients
1170
+ * - Stroke with configurable width, color, dash patterns, and line caps/joins
1171
+ * - Drop shadows with blur, offset, and opacity
1172
+ * - Transform properties for positioning, rotation, and scaling
1173
+ *
1174
+ * See [W3C SVG 2 Specification](https://www.w3.org/TR/SVG2/) for path data syntax.
1175
+ * @example {
1176
+ * "type": "svg",
1177
+ * "shape": {
1178
+ * "type": "star",
1179
+ * "points": 5,
1180
+ * "outerRadius": 100,
1181
+ * "innerRadius": 50
1182
+ * },
1183
+ * "fill": {
1184
+ * "type": "linear",
1185
+ * "angle": 45,
1186
+ * "stops": [
1187
+ * {
1188
+ * "offset": 0,
1189
+ * "color": "#FFD700"
1190
+ * },
1191
+ * {
1192
+ * "offset": 1,
1193
+ * "color": "#FF6B6B"
1194
+ * }
1195
+ * ],
1196
+ * "opacity": 1
1197
+ * },
1198
+ * "stroke": {
1199
+ * "color": "#2C3E50",
1200
+ * "width": 3,
1201
+ * "opacity": 1,
1202
+ * "lineCap": "round",
1203
+ * "lineJoin": "round"
1204
+ * },
1205
+ * "transform": {
1206
+ * "x": 200,
1207
+ * "y": 150,
1208
+ * "rotation": 0,
1209
+ * "scale": 1
1210
+ * },
1211
+ * "opacity": 1
1212
+ * }
1213
+ */
1214
+ SvgAsset: {
1215
+ /**
1216
+ * @description The asset type - set to `svg` for SVG shapes. (enum property replaced by openapi-typescript)
1217
+ * @enum {string}
1218
+ */
1219
+ type: "svg";
1220
+ /**
1221
+ * @description The shape definition. The `type` property within determines the shape kind
1222
+ * and its specific properties. See individual shape documentation for details.
1223
+ */
1224
+ shape: components["schemas"]["SvgShape"];
1225
+ /**
1226
+ * @description Fill properties for the shape interior.
1227
+ * Can be a solid color or a gradient (linear/radial).
1228
+ * If omitted, the shape will have no fill (transparent interior).
1229
+ */
1230
+ fill?: components["schemas"]["SvgFill"];
1231
+ /**
1232
+ * @description Stroke (outline) properties for the shape.
1233
+ * If omitted, the shape will have no stroke (no outline).
1234
+ */
1235
+ stroke?: components["schemas"]["SvgStroke"];
1236
+ /**
1237
+ * @description Drop shadow properties for the shape.
1238
+ * Creates a shadow effect behind the shape.
1239
+ */
1240
+ shadow?: components["schemas"]["SvgShadow"];
1241
+ /**
1242
+ * @description Transform properties for positioning, rotating, and scaling the shape.
1243
+ * The transform is applied relative to the transformation origin.
1244
+ */
1245
+ transform?: components["schemas"]["SvgTransform"];
1246
+ /**
1247
+ * @description The overall opacity of the entire shape (including fill, stroke, and shadow).
1248
+ * `1` is fully opaque, `0` is fully transparent.
1249
+ * This is applied on top of individual fill/stroke/shadow opacity values.
1250
+ * @default 1
1251
+ * @example 1
1252
+ */
1253
+ opacity: number;
1254
+ /**
1255
+ * @description The width of the bounding box in pixels.
1256
+ * If specified, the shape may be scaled to fit within this width.
1257
+ * If omitted, the shape uses its natural dimensions.
1258
+ * @example 400
1259
+ */
1260
+ width?: number;
1261
+ /**
1262
+ * @description The height of the bounding box in pixels.
1263
+ * If specified, the shape may be scaled to fit within this height.
1264
+ * If omitted, the shape uses its natural dimensions.
1265
+ * @example 300
1266
+ */
1267
+ height?: number;
1268
+ };
1269
+ /**
1270
+ * @description The shape definition for an SVG asset. Each shape type has its own specific
1271
+ * properties. The `type` field determines which shape is rendered.
1272
+ */
1273
+ SvgShape: components["schemas"]["SvgRectangleShape"] | components["schemas"]["SvgCircleShape"] | components["schemas"]["SvgEllipseShape"] | components["schemas"]["SvgLineShape"] | components["schemas"]["SvgPolygonShape"] | components["schemas"]["SvgStarShape"] | components["schemas"]["SvgArrowShape"] | components["schemas"]["SvgHeartShape"] | components["schemas"]["SvgCrossShape"] | components["schemas"]["SvgRingShape"] | components["schemas"]["SvgPathShape"];
1274
+ /**
1275
+ * @description A rectangle shape with optional rounded corners.
1276
+ * The rectangle is defined by its width and height dimensions.
1277
+ */
1278
+ SvgRectangleShape: {
1279
+ /**
1280
+ * @description The shape type - set to `rectangle`. (enum property replaced by openapi-typescript)
1281
+ * @enum {string}
1282
+ */
1283
+ type: "rectangle";
1284
+ /**
1285
+ * @description The width of the rectangle in pixels.
1286
+ * @example 200
1287
+ */
1288
+ width: number;
1289
+ /**
1290
+ * @description The height of the rectangle in pixels.
1291
+ * @example 100
1292
+ */
1293
+ height: number;
1294
+ /**
1295
+ * @description The corner radius for rounded corners in pixels.
1296
+ * Set to `0` for sharp corners. The radius is automatically clamped
1297
+ * to half of the smallest dimension.
1298
+ * @default 0
1299
+ * @example 10
1300
+ */
1301
+ cornerRadius: number;
1302
+ };
1303
+ /**
1304
+ * @description A perfect circle shape defined by its radius.
1305
+ * The circle is centered at the shape's position.
1306
+ */
1307
+ SvgCircleShape: {
1308
+ /**
1309
+ * @description The shape type - set to `circle`. (enum property replaced by openapi-typescript)
1310
+ * @enum {string}
1311
+ */
1312
+ type: "circle";
1313
+ /**
1314
+ * @description The radius of the circle in pixels.
1315
+ * @example 50
1316
+ */
1317
+ radius: number;
1318
+ };
1319
+ /**
1320
+ * @description An ellipse (oval) shape with separate horizontal and vertical radii.
1321
+ * The ellipse is centered at the shape's position.
1322
+ */
1323
+ SvgEllipseShape: {
1324
+ /**
1325
+ * @description The shape type - set to `ellipse`. (enum property replaced by openapi-typescript)
1326
+ * @enum {string}
1327
+ */
1328
+ type: "ellipse";
1329
+ /**
1330
+ * @description The horizontal radius (semi-major axis) in pixels.
1331
+ * @example 80
1332
+ */
1333
+ radiusX: number;
1334
+ /**
1335
+ * @description The vertical radius (semi-minor axis) in pixels.
1336
+ * @example 50
1337
+ */
1338
+ radiusY: number;
1339
+ };
1340
+ /**
1341
+ * @description A straight line shape with a specified length and thickness.
1342
+ * The line is drawn horizontally by default and can be rotated using transform.
1343
+ */
1344
+ SvgLineShape: {
1345
+ /**
1346
+ * @description The shape type - set to `line`. (enum property replaced by openapi-typescript)
1347
+ * @enum {string}
1348
+ */
1349
+ type: "line";
1350
+ /**
1351
+ * @description The length of the line in pixels.
1352
+ * @example 100
1353
+ */
1354
+ length: number;
1355
+ /**
1356
+ * @description The thickness of the line in pixels.
1357
+ * @example 4
1358
+ */
1359
+ thickness: number;
1360
+ };
1361
+ /**
1362
+ * @description A regular polygon shape with a specified number of sides.
1363
+ * Examples: triangle (3), square (4), pentagon (5), hexagon (6), etc.
1364
+ * The polygon is inscribed in a circle of the given radius.
1365
+ */
1366
+ SvgPolygonShape: {
1367
+ /**
1368
+ * @description The shape type - set to `polygon`. (enum property replaced by openapi-typescript)
1369
+ * @enum {string}
1370
+ */
1371
+ type: "polygon";
1372
+ /**
1373
+ * @description The number of sides of the polygon.
1374
+ * Minimum 3 (triangle), maximum 100 for practical use.
1375
+ * @example 6
1376
+ */
1377
+ sides: number;
1378
+ /**
1379
+ * @description The radius of the circumscribed circle in pixels.
1380
+ * This determines the size of the polygon.
1381
+ * @example 50
1382
+ */
1383
+ radius: number;
1384
+ };
1385
+ /**
1386
+ * @description A star shape with a specified number of points.
1387
+ * The star is defined by outer and inner radii, creating the characteristic
1388
+ * pointed appearance.
1389
+ */
1390
+ SvgStarShape: {
1391
+ /**
1392
+ * @description The shape type - set to `star`. (enum property replaced by openapi-typescript)
1393
+ * @enum {string}
1394
+ */
1395
+ type: "star";
1396
+ /**
1397
+ * @description The number of points on the star.
1398
+ * Minimum 3 for a triangle-like star, typically 5 for a classic star.
1399
+ * @example 5
1400
+ */
1401
+ points: number;
1402
+ /**
1403
+ * @description The outer radius in pixels - the distance from center to the tips of the points.
1404
+ * @example 50
1405
+ */
1406
+ outerRadius: number;
1407
+ /**
1408
+ * @description The inner radius in pixels - the distance from center to the inner vertices.
1409
+ * Should be smaller than outerRadius for a star effect.
1410
+ * @example 25
1411
+ */
1412
+ innerRadius: number;
1413
+ };
1414
+ /**
1415
+ * @description An arrow shape pointing to the right by default.
1416
+ * Use transform rotation to change direction.
1417
+ */
1418
+ SvgArrowShape: {
1419
+ /**
1420
+ * @description The shape type - set to `arrow`. (enum property replaced by openapi-typescript)
1421
+ * @enum {string}
1422
+ */
1423
+ type: "arrow";
1424
+ /**
1425
+ * @description The total length of the arrow from tail to tip in pixels.
1426
+ * @example 100
1427
+ */
1428
+ length: number;
1429
+ /**
1430
+ * @description The width of the arrow head (the widest part) in pixels.
1431
+ * @example 40
1432
+ */
1433
+ headWidth: number;
1434
+ /**
1435
+ * @description The length of the arrow head portion in pixels.
1436
+ * @example 30
1437
+ */
1438
+ headLength: number;
1439
+ /**
1440
+ * @description The width of the arrow shaft (body) in pixels.
1441
+ * @example 20
1442
+ */
1443
+ shaftWidth: number;
1444
+ };
1445
+ /**
1446
+ * @description A heart shape commonly used for love/like icons.
1447
+ * The heart is defined by a single size parameter.
1448
+ */
1449
+ SvgHeartShape: {
1450
+ /**
1451
+ * @description The shape type - set to `heart`. (enum property replaced by openapi-typescript)
1452
+ * @enum {string}
1453
+ */
1454
+ type: "heart";
1455
+ /**
1456
+ * @description The size of the heart in pixels.
1457
+ * This determines both the width and height proportionally.
1458
+ * @example 100
1459
+ */
1460
+ size: number;
1461
+ };
1462
+ /**
1463
+ * @description A cross or plus shape with equal or different arm lengths.
1464
+ * Can be styled as a plus sign (+) or a cross (x with rotation).
1465
+ */
1466
+ SvgCrossShape: {
1467
+ /**
1468
+ * @description The shape type - set to `cross`. (enum property replaced by openapi-typescript)
1469
+ * @enum {string}
1470
+ */
1471
+ type: "cross";
1472
+ /**
1473
+ * @description The total width of the cross in pixels.
1474
+ * @example 100
1475
+ */
1476
+ width: number;
1477
+ /**
1478
+ * @description The total height of the cross in pixels.
1479
+ * @example 100
1480
+ */
1481
+ height: number;
1482
+ /**
1483
+ * @description The thickness of the cross arms in pixels.
1484
+ * @example 20
1485
+ */
1486
+ thickness: number;
1487
+ };
1488
+ /**
1489
+ * @description A ring (donut/annulus) shape - a circle with a circular hole in the center.
1490
+ * The ring is defined by outer and inner radii.
1491
+ */
1492
+ SvgRingShape: {
1493
+ /**
1494
+ * @description The shape type - set to `ring`. (enum property replaced by openapi-typescript)
1495
+ * @enum {string}
1496
+ */
1497
+ type: "ring";
1498
+ /**
1499
+ * @description The outer radius of the ring in pixels.
1500
+ * @example 50
1501
+ */
1502
+ outerRadius: number;
1503
+ /**
1504
+ * @description The inner radius (hole) of the ring in pixels.
1505
+ * Must be smaller than outerRadius.
1506
+ * @example 30
1507
+ */
1508
+ innerRadius: number;
1509
+ };
1510
+ /**
1511
+ * @description A custom shape defined by SVG path data.
1512
+ * Supports all standard SVG path commands for creating complex shapes.
1513
+ *
1514
+ * **Path Commands:**
1515
+ * - `M x y` / `m dx dy` - Move to (absolute/relative)
1516
+ * - `L x y` / `l dx dy` - Line to
1517
+ * - `H x` / `h dx` - Horizontal line to
1518
+ * - `V y` / `v dy` - Vertical line to
1519
+ * - `C x1 y1 x2 y2 x y` / `c` - Cubic Bezier curve
1520
+ * - `S x2 y2 x y` / `s` - Smooth cubic Bezier
1521
+ * - `Q x1 y1 x y` / `q` - Quadratic Bezier curve
1522
+ * - `T x y` / `t` - Smooth quadratic Bezier
1523
+ * - `A rx ry angle large-arc sweep x y` / `a` - Elliptical arc
1524
+ * - `Z` / `z` - Close path
1525
+ */
1526
+ SvgPathShape: {
1527
+ /**
1528
+ * @description The shape type - set to `path`. (enum property replaced by openapi-typescript)
1529
+ * @enum {string}
1530
+ */
1531
+ type: "path";
1532
+ /**
1533
+ * @description The SVG path data string defining the shape.
1534
+ * Uses standard SVG path commands (M, L, C, Q, A, Z, etc.).
1535
+ * Example: `M 0 0 L 100 0 L 100 100 L 0 100 Z` draws a square.
1536
+ * @example M 0 0 L 100 0 L 50 86.6 Z
1537
+ */
1538
+ d: string;
1539
+ };
1540
+ /**
1541
+ * @description Fill properties for SVG shapes. Supports solid colors and gradients.
1542
+ * The fill defines how the interior of a shape is painted.
1543
+ */
1544
+ SvgFill: components["schemas"]["SvgSolidFill"] | components["schemas"]["SvgLinearGradientFill"] | components["schemas"]["SvgRadialGradientFill"];
1545
+ /** @description A solid color fill for SVG shapes. */
1546
+ SvgSolidFill: {
1547
+ /**
1548
+ * @description The fill type - set to `solid` for a single color fill. (enum property replaced by openapi-typescript)
1549
+ * @enum {string}
1550
+ */
1551
+ type: "solid";
1552
+ /**
1553
+ * @description The fill color using hexadecimal color notation (e.g., `#FF0000` for red).
1554
+ * Must be a 6-digit hex color code prefixed with `#`.
1555
+ * @default #000000
1556
+ * @example #3498db
1557
+ */
1558
+ color: string;
1559
+ /**
1560
+ * @description The opacity of the fill where `1` is fully opaque and `0` is fully transparent.
1561
+ * Values between 0 and 1 create semi-transparent fills.
1562
+ * @default 1
1563
+ * @example 0.8
1564
+ */
1565
+ opacity: number;
1566
+ };
1567
+ /**
1568
+ * @description A linear gradient fill that transitions colors along a straight line.
1569
+ * The gradient direction is controlled by the `angle` property.
1570
+ */
1571
+ SvgLinearGradientFill: {
1572
+ /**
1573
+ * @description The fill type - set to `linear` for a linear gradient fill. (enum property replaced by openapi-typescript)
1574
+ * @enum {string}
1575
+ */
1576
+ type: "linear";
1577
+ /**
1578
+ * @description The angle of the gradient in degrees. `0` is horizontal (left to right),
1579
+ * `90` is vertical (bottom to top), `180` is right to left, etc.
1580
+ * @default 0
1581
+ * @example 45
1582
+ */
1583
+ angle: number;
1584
+ /**
1585
+ * @description Array of color stops that define the gradient colors and their positions.
1586
+ * Must have at least 2 stops. Offsets should increase from 0 to 1.
1587
+ */
1588
+ stops: components["schemas"]["SvgGradientStop"][];
1589
+ /**
1590
+ * @description The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.
1591
+ * @default 1
1592
+ * @example 1
1593
+ */
1594
+ opacity: number;
1595
+ };
1596
+ /**
1597
+ * @description A radial gradient fill that transitions colors radiating outward from a center point.
1598
+ * The gradient creates a circular or elliptical color transition.
1599
+ */
1600
+ SvgRadialGradientFill: {
1601
+ /**
1602
+ * @description The fill type - set to `radial` for a radial gradient fill. (enum property replaced by openapi-typescript)
1603
+ * @enum {string}
1604
+ */
1605
+ type: "radial";
1606
+ /**
1607
+ * @description Array of color stops that define the gradient colors and their positions.
1608
+ * Must have at least 2 stops. Offset `0` is the center, `1` is the outer edge.
1609
+ */
1610
+ stops: components["schemas"]["SvgGradientStop"][];
1611
+ /**
1612
+ * @description The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.
1613
+ * @default 1
1614
+ * @example 1
1615
+ */
1616
+ opacity: number;
1617
+ };
1618
+ /**
1619
+ * @description A color stop in a gradient. Each stop defines a color at a specific position
1620
+ * along the gradient vector. Gradients require at least 2 stops.
1621
+ */
1622
+ SvgGradientStop: {
1623
+ /**
1624
+ * @description Position of the color stop along the gradient vector.
1625
+ * `0` represents the start and `1` represents the end of the gradient.
1626
+ * @example 0.5
1627
+ */
1628
+ offset: number;
1629
+ /**
1630
+ * @description The color at this stop using hexadecimal color notation.
1631
+ * @example #e74c3c
1632
+ */
1633
+ color: string;
1634
+ };
1635
+ /**
1636
+ * @description Stroke (outline) properties for SVG shapes. The stroke defines how the outline
1637
+ * of a shape is painted, including its color, width, and line style.
1638
+ */
1639
+ SvgStroke: {
1640
+ /**
1641
+ * @description The stroke color using hexadecimal color notation.
1642
+ * @default #000000
1643
+ * @example #2c3e50
1644
+ */
1645
+ color: string;
1646
+ /**
1647
+ * @description The width of the stroke in pixels. Must be greater than 0.
1648
+ * Larger values create thicker outlines.
1649
+ * @default 1
1650
+ * @example 2
1651
+ */
1652
+ width: number;
1653
+ /**
1654
+ * @description The opacity of the stroke where `1` is opaque and `0` is transparent.
1655
+ * @default 1
1656
+ * @example 1
1657
+ */
1658
+ opacity: number;
1659
+ /**
1660
+ * @description The shape at the end of open paths (lines, polylines, unclosed paths).
1661
+ * <ul>
1662
+ * <li>`butt` - flat edge perpendicular to the line (default)</li>
1663
+ * <li>`round` - semicircular cap extending beyond the endpoint</li>
1664
+ * <li>`square` - rectangular cap extending beyond the endpoint</li>
1665
+ * </ul>
1666
+ * @default butt
1667
+ * @example round
1668
+ * @enum {string}
1669
+ */
1670
+ lineCap: "butt" | "round" | "square";
1671
+ /**
1672
+ * @description The shape at the corners where two lines meet.
1673
+ * <ul>
1674
+ * <li>`miter` - sharp corner (default)</li>
1675
+ * <li>`round` - rounded corner</li>
1676
+ * <li>`bevel` - flattened corner</li>
1677
+ * </ul>
1678
+ * @default miter
1679
+ * @example round
1680
+ * @enum {string}
1681
+ */
1682
+ lineJoin: "miter" | "round" | "bevel";
1683
+ /**
1684
+ * @description Pattern of dashes and gaps for the stroke. An array of numbers where
1685
+ * odd indices are dash lengths and even indices are gap lengths.
1686
+ * For example, `[10, 5]` creates 10px dashes with 5px gaps.
1687
+ * `[10, 5, 2, 5]` creates alternating 10px and 2px dashes with 5px gaps.
1688
+ * @example [
1689
+ * 10,
1690
+ * 5
1691
+ * ]
1692
+ */
1693
+ dashArray?: number[];
1694
+ /**
1695
+ * @description Offset for the dash pattern. Positive values shift the pattern
1696
+ * forward along the path, negative values shift it backward.
1697
+ * @default 0
1698
+ * @example 5
1699
+ */
1700
+ dashOffset: number;
1701
+ };
1702
+ /** @description Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape. */
1703
+ SvgShadow: {
1704
+ /**
1705
+ * @description Horizontal offset of the shadow in pixels.
1706
+ * Positive values move the shadow to the right, negative to the left.
1707
+ * @default 0
1708
+ * @example 4
1709
+ */
1710
+ offsetX: number;
1711
+ /**
1712
+ * @description Vertical offset of the shadow in pixels.
1713
+ * Positive values move the shadow down, negative values move it up.
1714
+ * @default 0
1715
+ * @example 4
1716
+ */
1717
+ offsetY: number;
1718
+ /**
1719
+ * @description The blur radius of the shadow in pixels. Must be 0 or greater.
1720
+ * @default 0
1721
+ * @example 8
1722
+ */
1723
+ blur: number;
1724
+ /**
1725
+ * @description The shadow color using hexadecimal color notation.
1726
+ * @default #000000
1727
+ * @example #000000
1728
+ */
1729
+ color: string;
1730
+ /**
1731
+ * @description The opacity of the shadow where `1` is opaque and `0` is transparent.
1732
+ * @default 0.5
1733
+ * @example 0.3
1734
+ */
1735
+ opacity: number;
1736
+ };
1737
+ /** @description Transformation properties for positioning, rotating, and scaling SVG shapes. */
1738
+ SvgTransform: {
1739
+ /**
1740
+ * @description The x-coordinate position of the shape in pixels.
1741
+ * Relative to the top-left corner of the viewport.
1742
+ * @default 0
1743
+ * @example 100
1744
+ */
1745
+ x: number;
1746
+ /**
1747
+ * @description The y-coordinate position of the shape in pixels.
1748
+ * Relative to the top-left corner of the viewport.
1749
+ * @default 0
1750
+ * @example 100
1751
+ */
1752
+ y: number;
1753
+ /**
1754
+ * @description Rotation angle in degrees. Positive values rotate clockwise,
1755
+ * negative values rotate counter-clockwise. Range: -360 to 360.
1756
+ * @default 0
1757
+ * @example 45
1758
+ */
1759
+ rotation: number;
1760
+ /**
1761
+ * @description Scale factor for the shape. `1` is original size, `2` is double size,
1762
+ * `0.5` is half size. Must be greater than 0.
1763
+ * @default 1
1764
+ * @example 1.5
1765
+ */
1766
+ scale: number;
1767
+ /**
1768
+ * @description The x-coordinate of the transformation origin as a value from 0 to 1.
1769
+ * `0` is the left edge, `0.5` is the center, `1` is the right edge.
1770
+ * @default 0.5
1771
+ * @example 0.5
1772
+ */
1773
+ originX: number;
1774
+ /**
1775
+ * @description The y-coordinate of the transformation origin as a value from 0 to 1.
1776
+ * `0` is the top edge, `0.5` is the center, `1` is the bottom edge.
1777
+ * @default 0.5
1778
+ * @example 0.5
1779
+ */
1780
+ originY: number;
1781
+ };
1151
1782
  /** @description In and out transitions for a clip - i.e. fade in and fade out */
1152
1783
  Transition: {
1153
1784
  /**
@@ -1370,13 +2001,6 @@ export interface components {
1370
2001
  * @default 400
1371
2002
  */
1372
2003
  weight: unknown;
1373
- /**
1374
- * @description The font style.
1375
- * @default normal
1376
- * @example italic
1377
- * @enum {string}
1378
- */
1379
- style: "normal" | "italic" | "oblique";
1380
2004
  /**
1381
2005
  * @description The text color using hexadecimal color notation.
1382
2006
  * @default #ffffff
@@ -1389,6 +2013,11 @@ export interface components {
1389
2013
  * @example 0.9
1390
2014
  */
1391
2015
  opacity: number;
2016
+ /**
2017
+ * @description The background color behind the text using hexadecimal color notation.
2018
+ * @example #000000
2019
+ */
2020
+ background?: string;
1392
2021
  /** @description Text stroke (outline) properties. */
1393
2022
  stroke?: components["schemas"]["RichTextStroke"];
1394
2023
  };