@shotstack/schemas 1.5.7 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.bundled.json +90 -5
- package/dist/schema.d.ts +1 -2
- package/dist/zod/zod.gen.cjs +173 -173
- package/dist/zod/zod.gen.d.ts +3727 -3727
- package/dist/zod/zod.gen.js +173 -173
- package/dist/zod/zod.gen.ts +173 -173
- package/package.json +1 -1
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -52,7 +52,7 @@ exports.captionpropertiesCaptionBackgroundSchema = zod_1.z.object({
|
|
|
52
52
|
return v;
|
|
53
53
|
return Number(v);
|
|
54
54
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
55
|
-
});
|
|
55
|
+
}).strict();
|
|
56
56
|
exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema;
|
|
57
57
|
/**
|
|
58
58
|
* Font properties for captions text.
|
|
@@ -89,7 +89,7 @@ exports.captionpropertiesCaptionFontSchema = zod_1.z.object({
|
|
|
89
89
|
return v;
|
|
90
90
|
return Number(v);
|
|
91
91
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
92
|
-
});
|
|
92
|
+
}).strict();
|
|
93
93
|
exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema;
|
|
94
94
|
/**
|
|
95
95
|
* The margin properties for captions. Margins are used to position the caption text and background on the screen.
|
|
@@ -116,7 +116,7 @@ exports.captionpropertiesCaptionMarginSchema = zod_1.z.object({
|
|
|
116
116
|
return v;
|
|
117
117
|
return Number(v);
|
|
118
118
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
119
|
-
});
|
|
119
|
+
}).strict();
|
|
120
120
|
exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema;
|
|
121
121
|
/**
|
|
122
122
|
* The CaptionAsset is used to add captions (subtitles) to a video. It uses a supplied SRT or VTT file which will
|
|
@@ -150,7 +150,7 @@ exports.captionassetCaptionAssetSchema = zod_1.z.object({
|
|
|
150
150
|
return v;
|
|
151
151
|
return Number(v);
|
|
152
152
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
153
|
-
});
|
|
153
|
+
}).strict();
|
|
154
154
|
exports.captionAssetSchema = exports.captionassetCaptionAssetSchema;
|
|
155
155
|
/**
|
|
156
156
|
* Chroma key is a technique that replaces a specific color in a video with a different background image or video, enabling seamless integration of diverse environments. Commonly used for green screen and blue screen effects.
|
|
@@ -171,7 +171,7 @@ exports.chromakeyChromaKeySchema = zod_1.z.object({
|
|
|
171
171
|
return v;
|
|
172
172
|
return Number(v);
|
|
173
173
|
} return v; }), zod_1.z.number().int().gte(0).lte(250)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
174
|
-
});
|
|
174
|
+
}).strict();
|
|
175
175
|
exports.chromaKeySchema = exports.chromakeyChromaKeySchema;
|
|
176
176
|
/**
|
|
177
177
|
* Options for the D-ID text-to-avatar service. Set the text to be converted to an avatar and configure the avatar and background. The output will be generated as an MP4 video file.
|
|
@@ -181,7 +181,7 @@ exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema = zod_1.z.object({
|
|
|
181
181
|
text: zod_1.z.string(),
|
|
182
182
|
avatar: zod_1.z.enum(["jack", "lana", "lily", "matt", "rian"]),
|
|
183
183
|
background: zod_1.z.optional(zod_1.z.string()),
|
|
184
|
-
});
|
|
184
|
+
}).strict();
|
|
185
185
|
exports.didTextToAvatarOptionsSchema = exports.didTextToAvatarOptionsDidTextToAvatarOptionsSchema;
|
|
186
186
|
/**
|
|
187
187
|
* Generate assets using the third party D-ID provider AI services.
|
|
@@ -202,7 +202,7 @@ exports.didGeneratedAssetOptionsSchema = exports.didGeneratedAssetOptionsDidGene
|
|
|
202
202
|
exports.didGeneratedAssetDidGeneratedAssetSchema = zod_1.z.object({
|
|
203
203
|
provider: zod_1.z.enum(["d-id"]),
|
|
204
204
|
options: exports.didGeneratedAssetOptionsDidGeneratedAssetOptionsSchema,
|
|
205
|
-
});
|
|
205
|
+
}).strict();
|
|
206
206
|
exports.didGeneratedAssetSchema = exports.didGeneratedAssetDidGeneratedAssetSchema;
|
|
207
207
|
/**
|
|
208
208
|
* Options for the ElevenLabs text-to-speech service. Set the text to be converted to speech and choose a voice to set the speaking style. The output will be generated as an MP3 audio file available at the URL returned in the response.
|
|
@@ -221,7 +221,7 @@ exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema = zod_1
|
|
|
221
221
|
"Rachel",
|
|
222
222
|
"Sam",
|
|
223
223
|
]),
|
|
224
|
-
});
|
|
224
|
+
}).strict();
|
|
225
225
|
exports.elevenLabsTextToSpeechOptionsSchema = exports.elevenlabsTextToSpeechOptionsElevenLabsTextToSpeechOptionsSchema;
|
|
226
226
|
/**
|
|
227
227
|
* Generate assets using the third party ElevenLabs provider AI services.
|
|
@@ -242,7 +242,7 @@ exports.elevenLabsGeneratedAssetOptionsSchema = exports.elevenlabsGeneratedAsset
|
|
|
242
242
|
exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema = zod_1.z.object({
|
|
243
243
|
provider: zod_1.z.enum(["elevenlabs"]),
|
|
244
244
|
options: exports.elevenlabsGeneratedAssetOptionsElevenLabsGeneratedAssetOptionsSchema,
|
|
245
|
-
});
|
|
245
|
+
}).strict();
|
|
246
246
|
exports.elevenLabsGeneratedAssetSchema = exports.elevenlabsGeneratedAssetElevenLabsGeneratedAssetSchema;
|
|
247
247
|
/**
|
|
248
248
|
* Options for the HeyGen text-to-avatar service. Set the text to be converted to an avatar and configure the avatars voice, speaking style, appearance and background. The output will be generated as an MP4 video file available at the URL returned in the response.
|
|
@@ -367,7 +367,7 @@ exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema = zod_1.z.objec
|
|
|
367
367
|
background: zod_1.z.optional(zod_1.z.string()),
|
|
368
368
|
ratio: zod_1.z.optional(zod_1.z.enum(["16:9", "9:16"])),
|
|
369
369
|
test: zod_1.z.optional(zod_1.z.boolean()),
|
|
370
|
-
});
|
|
370
|
+
}).strict();
|
|
371
371
|
exports.heyGenTextToAvatarOptionsSchema = exports.heygenTextToAvatarOptionsHeyGenTextToAvatarOptionsSchema;
|
|
372
372
|
/**
|
|
373
373
|
* Generate assets using the third party HeyGen provider AI services.
|
|
@@ -388,7 +388,7 @@ exports.heyGenGeneratedAssetOptionsSchema = exports.heygenGeneratedAssetOptionsH
|
|
|
388
388
|
exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema = zod_1.z.object({
|
|
389
389
|
provider: zod_1.z.enum(["heygen"]),
|
|
390
390
|
options: exports.heygenGeneratedAssetOptionsHeyGenGeneratedAssetOptionsSchema,
|
|
391
|
-
});
|
|
391
|
+
}).strict();
|
|
392
392
|
exports.heyGenGeneratedAssetSchema = exports.heygenGeneratedAssetHeyGenGeneratedAssetSchema;
|
|
393
393
|
/**
|
|
394
394
|
* Options for the OpenAI text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response.
|
|
@@ -398,7 +398,7 @@ exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema = zod_1.z.obj
|
|
|
398
398
|
prompt: zod_1.z.string(),
|
|
399
399
|
model: zod_1.z.enum(["gpt-3.5-turbo", "gpt-4"]),
|
|
400
400
|
systemPrompt: zod_1.z.optional(zod_1.z.string()),
|
|
401
|
-
});
|
|
401
|
+
}).strict();
|
|
402
402
|
exports.openAiTextGeneratorOptionsSchema = exports.openaiTextGeneratorOptionsOpenAiTextGeneratorOptionsSchema;
|
|
403
403
|
/**
|
|
404
404
|
* Generate assets using OpenAI provider AI services.
|
|
@@ -419,7 +419,7 @@ exports.openAiGeneratedAssetOptionsSchema = exports.openaiGeneratedAssetOptionsO
|
|
|
419
419
|
exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema = zod_1.z.object({
|
|
420
420
|
provider: zod_1.z.enum(["openai"]),
|
|
421
421
|
options: exports.openaiGeneratedAssetOptionsOpenAiGeneratedAssetOptionsSchema,
|
|
422
|
-
});
|
|
422
|
+
}).strict();
|
|
423
423
|
exports.openAiGeneratedAssetSchema = exports.openaiGeneratedAssetOpenAiGeneratedAssetSchema;
|
|
424
424
|
/**
|
|
425
425
|
* Individual errors returned by the Create API.
|
|
@@ -428,14 +428,14 @@ exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema = z
|
|
|
428
428
|
status: zod_1.z.string(),
|
|
429
429
|
title: zod_1.z.string(),
|
|
430
430
|
detail: zod_1.z.string(),
|
|
431
|
-
});
|
|
431
|
+
}).strict();
|
|
432
432
|
exports.generatedAssetErrorResponseDataSchema = exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema;
|
|
433
433
|
/**
|
|
434
434
|
* Error response data for validation and other errors returned by the Create API.
|
|
435
435
|
*/
|
|
436
436
|
exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema = zod_1.z.object({
|
|
437
437
|
errors: zod_1.z.array(exports.generatedAssetErrorResponseDataGeneratedAssetErrorResponseDataSchema),
|
|
438
|
-
});
|
|
438
|
+
}).strict();
|
|
439
439
|
exports.generatedAssetErrorResponseSchema = exports.generatedAssetErrorResponseGeneratedAssetErrorResponseSchema;
|
|
440
440
|
/**
|
|
441
441
|
* The id and attributes of the generated asset.
|
|
@@ -448,7 +448,7 @@ exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema =
|
|
|
448
448
|
status: zod_1.z.enum(["queued", "processing", "saving", "done", "failed"]),
|
|
449
449
|
created: zod_1.z.string(),
|
|
450
450
|
updated: zod_1.z.string(),
|
|
451
|
-
});
|
|
451
|
+
}).strict();
|
|
452
452
|
exports.generatedAssetResponseAttributesSchema = exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema;
|
|
453
453
|
/**
|
|
454
454
|
* The type of resource (an asset), it's id and attributes of the generated file.
|
|
@@ -457,14 +457,14 @@ exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema = zod_1.z.obj
|
|
|
457
457
|
type: zod_1.z.string(),
|
|
458
458
|
id: zod_1.z.string(),
|
|
459
459
|
attributes: exports.generatedAssetResponseAttributesGeneratedAssetResponseAttributesSchema,
|
|
460
|
-
});
|
|
460
|
+
}).strict();
|
|
461
461
|
exports.generatedAssetResponseDataSchema = exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema;
|
|
462
462
|
/**
|
|
463
463
|
* The response returned by the Create API [generate asset](#generate-asset) and [get generated asset](#get-generated-asset) requests. Includes status and details of the generated asset. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
464
464
|
*/
|
|
465
465
|
exports.generatedAssetResponseGeneratedAssetResponseSchema = zod_1.z.object({
|
|
466
466
|
data: exports.generatedAssetResponseDataGeneratedAssetResponseDataSchema,
|
|
467
|
-
});
|
|
467
|
+
}).strict();
|
|
468
468
|
exports.generatedAssetResponseSchema = exports.generatedAssetResponseGeneratedAssetResponseSchema;
|
|
469
469
|
/**
|
|
470
470
|
* Options for the Shotstack image-to-video service. Set the URL of an image to convert in to a video. The output will be generated as an MP4 file available at the URL returned in the response.
|
|
@@ -486,7 +486,7 @@ exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema = zod_1.z
|
|
|
486
486
|
return v;
|
|
487
487
|
return Number(v);
|
|
488
488
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(127),
|
|
489
|
-
});
|
|
489
|
+
}).strict();
|
|
490
490
|
exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOptionsShotstackImageToVideoOptionsSchema;
|
|
491
491
|
/**
|
|
492
492
|
* Options for the Shotstack text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response.
|
|
@@ -494,7 +494,7 @@ exports.shotstackImageToVideoOptionsSchema = exports.shotstackImageToVideoOption
|
|
|
494
494
|
exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema = zod_1.z.object({
|
|
495
495
|
type: zod_1.z.enum(["text-generator"]),
|
|
496
496
|
prompt: zod_1.z.string(),
|
|
497
|
-
});
|
|
497
|
+
}).strict();
|
|
498
498
|
exports.shotstackTextGeneratorOptionsSchema = exports.shotstackTextGeneratorOptionsShotstackTextGeneratorOptionsSchema;
|
|
499
499
|
/**
|
|
500
500
|
* Options for the Shotstack text-to-image service. Set a text prompt to generate an image from. The output will be generated as a PNG file available at the URL returned in the response.
|
|
@@ -516,7 +516,7 @@ exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema = zod_1.z.o
|
|
|
516
516
|
return v;
|
|
517
517
|
return Number(v);
|
|
518
518
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
519
|
-
});
|
|
519
|
+
}).strict();
|
|
520
520
|
exports.shotstackTextToImageOptionsSchema = exports.shotstackTextToImageOptionsShotstackTextToImageOptionsSchema;
|
|
521
521
|
/**
|
|
522
522
|
* Options for the Shotstack text-to-speech service. Set the text to be converted to speech and choose a voice to set the speaking style. The output will be generated as an MP3 audio file available at the URL returned in the response.
|
|
@@ -615,7 +615,7 @@ exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema = zod_1.z
|
|
|
615
615
|
"fi-FI",
|
|
616
616
|
])),
|
|
617
617
|
newscaster: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
618
|
-
});
|
|
618
|
+
}).strict();
|
|
619
619
|
exports.shotstackTextToSpeechOptionsSchema = exports.shotstackTextToSpeechOptionsShotstackTextToSpeechOptionsSchema;
|
|
620
620
|
/**
|
|
621
621
|
* Generate assets using the native Shotstack provider AI services.
|
|
@@ -649,7 +649,7 @@ exports.shotstackGeneratedAssetOptionsSchema = exports.shotstackGeneratedAssetOp
|
|
|
649
649
|
exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema = zod_1.z.object({
|
|
650
650
|
provider: zod_1.z.enum(["shotstack"]),
|
|
651
651
|
options: exports.shotstackGeneratedAssetOptionsShotstackGeneratedAssetOptionsSchema,
|
|
652
|
-
});
|
|
652
|
+
}).strict();
|
|
653
653
|
exports.shotstackGeneratedAssetSchema = exports.shotstackGeneratedAssetShotstackGeneratedAssetSchema;
|
|
654
654
|
/**
|
|
655
655
|
* Options for the Stability AI text-to-image service. Set a text prompt to generate an image from plus other engine and configuration options. The output will be generated as a JPG file available at the URL returned in the response.
|
|
@@ -718,7 +718,7 @@ exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema = zod_1
|
|
|
718
718
|
"pixel-art",
|
|
719
719
|
"tile-texture",
|
|
720
720
|
])),
|
|
721
|
-
});
|
|
721
|
+
}).strict();
|
|
722
722
|
exports.stabilityAiTextToImageOptionsSchema = exports.stabilityAiTextToImageOptionsStabilityAiTextToImageOptionsSchema;
|
|
723
723
|
/**
|
|
724
724
|
* Generate assets using Stability AI provider AI services.
|
|
@@ -739,7 +739,7 @@ exports.stabilityAiGeneratedAssetOptionsSchema = exports.stabilityAiGeneratedAss
|
|
|
739
739
|
exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema = zod_1.z.object({
|
|
740
740
|
provider: zod_1.z.enum(["stability-ai"]),
|
|
741
741
|
options: exports.stabilityAiGeneratedAssetOptionsStabilityAiGeneratedAssetOptionsSchema,
|
|
742
|
-
});
|
|
742
|
+
}).strict();
|
|
743
743
|
exports.stabilityAiGeneratedAssetSchema = exports.stabilityAiGeneratedAssetStabilityAiGeneratedAssetSchema;
|
|
744
744
|
/**
|
|
745
745
|
* A generated asset is a media asset created by the Create API. You can use native or third party providers to generate video, audio and image files using Generative AI services like text-to-speech and text-to-avatar.
|
|
@@ -809,7 +809,7 @@ exports.cropCropSchema = zod_1.z.object({
|
|
|
809
809
|
return v;
|
|
810
810
|
return Number(v);
|
|
811
811
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
812
|
-
});
|
|
812
|
+
}).strict();
|
|
813
813
|
exports.cropSchema = exports.cropCropSchema;
|
|
814
814
|
/**
|
|
815
815
|
* Pass additional options to control how files are stored in Google Cloud Storage.
|
|
@@ -818,7 +818,7 @@ exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptions
|
|
|
818
818
|
bucket: zod_1.z.string(),
|
|
819
819
|
prefix: zod_1.z.optional(zod_1.z.string()),
|
|
820
820
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
821
|
-
});
|
|
821
|
+
}).strict();
|
|
822
822
|
exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema;
|
|
823
823
|
/**
|
|
824
824
|
* Send videos and assets to a [Google Cloud Storage](https://cloud.google.com/storage) bucket. Send files with your own prefix and filename. Google Cloud credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/google-cloud-storage), not in the request.
|
|
@@ -826,7 +826,7 @@ exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageD
|
|
|
826
826
|
exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = zod_1.z.object({
|
|
827
827
|
provider: zod_1.z.literal("google-cloud-storage"),
|
|
828
828
|
options: zod_1.z.optional(exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema),
|
|
829
|
-
});
|
|
829
|
+
}).strict();
|
|
830
830
|
exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema;
|
|
831
831
|
/**
|
|
832
832
|
* Pass the folder ID and options to configure how assets are stored in Google Drive.
|
|
@@ -834,7 +834,7 @@ exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinat
|
|
|
834
834
|
exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = zod_1.z.object({
|
|
835
835
|
folderId: zod_1.z.string(),
|
|
836
836
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
837
|
-
});
|
|
837
|
+
}).strict();
|
|
838
838
|
exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
|
|
839
839
|
/**
|
|
840
840
|
* Send rendered videos and assets to the [Google Drive](https://shotstack.io/docs/guide/serving-assets/destinations/google-drive/) cloud storage service. Google Drive uses OAuth and you must authenticate and link your Google account via [dashboard](https://dashboard.shotstack.io/integrations/google-drive), not in the request.
|
|
@@ -842,7 +842,7 @@ exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOpti
|
|
|
842
842
|
exports.googleDriveDestinationGoogleDriveDestinationSchema = zod_1.z.object({
|
|
843
843
|
provider: zod_1.z.literal("google-drive"),
|
|
844
844
|
options: exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema,
|
|
845
|
-
});
|
|
845
|
+
}).strict();
|
|
846
846
|
exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema;
|
|
847
847
|
/**
|
|
848
848
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
@@ -850,7 +850,7 @@ exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDrive
|
|
|
850
850
|
exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
851
851
|
playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(["public", "signed"]))),
|
|
852
852
|
passthrough: zod_1.z.optional(zod_1.z.string().max(255)),
|
|
853
|
-
});
|
|
853
|
+
}).strict();
|
|
854
854
|
exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
855
855
|
/**
|
|
856
856
|
* Send videos to the [Mux](https://shotstack.io/docs/guide/serving-assets/destinations/mux/) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
@@ -858,7 +858,7 @@ exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinatio
|
|
|
858
858
|
exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
|
|
859
859
|
provider: zod_1.z.literal("mux"),
|
|
860
860
|
options: zod_1.z.optional(exports.muxDestinationOptionsMuxDestinationOptionsSchema),
|
|
861
|
-
});
|
|
861
|
+
}).strict();
|
|
862
862
|
exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema;
|
|
863
863
|
/**
|
|
864
864
|
* Pass additional options to control how files are stored in S3.
|
|
@@ -869,7 +869,7 @@ exports.s3DestinationOptionsS3DestinationOptionsSchema = zod_1.z.object({
|
|
|
869
869
|
prefix: zod_1.z.optional(zod_1.z.string()),
|
|
870
870
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
871
871
|
acl: zod_1.z.optional(zod_1.z.string()),
|
|
872
|
-
});
|
|
872
|
+
}).strict();
|
|
873
873
|
exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema;
|
|
874
874
|
/**
|
|
875
875
|
* Send videos and assets to an [Amazon S3](https://shotstack.io/docs/guide/serving-assets/destinations/s3/) bucket. Send files to any region with your own prefix and filename. AWS credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/s3), not in the request.
|
|
@@ -877,7 +877,7 @@ exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOp
|
|
|
877
877
|
exports.s3DestinationS3DestinationSchema = zod_1.z.object({
|
|
878
878
|
provider: zod_1.z.literal("s3"),
|
|
879
879
|
options: zod_1.z.optional(exports.s3DestinationOptionsS3DestinationOptionsSchema),
|
|
880
|
-
});
|
|
880
|
+
}).strict();
|
|
881
881
|
exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
|
|
882
882
|
/**
|
|
883
883
|
* Send videos and assets to the [Shotstack hosting and CDN](https://shotstack.io/docs/guide/serving-assets/destinations/shotstack/) service. This destination is enabled by default.
|
|
@@ -885,7 +885,7 @@ exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema;
|
|
|
885
885
|
exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
|
|
886
886
|
provider: zod_1.z.literal("shotstack"),
|
|
887
887
|
exclude: zod_1.z.optional(zod_1.z.boolean()),
|
|
888
|
-
});
|
|
888
|
+
}).strict();
|
|
889
889
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
|
|
890
890
|
/**
|
|
891
891
|
* Pass additional options to control how TikTok publishes video.
|
|
@@ -896,14 +896,14 @@ exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object(
|
|
|
896
896
|
disableDuet: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
897
897
|
disableStitch: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
898
898
|
disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false),
|
|
899
|
-
});
|
|
899
|
+
}).strict();
|
|
900
900
|
/**
|
|
901
901
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
902
902
|
*/
|
|
903
903
|
exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
|
|
904
904
|
provider: zod_1.z.literal("tiktok"),
|
|
905
905
|
options: zod_1.z.optional(exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema),
|
|
906
|
-
});
|
|
906
|
+
}).strict();
|
|
907
907
|
/**
|
|
908
908
|
* Options to control the visibility of videos and privacy features.
|
|
909
909
|
*/
|
|
@@ -913,7 +913,7 @@ exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = zod
|
|
|
913
913
|
comments: zod_1.z.optional(zod_1.z.enum(["anybody", "nobody", "contacts"])),
|
|
914
914
|
download: zod_1.z.optional(zod_1.z.boolean()),
|
|
915
915
|
add: zod_1.z.optional(zod_1.z.boolean()),
|
|
916
|
-
});
|
|
916
|
+
}).strict();
|
|
917
917
|
exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema;
|
|
918
918
|
/**
|
|
919
919
|
* Pass additional options to control how Vimeo publishes video, including name, description and privacy settings.
|
|
@@ -923,7 +923,7 @@ exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = zod_1.z.object({
|
|
|
923
923
|
description: zod_1.z.optional(zod_1.z.string()),
|
|
924
924
|
privacy: zod_1.z.optional(exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema),
|
|
925
925
|
folderUri: zod_1.z.optional(zod_1.z.string()),
|
|
926
|
-
});
|
|
926
|
+
}).strict();
|
|
927
927
|
exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema;
|
|
928
928
|
/**
|
|
929
929
|
* Send videos to [Vimeo](https://shotstack.io/docs/guide/serving-assets/destinations/vimeo/) video hosting and streaming service. Vimeo credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/vimeo), not in the request.
|
|
@@ -931,7 +931,7 @@ exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDest
|
|
|
931
931
|
exports.vimeoDestinationVimeoDestinationSchema = zod_1.z.object({
|
|
932
932
|
provider: zod_1.z.literal("vimeo"),
|
|
933
933
|
options: zod_1.z.optional(exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema),
|
|
934
|
-
});
|
|
934
|
+
}).strict();
|
|
935
935
|
exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema;
|
|
936
936
|
/**
|
|
937
937
|
* A destination is a location where assets can be sent to for serving or hosting. Videos, images and audio files that are rendered by the [Edit API](#shotstack-edit) and [source](#tocs_source) and [rendition](#tocs_rendition) files generated by the [Ingest API](#shotstack-ingest) can be sent to destinations. You can also fetch a file from any public URL and [transfer](#transfer-asset) it to a destination. A file can be sent to one or more destinations including 3rd party destinations.
|
|
@@ -954,14 +954,14 @@ exports.destinationsSchema = exports.destinationsDestinationsSchema;
|
|
|
954
954
|
exports.fliptransformationFlipTransformationSchema = zod_1.z.object({
|
|
955
955
|
horizontal: zod_1.z.optional(zod_1.z.boolean()),
|
|
956
956
|
vertical: zod_1.z.optional(zod_1.z.boolean()),
|
|
957
|
-
});
|
|
957
|
+
}).strict();
|
|
958
958
|
exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema;
|
|
959
959
|
/**
|
|
960
960
|
* Download a custom font to use with the HTML asset type, using the font name in the CSS or font tag. See our [custom fonts](https://shotstack.io/learn/html-custom-fonts/) getting started guide for more details.
|
|
961
961
|
*/
|
|
962
962
|
exports.fontFontSchema = zod_1.z.object({
|
|
963
963
|
src: zod_1.z.string(),
|
|
964
|
-
});
|
|
964
|
+
}).strict();
|
|
965
965
|
exports.fontSchema = exports.fontFontSchema;
|
|
966
966
|
/**
|
|
967
967
|
* **Notice: The HtmlAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
|
|
@@ -1003,7 +1003,7 @@ exports.htmlassetHtmlAssetSchema = zod_1.z.object({
|
|
|
1003
1003
|
"topLeft",
|
|
1004
1004
|
"center",
|
|
1005
1005
|
])),
|
|
1006
|
-
});
|
|
1006
|
+
}).strict();
|
|
1007
1007
|
exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema;
|
|
1008
1008
|
/**
|
|
1009
1009
|
* The ImageAsset is used to create video from images to compose an image. The src must be a publicly accessible URL to an image resource such as a jpg or png file.
|
|
@@ -1012,7 +1012,7 @@ exports.imageassetImageAssetSchema = zod_1.z.object({
|
|
|
1012
1012
|
type: zod_1.z.enum(["image"]),
|
|
1013
1013
|
src: zod_1.z.string().min(1).regex(/\S/),
|
|
1014
1014
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
1015
|
-
});
|
|
1015
|
+
}).strict();
|
|
1016
1016
|
exports.imageAssetSchema = exports.imageassetImageAssetSchema;
|
|
1017
1017
|
/**
|
|
1018
1018
|
* The ImageToVideoAsset lets you create a video from an image and a text prompt.
|
|
@@ -1030,7 +1030,7 @@ exports.imagetovideoassetImageToVideoAssetSchema = zod_1.z.object({
|
|
|
1030
1030
|
return Number(v);
|
|
1031
1031
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1032
1032
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
1033
|
-
});
|
|
1033
|
+
}).strict();
|
|
1034
1034
|
exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Options for the Dolby.io audio enhancement provider.
|
|
@@ -1047,7 +1047,7 @@ exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = zod_1.z.object({
|
|
|
1047
1047
|
"studio",
|
|
1048
1048
|
"voice_over",
|
|
1049
1049
|
]),
|
|
1050
|
-
});
|
|
1050
|
+
}).strict();
|
|
1051
1051
|
exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Dolby.io audio enhancement provider. Credentials are required and must be added via the [dashboard](https://dashboard.shotstack.io/integrations/dolby), not in the request.
|
|
@@ -1055,7 +1055,7 @@ exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnha
|
|
|
1055
1055
|
exports.dolbyEnhancementDolbyEnhancementSchema = zod_1.z.object({
|
|
1056
1056
|
provider: zod_1.z.string().default("dolby"),
|
|
1057
1057
|
options: exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema,
|
|
1058
|
-
});
|
|
1058
|
+
}).strict();
|
|
1059
1059
|
exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema;
|
|
1060
1060
|
/**
|
|
1061
1061
|
* An audio enhancement that can be applied to the audio content of a rendition.
|
|
@@ -1074,7 +1074,7 @@ exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema;
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
exports.enhancementsEnhancementsSchema = zod_1.z.object({
|
|
1076
1076
|
audio: zod_1.z.optional(exports.audioEnhancementAudioEnhancementSchema),
|
|
1077
|
-
});
|
|
1077
|
+
}).strict();
|
|
1078
1078
|
exports.enhancementsSchema = exports.enhancementsEnhancementsSchema;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Individual errors returned by the Ingest API.
|
|
@@ -1083,14 +1083,14 @@ exports.ingesterrorresponsedataIngestErrorResponseDataSchema = zod_1.z.object({
|
|
|
1083
1083
|
status: zod_1.z.string(),
|
|
1084
1084
|
title: zod_1.z.string(),
|
|
1085
1085
|
detail: zod_1.z.string(),
|
|
1086
|
-
});
|
|
1086
|
+
}).strict();
|
|
1087
1087
|
exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Error response data for validation and other errors returned by the Ingest API.
|
|
1090
1090
|
*/
|
|
1091
1091
|
exports.ingesterrorresponseIngestErrorResponseSchema = zod_1.z.object({
|
|
1092
1092
|
errors: zod_1.z.array(exports.ingesterrorresponsedataIngestErrorResponseDataSchema),
|
|
1093
|
-
});
|
|
1093
|
+
}).strict();
|
|
1094
1094
|
exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema;
|
|
1095
1095
|
/**
|
|
1096
1096
|
* The type of resource (a source) and the newly created source id. Returned with [QueuedSourceResponse](#tocs_queuedsourceresponse).
|
|
@@ -1098,14 +1098,14 @@ exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorRespon
|
|
|
1098
1098
|
exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = zod_1.z.object({
|
|
1099
1099
|
type: zod_1.z.string(),
|
|
1100
1100
|
id: zod_1.z.string(),
|
|
1101
|
-
});
|
|
1101
|
+
}).strict();
|
|
1102
1102
|
exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* The response returned by the Ingest API [fetch source](#fetch-source) request. Includes the id of the source file. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1105
1105
|
*/
|
|
1106
1106
|
exports.queuedsourceresponseQueuedSourceResponseSchema = zod_1.z.object({
|
|
1107
1107
|
data: exports.queuedsourceresponsedataQueuedSourceResponseDataSchema,
|
|
1108
|
-
});
|
|
1108
|
+
}).strict();
|
|
1109
1109
|
exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema;
|
|
1110
1110
|
/**
|
|
1111
1111
|
* The id and attributes of the upload file including the signed URL to send the binary file data to.
|
|
@@ -1114,7 +1114,7 @@ exports.uploadresponseattributesUploadResponseAttributesSchema = zod_1.z.object(
|
|
|
1114
1114
|
id: zod_1.z.string(),
|
|
1115
1115
|
url: zod_1.z.string(),
|
|
1116
1116
|
expires: zod_1.z.string(),
|
|
1117
|
-
});
|
|
1117
|
+
}).strict();
|
|
1118
1118
|
exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema;
|
|
1119
1119
|
/**
|
|
1120
1120
|
* The type of resource (an upload), it's id and attributes of the upload request.
|
|
@@ -1123,14 +1123,14 @@ exports.uploadresponsedataUploadResponseDataSchema = zod_1.z.object({
|
|
|
1123
1123
|
type: zod_1.z.string(),
|
|
1124
1124
|
id: zod_1.z.string(),
|
|
1125
1125
|
attributes: exports.uploadresponseattributesUploadResponseAttributesSchema,
|
|
1126
|
-
});
|
|
1126
|
+
}).strict();
|
|
1127
1127
|
exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema;
|
|
1128
1128
|
/**
|
|
1129
1129
|
* The response returned by the Ingest API [direct upload](#direct-upload) request. Includes the id of the file and the signed url to send the binary file to. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1130
1130
|
*/
|
|
1131
1131
|
exports.uploadresponseUploadResponseSchema = zod_1.z.object({
|
|
1132
1132
|
data: exports.uploadresponsedataUploadResponseDataSchema,
|
|
1133
|
-
});
|
|
1133
|
+
}).strict();
|
|
1134
1134
|
exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Set the playback speed of a video or audio file. Allows you to preserve the pitch of the audio so that it is sped up without sounding too high pitched or too low.
|
|
@@ -1144,14 +1144,14 @@ exports.speedSpeedSchema = zod_1.z.object({
|
|
|
1144
1144
|
return Number(v);
|
|
1145
1145
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1146
1146
|
preservePitch: zod_1.z.optional(zod_1.z.boolean()),
|
|
1147
|
-
});
|
|
1147
|
+
}).strict();
|
|
1148
1148
|
exports.speedSchema = exports.speedSpeedSchema;
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Generate a transcription of the audio in the video. The transcription can be output as a file in SRT or VTT format.
|
|
1151
1151
|
*/
|
|
1152
1152
|
exports.transcriptionTranscriptionSchema = zod_1.z.object({
|
|
1153
1153
|
format: zod_1.z.optional(zod_1.z.enum(["srt", "vtt"])),
|
|
1154
|
-
});
|
|
1154
|
+
}).strict();
|
|
1155
1155
|
exports.transcriptionSchema = exports.transcriptionTranscriptionSchema;
|
|
1156
1156
|
/**
|
|
1157
1157
|
* The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file.
|
|
@@ -1166,7 +1166,7 @@ exports.lumaassetLumaAssetSchema = zod_1.z.object({
|
|
|
1166
1166
|
return v;
|
|
1167
1167
|
return Number(v);
|
|
1168
1168
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1169
|
-
});
|
|
1169
|
+
}).strict();
|
|
1170
1170
|
exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
|
|
1171
1171
|
/**
|
|
1172
1172
|
* A merge field consists of a key; `find`, and a value; `replace`. Merge fields can be used to replace placeholders within the JSON edit to create re-usable templates. Placeholders should be a string with double brace delimiters, i.e. `"{{NAME}}"`. A placeholder can be used for any value within the JSON edit.
|
|
@@ -1174,7 +1174,7 @@ exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema;
|
|
|
1174
1174
|
exports.mergefieldMergeFieldSchema = zod_1.z.object({
|
|
1175
1175
|
find: zod_1.z.string(),
|
|
1176
1176
|
replace: zod_1.z.union([zod_1.z.string(), zod_1.z.number(), zod_1.z.boolean(), zod_1.z.null(), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()), zod_1.z.array(zod_1.z.unknown())]),
|
|
1177
|
-
});
|
|
1177
|
+
}).strict();
|
|
1178
1178
|
exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema;
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Generate a poster image for the video at a specific point from the timeline. The poster image size will match the size of the output video.
|
|
@@ -1187,7 +1187,7 @@ exports.posterPosterSchema = zod_1.z.object({
|
|
|
1187
1187
|
return v;
|
|
1188
1188
|
return Number(v);
|
|
1189
1189
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1190
|
-
});
|
|
1190
|
+
}).strict();
|
|
1191
1191
|
exports.posterSchema = exports.posterPosterSchema;
|
|
1192
1192
|
/**
|
|
1193
1193
|
* Specify a time range to render, i.e. to render only a portion of a video or audio file. Omit this setting to export the entire video. Range can also be used to render a frame at a specific time point - setting a range and output format as `jpg` will output a single frame image at the range `start` point.
|
|
@@ -1207,7 +1207,7 @@ exports.rangeRangeSchema = zod_1.z.object({
|
|
|
1207
1207
|
return v;
|
|
1208
1208
|
return Number(v);
|
|
1209
1209
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1210
|
-
});
|
|
1210
|
+
}).strict();
|
|
1211
1211
|
exports.rangeSchema = exports.rangeRangeSchema;
|
|
1212
1212
|
/**
|
|
1213
1213
|
* The list of asset attributes and their values.
|
|
@@ -1223,7 +1223,7 @@ exports.assetresponseattributesAssetResponseAttributesSchema = zod_1.z.object({
|
|
|
1223
1223
|
status: zod_1.z.enum(["importing", "ready", "failed", "deleted"]),
|
|
1224
1224
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1225
1225
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
1226
|
-
});
|
|
1226
|
+
}).strict();
|
|
1227
1227
|
exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema;
|
|
1228
1228
|
/**
|
|
1229
1229
|
* The type of resource (an asset) and attributes of the asset.
|
|
@@ -1231,21 +1231,21 @@ exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResp
|
|
|
1231
1231
|
exports.assetresponsedataAssetResponseDataSchema = zod_1.z.object({
|
|
1232
1232
|
type: zod_1.z.string(),
|
|
1233
1233
|
attributes: exports.assetresponseattributesAssetResponseAttributesSchema,
|
|
1234
|
-
});
|
|
1234
|
+
}).strict();
|
|
1235
1235
|
exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema;
|
|
1236
1236
|
/**
|
|
1237
1237
|
* The response returned by the Serve API [get asset by render id](#get-asset-by-render-id) request. The response is an array of asset resources, including video, image, audio, thumbnail and poster image. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1238
1238
|
*/
|
|
1239
1239
|
exports.assetrenderresponseAssetRenderResponseSchema = zod_1.z.object({
|
|
1240
1240
|
data: zod_1.z.array(exports.assetresponsedataAssetResponseDataSchema),
|
|
1241
|
-
});
|
|
1241
|
+
}).strict();
|
|
1242
1242
|
exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema;
|
|
1243
1243
|
/**
|
|
1244
1244
|
* The response returned by the Serve API [get asset](#get-asset) request. Includes details of a hosted video, image, audio file, thumbnail or poster image. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1245
1245
|
*/
|
|
1246
1246
|
exports.assetresponseAssetResponseSchema = zod_1.z.object({
|
|
1247
1247
|
data: exports.assetresponsedataAssetResponseDataSchema,
|
|
1248
|
-
});
|
|
1248
|
+
}).strict();
|
|
1249
1249
|
exports.assetResponseSchema = exports.assetresponseAssetResponseSchema;
|
|
1250
1250
|
/**
|
|
1251
1251
|
* The response received after a [probe request](#inspect-media) is submitted. The probe requests returns data from FFprobe formatted as JSON.
|
|
@@ -1254,7 +1254,7 @@ exports.proberesponseProbeResponseSchema = zod_1.z.object({
|
|
|
1254
1254
|
success: zod_1.z.boolean(),
|
|
1255
1255
|
message: zod_1.z.string(),
|
|
1256
1256
|
response: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
1257
|
-
});
|
|
1257
|
+
}).strict();
|
|
1258
1258
|
exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
|
|
1259
1259
|
/**
|
|
1260
1260
|
* The response data returned with the [QueuedResponse](#tocs_queuedresponse).
|
|
@@ -1262,7 +1262,7 @@ exports.probeResponseSchema = exports.proberesponseProbeResponseSchema;
|
|
|
1262
1262
|
exports.queuedresponsedataQueuedResponseDataSchema = zod_1.z.object({
|
|
1263
1263
|
message: zod_1.z.string(),
|
|
1264
1264
|
id: zod_1.z.string(),
|
|
1265
|
-
});
|
|
1265
|
+
}).strict();
|
|
1266
1266
|
exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema;
|
|
1267
1267
|
/**
|
|
1268
1268
|
* The response received after a [render request](#render-asset) or [template render](#render-template) is submitted. The render task is queued for rendering and a unique render id is returned.
|
|
@@ -1271,7 +1271,7 @@ exports.queuedresponseQueuedResponseSchema = zod_1.z.object({
|
|
|
1271
1271
|
success: zod_1.z.boolean(),
|
|
1272
1272
|
message: zod_1.z.string(),
|
|
1273
1273
|
response: exports.queuedresponsedataQueuedResponseDataSchema,
|
|
1274
|
-
});
|
|
1274
|
+
}).strict();
|
|
1275
1275
|
exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema;
|
|
1276
1276
|
/**
|
|
1277
1277
|
* The individual template item returned with the [TemplateListResponseData](#tocs_templatelistresponsedata) templates list.
|
|
@@ -1281,7 +1281,7 @@ exports.templatelistresponseitemTemplateListResponseItemSchema = zod_1.z.object(
|
|
|
1281
1281
|
name: zod_1.z.string(),
|
|
1282
1282
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1283
1283
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
1284
|
-
});
|
|
1284
|
+
}).strict();
|
|
1285
1285
|
exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema;
|
|
1286
1286
|
/**
|
|
1287
1287
|
* The response data returned with the [TemplateListResponse](#tocs_templatelistresponse).
|
|
@@ -1289,7 +1289,7 @@ exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplat
|
|
|
1289
1289
|
exports.templatelistresponsedataTemplateListResponseDataSchema = zod_1.z.object({
|
|
1290
1290
|
owner: zod_1.z.string(),
|
|
1291
1291
|
templates: zod_1.z.array(exports.templatelistresponseitemTemplateListResponseItemSchema),
|
|
1292
|
-
});
|
|
1292
|
+
}).strict();
|
|
1293
1293
|
exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema;
|
|
1294
1294
|
/**
|
|
1295
1295
|
* A list of previously saved templates.
|
|
@@ -1298,7 +1298,7 @@ exports.templatelistresponseTemplateListResponseSchema = zod_1.z.object({
|
|
|
1298
1298
|
success: zod_1.z.boolean(),
|
|
1299
1299
|
message: zod_1.z.string(),
|
|
1300
1300
|
response: exports.templatelistresponsedataTemplateListResponseDataSchema,
|
|
1301
|
-
});
|
|
1301
|
+
}).strict();
|
|
1302
1302
|
exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema;
|
|
1303
1303
|
/**
|
|
1304
1304
|
* The response data returned with the [TemplateResponse](#tocs_templateresponse).
|
|
@@ -1306,7 +1306,7 @@ exports.templateListResponseSchema = exports.templatelistresponseTemplateListRes
|
|
|
1306
1306
|
exports.templateresponsedataTemplateResponseDataSchema = zod_1.z.object({
|
|
1307
1307
|
message: zod_1.z.string(),
|
|
1308
1308
|
id: zod_1.z.string(),
|
|
1309
|
-
});
|
|
1309
|
+
}).strict();
|
|
1310
1310
|
exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema;
|
|
1311
1311
|
/**
|
|
1312
1312
|
* The response received after a [template](#create-template) is submitted. The template is saved and a unique template id is returned.
|
|
@@ -1315,7 +1315,7 @@ exports.templateresponseTemplateResponseSchema = zod_1.z.object({
|
|
|
1315
1315
|
success: zod_1.z.boolean(),
|
|
1316
1316
|
message: zod_1.z.string(),
|
|
1317
1317
|
response: exports.templateresponsedataTemplateResponseDataSchema,
|
|
1318
|
-
});
|
|
1318
|
+
}).strict();
|
|
1319
1319
|
exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema;
|
|
1320
1320
|
/**
|
|
1321
1321
|
* Font properties for the active/highlighted word.
|
|
@@ -1330,7 +1330,7 @@ exports.richcaptionpropertiesRichCaptionActiveFontSchema = zod_1.z.object({
|
|
|
1330
1330
|
return v;
|
|
1331
1331
|
return Number(v);
|
|
1332
1332
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1333
|
-
});
|
|
1333
|
+
}).strict();
|
|
1334
1334
|
exports.richCaptionActiveFontSchema = exports.richcaptionpropertiesRichCaptionActiveFontSchema;
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Word-level animation properties for caption effects.
|
|
@@ -1354,7 +1354,7 @@ exports.richcaptionpropertiesRichCaptionWordAnimationSchema = zod_1.z.object({
|
|
|
1354
1354
|
return Number(v);
|
|
1355
1355
|
} return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1356
1356
|
direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
|
|
1357
|
-
});
|
|
1357
|
+
}).strict();
|
|
1358
1358
|
exports.richCaptionWordAnimationSchema = exports.richcaptionpropertiesRichCaptionWordAnimationSchema;
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Word-level timing information for caption animation.
|
|
@@ -1382,7 +1382,7 @@ exports.richcaptionpropertiesWordTimingSchema = zod_1.z.object({
|
|
|
1382
1382
|
return v;
|
|
1383
1383
|
return Number(v);
|
|
1384
1384
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1385
|
-
});
|
|
1385
|
+
}).strict();
|
|
1386
1386
|
exports.wordTimingSchema = exports.richcaptionpropertiesWordTimingSchema;
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Text alignment properties (horizontal and vertical).
|
|
@@ -1390,7 +1390,7 @@ exports.wordTimingSchema = exports.richcaptionpropertiesWordTimingSchema;
|
|
|
1390
1390
|
exports.richtextpropertiesRichTextAlignmentSchema = zod_1.z.object({
|
|
1391
1391
|
horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
|
|
1392
1392
|
vertical: zod_1.z.optional(zod_1.z.enum(["top", "middle", "bottom"])),
|
|
1393
|
-
});
|
|
1393
|
+
}).strict();
|
|
1394
1394
|
exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Animation properties for text entrance effects.
|
|
@@ -1413,7 +1413,7 @@ exports.richtextpropertiesRichTextAnimationSchema = zod_1.z.object({
|
|
|
1413
1413
|
} return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1414
1414
|
style: zod_1.z.optional(zod_1.z.enum(["character", "word"])),
|
|
1415
1415
|
direction: zod_1.z.optional(zod_1.z.enum(["left", "right", "up", "down"])),
|
|
1416
|
-
});
|
|
1416
|
+
}).strict();
|
|
1417
1417
|
exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema;
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Background styling properties for the text bounding box.
|
|
@@ -1434,7 +1434,7 @@ exports.richtextpropertiesRichTextBackgroundSchema = zod_1.z.object({
|
|
|
1434
1434
|
return v;
|
|
1435
1435
|
return Number(v);
|
|
1436
1436
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1437
|
-
});
|
|
1437
|
+
}).strict();
|
|
1438
1438
|
exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema;
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Border styling properties for the text bounding box.
|
|
@@ -1462,7 +1462,7 @@ exports.richtextpropertiesRichTextBorderSchema = zod_1.z.object({
|
|
|
1462
1462
|
return v;
|
|
1463
1463
|
return Number(v);
|
|
1464
1464
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1465
|
-
});
|
|
1465
|
+
}).strict();
|
|
1466
1466
|
/**
|
|
1467
1467
|
* Gradient properties for text fill.
|
|
1468
1468
|
*/
|
|
@@ -1487,7 +1487,7 @@ exports.richtextpropertiesRichTextGradientSchema = zod_1.z.object({
|
|
|
1487
1487
|
color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1488
1488
|
}))
|
|
1489
1489
|
.min(2),
|
|
1490
|
-
});
|
|
1490
|
+
}).strict();
|
|
1491
1491
|
exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema;
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Padding properties for individual sides of the text bounding box.
|
|
@@ -1521,7 +1521,7 @@ exports.richtextpropertiesRichTextPaddingSchema = zod_1.z.object({
|
|
|
1521
1521
|
return v;
|
|
1522
1522
|
return Number(v);
|
|
1523
1523
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
1524
|
-
});
|
|
1524
|
+
}).strict();
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Text shadow properties.
|
|
1527
1527
|
*/
|
|
@@ -1555,7 +1555,7 @@ exports.richtextpropertiesRichTextShadowSchema = zod_1.z.object({
|
|
|
1555
1555
|
return v;
|
|
1556
1556
|
return Number(v);
|
|
1557
1557
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
|
|
1558
|
-
});
|
|
1558
|
+
}).strict();
|
|
1559
1559
|
exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema;
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Text stroke (outline) properties.
|
|
@@ -1576,7 +1576,7 @@ exports.richtextpropertiesRichTextStrokeSchema = zod_1.z.object({
|
|
|
1576
1576
|
return v;
|
|
1577
1577
|
return Number(v);
|
|
1578
1578
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1579
|
-
});
|
|
1579
|
+
}).strict();
|
|
1580
1580
|
exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema;
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Styling properties for the active/highlighted word.
|
|
@@ -1591,7 +1591,7 @@ exports.richcaptionpropertiesRichCaptionActiveSchema = zod_1.z.object({
|
|
|
1591
1591
|
return v;
|
|
1592
1592
|
return Number(v);
|
|
1593
1593
|
} return v; }), zod_1.z.number().gte(0.5).lte(2)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1594
|
-
});
|
|
1594
|
+
}).strict();
|
|
1595
1595
|
exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema;
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Font properties for rich text.
|
|
@@ -1616,7 +1616,7 @@ exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
|
|
|
1616
1616
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
1617
1617
|
background: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1618
1618
|
stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
|
|
1619
|
-
});
|
|
1619
|
+
}).strict();
|
|
1620
1620
|
exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Text style properties including spacing, line height, and transformations.
|
|
@@ -1646,7 +1646,7 @@ exports.richtextpropertiesRichTextStyleSchema = zod_1.z.object({
|
|
|
1646
1646
|
textTransform: zod_1.z.optional(zod_1.z.enum(["none", "uppercase", "lowercase", "capitalize"])),
|
|
1647
1647
|
textDecoration: zod_1.z.optional(zod_1.z.enum(["none", "underline", "line-through"])),
|
|
1648
1648
|
gradient: zod_1.z.optional(exports.richtextpropertiesRichTextGradientSchema),
|
|
1649
|
-
});
|
|
1649
|
+
}).strict();
|
|
1650
1650
|
exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
|
|
1651
1651
|
/**
|
|
1652
1652
|
* The RichCaptionAsset provides word-level caption animations with rich-text styling. It supports
|
|
@@ -1688,7 +1688,7 @@ exports.richcaptionassetRichCaptionAssetSchema = zod_1.z.object({
|
|
|
1688
1688
|
return v;
|
|
1689
1689
|
return Number(v);
|
|
1690
1690
|
} return v; }), zod_1.z.number().int().gte(1).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(2),
|
|
1691
|
-
});
|
|
1691
|
+
}).strict();
|
|
1692
1692
|
exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema;
|
|
1693
1693
|
/**
|
|
1694
1694
|
* The RichTextAsset provides advanced text rendering with support for custom fonts, gradients, shadows, strokes,
|
|
@@ -1713,7 +1713,7 @@ exports.richtextassetRichTextAssetSchema = zod_1.z.object({
|
|
|
1713
1713
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), exports.richtextpropertiesRichTextPaddingSchema])),
|
|
1714
1714
|
align: zod_1.z.optional(exports.richtextpropertiesRichTextAlignmentSchema),
|
|
1715
1715
|
animation: zod_1.z.optional(exports.richtextpropertiesRichTextAnimationSchema),
|
|
1716
|
-
});
|
|
1716
|
+
}).strict();
|
|
1717
1717
|
exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema;
|
|
1718
1718
|
/**
|
|
1719
1719
|
* The transfer request attributes inlcudling the user specified ID and status. Returned with [TransferResponseData](#tocs_transferresponsedata).
|
|
@@ -1723,7 +1723,7 @@ exports.transferresponseattributesTransferResponseAttributesSchema = zod_1.z.obj
|
|
|
1723
1723
|
owner: zod_1.z.optional(zod_1.z.string()),
|
|
1724
1724
|
status: zod_1.z.optional(zod_1.z.enum(["queued", "failed"])),
|
|
1725
1725
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
1726
|
-
});
|
|
1726
|
+
}).strict();
|
|
1727
1727
|
exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema;
|
|
1728
1728
|
/**
|
|
1729
1729
|
* The type of resource (an asset) and the transfer attributes. Returned with [TransferResponse](#tocs_transferresponse).
|
|
@@ -1731,14 +1731,14 @@ exports.transferResponseAttributesSchema = exports.transferresponseattributesTra
|
|
|
1731
1731
|
exports.transferresponsedataTransferResponseDataSchema = zod_1.z.object({
|
|
1732
1732
|
type: zod_1.z.optional(zod_1.z.string()),
|
|
1733
1733
|
attributes: zod_1.z.optional(exports.transferresponseattributesTransferResponseAttributesSchema),
|
|
1734
|
-
});
|
|
1734
|
+
}).strict();
|
|
1735
1735
|
exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema;
|
|
1736
1736
|
/**
|
|
1737
1737
|
* The response returned by the Serve API [transfer asset](#transfer-asset) request. The response includes the ID and transfer status. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
1738
1738
|
*/
|
|
1739
1739
|
exports.transferresponseTransferResponseSchema = zod_1.z.object({
|
|
1740
1740
|
data: exports.transferresponsedataTransferResponseDataSchema,
|
|
1741
|
-
});
|
|
1741
|
+
}).strict();
|
|
1742
1742
|
exports.transferResponseSchema = exports.transferresponseTransferResponseSchema;
|
|
1743
1743
|
/**
|
|
1744
1744
|
* The asset URL to fetch and transfer to a destination.
|
|
@@ -1747,7 +1747,7 @@ exports.transferTransferSchema = zod_1.z.object({
|
|
|
1747
1747
|
url: zod_1.z.string(),
|
|
1748
1748
|
id: zod_1.z.string(),
|
|
1749
1749
|
destinations: zod_1.z.array(exports.destinationsDestinationsSchema),
|
|
1750
|
-
});
|
|
1750
|
+
}).strict();
|
|
1751
1751
|
exports.transferSchema = exports.transferTransferSchema;
|
|
1752
1752
|
/**
|
|
1753
1753
|
* The ShapeAsset is used to add shapes to a video. The shape can be styled with a fill and a stroke.
|
|
@@ -1839,7 +1839,7 @@ exports.shapeassetShapeAssetSchema = zod_1.z.object({
|
|
|
1839
1839
|
return Number(v);
|
|
1840
1840
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
1841
1841
|
})),
|
|
1842
|
-
});
|
|
1842
|
+
}).strict();
|
|
1843
1843
|
exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema;
|
|
1844
1844
|
/**
|
|
1845
1845
|
* Set a custom size for a video or image in pixels. When using a custom size omit the `resolution` and `aspectRatio`. Custom sizes must be divisible by 2 based on the encoder specifications.
|
|
@@ -1859,7 +1859,7 @@ exports.sizeSizeSchema = zod_1.z.object({
|
|
|
1859
1859
|
return v;
|
|
1860
1860
|
return Number(v);
|
|
1861
1861
|
} return v; }), zod_1.z.number().int().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1862
|
-
});
|
|
1862
|
+
}).strict();
|
|
1863
1863
|
exports.sizeSchema = exports.sizeSizeSchema;
|
|
1864
1864
|
/**
|
|
1865
1865
|
* A rendition is a new output file that is generated from the source. The rendition can be encoded to a different format and have transformations applied to it such as resizing, cropping, etc...
|
|
@@ -1917,7 +1917,7 @@ exports.renditionRenditionSchema = zod_1.z.object({
|
|
|
1917
1917
|
fixRotation: zod_1.z.optional(zod_1.z.boolean()),
|
|
1918
1918
|
enhance: zod_1.z.optional(exports.enhancementsEnhancementsSchema),
|
|
1919
1919
|
filename: zod_1.z.optional(zod_1.z.string()),
|
|
1920
|
-
});
|
|
1920
|
+
}).strict();
|
|
1921
1921
|
exports.renditionSchema = exports.renditionRenditionSchema;
|
|
1922
1922
|
/**
|
|
1923
1923
|
* The output renditions and transformations that should be generated from the source file.
|
|
@@ -1925,7 +1925,7 @@ exports.renditionSchema = exports.renditionRenditionSchema;
|
|
|
1925
1925
|
exports.outputsOutputsSchema = zod_1.z.object({
|
|
1926
1926
|
renditions: zod_1.z.optional(zod_1.z.array(exports.renditionRenditionSchema)),
|
|
1927
1927
|
transcription: zod_1.z.optional(exports.transcriptionTranscriptionSchema),
|
|
1928
|
-
});
|
|
1928
|
+
}).strict();
|
|
1929
1929
|
exports.outputsSchema = exports.outputsOutputsSchema;
|
|
1930
1930
|
/**
|
|
1931
1931
|
* The id and attributes of the generated rendition file.
|
|
@@ -1977,14 +1977,14 @@ exports.renditionresponseattributesRenditionResponseAttributesSchema = zod_1.z.o
|
|
|
1977
1977
|
return v;
|
|
1978
1978
|
return Number(v);
|
|
1979
1979
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
1980
|
-
});
|
|
1980
|
+
}).strict();
|
|
1981
1981
|
exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema;
|
|
1982
1982
|
/**
|
|
1983
1983
|
* The list of outputs generated from the source file. Currently supports renditions which are versions of the source file with different transformations applied.
|
|
1984
1984
|
*/
|
|
1985
1985
|
exports.outputsresponseOutputsResponseSchema = zod_1.z.object({
|
|
1986
1986
|
renditions: zod_1.z.optional(zod_1.z.array(exports.renditionresponseattributesRenditionResponseAttributesSchema)),
|
|
1987
|
-
});
|
|
1987
|
+
}).strict();
|
|
1988
1988
|
exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema;
|
|
1989
1989
|
/**
|
|
1990
1990
|
* The id and attributes of the source file.
|
|
@@ -2033,7 +2033,7 @@ exports.sourceresponseattributesSourceResponseAttributesSchema = zod_1.z.object(
|
|
|
2033
2033
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2034
2034
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
2035
2035
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
2036
|
-
});
|
|
2036
|
+
}).strict();
|
|
2037
2037
|
exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema;
|
|
2038
2038
|
/**
|
|
2039
2039
|
* The type of resource (a source), it's id and attributes of the source file.
|
|
@@ -2042,21 +2042,21 @@ exports.sourceresponsedataSourceResponseDataSchema = zod_1.z.object({
|
|
|
2042
2042
|
type: zod_1.z.string(),
|
|
2043
2043
|
id: zod_1.z.string(),
|
|
2044
2044
|
attributes: exports.sourceresponseattributesSourceResponseAttributesSchema,
|
|
2045
|
-
});
|
|
2045
|
+
}).strict();
|
|
2046
2046
|
exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema;
|
|
2047
2047
|
/**
|
|
2048
2048
|
* A list of all ingested source files fetched or uploaded to a users account.
|
|
2049
2049
|
*/
|
|
2050
2050
|
exports.sourcelistresponseSourceListResponseSchema = zod_1.z.object({
|
|
2051
2051
|
data: zod_1.z.array(exports.sourceresponsedataSourceResponseDataSchema),
|
|
2052
|
-
});
|
|
2052
|
+
}).strict();
|
|
2053
2053
|
exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema;
|
|
2054
2054
|
/**
|
|
2055
2055
|
* The response returned by the Ingest API [get source](#get-source) request. Includes details of the ingested source file. The response follows the [json:api](https://jsonapi.org/) specification.
|
|
2056
2056
|
*/
|
|
2057
2057
|
exports.sourceresponseSourceResponseSchema = zod_1.z.object({
|
|
2058
2058
|
data: exports.sourceresponsedataSourceResponseDataSchema,
|
|
2059
|
-
});
|
|
2059
|
+
}).strict();
|
|
2060
2060
|
exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema;
|
|
2061
2061
|
/**
|
|
2062
2062
|
* The details of the file to be ingested and any transformations to be applied. Once the source file has been ingested, new renditions can be created from it. The renditions are specified in the **outputs** property.
|
|
@@ -2067,7 +2067,7 @@ exports.sourceSourceSchema = zod_1.z.object({
|
|
|
2067
2067
|
outputs: zod_1.z.optional(exports.outputsOutputsSchema),
|
|
2068
2068
|
destinations: zod_1.z.optional(exports.destinationsDestinationsSchema),
|
|
2069
2069
|
callback: zod_1.z.optional(zod_1.z.string()),
|
|
2070
|
-
});
|
|
2070
|
+
}).strict();
|
|
2071
2071
|
exports.sourceSchema = exports.sourceSourceSchema;
|
|
2072
2072
|
/**
|
|
2073
2073
|
* A music or audio file in mp3 format that plays for the duration of the rendered video or the length of the audio file, which ever is shortest.
|
|
@@ -2082,7 +2082,7 @@ exports.soundtrackSoundtrackSchema = zod_1.z.object({
|
|
|
2082
2082
|
return v;
|
|
2083
2083
|
return Number(v);
|
|
2084
2084
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2085
|
-
});
|
|
2085
|
+
}).strict();
|
|
2086
2086
|
exports.soundtrackSchema = exports.soundtrackSoundtrackSchema;
|
|
2087
2087
|
/**
|
|
2088
2088
|
* A color stop in a gradient. Each stop defines a color at a specific position
|
|
@@ -2098,7 +2098,7 @@ exports.svgpropertiesSvgGradientStopSchema = zod_1.z.object({
|
|
|
2098
2098
|
return Number(v);
|
|
2099
2099
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2100
2100
|
color: zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2101
|
-
});
|
|
2101
|
+
}).strict();
|
|
2102
2102
|
exports.svgGradientStopSchema = exports.svgpropertiesSvgGradientStopSchema;
|
|
2103
2103
|
/**
|
|
2104
2104
|
* A linear gradient fill that transitions colors along a straight line.
|
|
@@ -2122,7 +2122,7 @@ exports.svgpropertiesSvgLinearGradientFillSchema = zod_1.z.object({
|
|
|
2122
2122
|
return v;
|
|
2123
2123
|
return Number(v);
|
|
2124
2124
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
2125
|
-
});
|
|
2125
|
+
}).strict();
|
|
2126
2126
|
exports.svgLinearGradientFillSchema = exports.svgpropertiesSvgLinearGradientFillSchema;
|
|
2127
2127
|
/**
|
|
2128
2128
|
* A radial gradient fill that transitions colors radiating outward from a center point.
|
|
@@ -2139,7 +2139,7 @@ exports.svgpropertiesSvgRadialGradientFillSchema = zod_1.z.object({
|
|
|
2139
2139
|
return v;
|
|
2140
2140
|
return Number(v);
|
|
2141
2141
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
2142
|
-
});
|
|
2142
|
+
}).strict();
|
|
2143
2143
|
exports.svgRadialGradientFillSchema = exports.svgpropertiesSvgRadialGradientFillSchema;
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape.
|
|
@@ -2175,7 +2175,7 @@ exports.svgpropertiesSvgShadowSchema = zod_1.z.object({
|
|
|
2175
2175
|
return v;
|
|
2176
2176
|
return Number(v);
|
|
2177
2177
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
|
|
2178
|
-
});
|
|
2178
|
+
}).strict();
|
|
2179
2179
|
exports.svgShadowSchema = exports.svgpropertiesSvgShadowSchema;
|
|
2180
2180
|
/**
|
|
2181
2181
|
* A solid color fill for SVG shapes.
|
|
@@ -2193,7 +2193,7 @@ exports.svgpropertiesSvgSolidFillSchema = zod_1.z.object({
|
|
|
2193
2193
|
return v;
|
|
2194
2194
|
return Number(v);
|
|
2195
2195
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
2196
|
-
});
|
|
2196
|
+
}).strict();
|
|
2197
2197
|
exports.svgSolidFillSchema = exports.svgpropertiesSvgSolidFillSchema;
|
|
2198
2198
|
/**
|
|
2199
2199
|
* Fill properties for SVG shapes. Supports solid colors and gradients.
|
|
@@ -2243,7 +2243,7 @@ exports.svgpropertiesSvgStrokeSchema = zod_1.z.object({
|
|
|
2243
2243
|
return v;
|
|
2244
2244
|
return Number(v);
|
|
2245
2245
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
2246
|
-
});
|
|
2246
|
+
}).strict();
|
|
2247
2247
|
exports.svgStrokeSchema = exports.svgpropertiesSvgStrokeSchema;
|
|
2248
2248
|
/**
|
|
2249
2249
|
* Transformation properties for positioning, rotating, and scaling SVG shapes.
|
|
@@ -2292,7 +2292,7 @@ exports.svgpropertiesSvgTransformSchema = zod_1.z.object({
|
|
|
2292
2292
|
return v;
|
|
2293
2293
|
return Number(v);
|
|
2294
2294
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5),
|
|
2295
|
-
});
|
|
2295
|
+
}).strict();
|
|
2296
2296
|
exports.svgTransformSchema = exports.svgpropertiesSvgTransformSchema;
|
|
2297
2297
|
/**
|
|
2298
2298
|
* An arrow shape pointing to the right by default.
|
|
@@ -2329,7 +2329,7 @@ exports.svgshapesSvgArrowShapeSchema = zod_1.z.object({
|
|
|
2329
2329
|
return v;
|
|
2330
2330
|
return Number(v);
|
|
2331
2331
|
} return v; }), zod_1.z.number().gte(1).lte(1000)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2332
|
-
});
|
|
2332
|
+
}).strict();
|
|
2333
2333
|
exports.svgArrowShapeSchema = exports.svgshapesSvgArrowShapeSchema;
|
|
2334
2334
|
/**
|
|
2335
2335
|
* A perfect circle shape defined by its radius.
|
|
@@ -2345,7 +2345,7 @@ exports.svgshapesSvgCircleShapeSchema = zod_1.z.object({
|
|
|
2345
2345
|
return v;
|
|
2346
2346
|
return Number(v);
|
|
2347
2347
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2348
|
-
});
|
|
2348
|
+
}).strict();
|
|
2349
2349
|
exports.svgCircleShapeSchema = exports.svgshapesSvgCircleShapeSchema;
|
|
2350
2350
|
/**
|
|
2351
2351
|
* A cross or plus shape with equal or different arm lengths.
|
|
@@ -2375,7 +2375,7 @@ exports.svgshapesSvgCrossShapeSchema = zod_1.z.object({
|
|
|
2375
2375
|
return v;
|
|
2376
2376
|
return Number(v);
|
|
2377
2377
|
} return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2378
|
-
});
|
|
2378
|
+
}).strict();
|
|
2379
2379
|
exports.svgCrossShapeSchema = exports.svgshapesSvgCrossShapeSchema;
|
|
2380
2380
|
/**
|
|
2381
2381
|
* An ellipse (oval) shape with separate horizontal and vertical radii.
|
|
@@ -2398,7 +2398,7 @@ exports.svgshapesSvgEllipseShapeSchema = zod_1.z.object({
|
|
|
2398
2398
|
return v;
|
|
2399
2399
|
return Number(v);
|
|
2400
2400
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2401
|
-
});
|
|
2401
|
+
}).strict();
|
|
2402
2402
|
exports.svgEllipseShapeSchema = exports.svgshapesSvgEllipseShapeSchema;
|
|
2403
2403
|
/**
|
|
2404
2404
|
* A heart shape commonly used for love/like icons.
|
|
@@ -2414,7 +2414,7 @@ exports.svgshapesSvgHeartShapeSchema = zod_1.z.object({
|
|
|
2414
2414
|
return v;
|
|
2415
2415
|
return Number(v);
|
|
2416
2416
|
} return v; }), zod_1.z.number().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2417
|
-
});
|
|
2417
|
+
}).strict();
|
|
2418
2418
|
exports.svgHeartShapeSchema = exports.svgshapesSvgHeartShapeSchema;
|
|
2419
2419
|
/**
|
|
2420
2420
|
* A straight line shape with a specified length and thickness.
|
|
@@ -2437,7 +2437,7 @@ exports.svgshapesSvgLineShapeSchema = zod_1.z.object({
|
|
|
2437
2437
|
return v;
|
|
2438
2438
|
return Number(v);
|
|
2439
2439
|
} return v; }), zod_1.z.number().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2440
|
-
});
|
|
2440
|
+
}).strict();
|
|
2441
2441
|
exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
|
|
2442
2442
|
/**
|
|
2443
2443
|
* A custom shape defined by SVG path data.
|
|
@@ -2459,7 +2459,7 @@ exports.svgLineShapeSchema = exports.svgshapesSvgLineShapeSchema;
|
|
|
2459
2459
|
exports.svgshapesSvgPathShapeSchema = zod_1.z.object({
|
|
2460
2460
|
type: zod_1.z.enum(["path"]),
|
|
2461
2461
|
d: zod_1.z.string().min(1).max(100000),
|
|
2462
|
-
});
|
|
2462
|
+
}).strict();
|
|
2463
2463
|
exports.svgPathShapeSchema = exports.svgshapesSvgPathShapeSchema;
|
|
2464
2464
|
/**
|
|
2465
2465
|
* A regular polygon shape with a specified number of sides.
|
|
@@ -2483,7 +2483,7 @@ exports.svgshapesSvgPolygonShapeSchema = zod_1.z.object({
|
|
|
2483
2483
|
return v;
|
|
2484
2484
|
return Number(v);
|
|
2485
2485
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2486
|
-
});
|
|
2486
|
+
}).strict();
|
|
2487
2487
|
exports.svgPolygonShapeSchema = exports.svgshapesSvgPolygonShapeSchema;
|
|
2488
2488
|
/**
|
|
2489
2489
|
* A rectangle shape with optional rounded corners.
|
|
@@ -2513,7 +2513,7 @@ exports.svgshapesSvgRectangleShapeSchema = zod_1.z.object({
|
|
|
2513
2513
|
return v;
|
|
2514
2514
|
return Number(v);
|
|
2515
2515
|
} return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
2516
|
-
});
|
|
2516
|
+
}).strict();
|
|
2517
2517
|
exports.svgRectangleShapeSchema = exports.svgshapesSvgRectangleShapeSchema;
|
|
2518
2518
|
/**
|
|
2519
2519
|
* A ring (donut/annulus) shape - a circle with a circular hole in the center.
|
|
@@ -2536,7 +2536,7 @@ exports.svgshapesSvgRingShapeSchema = zod_1.z.object({
|
|
|
2536
2536
|
return v;
|
|
2537
2537
|
return Number(v);
|
|
2538
2538
|
} return v; }), zod_1.z.number().gte(0).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2539
|
-
});
|
|
2539
|
+
}).strict();
|
|
2540
2540
|
exports.svgRingShapeSchema = exports.svgshapesSvgRingShapeSchema;
|
|
2541
2541
|
/**
|
|
2542
2542
|
* A star shape with a specified number of points.
|
|
@@ -2567,7 +2567,7 @@ exports.svgshapesSvgStarShapeSchema = zod_1.z.object({
|
|
|
2567
2567
|
return v;
|
|
2568
2568
|
return Number(v);
|
|
2569
2569
|
} return v; }), zod_1.z.number().gte(1).lte(2048)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2570
|
-
});
|
|
2570
|
+
}).strict();
|
|
2571
2571
|
exports.svgStarShapeSchema = exports.svgshapesSvgStarShapeSchema;
|
|
2572
2572
|
/**
|
|
2573
2573
|
* The shape definition for an SVG asset. Each shape type has its own specific
|
|
@@ -2661,7 +2661,7 @@ exports.svgassetSvgAssetSchema = zod_1.z.object({
|
|
|
2661
2661
|
return v;
|
|
2662
2662
|
return Number(v);
|
|
2663
2663
|
} return v; }), zod_1.z.number().int().gte(1).lte(4096)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2664
|
-
}).superRefine((data, ctx) => {
|
|
2664
|
+
}).strict().superRefine((data, ctx) => {
|
|
2665
2665
|
const hasShape = data.shape !== undefined;
|
|
2666
2666
|
const hasSrc = data.src !== undefined && data.src.trim() !== "";
|
|
2667
2667
|
if (!hasShape && !hasSrc) {
|
|
@@ -2698,7 +2698,7 @@ exports.svgAssetSchema = exports.svgassetSvgAssetSchema;
|
|
|
2698
2698
|
exports.templaterenderTemplateRenderSchema = zod_1.z.object({
|
|
2699
2699
|
id: zod_1.z.string(),
|
|
2700
2700
|
merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
|
|
2701
|
-
});
|
|
2701
|
+
}).strict();
|
|
2702
2702
|
exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
|
|
2703
2703
|
/**
|
|
2704
2704
|
* Horizontal and vertical alignment properties for text.
|
|
@@ -2706,7 +2706,7 @@ exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema;
|
|
|
2706
2706
|
exports.textpropertiesTextAlignmentSchema = zod_1.z.object({
|
|
2707
2707
|
horizontal: zod_1.z.optional(zod_1.z.enum(["left", "center", "right"])),
|
|
2708
2708
|
vertical: zod_1.z.optional(zod_1.z.enum(["top", "center", "bottom"])),
|
|
2709
|
-
});
|
|
2709
|
+
}).strict();
|
|
2710
2710
|
exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema;
|
|
2711
2711
|
/**
|
|
2712
2712
|
* Animation properties for text entrance effects.
|
|
@@ -2720,7 +2720,7 @@ exports.textpropertiesTextAnimationSchema = zod_1.z.object({
|
|
|
2720
2720
|
return v;
|
|
2721
2721
|
return Number(v);
|
|
2722
2722
|
} return v; }), zod_1.z.number().gte(0.1).lte(30)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2723
|
-
});
|
|
2723
|
+
}).strict();
|
|
2724
2724
|
/**
|
|
2725
2725
|
* Displays a background box behind the text.
|
|
2726
2726
|
*/
|
|
@@ -2747,7 +2747,7 @@ exports.textpropertiesTextBackgroundSchema = zod_1.z.object({
|
|
|
2747
2747
|
return v;
|
|
2748
2748
|
return Number(v);
|
|
2749
2749
|
} return v; }), zod_1.z.number().gte(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2750
|
-
});
|
|
2750
|
+
}).strict();
|
|
2751
2751
|
exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema;
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Font properties for text.
|
|
@@ -2783,7 +2783,7 @@ exports.textpropertiesTextFontSchema = zod_1.z.object({
|
|
|
2783
2783
|
return v;
|
|
2784
2784
|
return Number(v);
|
|
2785
2785
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2786
|
-
});
|
|
2786
|
+
}).strict();
|
|
2787
2787
|
exports.textFontSchema = exports.textpropertiesTextFontSchema;
|
|
2788
2788
|
/**
|
|
2789
2789
|
* Text stroke (outline) properties.
|
|
@@ -2797,7 +2797,7 @@ exports.textpropertiesTextStrokeSchema = zod_1.z.object({
|
|
|
2797
2797
|
return Number(v);
|
|
2798
2798
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2799
2799
|
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2800
|
-
});
|
|
2800
|
+
}).strict();
|
|
2801
2801
|
/**
|
|
2802
2802
|
* The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
|
|
2803
2803
|
* [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
|
|
@@ -2826,7 +2826,7 @@ exports.textassetTextAssetSchema = zod_1.z.object({
|
|
|
2826
2826
|
stroke: zod_1.z.optional(exports.textpropertiesTextStrokeSchema),
|
|
2827
2827
|
animation: zod_1.z.optional(exports.textpropertiesTextAnimationSchema),
|
|
2828
2828
|
ellipsis: zod_1.z.optional(zod_1.z.string()),
|
|
2829
|
-
});
|
|
2829
|
+
}).strict();
|
|
2830
2830
|
exports.textAssetSchema = exports.textassetTextAssetSchema;
|
|
2831
2831
|
/**
|
|
2832
2832
|
* The TextToImageAsset lets you create a dynamic image from a text prompt.
|
|
@@ -2849,7 +2849,7 @@ exports.texttoimageassetTextToImageAssetSchema = zod_1.z.object({
|
|
|
2849
2849
|
return Number(v);
|
|
2850
2850
|
} return v; }), zod_1.z.number().int()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
2851
2851
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
2852
|
-
});
|
|
2852
|
+
}).strict();
|
|
2853
2853
|
exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema;
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Generate a thumbnail image for the video or image at a specific point from the timeline.
|
|
@@ -2869,7 +2869,7 @@ exports.thumbnailThumbnailSchema = zod_1.z.object({
|
|
|
2869
2869
|
return v;
|
|
2870
2870
|
return Number(v);
|
|
2871
2871
|
} return v; }), zod_1.z.number().gte(0).lte(1)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
2872
|
-
});
|
|
2872
|
+
}).strict();
|
|
2873
2873
|
exports.thumbnailSchema = exports.thumbnailThumbnailSchema;
|
|
2874
2874
|
/**
|
|
2875
2875
|
* The output format, render range and type of media to generate.
|
|
@@ -2900,7 +2900,7 @@ exports.outputOutputSchema = zod_1.z.object({
|
|
|
2900
2900
|
poster: zod_1.z.optional(exports.posterPosterSchema),
|
|
2901
2901
|
thumbnail: zod_1.z.optional(exports.thumbnailThumbnailSchema),
|
|
2902
2902
|
destinations: zod_1.z.optional(zod_1.z.array(exports.destinationsDestinationsSchema)),
|
|
2903
|
-
});
|
|
2903
|
+
}).strict();
|
|
2904
2904
|
exports.outputSchema = exports.outputOutputSchema;
|
|
2905
2905
|
/**
|
|
2906
2906
|
* In and out transitions for a clip - i.e. fade in and fade out
|
|
@@ -3034,7 +3034,7 @@ exports.transitionTransitionSchema = zod_1.z.object({
|
|
|
3034
3034
|
"shuffleTopLeftFast",
|
|
3035
3035
|
"zoom",
|
|
3036
3036
|
])),
|
|
3037
|
-
});
|
|
3037
|
+
}).strict();
|
|
3038
3038
|
exports.transitionSchema = exports.transitionTransitionSchema;
|
|
3039
3039
|
/**
|
|
3040
3040
|
* Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:
|
|
@@ -3094,7 +3094,7 @@ exports.tweenTweenSchema = zod_1.z.object({
|
|
|
3094
3094
|
"easeInOutCirc",
|
|
3095
3095
|
"easeInOutBack",
|
|
3096
3096
|
])),
|
|
3097
|
-
});
|
|
3097
|
+
}).strict();
|
|
3098
3098
|
exports.tweenSchema = exports.tweenTweenSchema;
|
|
3099
3099
|
/**
|
|
3100
3100
|
* The AudioAsset is used to add sound effects and audio at specific intervals on the timeline. The src must be a publicly accessible URL to an audio resource such as an mp3 file.
|
|
@@ -3124,7 +3124,7 @@ exports.audioassetAudioAssetSchema = zod_1.z.object({
|
|
|
3124
3124
|
return Number(v);
|
|
3125
3125
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3126
3126
|
effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
3127
|
-
});
|
|
3127
|
+
}).strict();
|
|
3128
3128
|
exports.audioAssetSchema = exports.audioassetAudioAssetSchema;
|
|
3129
3129
|
/**
|
|
3130
3130
|
* Offsets the position of an asset horizontally or vertically by a relative distance.
|
|
@@ -3144,7 +3144,7 @@ exports.offsetOffsetSchema = zod_1.z.object({
|
|
|
3144
3144
|
return v;
|
|
3145
3145
|
return Number(v);
|
|
3146
3146
|
} return v; }), zod_1.z.number().gte(-10).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3147
|
-
});
|
|
3147
|
+
}).strict();
|
|
3148
3148
|
exports.offsetSchema = exports.offsetOffsetSchema;
|
|
3149
3149
|
/**
|
|
3150
3150
|
* Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.
|
|
@@ -3157,7 +3157,7 @@ exports.rotatetransformationRotateTransformationSchema = zod_1.z.object({
|
|
|
3157
3157
|
return v;
|
|
3158
3158
|
return Number(v);
|
|
3159
3159
|
} return v; }), zod_1.z.number().gte(-360).lte(360)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3160
|
-
});
|
|
3160
|
+
}).strict();
|
|
3161
3161
|
exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema;
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat.
|
|
@@ -3177,7 +3177,7 @@ exports.skewtransformationSkewTransformationSchema = zod_1.z.object({
|
|
|
3177
3177
|
return v;
|
|
3178
3178
|
return Number(v);
|
|
3179
3179
|
} return v; }), zod_1.z.number().gte(-100).lte(100)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3180
|
-
});
|
|
3180
|
+
}).strict();
|
|
3181
3181
|
exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema;
|
|
3182
3182
|
/**
|
|
3183
3183
|
* The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset.
|
|
@@ -3210,7 +3210,7 @@ exports.texttospeechassetTextToSpeechAssetSchema = zod_1.z.object({
|
|
|
3210
3210
|
return Number(v);
|
|
3211
3211
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3212
3212
|
effect: zod_1.z.optional(zod_1.z.enum(["none", "fadeIn", "fadeOut", "fadeInFadeOut"])),
|
|
3213
|
-
});
|
|
3213
|
+
}).strict();
|
|
3214
3214
|
exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSchema;
|
|
3215
3215
|
/**
|
|
3216
3216
|
* **Notice: The TitleAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
|
|
@@ -3258,7 +3258,7 @@ exports.titleassetTitleAssetSchema = zod_1.z.object({
|
|
|
3258
3258
|
"center",
|
|
3259
3259
|
])),
|
|
3260
3260
|
offset: zod_1.z.optional(exports.offsetOffsetSchema),
|
|
3261
|
-
});
|
|
3261
|
+
}).strict();
|
|
3262
3262
|
exports.titleAssetSchema = exports.titleassetTitleAssetSchema;
|
|
3263
3263
|
/**
|
|
3264
3264
|
* Apply one or more transformations to a clip. Transformations alter the visual properties of a clip and can be combined to create new shapes and effects.
|
|
@@ -3267,7 +3267,7 @@ exports.transformationTransformationSchema = zod_1.z.object({
|
|
|
3267
3267
|
rotate: zod_1.z.optional(exports.rotatetransformationRotateTransformationSchema),
|
|
3268
3268
|
skew: zod_1.z.optional(exports.skewtransformationSkewTransformationSchema),
|
|
3269
3269
|
flip: zod_1.z.optional(exports.fliptransformationFlipTransformationSchema),
|
|
3270
|
-
});
|
|
3270
|
+
}).strict();
|
|
3271
3271
|
exports.transformationSchema = exports.transformationTransformationSchema;
|
|
3272
3272
|
/**
|
|
3273
3273
|
* The VideoAsset is used to create video sequences from video files. The src must be a publicly accessible URL to a video resource such as an mp4 file.
|
|
@@ -3300,7 +3300,7 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
|
|
|
3300
3300
|
} return v; }), zod_1.z.number().gte(0).lte(10)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3301
3301
|
crop: zod_1.z.optional(exports.cropCropSchema),
|
|
3302
3302
|
chromaKey: zod_1.z.optional(exports.chromakeyChromaKeySchema),
|
|
3303
|
-
});
|
|
3303
|
+
}).strict();
|
|
3304
3304
|
exports.videoAssetSchema = exports.videoassetVideoAssetSchema;
|
|
3305
3305
|
/**
|
|
3306
3306
|
* The type of asset to display for the duration of the Clip, i.e. a video clip or an image. Choose from one of the available asset types below.
|
|
@@ -3423,7 +3423,7 @@ exports.clipClipSchema = zod_1.z.object({
|
|
|
3423
3423
|
} return v; }), zod_1.z.number()), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]), zod_1.z.array(exports.tweenTweenSchema)])),
|
|
3424
3424
|
transform: zod_1.z.optional(exports.transformationTransformationSchema),
|
|
3425
3425
|
alias: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^[A-Za-z0-9_-]+$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
3426
|
-
});
|
|
3426
|
+
}).strict();
|
|
3427
3427
|
exports.clipSchema = exports.clipClipSchema;
|
|
3428
3428
|
// Clip schema with fit property filter for rich-text assets
|
|
3429
3429
|
// This removes the 'fit' property when asset type is 'rich-text'
|
|
@@ -3442,7 +3442,7 @@ const clipClipSchemaWithFitFilter = exports.clipClipSchema.transform((clip) => {
|
|
|
3442
3442
|
*/
|
|
3443
3443
|
exports.trackTrackSchema = zod_1.z.object({
|
|
3444
3444
|
clips: zod_1.z.array(clipClipSchemaWithFitFilter).min(1),
|
|
3445
|
-
});
|
|
3445
|
+
}).strict();
|
|
3446
3446
|
exports.trackSchema = exports.trackTrackSchema;
|
|
3447
3447
|
/**
|
|
3448
3448
|
* A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time.
|
|
@@ -3453,7 +3453,7 @@ exports.timelineTimelineSchema = zod_1.z.object({
|
|
|
3453
3453
|
fonts: zod_1.z.optional(zod_1.z.array(exports.fontFontSchema)),
|
|
3454
3454
|
tracks: zod_1.z.array(exports.trackTrackSchema).min(1),
|
|
3455
3455
|
cache: zod_1.z.optional(zod_1.z.boolean()),
|
|
3456
|
-
});
|
|
3456
|
+
}).strict();
|
|
3457
3457
|
exports.timelineSchema = exports.timelineTimelineSchema;
|
|
3458
3458
|
/**
|
|
3459
3459
|
* An edit defines the arrangement of a video on a timeline, an audio edit or an image design and the output format. Video assets are automatically preprocessed to fix common compatibility issues before rendering. You can control preprocessing behavior using the `transcode` flag on video assets.
|
|
@@ -3464,7 +3464,7 @@ exports.editEditSchema = zod_1.z.object({
|
|
|
3464
3464
|
merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
|
|
3465
3465
|
callback: zod_1.z.optional(zod_1.z.string()),
|
|
3466
3466
|
disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
|
|
3467
|
-
});
|
|
3467
|
+
}).strict();
|
|
3468
3468
|
exports.editSchema = exports.editEditSchema;
|
|
3469
3469
|
/**
|
|
3470
3470
|
* The response data returned with the [RenderResponse](#tocs_renderresponse) including status and URL.
|
|
@@ -3503,7 +3503,7 @@ exports.renderresponsedataRenderResponseDataSchema = zod_1.z.object({
|
|
|
3503
3503
|
data: zod_1.z.optional(exports.editEditSchema),
|
|
3504
3504
|
created: zod_1.z.optional(zod_1.z.string()),
|
|
3505
3505
|
updated: zod_1.z.optional(zod_1.z.string()),
|
|
3506
|
-
});
|
|
3506
|
+
}).strict();
|
|
3507
3507
|
exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema;
|
|
3508
3508
|
/**
|
|
3509
3509
|
* The response received after a [render status request](#get-render-status) is submitted. The response includes details about status of a render and the output URL.
|
|
@@ -3512,7 +3512,7 @@ exports.renderresponseRenderResponseSchema = zod_1.z.object({
|
|
|
3512
3512
|
success: zod_1.z.boolean(),
|
|
3513
3513
|
message: zod_1.z.string(),
|
|
3514
3514
|
response: exports.renderresponsedataRenderResponseDataSchema,
|
|
3515
|
-
});
|
|
3515
|
+
}).strict();
|
|
3516
3516
|
exports.renderResponseSchema = exports.renderresponseRenderResponseSchema;
|
|
3517
3517
|
/**
|
|
3518
3518
|
* The response data returned with the [TemplateDataResponse](#tocs_templatedataresponse).
|
|
@@ -3522,7 +3522,7 @@ exports.templatedataresponsedataTemplateDataResponseDataSchema = zod_1.z.object(
|
|
|
3522
3522
|
name: zod_1.z.string(),
|
|
3523
3523
|
owner: zod_1.z.string(),
|
|
3524
3524
|
template: exports.editEditSchema,
|
|
3525
|
-
});
|
|
3525
|
+
}).strict();
|
|
3526
3526
|
exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema;
|
|
3527
3527
|
/**
|
|
3528
3528
|
* The template data including the template name and [Edit](#tocs_edit).
|
|
@@ -3531,7 +3531,7 @@ exports.templatedataresponseTemplateDataResponseSchema = zod_1.z.object({
|
|
|
3531
3531
|
success: zod_1.z.boolean(),
|
|
3532
3532
|
message: zod_1.z.string(),
|
|
3533
3533
|
response: exports.templatedataresponsedataTemplateDataResponseDataSchema,
|
|
3534
|
-
});
|
|
3534
|
+
}).strict();
|
|
3535
3535
|
exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema;
|
|
3536
3536
|
/**
|
|
3537
3537
|
* A template is a saved [Edit](#tocs_edit) than can be loaded and re-used.
|
|
@@ -3539,13 +3539,13 @@ exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataRes
|
|
|
3539
3539
|
exports.templateTemplateSchema = zod_1.z.object({
|
|
3540
3540
|
name: zod_1.z.string(),
|
|
3541
3541
|
template: zod_1.z.optional(exports.editEditSchema),
|
|
3542
|
-
});
|
|
3542
|
+
}).strict();
|
|
3543
3543
|
exports.templateSchema = exports.templateTemplateSchema;
|
|
3544
3544
|
exports.postRenderRequest = zod_1.z.object({
|
|
3545
3545
|
body: exports.editEditSchema,
|
|
3546
3546
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3547
3547
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3548
|
-
});
|
|
3548
|
+
}).strict();
|
|
3549
3549
|
/**
|
|
3550
3550
|
* The queued render details
|
|
3551
3551
|
*/
|
|
@@ -3561,7 +3561,7 @@ exports.getRenderRequest = zod_1.z.object({
|
|
|
3561
3561
|
data: zod_1.z.optional(zod_1.z.boolean()),
|
|
3562
3562
|
merged: zod_1.z.optional(zod_1.z.boolean()),
|
|
3563
3563
|
})),
|
|
3564
|
-
});
|
|
3564
|
+
}).strict();
|
|
3565
3565
|
/**
|
|
3566
3566
|
* The render status details
|
|
3567
3567
|
*/
|
|
@@ -3570,7 +3570,7 @@ exports.getTemplatesRequest = zod_1.z.object({
|
|
|
3570
3570
|
body: zod_1.z.optional(zod_1.z.never()),
|
|
3571
3571
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3572
3572
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3573
|
-
});
|
|
3573
|
+
}).strict();
|
|
3574
3574
|
/**
|
|
3575
3575
|
* The list of templates stored against a users account
|
|
3576
3576
|
*/
|
|
@@ -3579,7 +3579,7 @@ exports.postTemplateRequest = zod_1.z.object({
|
|
|
3579
3579
|
body: exports.templateTemplateSchema,
|
|
3580
3580
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3581
3581
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3582
|
-
});
|
|
3582
|
+
}).strict();
|
|
3583
3583
|
/**
|
|
3584
3584
|
* The saved template status including the id
|
|
3585
3585
|
*/
|
|
@@ -3592,7 +3592,7 @@ exports.deleteTemplateRequest = zod_1.z.object({
|
|
|
3592
3592
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3593
3593
|
}),
|
|
3594
3594
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3595
|
-
});
|
|
3595
|
+
}).strict();
|
|
3596
3596
|
/**
|
|
3597
3597
|
* An empty response signifying the template has been deleted
|
|
3598
3598
|
*/
|
|
@@ -3605,7 +3605,7 @@ exports.getTemplateRequest = zod_1.z.object({
|
|
|
3605
3605
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3606
3606
|
}),
|
|
3607
3607
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3608
|
-
});
|
|
3608
|
+
}).strict();
|
|
3609
3609
|
/**
|
|
3610
3610
|
* The template details including the [Edit](#tocs_edit)
|
|
3611
3611
|
*/
|
|
@@ -3618,7 +3618,7 @@ exports.putTemplateRequest = zod_1.z.object({
|
|
|
3618
3618
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3619
3619
|
}),
|
|
3620
3620
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3621
|
-
});
|
|
3621
|
+
}).strict();
|
|
3622
3622
|
/**
|
|
3623
3623
|
* Update a templates name and [Edit](#tocs_edit)
|
|
3624
3624
|
*/
|
|
@@ -3627,7 +3627,7 @@ exports.postTemplateRenderRequest = zod_1.z.object({
|
|
|
3627
3627
|
body: exports.templaterenderTemplateRenderSchema,
|
|
3628
3628
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3629
3629
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3630
|
-
});
|
|
3630
|
+
}).strict();
|
|
3631
3631
|
/**
|
|
3632
3632
|
* The queued status including the render id. Check the status of the render using the id and the [render status](#get-render-status) endpoint.
|
|
3633
3633
|
*/
|
|
@@ -3638,7 +3638,7 @@ exports.probeRequest = zod_1.z.object({
|
|
|
3638
3638
|
url: zod_1.z.string(),
|
|
3639
3639
|
}),
|
|
3640
3640
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3641
|
-
});
|
|
3641
|
+
}).strict();
|
|
3642
3642
|
/**
|
|
3643
3643
|
* FFprobe response formatted as JSON.
|
|
3644
3644
|
*/
|
|
@@ -3651,7 +3651,7 @@ exports.deleteAssetRequest = zod_1.z.object({
|
|
|
3651
3651
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3652
3652
|
}),
|
|
3653
3653
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3654
|
-
});
|
|
3654
|
+
}).strict();
|
|
3655
3655
|
/**
|
|
3656
3656
|
* An empty response signifying the asset has been deleted
|
|
3657
3657
|
*/
|
|
@@ -3664,7 +3664,7 @@ exports.getAssetRequest = zod_1.z.object({
|
|
|
3664
3664
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3665
3665
|
}),
|
|
3666
3666
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3667
|
-
});
|
|
3667
|
+
}).strict();
|
|
3668
3668
|
/**
|
|
3669
3669
|
* Get asset by asset id
|
|
3670
3670
|
*/
|
|
@@ -3677,7 +3677,7 @@ exports.getAssetByRenderIdRequest = zod_1.z.object({
|
|
|
3677
3677
|
.regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
|
|
3678
3678
|
}),
|
|
3679
3679
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3680
|
-
});
|
|
3680
|
+
}).strict();
|
|
3681
3681
|
/**
|
|
3682
3682
|
* Get one or more assets by render id
|
|
3683
3683
|
*/
|
|
@@ -3686,7 +3686,7 @@ exports.postServeAssetRequest = zod_1.z.object({
|
|
|
3686
3686
|
body: exports.transferTransferSchema,
|
|
3687
3687
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3688
3688
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3689
|
-
});
|
|
3689
|
+
}).strict();
|
|
3690
3690
|
/**
|
|
3691
3691
|
* The transfer request details and status
|
|
3692
3692
|
*/
|
|
@@ -3695,7 +3695,7 @@ exports.getSourcesRequest = zod_1.z.object({
|
|
|
3695
3695
|
body: zod_1.z.optional(zod_1.z.never()),
|
|
3696
3696
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3697
3697
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3698
|
-
});
|
|
3698
|
+
}).strict();
|
|
3699
3699
|
/**
|
|
3700
3700
|
* The list of ingested source files stored against a users account
|
|
3701
3701
|
*/
|
|
@@ -3704,7 +3704,7 @@ exports.postSourceRequest = zod_1.z.object({
|
|
|
3704
3704
|
body: exports.sourceSourceSchema,
|
|
3705
3705
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3706
3706
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3707
|
-
});
|
|
3707
|
+
}).strict();
|
|
3708
3708
|
/**
|
|
3709
3709
|
* The queued source file details
|
|
3710
3710
|
*/
|
|
@@ -3717,7 +3717,7 @@ exports.deleteSourceRequest = zod_1.z.object({
|
|
|
3717
3717
|
.regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/),
|
|
3718
3718
|
}),
|
|
3719
3719
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3720
|
-
});
|
|
3720
|
+
}).strict();
|
|
3721
3721
|
/**
|
|
3722
3722
|
* An empty response signifying the ingested source file has been deleted.
|
|
3723
3723
|
*/
|
|
@@ -3730,7 +3730,7 @@ exports.getSourceRequest = zod_1.z.object({
|
|
|
3730
3730
|
.regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/),
|
|
3731
3731
|
}),
|
|
3732
3732
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3733
|
-
});
|
|
3733
|
+
}).strict();
|
|
3734
3734
|
/**
|
|
3735
3735
|
* Get source file details by id
|
|
3736
3736
|
*/
|
|
@@ -3739,7 +3739,7 @@ exports.getUploadSignedUrlRequest = zod_1.z.object({
|
|
|
3739
3739
|
body: zod_1.z.optional(zod_1.z.never()),
|
|
3740
3740
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3741
3741
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3742
|
-
});
|
|
3742
|
+
}).strict();
|
|
3743
3743
|
/**
|
|
3744
3744
|
* The id and signed URL to upload to.
|
|
3745
3745
|
*/
|
|
@@ -3748,7 +3748,7 @@ exports.postGenerateAssetRequest = zod_1.z.object({
|
|
|
3748
3748
|
body: exports.generatedAssetGeneratedAssetSchema,
|
|
3749
3749
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3750
3750
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3751
|
-
});
|
|
3751
|
+
}).strict();
|
|
3752
3752
|
/**
|
|
3753
3753
|
* The generated asset details
|
|
3754
3754
|
*/
|
|
@@ -3761,7 +3761,7 @@ exports.getGeneratedAssetRequest = zod_1.z.object({
|
|
|
3761
3761
|
.regex(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$/),
|
|
3762
3762
|
}),
|
|
3763
3763
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3764
|
-
});
|
|
3764
|
+
}).strict();
|
|
3765
3765
|
/**
|
|
3766
3766
|
* The generated asset details
|
|
3767
3767
|
*/
|