@pixerate/schemas 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -154,6 +154,7 @@ __export(index_exports, {
154
154
  VideoAnalysisCategorySchema: () => VideoAnalysisCategorySchema,
155
155
  VideoAnalysisSchema: () => VideoAnalysisSchema,
156
156
  VideoAspectRatioSchema: () => VideoAspectRatioSchema,
157
+ VideoAttachmentSchema: () => VideoAttachmentSchema,
157
158
  VideoCompositingSchema: () => VideoCompositingSchema,
158
159
  VideoCompressionSchema: () => VideoCompressionSchema,
159
160
  VideoFrameImageSchema: () => VideoFrameImageSchema,
@@ -198,6 +199,15 @@ var VideoFrameImageSchema = import_zod.z.union([
198
199
  mimeType: import_zod.z.string().optional()
199
200
  })
200
201
  ]);
202
+ var VideoAttachmentSchema = import_zod.z.union([
203
+ import_zod.z.string(),
204
+ import_zod.z.object({
205
+ bytesBase64Encoded: import_zod.z.string().optional(),
206
+ data: import_zod.z.any().optional(),
207
+ mimeType: import_zod.z.string().optional(),
208
+ url: import_zod.z.string().optional()
209
+ })
210
+ ]);
201
211
  var VideoGenerationSchema = import_zod.z.object({
202
212
  prompt: import_zod.z.string(),
203
213
  aspectRatio: VideoAspectRatioSchema.optional(),
@@ -209,7 +219,10 @@ var VideoGenerationSchema = import_zod.z.object({
209
219
  isMultimedia: import_zod.z.boolean().optional(),
210
220
  multimedia: import_zod.z.boolean().optional(),
211
221
  firstFrame: VideoFrameImageSchema.optional(),
212
- lastFrame: VideoFrameImageSchema.optional()
222
+ lastFrame: VideoFrameImageSchema.optional(),
223
+ image: VideoAttachmentSchema.optional(),
224
+ images: import_zod.z.array(VideoAttachmentSchema).optional(),
225
+ attachments: import_zod.z.array(VideoAttachmentSchema).optional()
213
226
  });
214
227
  var VideoUpscaleSchema = import_zod.z.object({
215
228
  video: import_zod.z.string().optional(),
@@ -1716,6 +1729,7 @@ var CRDTSnapshotSchema = import_zod.z.object({
1716
1729
  VideoAnalysisCategorySchema,
1717
1730
  VideoAnalysisSchema,
1718
1731
  VideoAspectRatioSchema,
1732
+ VideoAttachmentSchema,
1719
1733
  VideoCompositingSchema,
1720
1734
  VideoCompressionSchema,
1721
1735
  VideoFrameImageSchema,
package/dist/index.d.cts CHANGED
@@ -22,6 +22,23 @@ declare const VideoFrameImageSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
22
22
  mimeType?: string | undefined;
23
23
  }>]>;
24
24
  type VideoFrameImage = z.infer<typeof VideoFrameImageSchema>;
25
+ declare const VideoAttachmentSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
26
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
27
+ data: z.ZodOptional<z.ZodAny>;
28
+ mimeType: z.ZodOptional<z.ZodString>;
29
+ url: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ bytesBase64Encoded?: string | undefined;
32
+ data?: any;
33
+ mimeType?: string | undefined;
34
+ url?: string | undefined;
35
+ }, {
36
+ bytesBase64Encoded?: string | undefined;
37
+ data?: any;
38
+ mimeType?: string | undefined;
39
+ url?: string | undefined;
40
+ }>]>;
41
+ type VideoAttachment = z.infer<typeof VideoAttachmentSchema>;
25
42
  declare const VideoGenerationSchema: z.ZodObject<{
26
43
  prompt: z.ZodString;
27
44
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
@@ -58,6 +75,54 @@ declare const VideoGenerationSchema: z.ZodObject<{
58
75
  data?: string | undefined;
59
76
  mimeType?: string | undefined;
60
77
  }>]>>;
78
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
79
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
80
+ data: z.ZodOptional<z.ZodAny>;
81
+ mimeType: z.ZodOptional<z.ZodString>;
82
+ url: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ bytesBase64Encoded?: string | undefined;
85
+ data?: any;
86
+ mimeType?: string | undefined;
87
+ url?: string | undefined;
88
+ }, {
89
+ bytesBase64Encoded?: string | undefined;
90
+ data?: any;
91
+ mimeType?: string | undefined;
92
+ url?: string | undefined;
93
+ }>]>>;
94
+ images: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
95
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
96
+ data: z.ZodOptional<z.ZodAny>;
97
+ mimeType: z.ZodOptional<z.ZodString>;
98
+ url: z.ZodOptional<z.ZodString>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ bytesBase64Encoded?: string | undefined;
101
+ data?: any;
102
+ mimeType?: string | undefined;
103
+ url?: string | undefined;
104
+ }, {
105
+ bytesBase64Encoded?: string | undefined;
106
+ data?: any;
107
+ mimeType?: string | undefined;
108
+ url?: string | undefined;
109
+ }>]>, "many">>;
110
+ attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
111
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
112
+ data: z.ZodOptional<z.ZodAny>;
113
+ mimeType: z.ZodOptional<z.ZodString>;
114
+ url: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ bytesBase64Encoded?: string | undefined;
117
+ data?: any;
118
+ mimeType?: string | undefined;
119
+ url?: string | undefined;
120
+ }, {
121
+ bytesBase64Encoded?: string | undefined;
122
+ data?: any;
123
+ mimeType?: string | undefined;
124
+ url?: string | undefined;
125
+ }>]>, "many">>;
61
126
  }, "strip", z.ZodTypeAny, {
62
127
  prompt: string;
63
128
  aspectRatio?: "9:16" | "16:9" | undefined;
@@ -78,6 +143,24 @@ declare const VideoGenerationSchema: z.ZodObject<{
78
143
  data?: string | undefined;
79
144
  mimeType?: string | undefined;
80
145
  } | undefined;
146
+ image?: string | {
147
+ bytesBase64Encoded?: string | undefined;
148
+ data?: any;
149
+ mimeType?: string | undefined;
150
+ url?: string | undefined;
151
+ } | undefined;
152
+ images?: (string | {
153
+ bytesBase64Encoded?: string | undefined;
154
+ data?: any;
155
+ mimeType?: string | undefined;
156
+ url?: string | undefined;
157
+ })[] | undefined;
158
+ attachments?: (string | {
159
+ bytesBase64Encoded?: string | undefined;
160
+ data?: any;
161
+ mimeType?: string | undefined;
162
+ url?: string | undefined;
163
+ })[] | undefined;
81
164
  }, {
82
165
  prompt: string;
83
166
  aspectRatio?: "9:16" | "16:9" | undefined;
@@ -98,6 +181,24 @@ declare const VideoGenerationSchema: z.ZodObject<{
98
181
  data?: string | undefined;
99
182
  mimeType?: string | undefined;
100
183
  } | undefined;
184
+ image?: string | {
185
+ bytesBase64Encoded?: string | undefined;
186
+ data?: any;
187
+ mimeType?: string | undefined;
188
+ url?: string | undefined;
189
+ } | undefined;
190
+ images?: (string | {
191
+ bytesBase64Encoded?: string | undefined;
192
+ data?: any;
193
+ mimeType?: string | undefined;
194
+ url?: string | undefined;
195
+ })[] | undefined;
196
+ attachments?: (string | {
197
+ bytesBase64Encoded?: string | undefined;
198
+ data?: any;
199
+ mimeType?: string | undefined;
200
+ url?: string | undefined;
201
+ })[] | undefined;
101
202
  }>;
