@aviaryhq/cloudglue-js 0.3.5 → 0.3.7

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.
@@ -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: [
@@ -13,6 +13,7 @@ type Extract = {
13
13
  enable_video_level_entities: boolean;
14
14
  enable_segment_level_entities: boolean;
15
15
  }> | undefined;
16
+ segmentation_id?: string | undefined;
16
17
  data?: Partial<{
17
18
  entities: {};
18
19
  segment_entities: Array<Partial<{
@@ -21,6 +22,9 @@ type Extract = {
21
22
  entities: {};
22
23
  }>>;
23
24
  }> | undefined;
25
+ total?: number | undefined;
26
+ limit?: number | undefined;
27
+ offset?: number | undefined;
24
28
  error?: string | undefined;
25
29
  };
26
30
  type NewExtract = {
@@ -177,12 +181,20 @@ export declare const ExtractApi: import("@zodios/core").ZodiosInstance<[{
177
181
  method: "get";
178
182
  path: "/extract/:job_id";
179
183
  alias: "getExtract";
180
- description: "Retrieve the current state of an extraction job";
184
+ description: "Retrieve the current state of an extraction job. Results are paginated with a default limit of 50 segment entities per request (maximum 100). Use limit and offset parameters to paginate through all segment entities.";
181
185
  requestFormat: "json";
182
186
  parameters: [{
183
187
  name: "job_id";
184
188
  type: "Path";
185
189
  schema: z.ZodString;
190
+ }, {
191
+ name: "limit";
192
+ type: "Query";
193
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
194
+ }, {
195
+ name: "offset";
196
+ type: "Query";
197
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
186
198
  }];
187
199
  response: z.ZodType<Extract, z.ZodTypeDef, Extract>;
188
200
  errors: [{
@@ -338,12 +350,20 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
338
350
  method: "get";
339
351
  path: "/extract/:job_id";
340
352
  alias: "getExtract";
341
- description: "Retrieve the current state of an extraction job";
353
+ description: "Retrieve the current state of an extraction job. Results are paginated with a default limit of 50 segment entities per request (maximum 100). Use limit and offset parameters to paginate through all segment entities.";
342
354
  requestFormat: "json";
343
355
  parameters: [{
344
356
  name: "job_id";
345
357
  type: "Path";
346
358
  schema: z.ZodString;
359
+ }, {
360
+ name: "limit";
361
+ type: "Query";
362
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
363
+ }, {
364
+ name: "offset";
365
+ type: "Query";
366
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
347
367
  }];
348
368
  response: z.ZodType<Extract, z.ZodTypeDef, Extract>;
349
369
  errors: [{
@@ -29,6 +29,7 @@ const Extract = zod_1.z
29
29
  .strict()
30
30
  .passthrough()
31
31
  .optional(),
32
+ segmentation_id: zod_1.z.string().optional(),
32
33
  data: zod_1.z
33
34
  .object({
34
35
  entities: zod_1.z.object({}).partial().strict().passthrough(),
@@ -46,6 +47,9 @@ const Extract = zod_1.z
46
47
  .strict()
47
48
  .passthrough()
48
49
  .optional(),
50
+ total: zod_1.z.number().int().optional(),
51
+ limit: zod_1.z.number().int().optional(),
52
+ offset: zod_1.z.number().int().optional(),
49
53
  error: zod_1.z.string().optional(),
50
54
  })
51
55
  .strict()
@@ -190,7 +194,7 @@ const endpoints = (0, core_1.makeApi)([
190
194
  method: "get",
191
195
  path: "/extract/:job_id",
192
196
  alias: "getExtract",
193
- description: `Retrieve the current state of an extraction job`,
197
+ description: `Retrieve the current state of an extraction job. Results are paginated with a default limit of 50 segment entities per request (maximum 100). Use limit and offset parameters to paginate through all segment entities.`,
194
198
  requestFormat: "json",
195
199
  parameters: [
196
200
  {
@@ -198,6 +202,16 @@ const endpoints = (0, core_1.makeApi)([
198
202
  type: "Path",
199
203
  schema: zod_1.z.string(),
200
204
  },
205
+ {
206
+ name: "limit",
207
+ type: "Query",
208
+ schema: zod_1.z.number().int().gte(1).lte(100).optional().default(50),
209
+ },
210
+ {
211
+ name: "offset",
212
+ type: "Query",
213
+ schema: zod_1.z.number().int().gte(0).optional().default(0),
214
+ },
201
215
  ],
202
216
  response: Extract,
203
217
  errors: [
@@ -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, limit?: number, offset?: number, response_format?: "markdown" | "json"): Promise<import("zod").objectOutputType<{
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, response_format?: "markdown" | "json"): Promise<import("zod").objectOutputType<{
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";
@@ -2594,6 +2625,7 @@ declare class EnhancedExtractApi {
2594
2625
  enable_video_level_entities: boolean;
2595
2626
  enable_segment_level_entities: boolean;
2596
2627
  }> | undefined;
2628
+ segmentation_id?: string | undefined;
2597
2629
  data?: Partial<{
2598
2630
  entities: {};
2599
2631
  segment_entities: Array<Partial<{
@@ -2602,9 +2634,15 @@ declare class EnhancedExtractApi {
2602
2634
  entities: {};
2603
2635
  }>>;
2604
2636
  }> | undefined;
2637
+ total?: number | undefined;
2638
+ limit?: number | undefined;
2639
+ offset?: number | undefined;
2605
2640
  error?: string | undefined;
2606
2641
  }>;
2607
- getExtract(jobId: string): Promise<{
2642
+ getExtract(jobId: string, params?: {
2643
+ limit?: number;
2644
+ offset?: number;
2645
+ }): Promise<{
2608
2646
  job_id: string;
2609
2647
  status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
2610
2648
  url?: string | undefined;
@@ -2615,6 +2653,7 @@ declare class EnhancedExtractApi {
2615
2653
  enable_video_level_entities: boolean;
2616
2654
  enable_segment_level_entities: boolean;
2617
2655
  }> | undefined;
2656
+ segmentation_id?: string | undefined;
2618
2657
  data?: Partial<{
2619
2658
  entities: {};
2620
2659
  segment_entities: Array<Partial<{
@@ -2623,6 +2662,9 @@ declare class EnhancedExtractApi {
2623
2662
  entities: {};
2624
2663
  }>>;
2625
2664
  }> | undefined;
2665
+ total?: number | undefined;
2666
+ limit?: number | undefined;
2667
+ offset?: number | undefined;
2626
2668
  error?: string | undefined;
2627
2669
  }>;
2628
2670
  listExtracts(params?: {
@@ -2645,6 +2687,7 @@ declare class EnhancedExtractApi {
2645
2687
  enable_video_level_entities: boolean;
2646
2688
  enable_segment_level_entities: boolean;
2647
2689
  }> | undefined;
2690
+ segmentation_id?: string | undefined;
2648
2691
  data?: Partial<{
2649
2692
  entities: {};
2650
2693
  segment_entities: Array<Partial<{
@@ -2653,6 +2696,9 @@ declare class EnhancedExtractApi {
2653
2696
  entities: {};
2654
2697
  }>>;
2655
2698
  }> | undefined;
2699
+ total?: number | undefined;
2700
+ limit?: number | undefined;
2701
+ offset?: number | undefined;
2656
2702
  error?: string | undefined;
2657
2703
  }>;
2658
2704
  total: number;
@@ -2679,6 +2725,7 @@ declare class EnhancedExtractApi {
2679
2725
  enable_video_level_entities: boolean;
2680
2726
  enable_segment_level_entities: boolean;
2681
2727
  }> | undefined;
2728
+ segmentation_id?: string | undefined;
2682
2729
  data?: Partial<{
2683
2730
  entities: {};
2684
2731
  segment_entities: Array<Partial<{
@@ -2687,6 +2734,9 @@ declare class EnhancedExtractApi {
2687
2734
  entities: {};
2688
2735
  }>>;
2689
2736
  }> | undefined;
2737
+ total?: number | undefined;
2738
+ limit?: number | undefined;
2739
+ offset?: number | undefined;
2690
2740
  error?: string | undefined;
2691
2741
  }>;
2692
2742
  }
@@ -2973,6 +3023,7 @@ declare class EnhancedDescribeApi {
2973
3023
  job_id: string;
2974
3024
  status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
2975
3025
  url?: string | undefined;
3026
+ duration_seconds?: number | undefined;
2976
3027
  created_at?: number | undefined;
2977
3028
  describe_config?: Partial<{
2978
3029
  enable_summary: boolean;
@@ -3011,10 +3062,13 @@ declare class EnhancedDescribeApi {
3011
3062
  }>;
3012
3063
  getDescribe(jobId: string, options?: {
3013
3064
  response_format?: "json" | "markdown";
3065
+ start_time_seconds?: number;
3066
+ end_time_seconds?: number;
3014
3067
  }): Promise<{
3015
3068
  job_id: string;
3016
3069
  status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
3017
3070
  url?: string | undefined;
3071
+ duration_seconds?: number | undefined;
3018
3072
  created_at?: number | undefined;
3019
3073
  describe_config?: Partial<{
3020
3074
  enable_summary: boolean;
@@ -3065,6 +3119,7 @@ declare class EnhancedDescribeApi {
3065
3119
  job_id: string;
3066
3120
  status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
3067
3121
  url?: string | undefined;
3122
+ duration_seconds?: number | undefined;
3068
3123
  created_at?: number | undefined;
3069
3124
  describe_config?: Partial<{
3070
3125
  enable_summary: boolean;
@@ -3119,6 +3174,7 @@ declare class EnhancedDescribeApi {
3119
3174
  job_id: string;
3120
3175
  status: "pending" | "processing" | "completed" | "failed" | "not_applicable";
3121
3176
  url?: string | undefined;
3177
+ duration_seconds?: number | undefined;
3122
3178
  created_at?: number | undefined;
3123
3179
  describe_config?: Partial<{
3124
3180
  enable_summary: boolean;
@@ -194,10 +194,10 @@ class EnhancedCollectionsApi {
194
194
  queries: params
195
195
  });
196
196
  }
197
- async getTranscripts(collectionId, fileId, limit, offset, response_format) {
197
+ async getTranscripts(collectionId, fileId, options = {}) {
198
198
  return this.api.getTranscripts({
199
199
  params: { collection_id: collectionId, file_id: fileId },
200
- queries: { limit, offset, response_format },
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, response_format) {
215
+ async getMediaDescriptions(collectionId, fileId, options = {}) {
216
216
  return this.api.getMediaDescriptions({
217
217
  params: { collection_id: collectionId, file_id: fileId },
218
- queries: { response_format },
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;
@@ -321,8 +334,11 @@ class EnhancedExtractApi {
321
334
  ...options,
322
335
  });
323
336
  }
324
- async getExtract(jobId) {
325
- return this.api.getExtract({ params: { job_id: jobId } });
337
+ async getExtract(jobId, params = {}) {
338
+ return this.api.getExtract({
339
+ params: { job_id: jobId },
340
+ queries: params
341
+ });
326
342
  }
327
343
  async listExtracts(params = {}) {
328
344
  return this.api.listExtracts({ queries: params });
@@ -404,10 +420,12 @@ class EnhancedDescribeApi {
404
420
  ...options,
405
421
  });
406
422
  }
407
- async getDescribe(jobId, options = {}) {
423
+ async getDescribe(jobId, options = {
424
+ response_format: "json",
425
+ }) {
408
426
  return this.api.getDescribe({
409
427
  params: { job_id: jobId },
410
- queries: { response_format: options.response_format },
428
+ queries: { ...options },
411
429
  });
412
430
  }
413
431
  async listDescribes(params = {}) {
@@ -610,7 +628,7 @@ class CloudGlue {
610
628
  headers: {
611
629
  Authorization: `Bearer ${this.apiKey}`,
612
630
  'x-sdk-client': 'cloudglue-js',
613
- 'x-sdk-version': '0.3.5',
631
+ 'x-sdk-version': '0.3.7',
614
632
  },
615
633
  baseURL: this.baseUrl,
616
634
  timeout: this.timeout,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aviaryhq/cloudglue-js",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Cloudglue API client for Node.js",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",