@pixerate/schemas 1.18.0 → 1.20.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 +397 -8
- package/dist/index.d.cts +2085 -32
- package/dist/index.d.ts +2085 -32
- package/dist/index.js +357 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -163,6 +163,12 @@ var VideoCompressionSchema = VideoTranscodeSchema;
|
|
|
163
163
|
var VideoOverlayOptionsSchema = z.object({
|
|
164
164
|
x: z.union([z.number(), z.string()]).optional(),
|
|
165
165
|
y: z.union([z.number(), z.string()]).optional(),
|
|
166
|
+
position: z.union([z.string(), z.object({ x: z.number().optional(), y: z.number().optional() })]).optional(),
|
|
167
|
+
padding: z.number().optional(),
|
|
168
|
+
scale: z.number().optional(),
|
|
169
|
+
opacity: z.number().optional(),
|
|
170
|
+
width: z.number().optional(),
|
|
171
|
+
height: z.number().optional(),
|
|
166
172
|
crf: z.number().optional(),
|
|
167
173
|
preset: z.string().optional(),
|
|
168
174
|
videoCodec: z.string().optional(),
|
|
@@ -265,9 +271,14 @@ var AnimatedGifCompositeSchema = z.object({
|
|
|
265
271
|
var ImageOverlayOptionsSchema = z.object({
|
|
266
272
|
x: z.union([z.number(), z.string()]).optional(),
|
|
267
273
|
y: z.union([z.number(), z.string()]).optional(),
|
|
274
|
+
position: z.union([z.string(), z.object({ x: z.number().optional(), y: z.number().optional() })]).optional(),
|
|
275
|
+
padding: z.number().optional(),
|
|
276
|
+
scale: z.number().optional(),
|
|
277
|
+
width: z.number().optional(),
|
|
278
|
+
height: z.number().optional(),
|
|
268
279
|
gravity: z.enum(["northwest", "north", "northeast", "west", "center", "east", "southwest", "south", "southeast"]).optional(),
|
|
269
280
|
blend: z.enum(["over", "in", "out", "atop", "xor", "multiply", "screen", "overlay", "darken", "lighten"]).optional(),
|
|
270
|
-
opacity: z.number().
|
|
281
|
+
opacity: z.number().optional()
|
|
271
282
|
});
|
|
272
283
|
var ImagePipelineSchema = z.object({
|
|
273
284
|
fit: z.object({
|
|
@@ -1137,6 +1148,7 @@ var SubtitleBurnOptionsSchema = z.object({
|
|
|
1137
1148
|
format: SubtitleFormatSchema.optional(),
|
|
1138
1149
|
fontSize: z.number().optional(),
|
|
1139
1150
|
fontName: z.string().optional(),
|
|
1151
|
+
fontColor: z.string().optional(),
|
|
1140
1152
|
primaryColor: z.string().optional(),
|
|
1141
1153
|
outlineColor: z.string().optional(),
|
|
1142
1154
|
outlineWidth: z.number().optional(),
|
|
@@ -1153,14 +1165,19 @@ var AudioVisualizerOptionsSchema = z.object({
|
|
|
1153
1165
|
colors: z.string().optional(),
|
|
1154
1166
|
mode: z.enum(["point", "line", "p2p", "cline"]).optional(),
|
|
1155
1167
|
scale: z.enum(["lin", "sqrt", "cbrt", "log"]).optional(),
|
|
1156
|
-
background: z.string().optional()
|
|
1168
|
+
background: z.string().optional(),
|
|
1169
|
+
crf: z.number().optional(),
|
|
1170
|
+
preset: z.string().optional()
|
|
1157
1171
|
});
|
|
1158
1172
|
var KenBurnsOptionsSchema = z.object({
|
|
1159
1173
|
durationSeconds: z.number().positive().optional().default(5),
|
|
1160
1174
|
fps: z.number().int().positive().optional().default(30),
|
|
1161
1175
|
width: z.number().int().positive().optional().default(1920),
|
|
1162
1176
|
height: z.number().int().positive().optional().default(1080),
|
|
1177
|
+
direction: z.enum(["in", "out"]).optional(),
|
|
1163
1178
|
zoomDirection: z.enum(["in", "out", "none"]).optional().default("in"),
|
|
1179
|
+
zoomSpeed: z.number().optional(),
|
|
1180
|
+
pan: z.enum(["center", "left-to-right", "right-to-left", "top-to-bottom", "bottom-to-top"]).optional(),
|
|
1164
1181
|
panDirection: z.enum(["top-to-bottom", "bottom-to-top", "left-to-right", "right-to-left", "center", "none"]).optional().default("center"),
|
|
1165
1182
|
maxZoom: z.number().min(1).max(3).optional().default(1.2)
|
|
1166
1183
|
});
|
|
@@ -1168,17 +1185,28 @@ var AudioDuckingOptionsSchema = z.object({
|
|
|
1168
1185
|
duckingDb: z.number().optional().default(14),
|
|
1169
1186
|
attackMs: z.number().optional().default(20),
|
|
1170
1187
|
releaseMs: z.number().optional().default(250),
|
|
1171
|
-
threshold: z.number().optional().default(0.125)
|
|
1188
|
+
threshold: z.number().optional().default(0.125),
|
|
1189
|
+
crf: z.number().optional(),
|
|
1190
|
+
preset: z.string().optional(),
|
|
1191
|
+
videoCodec: z.string().optional(),
|
|
1192
|
+
audioCodec: z.string().optional()
|
|
1172
1193
|
});
|
|
1173
1194
|
var AudioNormalizationOptionsSchema = z.object({
|
|
1174
1195
|
targetLufs: z.number().optional().default(-14),
|
|
1175
1196
|
truePeak: z.number().optional().default(-1.5),
|
|
1176
1197
|
loudnessRange: z.number().optional().default(11),
|
|
1177
|
-
audioCodec: z.string().optional().default("aac")
|
|
1198
|
+
audioCodec: z.string().optional().default("aac"),
|
|
1199
|
+
bitrate: z.string().optional()
|
|
1178
1200
|
});
|
|
1179
1201
|
var AudioSilenceTrimOptionsSchema = z.object({
|
|
1180
1202
|
silenceThresholdDb: z.number().optional().default(-50),
|
|
1181
|
-
minSilenceDuration: z.number().optional().default(0.5)
|
|
1203
|
+
minSilenceDuration: z.number().optional().default(0.5),
|
|
1204
|
+
startThresholdDb: z.number().optional(),
|
|
1205
|
+
startDurationSeconds: z.number().optional(),
|
|
1206
|
+
stopThresholdDb: z.number().optional(),
|
|
1207
|
+
stopDurationSeconds: z.number().optional(),
|
|
1208
|
+
trimBeginning: z.boolean().optional(),
|
|
1209
|
+
trimEnding: z.boolean().optional()
|
|
1182
1210
|
});
|
|
1183
1211
|
var MediaProbeResultSchema = z.object({
|
|
1184
1212
|
format: z.string().optional(),
|
|
@@ -1186,25 +1214,41 @@ var MediaProbeResultSchema = z.object({
|
|
|
1186
1214
|
width: z.number().int().optional(),
|
|
1187
1215
|
height: z.number().int().optional(),
|
|
1188
1216
|
fps: z.number().optional(),
|
|
1217
|
+
framerate: z.number().optional(),
|
|
1189
1218
|
bitrate: z.number().optional(),
|
|
1219
|
+
aspectRatio: z.string().optional(),
|
|
1190
1220
|
videoCodec: z.string().optional(),
|
|
1191
1221
|
audioCodec: z.string().optional(),
|
|
1192
1222
|
audioChannels: z.number().int().optional(),
|
|
1193
1223
|
sampleRate: z.number().int().optional(),
|
|
1194
|
-
|
|
1224
|
+
audioSampleRate: z.number().int().optional(),
|
|
1225
|
+
sizeBytes: z.number().int().optional(),
|
|
1226
|
+
streams: z.array(z.record(z.unknown())).optional()
|
|
1195
1227
|
});
|
|
1196
1228
|
var VectorTraceOptionsSchema = z.object({
|
|
1229
|
+
engine: z.enum(["vtracer", "potrace"]).optional(),
|
|
1197
1230
|
colorMode: z.enum(["color", "binary"]).optional().default("color"),
|
|
1198
1231
|
hierarchical: z.enum(["stacked", "cutout"]).optional().default("stacked"),
|
|
1199
1232
|
filterSpeckle: z.number().int().min(0).optional().default(4),
|
|
1233
|
+
colorPrecision: z.number().optional(),
|
|
1234
|
+
layerDifference: z.number().optional(),
|
|
1200
1235
|
cornerThreshold: z.number().int().min(0).max(180).optional().default(60),
|
|
1236
|
+
lengthThreshold: z.number().optional(),
|
|
1201
1237
|
segmentLength: z.number().min(0).optional().default(4),
|
|
1238
|
+
maxIterations: z.number().optional(),
|
|
1202
1239
|
spliceThreshold: z.number().int().min(0).max(180).optional().default(45),
|
|
1240
|
+
pathPrecision: z.number().optional(),
|
|
1241
|
+
turnPolicy: z.enum(["black", "white", "left", "right", "minority", "majority"]).optional(),
|
|
1242
|
+
turdSize: z.number().optional(),
|
|
1243
|
+
alphamax: z.number().optional(),
|
|
1244
|
+
opticurve: z.boolean().optional(),
|
|
1245
|
+
opttolerance: z.number().optional(),
|
|
1203
1246
|
scale: z.number().positive().optional().default(1)
|
|
1204
1247
|
});
|
|
1205
1248
|
var PerceptualHashAlgorithmSchema = z.enum(["ahash", "dhash"]);
|
|
1206
1249
|
var PerceptualHashOptionsSchema = z.object({
|
|
1207
1250
|
algorithm: PerceptualHashAlgorithmSchema.optional().default("dhash"),
|
|
1251
|
+
method: PerceptualHashAlgorithmSchema.optional(),
|
|
1208
1252
|
hashSize: z.number().int().min(8).max(64).optional().default(8)
|
|
1209
1253
|
});
|
|
1210
1254
|
var DocumentGenerationOptionsSchema = z.object({
|
|
@@ -1454,6 +1498,13 @@ var CRDTSnapshotSchema = z.object({
|
|
|
1454
1498
|
state: z.record(z.unknown()).default({}),
|
|
1455
1499
|
updatedAt: z.number().int().positive().default(() => Date.now())
|
|
1456
1500
|
});
|
|
1501
|
+
var REALTIME_SUBSCRIBE_STATES = /* @__PURE__ */ ((REALTIME_SUBSCRIBE_STATES2) => {
|
|
1502
|
+
REALTIME_SUBSCRIBE_STATES2["SUBSCRIBED"] = "SUBSCRIBED";
|
|
1503
|
+
REALTIME_SUBSCRIBE_STATES2["CLOSED"] = "CLOSED";
|
|
1504
|
+
REALTIME_SUBSCRIBE_STATES2["TIMED_OUT"] = "TIMED_OUT";
|
|
1505
|
+
REALTIME_SUBSCRIBE_STATES2["CHANNEL_ERROR"] = "CHANNEL_ERROR";
|
|
1506
|
+
return REALTIME_SUBSCRIBE_STATES2;
|
|
1507
|
+
})(REALTIME_SUBSCRIBE_STATES || {});
|
|
1457
1508
|
var AuthUserSchema = z.object({
|
|
1458
1509
|
id: z.string(),
|
|
1459
1510
|
email: z.string().email(),
|
|
@@ -1507,6 +1558,7 @@ var OrganizationSchema = z.object({
|
|
|
1507
1558
|
fuelBalance: z.number().default(0),
|
|
1508
1559
|
stripeCustomerId: z.string().optional(),
|
|
1509
1560
|
stripeSubscriptionId: z.string().optional(),
|
|
1561
|
+
stripeSubscriptionStatus: z.string().optional(),
|
|
1510
1562
|
cancelAtPeriodEnd: z.boolean().optional(),
|
|
1511
1563
|
billingPeriodStart: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1512
1564
|
billingPeriodEnd: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
@@ -1538,6 +1590,12 @@ var TeamSchema = z.object({
|
|
|
1538
1590
|
memberIds: z.array(z.string()).default([]),
|
|
1539
1591
|
planId: z.string().optional().default("free"),
|
|
1540
1592
|
fuelBalance: z.number().optional().default(0),
|
|
1593
|
+
stripeCustomerId: z.string().optional(),
|
|
1594
|
+
stripeSubscriptionId: z.string().optional(),
|
|
1595
|
+
stripeSubscriptionStatus: z.string().optional(),
|
|
1596
|
+
cancelAtPeriodEnd: z.boolean().optional(),
|
|
1597
|
+
billingPeriodStart: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1598
|
+
billingPeriodEnd: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1541
1599
|
metadata: z.record(z.unknown()).optional().default({}),
|
|
1542
1600
|
createdAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1543
1601
|
updatedAt: z.union([z.string(), z.number(), z.date()]).optional()
|
|
@@ -1713,7 +1771,262 @@ var TaskUnreadSummarySchema = z.object({
|
|
|
1713
1771
|
replies: z.number().nonnegative().default(0),
|
|
1714
1772
|
total: z.number().nonnegative().default(0)
|
|
1715
1773
|
});
|
|
1774
|
+
var StatItemSchema = z.object({
|
|
1775
|
+
icon: z.string().optional(),
|
|
1776
|
+
label: z.string().min(1),
|
|
1777
|
+
value: z.string().min(1),
|
|
1778
|
+
delta: z.string().optional(),
|
|
1779
|
+
tone: z.enum(["up", "down", "neutral"]).optional()
|
|
1780
|
+
});
|
|
1781
|
+
var StatsBlockSchema = z.object({
|
|
1782
|
+
kind: z.literal("stats"),
|
|
1783
|
+
items: z.array(StatItemSchema).min(1)
|
|
1784
|
+
});
|
|
1785
|
+
var CalloutBlockSchema = z.object({
|
|
1786
|
+
kind: z.literal("callout"),
|
|
1787
|
+
severity: z.enum(["risk", "opportunity", "info", "success"]),
|
|
1788
|
+
title: z.string().min(1),
|
|
1789
|
+
body: z.string().optional()
|
|
1790
|
+
});
|
|
1791
|
+
var ActionItemSchema = z.object({
|
|
1792
|
+
icon: z.string().optional(),
|
|
1793
|
+
text: z.string().min(1),
|
|
1794
|
+
owner: z.string().optional(),
|
|
1795
|
+
due: z.string().optional()
|
|
1796
|
+
});
|
|
1797
|
+
var ActionsBlockSchema = z.object({
|
|
1798
|
+
kind: z.literal("actions"),
|
|
1799
|
+
title: z.string().optional(),
|
|
1800
|
+
items: z.array(ActionItemSchema).min(1)
|
|
1801
|
+
});
|
|
1802
|
+
var ChartSeriesSchema = z.object({
|
|
1803
|
+
name: z.string(),
|
|
1804
|
+
data: z.array(z.number()),
|
|
1805
|
+
color: z.string().optional()
|
|
1806
|
+
});
|
|
1807
|
+
var ChartDrilldownSchema = z.object({
|
|
1808
|
+
title: z.string().optional(),
|
|
1809
|
+
details: z.record(z.unknown()).optional(),
|
|
1810
|
+
followUps: z.array(z.string()).optional()
|
|
1811
|
+
});
|
|
1812
|
+
var ChartBlockSchema = z.object({
|
|
1813
|
+
kind: z.literal("chart"),
|
|
1814
|
+
chartType: z.enum(["bar", "line", "pie", "radar", "area"]),
|
|
1815
|
+
title: z.string().optional(),
|
|
1816
|
+
description: z.string().optional(),
|
|
1817
|
+
categories: z.array(z.string()).optional(),
|
|
1818
|
+
series: z.array(ChartSeriesSchema),
|
|
1819
|
+
drilldown: ChartDrilldownSchema.optional(),
|
|
1820
|
+
followUps: z.array(z.string()).optional()
|
|
1821
|
+
});
|
|
1822
|
+
var TreeNodeSchema = z.lazy(
|
|
1823
|
+
() => z.object({
|
|
1824
|
+
id: z.string().min(1),
|
|
1825
|
+
label: z.string().optional(),
|
|
1826
|
+
name: z.string().optional(),
|
|
1827
|
+
type: z.string().optional(),
|
|
1828
|
+
subtitle: z.string().optional(),
|
|
1829
|
+
role: z.string().optional(),
|
|
1830
|
+
icon: z.string().optional(),
|
|
1831
|
+
badge: z.string().optional(),
|
|
1832
|
+
badgeTone: z.enum(["success", "warning", "error", "info", "gray"]).optional(),
|
|
1833
|
+
status: z.string().optional(),
|
|
1834
|
+
data: z.record(z.unknown()).optional(),
|
|
1835
|
+
children: z.array(z.lazy(() => TreeNodeSchema)).optional()
|
|
1836
|
+
})
|
|
1837
|
+
);
|
|
1838
|
+
var TreeEdgeSchema = z.object({
|
|
1839
|
+
from: z.string().optional(),
|
|
1840
|
+
source: z.string().optional(),
|
|
1841
|
+
to: z.string().optional(),
|
|
1842
|
+
target: z.string().optional(),
|
|
1843
|
+
label: z.string().optional(),
|
|
1844
|
+
style: z.enum(["solid", "dashed", "dotted"]).optional()
|
|
1845
|
+
});
|
|
1846
|
+
var TreeBlockSchema = z.object({
|
|
1847
|
+
kind: z.enum(["tree", "node-diagram", "node_diagram", "orgchart"]).default("tree"),
|
|
1848
|
+
title: z.string().optional(),
|
|
1849
|
+
description: z.string().optional(),
|
|
1850
|
+
layout: z.enum(["hierarchical", "radial", "flow", "horizontal", "vertical"]).optional(),
|
|
1851
|
+
root: TreeNodeSchema.optional(),
|
|
1852
|
+
nodes: z.array(TreeNodeSchema).optional(),
|
|
1853
|
+
edges: z.array(TreeEdgeSchema).default([]),
|
|
1854
|
+
company: z.string().optional(),
|
|
1855
|
+
people: z.array(TreeNodeSchema).optional(),
|
|
1856
|
+
reports: z.array(TreeEdgeSchema).optional()
|
|
1857
|
+
});
|
|
1858
|
+
var NodeDiagramBlockSchema = TreeBlockSchema;
|
|
1859
|
+
var OrgChartBlockSchema = TreeBlockSchema;
|
|
1860
|
+
var OrgChartPersonSchema = TreeNodeSchema;
|
|
1861
|
+
var OrgChartReportSchema = TreeEdgeSchema;
|
|
1862
|
+
var BUILT_IN_EPHEMERAL_LANGS = [
|
|
1863
|
+
"stats",
|
|
1864
|
+
"callout",
|
|
1865
|
+
"actions",
|
|
1866
|
+
"chart",
|
|
1867
|
+
"tree",
|
|
1868
|
+
"node-diagram"
|
|
1869
|
+
];
|
|
1870
|
+
var AudioDiarizationWordSchema = z.object({
|
|
1871
|
+
word: z.string(),
|
|
1872
|
+
startOffset: z.union([z.string(), z.number()]).optional(),
|
|
1873
|
+
endOffset: z.union([z.string(), z.number()]).optional()
|
|
1874
|
+
});
|
|
1875
|
+
var AudioDiarizationSegmentSchema = z.object({
|
|
1876
|
+
speaker: z.string().describe("Speaker identifier (e.g. Speaker 1, Speaker 2)"),
|
|
1877
|
+
text: z.string().describe("Spoken segment text"),
|
|
1878
|
+
startOffset: z.union([z.string(), z.number()]).optional().describe("Start timestamp of the segment"),
|
|
1879
|
+
endOffset: z.union([z.string(), z.number()]).optional().describe("End timestamp of the segment"),
|
|
1880
|
+
words: z.array(AudioDiarizationWordSchema).optional().describe("Word-level timestamps for words in this segment")
|
|
1881
|
+
});
|
|
1882
|
+
var AudioDiarizationSchema = z.object({
|
|
1883
|
+
transcript: z.string().describe("Full combined transcript text"),
|
|
1884
|
+
speakers: z.array(z.string()).describe("List of unique speaker names or identifiers"),
|
|
1885
|
+
segments: z.array(AudioDiarizationSegmentSchema).describe("Ordered chronological segments of speech by speaker with timestamps")
|
|
1886
|
+
});
|
|
1887
|
+
var WebsiteCrawlScopeSchema = z.object({
|
|
1888
|
+
url: z.string(),
|
|
1889
|
+
maxDepth: z.number().int().min(0).max(10).optional().default(1),
|
|
1890
|
+
maxPages: z.number().int().min(1).max(500).optional().default(25),
|
|
1891
|
+
sameDomainOnly: z.boolean().optional().default(true),
|
|
1892
|
+
allowSubdomains: z.boolean().optional().default(false),
|
|
1893
|
+
pathPrefix: z.string().optional(),
|
|
1894
|
+
includeImages: z.boolean().optional().default(true),
|
|
1895
|
+
maxImagesPerPage: z.number().int().optional().default(15),
|
|
1896
|
+
maxImageBytes: z.number().int().optional().default(5 * 1024 * 1024),
|
|
1897
|
+
allowedImageTypes: z.array(z.string()).optional(),
|
|
1898
|
+
cacheId: z.string().optional(),
|
|
1899
|
+
ttlMs: z.number().optional(),
|
|
1900
|
+
forceRefresh: z.boolean().optional().default(false),
|
|
1901
|
+
requestTimeoutMs: z.number().optional().default(15e3),
|
|
1902
|
+
userAgent: z.string().optional()
|
|
1903
|
+
});
|
|
1904
|
+
var CachedPageSchema = z.object({
|
|
1905
|
+
url: z.string(),
|
|
1906
|
+
path: z.string(),
|
|
1907
|
+
title: z.string(),
|
|
1908
|
+
markdown: z.string(),
|
|
1909
|
+
textLength: z.number().nonnegative(),
|
|
1910
|
+
links: z.array(z.string()),
|
|
1911
|
+
imageAssetIds: z.array(z.string()),
|
|
1912
|
+
fetchedAt: z.union([z.string(), z.date()]),
|
|
1913
|
+
expiresAt: z.union([z.string(), z.date()]).optional(),
|
|
1914
|
+
hasInjectionWarning: z.boolean().optional(),
|
|
1915
|
+
metadata: z.record(z.unknown()).optional()
|
|
1916
|
+
});
|
|
1917
|
+
var CachedPageSummarySchema = z.object({
|
|
1918
|
+
url: z.string(),
|
|
1919
|
+
path: z.string(),
|
|
1920
|
+
title: z.string(),
|
|
1921
|
+
textLength: z.number().nonnegative(),
|
|
1922
|
+
imageCount: z.number().nonnegative(),
|
|
1923
|
+
fetchedAt: z.union([z.string(), z.date()])
|
|
1924
|
+
});
|
|
1925
|
+
var WebsiteCacheSummarySchema = z.object({
|
|
1926
|
+
cacheId: z.string(),
|
|
1927
|
+
seedUrl: z.string(),
|
|
1928
|
+
pagesCount: z.number().nonnegative(),
|
|
1929
|
+
imagesCount: z.number().nonnegative(),
|
|
1930
|
+
pages: z.array(CachedPageSummarySchema),
|
|
1931
|
+
isFromCache: z.boolean(),
|
|
1932
|
+
cachedAt: z.union([z.string(), z.date()])
|
|
1933
|
+
});
|
|
1934
|
+
var CachedPageSearchResultSchema = z.object({
|
|
1935
|
+
url: z.string(),
|
|
1936
|
+
path: z.string(),
|
|
1937
|
+
title: z.string(),
|
|
1938
|
+
snippet: z.string(),
|
|
1939
|
+
matchScore: z.number()
|
|
1940
|
+
});
|
|
1941
|
+
var SocialPlatformSchema = z.enum(["bluesky", "twitter", "linkedin", "tiktok", "instagram"]);
|
|
1942
|
+
var SocialMediaTypeSchema = z.enum(["image", "video"]);
|
|
1943
|
+
var SocialPostPayloadSchema = z.object({
|
|
1944
|
+
text: z.string(),
|
|
1945
|
+
mediaPath: z.string().optional(),
|
|
1946
|
+
mediaType: SocialMediaTypeSchema.optional(),
|
|
1947
|
+
tags: z.array(z.string()).optional(),
|
|
1948
|
+
metadata: z.record(z.unknown()).optional()
|
|
1949
|
+
});
|
|
1950
|
+
var SocialPublishResultSchema = z.object({
|
|
1951
|
+
success: z.boolean(),
|
|
1952
|
+
platform: z.string(),
|
|
1953
|
+
id: z.string().optional(),
|
|
1954
|
+
url: z.string().optional(),
|
|
1955
|
+
timestamp: z.string(),
|
|
1956
|
+
rawResponse: z.unknown().optional()
|
|
1957
|
+
});
|
|
1958
|
+
var PublishResultSchema = SocialPublishResultSchema;
|
|
1959
|
+
var SocialSessionStatusSchema = z.object({
|
|
1960
|
+
authenticated: z.boolean(),
|
|
1961
|
+
platform: z.string(),
|
|
1962
|
+
username: z.string().optional(),
|
|
1963
|
+
expiresAt: z.string().optional(),
|
|
1964
|
+
requiresInteraction: z.boolean().optional()
|
|
1965
|
+
});
|
|
1966
|
+
var SessionStatusSchema = SocialSessionStatusSchema;
|
|
1967
|
+
var UtmParamsSchema = z.object({
|
|
1968
|
+
source: z.string().optional(),
|
|
1969
|
+
medium: z.string().optional(),
|
|
1970
|
+
campaign: z.string().optional(),
|
|
1971
|
+
term: z.string().optional(),
|
|
1972
|
+
content: z.string().optional(),
|
|
1973
|
+
ref: z.string().optional()
|
|
1974
|
+
}).catchall(z.string().optional());
|
|
1975
|
+
var MetaConfigSchema = z.object({
|
|
1976
|
+
title: z.string().optional(),
|
|
1977
|
+
titleTemplate: z.string().optional(),
|
|
1978
|
+
description: z.string().optional(),
|
|
1979
|
+
excerpt: z.string().optional(),
|
|
1980
|
+
siteName: z.string().optional(),
|
|
1981
|
+
site: z.string().optional(),
|
|
1982
|
+
siteUrl: z.string().optional(),
|
|
1983
|
+
url: z.string().optional(),
|
|
1984
|
+
canonicalUrl: z.string().optional(),
|
|
1985
|
+
mainImage: z.string().optional(),
|
|
1986
|
+
mainImageAlt: z.string().optional(),
|
|
1987
|
+
squareImage: z.string().optional(),
|
|
1988
|
+
squareImageAlt: z.string().optional(),
|
|
1989
|
+
ogType: z.enum(["website", "article", "profile", "product"]).optional(),
|
|
1990
|
+
ogLanguage: z.string().optional(),
|
|
1991
|
+
twitterCard: z.enum(["summary", "summary_large_image", "app", "player"]).optional(),
|
|
1992
|
+
twitterHandle: z.string().optional(),
|
|
1993
|
+
article: z.boolean().optional(),
|
|
1994
|
+
datePublished: z.string().optional(),
|
|
1995
|
+
lastUpdated: z.string().optional(),
|
|
1996
|
+
authors: z.array(z.string()).optional(),
|
|
1997
|
+
tags: z.array(z.string()).optional(),
|
|
1998
|
+
noindex: z.boolean().optional(),
|
|
1999
|
+
nofollow: z.boolean().optional()
|
|
2000
|
+
});
|
|
2001
|
+
var LlmsLinkSchema = z.object({
|
|
2002
|
+
title: z.string(),
|
|
2003
|
+
url: z.string(),
|
|
2004
|
+
description: z.string().optional()
|
|
2005
|
+
});
|
|
2006
|
+
var LlmsSectionSchema = z.object({
|
|
2007
|
+
title: z.string(),
|
|
2008
|
+
links: z.array(LlmsLinkSchema)
|
|
2009
|
+
});
|
|
2010
|
+
var LlmsTxtConfigSchema = z.object({
|
|
2011
|
+
title: z.string(),
|
|
2012
|
+
summary: z.string(),
|
|
2013
|
+
notes: z.array(z.string()).optional(),
|
|
2014
|
+
sections: z.array(LlmsSectionSchema).optional(),
|
|
2015
|
+
optionalSections: z.array(LlmsSectionSchema).optional()
|
|
2016
|
+
});
|
|
2017
|
+
var LlmsDocumentContentSchema = z.object({
|
|
2018
|
+
title: z.string(),
|
|
2019
|
+
url: z.string().optional(),
|
|
2020
|
+
markdown: z.string()
|
|
2021
|
+
});
|
|
2022
|
+
var LlmsFullTxtConfigSchema = z.object({
|
|
2023
|
+
title: z.string(),
|
|
2024
|
+
summary: z.string(),
|
|
2025
|
+
documents: z.array(LlmsDocumentContentSchema)
|
|
2026
|
+
});
|
|
1716
2027
|
export {
|
|
2028
|
+
ActionItemSchema,
|
|
2029
|
+
ActionsBlockSchema,
|
|
1717
2030
|
ActivityActionSchema,
|
|
1718
2031
|
ActivityActionTypeSchema,
|
|
1719
2032
|
ActivityActorSchema,
|
|
@@ -1736,6 +2049,9 @@ export {
|
|
|
1736
2049
|
AnimatedGifCompositeSchema,
|
|
1737
2050
|
ArcDistortSchema,
|
|
1738
2051
|
AspectRatioSchema,
|
|
2052
|
+
AudioDiarizationSchema,
|
|
2053
|
+
AudioDiarizationSegmentSchema,
|
|
2054
|
+
AudioDiarizationWordSchema,
|
|
1739
2055
|
AudioDuckingOptionsSchema,
|
|
1740
2056
|
AudioMixOptionsSchema,
|
|
1741
2057
|
AudioMixTrackSchema,
|
|
@@ -1745,9 +2061,17 @@ export {
|
|
|
1745
2061
|
AudioVisualizerTypeSchema,
|
|
1746
2062
|
AuthUserSchema,
|
|
1747
2063
|
AutoFitCaptionSchema,
|
|
2064
|
+
BUILT_IN_EPHEMERAL_LANGS,
|
|
1748
2065
|
BaseFormControlSchema,
|
|
1749
2066
|
CRDTSnapshotSchema,
|
|
2067
|
+
CachedPageSchema,
|
|
2068
|
+
CachedPageSearchResultSchema,
|
|
2069
|
+
CachedPageSummarySchema,
|
|
2070
|
+
CalloutBlockSchema,
|
|
1750
2071
|
ChannelPreferencesSchema,
|
|
2072
|
+
ChartBlockSchema,
|
|
2073
|
+
ChartDrilldownSchema,
|
|
2074
|
+
ChartSeriesSchema,
|
|
1751
2075
|
CodeGenerationSchema,
|
|
1752
2076
|
ComponentDependencySchema,
|
|
1753
2077
|
ComponentDocsSchema,
|
|
@@ -1802,11 +2126,18 @@ export {
|
|
|
1802
2126
|
InviteTargetTypeSchema,
|
|
1803
2127
|
JsonGenerationSchema,
|
|
1804
2128
|
KenBurnsOptionsSchema,
|
|
2129
|
+
LlmsDocumentContentSchema,
|
|
2130
|
+
LlmsFullTxtConfigSchema,
|
|
2131
|
+
LlmsLinkSchema,
|
|
2132
|
+
LlmsSectionSchema,
|
|
2133
|
+
LlmsTxtConfigSchema,
|
|
1805
2134
|
LockClaimRequestSchema,
|
|
1806
2135
|
LockHeartbeatRequestSchema,
|
|
1807
2136
|
LockReleaseRequestSchema,
|
|
1808
2137
|
LockStatusSchema,
|
|
1809
2138
|
MediaProbeResultSchema,
|
|
2139
|
+
MetaConfigSchema,
|
|
2140
|
+
NodeDiagramBlockSchema,
|
|
1810
2141
|
NotificationActorSchema,
|
|
1811
2142
|
NotificationCategorySchema,
|
|
1812
2143
|
NotificationChannelSchema,
|
|
@@ -1822,6 +2153,9 @@ export {
|
|
|
1822
2153
|
OTRevisionSchema,
|
|
1823
2154
|
OTTextOpSchema,
|
|
1824
2155
|
OTTextOpTypeSchema,
|
|
2156
|
+
OrgChartBlockSchema,
|
|
2157
|
+
OrgChartPersonSchema,
|
|
2158
|
+
OrgChartReportSchema,
|
|
1825
2159
|
OrgMemberSchema,
|
|
1826
2160
|
OrganizationSchema,
|
|
1827
2161
|
PerceptualHashAlgorithmSchema,
|
|
@@ -1835,9 +2169,11 @@ export {
|
|
|
1835
2169
|
PresenceStatusSchema,
|
|
1836
2170
|
PresenceUserSchema,
|
|
1837
2171
|
PreviewHarnessSchema,
|
|
2172
|
+
PublishResultSchema,
|
|
1838
2173
|
QueueJobSchema,
|
|
1839
2174
|
QueueJobStatusSchema,
|
|
1840
2175
|
QueueJobTypeSchema,
|
|
2176
|
+
REALTIME_SUBSCRIBE_STATES,
|
|
1841
2177
|
RecordLockInfoSchema,
|
|
1842
2178
|
RecordLockSchema,
|
|
1843
2179
|
ReferenceDataSourceSchema,
|
|
@@ -1849,7 +2185,15 @@ export {
|
|
|
1849
2185
|
SemanticReviewResultSchema,
|
|
1850
2186
|
SemanticReviewStatusSchema,
|
|
1851
2187
|
ServiceClientSchema,
|
|
2188
|
+
SessionStatusSchema,
|
|
2189
|
+
SocialMediaTypeSchema,
|
|
2190
|
+
SocialPlatformSchema,
|
|
2191
|
+
SocialPostPayloadSchema,
|
|
2192
|
+
SocialPublishResultSchema,
|
|
2193
|
+
SocialSessionStatusSchema,
|
|
1852
2194
|
SocialVideoGenerationSchema,
|
|
2195
|
+
StatItemSchema,
|
|
2196
|
+
StatsBlockSchema,
|
|
1853
2197
|
SubmissionScoreSchema,
|
|
1854
2198
|
SubtitleBurnOptionsSchema,
|
|
1855
2199
|
SubtitleFormatSchema,
|
|
@@ -1869,6 +2213,9 @@ export {
|
|
|
1869
2213
|
ThemeSupportSchema,
|
|
1870
2214
|
ThemeTokensSchema,
|
|
1871
2215
|
ThemeTypographyTokensSchema,
|
|
2216
|
+
TreeBlockSchema,
|
|
2217
|
+
TreeEdgeSchema,
|
|
2218
|
+
TreeNodeSchema,
|
|
1872
2219
|
TypingIndicatorSchema,
|
|
1873
2220
|
UIComponentTypeSchema,
|
|
1874
2221
|
UIExtractionResultSchema,
|
|
@@ -1877,6 +2224,7 @@ export {
|
|
|
1877
2224
|
UIValidationResultSchema,
|
|
1878
2225
|
UserPreferencesSchema,
|
|
1879
2226
|
UserProfileSchema,
|
|
2227
|
+
UtmParamsSchema,
|
|
1880
2228
|
VectorTraceOptionsSchema,
|
|
1881
2229
|
VideoAnalysisCategorySchema,
|
|
1882
2230
|
VideoAnalysisSchema,
|
|
@@ -1901,5 +2249,7 @@ export {
|
|
|
1901
2249
|
WaitlistEntrySchema,
|
|
1902
2250
|
WaitlistStatusSchema,
|
|
1903
2251
|
WatermarkPositionSchema,
|
|
1904
|
-
WatermarkSchema
|
|
2252
|
+
WatermarkSchema,
|
|
2253
|
+
WebsiteCacheSummarySchema,
|
|
2254
|
+
WebsiteCrawlScopeSchema
|
|
1905
2255
|
};
|