102
203
  type VideoGenerationPayload = z.infer<typeof VideoGenerationSchema>;
103
204
  declare const VideoUpscaleSchema: z.ZodObject<{
@@ -7787,7 +7888,7 @@ declare const QueueJobSchema: z.ZodObject<{
7787
7888
  createdAt: z.ZodOptional<z.ZodAny>;
7788
7889
  updatedAt: z.ZodOptional<z.ZodAny>;
7789
7890
  }, "strip", z.ZodTypeAny, {
7790
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7891
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7791
7892
  status: "queued" | "completed" | "failed" | "processing";
7792
7893
  id: string;
7793
7894
  createdAt?: any;
@@ -7795,7 +7896,7 @@ declare const QueueJobSchema: z.ZodObject<{
7795
7896
  client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
7796
7897
  payload?: Record<string, any> | undefined;
7797
7898
  }, {
7798
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7899
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7799
7900
  status: "queued" | "completed" | "failed" | "processing";
7800
7901
  id: string;
7801
7902
  createdAt?: any;
@@ -11345,4 +11446,4 @@ declare const CRDTSnapshotSchema: z.ZodObject<{
11345
11446
  }>;
11346
11447
  type CRDTSnapshot = z.infer<typeof CRDTSnapshotSchema>;
11347
11448
 
11348
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
11449
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.d.ts CHANGED
@@ -22,6 +22,23 @@ declare const VideoFrameImageSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
22
22
  mimeType?: string | undefined;
23
23
  }>]>;
24
24
  type VideoFrameImage = z.infer<typeof VideoFrameImageSchema>;
25
+ declare const VideoAttachmentSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
26
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
27
+ data: z.ZodOptional<z.ZodAny>;
28
+ mimeType: z.ZodOptional<z.ZodString>;
29
+ url: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ bytesBase64Encoded?: string | undefined;
32
+ data?: any;
33
+ mimeType?: string | undefined;
34
+ url?: string | undefined;
35
+ }, {
36
+ bytesBase64Encoded?: string | undefined;
37
+ data?: any;
38
+ mimeType?: string | undefined;
39
+ url?: string | undefined;
40
+ }>]>;
41
+ type VideoAttachment = z.infer<typeof VideoAttachmentSchema>;
25
42
  declare const VideoGenerationSchema: z.ZodObject<{
26
43
  prompt: z.ZodString;
27
44
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
@@ -58,6 +75,54 @@ declare const VideoGenerationSchema: z.ZodObject<{
58
75
  data?: string | undefined;
59
76
  mimeType?: string | undefined;
60
77
  }>]>>;
