@shotstack/schemas 1.14.0 → 1.15.0

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.
Files changed (75) hide show
  1. package/dist/api.bundled.json +12 -13
  2. package/dist/json-schema/edit.json +3828 -4198
  3. package/dist/json-schema/index.cjs +1 -6
  4. package/dist/json-schema/index.d.ts +1 -11
  5. package/dist/json-schema/index.js +0 -5
  6. package/dist/schema.d.ts +20 -9
  7. package/dist/zod/zod.gen.cjs +12 -4
  8. package/dist/zod/zod.gen.d.ts +99 -91
  9. package/dist/zod/zod.gen.js +12 -4
  10. package/dist/zod/zod.gen.ts +12 -4
  11. package/package.json +1 -1
  12. package/dist/json-schema/asset.json +0 -2725
  13. package/dist/json-schema/audio-asset.json +0 -315
  14. package/dist/json-schema/blueprint.json +0 -380
  15. package/dist/json-schema/caption-asset.json +0 -285
  16. package/dist/json-schema/caption-background.json +0 -61
  17. package/dist/json-schema/caption-detailer.json +0 -275
  18. package/dist/json-schema/caption-font.json +0 -97
  19. package/dist/json-schema/caption-margin.json +0 -49
  20. package/dist/json-schema/chroma-key.json +0 -46
  21. package/dist/json-schema/clip.json +0 -3236
  22. package/dist/json-schema/crop.json +0 -69
  23. package/dist/json-schema/destinations.json +0 -599
  24. package/dist/json-schema/flip-transformation.json +0 -37
  25. package/dist/json-schema/font.json +0 -18
  26. package/dist/json-schema/google-cloud-storage-destination-options.json +0 -42
  27. package/dist/json-schema/google-cloud-storage-destination.json +0 -73
  28. package/dist/json-schema/google-drive-destination-options.json +0 -30
  29. package/dist/json-schema/google-drive-destination.json +0 -54
  30. package/dist/json-schema/image-asset.json +0 -173
  31. package/dist/json-schema/image-to-video-asset.json +0 -151
  32. package/dist/json-schema/luma-asset.json +0 -38
  33. package/dist/json-schema/merge-field.json +0 -23
  34. package/dist/json-schema/offset.json +0 -175
  35. package/dist/json-schema/output.json +0 -893
  36. package/dist/json-schema/poster.json +0 -18
  37. package/dist/json-schema/range.json +0 -39
  38. package/dist/json-schema/rich-caption-active-font.json +0 -106
  39. package/dist/json-schema/rich-caption-active.json +0 -291
  40. package/dist/json-schema/rich-caption-animation.json +0 -46
  41. package/dist/json-schema/rich-caption-asset.json +0 -1247
  42. package/dist/json-schema/rich-text-alignment.json +0 -47
  43. package/dist/json-schema/rich-text-animation.json +0 -74
  44. package/dist/json-schema/rich-text-asset.json +0 -761
  45. package/dist/json-schema/rich-text-background.json +0 -78
  46. package/dist/json-schema/rich-text-content.json +0 -394
  47. package/dist/json-schema/rich-text-effects.json +0 -400
  48. package/dist/json-schema/rich-text-font.json +0 -157
  49. package/dist/json-schema/rich-text-gradient.json +0 -68
  50. package/dist/json-schema/rich-text-shadow.json +0 -79
  51. package/dist/json-schema/rich-text-stroke.json +0 -55
  52. package/dist/json-schema/rich-text-style.json +0 -165
  53. package/dist/json-schema/rotate-transformation.json +0 -153
  54. package/dist/json-schema/s3destination-options.json +0 -59
  55. package/dist/json-schema/s3destination.json +0 -90
  56. package/dist/json-schema/schemas.json +0 -4716
  57. package/dist/json-schema/shape-asset.json +0 -225
  58. package/dist/json-schema/shotstack-destination.json +0 -33
  59. package/dist/json-schema/size.json +0 -41
  60. package/dist/json-schema/skew-transformation.json +0 -175
  61. package/dist/json-schema/soundtrack.json +0 -47
  62. package/dist/json-schema/svg-asset.json +0 -26
  63. package/dist/json-schema/template.json +0 -827
  64. package/dist/json-schema/text-to-image-asset.json +0 -128
  65. package/dist/json-schema/text-to-speech-asset.json +0 -239
  66. package/dist/json-schema/thumbnail.json +0 -25
  67. package/dist/json-schema/timeline.json +0 -3364
  68. package/dist/json-schema/track.json +0 -3251
  69. package/dist/json-schema/transformation.json +0 -281
  70. package/dist/json-schema/transition.json +0 -85
  71. package/dist/json-schema/tween.json +0 -120
  72. package/dist/json-schema/video-asset.json +0 -471
  73. package/dist/json-schema/vimeo-destination-options.json +0 -149
  74. package/dist/json-schema/vimeo-destination-privacy-options.json +0 -90
  75. package/dist/json-schema/vimeo-destination.json +0 -178
@@ -260,7 +260,7 @@ export const googleCloudStorageDestinationSchema = googleCloudStorageDestination
260
260
  * Pass the folder ID and options to configure how assets are stored in Google Drive.
261
261
  */
262
262
  export const googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = z.object({
263
- folderId: z.string(),
263
+ folderId: z.optional(z.string()),
264
264
  filename: z.optional(z.string())
265
265
  }).strict();
266
266
  export const googleDriveDestinationOptionsSchema = googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
@@ -269,7 +269,7 @@ export const googleDriveDestinationOptionsSchema = googleDriveDestinationOptions
269
269
  */
270
270
  export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
271
271
  provider: z.literal("google-drive"),
