@shotstack/schemas 1.20.2 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.bundled.json +89 -78
- package/dist/json-schema/edit.json +100 -89
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +77 -62
- package/dist/zod/zod.gen.cjs +20 -6
- package/dist/zod/zod.gen.d.ts +26 -2
- package/dist/zod/zod.gen.js +16 -2
- package/dist/zod/zod.gen.ts +18 -2
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface paths {
|
|
|
26
26
|
*
|
|
27
27
|
* **Video Preprocessing:**
|
|
28
28
|
* Video assets undergo automatic preprocessing to ensure compatibility. You can force
|
|
29
|
-
* preprocessing by setting `"transcode": true` on video assets. See [
|
|
29
|
+
* preprocessing by setting `"transcode": true` on video assets. See [VideoAsset](#tocs_videoasset)
|
|
30
30
|
* for more details.
|
|
31
31
|
*
|
|
32
32
|
* **Base URL:** <a href="#">https://api.shotstack.io/edit/{version}</a>
|
|
@@ -361,7 +361,7 @@ export interface paths {
|
|
|
361
361
|
/**
|
|
362
362
|
* Get Asset by Render ID
|
|
363
363
|
* @description A render may generate more than one file, such as a video, thumbnail and poster image. When the assets are
|
|
364
|
-
* created the only known id is the render id returned by the original [render request](#render-
|
|
364
|
+
* created the only known id is the render id returned by the original [render request](#render-asset), status
|
|
365
365
|
* request or webhook. This endpoint lets you look up one or more assets by the render id.
|
|
366
366
|
*
|
|
367
367
|
* **Base URL:** <a href="#">https://api.shotstack.io/serve/{version}</a>
|
|
@@ -472,7 +472,7 @@ export interface paths {
|
|
|
472
472
|
* @description Request a signed URL to upload a file to. The response returns a signed URL that you use to upload the file to.
|
|
473
473
|
* The signed URL looks similar to:
|
|
474
474
|
*
|
|
475
|
-
* https://shotstack-ingest-api-stage-sources.s3.ap-southeast-2.amazonaws.com/5ca6hu7s9k/zzytey4v-32km-kq1z-aftr-3kcuqi0brad2/source?AWSAccessKeyId=ASIAWJV7UWDMGTZLHTXP&Expires=1677209777&Signature=PKR4dGDDdOuMTAQmDASzLGmLOeo%3D&x-amz-acl=public-read&x-amz-security-token=IQoJb3JpZ2luX2VjEGMaDmFwLX......56osBGByztm7WZdbmXzO09KR
|
|
475
|
+
* `https://shotstack-ingest-api-stage-sources.s3.ap-southeast-2.amazonaws.com/5ca6hu7s9k/zzytey4v-32km-kq1z-aftr-3kcuqi0brad2/source?AWSAccessKeyId=ASIAWJV7UWDMGTZLHTXP&Expires=1677209777&Signature=PKR4dGDDdOuMTAQmDASzLGmLOeo%3D&x-amz-acl=public-read&x-amz-security-token=IQoJb3JpZ2luX2VjEGMaDmFwLX......56osBGByztm7WZdbmXzO09KR`
|
|
476
476
|
*
|
|
477
477
|
* In a separate API call, use this signed URL to send a PUT request with the binary file. Using cURL you can use
|
|
478
478
|
* a command like:
|
|
@@ -514,7 +514,7 @@ export interface components {
|
|
|
514
514
|
* @deprecated
|
|
515
515
|
* @description **Notice: This option is now deprecated and will be removed. Disk types are handled automatically. Setting a disk type has no effect.**
|
|
516
516
|
*
|
|
517
|
-
* The disk type to use for storing footage and assets for each render.
|
|
517
|
+
* The disk type to use for storing footage and assets for each render.
|
|
518
518
|
* <ul>
|
|
519
519
|
* <li>`local` - optimized for high speed rendering with up to 512MB storage</li>
|
|
520
520
|
* <li>`mount` - optimized for larger file sizes and longer videos with 5GB for source footage and 512MB for output render</li>
|
|
@@ -895,59 +895,9 @@ export interface components {
|
|
|
895
895
|
/** @description Background styling properties for the text bounding box. */
|
|
896
896
|
background?: components["schemas"]["RichTextBackground"];
|
|
897
897
|
/** @description Border styling properties for the text bounding box. */
|
|
898
|
-
border?:
|
|
899
|
-
/**
|
|
900
|
-
* @description The width of the border in pixels. Must be 0 or greater.
|
|
901
|
-
* @default 0
|
|
902
|
-
* @example 2
|
|
903
|
-
*/
|
|
904
|
-
width?: number;
|
|
905
|
-
/**
|
|
906
|
-
* @description The border color using hexadecimal color notation.
|
|
907
|
-
* @default #000000
|
|
908
|
-
* @example #ff0000
|
|
909
|
-
*/
|
|
910
|
-
color?: string;
|
|
911
|
-
/**
|
|
912
|
-
* @description The opacity of the border where 1 is opaque and 0 is transparent.
|
|
913
|
-
* @default 1
|
|
914
|
-
* @example 0.8
|
|
915
|
-
*/
|
|
916
|
-
opacity?: number;
|
|
917
|
-
/**
|
|
918
|
-
* @description The border radius in pixels for rounded corners. Must be 0 or greater.
|
|
919
|
-
* @default 0
|
|
920
|
-
* @example 10
|
|
921
|
-
*/
|
|
922
|
-
radius?: number;
|
|
923
|
-
};
|
|
898
|
+
border?: components["schemas"]["RichTextBorder"];
|
|
924
899
|
/** @description Padding inside the text bounding box. Can be a single number (applied to all sides) or an object with individual sides. */
|
|
925
|
-
padding?: number |
|
|
926
|
-
/**
|
|
927
|
-
* @description Top padding in pixels.
|
|
928
|
-
* @default 0
|
|
929
|
-
* @example 10
|
|
930
|
-
*/
|
|
931
|
-
top?: number;
|
|
932
|
-
/**
|
|
933
|
-
* @description Right padding in pixels.
|
|
934
|
-
* @default 0
|
|
935
|
-
* @example 10
|
|
936
|
-
*/
|
|
937
|
-
right?: number;
|
|
938
|
-
/**
|
|
939
|
-
* @description Bottom padding in pixels.
|
|
940
|
-
* @default 0
|
|
941
|
-
* @example 10
|
|
942
|
-
*/
|
|
943
|
-
bottom?: number;
|
|
944
|
-
/**
|
|
945
|
-
* @description Left padding in pixels.
|
|
946
|
-
* @default 0
|
|
947
|
-
* @example 10
|
|
948
|
-
*/
|
|
949
|
-
left?: number;
|
|
950
|
-
};
|
|
900
|
+
padding?: number | components["schemas"]["RichTextPadding"];
|
|
951
901
|
/** @description Text alignment properties (horizontal and vertical). */
|
|
952
902
|
align?: components["schemas"]["RichTextAlignment"];
|
|
953
903
|
/** @description Animation properties for text entrance effects. */
|
|
@@ -1273,9 +1223,9 @@ export interface components {
|
|
|
1273
1223
|
/** @description Background styling properties for the caption bounding box. */
|
|
1274
1224
|
background?: components["schemas"]["RichTextBackground"];
|
|
1275
1225
|
/** @description Border styling properties for the caption bounding box. */
|
|
1276
|
-
border?: components["schemas"]["
|
|
1226
|
+
border?: components["schemas"]["RichTextBorder"];
|
|
1277
1227
|
/** @description Padding inside the caption bounding box. Can be a single number (applied to all sides) or an object with individual sides. */
|
|
1278
|
-
padding?: number | components["schemas"]["
|
|
1228
|
+
padding?: number | components["schemas"]["RichTextPadding"];
|
|
1279
1229
|
/** @description Text alignment properties (horizontal and vertical). */
|
|
1280
1230
|
align?: components["schemas"]["RichTextAlignment"];
|
|
1281
1231
|
/** @description Styling properties for the active/highlighted word. These override the base styling when a word is being spoken. */
|
|
@@ -2133,6 +2083,60 @@ export interface components {
|
|
|
2133
2083
|
*/
|
|
2134
2084
|
direction?: "left" | "right" | "up" | "down";
|
|
2135
2085
|
};
|
|
2086
|
+
/** @description Border styling properties for the text bounding box. */
|
|
2087
|
+
RichTextBorder: {
|
|
2088
|
+
/**
|
|
2089
|
+
* @description The width of the border in pixels. Must be 0 or greater.
|
|
2090
|
+
* @default 0
|
|
2091
|
+
* @example 2
|
|
2092
|
+
*/
|
|
2093
|
+
width?: number;
|
|
2094
|
+
/**
|
|
2095
|
+
* @description The border color using hexadecimal color notation.
|
|
2096
|
+
* @default #000000
|
|
2097
|
+
* @example #ff0000
|
|
2098
|
+
*/
|
|
2099
|
+
color?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* @description The opacity of the border where 1 is opaque and 0 is transparent.
|
|
2102
|
+
* @default 1
|
|
2103
|
+
* @example 0.8
|
|
2104
|
+
*/
|
|
2105
|
+
opacity?: number;
|
|
2106
|
+
/**
|
|
2107
|
+
* @description The border radius in pixels for rounded corners. Must be 0 or greater.
|
|
2108
|
+
* @default 0
|
|
2109
|
+
* @example 10
|
|
2110
|
+
*/
|
|
2111
|
+
radius?: number;
|
|
2112
|
+
};
|
|
2113
|
+
/** @description Padding properties for individual sides of the text bounding box. */
|
|
2114
|
+
RichTextPadding: {
|
|
2115
|
+
/**
|
|
2116
|
+
* @description Top padding in pixels.
|
|
2117
|
+
* @default 0
|
|
2118
|
+
* @example 10
|
|
2119
|
+
*/
|
|
2120
|
+
top?: number;
|
|
2121
|
+
/**
|
|
2122
|
+
* @description Right padding in pixels.
|
|
2123
|
+
* @default 0
|
|
2124
|
+
* @example 10
|
|
2125
|
+
*/
|
|
2126
|
+
right?: number;
|
|
2127
|
+
/**
|
|
2128
|
+
* @description Bottom padding in pixels.
|
|
2129
|
+
* @default 0
|
|
2130
|
+
* @example 10
|
|
2131
|
+
*/
|
|
2132
|
+
bottom?: number;
|
|
2133
|
+
/**
|
|
2134
|
+
* @description Left padding in pixels.
|
|
2135
|
+
* @default 0
|
|
2136
|
+
* @example 10
|
|
2137
|
+
*/
|
|
2138
|
+
left?: number;
|
|
2139
|
+
};
|
|
2136
2140
|
/** @description Font properties for captions text. */
|
|
2137
2141
|
CaptionFont: {
|
|
2138
2142
|
/**
|
|
@@ -2451,7 +2455,10 @@ export interface components {
|
|
|
2451
2455
|
* @example tiktok
|
|
2452
2456
|
*/
|
|
2453
2457
|
provider: string;
|
|
2454
|
-
/**
|
|
2458
|
+
/**
|
|
2459
|
+
* @deprecated
|
|
2460
|
+
* @description Additional TikTok configuration options.
|
|
2461
|
+
*/
|
|
2455
2462
|
options?: {
|
|
2456
2463
|
/** @description A title for the video that will be displayed on TikTok. */
|
|
2457
2464
|
title?: string;
|
|
@@ -2556,7 +2563,11 @@ export interface components {
|
|
|
2556
2563
|
*/
|
|
2557
2564
|
exclude?: boolean;
|
|
2558
2565
|
};
|
|
2559
|
-
/**
|
|
2566
|
+
/**
|
|
2567
|
+
* @deprecated
|
|
2568
|
+
* @description **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
2569
|
+
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
2570
|
+
*/
|
|
2560
2571
|
MuxDestination: {
|
|
2561
2572
|
/**
|
|
2562
2573
|
* @description The destination to send video to - set to `mux` for Mux.
|
|
@@ -2567,7 +2578,11 @@ export interface components {
|
|
|
2567
2578
|
/** @description Additional Mux configuration and features. */
|
|
2568
2579
|
options?: components["schemas"]["MuxDestinationOptions"];
|
|
2569
2580
|
};
|
|
2570
|
-
/**
|
|
2581
|
+
/**
|
|
2582
|
+
* @deprecated
|
|
2583
|
+
* @description **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
2584
|
+
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
2585
|
+
*/
|
|
2571
2586
|
MuxDestinationOptions: {
|
|
2572
2587
|
/** @description Sets the Mux `playback_policy` option. Value is an array of strings - use `public`, `signed`, or both. */
|
|
2573
2588
|
playbackPolicy?: ("public" | "signed")[];
|
|
@@ -3497,7 +3512,7 @@ export interface components {
|
|
|
3497
3512
|
*/
|
|
3498
3513
|
renderId?: string;
|
|
3499
3514
|
/**
|
|
3500
|
-
* @description The third party id of an asset transferred to an external provider,
|
|
3515
|
+
* @description The third party id of an asset transferred to an external provider, such as Vimeo or S3. If the provider is Shotstack, the providerID is the same as the asset id.
|
|
3501
3516
|
* @example a4482cbf-e321-42a2-ac8b-947d26886840
|
|
3502
3517
|
*/
|
|
3503
3518
|
providerId?: string;
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
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.azureBlobStorageDestinationAzureBlobStorageDestinationSchema = exports.azureBlobStorageDestinationOptionsAzureBlobStorageDestinationOptionsSchema = exports.akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSchema = exports.cropSchema = exports.cropCropSchema = exports.chromaKeySchema = exports.chromakeyChromaKeySchema = exports.captionAssetSchema = exports.captionassetCaptionAssetSchema = exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema = exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema = exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema = exports.uploadRootSchema = exports.templatesrenderRootSchema = exports.templatesidRootSchema = exports.templatesRootSchema = exports.sourcesidRootSchema = exports.sourcesRootSchema = exports.renderidRootSchema = exports.renderRootSchema = exports.probeRootSchema = exports.modelsidRootSchema = exports.modelsRootSchema = exports.generateidRootSchema = exports.generateRootSchema = exports.assetsrenderidRootSchema = exports.assetsidRootSchema = exports.assetsRootSchema = exports.sourceRootSchema = exports.editRootSchema = void 0;
|
|
5
5
|
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.html5AssetSchema = exports.html5AssetHtml5AssetSchema = exports.generationModelSchema = exports.generationmodelGenerationModelSchema = exports.generationModelPricingSchema = exports.generationmodelpricingGenerationModelPricingSchema = exports.fontSchema = exports.fontFontSchema = exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema = exports.destinationsSchema = exports.destinationsDestinationsSchema = exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema = exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = exports.tiktokDestinationTiktokDestinationSchema = exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema = void 0;
|
|
6
6
|
exports.richtextpropertiesRichTextAlignmentSchema = exports.richcaptionpropertiesRichCaptionFontSchema = exports.richCaptionAnimationSchema = exports.richcaptionpropertiesRichCaptionAnimationSchema = 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.generationResponseSchema = exports.generationresponseGenerationResponseSchema = exports.generationModelListResponseSchema = exports.generationmodellistresponseGenerationModelListResponseSchema = exports.generationModelErrorResponseSchema = exports.generationmodelerrorresponseGenerationModelErrorResponseSchema = exports.generationErrorResponseSchema = exports.generationerrorresponseGenerationErrorResponseSchema = exports.assetResponseSchema = exports.assetresponseAssetResponseSchema = exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema = exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema = exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema = exports.rangeSchema = exports.rangeRangeSchema = exports.posterSchema = exports.posterPosterSchema = exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema = exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema = exports.transcriptionSchema = exports.transcriptionTranscriptionSchema = exports.speedSchema = exports.speedSpeedSchema = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = void 0;
|
|
7
|
+
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.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema = exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema = exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema = exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema = exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema = exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema = exports.richTextPaddingSchema = exports.richtextpropertiesRichTextPaddingSchema = exports.richcaptionpropertiesRichCaptionStyleSchema = exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema = exports.richTextBorderSchema = exports.richtextpropertiesRichTextBorderSchema = exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema = exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema = exports.richTextAlignmentSchema = void 0;
|
|
8
|
+
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 = exports.outputSchema = exports.outputOutputSchema = exports.thumbnailSchema = exports.thumbnailThumbnailSchema = exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema = exports.textAssetSchema = exports.textassetTextAssetSchema = exports.textpropertiesTextStrokeSchema = exports.textFontSchema = exports.textpropertiesTextFontSchema = exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema = exports.textpropertiesTextAnimationSchema = exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema = exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema = exports.svgAssetSchema = exports.svgassetSvgAssetSchema = exports.soundtrackSchema = exports.soundtrackSoundtrackSchema = exports.sourceSchema = exports.sourceSourceSchema = exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema = exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema = void 0;
|
|
9
|
+
exports.getAssetByRenderIdResponse = exports.getAssetByRenderIdRequest = exports.getAssetResponse = exports.getAssetRequest = exports.deleteAssetResponse = exports.deleteAssetRequest = exports.getModelResponse = exports.getModelRequest = exports.getModelsResponse = exports.getModelsRequest = exports.getGenerateResponse = exports.getGenerateRequest = exports.postGenerateResponse = exports.postGenerateRequest = exports.probeResponse = exports.probeRequest = exports.postTemplateRenderResponse = exports.postTemplateRenderRequest = exports.putTemplateResponse = exports.putTemplateRequest = exports.getTemplateResponse = exports.getTemplateRequest = exports.deleteTemplateResponse = exports.deleteTemplateRequest = exports.postTemplateResponse = exports.postTemplateRequest = exports.getTemplatesResponse = exports.getTemplatesRequest = exports.getRenderResponse = exports.getRenderRequest = exports.postRenderResponse = exports.postRenderRequest = exports.templateSchema = exports.templateTemplateSchema = exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema = exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema = exports.renderResponseSchema = exports.renderresponseRenderResponseSchema = exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema = exports.editSchema = exports.editEditSchema = exports.timelineSchema = exports.timelineTimelineSchema = exports.trackSchema = exports.trackTrackSchema = exports.clipSchema = exports.clipClipSchema = void 0;
|
|
10
|
+
exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = void 0;
|
|
11
11
|
const zod_1 = require("zod");
|
|
12
12
|
exports.editRootSchema = zod_1.z.unknown();
|
|
13
13
|
exports.sourceRootSchema = zod_1.z.unknown();
|
|
@@ -228,7 +228,7 @@ exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSche
|
|
|
228
228
|
]))
|
|
229
229
|
}).strict();
|
|
230
230
|
/**
|
|
231
|
-
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage
|
|
231
|
+
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request.
|
|
232
232
|
*/
|
|
233
233
|
exports.akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = zod_1.z.object({
|
|
234
234
|
provider: zod_1.z.literal("akamai-netstorage"),
|
|
@@ -290,7 +290,10 @@ exports.googleDriveDestinationGoogleDriveDestinationSchema = zod_1.z.object({
|
|
|
290
290
|
}).strict();
|
|
291
291
|
exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema;
|
|
292
292
|
/**
|
|
293
|
+
* **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
293
294
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
295
|
+
*
|
|
296
|
+
* @deprecated
|
|
294
297
|
*/
|
|
295
298
|
exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
296
299
|
playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(['public', 'signed']))),
|
|
@@ -298,7 +301,10 @@ exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
|
298
301
|
}).strict();
|
|
299
302
|
exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
300
303
|
/**
|
|
301
|
-
*
|
|
304
|
+
* **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
305
|
+
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
306
|
+
*
|
|
307
|
+
* @deprecated
|
|
302
308
|
*/
|
|
303
309
|
exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
|
|
304
310
|
provider: zod_1.z.literal("mux"),
|
|
@@ -333,7 +339,10 @@ exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
|
|
|
333
339
|
}).strict();
|
|
334
340
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
|
|
335
341
|
/**
|
|
342
|
+
* **Notice: TiktokDestinationOptions, like the TikTok destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
336
343
|
* Pass additional options to control how TikTok publishes video.
|
|
344
|
+
*
|
|
345
|
+
* @deprecated
|
|
337
346
|
*/
|
|
338
347
|
exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object({
|
|
339
348
|
title: zod_1.z.optional(zod_1.z.string().max(150)),
|
|
@@ -347,7 +356,10 @@ exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object(
|
|
|
347
356
|
disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false)
|
|
348
357
|
}).strict();
|
|
349
358
|
/**
|
|
359
|
+
* **Notice: The TikTok destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
350
360
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
361
|
+
*
|
|
362
|
+
* @deprecated
|
|
351
363
|
*/
|
|
352
364
|
exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
|
|
353
365
|
provider: zod_1.z.literal("tiktok"),
|
|
@@ -1140,6 +1152,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
|
|
|
1140
1152
|
return Number(v);
|
|
1141
1153
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1142
1154
|
}).strict();
|
|
1155
|
+
exports.richTextBorderSchema = exports.richtextpropertiesRichTextBorderSchema;
|
|
1143
1156
|
/**
|
|
1144
1157
|
* Gradient properties for text fill.
|
|
1145
1158
|
*/
|
|
@@ -1235,6 +1248,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
|
|
|
1235
1248
|
return Number(v);
|
|
1236
1249
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1237
1250
|
}).strict();
|
|
1251
|
+
exports.richTextPaddingSchema = exports.richtextpropertiesRichTextPaddingSchema;
|
|
1238
1252
|
/**
|
|
1239
1253
|
* Text shadow properties.
|
|
1240
1254
|
*/
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -176,7 +176,7 @@ export declare const akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinati
|
|
|
176
176
|
filename: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
177
177
|
}, z.core.$strict>;
|
|
178
178
|
/**
|
|
179
|
-
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage
|
|
179
|
+
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request.
|
|
180
180
|
*/
|
|
181
181
|
export declare const akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema: z.ZodObject<{
|
|
182
182
|
provider: z.ZodLiteral<"akamai-netstorage">;
|
|
@@ -269,7 +269,10 @@ export declare const googleDriveDestinationSchema: z.ZodObject<{
|
|
|
269
269
|
}, z.core.$strict>>;
|
|
270
270
|
}, z.core.$strict>;
|
|
271
271
|
/**
|
|
272
|
+
* **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
272
273
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
274
|
+
*
|
|
275
|
+
* @deprecated
|
|
273
276
|
*/
|
|
274
277
|
export declare const muxDestinationOptionsMuxDestinationOptionsSchema: z.ZodObject<{
|
|
275
278
|
playbackPolicy: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -286,7 +289,10 @@ export declare const muxDestinationOptionsSchema: z.ZodObject<{
|
|
|
286
289
|
passthrough: z.ZodOptional<z.ZodString>;
|
|
287
290
|
}, z.core.$strict>;
|
|
288
291
|
/**
|
|
289
|
-
*
|
|
292
|
+
* **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
293
|
+
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
294
|
+
*
|
|
295
|
+
* @deprecated
|
|
290
296
|
*/
|
|
291
297
|
export declare const muxDestinationMuxDestinationSchema: z.ZodObject<{
|
|
292
298
|
provider: z.ZodLiteral<"mux">;
|
|
@@ -360,7 +366,10 @@ export declare const shotstackDestinationSchema: z.ZodObject<{
|
|
|
360
366
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
361
367
|
}, z.core.$strict>;
|
|
362
368
|
/**
|
|
369
|
+
* **Notice: TiktokDestinationOptions, like the TikTok destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
363
370
|
* Pass additional options to control how TikTok publishes video.
|
|
371
|
+
*
|
|
372
|
+
* @deprecated
|
|
364
373
|
*/
|
|
365
374
|
export declare const tiktokDestinationOptionsTiktokDestinationOptionsSchema: z.ZodObject<{
|
|
366
375
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -374,7 +383,10 @@ export declare const tiktokDestinationOptionsTiktokDestinationOptionsSchema: z.Z
|
|
|
374
383
|
disableComment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
375
384
|
}, z.core.$strict>;
|
|
376
385
|
/**
|
|
386
|
+
* **Notice: The TikTok destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
377
387
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
388
|
+
*
|
|
389
|
+
* @deprecated
|
|
378
390
|
*/
|
|
379
391
|
export declare const tiktokDestinationTiktokDestinationSchema: z.ZodObject<{
|
|
380
392
|
provider: z.ZodLiteral<"tiktok">;
|
|
@@ -2031,6 +2043,12 @@ export declare const richtextpropertiesRichTextBorderSchema: z.ZodObject<{
|
|
|
2031
2043
|
opacity: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2032
2044
|
radius: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2033
2045
|
}, z.core.$strict>;
|
|
2046
|
+
export declare const richTextBorderSchema: z.ZodObject<{
|
|
2047
|
+
width: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2048
|
+
color: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2049
|
+
opacity: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2050
|
+
radius: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2051
|
+
}, z.core.$strict>;
|
|
2034
2052
|
/**
|
|
2035
2053
|
* Gradient properties for text fill.
|
|
2036
2054
|
*/
|
|
@@ -2095,6 +2113,12 @@ export declare const richtextpropertiesRichTextPaddingSchema: z.ZodObject<{
|
|
|
2095
2113
|
bottom: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2096
2114
|
left: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2097
2115
|
}, z.core.$strict>;
|
|
2116
|
+
export declare const richTextPaddingSchema: z.ZodObject<{
|
|
2117
|
+
top: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2118
|
+
right: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2119
|
+
bottom: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2120
|
+
left: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2121
|
+
}, z.core.$strict>;
|
|
2098
2122
|
/**
|
|
2099
2123
|
* Text shadow properties.
|
|
2100
2124
|
*/
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -219,7 +219,7 @@ export const akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOption
|
|
|
219
219
|
]))
|
|
220
220
|
}).strict();
|
|
221
221
|
/**
|
|
222
|
-
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage
|
|
222
|
+
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request.
|
|
223
223
|
*/
|
|
224
224
|
export const akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = z.object({
|
|
225
225
|
provider: z.literal("akamai-netstorage"),
|
|
@@ -281,7 +281,10 @@ export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
|
|
|
281
281
|
}).strict();
|
|
282
282
|
export const googleDriveDestinationSchema = googleDriveDestinationGoogleDriveDestinationSchema;
|
|
283
283
|
/**
|
|
284
|
+
* **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
284
285
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
286
|
+
*
|
|
287
|
+
* @deprecated
|
|
285
288
|
*/
|
|
286
289
|
export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
|
|
287
290
|
playbackPolicy: z.optional(z.array(z.enum(['public', 'signed']))),
|
|
@@ -289,7 +292,10 @@ export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
|
|
|
289
292
|
}).strict();
|
|
290
293
|
export const muxDestinationOptionsSchema = muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
291
294
|
/**
|
|
292
|
-
*
|
|
295
|
+
* **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
296
|
+
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
297
|
+
*
|
|
298
|
+
* @deprecated
|
|
293
299
|
*/
|
|
294
300
|
export const muxDestinationMuxDestinationSchema = z.object({
|
|
295
301
|
provider: z.literal("mux"),
|
|
@@ -324,7 +330,10 @@ export const shotstackDestinationShotstackDestinationSchema = z.object({
|
|
|
324
330
|
}).strict();
|
|
325
331
|
export const shotstackDestinationSchema = shotstackDestinationShotstackDestinationSchema;
|
|
326
332
|
/**
|
|
333
|
+
* **Notice: TiktokDestinationOptions, like the TikTok destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
327
334
|
* Pass additional options to control how TikTok publishes video.
|
|
335
|
+
*
|
|
336
|
+
* @deprecated
|
|
328
337
|
*/
|
|
329
338
|
export const tiktokDestinationOptionsTiktokDestinationOptionsSchema = z.object({
|
|
330
339
|
title: z.optional(z.string().max(150)),
|
|
@@ -338,7 +347,10 @@ export const tiktokDestinationOptionsTiktokDestinationOptionsSchema = z.object({
|
|
|
338
347
|
disableComment: z.optional(z.boolean()).default(false)
|
|
339
348
|
}).strict();
|
|
340
349
|
/**
|
|
350
|
+
* **Notice: The TikTok destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
341
351
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
352
|
+
*
|
|
353
|
+
* @deprecated
|
|
342
354
|
*/
|
|
343
355
|
export const tiktokDestinationTiktokDestinationSchema = z.object({
|
|
344
356
|
provider: z.literal("tiktok"),
|
|
@@ -1131,6 +1143,7 @@ export const richtextpropertiesRichTextBorderSchema = z.object({
|
|
|
1131
1143
|
return Number(v);
|
|
1132
1144
|
} return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1133
1145
|
}).strict();
|
|
1146
|
+
export const richTextBorderSchema = richtextpropertiesRichTextBorderSchema;
|
|
1134
1147
|
/**
|
|
1135
1148
|
* Gradient properties for text fill.
|
|
1136
1149
|
*/
|
|
@@ -1226,6 +1239,7 @@ export const richtextpropertiesRichTextPaddingSchema = z.object({
|
|
|
1226
1239
|
return Number(v);
|
|
1227
1240
|
} return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1228
1241
|
}).strict();
|
|
1242
|
+
export const richTextPaddingSchema = richtextpropertiesRichTextPaddingSchema;
|
|
1229
1243
|
/**
|
|
1230
1244
|
* Text shadow properties.
|
|
1231
1245
|
*/
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOption
|
|
|
144
144
|
}).strict();
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage
|
|
147
|
+
* Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request.
|
|
148
148
|
*/
|
|
149
149
|
export const akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = z.object({
|
|
150
150
|
provider: z.literal("akamai-netstorage"),
|
|
@@ -217,7 +217,10 @@ export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
|
|
|
217
217
|
export const googleDriveDestinationSchema = googleDriveDestinationGoogleDriveDestinationSchema;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
|
+
* **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
220
221
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
222
|
+
*
|
|
223
|
+
* @deprecated
|
|
221
224
|
*/
|
|
222
225
|
export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
|
|
223
226
|
playbackPolicy: z.optional(z.array(z.enum(['public', 'signed']))),
|
|
@@ -227,7 +230,10 @@ export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
|
|
|
227
230
|
export const muxDestinationOptionsSchema = muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
228
231
|
|
|
229
232
|
/**
|
|
230
|
-
*
|
|
233
|
+
* **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
234
|
+
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
235
|
+
*
|
|
236
|
+
* @deprecated
|
|
231
237
|
*/
|
|
232
238
|
export const muxDestinationMuxDestinationSchema = z.object({
|
|
233
239
|
provider: z.literal("mux"),
|
|
@@ -270,7 +276,10 @@ export const shotstackDestinationShotstackDestinationSchema = z.object({
|
|
|
270
276
|
export const shotstackDestinationSchema = shotstackDestinationShotstackDestinationSchema;
|
|
271
277
|
|
|
272
278
|
/**
|
|
279
|
+
* **Notice: TiktokDestinationOptions, like the TikTok destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
273
280
|
* Pass additional options to control how TikTok publishes video.
|
|
281
|
+
*
|
|
282
|
+
* @deprecated
|
|
274
283
|
*/
|
|
275
284
|
export const tiktokDestinationOptionsTiktokDestinationOptionsSchema = z.object({
|
|
276
285
|
title: z.optional(z.string().max(150)),
|
|
@@ -285,7 +294,10 @@ export const tiktokDestinationOptionsTiktokDestinationOptionsSchema = z.object({
|
|
|
285
294
|
}).strict();
|
|
286
295
|
|
|
287
296
|
/**
|
|
297
|
+
* **Notice: The TikTok destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
288
298
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
299
|
+
*
|
|
300
|
+
* @deprecated
|
|
289
301
|
*/
|
|
290
302
|
export const tiktokDestinationTiktokDestinationSchema = z.object({
|
|
291
303
|
provider: z.literal("tiktok"),
|
|
@@ -1025,6 +1037,8 @@ export const richtextpropertiesRichTextBorderSchema = z.object({
|
|
|
1025
1037
|
radius: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1026
1038
|
}).strict();
|
|
1027
1039
|
|
|
1040
|
+
export const richTextBorderSchema = richtextpropertiesRichTextBorderSchema;
|
|
1041
|
+
|
|
1028
1042
|
/**
|
|
1029
1043
|
* Gradient properties for text fill.
|
|
1030
1044
|
*/
|
|
@@ -1070,6 +1084,8 @@ export const richtextpropertiesRichTextPaddingSchema = z.object({
|
|
|
1070
1084
|
left: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1071
1085
|
}).strict();
|
|
1072
1086
|
|
|
1087
|
+
export const richTextPaddingSchema = richtextpropertiesRichTextPaddingSchema;
|
|
1088
|
+
|
|
1073
1089
|
/**
|
|
1074
1090
|
* Text shadow properties.
|
|
1075
1091
|
*/
|