78
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
79
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
80
+ data: z.ZodOptional<z.ZodAny>;
81
+ mimeType: z.ZodOptional<z.ZodString>;
82
+ url: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ bytesBase64Encoded?: string | undefined;
85
+ data?: any;
86
+ mimeType?: string | undefined;
87
+ url?: string | undefined;
88
+ }, {
89
+ bytesBase64Encoded?: string | undefined;
90
+ data?: any;
91
+ mimeType?: string | undefined;
92
+ url?: string | undefined;
93
+ }>]>>;
94
+ images: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
95
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
96
+ data: z.ZodOptional<z.ZodAny>;
97
+ mimeType: z.ZodOptional<z.ZodString>;
98
+ url: z.ZodOptional<z.ZodString>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ bytesBase64Encoded?: string | undefined;
101
+ data?: any;
102
+ mimeType?: string | undefined;
103
+ url?: string | undefined;
104
+ }, {
105
+ bytesBase64Encoded?: string | undefined;
106
+ data?: any;
107
+ mimeType?: string | undefined;
108
+ url?: string | undefined;
109
+ }>]>, "many">>;
110
+ attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
111
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
112
+ data: z.ZodOptional<z.ZodAny>;
113
+ mimeType: z.ZodOptional<z.ZodString>;
114
+ url: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ bytesBase64Encoded?: string | undefined;
117
+ data?: any;
118
+ mimeType?: string | undefined;
119
+ url?: string | undefined;
120
+ }, {
121
+ bytesBase64Encoded?: string | undefined;
122
+ data?: any;
123
+ mimeType?: string | undefined;
124
+ url?: string | undefined;
125
+ }>]>, "many">>;
61
126
  }, "strip", z.ZodTypeAny, {
62
127
  prompt: string;
63
128
  aspectRatio?: "9:16" | "16:9" | undefined;
@@ -78,6 +143,24 @@ declare const VideoGenerationSchema: z.ZodObject<{
78
143
  data?: string | undefined;
79
144
  mimeType?: string | undefined;
80
145
  } | undefined;
146
+ image?: string | {
147
+ bytesBase64Encoded?: string | undefined;
148
+ data?: any;
149
+ mimeType?: string | undefined;
150
+ url?: string | undefined;
151
+ } | undefined;
152
+ images?: (string | {
153
+ bytesBase64Encoded?: string | undefined;
154
+ data?: any;
155
+ mimeType?: string | undefined;
156
+ url?: string | undefined;
157
+ })[] | undefined;
158
+ attachments?: (string | {
159
+ bytesBase64Encoded?: string | undefined;
160
+ data?: any;
161
+ mimeType?: string | undefined;
162
+ url?: string | undefined;
163
+ })[] | undefined;
81
164
  }, {
82
165
  prompt: string;
83
166
  aspectRatio?: "9:16" | "16:9" | undefined;
@@ -98,6 +181,24 @@ declare const VideoGenerationSchema: z.ZodObject<{
98
181
  data?: string | undefined;
99
182
  mimeType?: string | undefined;
100
183
  } | undefined;
184
+ image?: string | {
185
+ bytesBase64Encoded?: string | undefined;
186
+ data?: any;
187
+ mimeType?: string | undefined;
188
+ url?: string | undefined;
189
+ } | undefined;
190
+ images?: (string | {
191
+ bytesBase64Encoded?: string | undefined;
192
+ data?: any;
193
+ mimeType?: string | undefined;
194
+ url?: string | undefined;
195
+ })[] | undefined;
196
+ attachments?: (string | {
197
+ bytesBase64Encoded?: string | undefined;
198
+ data?: any;
199
+ mimeType?: string | undefined;
200
+ url?: string | undefined;
201
+ })[] | undefined;
101
202
  }>;
