@aviaryhq/cloudglue-js 0.4.11 → 0.4.13

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.
Files changed (66) hide show
  1. package/dist/generated/Chat.d.ts +8 -8
  2. package/dist/generated/Chat.js +30 -30
  3. package/dist/generated/Collections.d.ts +25 -23
  4. package/dist/generated/Collections.js +266 -264
  5. package/dist/generated/Describe.d.ts +7 -7
  6. package/dist/generated/Describe.js +58 -58
  7. package/dist/generated/Extract.d.ts +6 -6
  8. package/dist/generated/Extract.js +52 -52
  9. package/dist/generated/Face_Detection.d.ts +6 -6
  10. package/dist/generated/Face_Detection.js +25 -25
  11. package/dist/generated/Face_Match.d.ts +6 -6
  12. package/dist/generated/Face_Match.js +26 -26
  13. package/dist/generated/Files.d.ts +1009 -10
  14. package/dist/generated/Files.js +247 -115
  15. package/dist/generated/Frames.d.ts +2 -2
  16. package/dist/generated/Frames.js +17 -17
  17. package/dist/generated/Search.d.ts +212 -19
  18. package/dist/generated/Search.js +143 -30
  19. package/dist/generated/Segmentations.d.ts +208 -2
  20. package/dist/generated/Segmentations.js +34 -29
  21. package/dist/generated/Segments.d.ts +13 -13
  22. package/dist/generated/Segments.js +49 -49
  23. package/dist/generated/Tags.d.ts +660 -0
  24. package/dist/generated/Tags.js +160 -0
  25. package/dist/generated/Transcribe.d.ts +7 -7
  26. package/dist/generated/Transcribe.js +46 -46
  27. package/dist/generated/Webhooks.d.ts +5 -5
  28. package/dist/generated/Webhooks.js +61 -61
  29. package/dist/generated/common.d.ts +391 -11
  30. package/dist/generated/common.js +63 -28
  31. package/dist/generated/index.d.ts +14 -13
  32. package/dist/generated/index.js +3 -1
  33. package/dist/src/api/chat-completion.api.d.ts +38 -0
  34. package/dist/src/api/chat-completion.api.js +15 -0
  35. package/dist/src/api/collections.api.d.ts +666 -0
  36. package/dist/src/api/collections.api.js +134 -0
  37. package/dist/src/api/describe.api.d.ts +153 -0
  38. package/dist/src/api/describe.api.js +57 -0
  39. package/dist/src/api/extract.api.d.ts +144 -0
  40. package/dist/src/api/extract.api.js +55 -0
  41. package/dist/src/api/face-detection.api.d.ts +77 -0
  42. package/dist/src/api/face-detection.api.js +41 -0
  43. package/dist/src/api/face-match.api.d.ts +94 -0
  44. package/dist/src/api/face-match.api.js +41 -0
  45. package/dist/src/api/files.api.d.ts +705 -0
  46. package/dist/src/api/files.api.js +146 -0
  47. package/dist/src/api/frame-extraction.api.d.ts +264 -0
  48. package/dist/src/api/frame-extraction.api.js +37 -0
  49. package/dist/src/api/search.api.d.ts +316 -0
  50. package/dist/src/api/search.api.js +22 -0
  51. package/dist/src/api/segmentations.api.d.ts +395 -0
  52. package/dist/src/api/segmentations.api.js +36 -0
  53. package/dist/src/api/segments.api.d.ts +141 -0
  54. package/dist/src/api/segments.api.js +40 -0
  55. package/dist/src/api/tags.api.d.ts +71 -0
  56. package/dist/src/api/tags.api.js +31 -0
  57. package/dist/src/api/transcribe.api.d.ts +150 -0
  58. package/dist/src/api/transcribe.api.js +65 -0
  59. package/dist/src/api/webhooks.api.d.ts +69 -0
  60. package/dist/src/api/webhooks.api.js +28 -0
  61. package/dist/src/client.d.ts +20 -2967
  62. package/dist/src/client.js +55 -643
  63. package/dist/src/error.d.ts +7 -0
  64. package/dist/src/error.js +14 -0
  65. package/dist/src/types.d.ts +20 -8
  66. package/package.json +2 -1
@@ -1,16 +1,16 @@
1
- import { type ZodiosOptions } from "@zodios/core";
2
- import { z } from "zod";
1
+ import { type ZodiosOptions } from '@zodios/core';
2
+ import { z } from 'zod';
3
3
  import { File as CloudglueFile } from "./common";
4
4
  import { SegmentationConfig, ThumbnailsConfig, FrameExtractionConfig } from "./common";
5
5
  type FileList = {
6
- object: "list";
6
+ object: 'list';
7
7
  data: Array<CloudglueFile>;
8
8
  total: number;
9
9
  limit: number;
10
10
  offset: number;
11
11
  };
12
12
  type SegmentationList = {
13
- object: "list";
13
+ object: 'list';
14
14
  data: Array<SegmentationListItem>;
15
15
  total: number;
16
16
  limit: number;
@@ -18,7 +18,7 @@ type SegmentationList = {
18
18
  };
19
19
  type SegmentationListItem = {
20
20
  segmentation_id: string;
21
- status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
21
+ status: 'pending' | 'processing' | 'completed' | 'failed' | 'not_applicable';
22
22
  created_at: number;
23
23
  file_id: string;
24
24
  segmentation_config: SegmentationConfig;
@@ -26,10 +26,10 @@ type SegmentationListItem = {
26
26
  total_segments?: number | undefined;
27
27
  };
28
28
  type FrameExtractionList = {
29
- object: "list";
29
+ object: 'list';
30
30
  data: Array<{
31
31
  frame_extraction_id: string;
32
- status: "pending" | "processing" | "completed" | "failed";
32
+ status: 'pending' | 'processing' | 'completed' | 'failed';
33
33
  created_at: number;
34
34
  file_id: string;
35
35
  frame_extraction_config: FrameExtractionConfig;
@@ -143,6 +143,16 @@ export declare const schemas: {
143
143
  end_time: z.ZodOptional<z.ZodNumber>;
144
144
  }, z.ZodTypeAny, "passthrough">>, "many">;
145
145
  }, z.ZodTypeAny, "passthrough">>>;
146
+ keyframe_config: z.ZodOptional<z.ZodObject<{
147
+ frames_per_segment: z.ZodNumber;
148
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
150
+ frames_per_segment: z.ZodNumber;
151
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
152
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
153
+ frames_per_segment: z.ZodNumber;
154
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
155
+ }, z.ZodTypeAny, "passthrough">>>;
146
156
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
147
157
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
148
158
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -207,6 +217,16 @@ export declare const schemas: {
207
217
  end_time: z.ZodOptional<z.ZodNumber>;
208
218
  }, z.ZodTypeAny, "passthrough">>, "many">;
209
219
  }, z.ZodTypeAny, "passthrough">>>;
220
+ keyframe_config: z.ZodOptional<z.ZodObject<{
221
+ frames_per_segment: z.ZodNumber;
222
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
223
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
224
+ frames_per_segment: z.ZodNumber;
225
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
226
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
227
+ frames_per_segment: z.ZodNumber;
228
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
229
+ }, z.ZodTypeAny, "passthrough">>>;
210
230
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
211
231
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
212
232
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -271,9 +291,44 @@ export declare const schemas: {
271
291
  end_time: z.ZodOptional<z.ZodNumber>;
272
292
  }, z.ZodTypeAny, "passthrough">>, "many">;
273
293
  }, z.ZodTypeAny, "passthrough">>>;
294
+ keyframe_config: z.ZodOptional<z.ZodObject<{
295
+ frames_per_segment: z.ZodNumber;
296
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
297
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
298
+ frames_per_segment: z.ZodNumber;
299
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
300
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
301
+ frames_per_segment: z.ZodNumber;
302
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
303
+ }, z.ZodTypeAny, "passthrough">>>;
274
304
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
275
305
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
276
306
  }, z.ZodTypeAny, "passthrough">>;
