@aviaryhq/cloudglue-js 0.1.1 → 0.1.3

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.
@@ -1,4 +1,25 @@
1
1
  import { z } from "zod";
2
+ export type FileSegmentationConfig = Partial<{
3
+ segmentation_id: string;
4
+ segmentation_config: SegmentationConfig;
5
+ }>;
6
+ export type SegmentationConfig = {
7
+ strategy: "uniform" | "shot-detector";
8
+ uniform_config?: SegmentationUniformConfig | undefined;
9
+ shot_detector_config?: SegmentationShotDetectorConfig | undefined;
10
+ start_time_seconds?: number | undefined;
11
+ end_time_seconds?: number | undefined;
12
+ };
13
+ export type SegmentationUniformConfig = {
14
+ window_seconds: number;
15
+ hop_seconds?: number | undefined;
16
+ };
17
+ export type SegmentationShotDetectorConfig = {
18
+ threshold?: (number | null) | undefined;
19
+ min_seconds?: (number | null) | undefined;
20
+ max_seconds?: (number | null) | undefined;
21
+ detector: "adaptive" | "content";
22
+ };
2
23
  export type File = {
3
24
  id: string;
4
25
  status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
@@ -15,6 +36,422 @@ export type File = {
15
36
  has_audio: boolean | null;
16
37
  }> | undefined;
17
38
  };