102
203
  type VideoGenerationPayload = z.infer<typeof VideoGenerationSchema>;
103
204
  declare const VideoUpscaleSchema: z.ZodObject<{
@@ -7787,7 +7888,7 @@ declare const QueueJobSchema: z.ZodObject<{
7787
7888
  createdAt: z.ZodOptional<z.ZodAny>;
7788
7889
  updatedAt: z.ZodOptional<z.ZodAny>;
7789
7890
  }, "strip", z.ZodTypeAny, {
7790
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7891
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7791
7892
  status: "queued" | "completed" | "failed" | "processing";
7792
7893
  id: string;
7793
7894
  createdAt?: any;
@@ -7795,7 +7896,7 @@ declare const QueueJobSchema: z.ZodObject<{
7795
7896
  client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
7796
7897
  payload?: Record<string, any> | undefined;
7797
7898
  }, {
7798
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7899
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7799
7900
  status: "queued" | "completed" | "failed" | "processing";
7800
7901
  id: string;
7801
7902
  createdAt?: any;
@@ -11345,4 +11446,4 @@ declare const CRDTSnapshotSchema: z.ZodObject<{
11345
11446
  }>;
11346
11447
  type CRDTSnapshot = z.infer<typeof CRDTSnapshotSchema>;
11347
11448
 
11348
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
11449
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.js CHANGED
@@ -23,6 +23,15 @@ var VideoFrameImageSchema = z.union([
23
23
  mimeType: z.string().optional()
24
24
  })
25
25
  ]);
26
+ var VideoAttachmentSchema = z.union([
27
+ z.string(),
28
+ z.object({
29
+ bytesBase64Encoded: z.string().optional(),
30
+ data: z.any().optional(),
31
+ mimeType: z.string().optional(),
32
+ url: z.string().optional()
33
+ })
34
+ ]);
26
35
  var VideoGenerationSchema = z.object({
27
36
  prompt: z.string(),
28
37
  aspectRatio: VideoAspectRatioSchema.optional(),
@@ -34,7 +43,10 @@ var VideoGenerationSchema = z.object({
34
43
  isMultimedia: z.boolean().optional(),
35
44
  multimedia: z.boolean().optional(),
36
45
  firstFrame: VideoFrameImageSchema.optional(),
37
- lastFrame: VideoFrameImageSchema.optional()
46
+ lastFrame: VideoFrameImageSchema.optional(),
47
+ image: VideoAttachmentSchema.optional(),
48
+ images: z.array(VideoAttachmentSchema).optional(),
49
+ attachments: z.array(VideoAttachmentSchema).optional()
38
50
  });
39
51
  var VideoUpscaleSchema = z.object({
40
52
  video: z.string().optional(),
@@ -1540,6 +1552,7 @@ export {
1540
1552
  VideoAnalysisCategorySchema,
1541
1553
  VideoAnalysisSchema,
1542
1554
  VideoAspectRatioSchema,
1555
+ VideoAttachmentSchema,
1543
1556
  VideoCompositingSchema,
1544
1557
  VideoCompressionSchema,
1545
1558
  VideoFrameImageSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",