307
+ FileSegment: z.ZodObject<{
308
+ id: z.ZodString;
309
+ file_id: z.ZodString;
310
+ start_time: z.ZodNumber;
311
+ end_time: z.ZodNumber;
312
+ thumbnail_url: z.ZodString;
313
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
314
+ segmentation_id: z.ZodOptional<z.ZodString>;
315
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
316
+ id: z.ZodString;
317
+ file_id: z.ZodString;
318
+ start_time: z.ZodNumber;
319
+ end_time: z.ZodNumber;
320
+ thumbnail_url: z.ZodString;
321
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
322
+ segmentation_id: z.ZodOptional<z.ZodString>;
323
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
324
+ id: z.ZodString;
325
+ file_id: z.ZodString;
326
+ start_time: z.ZodNumber;
327
+ end_time: z.ZodNumber;
328
+ thumbnail_url: z.ZodString;
329
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
330
+ segmentation_id: z.ZodOptional<z.ZodString>;
331
+ }, z.ZodTypeAny, "passthrough">>;
277
332
  createFileFrameExtraction_Body: z.ZodObject<{
278
333
  strategy: z.ZodLiteral<"uniform">;
279
334
  uniform_config: z.ZodOptional<z.ZodObject<{
@@ -901,6 +956,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
901
956
  end_time: z.ZodOptional<z.ZodNumber>;
902
957
  }, z.ZodTypeAny, "passthrough">>, "many">;
903
958
  }, z.ZodTypeAny, "passthrough">>>;
959
+ keyframe_config: z.ZodOptional<z.ZodObject<{
960
+ frames_per_segment: z.ZodNumber;
961
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
962
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
963
+ frames_per_segment: z.ZodNumber;
964
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
965
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
966
+ frames_per_segment: z.ZodNumber;
967
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
968
+ }, z.ZodTypeAny, "passthrough">>>;
904
969
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
905
970
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
906
971
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -965,6 +1030,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
965
1030
  end_time: z.ZodOptional<z.ZodNumber>;
966
1031
  }, z.ZodTypeAny, "passthrough">>, "many">;
967
1032
  }, z.ZodTypeAny, "passthrough">>>;
1033
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1034
+ frames_per_segment: z.ZodNumber;
1035
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1037
+ frames_per_segment: z.ZodNumber;
1038
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1039
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1040
+ frames_per_segment: z.ZodNumber;
1041
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1042
+ }, z.ZodTypeAny, "passthrough">>>;
968
1043
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
969
1044
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
970
1045
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1029,6 +1104,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1029
1104
  end_time: z.ZodOptional<z.ZodNumber>;
1030
1105
  }, z.ZodTypeAny, "passthrough">>, "many">;
1031
1106
  }, z.ZodTypeAny, "passthrough">>>;
1107
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1108
+ frames_per_segment: z.ZodNumber;
1109
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1110
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1111
+ frames_per_segment: z.ZodNumber;
1112
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1113
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1114
+ frames_per_segment: z.ZodNumber;
1115
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1116
+ }, z.ZodTypeAny, "passthrough">>>;
1032
1117
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1033
1118
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1034
1119
  }, z.ZodTypeAny, "passthrough">>;
@@ -1104,6 +1189,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1104
1189
  end_time: z.ZodOptional<z.ZodNumber>;
1105
1190
  }, z.ZodTypeAny, "passthrough">>, "many">;
1106
1191
  }, z.ZodTypeAny, "passthrough">>>;
1192
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1193
+ frames_per_segment: z.ZodNumber;
1194
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1195
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1196
+ frames_per_segment: z.ZodNumber;
1197
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1198
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1199
+ frames_per_segment: z.ZodNumber;
1200
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1201
+ }, z.ZodTypeAny, "passthrough">>>;
1107
1202
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1108
1203
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1109
1204
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1168,6 +1263,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1168
1263
  end_time: z.ZodOptional<z.ZodNumber>;
1169
1264
  }, z.ZodTypeAny, "passthrough">>, "many">;
1170
1265
  }, z.ZodTypeAny, "passthrough">>>;
1266
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1267
+ frames_per_segment: z.ZodNumber;
1268
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1269
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1270
+ frames_per_segment: z.ZodNumber;
1271
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1272
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1273
+ frames_per_segment: z.ZodNumber;
1274
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1275
+ }, z.ZodTypeAny, "passthrough">>>;
1171
1276
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1172
1277
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1173
1278
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1232,6 +1337,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1232
1337
  end_time: z.ZodOptional<z.ZodNumber>;
1233
1338
  }, z.ZodTypeAny, "passthrough">>, "many">;
1234
1339
  }, z.ZodTypeAny, "passthrough">>>;
1340
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1341
+ frames_per_segment: z.ZodNumber;
1342
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1343
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1344
+ frames_per_segment: z.ZodNumber;
1345
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1346
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1347
+ frames_per_segment: z.ZodNumber;
1348
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1349
+ }, z.ZodTypeAny, "passthrough">>>;
1235
1350
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1236
1351
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1237
1352
  }, z.ZodTypeAny, "passthrough">>;
@@ -1414,6 +1529,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1414
1529
  end_time: z.ZodOptional<z.ZodNumber>;
1415
1530
  }, z.ZodTypeAny, "passthrough">>, "many">;
1416
1531
  }, z.ZodTypeAny, "passthrough">>>;
1532
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1533
+ frames_per_segment: z.ZodNumber;
1534
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1536
+ frames_per_segment: z.ZodNumber;
1537
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1538
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1539
+ frames_per_segment: z.ZodNumber;
1540
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1541
+ }, z.ZodTypeAny, "passthrough">>>;
1417
1542
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1418
1543
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1419
1544
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1478,6 +1603,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1478
1603
  end_time: z.ZodOptional<z.ZodNumber>;
1479
1604
  }, z.ZodTypeAny, "passthrough">>, "many">;
1480
1605
  }, z.ZodTypeAny, "passthrough">>>;
1606
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1607
+ frames_per_segment: z.ZodNumber;
1608
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1609
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1610
+ frames_per_segment: z.ZodNumber;
1611
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1612
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1613
+ frames_per_segment: z.ZodNumber;
1614
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1615
+ }, z.ZodTypeAny, "passthrough">>>;
1481
1616
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1482
1617
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1483
1618
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1542,6 +1677,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1542
1677
  end_time: z.ZodOptional<z.ZodNumber>;
1543
1678
  }, z.ZodTypeAny, "passthrough">>, "many">;
1544
1679
  }, z.ZodTypeAny, "passthrough">>>;
1680
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1681
+ frames_per_segment: z.ZodNumber;
1682
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1683
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1684
+ frames_per_segment: z.ZodNumber;
1685
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1686
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1687
+ frames_per_segment: z.ZodNumber;
1688
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1689
+ }, z.ZodTypeAny, "passthrough">>>;
1545
1690
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1546
1691
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1547
1692
  }, z.ZodTypeAny, "passthrough">>;
