@aviaryhq/cloudglue-js 0.3.5 → 0.3.6
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 +104 -0
- package/dist/generated/Collections.js +24 -0
- package/dist/generated/Describe.d.ts +17 -0
- package/dist/generated/Describe.js +11 -0
- package/dist/src/client.d.ts +40 -3
- package/dist/src/client.js +22 -7
- package/package.json +9 -11
|
@@ -206,6 +206,7 @@ export declare const schemas: {
|
|
|
206
206
|
content: z.ZodOptional<z.ZodString>;
|
|
207
207
|
title: z.ZodOptional<z.ZodString>;
|
|
208
208
|
summary: z.ZodOptional<z.ZodString>;
|
|
209
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
209
210
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
211
|
speaker: z.ZodOptional<z.ZodString>;
|
|
211
212
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -270,6 +271,7 @@ export declare const schemas: {
|
|
|
270
271
|
content: z.ZodOptional<z.ZodString>;
|
|
271
272
|
title: z.ZodOptional<z.ZodString>;
|
|
272
273
|
summary: z.ZodOptional<z.ZodString>;
|
|
274
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
273
275
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
274
276
|
speaker: z.ZodOptional<z.ZodString>;
|
|
275
277
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -334,6 +336,7 @@ export declare const schemas: {
|
|
|
334
336
|
content: z.ZodOptional<z.ZodString>;
|
|
335
337
|
title: z.ZodOptional<z.ZodString>;
|
|
336
338
|
summary: z.ZodOptional<z.ZodString>;
|
|
339
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
337
340
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
341
|
speaker: z.ZodOptional<z.ZodString>;
|
|
339
342
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -848,6 +851,7 @@ export declare const schemas: {
|
|
|
848
851
|
object: z.ZodLiteral<"list">;
|
|
849
852
|
data: z.ZodArray<z.ZodObject<{
|
|
850
853
|
file_id: z.ZodString;
|
|
854
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
851
855
|
data: z.ZodObject<{
|
|
852
856
|
content: z.ZodOptional<z.ZodString>;
|
|
853
857
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1037,6 +1041,7 @@ export declare const schemas: {
|
|
|
1037
1041
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1038
1042
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1039
1043
|
file_id: z.ZodString;
|
|
1044
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1040
1045
|
data: z.ZodObject<{
|
|
1041
1046
|
content: z.ZodOptional<z.ZodString>;
|
|
1042
1047
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1226,6 +1231,7 @@ export declare const schemas: {
|
|
|
1226
1231
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1227
1232
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1228
1233
|
file_id: z.ZodString;
|
|
1234
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1229
1235
|
data: z.ZodObject<{
|
|
1230
1236
|
content: z.ZodOptional<z.ZodString>;
|
|
1231
1237
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1421,6 +1427,7 @@ export declare const schemas: {
|
|
|
1421
1427
|
object: z.ZodLiteral<"list">;
|
|
1422
1428
|
data: z.ZodArray<z.ZodObject<{
|
|
1423
1429
|
file_id: z.ZodString;
|
|
1430
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1424
1431
|
data: z.ZodObject<{
|
|
1425
1432
|
content: z.ZodOptional<z.ZodString>;
|
|
1426
1433
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1610,6 +1617,7 @@ export declare const schemas: {
|
|
|
1610
1617
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1611
1618
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1612
1619
|
file_id: z.ZodString;
|
|
1620
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1613
1621
|
data: z.ZodObject<{
|
|
1614
1622
|
content: z.ZodOptional<z.ZodString>;
|
|
1615
1623
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1799,6 +1807,7 @@ export declare const schemas: {
|
|
|
1799
1807
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1800
1808
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1801
1809
|
file_id: z.ZodString;
|
|
1810
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1802
1811
|
data: z.ZodObject<{
|
|
1803
1812
|
content: z.ZodOptional<z.ZodString>;
|
|
1804
1813
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1994,6 +2003,7 @@ export declare const schemas: {
|
|
|
1994
2003
|
object: z.ZodLiteral<"list">;
|
|
1995
2004
|
data: z.ZodArray<z.ZodObject<{
|
|
1996
2005
|
file_id: z.ZodString;
|
|
2006
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1997
2007
|
data: z.ZodObject<{
|
|
1998
2008
|
content: z.ZodOptional<z.ZodString>;
|
|
1999
2009
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2183,6 +2193,7 @@ export declare const schemas: {
|
|
|
2183
2193
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2184
2194
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2185
2195
|
file_id: z.ZodString;
|
|
2196
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
2186
2197
|
data: z.ZodObject<{
|
|
2187
2198
|
content: z.ZodOptional<z.ZodString>;
|
|
2188
2199
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2372,6 +2383,7 @@ export declare const schemas: {
|
|
|
2372
2383
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2373
2384
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2374
2385
|
file_id: z.ZodString;
|
|
2386
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
2375
2387
|
data: z.ZodObject<{
|
|
2376
2388
|
content: z.ZodOptional<z.ZodString>;
|
|
2377
2389
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2570,6 +2582,7 @@ export declare const schemas: {
|
|
|
2570
2582
|
file_id: z.ZodString;
|
|
2571
2583
|
added_at: z.ZodNumber;
|
|
2572
2584
|
object: z.ZodLiteral<"collection_file">;
|
|
2585
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
2573
2586
|
data: z.ZodObject<{
|
|
2574
2587
|
content: z.ZodOptional<z.ZodString>;
|
|
2575
2588
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2761,6 +2774,7 @@ export declare const schemas: {
|
|
|
2761
2774
|
file_id: z.ZodString;
|
|
2762
2775
|
added_at: z.ZodNumber;
|
|
2763
2776
|
object: z.ZodLiteral<"collection_file">;
|
|
2777
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
2764
2778
|
data: z.ZodObject<{
|
|
2765
2779
|
content: z.ZodOptional<z.ZodString>;
|
|
2766
2780
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2952,6 +2966,7 @@ export declare const schemas: {
|
|
|
2952
2966
|
file_id: z.ZodString;
|
|
2953
2967
|
added_at: z.ZodNumber;
|
|
2954
2968
|
object: z.ZodLiteral<"collection_file">;
|
|
2969
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
2955
2970
|
data: z.ZodObject<{
|
|
2956
2971
|
content: z.ZodOptional<z.ZodString>;
|
|
2957
2972
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3149,6 +3164,7 @@ export declare const schemas: {
|
|
|
3149
3164
|
file_id: z.ZodString;
|
|
3150
3165
|
added_at: z.ZodNumber;
|
|
3151
3166
|
object: z.ZodLiteral<"collection_file">;
|
|
3167
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
3152
3168
|
data: z.ZodObject<{
|
|
3153
3169
|
content: z.ZodOptional<z.ZodString>;
|
|
3154
3170
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3340,6 +3356,7 @@ export declare const schemas: {
|
|
|
3340
3356
|
file_id: z.ZodString;
|
|
3341
3357
|
added_at: z.ZodNumber;
|
|
3342
3358
|
object: z.ZodLiteral<"collection_file">;
|
|
3359
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
3343
3360
|
data: z.ZodObject<{
|
|
3344
3361
|
content: z.ZodOptional<z.ZodString>;
|
|
3345
3362
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3531,6 +3548,7 @@ export declare const schemas: {
|
|
|
3531
3548
|
file_id: z.ZodString;
|
|
3532
3549
|
added_at: z.ZodNumber;
|
|
3533
3550
|
object: z.ZodLiteral<"collection_file">;
|
|
3551
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
3534
3552
|
data: z.ZodObject<{
|
|
3535
3553
|
content: z.ZodOptional<z.ZodString>;
|
|
3536
3554
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3728,6 +3746,7 @@ export declare const schemas: {
|
|
|
3728
3746
|
file_id: z.ZodString;
|
|
3729
3747
|
added_at: z.ZodNumber;
|
|
3730
3748
|
object: z.ZodLiteral<"collection_file">;
|
|
3749
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
3731
3750
|
data: z.ZodObject<{
|
|
3732
3751
|
content: z.ZodOptional<z.ZodString>;
|
|
3733
3752
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3919,6 +3938,7 @@ export declare const schemas: {
|
|
|
3919
3938
|
file_id: z.ZodString;
|
|
3920
3939
|
added_at: z.ZodNumber;
|
|
3921
3940
|
object: z.ZodLiteral<"collection_file">;
|
|
3941
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
3922
3942
|
data: z.ZodObject<{
|
|
3923
3943
|
content: z.ZodOptional<z.ZodString>;
|
|
3924
3944
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -4110,6 +4130,7 @@ export declare const schemas: {
|
|
|
4110
4130
|
file_id: z.ZodString;
|
|
4111
4131
|
added_at: z.ZodNumber;
|
|
4112
4132
|
object: z.ZodLiteral<"collection_file">;
|
|
4133
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
4113
4134
|
data: z.ZodObject<{
|
|
4114
4135
|
content: z.ZodOptional<z.ZodString>;
|
|
4115
4136
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -4308,6 +4329,7 @@ export declare const schemas: {
|
|
|
4308
4329
|
content: z.ZodOptional<z.ZodString>;
|
|
4309
4330
|
title: z.ZodOptional<z.ZodString>;
|
|
4310
4331
|
summary: z.ZodOptional<z.ZodString>;
|
|
4332
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
4311
4333
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4312
4334
|
speaker: z.ZodOptional<z.ZodString>;
|
|
4313
4335
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -4372,6 +4394,7 @@ export declare const schemas: {
|
|
|
4372
4394
|
content: z.ZodOptional<z.ZodString>;
|
|
4373
4395
|
title: z.ZodOptional<z.ZodString>;
|
|
4374
4396
|
summary: z.ZodOptional<z.ZodString>;
|
|
4397
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
4375
4398
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4376
4399
|
speaker: z.ZodOptional<z.ZodString>;
|
|
4377
4400
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -4436,6 +4459,7 @@ export declare const schemas: {
|
|
|
4436
4459
|
content: z.ZodOptional<z.ZodString>;
|
|
4437
4460
|
title: z.ZodOptional<z.ZodString>;
|
|
4438
4461
|
summary: z.ZodOptional<z.ZodString>;
|
|
4462
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
4439
4463
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4440
4464
|
speaker: z.ZodOptional<z.ZodString>;
|
|
4441
4465
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -5049,6 +5073,14 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
5049
5073
|
name: "response_format";
|
|
5050
5074
|
type: "Query";
|
|
5051
5075
|
schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
5076
|
+
}, {
|
|
5077
|
+
name: "start_time_seconds";
|
|
5078
|
+
type: "Query";
|
|
5079
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
5080
|
+
}, {
|
|
5081
|
+
name: "end_time_seconds";
|
|
5082
|
+
type: "Query";
|
|
5083
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
5052
5084
|
}];
|
|
5053
5085
|
response: z.ZodObject<{
|
|
5054
5086
|
collection_id: z.ZodString;
|
|
@@ -5056,6 +5088,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
5056
5088
|
content: z.ZodOptional<z.ZodString>;
|
|
5057
5089
|
title: z.ZodOptional<z.ZodString>;
|
|
5058
5090
|
summary: z.ZodOptional<z.ZodString>;
|
|
5091
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
5059
5092
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5060
5093
|
speaker: z.ZodOptional<z.ZodString>;
|
|
5061
5094
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -5120,6 +5153,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
5120
5153
|
content: z.ZodOptional<z.ZodString>;
|
|
5121
5154
|
title: z.ZodOptional<z.ZodString>;
|
|
5122
5155
|
summary: z.ZodOptional<z.ZodString>;
|
|
5156
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
5123
5157
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5124
5158
|
speaker: z.ZodOptional<z.ZodString>;
|
|
5125
5159
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -5184,6 +5218,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
5184
5218
|
content: z.ZodOptional<z.ZodString>;
|
|
5185
5219
|
title: z.ZodOptional<z.ZodString>;
|
|
5186
5220
|
summary: z.ZodOptional<z.ZodString>;
|
|
5221
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
5187
5222
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5188
5223
|
speaker: z.ZodOptional<z.ZodString>;
|
|
5189
5224
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -5834,6 +5869,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
5834
5869
|
object: z.ZodLiteral<"list">;
|
|
5835
5870
|
data: z.ZodArray<z.ZodObject<{
|
|
5836
5871
|
file_id: z.ZodString;
|
|
5872
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
5837
5873
|
data: z.ZodObject<{
|
|
5838
5874
|
content: z.ZodOptional<z.ZodString>;
|
|
5839
5875
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6023,6 +6059,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
6023
6059
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6024
6060
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6025
6061
|
file_id: z.ZodString;
|
|
6062
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
6026
6063
|
data: z.ZodObject<{
|
|
6027
6064
|
content: z.ZodOptional<z.ZodString>;
|
|
6028
6065
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6212,6 +6249,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
6212
6249
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6213
6250
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6214
6251
|
file_id: z.ZodString;
|
|
6252
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
6215
6253
|
data: z.ZodObject<{
|
|
6216
6254
|
content: z.ZodOptional<z.ZodString>;
|
|
6217
6255
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6407,6 +6445,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
6407
6445
|
object: z.ZodLiteral<"list">;
|
|
6408
6446
|
data: z.ZodArray<z.ZodObject<{
|
|
6409
6447
|
file_id: z.ZodString;
|
|
6448
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
6410
6449
|
data: z.ZodObject<{
|
|
6411
6450
|
content: z.ZodOptional<z.ZodString>;
|
|
6412
6451
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6596,6 +6635,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
6596
6635
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6597
6636
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6598
6637
|
file_id: z.ZodString;
|
|
6638
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
6599
6639
|
data: z.ZodObject<{
|
|
6600
6640
|
content: z.ZodOptional<z.ZodString>;
|
|
6601
6641
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6785,6 +6825,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
6785
6825
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6786
6826
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6787
6827
|
file_id: z.ZodString;
|
|
6828
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
6788
6829
|
data: z.ZodObject<{
|
|
6789
6830
|
content: z.ZodOptional<z.ZodString>;
|
|
6790
6831
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6980,6 +7021,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
6980
7021
|
object: z.ZodLiteral<"list">;
|
|
6981
7022
|
data: z.ZodArray<z.ZodObject<{
|
|
6982
7023
|
file_id: z.ZodString;
|
|
7024
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
6983
7025
|
data: z.ZodObject<{
|
|
6984
7026
|
content: z.ZodOptional<z.ZodString>;
|
|
6985
7027
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -7169,6 +7211,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
7169
7211
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7170
7212
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7171
7213
|
file_id: z.ZodString;
|
|
7214
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
7172
7215
|
data: z.ZodObject<{
|
|
7173
7216
|
content: z.ZodOptional<z.ZodString>;
|
|
7174
7217
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -7358,6 +7401,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
7358
7401
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7359
7402
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7360
7403
|
file_id: z.ZodString;
|
|
7404
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
7361
7405
|
data: z.ZodObject<{
|
|
7362
7406
|
content: z.ZodOptional<z.ZodString>;
|
|
7363
7407
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -7626,6 +7670,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
7626
7670
|
file_id: z.ZodString;
|
|
7627
7671
|
added_at: z.ZodNumber;
|
|
7628
7672
|
object: z.ZodLiteral<"collection_file">;
|
|
7673
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
7629
7674
|
data: z.ZodObject<{
|
|
7630
7675
|
content: z.ZodOptional<z.ZodString>;
|
|
7631
7676
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -7817,6 +7862,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
7817
7862
|
file_id: z.ZodString;
|
|
7818
7863
|
added_at: z.ZodNumber;
|
|
7819
7864
|
object: z.ZodLiteral<"collection_file">;
|
|
7865
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
7820
7866
|
data: z.ZodObject<{
|
|
7821
7867
|
content: z.ZodOptional<z.ZodString>;
|
|
7822
7868
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -8008,6 +8054,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
8008
8054
|
file_id: z.ZodString;
|
|
8009
8055
|
added_at: z.ZodNumber;
|
|
8010
8056
|
object: z.ZodLiteral<"collection_file">;
|
|
8057
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
8011
8058
|
data: z.ZodObject<{
|
|
8012
8059
|
content: z.ZodOptional<z.ZodString>;
|
|
8013
8060
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -8205,6 +8252,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
8205
8252
|
file_id: z.ZodString;
|
|
8206
8253
|
added_at: z.ZodNumber;
|
|
8207
8254
|
object: z.ZodLiteral<"collection_file">;
|
|
8255
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
8208
8256
|
data: z.ZodObject<{
|
|
8209
8257
|
content: z.ZodOptional<z.ZodString>;
|
|
8210
8258
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -8396,6 +8444,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
8396
8444
|
file_id: z.ZodString;
|
|
8397
8445
|
added_at: z.ZodNumber;
|
|
8398
8446
|
object: z.ZodLiteral<"collection_file">;
|
|
8447
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
8399
8448
|
data: z.ZodObject<{
|
|
8400
8449
|
content: z.ZodOptional<z.ZodString>;
|
|
8401
8450
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -8587,6 +8636,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
8587
8636
|
file_id: z.ZodString;
|
|
8588
8637
|
added_at: z.ZodNumber;
|
|
8589
8638
|
object: z.ZodLiteral<"collection_file">;
|
|
8639
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
8590
8640
|
data: z.ZodObject<{
|
|
8591
8641
|
content: z.ZodOptional<z.ZodString>;
|
|
8592
8642
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -8784,6 +8834,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
8784
8834
|
file_id: z.ZodString;
|
|
8785
8835
|
added_at: z.ZodNumber;
|
|
8786
8836
|
object: z.ZodLiteral<"collection_file">;
|
|
8837
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
8787
8838
|
data: z.ZodObject<{
|
|
8788
8839
|
content: z.ZodOptional<z.ZodString>;
|
|
8789
8840
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -8975,6 +9026,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
8975
9026
|
file_id: z.ZodString;
|
|
8976
9027
|
added_at: z.ZodNumber;
|
|
8977
9028
|
object: z.ZodLiteral<"collection_file">;
|
|
9029
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
8978
9030
|
data: z.ZodObject<{
|
|
8979
9031
|
content: z.ZodOptional<z.ZodString>;
|
|
8980
9032
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -9166,6 +9218,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
9166
9218
|
file_id: z.ZodString;
|
|
9167
9219
|
added_at: z.ZodNumber;
|
|
9168
9220
|
object: z.ZodLiteral<"collection_file">;
|
|
9221
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
9169
9222
|
data: z.ZodObject<{
|
|
9170
9223
|
content: z.ZodOptional<z.ZodString>;
|
|
9171
9224
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -9407,6 +9460,14 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
9407
9460
|
name: "response_format";
|
|
9408
9461
|
type: "Query";
|
|
9409
9462
|
schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
9463
|
+
}, {
|
|
9464
|
+
name: "start_time_seconds";
|
|
9465
|
+
type: "Query";
|
|
9466
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
9467
|
+
}, {
|
|
9468
|
+
name: "end_time_seconds";
|
|
9469
|
+
type: "Query";
|
|
9470
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
9410
9471
|
}];
|
|
9411
9472
|
response: z.ZodObject<{
|
|
9412
9473
|
collection_id: z.ZodString;
|
|
@@ -9414,6 +9475,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
9414
9475
|
content: z.ZodOptional<z.ZodString>;
|
|
9415
9476
|
title: z.ZodOptional<z.ZodString>;
|
|
9416
9477
|
summary: z.ZodOptional<z.ZodString>;
|
|
9478
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
9417
9479
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9418
9480
|
speaker: z.ZodOptional<z.ZodString>;
|
|
9419
9481
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -9478,6 +9540,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
9478
9540
|
content: z.ZodOptional<z.ZodString>;
|
|
9479
9541
|
title: z.ZodOptional<z.ZodString>;
|
|
9480
9542
|
summary: z.ZodOptional<z.ZodString>;
|
|
9543
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
9481
9544
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9482
9545
|
speaker: z.ZodOptional<z.ZodString>;
|
|
9483
9546
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -9542,6 +9605,7 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
9542
9605
|
content: z.ZodOptional<z.ZodString>;
|
|
9543
9606
|
title: z.ZodOptional<z.ZodString>;
|
|
9544
9607
|
summary: z.ZodOptional<z.ZodString>;
|
|
9608
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
9545
9609
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9546
9610
|
speaker: z.ZodOptional<z.ZodString>;
|
|
9547
9611
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -10186,6 +10250,14 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
10186
10250
|
name: "response_format";
|
|
10187
10251
|
type: "Query";
|
|
10188
10252
|
schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
10253
|
+
}, {
|
|
10254
|
+
name: "start_time_seconds";
|
|
10255
|
+
type: "Query";
|
|
10256
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
10257
|
+
}, {
|
|
10258
|
+
name: "end_time_seconds";
|
|
10259
|
+
type: "Query";
|
|
10260
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
10189
10261
|
}];
|
|
10190
10262
|
response: z.ZodObject<{
|
|
10191
10263
|
collection_id: z.ZodString;
|
|
@@ -10193,6 +10265,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
10193
10265
|
content: z.ZodOptional<z.ZodString>;
|
|
10194
10266
|
title: z.ZodOptional<z.ZodString>;
|
|
10195
10267
|
summary: z.ZodOptional<z.ZodString>;
|
|
10268
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
10196
10269
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10197
10270
|
speaker: z.ZodOptional<z.ZodString>;
|
|
10198
10271
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -10257,6 +10330,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
10257
10330
|
content: z.ZodOptional<z.ZodString>;
|
|
10258
10331
|
title: z.ZodOptional<z.ZodString>;
|
|
10259
10332
|
summary: z.ZodOptional<z.ZodString>;
|
|
10333
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
10260
10334
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10261
10335
|
speaker: z.ZodOptional<z.ZodString>;
|
|
10262
10336
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -10321,6 +10395,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
10321
10395
|
content: z.ZodOptional<z.ZodString>;
|
|
10322
10396
|
title: z.ZodOptional<z.ZodString>;
|
|
10323
10397
|
summary: z.ZodOptional<z.ZodString>;
|
|
10398
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
10324
10399
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10325
10400
|
speaker: z.ZodOptional<z.ZodString>;
|
|
10326
10401
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -10971,6 +11046,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
10971
11046
|
object: z.ZodLiteral<"list">;
|
|
10972
11047
|
data: z.ZodArray<z.ZodObject<{
|
|
10973
11048
|
file_id: z.ZodString;
|
|
11049
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
10974
11050
|
data: z.ZodObject<{
|
|
10975
11051
|
content: z.ZodOptional<z.ZodString>;
|
|
10976
11052
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -11160,6 +11236,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
11160
11236
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11161
11237
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11162
11238
|
file_id: z.ZodString;
|
|
11239
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11163
11240
|
data: z.ZodObject<{
|
|
11164
11241
|
content: z.ZodOptional<z.ZodString>;
|
|
11165
11242
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -11349,6 +11426,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
11349
11426
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11350
11427
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11351
11428
|
file_id: z.ZodString;
|
|
11429
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11352
11430
|
data: z.ZodObject<{
|
|
11353
11431
|
content: z.ZodOptional<z.ZodString>;
|
|
11354
11432
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -11544,6 +11622,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
11544
11622
|
object: z.ZodLiteral<"list">;
|
|
11545
11623
|
data: z.ZodArray<z.ZodObject<{
|
|
11546
11624
|
file_id: z.ZodString;
|
|
11625
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11547
11626
|
data: z.ZodObject<{
|
|
11548
11627
|
content: z.ZodOptional<z.ZodString>;
|
|
11549
11628
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -11733,6 +11812,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
11733
11812
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11734
11813
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11735
11814
|
file_id: z.ZodString;
|
|
11815
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11736
11816
|
data: z.ZodObject<{
|
|
11737
11817
|
content: z.ZodOptional<z.ZodString>;
|
|
11738
11818
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -11922,6 +12002,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
11922
12002
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11923
12003
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11924
12004
|
file_id: z.ZodString;
|
|
12005
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11925
12006
|
data: z.ZodObject<{
|
|
11926
12007
|
content: z.ZodOptional<z.ZodString>;
|
|
11927
12008
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -12117,6 +12198,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
12117
12198
|
object: z.ZodLiteral<"list">;
|
|
12118
12199
|
data: z.ZodArray<z.ZodObject<{
|
|
12119
12200
|
file_id: z.ZodString;
|
|
12201
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
12120
12202
|
data: z.ZodObject<{
|
|
12121
12203
|
content: z.ZodOptional<z.ZodString>;
|
|
12122
12204
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -12306,6 +12388,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
12306
12388
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12307
12389
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12308
12390
|
file_id: z.ZodString;
|
|
12391
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
12309
12392
|
data: z.ZodObject<{
|
|
12310
12393
|
content: z.ZodOptional<z.ZodString>;
|
|
12311
12394
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -12495,6 +12578,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
12495
12578
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12496
12579
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12497
12580
|
file_id: z.ZodString;
|
|
12581
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
12498
12582
|
data: z.ZodObject<{
|
|
12499
12583
|
content: z.ZodOptional<z.ZodString>;
|
|
12500
12584
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -12763,6 +12847,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
12763
12847
|
file_id: z.ZodString;
|
|
12764
12848
|
added_at: z.ZodNumber;
|
|
12765
12849
|
object: z.ZodLiteral<"collection_file">;
|
|
12850
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
12766
12851
|
data: z.ZodObject<{
|
|
12767
12852
|
content: z.ZodOptional<z.ZodString>;
|
|
12768
12853
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -12954,6 +13039,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
12954
13039
|
file_id: z.ZodString;
|
|
12955
13040
|
added_at: z.ZodNumber;
|
|
12956
13041
|
object: z.ZodLiteral<"collection_file">;
|
|
13042
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
12957
13043
|
data: z.ZodObject<{
|
|
12958
13044
|
content: z.ZodOptional<z.ZodString>;
|
|
12959
13045
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -13145,6 +13231,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
13145
13231
|
file_id: z.ZodString;
|
|
13146
13232
|
added_at: z.ZodNumber;
|
|
13147
13233
|
object: z.ZodLiteral<"collection_file">;
|
|
13234
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
13148
13235
|
data: z.ZodObject<{
|
|
13149
13236
|
content: z.ZodOptional<z.ZodString>;
|
|
13150
13237
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -13342,6 +13429,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
13342
13429
|
file_id: z.ZodString;
|
|
13343
13430
|
added_at: z.ZodNumber;
|
|
13344
13431
|
object: z.ZodLiteral<"collection_file">;
|
|
13432
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
13345
13433
|
data: z.ZodObject<{
|
|
13346
13434
|
content: z.ZodOptional<z.ZodString>;
|
|
13347
13435
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -13533,6 +13621,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
13533
13621
|
file_id: z.ZodString;
|
|
13534
13622
|
added_at: z.ZodNumber;
|
|
13535
13623
|
object: z.ZodLiteral<"collection_file">;
|
|
13624
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
13536
13625
|
data: z.ZodObject<{
|
|
13537
13626
|
content: z.ZodOptional<z.ZodString>;
|
|
13538
13627
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -13724,6 +13813,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
13724
13813
|
file_id: z.ZodString;
|
|
13725
13814
|
added_at: z.ZodNumber;
|
|
13726
13815
|
object: z.ZodLiteral<"collection_file">;
|
|
13816
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
13727
13817
|
data: z.ZodObject<{
|
|
13728
13818
|
content: z.ZodOptional<z.ZodString>;
|
|
13729
13819
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -13921,6 +14011,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
13921
14011
|
file_id: z.ZodString;
|
|
13922
14012
|
added_at: z.ZodNumber;
|
|
13923
14013
|
object: z.ZodLiteral<"collection_file">;
|
|
14014
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
13924
14015
|
data: z.ZodObject<{
|
|
13925
14016
|
content: z.ZodOptional<z.ZodString>;
|
|
13926
14017
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -14112,6 +14203,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
14112
14203
|
file_id: z.ZodString;
|
|
14113
14204
|
added_at: z.ZodNumber;
|
|
14114
14205
|
object: z.ZodLiteral<"collection_file">;
|
|
14206
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
14115
14207
|
data: z.ZodObject<{
|
|
14116
14208
|
content: z.ZodOptional<z.ZodString>;
|
|
14117
14209
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -14303,6 +14395,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
14303
14395
|
file_id: z.ZodString;
|
|
14304
14396
|
added_at: z.ZodNumber;
|
|
14305
14397
|
object: z.ZodLiteral<"collection_file">;
|
|
14398
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
14306
14399
|
data: z.ZodObject<{
|
|
14307
14400
|
content: z.ZodOptional<z.ZodString>;
|
|
14308
14401
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -14544,6 +14637,14 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
14544
14637
|
name: "response_format";
|
|
14545
14638
|
type: "Query";
|
|
14546
14639
|
schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
14640
|
+
}, {
|
|
14641
|
+
name: "start_time_seconds";
|
|
14642
|
+
type: "Query";
|
|
14643
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
14644
|
+
}, {
|
|
14645
|
+
name: "end_time_seconds";
|
|
14646
|
+
type: "Query";
|
|
14647
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
14547
14648
|
}];
|
|
14548
14649
|
response: z.ZodObject<{
|
|
14549
14650
|
collection_id: z.ZodString;
|
|
@@ -14551,6 +14652,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
14551
14652
|
content: z.ZodOptional<z.ZodString>;
|
|
14552
14653
|
title: z.ZodOptional<z.ZodString>;
|
|
14553
14654
|
summary: z.ZodOptional<z.ZodString>;
|
|
14655
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
14554
14656
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14555
14657
|
speaker: z.ZodOptional<z.ZodString>;
|
|
14556
14658
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -14615,6 +14717,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
14615
14717
|
content: z.ZodOptional<z.ZodString>;
|
|
14616
14718
|
title: z.ZodOptional<z.ZodString>;
|
|
14617
14719
|
summary: z.ZodOptional<z.ZodString>;
|
|
14720
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
14618
14721
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14619
14722
|
speaker: z.ZodOptional<z.ZodString>;
|
|
14620
14723
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -14679,6 +14782,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
14679
14782
|
content: z.ZodOptional<z.ZodString>;
|
|
14680
14783
|
title: z.ZodOptional<z.ZodString>;
|
|
14681
14784
|
summary: z.ZodOptional<z.ZodString>;
|
|
14785
|
+
duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
14682
14786
|
speech: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14683
14787
|
speaker: z.ZodOptional<z.ZodString>;
|
|
14684
14788
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -214,6 +214,7 @@ const RichTranscript = zod_1.z
|
|
|
214
214
|
content: zod_1.z.string().optional(),
|
|
215
215
|
title: zod_1.z.string().optional(),
|
|
216
216
|
summary: zod_1.z.string().optional(),
|
|
217
|
+
duration_seconds: zod_1.z.number().optional(),
|
|
217
218
|
speech: zod_1.z
|
|
218
219
|
.array(zod_1.z
|
|
219
220
|
.object({
|
|
@@ -301,6 +302,7 @@ const CollectionRichTranscriptsList = zod_1.z
|
|
|
301
302
|
data: zod_1.z.array(zod_1.z
|
|
302
303
|
.object({
|
|
303
304
|
file_id: zod_1.z.string(),
|
|
305
|
+
duration_seconds: zod_1.z.number().optional(),
|
|
304
306
|
data: zod_1.z
|
|
305
307
|
.object({
|
|
306
308
|
content: zod_1.z.string(),
|
|
@@ -365,6 +367,7 @@ const CollectionMediaDescriptionsList = zod_1.z
|
|
|
365
367
|
file_id: zod_1.z.string(),
|
|
366
368
|
added_at: zod_1.z.number().int(),
|
|
367
369
|
object: zod_1.z.literal("collection_file"),
|
|
370
|
+
duration_seconds: zod_1.z.number().optional(),
|
|
368
371
|
data: zod_1.z
|
|
369
372
|
.object({
|
|
370
373
|
content: zod_1.z.string(),
|
|
@@ -428,6 +431,7 @@ const MediaDescription = zod_1.z
|
|
|
428
431
|
content: zod_1.z.string().optional(),
|
|
429
432
|
title: zod_1.z.string().optional(),
|
|
430
433
|
summary: zod_1.z.string().optional(),
|
|
434
|
+
duration_seconds: zod_1.z.number().optional(),
|
|
431
435
|
speech: zod_1.z
|
|
432
436
|
.array(zod_1.z
|
|
433
437
|
.object({
|
|
@@ -910,6 +914,16 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
910
914
|
type: "Query",
|
|
911
915
|
schema: zod_1.z.enum(["json", "markdown"]).optional().default("json"),
|
|
912
916
|
},
|
|
917
|
+
{
|
|
918
|
+
name: "start_time_seconds",
|
|
919
|
+
type: "Query",
|
|
920
|
+
schema: zod_1.z.number().optional(),
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
name: "end_time_seconds",
|
|
924
|
+
type: "Query",
|
|
925
|
+
schema: zod_1.z.number().optional(),
|
|
926
|
+
},
|
|
913
927
|
],
|
|
914
928
|
response: RichTranscript,
|
|
915
929
|
errors: [
|
|
@@ -1148,6 +1162,16 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
1148
1162
|
type: "Query",
|
|
1149
1163
|
schema: zod_1.z.enum(["json", "markdown"]).optional().default("json"),
|
|
1150
1164
|
},
|
|
1165
|
+
{
|
|
1166
|
+
name: "start_time_seconds",
|
|
1167
|
+
type: "Query",
|
|
1168
|
+
schema: zod_1.z.number().optional(),
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
name: "end_time_seconds",
|
|
1172
|
+
type: "Query",
|
|
1173
|
+
schema: zod_1.z.number().optional(),
|
|
1174
|
+
},
|
|
1151
1175
|
],
|
|
1152
1176
|
response: MediaDescription,
|
|
1153
1177
|
errors: [
|
|
@@ -6,6 +6,7 @@ type Describe = {
|
|
|
6
6
|
job_id: string;
|
|
7
7
|
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
8
8
|
url?: string | undefined;
|
|
9
|
+
duration_seconds?: number | undefined;
|
|
9
10
|
created_at?: number | undefined;
|
|
10
11
|
describe_config?: Partial<{
|
|
11
12
|
enable_summary: boolean;
|
|
@@ -189,6 +190,14 @@ export declare const DescribeApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
189
190
|
name: "response_format";
|
|
190
191
|
type: "Query";
|
|
191
192
|
schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
193
|
+
}, {
|
|
194
|
+
name: "start_time_seconds";
|
|
195
|
+
type: "Query";
|
|
196
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
}, {
|
|
198
|
+
name: "end_time_seconds";
|
|
199
|
+
type: "Query";
|
|
200
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
192
201
|
}];
|
|
193
202
|
response: z.ZodType<Describe, z.ZodTypeDef, Describe>;
|
|
194
203
|
errors: [{
|
|
@@ -338,6 +347,14 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
338
347
|
name: "response_format";
|
|
339
348
|
type: "Query";
|
|
340
349
|
schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
350
|
+
}, {
|
|
351
|
+
name: "start_time_seconds";
|
|
352
|
+
type: "Query";
|
|
353
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
}, {
|
|
355
|
+
name: "end_time_seconds";
|
|
356
|
+
type: "Query";
|
|
357
|
+
schema: z.ZodOptional<z.ZodNumber>;
|
|
341
358
|
}];
|
|
342
359
|
response: z.ZodType<Describe, z.ZodTypeDef, Describe>;
|
|
343
360
|
errors: [{
|
|
@@ -29,6 +29,7 @@ const Describe = zod_1.z
|
|
|
29
29
|
"not_applicable",
|
|
30
30
|
]),
|
|
31
31
|
url: zod_1.z.string().optional(),
|
|
32
|
+
duration_seconds: zod_1.z.number().optional(),
|
|
32
33
|
created_at: zod_1.z.number().int().optional(),
|
|
33
34
|
describe_config: zod_1.z
|
|
34
35
|
.object({
|
|
@@ -228,6 +229,16 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
228
229
|
type: "Query",
|
|
229
230
|
schema: zod_1.z.enum(["json", "markdown"]).optional().default("json"),
|
|
230
231
|
},
|
|
232
|
+
{
|
|
233
|
+
name: "start_time_seconds",
|
|
234
|
+
type: "Query",
|
|
235
|
+
schema: zod_1.z.number().optional(),
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: "end_time_seconds",
|
|
239
|
+
type: "Query",
|
|
240
|
+
schema: zod_1.z.number().optional(),
|
|
241
|
+
},
|
|
231
242
|
],
|
|
232
243
|
response: Describe,
|
|
233
244
|
errors: [
|
package/dist/src/client.d.ts
CHANGED
|
@@ -180,7 +180,7 @@ declare class EnhancedFilesApi {
|
|
|
180
180
|
limit: number;
|
|
181
181
|
offset: number;
|
|
182
182
|
}>;
|
|
183
|
-
uploadFile(params: UploadFileParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
183
|
+
uploadFile(params: UploadFileParams): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
184
184
|
getFile(fileId: string): Promise<import("zod").objectOutputType<{
|
|
185
185
|
id: import("zod").ZodString;
|
|
186
186
|
status: import("zod").ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
|
|
@@ -863,12 +863,19 @@ declare class EnhancedCollectionsApi {
|
|
|
863
863
|
limit: import("zod").ZodNumber;
|
|
864
864
|
offset: import("zod").ZodNumber;
|
|
865
865
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
866
|
-
getTranscripts(collectionId: string, fileId: string,
|
|
866
|
+
getTranscripts(collectionId: string, fileId: string, options?: {
|
|
867
|
+
limit?: number;
|
|
868
|
+
offset?: number;
|
|
869
|
+
response_format?: "markdown" | "json";
|
|
870
|
+
start_time_seconds?: number;
|
|
871
|
+
end_time_seconds?: number;
|
|
872
|
+
}): Promise<import("zod").objectOutputType<{
|
|
867
873
|
collection_id: import("zod").ZodString;
|
|
868
874
|
file_id: import("zod").ZodString;
|
|
869
875
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
870
876
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
871
877
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
878
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
872
879
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
873
880
|
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
874
881
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1083,6 +1090,7 @@ declare class EnhancedCollectionsApi {
|
|
|
1083
1090
|
object: import("zod").ZodLiteral<"list">;
|
|
1084
1091
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1085
1092
|
file_id: import("zod").ZodString;
|
|
1093
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1086
1094
|
data: import("zod").ZodObject<{
|
|
1087
1095
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1088
1096
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1272,6 +1280,7 @@ declare class EnhancedCollectionsApi {
|
|
|
1272
1280
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1273
1281
|
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1274
1282
|
file_id: import("zod").ZodString;
|
|
1283
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1275
1284
|
data: import("zod").ZodObject<{
|
|
1276
1285
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1277
1286
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1461,6 +1470,7 @@ declare class EnhancedCollectionsApi {
|
|
|
1461
1470
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1462
1471
|
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1463
1472
|
file_id: import("zod").ZodString;
|
|
1473
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1464
1474
|
data: import("zod").ZodObject<{
|
|
1465
1475
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1466
1476
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1653,12 +1663,17 @@ declare class EnhancedCollectionsApi {
|
|
|
1653
1663
|
limit: import("zod").ZodNumber;
|
|
1654
1664
|
offset: import("zod").ZodNumber;
|
|
1655
1665
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
1656
|
-
getMediaDescriptions(collectionId: string, fileId: string,
|
|
1666
|
+
getMediaDescriptions(collectionId: string, fileId: string, options?: {
|
|
1667
|
+
response_format?: "markdown" | "json";
|
|
1668
|
+
start_time_seconds?: number;
|
|
1669
|
+
end_time_seconds?: number;
|
|
1670
|
+
}): Promise<import("zod").objectOutputType<{
|
|
1657
1671
|
collection_id: import("zod").ZodString;
|
|
1658
1672
|
file_id: import("zod").ZodString;
|
|
1659
1673
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1660
1674
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1661
1675
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1676
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1662
1677
|
speech: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1663
1678
|
speaker: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1664
1679
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1724,6 +1739,7 @@ declare class EnhancedCollectionsApi {
|
|
|
1724
1739
|
file_id: import("zod").ZodString;
|
|
1725
1740
|
added_at: import("zod").ZodNumber;
|
|
1726
1741
|
object: import("zod").ZodLiteral<"collection_file">;
|
|
1742
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1727
1743
|
data: import("zod").ZodObject<{
|
|
1728
1744
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1729
1745
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1915,6 +1931,7 @@ declare class EnhancedCollectionsApi {
|
|
|
1915
1931
|
file_id: import("zod").ZodString;
|
|
1916
1932
|
added_at: import("zod").ZodNumber;
|
|
1917
1933
|
object: import("zod").ZodLiteral<"collection_file">;
|
|
1934
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1918
1935
|
data: import("zod").ZodObject<{
|
|
1919
1936
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1920
1937
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2106,6 +2123,7 @@ declare class EnhancedCollectionsApi {
|
|
|
2106
2123
|
file_id: import("zod").ZodString;
|
|
2107
2124
|
added_at: import("zod").ZodNumber;
|
|
2108
2125
|
object: import("zod").ZodLiteral<"collection_file">;
|
|
2126
|
+
duration_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2109
2127
|
data: import("zod").ZodObject<{
|
|
2110
2128
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2111
2129
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2374,9 +2392,15 @@ declare class EnhancedChatApi {
|
|
|
2374
2392
|
}>;
|
|
2375
2393
|
}>>;
|
|
2376
2394
|
}
|
|
2395
|
+
/**
|
|
2396
|
+
* @deprecated
|
|
2397
|
+
*/
|
|
2377
2398
|
declare class EnhancedTranscribeApi {
|
|
2378
2399
|
private readonly api;
|
|
2379
2400
|
constructor(api: typeof TranscribeApi);
|
|
2401
|
+
/**
|
|
2402
|
+
* @deprecated use createDescribe instead
|
|
2403
|
+
*/
|
|
2380
2404
|
createTranscribe(url: string, options?: {
|
|
2381
2405
|
enable_summary?: boolean;
|
|
2382
2406
|
enable_speech?: boolean;
|
|
@@ -2425,6 +2449,9 @@ declare class EnhancedTranscribeApi {
|
|
|
2425
2449
|
}> | undefined;
|
|
2426
2450
|
error?: string | undefined;
|
|
2427
2451
|
}>;
|
|
2452
|
+
/**
|
|
2453
|
+
* @deprecated use getDescribe instead
|
|
2454
|
+
*/
|
|
2428
2455
|
getTranscribe(jobId: string, options?: {
|
|
2429
2456
|
response_format?: "json" | "markdown";
|
|
2430
2457
|
}): Promise<{
|
|
@@ -2467,6 +2494,9 @@ declare class EnhancedTranscribeApi {
|
|
|
2467
2494
|
}> | undefined;
|
|
2468
2495
|
error?: string | undefined;
|
|
2469
2496
|
}>;
|
|
2497
|
+
/**
|
|
2498
|
+
* @deprecated use listDescribes instead
|
|
2499
|
+
*/
|
|
2470
2500
|
listTranscribes(params?: {
|
|
2471
2501
|
limit?: number;
|
|
2472
2502
|
offset?: number;
|
|
@@ -2528,6 +2558,7 @@ declare class EnhancedTranscribeApi {
|
|
|
2528
2558
|
* @param options - Optional configuration for polling behavior and response format
|
|
2529
2559
|
* @returns The final transcription job object
|
|
2530
2560
|
* @throws {CloudGlueError} If the job fails to process or maxAttempts is reached
|
|
2561
|
+
* @deprecated
|
|
2531
2562
|
*/
|
|
2532
2563
|
waitForReady(jobId: string, options?: WaitForReadyOptions & {
|
|
2533
2564
|
response_format?: "json" | "markdown";
|
|
@@ -2973,6 +3004,7 @@ declare class EnhancedDescribeApi {
|
|
|
2973
3004
|
job_id: string;
|
|
2974
3005
|
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
2975
3006
|
url?: string | undefined;
|
|
3007
|
+
duration_seconds?: number | undefined;
|
|
2976
3008
|
created_at?: number | undefined;
|
|
2977
3009
|
describe_config?: Partial<{
|
|
2978
3010
|
enable_summary: boolean;
|
|
@@ -3011,10 +3043,13 @@ declare class EnhancedDescribeApi {
|
|
|
3011
3043
|
}>;
|
|
3012
3044
|
getDescribe(jobId: string, options?: {
|
|
3013
3045
|
response_format?: "json" | "markdown";
|
|
3046
|
+
start_time_seconds?: number;
|
|
3047
|
+
end_time_seconds?: number;
|
|
3014
3048
|
}): Promise<{
|
|
3015
3049
|
job_id: string;
|
|
3016
3050
|
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
3017
3051
|
url?: string | undefined;
|
|
3052
|
+
duration_seconds?: number | undefined;
|
|
3018
3053
|
created_at?: number | undefined;
|
|
3019
3054
|
describe_config?: Partial<{
|
|
3020
3055
|
enable_summary: boolean;
|
|
@@ -3065,6 +3100,7 @@ declare class EnhancedDescribeApi {
|
|
|
3065
3100
|
job_id: string;
|
|
3066
3101
|
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
3067
3102
|
url?: string | undefined;
|
|
3103
|
+
duration_seconds?: number | undefined;
|
|
3068
3104
|
created_at?: number | undefined;
|
|
3069
3105
|
describe_config?: Partial<{
|
|
3070
3106
|
enable_summary: boolean;
|
|
@@ -3119,6 +3155,7 @@ declare class EnhancedDescribeApi {
|
|
|
3119
3155
|
job_id: string;
|
|
3120
3156
|
status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
|
|
3121
3157
|
url?: string | undefined;
|
|
3158
|
+
duration_seconds?: number | undefined;
|
|
3122
3159
|
created_at?: number | undefined;
|
|
3123
3160
|
describe_config?: Partial<{
|
|
3124
3161
|
enable_summary: boolean;
|
package/dist/src/client.js
CHANGED
|
@@ -194,10 +194,10 @@ class EnhancedCollectionsApi {
|
|
|
194
194
|
queries: params
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
|
-
async getTranscripts(collectionId, fileId,
|
|
197
|
+
async getTranscripts(collectionId, fileId, options = {}) {
|
|
198
198
|
return this.api.getTranscripts({
|
|
199
199
|
params: { collection_id: collectionId, file_id: fileId },
|
|
200
|
-
queries: {
|
|
200
|
+
queries: { ...options },
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
203
|
async listEntities(collectionId, params = {}) {
|
|
@@ -212,10 +212,10 @@ class EnhancedCollectionsApi {
|
|
|
212
212
|
queries: params,
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
|
-
async getMediaDescriptions(collectionId, fileId,
|
|
215
|
+
async getMediaDescriptions(collectionId, fileId, options = {}) {
|
|
216
216
|
return this.api.getMediaDescriptions({
|
|
217
217
|
params: { collection_id: collectionId, file_id: fileId },
|
|
218
|
-
queries: {
|
|
218
|
+
queries: { ...options },
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
async listMediaDescriptions(collectionId, params = {}) {
|
|
@@ -264,22 +264,34 @@ class EnhancedChatApi {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* @deprecated
|
|
269
|
+
*/
|
|
267
270
|
class EnhancedTranscribeApi {
|
|
268
271
|
constructor(api) {
|
|
269
272
|
this.api = api;
|
|
270
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* @deprecated use createDescribe instead
|
|
276
|
+
*/
|
|
271
277
|
async createTranscribe(url, options = {}) {
|
|
272
278
|
return this.api.createTranscribe({
|
|
273
279
|
url,
|
|
274
280
|
...options,
|
|
275
281
|
});
|
|
276
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* @deprecated use getDescribe instead
|
|
285
|
+
*/
|
|
277
286
|
async getTranscribe(jobId, options = {}) {
|
|
278
287
|
return this.api.getTranscribe({
|
|
279
288
|
params: { job_id: jobId },
|
|
280
289
|
queries: { response_format: options.response_format },
|
|
281
290
|
});
|
|
282
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* @deprecated use listDescribes instead
|
|
294
|
+
*/
|
|
283
295
|
async listTranscribes(params = {}) {
|
|
284
296
|
return this.api.listTranscribes({ queries: params });
|
|
285
297
|
}
|
|
@@ -291,6 +303,7 @@ class EnhancedTranscribeApi {
|
|
|
291
303
|
* @param options - Optional configuration for polling behavior and response format
|
|
292
304
|
* @returns The final transcription job object
|
|
293
305
|
* @throws {CloudGlueError} If the job fails to process or maxAttempts is reached
|
|
306
|
+
* @deprecated
|
|
294
307
|
*/
|
|
295
308
|
async waitForReady(jobId, options = {}) {
|
|
296
309
|
const { pollingInterval = 5000, maxAttempts = 36, response_format, } = options;
|
|
@@ -404,10 +417,12 @@ class EnhancedDescribeApi {
|
|
|
404
417
|
...options,
|
|
405
418
|
});
|
|
406
419
|
}
|
|
407
|
-
async getDescribe(jobId, options = {
|
|
420
|
+
async getDescribe(jobId, options = {
|
|
421
|
+
response_format: "json",
|
|
422
|
+
}) {
|
|
408
423
|
return this.api.getDescribe({
|
|
409
424
|
params: { job_id: jobId },
|
|
410
|
-
queries: {
|
|
425
|
+
queries: { ...options },
|
|
411
426
|
});
|
|
412
427
|
}
|
|
413
428
|
async listDescribes(params = {}) {
|
|
@@ -610,7 +625,7 @@ class CloudGlue {
|
|
|
610
625
|
headers: {
|
|
611
626
|
Authorization: `Bearer ${this.apiKey}`,
|
|
612
627
|
'x-sdk-client': 'cloudglue-js',
|
|
613
|
-
'x-sdk-version': '0.3.
|
|
628
|
+
'x-sdk-version': '0.3.6',
|
|
614
629
|
},
|
|
615
630
|
baseURL: this.baseUrl,
|
|
616
631
|
timeout: this.timeout,
|
package/package.json
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aviaryhq/cloudglue-js",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
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
|
-
"prepublishOnly": "npm run build",
|
|
17
|
-
"release": "npm run build && npm publish"
|
|
18
|
-
},
|
|
19
10
|
"repository": {
|
|
20
11
|
"type": "git",
|
|
21
12
|
"url": "git+https://github.com/aviaryhq/cloudglue-js.git"
|
|
@@ -44,5 +35,12 @@
|
|
|
44
35
|
},
|
|
45
36
|
"peerDependencies": {
|
|
46
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",
|
|
44
|
+
"release": "npm run build && npm publish"
|
|
47
45
|
}
|
|
48
|
-
}
|
|
46
|
+
}
|