@aviaryhq/cloudglue-js 0.4.12 → 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.
@@ -0,0 +1,660 @@
1
+ import { type ZodiosOptions } from '@zodios/core';
2
+ import { z } from 'zod';
3
+ export declare const schemas: {
4
+ CreateVideoTagRequest: z.ZodObject<{
5
+ label: z.ZodString;
6
+ value: z.ZodString;
7
+ file_id: z.ZodString;
8
+ segment_id: z.ZodOptional<z.ZodString>;
9
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10
+ label: z.ZodString;
11
+ value: z.ZodString;
12
+ file_id: z.ZodString;
13
+ segment_id: z.ZodOptional<z.ZodString>;
14
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15
+ label: z.ZodString;
16
+ value: z.ZodString;
17
+ file_id: z.ZodString;
18
+ segment_id: z.ZodOptional<z.ZodString>;
19
+ }, z.ZodTypeAny, "passthrough">>;
20
+ UpdateVideoTagRequest: z.ZodObject<{
21
+ label: z.ZodOptional<z.ZodString>;
22
+ value: z.ZodOptional<z.ZodString>;
23
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24
+ label: z.ZodOptional<z.ZodString>;
25
+ value: z.ZodOptional<z.ZodString>;
26
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
27
+ label: z.ZodOptional<z.ZodString>;
28
+ value: z.ZodOptional<z.ZodString>;
29
+ }, z.ZodTypeAny, "passthrough">>;
30
+ };
31
+ export declare const TagsApi: import("@zodios/core").ZodiosInstance<[{
32
+ method: "post";
33
+ path: "/tags";
34
+ alias: "createTag";
35
+ description: "Create a new tag";
36
+ requestFormat: "json";
37
+ parameters: [{
38
+ name: "body";
39
+ description: string;
40
+ type: "Body";
41
+ schema: z.ZodObject<{
42
+ label: z.ZodString;
43
+ value: z.ZodString;
44
+ file_id: z.ZodString;
45
+ segment_id: z.ZodOptional<z.ZodString>;
46
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47
+ label: z.ZodString;
48
+ value: z.ZodString;
49
+ file_id: z.ZodString;
50
+ segment_id: z.ZodOptional<z.ZodString>;
51
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
52
+ label: z.ZodString;
53
+ value: z.ZodString;
54
+ file_id: z.ZodString;
55
+ segment_id: z.ZodOptional<z.ZodString>;
56
+ }, z.ZodTypeAny, "passthrough">>;
57
+ }];
58
+ response: z.ZodObject<{
59
+ id: z.ZodString;
60
+ label: z.ZodString;
61
+ value: z.ZodString;
62
+ type: z.ZodEnum<["file", "segment"]>;
63
+ file_id: z.ZodString;
64
+ segment_id: z.ZodOptional<z.ZodString>;
65
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
66
+ id: z.ZodString;
67
+ label: z.ZodString;
68
+ value: z.ZodString;
69
+ type: z.ZodEnum<["file", "segment"]>;
70
+ file_id: z.ZodString;
71
+ segment_id: z.ZodOptional<z.ZodString>;
72
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
73
+ id: z.ZodString;
74
+ label: z.ZodString;
75
+ value: z.ZodString;
76
+ type: z.ZodEnum<["file", "segment"]>;
77
+ file_id: z.ZodString;
78
+ segment_id: z.ZodOptional<z.ZodString>;
79
+ }, z.ZodTypeAny, "passthrough">>;
80
+ errors: [{
81
+ status: 400;
82
+ description: string;
83
+ schema: z.ZodObject<{
84
+ error: z.ZodString;
85
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
86
+ error: z.ZodString;
87
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
88
+ error: z.ZodString;
89
+ }, z.ZodTypeAny, "passthrough">>;
90
+ }, {
91
+ status: 404;
92
+ description: string;
93
+ schema: z.ZodObject<{
94
+ error: z.ZodString;
95
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
96
+ error: z.ZodString;
97
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98
+ error: z.ZodString;
99
+ }, z.ZodTypeAny, "passthrough">>;
100
+ }, {
101
+ status: 429;
102
+ description: string;
103
+ schema: z.ZodObject<{
104
+ error: z.ZodString;
105
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
106
+ error: z.ZodString;
107
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
108
+ error: z.ZodString;
109
+ }, z.ZodTypeAny, "passthrough">>;
110
+ }, {
111
+ status: 500;
112
+ description: string;
113
+ schema: z.ZodObject<{
114
+ error: z.ZodString;
115
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116
+ error: z.ZodString;
117
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
118
+ error: z.ZodString;
119
+ }, z.ZodTypeAny, "passthrough">>;
120
+ }];
121
+ }, {
122
+ method: "get";
123
+ path: "/tags";
124
+ alias: "listTags";
125
+ description: "List all tags";
126
+ requestFormat: "json";
127
+ parameters: [{
128
+ name: "type";
129
+ type: "Query";
130
+ schema: z.ZodOptional<z.ZodEnum<["file", "segment"]>>;
131
+ }, {
132
+ name: "limit";
133
+ type: "Query";
134
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
135
+ }, {
136
+ name: "offset";
137
+ type: "Query";
138
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
139
+ }];
140
+ response: z.ZodIntersection<z.ZodObject<{
141
+ object: z.ZodLiteral<"list">;
142
+ total: z.ZodNumber;
143
+ limit: z.ZodNumber;
144
+ offset: z.ZodNumber;
145
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
146
+ object: z.ZodLiteral<"list">;
147
+ total: z.ZodNumber;
148
+ limit: z.ZodNumber;
149
+ offset: z.ZodNumber;
150
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
151
+ object: z.ZodLiteral<"list">;
152
+ total: z.ZodNumber;
153
+ limit: z.ZodNumber;
154
+ offset: z.ZodNumber;
155
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
156
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
+ id: z.ZodString;
158
+ label: z.ZodString;
159
+ value: z.ZodString;
160
+ type: z.ZodEnum<["file", "segment"]>;
161
+ file_id: z.ZodString;
162
+ segment_id: z.ZodOptional<z.ZodString>;
163
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
164
+ id: z.ZodString;
165
+ label: z.ZodString;
166
+ value: z.ZodString;
167
+ type: z.ZodEnum<["file", "segment"]>;
168
+ file_id: z.ZodString;
169
+ segment_id: z.ZodOptional<z.ZodString>;
170
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
171
+ id: z.ZodString;
172
+ label: z.ZodString;
173
+ value: z.ZodString;
174
+ type: z.ZodEnum<["file", "segment"]>;
175
+ file_id: z.ZodString;
176
+ segment_id: z.ZodOptional<z.ZodString>;
177
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
178
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
179
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
180
+ id: z.ZodString;
181
+ label: z.ZodString;
182
+ value: z.ZodString;
183
+ type: z.ZodEnum<["file", "segment"]>;
184
+ file_id: z.ZodString;
185
+ segment_id: z.ZodOptional<z.ZodString>;
186
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
187
+ id: z.ZodString;
188
+ label: z.ZodString;
189
+ value: z.ZodString;
190
+ type: z.ZodEnum<["file", "segment"]>;
191
+ file_id: z.ZodString;
192
+ segment_id: z.ZodOptional<z.ZodString>;
193
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
194
+ id: z.ZodString;
195
+ label: z.ZodString;
196
+ value: z.ZodString;
197
+ type: z.ZodEnum<["file", "segment"]>;
198
+ file_id: z.ZodString;
199
+ segment_id: z.ZodOptional<z.ZodString>;
200
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
201
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
202
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
+ id: z.ZodString;
204
+ label: z.ZodString;
205
+ value: z.ZodString;
206
+ type: z.ZodEnum<["file", "segment"]>;
207
+ file_id: z.ZodString;
208
+ segment_id: z.ZodOptional<z.ZodString>;
209
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
210
+ id: z.ZodString;
211
+ label: z.ZodString;
212
+ value: z.ZodString;
213
+ type: z.ZodEnum<["file", "segment"]>;
214
+ file_id: z.ZodString;
215
+ segment_id: z.ZodOptional<z.ZodString>;
216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
217
+ id: z.ZodString;
218
+ label: z.ZodString;
219
+ value: z.ZodString;
220
+ type: z.ZodEnum<["file", "segment"]>;
221
+ file_id: z.ZodString;
222
+ segment_id: z.ZodOptional<z.ZodString>;
223
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
224
+ }, z.ZodTypeAny, "passthrough">>>;
225
+ }, {
226
+ method: "get";
227
+ path: "/tags/:tag_id";
228
+ alias: "getTag";
229
+ description: "Get a tag";
230
+ requestFormat: "json";
231
+ parameters: [{
232
+ name: "tag_id";
233
+ type: "Path";
234
+ schema: z.ZodString;
235
+ }];
236
+ response: z.ZodObject<{
237
+ id: z.ZodString;
238
+ label: z.ZodString;
239
+ value: z.ZodString;
240
+ type: z.ZodEnum<["file", "segment"]>;
241
+ file_id: z.ZodString;
242
+ segment_id: z.ZodOptional<z.ZodString>;
243
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
244
+ id: z.ZodString;
245
+ label: z.ZodString;
246
+ value: z.ZodString;
247
+ type: z.ZodEnum<["file", "segment"]>;
248
+ file_id: z.ZodString;
249
+ segment_id: z.ZodOptional<z.ZodString>;
250
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
251
+ id: z.ZodString;
252
+ label: z.ZodString;
253
+ value: z.ZodString;
254
+ type: z.ZodEnum<["file", "segment"]>;
255
+ file_id: z.ZodString;
256
+ segment_id: z.ZodOptional<z.ZodString>;
257
+ }, z.ZodTypeAny, "passthrough">>;
258
+ errors: [{
259
+ status: 404;
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: "delete";
271
+ path: "/tags/:tag_id";
272
+ alias: "deleteTag";
273
+ description: "Delete a tag";
274
+ requestFormat: "json";
275
+ parameters: [{
276
+ name: "tag_id";
277
+ type: "Path";
278
+ schema: z.ZodString;
279
+ }];
280
+ response: z.ZodObject<{
281
+ id: z.ZodString;
282
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
283
+ id: z.ZodString;
284
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
285
+ id: z.ZodString;
286
+ }, z.ZodTypeAny, "passthrough">>;
287
+ errors: [{
288
+ status: 404;
289
+ description: string;
290
+ schema: z.ZodObject<{
291
+ error: z.ZodString;
292
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
293
+ error: z.ZodString;
294
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
295
+ error: z.ZodString;
296
+ }, z.ZodTypeAny, "passthrough">>;
297
+ }];
298
+ }, {
299
+ method: "put";
300
+ path: "/tags/:tag_id";
301
+ alias: "updateTag";
302
+ description: "Update a tag";
303
+ requestFormat: "json";
304
+ parameters: [{
305
+ name: "body";
306
+ description: string;
307
+ type: "Body";
308
+ schema: z.ZodObject<{
309
+ label: z.ZodOptional<z.ZodString>;
310
+ value: z.ZodOptional<z.ZodString>;
311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
312
+ label: z.ZodOptional<z.ZodString>;
313
+ value: z.ZodOptional<z.ZodString>;
314
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
315
+ label: z.ZodOptional<z.ZodString>;
316
+ value: z.ZodOptional<z.ZodString>;
317
+ }, z.ZodTypeAny, "passthrough">>;
318
+ }, {
319
+ name: "tag_id";
320
+ type: "Path";
321
+ schema: z.ZodString;
322
+ }];
323
+ response: z.ZodObject<{
324
+ id: z.ZodString;
325
+ label: z.ZodString;
326
+ value: z.ZodString;
327
+ type: z.ZodEnum<["file", "segment"]>;
328
+ file_id: z.ZodString;
329
+ segment_id: z.ZodOptional<z.ZodString>;
330
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
331
+ id: z.ZodString;
332
+ label: z.ZodString;
333
+ value: z.ZodString;
334
+ type: z.ZodEnum<["file", "segment"]>;
335
+ file_id: z.ZodString;
336
+ segment_id: z.ZodOptional<z.ZodString>;
337
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
338
+ id: z.ZodString;
339
+ label: z.ZodString;
340
+ value: z.ZodString;
341
+ type: z.ZodEnum<["file", "segment"]>;
342
+ file_id: z.ZodString;
343
+ segment_id: z.ZodOptional<z.ZodString>;
344
+ }, z.ZodTypeAny, "passthrough">>;
345
+ }]>;
346
+ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
347
+ method: "post";
348
+ path: "/tags";
349
+ alias: "createTag";
350
+ description: "Create a new tag";
351
+ requestFormat: "json";
352
+ parameters: [{
353
+ name: "body";
354
+ description: string;
355
+ type: "Body";
356
+ schema: z.ZodObject<{
357
+ label: z.ZodString;
358
+ value: z.ZodString;
359
+ file_id: z.ZodString;
360
+ segment_id: z.ZodOptional<z.ZodString>;
361
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
362
+ label: z.ZodString;
363
+ value: z.ZodString;
364
+ file_id: z.ZodString;
365
+ segment_id: z.ZodOptional<z.ZodString>;
366
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
367
+ label: z.ZodString;
368
+ value: z.ZodString;
369
+ file_id: z.ZodString;
370
+ segment_id: z.ZodOptional<z.ZodString>;
371
+ }, z.ZodTypeAny, "passthrough">>;
372
+ }];
373
+ response: z.ZodObject<{
374
+ id: z.ZodString;
375
+ label: z.ZodString;
376
+ value: z.ZodString;
377
+ type: z.ZodEnum<["file", "segment"]>;
378
+ file_id: z.ZodString;
379
+ segment_id: z.ZodOptional<z.ZodString>;
380
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
381
+ id: z.ZodString;
382
+ label: z.ZodString;
383
+ value: z.ZodString;
384
+ type: z.ZodEnum<["file", "segment"]>;
385
+ file_id: z.ZodString;
386
+ segment_id: z.ZodOptional<z.ZodString>;
387
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
388
+ id: z.ZodString;
389
+ label: z.ZodString;
390
+ value: z.ZodString;
391
+ type: z.ZodEnum<["file", "segment"]>;
392
+ file_id: z.ZodString;
393
+ segment_id: z.ZodOptional<z.ZodString>;
394
+ }, z.ZodTypeAny, "passthrough">>;
395
+ errors: [{
396
+ status: 400;
397
+ description: string;
398
+ schema: z.ZodObject<{
399
+ error: z.ZodString;
400
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
401
+ error: z.ZodString;
402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
403
+ error: z.ZodString;
404
+ }, z.ZodTypeAny, "passthrough">>;
405
+ }, {
406
+ status: 404;
407
+ description: string;
408
+ schema: z.ZodObject<{
409
+ error: z.ZodString;
410
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
411
+ error: z.ZodString;
412
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
413
+ error: z.ZodString;
414
+ }, z.ZodTypeAny, "passthrough">>;
415
+ }, {
416
+ status: 429;
417
+ description: string;
418
+ schema: z.ZodObject<{
419
+ error: z.ZodString;
420
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
421
+ error: z.ZodString;
422
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
423
+ error: z.ZodString;
424
+ }, z.ZodTypeAny, "passthrough">>;
425
+ }, {
426
+ status: 500;
427
+ description: string;
428
+ schema: z.ZodObject<{
429
+ error: z.ZodString;
430
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
431
+ error: z.ZodString;
432
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
433
+ error: z.ZodString;
434
+ }, z.ZodTypeAny, "passthrough">>;
435
+ }];
436
+ }, {
437
+ method: "get";
438
+ path: "/tags";
439
+ alias: "listTags";
440
+ description: "List all tags";
441
+ requestFormat: "json";
442
+ parameters: [{
443
+ name: "type";
444
+ type: "Query";
445
+ schema: z.ZodOptional<z.ZodEnum<["file", "segment"]>>;
446
+ }, {
447
+ name: "limit";
448
+ type: "Query";
449
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
450
+ }, {
451
+ name: "offset";
452
+ type: "Query";
453
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
454
+ }];
455
+ response: z.ZodIntersection<z.ZodObject<{
456
+ object: z.ZodLiteral<"list">;
457
+ total: z.ZodNumber;
458
+ limit: z.ZodNumber;
459
+ offset: z.ZodNumber;
460
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
461
+ object: z.ZodLiteral<"list">;
462
+ total: z.ZodNumber;
463
+ limit: z.ZodNumber;
464
+ offset: z.ZodNumber;
465
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
466
+ object: z.ZodLiteral<"list">;
467
+ total: z.ZodNumber;
468
+ limit: z.ZodNumber;
469
+ offset: z.ZodNumber;
470
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
471
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
472
+ id: z.ZodString;
473
+ label: z.ZodString;
474
+ value: z.ZodString;
475
+ type: z.ZodEnum<["file", "segment"]>;
476
+ file_id: z.ZodString;
477
+ segment_id: z.ZodOptional<z.ZodString>;
478
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
479
+ id: z.ZodString;
480
+ label: z.ZodString;
481
+ value: z.ZodString;
482
+ type: z.ZodEnum<["file", "segment"]>;
483
+ file_id: z.ZodString;
484
+ segment_id: z.ZodOptional<z.ZodString>;
485
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
486
+ id: z.ZodString;
487
+ label: z.ZodString;
488
+ value: z.ZodString;
489
+ type: z.ZodEnum<["file", "segment"]>;
490
+ file_id: z.ZodString;
491
+ segment_id: z.ZodOptional<z.ZodString>;
492
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
493
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
494
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
+ id: z.ZodString;
496
+ label: z.ZodString;
497
+ value: z.ZodString;
498
+ type: z.ZodEnum<["file", "segment"]>;
499
+ file_id: z.ZodString;
500
+ segment_id: z.ZodOptional<z.ZodString>;
501
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
502
+ id: z.ZodString;
503
+ label: z.ZodString;
504
+ value: z.ZodString;
505
+ type: z.ZodEnum<["file", "segment"]>;
506
+ file_id: z.ZodString;
507
+ segment_id: z.ZodOptional<z.ZodString>;
508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
509
+ id: z.ZodString;
510
+ label: z.ZodString;
511
+ value: z.ZodString;
512
+ type: z.ZodEnum<["file", "segment"]>;
513
+ file_id: z.ZodString;
514
+ segment_id: z.ZodOptional<z.ZodString>;
515
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
516
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
517
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
518
+ id: z.ZodString;
519
+ label: z.ZodString;
520
+ value: z.ZodString;
521
+ type: z.ZodEnum<["file", "segment"]>;
522
+ file_id: z.ZodString;
523
+ segment_id: z.ZodOptional<z.ZodString>;
524
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
525
+ id: z.ZodString;
526
+ label: z.ZodString;
527
+ value: z.ZodString;
528
+ type: z.ZodEnum<["file", "segment"]>;
529
+ file_id: z.ZodString;
530
+ segment_id: z.ZodOptional<z.ZodString>;
531
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
532
+ id: z.ZodString;
533
+ label: z.ZodString;
534
+ value: z.ZodString;
535
+ type: z.ZodEnum<["file", "segment"]>;
536
+ file_id: z.ZodString;
537
+ segment_id: z.ZodOptional<z.ZodString>;
538
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
539
+ }, z.ZodTypeAny, "passthrough">>>;
540
+ }, {
541
+ method: "get";
542
+ path: "/tags/:tag_id";
543
+ alias: "getTag";
544
+ description: "Get a tag";
545
+ requestFormat: "json";
546
+ parameters: [{
547
+ name: "tag_id";
548
+ type: "Path";
549
+ schema: z.ZodString;
550
+ }];
551
+ response: z.ZodObject<{
552
+ id: z.ZodString;
553
+ label: z.ZodString;
554
+ value: z.ZodString;
555
+ type: z.ZodEnum<["file", "segment"]>;
556
+ file_id: z.ZodString;
557
+ segment_id: z.ZodOptional<z.ZodString>;
558
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
559
+ id: z.ZodString;
560
+ label: z.ZodString;
561
+ value: z.ZodString;
562
+ type: z.ZodEnum<["file", "segment"]>;
563
+ file_id: z.ZodString;
564
+ segment_id: z.ZodOptional<z.ZodString>;
565
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
566
+ id: z.ZodString;
567
+ label: z.ZodString;
568
+ value: z.ZodString;
569
+ type: z.ZodEnum<["file", "segment"]>;
570
+ file_id: z.ZodString;
571
+ segment_id: z.ZodOptional<z.ZodString>;
572
+ }, z.ZodTypeAny, "passthrough">>;
573
+ errors: [{
574
+ status: 404;
575
+ description: string;
576
+ schema: z.ZodObject<{
577
+ error: z.ZodString;
578
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
579
+ error: z.ZodString;
580
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
581
+ error: z.ZodString;
582
+ }, z.ZodTypeAny, "passthrough">>;
583
+ }];
584
+ }, {
585
+ method: "delete";
586
+ path: "/tags/:tag_id";
587
+ alias: "deleteTag";
588
+ description: "Delete a tag";
589
+ requestFormat: "json";
590
+ parameters: [{
591
+ name: "tag_id";
592
+ type: "Path";
593
+ schema: z.ZodString;
594
+ }];
595
+ response: z.ZodObject<{
596
+ id: z.ZodString;
597
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
598
+ id: z.ZodString;
599
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
600
+ id: z.ZodString;
601
+ }, z.ZodTypeAny, "passthrough">>;
602
+ errors: [{
603
+ status: 404;
604
+ description: string;
605
+ schema: z.ZodObject<{
606
+ error: z.ZodString;
607
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
608
+ error: z.ZodString;
609
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
610
+ error: z.ZodString;
611
+ }, z.ZodTypeAny, "passthrough">>;
612
+ }];
613
+ }, {
614
+ method: "put";
615
+ path: "/tags/:tag_id";
616
+ alias: "updateTag";
617
+ description: "Update a tag";
618
+ requestFormat: "json";
619
+ parameters: [{
620
+ name: "body";
621
+ description: string;
622
+ type: "Body";
623
+ schema: z.ZodObject<{
624
+ label: z.ZodOptional<z.ZodString>;
625
+ value: z.ZodOptional<z.ZodString>;
626
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
627
+ label: z.ZodOptional<z.ZodString>;
628
+ value: z.ZodOptional<z.ZodString>;
629
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
630
+ label: z.ZodOptional<z.ZodString>;
631
+ value: z.ZodOptional<z.ZodString>;
632
+ }, z.ZodTypeAny, "passthrough">>;
633
+ }, {
634
+ name: "tag_id";
635
+ type: "Path";
636
+ schema: z.ZodString;
637
+ }];
638
+ response: z.ZodObject<{
639
+ id: z.ZodString;
640
+ label: z.ZodString;
641
+ value: z.ZodString;
642
+ type: z.ZodEnum<["file", "segment"]>;
643
+ file_id: z.ZodString;
644
+ segment_id: z.ZodOptional<z.ZodString>;
645
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
646
+ id: z.ZodString;
647
+ label: z.ZodString;
648
+ value: z.ZodString;
649
+ type: z.ZodEnum<["file", "segment"]>;
650
+ file_id: z.ZodString;
651
+ segment_id: z.ZodOptional<z.ZodString>;
652
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
653
+ id: z.ZodString;
654
+ label: z.ZodString;
655
+ value: z.ZodString;
656
+ type: z.ZodEnum<["file", "segment"]>;
657
+ file_id: z.ZodString;
658
+ segment_id: z.ZodOptional<z.ZodString>;
659
+ }, z.ZodTypeAny, "passthrough">>;
660
+ }]>;