@aviaryhq/cloudglue-js 0.0.11 → 0.0.12

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/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # CloudGlue JavaScript SDK
2
2
 
3
- Official JavaScript SDK for the CloudGlue API.
3
+ [![NPM Version](https://img.shields.io/npm/v/%40aviaryhq%2Fcloudglue-js)](https://www.npmjs.com/package/@aviaryhq/cloudglue-js)
4
+ [![License](https://img.shields.io/badge/License-ELv2-blue.svg)](LICENSE.md)
5
+ [![Discord](https://img.shields.io/discord/1366541583272382536?logo=discord&label=Discord)](https://discord.gg/QD5KWFVner)
6
+
7
+ CloudGlue makes it easy to turn video into LLM ready data. Official JavaScript SDK for the CloudGlue API.
4
8
 
5
9
  ## 📖 Resources
6
10
 
@@ -48,7 +48,7 @@ export declare const schemas: {
48
48
  relevant_sources: Array<Partial<{
49
49
  text: string;
50
50
  }>>;
51
- visual_description: Array<Partial<{
51
+ visual_scene_description: Array<Partial<{
52
52
  text: string;
53
53
  start_time: number;
54
54
  end_time: number;
@@ -90,7 +90,7 @@ export declare const schemas: {
90
90
  relevant_sources: Array<Partial<{
91
91
  text: string;
92
92
  }>>;
93
- visual_description: Array<Partial<{
93
+ visual_scene_description: Array<Partial<{
94
94
  text: string;
95
95
  start_time: number;
96
96
  end_time: number;
@@ -146,7 +146,7 @@ export declare const ChatApi: import("@zodios/core").ZodiosInstance<[{
146
146
  relevant_sources: Array<Partial<{
147
147
  text: string;
148
148
  }>>;
149
- visual_description: Array<Partial<{
149
+ visual_scene_description: Array<Partial<{
150
150
  text: string;
151
151
  start_time: number;
152
152
  end_time: number;
@@ -188,7 +188,7 @@ export declare const ChatApi: import("@zodios/core").ZodiosInstance<[{
188
188
  relevant_sources: Array<Partial<{
189
189
  text: string;
190
190
  }>>;
191
- visual_description: Array<Partial<{
191
+ visual_scene_description: Array<Partial<{
192
192
  text: string;
193
193
  start_time: number;
194
194
  end_time: number;
@@ -252,16 +252,6 @@ export declare const ChatApi: import("@zodios/core").ZodiosInstance<[{
252
252
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
253
253
  error: z.ZodString;
254
254
  }, z.ZodTypeAny, "passthrough">>;
255
- }, {
256
- status: 509;
257
- description: string;
258
- schema: z.ZodObject<{
259
- error: z.ZodString;
260
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
261
- error: z.ZodString;
262
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
263
- error: z.ZodString;
264
- }, z.ZodTypeAny, "passthrough">>;
265
255
  }];
266
256
  }]>;
267
257
  export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
@@ -295,7 +285,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
295
285
  relevant_sources: Array<Partial<{
296
286
  text: string;
297
287
  }>>;
298
- visual_description: Array<Partial<{
288
+ visual_scene_description: Array<Partial<{
299
289
  text: string;
300
290
  start_time: number;
301
291
  end_time: number;
@@ -337,7 +327,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
337
327
  relevant_sources: Array<Partial<{
338
328
  text: string;
339
329
  }>>;
340
- visual_description: Array<Partial<{
330
+ visual_scene_description: Array<Partial<{
341
331
  text: string;
342
332
  start_time: number;
343
333
  end_time: number;
@@ -401,16 +391,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
401
391
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
402
392
  error: z.ZodString;
403
393
  }, z.ZodTypeAny, "passthrough">>;
404
- }, {
405
- status: 509;
406
- description: string;
407
- schema: z.ZodObject<{
408
- error: z.ZodString;
409
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
410
- error: z.ZodString;
411
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
412
- error: z.ZodString;
413
- }, z.ZodTypeAny, "passthrough">>;
414
394
  }];
415
395
  }]>;
416
396
  export {};
@@ -77,7 +77,7 @@ const ChatCompletionResponse = zod_1.z
77
77
  .partial()
78
78
  .strict()
79
79
  .passthrough()),
80
- visual_description: zod_1.z.array(zod_1.z
80
+ visual_scene_description: zod_1.z.array(zod_1.z
81
81
  .object({
82
82
  text: zod_1.z.string(),
83
83
  start_time: zod_1.z.number(),
@@ -160,7 +160,7 @@ const endpoints = (0, core_1.makeApi)([
160
160
  },
161
161
  {
162
162
  status: 429,
163
- description: `Too many requests`,
163
+ description: `Chat completion limits reached (monthly or daily)`,
164
164
  schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
165
165
  },
166
166
  {
@@ -168,11 +168,6 @@ const endpoints = (0, core_1.makeApi)([
168
168
  description: `An unexpected error occurred on the server`,
169
169
  schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
170
170
  },
171
- {
172
- status: 509,
173
- description: `Chat completion limits reached (monthly or daily)`,
174
- schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
175
- },
176
171
  ],
177
172
  },
178
173
  ]);
@@ -6,11 +6,6 @@ type Collection = {
6
6
  object: "collection";
7
7
  name: string;
8
8
  description?: (string | null) | undefined;
9
- describe_config?: Partial<{
10
- enable_speech: boolean;
11
- enable_scene_text: boolean;
12
- enable_visual_scene_description: boolean;
13
- }> | undefined;
14
9
  extract_config?: Partial<{
15
10
  prompt: string;
16
11
  schema: {};
@@ -30,10 +25,9 @@ type CollectionFile = {
30
25
  file_id: string;
31
26
  object: "collection_file";
32
27
  added_at: number;
33
- status: "pending" | "processing" | "ready" | "completed" | "failed" | "not_applicable";
34
- describe_status?: ("pending" | "processing" | "ready" | "completed" | "failed" | "not_applicable") | undefined;
35
- extract_status?: ("pending" | "processing" | "ready" | "completed" | "failed" | "not_applicable") | undefined;
36
- searchable_status?: ("pending" | "processing" | "ready" | "completed" | "failed" | "not_applicable") | undefined;
28
+ status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
29
+ extract_status?: ("pending" | "processing" | "completed" | "failed" | "not_applicable") | undefined;
30
+ searchable_status?: ("pending" | "processing" | "completed" | "failed" | "not_applicable") | undefined;
37
31
  file?: File | undefined;
38
32
  };
39
33
  type CollectionFileList = {
@@ -55,19 +49,6 @@ export declare const schemas: {
55
49
  NewCollection: z.ZodObject<{
56
50
  name: z.ZodString;
57
51
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
58
- describe_config: z.ZodOptional<z.ZodObject<{
59
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
60
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
61
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
62
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
63
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
64
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
65
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
66
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
67
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
68
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
69
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
70
- }, z.ZodTypeAny, "passthrough">>>;
71
52
  extract_config: z.ZodOptional<z.ZodObject<{
72
53
  prompt: z.ZodOptional<z.ZodString>;
73
54
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -81,19 +62,6 @@ export declare const schemas: {
81
62
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
82
63
  name: z.ZodString;
83
64
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
84
- describe_config: z.ZodOptional<z.ZodObject<{
85
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
86
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
87
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
88
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
89
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
90
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
91
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
92
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
93
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
94
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
95
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
96
- }, z.ZodTypeAny, "passthrough">>>;
97
65
  extract_config: z.ZodOptional<z.ZodObject<{
98
66
  prompt: z.ZodOptional<z.ZodString>;
99
67
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -107,19 +75,6 @@ export declare const schemas: {
107
75
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
108
76
  name: z.ZodString;
109
77
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
110
- describe_config: z.ZodOptional<z.ZodObject<{
111
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
112
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
113
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
114
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
115
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
116
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
117
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
118
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
119
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
120
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
121
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
122
- }, z.ZodTypeAny, "passthrough">>>;
123
78
  extract_config: z.ZodOptional<z.ZodObject<{
124
79
  prompt: z.ZodOptional<z.ZodString>;
125
80
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -708,19 +663,6 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
708
663
  schema: z.ZodObject<{
709
664
  name: z.ZodString;
710
665
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
711
- describe_config: z.ZodOptional<z.ZodObject<{
712
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
713
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
714
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
715
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
716
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
717
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
718
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
719
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
720
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
721
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
722
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
723
- }, z.ZodTypeAny, "passthrough">>>;
724
666
  extract_config: z.ZodOptional<z.ZodObject<{
725
667
  prompt: z.ZodOptional<z.ZodString>;
726
668
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -734,19 +676,6 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
734
676
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
735
677
  name: z.ZodString;
736
678
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
737
- describe_config: z.ZodOptional<z.ZodObject<{
738
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
739
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
740
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
741
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
742
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
743
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
744
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
745
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
746
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
747
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
748
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
749
- }, z.ZodTypeAny, "passthrough">>>;
750
679
  extract_config: z.ZodOptional<z.ZodObject<{
751
680
  prompt: z.ZodOptional<z.ZodString>;
752
681
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -760,19 +689,6 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
760
689
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
761
690
  name: z.ZodString;
762
691
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
763
- describe_config: z.ZodOptional<z.ZodObject<{
764
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
765
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
766
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
767
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
768
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
769
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
770
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
771
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
772
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
773
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
774
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
775
- }, z.ZodTypeAny, "passthrough">>>;
776
692
  extract_config: z.ZodOptional<z.ZodObject<{
777
693
  prompt: z.ZodOptional<z.ZodString>;
778
694
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -826,16 +742,6 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
826
742
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
827
743
  error: z.ZodString;
828
744
  }, z.ZodTypeAny, "passthrough">>;
829
- }, {
830
- status: 509;
831
- description: string;
832
- schema: z.ZodObject<{
833
- error: z.ZodString;
834
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
835
- error: z.ZodString;
836
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
837
- error: z.ZodString;
838
- }, z.ZodTypeAny, "passthrough">>;
839
745
  }];
840
746
  }, {
841
747
  method: "get";
@@ -1022,7 +928,15 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
1022
928
  }, {
1023
929
  name: "status";
1024
930
  type: "Query";
1025
- schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "ready", "completed", "failed", "not_applicable"]>>;
931
+ schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>>;
932
+ }, {
933
+ name: "added_before";
934
+ type: "Query";
935
+ schema: z.ZodOptional<z.ZodString>;
936
+ }, {
937
+ name: "added_after";
938
+ type: "Query";
939
+ schema: z.ZodOptional<z.ZodString>;
1026
940
  }, {
1027
941
  name: "order";
1028
942
  type: "Query";
@@ -1829,19 +1743,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
1829
1743
  schema: z.ZodObject<{
1830
1744
  name: z.ZodString;
1831
1745
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1832
- describe_config: z.ZodOptional<z.ZodObject<{
1833
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1834
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1835
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1836
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1837
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1838
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1839
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1840
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1841
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1842
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1843
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1844
- }, z.ZodTypeAny, "passthrough">>>;
1845
1746
  extract_config: z.ZodOptional<z.ZodObject<{
1846
1747
  prompt: z.ZodOptional<z.ZodString>;
1847
1748
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -1855,19 +1756,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
1855
1756
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1856
1757
  name: z.ZodString;
1857
1758
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1858
- describe_config: z.ZodOptional<z.ZodObject<{
1859
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1860
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1861
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1862
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1863
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1864
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1865
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1866
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1867
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1868
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1869
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1870
- }, z.ZodTypeAny, "passthrough">>>;
1871
1759
  extract_config: z.ZodOptional<z.ZodObject<{
1872
1760
  prompt: z.ZodOptional<z.ZodString>;
1873
1761
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -1881,19 +1769,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
1881
1769
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1882
1770
  name: z.ZodString;
1883
1771
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1884
- describe_config: z.ZodOptional<z.ZodObject<{
1885
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1886
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1887
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1888
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1889
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1890
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1891
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1892
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1893
- enable_speech: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1894
- enable_scene_text: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1895
- enable_visual_scene_description: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1896
- }, z.ZodTypeAny, "passthrough">>>;
1897
1772
  extract_config: z.ZodOptional<z.ZodObject<{
1898
1773
  prompt: z.ZodOptional<z.ZodString>;
1899
1774
  schema: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -1947,16 +1822,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
1947
1822
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1948
1823
  error: z.ZodString;
1949
1824
  }, z.ZodTypeAny, "passthrough">>;
1950
- }, {
1951
- status: 509;
1952
- description: string;
1953
- schema: z.ZodObject<{
1954
- error: z.ZodString;
1955
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1956
- error: z.ZodString;
1957
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1958
- error: z.ZodString;
1959
- }, z.ZodTypeAny, "passthrough">>;
1960
1825
  }];
1961
1826
  }, {
1962
1827
  method: "get";
@@ -2143,7 +2008,15 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2143
2008
  }, {
2144
2009
  name: "status";
2145
2010
  type: "Query";
2146
- schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "ready", "completed", "failed", "not_applicable"]>>;
2011
+ schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>>;
2012
+ }, {
2013
+ name: "added_before";
2014
+ type: "Query";
2015
+ schema: z.ZodOptional<z.ZodString>;
2016
+ }, {
2017
+ name: "added_after";
2018
+ type: "Query";
2019
+ schema: z.ZodOptional<z.ZodString>;
2147
2020
  }, {
2148
2021
  name: "order";
2149
2022
  type: "Query";
@@ -11,16 +11,6 @@ const Collection = zod_1.z
11
11
  object: zod_1.z.literal("collection"),
12
12
  name: zod_1.z.string(),
13
13
  description: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
14
- describe_config: zod_1.z
15
- .object({
16
- enable_speech: zod_1.z.boolean().default(true),
17
- enable_scene_text: zod_1.z.boolean().default(true),
18
- enable_visual_scene_description: zod_1.z.boolean().default(true),
19
- })
20
- .partial()
21
- .strict()
22
- .passthrough()
23
- .optional(),
24
14
  extract_config: zod_1.z
25
15
  .object({
26
16
  prompt: zod_1.z.string(),
@@ -54,40 +44,15 @@ const CollectionFile = zod_1.z
54
44
  status: zod_1.z.enum([
55
45
  "pending",
56
46
  "processing",
57
- "ready",
58
47
  "completed",
59
48
  "failed",
60
49
  "not_applicable",
61
50
  ]),
62
- describe_status: zod_1.z
63
- .enum([
64
- "pending",
65
- "processing",
66
- "ready",
67
- "completed",
68
- "failed",
69
- "not_applicable",
70
- ])
71
- .optional(),
72
51
  extract_status: zod_1.z
73
- .enum([
74
- "pending",
75
- "processing",
76
- "ready",
77
- "completed",
78
- "failed",
79
- "not_applicable",
80
- ])
52
+ .enum(["pending", "processing", "completed", "failed", "not_applicable"])
81
53
  .optional(),
82
54
  searchable_status: zod_1.z
83
- .enum([
84
- "pending",
85
- "processing",
86
- "ready",
87
- "completed",
88
- "failed",
89
- "not_applicable",
90
- ])
55
+ .enum(["pending", "processing", "completed", "failed", "not_applicable"])
91
56
  .optional(),
92
57
  file: common_1.File.optional(),
93
58
  })
@@ -107,16 +72,6 @@ const NewCollection = zod_1.z
107
72
  .object({
108
73
  name: zod_1.z.string(),
109
74
  description: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
110
- describe_config: zod_1.z
111
- .object({
112
- enable_speech: zod_1.z.boolean().default(true),
113
- enable_scene_text: zod_1.z.boolean().default(true),
114
- enable_visual_scene_description: zod_1.z.boolean().default(true),
115
- })
116
- .partial()
117
- .strict()
118
- .passthrough()
119
- .optional(),
120
75
  extract_config: zod_1.z
121
76
  .object({
122
77
  prompt: zod_1.z.string(),
@@ -167,6 +122,7 @@ const FileEntities = zod_1.z
167
122
  })
168
123
  .strict()
169
124
  .passthrough();
125
+ // TODO: Remove this once we have a new endpoint for this setup
170
126
  const FileDescription = zod_1.z
171
127
  .object({
172
128
  collection_id: zod_1.z.string(),
@@ -236,6 +192,7 @@ exports.schemas = {
236
192
  CollectionDelete,
237
193
  CollectionFileDelete,
238
194
  FileEntities,
195
+ // TODO: Remove this once we have a new endpoint for this setup
239
196
  FileDescription,
240
197
  AddYouTubeCollectionFile,
241
198
  };
@@ -268,7 +225,7 @@ const endpoints = (0, core_1.makeApi)([
268
225
  },
269
226
  {
270
227
  status: 429,
271
- description: `Too many requests`,
228
+ description: `Resource limits exceeded (total collections or files per collection)`,
272
229
  schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
273
230
  },
274
231
  {
@@ -276,11 +233,6 @@ const endpoints = (0, core_1.makeApi)([
276
233
  description: `An unexpected error occurred on the server`,
277
234
  schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
278
235
  },
279
- {
280
- status: 509,
281
- description: `Resource limits exceeded (total collections or files per collection)`,
282
- schema: zod_1.z.object({ error: zod_1.z.string() }).strict().passthrough(),
283
- },
284
236
  ],
285
237
  },
286
238
  {
@@ -441,13 +393,22 @@ const endpoints = (0, core_1.makeApi)([
441
393
  .enum([
442
394
  "pending",
443
395
  "processing",
444
- "ready",
445
396
  "completed",
446
397
  "failed",
447
398
  "not_applicable",
448
399
  ])
449
400
  .optional(),
450
401
  },
402
+ {
403
+ name: "added_before",
404
+ type: "Query",
405
+ schema: zod_1.z.string().optional(),
406
+ },
407
+ {
408
+ name: "added_after",
409
+ type: "Query",
410
+ schema: zod_1.z.string().optional(),
411
+ },
451
412
  {
452
413
  name: "order",
453
414
  type: "Query",
@@ -580,6 +541,7 @@ const endpoints = (0, core_1.makeApi)([
580
541
  ],
581
542
  },
582
543
  {
544
+ // TODO: Remove this once we have a new endpoint for this setup
583
545
  method: "get",
584
546
  path: "/collections/:collection_id/videos/:file_id/description",
585
547
  alias: "getDescription",