39
+ export type Segmentation = {
40
+ segmentation_id: string;
41
+ status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
42
+ created_at: number;
43
+ file_id: string;
44
+ segmentation_config: SegmentationConfig;
45
+ total_segments?: number | undefined;
46
+ data?: {
47
+ object: "list";
48
+ segments: Array<{
49
+ id: string;
50
+ start_time: number;
51
+ end_time: number;
52
+ }>;
53
+ total: number;
54
+ limit: number;
55
+ offset: number;
56
+ } | undefined;
57
+ };
58
+ export declare const SegmentationUniformConfig: z.ZodObject<{
59
+ window_seconds: z.ZodNumber;
60
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
61
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
62
+ window_seconds: z.ZodNumber;
63
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
64
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
65
+ window_seconds: z.ZodNumber;
66
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
67
+ }, z.ZodTypeAny, "passthrough">>;
68
+ export declare const SegmentationShotDetectorConfig: z.ZodObject<{
69
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ detector: z.ZodEnum<["adaptive", "content"]>;
73
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
74
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
77
+ detector: z.ZodEnum<["adaptive", "content"]>;
78
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
79
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
82
+ detector: z.ZodEnum<["adaptive", "content"]>;
83
+ }, z.ZodTypeAny, "passthrough">>;
84
+ export declare const SegmentationConfig: z.ZodObject<{
85
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
86
+ uniform_config: z.ZodOptional<z.ZodObject<{
87
+ window_seconds: z.ZodNumber;
88
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
89
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
90
+ window_seconds: z.ZodNumber;
91
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
92
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
93
+ window_seconds: z.ZodNumber;
94
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
95
+ }, z.ZodTypeAny, "passthrough">>>;
96
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
97
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
99
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
100
+ detector: z.ZodEnum<["adaptive", "content"]>;
101
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
103
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
104
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105
+ detector: z.ZodEnum<["adaptive", "content"]>;
106
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
107
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
108
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
110
+ detector: z.ZodEnum<["adaptive", "content"]>;
111
+ }, z.ZodTypeAny, "passthrough">>>;
112
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
113
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
114
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
115
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
116
+ uniform_config: z.ZodOptional<z.ZodObject<{
117
+ window_seconds: z.ZodNumber;
118
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
119
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
120
+ window_seconds: z.ZodNumber;
121
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
122
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
123
+ window_seconds: z.ZodNumber;
124
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
125
+ }, z.ZodTypeAny, "passthrough">>>;
126
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
127
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
128
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
129
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
130
+ detector: z.ZodEnum<["adaptive", "content"]>;
131
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
132
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
133
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
134
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
135
+ detector: z.ZodEnum<["adaptive", "content"]>;
136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
137
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
138
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
139
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
140
+ detector: z.ZodEnum<["adaptive", "content"]>;
141
+ }, z.ZodTypeAny, "passthrough">>>;
142
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
143
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
144
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
145
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
146
+ uniform_config: z.ZodOptional<z.ZodObject<{
147
+ window_seconds: z.ZodNumber;
148
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
150
+ window_seconds: z.ZodNumber;
151
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
152
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
153
+ window_seconds: z.ZodNumber;
154
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
155
+ }, z.ZodTypeAny, "passthrough">>>;
156
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
157
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
158
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
159
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
160
+ detector: z.ZodEnum<["adaptive", "content"]>;
161
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
162
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
163
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
164
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
165
+ detector: z.ZodEnum<["adaptive", "content"]>;
166
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
167
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
168
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
169
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
170
+ detector: z.ZodEnum<["adaptive", "content"]>;
171
+ }, z.ZodTypeAny, "passthrough">>>;
172
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
173
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
174
+ }, z.ZodTypeAny, "passthrough">>;
175
+ export declare const FileSegmentationConfig: z.ZodObject<{
176
+ segmentation_id: z.ZodOptional<z.ZodString>;
177
+ segmentation_config: z.ZodOptional<z.ZodObject<{
178
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
179
+ uniform_config: z.ZodOptional<z.ZodObject<{
180
+ window_seconds: z.ZodNumber;
181
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
183
+ window_seconds: z.ZodNumber;
184
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
185
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
186
+ window_seconds: z.ZodNumber;
187
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
188
+ }, z.ZodTypeAny, "passthrough">>>;
189
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
190
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
191
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
+ detector: z.ZodEnum<["adaptive", "content"]>;
194
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
195
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
196
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
197
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
198
+ detector: z.ZodEnum<["adaptive", "content"]>;
199
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
200
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
201
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
202
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
203
+ detector: z.ZodEnum<["adaptive", "content"]>;
204
+ }, z.ZodTypeAny, "passthrough">>>;
205
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
206
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
207
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
208
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
209
+ uniform_config: z.ZodOptional<z.ZodObject<{
210
+ window_seconds: z.ZodNumber;
211
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
212
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
213
+ window_seconds: z.ZodNumber;
214
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
215
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
216
+ window_seconds: z.ZodNumber;
217
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
218
+ }, z.ZodTypeAny, "passthrough">>>;
219
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
220
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
221
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
222
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
223
+ detector: z.ZodEnum<["adaptive", "content"]>;
224
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
225
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
226
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
227
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
228
+ detector: z.ZodEnum<["adaptive", "content"]>;
229
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
230
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
231
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
232
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
233
+ detector: z.ZodEnum<["adaptive", "content"]>;
234
+ }, z.ZodTypeAny, "passthrough">>>;
235
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
236
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
237
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
238
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
239
+ uniform_config: z.ZodOptional<z.ZodObject<{
240
+ window_seconds: z.ZodNumber;
241
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
242
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
243
+ window_seconds: z.ZodNumber;
244
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
245
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
246
+ window_seconds: z.ZodNumber;
247
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
248
+ }, z.ZodTypeAny, "passthrough">>>;
249
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
250
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
251
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
252
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
253
+ detector: z.ZodEnum<["adaptive", "content"]>;
254
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
255
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
256
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
257
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
258
+ detector: z.ZodEnum<["adaptive", "content"]>;
259
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
260
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
261
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
262
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
263
+ detector: z.ZodEnum<["adaptive", "content"]>;
264
+ }, z.ZodTypeAny, "passthrough">>>;
265
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
266
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
267
+ }, z.ZodTypeAny, "passthrough">>>;
268
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
269
+ segmentation_id: z.ZodOptional<z.ZodString>;
270
+ segmentation_config: z.ZodOptional<z.ZodObject<{
271
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
272
+ uniform_config: z.ZodOptional<z.ZodObject<{
273
+ window_seconds: z.ZodNumber;
274
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
275
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
276
+ window_seconds: z.ZodNumber;
277
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
278
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
279
+ window_seconds: z.ZodNumber;
280
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
281
+ }, z.ZodTypeAny, "passthrough">>>;
282
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
283
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
284
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
285
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
286
+ detector: z.ZodEnum<["adaptive", "content"]>;
287
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
288
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
289
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
290
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
291
+ detector: z.ZodEnum<["adaptive", "content"]>;
292
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
293
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
294
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
295
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
296
+ detector: z.ZodEnum<["adaptive", "content"]>;
297
+ }, z.ZodTypeAny, "passthrough">>>;
298
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
299
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
300
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
301
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
302
+ uniform_config: z.ZodOptional<z.ZodObject<{
303
+ window_seconds: z.ZodNumber;
304
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
305
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
306
+ window_seconds: z.ZodNumber;
307
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
308
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
309
+ window_seconds: z.ZodNumber;
310
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
311
+ }, z.ZodTypeAny, "passthrough">>>;
312
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
313
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
314
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
315
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
316
+ detector: z.ZodEnum<["adaptive", "content"]>;
317
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
318
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
319
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
320
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
321
+ detector: z.ZodEnum<["adaptive", "content"]>;
322
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
323
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
324
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
325
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
326
+ detector: z.ZodEnum<["adaptive", "content"]>;
327
+ }, z.ZodTypeAny, "passthrough">>>;
328
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
329
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
330
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
331
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
332
+ uniform_config: z.ZodOptional<z.ZodObject<{
333
+ window_seconds: z.ZodNumber;
334
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
335
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
336
+ window_seconds: z.ZodNumber;
337
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
338
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
339
+ window_seconds: z.ZodNumber;
340
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
341
+ }, z.ZodTypeAny, "passthrough">>>;
342
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
343
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
344
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
345
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
346
+ detector: z.ZodEnum<["adaptive", "content"]>;
347
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
348
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
349
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
350
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
351
+ detector: z.ZodEnum<["adaptive", "content"]>;
352
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
353
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
354
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
355
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
356
+ detector: z.ZodEnum<["adaptive", "content"]>;
357
+ }, z.ZodTypeAny, "passthrough">>>;
358
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
359
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
360
+ }, z.ZodTypeAny, "passthrough">>>;
361
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
362
+ segmentation_id: z.ZodOptional<z.ZodString>;
363
+ segmentation_config: z.ZodOptional<z.ZodObject<{
364
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
365
+ uniform_config: z.ZodOptional<z.ZodObject<{
366
+ window_seconds: z.ZodNumber;
367
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
368
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
369
+ window_seconds: z.ZodNumber;
370
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
371
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
372
+ window_seconds: z.ZodNumber;
373
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
374
+ }, z.ZodTypeAny, "passthrough">>>;
375
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
376
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
377
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
378
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
379
+ detector: z.ZodEnum<["adaptive", "content"]>;
380
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
381
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
382
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
383
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
384
+ detector: z.ZodEnum<["adaptive", "content"]>;
385
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
386
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
387
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
388
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
389
+ detector: z.ZodEnum<["adaptive", "content"]>;
390
+ }, z.ZodTypeAny, "passthrough">>>;
391
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
392
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
393
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
394
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
395
+ uniform_config: z.ZodOptional<z.ZodObject<{
396
+ window_seconds: z.ZodNumber;
397
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
398
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
399
+ window_seconds: z.ZodNumber;
400
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
401
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
402
+ window_seconds: z.ZodNumber;
403
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
404
+ }, z.ZodTypeAny, "passthrough">>>;
405
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
406
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
407
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
408
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
409
+ detector: z.ZodEnum<["adaptive", "content"]>;
410
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
411
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
412
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
414
+ detector: z.ZodEnum<["adaptive", "content"]>;
415
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
416
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
417
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
418
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
419
+ detector: z.ZodEnum<["adaptive", "content"]>;
420
+ }, z.ZodTypeAny, "passthrough">>>;
421
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
422
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
423
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
424
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
425
+ uniform_config: z.ZodOptional<z.ZodObject<{
426
+ window_seconds: z.ZodNumber;
427
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
428
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
429
+ window_seconds: z.ZodNumber;
430
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
431
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
432
+ window_seconds: z.ZodNumber;
433
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
434
+ }, z.ZodTypeAny, "passthrough">>>;
435
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
436
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
+ detector: z.ZodEnum<["adaptive", "content"]>;
440
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
441
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
442
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
443
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
444
+ detector: z.ZodEnum<["adaptive", "content"]>;
445
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
446
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
447
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
448
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
449
+ detector: z.ZodEnum<["adaptive", "content"]>;
450
+ }, z.ZodTypeAny, "passthrough">>>;
451
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
452
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
453
+ }, z.ZodTypeAny, "passthrough">>>;
454
+ }, z.ZodTypeAny, "passthrough">>;
18
455
  export declare const File: z.ZodObject<{
19
456
  id: z.ZodString;
20
457
  status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
@@ -97,3 +534,460 @@ export declare const File: z.ZodObject<{
97
534
  has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
98
535
  }, z.ZodTypeAny, "passthrough">>>;
99
536
  }, z.ZodTypeAny, "passthrough">>;
