@pixerate/schemas 1.14.0 → 1.15.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 +117 -0
- package/dist/index.d.cts +317 -1
- package/dist/index.d.ts +317 -1
- package/dist/index.js +104 -0
- package/package.json +1 -1
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,
|
|
@@ -1815,6 +1828,97 @@ var FuelPlanSchema = import_zod.z.object({
|
|
|
1815
1828
|
rateLimits: import_zod.z.record(import_zod.z.number()).optional()
|
|
1816
1829
|
});
|
|
1817
1830
|
var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative());
|
|
1831
|
+
var NotificationChannelSchema = import_zod.z.enum(["in_app", "email", "web_push", "webhook", "sms"]);
|
|
1832
|
+
var NotificationPrioritySchema = import_zod.z.enum(["low", "normal", "high", "urgent"]);
|
|
1833
|
+
var NotificationCategorySchema = import_zod.z.enum([
|
|
1834
|
+
"mention",
|
|
1835
|
+
"reply",
|
|
1836
|
+
"team_invite",
|
|
1837
|
+
"fuel_alert",
|
|
1838
|
+
"system",
|
|
1839
|
+
"job_completed",
|
|
1840
|
+
"job_failed",
|
|
1841
|
+
"custom"
|
|
1842
|
+
]);
|
|
1843
|
+
var NotificationStatusSchema = import_zod.z.enum(["unread", "read", "archived"]);
|
|
1844
|
+
var NotificationDeliveryStateSchema = import_zod.z.enum(["pending", "sent", "delivered", "failed", "skipped"]);
|
|
1845
|
+
var NotificationActorSchema = import_zod.z.object({
|
|
1846
|
+
id: import_zod.z.string(),
|
|
1847
|
+
name: import_zod.z.string().optional(),
|
|
1848
|
+
email: import_zod.z.string().optional(),
|
|
1849
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1850
|
+
type: import_zod.z.enum(["user", "agent", "system"]).optional().default("user")
|
|
1851
|
+
});
|
|
1852
|
+
var NotificationSchema = import_zod.z.object({
|
|
1853
|
+
id: import_zod.z.string(),
|
|
1854
|
+
recipientId: import_zod.z.string(),
|
|
1855
|
+
recipientEmail: import_zod.z.string().optional(),
|
|
1856
|
+
title: import_zod.z.string(),
|
|
1857
|
+
body: import_zod.z.string(),
|
|
1858
|
+
richContent: import_zod.z.string().optional(),
|
|
1859
|
+
category: NotificationCategorySchema.default("system"),
|
|
1860
|
+
priority: NotificationPrioritySchema.default("normal"),
|
|
1861
|
+
channels: import_zod.z.array(NotificationChannelSchema).default(["in_app"]),
|
|
1862
|
+
status: NotificationStatusSchema.default("unread"),
|
|
1863
|
+
actor: NotificationActorSchema.optional(),
|
|
1864
|
+
targetType: import_zod.z.string().optional(),
|
|
1865
|
+
targetId: import_zod.z.string().optional(),
|
|
1866
|
+
actionUrl: import_zod.z.string().optional(),
|
|
1867
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({}),
|
|
1868
|
+
createdAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString()),
|
|
1869
|
+
readAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
1870
|
+
archivedAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
|
|
1871
|
+
});
|
|
1872
|
+
var NotificationDeliveryRecordSchema = import_zod.z.object({
|
|
1873
|
+
id: import_zod.z.string(),
|
|
1874
|
+
notificationId: import_zod.z.string(),
|
|
1875
|
+
channel: NotificationChannelSchema,
|
|
1876
|
+
state: NotificationDeliveryStateSchema,
|
|
1877
|
+
error: import_zod.z.string().optional(),
|
|
1878
|
+
sentAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
1879
|
+
deliveredAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
|
|
1880
|
+
});
|
|
1881
|
+
var ChannelPreferencesSchema = import_zod.z.object({
|
|
1882
|
+
in_app: import_zod.z.boolean().default(true),
|
|
1883
|
+
email: import_zod.z.boolean().default(true),
|
|
1884
|
+
web_push: import_zod.z.boolean().default(false),
|
|
1885
|
+
webhook: import_zod.z.boolean().default(false)
|
|
1886
|
+
});
|
|
1887
|
+
var NotificationPreferencesSchema = import_zod.z.object({
|
|
1888
|
+
userId: import_zod.z.string(),
|
|
1889
|
+
channels: import_zod.z.record(NotificationCategorySchema, ChannelPreferencesSchema).optional().default({}),
|
|
1890
|
+
emailDigest: import_zod.z.enum(["instant", "hourly", "daily", "weekly", "never"]).default("instant"),
|
|
1891
|
+
quietHours: import_zod.z.object({
|
|
1892
|
+
enabled: import_zod.z.boolean().default(false),
|
|
1893
|
+
startHourUtc: import_zod.z.number().int().min(0).max(23).default(22),
|
|
1894
|
+
endHourUtc: import_zod.z.number().int().min(0).max(23).default(8)
|
|
1895
|
+
}).optional(),
|
|
1896
|
+
updatedAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString())
|
|
1897
|
+
});
|
|
1898
|
+
var EmailAttachmentSchema = import_zod.z.object({
|
|
1899
|
+
filename: import_zod.z.string(),
|
|
1900
|
+
content: import_zod.z.union([import_zod.z.string(), import_zod.z.instanceof(Uint8Array)]),
|
|
1901
|
+
contentType: import_zod.z.string().optional()
|
|
1902
|
+
});
|
|
1903
|
+
var EmailMessageSchema = import_zod.z.object({
|
|
1904
|
+
to: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]),
|
|
1905
|
+
from: import_zod.z.string().optional(),
|
|
1906
|
+
cc: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]).optional(),
|
|
1907
|
+
bcc: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.string())]).optional(),
|
|
1908
|
+
subject: import_zod.z.string(),
|
|
1909
|
+
text: import_zod.z.string().optional(),
|
|
1910
|
+
html: import_zod.z.string().optional(),
|
|
1911
|
+
replyTo: import_zod.z.string().optional(),
|
|
1912
|
+
headers: import_zod.z.record(import_zod.z.string()).optional(),
|
|
1913
|
+
templateId: import_zod.z.string().optional(),
|
|
1914
|
+
templateVariables: import_zod.z.record(import_zod.z.unknown()).optional(),
|
|
1915
|
+
attachments: import_zod.z.array(EmailAttachmentSchema).optional()
|
|
1916
|
+
});
|
|
1917
|
+
var TaskUnreadSummarySchema = import_zod.z.object({
|
|
1918
|
+
mentions: import_zod.z.number().nonnegative().default(0),
|
|
1919
|
+
replies: import_zod.z.number().nonnegative().default(0),
|
|
1920
|
+
total: import_zod.z.number().nonnegative().default(0)
|
|
1921
|
+
});
|
|
1818
1922
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1819
1923
|
0 && (module.exports = {
|
|
1820
1924
|
ActivityActionSchema,
|
|
@@ -1849,6 +1953,7 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
|
|
|
1849
1953
|
AuthUserSchema,
|
|
1850
1954
|
AutoFitCaptionSchema,
|
|
1851
1955
|
CRDTSnapshotSchema,
|
|
1956
|
+
ChannelPreferencesSchema,
|
|
1852
1957
|
CodeGenerationSchema,
|
|
1853
1958
|
ComponentDependencySchema,
|
|
1854
1959
|
ComponentDocsSchema,
|
|
@@ -1869,6 +1974,8 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
|
|
|
1869
1974
|
DisplacementMapSchema,
|
|
1870
1975
|
DocumentGenerationOptionsSchema,
|
|
1871
1976
|
DropShadowSchema,
|
|
1977
|
+
EmailAttachmentSchema,
|
|
1978
|
+
EmailMessageSchema,
|
|
1872
1979
|
ExternalPackageDependencySchema,
|
|
1873
1980
|
FORM_SCHEMA_JSON_SCHEMA,
|
|
1874
1981
|
FidelitySchema,
|
|
@@ -1906,6 +2013,15 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
|
|
|
1906
2013
|
LockReleaseRequestSchema,
|
|
1907
2014
|
LockStatusSchema,
|
|
1908
2015
|
MediaProbeResultSchema,
|
|
2016
|
+
NotificationActorSchema,
|
|
2017
|
+
NotificationCategorySchema,
|
|
2018
|
+
NotificationChannelSchema,
|
|
2019
|
+
NotificationDeliveryRecordSchema,
|
|
2020
|
+
NotificationDeliveryStateSchema,
|
|
2021
|
+
NotificationPreferencesSchema,
|
|
2022
|
+
NotificationPrioritySchema,
|
|
2023
|
+
NotificationSchema,
|
|
2024
|
+
NotificationStatusSchema,
|
|
1909
2025
|
OTJsonOpSchema,
|
|
1910
2026
|
OTJsonOpTypeSchema,
|
|
1911
2027
|
OTOperationSchema,
|
|
@@ -1943,6 +2059,7 @@ var FuelCostMapSchema = import_zod.z.record(import_zod.z.number().nonnegative())
|
|
|
1943
2059
|
SubmissionScoreSchema,
|
|
1944
2060
|
SubtitleBurnOptionsSchema,
|
|
1945
2061
|
SubtitleFormatSchema,
|
|
2062
|
+
TaskUnreadSummarySchema,
|
|
1946
2063
|
TeamMemberDocSchema,
|
|
1947
2064
|
TeamMemberSchema,
|
|
1948
2065
|
TeamRoleSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -12776,5 +12776,321 @@ declare const FuelPlanSchema: z.ZodObject<{
|
|
|
12776
12776
|
type FuelPlan = z.infer<typeof FuelPlanSchema>;
|
|
12777
12777
|
declare const FuelCostMapSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
12778
12778
|
type FuelCostMap = z.infer<typeof FuelCostMapSchema>;
|
|
12779
|
+
declare const NotificationChannelSchema: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
|
|
12780
|
+
type NotificationChannel = z.infer<typeof NotificationChannelSchema>;
|
|
12781
|
+
declare const NotificationPrioritySchema: z.ZodEnum<["low", "normal", "high", "urgent"]>;
|
|
12782
|
+
type NotificationPriority = z.infer<typeof NotificationPrioritySchema>;
|
|
12783
|
+
declare const NotificationCategorySchema: z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>;
|
|
12784
|
+
type NotificationCategory = z.infer<typeof NotificationCategorySchema>;
|
|
12785
|
+
declare const NotificationStatusSchema: z.ZodEnum<["unread", "read", "archived"]>;
|
|
12786
|
+
type NotificationStatus = z.infer<typeof NotificationStatusSchema>;
|
|
12787
|
+
declare const NotificationDeliveryStateSchema: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
|
|
12788
|
+
type NotificationDeliveryState = z.infer<typeof NotificationDeliveryStateSchema>;
|
|
12789
|
+
declare const NotificationActorSchema: z.ZodObject<{
|
|
12790
|
+
id: z.ZodString;
|
|
12791
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12792
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12793
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
12794
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
|
|
12795
|
+
}, "strip", z.ZodTypeAny, {
|
|
12796
|
+
type: "agent" | "user" | "system";
|
|
12797
|
+
id: string;
|
|
12798
|
+
name?: string | undefined;
|
|
12799
|
+
email?: string | undefined;
|
|
12800
|
+
avatarUrl?: string | undefined;
|
|
12801
|
+
}, {
|
|
12802
|
+
id: string;
|
|
12803
|
+
type?: "agent" | "user" | "system" | undefined;
|
|
12804
|
+
name?: string | undefined;
|
|
12805
|
+
email?: string | undefined;
|
|
12806
|
+
avatarUrl?: string | undefined;
|
|
12807
|
+
}>;
|
|
12808
|
+
type NotificationActor = z.infer<typeof NotificationActorSchema>;
|
|
12809
|
+
declare const NotificationSchema: z.ZodObject<{
|
|
12810
|
+
id: z.ZodString;
|
|
12811
|
+
recipientId: z.ZodString;
|
|
12812
|
+
recipientEmail: z.ZodOptional<z.ZodString>;
|
|
12813
|
+
title: z.ZodString;
|
|
12814
|
+
body: z.ZodString;
|
|
12815
|
+
richContent: z.ZodOptional<z.ZodString>;
|
|
12816
|
+
category: z.ZodDefault<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>>;
|
|
12817
|
+
priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
|
|
12818
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>, "many">>;
|
|
12819
|
+
status: z.ZodDefault<z.ZodEnum<["unread", "read", "archived"]>>;
|
|
12820
|
+
actor: z.ZodOptional<z.ZodObject<{
|
|
12821
|
+
id: z.ZodString;
|
|
12822
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12823
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12824
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
12825
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
|
|
12826
|
+
}, "strip", z.ZodTypeAny, {
|
|
12827
|
+
type: "agent" | "user" | "system";
|
|
12828
|
+
id: string;
|
|
12829
|
+
name?: string | undefined;
|
|
12830
|
+
email?: string | undefined;
|
|
12831
|
+
avatarUrl?: string | undefined;
|
|
12832
|
+
}, {
|
|
12833
|
+
id: string;
|
|
12834
|
+
type?: "agent" | "user" | "system" | undefined;
|
|
12835
|
+
name?: string | undefined;
|
|
12836
|
+
email?: string | undefined;
|
|
12837
|
+
avatarUrl?: string | undefined;
|
|
12838
|
+
}>>;
|
|
12839
|
+
targetType: z.ZodOptional<z.ZodString>;
|
|
12840
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
12841
|
+
actionUrl: z.ZodOptional<z.ZodString>;
|
|
12842
|
+
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12843
|
+
createdAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12844
|
+
readAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12845
|
+
archivedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12846
|
+
}, "strip", z.ZodTypeAny, {
|
|
12847
|
+
status: "unread" | "read" | "archived";
|
|
12848
|
+
title: string;
|
|
12849
|
+
category: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed";
|
|
12850
|
+
id: string;
|
|
12851
|
+
createdAt: string | number | Date;
|
|
12852
|
+
metadata: Record<string, unknown>;
|
|
12853
|
+
recipientId: string;
|
|
12854
|
+
body: string;
|
|
12855
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
12856
|
+
channels: ("email" | "in_app" | "web_push" | "webhook" | "sms")[];
|
|
12857
|
+
actor?: {
|
|
12858
|
+
type: "agent" | "user" | "system";
|
|
12859
|
+
id: string;
|
|
12860
|
+
name?: string | undefined;
|
|
12861
|
+
email?: string | undefined;
|
|
12862
|
+
avatarUrl?: string | undefined;
|
|
12863
|
+
} | undefined;
|
|
12864
|
+
targetType?: string | undefined;
|
|
12865
|
+
targetId?: string | undefined;
|
|
12866
|
+
recipientEmail?: string | undefined;
|
|
12867
|
+
richContent?: string | undefined;
|
|
12868
|
+
actionUrl?: string | undefined;
|
|
12869
|
+
readAt?: string | number | Date | undefined;
|
|
12870
|
+
archivedAt?: string | number | Date | undefined;
|
|
12871
|
+
}, {
|
|
12872
|
+
title: string;
|
|
12873
|
+
id: string;
|
|
12874
|
+
recipientId: string;
|
|
12875
|
+
body: string;
|
|
12876
|
+
status?: "unread" | "read" | "archived" | undefined;
|
|
12877
|
+
category?: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed" | undefined;
|
|
12878
|
+
createdAt?: string | number | Date | undefined;
|
|
12879
|
+
metadata?: Record<string, unknown> | undefined;
|
|
12880
|
+
actor?: {
|
|
12881
|
+
id: string;
|
|
12882
|
+
type?: "agent" | "user" | "system" | undefined;
|
|
12883
|
+
name?: string | undefined;
|
|
12884
|
+
email?: string | undefined;
|
|
12885
|
+
avatarUrl?: string | undefined;
|
|
12886
|
+
} | undefined;
|
|
12887
|
+
targetType?: string | undefined;
|
|
12888
|
+
targetId?: string | undefined;
|
|
12889
|
+
recipientEmail?: string | undefined;
|
|
12890
|
+
richContent?: string | undefined;
|
|
12891
|
+
priority?: "low" | "normal" | "high" | "urgent" | undefined;
|
|
12892
|
+
channels?: ("email" | "in_app" | "web_push" | "webhook" | "sms")[] | undefined;
|
|
12893
|
+
actionUrl?: string | undefined;
|
|
12894
|
+
readAt?: string | number | Date | undefined;
|
|
12895
|
+
archivedAt?: string | number | Date | undefined;
|
|
12896
|
+
}>;
|
|
12897
|
+
type Notification = z.infer<typeof NotificationSchema>;
|
|
12898
|
+
declare const NotificationDeliveryRecordSchema: z.ZodObject<{
|
|
12899
|
+
id: z.ZodString;
|
|
12900
|
+
notificationId: z.ZodString;
|
|
12901
|
+
channel: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
|
|
12902
|
+
state: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
|
|
12903
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12904
|
+
sentAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12905
|
+
deliveredAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12906
|
+
}, "strip", z.ZodTypeAny, {
|
|
12907
|
+
id: string;
|
|
12908
|
+
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
12909
|
+
notificationId: string;
|
|
12910
|
+
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
12911
|
+
error?: string | undefined;
|
|
12912
|
+
sentAt?: string | number | Date | undefined;
|
|
12913
|
+
deliveredAt?: string | number | Date | undefined;
|
|
12914
|
+
}, {
|
|
12915
|
+
id: string;
|
|
12916
|
+
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
12917
|
+
notificationId: string;
|
|
12918
|
+
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
12919
|
+
error?: string | undefined;
|
|
12920
|
+
sentAt?: string | number | Date | undefined;
|
|
12921
|
+
deliveredAt?: string | number | Date | undefined;
|
|
12922
|
+
}>;
|
|
12923
|
+
type NotificationDeliveryRecord = z.infer<typeof NotificationDeliveryRecordSchema>;
|
|
12924
|
+
declare const ChannelPreferencesSchema: z.ZodObject<{
|
|
12925
|
+
in_app: z.ZodDefault<z.ZodBoolean>;
|
|
12926
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
12927
|
+
web_push: z.ZodDefault<z.ZodBoolean>;
|
|
12928
|
+
webhook: z.ZodDefault<z.ZodBoolean>;
|
|
12929
|
+
}, "strip", z.ZodTypeAny, {
|
|
12930
|
+
email: boolean;
|
|
12931
|
+
in_app: boolean;
|
|
12932
|
+
web_push: boolean;
|
|
12933
|
+
webhook: boolean;
|
|
12934
|
+
}, {
|
|
12935
|
+
email?: boolean | undefined;
|
|
12936
|
+
in_app?: boolean | undefined;
|
|
12937
|
+
web_push?: boolean | undefined;
|
|
12938
|
+
webhook?: boolean | undefined;
|
|
12939
|
+
}>;
|
|
12940
|
+
type ChannelPreferences = z.infer<typeof ChannelPreferencesSchema>;
|
|
12941
|
+
declare const NotificationPreferencesSchema: z.ZodObject<{
|
|
12942
|
+
userId: z.ZodString;
|
|
12943
|
+
channels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>, z.ZodObject<{
|
|
12944
|
+
in_app: z.ZodDefault<z.ZodBoolean>;
|
|
12945
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
12946
|
+
web_push: z.ZodDefault<z.ZodBoolean>;
|
|
12947
|
+
webhook: z.ZodDefault<z.ZodBoolean>;
|
|
12948
|
+
}, "strip", z.ZodTypeAny, {
|
|
12949
|
+
email: boolean;
|
|
12950
|
+
in_app: boolean;
|
|
12951
|
+
web_push: boolean;
|
|
12952
|
+
webhook: boolean;
|
|
12953
|
+
}, {
|
|
12954
|
+
email?: boolean | undefined;
|
|
12955
|
+
in_app?: boolean | undefined;
|
|
12956
|
+
web_push?: boolean | undefined;
|
|
12957
|
+
webhook?: boolean | undefined;
|
|
12958
|
+
}>>>>;
|
|
12959
|
+
emailDigest: z.ZodDefault<z.ZodEnum<["instant", "hourly", "daily", "weekly", "never"]>>;
|
|
12960
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
12961
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
12962
|
+
startHourUtc: z.ZodDefault<z.ZodNumber>;
|
|
12963
|
+
endHourUtc: z.ZodDefault<z.ZodNumber>;
|
|
12964
|
+
}, "strip", z.ZodTypeAny, {
|
|
12965
|
+
enabled: boolean;
|
|
12966
|
+
startHourUtc: number;
|
|
12967
|
+
endHourUtc: number;
|
|
12968
|
+
}, {
|
|
12969
|
+
enabled?: boolean | undefined;
|
|
12970
|
+
startHourUtc?: number | undefined;
|
|
12971
|
+
endHourUtc?: number | undefined;
|
|
12972
|
+
}>>;
|
|
12973
|
+
updatedAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12974
|
+
}, "strip", z.ZodTypeAny, {
|
|
12975
|
+
updatedAt: string | number | Date;
|
|
12976
|
+
userId: string;
|
|
12977
|
+
channels: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
|
|
12978
|
+
email: boolean;
|
|
12979
|
+
in_app: boolean;
|
|
12980
|
+
web_push: boolean;
|
|
12981
|
+
webhook: boolean;
|
|
12982
|
+
}>>;
|
|
12983
|
+
emailDigest: "never" | "instant" | "hourly" | "daily" | "weekly";
|
|
12984
|
+
quietHours?: {
|
|
12985
|
+
enabled: boolean;
|
|
12986
|
+
startHourUtc: number;
|
|
12987
|
+
endHourUtc: number;
|
|
12988
|
+
} | undefined;
|
|
12989
|
+
}, {
|
|
12990
|
+
userId: string;
|
|
12991
|
+
updatedAt?: string | number | Date | undefined;
|
|
12992
|
+
channels?: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
|
|
12993
|
+
email?: boolean | undefined;
|
|
12994
|
+
in_app?: boolean | undefined;
|
|
12995
|
+
web_push?: boolean | undefined;
|
|
12996
|
+
webhook?: boolean | undefined;
|
|
12997
|
+
}>> | undefined;
|
|
12998
|
+
emailDigest?: "never" | "instant" | "hourly" | "daily" | "weekly" | undefined;
|
|
12999
|
+
quietHours?: {
|
|
13000
|
+
enabled?: boolean | undefined;
|
|
13001
|
+
startHourUtc?: number | undefined;
|
|
13002
|
+
endHourUtc?: number | undefined;
|
|
13003
|
+
} | undefined;
|
|
13004
|
+
}>;
|
|
13005
|
+
type NotificationPreferences = z.infer<typeof NotificationPreferencesSchema>;
|
|
13006
|
+
declare const EmailAttachmentSchema: z.ZodObject<{
|
|
13007
|
+
filename: z.ZodString;
|
|
13008
|
+
content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
|
|
13009
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
13010
|
+
}, "strip", z.ZodTypeAny, {
|
|
13011
|
+
filename: string;
|
|
13012
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13013
|
+
contentType?: string | undefined;
|
|
13014
|
+
}, {
|
|
13015
|
+
filename: string;
|
|
13016
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13017
|
+
contentType?: string | undefined;
|
|
13018
|
+
}>;
|
|
13019
|
+
type EmailAttachment = z.infer<typeof EmailAttachmentSchema>;
|
|
13020
|
+
declare const EmailMessageSchema: z.ZodObject<{
|
|
13021
|
+
to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
13022
|
+
from: z.ZodOptional<z.ZodString>;
|
|
13023
|
+
cc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
13024
|
+
bcc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
13025
|
+
subject: z.ZodString;
|
|
13026
|
+
text: z.ZodOptional<z.ZodString>;
|
|
13027
|
+
html: z.ZodOptional<z.ZodString>;
|
|
13028
|
+
replyTo: z.ZodOptional<z.ZodString>;
|
|
13029
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13030
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
13031
|
+
templateVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13032
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13033
|
+
filename: z.ZodString;
|
|
13034
|
+
content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
|
|
13035
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
13036
|
+
}, "strip", z.ZodTypeAny, {
|
|
13037
|
+
filename: string;
|
|
13038
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13039
|
+
contentType?: string | undefined;
|
|
13040
|
+
}, {
|
|
13041
|
+
filename: string;
|
|
13042
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13043
|
+
contentType?: string | undefined;
|
|
13044
|
+
}>, "many">>;
|
|
13045
|
+
}, "strip", z.ZodTypeAny, {
|
|
13046
|
+
to: string | string[];
|
|
13047
|
+
subject: string;
|
|
13048
|
+
attachments?: {
|
|
13049
|
+
filename: string;
|
|
13050
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13051
|
+
contentType?: string | undefined;
|
|
13052
|
+
}[] | undefined;
|
|
13053
|
+
text?: string | undefined;
|
|
13054
|
+
from?: string | undefined;
|
|
13055
|
+
cc?: string | string[] | undefined;
|
|
13056
|
+
bcc?: string | string[] | undefined;
|
|
13057
|
+
html?: string | undefined;
|
|
13058
|
+
replyTo?: string | undefined;
|
|
13059
|
+
headers?: Record<string, string> | undefined;
|
|
13060
|
+
templateId?: string | undefined;
|
|
13061
|
+
templateVariables?: Record<string, unknown> | undefined;
|
|
13062
|
+
}, {
|
|
13063
|
+
to: string | string[];
|
|
13064
|
+
subject: string;
|
|
13065
|
+
attachments?: {
|
|
13066
|
+
filename: string;
|
|
13067
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13068
|
+
contentType?: string | undefined;
|
|
13069
|
+
}[] | undefined;
|
|
13070
|
+
text?: string | undefined;
|
|
13071
|
+
from?: string | undefined;
|
|
13072
|
+
cc?: string | string[] | undefined;
|
|
13073
|
+
bcc?: string | string[] | undefined;
|
|
13074
|
+
html?: string | undefined;
|
|
13075
|
+
replyTo?: string | undefined;
|
|
13076
|
+
headers?: Record<string, string> | undefined;
|
|
13077
|
+
templateId?: string | undefined;
|
|
13078
|
+
templateVariables?: Record<string, unknown> | undefined;
|
|
13079
|
+
}>;
|
|
13080
|
+
type EmailMessage = z.infer<typeof EmailMessageSchema>;
|
|
13081
|
+
declare const TaskUnreadSummarySchema: z.ZodObject<{
|
|
13082
|
+
mentions: z.ZodDefault<z.ZodNumber>;
|
|
13083
|
+
replies: z.ZodDefault<z.ZodNumber>;
|
|
13084
|
+
total: z.ZodDefault<z.ZodNumber>;
|
|
13085
|
+
}, "strip", z.ZodTypeAny, {
|
|
13086
|
+
total: number;
|
|
13087
|
+
mentions: number;
|
|
13088
|
+
replies: number;
|
|
13089
|
+
}, {
|
|
13090
|
+
total?: number | undefined;
|
|
13091
|
+
mentions?: number | undefined;
|
|
13092
|
+
replies?: number | undefined;
|
|
13093
|
+
}>;
|
|
13094
|
+
type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
|
|
12779
13095
|
|
|
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 };
|
|
13096
|
+
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
|
@@ -12776,5 +12776,321 @@ declare const FuelPlanSchema: z.ZodObject<{
|
|
|
12776
12776
|
type FuelPlan = z.infer<typeof FuelPlanSchema>;
|
|
12777
12777
|
declare const FuelCostMapSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
12778
12778
|
type FuelCostMap = z.infer<typeof FuelCostMapSchema>;
|
|
12779
|
+
declare const NotificationChannelSchema: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
|
|
12780
|
+
type NotificationChannel = z.infer<typeof NotificationChannelSchema>;
|
|
12781
|
+
declare const NotificationPrioritySchema: z.ZodEnum<["low", "normal", "high", "urgent"]>;
|
|
12782
|
+
type NotificationPriority = z.infer<typeof NotificationPrioritySchema>;
|
|
12783
|
+
declare const NotificationCategorySchema: z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>;
|
|
12784
|
+
type NotificationCategory = z.infer<typeof NotificationCategorySchema>;
|
|
12785
|
+
declare const NotificationStatusSchema: z.ZodEnum<["unread", "read", "archived"]>;
|
|
12786
|
+
type NotificationStatus = z.infer<typeof NotificationStatusSchema>;
|
|
12787
|
+
declare const NotificationDeliveryStateSchema: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
|
|
12788
|
+
type NotificationDeliveryState = z.infer<typeof NotificationDeliveryStateSchema>;
|
|
12789
|
+
declare const NotificationActorSchema: z.ZodObject<{
|
|
12790
|
+
id: z.ZodString;
|
|
12791
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12792
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12793
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
12794
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
|
|
12795
|
+
}, "strip", z.ZodTypeAny, {
|
|
12796
|
+
type: "agent" | "user" | "system";
|
|
12797
|
+
id: string;
|
|
12798
|
+
name?: string | undefined;
|
|
12799
|
+
email?: string | undefined;
|
|
12800
|
+
avatarUrl?: string | undefined;
|
|
12801
|
+
}, {
|
|
12802
|
+
id: string;
|
|
12803
|
+
type?: "agent" | "user" | "system" | undefined;
|
|
12804
|
+
name?: string | undefined;
|
|
12805
|
+
email?: string | undefined;
|
|
12806
|
+
avatarUrl?: string | undefined;
|
|
12807
|
+
}>;
|
|
12808
|
+
type NotificationActor = z.infer<typeof NotificationActorSchema>;
|
|
12809
|
+
declare const NotificationSchema: z.ZodObject<{
|
|
12810
|
+
id: z.ZodString;
|
|
12811
|
+
recipientId: z.ZodString;
|
|
12812
|
+
recipientEmail: z.ZodOptional<z.ZodString>;
|
|
12813
|
+
title: z.ZodString;
|
|
12814
|
+
body: z.ZodString;
|
|
12815
|
+
richContent: z.ZodOptional<z.ZodString>;
|
|
12816
|
+
category: z.ZodDefault<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>>;
|
|
12817
|
+
priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
|
|
12818
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>, "many">>;
|
|
12819
|
+
status: z.ZodDefault<z.ZodEnum<["unread", "read", "archived"]>>;
|
|
12820
|
+
actor: z.ZodOptional<z.ZodObject<{
|
|
12821
|
+
id: z.ZodString;
|
|
12822
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12823
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12824
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
12825
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>>;
|
|
12826
|
+
}, "strip", z.ZodTypeAny, {
|
|
12827
|
+
type: "agent" | "user" | "system";
|
|
12828
|
+
id: string;
|
|
12829
|
+
name?: string | undefined;
|
|
12830
|
+
email?: string | undefined;
|
|
12831
|
+
avatarUrl?: string | undefined;
|
|
12832
|
+
}, {
|
|
12833
|
+
id: string;
|
|
12834
|
+
type?: "agent" | "user" | "system" | undefined;
|
|
12835
|
+
name?: string | undefined;
|
|
12836
|
+
email?: string | undefined;
|
|
12837
|
+
avatarUrl?: string | undefined;
|
|
12838
|
+
}>>;
|
|
12839
|
+
targetType: z.ZodOptional<z.ZodString>;
|
|
12840
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
12841
|
+
actionUrl: z.ZodOptional<z.ZodString>;
|
|
12842
|
+
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12843
|
+
createdAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12844
|
+
readAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12845
|
+
archivedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12846
|
+
}, "strip", z.ZodTypeAny, {
|
|
12847
|
+
status: "unread" | "read" | "archived";
|
|
12848
|
+
title: string;
|
|
12849
|
+
category: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed";
|
|
12850
|
+
id: string;
|
|
12851
|
+
createdAt: string | number | Date;
|
|
12852
|
+
metadata: Record<string, unknown>;
|
|
12853
|
+
recipientId: string;
|
|
12854
|
+
body: string;
|
|
12855
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
12856
|
+
channels: ("email" | "in_app" | "web_push" | "webhook" | "sms")[];
|
|
12857
|
+
actor?: {
|
|
12858
|
+
type: "agent" | "user" | "system";
|
|
12859
|
+
id: string;
|
|
12860
|
+
name?: string | undefined;
|
|
12861
|
+
email?: string | undefined;
|
|
12862
|
+
avatarUrl?: string | undefined;
|
|
12863
|
+
} | undefined;
|
|
12864
|
+
targetType?: string | undefined;
|
|
12865
|
+
targetId?: string | undefined;
|
|
12866
|
+
recipientEmail?: string | undefined;
|
|
12867
|
+
richContent?: string | undefined;
|
|
12868
|
+
actionUrl?: string | undefined;
|
|
12869
|
+
readAt?: string | number | Date | undefined;
|
|
12870
|
+
archivedAt?: string | number | Date | undefined;
|
|
12871
|
+
}, {
|
|
12872
|
+
title: string;
|
|
12873
|
+
id: string;
|
|
12874
|
+
recipientId: string;
|
|
12875
|
+
body: string;
|
|
12876
|
+
status?: "unread" | "read" | "archived" | undefined;
|
|
12877
|
+
category?: "custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed" | undefined;
|
|
12878
|
+
createdAt?: string | number | Date | undefined;
|
|
12879
|
+
metadata?: Record<string, unknown> | undefined;
|
|
12880
|
+
actor?: {
|
|
12881
|
+
id: string;
|
|
12882
|
+
type?: "agent" | "user" | "system" | undefined;
|
|
12883
|
+
name?: string | undefined;
|
|
12884
|
+
email?: string | undefined;
|
|
12885
|
+
avatarUrl?: string | undefined;
|
|
12886
|
+
} | undefined;
|
|
12887
|
+
targetType?: string | undefined;
|
|
12888
|
+
targetId?: string | undefined;
|
|
12889
|
+
recipientEmail?: string | undefined;
|
|
12890
|
+
richContent?: string | undefined;
|
|
12891
|
+
priority?: "low" | "normal" | "high" | "urgent" | undefined;
|
|
12892
|
+
channels?: ("email" | "in_app" | "web_push" | "webhook" | "sms")[] | undefined;
|
|
12893
|
+
actionUrl?: string | undefined;
|
|
12894
|
+
readAt?: string | number | Date | undefined;
|
|
12895
|
+
archivedAt?: string | number | Date | undefined;
|
|
12896
|
+
}>;
|
|
12897
|
+
type Notification = z.infer<typeof NotificationSchema>;
|
|
12898
|
+
declare const NotificationDeliveryRecordSchema: z.ZodObject<{
|
|
12899
|
+
id: z.ZodString;
|
|
12900
|
+
notificationId: z.ZodString;
|
|
12901
|
+
channel: z.ZodEnum<["in_app", "email", "web_push", "webhook", "sms"]>;
|
|
12902
|
+
state: z.ZodEnum<["pending", "sent", "delivered", "failed", "skipped"]>;
|
|
12903
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12904
|
+
sentAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12905
|
+
deliveredAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12906
|
+
}, "strip", z.ZodTypeAny, {
|
|
12907
|
+
id: string;
|
|
12908
|
+
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
12909
|
+
notificationId: string;
|
|
12910
|
+
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
12911
|
+
error?: string | undefined;
|
|
12912
|
+
sentAt?: string | number | Date | undefined;
|
|
12913
|
+
deliveredAt?: string | number | Date | undefined;
|
|
12914
|
+
}, {
|
|
12915
|
+
id: string;
|
|
12916
|
+
state: "failed" | "skipped" | "pending" | "sent" | "delivered";
|
|
12917
|
+
notificationId: string;
|
|
12918
|
+
channel: "email" | "in_app" | "web_push" | "webhook" | "sms";
|
|
12919
|
+
error?: string | undefined;
|
|
12920
|
+
sentAt?: string | number | Date | undefined;
|
|
12921
|
+
deliveredAt?: string | number | Date | undefined;
|
|
12922
|
+
}>;
|
|
12923
|
+
type NotificationDeliveryRecord = z.infer<typeof NotificationDeliveryRecordSchema>;
|
|
12924
|
+
declare const ChannelPreferencesSchema: z.ZodObject<{
|
|
12925
|
+
in_app: z.ZodDefault<z.ZodBoolean>;
|
|
12926
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
12927
|
+
web_push: z.ZodDefault<z.ZodBoolean>;
|
|
12928
|
+
webhook: z.ZodDefault<z.ZodBoolean>;
|
|
12929
|
+
}, "strip", z.ZodTypeAny, {
|
|
12930
|
+
email: boolean;
|
|
12931
|
+
in_app: boolean;
|
|
12932
|
+
web_push: boolean;
|
|
12933
|
+
webhook: boolean;
|
|
12934
|
+
}, {
|
|
12935
|
+
email?: boolean | undefined;
|
|
12936
|
+
in_app?: boolean | undefined;
|
|
12937
|
+
web_push?: boolean | undefined;
|
|
12938
|
+
webhook?: boolean | undefined;
|
|
12939
|
+
}>;
|
|
12940
|
+
type ChannelPreferences = z.infer<typeof ChannelPreferencesSchema>;
|
|
12941
|
+
declare const NotificationPreferencesSchema: z.ZodObject<{
|
|
12942
|
+
userId: z.ZodString;
|
|
12943
|
+
channels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<["mention", "reply", "team_invite", "fuel_alert", "system", "job_completed", "job_failed", "custom"]>, z.ZodObject<{
|
|
12944
|
+
in_app: z.ZodDefault<z.ZodBoolean>;
|
|
12945
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
12946
|
+
web_push: z.ZodDefault<z.ZodBoolean>;
|
|
12947
|
+
webhook: z.ZodDefault<z.ZodBoolean>;
|
|
12948
|
+
}, "strip", z.ZodTypeAny, {
|
|
12949
|
+
email: boolean;
|
|
12950
|
+
in_app: boolean;
|
|
12951
|
+
web_push: boolean;
|
|
12952
|
+
webhook: boolean;
|
|
12953
|
+
}, {
|
|
12954
|
+
email?: boolean | undefined;
|
|
12955
|
+
in_app?: boolean | undefined;
|
|
12956
|
+
web_push?: boolean | undefined;
|
|
12957
|
+
webhook?: boolean | undefined;
|
|
12958
|
+
}>>>>;
|
|
12959
|
+
emailDigest: z.ZodDefault<z.ZodEnum<["instant", "hourly", "daily", "weekly", "never"]>>;
|
|
12960
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
12961
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
12962
|
+
startHourUtc: z.ZodDefault<z.ZodNumber>;
|
|
12963
|
+
endHourUtc: z.ZodDefault<z.ZodNumber>;
|
|
12964
|
+
}, "strip", z.ZodTypeAny, {
|
|
12965
|
+
enabled: boolean;
|
|
12966
|
+
startHourUtc: number;
|
|
12967
|
+
endHourUtc: number;
|
|
12968
|
+
}, {
|
|
12969
|
+
enabled?: boolean | undefined;
|
|
12970
|
+
startHourUtc?: number | undefined;
|
|
12971
|
+
endHourUtc?: number | undefined;
|
|
12972
|
+
}>>;
|
|
12973
|
+
updatedAt: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
12974
|
+
}, "strip", z.ZodTypeAny, {
|
|
12975
|
+
updatedAt: string | number | Date;
|
|
12976
|
+
userId: string;
|
|
12977
|
+
channels: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
|
|
12978
|
+
email: boolean;
|
|
12979
|
+
in_app: boolean;
|
|
12980
|
+
web_push: boolean;
|
|
12981
|
+
webhook: boolean;
|
|
12982
|
+
}>>;
|
|
12983
|
+
emailDigest: "never" | "instant" | "hourly" | "daily" | "weekly";
|
|
12984
|
+
quietHours?: {
|
|
12985
|
+
enabled: boolean;
|
|
12986
|
+
startHourUtc: number;
|
|
12987
|
+
endHourUtc: number;
|
|
12988
|
+
} | undefined;
|
|
12989
|
+
}, {
|
|
12990
|
+
userId: string;
|
|
12991
|
+
updatedAt?: string | number | Date | undefined;
|
|
12992
|
+
channels?: Partial<Record<"custom" | "system" | "mention" | "reply" | "team_invite" | "fuel_alert" | "job_completed" | "job_failed", {
|
|
12993
|
+
email?: boolean | undefined;
|
|
12994
|
+
in_app?: boolean | undefined;
|
|
12995
|
+
web_push?: boolean | undefined;
|
|
12996
|
+
webhook?: boolean | undefined;
|
|
12997
|
+
}>> | undefined;
|
|
12998
|
+
emailDigest?: "never" | "instant" | "hourly" | "daily" | "weekly" | undefined;
|
|
12999
|
+
quietHours?: {
|
|
13000
|
+
enabled?: boolean | undefined;
|
|
13001
|
+
startHourUtc?: number | undefined;
|
|
13002
|
+
endHourUtc?: number | undefined;
|
|
13003
|
+
} | undefined;
|
|
13004
|
+
}>;
|
|
13005
|
+
type NotificationPreferences = z.infer<typeof NotificationPreferencesSchema>;
|
|
13006
|
+
declare const EmailAttachmentSchema: z.ZodObject<{
|
|
13007
|
+
filename: z.ZodString;
|
|
13008
|
+
content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
|
|
13009
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
13010
|
+
}, "strip", z.ZodTypeAny, {
|
|
13011
|
+
filename: string;
|
|
13012
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13013
|
+
contentType?: string | undefined;
|
|
13014
|
+
}, {
|
|
13015
|
+
filename: string;
|
|
13016
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13017
|
+
contentType?: string | undefined;
|
|
13018
|
+
}>;
|
|
13019
|
+
type EmailAttachment = z.infer<typeof EmailAttachmentSchema>;
|
|
13020
|
+
declare const EmailMessageSchema: z.ZodObject<{
|
|
13021
|
+
to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
13022
|
+
from: z.ZodOptional<z.ZodString>;
|
|
13023
|
+
cc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
13024
|
+
bcc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
13025
|
+
subject: z.ZodString;
|
|
13026
|
+
text: z.ZodOptional<z.ZodString>;
|
|
13027
|
+
html: z.ZodOptional<z.ZodString>;
|
|
13028
|
+
replyTo: z.ZodOptional<z.ZodString>;
|
|
13029
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13030
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
13031
|
+
templateVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13032
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13033
|
+
filename: z.ZodString;
|
|
13034
|
+
content: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
|
|
13035
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
13036
|
+
}, "strip", z.ZodTypeAny, {
|
|
13037
|
+
filename: string;
|
|
13038
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13039
|
+
contentType?: string | undefined;
|
|
13040
|
+
}, {
|
|
13041
|
+
filename: string;
|
|
13042
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13043
|
+
contentType?: string | undefined;
|
|
13044
|
+
}>, "many">>;
|
|
13045
|
+
}, "strip", z.ZodTypeAny, {
|
|
13046
|
+
to: string | string[];
|
|
13047
|
+
subject: string;
|
|
13048
|
+
attachments?: {
|
|
13049
|
+
filename: string;
|
|
13050
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13051
|
+
contentType?: string | undefined;
|
|
13052
|
+
}[] | undefined;
|
|
13053
|
+
text?: string | undefined;
|
|
13054
|
+
from?: string | undefined;
|
|
13055
|
+
cc?: string | string[] | undefined;
|
|
13056
|
+
bcc?: string | string[] | undefined;
|
|
13057
|
+
html?: string | undefined;
|
|
13058
|
+
replyTo?: string | undefined;
|
|
13059
|
+
headers?: Record<string, string> | undefined;
|
|
13060
|
+
templateId?: string | undefined;
|
|
13061
|
+
templateVariables?: Record<string, unknown> | undefined;
|
|
13062
|
+
}, {
|
|
13063
|
+
to: string | string[];
|
|
13064
|
+
subject: string;
|
|
13065
|
+
attachments?: {
|
|
13066
|
+
filename: string;
|
|
13067
|
+
content: string | Uint8Array<ArrayBuffer>;
|
|
13068
|
+
contentType?: string | undefined;
|
|
13069
|
+
}[] | undefined;
|
|
13070
|
+
text?: string | undefined;
|
|
13071
|
+
from?: string | undefined;
|
|
13072
|
+
cc?: string | string[] | undefined;
|
|
13073
|
+
bcc?: string | string[] | undefined;
|
|
13074
|
+
html?: string | undefined;
|
|
13075
|
+
replyTo?: string | undefined;
|
|
13076
|
+
headers?: Record<string, string> | undefined;
|
|
13077
|
+
templateId?: string | undefined;
|
|
13078
|
+
templateVariables?: Record<string, unknown> | undefined;
|
|
13079
|
+
}>;
|
|
13080
|
+
type EmailMessage = z.infer<typeof EmailMessageSchema>;
|
|
13081
|
+
declare const TaskUnreadSummarySchema: z.ZodObject<{
|
|
13082
|
+
mentions: z.ZodDefault<z.ZodNumber>;
|
|
13083
|
+
replies: z.ZodDefault<z.ZodNumber>;
|
|
13084
|
+
total: z.ZodDefault<z.ZodNumber>;
|
|
13085
|
+
}, "strip", z.ZodTypeAny, {
|
|
13086
|
+
total: number;
|
|
13087
|
+
mentions: number;
|
|
13088
|
+
replies: number;
|
|
13089
|
+
}, {
|
|
13090
|
+
total?: number | undefined;
|
|
13091
|
+
mentions?: number | undefined;
|
|
13092
|
+
replies?: number | undefined;
|
|
13093
|
+
}>;
|
|
13094
|
+
type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
|
|
12779
13095
|
|
|
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 };
|
|
13096
|
+
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
|
@@ -1618,6 +1618,97 @@ var FuelPlanSchema = z.object({
|
|
|
1618
1618
|
rateLimits: z.record(z.number()).optional()
|
|
1619
1619
|
});
|
|
1620
1620
|
var FuelCostMapSchema = z.record(z.number().nonnegative());
|
|
1621
|
+
var NotificationChannelSchema = z.enum(["in_app", "email", "web_push", "webhook", "sms"]);
|
|
1622
|
+
var NotificationPrioritySchema = z.enum(["low", "normal", "high", "urgent"]);
|
|
1623
|
+
var NotificationCategorySchema = z.enum([
|
|
1624
|
+
"mention",
|
|
1625
|
+
"reply",
|
|
1626
|
+
"team_invite",
|
|
1627
|
+
"fuel_alert",
|
|
1628
|
+
"system",
|
|
1629
|
+
"job_completed",
|
|
1630
|
+
"job_failed",
|
|
1631
|
+
"custom"
|
|
1632
|
+
]);
|
|
1633
|
+
var NotificationStatusSchema = z.enum(["unread", "read", "archived"]);
|
|
1634
|
+
var NotificationDeliveryStateSchema = z.enum(["pending", "sent", "delivered", "failed", "skipped"]);
|
|
1635
|
+
var NotificationActorSchema = z.object({
|
|
1636
|
+
id: z.string(),
|
|
1637
|
+
name: z.string().optional(),
|
|
1638
|
+
email: z.string().optional(),
|
|
1639
|
+
avatarUrl: z.string().optional(),
|
|
1640
|
+
type: z.enum(["user", "agent", "system"]).optional().default("user")
|
|
1641
|
+
});
|
|
1642
|
+
var NotificationSchema = z.object({
|
|
1643
|
+
id: z.string(),
|
|
1644
|
+
recipientId: z.string(),
|
|
1645
|
+
recipientEmail: z.string().optional(),
|
|
1646
|
+
title: z.string(),
|
|
1647
|
+
body: z.string(),
|
|
1648
|
+
richContent: z.string().optional(),
|
|
1649
|
+
category: NotificationCategorySchema.default("system"),
|
|
1650
|
+
priority: NotificationPrioritySchema.default("normal"),
|
|
1651
|
+
channels: z.array(NotificationChannelSchema).default(["in_app"]),
|
|
1652
|
+
status: NotificationStatusSchema.default("unread"),
|
|
1653
|
+
actor: NotificationActorSchema.optional(),
|
|
1654
|
+
targetType: z.string().optional(),
|
|
1655
|
+
targetId: z.string().optional(),
|
|
1656
|
+
actionUrl: z.string().optional(),
|
|
1657
|
+
metadata: z.record(z.unknown()).optional().default({}),
|
|
1658
|
+
createdAt: z.union([z.string(), z.number(), z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString()),
|
|
1659
|
+
readAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1660
|
+
archivedAt: z.union([z.string(), z.number(), z.date()]).optional()
|
|
1661
|
+
});
|
|
1662
|
+
var NotificationDeliveryRecordSchema = z.object({
|
|
1663
|
+
id: z.string(),
|
|
1664
|
+
notificationId: z.string(),
|
|
1665
|
+
channel: NotificationChannelSchema,
|
|
1666
|
+
state: NotificationDeliveryStateSchema,
|
|
1667
|
+
error: z.string().optional(),
|
|
1668
|
+
sentAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1669
|
+
deliveredAt: z.union([z.string(), z.number(), z.date()]).optional()
|
|
1670
|
+
});
|
|
1671
|
+
var ChannelPreferencesSchema = z.object({
|
|
1672
|
+
in_app: z.boolean().default(true),
|
|
1673
|
+
email: z.boolean().default(true),
|
|
1674
|
+
web_push: z.boolean().default(false),
|
|
1675
|
+
webhook: z.boolean().default(false)
|
|
1676
|
+
});
|
|
1677
|
+
var NotificationPreferencesSchema = z.object({
|
|
1678
|
+
userId: z.string(),
|
|
1679
|
+
channels: z.record(NotificationCategorySchema, ChannelPreferencesSchema).optional().default({}),
|
|
1680
|
+
emailDigest: z.enum(["instant", "hourly", "daily", "weekly", "never"]).default("instant"),
|
|
1681
|
+
quietHours: z.object({
|
|
1682
|
+
enabled: z.boolean().default(false),
|
|
1683
|
+
startHourUtc: z.number().int().min(0).max(23).default(22),
|
|
1684
|
+
endHourUtc: z.number().int().min(0).max(23).default(8)
|
|
1685
|
+
}).optional(),
|
|
1686
|
+
updatedAt: z.union([z.string(), z.number(), z.date()]).default(() => (/* @__PURE__ */ new Date()).toISOString())
|
|
1687
|
+
});
|
|
1688
|
+
var EmailAttachmentSchema = z.object({
|
|
1689
|
+
filename: z.string(),
|
|
1690
|
+
content: z.union([z.string(), z.instanceof(Uint8Array)]),
|
|
1691
|
+
contentType: z.string().optional()
|
|
1692
|
+
});
|
|
1693
|
+
var EmailMessageSchema = z.object({
|
|
1694
|
+
to: z.union([z.string(), z.array(z.string())]),
|
|
1695
|
+
from: z.string().optional(),
|
|
1696
|
+
cc: z.union([z.string(), z.array(z.string())]).optional(),
|
|
1697
|
+
bcc: z.union([z.string(), z.array(z.string())]).optional(),
|
|
1698
|
+
subject: z.string(),
|
|
1699
|
+
text: z.string().optional(),
|
|
1700
|
+
html: z.string().optional(),
|
|
1701
|
+
replyTo: z.string().optional(),
|
|
1702
|
+
headers: z.record(z.string()).optional(),
|
|
1703
|
+
templateId: z.string().optional(),
|
|
1704
|
+
templateVariables: z.record(z.unknown()).optional(),
|
|
1705
|
+
attachments: z.array(EmailAttachmentSchema).optional()
|
|
1706
|
+
});
|
|
1707
|
+
var TaskUnreadSummarySchema = z.object({
|
|
1708
|
+
mentions: z.number().nonnegative().default(0),
|
|
1709
|
+
replies: z.number().nonnegative().default(0),
|
|
1710
|
+
total: z.number().nonnegative().default(0)
|
|
1711
|
+
});
|
|
1621
1712
|
export {
|
|
1622
1713
|
ActivityActionSchema,
|
|
1623
1714
|
ActivityActionTypeSchema,
|
|
@@ -1651,6 +1742,7 @@ export {
|
|
|
1651
1742
|
AuthUserSchema,
|
|
1652
1743
|
AutoFitCaptionSchema,
|
|
1653
1744
|
CRDTSnapshotSchema,
|
|
1745
|
+
ChannelPreferencesSchema,
|
|
1654
1746
|
CodeGenerationSchema,
|
|
1655
1747
|
ComponentDependencySchema,
|
|
1656
1748
|
ComponentDocsSchema,
|
|
@@ -1671,6 +1763,8 @@ export {
|
|
|
1671
1763
|
DisplacementMapSchema,
|
|
1672
1764
|
DocumentGenerationOptionsSchema,
|
|
1673
1765
|
DropShadowSchema,
|
|
1766
|
+
EmailAttachmentSchema,
|
|
1767
|
+
EmailMessageSchema,
|
|
1674
1768
|
ExternalPackageDependencySchema,
|
|
1675
1769
|
FORM_SCHEMA_JSON_SCHEMA,
|
|
1676
1770
|
FidelitySchema,
|
|
@@ -1708,6 +1802,15 @@ export {
|
|
|
1708
1802
|
LockReleaseRequestSchema,
|
|
1709
1803
|
LockStatusSchema,
|
|
1710
1804
|
MediaProbeResultSchema,
|
|
1805
|
+
NotificationActorSchema,
|
|
1806
|
+
NotificationCategorySchema,
|
|
1807
|
+
NotificationChannelSchema,
|
|
1808
|
+
NotificationDeliveryRecordSchema,
|
|
1809
|
+
NotificationDeliveryStateSchema,
|
|
1810
|
+
NotificationPreferencesSchema,
|
|
1811
|
+
NotificationPrioritySchema,
|
|
1812
|
+
NotificationSchema,
|
|
1813
|
+
NotificationStatusSchema,
|
|
1711
1814
|
OTJsonOpSchema,
|
|
1712
1815
|
OTJsonOpTypeSchema,
|
|
1713
1816
|
OTOperationSchema,
|
|
@@ -1745,6 +1848,7 @@ export {
|
|
|
1745
1848
|
SubmissionScoreSchema,
|
|
1746
1849
|
SubtitleBurnOptionsSchema,
|
|
1747
1850
|
SubtitleFormatSchema,
|
|
1851
|
+
TaskUnreadSummarySchema,
|
|
1748
1852
|
TeamMemberDocSchema,
|
|
1749
1853
|
TeamMemberSchema,
|
|
1750
1854
|
TeamRoleSchema,
|