@pixerate/schemas 1.23.0 → 1.24.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
@@ -192,8 +192,10 @@ __export(index_exports, {
192
192
  SocialMediaTypeSchema: () => SocialMediaTypeSchema,
193
193
  SocialPlatformSchema: () => SocialPlatformSchema,
194
194
  SocialPostPayloadSchema: () => SocialPostPayloadSchema,
195
+ SocialProviderCapabilitiesSchema: () => SocialProviderCapabilitiesSchema,
195
196
  SocialPublishResultSchema: () => SocialPublishResultSchema,
196
197
  SocialSessionStatusSchema: () => SocialSessionStatusSchema,
198
+ SocialTextLengthUnitSchema: () => SocialTextLengthUnitSchema,
197
199
  SocialVideoGenerationSchema: () => SocialVideoGenerationSchema,
198
200
  StatItemSchema: () => StatItemSchema,
199
201
  StatsBlockSchema: () => StatsBlockSchema,
@@ -2297,8 +2299,36 @@ var SocialPostPayloadSchema = import_zod.z.object({
2297
2299
  mediaPath: import_zod.z.string().optional(),
2298
2300
  mediaType: SocialMediaTypeSchema.optional(),
2299
2301
  tags: import_zod.z.array(import_zod.z.string()).optional(),
2302
+ /** Accessibility description for the attached media, where the platform supports it. */
2303
+ altText: import_zod.z.string().optional(),
2300
2304
  metadata: import_zod.z.record(import_zod.z.unknown()).optional()
2301
2305
  });
2306
+ var SocialTextLengthUnitSchema = import_zod.z.enum(["characters", "graphemes", "weighted"]);
2307
+ var SocialProviderCapabilitiesSchema = import_zod.z.object({
2308
+ platform: SocialPlatformSchema,
2309
+ text: import_zod.z.object({
2310
+ maxLength: import_zod.z.number().int().positive(),
2311
+ unit: SocialTextLengthUnitSchema
2312
+ }),
2313
+ media: import_zod.z.object({
2314
+ /** Media types this provider can publish. Empty when the provider is text-only. */
2315
+ types: import_zod.z.array(SocialMediaTypeSchema),
2316
+ /** Whether a post must include media (e.g. TikTok, Instagram). */
2317
+ required: import_zod.z.boolean(),
2318
+ maxItems: import_zod.z.number().int().nonnegative(),
2319
+ maxImageBytes: import_zod.z.number().int().positive().optional(),
2320
+ maxVideoBytes: import_zod.z.number().int().positive().optional(),
2321
+ altText: import_zod.z.boolean()
2322
+ }),
2323
+ tags: import_zod.z.object({
2324
+ supported: import_zod.z.boolean(),
2325
+ maxCount: import_zod.z.number().int().nonnegative().optional()
2326
+ }),
2327
+ /** Whether the provider exposes replying to an existing post. */
2328
+ replies: import_zod.z.boolean(),
2329
+ /** Whether `PublishResult.url` is populated on success. */
2330
+ returnsUrl: import_zod.z.boolean()
2331
+ });
2302
2332
  var SocialPublishResultSchema = import_zod.z.object({
2303
2333
  success: import_zod.z.boolean(),
2304
2334
  platform: import_zod.z.string(),
@@ -2550,8 +2580,10 @@ var LlmsFullTxtConfigSchema = import_zod.z.object({
2550
2580
  SocialMediaTypeSchema,
2551
2581
  SocialPlatformSchema,
2552
2582
  SocialPostPayloadSchema,
2583
+ SocialProviderCapabilitiesSchema,
2553
2584
  SocialPublishResultSchema,
2554
2585
  SocialSessionStatusSchema,
2586
+ SocialTextLengthUnitSchema,
2555
2587
  SocialVideoGenerationSchema,
2556
2588
  StatItemSchema,
2557
2589
  StatsBlockSchema,
package/dist/index.d.cts CHANGED
@@ -15790,6 +15790,8 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
15790
15790
  mediaPath: z.ZodOptional<z.ZodString>;
15791
15791
  mediaType: z.ZodOptional<z.ZodEnum<["image", "video"]>>;
15792
15792
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15793
+ /** Accessibility description for the attached media, where the platform supports it. */
15794
+ altText: z.ZodOptional<z.ZodString>;
15793
15795
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15794
15796
  }, "strip", z.ZodTypeAny, {
15795
15797
  text: string;
@@ -15797,14 +15799,118 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
15797
15799
  metadata?: Record<string, unknown> | undefined;
15798
15800
  mediaPath?: string | undefined;
15799
15801
  mediaType?: "image" | "video" | undefined;
15802
+ altText?: string | undefined;
15800
15803
  }, {
15801
15804
  text: string;
15802
15805
  tags?: string[] | undefined;
15803
15806
  metadata?: Record<string, unknown> | undefined;
15804
15807
  mediaPath?: string | undefined;
15805
15808
  mediaType?: "image" | "video" | undefined;
15809
+ altText?: string | undefined;
15806
15810
  }>;
15807
15811
  type SocialPostPayload = z.infer<typeof SocialPostPayloadSchema>;
15812
+ /**
15813
+ * How a platform measures post length: JS-style characters, user-perceived graphemes
15814
+ * (Bluesky), or weighted counting where URLs and some scripts cost more (X/Twitter).
15815
+ */
15816
+ declare const SocialTextLengthUnitSchema: z.ZodEnum<["characters", "graphemes", "weighted"]>;
15817
+ type SocialTextLengthUnit = z.infer<typeof SocialTextLengthUnitSchema>;
15818
+ /**
15819
+ * Describes which parts of `SocialPostPayload` a provider honours and the limits it enforces,
15820
+ * so orchestrators can adapt content per platform instead of discovering limits by failure.
15821
+ */
15822
+ declare const SocialProviderCapabilitiesSchema: z.ZodObject<{
15823
+ platform: z.ZodEnum<["bluesky", "twitter", "linkedin", "tiktok", "instagram"]>;
15824
+ text: z.ZodObject<{
15825
+ maxLength: z.ZodNumber;
15826
+ unit: z.ZodEnum<["characters", "graphemes", "weighted"]>;
15827
+ }, "strip", z.ZodTypeAny, {
15828
+ maxLength: number;
15829
+ unit: "weighted" | "characters" | "graphemes";
15830
+ }, {
15831
+ maxLength: number;
15832
+ unit: "weighted" | "characters" | "graphemes";
15833
+ }>;
15834
+ media: z.ZodObject<{
15835
+ /** Media types this provider can publish. Empty when the provider is text-only. */
15836
+ types: z.ZodArray<z.ZodEnum<["image", "video"]>, "many">;
15837
+ /** Whether a post must include media (e.g. TikTok, Instagram). */
15838
+ required: z.ZodBoolean;
15839
+ maxItems: z.ZodNumber;
15840
+ maxImageBytes: z.ZodOptional<z.ZodNumber>;
15841
+ maxVideoBytes: z.ZodOptional<z.ZodNumber>;
15842
+ altText: z.ZodBoolean;
15843
+ }, "strip", z.ZodTypeAny, {
15844
+ required: boolean;
15845
+ maxItems: number;
15846
+ altText: boolean;
15847
+ types: ("image" | "video")[];
15848
+ maxImageBytes?: number | undefined;
15849
+ maxVideoBytes?: number | undefined;
15850
+ }, {
15851
+ required: boolean;
15852
+ maxItems: number;
15853
+ altText: boolean;
15854
+ types: ("image" | "video")[];
15855
+ maxImageBytes?: number | undefined;
15856
+ maxVideoBytes?: number | undefined;
15857
+ }>;
15858
+ tags: z.ZodObject<{
15859
+ supported: z.ZodBoolean;
15860
+ maxCount: z.ZodOptional<z.ZodNumber>;
15861
+ }, "strip", z.ZodTypeAny, {
15862
+ supported: boolean;
15863
+ maxCount?: number | undefined;
15864
+ }, {
15865
+ supported: boolean;
15866
+ maxCount?: number | undefined;
15867
+ }>;
15868
+ /** Whether the provider exposes replying to an existing post. */
15869
+ replies: z.ZodBoolean;
15870
+ /** Whether `PublishResult.url` is populated on success. */
15871
+ returnsUrl: z.ZodBoolean;
15872
+ }, "strip", z.ZodTypeAny, {
15873
+ text: {
15874
+ maxLength: number;
15875
+ unit: "weighted" | "characters" | "graphemes";
15876
+ };
15877
+ tags: {
15878
+ supported: boolean;
15879
+ maxCount?: number | undefined;
15880
+ };
15881
+ platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
15882
+ replies: boolean;
15883
+ media: {
15884
+ required: boolean;
15885
+ maxItems: number;
15886
+ altText: boolean;
15887
+ types: ("image" | "video")[];
15888
+ maxImageBytes?: number | undefined;
15889
+ maxVideoBytes?: number | undefined;
15890
+ };
15891
+ returnsUrl: boolean;
15892
+ }, {
15893
+ text: {
15894
+ maxLength: number;
15895
+ unit: "weighted" | "characters" | "graphemes";
15896
+ };
15897
+ tags: {
15898
+ supported: boolean;
15899
+ maxCount?: number | undefined;
15900
+ };
15901
+ platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
15902
+ replies: boolean;
15903
+ media: {
15904
+ required: boolean;
15905
+ maxItems: number;
15906
+ altText: boolean;
15907
+ types: ("image" | "video")[];
15908
+ maxImageBytes?: number | undefined;
15909
+ maxVideoBytes?: number | undefined;
15910
+ };
15911
+ returnsUrl: boolean;
15912
+ }>;
15913
+ type SocialProviderCapabilities = z.infer<typeof SocialProviderCapabilitiesSchema>;
15808
15914
  declare const SocialPublishResultSchema: z.ZodObject<{
15809
15915
  success: z.ZodBoolean;
15810
15916
  platform: z.ZodString;
@@ -16191,4 +16297,4 @@ declare const LlmsFullTxtConfigSchema: z.ZodObject<{
16191
16297
  }>;
16192
16298
  type LlmsFullTxtConfig = z.infer<typeof LlmsFullTxtConfigSchema>;
16193
16299
 
16194
- export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, 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, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
16300
+ export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, 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, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialProviderCapabilities, SocialProviderCapabilitiesSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialTextLengthUnit, SocialTextLengthUnitSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
package/dist/index.d.ts CHANGED
@@ -15790,6 +15790,8 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
15790
15790
  mediaPath: z.ZodOptional<z.ZodString>;
15791
15791
  mediaType: z.ZodOptional<z.ZodEnum<["image", "video"]>>;
15792
15792
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15793
+ /** Accessibility description for the attached media, where the platform supports it. */
15794
+ altText: z.ZodOptional<z.ZodString>;
15793
15795
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15794
15796
  }, "strip", z.ZodTypeAny, {
15795
15797
  text: string;
@@ -15797,14 +15799,118 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
15797
15799
  metadata?: Record<string, unknown> | undefined;
15798
15800
  mediaPath?: string | undefined;
15799
15801
  mediaType?: "image" | "video" | undefined;
15802
+ altText?: string | undefined;
15800
15803
  }, {
15801
15804
  text: string;
15802
15805
  tags?: string[] | undefined;
15803
15806
  metadata?: Record<string, unknown> | undefined;
15804
15807
  mediaPath?: string | undefined;
15805
15808
  mediaType?: "image" | "video" | undefined;
15809
+ altText?: string | undefined;
15806
15810
  }>;
15807
15811
  type SocialPostPayload = z.infer<typeof SocialPostPayloadSchema>;
15812
+ /**
15813
+ * How a platform measures post length: JS-style characters, user-perceived graphemes
15814
+ * (Bluesky), or weighted counting where URLs and some scripts cost more (X/Twitter).
15815
+ */
15816
+ declare const SocialTextLengthUnitSchema: z.ZodEnum<["characters", "graphemes", "weighted"]>;
15817
+ type SocialTextLengthUnit = z.infer<typeof SocialTextLengthUnitSchema>;
15818
+ /**
15819
+ * Describes which parts of `SocialPostPayload` a provider honours and the limits it enforces,
15820
+ * so orchestrators can adapt content per platform instead of discovering limits by failure.
15821
+ */
15822
+ declare const SocialProviderCapabilitiesSchema: z.ZodObject<{
15823
+ platform: z.ZodEnum<["bluesky", "twitter", "linkedin", "tiktok", "instagram"]>;
15824
+ text: z.ZodObject<{
15825
+ maxLength: z.ZodNumber;
15826
+ unit: z.ZodEnum<["characters", "graphemes", "weighted"]>;
15827
+ }, "strip", z.ZodTypeAny, {
15828
+ maxLength: number;
15829
+ unit: "weighted" | "characters" | "graphemes";
15830
+ }, {
15831
+ maxLength: number;
15832
+ unit: "weighted" | "characters" | "graphemes";
15833
+ }>;
15834
+ media: z.ZodObject<{
15835
+ /** Media types this provider can publish. Empty when the provider is text-only. */
15836
+ types: z.ZodArray<z.ZodEnum<["image", "video"]>, "many">;
15837
+ /** Whether a post must include media (e.g. TikTok, Instagram). */
15838
+ required: z.ZodBoolean;
15839
+ maxItems: z.ZodNumber;
15840
+ maxImageBytes: z.ZodOptional<z.ZodNumber>;
15841
+ maxVideoBytes: z.ZodOptional<z.ZodNumber>;
15842
+ altText: z.ZodBoolean;
15843
+ }, "strip", z.ZodTypeAny, {
15844
+ required: boolean;
15845
+ maxItems: number;
15846
+ altText: boolean;
15847
+ types: ("image" | "video")[];
15848
+ maxImageBytes?: number | undefined;
15849
+ maxVideoBytes?: number | undefined;
15850
+ }, {
15851
+ required: boolean;
15852
+ maxItems: number;
15853
+ altText: boolean;
15854
+ types: ("image" | "video")[];
15855
+ maxImageBytes?: number | undefined;
15856
+ maxVideoBytes?: number | undefined;
15857
+ }>;
15858
+ tags: z.ZodObject<{
15859
+ supported: z.ZodBoolean;
15860
+ maxCount: z.ZodOptional<z.ZodNumber>;
15861
+ }, "strip", z.ZodTypeAny, {
15862
+ supported: boolean;
15863
+ maxCount?: number | undefined;
15864
+ }, {
15865
+ supported: boolean;
15866
+ maxCount?: number | undefined;
15867
+ }>;
15868
+ /** Whether the provider exposes replying to an existing post. */
15869
+ replies: z.ZodBoolean;
15870
+ /** Whether `PublishResult.url` is populated on success. */
15871
+ returnsUrl: z.ZodBoolean;
15872
+ }, "strip", z.ZodTypeAny, {
15873
+ text: {
15874
+ maxLength: number;
15875
+ unit: "weighted" | "characters" | "graphemes";
15876
+ };
15877
+ tags: {
15878
+ supported: boolean;
15879
+ maxCount?: number | undefined;
15880
+ };
15881
+ platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
15882
+ replies: boolean;
15883
+ media: {
15884
+ required: boolean;
15885
+ maxItems: number;
15886
+ altText: boolean;
15887
+ types: ("image" | "video")[];
15888
+ maxImageBytes?: number | undefined;
15889
+ maxVideoBytes?: number | undefined;
15890
+ };
15891
+ returnsUrl: boolean;
15892
+ }, {
15893
+ text: {
15894
+ maxLength: number;
15895
+ unit: "weighted" | "characters" | "graphemes";
15896
+ };
15897
+ tags: {
15898
+ supported: boolean;
15899
+ maxCount?: number | undefined;
15900
+ };
15901
+ platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
15902
+ replies: boolean;
15903
+ media: {
15904
+ required: boolean;
15905
+ maxItems: number;
15906
+ altText: boolean;
15907
+ types: ("image" | "video")[];
15908
+ maxImageBytes?: number | undefined;
15909
+ maxVideoBytes?: number | undefined;
15910
+ };
15911
+ returnsUrl: boolean;
15912
+ }>;
15913
+ type SocialProviderCapabilities = z.infer<typeof SocialProviderCapabilitiesSchema>;
15808
15914
  declare const SocialPublishResultSchema: z.ZodObject<{
15809
15915
  success: z.ZodBoolean;
15810
15916
  platform: z.ZodString;
@@ -16191,4 +16297,4 @@ declare const LlmsFullTxtConfigSchema: z.ZodObject<{
16191
16297
  }>;
16192
16298
  type LlmsFullTxtConfig = z.infer<typeof LlmsFullTxtConfigSchema>;
16193
16299
 
16194
- export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, 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, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
16300
+ export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, 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, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialProviderCapabilities, SocialProviderCapabilitiesSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialTextLengthUnit, SocialTextLengthUnitSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
package/dist/index.js CHANGED
@@ -2034,8 +2034,36 @@ var SocialPostPayloadSchema = z.object({
2034
2034
  mediaPath: z.string().optional(),
2035
2035
  mediaType: SocialMediaTypeSchema.optional(),
2036
2036
  tags: z.array(z.string()).optional(),
2037
+ /** Accessibility description for the attached media, where the platform supports it. */
2038
+ altText: z.string().optional(),
2037
2039
  metadata: z.record(z.unknown()).optional()
2038
2040
  });
2041
+ var SocialTextLengthUnitSchema = z.enum(["characters", "graphemes", "weighted"]);
2042
+ var SocialProviderCapabilitiesSchema = z.object({
2043
+ platform: SocialPlatformSchema,
2044
+ text: z.object({
2045
+ maxLength: z.number().int().positive(),
2046
+ unit: SocialTextLengthUnitSchema
2047
+ }),
2048
+ media: z.object({
2049
+ /** Media types this provider can publish. Empty when the provider is text-only. */
2050
+ types: z.array(SocialMediaTypeSchema),
2051
+ /** Whether a post must include media (e.g. TikTok, Instagram). */
2052
+ required: z.boolean(),
2053
+ maxItems: z.number().int().nonnegative(),
2054
+ maxImageBytes: z.number().int().positive().optional(),
2055
+ maxVideoBytes: z.number().int().positive().optional(),
2056
+ altText: z.boolean()
2057
+ }),
2058
+ tags: z.object({
2059
+ supported: z.boolean(),
2060
+ maxCount: z.number().int().nonnegative().optional()
2061
+ }),
2062
+ /** Whether the provider exposes replying to an existing post. */
2063
+ replies: z.boolean(),
2064
+ /** Whether `PublishResult.url` is populated on success. */
2065
+ returnsUrl: z.boolean()
2066
+ });
2039
2067
  var SocialPublishResultSchema = z.object({
2040
2068
  success: z.boolean(),
2041
2069
  platform: z.string(),
@@ -2286,8 +2314,10 @@ export {
2286
2314
  SocialMediaTypeSchema,
2287
2315
  SocialPlatformSchema,
2288
2316
  SocialPostPayloadSchema,
2317
+ SocialProviderCapabilitiesSchema,
2289
2318
  SocialPublishResultSchema,
2290
2319
  SocialSessionStatusSchema,
2320
+ SocialTextLengthUnitSchema,
2291
2321
  SocialVideoGenerationSchema,
2292
2322
  StatItemSchema,
2293
2323
  StatsBlockSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",