@shotstack/schemas 1.20.2 → 1.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.bundled.json +81 -74
- package/dist/json-schema/edit.json +94 -87
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +63 -59
- package/dist/zod/zod.gen.cjs +8 -6
- package/dist/zod/zod.gen.d.ts +14 -2
- package/dist/zod/zod.gen.js +4 -2
- package/dist/zod/zod.gen.ts +6 -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
|
/**
|
|
@@ -2556,7 +2560,7 @@ export interface components {
|
|
|
2556
2560
|
*/
|
|
2557
2561
|
exclude?: boolean;
|
|
2558
2562
|
};
|
|
2559
|
-
/** @description Send videos to the [Mux](https://
|
|
2563
|
+
/** @description 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. */
|
|
2560
2564
|
MuxDestination: {
|
|
2561
2565
|
/**
|
|
2562
2566
|
* @description The destination to send video to - set to `mux` for Mux.
|
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"),
|
|
@@ -298,7 +298,7 @@ exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
|
298
298
|
}).strict();
|
|
299
299
|
exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
300
300
|
/**
|
|
301
|
-
* Send videos to the [Mux](https://
|
|
301
|
+
* 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.
|
|
302
302
|
*/
|
|
303
303
|
exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
|
|
304
304
|
provider: zod_1.z.literal("mux"),
|
|
@@ -1140,6 +1140,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
|
|
|
1140
1140
|
return Number(v);
|
|
1141
1141
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1142
1142
|
}).strict();
|
|
1143
|
+
exports.richTextBorderSchema = exports.richtextpropertiesRichTextBorderSchema;
|
|
1143
1144
|
/**
|
|
1144
1145
|
* Gradient properties for text fill.
|
|
1145
1146
|
*/
|
|
@@ -1235,6 +1236,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
|
|
|
1235
1236
|
return Number(v);
|
|
1236
1237
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1237
1238
|
}).strict();
|
|
1239
|
+
exports.richTextPaddingSchema = exports.richtextpropertiesRichTextPaddingSchema;
|
|
1238
1240
|
/**
|
|
1239
1241
|
* Text shadow properties.
|
|
1240
1242
|
*/
|
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">;
|
|
@@ -286,7 +286,7 @@ export declare const muxDestinationOptionsSchema: z.ZodObject<{
|
|
|
286
286
|
passthrough: z.ZodOptional<z.ZodString>;
|
|
287
287
|
}, z.core.$strict>;
|
|
288
288
|
/**
|
|
289
|
-
* Send videos to the [Mux](https://
|
|
289
|
+
* 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.
|
|
290
290
|
*/
|
|
291
291
|
export declare const muxDestinationMuxDestinationSchema: z.ZodObject<{
|
|
292
292
|
provider: z.ZodLiteral<"mux">;
|
|
@@ -2031,6 +2031,12 @@ export declare const richtextpropertiesRichTextBorderSchema: z.ZodObject<{
|
|
|
2031
2031
|
opacity: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2032
2032
|
radius: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2033
2033
|
}, z.core.$strict>;
|
|
2034
|
+
export declare const richTextBorderSchema: z.ZodObject<{
|
|
2035
|
+
width: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2036
|
+
color: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2037
|
+
opacity: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2038
|
+
radius: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2039
|
+
}, z.core.$strict>;
|
|
2034
2040
|
/**
|
|
2035
2041
|
* Gradient properties for text fill.
|
|
2036
2042
|
*/
|
|
@@ -2095,6 +2101,12 @@ export declare const richtextpropertiesRichTextPaddingSchema: z.ZodObject<{
|
|
|
2095
2101
|
bottom: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2096
2102
|
left: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2097
2103
|
}, z.core.$strict>;
|
|
2104
|
+
export declare const richTextPaddingSchema: z.ZodObject<{
|
|
2105
|
+
top: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2106
|
+
right: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2107
|
+
bottom: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2108
|
+
left: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>>;
|
|
2109
|
+
}, z.core.$strict>;
|
|
2098
2110
|
/**
|
|
2099
2111
|
* Text shadow properties.
|
|
2100
2112
|
*/
|
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"),
|
|
@@ -289,7 +289,7 @@ export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
|
|
|
289
289
|
}).strict();
|
|
290
290
|
export const muxDestinationOptionsSchema = muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
291
291
|
/**
|
|
292
|
-
* Send videos to the [Mux](https://
|
|
292
|
+
* 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.
|
|
293
293
|
*/
|
|
294
294
|
export const muxDestinationMuxDestinationSchema = z.object({
|
|
295
295
|
provider: z.literal("mux"),
|
|
@@ -1131,6 +1131,7 @@ export const richtextpropertiesRichTextBorderSchema = z.object({
|
|
|
1131
1131
|
return Number(v);
|
|
1132
1132
|
} return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1133
1133
|
}).strict();
|
|
1134
|
+
export const richTextBorderSchema = richtextpropertiesRichTextBorderSchema;
|
|
1134
1135
|
/**
|
|
1135
1136
|
* Gradient properties for text fill.
|
|
1136
1137
|
*/
|
|
@@ -1226,6 +1227,7 @@ export const richtextpropertiesRichTextPaddingSchema = z.object({
|
|
|
1226
1227
|
return Number(v);
|
|
1227
1228
|
} return v; }), z.number().gte(0)), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0)
|
|
1228
1229
|
}).strict();
|
|
1230
|
+
export const richTextPaddingSchema = richtextpropertiesRichTextPaddingSchema;
|
|
1229
1231
|
/**
|
|
1230
1232
|
* Text shadow properties.
|
|
1231
1233
|
*/
|
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"),
|
|
@@ -227,7 +227,7 @@ export const muxDestinationOptionsMuxDestinationOptionsSchema = z.object({
|
|
|
227
227
|
export const muxDestinationOptionsSchema = muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
|
-
* Send videos to the [Mux](https://
|
|
230
|
+
* 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.
|
|
231
231
|
*/
|
|
232
232
|
export const muxDestinationMuxDestinationSchema = z.object({
|
|
233
233
|
provider: z.literal("mux"),
|
|
@@ -1025,6 +1025,8 @@ export const richtextpropertiesRichTextBorderSchema = z.object({
|
|
|
1025
1025
|
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
1026
|
}).strict();
|
|
1027
1027
|
|
|
1028
|
+
export const richTextBorderSchema = richtextpropertiesRichTextBorderSchema;
|
|
1029
|
+
|
|
1028
1030
|
/**
|
|
1029
1031
|
* Gradient properties for text fill.
|
|
1030
1032
|
*/
|
|
@@ -1070,6 +1072,8 @@ export const richtextpropertiesRichTextPaddingSchema = z.object({
|
|
|
1070
1072
|
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
1073
|
}).strict();
|
|
1072
1074
|
|
|
1075
|
+
export const richTextPaddingSchema = richtextpropertiesRichTextPaddingSchema;
|
|
1076
|
+
|
|
1073
1077
|
/**
|
|
1074
1078
|
* Text shadow properties.
|
|
1075
1079
|
*/
|