@aviaryhq/cloudglue-js 0.1.2 → 0.1.3

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.
@@ -1,6 +1,7 @@
1
1
  import { type ZodiosOptions } from "@zodios/core";
2
2
  import { z } from "zod";
3
3
  import { File as CloudglueFile } from "./common";
4
+ import { Segmentation } from "./common";
4
5
  type FileList = {
5
6
  object: "list";
6
7
  data: Array<CloudglueFile>;
@@ -8,9 +9,18 @@ type FileList = {
8
9
  limit: number;
9
10
  offset: number;
10
11
  };
12
+ type SegmentationList = {
13
+ object: "list";
14
+ data: Array<Segmentation>;
15
+ total: number;
16
+ limit: number;
17
+ offset: number;
18
+ };
11
19
  declare const FileList: z.ZodType<FileList>;
20
+ declare const SegmentationList: z.ZodType<SegmentationList>;
12
21
  export declare const schemas: {
13
22
  FileList: z.ZodType<FileList, z.ZodTypeDef, FileList>;
23
+ SegmentationList: z.ZodType<SegmentationList, z.ZodTypeDef, SegmentationList>;
14
24
  FileUpload: z.ZodObject<{
15
25
  file: z.ZodType<File, z.ZodTypeDef, File>;
16
26
  metadata: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -507,6 +517,641 @@ export declare const FilesApi: import("@zodios/core").ZodiosInstance<[{
507
517
  error: z.ZodString;
508
518
  }, z.ZodTypeAny, "passthrough">>;
509
519
  }];
520
+ }, {
521
+ method: "post";
522
+ path: "/files/:file_id/segmentations";
523
+ alias: "createFileSegmentation";
524
+ description: "Create a new segmentation for a file using the specified segmentation configuration";
525
+ requestFormat: "json";
526
+ parameters: [{
527
+ name: "body";
528
+ description: string;
529
+ type: "Body";
530
+ schema: z.ZodObject<{
531
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
532
+ uniform_config: z.ZodOptional<z.ZodObject<{
533
+ window_seconds: z.ZodNumber;
534
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
536
+ window_seconds: z.ZodNumber;
537
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
538
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
539
+ window_seconds: z.ZodNumber;
540
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
541
+ }, z.ZodTypeAny, "passthrough">>>;
542
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
543
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
544
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
545
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
546
+ detector: z.ZodEnum<["adaptive", "content"]>;
547
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
548
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
549
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
550
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
551
+ detector: z.ZodEnum<["adaptive", "content"]>;
552
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
553
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
554
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
555
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
556
+ detector: z.ZodEnum<["adaptive", "content"]>;
557
+ }, z.ZodTypeAny, "passthrough">>>;
558
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
559
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
560
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
561
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
562
+ uniform_config: z.ZodOptional<z.ZodObject<{
563
+ window_seconds: z.ZodNumber;
564
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
565
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
566
+ window_seconds: z.ZodNumber;
567
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
568
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
569
+ window_seconds: z.ZodNumber;
570
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
571
+ }, z.ZodTypeAny, "passthrough">>>;
572
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
573
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
574
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
575
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
576
+ detector: z.ZodEnum<["adaptive", "content"]>;
577
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
578
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
579
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
580
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
581
+ detector: z.ZodEnum<["adaptive", "content"]>;
582
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
583
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
584
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
585
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
586
+ detector: z.ZodEnum<["adaptive", "content"]>;
587
+ }, z.ZodTypeAny, "passthrough">>>;
588
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
589
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
590
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
591
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
592
+ uniform_config: z.ZodOptional<z.ZodObject<{
593
+ window_seconds: z.ZodNumber;
594
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
595
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
596
+ window_seconds: z.ZodNumber;
597
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
598
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
599
+ window_seconds: z.ZodNumber;
600
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
601
+ }, z.ZodTypeAny, "passthrough">>>;
602
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
603
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
604
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
605
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
606
+ detector: z.ZodEnum<["adaptive", "content"]>;
607
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
608
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
609
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
610
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
611
+ detector: z.ZodEnum<["adaptive", "content"]>;
612
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
613
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
614
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
615
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
616
+ detector: z.ZodEnum<["adaptive", "content"]>;
617
+ }, z.ZodTypeAny, "passthrough">>>;
618
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
619
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
620
+ }, z.ZodTypeAny, "passthrough">>;
621
+ }, {
622
+ name: "file_id";
623
+ type: "Path";
624
+ schema: z.ZodString;
625
+ }];
626
+ response: z.ZodObject<{
627
+ segmentation_id: z.ZodString;
628
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
629
+ created_at: z.ZodNumber;
630
+ file_id: z.ZodString;
631
+ segmentation_config: z.ZodObject<{
632
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
633
+ uniform_config: z.ZodOptional<z.ZodObject<{
634
+ window_seconds: z.ZodNumber;
635
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
636
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
637
+ window_seconds: z.ZodNumber;
638
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
639
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
640
+ window_seconds: z.ZodNumber;
641
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
642
+ }, z.ZodTypeAny, "passthrough">>>;
643
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
644
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
645
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
646
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
647
+ detector: z.ZodEnum<["adaptive", "content"]>;
648
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
649
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
650
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
651
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
652
+ detector: z.ZodEnum<["adaptive", "content"]>;
653
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
654
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
655
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
656
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
657
+ detector: z.ZodEnum<["adaptive", "content"]>;
658
+ }, z.ZodTypeAny, "passthrough">>>;
659
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
660
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
661
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
662
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
663
+ uniform_config: z.ZodOptional<z.ZodObject<{
664
+ window_seconds: z.ZodNumber;
665
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
666
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
667
+ window_seconds: z.ZodNumber;
668
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
669
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
670
+ window_seconds: z.ZodNumber;
671
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
672
+ }, z.ZodTypeAny, "passthrough">>>;
673
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
674
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
675
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
676
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
677
+ detector: z.ZodEnum<["adaptive", "content"]>;
678
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
679
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
680
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
681
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
682
+ detector: z.ZodEnum<["adaptive", "content"]>;
683
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
684
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
685
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
686
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
687
+ detector: z.ZodEnum<["adaptive", "content"]>;
688
+ }, z.ZodTypeAny, "passthrough">>>;
689
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
690
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
691
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
692
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
693
+ uniform_config: z.ZodOptional<z.ZodObject<{
694
+ window_seconds: z.ZodNumber;
695
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
696
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
697
+ window_seconds: z.ZodNumber;
698
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
700
+ window_seconds: z.ZodNumber;
701
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
702
+ }, z.ZodTypeAny, "passthrough">>>;
703
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
704
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
705
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
706
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
707
+ detector: z.ZodEnum<["adaptive", "content"]>;
708
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
709
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
710
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
711
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
712
+ detector: z.ZodEnum<["adaptive", "content"]>;
713
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
714
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
715
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
716
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
717
+ detector: z.ZodEnum<["adaptive", "content"]>;
718
+ }, z.ZodTypeAny, "passthrough">>>;
719
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
720
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
721
+ }, z.ZodTypeAny, "passthrough">>;
722
+ total_segments: z.ZodOptional<z.ZodNumber>;
723
+ data: z.ZodOptional<z.ZodObject<{
724
+ object: z.ZodLiteral<"list">;
725
+ segments: z.ZodArray<z.ZodObject<{
726
+ id: z.ZodString;
727
+ start_time: z.ZodNumber;
728
+ end_time: z.ZodNumber;
729
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
730
+ id: z.ZodString;
731
+ start_time: z.ZodNumber;
732
+ end_time: z.ZodNumber;
733
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
734
+ id: z.ZodString;
735
+ start_time: z.ZodNumber;
736
+ end_time: z.ZodNumber;
737
+ }, z.ZodTypeAny, "passthrough">>, "many">;
738
+ total: z.ZodNumber;
739
+ limit: z.ZodNumber;
740
+ offset: z.ZodNumber;
741
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
742
+ object: z.ZodLiteral<"list">;
743
+ segments: z.ZodArray<z.ZodObject<{
744
+ id: z.ZodString;
745
+ start_time: z.ZodNumber;
746
+ end_time: z.ZodNumber;
747
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
748
+ id: z.ZodString;
749
+ start_time: z.ZodNumber;
750
+ end_time: z.ZodNumber;
751
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
752
+ id: z.ZodString;
753
+ start_time: z.ZodNumber;
754
+ end_time: z.ZodNumber;
755
+ }, z.ZodTypeAny, "passthrough">>, "many">;
756
+ total: z.ZodNumber;
757
+ limit: z.ZodNumber;
758
+ offset: z.ZodNumber;
759
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
760
+ object: z.ZodLiteral<"list">;
761
+ segments: z.ZodArray<z.ZodObject<{
762
+ id: z.ZodString;
763
+ start_time: z.ZodNumber;
764
+ end_time: z.ZodNumber;
765
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
766
+ id: z.ZodString;
767
+ start_time: z.ZodNumber;
768
+ end_time: z.ZodNumber;
769
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
770
+ id: z.ZodString;
771
+ start_time: z.ZodNumber;
772
+ end_time: z.ZodNumber;
773
+ }, z.ZodTypeAny, "passthrough">>, "many">;
774
+ total: z.ZodNumber;
775
+ limit: z.ZodNumber;
776
+ offset: z.ZodNumber;
777
+ }, z.ZodTypeAny, "passthrough">>>;
778
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
779
+ segmentation_id: z.ZodString;
780
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
781
+ created_at: z.ZodNumber;
782
+ file_id: z.ZodString;
783
+ segmentation_config: z.ZodObject<{
784
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
785
+ uniform_config: z.ZodOptional<z.ZodObject<{
786
+ window_seconds: z.ZodNumber;
787
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
788
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
789
+ window_seconds: z.ZodNumber;
790
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
791
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
792
+ window_seconds: z.ZodNumber;
793
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
794
+ }, z.ZodTypeAny, "passthrough">>>;
795
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
796
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
797
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
798
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
799
+ detector: z.ZodEnum<["adaptive", "content"]>;
800
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
801
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
802
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
803
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
804
+ detector: z.ZodEnum<["adaptive", "content"]>;
805
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
806
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
807
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
808
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
809
+ detector: z.ZodEnum<["adaptive", "content"]>;
810
+ }, z.ZodTypeAny, "passthrough">>>;
811
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
812
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
813
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
814
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
815
+ uniform_config: z.ZodOptional<z.ZodObject<{
816
+ window_seconds: z.ZodNumber;
817
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
819
+ window_seconds: z.ZodNumber;
820
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
821
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
822
+ window_seconds: z.ZodNumber;
823
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
824
+ }, z.ZodTypeAny, "passthrough">>>;
825
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
826
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
827
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
828
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
829
+ detector: z.ZodEnum<["adaptive", "content"]>;
830
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
831
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
832
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
833
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
834
+ detector: z.ZodEnum<["adaptive", "content"]>;
835
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
836
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
837
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
838
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
839
+ detector: z.ZodEnum<["adaptive", "content"]>;
840
+ }, z.ZodTypeAny, "passthrough">>>;
841
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
842
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
843
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
844
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
845
+ uniform_config: z.ZodOptional<z.ZodObject<{
846
+ window_seconds: z.ZodNumber;
847
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
848
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
849
+ window_seconds: z.ZodNumber;
850
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
851
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
852
+ window_seconds: z.ZodNumber;
853
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
854
+ }, z.ZodTypeAny, "passthrough">>>;
855
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
856
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
857
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
858
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
859
+ detector: z.ZodEnum<["adaptive", "content"]>;
860
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
861
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
862
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
863
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
864
+ detector: z.ZodEnum<["adaptive", "content"]>;
865
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
866
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
867
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
868
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
869
+ detector: z.ZodEnum<["adaptive", "content"]>;
870
+ }, z.ZodTypeAny, "passthrough">>>;
871
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
872
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
873
+ }, z.ZodTypeAny, "passthrough">>;
874
+ total_segments: z.ZodOptional<z.ZodNumber>;
875
+ data: z.ZodOptional<z.ZodObject<{
876
+ object: z.ZodLiteral<"list">;
877
+ segments: z.ZodArray<z.ZodObject<{
878
+ id: z.ZodString;
879
+ start_time: z.ZodNumber;
880
+ end_time: z.ZodNumber;
881
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
882
+ id: z.ZodString;
883
+ start_time: z.ZodNumber;
884
+ end_time: z.ZodNumber;
885
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
886
+ id: z.ZodString;
887
+ start_time: z.ZodNumber;
888
+ end_time: z.ZodNumber;
889
+ }, z.ZodTypeAny, "passthrough">>, "many">;
890
+ total: z.ZodNumber;
891
+ limit: z.ZodNumber;
892
+ offset: z.ZodNumber;
893
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
894
+ object: z.ZodLiteral<"list">;
895
+ segments: z.ZodArray<z.ZodObject<{
896
+ id: z.ZodString;
897
+ start_time: z.ZodNumber;
898
+ end_time: z.ZodNumber;
899
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
900
+ id: z.ZodString;
901
+ start_time: z.ZodNumber;
902
+ end_time: z.ZodNumber;
903
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
904
+ id: z.ZodString;
905
+ start_time: z.ZodNumber;
906
+ end_time: z.ZodNumber;
907
+ }, z.ZodTypeAny, "passthrough">>, "many">;
908
+ total: z.ZodNumber;
909
+ limit: z.ZodNumber;
910
+ offset: z.ZodNumber;
911
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
912
+ object: z.ZodLiteral<"list">;
913
+ segments: z.ZodArray<z.ZodObject<{
914
+ id: z.ZodString;
915
+ start_time: z.ZodNumber;
916
+ end_time: z.ZodNumber;
917
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
918
+ id: z.ZodString;
919
+ start_time: z.ZodNumber;
920
+ end_time: z.ZodNumber;
921
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
922
+ id: z.ZodString;
923
+ start_time: z.ZodNumber;
924
+ end_time: z.ZodNumber;
925
+ }, z.ZodTypeAny, "passthrough">>, "many">;
926
+ total: z.ZodNumber;
927
+ limit: z.ZodNumber;
928
+ offset: z.ZodNumber;
929
+ }, z.ZodTypeAny, "passthrough">>>;
930
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
931
+ segmentation_id: z.ZodString;
932
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
933
+ created_at: z.ZodNumber;
934
+ file_id: z.ZodString;
935
+ segmentation_config: z.ZodObject<{
936
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
937
+ uniform_config: z.ZodOptional<z.ZodObject<{
938
+ window_seconds: z.ZodNumber;
939
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
940
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
941
+ window_seconds: z.ZodNumber;
942
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
943
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
944
+ window_seconds: z.ZodNumber;
945
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
946
+ }, z.ZodTypeAny, "passthrough">>>;
947
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
948
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
949
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
950
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
951
+ detector: z.ZodEnum<["adaptive", "content"]>;
952
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
953
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
954
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
955
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
956
+ detector: z.ZodEnum<["adaptive", "content"]>;
957
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
958
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
959
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
960
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
961
+ detector: z.ZodEnum<["adaptive", "content"]>;
962
+ }, z.ZodTypeAny, "passthrough">>>;
963
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
964
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
965
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
966
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
967
+ uniform_config: z.ZodOptional<z.ZodObject<{
968
+ window_seconds: z.ZodNumber;
969
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
970
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
971
+ window_seconds: z.ZodNumber;
972
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
973
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
974
+ window_seconds: z.ZodNumber;
975
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
976
+ }, z.ZodTypeAny, "passthrough">>>;
977
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
978
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
979
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
980
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
981
+ detector: z.ZodEnum<["adaptive", "content"]>;
982
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
983
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
984
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
985
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
986
+ detector: z.ZodEnum<["adaptive", "content"]>;
987
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
988
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
989
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
990
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
991
+ detector: z.ZodEnum<["adaptive", "content"]>;
992
+ }, z.ZodTypeAny, "passthrough">>>;
993
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
994
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
995
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
996
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
997
+ uniform_config: z.ZodOptional<z.ZodObject<{
998
+ window_seconds: z.ZodNumber;
999
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1000
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1001
+ window_seconds: z.ZodNumber;
1002
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1003
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1004
+ window_seconds: z.ZodNumber;
1005
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1006
+ }, z.ZodTypeAny, "passthrough">>>;
1007
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1008
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1009
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1010
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1011
+ detector: z.ZodEnum<["adaptive", "content"]>;
1012
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1013
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1014
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1015
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1016
+ detector: z.ZodEnum<["adaptive", "content"]>;
1017
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1018
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1019
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1020
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1021
+ detector: z.ZodEnum<["adaptive", "content"]>;
1022
+ }, z.ZodTypeAny, "passthrough">>>;
1023
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1024
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1025
+ }, z.ZodTypeAny, "passthrough">>;
1026
+ total_segments: z.ZodOptional<z.ZodNumber>;
1027
+ data: z.ZodOptional<z.ZodObject<{
1028
+ object: z.ZodLiteral<"list">;
1029
+ segments: z.ZodArray<z.ZodObject<{
1030
+ id: z.ZodString;
1031
+ start_time: z.ZodNumber;
1032
+ end_time: z.ZodNumber;
1033
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1034
+ id: z.ZodString;
1035
+ start_time: z.ZodNumber;
1036
+ end_time: z.ZodNumber;
1037
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1038
+ id: z.ZodString;
1039
+ start_time: z.ZodNumber;
1040
+ end_time: z.ZodNumber;
1041
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1042
+ total: z.ZodNumber;
1043
+ limit: z.ZodNumber;
1044
+ offset: z.ZodNumber;
1045
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1046
+ object: z.ZodLiteral<"list">;
1047
+ segments: z.ZodArray<z.ZodObject<{
1048
+ id: z.ZodString;
1049
+ start_time: z.ZodNumber;
1050
+ end_time: z.ZodNumber;
1051
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1052
+ id: z.ZodString;
1053
+ start_time: z.ZodNumber;
1054
+ end_time: z.ZodNumber;
1055
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1056
+ id: z.ZodString;
1057
+ start_time: z.ZodNumber;
1058
+ end_time: z.ZodNumber;
1059
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1060
+ total: z.ZodNumber;
1061
+ limit: z.ZodNumber;
1062
+ offset: z.ZodNumber;
1063
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1064
+ object: z.ZodLiteral<"list">;
1065
+ segments: z.ZodArray<z.ZodObject<{
1066
+ id: z.ZodString;
1067
+ start_time: z.ZodNumber;
1068
+ end_time: z.ZodNumber;
1069
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1070
+ id: z.ZodString;
1071
+ start_time: z.ZodNumber;
1072
+ end_time: z.ZodNumber;
1073
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1074
+ id: z.ZodString;
1075
+ start_time: z.ZodNumber;
1076
+ end_time: z.ZodNumber;
1077
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1078
+ total: z.ZodNumber;
1079
+ limit: z.ZodNumber;
1080
+ offset: z.ZodNumber;
1081
+ }, z.ZodTypeAny, "passthrough">>>;
1082
+ }, z.ZodTypeAny, "passthrough">>;
1083
+ errors: [{
1084
+ status: 400;
1085
+ description: string;
1086
+ schema: z.ZodObject<{
1087
+ error: z.ZodString;
1088
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1089
+ error: z.ZodString;
1090
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1091
+ error: z.ZodString;
1092
+ }, z.ZodTypeAny, "passthrough">>;
1093
+ }, {
1094
+ status: 404;
1095
+ description: string;
1096
+ schema: z.ZodObject<{
1097
+ error: z.ZodString;
1098
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1099
+ error: z.ZodString;
1100
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1101
+ error: z.ZodString;
1102
+ }, z.ZodTypeAny, "passthrough">>;
1103
+ }, {
1104
+ status: 500;
1105
+ description: string;
1106
+ schema: z.ZodObject<{
1107
+ error: z.ZodString;
1108
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1109
+ error: z.ZodString;
1110
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1111
+ error: z.ZodString;
1112
+ }, z.ZodTypeAny, "passthrough">>;
1113
+ }];
1114
+ }, {
1115
+ method: "get";
1116
+ path: "/files/:file_id/segmentations";
1117
+ alias: "listFileSegmentations";
1118
+ description: "List all segmentations for a specific file";
1119
+ requestFormat: "json";
1120
+ parameters: [{
1121
+ name: "file_id";
1122
+ type: "Path";
1123
+ schema: z.ZodString;
1124
+ }, {
1125
+ name: "limit";
1126
+ type: "Query";
1127
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1128
+ }, {
1129
+ name: "offset";
1130
+ type: "Query";
1131
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1132
+ }];
1133
+ response: z.ZodType<SegmentationList, z.ZodTypeDef, SegmentationList>;
1134
+ errors: [{
1135
+ status: 404;
1136
+ description: string;
1137
+ schema: z.ZodObject<{
1138
+ error: z.ZodString;
1139
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1140
+ error: z.ZodString;
1141
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1142
+ error: z.ZodString;
1143
+ }, z.ZodTypeAny, "passthrough">>;
1144
+ }, {
1145
+ status: 500;
1146
+ description: string;
1147
+ schema: z.ZodObject<{
1148
+ error: z.ZodString;
1149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1150
+ error: z.ZodString;
1151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1152
+ error: z.ZodString;
1153
+ }, z.ZodTypeAny, "passthrough">>;
1154
+ }];
510
1155
  }]>;
