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