@aviaryhq/cloudglue-js 0.1.8 → 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.
@@ -41,6 +41,17 @@ const Collection = zod_1.z
41
41
  .strict()
42
42
  .passthrough()
43
43
  .optional(),
44
+ describe_config: zod_1.z
45
+ .object({
46
+ enable_summary: zod_1.z.boolean().default(true),
47
+ enable_speech: zod_1.z.boolean().default(true),
48
+ enable_scene_text: zod_1.z.boolean().default(true),
49
+ enable_visual_scene_description: zod_1.z.boolean().default(true),
50
+ })
51
+ .partial()
52
+ .strict()
53
+ .passthrough()
54
+ .optional(),
44
55
  default_segmentation_config: common_1.SegmentationConfig.optional(),
45
56
  default_thumbnails_config: common_2.ThumbnailsConfig.optional(),
46
57
  created_at: zod_1.z.number().int(),
@@ -50,7 +61,11 @@ const Collection = zod_1.z
50
61
  .passthrough();
51
62
  const NewCollection = zod_1.z
52
63
  .object({
53
- collection_type: zod_1.z.enum(["entities", "rich-transcripts"]),
64
+ collection_type: zod_1.z.enum([
65
+ "entities",
66
+ "rich-transcripts",
67
+ "media-descriptions",
68
+ ]),
54
69
  name: zod_1.z.string(),
55
70
  description: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
56
71
  extract_config: zod_1.z
@@ -75,6 +90,17 @@ const NewCollection = zod_1.z
75
90
  .strict()
76
91
  .passthrough()
77
92
  .optional(),
93
+ describe_config: zod_1.z
94
+ .object({
95
+ enable_summary: zod_1.z.boolean().default(true),
96
+ enable_speech: zod_1.z.boolean().default(true),
97
+ enable_scene_text: zod_1.z.boolean().default(true),
98
+ enable_visual_scene_description: zod_1.z.boolean().default(true),
99
+ })
100
+ .partial()
101
+ .strict()
102
+ .passthrough()
103
+ .optional(),
78
104
  default_segmentation_config: common_1.SegmentationConfig.optional(),
79
105
  default_thumbnails_config: common_2.ThumbnailsConfig.optional(),
80
106
  })
@@ -331,6 +357,124 @@ const CollectionRichTranscriptsList = zod_1.z
331
357
  })
332
358
  .strict()
333
359
  .passthrough();
