@shotstack/schemas 1.20.1 → 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 +416 -91
- package/dist/json-schema/edit.json +95 -88
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +408 -76
- 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 +3 -2
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
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shotstack/schemas",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.3",
|
|
4
4
|
"description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"start": "cross-env ./build-docs.sh && http-server build/docs/ -o -c-1",
|
|
43
43
|
"deploy:docs": "aws s3 sync build/docs/ s3://shotstack.io/docs/api",
|
|
44
44
|
"prepublishOnly": "node scripts/publish-guard.cjs && pnpm build && pnpm test",
|
|
45
|
-
"test:smoke": "node tests/smoke.cjs"
|
|
45
|
+
"test:smoke": "node tests/smoke.cjs",
|
|
46
|
+
"test:examples": "node tests/request-examples.cjs"
|
|
46
47
|
},
|
|
47
48
|
"repository": {
|
|
48
49
|
"type": "git",
|