272
- options: googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema
272
+ options: z.optional(googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema)
273
273
  }).strict();
274
274
  export const googleDriveDestinationSchema = googleDriveDestinationGoogleDriveDestinationSchema;
275
275
  /**
@@ -423,7 +423,7 @@ export const html5AssetHtml5AssetSchema = z.object({
423
423
  }).strict();
424
424
  export const html5AssetSchema = html5AssetHtml5AssetSchema;
425
425
  /**
426
- * **Notice: The HtmlAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
426
+ * **Notice: The HtmlAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
427
427
  *
428
428
  * The HtmlAsset clip type lets you create text based layout and formatting using
429
429
  * HTML and CSS. You can also set the height and width of a bounding box for the HTML
@@ -1660,7 +1660,10 @@ export const sourceSourceSchema = z.object({
1660
1660
  }).strict();
1661
1661
  export const sourceSchema = sourceSourceSchema;
1662
1662
  /**
1663
+ * **Notice: The Soundtrack is deprecated, use an [AudioAsset](#tocs_audioasset) clip on its own track instead.** This type continues to function; no behaviour change for existing integrations.
1663
1664
  * A music or audio file in mp3 format that plays for the duration of the rendered video or the length of the audio file, which ever is shortest.
1665
+ *
1666
+ * @deprecated
1664
1667
  */
1665
1668
  export const soundtrackSoundtrackSchema = z.object({
1666
1669
  src: z.string().min(1).regex(/\S/),
@@ -1815,9 +1818,14 @@ export const textpropertiesTextStrokeSchema = z.object({
1815
1818
  color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
1816
1819
  }).strict();
1817
1820
  /**
1821
+ * **Notice: The TextAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.** This type
1822
+ * continues to function; no behaviour change for existing integrations.
1823
+ *
1818
1824
  * The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
1819
1825
  * [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
1820
1826
  *
1827
+ *
1828
+ * @deprecated
1821
1829
  */
1822
1830
  export const textassetTextAssetSchema = z.object({
1823
1831
  type: z.enum(['text']),
@@ -2367,7 +2375,7 @@ export const texttospeechassetTextToSpeechAssetSchema = z.object({
2367
2375
  }).strict();
2368
2376
  export const textToSpeechAssetSchema = texttospeechassetTextToSpeechAssetSchema;
2369
2377
  /**
2370
- * **Notice: The TitleAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
2378
+ * **Notice: The TitleAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
2371
2379
  *
2372
2380
  * The TitleAsset clip type lets you create video titles from a text string and apply styling and positioning.
2373
2381
  *
@@ -188,7 +188,7 @@ export const googleCloudStorageDestinationSchema = googleCloudStorageDestination
188
188
  * Pass the folder ID and options to configure how assets are stored in Google Drive.
189
189
  */
190
190
  export const googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = z.object({
191
- folderId: z.string(),
191
+ folderId: z.optional(z.string()),
192
192
  filename: z.optional(z.string())
193
193
  }).strict();
194
194
 
@@ -199,7 +199,7 @@ export const googleDriveDestinationOptionsSchema = googleDriveDestinationOptions
199
199
  */
200
200
  export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
201
201
  provider: z.literal("google-drive"),
202
- options: googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema
202
+ options: z.optional(googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema)
203
203
  }).strict();
204
204
 
205
205
  export const googleDriveDestinationSchema = googleDriveDestinationGoogleDriveDestinationSchema;
@@ -381,7 +381,7 @@ export const html5AssetHtml5AssetSchema = z.object({
381
381
  export const html5AssetSchema = html5AssetHtml5AssetSchema;
382
382
 
383
383
  /**
384
- * **Notice: The HtmlAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
384
+ * **Notice: The HtmlAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
385
385
  *
386
386
  * The HtmlAsset clip type lets you create text based layout and formatting using
387
387
  * HTML and CSS. You can also set the height and width of a bounding box for the HTML
@@ -1358,7 +1358,10 @@ export const sourceSourceSchema = z.object({
1358
1358
  export const sourceSchema = sourceSourceSchema;
1359
1359
 
1360
1360
  /**
1361
+ * **Notice: The Soundtrack is deprecated, use an [AudioAsset](#tocs_audioasset) clip on its own track instead.** This type continues to function; no behaviour change for existing integrations.
1361
1362
  * A music or audio file in mp3 format that plays for the duration of the rendered video or the length of the audio file, which ever is shortest.
1363
+ *
1364
+ * @deprecated
1362
1365
  */
1363
1366
  export const soundtrackSoundtrackSchema = z.object({
1364
1367
  src: z.string().min(1).regex(/\S/),
@@ -1467,9 +1470,14 @@ export const textpropertiesTextStrokeSchema = z.object({
1467
1470
  }).strict();
1468
1471
 
1469
1472
  /**
1473
+ * **Notice: The TextAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.** This type
1474
+ * continues to function; no behaviour change for existing integrations.
1475
+ *
1470
1476
  * The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
1471
1477
  * [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
1472
1478
  *
1479
+ *
1480
+ * @deprecated
1473
1481
  */
1474
1482
  export const textassetTextAssetSchema = z.object({
1475
1483
  type: z.enum(['text']),
@@ -1921,7 +1929,7 @@ export const texttospeechassetTextToSpeechAssetSchema = z.object({
1921
1929
  export const textToSpeechAssetSchema = texttospeechassetTextToSpeechAssetSchema;
1922
1930
 
1923
1931
  /**
1924
- * **Notice: The TitleAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
1932
+ * **Notice: The TitleAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
1925
1933
  *
1926
1934
  * The TitleAsset clip type lets you create video titles from a text string and apply styling and positioning.
1927
1935
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/schemas",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",