@aviaryhq/cloudglue-js 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/Chat.d.ts +8 -8
- package/dist/generated/Chat.js +30 -30
- package/dist/generated/Collections.d.ts +25 -23
- package/dist/generated/Collections.js +266 -264
- package/dist/generated/Describe.d.ts +7 -7
- package/dist/generated/Describe.js +58 -58
- package/dist/generated/Extract.d.ts +6 -6
- package/dist/generated/Extract.js +52 -52
- package/dist/generated/Face_Detection.d.ts +6 -6
- package/dist/generated/Face_Detection.js +25 -25
- package/dist/generated/Face_Match.d.ts +6 -6
- package/dist/generated/Face_Match.js +26 -26
- package/dist/generated/Files.d.ts +1009 -10
- package/dist/generated/Files.js +247 -115
- package/dist/generated/Frames.d.ts +2 -2
- package/dist/generated/Frames.js +17 -17
- package/dist/generated/Search.d.ts +212 -19
- package/dist/generated/Search.js +143 -30
- package/dist/generated/Segmentations.d.ts +208 -2
- package/dist/generated/Segmentations.js +34 -29
- package/dist/generated/Segments.d.ts +13 -13
- package/dist/generated/Segments.js +49 -49
- package/dist/generated/Tags.d.ts +660 -0
- package/dist/generated/Tags.js +160 -0
- package/dist/generated/Transcribe.d.ts +7 -7
- package/dist/generated/Transcribe.js +46 -46
- package/dist/generated/Webhooks.d.ts +5 -5
- package/dist/generated/Webhooks.js +61 -61
- package/dist/generated/common.d.ts +391 -11
- package/dist/generated/common.js +63 -28
- package/dist/generated/index.d.ts +14 -13
- package/dist/generated/index.js +3 -1
- package/dist/src/api/chat-completion.api.d.ts +38 -0
- package/dist/src/api/chat-completion.api.js +15 -0
- package/dist/src/api/collections.api.d.ts +666 -0
- package/dist/src/api/collections.api.js +134 -0
- package/dist/src/api/describe.api.d.ts +153 -0
- package/dist/src/api/describe.api.js +57 -0
- package/dist/src/api/extract.api.d.ts +144 -0
- package/dist/src/api/extract.api.js +55 -0
- package/dist/src/api/face-detection.api.d.ts +77 -0
- package/dist/src/api/face-detection.api.js +41 -0
- package/dist/src/api/face-match.api.d.ts +94 -0
- package/dist/src/api/face-match.api.js +41 -0
- package/dist/src/api/files.api.d.ts +705 -0
- package/dist/src/api/files.api.js +146 -0
- package/dist/src/api/frame-extraction.api.d.ts +264 -0
- package/dist/src/api/frame-extraction.api.js +37 -0
- package/dist/src/api/search.api.d.ts +316 -0
- package/dist/src/api/search.api.js +22 -0
- package/dist/src/api/segmentations.api.d.ts +395 -0
- package/dist/src/api/segmentations.api.js +36 -0
- package/dist/src/api/segments.api.d.ts +141 -0
- package/dist/src/api/segments.api.js +40 -0
- package/dist/src/api/tags.api.d.ts +71 -0
- package/dist/src/api/tags.api.js +31 -0
- package/dist/src/api/transcribe.api.d.ts +150 -0
- package/dist/src/api/transcribe.api.js +65 -0
- package/dist/src/api/webhooks.api.d.ts +69 -0
- package/dist/src/api/webhooks.api.js +28 -0
- package/dist/src/client.d.ts +20 -2967
- package/dist/src/client.js +55 -643
- package/dist/src/error.d.ts +7 -0
- package/dist/src/error.js +14 -0
- package/dist/src/types.d.ts +20 -8
- package/package.json +2 -1
|
@@ -11,17 +11,18 @@ const common_4 = require("./common");
|
|
|
11
11
|
const common_5 = require("./common");
|
|
12
12
|
const common_6 = require("./common");
|
|
13
13
|
const common_7 = require("./common");
|
|
14
|
+
const common_8 = require("./common");
|
|
14
15
|
const Collection = zod_1.z
|
|
15
16
|
.object({
|
|
16
17
|
id: zod_1.z.string(),
|
|
17
|
-
object: zod_1.z.literal(
|
|
18
|
+
object: zod_1.z.literal('collection'),
|
|
18
19
|
name: zod_1.z.string(),
|
|
19
20
|
description: zod_1.z.string().nullish(),
|
|
20
21
|
collection_type: zod_1.z.enum([
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
'media-descriptions',
|
|
23
|
+
'entities',
|
|
24
|
+
'rich-transcripts',
|
|
25
|
+
'face-analysis',
|
|
25
26
|
]),
|
|
26
27
|
extract_config: zod_1.z
|
|
27
28
|
.object({
|
|
@@ -59,12 +60,12 @@ const Collection = zod_1.z
|
|
|
59
60
|
.passthrough()
|
|
60
61
|
.optional(),
|
|
61
62
|
default_segmentation_config: common_1.SegmentationConfig.optional(),
|
|
62
|
-
default_thumbnails_config:
|
|
63
|
+
default_thumbnails_config: common_5.ThumbnailsConfig.optional(),
|
|
63
64
|
face_detection_config: zod_1.z
|
|
64
65
|
.object({
|
|
65
66
|
frame_extraction_config: zod_1.z
|
|
66
67
|
.object({
|
|
67
|
-
strategy: zod_1.z.literal(
|
|
68
|
+
strategy: zod_1.z.literal('uniform'),
|
|
68
69
|
uniform_config: zod_1.z
|
|
69
70
|
.object({
|
|
70
71
|
frames_per_second: zod_1.z.number().gte(0.1).lte(30).default(1),
|
|
@@ -94,9 +95,10 @@ const Collection = zod_1.z
|
|
|
94
95
|
.passthrough();
|
|
95
96
|
const DefaultSegmentationConfig = zod_1.z
|
|
96
97
|
.object({
|
|
97
|
-
strategy: zod_1.z.enum([
|
|
98
|
+
strategy: zod_1.z.enum(['uniform', 'shot-detector']),
|
|
98
99
|
uniform_config: common_2.SegmentationUniformConfig.optional(),
|
|
99
100
|
shot_detector_config: common_3.SegmentationShotDetectorConfig.optional(),
|
|
101
|
+
keyframe_config: common_4.KeyframeConfig.optional(),
|
|
100
102
|
start_time_seconds: zod_1.z.number().gte(0).optional(),
|
|
101
103
|
end_time_seconds: zod_1.z.number().gte(0).optional(),
|
|
102
104
|
})
|
|
@@ -105,10 +107,10 @@ const DefaultSegmentationConfig = zod_1.z
|
|
|
105
107
|
const NewCollection = zod_1.z
|
|
106
108
|
.object({
|
|
107
109
|
collection_type: zod_1.z.enum([
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
'media-descriptions',
|
|
111
|
+
'entities',
|
|
112
|
+
'rich-transcripts',
|
|
113
|
+
'face-analysis',
|
|
112
114
|
]),
|
|
113
115
|
name: zod_1.z.string(),
|
|
114
116
|
description: zod_1.z.string().nullish(),
|
|
@@ -148,12 +150,12 @@ const NewCollection = zod_1.z
|
|
|
148
150
|
.passthrough()
|
|
149
151
|
.optional(),
|
|
150
152
|
default_segmentation_config: DefaultSegmentationConfig.optional(),
|
|
151
|
-
default_thumbnails_config:
|
|
153
|
+
default_thumbnails_config: common_5.ThumbnailsConfig.optional(),
|
|
152
154
|
face_detection_config: zod_1.z
|
|
153
155
|
.object({
|
|
154
156
|
frame_extraction_config: zod_1.z
|
|
155
157
|
.object({
|
|
156
|
-
strategy: zod_1.z.literal(
|
|
158
|
+
strategy: zod_1.z.literal('uniform'),
|
|
157
159
|
uniform_config: zod_1.z
|
|
158
160
|
.object({
|
|
159
161
|
frames_per_second: zod_1.z.number().gte(0.1).lte(30).default(1),
|
|
@@ -181,7 +183,7 @@ const NewCollection = zod_1.z
|
|
|
181
183
|
.passthrough();
|
|
182
184
|
const CollectionList = zod_1.z
|
|
183
185
|
.object({
|
|
184
|
-
object: zod_1.z.literal(
|
|
186
|
+
object: zod_1.z.literal('list'),
|
|
185
187
|
data: zod_1.z.array(Collection),
|
|
186
188
|
total: zod_1.z.number().int(),
|
|
187
189
|
limit: zod_1.z.number().int(),
|
|
@@ -194,9 +196,9 @@ const AddCollectionFile = zod_1.z
|
|
|
194
196
|
zod_1.z.object({ file_id: zod_1.z.string() }).strict().passthrough(),
|
|
195
197
|
zod_1.z.object({ url: zod_1.z.string() }).strict().passthrough(),
|
|
196
198
|
])
|
|
197
|
-
.and(
|
|
199
|
+
.and(common_7.FileSegmentationConfig)
|
|
198
200
|
.and(zod_1.z
|
|
199
|
-
.object({ thumbnails_config:
|
|
201
|
+
.object({ thumbnails_config: common_5.ThumbnailsConfig })
|
|
200
202
|
.partial()
|
|
201
203
|
.strict()
|
|
202
204
|
.passthrough());
|
|
@@ -204,25 +206,25 @@ const CollectionFile = zod_1.z
|
|
|
204
206
|
.object({
|
|
205
207
|
collection_id: zod_1.z.string(),
|
|
206
208
|
file_id: zod_1.z.string(),
|
|
207
|
-
object: zod_1.z.literal(
|
|
209
|
+
object: zod_1.z.literal('collection_file'),
|
|
208
210
|
added_at: zod_1.z.number().int(),
|
|
209
211
|
status: zod_1.z.enum([
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
'pending',
|
|
213
|
+
'processing',
|
|
214
|
+
'completed',
|
|
215
|
+
'failed',
|
|
216
|
+
'not_applicable',
|
|
215
217
|
]),
|
|
216
|
-
file:
|
|
218
|
+
file: common_6.File.optional(),
|
|
217
219
|
segmentation: zod_1.z
|
|
218
220
|
.object({
|
|
219
221
|
id: zod_1.z.string().uuid(),
|
|
220
222
|
status: zod_1.z.enum([
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
'pending',
|
|
224
|
+
'processing',
|
|
225
|
+
'completed',
|
|
226
|
+
'failed',
|
|
227
|
+
'not_applicable',
|
|
226
228
|
]),
|
|
227
229
|
file_id: zod_1.z.string().uuid(),
|
|
228
230
|
segmentation_config: common_1.SegmentationConfig,
|
|
@@ -235,7 +237,7 @@ const CollectionFile = zod_1.z
|
|
|
235
237
|
.passthrough();
|
|
236
238
|
const CollectionFileList = zod_1.z
|
|
237
239
|
.object({
|
|
238
|
-
object: zod_1.z.literal(
|
|
240
|
+
object: zod_1.z.literal('list'),
|
|
239
241
|
data: zod_1.z.array(CollectionFile),
|
|
240
242
|
total: zod_1.z.number().int(),
|
|
241
243
|
limit: zod_1.z.number().int(),
|
|
@@ -266,7 +268,7 @@ const MediaDescription = zod_1.z
|
|
|
266
268
|
})
|
|
267
269
|
.strict()
|
|
268
270
|
.passthrough()
|
|
269
|
-
.and(
|
|
271
|
+
.and(common_8.DescribeOutput);
|
|
270
272
|
const RichTranscript = zod_1.z
|
|
271
273
|
.object({
|
|
272
274
|
collection_id: zod_1.z.string(),
|
|
@@ -290,10 +292,10 @@ const RichTranscript = zod_1.z
|
|
|
290
292
|
})
|
|
291
293
|
.strict()
|
|
292
294
|
.passthrough()
|
|
293
|
-
.and(
|
|
295
|
+
.and(common_8.DescribeOutput);
|
|
294
296
|
const CollectionRichTranscriptsList = zod_1.z
|
|
295
297
|
.object({
|
|
296
|
-
object: zod_1.z.literal(
|
|
298
|
+
object: zod_1.z.literal('list'),
|
|
297
299
|
data: zod_1.z.array(zod_1.z
|
|
298
300
|
.object({
|
|
299
301
|
file_id: zod_1.z.string(),
|
|
@@ -317,7 +319,7 @@ const CollectionRichTranscriptsList = zod_1.z
|
|
|
317
319
|
.partial()
|
|
318
320
|
.strict()
|
|
319
321
|
.passthrough()
|
|
320
|
-
.and(
|
|
322
|
+
.and(common_8.DescribeOutput),
|
|
321
323
|
})
|
|
322
324
|
.strict()
|
|
323
325
|
.passthrough()),
|
|
@@ -329,12 +331,12 @@ const CollectionRichTranscriptsList = zod_1.z
|
|
|
329
331
|
.passthrough();
|
|
330
332
|
const CollectionMediaDescriptionsList = zod_1.z
|
|
331
333
|
.object({
|
|
332
|
-
object: zod_1.z.literal(
|
|
334
|
+
object: zod_1.z.literal('list'),
|
|
333
335
|
data: zod_1.z.array(zod_1.z
|
|
334
336
|
.object({
|
|
335
337
|
file_id: zod_1.z.string(),
|
|
336
338
|
added_at: zod_1.z.number().int(),
|
|
337
|
-
object: zod_1.z.literal(
|
|
339
|
+
object: zod_1.z.literal('collection_file'),
|
|
338
340
|
duration_seconds: zod_1.z.number().optional(),
|
|
339
341
|
data: zod_1.z
|
|
340
342
|
.object({
|
|
@@ -355,7 +357,7 @@ const CollectionMediaDescriptionsList = zod_1.z
|
|
|
355
357
|
.partial()
|
|
356
358
|
.strict()
|
|
357
359
|
.passthrough()
|
|
358
|
-
.and(
|
|
360
|
+
.and(common_8.DescribeOutput),
|
|
359
361
|
})
|
|
360
362
|
.strict()
|
|
361
363
|
.passthrough()),
|
|
@@ -366,7 +368,7 @@ const CollectionMediaDescriptionsList = zod_1.z
|
|
|
366
368
|
.strict()
|
|
367
369
|
.passthrough();
|
|
368
370
|
const CollectionDelete = zod_1.z
|
|
369
|
-
.object({ id: zod_1.z.string(), object: zod_1.z.literal(
|
|
371
|
+
.object({ id: zod_1.z.string(), object: zod_1.z.literal('collection') })
|
|
370
372
|
.strict()
|
|
371
373
|
.passthrough();
|
|
372
374
|
const CollectionUpdate = zod_1.z
|
|
@@ -378,7 +380,7 @@ const CollectionFileDelete = zod_1.z
|
|
|
378
380
|
.object({
|
|
379
381
|
collection_id: zod_1.z.string(),
|
|
380
382
|
file_id: zod_1.z.string(),
|
|
381
|
-
object: zod_1.z.literal(
|
|
383
|
+
object: zod_1.z.literal('collection_file'),
|
|
382
384
|
})
|
|
383
385
|
.strict()
|
|
384
386
|
.passthrough();
|
|
@@ -404,7 +406,7 @@ const FileEntities = zod_1.z
|
|
|
404
406
|
.passthrough();
|
|
405
407
|
const CollectionEntitiesList = zod_1.z
|
|
406
408
|
.object({
|
|
407
|
-
object: zod_1.z.literal(
|
|
409
|
+
object: zod_1.z.literal('list'),
|
|
408
410
|
data: zod_1.z.array(zod_1.z
|
|
409
411
|
.object({
|
|
410
412
|
file_id: zod_1.z.string(),
|
|
@@ -483,16 +485,16 @@ exports.schemas = {
|
|
|
483
485
|
};
|
|
484
486
|
const endpoints = (0, core_1.makeApi)([
|
|
485
487
|
{
|
|
486
|
-
method:
|
|
487
|
-
path:
|
|
488
|
-
alias:
|
|
488
|
+
method: 'post',
|
|
489
|
+
path: '/collections',
|
|
490
|
+
alias: 'createCollection',
|
|
489
491
|
description: `Create a new collection to organize and process video files. Collections are used to group files together and process them in a consistent way.`,
|
|
490
|
-
requestFormat:
|
|
492
|
+
requestFormat: 'json',
|
|
491
493
|
parameters: [
|
|
492
494
|
{
|
|
493
|
-
name:
|
|
495
|
+
name: 'body',
|
|
494
496
|
description: `Collection creation parameters`,
|
|
495
|
-
type:
|
|
497
|
+
type: 'Body',
|
|
496
498
|
schema: NewCollection,
|
|
497
499
|
},
|
|
498
500
|
],
|
|
@@ -521,52 +523,52 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
521
523
|
],
|
|
522
524
|
},
|
|
523
525
|
{
|
|
524
|
-
method:
|
|
525
|
-
path:
|
|
526
|
-
alias:
|
|
526
|
+
method: 'get',
|
|
527
|
+
path: '/collections',
|
|
528
|
+
alias: 'listCollections',
|
|
527
529
|
description: `List all collections`,
|
|
528
|
-
requestFormat:
|
|
530
|
+
requestFormat: 'json',
|
|
529
531
|
parameters: [
|
|
530
532
|
{
|
|
531
|
-
name:
|
|
532
|
-
type:
|
|
533
|
+
name: 'limit',
|
|
534
|
+
type: 'Query',
|
|
533
535
|
schema: zod_1.z.number().int().lte(100).optional().default(50),
|
|
534
536
|
},
|
|
535
537
|
{
|
|
536
|
-
name:
|
|
537
|
-
type:
|
|
538
|
+
name: 'offset',
|
|
539
|
+
type: 'Query',
|
|
538
540
|
schema: zod_1.z.number().int().optional().default(0),
|
|
539
541
|
},
|
|
540
542
|
{
|
|
541
|
-
name:
|
|
542
|
-
type:
|
|
543
|
-
schema: zod_1.z.enum([
|
|
543
|
+
name: 'order',
|
|
544
|
+
type: 'Query',
|
|
545
|
+
schema: zod_1.z.enum(['name', 'created_at']).optional().default('created_at'),
|
|
544
546
|
},
|
|
545
547
|
{
|
|
546
|
-
name:
|
|
547
|
-
type:
|
|
548
|
-
schema: zod_1.z.enum([
|
|
548
|
+
name: 'sort',
|
|
549
|
+
type: 'Query',
|
|
550
|
+
schema: zod_1.z.enum(['asc', 'desc']).optional().default('desc'),
|
|
549
551
|
},
|
|
550
552
|
{
|
|
551
|
-
name:
|
|
552
|
-
type:
|
|
553
|
+
name: 'collection_type',
|
|
554
|
+
type: 'Query',
|
|
553
555
|
schema: zod_1.z
|
|
554
556
|
.enum([
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
'media-descriptions',
|
|
558
|
+
'entities',
|
|
559
|
+
'rich-transcripts',
|
|
560
|
+
'face-analysis',
|
|
559
561
|
])
|
|
560
562
|
.optional(),
|
|
561
563
|
},
|
|
562
564
|
{
|
|
563
|
-
name:
|
|
564
|
-
type:
|
|
565
|
+
name: 'created_after',
|
|
566
|
+
type: 'Query',
|
|
565
567
|
schema: zod_1.z.string().datetime({ offset: true }).optional(),
|
|
566
568
|
},
|
|
567
569
|
{
|
|
568
|
-
name:
|
|
569
|
-
type:
|
|
570
|
+
name: 'created_before',
|
|
571
|
+
type: 'Query',
|
|
570
572
|
schema: zod_1.z.string().datetime({ offset: true }).optional(),
|
|
571
573
|
},
|
|
572
574
|
],
|
|
@@ -580,15 +582,15 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
580
582
|
],
|
|
581
583
|
},
|
|
582
584
|
{
|
|
583
|
-
method:
|
|
584
|
-
path:
|
|
585
|
-
alias:
|
|
585
|
+
method: 'get',
|
|
586
|
+
path: '/collections/:collection_id',
|
|
587
|
+
alias: 'getCollection',
|
|
586
588
|
description: `Retrieve details about a specific collection`,
|
|
587
|
-
requestFormat:
|
|
589
|
+
requestFormat: 'json',
|
|
588
590
|
parameters: [
|
|
589
591
|
{
|
|
590
|
-
name:
|
|
591
|
-
type:
|
|
592
|
+
name: 'collection_id',
|
|
593
|
+
type: 'Path',
|
|
592
594
|
schema: zod_1.z.string(),
|
|
593
595
|
},
|
|
594
596
|
],
|
|
@@ -607,15 +609,15 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
607
609
|
],
|
|
608
610
|
},
|
|
609
611
|
{
|
|
610
|
-
method:
|
|
611
|
-
path:
|
|
612
|
-
alias:
|
|
612
|
+
method: 'delete',
|
|
613
|
+
path: '/collections/:collection_id',
|
|
614
|
+
alias: 'deleteCollection',
|
|
613
615
|
description: `Delete a collection`,
|
|
614
|
-
requestFormat:
|
|
616
|
+
requestFormat: 'json',
|
|
615
617
|
parameters: [
|
|
616
618
|
{
|
|
617
|
-
name:
|
|
618
|
-
type:
|
|
619
|
+
name: 'collection_id',
|
|
620
|
+
type: 'Path',
|
|
619
621
|
schema: zod_1.z.string(),
|
|
620
622
|
},
|
|
621
623
|
],
|
|
@@ -634,21 +636,21 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
634
636
|
],
|
|
635
637
|
},
|
|
636
638
|
{
|
|
637
|
-
method:
|
|
638
|
-
path:
|
|
639
|
-
alias:
|
|
639
|
+
method: 'put',
|
|
640
|
+
path: '/collections/:collection_id',
|
|
641
|
+
alias: 'updateCollection',
|
|
640
642
|
description: `Update a collection`,
|
|
641
|
-
requestFormat:
|
|
643
|
+
requestFormat: 'json',
|
|
642
644
|
parameters: [
|
|
643
645
|
{
|
|
644
|
-
name:
|
|
646
|
+
name: 'body',
|
|
645
647
|
description: `Collection update parameters`,
|
|
646
|
-
type:
|
|
648
|
+
type: 'Body',
|
|
647
649
|
schema: CollectionUpdate,
|
|
648
650
|
},
|
|
649
651
|
{
|
|
650
|
-
name:
|
|
651
|
-
type:
|
|
652
|
+
name: 'collection_id',
|
|
653
|
+
type: 'Path',
|
|
652
654
|
schema: zod_1.z.string(),
|
|
653
655
|
},
|
|
654
656
|
],
|
|
@@ -672,21 +674,21 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
672
674
|
],
|
|
673
675
|
},
|
|
674
676
|
{
|
|
675
|
-
method:
|
|
676
|
-
path:
|
|
677
|
-
alias:
|
|
677
|
+
method: 'post',
|
|
678
|
+
path: '/collections/:collection_id/videos',
|
|
679
|
+
alias: 'addVideo',
|
|
678
680
|
description: `Add a video to a collection`,
|
|
679
|
-
requestFormat:
|
|
681
|
+
requestFormat: 'json',
|
|
680
682
|
parameters: [
|
|
681
683
|
{
|
|
682
|
-
name:
|
|
684
|
+
name: 'body',
|
|
683
685
|
description: `File association parameters`,
|
|
684
|
-
type:
|
|
686
|
+
type: 'Body',
|
|
685
687
|
schema: AddCollectionFile,
|
|
686
688
|
},
|
|
687
689
|
{
|
|
688
|
-
name:
|
|
689
|
-
type:
|
|
690
|
+
name: 'collection_id',
|
|
691
|
+
type: 'Path',
|
|
690
692
|
schema: zod_1.z.string(),
|
|
691
693
|
},
|
|
692
694
|
],
|
|
@@ -710,63 +712,63 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
710
712
|
],
|
|
711
713
|
},
|
|
712
714
|
{
|
|
713
|
-
method:
|
|
714
|
-
path:
|
|
715
|
-
alias:
|
|
715
|
+
method: 'get',
|
|
716
|
+
path: '/collections/:collection_id/videos',
|
|
717
|
+
alias: 'listVideos',
|
|
716
718
|
description: `List all files in a collection`,
|
|
717
|
-
requestFormat:
|
|
719
|
+
requestFormat: 'json',
|
|
718
720
|
parameters: [
|
|
719
721
|
{
|
|
720
|
-
name:
|
|
721
|
-
type:
|
|
722
|
+
name: 'collection_id',
|
|
723
|
+
type: 'Path',
|
|
722
724
|
schema: zod_1.z.string(),
|
|
723
725
|
},
|
|
724
726
|
{
|
|
725
|
-
name:
|
|
726
|
-
type:
|
|
727
|
+
name: 'limit',
|
|
728
|
+
type: 'Query',
|
|
727
729
|
schema: zod_1.z.number().int().lte(100).optional().default(50),
|
|
728
730
|
},
|
|
729
731
|
{
|
|
730
|
-
name:
|
|
731
|
-
type:
|
|
732
|
+
name: 'offset',
|
|
733
|
+
type: 'Query',
|
|
732
734
|
schema: zod_1.z.number().int().optional().default(0),
|
|
733
735
|
},
|
|
734
736
|
{
|
|
735
|
-
name:
|
|
736
|
-
type:
|
|
737
|
+
name: 'status',
|
|
738
|
+
type: 'Query',
|
|
737
739
|
schema: zod_1.z
|
|
738
740
|
.enum([
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
741
|
+
'pending',
|
|
742
|
+
'processing',
|
|
743
|
+
'completed',
|
|
744
|
+
'failed',
|
|
745
|
+
'not_applicable',
|
|
744
746
|
])
|
|
745
747
|
.optional(),
|
|
746
748
|
},
|
|
747
749
|
{
|
|
748
|
-
name:
|
|
749
|
-
type:
|
|
750
|
+
name: 'added_before',
|
|
751
|
+
type: 'Query',
|
|
750
752
|
schema: zod_1.z.string().optional(),
|
|
751
753
|
},
|
|
752
754
|
{
|
|
753
|
-
name:
|
|
754
|
-
type:
|
|
755
|
+
name: 'added_after',
|
|
756
|
+
type: 'Query',
|
|
755
757
|
schema: zod_1.z.string().optional(),
|
|
756
758
|
},
|
|
757
759
|
{
|
|
758
|
-
name:
|
|
759
|
-
type:
|
|
760
|
-
schema: zod_1.z.enum([
|
|
760
|
+
name: 'order',
|
|
761
|
+
type: 'Query',
|
|
762
|
+
schema: zod_1.z.enum(['added_at', 'filename']).optional().default('added_at'),
|
|
761
763
|
},
|
|
762
764
|
{
|
|
763
|
-
name:
|
|
764
|
-
type:
|
|
765
|
-
schema: zod_1.z.enum([
|
|
765
|
+
name: 'sort',
|
|
766
|
+
type: 'Query',
|
|
767
|
+
schema: zod_1.z.enum(['asc', 'desc']).optional().default('desc'),
|
|
766
768
|
},
|
|
767
769
|
{
|
|
768
|
-
name:
|
|
769
|
-
type:
|
|
770
|
+
name: 'filter',
|
|
771
|
+
type: 'Query',
|
|
770
772
|
schema: zod_1.z.string().optional(),
|
|
771
773
|
},
|
|
772
774
|
],
|
|
@@ -785,20 +787,20 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
785
787
|
],
|
|
786
788
|
},
|
|
787
789
|
{
|
|
788
|
-
method:
|
|
789
|
-
path:
|
|
790
|
-
alias:
|
|
790
|
+
method: 'get',
|
|
791
|
+
path: '/collections/:collection_id/videos/:file_id',
|
|
792
|
+
alias: 'getVideo',
|
|
791
793
|
description: `Retrieve information about a specific video file in a collection`,
|
|
792
|
-
requestFormat:
|
|
794
|
+
requestFormat: 'json',
|
|
793
795
|
parameters: [
|
|
794
796
|
{
|
|
795
|
-
name:
|
|
796
|
-
type:
|
|
797
|
+
name: 'collection_id',
|
|
798
|
+
type: 'Path',
|
|
797
799
|
schema: zod_1.z.string(),
|
|
798
800
|
},
|
|
799
801
|
{
|
|
800
|
-
name:
|
|
801
|
-
type:
|
|
802
|
+
name: 'file_id',
|
|
803
|
+
type: 'Path',
|
|
802
804
|
schema: zod_1.z.string(),
|
|
803
805
|
},
|
|
804
806
|
],
|
|
@@ -817,20 +819,20 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
817
819
|
],
|
|
818
820
|
},
|
|
819
821
|
{
|
|
820
|
-
method:
|
|
821
|
-
path:
|
|
822
|
-
alias:
|
|
822
|
+
method: 'delete',
|
|
823
|
+
path: '/collections/:collection_id/videos/:file_id',
|
|
824
|
+
alias: 'deleteVideo',
|
|
823
825
|
description: `Remove a video file from a collection`,
|
|
824
|
-
requestFormat:
|
|
826
|
+
requestFormat: 'json',
|
|
825
827
|
parameters: [
|
|
826
828
|
{
|
|
827
|
-
name:
|
|
828
|
-
type:
|
|
829
|
+
name: 'collection_id',
|
|
830
|
+
type: 'Path',
|
|
829
831
|
schema: zod_1.z.string(),
|
|
830
832
|
},
|
|
831
833
|
{
|
|
832
|
-
name:
|
|
833
|
-
type:
|
|
834
|
+
name: 'file_id',
|
|
835
|
+
type: 'Path',
|
|
834
836
|
schema: zod_1.z.string(),
|
|
835
837
|
},
|
|
836
838
|
],
|
|
@@ -849,30 +851,30 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
849
851
|
],
|
|
850
852
|
},
|
|
851
853
|
{
|
|
852
|
-
method:
|
|
853
|
-
path:
|
|
854
|
-
alias:
|
|
854
|
+
method: 'get',
|
|
855
|
+
path: '/collections/:collection_id/videos/:file_id/entities',
|
|
856
|
+
alias: 'getEntities',
|
|
855
857
|
description: `Retrieve extracted entities for a specific file in a collection. Results are paginated with a default limit of 50 segment entities per request (maximum 100). Use limit and offset parameters to paginate through all results. This API is only available when the collection is created with collection_type 'entities'`,
|
|
856
|
-
requestFormat:
|
|
858
|
+
requestFormat: 'json',
|
|
857
859
|
parameters: [
|
|
858
860
|
{
|
|
859
|
-
name:
|
|
860
|
-
type:
|
|
861
|
+
name: 'collection_id',
|
|
862
|
+
type: 'Path',
|
|
861
863
|
schema: zod_1.z.string(),
|
|
862
864
|
},
|
|
863
865
|
{
|
|
864
|
-
name:
|
|
865
|
-
type:
|
|
866
|
+
name: 'file_id',
|
|
867
|
+
type: 'Path',
|
|
866
868
|
schema: zod_1.z.string(),
|
|
867
869
|
},
|
|
868
870
|
{
|
|
869
|
-
name:
|
|
870
|
-
type:
|
|
871
|
+
name: 'limit',
|
|
872
|
+
type: 'Query',
|
|
871
873
|
schema: zod_1.z.number().int().gte(1).lte(100).optional().default(50),
|
|
872
874
|
},
|
|
873
875
|
{
|
|
874
|
-
name:
|
|
875
|
-
type:
|
|
876
|
+
name: 'offset',
|
|
877
|
+
type: 'Query',
|
|
876
878
|
schema: zod_1.z.number().int().gte(0).optional().default(0),
|
|
877
879
|
},
|
|
878
880
|
],
|
|
@@ -896,35 +898,35 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
896
898
|
],
|
|
897
899
|
},
|
|
898
900
|
{
|
|
899
|
-
method:
|
|
900
|
-
path:
|
|
901
|
-
alias:
|
|
901
|
+
method: 'get',
|
|
902
|
+
path: '/collections/:collection_id/videos/:file_id/rich-transcripts',
|
|
903
|
+
alias: 'getTranscripts',
|
|
902
904
|
description: `Retrieve rich transcription data for a specific file in a collection. This API is only available when the a collection is created with collection_type 'rich-transcripts'`,
|
|
903
|
-
requestFormat:
|
|
905
|
+
requestFormat: 'json',
|
|
904
906
|
parameters: [
|
|
905
907
|
{
|
|
906
|
-
name:
|
|
907
|
-
type:
|
|
908
|
+
name: 'collection_id',
|
|
909
|
+
type: 'Path',
|
|
908
910
|
schema: zod_1.z.string(),
|
|
909
911
|
},
|
|
910
912
|
{
|
|
911
|
-
name:
|
|
912
|
-
type:
|
|
913
|
+
name: 'file_id',
|
|
914
|
+
type: 'Path',
|
|
913
915
|
schema: zod_1.z.string(),
|
|
914
916
|
},
|
|
915
917
|
{
|
|
916
|
-
name:
|
|
917
|
-
type:
|
|
918
|
-
schema: zod_1.z.enum([
|
|
918
|
+
name: 'response_format',
|
|
919
|
+
type: 'Query',
|
|
920
|
+
schema: zod_1.z.enum(['json', 'markdown']).optional().default('json'),
|
|
919
921
|
},
|
|
920
922
|
{
|
|
921
|
-
name:
|
|
922
|
-
type:
|
|
923
|
+
name: 'start_time_seconds',
|
|
924
|
+
type: 'Query',
|
|
923
925
|
schema: zod_1.z.number().optional(),
|
|
924
926
|
},
|
|
925
927
|
{
|
|
926
|
-
name:
|
|
927
|
-
type:
|
|
928
|
+
name: 'end_time_seconds',
|
|
929
|
+
type: 'Query',
|
|
928
930
|
schema: zod_1.z.number().optional(),
|
|
929
931
|
},
|
|
930
932
|
],
|
|
@@ -948,45 +950,45 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
948
950
|
],
|
|
949
951
|
},
|
|
950
952
|
{
|
|
951
|
-
method:
|
|
952
|
-
path:
|
|
953
|
-
alias:
|
|
953
|
+
method: 'get',
|
|
954
|
+
path: '/collections/:collection_id/entities',
|
|
955
|
+
alias: 'listCollectionEntities',
|
|
954
956
|
description: `List all extracted entities for files in a collection. This API is only available when a collection is created with collection_type 'entities'`,
|
|
955
|
-
requestFormat:
|
|
957
|
+
requestFormat: 'json',
|
|
956
958
|
parameters: [
|
|
957
959
|
{
|
|
958
|
-
name:
|
|
959
|
-
type:
|
|
960
|
+
name: 'collection_id',
|
|
961
|
+
type: 'Path',
|
|
960
962
|
schema: zod_1.z.string(),
|
|
961
963
|
},
|
|
962
964
|
{
|
|
963
|
-
name:
|
|
964
|
-
type:
|
|
965
|
+
name: 'limit',
|
|
966
|
+
type: 'Query',
|
|
965
967
|
schema: zod_1.z.number().int().lte(100).optional().default(50),
|
|
966
968
|
},
|
|
967
969
|
{
|
|
968
|
-
name:
|
|
969
|
-
type:
|
|
970
|
+
name: 'offset',
|
|
971
|
+
type: 'Query',
|
|
970
972
|
schema: zod_1.z.number().int().optional().default(0),
|
|
971
973
|
},
|
|
972
974
|
{
|
|
973
|
-
name:
|
|
974
|
-
type:
|
|
975
|
-
schema: zod_1.z.enum([
|
|
975
|
+
name: 'order',
|
|
976
|
+
type: 'Query',
|
|
977
|
+
schema: zod_1.z.enum(['added_at', 'filename']).optional().default('added_at'),
|
|
976
978
|
},
|
|
977
979
|
{
|
|
978
|
-
name:
|
|
979
|
-
type:
|
|
980
|
-
schema: zod_1.z.enum([
|
|
980
|
+
name: 'sort',
|
|
981
|
+
type: 'Query',
|
|
982
|
+
schema: zod_1.z.enum(['asc', 'desc']).optional().default('desc'),
|
|
981
983
|
},
|
|
982
984
|
{
|
|
983
|
-
name:
|
|
984
|
-
type:
|
|
985
|
+
name: 'added_before',
|
|
986
|
+
type: 'Query',
|
|
985
987
|
schema: zod_1.z.string().optional(),
|
|
986
988
|
},
|
|
987
989
|
{
|
|
988
|
-
name:
|
|
989
|
-
type:
|
|
990
|
+
name: 'added_after',
|
|
991
|
+
type: 'Query',
|
|
990
992
|
schema: zod_1.z.string().optional(),
|
|
991
993
|
},
|
|
992
994
|
],
|
|
@@ -1010,51 +1012,51 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
1010
1012
|
],
|
|
1011
1013
|
},
|
|
1012
1014
|
{
|
|
1013
|
-
method:
|
|
1014
|
-
path:
|
|
1015
|
-
alias:
|
|
1015
|
+
method: 'get',
|
|
1016
|
+
path: '/collections/:collection_id/rich-transcripts',
|
|
1017
|
+
alias: 'listCollectionRichTranscripts',
|
|
1016
1018
|
description: `List all rich transcription data for files in a collection. This API is only available when a collection is created with collection_type 'rich-transcripts'`,
|
|
1017
|
-
requestFormat:
|
|
1019
|
+
requestFormat: 'json',
|
|
1018
1020
|
parameters: [
|
|
1019
1021
|
{
|
|
1020
|
-
name:
|
|
1021
|
-
type:
|
|
1022
|
+
name: 'collection_id',
|
|
1023
|
+
type: 'Path',
|
|
1022
1024
|
schema: zod_1.z.string(),
|
|
1023
1025
|
},
|
|
1024
1026
|
{
|
|
1025
|
-
name:
|
|
1026
|
-
type:
|
|
1027
|
+
name: 'limit',
|
|
1028
|
+
type: 'Query',
|
|
1027
1029
|
schema: zod_1.z.number().int().lte(100).optional().default(20),
|
|
1028
1030
|
},
|
|
1029
1031
|
{
|
|
1030
|
-
name:
|
|
1031
|
-
type:
|
|
1032
|
+
name: 'offset',
|
|
1033
|
+
type: 'Query',
|
|
1032
1034
|
schema: zod_1.z.number().int().optional().default(0),
|
|
1033
1035
|
},
|
|
1034
1036
|
{
|
|
1035
|
-
name:
|
|
1036
|
-
type:
|
|
1037
|
-
schema: zod_1.z.enum([
|
|
1037
|
+
name: 'order',
|
|
1038
|
+
type: 'Query',
|
|
1039
|
+
schema: zod_1.z.enum(['added_at', 'filename']).optional().default('added_at'),
|
|
1038
1040
|
},
|
|
1039
1041
|
{
|
|
1040
|
-
name:
|
|
1041
|
-
type:
|
|
1042
|
-
schema: zod_1.z.enum([
|
|
1042
|
+
name: 'sort',
|
|
1043
|
+
type: 'Query',
|
|
1044
|
+
schema: zod_1.z.enum(['asc', 'desc']).optional().default('desc'),
|
|
1043
1045
|
},
|
|
1044
1046
|
{
|
|
1045
|
-
name:
|
|
1046
|
-
type:
|
|
1047
|
+
name: 'added_before',
|
|
1048
|
+
type: 'Query',
|
|
1047
1049
|
schema: zod_1.z.string().optional(),
|
|
1048
1050
|
},
|
|
1049
1051
|
{
|
|
1050
|
-
name:
|
|
1051
|
-
type:
|
|
1052
|
+
name: 'added_after',
|
|
1053
|
+
type: 'Query',
|
|
1052
1054
|
schema: zod_1.z.string().optional(),
|
|
1053
1055
|
},
|
|
1054
1056
|
{
|
|
1055
|
-
name:
|
|
1056
|
-
type:
|
|
1057
|
-
schema: zod_1.z.enum([
|
|
1057
|
+
name: 'response_format',
|
|
1058
|
+
type: 'Query',
|
|
1059
|
+
schema: zod_1.z.enum(['json', 'markdown']).optional().default('json'),
|
|
1058
1060
|
},
|
|
1059
1061
|
],
|
|
1060
1062
|
response: CollectionRichTranscriptsList,
|
|
@@ -1077,51 +1079,51 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
1077
1079
|
],
|
|
1078
1080
|
},
|
|
1079
1081
|
{
|
|
1080
|
-
method:
|
|
1081
|
-
path:
|
|
1082
|
-
alias:
|
|
1082
|
+
method: 'get',
|
|
1083
|
+
path: '/collections/:collection_id/media-descriptions',
|
|
1084
|
+
alias: 'listCollectionMediaDescriptions',
|
|
1083
1085
|
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'`,
|
|
1084
|
-
requestFormat:
|
|
1086
|
+
requestFormat: 'json',
|
|
1085
1087
|
parameters: [
|
|
1086
1088
|
{
|
|
1087
|
-
name:
|
|
1088
|
-
type:
|
|
1089
|
+
name: 'collection_id',
|
|
1090
|
+
type: 'Path',
|
|
1089
1091
|
schema: zod_1.z.string(),
|
|
1090
1092
|
},
|
|
1091
1093
|
{
|
|
1092
|
-
name:
|
|
1093
|
-
type:
|
|
1094
|
+
name: 'limit',
|
|
1095
|
+
type: 'Query',
|
|
1094
1096
|
schema: zod_1.z.number().int().lte(100).optional().default(20),
|
|
1095
1097
|
},
|
|
1096
1098
|
{
|
|
1097
|
-
name:
|
|
1098
|
-
type:
|
|
1099
|
+
name: 'offset',
|
|
1100
|
+
type: 'Query',
|
|
1099
1101
|
schema: zod_1.z.number().int().optional().default(0),
|
|
1100
1102
|
},
|
|
1101
1103
|
{
|
|
1102
|
-
name:
|
|
1103
|
-
type:
|
|
1104
|
-
schema: zod_1.z.enum([
|
|
1104
|
+
name: 'order',
|
|
1105
|
+
type: 'Query',
|
|
1106
|
+
schema: zod_1.z.enum(['added_at', 'filename']).optional().default('added_at'),
|
|
1105
1107
|
},
|
|
1106
1108
|
{
|
|
1107
|
-
name:
|
|
1108
|
-
type:
|
|
1109
|
-
schema: zod_1.z.enum([
|
|
1109
|
+
name: 'sort',
|
|
1110
|
+
type: 'Query',
|
|
1111
|
+
schema: zod_1.z.enum(['asc', 'desc']).optional().default('desc'),
|
|
1110
1112
|
},
|
|
1111
1113
|
{
|
|
1112
|
-
name:
|
|
1113
|
-
type:
|
|
1114
|
+
name: 'added_before',
|
|
1115
|
+
type: 'Query',
|
|
1114
1116
|
schema: zod_1.z.string().optional(),
|
|
1115
1117
|
},
|
|
1116
1118
|
{
|
|
1117
|
-
name:
|
|
1118
|
-
type:
|
|
1119
|
+
name: 'added_after',
|
|
1120
|
+
type: 'Query',
|
|
1119
1121
|
schema: zod_1.z.string().optional(),
|
|
1120
1122
|
},
|
|
1121
1123
|
{
|
|
1122
|
-
name:
|
|
1123
|
-
type:
|
|
1124
|
-
schema: zod_1.z.enum([
|
|
1124
|
+
name: 'response_format',
|
|
1125
|
+
type: 'Query',
|
|
1126
|
+
schema: zod_1.z.enum(['json', 'markdown']).optional().default('json'),
|
|
1125
1127
|
},
|
|
1126
1128
|
],
|
|
1127
1129
|
response: CollectionMediaDescriptionsList,
|
|
@@ -1144,35 +1146,35 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
1144
1146
|
],
|
|
1145
1147
|
},
|
|
1146
1148
|
{
|
|
1147
|
-
method:
|
|
1148
|
-
path:
|
|
1149
|
-
alias:
|
|
1149
|
+
method: 'get',
|
|
1150
|
+
path: '/collections/:collection_id/videos/:file_id/media-descriptions',
|
|
1151
|
+
alias: 'getMediaDescriptions',
|
|
1150
1152
|
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'`,
|
|
1151
|
-
requestFormat:
|
|
1153
|
+
requestFormat: 'json',
|
|
1152
1154
|
parameters: [
|
|
1153
1155
|
{
|
|
1154
|
-
name:
|
|
1155
|
-
type:
|
|
1156
|
+
name: 'collection_id',
|
|
1157
|
+
type: 'Path',
|
|
1156
1158
|
schema: zod_1.z.string(),
|
|
1157
1159
|
},
|
|
1158
1160
|
{
|
|
1159
|
-
name:
|
|
1160
|
-
type:
|
|
1161
|
+
name: 'file_id',
|
|
1162
|
+
type: 'Path',
|
|
1161
1163
|
schema: zod_1.z.string(),
|
|
1162
1164
|
},
|
|
1163
1165
|
{
|
|
1164
|
-
name:
|
|
1165
|
-
type:
|
|
1166
|
-
schema: zod_1.z.enum([
|
|
1166
|
+
name: 'response_format',
|
|
1167
|
+
type: 'Query',
|
|
1168
|
+
schema: zod_1.z.enum(['json', 'markdown']).optional().default('json'),
|
|
1167
1169
|
},
|
|
1168
1170
|
{
|
|
1169
|
-
name:
|
|
1170
|
-
type:
|
|
1171
|
+
name: 'start_time_seconds',
|
|
1172
|
+
type: 'Query',
|
|
1171
1173
|
schema: zod_1.z.number().optional(),
|
|
1172
1174
|
},
|
|
1173
1175
|
{
|
|
1174
|
-
name:
|
|
1175
|
-
type:
|
|
1176
|
+
name: 'end_time_seconds',
|
|
1177
|
+
type: 'Query',
|
|
1176
1178
|
schema: zod_1.z.number().optional(),
|
|
1177
1179
|
},
|
|
1178
1180
|
],
|
|
@@ -1196,30 +1198,30 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
1196
1198
|
],
|
|
1197
1199
|
},
|
|
1198
1200
|
{
|
|
1199
|
-
method:
|
|
1200
|
-
path:
|
|
1201
|
-
alias:
|
|
1201
|
+
method: 'get',
|
|
1202
|
+
path: '/collections/:collection_id/videos/:file_id/face-detections',
|
|
1203
|
+
alias: 'getFaceDetections',
|
|
1202
1204
|
description: `Retrieve face detections for a specific file in a collection. Results are paginated with a default limit of 50 faces per request (maximum 100). Use limit and offset parameters to paginate through all results. This API is only available when the collection is created with collection_type 'face-analysis'`,
|
|
1203
|
-
requestFormat:
|
|
1205
|
+
requestFormat: 'json',
|
|
1204
1206
|
parameters: [
|
|
1205
1207
|
{
|
|
1206
|
-
name:
|
|
1207
|
-
type:
|
|
1208
|
+
name: 'collection_id',
|
|
1209
|
+
type: 'Path',
|
|
1208
1210
|
schema: zod_1.z.string(),
|
|
1209
1211
|
},
|
|
1210
1212
|
{
|
|
1211
|
-
name:
|
|
1212
|
-
type:
|
|
1213
|
+
name: 'file_id',
|
|
1214
|
+
type: 'Path',
|
|
1213
1215
|
schema: zod_1.z.string(),
|
|
1214
1216
|
},
|
|
1215
1217
|
{
|
|
1216
|
-
name:
|
|
1217
|
-
type:
|
|
1218
|
+
name: 'limit',
|
|
1219
|
+
type: 'Query',
|
|
1218
1220
|
schema: zod_1.z.number().int().gte(1).lte(100).optional().default(50),
|
|
1219
1221
|
},
|
|
1220
1222
|
{
|
|
1221
|
-
name:
|
|
1222
|
-
type:
|
|
1223
|
+
name: 'offset',
|
|
1224
|
+
type: 'Query',
|
|
1223
1225
|
schema: zod_1.z.number().int().gte(0).optional().default(0),
|
|
1224
1226
|
},
|
|
1225
1227
|
],
|
|
@@ -1243,7 +1245,7 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
1243
1245
|
],
|
|
1244
1246
|
},
|
|
1245
1247
|
]);
|
|
1246
|
-
exports.CollectionsApi = new core_1.Zodios(
|
|
1248
|
+
exports.CollectionsApi = new core_1.Zodios('https://api.cloudglue.dev/v1', endpoints);
|
|
1247
1249
|
function createApiClient(baseUrl, options) {
|
|
1248
1250
|
return new core_1.Zodios(baseUrl, endpoints, options);
|
|
1249
1251
|
}
|