@@ -1724,6 +1869,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1724
1869
  end_time: z.ZodOptional<z.ZodNumber>;
1725
1870
  }, z.ZodTypeAny, "passthrough">>, "many">;
1726
1871
  }, z.ZodTypeAny, "passthrough">>>;
1872
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1873
+ frames_per_segment: z.ZodNumber;
1874
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1875
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1876
+ frames_per_segment: z.ZodNumber;
1877
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1878
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1879
+ frames_per_segment: z.ZodNumber;
1880
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1881
+ }, z.ZodTypeAny, "passthrough">>>;
1727
1882
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1728
1883
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1729
1884
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1788,6 +1943,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1788
1943
  end_time: z.ZodOptional<z.ZodNumber>;
1789
1944
  }, z.ZodTypeAny, "passthrough">>, "many">;
1790
1945
  }, z.ZodTypeAny, "passthrough">>>;
1946
+ keyframe_config: z.ZodOptional<z.ZodObject<{
1947
+ frames_per_segment: z.ZodNumber;
1948
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1949
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1950
+ frames_per_segment: z.ZodNumber;
1951
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1953
+ frames_per_segment: z.ZodNumber;
1954
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1955
+ }, z.ZodTypeAny, "passthrough">>>;
1791
1956
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1792
1957
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1793
1958
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1852,6 +2017,16 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
1852
2017
  end_time: z.ZodOptional<z.ZodNumber>;
1853
2018
  }, z.ZodTypeAny, "passthrough">>, "many">;
1854
2019
  }, z.ZodTypeAny, "passthrough">>>;
2020
+ keyframe_config: z.ZodOptional<z.ZodObject<{
2021
+ frames_per_segment: z.ZodNumber;
2022
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2023
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2024
+ frames_per_segment: z.ZodNumber;
2025
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2026
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2027
+ frames_per_segment: z.ZodNumber;
2028
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2029
+ }, z.ZodTypeAny, "passthrough">>>;
1855
2030
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
1856
2031
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
1857
2032
  }, z.ZodTypeAny, "passthrough">>;
@@ -2066,6 +2241,10 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
2066
2241
  name: "offset";
2067
2242
  type: "Query";
2068
2243
  schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2244
+ }, {
2245
+ name: "type";
2246
+ type: "Query";
2247
+ schema: z.ZodOptional<z.ZodString>;
2069
2248
  }];
2070
2249
  response: z.ZodObject<{
2071
2250
  object: z.ZodLiteral<"list">;
@@ -2077,18 +2256,21 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
2077
2256
  url: z.ZodString;
2078
2257
  time: z.ZodNumber;
2079
2258
  segmentation_id: z.ZodOptional<z.ZodString>;
2259
+ type: z.ZodOptional<z.ZodString>;
2080
2260
  segment_id: z.ZodOptional<z.ZodString>;
2081
2261
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2082
2262
  id: z.ZodString;
2083
2263
  url: z.ZodString;
2084
2264
  time: z.ZodNumber;
2085
2265
  segmentation_id: z.ZodOptional<z.ZodString>;
2266
+ type: z.ZodOptional<z.ZodString>;
2086
2267
  segment_id: z.ZodOptional<z.ZodString>;
2087
2268
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2088
2269
  id: z.ZodString;
2089
2270
  url: z.ZodString;
2090
2271
  time: z.ZodNumber;
2091
2272
  segmentation_id: z.ZodOptional<z.ZodString>;
2273
+ type: z.ZodOptional<z.ZodString>;
2092
2274
  segment_id: z.ZodOptional<z.ZodString>;
2093
2275
  }, z.ZodTypeAny, "passthrough">>, "many">;
2094
2276
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -2101,18 +2283,21 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
2101
2283
  url: z.ZodString;
2102
2284
  time: z.ZodNumber;
2103
2285
  segmentation_id: z.ZodOptional<z.ZodString>;
2286
+ type: z.ZodOptional<z.ZodString>;
2104
2287
  segment_id: z.ZodOptional<z.ZodString>;
2105
2288
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2106
2289
  id: z.ZodString;
2107
2290
  url: z.ZodString;
2108
2291
  time: z.ZodNumber;
2109
2292
  segmentation_id: z.ZodOptional<z.ZodString>;
2293
+ type: z.ZodOptional<z.ZodString>;
2110
2294
  segment_id: z.ZodOptional<z.ZodString>;
2111
2295
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2112
2296
  id: z.ZodString;
2113
2297
  url: z.ZodString;
2114
2298
  time: z.ZodNumber;
2115
2299
  segmentation_id: z.ZodOptional<z.ZodString>;
2300
+ type: z.ZodOptional<z.ZodString>;
2116
2301
  segment_id: z.ZodOptional<z.ZodString>;
2117
2302
  }, z.ZodTypeAny, "passthrough">>, "many">;
2118
2303
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -2125,18 +2310,21 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
2125
2310
  url: z.ZodString;
2126
2311
  time: z.ZodNumber;
2127
2312
  segmentation_id: z.ZodOptional<z.ZodString>;
2313
+ type: z.ZodOptional<z.ZodString>;
2128
2314
  segment_id: z.ZodOptional<z.ZodString>;
2129
2315
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2130
2316
  id: z.ZodString;
2131
2317
  url: z.ZodString;
2132
2318
  time: z.ZodNumber;
2133
2319
  segmentation_id: z.ZodOptional<z.ZodString>;
2320
+ type: z.ZodOptional<z.ZodString>;
2134
2321
  segment_id: z.ZodOptional<z.ZodString>;
2135
2322
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2136
2323
  id: z.ZodString;
2137
2324
  url: z.ZodString;
2138
2325
  time: z.ZodNumber;
2139
2326
  segmentation_id: z.ZodOptional<z.ZodString>;
2327
+ type: z.ZodOptional<z.ZodString>;
2140
2328
  segment_id: z.ZodOptional<z.ZodString>;
2141
2329
  }, z.ZodTypeAny, "passthrough">>, "many">;
2142
2330
  }, z.ZodTypeAny, "passthrough">>;
@@ -2158,9 +2346,348 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
2158
2346
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2159
2347
  error: z.ZodString;
