@aviaryhq/cloudglue-js 0.2.4 → 0.3.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 +540 -0
- package/dist/generated/Collections.js +4 -0
- package/dist/generated/Describe.d.ts +1 -0
- package/dist/generated/Describe.js +1 -0
- package/dist/generated/Search.d.ts +1 -0
- package/dist/generated/Search.js +3 -2
- package/dist/generated/Segments.d.ts +358 -0
- package/dist/generated/Segments.js +203 -0
- package/dist/generated/Transcribe.d.ts +1 -0
- package/dist/generated/Transcribe.js +1 -0
- package/dist/generated/Webhooks.d.ts +3 -3
- package/dist/generated/Webhooks.js +3 -0
- package/dist/generated/common.js +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +3 -1
- package/dist/src/client.d.ts +190 -3
- package/dist/src/client.js +37 -2
- package/dist/src/enums.d.ts +14 -0
- package/dist/src/enums.js +18 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/types.d.ts +3 -14
- package/dist/src/types.js +0 -16
- package/package.json +3 -2
|
@@ -19,6 +19,9 @@ const WebhookEvents = zod_1.z.enum([
|
|
|
19
19
|
"collection.file.job.completed",
|
|
20
20
|
"collection.file.job.failed",
|
|
21
21
|
"collection.file.job.deleted",
|
|
22
|
+
"segment.job.processing",
|
|
23
|
+
"segment.job.completed",
|
|
24
|
+
"segment.job.failed",
|
|
22
25
|
]);
|
|
23
26
|
const Webhook = zod_1.z
|
|
24
27
|
.object({
|
package/dist/generated/common.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.SegmentationUniformConfig = zod_1.z
|
|
|
15
15
|
.passthrough();
|
|
16
16
|
exports.SegmentationShotDetectorConfig = zod_1.z
|
|
17
17
|
.object({
|
|
18
|
-
threshold: zod_1.z.number().
|
|
18
|
+
threshold: zod_1.z.number().nullish(),
|
|
19
19
|
min_seconds: zod_1.z.number().gte(2).lte(60).nullish(),
|
|
20
20
|
max_seconds: zod_1.z.number().gte(2).lte(60).nullish(),
|
|
21
21
|
detector: zod_1.z.enum(["adaptive", "content"]),
|
package/dist/generated/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SegmentationsApi = exports.SearchApi = exports.WebhooksApi = exports.DescribeApi = exports.TranscribeApi = exports.ChatApi = exports.CollectionsApi = exports.FilesApi = exports.ExtractApi = void 0;
|
|
3
|
+
exports.SegmentsApi = exports.SegmentationsApi = exports.SearchApi = exports.WebhooksApi = exports.DescribeApi = exports.TranscribeApi = exports.ChatApi = exports.CollectionsApi = exports.FilesApi = exports.ExtractApi = void 0;
|
|
4
4
|
var Extract_1 = require("./Extract");
|
|
5
5
|
Object.defineProperty(exports, "ExtractApi", { enumerable: true, get: function () { return Extract_1.ExtractApi; } });
|
|
6
6
|
var Files_1 = require("./Files");
|
|
@@ -19,3 +19,5 @@ var Search_1 = require("./Search");
|
|
|
19
19
|
Object.defineProperty(exports, "SearchApi", { enumerable: true, get: function () { return Search_1.SearchApi; } });
|
|
20
20
|
var Segmentations_1 = require("./Segmentations");
|
|
21
21
|
Object.defineProperty(exports, "SegmentationsApi", { enumerable: true, get: function () { return Segmentations_1.SegmentationsApi; } });
|
|
22
|
+
var Segments_1 = require("./Segments");
|
|
23
|
+
Object.defineProperty(exports, "SegmentsApi", { enumerable: true, get: function () { return Segments_1.SegmentsApi; } });
|
package/dist/src/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FilesApi, CollectionsApi, ChatApi, TranscribeApi, ExtractApi, SearchApi, DescribeApi } from "../generated";
|
|
2
|
-
import { FilterOperator } from "./
|
|
3
|
-
import type { File, SegmentationConfig, UpdateFileParams } from "./types";
|
|
1
|
+
import { FilesApi, CollectionsApi, ChatApi, TranscribeApi, ExtractApi, SearchApi, DescribeApi, SegmentsApi } from "../generated";
|
|
2
|
+
import { FilterOperator } from "./enums";
|
|
3
|
+
import type { File, NarrativeConfig, SegmentationConfig, ShotConfig, UpdateFileParams } from "./types";
|
|
4
4
|
import { SegmentationsApi } from "../generated/Segmentations";
|
|
5
5
|
import { ThumbnailsConfig } from "../generated/common";
|
|
6
6
|
export declare class CloudGlueError extends Error {
|
|
@@ -705,14 +705,17 @@ declare class EnhancedCollectionsApi {
|
|
|
705
705
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
706
706
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
707
707
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
708
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
708
709
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
709
710
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
710
711
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
711
712
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
713
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
712
714
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
713
715
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
714
716
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
715
717
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
718
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
716
719
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
717
720
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
718
721
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -920,14 +923,17 @@ declare class EnhancedCollectionsApi {
|
|
|
920
923
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
921
924
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
922
925
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
926
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
923
927
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
924
928
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
925
929
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
926
930
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
931
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
927
932
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
928
933
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
929
934
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
930
935
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
936
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
931
937
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
932
938
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
933
939
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -979,14 +985,17 @@ declare class EnhancedCollectionsApi {
|
|
|
979
985
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
980
986
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
981
987
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
988
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
982
989
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
983
990
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
984
991
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
985
992
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
993
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
986
994
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
987
995
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
988
996
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
989
997
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
998
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
990
999
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
991
1000
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
992
1001
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1038,14 +1047,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1038
1047
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1039
1048
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1040
1049
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1050
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1041
1051
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1042
1052
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1043
1053
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1044
1054
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1055
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1045
1056
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1046
1057
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1047
1058
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1048
1059
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1060
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1049
1061
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1050
1062
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1051
1063
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1100,14 +1112,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1100
1112
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1101
1113
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1102
1114
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1115
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1103
1116
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1104
1117
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1105
1118
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1106
1119
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1120
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1107
1121
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1108
1122
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1109
1123
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1110
1124
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1125
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1111
1126
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1112
1127
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1113
1128
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1159,14 +1174,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1159
1174
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1160
1175
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1161
1176
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1177
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1162
1178
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1163
1179
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1164
1180
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1165
1181
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1182
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1166
1183
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1167
1184
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1168
1185
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1169
1186
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1187
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1170
1188
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1171
1189
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1172
1190
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1218,14 +1236,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1218
1236
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1219
1237
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1220
1238
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1239
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1221
1240
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1222
1241
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1223
1242
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1224
1243
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1244
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1225
1245
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1226
1246
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1227
1247
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1228
1248
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1249
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1229
1250
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1230
1251
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1231
1252
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1280,14 +1301,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1280
1301
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1281
1302
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1282
1303
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1304
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1283
1305
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1284
1306
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1285
1307
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1286
1308
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1309
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1287
1310
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1288
1311
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1289
1312
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1290
1313
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1314
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1291
1315
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1292
1316
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1293
1317
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1339,14 +1363,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1339
1363
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1340
1364
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1341
1365
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1366
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1342
1367
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1343
1368
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1344
1369
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1345
1370
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1371
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1346
1372
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1347
1373
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1348
1374
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1349
1375
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1376
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1350
1377
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1351
1378
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1352
1379
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1398,14 +1425,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1398
1425
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1399
1426
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1400
1427
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1428
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1401
1429
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1402
1430
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1403
1431
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1404
1432
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1433
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1405
1434
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1406
1435
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1407
1436
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1408
1437
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1438
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1409
1439
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1410
1440
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1411
1441
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1465,14 +1495,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1465
1495
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1466
1496
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1467
1497
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1498
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1468
1499
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1469
1500
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1470
1501
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1471
1502
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1503
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1472
1504
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1473
1505
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1474
1506
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1475
1507
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1508
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1476
1509
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1477
1510
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1478
1511
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1531,14 +1564,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1531
1564
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1532
1565
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1533
1566
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1567
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1534
1568
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1535
1569
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1536
1570
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1537
1571
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1572
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1538
1573
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1539
1574
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1540
1575
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1541
1576
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1577
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1542
1578
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1543
1579
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1544
1580
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1590,14 +1626,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1590
1626
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1591
1627
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1592
1628
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1629
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1593
1630
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1594
1631
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1595
1632
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1596
1633
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1634
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1597
1635
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1598
1636
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1599
1637
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1600
1638
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1639
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1601
1640
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1602
1641
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1603
1642
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1649,14 +1688,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1649
1688
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1650
1689
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1651
1690
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1691
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1652
1692
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1653
1693
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1654
1694
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1655
1695
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1696
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1656
1697
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1657
1698
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1658
1699
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1659
1700
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1701
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1660
1702
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1661
1703
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1662
1704
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1713,14 +1755,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1713
1755
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1714
1756
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1715
1757
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1758
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1716
1759
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1717
1760
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1718
1761
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1719
1762
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1763
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1720
1764
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1721
1765
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1722
1766
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1723
1767
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1768
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1724
1769
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1725
1770
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1726
1771
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1772,14 +1817,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1772
1817
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1773
1818
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1774
1819
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1820
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1775
1821
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1776
1822
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1777
1823
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1778
1824
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1825
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1779
1826
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1780
1827
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1781
1828
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1782
1829
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1830
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1783
1831
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1784
1832
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1785
1833
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1831,14 +1879,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1831
1879
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1832
1880
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1833
1881
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1882
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1834
1883
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1835
1884
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1836
1885
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1837
1886
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1887
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1838
1888
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1839
1889
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1840
1890
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1841
1891
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1892
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1842
1893
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1843
1894
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1844
1895
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1895,14 +1946,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1895
1946
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1896
1947
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1897
1948
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1949
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1898
1950
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1899
1951
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1900
1952
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1901
1953
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1954
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1902
1955
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1903
1956
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1904
1957
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1905
1958
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1959
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1906
1960
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1907
1961
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1908
1962
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1954,14 +2008,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1954
2008
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1955
2009
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1956
2010
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2011
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1957
2012
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1958
2013
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1959
2014
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1960
2015
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2016
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1961
2017
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1962
2018
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1963
2019
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1964
2020
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2021
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1965
2022
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1966
2023
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1967
2024
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2013,14 +2070,17 @@ declare class EnhancedCollectionsApi {
|
|
|
2013
2070
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2014
2071
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2015
2072
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2073
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2016
2074
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2017
2075
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2018
2076
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2019
2077
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2078
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2020
2079
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2021
2080
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2022
2081
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2023
2082
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2083
|
+
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2024
2084
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2025
2085
|
start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2026
2086
|
end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2176,6 +2236,7 @@ declare class EnhancedTranscribeApi {
|
|
|
2176
2236
|
title: string;
|
|
2177
2237
|
summary: string;
|
|
2178
2238
|
speech: Array<Partial<{
|
|
2239
|
+
speaker: string;
|
|
2179
2240
|
text: string;
|
|
2180
2241
|
start_time: number;
|
|
2181
2242
|
end_time: number;
|
|
@@ -2217,6 +2278,7 @@ declare class EnhancedTranscribeApi {
|
|
|
2217
2278
|
title: string;
|
|
2218
2279
|
summary: string;
|
|
2219
2280
|
speech: Array<Partial<{
|
|
2281
|
+
speaker: string;
|
|
2220
2282
|
text: string;
|
|
2221
2283
|
start_time: number;
|
|
2222
2284
|
end_time: number;
|
|
@@ -2266,6 +2328,7 @@ declare class EnhancedTranscribeApi {
|
|
|
2266
2328
|
title: string;
|
|
2267
2329
|
summary: string;
|
|
2268
2330
|
speech: Array<Partial<{
|
|
2331
|
+
speaker: string;
|
|
2269
2332
|
text: string;
|
|
2270
2333
|
start_time: number;
|
|
2271
2334
|
end_time: number;
|
|
@@ -2319,6 +2382,7 @@ declare class EnhancedTranscribeApi {
|
|
|
2319
2382
|
title: string;
|
|
2320
2383
|
summary: string;
|
|
2321
2384
|
speech: Array<Partial<{
|
|
2385
|
+
speaker: string;
|
|
2322
2386
|
text: string;
|
|
2323
2387
|
start_time: number;
|
|
2324
2388
|
end_time: number;
|
|
@@ -2718,6 +2782,7 @@ declare class EnhancedSearchApi {
|
|
|
2718
2782
|
end_time: number;
|
|
2719
2783
|
}>> | undefined;
|
|
2720
2784
|
speech?: Array<Partial<{
|
|
2785
|
+
speaker: string;
|
|
2721
2786
|
text: string;
|
|
2722
2787
|
start_time: number;
|
|
2723
2788
|
end_time: number;
|
|
@@ -2755,6 +2820,7 @@ declare class EnhancedDescribeApi {
|
|
|
2755
2820
|
title: string;
|
|
2756
2821
|
summary: string;
|
|
2757
2822
|
speech: Array<Partial<{
|
|
2823
|
+
speaker: string;
|
|
2758
2824
|
text: string;
|
|
2759
2825
|
start_time: number;
|
|
2760
2826
|
end_time: number;
|
|
@@ -2796,6 +2862,7 @@ declare class EnhancedDescribeApi {
|
|
|
2796
2862
|
title: string;
|
|
2797
2863
|
summary: string;
|
|
2798
2864
|
speech: Array<Partial<{
|
|
2865
|
+
speaker: string;
|
|
2799
2866
|
text: string;
|
|
2800
2867
|
start_time: number;
|
|
2801
2868
|
end_time: number;
|
|
@@ -2845,6 +2912,7 @@ declare class EnhancedDescribeApi {
|
|
|
2845
2912
|
title: string;
|
|
2846
2913
|
summary: string;
|
|
2847
2914
|
speech: Array<Partial<{
|
|
2915
|
+
speaker: string;
|
|
2848
2916
|
text: string;
|
|
2849
2917
|
start_time: number;
|
|
2850
2918
|
end_time: number;
|
|
@@ -2898,6 +2966,7 @@ declare class EnhancedDescribeApi {
|
|
|
2898
2966
|
title: string;
|
|
2899
2967
|
summary: string;
|
|
2900
2968
|
speech: Array<Partial<{
|
|
2969
|
+
speaker: string;
|
|
2901
2970
|
text: string;
|
|
2902
2971
|
start_time: number;
|
|
2903
2972
|
end_time: number;
|
|
@@ -2922,6 +2991,123 @@ declare class EnhancedDescribeApi {
|
|
|
2922
2991
|
error?: string | undefined;
|
|
2923
2992
|
}>;
|
|
2924
2993
|
}
|
|
2994
|
+
declare class EnhancedSegmentsApi {
|
|
2995
|
+
private readonly api;
|
|
2996
|
+
constructor(api: typeof SegmentsApi);
|
|
2997
|
+
listSegmentJobs(data: {
|
|
2998
|
+
criteria: "shot" | "narrative";
|
|
2999
|
+
url?: string;
|
|
3000
|
+
status?: "pending" | "processing" | "completed" | "failed";
|
|
3001
|
+
limit?: number;
|
|
3002
|
+
offset?: number;
|
|
3003
|
+
created_before?: string;
|
|
3004
|
+
created_after?: string;
|
|
3005
|
+
order?: "created_at";
|
|
3006
|
+
sort?: "asc" | "desc";
|
|
3007
|
+
}): Promise<{
|
|
3008
|
+
object: "list";
|
|
3009
|
+
data: Array<{
|
|
3010
|
+
job_id: string;
|
|
3011
|
+
file_id: string;
|
|
3012
|
+
object: "segments";
|
|
3013
|
+
status: "pending" | "processing" | "completed" | "failed";
|
|
3014
|
+
criteria: "shot" | "narrative";
|
|
3015
|
+
created_at: number;
|
|
3016
|
+
shot_config?: Partial<{
|
|
3017
|
+
detector: "content" | "adaptive";
|
|
3018
|
+
max_duration_seconds: number;
|
|
3019
|
+
min_duration_seconds: number;
|
|
3020
|
+
}> | undefined;
|
|
3021
|
+
narrative_config?: Partial<{
|
|
3022
|
+
prompt: string;
|
|
3023
|
+
}> | undefined;
|
|
3024
|
+
total_segments?: number | undefined;
|
|
3025
|
+
segments?: Array<{
|
|
3026
|
+
start_time: number;
|
|
3027
|
+
end_time: number;
|
|
3028
|
+
description?: string | undefined;
|
|
3029
|
+
thumbnail_url?: string | undefined;
|
|
3030
|
+
}> | undefined;
|
|
3031
|
+
}>;
|
|
3032
|
+
total: number;
|
|
3033
|
+
limit: number;
|
|
3034
|
+
offset: number;
|
|
3035
|
+
}>;
|
|
3036
|
+
getSegmentJob(jobId: string): Promise<{
|
|
3037
|
+
job_id: string;
|
|
3038
|
+
file_id: string;
|
|
3039
|
+
object: "segments";
|
|
3040
|
+
status: "pending" | "processing" | "completed" | "failed";
|
|
3041
|
+
criteria: "shot" | "narrative";
|
|
3042
|
+
created_at: number;
|
|
3043
|
+
shot_config?: Partial<{
|
|
3044
|
+
detector: "content" | "adaptive";
|
|
3045
|
+
max_duration_seconds: number;
|
|
3046
|
+
min_duration_seconds: number;
|
|
3047
|
+
}> | undefined;
|
|
3048
|
+
narrative_config?: Partial<{
|
|
3049
|
+
prompt: string;
|
|
3050
|
+
}> | undefined;
|
|
3051
|
+
total_segments?: number | undefined;
|
|
3052
|
+
segments?: Array<{
|
|
3053
|
+
start_time: number;
|
|
3054
|
+
end_time: number;
|
|
3055
|
+
description?: string | undefined;
|
|
3056
|
+
thumbnail_url?: string | undefined;
|
|
3057
|
+
}> | undefined;
|
|
3058
|
+
}>;
|
|
3059
|
+
createSegmentJob(params: {
|
|
3060
|
+
url: string;
|
|
3061
|
+
criteria: "shot" | "narrative";
|
|
3062
|
+
shot_config?: ShotConfig;
|
|
3063
|
+
narrative_config?: NarrativeConfig;
|
|
3064
|
+
}): Promise<{
|
|
3065
|
+
job_id: string;
|
|
3066
|
+
file_id: string;
|
|
3067
|
+
object: "segments";
|
|
3068
|
+
status: "pending" | "processing" | "completed" | "failed";
|
|
3069
|
+
criteria: "shot" | "narrative";
|
|
3070
|
+
created_at: number;
|
|
3071
|
+
shot_config?: Partial<{
|
|
3072
|
+
detector: "content" | "adaptive";
|
|
3073
|
+
max_duration_seconds: number;
|
|
3074
|
+
min_duration_seconds: number;
|
|
3075
|
+
}> | undefined;
|
|
3076
|
+
narrative_config?: Partial<{
|
|
3077
|
+
prompt: string;
|
|
3078
|
+
}> | undefined;
|
|
3079
|
+
total_segments?: number | undefined;
|
|
3080
|
+
segments?: Array<{
|
|
3081
|
+
start_time: number;
|
|
3082
|
+
end_time: number;
|
|
3083
|
+
description?: string | undefined;
|
|
3084
|
+
thumbnail_url?: string | undefined;
|
|
3085
|
+
}> | undefined;
|
|
3086
|
+
}>;
|
|
3087
|
+
waitForReady(jobId: string, options?: WaitForReadyOptions): Promise<{
|
|
3088
|
+
job_id: string;
|
|
3089
|
+
file_id: string;
|
|
3090
|
+
object: "segments";
|
|
3091
|
+
status: "pending" | "processing" | "completed" | "failed";
|
|
3092
|
+
criteria: "shot" | "narrative";
|
|
3093
|
+
created_at: number;
|
|
3094
|
+
shot_config?: Partial<{
|
|
3095
|
+
detector: "content" | "adaptive";
|
|
3096
|
+
max_duration_seconds: number;
|
|
3097
|
+
min_duration_seconds: number;
|
|
3098
|
+
}> | undefined;
|
|
3099
|
+
narrative_config?: Partial<{
|
|
3100
|
+
prompt: string;
|
|
3101
|
+
}> | undefined;
|
|
3102
|
+
total_segments?: number | undefined;
|
|
3103
|
+
segments?: Array<{
|
|
3104
|
+
start_time: number;
|
|
3105
|
+
end_time: number;
|
|
3106
|
+
description?: string | undefined;
|
|
3107
|
+
thumbnail_url?: string | undefined;
|
|
3108
|
+
}> | undefined;
|
|
3109
|
+
}>;
|
|
3110
|
+
}
|
|
2925
3111
|
/**
|
|
2926
3112
|
* Main CloudGlue client class that provides access to all API functionality
|
|
2927
3113
|
* through enhanced, user-friendly interfaces
|
|
@@ -2970,6 +3156,7 @@ export declare class CloudGlue {
|
|
|
2970
3156
|
* Provides methods for getting detailed descriptions of video content
|
|
2971
3157
|
*/
|
|
2972
3158
|
readonly describe: EnhancedDescribeApi;
|
|
3159
|
+
readonly segments: EnhancedSegmentsApi;
|
|
2973
3160
|
constructor(config?: CloudGlueConfig);
|
|
2974
3161
|
}
|
|
2975
3162
|
export {};
|