511
1156
  export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
512
1157
  method: "post";
@@ -973,5 +1618,640 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
973
1618
  error: z.ZodString;
974
1619
  }, z.ZodTypeAny, "passthrough">>;
975
1620
  }];
1621
+ }, {
1622
+ method: "post";
1623
+ path: "/files/:file_id/segmentations";
1624
+ alias: "createFileSegmentation";
1625
+ description: "Create a new segmentation for a file using the specified segmentation configuration";
1626
+ requestFormat: "json";
1627
+ parameters: [{
1628
+ name: "body";
1629
+ description: string;
1630
+ type: "Body";
1631
+ schema: z.ZodObject<{
1632
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1633
+ uniform_config: z.ZodOptional<z.ZodObject<{
1634
+ window_seconds: z.ZodNumber;
1635
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1636
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1637
+ window_seconds: z.ZodNumber;
1638
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1639
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1640
+ window_seconds: z.ZodNumber;
1641
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1642
+ }, z.ZodTypeAny, "passthrough">>>;
1643
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1644
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1645
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1646
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1647
+ detector: z.ZodEnum<["adaptive", "content"]>;
1648
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1649
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1650
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1651
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1652
+ detector: z.ZodEnum<["adaptive", "content"]>;
1653
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1654
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1655
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1656
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1657
+ detector: z.ZodEnum<["adaptive", "content"]>;
1658
+ }, z.ZodTypeAny, "passthrough">>>;
1659
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1660
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1661
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1662
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1663
+ uniform_config: z.ZodOptional<z.ZodObject<{
1664
+ window_seconds: z.ZodNumber;
1665
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1666
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1667
+ window_seconds: z.ZodNumber;
1668
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1669
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1670
+ window_seconds: z.ZodNumber;
1671
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1672
+ }, z.ZodTypeAny, "passthrough">>>;
1673
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1674
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1675
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1676
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1677
+ detector: z.ZodEnum<["adaptive", "content"]>;
1678
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1679
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1680
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1681
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1682
+ detector: z.ZodEnum<["adaptive", "content"]>;
1683
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1684
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1685
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1686
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1687
+ detector: z.ZodEnum<["adaptive", "content"]>;
1688
+ }, z.ZodTypeAny, "passthrough">>>;
1689
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1690
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1691
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1692
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1693
+ uniform_config: z.ZodOptional<z.ZodObject<{
1694
+ window_seconds: z.ZodNumber;
1695
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1696
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1697
+ window_seconds: z.ZodNumber;
1698
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1700
+ window_seconds: z.ZodNumber;
1701
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1702
+ }, z.ZodTypeAny, "passthrough">>>;
1703
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1704
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1705
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1706
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1707
+ detector: z.ZodEnum<["adaptive", "content"]>;
1708
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1709
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1710
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1711
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1712
+ detector: z.ZodEnum<["adaptive", "content"]>;
1713
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1714
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1715
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1716
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1717
+ detector: z.ZodEnum<["adaptive", "content"]>;
1718
+ }, z.ZodTypeAny, "passthrough">>>;
1719
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1720
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1721
+ }, z.ZodTypeAny, "passthrough">>;
1722
+ }, {
1723
+ name: "file_id";
1724
+ type: "Path";
1725
+ schema: z.ZodString;
1726
+ }];
1727
+ response: z.ZodObject<{
1728
+ segmentation_id: z.ZodString;
1729
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
1730
+ created_at: z.ZodNumber;
1731
+ file_id: z.ZodString;
1732
+ segmentation_config: z.ZodObject<{
1733
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1734
+ uniform_config: z.ZodOptional<z.ZodObject<{
1735
+ window_seconds: z.ZodNumber;
1736
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1737
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1738
+ window_seconds: z.ZodNumber;
1739
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1740
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1741
+ window_seconds: z.ZodNumber;
1742
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1743
+ }, z.ZodTypeAny, "passthrough">>>;
1744
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1745
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1746
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1747
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1748
+ detector: z.ZodEnum<["adaptive", "content"]>;
1749
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1750
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1751
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1752
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1753
+ detector: z.ZodEnum<["adaptive", "content"]>;
1754
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1755
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1756
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1757
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1758
+ detector: z.ZodEnum<["adaptive", "content"]>;
1759
+ }, z.ZodTypeAny, "passthrough">>>;
1760
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1761
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1762
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1763
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1764
+ uniform_config: z.ZodOptional<z.ZodObject<{
1765
+ window_seconds: z.ZodNumber;
1766
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1767
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1768
+ window_seconds: z.ZodNumber;
1769
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1770
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1771
+ window_seconds: z.ZodNumber;
1772
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1773
+ }, z.ZodTypeAny, "passthrough">>>;
1774
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1775
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1776
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1777
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1778
+ detector: z.ZodEnum<["adaptive", "content"]>;
1779
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1780
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1781
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1782
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1783
+ detector: z.ZodEnum<["adaptive", "content"]>;
1784
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1785
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1786
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1787
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1788
+ detector: z.ZodEnum<["adaptive", "content"]>;
1789
+ }, z.ZodTypeAny, "passthrough">>>;
1790
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1791
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1792
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1793
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1794
+ uniform_config: z.ZodOptional<z.ZodObject<{
1795
+ window_seconds: z.ZodNumber;
1796
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1797
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1798
+ window_seconds: z.ZodNumber;
1799
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1800
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1801
+ window_seconds: z.ZodNumber;
1802
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1803
+ }, z.ZodTypeAny, "passthrough">>>;
1804
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1805
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1806
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1807
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1808
+ detector: z.ZodEnum<["adaptive", "content"]>;
1809
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1810
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1811
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1812
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1813
+ detector: z.ZodEnum<["adaptive", "content"]>;
1814
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1815
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1816
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1817
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1818
+ detector: z.ZodEnum<["adaptive", "content"]>;
1819
+ }, z.ZodTypeAny, "passthrough">>>;
1820
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1821
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1822
+ }, z.ZodTypeAny, "passthrough">>;
1823
+ total_segments: z.ZodOptional<z.ZodNumber>;
1824
+ data: z.ZodOptional<z.ZodObject<{
1825
+ object: z.ZodLiteral<"list">;
1826
+ segments: z.ZodArray<z.ZodObject<{
1827
+ id: z.ZodString;
1828
+ start_time: z.ZodNumber;
1829
+ end_time: z.ZodNumber;
1830
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1831
+ id: z.ZodString;
1832
+ start_time: z.ZodNumber;
1833
+ end_time: z.ZodNumber;
1834
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1835
+ id: z.ZodString;
1836
+ start_time: z.ZodNumber;
1837
+ end_time: z.ZodNumber;
1838
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1839
+ total: z.ZodNumber;
1840
+ limit: z.ZodNumber;
1841
+ offset: z.ZodNumber;
1842
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1843
+ object: z.ZodLiteral<"list">;
1844
+ segments: z.ZodArray<z.ZodObject<{
1845
+ id: z.ZodString;
1846
+ start_time: z.ZodNumber;
1847
+ end_time: z.ZodNumber;
1848
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1849
+ id: z.ZodString;
1850
+ start_time: z.ZodNumber;
1851
+ end_time: z.ZodNumber;
1852
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1853
+ id: z.ZodString;
1854
+ start_time: z.ZodNumber;
1855
+ end_time: z.ZodNumber;
1856
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1857
+ total: z.ZodNumber;
1858
+ limit: z.ZodNumber;
1859
+ offset: z.ZodNumber;
1860
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1861
+ object: z.ZodLiteral<"list">;
1862
+ segments: z.ZodArray<z.ZodObject<{
1863
+ id: z.ZodString;
1864
+ start_time: z.ZodNumber;
1865
+ end_time: z.ZodNumber;
1866
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1867
+ id: z.ZodString;
1868
+ start_time: z.ZodNumber;
1869
+ end_time: z.ZodNumber;
1870
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1871
+ id: z.ZodString;
1872
+ start_time: z.ZodNumber;
1873
+ end_time: z.ZodNumber;
1874
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1875
+ total: z.ZodNumber;
1876
+ limit: z.ZodNumber;
1877
+ offset: z.ZodNumber;
1878
+ }, z.ZodTypeAny, "passthrough">>>;
1879
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1880
+ segmentation_id: z.ZodString;
1881
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
1882
+ created_at: z.ZodNumber;
1883
+ file_id: z.ZodString;
1884
+ segmentation_config: z.ZodObject<{
1885
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1886
+ uniform_config: z.ZodOptional<z.ZodObject<{
1887
+ window_seconds: z.ZodNumber;
1888
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1889
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1890
+ window_seconds: z.ZodNumber;
1891
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1892
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1893
+ window_seconds: z.ZodNumber;
1894
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1895
+ }, z.ZodTypeAny, "passthrough">>>;
1896
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1897
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1898
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1899
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1900
+ detector: z.ZodEnum<["adaptive", "content"]>;
1901
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1902
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1903
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1904
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1905
+ detector: z.ZodEnum<["adaptive", "content"]>;
1906
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1907
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1908
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1909
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1910
+ detector: z.ZodEnum<["adaptive", "content"]>;
1911
+ }, z.ZodTypeAny, "passthrough">>>;
1912
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1913
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1914
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1915
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1916
+ uniform_config: z.ZodOptional<z.ZodObject<{
1917
+ window_seconds: z.ZodNumber;
1918
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1919
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1920
+ window_seconds: z.ZodNumber;
1921
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1922
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1923
+ window_seconds: z.ZodNumber;
1924
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1925
+ }, z.ZodTypeAny, "passthrough">>>;
1926
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1927
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1928
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1929
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1930
+ detector: z.ZodEnum<["adaptive", "content"]>;
1931
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1932
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1933
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1934
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1935
+ detector: z.ZodEnum<["adaptive", "content"]>;
1936
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1937
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1938
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1939
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1940
+ detector: z.ZodEnum<["adaptive", "content"]>;
1941
+ }, z.ZodTypeAny, "passthrough">>>;
1942
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1943
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1944
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1945
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
1946
+ uniform_config: z.ZodOptional<z.ZodObject<{
1947
+ window_seconds: z.ZodNumber;
1948
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1949
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1950
+ window_seconds: z.ZodNumber;
1951
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1953
+ window_seconds: z.ZodNumber;
1954
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
1955
+ }, z.ZodTypeAny, "passthrough">>>;
1956
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
1957
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1958
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1959
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1960
+ detector: z.ZodEnum<["adaptive", "content"]>;
1961
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1962
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1963
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1964
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1965
+ detector: z.ZodEnum<["adaptive", "content"]>;
1966
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1967
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1968
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1969
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1970
+ detector: z.ZodEnum<["adaptive", "content"]>;
1971
+ }, z.ZodTypeAny, "passthrough">>>;
1972
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
1973
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
1974
+ }, z.ZodTypeAny, "passthrough">>;
1975
+ total_segments: z.ZodOptional<z.ZodNumber>;
1976
+ data: z.ZodOptional<z.ZodObject<{
1977
+ object: z.ZodLiteral<"list">;
1978
+ segments: z.ZodArray<z.ZodObject<{
1979
+ id: z.ZodString;
1980
+ start_time: z.ZodNumber;
1981
+ end_time: z.ZodNumber;
1982
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1983
+ id: z.ZodString;
1984
+ start_time: z.ZodNumber;
1985
+ end_time: z.ZodNumber;
1986
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1987
+ id: z.ZodString;
1988
+ start_time: z.ZodNumber;
1989
+ end_time: z.ZodNumber;
1990
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1991
+ total: z.ZodNumber;
1992
+ limit: z.ZodNumber;
1993
+ offset: z.ZodNumber;
1994
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1995
+ object: z.ZodLiteral<"list">;
1996
+ segments: z.ZodArray<z.ZodObject<{
1997
+ id: z.ZodString;
1998
+ start_time: z.ZodNumber;
1999
+ end_time: z.ZodNumber;
2000
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2001
+ id: z.ZodString;
2002
+ start_time: z.ZodNumber;
2003
+ end_time: z.ZodNumber;
2004
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2005
+ id: z.ZodString;
2006
+ start_time: z.ZodNumber;
2007
+ end_time: z.ZodNumber;
2008
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2009
+ total: z.ZodNumber;
2010
+ limit: z.ZodNumber;
2011
+ offset: z.ZodNumber;
2012
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2013
+ object: z.ZodLiteral<"list">;
2014
+ segments: z.ZodArray<z.ZodObject<{
2015
+ id: z.ZodString;
2016
+ start_time: z.ZodNumber;
2017
+ end_time: z.ZodNumber;
2018
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2019
+ id: z.ZodString;
2020
+ start_time: z.ZodNumber;
2021
+ end_time: z.ZodNumber;
2022
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2023
+ id: z.ZodString;
2024
+ start_time: z.ZodNumber;
2025
+ end_time: z.ZodNumber;
2026
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2027
+ total: z.ZodNumber;
2028
+ limit: z.ZodNumber;
2029
+ offset: z.ZodNumber;
2030
+ }, z.ZodTypeAny, "passthrough">>>;
2031
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2032
+ segmentation_id: z.ZodString;
2033
+ status: z.ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
2034
+ created_at: z.ZodNumber;
2035
+ file_id: z.ZodString;
2036
+ segmentation_config: z.ZodObject<{
2037
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
2038
+ uniform_config: z.ZodOptional<z.ZodObject<{
2039
+ window_seconds: z.ZodNumber;
2040
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2041
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2042
+ window_seconds: z.ZodNumber;
2043
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2044
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2045
+ window_seconds: z.ZodNumber;
2046
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2047
+ }, z.ZodTypeAny, "passthrough">>>;
2048
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
2049
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2050
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2051
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2052
+ detector: z.ZodEnum<["adaptive", "content"]>;
2053
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2054
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2055
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2056
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2057
+ detector: z.ZodEnum<["adaptive", "content"]>;
2058
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2059
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2060
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2061
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2062
+ detector: z.ZodEnum<["adaptive", "content"]>;
2063
+ }, z.ZodTypeAny, "passthrough">>>;
2064
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
2065
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
2066
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2067
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
2068
+ uniform_config: z.ZodOptional<z.ZodObject<{
2069
+ window_seconds: z.ZodNumber;
2070
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2071
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2072
+ window_seconds: z.ZodNumber;
2073
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2074
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2075
+ window_seconds: z.ZodNumber;
2076
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2077
+ }, z.ZodTypeAny, "passthrough">>>;
2078
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
2079
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2080
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2081
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2082
+ detector: z.ZodEnum<["adaptive", "content"]>;
2083
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2084
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2085
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2086
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2087
+ detector: z.ZodEnum<["adaptive", "content"]>;
2088
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2089
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2090
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2091
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2092
+ detector: z.ZodEnum<["adaptive", "content"]>;
2093
+ }, z.ZodTypeAny, "passthrough">>>;
2094
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
2095
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
2096
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2097
+ strategy: z.ZodEnum<["uniform", "shot-detector"]>;
2098
+ uniform_config: z.ZodOptional<z.ZodObject<{
2099
+ window_seconds: z.ZodNumber;
2100
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2101
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2102
+ window_seconds: z.ZodNumber;
2103
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2104
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2105
+ window_seconds: z.ZodNumber;
2106
+ hop_seconds: z.ZodOptional<z.ZodNumber>;
2107
+ }, z.ZodTypeAny, "passthrough">>>;
2108
+ shot_detector_config: z.ZodOptional<z.ZodObject<{
2109
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2110
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2111
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2112
+ detector: z.ZodEnum<["adaptive", "content"]>;
2113
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2114
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2115
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2116
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2117
+ detector: z.ZodEnum<["adaptive", "content"]>;
2118
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2119
+ threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2120
+ min_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2121
+ max_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2122
+ detector: z.ZodEnum<["adaptive", "content"]>;
2123
+ }, z.ZodTypeAny, "passthrough">>>;
2124
+ start_time_seconds: z.ZodOptional<z.ZodNumber>;
2125
+ end_time_seconds: z.ZodOptional<z.ZodNumber>;
2126
+ }, z.ZodTypeAny, "passthrough">>;
2127
+ total_segments: z.ZodOptional<z.ZodNumber>;
2128
+ data: z.ZodOptional<z.ZodObject<{
2129
+ object: z.ZodLiteral<"list">;
2130
+ segments: z.ZodArray<z.ZodObject<{
2131
+ id: z.ZodString;
2132
+ start_time: z.ZodNumber;
2133
+ end_time: z.ZodNumber;
2134
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2135
+ id: z.ZodString;
2136
+ start_time: z.ZodNumber;
2137
+ end_time: z.ZodNumber;
2138
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2139
+ id: z.ZodString;
2140
+ start_time: z.ZodNumber;
2141
+ end_time: z.ZodNumber;
2142
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2143
+ total: z.ZodNumber;
2144
+ limit: z.ZodNumber;
2145
+ offset: z.ZodNumber;
2146
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2147
+ object: z.ZodLiteral<"list">;
2148
+ segments: z.ZodArray<z.ZodObject<{
2149
+ id: z.ZodString;
2150
+ start_time: z.ZodNumber;
2151
+ end_time: z.ZodNumber;
2152
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2153
+ id: z.ZodString;
2154
+ start_time: z.ZodNumber;
2155
+ end_time: z.ZodNumber;
2156
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2157
+ id: z.ZodString;
2158
+ start_time: z.ZodNumber;
2159
+ end_time: z.ZodNumber;
2160
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2161
+ total: z.ZodNumber;
2162
+ limit: z.ZodNumber;
2163
+ offset: z.ZodNumber;
2164
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2165
+ object: z.ZodLiteral<"list">;
2166
+ segments: z.ZodArray<z.ZodObject<{
2167
+ id: z.ZodString;
2168
+ start_time: z.ZodNumber;
2169
+ end_time: z.ZodNumber;
2170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2171
+ id: z.ZodString;
2172
+ start_time: z.ZodNumber;
2173
+ end_time: z.ZodNumber;
2174
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2175
+ id: z.ZodString;
2176
+ start_time: z.ZodNumber;
2177
+ end_time: z.ZodNumber;
2178
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2179
+ total: z.ZodNumber;
2180
+ limit: z.ZodNumber;
2181
+ offset: z.ZodNumber;
2182
+ }, z.ZodTypeAny, "passthrough">>>;
2183
+ }, z.ZodTypeAny, "passthrough">>;
2184
+ errors: [{
2185
+ status: 400;
2186
+ description: string;
2187
+ schema: z.ZodObject<{
2188
+ error: z.ZodString;
2189
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2190
+ error: z.ZodString;
2191
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2192
+ error: z.ZodString;
2193
+ }, z.ZodTypeAny, "passthrough">>;
2194
+ }, {
2195
+ status: 404;
2196
+ description: string;
2197
+ schema: z.ZodObject<{
2198
+ error: z.ZodString;
2199
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2200
+ error: z.ZodString;
2201
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2202
+ error: z.ZodString;
2203
+ }, z.ZodTypeAny, "passthrough">>;
2204
+ }, {
2205
+ status: 500;
2206
+ description: string;
2207
+ schema: z.ZodObject<{
2208
+ error: z.ZodString;
2209
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2210
+ error: z.ZodString;
2211
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2212
+ error: z.ZodString;
2213
+ }, z.ZodTypeAny, "passthrough">>;
2214
+ }];
2215
+ }, {
2216
+ method: "get";
2217
+ path: "/files/:file_id/segmentations";
2218
+ alias: "listFileSegmentations";
2219
+ description: "List all segmentations for a specific file";
2220
+ requestFormat: "json";
2221
+ parameters: [{
2222
+ name: "file_id";
2223
+ type: "Path";
2224
+ schema: z.ZodString;
2225
+ }, {
2226
+ name: "limit";
2227
+ type: "Query";
2228
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2229
+ }, {
2230
+ name: "offset";
2231
+ type: "Query";
2232
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2233
+ }];
2234
+ response: z.ZodType<SegmentationList, z.ZodTypeDef, SegmentationList>;
2235
+ errors: [{
2236
+ status: 404;
2237
+ description: string;
2238
+ schema: z.ZodObject<{
2239
+ error: z.ZodString;
2240
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2241
+ error: z.ZodString;
2242
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2243
+ error: z.ZodString;
2244
+ }, z.ZodTypeAny, "passthrough">>;
2245
+ }, {
2246
+ status: 500;
2247
+ description: string;
2248
+ schema: z.ZodObject<{
2249
+ error: z.ZodString;
2250
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2251
+ error: z.ZodString;
2252
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2253
+ error: z.ZodString;
2254
+ }, z.ZodTypeAny, "passthrough">>;
2255
+ }];
976
2256
  }]>;
977
2257
  export {};