2160
2348
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2161
- error: z.ZodString;
2162
- }, z.ZodTypeAny, "passthrough">>;
2163
- }];
2349
+ error: z.ZodString;
2350
+ }, z.ZodTypeAny, "passthrough">>;
2351
+ }];
2352
+ }, {
2353
+ method: "get";
2354
+ path: "/files/:file_id/tags";
2355
+ alias: "listFileTags";
2356
+ description: "List all tags for a specific file";
2357
+ requestFormat: "json";
2358
+ parameters: [{
2359
+ name: "file_id";
2360
+ type: "Path";
2361
+ schema: z.ZodString;
2362
+ }];
2363
+ response: z.ZodIntersection<z.ZodObject<{
2364
+ object: z.ZodLiteral<"list">;
2365
+ total: z.ZodNumber;
2366
+ limit: z.ZodNumber;
2367
+ offset: z.ZodNumber;
2368
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2369
+ object: z.ZodLiteral<"list">;
2370
+ total: z.ZodNumber;
2371
+ limit: z.ZodNumber;
2372
+ offset: z.ZodNumber;
2373
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2374
+ object: z.ZodLiteral<"list">;
2375
+ total: z.ZodNumber;
2376
+ limit: z.ZodNumber;
2377
+ offset: z.ZodNumber;
2378
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2379
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2380
+ id: z.ZodString;
2381
+ label: z.ZodString;
2382
+ value: z.ZodString;
2383
+ type: z.ZodEnum<["file", "segment"]>;
2384
+ file_id: z.ZodString;
2385
+ segment_id: z.ZodOptional<z.ZodString>;
2386
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2387
+ id: z.ZodString;
2388
+ label: z.ZodString;
2389
+ value: z.ZodString;
2390
+ type: z.ZodEnum<["file", "segment"]>;
2391
+ file_id: z.ZodString;
2392
+ segment_id: z.ZodOptional<z.ZodString>;
2393
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2394
+ id: z.ZodString;
2395
+ label: z.ZodString;
2396
+ value: z.ZodString;
2397
+ type: z.ZodEnum<["file", "segment"]>;
2398
+ file_id: z.ZodString;
2399
+ segment_id: z.ZodOptional<z.ZodString>;
2400
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2401
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2402
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2403
+ id: z.ZodString;
2404
+ label: z.ZodString;
2405
+ value: z.ZodString;
2406
+ type: z.ZodEnum<["file", "segment"]>;
2407
+ file_id: z.ZodString;
2408
+ segment_id: z.ZodOptional<z.ZodString>;
2409
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2410
+ id: z.ZodString;
2411
+ label: z.ZodString;
2412
+ value: z.ZodString;
2413
+ type: z.ZodEnum<["file", "segment"]>;
2414
+ file_id: z.ZodString;
2415
+ segment_id: z.ZodOptional<z.ZodString>;
2416
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2417
+ id: z.ZodString;
2418
+ label: z.ZodString;
2419
+ value: z.ZodString;
2420
+ type: z.ZodEnum<["file", "segment"]>;
2421
+ file_id: z.ZodString;
2422
+ segment_id: z.ZodOptional<z.ZodString>;
2423
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2424
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2425
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2426
+ id: z.ZodString;
2427
+ label: z.ZodString;
2428
+ value: z.ZodString;
2429
+ type: z.ZodEnum<["file", "segment"]>;
2430
+ file_id: z.ZodString;
2431
+ segment_id: z.ZodOptional<z.ZodString>;
2432
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2433
+ id: z.ZodString;
2434
+ label: z.ZodString;
2435
+ value: z.ZodString;
2436
+ type: z.ZodEnum<["file", "segment"]>;
2437
+ file_id: z.ZodString;
2438
+ segment_id: z.ZodOptional<z.ZodString>;
2439
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2440
+ id: z.ZodString;
2441
+ label: z.ZodString;
2442
+ value: z.ZodString;
2443
+ type: z.ZodEnum<["file", "segment"]>;
2444
+ file_id: z.ZodString;
2445
+ segment_id: z.ZodOptional<z.ZodString>;
2446
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2447
+ }, z.ZodTypeAny, "passthrough">>>;
2448
+ }, {
2449
+ method: "get";
2450
+ path: "/files/:file_id/segments/:segment_id";
2451
+ alias: "getFileSegment";
2452
+ description: "Get a file segment";
2453
+ requestFormat: "json";
2454
+ parameters: [{
2455
+ name: "file_id";
2456
+ type: "Path";
2457
+ schema: z.ZodString;
2458
+ }, {
2459
+ name: "segment_id";
2460
+ type: "Path";
2461
+ schema: z.ZodString;
2462
+ }];
2463
+ response: z.ZodObject<{
2464
+ id: z.ZodString;
2465
+ file_id: z.ZodString;
2466
+ start_time: z.ZodNumber;
2467
+ end_time: z.ZodNumber;
2468
+ thumbnail_url: z.ZodString;
2469
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2470
+ segmentation_id: z.ZodOptional<z.ZodString>;
2471
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2472
+ id: z.ZodString;
2473
+ file_id: z.ZodString;
2474
+ start_time: z.ZodNumber;
2475
+ end_time: z.ZodNumber;
2476
+ thumbnail_url: z.ZodString;
2477
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2478
+ segmentation_id: z.ZodOptional<z.ZodString>;
2479
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2480
+ id: z.ZodString;
2481
+ file_id: z.ZodString;
2482
+ start_time: z.ZodNumber;
2483
+ end_time: z.ZodNumber;
2484
+ thumbnail_url: z.ZodString;
2485
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2486
+ segmentation_id: z.ZodOptional<z.ZodString>;
2487
+ }, z.ZodTypeAny, "passthrough">>;
2488
+ errors: [{
2489
+ status: 404;
2490
+ description: string;
2491
+ schema: z.ZodObject<{
2492
+ error: z.ZodString;
2493
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2494
+ error: z.ZodString;
2495
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2496
+ error: z.ZodString;
2497
+ }, z.ZodTypeAny, "passthrough">>;
2498
+ }, {
2499
+ status: 500;
2500
+ description: string;
2501
+ schema: z.ZodObject<{
2502
+ error: z.ZodString;
2503
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2504
+ error: z.ZodString;
2505
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2506
+ error: z.ZodString;
2507
+ }, z.ZodTypeAny, "passthrough">>;
2508
+ }];
2509
+ }, {
2510
+ method: "put";
2511
+ path: "/files/:file_id/segments/:segment_id";
2512
+ alias: "updateFileSegment";
2513
+ description: "Update a file segment";
2514
+ requestFormat: "json";
2515
+ parameters: [{
2516
+ name: "body";
2517
+ description: string;
2518
+ type: "Body";
2519
+ schema: z.ZodObject<{
2520
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2521
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2522
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2523
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2524
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2525
+ }, z.ZodTypeAny, "passthrough">>;
2526
+ }, {
2527
+ name: "file_id";
2528
+ type: "Path";
2529
+ schema: z.ZodString;
2530
+ }, {
2531
+ name: "segment_id";
2532
+ type: "Path";
2533
+ schema: z.ZodString;
2534
+ }];
2535
+ response: z.ZodObject<{
2536
+ id: z.ZodString;
2537
+ file_id: z.ZodString;
2538
+ start_time: z.ZodNumber;
2539
+ end_time: z.ZodNumber;
2540
+ thumbnail_url: z.ZodString;
2541
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2542
+ segmentation_id: z.ZodOptional<z.ZodString>;
2543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2544
+ id: z.ZodString;
2545
+ file_id: z.ZodString;
2546
+ start_time: z.ZodNumber;
2547
+ end_time: z.ZodNumber;
2548
+ thumbnail_url: z.ZodString;
2549
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2550
+ segmentation_id: z.ZodOptional<z.ZodString>;
2551
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2552
+ id: z.ZodString;
2553
+ file_id: z.ZodString;
2554
+ start_time: z.ZodNumber;
2555
+ end_time: z.ZodNumber;
2556
+ thumbnail_url: z.ZodString;
2557
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2558
+ segmentation_id: z.ZodOptional<z.ZodString>;
2559
+ }, z.ZodTypeAny, "passthrough">>;
2560
+ errors: [{
2561
+ status: 400;
2562
+ description: string;
2563
+ schema: z.ZodObject<{
2564
+ error: z.ZodString;
2565
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2566
+ error: z.ZodString;
2567
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2568
+ error: z.ZodString;
2569
+ }, z.ZodTypeAny, "passthrough">>;
2570
+ }, {
2571
+ status: 404;
2572
+ description: string;
2573
+ schema: z.ZodObject<{
2574
+ error: z.ZodString;
2575
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2576
+ error: z.ZodString;
2577
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2578
+ error: z.ZodString;
2579
+ }, z.ZodTypeAny, "passthrough">>;
2580
+ }, {
2581
+ status: 500;
2582
+ description: string;
2583
+ schema: z.ZodObject<{
2584
+ error: z.ZodString;
2585
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2586
+ error: z.ZodString;
2587
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2588
+ error: z.ZodString;
2589
+ }, z.ZodTypeAny, "passthrough">>;
2590
+ }];
2591
+ }, {
2592
+ method: "get";
2593
+ path: "/files/:file_id/segments/:segment_id/tags";
2594
+ alias: "listFileSegmentTags";
2595
+ description: "List all tags for a specific file segment";
2596
+ requestFormat: "json";
2597
+ parameters: [{
2598
+ name: "file_id";
2599
+ type: "Path";
2600
+ schema: z.ZodString;
2601
+ }, {
2602
+ name: "segment_id";
2603
+ type: "Path";
2604
+ schema: z.ZodString;
2605
+ }];
2606
+ response: z.ZodIntersection<z.ZodObject<{
2607
+ object: z.ZodLiteral<"list">;
2608
+ total: z.ZodNumber;
2609
+ limit: z.ZodNumber;
2610
+ offset: z.ZodNumber;
2611
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2612
+ object: z.ZodLiteral<"list">;
2613
+ total: z.ZodNumber;
2614
+ limit: z.ZodNumber;
2615
+ offset: z.ZodNumber;
2616
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2617
+ object: z.ZodLiteral<"list">;
2618
+ total: z.ZodNumber;
2619
+ limit: z.ZodNumber;
2620
+ offset: z.ZodNumber;
2621
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2622
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2623
+ id: z.ZodString;
2624
+ label: z.ZodString;
2625
+ value: z.ZodString;
2626
+ type: z.ZodEnum<["file", "segment"]>;
2627
+ file_id: z.ZodString;
2628
+ segment_id: z.ZodOptional<z.ZodString>;
2629
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2630
+ id: z.ZodString;
2631
+ label: z.ZodString;
2632
+ value: z.ZodString;
2633
+ type: z.ZodEnum<["file", "segment"]>;
2634
+ file_id: z.ZodString;
2635
+ segment_id: z.ZodOptional<z.ZodString>;
2636
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2637
+ id: z.ZodString;
2638
+ label: z.ZodString;
2639
+ value: z.ZodString;
2640
+ type: z.ZodEnum<["file", "segment"]>;
2641
+ file_id: z.ZodString;
2642
+ segment_id: z.ZodOptional<z.ZodString>;
2643
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2645
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2646
+ id: z.ZodString;
2647
+ label: z.ZodString;
2648
+ value: z.ZodString;
2649
+ type: z.ZodEnum<["file", "segment"]>;
2650
+ file_id: z.ZodString;
2651
+ segment_id: z.ZodOptional<z.ZodString>;
2652
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2653
+ id: z.ZodString;
2654
+ label: z.ZodString;
2655
+ value: z.ZodString;
2656
+ type: z.ZodEnum<["file", "segment"]>;
2657
+ file_id: z.ZodString;
2658
+ segment_id: z.ZodOptional<z.ZodString>;
2659
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2660
+ id: z.ZodString;
2661
+ label: z.ZodString;
2662
+ value: z.ZodString;
2663
+ type: z.ZodEnum<["file", "segment"]>;
2664
+ file_id: z.ZodString;
2665
+ segment_id: z.ZodOptional<z.ZodString>;
2666
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2667
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2668
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2669
+ id: z.ZodString;
2670
+ label: z.ZodString;
2671
+ value: z.ZodString;
2672
+ type: z.ZodEnum<["file", "segment"]>;
2673
+ file_id: z.ZodString;
2674
+ segment_id: z.ZodOptional<z.ZodString>;
2675
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2676
+ id: z.ZodString;
2677
+ label: z.ZodString;
2678
+ value: z.ZodString;
2679
+ type: z.ZodEnum<["file", "segment"]>;
2680
+ file_id: z.ZodString;
2681
+ segment_id: z.ZodOptional<z.ZodString>;
2682
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2683
+ id: z.ZodString;
2684
+ label: z.ZodString;
2685
+ value: z.ZodString;
2686
+ type: z.ZodEnum<["file", "segment"]>;
2687
+ file_id: z.ZodString;
2688
+ segment_id: z.ZodOptional<z.ZodString>;
2689
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2690
+ }, z.ZodTypeAny, "passthrough">>>;
2164
2691
  }, {
2165
2692
  method: "post";
2166
2693
  path: "/files/:file_id/frames";
@@ -3251,6 +3778,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3251
3778
  end_time: z.ZodOptional<z.ZodNumber>;
3252
3779
  }, z.ZodTypeAny, "passthrough">>, "many">;
