@pixerate/schemas 1.14.0 → 1.16.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
@@ -52,6 +52,7 @@ __export(index_exports, {
52
52
  AuthUserSchema: () => AuthUserSchema,
53
53
  AutoFitCaptionSchema: () => AutoFitCaptionSchema,
54
54
  CRDTSnapshotSchema: () => CRDTSnapshotSchema,
55
+ ChannelPreferencesSchema: () => ChannelPreferencesSchema,
55
56
  CodeGenerationSchema: () => CodeGenerationSchema,
56
57
  ComponentDependencySchema: () => ComponentDependencySchema,
57
58
  ComponentDocsSchema: () => ComponentDocsSchema,
@@ -72,6 +73,8 @@ __export(index_exports, {
72
73
  DisplacementMapSchema: () => DisplacementMapSchema,
73
74
  DocumentGenerationOptionsSchema: () => DocumentGenerationOptionsSchema,
74
75
  DropShadowSchema: () => DropShadowSchema,
76
+ EmailAttachmentSchema: () => EmailAttachmentSchema,
77
+ EmailMessageSchema: () => EmailMessageSchema,
75
78
  ExternalPackageDependencySchema: () => ExternalPackageDependencySchema,
76
79
  FORM_SCHEMA_JSON_SCHEMA: () => FORM_SCHEMA_JSON_SCHEMA,
77
80
  FidelitySchema: () => FidelitySchema,
@@ -109,6 +112,15 @@ __export(index_exports, {
109
112
  LockReleaseRequestSchema: () => LockReleaseRequestSchema,
110
113
  LockStatusSchema: () => LockStatusSchema,
111
114
  MediaProbeResultSchema: () => MediaProbeResultSchema,
115
+ NotificationActorSchema: () => NotificationActorSchema,
116
+ NotificationCategorySchema: () => NotificationCategorySchema,
117
+ NotificationChannelSchema: () => NotificationChannelSchema,
118
+ NotificationDeliveryRecordSchema: () => NotificationDeliveryRecordSchema,
119
+ NotificationDeliveryStateSchema: () => NotificationDeliveryStateSchema,
120
+ NotificationPreferencesSchema: () => NotificationPreferencesSchema,
121
+ NotificationPrioritySchema: () => NotificationPrioritySchema,
122
+ NotificationSchema: () => NotificationSchema,
123
+ NotificationStatusSchema: () => NotificationStatusSchema,
112
124
  OTJsonOpSchema: () => OTJsonOpSchema,
113
125
  OTJsonOpTypeSchema: () => OTJsonOpTypeSchema,
114
126
  OTOperationSchema: () => OTOperationSchema,
@@ -146,6 +158,7 @@ __export(index_exports, {
146
158
  SubmissionScoreSchema: () => SubmissionScoreSchema,
147
159
  SubtitleBurnOptionsSchema: () => SubtitleBurnOptionsSchema,
148
160
  SubtitleFormatSchema: () => SubtitleFormatSchema,
161
+ TaskUnreadSummarySchema: () => TaskUnreadSummarySchema,
149
162
  TeamMemberDocSchema: () => TeamMemberDocSchema,
150
163
  TeamMemberSchema: () => TeamMemberSchema,
151
164
  TeamRoleSchema: () => TeamRoleSchema,
@@ -235,6 +248,7 @@ var VideoGenerationSchema = import_zod.z.object({
235
248
  durationSeconds: import_zod.z.number().int().optional(),
236
249
  generateAudio: import_zod.z.boolean().optional(),
237
250
  modelName: import_zod.z.string().optional(),
251
+ lowCost: import_zod.z.boolean().optional(),
238
252
  resolution: VideoResolutionSchema.optional(),
239
253
  fps: import_zod.z.number().optional(),
240
254
  isMultimedia: import_zod.z.boolean().optional(),
@@ -345,6 +359,7 @@ var SocialVideoGenerationSchema = import_zod.z.object({
345
359
  audioPrompt: import_zod.z.string().optional(),
346
360
  aspectRatio: VideoAspectRatioSchema.optional(),
347
361
  durationSeconds: import_zod.z.number().int().optional(),
362
+ lowCost: import_zod.z.boolean().optional(),
348
363
  hook: import_zod.z.union([import_zod.z.string(), TextOverlaySchema]).optional(),
349
364
  watermark: import_zod.z.union([import_zod.z.string(), WatermarkSchema]).optional()
350
365
  });
@@ -1815,6 +1830,97 @@ var FuelPlanSchema = import_zod.z.object({
1815
1830
  rateLimits: import_zod.z.record(import_zod.z.number()).optional()
1816
1831
  });
1817
1832
  var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative());
1833
+ var NotificationChannelSchema = import_zod.z.enum(["in_app", "email", "web_push", "webhook", "sms"]);
1834
+ var NotificationPrioritySchema = import_zod.z.enum(["low", "normal", "high", "urgent"]);
1835
+ var NotificationCategorySchema = import_zod.z.enum([
1836
+ "mention",
1837
+ "reply",
1838
+ "team_invite",
1839
+ "fuel_alert",
1840
+ "system",
1841
+ "job_completed",
1842
+ "job_failed",
1843
+ "custom"
1844
+ ]);
1845
+ var NotificationStatusSchema = import_zod.z.enum(["unread", "read", "archived"]);
1846
+ var NotificationDeliveryStateSchema = import_zod.z.enum(["pending", "sent", "delivered", "failed", "skipped"]);
1847
+ var NotificationActorSchema = import_zod.z.object({
1848
+ id: import_zod.z.string(),
1849
+ name: import_zod.z.string().optional(),
1850
+ email: import_zod.z.string().optional(),
1851
+ avatarUrl: import_zod.z.string().optional(),
1852
+ type: import_zod.z.enum(["user", "agent", "system"]).optional().default("user")
1853
+ });
1854
+ var NotificationSchema = import_zod.z.object({
1855
+ id: import_zod.z.string(),
1856
+ recipientId: import_zod.z.string(),
1857
+ recipientEmail: import_zod.z.string().optional(),
1858
+ title: import_zod.z.string(),
1859
+ body: import_zod.z.string(),
1860
+ richContent: import_zod.z.string().optional(),
1861
+ category: NotificationCategorySchema.default("system"),
1862
+ priority: NotificationPrioritySchema.default("normal"),
1863
+ channels: import_zod.z.array(NotificationChannelSchema).default(["in_app"]),
1864
+ status: NotificationStatusSchema.default("unread"),
1865
+ actor: NotificationActorSchema.optional(),
1866
+ targetType: import_zod.z.string().optional(),
1867
+ targetId: import_zod.z.string().optional(),
1868
+ actionUrl: import_zod.z.string().optional(),
1869
+ metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({}),
1870
+ createdAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString()),
1871
+ readAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
1872
+ archivedAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
1873
+ });
1874
+ var NotificationDeliveryRecordSchema = import_zod.z.object({
1875
+ id: import_zod.z.string(),
1876
+ notificationId: import_zod.z.string(),
1877
+ channel: NotificationChannelSchema,
1878
+ state: NotificationDeliveryStateSchema,
1879
+ error: import_zod.z.string().optional(),
1880
+ sentAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
1881
+ deliveredAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
1882
+ });
1883
+ var ChannelPreferencesSchema = import_zod.z.object({
1884
+ in_app: import_zod.z.boolean().default(true),
1885
+ email: import_zod.z.boolean().default(true),
1886
+ web_push: import_zod.z.boolean().default(false),
1887
+ webhook: import_zod.z.boolean().default(false)
1888
+ });
1889
+ var NotificationPreferencesSchema = import_zod.z.object({
1890
+ userId: import_zod.z.string(),
1891
+ channels: import_zod.z.record(NotificationCategorySchema, ChannelPreferencesSchema).optional().default({}),
1892
+ emailDigest: import_zod.z.enum(["instant", "hourly", "daily", "weekly", "never"]).default("instant"),
1893
+ quietHours: import_zod.z.object({
1894
+ enabled: import_zod.z.boolean().default(false),
1895
+ startHourUtc: import_zod.z.number().int().min(0).max(23).default(22),
1896
+ endHourUtc: import_zod.z.number().int().min(0).max(23).default(8)
1897
+ }).optional(),
1898
+ updatedAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString())
1899
+ });
1900
+ var EmailAttachmentSchema = import_zod.z.object({
1901
+ filename: import_zod.z.string(),
1902
+ content: import_zod.z.union([import_zod.z.string(), import_zod.z.instanceof(Uint8Array)]),
1903
+ contentType: import_zod.z.string().optional()
1904
+ });
1905
+ var EmailMessageSchema = import_zod.z.object({
1906
+ to: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]),
1907
+ from: import_zod.z.string().optional(),
1908
+ cc: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]).optional(),
1909
+ bcc: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]).optional(),
1910
+ subject: import_zod.z.string(),
1911
+ text: import_zod.z.string().optional(),
1912
+ html: import_zod.z.string().optional(),
1913
+ replyTo: import_zod.z.string().optional(),
1914
+ headers: import_zod.z.record(import_zod.z.string()).optional(),
1915
+ templateId: import_zod.z.string().optional(),
1916
+ templateVariables: import_zod.z.record(import_zod.z.unknown()).optional(),
1917
+ attachments: import_zod.z.array(EmailAttachmentSchema).optional()
1918
+ });
1919
+ var TaskUnreadSummarySchema = import_zod.z.object({
1920
+ mentions: import_zod.z.number().nonnegative().default(0),
1921
+ replies: import_zod.z.number().nonnegative().default(0),
1922
+ total: import_zod.z.number().nonnegative().default(0)
1923
+ });
1818
1924
  // Annotate the CommonJS export names for ESM import in node:
1819
1925
  0 && (module.exports = {
1820
1926
  ActivityActionSchema,
@@ -1849,6 +1955,7 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
1849
1955
  AuthUserSchema,
1850
1956
  AutoFitCaptionSchema,
1851
1957
  CRDTSnapshotSchema,
1958
+ ChannelPreferencesSchema,
1852
1959
  CodeGenerationSchema,
1853
1960
  ComponentDependencySchema,
1854
1961
  ComponentDocsSchema,
@@ -1869,6 +1976,8 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
1869
1976
  DisplacementMapSchema,
1870
1977
  DocumentGenerationOptionsSchema,
1871
1978
  DropShadowSchema,
1979
+ EmailAttachmentSchema,
1980
+ EmailMessageSchema,
1872
1981
  ExternalPackageDependencySchema,
1873
1982
  FORM_SCHEMA_JSON_SCHEMA,
1874
1983
  FidelitySchema,
@@ -1906,6 +2015,15 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
1906
2015
  LockReleaseRequestSchema,
1907
2016
  LockStatusSchema,
1908
2017
  MediaProbeResultSchema,
2018
+ NotificationActorSchema,
2019
+ NotificationCategorySchema,
2020
+ NotificationChannelSchema,
2021
+ NotificationDeliveryRecordSchema,
2022
+ NotificationDeliveryStateSchema,
2023
+ NotificationPreferencesSchema,
2024
+ NotificationPrioritySchema,
2025
+ NotificationSchema,
2026
+ NotificationStatusSchema,
1909
2027
  OTJsonOpSchema,
1910
2028
  OTJsonOpTypeSchema,
1911
2029
  OTOperationSchema,
@@ -1943,6 +2061,7 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
1943
2061
  SubmissionScoreSchema,
1944
2062
  SubtitleBurnOptionsSchema,
1945
2063
  SubtitleFormatSchema,
2064
+ TaskUnreadSummarySchema,
1946
2065
  TeamMemberDocSchema,
1947
2066
  TeamMemberSchema,
1948
2067
  TeamRoleSchema,
package/dist/index.d.cts CHANGED
@@ -45,6 +45,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
45
45
  durationSeconds: z.ZodOptional<z.ZodNumber>;
46
46
  generateAudio: z.ZodOptional<z.ZodBoolean>;
47
47
  modelName: z.ZodOptional<z.ZodString>;
48
+ lowCost: z.ZodOptional<z.ZodBoolean>;
48
49
  resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
49
50
  fps: z.ZodOptional<z.ZodNumber>;
50
51
  isMultimedia: z.ZodOptional<z.ZodBoolean>;
@@ -129,6 +130,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
129
130
  durationSeconds?: number | undefined;
130
131
  generateAudio?: boolean | undefined;
131
132
  modelName?: string | undefined;
133
+ lowCost?: boolean | undefined;
132
134
  resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
133
135
  fps?: number | undefined;
134
136
  isMultimedia?: boolean | undefined;
@@ -167,6 +169,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
167
169
  durationSeconds?: number | undefined;
168
170
  generateAudio?: boolean | undefined;
169
171
  modelName?: string | undefined;
172
+ lowCost?: boolean | undefined;
170
173
  resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
171
174
  fps?: number | undefined;
172
175
  isMultimedia?: boolean | undefined;
@@ -1174,6 +1177,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
1174
1177
  audioPrompt: z.ZodOptional<z.ZodString>;
1175
1178
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
1176
1179
  durationSeconds: z.ZodOptional<z.ZodNumber>;
1180
+ lowCost: z.ZodOptional<z.ZodBoolean>;
1177
1181
  hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1178
1182
  text: z.ZodString;
1179
1183
  style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
@@ -1476,6 +1480,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
1476
1480
  prompt: string;
1477
1481
  aspectRatio?: "9:16" | "16:9" | undefined;
1478
1482
  durationSeconds?: number | undefined;
1483
+ lowCost?: boolean | undefined;
1479
1484
  watermark?: string | {
1480
1485
  text?: string | undefined;
1481
1486
  imagePath?: string | undefined;
@@ -1559,6 +1564,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
1559
1564
  prompt: string;
1560
1565
  aspectRatio?: "9:16" | "16:9" | undefined;
1561
1566
  durationSeconds?: number | undefined;
1567
+ lowCost?: boolean | undefined;
1562
1568
  watermark?: string | {
1563
1569
  text?: string | undefined;
1564
1570
  imagePath?: string | undefined;
@@ -12776,5 +12782,321 @@ declare const FuelPlanSchema: z.ZodObject<{
12776
12782
  type FuelPlan = z.infer<typeof FuelPlanSchema>;
12777
12783
  declare const FuelCostMapSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
12778
12784
  type FuelCostMap = z.infer<typeof FuelCostMapSchema>;
12785
+ declare const NotificationChannelSchema: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
12786
+ type NotificationChannel = z.infer<typeof NotificationChannelSchema>;
12787
+ declare const NotificationPrioritySchema: z.ZodEnum<["low", "normal", "high", "urgent"]>;
12788
+ type NotificationPriority = z.infer<typeof NotificationPrioritySchema>;
12789
+ declare const NotificationCategorySchema: z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>;
12790
+ type NotificationCategory = z.infer<typeof NotificationCategorySchema>;
12791
+ declare const NotificationStatusSchema: z.ZodEnum<["unread", "read", "archived"]>;
12792
+ type NotificationStatus = z.infer<typeof NotificationStatusSchema>;
12793
+ declare const NotificationDeliveryStateSchema: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
12794
+ type NotificationDeliveryState = z.infer<typeof NotificationDeliveryStateSchema>;
12795
+ declare const NotificationActorSchema: z.ZodObject<{
12796
+ id: z.ZodString;
12797
+ name: z.ZodOptional<z.ZodString>;
12798
+ email: z.ZodOptional<z.ZodString>;
12799
+ avatarUrl: z.ZodOptional<z.ZodString>;
12800
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
12801
+ }, "strip", z.ZodTypeAny, {
12802
+ type: "agent" | "user" | "system";
12803
+ id: string;
12804
+ name?: string | undefined;
12805
+ email?: string | undefined;
12806
+ avatarUrl?: string | undefined;
12807
+ }, {
12808
+ id: string;
12809
+ type?: "agent" | "user" | "system" | undefined;
12810
+ name?: string | undefined;
12811
+ email?: string | undefined;
12812
+ avatarUrl?: string | undefined;
12813
+ }>;
12814
+ type NotificationActor = z.infer<typeof NotificationActorSchema>;
12815
+ declare const NotificationSchema: z.ZodObject<{
12816
+ id: z.ZodString;
12817
+ recipientId: z.ZodString;
12818
+ recipientEmail: z.ZodOptional<z.ZodString>;
12819
+ title: z.ZodString;
12820
+ body: z.ZodString;
12821
+ richContent: z.ZodOptional<z.ZodString>;
12822
+ category: z.ZodDefault<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>>;
12823
+ priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
12824
+ channels: z.ZodDefault<z.ZodArray<z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>, "many">>;
12825
+ status: z.ZodDefault<z.ZodEnum<["unread", "read", "archived"]>>;
12826
+ actor: z.ZodOptional<z.ZodObject<{
12827
+ id: z.ZodString;
12828
+ name: z.ZodOptional<z.ZodString>;
12829
+ email: z.ZodOptional<z.ZodString>;
12830
+ avatarUrl: z.ZodOptional<z.ZodString>;
12831
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
12832
+ }, "strip", z.ZodTypeAny, {
12833
+ type: "agent" | "user" | "system";
12834
+ id: string;
12835
+ name?: string | undefined;
12836
+ email?: string | undefined;
12837
+ avatarUrl?: string | undefined;
12838
+ }, {
12839
+ id: string;
12840
+ type?: "agent" | "user" | "system" | undefined;
12841
+ name?: string | undefined;
12842
+ email?: string | undefined;
12843
+ avatarUrl?: string | undefined;
12844
+ }>>;
12845
+ targetType: z.ZodOptional<z.ZodString>;
12846
+ targetId: z.ZodOptional<z.ZodString>;
12847
+ actionUrl: z.ZodOptional<z.ZodString>;
12848
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12849
+ createdAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12850
+ readAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12851
+ archivedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12852
+ }, "strip", z.ZodTypeAny, {
12853
+ status: "unread" | "read" | "archived";
12854
+ title: string;
12855
+ category: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed";
12856
+ id: string;
12857
+ createdAt: string | number | Date;
12858
+ metadata: Record<string, unknown>;
12859
+ recipientId: string;
12860
+ body: string;
12861
+ priority: "low" | "normal" | "high" | "urgent";
12862
+ channels: ("email" | "in_app" | "web_push" | "webhook" | "sms")[];
12863
+ actor?: {
12864
+ type: "agent" | "user" | "system";
12865
+ id: string;
12866
+ name?: string | undefined;
12867
+ email?: string | undefined;
12868
+ avatarUrl?: string | undefined;
12869
+ } | undefined;
12870
+ targetType?: string | undefined;
12871
+ targetId?: string | undefined;
12872
+ recipientEmail?: string | undefined;
12873
+ richContent?: string | undefined;
12874
+ actionUrl?: string | undefined;
12875
+ readAt?: string | number | Date | undefined;
12876
+ archivedAt?: string | number | Date | undefined;
12877
+ }, {
12878
+ title: string;
12879
+ id: string;
12880
+ recipientId: string;
12881
+ body: string;
12882
+ status?: "unread" | "read" | "archived" | undefined;
12883
+ category?: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed" | undefined;
12884
+ createdAt?: string | number | Date | undefined;
12885
+ metadata?: Record<string, unknown> | undefined;
12886
+ actor?: {
12887
+ id: string;
12888
+ type?: "agent" | "user" | "system" | undefined;
12889
+ name?: string | undefined;
12890
+ email?: string | undefined;
12891
+ avatarUrl?: string | undefined;
12892
+ } | undefined;
12893
+ targetType?: string | undefined;
12894
+ targetId?: string | undefined;
12895
+ recipientEmail?: string | undefined;
12896
+ richContent?: string | undefined;
12897
+ priority?: "low" | "normal" | "high" | "urgent" | undefined;
12898
+ channels?: ("email" | "in_app" | "web_push" | "webhook" | "sms")[] | undefined;
12899
+ actionUrl?: string | undefined;
12900
+ readAt?: string | number | Date | undefined;
12901
+ archivedAt?: string | number | Date | undefined;
12902
+ }>;
12903
+ type Notification = z.infer<typeof NotificationSchema>;
12904
+ declare const NotificationDeliveryRecordSchema: z.ZodObject<{
12905
+ id: z.ZodString;
12906
+ notificationId: z.ZodString;
12907
+ channel: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
12908
+ state: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
12909
+ error: z.ZodOptional<z.ZodString>;
12910
+ sentAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12911
+ deliveredAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12912
+ }, "strip", z.ZodTypeAny, {
12913
+ id: string;
12914
+ state: "failed" | "skipped" | "pending" | "sent" | "delivered";
12915
+ notificationId: string;
12916
+ channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
12917
+ error?: string | undefined;
12918
+ sentAt?: string | number | Date | undefined;
12919
+ deliveredAt?: string | number | Date | undefined;
12920
+ }, {
12921
+ id: string;
12922
+ state: "failed" | "skipped" | "pending" | "sent" | "delivered";
12923
+ notificationId: string;
12924
+ channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
12925
+ error?: string | undefined;
12926
+ sentAt?: string | number | Date | undefined;
12927
+ deliveredAt?: string | number | Date | undefined;
12928
+ }>;
12929
+ type NotificationDeliveryRecord = z.infer<typeof NotificationDeliveryRecordSchema>;
12930
+ declare const ChannelPreferencesSchema: z.ZodObject<{
12931
+ in_app: z.ZodDefault<z.ZodBoolean>;
12932
+ email: z.ZodDefault<z.ZodBoolean>;
12933
+ web_push: z.ZodDefault<z.ZodBoolean>;
12934
+ webhook: z.ZodDefault<z.ZodBoolean>;
12935
+ }, "strip", z.ZodTypeAny, {
12936
+ email: boolean;
12937
+ in_app: boolean;
12938
+ web_push: boolean;
12939
+ webhook: boolean;
12940
+ }, {
12941
+ email?: boolean | undefined;
12942
+ in_app?: boolean | undefined;
12943
+ web_push?: boolean | undefined;
12944
+ webhook?: boolean | undefined;
12945
+ }>;
12946
+ type ChannelPreferences = z.infer<typeof ChannelPreferencesSchema>;
12947
+ declare const NotificationPreferencesSchema: z.ZodObject<{
12948
+ userId: z.ZodString;
12949
+ channels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>, z.ZodObject<{
12950
+ in_app: z.ZodDefault<z.ZodBoolean>;
12951
+ email: z.ZodDefault<z.ZodBoolean>;
12952
+ web_push: z.ZodDefault<z.ZodBoolean>;
12953
+ webhook: z.ZodDefault<z.ZodBoolean>;
12954
+ }, "strip", z.ZodTypeAny, {
12955
+ email: boolean;
12956
+ in_app: boolean;
12957
+ web_push: boolean;
12958
+ webhook: boolean;
12959
+ }, {
12960
+ email?: boolean | undefined;
12961
+ in_app?: boolean | undefined;
12962
+ web_push?: boolean | undefined;
12963
+ webhook?: boolean | undefined;
12964
+ }>>>>;
12965
+ emailDigest: z.ZodDefault<z.ZodEnum<["instant", "hourly", "daily", "weekly", "never"]>>;
12966
+ quietHours: z.ZodOptional<z.ZodObject<{
12967
+ enabled: z.ZodDefault<z.ZodBoolean>;
12968
+ startHourUtc: z.ZodDefault<z.ZodNumber>;
12969
+ endHourUtc: z.ZodDefault<z.ZodNumber>;
12970
+ }, "strip", z.ZodTypeAny, {
12971
+ enabled: boolean;
12972
+ startHourUtc: number;
12973
+ endHourUtc: number;
12974
+ }, {
12975
+ enabled?: boolean | undefined;
12976
+ startHourUtc?: number | undefined;
12977
+ endHourUtc?: number | undefined;
12978
+ }>>;
12979
+ updatedAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12980
+ }, "strip", z.ZodTypeAny, {
12981
+ updatedAt: string | number | Date;
12982
+ userId: string;
12983
+ channels: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
12984
+ email: boolean;
12985
+ in_app: boolean;
12986
+ web_push: boolean;
12987
+ webhook: boolean;
12988
+ }>>;
12989
+ emailDigest: "never" | "instant" | "hourly" | "daily" | "weekly";
12990
+ quietHours?: {
12991
+ enabled: boolean;
12992
+ startHourUtc: number;
12993
+ endHourUtc: number;
12994
+ } | undefined;
12995
+ }, {
12996
+ userId: string;
12997
+ updatedAt?: string | number | Date | undefined;
12998
+ channels?: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
12999
+ email?: boolean | undefined;
13000
+ in_app?: boolean | undefined;
13001
+ web_push?: boolean | undefined;
13002
+ webhook?: boolean | undefined;
13003
+ }>> | undefined;
13004
+ emailDigest?: "never" | "instant" | "hourly" | "daily" | "weekly" | undefined;
13005
+ quietHours?: {
13006
+ enabled?: boolean | undefined;
13007
+ startHourUtc?: number | undefined;
13008
+ endHourUtc?: number | undefined;
13009
+ } | undefined;
13010
+ }>;
13011
+ type NotificationPreferences = z.infer<typeof NotificationPreferencesSchema>;
13012
+ declare const EmailAttachmentSchema: z.ZodObject<{
13013
+ filename: z.ZodString;
13014
+ content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
13015
+ contentType: z.ZodOptional<z.ZodString>;
13016
+ }, "strip", z.ZodTypeAny, {
13017
+ filename: string;
13018
+ content: string | Uint8Array<ArrayBuffer>;
13019
+ contentType?: string | undefined;
13020
+ }, {
13021
+ filename: string;
13022
+ content: string | Uint8Array<ArrayBuffer>;
13023
+ contentType?: string | undefined;
13024
+ }>;
13025
+ type EmailAttachment = z.infer<typeof EmailAttachmentSchema>;
13026
+ declare const EmailMessageSchema: z.ZodObject<{
13027
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
13028
+ from: z.ZodOptional<z.ZodString>;
13029
+ cc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
13030
+ bcc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
13031
+ subject: z.ZodString;
13032
+ text: z.ZodOptional<z.ZodString>;
13033
+ html: z.ZodOptional<z.ZodString>;
13034
+ replyTo: z.ZodOptional<z.ZodString>;
13035
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13036
+ templateId: z.ZodOptional<z.ZodString>;
13037
+ templateVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13038
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
13039
+ filename: z.ZodString;
13040
+ content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
13041
+ contentType: z.ZodOptional<z.ZodString>;
13042
+ }, "strip", z.ZodTypeAny, {
13043
+ filename: string;
13044
+ content: string | Uint8Array<ArrayBuffer>;
13045
+ contentType?: string | undefined;
13046
+ }, {
13047
+ filename: string;
13048
+ content: string | Uint8Array<ArrayBuffer>;
13049
+ contentType?: string | undefined;
13050
+ }>, "many">>;
13051
+ }, "strip", z.ZodTypeAny, {
13052
+ to: string | string[];
13053
+ subject: string;
13054
+ attachments?: {
13055
+ filename: string;
13056
+ content: string | Uint8Array<ArrayBuffer>;
13057
+ contentType?: string | undefined;
13058
+ }[] | undefined;
13059
+ text?: string | undefined;
13060
+ from?: string | undefined;
13061
+ cc?: string | string[] | undefined;
13062
+ bcc?: string | string[] | undefined;
13063
+ html?: string | undefined;
13064
+ replyTo?: string | undefined;
13065
+ headers?: Record<string, string> | undefined;
13066
+ templateId?: string | undefined;
13067
+ templateVariables?: Record<string, unknown> | undefined;
13068
+ }, {
13069
+ to: string | string[];
13070
+ subject: string;
13071
+ attachments?: {
13072
+ filename: string;
13073
+ content: string | Uint8Array<ArrayBuffer>;
13074
+ contentType?: string | undefined;
13075
+ }[] | undefined;
13076
+ text?: string | undefined;
13077
+ from?: string | undefined;
13078
+ cc?: string | string[] | undefined;
13079
+ bcc?: string | string[] | undefined;
13080
+ html?: string | undefined;
13081
+ replyTo?: string | undefined;
13082
+ headers?: Record<string, string> | undefined;
13083
+ templateId?: string | undefined;
13084
+ templateVariables?: Record<string, unknown> | undefined;
13085
+ }>;
13086
+ type EmailMessage = z.infer<typeof EmailMessageSchema>;
13087
+ declare const TaskUnreadSummarySchema: z.ZodObject<{
13088
+ mentions: z.ZodDefault<z.ZodNumber>;
13089
+ replies: z.ZodDefault<z.ZodNumber>;
13090
+ total: z.ZodDefault<z.ZodNumber>;
13091
+ }, "strip", z.ZodTypeAny, {
13092
+ total: number;
13093
+ mentions: number;
13094
+ replies: number;
13095
+ }, {
13096
+ total?: number | undefined;
13097
+ mentions?: number | undefined;
13098
+ replies?: number | undefined;
13099
+ }>;
13100
+ type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
12779
13101
 
12780
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, 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 ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type 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 QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, 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 TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
13102
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type ChannelPreferences, ChannelPreferencesSchema, 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 FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, 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 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 QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, 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 TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.d.ts CHANGED
@@ -45,6 +45,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
45
45
  durationSeconds: z.ZodOptional<z.ZodNumber>;
46
46
  generateAudio: z.ZodOptional<z.ZodBoolean>;
47
47
  modelName: z.ZodOptional<z.ZodString>;
48
+ lowCost: z.ZodOptional<z.ZodBoolean>;
48
49
  resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
49
50
  fps: z.ZodOptional<z.ZodNumber>;
50
51
  isMultimedia: z.ZodOptional<z.ZodBoolean>;
@@ -129,6 +130,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
129
130
  durationSeconds?: number | undefined;
130
131
  generateAudio?: boolean | undefined;
131
132
  modelName?: string | undefined;
133
+ lowCost?: boolean | undefined;
132
134
  resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
133
135
  fps?: number | undefined;
134
136
  isMultimedia?: boolean | undefined;
@@ -167,6 +169,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
167
169
  durationSeconds?: number | undefined;
168
170
  generateAudio?: boolean | undefined;
169
171
  modelName?: string | undefined;
172
+ lowCost?: boolean | undefined;
170
173
  resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
171
174
  fps?: number | undefined;
172
175
  isMultimedia?: boolean | undefined;
@@ -1174,6 +1177,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
1174
1177
  audioPrompt: z.ZodOptional<z.ZodString>;
1175
1178
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
1176
1179
  durationSeconds: z.ZodOptional<z.ZodNumber>;
1180
+ lowCost: z.ZodOptional<z.ZodBoolean>;
1177
1181
  hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1178
1182
  text: z.ZodString;
1179
1183
  style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
@@ -1476,6 +1480,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
1476
1480
  prompt: string;
1477
1481
  aspectRatio?: "9:16" | "16:9" | undefined;
1478
1482
  durationSeconds?: number | undefined;
1483
+ lowCost?: boolean | undefined;
1479
1484
  watermark?: string | {
1480
1485
  text?: string | undefined;
1481
1486
  imagePath?: string | undefined;
@@ -1559,6 +1564,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
1559
1564
  prompt: string;
1560
1565
  aspectRatio?: "9:16" | "16:9" | undefined;
1561
1566
  durationSeconds?: number | undefined;
1567
+ lowCost?: boolean | undefined;
1562
1568
  watermark?: string | {
1563
1569
  text?: string | undefined;
1564
1570
  imagePath?: string | undefined;
@@ -12776,5 +12782,321 @@ declare const FuelPlanSchema: z.ZodObject<{
12776
12782
  type FuelPlan = z.infer<typeof FuelPlanSchema>;
12777
12783
  declare const FuelCostMapSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
12778
12784
  type FuelCostMap = z.infer<typeof FuelCostMapSchema>;
12785
+ declare const NotificationChannelSchema: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
12786
+ type NotificationChannel = z.infer<typeof NotificationChannelSchema>;
12787
+ declare const NotificationPrioritySchema: z.ZodEnum<["low", "normal", "high", "urgent"]>;
12788
+ type NotificationPriority = z.infer<typeof NotificationPrioritySchema>;
12789
+ declare const NotificationCategorySchema: z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>;
12790
+ type NotificationCategory = z.infer<typeof NotificationCategorySchema>;
12791
+ declare const NotificationStatusSchema: z.ZodEnum<["unread", "read", "archived"]>;
12792
+ type NotificationStatus = z.infer<typeof NotificationStatusSchema>;
12793
+ declare const NotificationDeliveryStateSchema: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
12794
+ type NotificationDeliveryState = z.infer<typeof NotificationDeliveryStateSchema>;
12795
+ declare const NotificationActorSchema: z.ZodObject<{
12796
+ id: z.ZodString;
12797
+ name: z.ZodOptional<z.ZodString>;
12798
+ email: z.ZodOptional<z.ZodString>;
12799
+ avatarUrl: z.ZodOptional<z.ZodString>;
12800
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
12801
+ }, "strip", z.ZodTypeAny, {
12802
+ type: "agent" | "user" | "system";
12803
+ id: string;
12804
+ name?: string | undefined;
12805
+ email?: string | undefined;
12806
+ avatarUrl?: string | undefined;
12807
+ }, {
12808
+ id: string;
12809
+ type?: "agent" | "user" | "system" | undefined;
12810
+ name?: string | undefined;
12811
+ email?: string | undefined;
12812
+ avatarUrl?: string | undefined;
12813
+ }>;
12814
+ type NotificationActor = z.infer<typeof NotificationActorSchema>;
12815
+ declare const NotificationSchema: z.ZodObject<{
12816
+ id: z.ZodString;
12817
+ recipientId: z.ZodString;
12818
+ recipientEmail: z.ZodOptional<z.ZodString>;
12819
+ title: z.ZodString;
12820
+ body: z.ZodString;
12821
+ richContent: z.ZodOptional<z.ZodString>;
12822
+ category: z.ZodDefault<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>>;
12823
+ priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
12824
+ channels: z.ZodDefault<z.ZodArray<z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>, "many">>;
12825
+ status: z.ZodDefault<z.ZodEnum<["unread", "read", "archived"]>>;
12826
+ actor: z.ZodOptional<z.ZodObject<{
12827
+ id: z.ZodString;
12828
+ name: z.ZodOptional<z.ZodString>;
12829
+ email: z.ZodOptional<z.ZodString>;
12830
+ avatarUrl: z.ZodOptional<z.ZodString>;
12831
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
12832
+ }, "strip", z.ZodTypeAny, {
12833
+ type: "agent" | "user" | "system";
12834
+ id: string;
12835
+ name?: string | undefined;
12836
+ email?: string | undefined;
12837
+ avatarUrl?: string | undefined;
12838
+ }, {
12839
+ id: string;
12840
+ type?: "agent" | "user" | "system" | undefined;
12841
+ name?: string | undefined;
12842
+ email?: string | undefined;
12843
+ avatarUrl?: string | undefined;
12844
+ }>>;
12845
+ targetType: z.ZodOptional<z.ZodString>;
12846
+ targetId: z.ZodOptional<z.ZodString>;
12847
+ actionUrl: z.ZodOptional<z.ZodString>;
12848
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12849
+ createdAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12850
+ readAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12851
+ archivedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12852
+ }, "strip", z.ZodTypeAny, {
12853
+ status: "unread" | "read" | "archived";
12854
+ title: string;
12855
+ category: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed";
12856
+ id: string;
12857
+ createdAt: string | number | Date;
12858
+ metadata: Record<string, unknown>;
12859
+ recipientId: string;
12860
+ body: string;
12861
+ priority: "low" | "normal" | "high" | "urgent";
12862
+ channels: ("email" | "in_app" | "web_push" | "webhook" | "sms")[];
12863
+ actor?: {
12864
+ type: "agent" | "user" | "system";
12865
+ id: string;
12866
+ name?: string | undefined;
12867
+ email?: string | undefined;
12868
+ avatarUrl?: string | undefined;
12869
+ } | undefined;
12870
+ targetType?: string | undefined;
12871
+ targetId?: string | undefined;
12872
+ recipientEmail?: string | undefined;
12873
+ richContent?: string | undefined;
12874
+ actionUrl?: string | undefined;
12875
+ readAt?: string | number | Date | undefined;
12876
+ archivedAt?: string | number | Date | undefined;
12877
+ }, {
12878
+ title: string;
12879
+ id: string;
12880
+ recipientId: string;
12881
+ body: string;
12882
+ status?: "unread" | "read" | "archived" | undefined;
12883
+ category?: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed" | undefined;
12884
+ createdAt?: string | number | Date | undefined;
12885
+ metadata?: Record<string, unknown> | undefined;
12886
+ actor?: {
12887
+ id: string;
12888
+ type?: "agent" | "user" | "system" | undefined;
12889
+ name?: string | undefined;
12890
+ email?: string | undefined;
12891
+ avatarUrl?: string | undefined;
12892
+ } | undefined;
12893
+ targetType?: string | undefined;
12894
+ targetId?: string | undefined;
12895
+ recipientEmail?: string | undefined;
12896
+ richContent?: string | undefined;
12897
+ priority?: "low" | "normal" | "high" | "urgent" | undefined;
12898
+ channels?: ("email" | "in_app" | "web_push" | "webhook" | "sms")[] | undefined;
12899
+ actionUrl?: string | undefined;
12900
+ readAt?: string | number | Date | undefined;
12901
+ archivedAt?: string | number | Date | undefined;
12902
+ }>;
12903
+ type Notification = z.infer<typeof NotificationSchema>;
12904
+ declare const NotificationDeliveryRecordSchema: z.ZodObject<{
12905
+ id: z.ZodString;
12906
+ notificationId: z.ZodString;
12907
+ channel: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
12908
+ state: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
12909
+ error: z.ZodOptional<z.ZodString>;
12910
+ sentAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12911
+ deliveredAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12912
+ }, "strip", z.ZodTypeAny, {
12913
+ id: string;
12914
+ state: "failed" | "skipped" | "pending" | "sent" | "delivered";
12915
+ notificationId: string;
12916
+ channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
12917
+ error?: string | undefined;
12918
+ sentAt?: string | number | Date | undefined;
12919
+ deliveredAt?: string | number | Date | undefined;
12920
+ }, {
12921
+ id: string;
12922
+ state: "failed" | "skipped" | "pending" | "sent" | "delivered";
12923
+ notificationId: string;
12924
+ channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
12925
+ error?: string | undefined;
12926
+ sentAt?: string | number | Date | undefined;
12927
+ deliveredAt?: string | number | Date | undefined;
12928
+ }>;
12929
+ type NotificationDeliveryRecord = z.infer<typeof NotificationDeliveryRecordSchema>;
12930
+ declare const ChannelPreferencesSchema: z.ZodObject<{
12931
+ in_app: z.ZodDefault<z.ZodBoolean>;
12932
+ email: z.ZodDefault<z.ZodBoolean>;
12933
+ web_push: z.ZodDefault<z.ZodBoolean>;
12934
+ webhook: z.ZodDefault<z.ZodBoolean>;
12935
+ }, "strip", z.ZodTypeAny, {
12936
+ email: boolean;
12937
+ in_app: boolean;
12938
+ web_push: boolean;
12939
+ webhook: boolean;
12940
+ }, {
12941
+ email?: boolean | undefined;
12942
+ in_app?: boolean | undefined;
12943
+ web_push?: boolean | undefined;
12944
+ webhook?: boolean | undefined;
12945
+ }>;
12946
+ type ChannelPreferences = z.infer<typeof ChannelPreferencesSchema>;
12947
+ declare const NotificationPreferencesSchema: z.ZodObject<{
12948
+ userId: z.ZodString;
12949
+ channels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>, z.ZodObject<{
12950
+ in_app: z.ZodDefault<z.ZodBoolean>;
12951
+ email: z.ZodDefault<z.ZodBoolean>;
12952
+ web_push: z.ZodDefault<z.ZodBoolean>;
12953
+ webhook: z.ZodDefault<z.ZodBoolean>;
12954
+ }, "strip", z.ZodTypeAny, {
12955
+ email: boolean;
12956
+ in_app: boolean;
12957
+ web_push: boolean;
12958
+ webhook: boolean;
12959
+ }, {
12960
+ email?: boolean | undefined;
12961
+ in_app?: boolean | undefined;
12962
+ web_push?: boolean | undefined;
12963
+ webhook?: boolean | undefined;
12964
+ }>>>>;
12965
+ emailDigest: z.ZodDefault<z.ZodEnum<["instant", "hourly", "daily", "weekly", "never"]>>;
12966
+ quietHours: z.ZodOptional<z.ZodObject<{
12967
+ enabled: z.ZodDefault<z.ZodBoolean>;
12968
+ startHourUtc: z.ZodDefault<z.ZodNumber>;
12969
+ endHourUtc: z.ZodDefault<z.ZodNumber>;
12970
+ }, "strip", z.ZodTypeAny, {
12971
+ enabled: boolean;
12972
+ startHourUtc: number;
12973
+ endHourUtc: number;
12974
+ }, {
12975
+ enabled?: boolean | undefined;
12976
+ startHourUtc?: number | undefined;
12977
+ endHourUtc?: number | undefined;
12978
+ }>>;
12979
+ updatedAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
12980
+ }, "strip", z.ZodTypeAny, {
12981
+ updatedAt: string | number | Date;
12982
+ userId: string;
12983
+ channels: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
12984
+ email: boolean;
12985
+ in_app: boolean;
12986
+ web_push: boolean;
12987
+ webhook: boolean;
12988
+ }>>;
12989
+ emailDigest: "never" | "instant" | "hourly" | "daily" | "weekly";
12990
+ quietHours?: {
12991
+ enabled: boolean;
12992
+ startHourUtc: number;
12993
+ endHourUtc: number;
12994
+ } | undefined;
12995
+ }, {
12996
+ userId: string;
12997
+ updatedAt?: string | number | Date | undefined;
12998
+ channels?: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
12999
+ email?: boolean | undefined;
13000
+ in_app?: boolean | undefined;
13001
+ web_push?: boolean | undefined;
13002
+ webhook?: boolean | undefined;
13003
+ }>> | undefined;
13004
+ emailDigest?: "never" | "instant" | "hourly" | "daily" | "weekly" | undefined;
13005
+ quietHours?: {
13006
+ enabled?: boolean | undefined;
13007
+ startHourUtc?: number | undefined;
13008
+ endHourUtc?: number | undefined;
13009
+ } | undefined;
13010
+ }>;
13011
+ type NotificationPreferences = z.infer<typeof NotificationPreferencesSchema>;
13012
+ declare const EmailAttachmentSchema: z.ZodObject<{
13013
+ filename: z.ZodString;
13014
+ content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
13015
+ contentType: z.ZodOptional<z.ZodString>;
13016
+ }, "strip", z.ZodTypeAny, {
13017
+ filename: string;
13018
+ content: string | Uint8Array<ArrayBuffer>;
13019
+ contentType?: string | undefined;
13020
+ }, {
13021
+ filename: string;
13022
+ content: string | Uint8Array<ArrayBuffer>;
13023
+ contentType?: string | undefined;
13024
+ }>;
13025
+ type EmailAttachment = z.infer<typeof EmailAttachmentSchema>;
13026
+ declare const EmailMessageSchema: z.ZodObject<{
13027
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
13028
+ from: z.ZodOptional<z.ZodString>;
13029
+ cc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
13030
+ bcc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
13031
+ subject: z.ZodString;
13032
+ text: z.ZodOptional<z.ZodString>;
13033
+ html: z.ZodOptional<z.ZodString>;
13034
+ replyTo: z.ZodOptional<z.ZodString>;
13035
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13036
+ templateId: z.ZodOptional<z.ZodString>;
13037
+ templateVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13038
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
13039
+ filename: z.ZodString;
13040
+ content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
13041
+ contentType: z.ZodOptional<z.ZodString>;
13042
+ }, "strip", z.ZodTypeAny, {
13043
+ filename: string;
13044
+ content: string | Uint8Array<ArrayBuffer>;
13045
+ contentType?: string | undefined;
13046
+ }, {
13047
+ filename: string;
13048
+ content: string | Uint8Array<ArrayBuffer>;
13049
+ contentType?: string | undefined;
13050
+ }>, "many">>;
13051
+ }, "strip", z.ZodTypeAny, {
13052
+ to: string | string[];
13053
+ subject: string;
13054
+ attachments?: {
13055
+ filename: string;
13056
+ content: string | Uint8Array<ArrayBuffer>;
13057
+ contentType?: string | undefined;
13058
+ }[] | undefined;
13059
+ text?: string | undefined;
13060
+ from?: string | undefined;
13061
+ cc?: string | string[] | undefined;
13062
+ bcc?: string | string[] | undefined;
13063
+ html?: string | undefined;
13064
+ replyTo?: string | undefined;
13065
+ headers?: Record<string, string> | undefined;
13066
+ templateId?: string | undefined;
13067
+ templateVariables?: Record<string, unknown> | undefined;
13068
+ }, {
13069
+ to: string | string[];
13070
+ subject: string;
13071
+ attachments?: {
13072
+ filename: string;
13073
+ content: string | Uint8Array<ArrayBuffer>;
13074
+ contentType?: string | undefined;
13075
+ }[] | undefined;
13076
+ text?: string | undefined;
13077
+ from?: string | undefined;
13078
+ cc?: string | string[] | undefined;
13079
+ bcc?: string | string[] | undefined;
13080
+ html?: string | undefined;
13081
+ replyTo?: string | undefined;
13082
+ headers?: Record<string, string> | undefined;
13083
+ templateId?: string | undefined;
13084
+ templateVariables?: Record<string, unknown> | undefined;
13085
+ }>;
13086
+ type EmailMessage = z.infer<typeof EmailMessageSchema>;
13087
+ declare const TaskUnreadSummarySchema: z.ZodObject<{
13088
+ mentions: z.ZodDefault<z.ZodNumber>;
13089
+ replies: z.ZodDefault<z.ZodNumber>;
13090
+ total: z.ZodDefault<z.ZodNumber>;
13091
+ }, "strip", z.ZodTypeAny, {
13092
+ total: number;
13093
+ mentions: number;
13094
+ replies: number;
13095
+ }, {
13096
+ total?: number | undefined;
13097
+ mentions?: number | undefined;
13098
+ replies?: number | undefined;
13099
+ }>;
13100
+ type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
12779
13101
 
12780
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, 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 ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type 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 QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, 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 TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
13102
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type ChannelPreferences, ChannelPreferencesSchema, 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 FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, 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 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 QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, 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 TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ var VideoGenerationSchema = z.object({
38
38
  durationSeconds: z.number().int().optional(),
39
39
  generateAudio: z.boolean().optional(),
40
40
  modelName: z.string().optional(),
41
+ lowCost: z.boolean().optional(),
41
42
  resolution: VideoResolutionSchema.optional(),
42
43
  fps: z.number().optional(),
43
44
  isMultimedia: z.boolean().optional(),
@@ -148,6 +149,7 @@ var SocialVideoGenerationSchema = z.object({
148
149
  audioPrompt: z.string().optional(),
149
150
  aspectRatio: VideoAspectRatioSchema.optional(),
150
151
  durationSeconds: z.number().int().optional(),
152
+ lowCost: z.boolean().optional(),
151
153
  hook: z.union([z.string(), TextOverlaySchema]).optional(),
152
154
  watermark: z.union([z.string(), WatermarkSchema]).optional()
153
155
  });
@@ -1618,6 +1620,97 @@ var FuelPlanSchema = z.object({
1618
1620
  rateLimits: z.record(z.number()).optional()
1619
1621
  });
1620
1622
  var FuelCostMapSchema = z.record(z.number().nonnegative());
1623
+ var NotificationChannelSchema = z.enum(["in_app", "email", "web_push", "webhook", "sms"]);
1624
+ var NotificationPrioritySchema = z.enum(["low", "normal", "high", "urgent"]);
1625
+ var NotificationCategorySchema = z.enum([
1626
+ "mention",
1627
+ "reply",
1628
+ "team_invite",
1629
+ "fuel_alert",
1630
+ "system",
1631
+ "job_completed",
1632
+ "job_failed",
1633
+ "custom"
1634
+ ]);
1635
+ var NotificationStatusSchema = z.enum(["unread", "read", "archived"]);
1636
+ var NotificationDeliveryStateSchema = z.enum(["pending", "sent", "delivered", "failed", "skipped"]);
1637
+ var NotificationActorSchema = z.object({
1638
+ id: z.string(),
1639
+ name: z.string().optional(),
1640
+ email: z.string().optional(),
1641
+ avatarUrl: z.string().optional(),
1642
+ type: z.enum(["user", "agent", "system"]).optional().default("user")
1643
+ });
1644
+ var NotificationSchema = z.object({
1645
+ id: z.string(),
1646
+ recipientId: z.string(),
1647
+ recipientEmail: z.string().optional(),
1648
+ title: z.string(),
1649
+ body: z.string(),
1650
+ richContent: z.string().optional(),
1651
+ category: NotificationCategorySchema.default("system"),
1652
+ priority: NotificationPrioritySchema.default("normal"),
1653
+ channels: z.array(NotificationChannelSchema).default(["in_app"]),
1654
+ status: NotificationStatusSchema.default("unread"),
1655
+ actor: NotificationActorSchema.optional(),
1656
+ targetType: z.string().optional(),
1657
+ targetId: z.string().optional(),
1658
+ actionUrl: z.string().optional(),
1659
+ metadata: z.record(z.unknown()).optional().default({}),
1660
+ createdAt: z.union([z.string(), z.number(), z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString()),
1661
+ readAt: z.union([z.string(), z.number(), z.date()]).optional(),
1662
+ archivedAt: z.union([z.string(), z.number(), z.date()]).optional()
1663
+ });
1664
+ var NotificationDeliveryRecordSchema = z.object({
1665
+ id: z.string(),
1666
+ notificationId: z.string(),
1667
+ channel: NotificationChannelSchema,
1668
+ state: NotificationDeliveryStateSchema,
1669
+ error: z.string().optional(),
1670
+ sentAt: z.union([z.string(), z.number(), z.date()]).optional(),
1671
+ deliveredAt: z.union([z.string(), z.number(), z.date()]).optional()
1672
+ });
1673
+ var ChannelPreferencesSchema = z.object({
1674
+ in_app: z.boolean().default(true),
1675
+ email: z.boolean().default(true),
1676
+ web_push: z.boolean().default(false),
1677
+ webhook: z.boolean().default(false)
1678
+ });
1679
+ var NotificationPreferencesSchema = z.object({
1680
+ userId: z.string(),
1681
+ channels: z.record(NotificationCategorySchema, ChannelPreferencesSchema).optional().default({}),
1682
+ emailDigest: z.enum(["instant", "hourly", "daily", "weekly", "never"]).default("instant"),
1683
+ quietHours: z.object({
1684
+ enabled: z.boolean().default(false),
1685
+ startHourUtc: z.number().int().min(0).max(23).default(22),
1686
+ endHourUtc: z.number().int().min(0).max(23).default(8)
1687
+ }).optional(),
1688
+ updatedAt: z.union([z.string(), z.number(), z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString())
1689
+ });
1690
+ var EmailAttachmentSchema = z.object({
1691
+ filename: z.string(),
1692
+ content: z.union([z.string(), z.instanceof(Uint8Array)]),
1693
+ contentType: z.string().optional()
1694
+ });
1695
+ var EmailMessageSchema = z.object({
1696
+ to: z.union([z.string(), z.array(z.string())]),
1697
+ from: z.string().optional(),
1698
+ cc: z.union([z.string(), z.array(z.string())]).optional(),
1699
+ bcc: z.union([z.string(), z.array(z.string())]).optional(),
1700
+ subject: z.string(),
1701
+ text: z.string().optional(),
1702
+ html: z.string().optional(),
1703
+ replyTo: z.string().optional(),
1704
+ headers: z.record(z.string()).optional(),
1705
+ templateId: z.string().optional(),
1706
+ templateVariables: z.record(z.unknown()).optional(),
1707
+ attachments: z.array(EmailAttachmentSchema).optional()
1708
+ });
1709
+ var TaskUnreadSummarySchema = z.object({
1710
+ mentions: z.number().nonnegative().default(0),
1711
+ replies: z.number().nonnegative().default(0),
1712
+ total: z.number().nonnegative().default(0)
1713
+ });
1621
1714
  export {
1622
1715
  ActivityActionSchema,
1623
1716
  ActivityActionTypeSchema,
@@ -1651,6 +1744,7 @@ export {
1651
1744
  AuthUserSchema,
1652
1745
  AutoFitCaptionSchema,
1653
1746
  CRDTSnapshotSchema,
1747
+ ChannelPreferencesSchema,
1654
1748
  CodeGenerationSchema,
1655
1749
  ComponentDependencySchema,
1656
1750
  ComponentDocsSchema,
@@ -1671,6 +1765,8 @@ export {
1671
1765
  DisplacementMapSchema,
1672
1766
  DocumentGenerationOptionsSchema,
1673
1767
  DropShadowSchema,
1768
+ EmailAttachmentSchema,
1769
+ EmailMessageSchema,
1674
1770
  ExternalPackageDependencySchema,
1675
1771
  FORM_SCHEMA_JSON_SCHEMA,
1676
1772
  FidelitySchema,
@@ -1708,6 +1804,15 @@ export {
1708
1804
  LockReleaseRequestSchema,
1709
1805
  LockStatusSchema,
1710
1806
  MediaProbeResultSchema,
1807
+ NotificationActorSchema,
1808
+ NotificationCategorySchema,
1809
+ NotificationChannelSchema,
1810
+ NotificationDeliveryRecordSchema,
1811
+ NotificationDeliveryStateSchema,
1812
+ NotificationPreferencesSchema,
1813
+ NotificationPrioritySchema,
1814
+ NotificationSchema,
1815
+ NotificationStatusSchema,
1711
1816
  OTJsonOpSchema,
1712
1817
  OTJsonOpTypeSchema,
1713
1818
  OTOperationSchema,
@@ -1745,6 +1850,7 @@ export {
1745
1850
  SubmissionScoreSchema,
1746
1851
  SubtitleBurnOptionsSchema,
1747
1852
  SubtitleFormatSchema,
1853
+ TaskUnreadSummarySchema,
1748
1854
  TeamMemberDocSchema,
1749
1855
  TeamMemberSchema,
1750
1856
  TeamRoleSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.14.0",
3
+ "version": "1.16.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",