@aviaryhq/cloudglue-js 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/Collections.d.ts +6967 -1192
- package/dist/generated/Collections.js +256 -1
- package/dist/generated/Describe.d.ts +178 -6841
- package/dist/generated/Describe.js +138 -48
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +3 -1
- package/dist/src/client.d.ts +1078 -231
- package/dist/src/client.js +64 -2
- package/dist/src/types.d.ts +18 -0
- package/package.json +1 -1
package/dist/src/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilesApi, CollectionsApi, ChatApi, TranscribeApi, ExtractApi, SearchApi } from "../generated";
|
|
1
|
+
import { FilesApi, CollectionsApi, ChatApi, TranscribeApi, ExtractApi, SearchApi, DescribeApi } from "../generated";
|
|
2
2
|
import type { File, SegmentationConfig, UpdateFileParams } from "./types";
|
|
3
3
|
import { SegmentationsApi } from "../generated/Segmentations";
|
|
4
4
|
import { ThumbnailsConfig } from "../generated/common";
|
|
@@ -42,10 +42,10 @@ interface ListCollectionParams {
|
|
|
42
42
|
offset?: number;
|
|
43
43
|
order?: "name" | "created_at";
|
|
44
44
|
sort?: "asc" | "desc";
|
|
45
|
-
collection_type?: "entities" | "rich-transcripts";
|
|
45
|
+
collection_type?: "entities" | "rich-transcripts" | "media-descriptions";
|
|
46
46
|
}
|
|
47
47
|
interface CreateCollectionParams {
|
|
48
|
-
collection_type: "entities" | "rich-transcripts";
|
|
48
|
+
collection_type: "entities" | "rich-transcripts" | "media-descriptions";
|
|
49
49
|
name: string;
|
|
50
50
|
description?: string;
|
|
51
51
|
extract_config?: {
|
|
@@ -60,6 +60,12 @@ interface CreateCollectionParams {
|
|
|
60
60
|
enable_scene_text?: boolean;
|
|
61
61
|
enable_visual_scene_description?: boolean;
|
|
62
62
|
};
|
|
63
|
+
describe_config?: {
|
|
64
|
+
enable_summary?: boolean;
|
|
65
|
+
enable_speech?: boolean;
|
|
66
|
+
enable_scene_text?: boolean;
|
|
67
|
+
enable_visual_scene_description?: boolean;
|
|
68
|
+
};
|
|
63
69
|
default_segmentation_config?: SegmentationConfig;
|
|
64
70
|
default_thumbnails_config?: ThumbnailsConfig;
|
|
65
71
|
}
|
|
@@ -89,6 +95,15 @@ interface ListCollectionRichTranscriptsParams {
|
|
|
89
95
|
added_after?: string;
|
|
90
96
|
response_format?: "json" | "markdown";
|
|
91
97
|
}
|
|
98
|
+
interface ListCollectionMediaDescriptionsParams {
|
|
99
|
+
limit?: number;
|
|
100
|
+
offset?: number;
|
|
101
|
+
order?: "added_at" | "filename";
|
|
102
|
+
sort?: "asc" | "desc";
|
|
103
|
+
added_before?: string;
|
|
104
|
+
added_after?: string;
|
|
105
|
+
response_format?: "json" | "markdown";
|
|
106
|
+
}
|
|
92
107
|
interface ChatCompletionParams {
|
|
93
108
|
model?: string;
|
|
94
109
|
messages: Array<{
|
|
@@ -508,6 +523,12 @@ declare class EnhancedCollectionsApi {
|
|
|
508
523
|
enable_scene_text: boolean;
|
|
509
524
|
enable_visual_scene_description: boolean;
|
|
510
525
|
}> | undefined;
|
|
526
|
+
describe_config?: Partial<{
|
|
527
|
+
enable_summary: boolean;
|
|
528
|
+
enable_speech: boolean;
|
|
529
|
+
enable_scene_text: boolean;
|
|
530
|
+
enable_visual_scene_description: boolean;
|
|
531
|
+
}> | undefined;
|
|
511
532
|
default_segmentation_config?: import("../generated/common").SegmentationConfig | undefined;
|
|
512
533
|
default_thumbnails_config?: ThumbnailsConfig | undefined;
|
|
513
534
|
created_at: number;
|
|
@@ -535,6 +556,12 @@ declare class EnhancedCollectionsApi {
|
|
|
535
556
|
enable_scene_text: boolean;
|
|
536
557
|
enable_visual_scene_description: boolean;
|
|
537
558
|
}> | undefined;
|
|
559
|
+
describe_config?: Partial<{
|
|
560
|
+
enable_summary: boolean;
|
|
561
|
+
enable_speech: boolean;
|
|
562
|
+
enable_scene_text: boolean;
|
|
563
|
+
enable_visual_scene_description: boolean;
|
|
564
|
+
}> | undefined;
|
|
538
565
|
default_segmentation_config?: import("../generated/common").SegmentationConfig | undefined;
|
|
539
566
|
default_thumbnails_config?: ThumbnailsConfig | undefined;
|
|
540
567
|
created_at: number;
|
|
@@ -558,6 +585,12 @@ declare class EnhancedCollectionsApi {
|
|
|
558
585
|
enable_scene_text: boolean;
|
|
559
586
|
enable_visual_scene_description: boolean;
|
|
560
587
|
}> | undefined;
|
|
588
|
+
describe_config?: Partial<{
|
|
589
|
+
enable_summary: boolean;
|
|
590
|
+
enable_speech: boolean;
|
|
591
|
+
enable_scene_text: boolean;
|
|
592
|
+
enable_visual_scene_description: boolean;
|
|
593
|
+
}> | undefined;
|
|
561
594
|
default_segmentation_config?: import("../generated/common").SegmentationConfig | undefined;
|
|
562
595
|
default_thumbnails_config?: ThumbnailsConfig | undefined;
|
|
563
596
|
created_at: number;
|
|
@@ -1447,234 +1480,849 @@ declare class EnhancedCollectionsApi {
|
|
|
1447
1480
|
limit: import("zod").ZodNumber;
|
|
1448
1481
|
offset: import("zod").ZodNumber;
|
|
1449
1482
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1483
|
+
getMediaDescriptions(collectionId: string, fileId: string, response_format?: "markdown" | "json"): Promise<import("zod").objectOutputType<{
|
|
1484
|
+
collection_id: import("zod").ZodString;
|
|
1485
|
+
file_id: import("zod").ZodString;
|
|
1486
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1487
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1488
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1489
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1490
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1491
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1492
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1493
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1494
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1495
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1496
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1497
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1498
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1499
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1500
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1501
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1502
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1503
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1504
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1505
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1506
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1507
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1508
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1509
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1510
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1511
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1512
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1513
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1514
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1515
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1516
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1517
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1518
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1519
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1520
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1521
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1522
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1523
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1524
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1525
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1526
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1527
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1528
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1529
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1530
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1531
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1532
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1533
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1534
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1535
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1536
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1537
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1538
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1539
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1540
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1541
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1542
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1543
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1544
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1545
|
+
listMediaDescriptions(collectionId: string, params?: ListCollectionMediaDescriptionsParams): Promise<import("zod").objectOutputType<{
|
|
1546
|
+
object: import("zod").ZodLiteral<"list">;
|
|
1547
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1548
|
+
file_id: import("zod").ZodString;
|
|
1549
|
+
added_at: import("zod").ZodNumber;
|
|
1550
|
+
object: import("zod").ZodLiteral<"collection_file">;
|
|
1551
|
+
data: import("zod").ZodObject<{
|
|
1552
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1553
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1554
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1555
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1556
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1557
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1558
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1559
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1560
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1561
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1562
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1563
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1564
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1565
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1566
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1567
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1568
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1569
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1570
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1571
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1572
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1573
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1574
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1575
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1576
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1577
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1578
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1579
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1580
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1581
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1582
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1583
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1584
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1585
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1586
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1587
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1588
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1589
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1590
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1591
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1592
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1593
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1594
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1595
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1596
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1597
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1598
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1599
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1600
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1601
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1602
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1603
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1604
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1605
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1606
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1607
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1608
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1609
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1610
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1611
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1612
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1613
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1614
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1615
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1616
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1617
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1618
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1619
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1620
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1621
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1622
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1623
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1624
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1625
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1626
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1627
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1628
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1629
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1630
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1631
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1632
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1633
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1634
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1635
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1636
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1637
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1638
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1639
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1640
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1641
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1642
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1643
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1644
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1645
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1646
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1647
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1648
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1649
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1650
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1651
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1652
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1653
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1654
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1655
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1656
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1657
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1658
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1659
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1660
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1661
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1662
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1663
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1664
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1665
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1666
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1667
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1668
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1669
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1670
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1671
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1672
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1673
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1674
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1675
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1676
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1677
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1678
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1679
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1680
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1681
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1682
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1683
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1684
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1685
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1686
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1687
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1688
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1689
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1690
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1691
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1692
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1693
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1694
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1695
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1696
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1697
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1698
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1699
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1700
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1701
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1702
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1703
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1704
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1705
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1706
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1707
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1708
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1709
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1710
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1711
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1712
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1713
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1714
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1715
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1716
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1717
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1718
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1719
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1720
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1721
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1722
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1723
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1724
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1725
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1726
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1727
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1728
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1729
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1730
|
+
file_id: import("zod").ZodString;
|
|
1731
|
+
added_at: import("zod").ZodNumber;
|
|
1732
|
+
object: import("zod").ZodLiteral<"collection_file">;
|
|
1733
|
+
data: import("zod").ZodObject<{
|
|
1734
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1735
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1736
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1737
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1738
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1739
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1740
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1741
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1742
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1743
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1744
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1745
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1746
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1747
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1748
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1749
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1750
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1751
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1752
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1753
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1754
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1755
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1756
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1757
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1758
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1759
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1760
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1761
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1762
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1763
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1764
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1765
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1766
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1767
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1768
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1769
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1770
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1771
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1772
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1773
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1774
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1775
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1776
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1777
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1778
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1779
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1780
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1781
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1782
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1783
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1784
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1785
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1786
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1787
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1788
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1789
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1790
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1791
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1792
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1793
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1794
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1795
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1796
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1797
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1798
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1799
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1800
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1801
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1802
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1803
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1804
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1805
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1806
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1807
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1808
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1809
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1810
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1811
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1812
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1813
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1814
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1815
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1816
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1817
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1818
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1819
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1820
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1821
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1822
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1823
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1824
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1825
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1826
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1827
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1828
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1829
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1830
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1831
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1832
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1833
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1834
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1835
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1836
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1837
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1838
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1839
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1840
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1841
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1842
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1843
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1844
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1845
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1846
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1847
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1848
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1849
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1850
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1851
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1852
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1853
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1854
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1855
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1856
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1857
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1858
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1859
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1860
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1861
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1862
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1863
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1864
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1865
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1866
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1867
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1868
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1869
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1870
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1871
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1872
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1873
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1874
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1875
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1876
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1877
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1878
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1879
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1880
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1881
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1882
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1883
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1884
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1885
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1886
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1887
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1888
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1889
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1890
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1891
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1892
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1893
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1894
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1895
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1896
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1897
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1898
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1899
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1900
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1901
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1902
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1903
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1904
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1905
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1906
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1907
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1908
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1909
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1910
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1911
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1912
|
+
file_id: import("zod").ZodString;
|
|
1913
|
+
added_at: import("zod").ZodNumber;
|
|
1914
|
+
object: import("zod").ZodLiteral<"collection_file">;
|
|
1915
|
+
data: import("zod").ZodObject<{
|
|
1916
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1917
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1918
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1919
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1920
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1921
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1922
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1923
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1924
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1925
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1926
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1927
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1928
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1929
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1930
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1931
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1932
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1933
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1934
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1935
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1936
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1937
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1938
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1939
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1940
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1941
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1942
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1943
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1944
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1945
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1946
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1947
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1948
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1949
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1950
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1951
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1952
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1953
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1954
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1955
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1956
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1957
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1958
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1959
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1960
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1961
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1962
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1963
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1964
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1965
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1966
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1967
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1968
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1969
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1970
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1971
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1972
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1973
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1974
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1975
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1976
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1977
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1978
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1979
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1980
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1981
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1982
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1983
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1984
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1985
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1986
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1987
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1988
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1989
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1990
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
1991
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1992
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1993
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1994
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1995
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1996
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1997
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1998
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1999
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2000
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2001
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2002
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2003
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2004
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2005
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2006
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2007
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2008
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2009
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2010
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2011
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2012
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2013
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2014
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2015
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2016
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2017
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2018
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2019
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2020
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2021
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2022
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2023
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2024
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2025
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2026
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2027
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2028
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2029
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2030
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2031
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2032
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2033
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2034
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2035
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2036
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2037
|
+
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2038
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2039
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2040
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2041
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2042
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2043
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2044
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2045
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2046
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2047
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2048
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2049
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2050
|
+
visual_scene_description: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2051
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2052
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2053
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2054
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2055
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2056
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2057
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2058
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2059
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2060
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2061
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2062
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2063
|
+
scene_text: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2064
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2065
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2066
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2067
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2068
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2069
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2070
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2071
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2072
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2073
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2074
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2075
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2076
|
+
segment_summary: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2077
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2078
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2079
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2080
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2081
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2082
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2083
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2084
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2085
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2086
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2087
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2088
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2089
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2090
|
+
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2091
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
|
2092
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
2093
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">;
|
|
2094
|
+
total: import("zod").ZodNumber;
|
|
2095
|
+
limit: import("zod").ZodNumber;
|
|
2096
|
+
offset: import("zod").ZodNumber;
|
|
2097
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
2098
|
+
/**
|
|
2099
|
+
* Waits for a video in a collection to be ready by polling the getVideo endpoint until
|
|
2100
|
+
* the video reaches a terminal state (completed, failed, or not_applicable) or until maxAttempts is reached.
|
|
2101
|
+
*
|
|
2102
|
+
* @param collectionId - The ID of the collection containing the video
|
|
2103
|
+
* @param fileId - The ID of the video file to wait for
|
|
2104
|
+
* @param options - Optional configuration for polling behavior
|
|
2105
|
+
* @returns The final collection file object
|
|
2106
|
+
* @throws {CloudGlueError} If the video fails to process or maxAttempts is reached
|
|
2107
|
+
*/
|
|
2108
|
+
waitForReady(collectionId: string, fileId: string, options?: WaitForReadyOptions): Promise<{
|
|
2109
|
+
collection_id: string;
|
|
2110
|
+
file_id: string;
|
|
2111
|
+
object: "collection_file";
|
|
2112
|
+
added_at: number;
|
|
2113
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2114
|
+
file?: File | undefined;
|
|
2115
|
+
segmentation?: {
|
|
2116
|
+
id: string;
|
|
2117
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2118
|
+
file_id: string;
|
|
2119
|
+
segmentation_config: import("../generated/common").SegmentationConfig;
|
|
2120
|
+
} | undefined;
|
|
2121
|
+
}>;
|
|
2122
|
+
}
|
|
2123
|
+
declare class EnhancedChatApi {
|
|
2124
|
+
private readonly api;
|
|
2125
|
+
constructor(api: typeof ChatApi);
|
|
2126
|
+
createCompletion(params: ChatCompletionParams): Promise<Partial<{
|
|
2127
|
+
id: string;
|
|
2128
|
+
object: string;
|
|
2129
|
+
created: number;
|
|
2130
|
+
model: string;
|
|
2131
|
+
choices: Array<Partial<{
|
|
2132
|
+
index: number;
|
|
2133
|
+
message: {
|
|
2134
|
+
role: "system" | "user" | "assistant";
|
|
2135
|
+
content: string;
|
|
2136
|
+
name?: string | undefined;
|
|
2137
|
+
};
|
|
2138
|
+
citations: Array<Partial<{
|
|
2139
|
+
collection_id: string;
|
|
2140
|
+
file_id: string;
|
|
2141
|
+
segment_id: string;
|
|
2142
|
+
start_time: string | number;
|
|
2143
|
+
end_time: string | number;
|
|
2144
|
+
text: string;
|
|
2145
|
+
context: string;
|
|
2146
|
+
relevant_sources: Array<Partial<{
|
|
2147
|
+
text: string;
|
|
2148
|
+
}>>;
|
|
2149
|
+
visual_scene_description: Array<Partial<{
|
|
2150
|
+
text: string;
|
|
2151
|
+
start_time: number;
|
|
2152
|
+
end_time: number;
|
|
2153
|
+
}>>;
|
|
2154
|
+
scene_text: Array<Partial<{
|
|
2155
|
+
text: string;
|
|
2156
|
+
start_time: number;
|
|
2157
|
+
end_time: number;
|
|
2158
|
+
}>>;
|
|
2159
|
+
speech: Array<Partial<{
|
|
2160
|
+
speaker: string;
|
|
2161
|
+
text: string;
|
|
2162
|
+
start_time: number;
|
|
2163
|
+
end_time: number;
|
|
2164
|
+
}>>;
|
|
2165
|
+
}>>;
|
|
2166
|
+
}>>;
|
|
2167
|
+
usage: Partial<{
|
|
2168
|
+
prompt_tokens: number;
|
|
2169
|
+
completion_tokens: number;
|
|
2170
|
+
total_tokens: number;
|
|
2171
|
+
}>;
|
|
2172
|
+
}>>;
|
|
2173
|
+
}
|
|
2174
|
+
declare class EnhancedTranscribeApi {
|
|
2175
|
+
private readonly api;
|
|
2176
|
+
constructor(api: typeof TranscribeApi);
|
|
2177
|
+
createTranscribe(url: string, options?: {
|
|
2178
|
+
enable_summary?: boolean;
|
|
2179
|
+
enable_speech?: boolean;
|
|
2180
|
+
enable_scene_text?: boolean;
|
|
2181
|
+
enable_visual_scene_description?: boolean;
|
|
2182
|
+
segmentation_config?: SegmentationConfig;
|
|
2183
|
+
segmentation_id?: string;
|
|
2184
|
+
thumbnail_config?: ThumbnailsConfig;
|
|
2185
|
+
}): Promise<{
|
|
2186
|
+
job_id: string;
|
|
2187
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2188
|
+
url?: string | undefined;
|
|
2189
|
+
created_at?: number | undefined;
|
|
2190
|
+
transcribe_config?: Partial<{
|
|
2191
|
+
enable_summary: boolean;
|
|
2192
|
+
enable_speech: boolean;
|
|
2193
|
+
enable_visual_scene_description: boolean;
|
|
2194
|
+
enable_scene_text: boolean;
|
|
2195
|
+
}> | undefined;
|
|
2196
|
+
data?: Partial<{
|
|
2197
|
+
content: string;
|
|
2198
|
+
title: string;
|
|
2199
|
+
summary: string;
|
|
2200
|
+
speech: Array<Partial<{
|
|
2201
|
+
text: string;
|
|
2202
|
+
start_time: number;
|
|
2203
|
+
end_time: number;
|
|
2204
|
+
}>>;
|
|
2205
|
+
visual_scene_description: Array<Partial<{
|
|
2206
|
+
text: string;
|
|
2207
|
+
start_time: number;
|
|
2208
|
+
end_time: number;
|
|
2209
|
+
}>>;
|
|
2210
|
+
scene_text: Array<Partial<{
|
|
2211
|
+
text: string;
|
|
2212
|
+
start_time: number;
|
|
2213
|
+
end_time: number;
|
|
2214
|
+
}>>;
|
|
2215
|
+
segment_summary: Array<Partial<{
|
|
2216
|
+
title: string;
|
|
2217
|
+
summary: string;
|
|
2218
|
+
start_time: number;
|
|
2219
|
+
end_time: number;
|
|
2220
|
+
}>>;
|
|
2221
|
+
}> | undefined;
|
|
2222
|
+
error?: string | undefined;
|
|
2223
|
+
}>;
|
|
2224
|
+
getTranscribe(jobId: string, options?: {
|
|
2225
|
+
response_format?: "json" | "markdown";
|
|
2226
|
+
}): Promise<{
|
|
2227
|
+
job_id: string;
|
|
2228
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2229
|
+
url?: string | undefined;
|
|
2230
|
+
created_at?: number | undefined;
|
|
2231
|
+
transcribe_config?: Partial<{
|
|
2232
|
+
enable_summary: boolean;
|
|
2233
|
+
enable_speech: boolean;
|
|
2234
|
+
enable_visual_scene_description: boolean;
|
|
2235
|
+
enable_scene_text: boolean;
|
|
2236
|
+
}> | undefined;
|
|
2237
|
+
data?: Partial<{
|
|
2238
|
+
content: string;
|
|
2239
|
+
title: string;
|
|
2240
|
+
summary: string;
|
|
2241
|
+
speech: Array<Partial<{
|
|
2242
|
+
text: string;
|
|
2243
|
+
start_time: number;
|
|
2244
|
+
end_time: number;
|
|
2245
|
+
}>>;
|
|
2246
|
+
visual_scene_description: Array<Partial<{
|
|
2247
|
+
text: string;
|
|
2248
|
+
start_time: number;
|
|
2249
|
+
end_time: number;
|
|
2250
|
+
}>>;
|
|
2251
|
+
scene_text: Array<Partial<{
|
|
2252
|
+
text: string;
|
|
2253
|
+
start_time: number;
|
|
2254
|
+
end_time: number;
|
|
2255
|
+
}>>;
|
|
2256
|
+
segment_summary: Array<Partial<{
|
|
2257
|
+
title: string;
|
|
2258
|
+
summary: string;
|
|
2259
|
+
start_time: number;
|
|
2260
|
+
end_time: number;
|
|
2261
|
+
}>>;
|
|
2262
|
+
}> | undefined;
|
|
2263
|
+
error?: string | undefined;
|
|
2264
|
+
}>;
|
|
2265
|
+
listTranscribes(params?: {
|
|
2266
|
+
limit?: number;
|
|
2267
|
+
offset?: number;
|
|
2268
|
+
status?: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2269
|
+
created_before?: string;
|
|
2270
|
+
created_after?: string;
|
|
2271
|
+
url?: string;
|
|
2272
|
+
response_format?: "json" | "markdown";
|
|
2273
|
+
}): Promise<{
|
|
2274
|
+
object: "list";
|
|
2275
|
+
data: Array<{
|
|
2276
|
+
job_id: string;
|
|
2277
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2278
|
+
url?: string | undefined;
|
|
2279
|
+
created_at?: number | undefined;
|
|
2280
|
+
transcribe_config?: Partial<{
|
|
2281
|
+
enable_summary: boolean;
|
|
2282
|
+
enable_speech: boolean;
|
|
2283
|
+
enable_visual_scene_description: boolean;
|
|
2284
|
+
enable_scene_text: boolean;
|
|
2285
|
+
}> | undefined;
|
|
2286
|
+
data?: Partial<{
|
|
2287
|
+
content: string;
|
|
2288
|
+
title: string;
|
|
2289
|
+
summary: string;
|
|
2290
|
+
speech: Array<Partial<{
|
|
2291
|
+
text: string;
|
|
2292
|
+
start_time: number;
|
|
2293
|
+
end_time: number;
|
|
2294
|
+
}>>;
|
|
2295
|
+
visual_scene_description: Array<Partial<{
|
|
2296
|
+
text: string;
|
|
2297
|
+
start_time: number;
|
|
2298
|
+
end_time: number;
|
|
2299
|
+
}>>;
|
|
2300
|
+
scene_text: Array<Partial<{
|
|
2301
|
+
text: string;
|
|
2302
|
+
start_time: number;
|
|
2303
|
+
end_time: number;
|
|
2304
|
+
}>>;
|
|
2305
|
+
segment_summary: Array<Partial<{
|
|
2306
|
+
title: string;
|
|
2307
|
+
summary: string;
|
|
2308
|
+
start_time: number;
|
|
2309
|
+
end_time: number;
|
|
2310
|
+
}>>;
|
|
2311
|
+
}> | undefined;
|
|
2312
|
+
error?: string | undefined;
|
|
2313
|
+
}>;
|
|
2314
|
+
total: number;
|
|
2315
|
+
limit: number;
|
|
2316
|
+
}>;
|
|
2317
|
+
/**
|
|
2318
|
+
* Waits for a transcription job to be ready by polling the getTranscribe endpoint until
|
|
2319
|
+
* the job reaches a terminal state (completed, failed, or not_applicable) or until maxAttempts is reached.
|
|
2320
|
+
*
|
|
2321
|
+
* @param jobId - The ID of the transcription job to wait for
|
|
2322
|
+
* @param options - Optional configuration for polling behavior and response format
|
|
2323
|
+
* @returns The final transcription job object
|
|
2324
|
+
* @throws {CloudGlueError} If the job fails to process or maxAttempts is reached
|
|
2325
|
+
*/
|
|
1678
2326
|
waitForReady(jobId: string, options?: WaitForReadyOptions & {
|
|
1679
2327
|
response_format?: "json" | "markdown";
|
|
1680
2328
|
}): Promise<{
|
|
@@ -2099,6 +2747,200 @@ declare class EnhancedSearchApi {
|
|
|
2099
2747
|
limit: number;
|
|
2100
2748
|
}>;
|
|
2101
2749
|
}
|
|
2750
|
+
declare class EnhancedDescribeApi {
|
|
2751
|
+
private readonly api;
|
|
2752
|
+
constructor(api: typeof DescribeApi);
|
|
2753
|
+
createDescribe(url: string, options?: {
|
|
2754
|
+
enable_summary?: boolean;
|
|
2755
|
+
enable_speech?: boolean;
|
|
2756
|
+
enable_scene_text?: boolean;
|
|
2757
|
+
enable_visual_scene_description?: boolean;
|
|
2758
|
+
segmentation_config?: SegmentationConfig;
|
|
2759
|
+
segmentation_id?: string;
|
|
2760
|
+
thumbnail_config?: ThumbnailsConfig;
|
|
2761
|
+
}): Promise<{
|
|
2762
|
+
job_id: string;
|
|
2763
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2764
|
+
url?: string | undefined;
|
|
2765
|
+
created_at?: number | undefined;
|
|
2766
|
+
describe_config?: Partial<{
|
|
2767
|
+
enable_summary: boolean;
|
|
2768
|
+
enable_speech: boolean;
|
|
2769
|
+
enable_visual_scene_description: boolean;
|
|
2770
|
+
enable_scene_text: boolean;
|
|
2771
|
+
}> | undefined;
|
|
2772
|
+
data?: Partial<{
|
|
2773
|
+
content: string;
|
|
2774
|
+
title: string;
|
|
2775
|
+
summary: string;
|
|
2776
|
+
speech: Array<Partial<{
|
|
2777
|
+
text: string;
|
|
2778
|
+
start_time: number;
|
|
2779
|
+
end_time: number;
|
|
2780
|
+
}>>;
|
|
2781
|
+
visual_scene_description: Array<Partial<{
|
|
2782
|
+
text: string;
|
|
2783
|
+
start_time: number;
|
|
2784
|
+
end_time: number;
|
|
2785
|
+
}>>;
|
|
2786
|
+
scene_text: Array<Partial<{
|
|
2787
|
+
text: string;
|
|
2788
|
+
start_time: number;
|
|
2789
|
+
end_time: number;
|
|
2790
|
+
}>>;
|
|
2791
|
+
segment_summary: Array<Partial<{
|
|
2792
|
+
title: string;
|
|
2793
|
+
summary: string;
|
|
2794
|
+
start_time: number;
|
|
2795
|
+
end_time: number;
|
|
2796
|
+
}>>;
|
|
2797
|
+
}> | undefined;
|
|
2798
|
+
error?: string | undefined;
|
|
2799
|
+
}>;
|
|
2800
|
+
getDescribe(jobId: string, options?: {
|
|
2801
|
+
response_format?: "json" | "markdown";
|
|
2802
|
+
}): Promise<{
|
|
2803
|
+
job_id: string;
|
|
2804
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2805
|
+
url?: string | undefined;
|
|
2806
|
+
created_at?: number | undefined;
|
|
2807
|
+
describe_config?: Partial<{
|
|
2808
|
+
enable_summary: boolean;
|
|
2809
|
+
enable_speech: boolean;
|
|
2810
|
+
enable_visual_scene_description: boolean;
|
|
2811
|
+
enable_scene_text: boolean;
|
|
2812
|
+
}> | undefined;
|
|
2813
|
+
data?: Partial<{
|
|
2814
|
+
content: string;
|
|
2815
|
+
title: string;
|
|
2816
|
+
summary: string;
|
|
2817
|
+
speech: Array<Partial<{
|
|
2818
|
+
text: string;
|
|
2819
|
+
start_time: number;
|
|
2820
|
+
end_time: number;
|
|
2821
|
+
}>>;
|
|
2822
|
+
visual_scene_description: Array<Partial<{
|
|
2823
|
+
text: string;
|
|
2824
|
+
start_time: number;
|
|
2825
|
+
end_time: number;
|
|
2826
|
+
}>>;
|
|
2827
|
+
scene_text: Array<Partial<{
|
|
2828
|
+
text: string;
|
|
2829
|
+
start_time: number;
|
|
2830
|
+
end_time: number;
|
|
2831
|
+
}>>;
|
|
2832
|
+
segment_summary: Array<Partial<{
|
|
2833
|
+
title: string;
|
|
2834
|
+
summary: string;
|
|
2835
|
+
start_time: number;
|
|
2836
|
+
end_time: number;
|
|
2837
|
+
}>>;
|
|
2838
|
+
}> | undefined;
|
|
2839
|
+
error?: string | undefined;
|
|
2840
|
+
}>;
|
|
2841
|
+
listDescribes(params?: {
|
|
2842
|
+
limit?: number;
|
|
2843
|
+
offset?: number;
|
|
2844
|
+
status?: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2845
|
+
created_before?: string;
|
|
2846
|
+
created_after?: string;
|
|
2847
|
+
url?: string;
|
|
2848
|
+
response_format?: "json" | "markdown";
|
|
2849
|
+
}): Promise<{
|
|
2850
|
+
object: "list";
|
|
2851
|
+
data: Array<{
|
|
2852
|
+
job_id: string;
|
|
2853
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2854
|
+
url?: string | undefined;
|
|
2855
|
+
created_at?: number | undefined;
|
|
2856
|
+
describe_config?: Partial<{
|
|
2857
|
+
enable_summary: boolean;
|
|
2858
|
+
enable_speech: boolean;
|
|
2859
|
+
enable_visual_scene_description: boolean;
|
|
2860
|
+
enable_scene_text: boolean;
|
|
2861
|
+
}> | undefined;
|
|
2862
|
+
data?: Partial<{
|
|
2863
|
+
content: string;
|
|
2864
|
+
title: string;
|
|
2865
|
+
summary: string;
|
|
2866
|
+
speech: Array<Partial<{
|
|
2867
|
+
text: string;
|
|
2868
|
+
start_time: number;
|
|
2869
|
+
end_time: number;
|
|
2870
|
+
}>>;
|
|
2871
|
+
visual_scene_description: Array<Partial<{
|
|
2872
|
+
text: string;
|
|
2873
|
+
start_time: number;
|
|
2874
|
+
end_time: number;
|
|
2875
|
+
}>>;
|
|
2876
|
+
scene_text: Array<Partial<{
|
|
2877
|
+
text: string;
|
|
2878
|
+
start_time: number;
|
|
2879
|
+
end_time: number;
|
|
2880
|
+
}>>;
|
|
2881
|
+
segment_summary: Array<Partial<{
|
|
2882
|
+
title: string;
|
|
2883
|
+
summary: string;
|
|
2884
|
+
start_time: number;
|
|
2885
|
+
end_time: number;
|
|
2886
|
+
}>>;
|
|
2887
|
+
}> | undefined;
|
|
2888
|
+
error?: string | undefined;
|
|
2889
|
+
}>;
|
|
2890
|
+
total: number;
|
|
2891
|
+
limit: number;
|
|
2892
|
+
}>;
|
|
2893
|
+
/**
|
|
2894
|
+
* Waits for a description job to be ready by polling the getDescribe endpoint until
|
|
2895
|
+
* the job reaches a terminal state (completed, failed, or not_applicable) or until maxAttempts is reached.
|
|
2896
|
+
*
|
|
2897
|
+
* @param jobId - The ID of the description job to wait for
|
|
2898
|
+
* @param options - Optional configuration for polling behavior and response format
|
|
2899
|
+
* @returns The final description job object
|
|
2900
|
+
* @throws {CloudGlueError} If the job fails to process or maxAttempts is reached
|
|
2901
|
+
*/
|
|
2902
|
+
waitForReady(jobId: string, options?: WaitForReadyOptions & {
|
|
2903
|
+
response_format?: "json" | "markdown";
|
|
2904
|
+
}): Promise<{
|
|
2905
|
+
job_id: string;
|
|
2906
|
+
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2907
|
+
url?: string | undefined;
|
|
2908
|
+
created_at?: number | undefined;
|
|
2909
|
+
describe_config?: Partial<{
|
|
2910
|
+
enable_summary: boolean;
|
|
2911
|
+
enable_speech: boolean;
|
|
2912
|
+
enable_visual_scene_description: boolean;
|
|
2913
|
+
enable_scene_text: boolean;
|
|
2914
|
+
}> | undefined;
|
|
2915
|
+
data?: Partial<{
|
|
2916
|
+
content: string;
|
|
2917
|
+
title: string;
|
|
2918
|
+
summary: string;
|
|
2919
|
+
speech: Array<Partial<{
|
|
2920
|
+
text: string;
|
|
2921
|
+
start_time: number;
|
|
2922
|
+
end_time: number;
|
|
2923
|
+
}>>;
|
|
2924
|
+
visual_scene_description: Array<Partial<{
|
|
2925
|
+
text: string;
|
|
2926
|
+
start_time: number;
|
|
2927
|
+
end_time: number;
|
|
2928
|
+
}>>;
|
|
2929
|
+
scene_text: Array<Partial<{
|
|
2930
|
+
text: string;
|
|
2931
|
+
start_time: number;
|
|
2932
|
+
end_time: number;
|
|
2933
|
+
}>>;
|
|
2934
|
+
segment_summary: Array<Partial<{
|
|
2935
|
+
title: string;
|
|
2936
|
+
summary: string;
|
|
2937
|
+
start_time: number;
|
|
2938
|
+
end_time: number;
|
|
2939
|
+
}>>;
|
|
2940
|
+
}> | undefined;
|
|
2941
|
+
error?: string | undefined;
|
|
2942
|
+
}>;
|
|
2943
|
+
}
|
|
2102
2944
|
/**
|
|
2103
2945
|
* Main CloudGlue client class that provides access to all API functionality
|
|
2104
2946
|
* through enhanced, user-friendly interfaces
|
|
@@ -2142,6 +2984,11 @@ export declare class CloudGlue {
|
|
|
2142
2984
|
* Provides methods for searching videos and video segments in collections
|
|
2143
2985
|
*/
|
|
2144
2986
|
readonly search: EnhancedSearchApi;
|
|
2987
|
+
/**
|
|
2988
|
+
* Describe API for generating rich descriptions of videos
|
|
2989
|
+
* Provides methods for getting detailed descriptions of video content
|
|
2990
|
+
*/
|
|
2991
|
+
readonly describe: EnhancedDescribeApi;
|
|
2145
2992
|
constructor(config?: CloudGlueConfig);
|
|
2146
2993
|
}
|
|
2147
2994
|
export {};
|