3253
3780
  }, z.ZodTypeAny, "passthrough">>>;
3781
+ keyframe_config: z.ZodOptional<z.ZodObject<{
3782
+ frames_per_segment: z.ZodNumber;
3783
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3784
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3785
+ frames_per_segment: z.ZodNumber;
3786
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3787
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3788
+ frames_per_segment: z.ZodNumber;
3789
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3790
+ }, z.ZodTypeAny, "passthrough">>>;
3254
3791
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3255
3792
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3256
3793
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3315,6 +3852,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3315
3852
  end_time: z.ZodOptional<z.ZodNumber>;
3316
3853
  }, z.ZodTypeAny, "passthrough">>, "many">;
3317
3854
  }, z.ZodTypeAny, "passthrough">>>;
3855
+ keyframe_config: z.ZodOptional<z.ZodObject<{
3856
+ frames_per_segment: z.ZodNumber;
3857
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3858
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3859
+ frames_per_segment: z.ZodNumber;
3860
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3861
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3862
+ frames_per_segment: z.ZodNumber;
3863
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3864
+ }, z.ZodTypeAny, "passthrough">>>;
3318
3865
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3319
3866
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3320
3867
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -3379,6 +3926,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3379
3926
  end_time: z.ZodOptional<z.ZodNumber>;
3380
3927
  }, z.ZodTypeAny, "passthrough">>, "many">;
3381
3928
  }, z.ZodTypeAny, "passthrough">>>;
3929
+ keyframe_config: z.ZodOptional<z.ZodObject<{
3930
+ frames_per_segment: z.ZodNumber;
3931
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3932
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3933
+ frames_per_segment: z.ZodNumber;
3934
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3935
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3936
+ frames_per_segment: z.ZodNumber;
3937
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3938
+ }, z.ZodTypeAny, "passthrough">>>;
3382
3939
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3383
3940
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3384
3941
  }, z.ZodTypeAny, "passthrough">>;
@@ -3454,6 +4011,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3454
4011
  end_time: z.ZodOptional<z.ZodNumber>;
3455
4012
  }, z.ZodTypeAny, "passthrough">>, "many">;
3456
4013
  }, z.ZodTypeAny, "passthrough">>>;
4014
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4015
+ frames_per_segment: z.ZodNumber;
4016
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4017
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4018
+ frames_per_segment: z.ZodNumber;
4019
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4020
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4021
+ frames_per_segment: z.ZodNumber;
4022
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4023
+ }, z.ZodTypeAny, "passthrough">>>;
3457
4024
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3458
4025
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3459
4026
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3518,6 +4085,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3518
4085
  end_time: z.ZodOptional<z.ZodNumber>;
3519
4086
  }, z.ZodTypeAny, "passthrough">>, "many">;
