@shotstack/schemas 1.23.3 → 1.24.0-beta.1

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
@@ -696,6 +696,8 @@ export interface components {
696
696
  * @enum {string}
697
697
  */
698
698
  filter?: "none" | "blur" | "boost" | "contrast" | "darken" | "greyscale" | "lighten" | "muted" | "negative";
699
+ /** @description A list of filters to apply to the Clip, in the order they appear. Each filter has a `type` and its own properties. The same type can be used more than once and numeric properties can be animated with [Tween](./#tocs_tween) objects. If `filter` is also set, the filters in this list are applied before it. */
700
+ filters?: components["schemas"]["Filter"][];
699
701
  /** @description Offset an asset on the horizontal axis (left or right). Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation. */
700
702
  opacity?: number | components["schemas"]["Tween"][];
701
703
  /** @description A transformation lets you modify the visual properties of a clip. Available transformations are <b>rotate</b>, <b>skew</b> and <b>flip</b>. Transformations can be combined to create interesting new shapes and effects. */
@@ -2312,6 +2314,124 @@ export interface components {
2312
2314
  */
2313
2315
  easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack";
2314
2316
  };
2317
+ /** @description A filter that adjusts the look of a Clip. Choose from one of the available filter types below. Keyframe values outside a field's range are limited to that range. */
2318
+ Filter: components["schemas"]["BrightnessFilter"] | components["schemas"]["ContrastFilter"] | components["schemas"]["SaturationFilter"] | components["schemas"]["HueFilter"] | components["schemas"]["GradeFilter"] | components["schemas"]["BlurFilter"] | components["schemas"]["SharpenFilter"] | components["schemas"]["PixelateFilter"] | components["schemas"]["RgbSplitFilter"] | components["schemas"]["NegativeFilter"];
2319
+ /** @description Lightens or darkens the clip. */
2320
+ BrightnessFilter: {
2321
+ /**
2322
+ * @description The filter type - set to `brightness`. (enum property replaced by openapi-typescript)
2323
+ * @enum {string}
2324
+ */
2325
+ type: "brightness";
2326
+ /** @description Sets the brightness shift of the clip. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2327
+ value?: number | components["schemas"]["Tween"][];
2328
+ };
2329
+ /** @description Increases or decreases the difference between the light and dark areas of the clip. */
2330
+ ContrastFilter: {
2331
+ /**
2332
+ * @description The filter type - set to `contrast`. (enum property replaced by openapi-typescript)
2333
+ * @enum {string}
2334
+ */
2335
+ type: "contrast";
2336
+ /** @description Sets the contrast of the clip. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2337
+ value?: number | components["schemas"]["Tween"][];
2338
+ };
2339
+ /** @description Increases or decreases the intensity of the colors in the clip. */
2340
+ SaturationFilter: {
2341
+ /**
2342
+ * @description The filter type - set to `saturation`. (enum property replaced by openapi-typescript)
2343
+ * @enum {string}
2344
+ */
2345
+ type: "saturation";
2346
+ /** @description Sets the saturation of the clip. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2347
+ value?: number | components["schemas"]["Tween"][];
2348
+ };
2349
+ /** @description Rotates the hues of the clip around the color wheel. */
2350
+ HueFilter: {
2351
+ /**
2352
+ * @description The filter type - set to `hue`. (enum property replaced by openapi-typescript)
2353
+ * @enum {string}
2354
+ */
2355
+ type: "hue";
2356
+ /** @description Sets the hue rotation of the clip in degrees. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2357
+ value?: number | components["schemas"]["Tween"][];
2358
+ };
2359
+ /** @description Applies several grading adjustments at once: exposure, temperature, tint, highlights, shadows and vibrance. Every property is optional and an omitted property leaves the clip unchanged. */
2360
+ GradeFilter: {
2361
+ /**
2362
+ * @description The filter type - set to `grade`. (enum property replaced by openapi-typescript)
2363
+ * @enum {string}
2364
+ */
2365
+ type: "grade";
2366
+ /** @description Sets the exposure of the clip in stops. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2367
+ exposure?: number | components["schemas"]["Tween"][];
2368
+ /** @description Sets the white balance of the clip. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2369
+ temperature?: number | components["schemas"]["Tween"][];
2370
+ /** @description Sets the tint of the clip between green and magenta. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2371
+ tint?: number | components["schemas"]["Tween"][];
2372
+ /** @description Adjusts the brightest areas of the clip. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2373
+ highlights?: number | components["schemas"]["Tween"][];
2374
+ /** @description Adjusts the darkest areas of the clip. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2375
+ shadows?: number | components["schemas"]["Tween"][];
2376
+ /** @description Adjusts the saturation of the clip, with a stronger effect on muted colors than on colors that are already vivid. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2377
+ vibrance?: number | components["schemas"]["Tween"][];
2378
+ };
2379
+ /** @description Blurs the clip. Set `value` to blur both axes equally, or set `x` and `y` to blur each axis separately. */
2380
+ BlurFilter: {
2381
+ /**
2382
+ * @description The filter type - set to `blur`. (enum property replaced by openapi-typescript)
2383
+ * @enum {string}
2384
+ */
2385
+ type: "blur";
2386
+ /** @description Sets the blur radius in pixels, measured on the clip before it is scaled to fit the viewport. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2387
+ value?: number | components["schemas"]["Tween"][];
2388
+ /** @description Sets the horizontal blur radius in pixels, overriding `value` on that axis. When omitted, `value` is used. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2389
+ x?: number | components["schemas"]["Tween"][];
2390
+ /** @description Sets the vertical blur radius in pixels, overriding `value` on that axis. When omitted, `value` is used. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2391
+ y?: number | components["schemas"]["Tween"][];
2392
+ };
2393
+ /** @description Sharpens the clip. */
2394
+ SharpenFilter: {
2395
+ /**
2396
+ * @description The filter type - set to `sharpen`. (enum property replaced by openapi-typescript)
2397
+ * @enum {string}
2398
+ */
2399
+ type: "sharpen";
2400
+ /** @description Sets the amount of sharpening. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2401
+ value?: number | components["schemas"]["Tween"][];
2402
+ /** @description Sets the sharpening radius in pixels for a 720p frame. It scales with the frame height. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2403
+ radius?: number | components["schemas"]["Tween"][];
2404
+ };
2405
+ /** @description Turns the clip into blocky pixels. */
2406
+ PixelateFilter: {
2407
+ /**
2408
+ * @description The filter type - set to `pixelate`. (enum property replaced by openapi-typescript)
2409
+ * @enum {string}
2410
+ */
2411
+ type: "pixelate";
2412
+ /** @description Sets the strength of the pixelation. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2413
+ value?: number | components["schemas"]["Tween"][];
2414
+ };
2415
+ /** @description Offsets the red and blue channels in opposite directions to create a color fringing effect. */
2416
+ RgbSplitFilter: {
2417
+ /**
2418
+ * @description The filter type - set to `rgbSplit`. (enum property replaced by openapi-typescript)
2419
+ * @enum {string}
2420
+ */
2421
+ type: "rgbSplit";
2422
+ /** @description Sets the horizontal offset of the red and blue channels as a fraction of the clip's frame. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2423
+ x?: number | components["schemas"]["Tween"][];
2424
+ /** @description Sets the vertical offset of the red and blue channels as a fraction of the clip's frame. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
2425
+ y?: number | components["schemas"]["Tween"][];
2426
+ };
2427
+ /** @description Inverts the clip, turning light areas dark and dark areas light. It has no properties other than `type` and cannot be animated. */
2428
+ NegativeFilter: {
2429
+ /**
2430
+ * @description The filter type - set to `negative`. (enum property replaced by openapi-typescript)
2431
+ * @enum {string}
2432
+ */
2433
+ type: "negative";
2434
+ };
2315
2435
  /** @description A merge field consists of a key; `find`, and a value; `replace`. Merge fields can be used to replace placeholders within the JSON edit to create re-usable templates. Placeholders should be a string with double brace delimiters, i.e. `"{{NAME}}"`. A placeholder can be used for any value within the JSON edit. */
2316
2436
  MergeField: {
2317
2437
  /**
@@ -2589,7 +2709,7 @@ export interface components {
2589
2709
  */
2590
2710
  provider: string;
2591
2711
  /**
2592
- * @description Set to `true` to [opt-out](https://shotstack.io/docs/guide/serving-assets/self-host/) from the Shotstack hosting and CDN service. All files must be downloaded within 24 hours of rendering.
2712
+ * @description Set to `true` to [opt-out](https://shotstack.io/docs/guide/serving-assets/self-host/) from the Shotstack hosting and CDN service. By default files are hosted and stay until you delete them. If you opt out, the file is not hosted and must be downloaded from the render status `url` within 24 hours of rendering.
2593
2713
  * @example false
2594
2714
  */
2595
2715
  exclude?: boolean;
@@ -3246,7 +3366,7 @@ export interface components {
3246
3366
  */
3247
3367
  renderTime?: number;
3248
3368
  /**
3249
- * @description The URL of the final asset. This will only be available if status is done. This is a temporary URL and will be deleted after 24 hours. By default all assets are copied to the Shotstack hosting and CDN destination.
3369
+ * @description A temporary download link to the final asset. This will only be available if status is done. By default all assets are also copied to the [Shotstack hosting and CDN](https://shotstack.io/docs/guide/serving-assets/hosting/) destination, where they stay until you delete them. Serve the asset to your users from its CDN URL, `https://cdn.shotstack.io/au/{version}/{owner}/{id}.{format}`, not from this link, which expires after 24 hours.
3250
3370
  * @example https://shotstack-api-v1-output.s3-ap-southeast-2.amazonaws.com/5ca6hu7s9k/2abd5c11-0f3d-4c6d-ba20-235fc9b8e8b7.mp4
3251
3371
  */
3252
3372
  url?: string;
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.s3DestinationS3DestinationSchema = exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema = exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema = exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema = exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema = exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema = exports.azureBlobStorageDestinationAzureBlobStorageDestinationSchema = exports.azureBlobStorageDestinationOptionsAzureBlobStorageDestinationOptionsSchema = exports.akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSchema = exports.cropSchema = exports.cropCropSchema = exports.chromaKeySchema = exports.chromakeyChromaKeySchema = exports.captionAssetSchema = exports.captionassetCaptionAssetSchema = exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema = exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema = exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema = exports.uploadRootSchema = exports.templatesrenderRootSchema = exports.templatesidRootSchema = exports.templatesRootSchema = exports.sourcesidRootSchema = exports.sourcesRootSchema = exports.renderidRootSchema = exports.renderRootSchema = exports.probeRootSchema = exports.modelsidRootSchema = exports.modelsRootSchema = exports.generatequoteRootSchema = exports.generateidRootSchema = exports.generateRootSchema = exports.assetsrenderidRootSchema = exports.assetsidRootSchema = exports.assetsRootSchema = exports.sourceRootSchema = exports.editRootSchema = void 0;
5
5
  exports.uploadresponsedataUploadResponseDataSchema = exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema = exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema = exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema = exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema = exports.enhancementsSchema = exports.enhancementsEnhancementsSchema = exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema = exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema = exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema = exports.imageAssetSchema = exports.imageassetImageAssetSchema = exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema = exports.html5AssetSchema = exports.html5AssetHtml5AssetSchema = exports.generationRequestSchema = exports.generationrequestGenerationRequestSchema = exports.generationModelSchema = exports.generationmodelGenerationModelSchema = exports.generationAssetSchema = exports.generationassetGenerationAssetSchema = exports.fontSchema = exports.fontFontSchema = exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema = exports.destinationsSchema = exports.destinationsDestinationsSchema = exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema = exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = exports.tiktokDestinationTiktokDestinationSchema = exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema = exports.s3DestinationSchema = void 0;
6
- exports.richcaptionpropertiesRichCaptionActiveFontSchema = exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema = exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema = exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema = exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema = exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema = exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema = exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema = exports.probeResponseSchema = exports.proberesponseProbeResponseSchema = exports.generationResponseSchema = exports.generationresponseGenerationResponseSchema = exports.generationQuoteSchema = exports.generationquoteGenerationQuoteSchema = exports.generationModelListResponseSchema = exports.generationmodellistresponseGenerationModelListResponseSchema = exports.generationModelErrorResponseSchema = exports.generationmodelerrorresponseGenerationModelErrorResponseSchema = exports.generationErrorResponseSchema = exports.generationerrorresponseGenerationErrorResponseSchema = exports.assetResponseSchema = exports.assetresponseAssetResponseSchema = exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema = exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema = exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema = exports.rangeSchema = exports.rangeRangeSchema = exports.posterSchema = exports.posterPosterSchema = exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema = exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema = exports.transcriptionSchema = exports.transcriptionTranscriptionSchema = exports.speedSchema = exports.speedSpeedSchema = exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema = exports.uploadResponseDataSchema = void 0;
7
- exports.outputsresponseOutputsResponseSchema = exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema = exports.outputsSchema = exports.outputsOutputsSchema = exports.renditionSchema = exports.renditionRenditionSchema = exports.sizeSchema = exports.sizeSizeSchema = exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema = exports.transferSchema = exports.transferTransferSchema = exports.transferResponseSchema = exports.transferresponseTransferResponseSchema = exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema = exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema = exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema = exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema = exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema = exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema = exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema = exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema = exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema = exports.richTextPaddingSchema = exports.richtextpropertiesRichTextPaddingSchema = exports.richcaptionpropertiesRichCaptionStyleSchema = exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema = exports.richTextBorderSchema = exports.richtextpropertiesRichTextBorderSchema = exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema = exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema = exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema = exports.richcaptionpropertiesRichCaptionFontSchema = exports.richCaptionAnimationSchema = exports.richcaptionpropertiesRichCaptionAnimationSchema = exports.richCaptionActiveFontSchema = void 0;
8
- exports.transformationTransformationSchema = exports.titleAssetSchema = exports.titleassetTitleAssetSchema = exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSchema = exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema = exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema = exports.offsetSchema = exports.offsetOffsetSchema = exports.audioAssetSchema = exports.audioassetAudioAssetSchema = exports.tweenSchema = exports.tweenTweenSchema = exports.transitionSchema = exports.transitionTransitionSchema = exports.outputSchema = exports.outputOutputSchema = exports.thumbnailSchema = exports.thumbnailThumbnailSchema = exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema = exports.textAssetSchema = exports.textassetTextAssetSchema = exports.textpropertiesTextStrokeSchema = exports.textFontSchema = exports.textpropertiesTextFontSchema = exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema = exports.textpropertiesTextAnimationSchema = exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema = exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema = exports.svgAssetSchema = exports.svgassetSvgAssetSchema = exports.soundtrackSchema = exports.soundtrackSoundtrackSchema = exports.sourceSchema = exports.sourceSourceSchema = exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema = exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema = exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema = exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema = exports.outputsResponseSchema = void 0;
9
- exports.getModelRequest = exports.getModelsResponse = exports.getModelsRequest = exports.getGenerateResponse = exports.getGenerateRequest = exports.postGenerateQuoteResponse = exports.postGenerateQuoteRequest = exports.postGenerateResponse = exports.postGenerateRequest = exports.probeResponse = exports.probeRequest = exports.postTemplateRenderResponse = exports.postTemplateRenderRequest = exports.putTemplateResponse = exports.putTemplateRequest = exports.getTemplateResponse = exports.getTemplateRequest = exports.deleteTemplateResponse = exports.deleteTemplateRequest = exports.postTemplateResponse = exports.postTemplateRequest = exports.getTemplatesResponse = exports.getTemplatesRequest = exports.getRenderResponse = exports.getRenderRequest = exports.postRenderResponse = exports.postRenderRequest = exports.templateSchema = exports.templateTemplateSchema = exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema = exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema = exports.renderResponseSchema = exports.renderresponseRenderResponseSchema = exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema = exports.editSchema = exports.editEditSchema = exports.timelineSchema = exports.timelineTimelineSchema = exports.trackSchema = exports.trackTrackSchema = exports.clipSchema = exports.clipClipSchema = exports.assetSchema = exports.assetAssetSchema = exports.videoAssetSchema = exports.videoassetVideoAssetSchema = exports.transformationSchema = void 0;
10
- exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = exports.getAssetByRenderIdResponse = exports.getAssetByRenderIdRequest = exports.getAssetResponse = exports.getAssetRequest = exports.deleteAssetResponse = exports.deleteAssetRequest = exports.getModelResponse = void 0;
6
+ exports.templateresponseTemplateResponseSchema = exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema = exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema = exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema = exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema = exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema = exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema = exports.probeResponseSchema = exports.proberesponseProbeResponseSchema = exports.generationResponseSchema = exports.generationresponseGenerationResponseSchema = exports.generationQuoteSchema = exports.generationquoteGenerationQuoteSchema = exports.generationModelListResponseSchema = exports.generationmodellistresponseGenerationModelListResponseSchema = exports.generationModelErrorResponseSchema = exports.generationmodelerrorresponseGenerationModelErrorResponseSchema = exports.generationErrorResponseSchema = exports.generationerrorresponseGenerationErrorResponseSchema = exports.assetResponseSchema = exports.assetresponseAssetResponseSchema = exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema = exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema = exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema = exports.rangeSchema = exports.rangeRangeSchema = exports.posterSchema = exports.posterPosterSchema = exports.negativeFilterSchema = exports.negativefilterNegativeFilterSchema = exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema = exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema = exports.transcriptionSchema = exports.transcriptionTranscriptionSchema = exports.speedSchema = exports.speedSpeedSchema = exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema = exports.uploadResponseDataSchema = void 0;
7
+ exports.renditionresponseattributesRenditionResponseAttributesSchema = exports.outputsSchema = exports.outputsOutputsSchema = exports.renditionSchema = exports.renditionRenditionSchema = exports.sizeSchema = exports.sizeSizeSchema = exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema = exports.transferSchema = exports.transferTransferSchema = exports.transferResponseSchema = exports.transferresponseTransferResponseSchema = exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema = exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema = exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema = exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema = exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema = exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema = exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema = exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema = exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema = exports.richTextPaddingSchema = exports.richtextpropertiesRichTextPaddingSchema = exports.richcaptionpropertiesRichCaptionStyleSchema = exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema = exports.richTextBorderSchema = exports.richtextpropertiesRichTextBorderSchema = exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema = exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema = exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema = exports.richcaptionpropertiesRichCaptionFontSchema = exports.richCaptionAnimationSchema = exports.richcaptionpropertiesRichCaptionAnimationSchema = exports.richCaptionActiveFontSchema = exports.richcaptionpropertiesRichCaptionActiveFontSchema = exports.templateResponseSchema = void 0;
8
+ exports.huefilterHueFilterSchema = exports.gradeFilterSchema = exports.gradefilterGradeFilterSchema = exports.contrastFilterSchema = exports.contrastfilterContrastFilterSchema = exports.brightnessFilterSchema = exports.brightnessfilterBrightnessFilterSchema = exports.blurFilterSchema = exports.blurfilterBlurFilterSchema = exports.audioAssetSchema = exports.audioassetAudioAssetSchema = exports.tweenSchema = exports.tweenTweenSchema = exports.transitionSchema = exports.transitionTransitionSchema = exports.outputSchema = exports.outputOutputSchema = exports.thumbnailSchema = exports.thumbnailThumbnailSchema = exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema = exports.textAssetSchema = exports.textassetTextAssetSchema = exports.textpropertiesTextStrokeSchema = exports.textFontSchema = exports.textpropertiesTextFontSchema = exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema = exports.textpropertiesTextAnimationSchema = exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema = exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema = exports.svgAssetSchema = exports.svgassetSvgAssetSchema = exports.soundtrackSchema = exports.soundtrackSoundtrackSchema = exports.sourceSchema = exports.sourceSourceSchema = exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema = exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema = exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema = exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema = exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema = exports.renditionResponseAttributesSchema = void 0;
9
+ exports.getTemplatesRequest = exports.getRenderResponse = exports.getRenderRequest = exports.postRenderResponse = exports.postRenderRequest = exports.templateSchema = exports.templateTemplateSchema = exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema = exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema = exports.renderResponseSchema = exports.renderresponseRenderResponseSchema = exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema = exports.editSchema = exports.editEditSchema = exports.timelineSchema = exports.timelineTimelineSchema = exports.trackSchema = exports.trackTrackSchema = exports.clipSchema = exports.clipClipSchema = exports.assetSchema = exports.assetAssetSchema = exports.videoAssetSchema = exports.videoassetVideoAssetSchema = exports.transformationSchema = exports.transformationTransformationSchema = exports.titleAssetSchema = exports.titleassetTitleAssetSchema = exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSchema = exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema = exports.filterSchema = exports.filterFilterSchema = exports.sharpenFilterSchema = exports.sharpenfilterSharpenFilterSchema = exports.saturationFilterSchema = exports.saturationfilterSaturationFilterSchema = exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema = exports.rgbSplitFilterSchema = exports.rgbsplitfilterRgbSplitFilterSchema = exports.pixelateFilterSchema = exports.pixelatefilterPixelateFilterSchema = exports.offsetSchema = exports.offsetOffsetSchema = exports.hueFilterSchema = void 0;
10
+ exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = exports.getAssetByRenderIdResponse = exports.getAssetByRenderIdRequest = exports.getAssetResponse = exports.getAssetRequest = exports.deleteAssetResponse = exports.deleteAssetRequest = exports.getModelResponse = exports.getModelRequest = exports.getModelsResponse = exports.getModelsRequest = exports.getGenerateResponse = exports.getGenerateRequest = exports.postGenerateQuoteResponse = exports.postGenerateQuoteRequest = exports.postGenerateResponse = exports.postGenerateRequest = exports.probeResponse = exports.probeRequest = exports.postTemplateRenderResponse = exports.postTemplateRenderRequest = exports.putTemplateResponse = exports.putTemplateRequest = exports.getTemplateResponse = exports.getTemplateRequest = exports.deleteTemplateResponse = exports.deleteTemplateRequest = exports.postTemplateResponse = exports.postTemplateRequest = exports.getTemplatesResponse = void 0;
11
11
  const zod_1 = require("zod");
12
12
  exports.editRootSchema = zod_1.z.unknown();
13
13
  exports.sourceRootSchema = zod_1.z.unknown();
@@ -761,6 +761,13 @@ exports.mergefieldMergeFieldSchema = zod_1.z.object({
761
761
  replace: zod_1.z.unknown()
762
762
  }).strict();
763
763
  exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
764
+ /**
765
+ * Inverts the clip, turning light areas dark and dark areas light. It has no properties other than `type` and cannot be animated.
766
+ */
767
+ exports.negativefilterNegativeFilterSchema = zod_1.z.object({
768
+ type: zod_1.z.enum(['negative'])
769
+ }).strict();
770
+ exports.negativeFilterSchema = exports.negativefilterNegativeFilterSchema;
764
771
  /**
765
772
  * Generate a poster image for the video at a specific point from the timeline. The poster image size will match the size of the output video.
766
773
  */
@@ -2394,6 +2401,161 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
2394
2401
  }
2395
2402
  });
2396
2403
  exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
2404
+ /**
2405
+ * Blurs the clip. Set `value` to blur both axes equally, or set `x` and `y` to blur each axis separately.
2406
+ */
2407
+ exports.blurfilterBlurFilterSchema = zod_1.z.object({
2408
+ type: zod_1.z.enum(['blur']),
2409
+ value: zod_1.z.optional(zod_1.z.union([
2410
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2411
+ return undefined; if (Array.isArray(v))
2412
+ return v; if (typeof v === 'string') {
2413
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2414
+ return v;
2415
+ return Number(v);
2416
+ } return v; }), zod_1.z.number().gte(0).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2417
+ zod_1.z.array(exports.tweenTweenSchema)
2418
+ ])),
2419
+ x: zod_1.z.optional(zod_1.z.union([
2420
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2421
+ return undefined; if (Array.isArray(v))
2422
+ return v; if (typeof v === 'string') {
2423
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2424
+ return v;
2425
+ return Number(v);
2426
+ } return v; }), zod_1.z.number().gte(0).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2427
+ zod_1.z.array(exports.tweenTweenSchema)
2428
+ ])),
2429
+ y: zod_1.z.optional(zod_1.z.union([
2430
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2431
+ return undefined; if (Array.isArray(v))
2432
+ return v; if (typeof v === 'string') {
2433
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2434
+ return v;
2435
+ return Number(v);
2436
+ } return v; }), zod_1.z.number().gte(0).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2437
+ zod_1.z.array(exports.tweenTweenSchema)
2438
+ ]))
2439
+ }).strict();
2440
+ exports.blurFilterSchema = exports.blurfilterBlurFilterSchema;
2441
+ /**
2442
+ * Lightens or darkens the clip.
2443
+ */
2444
+ exports.brightnessfilterBrightnessFilterSchema = zod_1.z.object({
2445
+ type: zod_1.z.enum(['brightness']),
2446
+ value: zod_1.z.optional(zod_1.z.union([
2447
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2448
+ return undefined; if (Array.isArray(v))
2449
+ return v; if (typeof v === 'string') {
2450
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2451
+ return v;
2452
+ return Number(v);
2453
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2454
+ zod_1.z.array(exports.tweenTweenSchema)
2455
+ ]))
2456
+ }).strict();
2457
+ exports.brightnessFilterSchema = exports.brightnessfilterBrightnessFilterSchema;
2458
+ /**
2459
+ * Increases or decreases the difference between the light and dark areas of the clip.
2460
+ */
2461
+ exports.contrastfilterContrastFilterSchema = zod_1.z.object({
2462
+ type: zod_1.z.enum(['contrast']),
2463
+ value: zod_1.z.optional(zod_1.z.union([
2464
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2465
+ return undefined; if (Array.isArray(v))
2466
+ return v; if (typeof v === 'string') {
2467
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2468
+ return v;
2469
+ return Number(v);
2470
+ } return v; }), zod_1.z.number().gte(0).lte(4)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2471
+ zod_1.z.array(exports.tweenTweenSchema)
2472
+ ]))
2473
+ }).strict();
2474
+ exports.contrastFilterSchema = exports.contrastfilterContrastFilterSchema;
2475
+ /**
2476
+ * Applies several grading adjustments at once: exposure, temperature, tint, highlights, shadows and vibrance. Every property is optional and an omitted property leaves the clip unchanged.
2477
+ */
2478
+ exports.gradefilterGradeFilterSchema = zod_1.z.object({
2479
+ type: zod_1.z.enum(['grade']),
2480
+ exposure: zod_1.z.optional(zod_1.z.union([
2481
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2482
+ return undefined; if (Array.isArray(v))
2483
+ return v; if (typeof v === 'string') {
2484
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2485
+ return v;
2486
+ return Number(v);
2487
+ } return v; }), zod_1.z.number().gte(-4).lte(4)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2488
+ zod_1.z.array(exports.tweenTweenSchema)
2489
+ ])),
2490
+ temperature: zod_1.z.optional(zod_1.z.union([
2491
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2492
+ return undefined; if (Array.isArray(v))
2493
+ return v; if (typeof v === 'string') {
2494
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2495
+ return v;
2496
+ return Number(v);
2497
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2498
+ zod_1.z.array(exports.tweenTweenSchema)
2499
+ ])),
2500
+ tint: zod_1.z.optional(zod_1.z.union([
2501
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2502
+ return undefined; if (Array.isArray(v))
2503
+ return v; if (typeof v === 'string') {
2504
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2505
+ return v;
2506
+ return Number(v);
2507
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2508
+ zod_1.z.array(exports.tweenTweenSchema)
2509
+ ])),
2510
+ highlights: zod_1.z.optional(zod_1.z.union([
2511
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2512
+ return undefined; if (Array.isArray(v))
2513
+ return v; if (typeof v === 'string') {
2514
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2515
+ return v;
2516
+ return Number(v);
2517
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2518
+ zod_1.z.array(exports.tweenTweenSchema)
2519
+ ])),
2520
+ shadows: zod_1.z.optional(zod_1.z.union([
2521
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2522
+ return undefined; if (Array.isArray(v))
2523
+ return v; if (typeof v === 'string') {
2524
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2525
+ return v;
2526
+ return Number(v);
2527
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2528
+ zod_1.z.array(exports.tweenTweenSchema)
2529
+ ])),
2530
+ vibrance: zod_1.z.optional(zod_1.z.union([
2531
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2532
+ return undefined; if (Array.isArray(v))
2533
+ return v; if (typeof v === 'string') {
2534
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2535
+ return v;
2536
+ return Number(v);
2537
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2538
+ zod_1.z.array(exports.tweenTweenSchema)
2539
+ ]))
2540
+ }).strict();
2541
+ exports.gradeFilterSchema = exports.gradefilterGradeFilterSchema;
2542
+ /**
2543
+ * Rotates the hues of the clip around the color wheel.
2544
+ */
2545
+ exports.huefilterHueFilterSchema = zod_1.z.object({
2546
+ type: zod_1.z.enum(['hue']),
2547
+ value: zod_1.z.optional(zod_1.z.union([
2548
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2549
+ return undefined; if (Array.isArray(v))
2550
+ return v; if (typeof v === 'string') {
2551
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2552
+ return v;
2553
+ return Number(v);
2554
+ } return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2555
+ zod_1.z.array(exports.tweenTweenSchema)
2556
+ ]))
2557
+ }).strict();
2558
+ exports.hueFilterSchema = exports.huefilterHueFilterSchema;
2397
2559
  /**
2398
2560
  * Offsets the position of an asset horizontally or vertically by a relative distance.
2399
2561
  */
@@ -2420,6 +2582,50 @@ exports.offsetOffsetSchema = zod_1.z.object({
2420
2582
  ]))
2421
2583
  }).strict();
2422
2584
  exports.offsetSchema = exports.offsetOffsetSchema;
2585
+ /**
2586
+ * Turns the clip into blocky pixels.
2587
+ */
2588
+ exports.pixelatefilterPixelateFilterSchema = zod_1.z.object({
2589
+ type: zod_1.z.enum(['pixelate']),
2590
+ value: zod_1.z.optional(zod_1.z.union([
2591
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2592
+ return undefined; if (Array.isArray(v))
2593
+ return v; if (typeof v === 'string') {
2594
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2595
+ return v;
2596
+ return Number(v);
2597
+ } return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2598
+ zod_1.z.array(exports.tweenTweenSchema)
2599
+ ]))
2600
+ }).strict();
2601
+ exports.pixelateFilterSchema = exports.pixelatefilterPixelateFilterSchema;
2602
+ /**
2603
+ * Offsets the red and blue channels in opposite directions to create a color fringing effect.
2604
+ */
2605
+ exports.rgbsplitfilterRgbSplitFilterSchema = zod_1.z.object({
2606
+ type: zod_1.z.enum(['rgbSplit']),
2607
+ x: zod_1.z.optional(zod_1.z.union([
2608
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2609
+ return undefined; if (Array.isArray(v))
2610
+ return v; if (typeof v === 'string') {
2611
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2612
+ return v;
2613
+ return Number(v);
2614
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2615
+ zod_1.z.array(exports.tweenTweenSchema)
2616
+ ])),
2617
+ y: zod_1.z.optional(zod_1.z.union([
2618
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2619
+ return undefined; if (Array.isArray(v))
2620
+ return v; if (typeof v === 'string') {
2621
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2622
+ return v;
2623
+ return Number(v);
2624
+ } return v; }), zod_1.z.number().gte(-1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2625
+ zod_1.z.array(exports.tweenTweenSchema)
2626
+ ]))
2627
+ }).strict();
2628
+ exports.rgbSplitFilterSchema = exports.rgbsplitfilterRgbSplitFilterSchema;
2423
2629
  /**
2424
2630
  * Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.
2425
2631
  */
@@ -2436,6 +2642,66 @@ exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
2436
2642
  ]))
