@shotstack/schemas 1.24.0-beta.1 → 1.24.0-beta.3
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/api.bundled.json +66 -2
- package/dist/json-schema/edit.json +69 -2
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +21 -2
- package/dist/zod/zod.gen.cjs +36 -9
- package/dist/zod/zod.gen.d.ts +712 -2
- package/dist/zod/zod.gen.js +30 -3
- package/dist/zod/zod.gen.ts +28 -3
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -779,6 +779,7 @@ export interface components {
|
|
|
779
779
|
* @enum {string}
|
|
780
780
|
*/
|
|
781
781
|
volumeEffect?: "none" | "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
782
|
+
mute?: components["schemas"]["Mute"];
|
|
782
783
|
/** @description Adjust the playback speed of the video clip. Use a number for a constant speed or an array of [Tween](./#tocs_tween) objects to change speed over time, for example easing from normal speed up to 3x. */
|
|
783
784
|
speed?: number | components["schemas"]["Tween"][];
|
|
784
785
|
crop?: components["schemas"]["Crop"];
|
|
@@ -1000,6 +1001,8 @@ export interface components {
|
|
|
1000
1001
|
* @enum {string}
|
|
1001
1002
|
*/
|
|
1002
1003
|
effect?: "none" | "fadeIn" | "fadeOut" | "fadeInFadeOut";
|
|
1004
|
+
duck?: components["schemas"]["Duck"];
|
|
1005
|
+
mute?: components["schemas"]["Mute"];
|
|
1003
1006
|
};
|
|
1004
1007
|
/**
|
|
1005
1008
|
* @description The ShapeAsset is used to add shapes to a video. The shape can be styled with a fill and a stroke.
|
|
@@ -1740,6 +1743,22 @@ export interface components {
|
|
|
1740
1743
|
*/
|
|
1741
1744
|
right?: number;
|
|
1742
1745
|
};
|
|
1746
|
+
/** @description Lowers the clip's volume while other clips play and restores it afterwards, for example to keep music under a voiceover. The volume ramps down just before each referenced clip starts and back up after it ends. Requires a numeric `volume` on the clip and cannot be combined with `speed`. */
|
|
1747
|
+
Duck: {
|
|
1748
|
+
/** @description The clip or clips to duck under, each referenced by its alias in the form `alias://clip-name`. */
|
|
1749
|
+
under: string | string[];
|
|
1750
|
+
/**
|
|
1751
|
+
* Format: float
|
|
1752
|
+
* @description The volume while ducked, from 0 to 1. When omitted, the level is chosen automatically so the clips it ducks under stay clearly audible. When set, it must be lower than the clip's own volume.
|
|
1753
|
+
* @example 0.1
|
|
1754
|
+
*/
|
|
1755
|
+
volume?: number;
|
|
1756
|
+
};
|
|
1757
|
+
/** @description Silences English profanity in the clip's speech, and any listed `words`. The audio is transcribed when the edit renders, and the volume drops to zero just before each matching word and returns just after it. Rich captions transcribed from this clip show the same words masked. Profanity detection is not exhaustive: list any word that must not be heard. Cannot be combined with `speed`, `duck` or a volume tween array. */
|
|
1758
|
+
Mute: {
|
|
1759
|
+
/** @description Extra words to silence, each a single word, matched whole and ignoring case and surrounding punctuation. */
|
|
1760
|
+
words?: string[];
|
|
1761
|
+
};
|
|
1743
1762
|
/** @description Apply one or more transformations to a clip. Transformations alter the visual properties of a clip and can be combined to create new shapes and effects. */
|
|
1744
1763
|
Transformation: {
|
|
1745
1764
|
rotate?: components["schemas"]["RotateTransformation"];
|
|
@@ -2314,7 +2333,7 @@ export interface components {
|
|
|
2314
2333
|
*/
|
|
2315
2334
|
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";
|
|
2316
2335
|
};
|
|
2317
|
-
/** @description A filter that adjusts the look of a Clip. Choose from one of the available filter types below.
|
|
2336
|
+
/** @description A filter that adjusts the look of a Clip. Choose from one of the available filter types below. Tween values outside a field's range are limited to that range. */
|
|
2318
2337
|
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
2338
|
/** @description Lightens or darkens the clip. */
|
|
2320
2339
|
BrightnessFilter: {
|
|
@@ -2412,7 +2431,7 @@ export interface components {
|
|
|
2412
2431
|
/** @description Sets the strength of the pixelation. Use a number or an array of [Tween](./#tocs_tween) objects to change it over time. */
|
|
2413
2432
|
value?: number | components["schemas"]["Tween"][];
|
|
2414
2433
|
};
|
|
2415
|
-
/** @description Offsets the red and blue channels in opposite directions to create a color fringing effect. */
|
|
2434
|
+
/** @description Offsets the red and blue channels in opposite directions to create a color fringing effect. Channels pushed past one edge of the frame reappear at the opposite edge, so small values such as 0.02 work best and 1 or -1 shows no split. */
|
|
2416
2435
|
RgbSplitFilter: {
|
|
2417
2436
|
/**
|
|
2418
2437
|
* @description The filter type - set to `rgbSplit`. (enum property replaced by openapi-typescript)
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
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
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
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;
|
|
5
|
+
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.duckSchema = exports.duckDuckSchema = 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.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.muteSchema = exports.muteMuteSchema = exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema = exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema = exports.transcriptionSchema = exports.transcriptionTranscriptionSchema = exports.speedSchema = exports.speedSpeedSchema = exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema = exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema = exports.uploadResponseAttributesSchema = void 0;
|
|
7
|
+
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 = exports.templateresponseTemplateResponseSchema = exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema = exports.templateListResponseSchema = void 0;
|
|
8
|
+
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 = exports.renditionresponseattributesRenditionResponseAttributesSchema = exports.outputsSchema = exports.outputsOutputsSchema = exports.renditionSchema = void 0;
|
|
9
|
+
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 = exports.huefilterHueFilterSchema = exports.gradeFilterSchema = exports.gradefilterGradeFilterSchema = exports.contrastFilterSchema = 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 = exports.getTemplatesRequest = exports.getRenderResponse = exports.getRenderRequest = exports.postRenderResponse = 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();
|
|
@@ -426,6 +426,23 @@ exports.destinationsDestinationsSchema = zod_1.z.discriminatedUnion("provider",
|
|
|
426
426
|
exports.azureBlobStorageDestinationAzureBlobStorageDestinationSchema
|
|
427
427
|
]);
|
|
428
428
|
exports.destinationsSchema = exports.destinationsDestinationsSchema;
|
|
429
|
+
/**
|
|
430
|
+
* Lowers the clip's volume while other clips play and restores it afterwards, for example to keep music under a voiceover. The volume ramps down just before each referenced clip starts and back up after it ends. Requires a numeric `volume` on the clip and cannot be combined with `speed`.
|
|
431
|
+
*/
|
|
432
|
+
exports.duckDuckSchema = zod_1.z.object({
|
|
433
|
+
under: zod_1.z.union([
|
|
434
|
+
zod_1.z.union([zod_1.z.string().regex(/^alias:\/\/[A-Za-z0-9_-]+$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
435
|
+
zod_1.z.array(zod_1.z.union([zod_1.z.string().regex(/^alias:\/\/[A-Za-z0-9_-]+$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).min(1)
|
|
436
|
+
]),
|
|
437
|
+
volume: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
438
|
+
return undefined; if (Array.isArray(v))
|
|
439
|
+
return v; if (typeof v === 'string') {
|
|
440
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
441
|
+
return v;
|
|
442
|
+
return Number(v);
|
|
443
|
+
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
444
|
+
}).strict();
|
|
445
|
+
exports.duckSchema = exports.duckDuckSchema;
|
|
429
446
|
/**
|
|
430
447
|
* Flip a clip vertically or horizontally. Acts as a mirror effect of the clip along the selected plane.
|
|
431
448
|
*/
|
|
@@ -761,6 +778,13 @@ exports.mergefieldMergeFieldSchema = zod_1.z.object({
|
|
|
761
778
|
replace: zod_1.z.unknown()
|
|
762
779
|
}).strict();
|
|
763
780
|
exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
|
|
781
|
+
/**
|
|
782
|
+
* Silences English profanity in the clip's speech, and any listed `words`. The audio is transcribed when the edit renders, and the volume drops to zero just before each matching word and returns just after it. Rich captions transcribed from this clip show the same words masked. Profanity detection is not exhaustive: list any word that must not be heard. Cannot be combined with `speed`, `duck` or a volume tween array.
|
|
783
|
+
*/
|
|
784
|
+
exports.muteMuteSchema = zod_1.z.object({
|
|
785
|
+
words: zod_1.z.optional(zod_1.z.array(zod_1.z.string().min(1).max(50).regex(/^\S+$/)).min(1).max(200))
|
|
786
|
+
}).strict();
|
|
787
|
+
exports.muteSchema = exports.muteMuteSchema;
|
|
764
788
|
/**
|
|
765
789
|
* Inverts the clip, turning light areas dark and dark areas light. It has no properties other than `type` and cannot be animated.
|
|
766
790
|
*/
|
|
@@ -2388,7 +2412,9 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
|
|
|
2388
2412
|
'fadeIn',
|
|
2389
2413
|
'fadeOut',
|
|
2390
2414
|
'fadeInFadeOut'
|
|
2391
|
-
]))
|
|
2415
|
+
])),
|
|
2416
|
+
duck: zod_1.z.optional(exports.duckDuckSchema),
|
|
2417
|
+
mute: zod_1.z.optional(exports.muteMuteSchema)
|
|
2392
2418
|
}).strict().superRefine((data, ctx) => {
|
|
2393
2419
|
var hasSrc = typeof data.src === "string" && data.src.trim().length > 0;
|
|
2394
2420
|
var hasPrompt = typeof data.prompt === "string" && data.prompt.trim().length > 0;
|
|
@@ -2600,7 +2626,7 @@ exports.pixelatefilterPixelateFilterSchema = zod_1.z.object({
|
|
|
2600
2626
|
}).strict();
|
|
2601
2627
|
exports.pixelateFilterSchema = exports.pixelatefilterPixelateFilterSchema;
|
|
2602
2628
|
/**
|
|
2603
|
-
* Offsets the red and blue channels in opposite directions to create a color fringing effect.
|
|
2629
|
+
* Offsets the red and blue channels in opposite directions to create a color fringing effect. Channels pushed past one edge of the frame reappear at the opposite edge, so small values such as 0.02 work best and 1 or -1 shows no split.
|
|
2604
2630
|
*/
|
|
2605
2631
|
exports.rgbsplitfilterRgbSplitFilterSchema = zod_1.z.object({
|
|
2606
2632
|
type: zod_1.z.enum(['rgbSplit']),
|
|
@@ -2687,7 +2713,7 @@ exports.sharpenfilterSharpenFilterSchema = zod_1.z.object({
|
|
|
2687
2713
|
}).strict();
|
|
2688
2714
|
exports.sharpenFilterSchema = exports.sharpenfilterSharpenFilterSchema;
|
|
2689
2715
|
/**
|
|
2690
|
-
* A filter that adjusts the look of a Clip. Choose from one of the available filter types below.
|
|
2716
|
+
* A filter that adjusts the look of a Clip. Choose from one of the available filter types below. Tween values outside a field's range are limited to that range.
|
|
2691
2717
|
*/
|
|
2692
2718
|
exports.filterFilterSchema = zod_1.z.discriminatedUnion("type", [
|
|
2693
2719
|
exports.brightnessfilterBrightnessFilterSchema,
|
|
@@ -2883,6 +2909,7 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
|
|
|
2883
2909
|
'fadeOut',
|
|
2884
2910
|
'fadeInFadeOut'
|
|
2885
2911
|
])),
|
|
2912
|
+
mute: zod_1.z.optional(exports.muteMuteSchema),
|
|
2886
2913
|
speed: zod_1.z.optional(zod_1.z.union([
|
|
2887
2914
|
zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
2888
2915
|
return undefined; if (Array.isArray(v))
|