@aviaryhq/cloudglue-js 0.1.7 → 0.1.8
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 +1 -0
- package/dist/generated/Collections.js +1 -0
- package/dist/generated/Files.d.ts +27 -0
- package/dist/generated/Files.js +1 -0
- package/dist/generated/common.d.ts +4 -0
- package/dist/generated/common.js +1 -0
- package/dist/src/client.d.ts +3 -0
- package/dist/src/client.js +1 -1
- package/package.json +8 -9
|
@@ -44,6 +44,7 @@ type NewCollection = {
|
|
|
44
44
|
enable_visual_scene_description: boolean;
|
|
45
45
|
}> | undefined;
|
|
46
46
|
default_segmentation_config?: SegmentationConfig | undefined;
|
|
47
|
+
default_thumbnails_config?: ThumbnailsConfig | undefined;
|
|
47
48
|
};
|
|
48
49
|
type CollectionList = {
|
|
49
50
|
object: "list";
|
|
@@ -24,12 +24,15 @@ export declare const schemas: {
|
|
|
24
24
|
FileUpload: z.ZodObject<{
|
|
25
25
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
26
26
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
27
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
27
28
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
28
29
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
29
30
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
30
32
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
31
33
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
32
34
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
35
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
33
36
|
}, z.ZodTypeAny, "passthrough">>;
|
|
34
37
|
FileDelete: z.ZodObject<{
|
|
35
38
|
id: z.ZodString;
|
|
@@ -156,12 +159,15 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
156
159
|
schema: z.ZodObject<{
|
|
157
160
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
158
161
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
162
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
159
163
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
160
164
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
161
165
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
166
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
162
167
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
163
168
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
164
169
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
170
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
165
171
|
}, z.ZodTypeAny, "passthrough">>;
|
|
166
172
|
}];
|
|
167
173
|
response: z.ZodObject<{
|
|
@@ -191,6 +197,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
191
197
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
192
198
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
193
199
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
200
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
194
201
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
195
202
|
id: z.ZodString;
|
|
196
203
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -218,6 +225,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
218
225
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
219
226
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
220
227
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
228
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
221
229
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
222
230
|
id: z.ZodString;
|
|
223
231
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -245,6 +253,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
245
253
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
246
254
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
247
255
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
256
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
248
257
|
}, z.ZodTypeAny, "passthrough">>;
|
|
249
258
|
errors: [{
|
|
250
259
|
status: 400;
|
|
@@ -372,6 +381,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
372
381
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
373
382
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
374
383
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
384
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
375
385
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
376
386
|
id: z.ZodString;
|
|
377
387
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -399,6 +409,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
399
409
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
400
410
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
401
411
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
412
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
402
413
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
403
414
|
id: z.ZodString;
|
|
404
415
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -426,6 +437,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
426
437
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
427
438
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
428
439
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
440
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
429
441
|
}, z.ZodTypeAny, "passthrough">>;
|
|
430
442
|
errors: [{
|
|
431
443
|
status: 404;
|
|
@@ -542,6 +554,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
542
554
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
543
555
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
544
556
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
557
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
545
558
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
546
559
|
id: z.ZodString;
|
|
547
560
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -569,6 +582,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
569
582
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
570
583
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
571
584
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
585
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
572
586
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
573
587
|
id: z.ZodString;
|
|
574
588
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -596,6 +610,7 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
596
610
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
597
611
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
598
612
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
613
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
599
614
|
}, z.ZodTypeAny, "passthrough">>;
|
|
600
615
|
errors: [{
|
|
601
616
|
status: 400;
|
|
@@ -1426,12 +1441,15 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1426
1441
|
schema: z.ZodObject<{
|
|
1427
1442
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
1428
1443
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1444
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1429
1445
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1430
1446
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
1431
1447
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1448
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1432
1449
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1433
1450
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
1434
1451
|
metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1452
|
+
enable_segment_thumbnails: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1435
1453
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1436
1454
|
}];
|
|
1437
1455
|
response: z.ZodObject<{
|
|
@@ -1461,6 +1479,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1461
1479
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1462
1480
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1463
1481
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1482
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1464
1483
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1465
1484
|
id: z.ZodString;
|
|
1466
1485
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -1488,6 +1507,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1488
1507
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1489
1508
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1490
1509
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1510
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1491
1511
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1492
1512
|
id: z.ZodString;
|
|
1493
1513
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -1515,6 +1535,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1515
1535
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1516
1536
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1517
1537
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1538
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1518
1539
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1519
1540
|
errors: [{
|
|
1520
1541
|
status: 400;
|
|
@@ -1642,6 +1663,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1642
1663
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1643
1664
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1644
1665
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1666
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1645
1667
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1646
1668
|
id: z.ZodString;
|
|
1647
1669
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -1669,6 +1691,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1669
1691
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1670
1692
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1671
1693
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1694
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1672
1695
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1673
1696
|
id: z.ZodString;
|
|
1674
1697
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -1696,6 +1719,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1696
1719
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1697
1720
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1698
1721
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1722
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1699
1723
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1700
1724
|
errors: [{
|
|
1701
1725
|
status: 404;
|
|
@@ -1812,6 +1836,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1812
1836
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1813
1837
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1814
1838
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1839
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1815
1840
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1816
1841
|
id: z.ZodString;
|
|
1817
1842
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -1839,6 +1864,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1839
1864
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1840
1865
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1841
1866
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1867
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1842
1868
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1843
1869
|
id: z.ZodString;
|
|
1844
1870
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -1866,6 +1892,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1866
1892
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1867
1893
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
1868
1894
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1895
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
1869
1896
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1870
1897
|
errors: [{
|
|
1871
1898
|
status: 400;
|
package/dist/generated/Files.js
CHANGED
|
@@ -30,6 +30,7 @@ const FileUpload = zod_1.z
|
|
|
30
30
|
.object({
|
|
31
31
|
file: zod_1.z.instanceof(File),
|
|
32
32
|
metadata: zod_1.z.object({}).partial().strict().passthrough().optional(),
|
|
33
|
+
enable_segment_thumbnails: zod_1.z.boolean().optional().default(false),
|
|
33
34
|
})
|
|
34
35
|
.strict()
|
|
35
36
|
.passthrough();
|
|
@@ -38,6 +38,7 @@ export type File = {
|
|
|
38
38
|
format: string | null;
|
|
39
39
|
has_audio: boolean | null;
|
|
40
40
|
}> | undefined;
|
|
41
|
+
thumbnail_url?: string | undefined;
|
|
41
42
|
};
|
|
42
43
|
export type Segmentation = {
|
|
43
44
|
segmentation_id: string;
|
|
@@ -505,6 +506,7 @@ export declare const File: z.ZodObject<{
|
|
|
505
506
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
506
507
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
507
508
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
509
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
508
510
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
509
511
|
id: z.ZodString;
|
|
510
512
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -532,6 +534,7 @@ export declare const File: z.ZodObject<{
|
|
|
532
534
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
533
535
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
534
536
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
537
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
535
538
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
536
539
|
id: z.ZodString;
|
|
537
540
|
status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -559,6 +562,7 @@ export declare const File: z.ZodObject<{
|
|
|
559
562
|
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
560
563
|
has_audio: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
561
564
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
565
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
562
566
|
}, z.ZodTypeAny, "passthrough">>;
|
|
563
567
|
export declare const Segmentation: z.ZodObject<{
|
|
564
568
|
segmentation_id: z.ZodString;
|
package/dist/generated/common.js
CHANGED
package/dist/src/client.d.ts
CHANGED
|
@@ -193,6 +193,7 @@ declare class EnhancedFilesApi {
|
|
|
193
193
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNull]>>;
|
|
194
194
|
has_audio: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodNull]>>;
|
|
195
195
|
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
196
|
+
thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
196
197
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
197
198
|
deleteFile(fileId: string): Promise<import("zod").objectOutputType<{
|
|
198
199
|
id: import("zod").ZodString;
|
|
@@ -225,6 +226,7 @@ declare class EnhancedFilesApi {
|
|
|
225
226
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNull]>>;
|
|
226
227
|
has_audio: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodNull]>>;
|
|
227
228
|
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
229
|
+
thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
228
230
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
229
231
|
listFileSegmentations(fileId: string, params?: {
|
|
230
232
|
limit?: number;
|
|
@@ -477,6 +479,7 @@ declare class EnhancedFilesApi {
|
|
|
477
479
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNull]>>;
|
|
478
480
|
has_audio: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodNull]>>;
|
|
479
481
|
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
482
|
+
thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
480
483
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
481
484
|
}
|
|
482
485
|
declare class EnhancedCollectionsApi {
|
package/dist/src/client.js
CHANGED
package/package.json
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aviaryhq/cloudglue-js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Cloudglue API client for Node.js",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"clean": "rimraf dist",
|
|
12
|
-
"generate": "node generate.js",
|
|
13
|
-
"build": "tsc && node scripts/build.js",
|
|
14
|
-
"watch": "tsc --watch",
|
|
15
|
-
"prepare": "npm run build"
|
|
16
|
-
},
|
|
17
10
|
"repository": {
|
|
18
11
|
"type": "git",
|
|
19
12
|
"url": "git+https://github.com/aviaryhq/cloudglue-js.git"
|
|
@@ -42,5 +35,11 @@
|
|
|
42
35
|
},
|
|
43
36
|
"peerDependencies": {
|
|
44
37
|
"@zodios/core": "^10.0.0"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"clean": "rimraf dist",
|
|
41
|
+
"generate": "node generate.js",
|
|
42
|
+
"build": "tsc && node scripts/build.js",
|
|
43
|
+
"watch": "tsc --watch"
|
|
45
44
|
}
|
|
46
|
-
}
|
|
45
|
+
}
|