@aviaryhq/cloudglue-js 0.3.0 → 0.3.2

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,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FramesApi = void 0;
4
+ exports.createApiClient = createApiClient;
5
+ const core_1 = require("@zodios/core");
6
+ const zod_1 = require("zod");
7
+ const common_1 = require("./common");
8
+ const endpoints = (0, core_1.makeApi)([
9
+ {
10
+ method: "get",
11
+ path: "/frames/:frame_extraction_id",
12
+ alias: "getFrameExtraction",
13
+ description: `Retrieve details about a specific frame extraction including its frames`,
14
+ requestFormat: "json",
15
+ parameters: [
16
+ {
17
+ name: "frame_extraction_id",
18
+ type: "Path",
19
+ schema: zod_1.z.string().uuid(),
20
+ },
21
+ {
22
+ name: "limit",
23
+ type: "Query",
24
+ schema: zod_1.z.number().int().gte(1).lte(100).optional().default(50),
25
+ },
26
+ {
27
+ name: "offset",
28
+ type: "Query",
29
+ schema: zod_1.z.number().int().gte(0).optional().default(0),
30
+ },
31
+ ],
32
+ response: common_1.FrameExtraction,
33
+ errors: [
34
+ {
35
+ status: 404,
36
+ description: `Frame extraction not found`,
37
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
38
+ },
39
+ {
40
+ status: 500,
41
+ description: `An unexpected error occurred on the server`,
42
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ method: "delete",
48
+ path: "/frames/:frame_extraction_id",
49
+ alias: "deleteFrameExtraction",
50
+ description: `Delete a specific frame extraction`,
51
+ requestFormat: "json",
52
+ parameters: [
53
+ {
54
+ name: "frame_extraction_id",
55
+ type: "Path",
56
+ schema: zod_1.z.string().uuid(),
57
+ },
58
+ ],
59
+ response: zod_1.z.object({ id: zod_1.z.string().uuid() }).strict().passthrough(),
60
+ errors: [
61
+ {
62
+ status: 404,
63
+ description: `Frame extraction not found`,
64
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
65
+ },
66
+ {
67
+ status: 500,
68
+ description: `An unexpected error occurred on the server`,
69
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
70
+ },
71
+ ],
72
+ },
73
+ ]);
74
+ exports.FramesApi = new core_1.Zodios("https://api.cloudglue.dev/v1", endpoints);
75
+ function createApiClient(baseUrl, options) {
76
+ return new core_1.Zodios(baseUrl, endpoints, options);
77
+ }
@@ -39,7 +39,7 @@ export type File = {
39
39
  has_audio: boolean | null;
40
40
  }> | undefined;
41
41
  thumbnail_url?: string | undefined;
42
- source?: ("video" | "youtube" | "s3" | "dropbox" | "http" | "upload") | undefined;
42
+ source?: ("video" | "youtube" | "s3" | "dropbox" | "http" | "upload" | "google-drive" | "zoom") | undefined;
43
43
  };
44
44
  export type Segmentation = {
45
45
  segmentation_id: string;
@@ -62,6 +62,39 @@ export type Segmentation = {
62
62
  offset: number;
63
63
  } | undefined;
64
64
  };
65
+ export type FrameExtractionConfig = {
66
+ strategy: "uniform";
67
+ uniform_config?: FrameExtractionUniformConfig | undefined;
68
+ thumbnails_config?: FrameExtractionThumbnailsConfig | undefined;
69
+ start_time_seconds?: number | undefined;
70
+ end_time_seconds?: number | undefined;
71
+ };
72
+ export type FrameExtractionUniformConfig = Partial<{
73
+ frames_per_second: number;
74
+ max_width: number;
75
+ }>;
76
+ export type FrameExtractionThumbnailsConfig = Partial<{
77
+ enable_frame_thumbnails: boolean;
78
+ }>;
79
+ export type FrameExtraction = {
80
+ frame_extraction_id: string;
81
+ status: "pending" | "processing" | "completed" | "failed";
82
+ created_at: number;
83
+ file_id: string;
84
+ frame_extraction_config: FrameExtractionConfig;
85
+ frame_count?: number | undefined;
86
+ data?: {
87
+ object: "list";
88
+ frames?: Array<{
89
+ id: string;
90
+ timestamp: number;
91
+ thumbnail_url?: string | undefined;
92
+ }> | undefined;
93
+ total: number;
94
+ limit: number;
95
+ offset: number;
96
+ } | undefined;
97
+ };
65
98
  export type ThumbnailList = {
66
99
  object: "list";
67
100
  total: number;
@@ -508,7 +541,7 @@ export declare const File: z.ZodObject<{
508
541
  has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
509
542
  }, z.ZodTypeAny, "passthrough">>>;
510
543
  thumbnail_url: z.ZodOptional<z.ZodString>;
511
- source: z.ZodOptional<z.ZodEnum<["video", "youtube", "s3", "dropbox", "http", "upload"]>>;
544
+ source: z.ZodOptional<z.ZodEnum<["video", "youtube", "s3", "dropbox", "http", "upload", "google-drive", "zoom"]>>;
512
545
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
513
546
  id: z.ZodString;
514
547
  status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
@@ -537,7 +570,7 @@ export declare const File: z.ZodObject<{
537
570
  has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
538
571
  }, z.ZodTypeAny, "passthrough">>>;
539
572
  thumbnail_url: z.ZodOptional<z.ZodString>;
540
- source: z.ZodOptional<z.ZodEnum<["video", "youtube", "s3", "dropbox", "http", "upload"]>>;
573
+ source: z.ZodOptional<z.ZodEnum<["video", "youtube", "s3", "dropbox", "http", "upload", "google-drive", "zoom"]>>;
541
574
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
542
575
  id: z.ZodString;
543
576
  status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
@@ -566,7 +599,7 @@ export declare const File: z.ZodObject<{
566
599
  has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
567
600
  }, z.ZodTypeAny, "passthrough">>>;
568
601
  thumbnail_url: z.ZodOptional<z.ZodString>;
569
- source: z.ZodOptional<z.ZodEnum<["video", "youtube", "s3", "dropbox", "http", "upload"]>>;
602
+ source: z.ZodOptional<z.ZodEnum<["video", "youtube", "s3", "dropbox", "http", "upload", "google-drive", "zoom"]>>;
570
603
  }, z.ZodTypeAny, "passthrough">>;
571
604
  export declare const Segmentation: z.ZodObject<{
572
605
  segmentation_id: z.ZodString;
@@ -1165,3 +1198,460 @@ export declare const ThumbnailList: z.ZodObject<{
1165
1198
  segment_id: z.ZodOptional<z.ZodString>;
1166
1199
  }, z.ZodTypeAny, "passthrough">>, "many">;
1167
1200
  }, z.ZodTypeAny, "passthrough">>;
1201
+ export declare const FrameExtractionUniformConfig: z.ZodObject<{
1202
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1203
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1205
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1206
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1207
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1208
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1209
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1210
+ }, z.ZodTypeAny, "passthrough">>;
1211
+ export declare const FrameExtractionThumbnailsConfig: z.ZodObject<{
1212
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1213
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1214
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1215
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1216
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1217
+ }, z.ZodTypeAny, "passthrough">>;
1218
+ export declare const FrameExtractionConfig: z.ZodObject<{
1219
+ strategy: z.ZodLiteral<"uniform">;
1220
+ uniform_config: z.ZodOptional<z.ZodObject<{
1221
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1222
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1223
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1224
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1225
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1226
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1227
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1228
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1229
+ }, z.ZodTypeAny, "passthrough">>>;
1230
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1231
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1232
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1233
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1234
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1235
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1236
+ }, z.ZodTypeAny, "passthrough">>>;
1237
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1238
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1239
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1240
+ strategy: z.ZodLiteral<"uniform">;
1241
+ uniform_config: z.ZodOptional<z.ZodObject<{
1242
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1243
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1244
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1245
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1246
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1247
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1248
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1249
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1250
+ }, z.ZodTypeAny, "passthrough">>>;
1251
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1252
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1253
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1254
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1255
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1256
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1257
+ }, z.ZodTypeAny, "passthrough">>>;
1258
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1259
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1260
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1261
+ strategy: z.ZodLiteral<"uniform">;
1262
+ uniform_config: z.ZodOptional<z.ZodObject<{
1263
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1264
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1265
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1266
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1267
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1268
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1269
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1270
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1271
+ }, z.ZodTypeAny, "passthrough">>>;
1272
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1273
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1274
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1275
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1276
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1277
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1278
+ }, z.ZodTypeAny, "passthrough">>>;
1279
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1280
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1281
+ }, z.ZodTypeAny, "passthrough">>;
1282
+ export declare const FrameExtraction: z.ZodObject<{
1283
+ frame_extraction_id: z.ZodString;
1284
+ status: z.ZodEnum<["pending", "processing", "completed", "failed"]>;
1285
+ created_at: z.ZodNumber;
1286
+ file_id: z.ZodString;
1287
+ frame_extraction_config: z.ZodObject<{
1288
+ strategy: z.ZodLiteral<"uniform">;
1289
+ uniform_config: z.ZodOptional<z.ZodObject<{
1290
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1291
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1292
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1293
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1294
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1295
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1296
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1297
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1298
+ }, z.ZodTypeAny, "passthrough">>>;
1299
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1300
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1301
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1302
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1303
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1304
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1305
+ }, z.ZodTypeAny, "passthrough">>>;
1306
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1307
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1308
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1309
+ strategy: z.ZodLiteral<"uniform">;
1310
+ uniform_config: z.ZodOptional<z.ZodObject<{
1311
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1312
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1313
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1314
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1315
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1316
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1317
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1318
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1319
+ }, z.ZodTypeAny, "passthrough">>>;
1320
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1321
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1322
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1323
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1324
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1325
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1326
+ }, z.ZodTypeAny, "passthrough">>>;
1327
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1328
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1329
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1330
+ strategy: z.ZodLiteral<"uniform">;
1331
+ uniform_config: z.ZodOptional<z.ZodObject<{
1332
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1333
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1334
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1335
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1336
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1337
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1338
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1339
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1340
+ }, z.ZodTypeAny, "passthrough">>>;
1341
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1342
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1343
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1344
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1345
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1346
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1347
+ }, z.ZodTypeAny, "passthrough">>>;
1348
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1349
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1350
+ }, z.ZodTypeAny, "passthrough">>;
1351
+ frame_count: z.ZodOptional<z.ZodNumber>;
1352
+ data: z.ZodOptional<z.ZodObject<{
1353
+ object: z.ZodLiteral<"list">;
1354
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1355
+ id: z.ZodString;
1356
+ timestamp: z.ZodNumber;
1357
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1358
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1359
+ id: z.ZodString;
1360
+ timestamp: z.ZodNumber;
1361
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1362
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1363
+ id: z.ZodString;
1364
+ timestamp: z.ZodNumber;
1365
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1366
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1367
+ total: z.ZodNumber;
1368
+ limit: z.ZodNumber;
1369
+ offset: z.ZodNumber;
1370
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1371
+ object: z.ZodLiteral<"list">;
1372
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1373
+ id: z.ZodString;
1374
+ timestamp: z.ZodNumber;
1375
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1376
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1377
+ id: z.ZodString;
1378
+ timestamp: z.ZodNumber;
1379
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1380
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1381
+ id: z.ZodString;
1382
+ timestamp: z.ZodNumber;
1383
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1384
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1385
+ total: z.ZodNumber;
1386
+ limit: z.ZodNumber;
1387
+ offset: z.ZodNumber;
1388
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1389
+ object: z.ZodLiteral<"list">;
1390
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1391
+ id: z.ZodString;
1392
+ timestamp: z.ZodNumber;
1393
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1394
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1395
+ id: z.ZodString;
1396
+ timestamp: z.ZodNumber;
1397
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1398
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1399
+ id: z.ZodString;
1400
+ timestamp: z.ZodNumber;
1401
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1402
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1403
+ total: z.ZodNumber;
1404
+ limit: z.ZodNumber;
1405
+ offset: z.ZodNumber;
1406
+ }, z.ZodTypeAny, "passthrough">>>;
1407
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1408
+ frame_extraction_id: z.ZodString;
1409
+ status: z.ZodEnum<["pending", "processing", "completed", "failed"]>;
1410
+ created_at: z.ZodNumber;
1411
+ file_id: z.ZodString;
1412
+ frame_extraction_config: z.ZodObject<{
1413
+ strategy: z.ZodLiteral<"uniform">;
1414
+ uniform_config: z.ZodOptional<z.ZodObject<{
1415
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1416
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1417
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1418
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1419
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1420
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1421
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1422
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1423
+ }, z.ZodTypeAny, "passthrough">>>;
1424
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1425
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1427
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1429
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1430
+ }, z.ZodTypeAny, "passthrough">>>;
1431
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1432
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1433
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1434
+ strategy: z.ZodLiteral<"uniform">;
1435
+ uniform_config: z.ZodOptional<z.ZodObject<{
1436
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1437
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1438
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1439
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1440
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1441
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1442
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1443
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1444
+ }, z.ZodTypeAny, "passthrough">>>;
1445
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1446
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1447
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1448
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1449
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1450
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1451
+ }, z.ZodTypeAny, "passthrough">>>;
1452
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1453
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1454
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1455
+ strategy: z.ZodLiteral<"uniform">;
1456
+ uniform_config: z.ZodOptional<z.ZodObject<{
1457
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1458
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1459
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1460
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1461
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1462
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1463
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1464
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1465
+ }, z.ZodTypeAny, "passthrough">>>;
1466
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1467
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1468
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1469
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1470
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1471
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1472
+ }, z.ZodTypeAny, "passthrough">>>;
1473
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1474
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1475
+ }, z.ZodTypeAny, "passthrough">>;
1476
+ frame_count: z.ZodOptional<z.ZodNumber>;
1477
+ data: z.ZodOptional<z.ZodObject<{
1478
+ object: z.ZodLiteral<"list">;
1479
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1480
+ id: z.ZodString;
1481
+ timestamp: z.ZodNumber;
1482
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1483
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1484
+ id: z.ZodString;
1485
+ timestamp: z.ZodNumber;
1486
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1487
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1488
+ id: z.ZodString;
1489
+ timestamp: z.ZodNumber;
1490
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1491
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1492
+ total: z.ZodNumber;
1493
+ limit: z.ZodNumber;
1494
+ offset: z.ZodNumber;
1495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1496
+ object: z.ZodLiteral<"list">;
1497
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1498
+ id: z.ZodString;
1499
+ timestamp: z.ZodNumber;
1500
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1501
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1502
+ id: z.ZodString;
1503
+ timestamp: z.ZodNumber;
1504
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1505
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1506
+ id: z.ZodString;
1507
+ timestamp: z.ZodNumber;
1508
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1509
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1510
+ total: z.ZodNumber;
1511
+ limit: z.ZodNumber;
1512
+ offset: z.ZodNumber;
1513
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1514
+ object: z.ZodLiteral<"list">;
1515
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1516
+ id: z.ZodString;
1517
+ timestamp: z.ZodNumber;
1518
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1519
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1520
+ id: z.ZodString;
1521
+ timestamp: z.ZodNumber;
1522
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1523
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1524
+ id: z.ZodString;
1525
+ timestamp: z.ZodNumber;
1526
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1527
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1528
+ total: z.ZodNumber;
1529
+ limit: z.ZodNumber;
1530
+ offset: z.ZodNumber;
1531
+ }, z.ZodTypeAny, "passthrough">>>;
1532
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1533
+ frame_extraction_id: z.ZodString;
1534
+ status: z.ZodEnum<["pending", "processing", "completed", "failed"]>;
1535
+ created_at: z.ZodNumber;
1536
+ file_id: z.ZodString;
1537
+ frame_extraction_config: z.ZodObject<{
1538
+ strategy: z.ZodLiteral<"uniform">;
1539
+ uniform_config: z.ZodOptional<z.ZodObject<{
1540
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1541
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1542
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1543
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1544
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1545
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1546
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1547
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1548
+ }, z.ZodTypeAny, "passthrough">>>;
1549
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1550
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1551
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1552
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1553
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1554
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1555
+ }, z.ZodTypeAny, "passthrough">>>;
1556
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1557
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1558
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1559
+ strategy: z.ZodLiteral<"uniform">;
1560
+ uniform_config: z.ZodOptional<z.ZodObject<{
1561
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1562
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1563
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1564
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1565
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1566
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1567
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1568
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1569
+ }, z.ZodTypeAny, "passthrough">>>;
1570
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1571
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1572
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1573
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1574
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1575
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1576
+ }, z.ZodTypeAny, "passthrough">>>;
1577
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1578
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1579
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1580
+ strategy: z.ZodLiteral<"uniform">;
1581
+ uniform_config: z.ZodOptional<z.ZodObject<{
1582
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1583
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1584
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1585
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1586
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1587
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1588
+ frames_per_second: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1589
+ max_width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1590
+ }, z.ZodTypeAny, "passthrough">>>;
1591
+ thumbnails_config: z.ZodOptional<z.ZodObject<{
1592
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1593
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1594
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1595
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1596
+ enable_frame_thumbnails: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1597
+ }, z.ZodTypeAny, "passthrough">>>;
1598
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1599
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1600
+ }, z.ZodTypeAny, "passthrough">>;
1601
+ frame_count: z.ZodOptional<z.ZodNumber>;
1602
+ data: z.ZodOptional<z.ZodObject<{
1603
+ object: z.ZodLiteral<"list">;
1604
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1605
+ id: z.ZodString;
1606
+ timestamp: z.ZodNumber;
1607
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1608
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1609
+ id: z.ZodString;
1610
+ timestamp: z.ZodNumber;
1611
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1612
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1613
+ id: z.ZodString;
1614
+ timestamp: z.ZodNumber;
1615
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1616
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1617
+ total: z.ZodNumber;
1618
+ limit: z.ZodNumber;
1619
+ offset: z.ZodNumber;
1620
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1621
+ object: z.ZodLiteral<"list">;
1622
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1623
+ id: z.ZodString;
1624
+ timestamp: z.ZodNumber;
1625
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1626
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1627
+ id: z.ZodString;
1628
+ timestamp: z.ZodNumber;
1629
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1630
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1631
+ id: z.ZodString;
1632
+ timestamp: z.ZodNumber;
1633
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1634
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1635
+ total: z.ZodNumber;
1636
+ limit: z.ZodNumber;
1637
+ offset: z.ZodNumber;
1638
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1639
+ object: z.ZodLiteral<"list">;
1640
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1641
+ id: z.ZodString;
1642
+ timestamp: z.ZodNumber;
1643
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1645
+ id: z.ZodString;
1646
+ timestamp: z.ZodNumber;
1647
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1649
+ id: z.ZodString;
1650
+ timestamp: z.ZodNumber;
1651
+ thumbnail_url: z.ZodOptional<z.ZodString>;
1652
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1653
+ total: z.ZodNumber;
1654
+ limit: z.ZodNumber;
1655
+ offset: z.ZodNumber;
1656
+ }, z.ZodTypeAny, "passthrough">>>;
1657
+ }, z.ZodTypeAny, "passthrough">>;