@pixerate/schemas 1.25.0 → 1.26.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 +12 -1
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +11 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -142,6 +142,7 @@ __export(index_exports, {
|
|
|
142
142
|
NotificationActorSchema: () => NotificationActorSchema,
|
|
143
143
|
NotificationCategorySchema: () => NotificationCategorySchema,
|
|
144
144
|
NotificationChannelSchema: () => NotificationChannelSchema,
|
|
145
|
+
NotificationDeferredReasonSchema: () => NotificationDeferredReasonSchema,
|
|
145
146
|
NotificationDeliveryRecordSchema: () => NotificationDeliveryRecordSchema,
|
|
146
147
|
NotificationDeliveryStateSchema: () => NotificationDeliveryStateSchema,
|
|
147
148
|
NotificationPreferencesSchema: () => NotificationPreferencesSchema,
|
|
@@ -2037,6 +2038,7 @@ var NotificationSchema = import_zod.z.object({
|
|
|
2037
2038
|
readAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
2038
2039
|
archivedAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
|
|
2039
2040
|
});
|
|
2041
|
+
var NotificationDeferredReasonSchema = import_zod.z.enum(["retry", "quiet_hours", "digest"]);
|
|
2040
2042
|
var NotificationDeliveryRecordSchema = import_zod.z.object({
|
|
2041
2043
|
id: import_zod.z.string(),
|
|
2042
2044
|
notificationId: import_zod.z.string(),
|
|
@@ -2044,7 +2046,15 @@ var NotificationDeliveryRecordSchema = import_zod.z.object({
|
|
|
2044
2046
|
state: NotificationDeliveryStateSchema,
|
|
2045
2047
|
error: import_zod.z.string().optional(),
|
|
2046
2048
|
sentAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
2047
|
-
deliveredAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
|
|
2049
|
+
deliveredAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
2050
|
+
/** Recipient of the notification, so pending deliveries can be grouped (digests) and queried per user. */
|
|
2051
|
+
recipientId: import_zod.z.string().optional(),
|
|
2052
|
+
/** Delivery attempts made so far, including the first. */
|
|
2053
|
+
attempts: import_zod.z.number().int().nonnegative().optional(),
|
|
2054
|
+
lastAttemptAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
2055
|
+
/** When a `pending` delivery becomes due (next retry, end of quiet hours, or digest send time). */
|
|
2056
|
+
nextAttemptAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
2057
|
+
deferredReason: NotificationDeferredReasonSchema.optional()
|
|
2048
2058
|
});
|
|
2049
2059
|
var ChannelPreferencesSchema = import_zod.z.object({
|
|
2050
2060
|
in_app: import_zod.z.boolean().default(true),
|
|
@@ -2538,6 +2548,7 @@ var LlmsFullTxtConfigSchema = import_zod.z.object({
|
|
|
2538
2548
|
NotificationActorSchema,
|
|
2539
2549
|
NotificationCategorySchema,
|
|
2540
2550
|
NotificationChannelSchema,
|
|
2551
|
+
NotificationDeferredReasonSchema,
|
|
2541
2552
|
NotificationDeliveryRecordSchema,
|
|
2542
2553
|
NotificationDeliveryStateSchema,
|
|
2543
2554
|
NotificationPreferencesSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -14429,6 +14429,9 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
14429
14429
|
archivedAt?: string | number | Date | undefined;
|
|
14430
14430
|
}>;
|
|
14431
14431
|
type Notification = z.infer<typeof NotificationSchema>;
|
|
14432
|
+
/** Why a `pending` delivery is waiting: a scheduled retry, the recipient's quiet hours, or an email digest. */
|
|
14433
|
+
declare const NotificationDeferredReasonSchema: z.ZodEnum<["retry", "quiet_hours", "digest"]>;
|
|
14434
|
+
type NotificationDeferredReason = z.infer<typeof NotificationDeferredReasonSchema>;
|
|
14432
14435
|
declare const NotificationDeliveryRecordSchema: z.ZodObject<{
|
|
14433
14436
|
id: z.ZodString;
|
|
14434
14437
|
notificationId: z.ZodString;
|
|
@@ -14437,22 +14440,40 @@ declare const NotificationDeliveryRecordSchema: z.ZodObject<{
|
|
|
14437
14440
|
error: z.ZodOptional<z.ZodString>;
|
|
14438
14441
|
sentAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14439
14442
|
deliveredAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14443
|
+
/** Recipient of the notification, so pending deliveries can be grouped (digests) and queried per user. */
|
|
14444
|
+
recipientId: z.ZodOptional<z.ZodString>;
|
|
14445
|
+
/** Delivery attempts made so far, including the first. */
|
|
14446
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
14447
|
+
lastAttemptAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14448
|
+
/** When a `pending` delivery becomes due (next retry, end of quiet hours, or digest send time). */
|
|
14449
|
+
nextAttemptAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14450
|
+
deferredReason: z.ZodOptional<z.ZodEnum<["retry", "quiet_hours", "digest"]>>;
|
|
14440
14451
|
}, "strip", z.ZodTypeAny, {
|
|
14441
14452
|
id: string;
|
|
14442
14453
|
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
14443
14454
|
notificationId: string;
|
|
14444
14455
|
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
14445
14456
|
error?: string | undefined;
|
|
14457
|
+
recipientId?: string | undefined;
|
|
14446
14458
|
sentAt?: string | number | Date | undefined;
|
|
14447
14459
|
deliveredAt?: string | number | Date | undefined;
|
|
14460
|
+
attempts?: number | undefined;
|
|
14461
|
+
lastAttemptAt?: string | number | Date | undefined;
|
|
14462
|
+
nextAttemptAt?: string | number | Date | undefined;
|
|
14463
|
+
deferredReason?: "retry" | "quiet_hours" | "digest" | undefined;
|
|
14448
14464
|
}, {
|
|
14449
14465
|
id: string;
|
|
14450
14466
|
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
14451
14467
|
notificationId: string;
|
|
14452
14468
|
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
14453
14469
|
error?: string | undefined;
|
|
14470
|
+
recipientId?: string | undefined;
|
|
14454
14471
|
sentAt?: string | number | Date | undefined;
|
|
14455
14472
|
deliveredAt?: string | number | Date | undefined;
|
|
14473
|
+
attempts?: number | undefined;
|
|
14474
|
+
lastAttemptAt?: string | number | Date | undefined;
|
|
14475
|
+
nextAttemptAt?: string | number | Date | undefined;
|
|
14476
|
+
deferredReason?: "retry" | "quiet_hours" | "digest" | undefined;
|
|
14456
14477
|
}>;
|
|
14457
14478
|
type NotificationDeliveryRecord = z.infer<typeof NotificationDeliveryRecordSchema>;
|
|
14458
14479
|
declare const ChannelPreferencesSchema: z.ZodObject<{
|
|
@@ -16313,4 +16334,4 @@ declare const LlmsFullTxtConfigSchema: z.ZodObject<{
|
|
|
16313
16334
|
}>;
|
|
16314
16335
|
type LlmsFullTxtConfig = z.infer<typeof LlmsFullTxtConfigSchema>;
|
|
16315
16336
|
|
|
16316
|
-
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 };
|
|
16337
|
+
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 NotificationDeferredReason, NotificationDeferredReasonSchema, 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
|
@@ -14429,6 +14429,9 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
14429
14429
|
archivedAt?: string | number | Date | undefined;
|
|
14430
14430
|
}>;
|
|
14431
14431
|
type Notification = z.infer<typeof NotificationSchema>;
|
|
14432
|
+
/** Why a `pending` delivery is waiting: a scheduled retry, the recipient's quiet hours, or an email digest. */
|
|
14433
|
+
declare const NotificationDeferredReasonSchema: z.ZodEnum<["retry", "quiet_hours", "digest"]>;
|
|
14434
|
+
type NotificationDeferredReason = z.infer<typeof NotificationDeferredReasonSchema>;
|
|
14432
14435
|
declare const NotificationDeliveryRecordSchema: z.ZodObject<{
|
|
14433
14436
|
id: z.ZodString;
|
|
14434
14437
|
notificationId: z.ZodString;
|
|
@@ -14437,22 +14440,40 @@ declare const NotificationDeliveryRecordSchema: z.ZodObject<{
|
|
|
14437
14440
|
error: z.ZodOptional<z.ZodString>;
|
|
14438
14441
|
sentAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14439
14442
|
deliveredAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14443
|
+
/** Recipient of the notification, so pending deliveries can be grouped (digests) and queried per user. */
|
|
14444
|
+
recipientId: z.ZodOptional<z.ZodString>;
|
|
14445
|
+
/** Delivery attempts made so far, including the first. */
|
|
14446
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
14447
|
+
lastAttemptAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14448
|
+
/** When a `pending` delivery becomes due (next retry, end of quiet hours, or digest send time). */
|
|
14449
|
+
nextAttemptAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
14450
|
+
deferredReason: z.ZodOptional<z.ZodEnum<["retry", "quiet_hours", "digest"]>>;
|
|
14440
14451
|
}, "strip", z.ZodTypeAny, {
|
|
14441
14452
|
id: string;
|
|
14442
14453
|
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
14443
14454
|
notificationId: string;
|
|
14444
14455
|
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
14445
14456
|
error?: string | undefined;
|
|
14457
|
+
recipientId?: string | undefined;
|
|
14446
14458
|
sentAt?: string | number | Date | undefined;
|
|
14447
14459
|
deliveredAt?: string | number | Date | undefined;
|
|
14460
|
+
attempts?: number | undefined;
|
|
14461
|
+
lastAttemptAt?: string | number | Date | undefined;
|
|
14462
|
+
nextAttemptAt?: string | number | Date | undefined;
|
|
14463
|
+
deferredReason?: "retry" | "quiet_hours" | "digest" | undefined;
|
|
14448
14464
|
}, {
|
|
14449
14465
|
id: string;
|
|
14450
14466
|
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
14451
14467
|
notificationId: string;
|
|
14452
14468
|
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
14453
14469
|
error?: string | undefined;
|
|
14470
|
+
recipientId?: string | undefined;
|
|
14454
14471
|
sentAt?: string | number | Date | undefined;
|
|
14455
14472
|
deliveredAt?: string | number | Date | undefined;
|
|
14473
|
+
attempts?: number | undefined;
|
|
14474
|
+
lastAttemptAt?: string | number | Date | undefined;
|
|
14475
|
+
nextAttemptAt?: string | number | Date | undefined;
|
|
14476
|
+
deferredReason?: "retry" | "quiet_hours" | "digest" | undefined;
|
|
14456
14477
|
}>;
|
|
14457
14478
|
type NotificationDeliveryRecord = z.infer<typeof NotificationDeliveryRecordSchema>;
|
|
14458
14479
|
declare const ChannelPreferencesSchema: z.ZodObject<{
|
|
@@ -16313,4 +16334,4 @@ declare const LlmsFullTxtConfigSchema: z.ZodObject<{
|
|
|
16313
16334
|
}>;
|
|
16314
16335
|
type LlmsFullTxtConfig = z.infer<typeof LlmsFullTxtConfigSchema>;
|
|
16315
16336
|
|
|
16316
|
-
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 };
|
|
16337
|
+
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 NotificationDeferredReason, NotificationDeferredReasonSchema, 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
|
@@ -1772,6 +1772,7 @@ var NotificationSchema = z.object({
|
|
|
1772
1772
|
readAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1773
1773
|
archivedAt: z.union([z.string(), z.number(), z.date()]).optional()
|
|
1774
1774
|
});
|
|
1775
|
+
var NotificationDeferredReasonSchema = z.enum(["retry", "quiet_hours", "digest"]);
|
|
1775
1776
|
var NotificationDeliveryRecordSchema = z.object({
|
|
1776
1777
|
id: z.string(),
|
|
1777
1778
|
notificationId: z.string(),
|
|
@@ -1779,7 +1780,15 @@ var NotificationDeliveryRecordSchema = z.object({
|
|
|
1779
1780
|
state: NotificationDeliveryStateSchema,
|
|
1780
1781
|
error: z.string().optional(),
|
|
1781
1782
|
sentAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1782
|
-
deliveredAt: z.union([z.string(), z.number(), z.date()]).optional()
|
|
1783
|
+
deliveredAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1784
|
+
/** Recipient of the notification, so pending deliveries can be grouped (digests) and queried per user. */
|
|
1785
|
+
recipientId: z.string().optional(),
|
|
1786
|
+
/** Delivery attempts made so far, including the first. */
|
|
1787
|
+
attempts: z.number().int().nonnegative().optional(),
|
|
1788
|
+
lastAttemptAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1789
|
+
/** When a `pending` delivery becomes due (next retry, end of quiet hours, or digest send time). */
|
|
1790
|
+
nextAttemptAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1791
|
+
deferredReason: NotificationDeferredReasonSchema.optional()
|
|
1783
1792
|
});
|
|
1784
1793
|
var ChannelPreferencesSchema = z.object({
|
|
1785
1794
|
in_app: z.boolean().default(true),
|
|
@@ -2272,6 +2281,7 @@ export {
|
|
|
2272
2281
|
NotificationActorSchema,
|
|
2273
2282
|
NotificationCategorySchema,
|
|
2274
2283
|
NotificationChannelSchema,
|
|
2284
|
+
NotificationDeferredReasonSchema,
|
|
2275
2285
|
NotificationDeliveryRecordSchema,
|
|
2276
2286
|
NotificationDeliveryStateSchema,
|
|
2277
2287
|
NotificationPreferencesSchema,
|