@shotstack/schemas 1.18.3 → 1.18.4
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 +10 -0
- package/dist/schema.d.ts +10 -0
- package/dist/zod/zod.gen.cjs +2 -0
- package/dist/zod/zod.gen.d.ts +8 -0
- package/dist/zod/zod.gen.js +2 -0
- package/dist/zod/zod.gen.ts +2 -0
- package/package.json +1 -1
package/dist/api.bundled.json
CHANGED
|
@@ -722,6 +722,16 @@
|
|
|
722
722
|
],
|
|
723
723
|
"example": "video"
|
|
724
724
|
},
|
|
725
|
+
"name": {
|
|
726
|
+
"description": "The model's display name, for a model picker.",
|
|
727
|
+
"type": "string",
|
|
728
|
+
"example": "Seedance 2.0 · Text to video"
|
|
729
|
+
},
|
|
730
|
+
"description": {
|
|
731
|
+
"description": "What the model is suited to, in a sentence or two.",
|
|
732
|
+
"type": "string",
|
|
733
|
+
"example": "Generate cinematic video with realistic motion, prompt-directed camera movement and optional synchronised audio."
|
|
734
|
+
},
|
|
725
735
|
"pricing": {
|
|
726
736
|
"description": "What one generation with this model costs.",
|
|
727
737
|
"properties": {
|
package/dist/schema.d.ts
CHANGED
|
@@ -4045,6 +4045,16 @@ export interface operations {
|
|
|
4045
4045
|
* @enum {string}
|
|
4046
4046
|
*/
|
|
4047
4047
|
type: "image" | "video" | "audio";
|
|
4048
|
+
/**
|
|
4049
|
+
* @description The model's display name, for a model picker.
|
|
4050
|
+
* @example Seedance 2.0 · Text to video
|
|
4051
|
+
*/
|
|
4052
|
+
name?: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* @description What the model is suited to, in a sentence or two.
|
|
4055
|
+
* @example Generate cinematic video with realistic motion, prompt-directed camera movement and optional synchronised audio.
|
|
4056
|
+
*/
|
|
4057
|
+
description?: string;
|
|
4048
4058
|
/** @description What one generation with this model costs. */
|
|
4049
4059
|
pricing?: {
|
|
4050
4060
|
/**
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -490,6 +490,8 @@ exports.generationmodelGenerationModelSchema = zod_1.z.object({
|
|
|
490
490
|
'video',
|
|
491
491
|
'audio'
|
|
492
492
|
]),
|
|
493
|
+
name: zod_1.z.optional(zod_1.z.string()),
|
|
494
|
+
description: zod_1.z.optional(zod_1.z.string()),
|
|
493
495
|
pricing: zod_1.z.optional(exports.generationmodelpricingGenerationModelPricingSchema),
|
|
494
496
|
options: zod_1.z.optional(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()))
|
|
495
497
|
}).strict();
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -794,6 +794,8 @@ export declare const generationmodelGenerationModelSchema: z.ZodObject<{
|
|
|
794
794
|
video: "video";
|
|
795
795
|
audio: "audio";
|
|
796
796
|
}>;
|
|
797
|
+
name: z.ZodOptional<z.ZodString>;
|
|
798
|
+
description: z.ZodOptional<z.ZodString>;
|
|
797
799
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
798
800
|
credits: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
799
801
|
tieredBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -1514,6 +1516,8 @@ export declare const generationmodellistresponseGenerationModelListResponseSchem
|
|
|
1514
1516
|
video: "video";
|
|
1515
1517
|
audio: "audio";
|
|
1516
1518
|
}>;
|
|
1519
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1517
1521
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
1518
1522
|
credits: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
1519
1523
|
tieredBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -60526,6 +60530,8 @@ export declare const getModelsResponse: z.ZodObject<{
|
|
|
60526
60530
|
video: "video";
|
|
60527
60531
|
audio: "audio";
|
|
60528
60532
|
}>;
|
|
60533
|
+
name: z.ZodOptional<z.ZodString>;
|
|
60534
|
+
description: z.ZodOptional<z.ZodString>;
|
|
60529
60535
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
60530
60536
|
credits: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
60531
60537
|
tieredBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -60567,6 +60573,8 @@ export declare const getModelResponse: z.ZodObject<{
|
|
|
60567
60573
|
video: "video";
|
|
60568
60574
|
audio: "audio";
|
|
60569
60575
|
}>;
|
|
60576
|
+
name: z.ZodOptional<z.ZodString>;
|
|
60577
|
+
description: z.ZodOptional<z.ZodString>;
|
|
60570
60578
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
60571
60579
|
credits: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
60572
60580
|
tieredBy: z.ZodOptional<z.ZodObject<{
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -481,6 +481,8 @@ export const generationmodelGenerationModelSchema = z.object({
|
|
|
481
481
|
'video',
|
|
482
482
|
'audio'
|
|
483
483
|
]),
|
|
484
|
+
name: z.optional(z.string()),
|
|
485
|
+
description: z.optional(z.string()),
|
|
484
486
|
pricing: z.optional(generationmodelpricingGenerationModelPricingSchema),
|
|
485
487
|
options: z.optional(z.record(z.string(), z.unknown()))
|
|
486
488
|
}).strict();
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -412,6 +412,8 @@ export const generationmodelGenerationModelSchema = z.object({
|
|
|
412
412
|
'video',
|
|
413
413
|
'audio'
|
|
414
414
|
]),
|
|
415
|
+
name: z.optional(z.string()),
|
|
416
|
+
description: z.optional(z.string()),
|
|
415
417
|
pricing: z.optional(generationmodelpricingGenerationModelPricingSchema),
|
|
416
418
|
options: z.optional(z.record(z.string(), z.unknown()))
|
|
417
419
|
}).strict();
|