3520
4087
  }, z.ZodTypeAny, "passthrough">>>;
4088
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4089
+ frames_per_segment: z.ZodNumber;
4090
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4091
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4092
+ frames_per_segment: z.ZodNumber;
4093
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4094
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4095
+ frames_per_segment: z.ZodNumber;
4096
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4097
+ }, z.ZodTypeAny, "passthrough">>>;
3521
4098
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3522
4099
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3523
4100
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -3582,6 +4159,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3582
4159
  end_time: z.ZodOptional<z.ZodNumber>;
3583
4160
  }, z.ZodTypeAny, "passthrough">>, "many">;
3584
4161
  }, z.ZodTypeAny, "passthrough">>>;
4162
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4163
+ frames_per_segment: z.ZodNumber;
4164
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4165
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4166
+ frames_per_segment: z.ZodNumber;
4167
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4168
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4169
+ frames_per_segment: z.ZodNumber;
4170
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4171
+ }, z.ZodTypeAny, "passthrough">>>;
3585
4172
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3586
4173
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3587
4174
  }, z.ZodTypeAny, "passthrough">>;
@@ -3764,6 +4351,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3764
4351
  end_time: z.ZodOptional<z.ZodNumber>;
3765
4352
  }, z.ZodTypeAny, "passthrough">>, "many">;
3766
4353
  }, z.ZodTypeAny, "passthrough">>>;
4354
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4355
+ frames_per_segment: z.ZodNumber;
4356
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4357
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4358
+ frames_per_segment: z.ZodNumber;
4359
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4360
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4361
+ frames_per_segment: z.ZodNumber;
4362
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4363
+ }, z.ZodTypeAny, "passthrough">>>;
3767
4364
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3768
4365
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3769
4366
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3828,6 +4425,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3828
4425
  end_time: z.ZodOptional<z.ZodNumber>;
3829
4426
  }, z.ZodTypeAny, "passthrough">>, "many">;
3830
4427
  }, z.ZodTypeAny, "passthrough">>>;
4428
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4429
+ frames_per_segment: z.ZodNumber;
4430
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4431
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4432
+ frames_per_segment: z.ZodNumber;
4433
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4434
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4435
+ frames_per_segment: z.ZodNumber;
4436
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4437
+ }, z.ZodTypeAny, "passthrough">>>;
3831
4438
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3832
4439
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3833
4440
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -3892,6 +4499,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3892
4499
  end_time: z.ZodOptional<z.ZodNumber>;
3893
4500
  }, z.ZodTypeAny, "passthrough">>, "many">;
3894
4501
  }, z.ZodTypeAny, "passthrough">>>;
4502
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4503
+ frames_per_segment: z.ZodNumber;
4504
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4505
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4506
+ frames_per_segment: z.ZodNumber;
4507
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4509
+ frames_per_segment: z.ZodNumber;
4510
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4511
+ }, z.ZodTypeAny, "passthrough">>>;
3895
4512
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
3896
4513
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
3897
4514
  }, z.ZodTypeAny, "passthrough">>;
@@ -4074,6 +4691,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4074
4691
  end_time: z.ZodOptional<z.ZodNumber>;
4075
4692
  }, z.ZodTypeAny, "passthrough">>, "many">;
4076
4693
  }, z.ZodTypeAny, "passthrough">>>;
4694
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4695
+ frames_per_segment: z.ZodNumber;
4696
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4697
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4698
+ frames_per_segment: z.ZodNumber;
4699
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4700
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4701
+ frames_per_segment: z.ZodNumber;
4702
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4703
+ }, z.ZodTypeAny, "passthrough">>>;
4077
4704
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
4078
4705
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
4079
4706
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -4138,6 +4765,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4138
4765
  end_time: z.ZodOptional<z.ZodNumber>;
4139
4766
  }, z.ZodTypeAny, "passthrough">>, "many">;
4140
4767
  }, z.ZodTypeAny, "passthrough">>>;
4768
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4769
+ frames_per_segment: z.ZodNumber;
4770
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4771
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4772
+ frames_per_segment: z.ZodNumber;
4773
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4774
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4775
+ frames_per_segment: z.ZodNumber;
4776
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4777
+ }, z.ZodTypeAny, "passthrough">>>;
4141
4778
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
4142
4779
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
4143
4780
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -4202,6 +4839,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4202
4839
  end_time: z.ZodOptional<z.ZodNumber>;
4203
4840
  }, z.ZodTypeAny, "passthrough">>, "many">;
4204
4841
  }, z.ZodTypeAny, "passthrough">>>;
4842
+ keyframe_config: z.ZodOptional<z.ZodObject<{
4843
+ frames_per_segment: z.ZodNumber;
4844
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4845
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4846
+ frames_per_segment: z.ZodNumber;
4847
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4848
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4849
+ frames_per_segment: z.ZodNumber;
4850
+ max_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4851
+ }, z.ZodTypeAny, "passthrough">>>;
4205
4852
  start_time_seconds: z.ZodOptional<z.ZodNumber>;
4206
4853
  end_time_seconds: z.ZodOptional<z.ZodNumber>;
4207
4854
  }, z.ZodTypeAny, "passthrough">>;
@@ -4416,6 +5063,10 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4416
5063
  name: "offset";
4417
5064
  type: "Query";
4418
5065
  schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5066
+ }, {
5067
+ name: "type";
5068
+ type: "Query";
5069
+ schema: z.ZodOptional<z.ZodString>;
4419
5070
  }];
4420
5071
  response: z.ZodObject<{
4421
5072
  object: z.ZodLiteral<"list">;
@@ -4427,18 +5078,21 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4427
5078
  url: z.ZodString;
4428
5079
  time: z.ZodNumber;
4429
5080
  segmentation_id: z.ZodOptional<z.ZodString>;
5081
+ type: z.ZodOptional<z.ZodString>;
4430
5082
  segment_id: z.ZodOptional<z.ZodString>;
4431
5083
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4432
5084
  id: z.ZodString;
4433
5085
  url: z.ZodString;
4434
5086
  time: z.ZodNumber;
4435
5087
  segmentation_id: z.ZodOptional<z.ZodString>;
5088
+ type: z.ZodOptional<z.ZodString>;
4436
5089
  segment_id: z.ZodOptional<z.ZodString>;
4437
5090
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4438
5091
  id: z.ZodString;
4439
5092
  url: z.ZodString;
4440
5093
  time: z.ZodNumber;
4441
5094
  segmentation_id: z.ZodOptional<z.ZodString>;
5095
+ type: z.ZodOptional<z.ZodString>;
4442
5096
  segment_id: z.ZodOptional<z.ZodString>;
4443
5097
  }, z.ZodTypeAny, "passthrough">>, "many">;
4444
5098
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -4451,18 +5105,21 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4451
5105
  url: z.ZodString;
4452
5106
  time: z.ZodNumber;
4453
5107
  segmentation_id: z.ZodOptional<z.ZodString>;
5108
+ type: z.ZodOptional<z.ZodString>;
4454
5109
  segment_id: z.ZodOptional<z.ZodString>;
4455
5110
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4456
5111
  id: z.ZodString;
4457
5112
  url: z.ZodString;
4458
5113
  time: z.ZodNumber;
4459
5114
  segmentation_id: z.ZodOptional<z.ZodString>;
5115
+ type: z.ZodOptional<z.ZodString>;
4460
5116
  segment_id: z.ZodOptional<z.ZodString>;
4461
5117
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4462
5118
  id: z.ZodString;