537
+ export declare const Segmentation: z.ZodObject<{
538
+ segmentation_id: z.ZodString;
539
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
540
+ created_at: z.ZodNumber;
541
+ file_id: z.ZodString;
542
+ segmentation_config: z.ZodObject<{
543
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
544
+ uniform_config: z.ZodOptional<z.ZodObject<{
545
+ window_seconds: z.ZodNumber;
546
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
547
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
548
+ window_seconds: z.ZodNumber;
549
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
550
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
551
+ window_seconds: z.ZodNumber;
552
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
553
+ }, z.ZodTypeAny, "passthrough">>>;
554
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
555
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
556
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
557
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
558
+ detector: z.ZodEnum<["adaptive", "content"]>;
559
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
560
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
561
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
562
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
563
+ detector: z.ZodEnum<["adaptive", "content"]>;
564
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
565
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
566
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
567
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
568
+ detector: z.ZodEnum<["adaptive", "content"]>;
569
+ }, z.ZodTypeAny, "passthrough">>>;
570
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
571
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
572
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
573
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
574
+ uniform_config: z.ZodOptional<z.ZodObject<{
575
+ window_seconds: z.ZodNumber;
576
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
577
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
578
+ window_seconds: z.ZodNumber;
579
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
580
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
581
+ window_seconds: z.ZodNumber;
582
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
583
+ }, z.ZodTypeAny, "passthrough">>>;
584
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
585
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
586
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
587
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
588
+ detector: z.ZodEnum<["adaptive", "content"]>;
589
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
590
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
591
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
592
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
593
+ detector: z.ZodEnum<["adaptive", "content"]>;
594
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
595
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
596
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
597
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
598
+ detector: z.ZodEnum<["adaptive", "content"]>;
599
+ }, z.ZodTypeAny, "passthrough">>>;
600
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
601
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
602
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
603
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
604
+ uniform_config: z.ZodOptional<z.ZodObject<{
605
+ window_seconds: z.ZodNumber;
606
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
607
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
608
+ window_seconds: z.ZodNumber;
609
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
610
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
611
+ window_seconds: z.ZodNumber;
612
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
613
+ }, z.ZodTypeAny, "passthrough">>>;
614
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
615
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
616
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
617
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
618
+ detector: z.ZodEnum<["adaptive", "content"]>;
619
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
620
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
621
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
622
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
623
+ detector: z.ZodEnum<["adaptive", "content"]>;
624
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
625
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
626
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
627
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
628
+ detector: z.ZodEnum<["adaptive", "content"]>;
629
+ }, z.ZodTypeAny, "passthrough">>>;
630
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
631
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
632
+ }, z.ZodTypeAny, "passthrough">>;
633
+ total_segments: z.ZodOptional<z.ZodNumber>;
634
+ data: z.ZodOptional<z.ZodObject<{
635
+ object: z.ZodLiteral<"list">;
636
+ segments: z.ZodArray<z.ZodObject<{
637
+ id: z.ZodString;
638
+ start_time: z.ZodNumber;
639
+ end_time: z.ZodNumber;
640
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
641
+ id: z.ZodString;
642
+ start_time: z.ZodNumber;
643
+ end_time: z.ZodNumber;
644
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
645
+ id: z.ZodString;
646
+ start_time: z.ZodNumber;
647
+ end_time: z.ZodNumber;
648
+ }, z.ZodTypeAny, "passthrough">>, "many">;
649
+ total: z.ZodNumber;
650
+ limit: z.ZodNumber;
651
+ offset: z.ZodNumber;
652
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
653
+ object: z.ZodLiteral<"list">;
654
+ segments: z.ZodArray<z.ZodObject<{
655
+ id: z.ZodString;
656
+ start_time: z.ZodNumber;
657
+ end_time: z.ZodNumber;
658
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
659
+ id: z.ZodString;
660
+ start_time: z.ZodNumber;
661
+ end_time: z.ZodNumber;
662
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
663
+ id: z.ZodString;
664
+ start_time: z.ZodNumber;
665
+ end_time: z.ZodNumber;
666
+ }, z.ZodTypeAny, "passthrough">>, "many">;
667
+ total: z.ZodNumber;
668
+ limit: z.ZodNumber;
669
+ offset: z.ZodNumber;
670
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
671
+ object: z.ZodLiteral<"list">;
672
+ segments: z.ZodArray<z.ZodObject<{
673
+ id: z.ZodString;
674
+ start_time: z.ZodNumber;
675
+ end_time: z.ZodNumber;
676
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
677
+ id: z.ZodString;
678
+ start_time: z.ZodNumber;
679
+ end_time: z.ZodNumber;
680
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
681
+ id: z.ZodString;
682
+ start_time: z.ZodNumber;
683
+ end_time: z.ZodNumber;
684
+ }, z.ZodTypeAny, "passthrough">>, "many">;
685
+ total: z.ZodNumber;
686
+ limit: z.ZodNumber;
687
+ offset: z.ZodNumber;
688
+ }, z.ZodTypeAny, "passthrough">>>;
689
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
690
+ segmentation_id: z.ZodString;
691
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
692
+ created_at: z.ZodNumber;
693
+ file_id: z.ZodString;
694
+ segmentation_config: z.ZodObject<{
695
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
696
+ uniform_config: z.ZodOptional<z.ZodObject<{
697
+ window_seconds: z.ZodNumber;
698
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
699
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
700
+ window_seconds: z.ZodNumber;
701
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
702
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
703
+ window_seconds: z.ZodNumber;
704
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
705
+ }, z.ZodTypeAny, "passthrough">>>;
706
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
707
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
708
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
709
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
710
+ detector: z.ZodEnum<["adaptive", "content"]>;
711
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
712
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
713
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
714
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
715
+ detector: z.ZodEnum<["adaptive", "content"]>;
716
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
717
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
718
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
719
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
720
+ detector: z.ZodEnum<["adaptive", "content"]>;
721
+ }, z.ZodTypeAny, "passthrough">>>;
722
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
723
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
724
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
725
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
726
+ uniform_config: z.ZodOptional<z.ZodObject<{
727
+ window_seconds: z.ZodNumber;
728
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
729
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
730
+ window_seconds: z.ZodNumber;
731
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
732
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
733
+ window_seconds: z.ZodNumber;
734
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
735
+ }, z.ZodTypeAny, "passthrough">>>;
736
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
737
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
738
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
739
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
740
+ detector: z.ZodEnum<["adaptive", "content"]>;
741
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
742
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
743
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
744
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
745
+ detector: z.ZodEnum<["adaptive", "content"]>;
746
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
747
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
748
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
749
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
750
+ detector: z.ZodEnum<["adaptive", "content"]>;
751
+ }, z.ZodTypeAny, "passthrough">>>;
752
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
753
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
754
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
755
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
756
+ uniform_config: z.ZodOptional<z.ZodObject<{
757
+ window_seconds: z.ZodNumber;
758
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
759
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
760
+ window_seconds: z.ZodNumber;
761
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
762
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
763
+ window_seconds: z.ZodNumber;
764
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
765
+ }, z.ZodTypeAny, "passthrough">>>;
766
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
767
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
768
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
769
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
770
+ detector: z.ZodEnum<["adaptive", "content"]>;
771
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
772
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
773
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
774
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
775
+ detector: z.ZodEnum<["adaptive", "content"]>;
776
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
777
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
778
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
779
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
780
+ detector: z.ZodEnum<["adaptive", "content"]>;
781
+ }, z.ZodTypeAny, "passthrough">>>;
782
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
783
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
784
+ }, z.ZodTypeAny, "passthrough">>;
785
+ total_segments: z.ZodOptional<z.ZodNumber>;
786
+ data: z.ZodOptional<z.ZodObject<{
787
+ object: z.ZodLiteral<"list">;
788
+ segments: z.ZodArray<z.ZodObject<{
789
+ id: z.ZodString;
790
+ start_time: z.ZodNumber;
791
+ end_time: z.ZodNumber;
792
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
793
+ id: z.ZodString;
794
+ start_time: z.ZodNumber;
795
+ end_time: z.ZodNumber;
796
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
797
+ id: z.ZodString;
798
+ start_time: z.ZodNumber;
799
+ end_time: z.ZodNumber;
800
+ }, z.ZodTypeAny, "passthrough">>, "many">;
801
+ total: z.ZodNumber;
802
+ limit: z.ZodNumber;
803
+ offset: z.ZodNumber;
804
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
805
+ object: z.ZodLiteral<"list">;
806
+ segments: z.ZodArray<z.ZodObject<{
807
+ id: z.ZodString;
808
+ start_time: z.ZodNumber;
809
+ end_time: z.ZodNumber;
810
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
811
+ id: z.ZodString;
812
+ start_time: z.ZodNumber;
813
+ end_time: z.ZodNumber;
814
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
815
+ id: z.ZodString;
816
+ start_time: z.ZodNumber;
817
+ end_time: z.ZodNumber;
818
+ }, z.ZodTypeAny, "passthrough">>, "many">;
819
+ total: z.ZodNumber;
820
+ limit: z.ZodNumber;
821
+ offset: z.ZodNumber;
822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
823
+ object: z.ZodLiteral<"list">;
824
+ segments: z.ZodArray<z.ZodObject<{
825
+ id: z.ZodString;
826
+ start_time: z.ZodNumber;
827
+ end_time: z.ZodNumber;
828
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
829
+ id: z.ZodString;
830
+ start_time: z.ZodNumber;
831
+ end_time: z.ZodNumber;
832
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
833
+ id: z.ZodString;
834
+ start_time: z.ZodNumber;
835
+ end_time: z.ZodNumber;
836
+ }, z.ZodTypeAny, "passthrough">>, "many">;
837
+ total: z.ZodNumber;
838
+ limit: z.ZodNumber;
839
+ offset: z.ZodNumber;
840
+ }, z.ZodTypeAny, "passthrough">>>;
841
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
842
+ segmentation_id: z.ZodString;
843
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
844
+ created_at: z.ZodNumber;
845
+ file_id: z.ZodString;
846
+ segmentation_config: z.ZodObject<{
847
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
848
+ uniform_config: z.ZodOptional<z.ZodObject<{
849
+ window_seconds: z.ZodNumber;
850
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
851
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
852
+ window_seconds: z.ZodNumber;
853
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
855
+ window_seconds: z.ZodNumber;
856
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
857
+ }, z.ZodTypeAny, "passthrough">>>;
858
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
859
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
860
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
861
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
862
+ detector: z.ZodEnum<["adaptive", "content"]>;
863
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
864
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
865
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
866
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
867
+ detector: z.ZodEnum<["adaptive", "content"]>;
868
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
869
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
870
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
871
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
872
+ detector: z.ZodEnum<["adaptive", "content"]>;
873
+ }, z.ZodTypeAny, "passthrough">>>;
874
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
875
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
876
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
877
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
878
+ uniform_config: z.ZodOptional<z.ZodObject<{
879
+ window_seconds: z.ZodNumber;
880
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
881
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
882
+ window_seconds: z.ZodNumber;
883
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
884
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
885
+ window_seconds: z.ZodNumber;
886
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
887
+ }, z.ZodTypeAny, "passthrough">>>;
888
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
889
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
890
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
891
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
892
+ detector: z.ZodEnum<["adaptive", "content"]>;
893
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
894
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
895
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
896
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
897
+ detector: z.ZodEnum<["adaptive", "content"]>;
898
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
899
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
900
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
901
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
902
+ detector: z.ZodEnum<["adaptive", "content"]>;
903
+ }, z.ZodTypeAny, "passthrough">>>;
904
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
905
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
906
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
907
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
908
+ uniform_config: z.ZodOptional<z.ZodObject<{
909
+ window_seconds: z.ZodNumber;
910
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
911
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
912
+ window_seconds: z.ZodNumber;
913
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
914
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
915
+ window_seconds: z.ZodNumber;
916
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
917
+ }, z.ZodTypeAny, "passthrough">>>;
918
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
919
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
920
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
921
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
922
+ detector: z.ZodEnum<["adaptive", "content"]>;
923
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
924
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
925
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
926
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
927
+ detector: z.ZodEnum<["adaptive", "content"]>;
928
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
929
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
930
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
931
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
932
+ detector: z.ZodEnum<["adaptive", "content"]>;
933
+ }, z.ZodTypeAny, "passthrough">>>;
934
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
935
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
936
+ }, z.ZodTypeAny, "passthrough">>;
937
+ total_segments: z.ZodOptional<z.ZodNumber>;
938
+ data: z.ZodOptional<z.ZodObject<{
939
+ object: z.ZodLiteral<"list">;
940
+ segments: z.ZodArray<z.ZodObject<{
941
+ id: z.ZodString;
942
+ start_time: z.ZodNumber;
943
+ end_time: z.ZodNumber;
944
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
945
+ id: z.ZodString;
946
+ start_time: z.ZodNumber;
947
+ end_time: z.ZodNumber;
948
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
949
+ id: z.ZodString;
950
+ start_time: z.ZodNumber;
951
+ end_time: z.ZodNumber;
952
+ }, z.ZodTypeAny, "passthrough">>, "many">;
953
+ total: z.ZodNumber;
954
+ limit: z.ZodNumber;
955
+ offset: z.ZodNumber;
956
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
957
+ object: z.ZodLiteral<"list">;
958
+ segments: z.ZodArray<z.ZodObject<{
959
+ id: z.ZodString;
960
+ start_time: z.ZodNumber;
961
+ end_time: z.ZodNumber;
962
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
963
+ id: z.ZodString;
964
+ start_time: z.ZodNumber;
965
+ end_time: z.ZodNumber;
966
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
967
+ id: z.ZodString;
968
+ start_time: z.ZodNumber;
969
+ end_time: z.ZodNumber;
970
+ }, z.ZodTypeAny, "passthrough">>, "many">;
971
+ total: z.ZodNumber;
972
+ limit: z.ZodNumber;
973
+ offset: z.ZodNumber;
974
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
975
+ object: z.ZodLiteral<"list">;
976
+ segments: z.ZodArray<z.ZodObject<{
977
+ id: z.ZodString;
978
+ start_time: z.ZodNumber;
979
+ end_time: z.ZodNumber;
980
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
981
+ id: z.ZodString;
982
+ start_time: z.ZodNumber;
983
+ end_time: z.ZodNumber;
984
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
985
+ id: z.ZodString;
986
+ start_time: z.ZodNumber;
987
+ end_time: z.ZodNumber;
988
+ }, z.ZodTypeAny, "passthrough">>, "many">;
989
+ total: z.ZodNumber;
990
+ limit: z.ZodNumber;
991
+ offset: z.ZodNumber;
992
+ }, z.ZodTypeAny, "passthrough">>>;
993
+ }, z.ZodTypeAny, "passthrough">>;