2437
2643
  }).strict();
2438
2644
  exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
2645
+ /**
2646
+ * Increases or decreases the intensity of the colors in the clip.
2647
+ */
2648
+ exports.saturationfilterSaturationFilterSchema = zod_1.z.object({
2649
+ type: zod_1.z.enum(['saturation']),
2650
+ value: zod_1.z.optional(zod_1.z.union([
2651
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2652
+ return undefined; if (Array.isArray(v))
2653
+ return v; if (typeof v === 'string') {
2654
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2655
+ return v;
2656
+ return Number(v);
2657
+ } return v; }), zod_1.z.number().gte(0).lte(4)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2658
+ zod_1.z.array(exports.tweenTweenSchema)
2659
+ ]))
2660
+ }).strict();
2661
+ exports.saturationFilterSchema = exports.saturationfilterSaturationFilterSchema;
2662
+ /**
2663
+ * Sharpens the clip.
2664
+ */
2665
+ exports.sharpenfilterSharpenFilterSchema = zod_1.z.object({
2666
+ type: zod_1.z.enum(['sharpen']),
2667
+ value: zod_1.z.optional(zod_1.z.union([
2668
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2669
+ return undefined; if (Array.isArray(v))
2670
+ return v; if (typeof v === 'string') {
2671
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2672
+ return v;
2673
+ return Number(v);
2674
+ } return v; }), zod_1.z.number().gte(0).lte(40)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2675
+ zod_1.z.array(exports.tweenTweenSchema)
2676
+ ])),
2677
+ radius: zod_1.z.optional(zod_1.z.union([
2678
+ zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2679
+ return undefined; if (Array.isArray(v))
2680
+ return v; if (typeof v === 'string') {
2681
+ if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
2682
+ return v;
2683
+ return Number(v);
2684
+ } return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
2685
+ zod_1.z.array(exports.tweenTweenSchema)
2686
+ ]))
2687
+ }).strict();
2688
+ exports.sharpenFilterSchema = exports.sharpenfilterSharpenFilterSchema;
2689
+ /**
2690
+ * A filter that adjusts the look of a Clip. Choose from one of the available filter types below. Keyframe values outside a field's range are limited to that range.
2691
+ */
2692
+ exports.filterFilterSchema = zod_1.z.discriminatedUnion("type", [
2693
+ exports.brightnessfilterBrightnessFilterSchema,
2694
+ exports.contrastfilterContrastFilterSchema,
2695
+ exports.saturationfilterSaturationFilterSchema,
2696
+ exports.huefilterHueFilterSchema,
2697
+ exports.gradefilterGradeFilterSchema,
2698
+ exports.blurfilterBlurFilterSchema,
2699
+ exports.sharpenfilterSharpenFilterSchema,
2700
+ exports.pixelatefilterPixelateFilterSchema,
2701
+ exports.rgbsplitfilterRgbSplitFilterSchema,
2702
+ exports.negativefilterNegativeFilterSchema,
2703
+ ]);
2704
+ exports.filterSchema = exports.filterFilterSchema;
2439
2705
  /**
2440
2706
  * Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat.
2441
2707
  */
@@ -2763,6 +3029,7 @@ exports.clipClipSchema = zod_1.z.object({
2763
3029
  'muted',
2764
3030
  'negative'
2765
3031
  ])),
3032
+ filters: zod_1.z.optional(zod_1.z.array(exports.filterFilterSchema)),
2766
3033
  opacity: zod_1.z.optional(zod_1.z.union([
2767
3034
  zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
2768
3035
  return undefined; if (Array.isArray(v))