4463
5119
  url: z.ZodString;
4464
5120
  time: z.ZodNumber;
4465
5121
  segmentation_id: z.ZodOptional<z.ZodString>;
5122
+ type: z.ZodOptional<z.ZodString>;
4466
5123
  segment_id: z.ZodOptional<z.ZodString>;
4467
5124
  }, z.ZodTypeAny, "passthrough">>, "many">;
4468
5125
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -4475,18 +5132,21 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4475
5132
  url: z.ZodString;
4476
5133
  time: z.ZodNumber;
4477
5134
  segmentation_id: z.ZodOptional<z.ZodString>;
5135
+ type: z.ZodOptional<z.ZodString>;
4478
5136
  segment_id: z.ZodOptional<z.ZodString>;
4479
5137
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4480
5138
  id: z.ZodString;
4481
5139
  url: z.ZodString;
4482
5140
  time: z.ZodNumber;
4483
5141
  segmentation_id: z.ZodOptional<z.ZodString>;
5142
+ type: z.ZodOptional<z.ZodString>;
4484
5143
  segment_id: z.ZodOptional<z.ZodString>;
4485
5144
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4486
5145
  id: z.ZodString;
4487
5146
  url: z.ZodString;
4488
5147
  time: z.ZodNumber;
4489
5148
  segmentation_id: z.ZodOptional<z.ZodString>;
5149
+ type: z.ZodOptional<z.ZodString>;
4490
5150
  segment_id: z.ZodOptional<z.ZodString>;
4491
5151
  }, z.ZodTypeAny, "passthrough">>, "many">;
4492
5152
  }, z.ZodTypeAny, "passthrough">>;
@@ -4511,6 +5171,345 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
4511
5171
  error: z.ZodString;
4512
5172
  }, z.ZodTypeAny, "passthrough">>;
4513
5173
  }];