360
+ const CollectionMediaDescriptionsList = zod_1.z
361
+ .object({
362
+ object: zod_1.z.literal("list"),
363
+ data: zod_1.z.array(zod_1.z
364
+ .object({
365
+ file_id: zod_1.z.string(),
366
+ added_at: zod_1.z.number().int(),
367
+ object: zod_1.z.literal("collection_file"),
368
+ data: zod_1.z
369
+ .object({
370
+ content: zod_1.z.string(),
371
+ title: zod_1.z.string(),
372
+ summary: zod_1.z.string(),
373
+ speech: zod_1.z.array(zod_1.z
374
+ .object({
375
+ text: zod_1.z.string(),
376
+ start_time: zod_1.z.number(),
377
+ end_time: zod_1.z.number(),
378
+ })
379
+ .partial()
380
+ .strict()
381
+ .passthrough()),
382
+ visual_scene_description: zod_1.z.array(zod_1.z
383
+ .object({
384
+ text: zod_1.z.string(),
385
+ start_time: zod_1.z.number(),
386
+ end_time: zod_1.z.number(),
387
+ })
388
+ .partial()
389
+ .strict()
390
+ .passthrough()),
391
+ scene_text: zod_1.z.array(zod_1.z
392
+ .object({
393
+ text: zod_1.z.string(),
394
+ start_time: zod_1.z.number(),
395
+ end_time: zod_1.z.number(),
396
+ })
397
+ .partial()
398
+ .strict()
399
+ .passthrough()),
400
+ segment_summary: zod_1.z.array(zod_1.z
401
+ .object({
402
+ title: zod_1.z.string(),
403
+ summary: zod_1.z.string(),
404
+ start_time: zod_1.z.number(),
405
+ end_time: zod_1.z.number(),
406
+ })
407
+ .partial()
408
+ .strict()
409
+ .passthrough()),
410
+ })
411
+ .partial()
412
+ .strict()
413
+ .passthrough(),
414
+ })
415
+ .strict()
416
+ .passthrough()),
417
+ total: zod_1.z.number().int(),
418
+ limit: zod_1.z.number().int(),
419
+ offset: zod_1.z.number().int(),
420
+ })
421
+ .strict()
422
+ .passthrough();
423
+ const MediaDescription = zod_1.z
424
+ .object({
425
+ collection_id: zod_1.z.string(),
426
+ file_id: zod_1.z.string(),
427
+ content: zod_1.z.string().optional(),
428
+ title: zod_1.z.string().optional(),
429
+ summary: zod_1.z.string().optional(),
430
+ speech: zod_1.z
431
+ .array(zod_1.z
432
+ .object({
433
+ text: zod_1.z.string(),
434
+ start_time: zod_1.z.number(),
435
+ end_time: zod_1.z.number(),
436
+ })
437
+ .partial()
438
+ .strict()
439
+ .passthrough())
440
+ .optional(),
441
+ visual_scene_description: zod_1.z
442
+ .array(zod_1.z
443
+ .object({
444
+ text: zod_1.z.string(),
445
+ start_time: zod_1.z.number(),
446
+ end_time: zod_1.z.number(),
447
+ })
448
+ .partial()
449
+ .strict()
450
+ .passthrough())
451
+ .optional(),
452
+ scene_text: zod_1.z
453
+ .array(zod_1.z
454
+ .object({
455
+ text: zod_1.z.string(),
456
+ start_time: zod_1.z.number(),
457
+ end_time: zod_1.z.number(),
458
+ })
459
+ .partial()
460
+ .strict()
461
+ .passthrough())
462
+ .optional(),
463
+ segment_summary: zod_1.z
464
+ .array(zod_1.z
465
+ .object({
466
+ title: zod_1.z.string(),
467
+ summary: zod_1.z.string(),
468
+ start_time: zod_1.z.number(),
469
+ end_time: zod_1.z.number(),
470
+ })
471
+ .partial()
472
+ .strict()
473
+ .passthrough())
474
+ .optional(),
475
+ })
476
+ .strict()
477
+ .passthrough();
334
478
  exports.schemas = {
335
479
  Collection,
336
480
  NewCollection,
@@ -345,6 +489,8 @@ exports.schemas = {
345
489
  RichTranscript,
346
490
  CollectionEntitiesList,
347
491
  CollectionRichTranscriptsList,
492
+ CollectionMediaDescriptionsList,
493
+ MediaDescription,
348
494
  };
349
495
  const endpoints = (0, core_1.makeApi)([
350
496
  {
@@ -901,6 +1047,115 @@ const endpoints = (0, core_1.makeApi)([
901
1047
  },
902
1048
  ],
903
1049
  },
1050
+ {
1051
+ method: "get",
1052
+ path: "/collections/:collection_id/media-descriptions",
1053
+ alias: "listCollectionMediaDescriptions",
1054
+ description: `List all media description data for files in a collection. This API is only available when a collection is created with collection_type 'media-descriptions'`,
1055
+ requestFormat: "json",
1056
+ parameters: [
1057
+ {
1058
+ name: "collection_id",
1059
+ type: "Path",
1060
+ schema: zod_1.z.string(),
1061
+ },
1062
+ {
1063
+ name: "limit",
1064
+ type: "Query",
1065
+ schema: zod_1.z.number().int().lte(100).optional().default(20),
1066
+ },
1067
+ {
1068
+ name: "offset",
1069
+ type: "Query",
1070
+ schema: zod_1.z.number().int().optional().default(0),
1071
+ },
1072
+ {
1073
+ name: "order",
1074
+ type: "Query",
1075
+ schema: zod_1.z.enum(["added_at", "filename"]).optional().default("added_at"),
1076
+ },
1077
+ {
1078
+ name: "sort",
1079
+ type: "Query",
1080
+ schema: zod_1.z.enum(["asc", "desc"]).optional().default("desc"),
1081
+ },
1082
+ {
1083
+ name: "added_before",
1084
+ type: "Query",
1085
+ schema: zod_1.z.string().optional(),
1086
+ },
1087
+ {
1088
+ name: "added_after",
1089
+ type: "Query",
1090
+ schema: zod_1.z.string().optional(),
1091
+ },
1092
+ {
1093
+ name: "response_format",
1094
+ type: "Query",
1095
+ schema: zod_1.z.enum(["json", "markdown"]).optional().default("json"),
1096
+ },
1097
+ ],
1098
+ response: CollectionMediaDescriptionsList,
1099
+ errors: [
1100
+ {
1101
+ status: 400,
1102
+ description: `Collection type is not 'media-descriptions'`,
1103
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
1104
+ },
1105
+ {
1106
+ status: 404,
1107
+ description: `Collection not found`,
1108
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
1109
+ },
1110
+ {
1111
+ status: 500,
1112
+ description: `An unexpected error occurred on the server`,
1113
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
1114
+ },
1115
+ ],
1116
+ },
1117
+ {
1118
+ method: "get",
1119
+ path: "/collections/:collection_id/videos/:file_id/media-descriptions",
1120
+ alias: "getMediaDescriptions",
1121
+ description: `Retrieve media description data for a specific file in a collection. This API is only available when the collection is created with collection_type 'media-descriptions'`,
1122
+ requestFormat: "json",
1123
+ parameters: [
1124
+ {
1125
+ name: "collection_id",
1126
+ type: "Path",
1127
+ schema: zod_1.z.string(),
1128
+ },
1129
+ {
1130
+ name: "file_id",
1131
+ type: "Path",
1132
+ schema: zod_1.z.string(),
1133
+ },
1134
+ {
1135
+ name: "response_format",
1136
+ type: "Query",
1137
+ schema: zod_1.z.enum(["json", "markdown"]).optional().default("json"),
1138
+ },
1139
+ ],
1140
+ response: MediaDescription,
1141
+ errors: [
1142
+ {
1143
+ status: 400,
1144
+ description: `Collection type is not 'media-descriptions'`,
1145
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
1146
+ },
1147
+ {
1148
+ status: 404,
1149
+ description: `Collection or file not found`,
1150
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
1151
+ },
1152
+ {
1153
+ status: 500,
1154
+ description: `An unexpected error occurred on the server`,
1155
+ schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
1156
+ },
1157
+ ],
1158
+ },
904
1159
  ]);
905
1160
  exports.CollectionsApi = new core_1.Zodios("https://api.cloudglue.dev/v1", endpoints);
906
1161
  function createApiClient(baseUrl, options) {
@@ -0,0 +1,364 @@
1
+ import { type ZodiosOptions } from "@zodios/core";
2
+ import { z } from "zod";
3
+ import { ThumbnailsConfig } from "./common";
4
+ import { FileSegmentationConfig } from "./common";
5
+ type Describe = {
6
+ job_id: string;
7
+ status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
8
+ url?: string | undefined;
9
+ created_at?: number | undefined;
10
+ describe_config?: Partial<{
11
+ enable_summary: boolean;
12
+ enable_speech: boolean;
13
+ enable_visual_scene_description: boolean;
14
+ enable_scene_text: boolean;
15
+ }> | undefined;
16
+ data?: Partial<{
17
+ content: string;
18
+ title: string;
19
+ summary: string;
20
+ speech: Array<Partial<{
21
+ text: string;
22
+ start_time: number;
23
+ end_time: number;
24
+ }>>;
25
+ visual_scene_description: Array<Partial<{
26
+ text: string;
27
+ start_time: number;
28
+ end_time: number;
29
+ }>>;
30
+ scene_text: Array<Partial<{
31
+ text: string;
32
+ start_time: number;
33
+ end_time: number;
34
+ }>>;
35
+ segment_summary: Array<Partial<{
36
+ title: string;
37
+ summary: string;
38
+ start_time: number;
39
+ end_time: number;
40
+ }>>;
41
+ }> | undefined;
42
+ error?: string | undefined;
43
+ };
44
+ type NewDescribe = {
45
+ url: string;
46
+ enable_summary?: boolean | undefined;
47
+ enable_speech?: boolean | undefined;
48
+ enable_visual_scene_description?: boolean | undefined;
49
+ enable_scene_text?: boolean | undefined;
50
+ thumbnails_config?: ThumbnailsConfig | undefined;
51
+ } & FileSegmentationConfig;
52
+ type DescribeList = {
53
+ object: "list";
54
+ data: Array<Describe>;
55
+ total: number;
56
+ limit: number;
57
+ };
58
+ declare const NewDescribe: z.ZodType<NewDescribe>;
59
+ declare const Describe: z.ZodType<Describe>;
60
+ declare const DescribeList: z.ZodType<DescribeList>;
61
+ export declare const schemas: {
62
+ NewDescribe: z.ZodType<NewDescribe, z.ZodTypeDef, NewDescribe>;
63
+ Describe: z.ZodType<Describe, z.ZodTypeDef, Describe>;
64
+ DescribeList: z.ZodType<DescribeList, z.ZodTypeDef, DescribeList>;
65
+ };
66
+ export declare const DescribeApi: import("@zodios/core").ZodiosInstance<[{
67
+ method: "post";
68
+ path: "/describe";
69
+ alias: "createDescribe";
70
+ description: "Creates a new media description job for video content";
71
+ requestFormat: "json";
72
+ parameters: [{
73
+ name: "body";
74
+ description: string;
75
+ type: "Body";
76
+ schema: z.ZodType<NewDescribe, z.ZodTypeDef, NewDescribe>;
77
+ }];
78
+ response: z.ZodType<Describe, z.ZodTypeDef, Describe>;
79
+ errors: [{
80
+ status: 400;
81
+ description: string;
82
+ schema: z.ZodObject<{
83
+ error: z.ZodString;
84
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
85
+ error: z.ZodString;
86
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
87
+ error: z.ZodString;
88
+ }, z.ZodTypeAny, "passthrough">>;
89
+ }, {
90
+ status: 404;
91
+ description: string;
92
+ schema: z.ZodObject<{
93
+ error: z.ZodString;
94
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
95
+ error: z.ZodString;
96
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
97
+ error: z.ZodString;
98
+ }, z.ZodTypeAny, "passthrough">>;
99
+ }, {
100
+ status: 429;
101
+ description: string;
102
+ schema: z.ZodObject<{
103
+ error: z.ZodString;
104
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105
+ error: z.ZodString;
106
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
107
+ error: z.ZodString;
108
+ }, z.ZodTypeAny, "passthrough">>;
109
+ }, {
110
+ status: 509;
111
+ description: string;
112
+ schema: z.ZodObject<{
113
+ error: z.ZodString;
114
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
115
+ error: z.ZodString;
116
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
117
+ error: z.ZodString;
118
+ }, z.ZodTypeAny, "passthrough">>;
119
+ }];
120
+ }, {
121
+ method: "get";
122
+ path: "/describe";
123
+ alias: "listDescribes";
124
+ description: "List all media description jobs with optional filtering";
125
+ requestFormat: "json";
126
+ parameters: [{
127
+ name: "limit";
128
+ type: "Query";
129
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
130
+ }, {
131
+ name: "offset";
132
+ type: "Query";
133
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
134
+ }, {
135
+ name: "status";
136
+ type: "Query";
137
+ schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>>;
138
+ }, {
139
+ name: "created_before";
140
+ type: "Query";
141
+ schema: z.ZodOptional<z.ZodString>;
142
+ }, {
143
+ name: "created_after";
144
+ type: "Query";
145
+ schema: z.ZodOptional<z.ZodString>;
146
+ }, {
147
+ name: "url";
148
+ type: "Query";
149
+ schema: z.ZodOptional<z.ZodString>;
150
+ }, {
151
+ name: "response_format";
152
+ type: "Query";
153
+ schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
154
+ }];
155
+ response: z.ZodType<DescribeList, z.ZodTypeDef, DescribeList>;
156
+ errors: [{
157
+ status: 400;
158
+ description: string;
159
+ schema: z.ZodObject<{
160
+ error: z.ZodString;
161
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
162
+ error: z.ZodString;
163
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
164
+ error: z.ZodString;
165
+ }, z.ZodTypeAny, "passthrough">>;
166
+ }, {
167
+ status: 500;
168
+ description: string;
169
+ schema: z.ZodObject<{
170
+ error: z.ZodString;
171
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
172
+ error: z.ZodString;
173
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
174
+ error: z.ZodString;
175
+ }, z.ZodTypeAny, "passthrough">>;
176
+ }];
177
+ }, {
178
+ method: "get";
179
+ path: "/describe/:job_id";
180
+ alias: "getDescribe";
181
+ description: "Retrieve the current state of a media description job";
182
+ requestFormat: "json";
183
+ parameters: [{
184
+ name: "job_id";
185
+ type: "Path";
186
+ schema: z.ZodString;
187
+ }, {
188
+ name: "response_format";
189
+ type: "Query";
190
+ schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
191
+ }];
192
+ response: z.ZodType<Describe, z.ZodTypeDef, Describe>;
193
+ errors: [{
194
+ status: 404;
195
+ description: string;
196
+ schema: z.ZodObject<{
197
+ error: z.ZodString;
198
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
199
+ error: z.ZodString;
200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
201
+ error: z.ZodString;
202
+ }, z.ZodTypeAny, "passthrough">>;
203
+ }, {
204
+ status: 500;
205
+ description: string;
206
+ schema: z.ZodObject<{
207
+ error: z.ZodString;
208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
209
+ error: z.ZodString;
210
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
211
+ error: z.ZodString;
212
+ }, z.ZodTypeAny, "passthrough">>;
213
+ }];
214
+ }]>;
215
+ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
216
+ method: "post";
217
+ path: "/describe";
218
+ alias: "createDescribe";
219
+ description: "Creates a new media description job for video content";
220
+ requestFormat: "json";
221
+ parameters: [{
222
+ name: "body";
223
+ description: string;
224
+ type: "Body";
225
+ schema: z.ZodType<NewDescribe, z.ZodTypeDef, NewDescribe>;
226
+ }];
227
+ response: z.ZodType<Describe, z.ZodTypeDef, Describe>;
228
+ errors: [{
229
+ status: 400;
230
+ description: string;
231
+ schema: z.ZodObject<{
232
+ error: z.ZodString;
233
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
234
+ error: z.ZodString;
235
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
236
+ error: z.ZodString;
237
+ }, z.ZodTypeAny, "passthrough">>;
238
+ }, {
239
+ status: 404;
240
+ description: string;
241
+ schema: z.ZodObject<{
242
+ error: z.ZodString;
243
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
244
+ error: z.ZodString;
245
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
246
+ error: z.ZodString;
247
+ }, z.ZodTypeAny, "passthrough">>;
248
+ }, {
249
+ status: 429;
250
+ description: string;
251
+ schema: z.ZodObject<{
252
+ error: z.ZodString;
253
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
254
+ error: z.ZodString;
255
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
256
+ error: z.ZodString;
257
+ }, z.ZodTypeAny, "passthrough">>;
258
+ }, {
259
+ status: 509;
260
+ description: string;
261
+ schema: z.ZodObject<{
262
+ error: z.ZodString;
263
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
264
+ error: z.ZodString;
265
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
266
+ error: z.ZodString;
267
+ }, z.ZodTypeAny, "passthrough">>;
268
+ }];
269
+ }, {
270
+ method: "get";
271
+ path: "/describe";
272
+ alias: "listDescribes";
273
+ description: "List all media description jobs with optional filtering";
274
+ requestFormat: "json";
275
+ parameters: [{
276
+ name: "limit";
277
+ type: "Query";
278
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
279
+ }, {
280
+ name: "offset";
281
+ type: "Query";
282
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
283
+ }, {
284
+ name: "status";
285
+ type: "Query";
286
+ schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>>;
287
+ }, {
288
+ name: "created_before";
289
+ type: "Query";
290
+ schema: z.ZodOptional<z.ZodString>;
291
+ }, {
292
+ name: "created_after";
293
+ type: "Query";
294
+ schema: z.ZodOptional<z.ZodString>;
295
+ }, {
296
+ name: "url";
297
+ type: "Query";
298
+ schema: z.ZodOptional<z.ZodString>;
299
+ }, {
300
+ name: "response_format";
301
+ type: "Query";
302
+ schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
303
+ }];
304
+ response: z.ZodType<DescribeList, z.ZodTypeDef, DescribeList>;
305
+ errors: [{
306
+ status: 400;
307
+ description: string;
308
+ schema: z.ZodObject<{
309
+ error: z.ZodString;
310
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
311
+ error: z.ZodString;
312
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
313
+ error: z.ZodString;
314
+ }, z.ZodTypeAny, "passthrough">>;
315
+ }, {
316
+ status: 500;
317
+ description: string;
318
+ schema: z.ZodObject<{
319
+ error: z.ZodString;
320
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
321
+ error: z.ZodString;
322
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
323
+ error: z.ZodString;
324
+ }, z.ZodTypeAny, "passthrough">>;
325
+ }];
326
+ }, {
327
+ method: "get";
328
+ path: "/describe/:job_id";
329
+ alias: "getDescribe";
330
+ description: "Retrieve the current state of a media description job";
331
+ requestFormat: "json";
332
+ parameters: [{
333
+ name: "job_id";
334
+ type: "Path";
335
+ schema: z.ZodString;
336
+ }, {
337
+ name: "response_format";
338
+ type: "Query";
339
+ schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
340
+ }];
341
+ response: z.ZodType<Describe, z.ZodTypeDef, Describe>;
342
+ errors: [{
343
+ status: 404;
344
+ description: string;
345
+ schema: z.ZodObject<{
346
+ error: z.ZodString;
347
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
348
+ error: z.ZodString;
349
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
350
+ error: z.ZodString;
351
+ }, z.ZodTypeAny, "passthrough">>;
352
+ }, {
353
+ status: 500;
354
+ description: string;
355
+ schema: z.ZodObject<{
356
+ error: z.ZodString;
357
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
358
+ error: z.ZodString;
359
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
360
+ error: z.ZodString;
361
+ }, z.ZodTypeAny, "passthrough">>;
362
+ }];
363
+ }]>;
364
+ export {};