@shotstack/schemas 1.5.6 → 1.5.8
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 +334 -4
- package/dist/schema.d.ts +153 -4
- package/dist/zod/zod.gen.cjs +306 -174
- package/dist/zod/zod.gen.d.ts +11096 -3974
- package/dist/zod/zod.gen.js +301 -169
- package/dist/zod/zod.gen.ts +258 -169
- package/package.json +1 -1
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema = exports.openAiGeneratedAssetOptionsSchema = exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema = exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema = exports.heyGenGeneratedAssetSchema = exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema = exports.heyGenGeneratedAssetOptionsSchema = exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema = exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema = exports.elevenLabsGeneratedAssetSchema = exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = exports.elevenLabsGeneratedAssetOptionsSchema = exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema = exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema = exports.didGeneratedAssetSchema = exports.didGeneratedAssetDidGeneratedAssetSchema = exports.didGeneratedAssetOptionsSchema = exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema = exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema = 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.generateassetidRootSchema = exports.generateassetRootSchema = exports.assetsrenderidRootSchema = exports.assetsidRootSchema = exports.assetsRootSchema = exports.sourceRootSchema = exports.editRootSchema = void 0;
|
|
5
5
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema = exports.s3DestinationSchema = 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.cropSchema = exports.cropCropSchema = exports.generatedAssetSchema = exports.generatedAssetGeneratedAssetSchema = exports.stabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = exports.shotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetOptionsSchema = exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema = exports.shotstackTextToSpeechOptionsSchema = exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema = exports.shotstackTextToImageOptionsSchema = exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = exports.shotstackTextGeneratorOptionsSchema = exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema = exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = exports.generatedAssetResponseSchema = exports.generatedAssetResponseGeneratedAssetResponseSchema = exports.generatedAssetResponseDataSchema = exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema = exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema = exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema = exports.generatedAssetErrorResponseDataSchema = exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema = void 0;
|
|
6
6
|
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 = 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.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 = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.getGeneratedAssetResponse = exports.getGeneratedAssetRequest = exports.postGenerateAssetResponse = exports.postGenerateAssetRequest = 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 = void 0;
|
|
7
|
+
exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema = exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema = exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema = exports.richtextpropertiesRichTextPaddingSchema = exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema = exports.richtextpropertiesRichTextBorderSchema = exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema = exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema = exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema = exports.wordTimingSchema = exports.richcaptionpropertiesWordTimingSchema = exports.richCaptionWordAnimationSchema = exports.richcaptionpropertiesRichCaptionWordAnimationSchema = exports.richCaptionActiveFontSchema = 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.assetResponseSchema = exports.assetresponseAssetResponseSchema = exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema = exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema = exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema = exports.rangeSchema = exports.rangeRangeSchema = exports.posterSchema = exports.posterPosterSchema = void 0;
|
|
8
|
+
exports.svgSolidFillSchema = exports.svgpropertiesSvgSolidFillSchema = exports.svgShadowSchema = exports.svgpropertiesSvgShadowSchema = exports.svgRadialGradientFillSchema = exports.svgpropertiesSvgRadialGradientFillSchema = exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFillSchema = exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema = 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 = 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.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema = exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema = exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema = void 0;
|
|
9
|
+
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.svgShapeSchema = exports.svgshapesSvgShapeSchema = exports.svgStarShapeSchema = exports.svgshapesSvgStarShapeSchema = exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema = exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema = exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema = exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema = exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema = exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema = exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema = exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema = exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema = exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema = exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema = exports.svgStrokeSchema = exports.svgpropertiesSvgStrokeSchema = exports.svgFillSchema = exports.svgpropertiesSvgFillSchema = void 0;
|
|
10
|
+
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 = 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 = void 0;
|
|
11
|
+
exports.getGeneratedAssetResponse = exports.getGeneratedAssetRequest = exports.postGenerateAssetResponse = exports.postGenerateAssetRequest = 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.probeResponse = exports.probeRequest = exports.postTemplateRenderResponse = exports.postTemplateRenderRequest = exports.putTemplateResponse = exports.putTemplateRequest = exports.getTemplateResponse = exports.getTemplateRequest = void 0;
|
|
12
12
|
const zod_1 = require("zod");
|
|
13
13
|
exports.editRootSchema = zod_1.z.unknown();
|
|
14
14
|
exports.sourceRootSchema = zod_1.z.unknown();
|
|
@@ -52,7 +52,7 @@ exports.captionpropertiesCaptionBackgroundSchema = zod_1.z.object({
|
|
|
52
52
|
return v;
|
|
53
53
|
return Number(v);
|
|
54
54
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
55
|
-
});
|
|
55
|
+
}).strict();
|
|
56
56
|
exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema;
|
|
57
57
|
/**
|
|
58
58
|
* Font properties for captions text.
|
|
@@ -89,7 +89,7 @@ exports.captionpropertiesCaptionFontSchema = zod_1.z.object({
|
|
|
89
89
|
return v;
|
|
90
90
|
return Number(v);
|
|
91
91
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
92
|
-
});
|
|
92
|
+
}).strict();
|
|
93
93
|
exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema;
|
|
94
94
|
/**
|
|
95
95
|
* The margin properties for captions. Margins are used to position the caption text and background on the screen.
|
|
@@ -116,7 +116,7 @@ exports.captionpropertiesCaptionMarginSchema = zod_1.z.object({
|
|
|
116
116
|
return v;
|
|
117
117
|
return Number(v);
|
|
118
118
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
119
|
-
});
|
|
119
|
+
}).strict();
|
|
120
120
|
exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema;
|
|
121
121
|
/**
|
|
122
122
|
* The CaptionAsset is used to add captions (subtitles) to a video. It uses a supplied SRT or VTT file which will
|
|
@@ -150,7 +150,7 @@ exports.captionassetCaptionAssetSchema = zod_1.z.object({
|
|
|
150
150
|
return v;
|
|
151
151
|
return Number(v);
|
|
152
152
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
153
|
-
});
|
|
153
|
+
}).strict();
|
|
154
154
|
exports.captionAssetSchema = exports.captionassetCaptionAssetSchema;
|
|
155
155
|
/**
|
|
156
156
|
* Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
|
|
@@ -171,7 +171,7 @@ exports.chromakeyChromaKeySchema = zod_1.z.object({
|
|
|
171
171
|
return v;
|
|
172
172
|
return Number(v);
|
|
173
173
|
} return v; }), zod_1.z.number().int().gte(0).lte(250)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
174
|
-
});
|
|
174
|
+
}).strict();
|
|
175
175
|
exports.chromaKeySchema = exports.chromakeyChromaKeySchema;
|
|
176
176
|
/**
|
|
177
177
|
* Options for the D-ID text-to-avatar service. Set the text to be converted to an avatar and configure the avatar and background. The output will be generated as an MP4 video file.
|
|
@@ -181,7 +181,7 @@ exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema = zod_1.z.object({
|
|
|
181
181
|
text: zod_1.z.string(),
|
|
182
182
|
avatar: zod_1.z.enum(["jack", "lana", "lily", "matt", "rian"]),
|
|
183
183
|
background: zod_1.z.optional(zod_1.z.string()),
|
|
184
|
-
});
|
|
184
|
+
}).strict();
|
|
185
185
|
exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema;
|
|
186
186
|
/**
|
|
187
187
|
* Generate assets using the third party D-ID provider AI services.
|
|
@@ -202,7 +202,7 @@ exports.didGeneratedAssetOptionsSchema = exports.didGeneratedAssetOptionsDidGene
|
|
|
202
202
|
exports.didGeneratedAssetDidGeneratedAssetSchema = zod_1.z.object({
|
|
203
203
|
provider: zod_1.z.enum(["d-id"]),
|
|
204
204
|
options: exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema,
|
|
205
|
-
});
|
|
205
|
+
}).strict();
|
|
206
206
|
exports.didGeneratedAssetSchema = exports.didGeneratedAssetDidGeneratedAssetSchema;
|
|
207
207
|
/**
|
|
208
208
|
* Options for the ElevenLabs text-to-speech service. Set the text to be converted to speech and choose a voice to set the speaking style. The output will be generated as an MP3 audio file available at the URL returned in the response.
|
|
@@ -221,7 +221,7 @@ exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema = zod_1
|
|
|
221
221
|
"Rachel",
|
|
222
222
|
"Sam",
|
|
223
223
|
]),
|
|
224
|
-
});
|
|
224
|
+
}).strict();
|
|
225
225
|
exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema;
|
|
226
226
|
/**
|
|
227
227
|
* Generate assets using the third party ElevenLabs provider AI services.
|
|
@@ -242,7 +242,7 @@ exports.elevenLabsGeneratedAssetOptionsSchema = exports.elevenlabsGeneratedAsset
|
|
|
242
242
|
exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = zod_1.z.object({
|
|
243
243
|
provider: zod_1.z.enum(["elevenlabs"]),
|
|
244
244
|
options: exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema,
|
|
245
|
-
});
|
|
245
|
+
}).strict();
|
|
246
246
|
exports.elevenLabsGeneratedAssetSchema = exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema;
|
|
247
247
|
/**
|
|
248
248
|
* Options for the HeyGen text-to-avatar service. Set the text to be converted to an avatar and configure the avatars voice, speaking style, appearance and background. The output will be generated as an MP4 video file available at the URL returned in the response.
|
|
@@ -367,7 +367,7 @@ exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema = zod_1.z.objec
|
|
|
367
367
|
background: zod_1.z.optional(zod_1.z.string()),
|
|
368
368
|
ratio: zod_1.z.optional(zod_1.z.enum(["16:9", "9:16"])),
|
|
369
369
|
test: zod_1.z.optional(zod_1.z.boolean()),
|
|
370
|
-
});
|
|
370
|
+
}).strict();
|
|
371
371
|
exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema;
|
|
372
372
|
/**
|
|
373
373
|
* Generate assets using the third party HeyGen provider AI services.
|
|
@@ -388,7 +388,7 @@ exports.heyGenGeneratedAssetOptionsSchema = exports.heygenGeneratedAssetOptionsH
|
|
|
388
388
|
exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema = zod_1.z.object({
|
|
389
389
|
provider: zod_1.z.enum(["heygen"]),
|
|
390
390
|
options: exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema,
|
|
391
|
-
});
|
|
391
|
+
}).strict();
|
|
392
392
|
exports.heyGenGeneratedAssetSchema = exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema;
|
|
393
393
|
/**
|
|
394
394
|
* Options for the OpenAI text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response.
|
|
@@ -398,7 +398,7 @@ exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema = zod_1.z.obj
|
|
|
398
398
|
prompt: zod_1.z.string(),
|
|
399
399
|
model: zod_1.z.enum(["gpt-3.5-turbo", "gpt-4"]),
|
|
400
400
|
systemPrompt: zod_1.z.optional(zod_1.z.string()),
|
|
401
|
-
});
|
|
401
|
+
}).strict();
|
|
402
402
|
exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema;
|
|
403
403
|
/**
|
|
404
404
|
* Generate assets using OpenAI provider AI services.
|
|
@@ -419,7 +419,7 @@ exports.openAiGeneratedAssetOptionsSchema = exports.openaiGeneratedAssetOptionsO
|
|
|
419
419
|
exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema = zod_1.z.object({
|
|
420
420
|
provider: zod_1.z.enum(["openai"]),
|
|
421
421
|
options: exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema,
|
|
422
|
-
});
|
|
422
|
+
}).strict();
|
|
423
423
|
exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema;
|
|
424
424
|
/**
|
|
425
425
|
* Individual errors returned by the Create API.
|
|
@@ -428,14 +428,14 @@ exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema = z
|
|
|
428
428
|
status: zod_1.z.string(),
|
|
429
429
|
title: zod_1.z.string(),
|
|
430
430
|
detail: zod_1.z.string(),
|
|
431
|
-
});
|
|
431
|
+
}).strict();
|
|
432
432
|
exports.generatedAssetErrorResponseDataSchema = exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema;
|
|
433
433
|
/**
|
|
434
434
|
* Error response data for validation and other errors returned by the Create API.
|
|
435
435
|
*/
|
|
436
436
|
exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema = zod_1.z.object({
|
|
437
437
|
errors: zod_1.z.array(exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema),
|
|
438
|
-
});
|
|
438
|
+
}).strict();
|
|
439
439
|
exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema;
|
|
440
440
|
/**
|
|
441
441
|
* The id and attributes of the generated asset.
|
|
@@ -448,7 +448,7 @@ exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema =
|
|
|
448
448
|
status: zod_1.z.enum(["queued", "processing", "saving", "done", "failed"]),
|
|
449
449
|
created: zod_1.z.string(),
|
|
450
450
|
updated: zod_1.z.string(),
|
|
451
|
-
});
|
|
451
|
+
}).strict();
|
|
452
452
|
exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema;
|
|
453
453
|
/**
|
|
454
454
|
* The type of resource (an asset), it's id and attributes of the generated file.
|
|
@@ -457,14 +457,14 @@ exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema = zod_1.z.obj
|
|
|
457
457
|
type: zod_1.z.string(),
|
|
458
458
|
id: zod_1.z.string(),
|
|
459
459
|
attributes: exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema,
|
|
460
|
-
});
|
|
460
|
+
}).strict();
|
|
461
461
|
exports.generatedAssetResponseDataSchema = exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema;
|
|
462
462
|
/**
|
|
463
463
|
* The response returned by the Create API [generate asset](#generate-asset) and [get generated asset](#get-generated-asset) requests. Includes status and details of the generated asset. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
464
464
|
*/
|
|
465
465
|
exports.generatedAssetResponseGeneratedAssetResponseSchema = zod_1.z.object({
|
|
466
466
|
data: exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema,
|
|
467
|
-
});
|
|
467
|
+
}).strict();
|
|
468
468
|
exports.generatedAssetResponseSchema = exports.generatedAssetResponseGeneratedAssetResponseSchema;
|
|
469
469
|
/**
|
|
470
470
|
* Options for the Shotstack image-to-video service. Set the URL of an image to convert in to a video. The output will be generated as an MP4 file available at the URL returned in the response.
|
|
@@ -486,7 +486,7 @@ exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = zod_1.z
|
|
|
486
486
|
return v;
|
|
487
487
|
return Number(v);
|
|
488
488
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(127),
|
|
489
|
-
});
|
|
489
|
+
}).strict();
|
|
490
490
|
exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema;
|
|
491
491
|
/**
|
|
492
492
|
* Options for the Shotstack text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response.
|
|
@@ -494,7 +494,7 @@ exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOption
|
|
|
494
494
|
exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema = zod_1.z.object({
|
|
495
495
|
type: zod_1.z.enum(["text-generator"]),
|
|
496
496
|
prompt: zod_1.z.string(),
|
|
497
|
-
});
|
|
497
|
+
}).strict();
|
|
498
498
|
exports.shotstackTextGeneratorOptionsSchema = exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema;
|
|
499
499
|
/**
|
|
500
500
|
* Options for the Shotstack text-to-image service. Set a text prompt to generate an image from. The output will be generated as a PNG file available at the URL returned in the response.
|
|
@@ -516,7 +516,7 @@ exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = zod_1.z.o
|
|
|
516
516
|
return v;
|
|
517
517
|
return Number(v);
|
|
518
518
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
519
|
-
});
|
|
519
|
+
}).strict();
|
|
520
520
|
exports.shotstackTextToImageOptionsSchema = exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema;
|
|
521
521
|
/**
|
|
522
522
|
* Options for the Shotstack text-to-speech service. Set the text to be converted to speech and choose a voice to set the speaking style. The output will be generated as an MP3 audio file available at the URL returned in the response.
|
|
@@ -615,7 +615,7 @@ exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema = zod_1.z
|
|
|
615
615
|
"fi-FI",
|
|
616
616
|
])),
|
|
617
617
|
newscaster: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
618
|
-
});
|
|
618
|
+
}).strict();
|
|
619
619
|
exports.shotstackTextToSpeechOptionsSchema = exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema;
|
|
620
620
|
/**
|
|
621
621
|
* Generate assets using the native Shotstack provider AI services.
|
|
@@ -649,7 +649,7 @@ exports.shotstackGeneratedAssetOptionsSchema = exports.shotstackGeneratedAssetOp
|
|
|
649
649
|
exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema = zod_1.z.object({
|
|
650
650
|
provider: zod_1.z.enum(["shotstack"]),
|
|
651
651
|
options: exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema,
|
|
652
|
-
});
|
|
652
|
+
}).strict();
|
|
653
653
|
exports.shotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema;
|
|
654
654
|
/**
|
|
655
655
|
* Options for the Stability AI text-to-image service. Set a text prompt to generate an image from plus other engine and configuration options. The output will be generated as a JPG file available at the URL returned in the response.
|
|
@@ -718,7 +718,7 @@ exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = zod_1
|
|
|
718
718
|
"pixel-art",
|
|
719
719
|
"tile-texture",
|
|
720
720
|
])),
|
|
721
|
-
});
|
|
721
|
+
}).strict();
|
|
722
722
|
exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema;
|
|
723
723
|
/**
|
|
724
724
|
* Generate assets using Stability AI provider AI services.
|
|
@@ -739,7 +739,7 @@ exports.stabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiGeneratedAss
|
|
|
739
739
|
exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema = zod_1.z.object({
|
|
740
740
|
provider: zod_1.z.enum(["stability-ai"]),
|
|
741
741
|
options: exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema,
|
|
742
|
-
});
|
|
742
|
+
}).strict();
|
|
743
743
|
exports.stabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema;
|
|
744
744
|
/**
|
|
745
745
|
* A generated asset is a media asset created by the Create API. You can use native or third party providers to generate video, audio and image files using Generative AI services like text-to-speech and text-to-avatar.
|
|
@@ -809,7 +809,7 @@ exports.cropCropSchema = zod_1.z.object({
|
|
|
809
809
|
return v;
|
|
810
810
|
return Number(v);
|
|
811
811
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
812
|
-
});
|
|
812
|
+
}).strict();
|
|
813
813
|
exports.cropSchema = exports.cropCropSchema;
|
|
814
814
|
/**
|
|
815
815
|
* Pass additional options to control how files are stored in Google Cloud Storage.
|
|
@@ -818,7 +818,7 @@ exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptions
|
|
|
818
818
|
bucket: zod_1.z.string(),
|
|
819
819
|
prefix: zod_1.z.optional(zod_1.z.string()),
|
|
820
820
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
821
|
-
});
|
|
821
|
+
}).strict();
|
|
822
822
|
exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema;
|
|
823
823
|
/**
|
|
824
824
|
* Send videos and assets to a [Google Cloud Storage](https://cloud.google.com/storage) bucket. Send files with your own prefix and filename. Google Cloud credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/google-cloud-storage), not in the request.
|
|
@@ -826,7 +826,7 @@ exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageD
|
|
|
826
826
|
exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = zod_1.z.object({
|
|
827
827
|
provider: zod_1.z.literal("google-cloud-storage"),
|
|
828
828
|
options: zod_1.z.optional(exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema),
|
|
829
|
-
});
|
|
829
|
+
}).strict();
|
|
830
830
|
exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema;
|
|
831
831
|
/**
|
|
832
832
|
* Pass the folder ID and options to configure how assets are stored in Google Drive.
|
|
@@ -834,7 +834,7 @@ exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinat
|
|
|
834
834
|
exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = zod_1.z.object({
|
|
835
835
|
folderId: zod_1.z.string(),
|
|
836
836
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
837
|
-
});
|
|
837
|
+
}).strict();
|
|
838
838
|
exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
|
|
839
839
|
/**
|
|
840
840
|
* Send rendered videos and assets to the [Google Drive](https://shotstack.io/docs/guide/serving-assets/destinations/google-drive/) cloud storage service. Google Drive uses OAuth and you must authenticate and link your Google account via [dashboard](https://dashboard.shotstack.io/integrations/google-drive), not in the request.
|
|
@@ -842,7 +842,7 @@ exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOpti
|
|
|
842
842
|
exports.googleDriveDestinationGoogleDriveDestinationSchema = zod_1.z.object({
|
|
843
843
|
provider: zod_1.z.literal("google-drive"),
|
|
844
844
|
options: exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema,
|
|
845
|
-
});
|
|
845
|
+
}).strict();
|
|
846
846
|
exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema;
|
|
847
847
|
/**
|
|
848
848
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
@@ -850,7 +850,7 @@ exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDrive
|
|
|
850
850
|
exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
851
851
|
playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(["public", "signed"]))),
|
|
852
852
|
passthrough: zod_1.z.optional(zod_1.z.string().max(255)),
|
|
853
|
-
});
|
|
853
|
+
}).strict();
|
|
854
854
|
exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
855
855
|
/**
|
|
856
856
|
* Send videos to the [Mux](https://shotstack.io/docs/guide/serving-assets/destinations/mux/) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
@@ -858,7 +858,7 @@ exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinatio
|
|
|
858
858
|
exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
|
|
859
859
|
provider: zod_1.z.literal("mux"),
|
|
860
860
|
options: zod_1.z.optional(exports.muxDestinationOptionsMuxDestinationOptionsSchema),
|
|
861
|
-
});
|
|
861
|
+
}).strict();
|
|
862
862
|
exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema;
|
|
863
863
|
/**
|
|
864
864
|
* Pass additional options to control how files are stored in S3.
|
|
@@ -869,7 +869,7 @@ exports.s3DestinationOptionsS3DestinationOptionsSchema = zod_1.z.object({
|
|
|
869
869
|
prefix: zod_1.z.optional(zod_1.z.string()),
|
|
870
870
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
871
871
|
acl: zod_1.z.optional(zod_1.z.string()),
|
|
872
|
-
});
|
|
872
|
+
}).strict();
|
|
873
873
|
exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema;
|
|
874
874
|
/**
|
|
875
875
|
* Send videos and assets to an [Amazon S3](https://shotstack.io/docs/guide/serving-assets/destinations/s3/) bucket. Send files to any region with your own prefix and filename. AWS credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/s3), not in the request.
|
|
@@ -877,7 +877,7 @@ exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOp
|
|
|
877
877
|
exports.s3DestinationS3DestinationSchema = zod_1.z.object({
|
|
878
878
|
provider: zod_1.z.literal("s3"),
|
|
879
879
|
options: zod_1.z.optional(exports.s3DestinationOptionsS3DestinationOptionsSchema),
|
|
880
|
-
});
|
|
880
|
+
}).strict();
|
|
881
881
|
exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
|
|
882
882
|
/**
|
|
883
883
|
* Send videos and assets to the [Shotstack hosting and CDN](https://shotstack.io/docs/guide/serving-assets/destinations/shotstack/) service. This destination is enabled by default.
|
|
@@ -885,7 +885,7 @@ exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
|
|
|
885
885
|
exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
|
|
886
886
|
provider: zod_1.z.literal("shotstack"),
|
|
887
887
|
exclude: zod_1.z.optional(zod_1.z.boolean()),
|
|
888
|
-
});
|
|
888
|
+
}).strict();
|
|
889
889
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
|
|
890
890
|
/**
|
|
891
891
|
* Pass additional options to control how TikTok publishes video.
|
|
@@ -896,14 +896,14 @@ exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object(
|
|
|
896
896
|
disableDuet: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
897
897
|
disableStitch: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
898
898
|
disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
899
|
-
});
|
|
899
|
+
}).strict();
|
|
900
900
|
/**
|
|
901
901
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
902
902
|
*/
|
|
903
903
|
exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
|
|
904
904
|
provider: zod_1.z.literal("tiktok"),
|
|
905
905
|
options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema),
|
|
906
|
-
});
|
|
906
|
+
}).strict();
|
|
907
907
|
/**
|
|
908
908
|
* Options to control the visibility of videos and privacy features.
|
|
909
909
|
*/
|
|
@@ -913,7 +913,7 @@ exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = zod
|
|
|
913
913
|
comments: zod_1.z.optional(zod_1.z.enum(["anybody", "nobody", "contacts"])),
|
|
914
914
|
download: zod_1.z.optional(zod_1.z.boolean()),
|
|
915
915
|
add: zod_1.z.optional(zod_1.z.boolean()),
|
|
916
|
-
});
|
|
916
|
+
}).strict();
|
|
917
917
|
exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema;
|
|
918
918
|
/**
|
|
919
919
|
* Pass additional options to control how Vimeo publishes video, including name, description and privacy settings.
|
|
@@ -923,7 +923,7 @@ exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = zod_1.z.object({
|
|
|
923
923
|
description: zod_1.z.optional(zod_1.z.string()),
|
|
924
924
|
privacy: zod_1.z.optional(exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema),
|
|
925
925
|
folderUri: zod_1.z.optional(zod_1.z.string()),
|
|
926
|
-
});
|
|
926
|
+
}).strict();
|
|
927
927
|
exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema;
|
|
928
928
|
/**
|
|
929
929
|
* Send videos to [Vimeo](https://shotstack.io/docs/guide/serving-assets/destinations/vimeo/) video hosting and streaming service. Vimeo credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/vimeo), not in the request.
|
|
@@ -931,7 +931,7 @@ exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDest
|
|
|
931
931
|
exports.vimeoDestinationVimeoDestinationSchema = zod_1.z.object({
|
|
932
932
|
provider: zod_1.z.literal("vimeo"),
|
|
933
933
|
options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema),
|
|
934
|
-
});
|
|
934
|
+
}).strict();
|
|
935
935
|
exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema;
|
|
936
936
|
/**
|
|
937
937
|
* A destination is a location where assets can be sent to for serving or hosting. Videos, images and audio files that are rendered by the [Edit API](#shotstack-edit) and [source](#tocs_source) and [rendition](#tocs_rendition) files generated by the [Ingest API](#shotstack-ingest) can be sent to destinations. You can also fetch a file from any public URL and [transfer](#transfer-asset) it to a destination. A file can be sent to one or more destinations including 3rd party destinations.
|
|
@@ -954,14 +954,14 @@ exports.destinationsSchema = exports.destinationsDestinationsSchema;
|
|
|
954
954
|
exports.fliptransformationFlipTransformationSchema = zod_1.z.object({
|
|
955
955
|
horizontal: zod_1.z.optional(zod_1.z.boolean()),
|
|
956
956
|
vertical: zod_1.z.optional(zod_1.z.boolean()),
|
|
957
|
-
});
|
|
957
|
+
}).strict();
|
|
958
958
|
exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema;
|
|
959
959
|
/**
|
|
960
960
|
* Download a custom font to use with the HTML asset type, using the font name in the CSS or font tag. See our [custom fonts](https://shotstack.io/learn/html-custom-fonts/) getting started guide for more details.
|
|
961
961
|
*/
|
|
962
962
|
exports.fontFontSchema = zod_1.z.object({
|
|
963
963
|
src: zod_1.z.string(),
|
|
964
|
-
});
|
|
964
|
+
}).strict();
|
|
965
965
|
exports.fontSchema = exports.fontFontSchema;
|
|
966
966
|
/**
|
|
967
967
|
* **Notice: The HtmlAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
|
|
@@ -1003,7 +1003,7 @@ exports.htmlassetHtmlAssetSchema = zod_1.z.object({
|
|
|
1003
1003
|
"topLeft",
|
|
1004
1004
|
"center",
|
|
1005
1005
|
])),
|
|
1006
|
-
});
|
|
1006
|
+
}).strict();
|
|
1007
1007
|
exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema;
|
|
1008
1008
|
/**
|
|
1009
1009
|
* The ImageAsset is used to create video from images to compose an image. The src must be a publicly accessible URL to an image resource such as a jpg or png file.
|
|
@@ -1012,7 +1012,7 @@ exports.imageassetImageAssetSchema = zod_1.z.object({
|
|
|
1012
1012
|
type: zod_1.z.enum(["image"]),
|
|
1013
1013
|
src: zod_1.z.string().min(1).regex(/\S/),
|
|
1014
1014
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
1015
|
-
});
|
|
1015
|
+
}).strict();
|
|
1016
1016
|
exports.imageAssetSchema = exports.imageassetImageAssetSchema;
|
|
1017
1017
|
/**
|
|
1018
1018
|
* The ImageToVideoAsset lets you create a video from an image and a text prompt.
|
|
@@ -1030,7 +1030,7 @@ exports.imagetovideoassetImageToVideoAssetSchema = zod_1.z.object({
|
|
|
1030
1030
|
return Number(v);
|
|
1031
1031
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1032
1032
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
1033
|
-
});
|
|
1033
|
+
}).strict();
|
|
1034
1034
|
exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Options for the Dolby.io audio enhancement provider.
|
|
@@ -1047,7 +1047,7 @@ exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = zod_1.z.object({
|
|
|
1047
1047
|
"studio",
|
|
1048
1048
|
"voice_over",
|
|
1049
1049
|
]),
|
|
1050
|
-
});
|
|
1050
|
+
}).strict();
|
|
1051
1051
|
exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Dolby.io audio enhancement provider. Credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/dolby), not in the request.
|
|
@@ -1055,7 +1055,7 @@ exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnha
|
|
|
1055
1055
|
exports.dolbyEnhancementDolbyEnhancementSchema = zod_1.z.object({
|
|
1056
1056
|
provider: zod_1.z.string().default("dolby"),
|
|
1057
1057
|
options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema,
|
|
1058
|
-
});
|
|
1058
|
+
}).strict();
|
|
1059
1059
|
exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
|
|
1060
1060
|
/**
|
|
1061
1061
|
* An audio enhancement that can be applied to the audio content of a rendition.
|
|
@@ -1074,7 +1074,7 @@ exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema;
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
exports.enhancementsEnhancementsSchema = zod_1.z.object({
|
|
1076
1076
|
audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema),
|
|
1077
|
-
});
|
|
1077
|
+
}).strict();
|
|
1078
1078
|
exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Individual errors returned by the Ingest API.
|
|
@@ -1083,14 +1083,14 @@ exports.ingesterrorresponsedataIngestErrorResponseDataSchema = zod_1.z.object({
|
|
|
1083
1083
|
status: zod_1.z.string(),
|
|
1084
1084
|
title: zod_1.z.string(),
|
|
1085
1085
|
detail: zod_1.z.string(),
|
|
1086
|
-
});
|
|
1086
|
+
}).strict();
|
|
1087
1087
|
exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Error response data for validation and other errors returned by the Ingest API.
|
|
1090
1090
|
*/
|
|
1091
1091
|
exports.ingesterrorresponseIngestErrorResponseSchema = zod_1.z.object({
|
|
1092
1092
|
errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema),
|
|
1093
|
-
});
|
|
1093
|
+
}).strict();
|
|
1094
1094
|
exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema;
|
|
1095
1095
|
/**
|
|
1096
1096
|
* The type of resource (a source) and the newly created source id. Returned with [QueuedSourceResponse](#tocs_queuedsourceresponse).
|
|
@@ -1098,14 +1098,14 @@ exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorRespon
|
|
|
1098
1098
|
exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = zod_1.z.object({
|
|
1099
1099
|
type: zod_1.z.string(),
|
|
1100
1100
|
id: zod_1.z.string(),
|
|
1101
|
-
});
|
|
1101
|
+
}).strict();
|
|
1102
1102
|
exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* The response returned by the Ingest API [fetch source](#fetch-source) request. Includes the id of the source file. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1105
1105
|
*/
|
|
1106
1106
|
exports.queuedsourceresponseQueuedSourceResponseSchema = zod_1.z.object({
|
|
1107
1107
|
data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema,
|
|
1108
|
-
});
|
|
1108
|
+
}).strict();
|
|
1109
1109
|
exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema;
|
|
1110
1110
|
/**
|
|
1111
1111
|
* The id and attributes of the upload file including the signed URL to send the binary file data to.
|
|
@@ -1114,7 +1114,7 @@ exports.uploadresponseattributesUploadResponseAttributesSchema = zod_1.z.object(
|
|
|
1114
1114
|
id: zod_1.z.string(),
|
|
1115
1115
|
url: zod_1.z.string(),
|
|
1116
1116
|
expires: zod_1.z.string(),
|
|
1117
|
-
});
|
|
1117
|
+
}).strict();
|
|
1118
1118
|
exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema;
|
|
1119
1119
|
/**
|
|
1120
1120
|
* The type of resource (an upload), it's id and attributes of the upload request.
|
|
@@ -1123,14 +1123,14 @@ exports.uploadresponsedataUploadResponseDataSchema = zod_1.z.object({
|
|
|
1123
1123
|
type: zod_1.z.string(),
|
|
1124
1124
|
id: zod_1.z.string(),
|
|
1125
1125
|
attributes: exports.uploadresponseattributesUploadResponseAttributesSchema,
|
|
1126
|
-
});
|
|
1126
|
+
}).strict();
|
|
1127
1127
|
exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema;
|
|
1128
1128
|
/**
|
|
1129
1129
|
* The response returned by the Ingest API [direct upload](#direct-upload) request. Includes the id of the file and the signed url to send the binary file to. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1130
1130
|
*/
|
|
1131
1131
|
exports.uploadresponseUploadResponseSchema = zod_1.z.object({
|
|
1132
1132
|
data: exports.uploadresponsedataUploadResponseDataSchema,
|
|
1133
|
-
});
|
|
1133
|
+
}).strict();
|
|
1134
1134
|
exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Set the playback speed of a video or audio file. Allows you to preserve the pitch of the audio so that it is sped up without sounding too high pitched or too low.
|
|
@@ -1144,14 +1144,14 @@ exports.speedSpeedSchema = zod_1.z.object({
|
|
|
1144
1144
|
return Number(v);
|
|
1145
1145
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1146
1146
|
preservePitch: zod_1.z.optional(zod_1.z.boolean()),
|
|
1147
|
-
});
|
|
1147
|
+
}).strict();
|
|
1148
1148
|
exports.speedSchema = exports.speedSpeedSchema;
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Generate a transcription of the audio in the video. The transcription can be output as a file in SRT or VTT format.
|
|
1151
1151
|
*/
|
|
1152
1152
|
exports.transcriptionTranscriptionSchema = zod_1.z.object({
|
|
1153
1153
|
format: zod_1.z.optional(zod_1.z.enum(["srt", "vtt"])),
|
|
1154
|
-
});
|
|
1154
|
+
}).strict();
|
|
1155
1155
|
exports.transcriptionSchema = exports.transcriptionTranscriptionSchema;
|
|
1156
1156
|
/**
|
|
1157
1157
|
* The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file.
|
|
@@ -1166,7 +1166,7 @@ exports.lumaassetLumaAssetSchema = zod_1.z.object({
|
|
|
1166
1166
|
return v;
|
|
1167
1167
|
return Number(v);
|
|
1168
1168
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1169
|
-
});
|
|
1169
|
+
}).strict();
|
|
1170
1170
|
exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
|
|
1171
1171
|
/**
|
|
1172
1172
|
* 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.
|
|
@@ -1174,7 +1174,7 @@ exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
|
|
|
1174
1174
|
exports.mergefieldMergeFieldSchema = zod_1.z.object({
|
|
1175
1175
|
find: zod_1.z.string(),
|
|
1176
1176
|
replace: zod_1.z.union([zod_1.z.string(), zod_1.z.number(), zod_1.z.boolean(), zod_1.z.null(), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()), zod_1.z.array(zod_1.z.unknown())]),
|
|
1177
|
-
});
|
|
1177
|
+
}).strict();
|
|
1178
1178
|
exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
|
|
1179
1179
|
/**
|
|
1180
1180
|
* 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.
|
|
@@ -1187,7 +1187,7 @@ exports.posterPosterSchema = zod_1.z.object({
|
|
|
1187
1187
|
return v;
|
|
1188
1188
|
return Number(v);
|
|
1189
1189
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1190
|
-
});
|
|
1190
|
+
}).strict();
|
|
1191
1191
|
exports.posterSchema = exports.posterPosterSchema;
|
|
1192
1192
|
/**
|
|
1193
1193
|
* Specify a time range to render, i.e. to render only a portion of a video or audio file. Omit this setting to export the entire video. Range can also be used to render a frame at a specific time point - setting a range and output format as `jpg` will output a single frame image at the range `start` point.
|
|
@@ -1207,7 +1207,7 @@ exports.rangeRangeSchema = zod_1.z.object({
|
|
|
1207
1207
|
return v;
|
|
1208
1208
|
return Number(v);
|
|
1209
1209
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1210
|
-
});
|
|
1210
|
+
}).strict();
|
|
1211
1211
|
exports.rangeSchema = exports.rangeRangeSchema;
|
|
1212
1212
|
/**
|
|
1213
1213
|
* The list of asset attributes and their values.
|
|
@@ -1223,7 +1223,7 @@ exports.assetresponseattributesAssetResponseAttributesSchema = zod_1.z.object({
|
|
|
1223
1223
|
status: zod_1.z.enum(["importing", "ready", "failed", "deleted"]),
|
|
1224
1224
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1225
1225
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
1226
|
-
});
|
|
1226
|
+
}).strict();
|
|
1227
1227
|
exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema;
|
|
1228
1228
|
/**
|
|
1229
1229
|
* The type of resource (an asset) and attributes of the asset.
|
|
@@ -1231,21 +1231,21 @@ exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResp
|
|
|
1231
1231
|
exports.assetresponsedataAssetResponseDataSchema = zod_1.z.object({
|
|
1232
1232
|
type: zod_1.z.string(),
|
|
1233
1233
|
attributes: exports.assetresponseattributesAssetResponseAttributesSchema,
|
|
1234
|
-
});
|
|
1234
|
+
}).strict();
|
|
1235
1235
|
exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema;
|
|
1236
1236
|
/**
|
|
1237
1237
|
* The response returned by the Serve API [get asset by render id](#get-asset-by-render-id) request. The response is an array of asset resources, including video, image, audio, thumbnail and poster image. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1238
1238
|
*/
|
|
1239
1239
|
exports.assetrenderresponseAssetRenderResponseSchema = zod_1.z.object({
|
|
1240
1240
|
data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema),
|
|
1241
|
-
});
|
|
1241
|
+
}).strict();
|
|
1242
1242
|
exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema;
|
|
1243
1243
|
/**
|
|
1244
1244
|
* The response returned by the Serve API [get asset](#get-asset) request. Includes details of a hosted video, image, audio file, thumbnail or poster image. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1245
1245
|
*/
|
|
1246
1246
|
exports.assetresponseAssetResponseSchema = zod_1.z.object({
|
|
1247
1247
|
data: exports.assetresponsedataAssetResponseDataSchema,
|
|
1248
|
-
});
|
|
1248
|
+
}).strict();
|
|
1249
1249
|
exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
|
|
1250
1250
|
/**
|
|
1251
1251
|
* The response received after a [probe request](#inspect-media) is submitted. The probe requests returns data from FFprobe formatted as JSON.
|
|
@@ -1254,7 +1254,7 @@ exports.proberesponseProbeResponseSchema = zod_1.z.object({
|
|
|
1254
1254
|
success: zod_1.z.boolean(),
|
|
1255
1255
|
message: zod_1.z.string(),
|
|
1256
1256
|
response: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
1257
|
-
});
|
|
1257
|
+
}).strict();
|
|
1258
1258
|
exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
|
|
1259
1259
|
/**
|
|
1260
1260
|
* The response data returned with the [QueuedResponse](#tocs_queuedresponse).
|
|
@@ -1262,7 +1262,7 @@ exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
|
|
|
1262
1262
|
exports.queuedresponsedataQueuedResponseDataSchema = zod_1.z.object({
|
|
1263
1263
|
message: zod_1.z.string(),
|
|
1264
1264
|
id: zod_1.z.string(),
|
|
1265
|
-
});
|
|
1265
|
+
}).strict();
|
|
1266
1266
|
exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema;
|
|
1267
1267
|
/**
|
|
1268
1268
|
* The response received after a [render request](#render-asset) or [template render](#render-template) is submitted. The render task is queued for rendering and a unique render id is returned.
|
|
@@ -1271,7 +1271,7 @@ exports.queuedresponseQueuedResponseSchema = zod_1.z.object({
|
|
|
1271
1271
|
success: zod_1.z.boolean(),
|
|
1272
1272
|
message: zod_1.z.string(),
|
|
1273
1273
|
response: exports.queuedresponsedataQueuedResponseDataSchema,
|
|
1274
|
-
});
|
|
1274
|
+
}).strict();
|
|
1275
1275
|
exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema;
|
|
1276
1276
|
/**
|
|
1277
1277
|
* The individual template item returned with the [TemplateListResponseData](#tocs_templatelistresponsedata) templates list.
|
|
@@ -1281,7 +1281,7 @@ exports.templatelistresponseitemTemplateListResponseItemSchema = zod_1.z.object(
|
|
|
1281
1281
|
name: zod_1.z.string(),
|
|
1282
1282
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1283
1283
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
1284
|
-
});
|
|
1284
|
+
}).strict();
|
|
1285
1285
|
exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema;
|
|
1286
1286
|
/**
|
|
1287
1287
|
* The response data returned with the [TemplateListResponse](#tocs_templatelistresponse).
|
|
@@ -1289,7 +1289,7 @@ exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplat
|
|
|
1289
1289
|
exports.templatelistresponsedataTemplateListResponseDataSchema = zod_1.z.object({
|
|
1290
1290
|
owner: zod_1.z.string(),
|
|
1291
1291
|
templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema),
|
|
1292
|
-
});
|
|
1292
|
+
}).strict();
|
|
1293
1293
|
exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema;
|
|
1294
1294
|
/**
|
|
1295
1295
|
* A list of previously saved templates.
|
|
@@ -1298,7 +1298,7 @@ exports.templatelistresponseTemplateListResponseSchema = zod_1.z.object({
|
|
|
1298
1298
|
success: zod_1.z.boolean(),
|
|
1299
1299
|
message: zod_1.z.string(),
|
|
1300
1300
|
response: exports.templatelistresponsedataTemplateListResponseDataSchema,
|
|
1301
|
-
});
|
|
1301
|
+
}).strict();
|
|
1302
1302
|
exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema;
|
|
1303
1303
|
/**
|
|
1304
1304
|
* The response data returned with the [TemplateResponse](#tocs_templateresponse).
|
|
@@ -1306,7 +1306,7 @@ exports.templateListResponseSchema = exports.templatelistresponseTemplateListRes
|
|
|
1306
1306
|
exports.templateresponsedataTemplateResponseDataSchema = zod_1.z.object({
|
|
1307
1307
|
message: zod_1.z.string(),
|
|
1308
1308
|
id: zod_1.z.string(),
|
|
1309
|
-
});
|
|
1309
|
+
}).strict();
|
|
1310
1310
|
exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema;
|
|
1311
1311
|
/**
|
|
1312
1312
|
* The response received after a [template](#create-template) is submitted. The template is saved and a unique template id is returned.
|
|
@@ -1315,15 +1315,82 @@ exports.templateresponseTemplateResponseSchema = zod_1.z.object({
|
|
|
1315
1315
|
success: zod_1.z.boolean(),
|
|
1316
1316
|
message: zod_1.z.string(),
|
|
1317
1317
|
response: exports.templateresponsedataTemplateResponseDataSchema,
|
|
1318
|
-
});
|
|
1318
|
+
}).strict();
|
|
1319
1319
|
exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema;
|
|
1320
|
+
/**
|
|
1321
|
+
* Font properties for the active/highlighted word.
|
|
1322
|
+
*/
|
|
1323
|
+
exports.richcaptionpropertiesRichCaptionActiveFontSchema = zod_1.z.object({
|
|
1324
|
+
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#ffff00"),
|
|
1325
|
+
background: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1326
|
+
opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1327
|
+
return undefined; if (Array.isArray(v))
|
|
1328
|
+
return v; if (typeof v === 'string') {
|
|
1329
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1330
|
+
return v;
|
|
1331
|
+
return Number(v);
|
|
1332
|
+
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1333
|
+
}).strict();
|
|
1334
|
+
exports.richCaptionActiveFontSchema = exports.richcaptionpropertiesRichCaptionActiveFontSchema;
|
|
1335
|
+
/**
|
|
1336
|
+
* Word-level animation properties for caption effects.
|
|
1337
|
+
*/
|
|
1338
|
+
exports.richcaptionpropertiesRichCaptionWordAnimationSchema = zod_1.z.object({
|
|
1339
|
+
style: zod_1.z.enum([
|
|
1340
|
+
"karaoke",
|
|
1341
|
+
"highlight",
|
|
1342
|
+
"pop",
|
|
1343
|
+
"fade",
|
|
1344
|
+
"slide",
|
|
1345
|
+
"bounce",
|
|
1346
|
+
"typewriter",
|
|
1347
|
+
"none",
|
|
1348
|
+
]),
|
|
1349
|
+
speed: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1350
|
+
return undefined; if (Array.isArray(v))
|
|
1351
|
+
return v; if (typeof v === 'string') {
|
|
1352
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1353
|
+
return v;
|
|
1354
|
+
return Number(v);
|
|
1355
|
+
} return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1356
|
+
direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
|
|
1357
|
+
}).strict();
|
|
1358
|
+
exports.richCaptionWordAnimationSchema = exports.richcaptionpropertiesRichCaptionWordAnimationSchema;
|
|
1359
|
+
/**
|
|
1360
|
+
* Word-level timing information for caption animation.
|
|
1361
|
+
*/
|
|
1362
|
+
exports.richcaptionpropertiesWordTimingSchema = zod_1.z.object({
|
|
1363
|
+
text: zod_1.z.string().min(1),
|
|
1364
|
+
start: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1365
|
+
return undefined; if (Array.isArray(v))
|
|
1366
|
+
return v; if (typeof v === 'string') {
|
|
1367
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1368
|
+
return v;
|
|
1369
|
+
return Number(v);
|
|
1370
|
+
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1371
|
+
end: zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1372
|
+
return undefined; if (Array.isArray(v))
|
|
1373
|
+
return v; if (typeof v === 'string') {
|
|
1374
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1375
|
+
return v;
|
|
1376
|
+
return Number(v);
|
|
1377
|
+
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1378
|
+
confidence: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1379
|
+
return undefined; if (Array.isArray(v))
|
|
1380
|
+
return v; if (typeof v === 'string') {
|
|
1381
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1382
|
+
return v;
|
|
1383
|
+
return Number(v);
|
|
1384
|
+
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1385
|
+
}).strict();
|
|
1386
|
+
exports.wordTimingSchema = exports.richcaptionpropertiesWordTimingSchema;
|
|
1320
1387
|
/**
|
|
1321
1388
|
* Text alignment properties (horizontal and vertical).
|
|
1322
1389
|
*/
|
|
1323
1390
|
exports.richtextpropertiesRichTextAlignmentSchema = zod_1.z.object({
|
|
1324
1391
|
horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
|
|
1325
1392
|
vertical: zod_1.z.optional(zod_1.z.enum(["top", "middle", "bottom"])),
|
|
1326
|
-
});
|
|
1393
|
+
}).strict();
|
|
1327
1394
|
exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema;
|
|
1328
1395
|
/**
|
|
1329
1396
|
* Animation properties for text entrance effects.
|
|
@@ -1346,7 +1413,7 @@ exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
|
|
|
1346
1413
|
} return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1347
1414
|
style: zod_1.z.optional(zod_1.z.enum(["character", "word"])),
|
|
1348
1415
|
direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
|
|
1349
|
-
});
|
|
1416
|
+
}).strict();
|
|
1350
1417
|
exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema;
|
|
1351
1418
|
/**
|
|
1352
1419
|
* Background styling properties for the text bounding box.
|
|
@@ -1367,7 +1434,7 @@ exports.richtextpropertiesRichTextBackgroundSchema = zod_1.z.object({
|
|
|
1367
1434
|
return v;
|
|
1368
1435
|
return Number(v);
|
|
1369
1436
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1370
|
-
});
|
|
1437
|
+
}).strict();
|
|
1371
1438
|
exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema;
|
|
1372
1439
|
/**
|
|
1373
1440
|
* Border styling properties for the text bounding box.
|
|
@@ -1395,7 +1462,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
|
|
|
1395
1462
|
return v;
|
|
1396
1463
|
return Number(v);
|
|
1397
1464
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1398
|
-
});
|
|
1465
|
+
}).strict();
|
|
1399
1466
|
/**
|
|
1400
1467
|
* Gradient properties for text fill.
|
|
1401
1468
|
*/
|
|
@@ -1420,7 +1487,7 @@ exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
|
|
|
1420
1487
|
color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1421
1488
|
}))
|
|
1422
1489
|
.min(2),
|
|
1423
|
-
});
|
|
1490
|
+
}).strict();
|
|
1424
1491
|
exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema;
|
|
1425
1492
|
/**
|
|
1426
1493
|
* Padding properties for individual sides of the text bounding box.
|
|
@@ -1454,7 +1521,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
|
|
|
1454
1521
|
return v;
|
|
1455
1522
|
return Number(v);
|
|
1456
1523
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1457
|
-
});
|
|
1524
|
+
}).strict();
|
|
1458
1525
|
/**
|
|
1459
1526
|
* Text shadow properties.
|
|
1460
1527
|
*/
|
|
@@ -1488,7 +1555,7 @@ exports.richtextpropertiesRichTextShadowSchema = zod_1.z.object({
|
|
|
1488
1555
|
return v;
|
|
1489
1556
|
return Number(v);
|
|
1490
1557
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
|
|
1491
|
-
});
|
|
1558
|
+
}).strict();
|
|
1492
1559
|
exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema;
|
|
1493
1560
|
/**
|
|
1494
1561
|
* Text stroke (outline) properties.
|
|
@@ -1509,8 +1576,23 @@ exports.richtextpropertiesRichTextStrokeSchema = zod_1.z.object({
|
|
|
1509
1576
|
return v;
|
|
1510
1577
|
return Number(v);
|
|
1511
1578
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1512
|
-
});
|
|
1579
|
+
}).strict();
|
|
1513
1580
|
exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema;
|
|
1581
|
+
/**
|
|
1582
|
+
* Styling properties for the active/highlighted word.
|
|
1583
|
+
*/
|
|
1584
|
+
exports.richcaptionpropertiesRichCaptionActiveSchema = zod_1.z.object({
|
|
1585
|
+
font: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionActiveFontSchema),
|
|
1586
|
+
stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
|
|
1587
|
+
scale: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1588
|
+
return undefined; if (Array.isArray(v))
|
|
1589
|
+
return v; if (typeof v === 'string') {
|
|
1590
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1591
|
+
return v;
|
|
1592
|
+
return Number(v);
|
|
1593
|
+
} return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1594
|
+
}).strict();
|
|
1595
|
+
exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema;
|
|
1514
1596
|
/**
|
|
1515
1597
|
* Font properties for rich text.
|
|
1516
1598
|
*/
|
|
@@ -1524,7 +1606,7 @@ exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
|
|
|
1524
1606
|
return Number(v);
|
|
1525
1607
|
} return v; }), zod_1.z.number().int().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(24),
|
|
1526
1608
|
weight: zod_1.z.optional(zod_1.z.unknown()).default("400"),
|
|
1527
|
-
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#
|
|
1609
|
+
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default("#000000"),
|
|
1528
1610
|
opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1529
1611
|
return undefined; if (Array.isArray(v))
|
|
1530
1612
|
return v; if (typeof v === 'string') {
|
|
@@ -1534,7 +1616,7 @@ exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
|
|
|
1534
1616
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1535
1617
|
background: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1536
1618
|
stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
|
|
1537
|
-
});
|
|
1619
|
+
}).strict();
|
|
1538
1620
|
exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema;
|
|
1539
1621
|
/**
|
|
1540
1622
|
* Text style properties including spacing, line height, and transformations.
|
|
@@ -1547,6 +1629,13 @@ exports.richtextpropertiesRichTextStyleSchema = zod_1.z.object({
|
|
|
1547
1629
|
return v;
|
|
1548
1630
|
return Number(v);
|
|
1549
1631
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1632
|
+
wordSpacing: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1633
|
+
return undefined; if (Array.isArray(v))
|
|
1634
|
+
return v; if (typeof v === 'string') {
|
|
1635
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1636
|
+
return v;
|
|
1637
|
+
return Number(v);
|
|
1638
|
+
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1550
1639
|
lineHeight: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1551
1640
|
return undefined; if (Array.isArray(v))
|
|
1552
1641
|
return v; if (typeof v === 'string') {
|
|
@@ -1557,8 +1646,50 @@ exports.richtextpropertiesRichTextStyleSchema = zod_1.z.object({
|
|
|
1557
1646
|
textTransform: zod_1.z.optional(zod_1.z.enum(["none", "uppercase", "lowercase", "capitalize"])),
|
|
1558
1647
|
textDecoration: zod_1.z.optional(zod_1.z.enum(["none", "underline", "line-through"])),
|
|
1559
1648
|
gradient: zod_1.z.optional(exports.richtextpropertiesRichTextGradientSchema),
|
|
1560
|
-
});
|
|
1649
|
+
}).strict();
|
|
1561
1650
|
exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
|
|
1651
|
+
/**
|
|
1652
|
+
* The RichCaptionAsset provides word-level caption animations with rich-text styling. It supports
|
|
1653
|
+
* karaoke-style highlighting, word-by-word animations, and advanced typography. Use with SRT/VTT
|
|
1654
|
+
* files or auto-transcription via aliases.
|
|
1655
|
+
*
|
|
1656
|
+
*/
|
|
1657
|
+
exports.richcaptionassetRichCaptionAssetSchema = zod_1.z.object({
|
|
1658
|
+
type: zod_1.z.enum(["rich-caption"]),
|
|
1659
|
+
src: zod_1.z.optional(zod_1.z.string().min(1)),
|
|
1660
|
+
words: zod_1.z.optional(zod_1.z.array(exports.richcaptionpropertiesWordTimingSchema).max(100000)),
|
|
1661
|
+
font: zod_1.z.optional(exports.richtextpropertiesRichTextFontSchema),
|
|
1662
|
+
style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
|
|
1663
|
+
stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
|
|
1664
|
+
shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
|
|
1665
|
+
background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
|
|
1666
|
+
padding: zod_1.z.optional(zod_1.z.union([zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1667
|
+
return undefined; if (Array.isArray(v))
|
|
1668
|
+
return v; if (typeof v === 'string') {
|
|
1669
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1670
|
+
return v;
|
|
1671
|
+
return Number(v);
|
|
1672
|
+
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), exports.richtextpropertiesRichTextPaddingSchema])),
|
|
1673
|
+
align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
|
|
1674
|
+
active: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionActiveSchema),
|
|
1675
|
+
wordAnimation: zod_1.z.optional(exports.richcaptionpropertiesRichCaptionWordAnimationSchema),
|
|
1676
|
+
position: zod_1.z.optional(zod_1.z.enum(["top", "center", "bottom"])),
|
|
1677
|
+
maxWidth: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1678
|
+
return undefined; if (Array.isArray(v))
|
|
1679
|
+
return v; if (typeof v === 'string') {
|
|
1680
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1681
|
+
return v;
|
|
1682
|
+
return Number(v);
|
|
1683
|
+
} return v; }), zod_1.z.number().gte(0.1).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.9),
|
|
1684
|
+
maxLines: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1685
|
+
return undefined; if (Array.isArray(v))
|
|
1686
|
+
return v; if (typeof v === 'string') {
|
|
1687
|
+
if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v))
|
|
1688
|
+
return v;
|
|
1689
|
+
return Number(v);
|
|
1690
|
+
} return v; }), zod_1.z.number().int().gte(1).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(2),
|
|
1691
|
+
}).strict();
|
|
1692
|
+
exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema;
|
|
1562
1693
|
/**
|
|
1563
1694
|
* The RichTextAsset provides advanced text rendering with support for custom fonts, gradients, shadows, strokes,
|
|
1564
1695
|
* animations, and styling options. It offers more flexibility and visual effects than the basic TextAsset.
|
|
@@ -1582,7 +1713,7 @@ exports.richtextassetRichTextAssetSchema = zod_1.z.object({
|
|
|
1582
1713
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), exports.richtextpropertiesRichTextPaddingSchema])),
|
|
1583
1714
|
align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
|
|
1584
1715
|
animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema),
|
|
1585
|
-
});
|
|
1716
|
+
}).strict();
|
|
1586
1717
|
exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
|
|
1587
1718
|
/**
|
|
1588
1719
|
* The transfer request attributes inlcudling the user specified ID and status. Returned with [TransferResponseData](#tocs_transferresponsedata).
|
|
@@ -1592,7 +1723,7 @@ exports.transferresponseattributesTransferResponseAttributesSchema = zod_1.z.obj
|
|
|
1592
1723
|
owner: zod_1.z.optional(zod_1.z.string()),
|
|
1593
1724
|
status: zod_1.z.optional(zod_1.z.enum(["queued", "failed"])),
|
|
1594
1725
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1595
|
-
});
|
|
1726
|
+
}).strict();
|
|
1596
1727
|
exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema;
|
|
1597
1728
|
/**
|
|
1598
1729
|
* The type of resource (an asset) and the transfer attributes. Returned with [TransferResponse](#tocs_transferresponse).
|
|
@@ -1600,14 +1731,14 @@ exports.transferResponseAttributesSchema = exports.transferresponseattributesTra
|
|
|
1600
1731
|
exports.transferresponsedataTransferResponseDataSchema = zod_1.z.object({
|
|
1601
1732
|
type: zod_1.z.optional(zod_1.z.string()),
|
|
1602
1733
|
attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema),
|
|
1603
|
-
});
|
|
1734
|
+
}).strict();
|
|
1604
1735
|
exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema;
|
|
1605
1736
|
/**
|
|
1606
1737
|
* The response returned by the Serve API [transfer asset](#transfer-asset) request. The response includes the ID and transfer status. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1607
1738
|
*/
|
|
1608
1739
|
exports.transferresponseTransferResponseSchema = zod_1.z.object({
|
|
1609
1740
|
data: exports.transferresponsedataTransferResponseDataSchema,
|
|
1610
|
-
});
|
|
1741
|
+
}).strict();
|
|
1611
1742
|
exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
|
|
1612
1743
|
/**
|
|
1613
1744
|
* The asset URL to fetch and transfer to a destination.
|
|
@@ -1616,7 +1747,7 @@ exports.transferTransferSchema = zod_1.z.object({
|
|
|
1616
1747
|
url: zod_1.z.string(),
|
|
1617
1748
|
id: zod_1.z.string(),
|
|
1618
1749
|
destinations: zod_1.z.array(exports.destinationsDestinationsSchema),
|
|
1619
|
-
});
|
|
1750
|
+
}).strict();
|
|
1620
1751
|
exports.transferSchema = exports.transferTransferSchema;
|
|
1621
1752
|
/**
|
|
1622
1753
|
* The ShapeAsset is used to add shapes to a video. The shape can be styled with a fill and a stroke.
|
|
@@ -1708,7 +1839,7 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
|
|
|
1708
1839
|
return Number(v);
|
|
1709
1840
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1710
1841
|
})),
|
|
1711
|
-
});
|
|
1842
|
+
}).strict();
|
|
1712
1843
|
exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema;
|
|
1713
1844
|
/**
|
|
1714
1845
|
* Set a custom size for a video or image in pixels. When using a custom size omit the `resolution` and `aspectRatio`. Custom sizes must be divisible by 2 based on the encoder specifications.
|
|
@@ -1728,7 +1859,7 @@ exports.sizeSizeSchema = zod_1.z.object({
|
|
|
1728
1859
|
return v;
|
|
1729
1860
|
return Number(v);
|
|
1730
1861
|
} return v; }), zod_1.z.number().int().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1731
|
-
});
|
|
1862
|
+
}).strict();
|
|
1732
1863
|
exports.sizeSchema = exports.sizeSizeSchema;
|
|
1733
1864
|
/**
|
|
1734
1865
|
* A rendition is a new output file that is generated from the source. The rendition can be encoded to a different format and have transformations applied to it such as resizing, cropping, etc...
|
|
@@ -1786,7 +1917,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
|
|
|
1786
1917
|
fixRotation: zod_1.z.optional(zod_1.z.boolean()),
|
|
1787
1918
|
enhance: zod_1.z.optional(exports.enhancementsEnhancementsSchema),
|
|
1788
1919
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
1789
|
-
});
|
|
1920
|
+
}).strict();
|
|
1790
1921
|
exports.renditionSchema = exports.renditionRenditionSchema;
|
|
1791
1922
|
/**
|
|
1792
1923
|
* The output renditions and transformations that should be generated from the source file.
|
|
@@ -1794,7 +1925,7 @@ exports.renditionSchema = exports.renditionRenditionSchema;
|
|
|
1794
1925
|
exports.outputsOutputsSchema = zod_1.z.object({
|
|
1795
1926
|
renditions: zod_1.z.optional(zod_1.z.array(exports.renditionRenditionSchema)),
|
|
1796
1927
|
transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema),
|
|
1797
|
-
});
|
|
1928
|
+
}).strict();
|
|
1798
1929
|
exports.outputsSchema = exports.outputsOutputsSchema;
|
|
1799
1930
|
/**
|
|
1800
1931
|
* The id and attributes of the generated rendition file.
|
|
@@ -1846,14 +1977,14 @@ exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.o
|
|
|
1846
1977
|
return v;
|
|
1847
1978
|
return Number(v);
|
|
1848
1979
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1849
|
-
});
|
|
1980
|
+
}).strict();
|
|
1850
1981
|
exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema;
|
|
1851
1982
|
/**
|
|
1852
1983
|
* The list of outputs generated from the source file. Currently supports renditions which are versions of the source file with different transformations applied.
|
|
1853
1984
|
*/
|
|
1854
1985
|
exports.outputsresponseOutputsResponseSchema = zod_1.z.object({
|
|
1855
1986
|
renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema)),
|
|
1856
|
-
});
|
|
1987
|
+
}).strict();
|
|
1857
1988
|
exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema;
|
|
1858
1989
|
/**
|
|
1859
1990
|
* The id and attributes of the source file.
|
|
@@ -1902,7 +2033,7 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
|
|
|
1902
2033
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1903
2034
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1904
2035
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
1905
|
-
});
|
|
2036
|
+
}).strict();
|
|
1906
2037
|
exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema;
|
|
1907
2038
|
/**
|
|
1908
2039
|
* The type of resource (a source), it's id and attributes of the source file.
|
|
@@ -1911,21 +2042,21 @@ exports.sourceresponsedataSourceResponseDataSchema = zod_1.z.object({
|
|
|
1911
2042
|
type: zod_1.z.string(),
|
|
1912
2043
|
id: zod_1.z.string(),
|
|
1913
2044
|
attributes: exports.sourceresponseattributesSourceResponseAttributesSchema,
|
|
1914
|
-
});
|
|
2045
|
+
}).strict();
|
|
1915
2046
|
exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema;
|
|
1916
2047
|
/**
|
|
1917
2048
|
* A list of all ingested source files fetched or uploaded to a users account.
|
|
1918
2049
|
*/
|
|
1919
2050
|
exports.sourcelistresponseSourceListResponseSchema = zod_1.z.object({
|
|
1920
2051
|
data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema),
|
|
1921
|
-
});
|
|
2052
|
+
}).strict();
|
|
1922
2053
|
exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema;
|
|
1923
2054
|
/**
|
|
1924
2055
|
* The response returned by the Ingest API [get source](#get-source) request. Includes details of the ingested source file. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1925
2056
|
*/
|
|
1926
2057
|
exports.sourceresponseSourceResponseSchema = zod_1.z.object({
|
|
1927
2058
|
data: exports.sourceresponsedataSourceResponseDataSchema,
|
|
1928
|
-
});
|
|
2059
|
+
}).strict();
|
|
1929
2060
|
exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema;
|
|
1930
2061
|
/**
|
|
1931
2062
|
* The details of the file to be ingested and any transformations to be applied. Once the source file has been ingested, new renditions can be created from it. The renditions are specified in the **outputs** property.
|
|
@@ -1936,7 +2067,7 @@ exports.sourceSourceSchema = zod_1.z.object({
|
|
|
1936
2067
|
outputs: zod_1.z.optional(exports.outputsOutputsSchema),
|
|
1937
2068
|
destinations: zod_1.z.optional(exports.destinationsDestinationsSchema),
|
|
1938
2069
|
callback: zod_1.z.optional(zod_1.z.string()),
|
|
1939
|
-
});
|
|
2070
|
+
}).strict();
|
|
1940
2071
|
exports.sourceSchema = exports.sourceSourceSchema;
|
|
1941
2072
|
/**
|
|
1942
2073
|
* 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.
|
|
@@ -1951,7 +2082,7 @@ exports.soundtrackSoundtrackSchema = zod_1.z.object({
|
|
|
1951
2082
|
return v;
|
|
1952
2083
|
return Number(v);
|
|
1953
2084
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1954
|
-
});
|
|
2085
|
+
}).strict();
|
|
1955
2086
|
exports.soundtrackSchema = exports.soundtrackSoundtrackSchema;
|
|
1956
2087
|
/**
|
|
1957
2088
|
* A color stop in a gradient. Each stop defines a color at a specific position
|
|
@@ -1967,7 +2098,7 @@ exports.svgpropertiesSvgGradientStopSchema = zod_1.z.object({
|
|
|
1967
2098
|
return Number(v);
|
|
1968
2099
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1969
2100
|
color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1970
|
-
});
|
|
2101
|
+
}).strict();
|
|
1971
2102
|
exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
|
|
1972
2103
|
/**
|
|
1973
2104
|
* A linear gradient fill that transitions colors along a straight line.
|
|
@@ -1991,7 +2122,7 @@ exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
|
|
|
1991
2122
|
return v;
|
|
1992
2123
|
return Number(v);
|
|
1993
2124
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1994
|
-
});
|
|
2125
|
+
}).strict();
|
|
1995
2126
|
exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFillSchema;
|
|
1996
2127
|
/**
|
|
1997
2128
|
* A radial gradient fill that transitions colors radiating outward from a center point.
|
|
@@ -2008,7 +2139,7 @@ exports.svgpropertiesSvgRadialGradientFillSchema = zod_1.z.object({
|
|
|
2008
2139
|
return v;
|
|
2009
2140
|
return Number(v);
|
|
2010
2141
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
2011
|
-
});
|
|
2142
|
+
}).strict();
|
|
2012
2143
|
exports.svgRadialGradientFillSchema = exports.svgpropertiesSvgRadialGradientFillSchema;
|
|
2013
2144
|
/**
|
|
2014
2145
|
* Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape.
|
|
@@ -2044,7 +2175,7 @@ exports.svgpropertiesSvgShadowSchema = zod_1.z.object({
|
|
|
2044
2175
|
return v;
|
|
2045
2176
|
return Number(v);
|
|
2046
2177
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
|
|
2047
|
-
});
|
|
2178
|
+
}).strict();
|
|
2048
2179
|
exports.svgShadowSchema = exports.svgpropertiesSvgShadowSchema;
|
|
2049
2180
|
/**
|
|
2050
2181
|
* A solid color fill for SVG shapes.
|
|
@@ -2062,7 +2193,7 @@ exports.svgpropertiesSvgSolidFillSchema = zod_1.z.object({
|
|
|
2062
2193
|
return v;
|
|
2063
2194
|
return Number(v);
|
|
2064
2195
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
2065
|
-
});
|
|
2196
|
+
}).strict();
|
|
2066
2197
|
exports.svgSolidFillSchema = exports.svgpropertiesSvgSolidFillSchema;
|
|
2067
2198
|
/**
|
|
2068
2199
|
* Fill properties for SVG shapes. Supports solid colors and gradients.
|
|
@@ -2112,7 +2243,7 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
|
|
|
2112
2243
|
return v;
|
|
2113
2244
|
return Number(v);
|
|
2114
2245
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
2115
|
-
});
|
|
2246
|
+
}).strict();
|
|
2116
2247
|
exports.svgStrokeSchema = exports.svgpropertiesSvgStrokeSchema;
|
|
2117
2248
|
/**
|
|
2118
2249
|
* Transformation properties for positioning, rotating, and scaling SVG shapes.
|
|
@@ -2161,7 +2292,7 @@ exports.svgpropertiesSvgTransformSchema = zod_1.z.object({
|
|
|
2161
2292
|
return v;
|
|
2162
2293
|
return Number(v);
|
|
2163
2294
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
|
|
2164
|
-
});
|
|
2295
|
+
}).strict();
|
|
2165
2296
|
exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
|
|
2166
2297
|
/**
|
|
2167
2298
|
* An arrow shape pointing to the right by default.
|
|
@@ -2198,7 +2329,7 @@ exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
|
|
|
2198
2329
|
return v;
|
|
2199
2330
|
return Number(v);
|
|
2200
2331
|
} return v; }), zod_1.z.number().gte(1).lte(1000)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2201
|
-
});
|
|
2332
|
+
}).strict();
|
|
2202
2333
|
exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
|
|
2203
2334
|
/**
|
|
2204
2335
|
* A perfect circle shape defined by its radius.
|
|
@@ -2214,7 +2345,7 @@ exports.svgshapesSvgCircleShapeSchema = zod_1.z.object({
|
|
|
2214
2345
|
return v;
|
|
2215
2346
|
return Number(v);
|
|
2216
2347
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2217
|
-
});
|
|
2348
|
+
}).strict();
|
|
2218
2349
|
exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
|
|
2219
2350
|
/**
|
|
2220
2351
|
* A cross or plus shape with equal or different arm lengths.
|
|
@@ -2244,7 +2375,7 @@ exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
|
|
|
2244
2375
|
return v;
|
|
2245
2376
|
return Number(v);
|
|
2246
2377
|
} return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2247
|
-
});
|
|
2378
|
+
}).strict();
|
|
2248
2379
|
exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
|
|
2249
2380
|
/**
|
|
2250
2381
|
* An ellipse (oval) shape with separate horizontal and vertical radii.
|
|
@@ -2267,7 +2398,7 @@ exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
|
|
|
2267
2398
|
return v;
|
|
2268
2399
|
return Number(v);
|
|
2269
2400
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2270
|
-
});
|
|
2401
|
+
}).strict();
|
|
2271
2402
|
exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
|
|
2272
2403
|
/**
|
|
2273
2404
|
* A heart shape commonly used for love/like icons.
|
|
@@ -2283,7 +2414,7 @@ exports.svgshapesSvgHeartShapeSchema = zod_1.z.object({
|
|
|
2283
2414
|
return v;
|
|
2284
2415
|
return Number(v);
|
|
2285
2416
|
} return v; }), zod_1.z.number().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2286
|
-
});
|
|
2417
|
+
}).strict();
|
|
2287
2418
|
exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
|
|
2288
2419
|
/**
|
|
2289
2420
|
* A straight line shape with a specified length and thickness.
|
|
@@ -2306,7 +2437,7 @@ exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
|
|
|
2306
2437
|
return v;
|
|
2307
2438
|
return Number(v);
|
|
2308
2439
|
} return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2309
|
-
});
|
|
2440
|
+
}).strict();
|
|
2310
2441
|
exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
|
|
2311
2442
|
/**
|
|
2312
2443
|
* A custom shape defined by SVG path data.
|
|
@@ -2328,7 +2459,7 @@ exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
|
|
|
2328
2459
|
exports.svgshapesSvgPathShapeSchema = zod_1.z.object({
|
|
2329
2460
|
type: zod_1.z.enum(["path"]),
|
|
2330
2461
|
d: zod_1.z.string().min(1).max(100000),
|
|
2331
|
-
});
|
|
2462
|
+
}).strict();
|
|
2332
2463
|
exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
|
|
2333
2464
|
/**
|
|
2334
2465
|
* A regular polygon shape with a specified number of sides.
|
|
@@ -2352,7 +2483,7 @@ exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
|
|
|
2352
2483
|
return v;
|
|
2353
2484
|
return Number(v);
|
|
2354
2485
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2355
|
-
});
|
|
2486
|
+
}).strict();
|
|
2356
2487
|
exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
|
|
2357
2488
|
/**
|
|
2358
2489
|
* A rectangle shape with optional rounded corners.
|
|
@@ -2382,7 +2513,7 @@ exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
|
|
|
2382
2513
|
return v;
|
|
2383
2514
|
return Number(v);
|
|
2384
2515
|
} return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
2385
|
-
});
|
|
2516
|
+
}).strict();
|
|
2386
2517
|
exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
|
|
2387
2518
|
/**
|
|
2388
2519
|
* A ring (donut/annulus) shape - a circle with a circular hole in the center.
|
|
@@ -2405,7 +2536,7 @@ exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
|
|
|
2405
2536
|
return v;
|
|
2406
2537
|
return Number(v);
|
|
2407
2538
|
} return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2408
|
-
});
|
|
2539
|
+
}).strict();
|
|
2409
2540
|
exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
|
|
2410
2541
|
/**
|
|
2411
2542
|
* A star shape with a specified number of points.
|
|
@@ -2436,7 +2567,7 @@ exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
|
|
|
2436
2567
|
return v;
|
|
2437
2568
|
return Number(v);
|
|
2438
2569
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2439
|
-
});
|
|
2570
|
+
}).strict();
|
|
2440
2571
|
exports.svgStarShapeSchema = exports.svgshapesSvgStarShapeSchema;
|
|
2441
2572
|
/**
|
|
2442
2573
|
* The shape definition for an SVG asset. Each shape type has its own specific
|
|
@@ -2530,7 +2661,7 @@ exports.svgassetSvgAssetSchema = zod_1.z.object({
|
|
|
2530
2661
|
return v;
|
|
2531
2662
|
return Number(v);
|
|
2532
2663
|
} return v; }), zod_1.z.number().int().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2533
|
-
}).superRefine((data, ctx) => {
|
|
2664
|
+
}).strict().superRefine((data, ctx) => {
|
|
2534
2665
|
const hasShape = data.shape !== undefined;
|
|
2535
2666
|
const hasSrc = data.src !== undefined && data.src.trim() !== "";
|
|
2536
2667
|
if (!hasShape && !hasSrc) {
|
|
@@ -2567,7 +2698,7 @@ exports.svgAssetSchema = exports.svgassetSvgAssetSchema;
|
|
|
2567
2698
|
exports.templaterenderTemplateRenderSchema = zod_1.z.object({
|
|
2568
2699
|
id: zod_1.z.string(),
|
|
2569
2700
|
merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
|
|
2570
|
-
});
|
|
2701
|
+
}).strict();
|
|
2571
2702
|
exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
|
|
2572
2703
|
/**
|
|
2573
2704
|
* Horizontal and vertical alignment properties for text.
|
|
@@ -2575,7 +2706,7 @@ exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
|
|
|
2575
2706
|
exports.textpropertiesTextAlignmentSchema = zod_1.z.object({
|
|
2576
2707
|
horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
|
|
2577
2708
|
vertical: zod_1.z.optional(zod_1.z.enum(["top", "center", "bottom"])),
|
|
2578
|
-
});
|
|
2709
|
+
}).strict();
|
|
2579
2710
|
exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema;
|
|
2580
2711
|
/**
|
|
2581
2712
|
* Animation properties for text entrance effects.
|
|
@@ -2589,7 +2720,7 @@ exports.textpropertiesTextAnimationSchema = zod_1.z.object({
|
|
|
2589
2720
|
return v;
|
|
2590
2721
|
return Number(v);
|
|
2591
2722
|
} return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2592
|
-
});
|
|
2723
|
+
}).strict();
|
|
2593
2724
|
/**
|
|
2594
2725
|
* Displays a background box behind the text.
|
|
2595
2726
|
*/
|
|
@@ -2616,7 +2747,7 @@ exports.textpropertiesTextBackgroundSchema = zod_1.z.object({
|
|
|
2616
2747
|
return v;
|
|
2617
2748
|
return Number(v);
|
|
2618
2749
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2619
|
-
});
|
|
2750
|
+
}).strict();
|
|
2620
2751
|
exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema;
|
|
2621
2752
|
/**
|
|
2622
2753
|
* Font properties for text.
|
|
@@ -2652,7 +2783,7 @@ exports.textpropertiesTextFontSchema = zod_1.z.object({
|
|
|
2652
2783
|
return v;
|
|
2653
2784
|
return Number(v);
|
|
2654
2785
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2655
|
-
});
|
|
2786
|
+
}).strict();
|
|
2656
2787
|
exports.textFontSchema = exports.textpropertiesTextFontSchema;
|
|
2657
2788
|
/**
|
|
2658
2789
|
* Text stroke (outline) properties.
|
|
@@ -2666,7 +2797,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
|
|
|
2666
2797
|
return Number(v);
|
|
2667
2798
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2668
2799
|
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2669
|
-
});
|
|
2800
|
+
}).strict();
|
|
2670
2801
|
/**
|
|
2671
2802
|
* The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
|
|
2672
2803
|
* [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
|
|
@@ -2695,7 +2826,7 @@ exports.textassetTextAssetSchema = zod_1.z.object({
|
|
|
2695
2826
|
stroke: zod_1.z.optional(exports.textpropertiesTextStrokeSchema),
|
|
2696
2827
|
animation: zod_1.z.optional(exports.textpropertiesTextAnimationSchema),
|
|
2697
2828
|
ellipsis: zod_1.z.optional(zod_1.z.string()),
|
|
2698
|
-
});
|
|
2829
|
+
}).strict();
|
|
2699
2830
|
exports.textAssetSchema = exports.textassetTextAssetSchema;
|
|
2700
2831
|
/**
|
|
2701
2832
|
* The TextToImageAsset lets you create a dynamic image from a text prompt.
|
|
@@ -2718,7 +2849,7 @@ exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
|
|
|
2718
2849
|
return Number(v);
|
|
2719
2850
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2720
2851
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
2721
|
-
});
|
|
2852
|
+
}).strict();
|
|
2722
2853
|
exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema;
|
|
2723
2854
|
/**
|
|
2724
2855
|
* Generate a thumbnail image for the video or image at a specific point from the timeline.
|
|
@@ -2738,7 +2869,7 @@ exports.thumbnailThumbnailSchema = zod_1.z.object({
|
|
|
2738
2869
|
return v;
|
|
2739
2870
|
return Number(v);
|
|
2740
2871
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2741
|
-
});
|
|
2872
|
+
}).strict();
|
|
2742
2873
|
exports.thumbnailSchema = exports.thumbnailThumbnailSchema;
|
|
2743
2874
|
/**
|
|
2744
2875
|
* The output format, render range and type of media to generate.
|
|
@@ -2769,7 +2900,7 @@ exports.outputOutputSchema = zod_1.z.object({
|
|
|
2769
2900
|
poster: zod_1.z.optional(exports.posterPosterSchema),
|
|
2770
2901
|
thumbnail: zod_1.z.optional(exports.thumbnailThumbnailSchema),
|
|
2771
2902
|
destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema)),
|
|
2772
|
-
});
|
|
2903
|
+
}).strict();
|
|
2773
2904
|
exports.outputSchema = exports.outputOutputSchema;
|
|
2774
2905
|
/**
|
|
2775
2906
|
* In and out transitions for a clip - i.e. fade in and fade out
|
|
@@ -2903,7 +3034,7 @@ exports.transitionTransitionSchema = zod_1.z.object({
|
|
|
2903
3034
|
"shuffleTopLeftFast",
|
|
2904
3035
|
"zoom",
|
|
2905
3036
|
])),
|
|
2906
|
-
});
|
|
3037
|
+
}).strict();
|
|
2907
3038
|
exports.transitionSchema = exports.transitionTransitionSchema;
|
|
2908
3039
|
/**
|
|
2909
3040
|
* Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:
|
|
@@ -2963,7 +3094,7 @@ exports.tweenTweenSchema = zod_1.z.object({
|
|
|
2963
3094
|
"easeInOutCirc",
|
|
2964
3095
|
"easeInOutBack",
|
|
2965
3096
|
])),
|
|
2966
|
-
});
|
|
3097
|
+
}).strict();
|
|
2967
3098
|
exports.tweenSchema = exports.tweenTweenSchema;
|
|
2968
3099
|
/**
|
|
2969
3100
|
* The AudioAsset is used to add sound effects and audio at specific intervals on the timeline. The src must be a publicly accessible URL to an audio resource such as an mp3 file.
|
|
@@ -2993,7 +3124,7 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
|
|
|
2993
3124
|
return Number(v);
|
|
2994
3125
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2995
3126
|
effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
2996
|
-
});
|
|
3127
|
+
}).strict();
|
|
2997
3128
|
exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
|
|
2998
3129
|
/**
|
|
2999
3130
|
* Offsets the position of an asset horizontally or vertically by a relative distance.
|
|
@@ -3013,7 +3144,7 @@ exports.offsetOffsetSchema = zod_1.z.object({
|
|
|
3013
3144
|
return v;
|
|
3014
3145
|
return Number(v);
|
|
3015
3146
|
} return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3016
|
-
});
|
|
3147
|
+
}).strict();
|
|
3017
3148
|
exports.offsetSchema = exports.offsetOffsetSchema;
|
|
3018
3149
|
/**
|
|
3019
3150
|
* Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.
|
|
@@ -3026,7 +3157,7 @@ exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
|
|
|
3026
3157
|
return v;
|
|
3027
3158
|
return Number(v);
|
|
3028
3159
|
} return v; }), zod_1.z.number().gte(-360).lte(360)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3029
|
-
});
|
|
3160
|
+
}).strict();
|
|
3030
3161
|
exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
|
|
3031
3162
|
/**
|
|
3032
3163
|
* 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.
|
|
@@ -3046,7 +3177,7 @@ exports.skewtransformationSkewTransformationSchema = zod_1.z.object({
|
|
|
3046
3177
|
return v;
|
|
3047
3178
|
return Number(v);
|
|
3048
3179
|
} return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3049
|
-
});
|
|
3180
|
+
}).strict();
|
|
3050
3181
|
exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema;
|
|
3051
3182
|
/**
|
|
3052
3183
|
* The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset.
|
|
@@ -3079,7 +3210,7 @@ exports.texttospeechassetTextToSpeechAssetSchema = zod_1.z.object({
|
|
|
3079
3210
|
return Number(v);
|
|
3080
3211
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3081
3212
|
effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
3082
|
-
});
|
|
3213
|
+
}).strict();
|
|
3083
3214
|
exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSchema;
|
|
3084
3215
|
/**
|
|
3085
3216
|
* **Notice: The TitleAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
|
|
@@ -3127,7 +3258,7 @@ exports.titleassetTitleAssetSchema = zod_1.z.object({
|
|
|
3127
3258
|
"center",
|
|
3128
3259
|
])),
|
|
3129
3260
|
offset: zod_1.z.optional(exports.offsetOffsetSchema),
|
|
3130
|
-
});
|
|
3261
|
+
}).strict();
|
|
3131
3262
|
exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
|
|
3132
3263
|
/**
|
|
3133
3264
|
* 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.
|
|
@@ -3136,7 +3267,7 @@ exports.transformationTransformationSchema = zod_1.z.object({
|
|
|
3136
3267
|
rotate: zod_1.z.optional(exports.rotatetransformationRotateTransformationSchema),
|
|
3137
3268
|
skew: zod_1.z.optional(exports.skewtransformationSkewTransformationSchema),
|
|
3138
3269
|
flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema),
|
|
3139
|
-
});
|
|
3270
|
+
}).strict();
|
|
3140
3271
|
exports.transformationSchema = exports.transformationTransformationSchema;
|
|
3141
3272
|
/**
|
|
3142
3273
|
* 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.
|
|
@@ -3169,7 +3300,7 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
|
|
|
3169
3300
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3170
3301
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
3171
3302
|
chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema),
|
|
3172
|
-
});
|
|
3303
|
+
}).strict();
|
|
3173
3304
|
exports.videoAssetSchema = exports.videoassetVideoAssetSchema;
|
|
3174
3305
|
/**
|
|
3175
3306
|
* 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.
|
|
@@ -3182,6 +3313,7 @@ exports.assetAssetSchema = zod_1.z.discriminatedUnion("type", [
|
|
|
3182
3313
|
exports.audioassetAudioAssetSchema,
|
|
3183
3314
|
exports.lumaassetLumaAssetSchema,
|
|
3184
3315
|
exports.captionassetCaptionAssetSchema,
|
|
3316
|
+
exports.richcaptionassetRichCaptionAssetSchema,
|
|
3185
3317
|
exports.htmlassetHtmlAssetSchema,
|
|
3186
3318
|
exports.titleassetTitleAssetSchema,
|
|
3187
3319
|
exports.shapeassetShapeAssetSchema,
|
|
@@ -3291,7 +3423,7 @@ exports.clipClipSchema = zod_1.z.object({
|
|
|
3291
3423
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3292
3424
|
transform: zod_1.z.optional(exports.transformationTransformationSchema),
|
|
3293
3425
|
alias: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3294
|
-
});
|
|
3426
|
+
}).strict();
|
|
3295
3427
|
exports.clipSchema = exports.clipClipSchema;
|
|
3296
3428
|
// Clip schema with fit property filter for rich-text assets
|
|
3297
3429
|
// This removes the 'fit' property when asset type is 'rich-text'
|
|
@@ -3310,7 +3442,7 @@ const clipClipSchemaWithFitFilter = exports.clipClipSchema.transform((clip) => {
|
|
|
3310
3442
|
*/
|
|
3311
3443
|
exports.trackTrackSchema = zod_1.z.object({
|
|
3312
3444
|
clips: zod_1.z.array(clipClipSchemaWithFitFilter).min(1),
|
|
3313
|
-
});
|
|
3445
|
+
}).strict();
|
|
3314
3446
|
exports.trackSchema = exports.trackTrackSchema;
|
|
3315
3447
|
/**
|
|
3316
3448
|
* A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time.
|
|
@@ -3321,7 +3453,7 @@ exports.timelineTimelineSchema = zod_1.z.object({
|
|
|
3321
3453
|
fonts: zod_1.z.optional(zod_1.z.array(exports.fontFontSchema)),
|
|
3322
3454
|
tracks: zod_1.z.array(exports.trackTrackSchema).min(1),
|
|
3323
3455
|
cache: zod_1.z.optional(zod_1.z.boolean()),
|
|
3324
|
-
});
|
|
3456
|
+
}).strict();
|
|
3325
3457
|
exports.timelineSchema = exports.timelineTimelineSchema;
|
|
3326
3458
|
/**
|
|
3327
3459
|
* An edit defines the arrangement of a video on a timeline, an audio edit or an image design and the output format. Video assets are automatically preprocessed to fix common compatibility issues before rendering. You can control preprocessing behavior using the `transcode` flag on video assets.
|
|
@@ -3332,7 +3464,7 @@ exports.editEditSchema = zod_1.z.object({
|
|
|
3332
3464
|
merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
|
|
3333
3465
|
callback: zod_1.z.optional(zod_1.z.string()),
|
|
3334
3466
|
disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
|
|
3335
|
-
});
|
|
3467
|
+
}).strict();
|
|
3336
3468
|
exports.editSchema = exports.editEditSchema;
|
|
3337
3469
|
/**
|
|
3338
3470
|
* The response data returned with the [RenderResponse](#tocs_renderresponse) including status and URL.
|
|
@@ -3371,7 +3503,7 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
|
|
|
3371
3503
|
data: zod_1.z.optional(exports.editEditSchema),
|
|
3372
3504
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
3373
3505
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
3374
|
-
});
|
|
3506
|
+
}).strict();
|
|
3375
3507
|
exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema;
|
|
3376
3508
|
/**
|
|
3377
3509
|
* The response received after a [render status request](#get-render-status) is submitted. The response includes details about status of a render and the output URL.
|
|
@@ -3380,7 +3512,7 @@ exports.renderresponseRenderResponseSchema = zod_1.z.object({
|
|
|
3380
3512
|
success: zod_1.z.boolean(),
|
|
3381
3513
|
message: zod_1.z.string(),
|
|
3382
3514
|
response: exports.renderresponsedataRenderResponseDataSchema,
|
|
3383
|
-
});
|
|
3515
|
+
}).strict();
|
|
3384
3516
|
exports.renderResponseSchema = exports.renderresponseRenderResponseSchema;
|
|
3385
3517
|
/**
|
|
3386
3518
|
* The response data returned with the [TemplateDataResponse](#tocs_templatedataresponse).
|
|
@@ -3390,7 +3522,7 @@ exports.templatedataresponsedataTemplateDataResponseDataSchema = zod_1.z.object(
|
|
|
3390
3522
|
name: zod_1.z.string(),
|
|
3391
3523
|
owner: zod_1.z.string(),
|
|
3392
3524
|
template: exports.editEditSchema,
|
|
3393
|
-
});
|
|
3525
|
+
}).strict();
|
|
3394
3526
|
exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema;
|
|
3395
3527
|
/**
|
|
3396
3528
|
* The template data including the template name and [Edit](#tocs_edit).
|
|
@@ -3399,7 +3531,7 @@ exports.templatedataresponseTemplateDataResponseSchema = zod_1.z.object({
|
|
|
3399
3531
|
success: zod_1.z.boolean(),
|
|
3400
3532
|
message: zod_1.z.string(),
|
|
3401
3533
|
response: exports.templatedataresponsedataTemplateDataResponseDataSchema,
|
|
3402
|
-
});
|
|
3534
|
+
}).strict();
|
|
3403
3535
|
exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema;
|
|
3404
3536
|
/**
|
|
3405
3537
|
* A template is a saved [Edit](#tocs_edit) than can be loaded and re-used.
|
|
@@ -3407,13 +3539,13 @@ exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataRes
|
|
|
3407
3539
|
exports.templateTemplateSchema = zod_1.z.object({
|
|
3408
3540
|
name: zod_1.z.string(),
|
|
3409
3541
|
template: zod_1.z.optional(exports.editEditSchema),
|
|
3410
|
-
});
|
|
3542
|
+
}).strict();
|
|
3411
3543
|
exports.templateSchema = exports.templateTemplateSchema;
|
|
3412
3544
|
exports.postRenderRequest = zod_1.z.object({
|
|
3413
3545
|
body: exports.editEditSchema,
|
|
3414
3546
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3415
3547
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3416
|
-
});
|
|
3548
|
+
}).strict();
|
|
3417
3549
|
/**
|
|
3418
3550
|
* The queued render details
|
|
3419
3551
|
*/
|
|
@@ -3429,7 +3561,7 @@ exports.getRenderRequest = zod_1.z.object({
|
|
|
3429
3561
|
data: zod_1.z.optional(zod_1.z.boolean()),
|
|
3430
3562
|
merged: zod_1.z.optional(zod_1.z.boolean()),
|
|
3431
3563
|
})),
|
|
3432
|
-
});
|
|
3564
|
+
}).strict();
|
|
3433
3565
|
/**
|
|
3434
3566
|
* The render status details
|
|
3435
3567
|
*/
|
|
@@ -3438,7 +3570,7 @@ exports.getTemplatesRequest = zod_1.z.object({
|
|
|
3438
3570
|
body: zod_1.z.optional(zod_1.z.never()),
|
|
3439
3571
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3440
3572
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3441
|
-
});
|
|
3573
|
+
}).strict();
|
|
3442
3574
|
/**
|
|
3443
3575
|
* The list of templates stored against a users account
|
|
3444
3576
|
*/
|
|
@@ -3447,7 +3579,7 @@ exports.postTemplateRequest = zod_1.z.object({
|
|
|
3447
3579
|
body: exports.templateTemplateSchema,
|
|
3448
3580
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3449
3581
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3450
|
-
});
|
|
3582
|
+
}).strict();
|
|
3451
3583
|
/**
|
|
3452
3584
|
* The saved template status including the id
|
|
3453
3585
|
*/
|
|
@@ -3460,7 +3592,7 @@ exports.deleteTemplateRequest = zod_1.z.object({
|
|
|
3460
3592
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3461
3593
|
}),
|
|
3462
3594
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3463
|
-
});
|
|
3595
|
+
}).strict();
|
|
3464
3596
|
/**
|
|
3465
3597
|
* An empty response signifying the template has been deleted
|
|
3466
3598
|
*/
|
|
@@ -3473,7 +3605,7 @@ exports.getTemplateRequest = zod_1.z.object({
|
|
|
3473
3605
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3474
3606
|
}),
|
|
3475
3607
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3476
|
-
});
|
|
3608
|
+
}).strict();
|
|
3477
3609
|
/**
|
|
3478
3610
|
* The template details including the [Edit](#tocs_edit)
|
|
3479
3611
|
*/
|
|
@@ -3486,7 +3618,7 @@ exports.putTemplateRequest = zod_1.z.object({
|
|
|
3486
3618
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3487
3619
|
}),
|
|
3488
3620
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3489
|
-
});
|
|
3621
|
+
}).strict();
|
|
3490
3622
|
/**
|
|
3491
3623
|
* Update a templates name and [Edit](#tocs_edit)
|
|
3492
3624
|
*/
|
|
@@ -3495,7 +3627,7 @@ exports.postTemplateRenderRequest = zod_1.z.object({
|
|
|
3495
3627
|
body: exports.templaterenderTemplateRenderSchema,
|
|
3496
3628
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3497
3629
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3498
|
-
});
|
|
3630
|
+
}).strict();
|
|
3499
3631
|
/**
|
|
3500
3632
|
* The queued status including the render id. Check the status of the render using the id and the [render status](#get-render-status) endpoint.
|
|
3501
3633
|
*/
|
|
@@ -3506,7 +3638,7 @@ exports.probeRequest = zod_1.z.object({
|
|
|
3506
3638
|
url: zod_1.z.string(),
|
|
3507
3639
|
}),
|
|
3508
3640
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3509
|
-
});
|
|
3641
|
+
}).strict();
|
|
3510
3642
|
/**
|
|
3511
3643
|
* FFprobe response formatted as JSON.
|
|
3512
3644
|
*/
|
|
@@ -3519,7 +3651,7 @@ exports.deleteAssetRequest = zod_1.z.object({
|
|
|
3519
3651
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3520
3652
|
}),
|
|
3521
3653
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3522
|
-
});
|
|
3654
|
+
}).strict();
|
|
3523
3655
|
/**
|
|
3524
3656
|
* An empty response signifying the asset has been deleted
|
|
3525
3657
|
*/
|
|
@@ -3532,7 +3664,7 @@ exports.getAssetRequest = zod_1.z.object({
|
|
|
3532
3664
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3533
3665
|
}),
|
|
3534
3666
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3535
|
-
});
|
|
3667
|
+
}).strict();
|
|
3536
3668
|
/**
|
|
3537
3669
|
* Get asset by asset id
|
|
3538
3670
|
*/
|
|
@@ -3545,7 +3677,7 @@ exports.getAssetByRenderIdRequest = zod_1.z.object({
|
|
|
3545
3677
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3546
3678
|
}),
|
|
3547
3679
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3548
|
-
});
|
|
3680
|
+
}).strict();
|
|
3549
3681
|
/**
|
|
3550
3682
|
* Get one or more assets by render id
|
|
3551
3683
|
*/
|
|
@@ -3554,7 +3686,7 @@ exports.postServeAssetRequest = zod_1.z.object({
|
|
|
3554
3686
|
body: exports.transferTransferSchema,
|
|
3555
3687
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3556
3688
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3557
|
-
});
|
|
3689
|
+
}).strict();
|
|
3558
3690
|
/**
|
|
3559
3691
|
* The transfer request details and status
|
|
3560
3692
|
*/
|
|
@@ -3563,7 +3695,7 @@ exports.getSourcesRequest = zod_1.z.object({
|
|
|
3563
3695
|
body: zod_1.z.optional(zod_1.z.never()),
|
|
3564
3696
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3565
3697
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3566
|
-
});
|
|
3698
|
+
}).strict();
|
|
3567
3699
|
/**
|
|
3568
3700
|
* The list of ingested source files stored against a users account
|
|
3569
3701
|
*/
|
|
@@ -3572,7 +3704,7 @@ exports.postSourceRequest = zod_1.z.object({
|
|
|
3572
3704
|
body: exports.sourceSourceSchema,
|
|
3573
3705
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3574
3706
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3575
|
-
});
|
|
3707
|
+
}).strict();
|
|
3576
3708
|
/**
|
|
3577
3709
|
* The queued source file details
|
|
3578
3710
|
*/
|
|
@@ -3585,7 +3717,7 @@ exports.deleteSourceRequest = zod_1.z.object({
|
|
|
3585
3717
|
.regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/),
|
|
3586
3718
|
}),
|
|
3587
3719
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3588
|
-
});
|
|
3720
|
+
}).strict();
|
|
3589
3721
|
/**
|
|
3590
3722
|
* An empty response signifying the ingested source file has been deleted.
|
|
3591
3723
|
*/
|
|
@@ -3598,7 +3730,7 @@ exports.getSourceRequest = zod_1.z.object({
|
|
|
3598
3730
|
.regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/),
|
|
3599
3731
|
}),
|
|
3600
3732
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3601
|
-
});
|
|
3733
|
+
}).strict();
|
|
3602
3734
|
/**
|
|
3603
3735
|
* Get source file details by id
|
|
3604
3736
|
*/
|
|
@@ -3607,7 +3739,7 @@ exports.getUploadSignedUrlRequest = zod_1.z.object({
|
|
|
3607
3739
|
body: zod_1.z.optional(zod_1.z.never()),
|
|
3608
3740
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3609
3741
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3610
|
-
});
|
|
3742
|
+
}).strict();
|
|
3611
3743
|
/**
|
|
3612
3744
|
* The id and signed URL to upload to.
|
|
3613
3745
|
*/
|
|
@@ -3616,7 +3748,7 @@ exports.postGenerateAssetRequest = zod_1.z.object({
|
|
|
3616
3748
|
body: exports.generatedAssetGeneratedAssetSchema,
|
|
3617
3749
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3618
3750
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3619
|
-
});
|
|
3751
|
+
}).strict();
|
|
3620
3752
|
/**
|
|
3621
3753
|
* The generated asset details
|
|
3622
3754
|
*/
|
|
@@ -3629,7 +3761,7 @@ exports.getGeneratedAssetRequest = zod_1.z.object({
|
|
|
3629
3761
|
.regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/),
|
|
3630
3762
|
}),
|
|
3631
3763
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3632
|
-
});
|
|
3764
|
+
}).strict();
|
|
3633
3765
|
/**
|
|
3634
3766
|
* The generated asset details
|
|
3635
3767
|
*/
|