5174
+ }, {
5175
+ method: "get";
5176
+ path: "/files/:file_id/tags";
5177
+ alias: "listFileTags";
5178
+ description: "List all tags for a specific file";
5179
+ requestFormat: "json";
5180
+ parameters: [{
5181
+ name: "file_id";
5182
+ type: "Path";
5183
+ schema: z.ZodString;
5184
+ }];
5185
+ response: z.ZodIntersection<z.ZodObject<{
5186
+ object: z.ZodLiteral<"list">;
5187
+ total: z.ZodNumber;
5188
+ limit: z.ZodNumber;
5189
+ offset: z.ZodNumber;
5190
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5191
+ object: z.ZodLiteral<"list">;
5192
+ total: z.ZodNumber;
5193
+ limit: z.ZodNumber;
5194
+ offset: z.ZodNumber;
5195
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5196
+ object: z.ZodLiteral<"list">;
5197
+ total: z.ZodNumber;
5198
+ limit: z.ZodNumber;
5199
+ offset: z.ZodNumber;
5200
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5201
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5202
+ id: z.ZodString;
5203
+ label: z.ZodString;
5204
+ value: z.ZodString;
5205
+ type: z.ZodEnum<["file", "segment"]>;
5206
+ file_id: z.ZodString;
5207
+ segment_id: z.ZodOptional<z.ZodString>;
5208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5209
+ id: z.ZodString;
5210
+ label: z.ZodString;
5211
+ value: z.ZodString;
5212
+ type: z.ZodEnum<["file", "segment"]>;
5213
+ file_id: z.ZodString;
5214
+ segment_id: z.ZodOptional<z.ZodString>;
5215
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5216
+ id: z.ZodString;
5217
+ label: z.ZodString;
5218
+ value: z.ZodString;
5219
+ type: z.ZodEnum<["file", "segment"]>;
5220
+ file_id: z.ZodString;
5221
+ segment_id: z.ZodOptional<z.ZodString>;
5222
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
5223
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5224
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5225
+ id: z.ZodString;
5226
+ label: z.ZodString;
5227
+ value: z.ZodString;
5228
+ type: z.ZodEnum<["file", "segment"]>;
5229
+ file_id: z.ZodString;
5230
+ segment_id: z.ZodOptional<z.ZodString>;
5231
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5232
+ id: z.ZodString;
5233
+ label: z.ZodString;
5234
+ value: z.ZodString;
5235
+ type: z.ZodEnum<["file", "segment"]>;
5236
+ file_id: z.ZodString;
5237
+ segment_id: z.ZodOptional<z.ZodString>;
5238
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5239
+ id: z.ZodString;
5240
+ label: z.ZodString;
5241
+ value: z.ZodString;
5242
+ type: z.ZodEnum<["file", "segment"]>;
5243
+ file_id: z.ZodString;
5244
+ segment_id: z.ZodOptional<z.ZodString>;
5245
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
5246
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5247
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5248
+ id: z.ZodString;
5249
+ label: z.ZodString;
5250
+ value: z.ZodString;
5251
+ type: z.ZodEnum<["file", "segment"]>;
5252
+ file_id: z.ZodString;
5253
+ segment_id: z.ZodOptional<z.ZodString>;
5254
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5255
+ id: z.ZodString;
5256
+ label: z.ZodString;
5257
+ value: z.ZodString;
5258
+ type: z.ZodEnum<["file", "segment"]>;
5259
+ file_id: z.ZodString;
5260
+ segment_id: z.ZodOptional<z.ZodString>;
5261
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5262
+ id: z.ZodString;
5263
+ label: z.ZodString;
5264
+ value: z.ZodString;
5265
+ type: z.ZodEnum<["file", "segment"]>;
5266
+ file_id: z.ZodString;
5267
+ segment_id: z.ZodOptional<z.ZodString>;
5268
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
5269
+ }, z.ZodTypeAny, "passthrough">>>;
5270
+ }, {
5271
+ method: "get";
5272
+ path: "/files/:file_id/segments/:segment_id";
5273
+ alias: "getFileSegment";
5274
+ description: "Get a file segment";
5275
+ requestFormat: "json";
5276
+ parameters: [{
5277
+ name: "file_id";
5278
+ type: "Path";
5279
+ schema: z.ZodString;
5280
+ }, {
5281
+ name: "segment_id";
5282
+ type: "Path";
5283
+ schema: z.ZodString;
5284
+ }];
5285
+ response: z.ZodObject<{
5286
+ id: z.ZodString;
5287
+ file_id: z.ZodString;
5288
+ start_time: z.ZodNumber;
5289
+ end_time: z.ZodNumber;
5290
+ thumbnail_url: z.ZodString;
5291
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5292
+ segmentation_id: z.ZodOptional<z.ZodString>;
5293
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5294
+ id: z.ZodString;
5295
+ file_id: z.ZodString;
5296
+ start_time: z.ZodNumber;
5297
+ end_time: z.ZodNumber;
5298
+ thumbnail_url: z.ZodString;
5299
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5300
+ segmentation_id: z.ZodOptional<z.ZodString>;
5301
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5302
+ id: z.ZodString;
5303
+ file_id: z.ZodString;
5304
+ start_time: z.ZodNumber;
5305
+ end_time: z.ZodNumber;
5306
+ thumbnail_url: z.ZodString;
5307
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5308
+ segmentation_id: z.ZodOptional<z.ZodString>;
5309
+ }, z.ZodTypeAny, "passthrough">>;
5310
+ errors: [{
5311
+ status: 404;
5312
+ description: string;
5313
+ schema: z.ZodObject<{
5314
+ error: z.ZodString;
5315
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5316
+ error: z.ZodString;
5317
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5318
+ error: z.ZodString;
5319
+ }, z.ZodTypeAny, "passthrough">>;
5320
+ }, {
5321
+ status: 500;
5322
+ description: string;
5323
+ schema: z.ZodObject<{
5324
+ error: z.ZodString;
5325
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5326
+ error: z.ZodString;
5327
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5328
+ error: z.ZodString;
5329
+ }, z.ZodTypeAny, "passthrough">>;
5330
+ }];
5331
+ }, {
5332
+ method: "put";
5333
+ path: "/files/:file_id/segments/:segment_id";
5334
+ alias: "updateFileSegment";
5335
+ description: "Update a file segment";
5336
+ requestFormat: "json";
5337
+ parameters: [{
5338
+ name: "body";
5339
+ description: string;
5340
+ type: "Body";
5341
+ schema: z.ZodObject<{
5342
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5343
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5344
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5345
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5346
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5347
+ }, z.ZodTypeAny, "passthrough">>;
5348
+ }, {
5349
+ name: "file_id";
5350
+ type: "Path";
5351
+ schema: z.ZodString;
5352
+ }, {
5353
+ name: "segment_id";
5354
+ type: "Path";
5355
+ schema: z.ZodString;
5356
+ }];
5357
+ response: z.ZodObject<{
5358
+ id: z.ZodString;
5359
+ file_id: z.ZodString;
5360
+ start_time: z.ZodNumber;
5361
+ end_time: z.ZodNumber;
5362
+ thumbnail_url: z.ZodString;
5363
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5364
+ segmentation_id: z.ZodOptional<z.ZodString>;
5365
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5366
+ id: z.ZodString;
5367
+ file_id: z.ZodString;
5368
+ start_time: z.ZodNumber;
5369
+ end_time: z.ZodNumber;
5370
+ thumbnail_url: z.ZodString;
5371
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5372
+ segmentation_id: z.ZodOptional<z.ZodString>;
5373
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5374
+ id: z.ZodString;
5375
+ file_id: z.ZodString;
5376
+ start_time: z.ZodNumber;
5377
+ end_time: z.ZodNumber;
5378
+ thumbnail_url: z.ZodString;
5379
+ metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
5380
+ segmentation_id: z.ZodOptional<z.ZodString>;
5381
+ }, z.ZodTypeAny, "passthrough">>;
5382
+ errors: [{
5383
+ status: 400;
5384
+ description: string;
5385
+ schema: z.ZodObject<{
5386
+ error: z.ZodString;
5387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5388
+ error: z.ZodString;
5389
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5390
+ error: z.ZodString;
5391
+ }, z.ZodTypeAny, "passthrough">>;
5392
+ }, {
5393
+ status: 404;
5394
+ description: string;
5395
+ schema: z.ZodObject<{
5396
+ error: z.ZodString;
5397
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5398
+ error: z.ZodString;
5399
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5400
+ error: z.ZodString;
5401
+ }, z.ZodTypeAny, "passthrough">>;
5402
+ }, {
5403
+ status: 500;
5404
+ description: string;
5405
+ schema: z.ZodObject<{
5406
+ error: z.ZodString;
5407
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5408
+ error: z.ZodString;
5409
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5410
+ error: z.ZodString;
5411
+ }, z.ZodTypeAny, "passthrough">>;
5412
+ }];
5413
+ }, {
5414
+ method: "get";
5415
+ path: "/files/:file_id/segments/:segment_id/tags";
5416
+ alias: "listFileSegmentTags";
5417
+ description: "List all tags for a specific file segment";
5418
+ requestFormat: "json";
5419
+ parameters: [{
5420
+ name: "file_id";
5421
+ type: "Path";
5422
+ schema: z.ZodString;
5423
+ }, {
5424
+ name: "segment_id";
5425
+ type: "Path";
5426
+ schema: z.ZodString;
5427
+ }];
5428
+ response: z.ZodIntersection<z.ZodObject<{
5429
+ object: z.ZodLiteral<"list">;
5430
+ total: z.ZodNumber;
5431
+ limit: z.ZodNumber;
5432
+ offset: z.ZodNumber;
5433
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5434
+ object: z.ZodLiteral<"list">;
5435
+ total: z.ZodNumber;
5436
+ limit: z.ZodNumber;
5437
+ offset: z.ZodNumber;
5438
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5439
+ object: z.ZodLiteral<"list">;
5440
+ total: z.ZodNumber;
5441
+ limit: z.ZodNumber;
5442
+ offset: z.ZodNumber;
5443
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5444
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5445
+ id: z.ZodString;
5446
+ label: z.ZodString;
5447
+ value: z.ZodString;
5448
+ type: z.ZodEnum<["file", "segment"]>;
5449
+ file_id: z.ZodString;
5450
+ segment_id: z.ZodOptional<z.ZodString>;
5451
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5452
+ id: z.ZodString;
5453
+ label: z.ZodString;
5454
+ value: z.ZodString;
5455
+ type: z.ZodEnum<["file", "segment"]>;
5456
+ file_id: z.ZodString;
5457
+ segment_id: z.ZodOptional<z.ZodString>;
5458
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5459
+ id: z.ZodString;
5460
+ label: z.ZodString;
5461
+ value: z.ZodString;
5462
+ type: z.ZodEnum<["file", "segment"]>;
5463
+ file_id: z.ZodString;
5464
+ segment_id: z.ZodOptional<z.ZodString>;
5465
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
5466
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5467
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5468
+ id: z.ZodString;
5469
+ label: z.ZodString;
5470
+ value: z.ZodString;
5471
+ type: z.ZodEnum<["file", "segment"]>;
5472
+ file_id: z.ZodString;
5473
+ segment_id: z.ZodOptional<z.ZodString>;
5474
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5475
+ id: z.ZodString;
5476
+ label: z.ZodString;
5477
+ value: z.ZodString;
5478
+ type: z.ZodEnum<["file", "segment"]>;
5479
+ file_id: z.ZodString;
5480
+ segment_id: z.ZodOptional<z.ZodString>;
5481
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5482
+ id: z.ZodString;
5483
+ label: z.ZodString;
5484
+ value: z.ZodString;
5485
+ type: z.ZodEnum<["file", "segment"]>;
5486
+ file_id: z.ZodString;
5487
+ segment_id: z.ZodOptional<z.ZodString>;
5488
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
5489
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5490
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5491
+ id: z.ZodString;
5492
+ label: z.ZodString;
5493
+ value: z.ZodString;
5494
+ type: z.ZodEnum<["file", "segment"]>;
5495
+ file_id: z.ZodString;
5496
+ segment_id: z.ZodOptional<z.ZodString>;
5497
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5498
+ id: z.ZodString;
5499
+ label: z.ZodString;
5500
+ value: z.ZodString;
5501
+ type: z.ZodEnum<["file", "segment"]>;
5502
+ file_id: z.ZodString;
5503
+ segment_id: z.ZodOptional<z.ZodString>;
5504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5505
+ id: z.ZodString;
5506
+ label: z.ZodString;
5507
+ value: z.ZodString;
5508
+ type: z.ZodEnum<["file", "segment"]>;
5509
+ file_id: z.ZodString;
5510
+ segment_id: z.ZodOptional<z.ZodString>;
5511
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
5512
+ }, z.ZodTypeAny, "passthrough">>>;
4514
5513
  }, {
4515
5514
  method: "post";
4516
5515
  path: "/files/:file_id/frames";