@aviaryhq/cloudglue-js 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/Collections.d.ts +785 -4
- package/dist/generated/Collections.js +148 -1
- package/dist/generated/Search.d.ts +85 -14
- package/dist/generated/Search.js +37 -6
- package/dist/generated/Segments.d.ts +13 -1
- package/dist/generated/Segments.js +15 -1
- package/dist/src/client.d.ts +164 -17
- package/dist/src/client.js +7 -1
- package/dist/src/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ type Collection = {
|
|
|
10
10
|
object: "collection";
|
|
11
11
|
name: string;
|
|
12
12
|
description?: (string | null) | undefined;
|
|
13
|
-
collection_type: "media-descriptions" | "entities" | "rich-transcripts";
|
|
13
|
+
collection_type: "media-descriptions" | "entities" | "rich-transcripts" | "face-analysis";
|
|
14
14
|
extract_config?: Partial<{
|
|
15
15
|
prompt: string;
|
|
16
16
|
schema: {};
|
|
@@ -33,11 +33,23 @@ type Collection = {
|
|
|
33
33
|
}> | undefined;
|
|
34
34
|
default_segmentation_config?: SegmentationConfig | undefined;
|
|
35
35
|
default_thumbnails_config?: ThumbnailsConfig | undefined;
|
|
36
|
+
face_detection_config?: Partial<{
|
|
37
|
+
frame_extraction_config: {
|
|
38
|
+
strategy: "uniform";
|
|
39
|
+
uniform_config?: Partial<{
|
|
40
|
+
frames_per_second: number;
|
|
41
|
+
max_width: number;
|
|
42
|
+
}> | undefined;
|
|
43
|
+
};
|
|
44
|
+
thumbnails_config: Partial<{
|
|
45
|
+
enable_frame_thumbnails: boolean;
|
|
46
|
+
}>;
|
|
47
|
+
}> | null | undefined;
|
|
36
48
|
created_at: number;
|
|
37
49
|
file_count: number;
|
|
38
50
|
};
|
|
39
51
|
type NewCollection = {
|
|
40
|
-
collection_type: "media-descriptions" | "entities" | "rich-transcripts";
|
|
52
|
+
collection_type: "media-descriptions" | "entities" | "rich-transcripts" | "face-analysis";
|
|
41
53
|
name: string;
|
|
42
54
|
description?: (string | null) | undefined;
|
|
43
55
|
describe_config?: Partial<{
|
|
@@ -62,6 +74,18 @@ type NewCollection = {
|
|
|
62
74
|
}> | undefined;
|
|
63
75
|
default_segmentation_config?: SegmentationConfig | undefined;
|
|
64
76
|
default_thumbnails_config?: ThumbnailsConfig | undefined;
|
|
77
|
+
face_detection_config?: Partial<{
|
|
78
|
+
frame_extraction_config: {
|
|
79
|
+
strategy: "uniform";
|
|
80
|
+
uniform_config?: Partial<{
|
|
81
|
+
frames_per_second: number;
|
|
82
|
+
max_width: number;
|
|
83
|
+
}> | undefined;
|
|
84
|
+
};
|
|
85
|
+
thumbnails_config: Partial<{
|
|
86
|
+
enable_frame_thumbnails: boolean;
|
|
87
|
+
}>;
|
|
88
|
+
}> | null | undefined;
|
|
65
89
|
};
|
|
66
90
|
type CollectionList = {
|
|
67
91
|
object: "list";
|
|
@@ -736,6 +760,217 @@ export declare const schemas: {
|
|
|
736
760
|
limit: z.ZodNumber;
|
|
737
761
|
offset: z.ZodNumber;
|
|
738
762
|
}, z.ZodTypeAny, "passthrough">>;
|
|
763
|
+
FileFaceDetections: z.ZodObject<{
|
|
764
|
+
collection_id: z.ZodString;
|
|
765
|
+
file_id: z.ZodString;
|
|
766
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
face_bounding_box: z.ZodObject<{
|
|
769
|
+
height: z.ZodNumber;
|
|
770
|
+
width: z.ZodNumber;
|
|
771
|
+
top: z.ZodNumber;
|
|
772
|
+
left: z.ZodNumber;
|
|
773
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
774
|
+
height: z.ZodNumber;
|
|
775
|
+
width: z.ZodNumber;
|
|
776
|
+
top: z.ZodNumber;
|
|
777
|
+
left: z.ZodNumber;
|
|
778
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
779
|
+
height: z.ZodNumber;
|
|
780
|
+
width: z.ZodNumber;
|
|
781
|
+
top: z.ZodNumber;
|
|
782
|
+
left: z.ZodNumber;
|
|
783
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
784
|
+
frame_id: z.ZodString;
|
|
785
|
+
timestamp: z.ZodNumber;
|
|
786
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
787
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
788
|
+
id: z.ZodString;
|
|
789
|
+
face_bounding_box: z.ZodObject<{
|
|
790
|
+
height: z.ZodNumber;
|
|
791
|
+
width: z.ZodNumber;
|
|
792
|
+
top: z.ZodNumber;
|
|
793
|
+
left: z.ZodNumber;
|
|
794
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
795
|
+
height: z.ZodNumber;
|
|
796
|
+
width: z.ZodNumber;
|
|
797
|
+
top: z.ZodNumber;
|
|
798
|
+
left: z.ZodNumber;
|
|
799
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
800
|
+
height: z.ZodNumber;
|
|
801
|
+
width: z.ZodNumber;
|
|
802
|
+
top: z.ZodNumber;
|
|
803
|
+
left: z.ZodNumber;
|
|
804
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
805
|
+
frame_id: z.ZodString;
|
|
806
|
+
timestamp: z.ZodNumber;
|
|
807
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
808
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
809
|
+
id: z.ZodString;
|
|
810
|
+
face_bounding_box: z.ZodObject<{
|
|
811
|
+
height: z.ZodNumber;
|
|
812
|
+
width: z.ZodNumber;
|
|
813
|
+
top: z.ZodNumber;
|
|
814
|
+
left: z.ZodNumber;
|
|
815
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
816
|
+
height: z.ZodNumber;
|
|
817
|
+
width: z.ZodNumber;
|
|
818
|
+
top: z.ZodNumber;
|
|
819
|
+
left: z.ZodNumber;
|
|
820
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
821
|
+
height: z.ZodNumber;
|
|
822
|
+
width: z.ZodNumber;
|
|
823
|
+
top: z.ZodNumber;
|
|
824
|
+
left: z.ZodNumber;
|
|
825
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
826
|
+
frame_id: z.ZodString;
|
|
827
|
+
timestamp: z.ZodNumber;
|
|
828
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
830
|
+
total: z.ZodNumber;
|
|
831
|
+
limit: z.ZodNumber;
|
|
832
|
+
offset: z.ZodNumber;
|
|
833
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
834
|
+
collection_id: z.ZodString;
|
|
835
|
+
file_id: z.ZodString;
|
|
836
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
837
|
+
id: z.ZodString;
|
|
838
|
+
face_bounding_box: z.ZodObject<{
|
|
839
|
+
height: z.ZodNumber;
|
|
840
|
+
width: z.ZodNumber;
|
|
841
|
+
top: z.ZodNumber;
|
|
842
|
+
left: z.ZodNumber;
|
|
843
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
844
|
+
height: z.ZodNumber;
|
|
845
|
+
width: z.ZodNumber;
|
|
846
|
+
top: z.ZodNumber;
|
|
847
|
+
left: z.ZodNumber;
|
|
848
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
849
|
+
height: z.ZodNumber;
|
|
850
|
+
width: z.ZodNumber;
|
|
851
|
+
top: z.ZodNumber;
|
|
852
|
+
left: z.ZodNumber;
|
|
853
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
854
|
+
frame_id: z.ZodString;
|
|
855
|
+
timestamp: z.ZodNumber;
|
|
856
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
857
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
858
|
+
id: z.ZodString;
|
|
859
|
+
face_bounding_box: z.ZodObject<{
|
|
860
|
+
height: z.ZodNumber;
|
|
861
|
+
width: z.ZodNumber;
|
|
862
|
+
top: z.ZodNumber;
|
|
863
|
+
left: z.ZodNumber;
|
|
864
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
865
|
+
height: z.ZodNumber;
|
|
866
|
+
width: z.ZodNumber;
|
|
867
|
+
top: z.ZodNumber;
|
|
868
|
+
left: z.ZodNumber;
|
|
869
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
870
|
+
height: z.ZodNumber;
|
|
871
|
+
width: z.ZodNumber;
|
|
872
|
+
top: z.ZodNumber;
|
|
873
|
+
left: z.ZodNumber;
|
|
874
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
875
|
+
frame_id: z.ZodString;
|
|
876
|
+
timestamp: z.ZodNumber;
|
|
877
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
878
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
879
|
+
id: z.ZodString;
|
|
880
|
+
face_bounding_box: z.ZodObject<{
|
|
881
|
+
height: z.ZodNumber;
|
|
882
|
+
width: z.ZodNumber;
|
|
883
|
+
top: z.ZodNumber;
|
|
884
|
+
left: z.ZodNumber;
|
|
885
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
886
|
+
height: z.ZodNumber;
|
|
887
|
+
width: z.ZodNumber;
|
|
888
|
+
top: z.ZodNumber;
|
|
889
|
+
left: z.ZodNumber;
|
|
890
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
891
|
+
height: z.ZodNumber;
|
|
892
|
+
width: z.ZodNumber;
|
|
893
|
+
top: z.ZodNumber;
|
|
894
|
+
left: z.ZodNumber;
|
|
895
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
896
|
+
frame_id: z.ZodString;
|
|
897
|
+
timestamp: z.ZodNumber;
|
|
898
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
899
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
900
|
+
total: z.ZodNumber;
|
|
901
|
+
limit: z.ZodNumber;
|
|
902
|
+
offset: z.ZodNumber;
|
|
903
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
904
|
+
collection_id: z.ZodString;
|
|
905
|
+
file_id: z.ZodString;
|
|
906
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
907
|
+
id: z.ZodString;
|
|
908
|
+
face_bounding_box: z.ZodObject<{
|
|
909
|
+
height: z.ZodNumber;
|
|
910
|
+
width: z.ZodNumber;
|
|
911
|
+
top: z.ZodNumber;
|
|
912
|
+
left: z.ZodNumber;
|
|
913
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
914
|
+
height: z.ZodNumber;
|
|
915
|
+
width: z.ZodNumber;
|
|
916
|
+
top: z.ZodNumber;
|
|
917
|
+
left: z.ZodNumber;
|
|
918
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
919
|
+
height: z.ZodNumber;
|
|
920
|
+
width: z.ZodNumber;
|
|
921
|
+
top: z.ZodNumber;
|
|
922
|
+
left: z.ZodNumber;
|
|
923
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
924
|
+
frame_id: z.ZodString;
|
|
925
|
+
timestamp: z.ZodNumber;
|
|
926
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
927
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
928
|
+
id: z.ZodString;
|
|
929
|
+
face_bounding_box: z.ZodObject<{
|
|
930
|
+
height: z.ZodNumber;
|
|
931
|
+
width: z.ZodNumber;
|
|
932
|
+
top: z.ZodNumber;
|
|
933
|
+
left: z.ZodNumber;
|
|
934
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
935
|
+
height: z.ZodNumber;
|
|
936
|
+
width: z.ZodNumber;
|
|
937
|
+
top: z.ZodNumber;
|
|
938
|
+
left: z.ZodNumber;
|
|
939
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
940
|
+
height: z.ZodNumber;
|
|
941
|
+
width: z.ZodNumber;
|
|
942
|
+
top: z.ZodNumber;
|
|
943
|
+
left: z.ZodNumber;
|
|
944
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
945
|
+
frame_id: z.ZodString;
|
|
946
|
+
timestamp: z.ZodNumber;
|
|
947
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
948
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
949
|
+
id: z.ZodString;
|
|
950
|
+
face_bounding_box: z.ZodObject<{
|
|
951
|
+
height: z.ZodNumber;
|
|
952
|
+
width: z.ZodNumber;
|
|
953
|
+
top: z.ZodNumber;
|
|
954
|
+
left: z.ZodNumber;
|
|
955
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
956
|
+
height: z.ZodNumber;
|
|
957
|
+
width: z.ZodNumber;
|
|
958
|
+
top: z.ZodNumber;
|
|
959
|
+
left: z.ZodNumber;
|
|
960
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
961
|
+
height: z.ZodNumber;
|
|
962
|
+
width: z.ZodNumber;
|
|
963
|
+
top: z.ZodNumber;
|
|
964
|
+
left: z.ZodNumber;
|
|
965
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
966
|
+
frame_id: z.ZodString;
|
|
967
|
+
timestamp: z.ZodNumber;
|
|
968
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
969
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
970
|
+
total: z.ZodNumber;
|
|
971
|
+
limit: z.ZodNumber;
|
|
972
|
+
offset: z.ZodNumber;
|
|
973
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
739
974
|
};
|
|
740
975
|
export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
741
976
|
method: "post";
|
|
@@ -816,7 +1051,15 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
816
1051
|
}, {
|
|
817
1052
|
name: "collection_type";
|
|
818
1053
|
type: "Query";
|
|
819
|
-
schema: z.ZodOptional<z.ZodEnum<["media-descriptions", "entities", "rich-transcripts"]>>;
|
|
1054
|
+
schema: z.ZodOptional<z.ZodEnum<["media-descriptions", "entities", "rich-transcripts", "face-analysis"]>>;
|
|
1055
|
+
}, {
|
|
1056
|
+
name: "created_after";
|
|
1057
|
+
type: "Query";
|
|
1058
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
}, {
|
|
1060
|
+
name: "created_before";
|
|
1061
|
+
type: "Query";
|
|
1062
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
820
1063
|
}];
|
|
821
1064
|
response: z.ZodType<CollectionList, z.ZodTypeDef, CollectionList>;
|
|
822
1065
|
errors: [{
|
|
@@ -2053,6 +2296,271 @@ export declare const CollectionsApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
2053
2296
|
error: z.ZodString;
|
|
2054
2297
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2055
2298
|
}];
|
|
2299
|
+
}, {
|
|
2300
|
+
method: "get";
|
|
2301
|
+
path: "/collections/:collection_id/videos/:file_id/face-detections";
|
|
2302
|
+
alias: "getFaceDetections";
|
|
2303
|
+
description: "Retrieve face detections for a specific file in a collection. Results are paginated with a default limit of 50 faces per request (maximum 100). Use limit and offset parameters to paginate through all results. This API is only available when the collection is created with collection_type 'face-analysis'";
|
|
2304
|
+
requestFormat: "json";
|
|
2305
|
+
parameters: [{
|
|
2306
|
+
name: "collection_id";
|
|
2307
|
+
type: "Path";
|
|
2308
|
+
schema: z.ZodString;
|
|
2309
|
+
}, {
|
|
2310
|
+
name: "file_id";
|
|
2311
|
+
type: "Path";
|
|
2312
|
+
schema: z.ZodString;
|
|
2313
|
+
}, {
|
|
2314
|
+
name: "limit";
|
|
2315
|
+
type: "Query";
|
|
2316
|
+
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2317
|
+
}, {
|
|
2318
|
+
name: "offset";
|
|
2319
|
+
type: "Query";
|
|
2320
|
+
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2321
|
+
}];
|
|
2322
|
+
response: z.ZodObject<{
|
|
2323
|
+
collection_id: z.ZodString;
|
|
2324
|
+
file_id: z.ZodString;
|
|
2325
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
2326
|
+
id: z.ZodString;
|
|
2327
|
+
face_bounding_box: z.ZodObject<{
|
|
2328
|
+
height: z.ZodNumber;
|
|
2329
|
+
width: z.ZodNumber;
|
|
2330
|
+
top: z.ZodNumber;
|
|
2331
|
+
left: z.ZodNumber;
|
|
2332
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2333
|
+
height: z.ZodNumber;
|
|
2334
|
+
width: z.ZodNumber;
|
|
2335
|
+
top: z.ZodNumber;
|
|
2336
|
+
left: z.ZodNumber;
|
|
2337
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2338
|
+
height: z.ZodNumber;
|
|
2339
|
+
width: z.ZodNumber;
|
|
2340
|
+
top: z.ZodNumber;
|
|
2341
|
+
left: z.ZodNumber;
|
|
2342
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2343
|
+
frame_id: z.ZodString;
|
|
2344
|
+
timestamp: z.ZodNumber;
|
|
2345
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2346
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2347
|
+
id: z.ZodString;
|
|
2348
|
+
face_bounding_box: z.ZodObject<{
|
|
2349
|
+
height: z.ZodNumber;
|
|
2350
|
+
width: z.ZodNumber;
|
|
2351
|
+
top: z.ZodNumber;
|
|
2352
|
+
left: z.ZodNumber;
|
|
2353
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2354
|
+
height: z.ZodNumber;
|
|
2355
|
+
width: z.ZodNumber;
|
|
2356
|
+
top: z.ZodNumber;
|
|
2357
|
+
left: z.ZodNumber;
|
|
2358
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2359
|
+
height: z.ZodNumber;
|
|
2360
|
+
width: z.ZodNumber;
|
|
2361
|
+
top: z.ZodNumber;
|
|
2362
|
+
left: z.ZodNumber;
|
|
2363
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2364
|
+
frame_id: z.ZodString;
|
|
2365
|
+
timestamp: z.ZodNumber;
|
|
2366
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2368
|
+
id: z.ZodString;
|
|
2369
|
+
face_bounding_box: z.ZodObject<{
|
|
2370
|
+
height: z.ZodNumber;
|
|
2371
|
+
width: z.ZodNumber;
|
|
2372
|
+
top: z.ZodNumber;
|
|
2373
|
+
left: z.ZodNumber;
|
|
2374
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2375
|
+
height: z.ZodNumber;
|
|
2376
|
+
width: z.ZodNumber;
|
|
2377
|
+
top: z.ZodNumber;
|
|
2378
|
+
left: z.ZodNumber;
|
|
2379
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2380
|
+
height: z.ZodNumber;
|
|
2381
|
+
width: z.ZodNumber;
|
|
2382
|
+
top: z.ZodNumber;
|
|
2383
|
+
left: z.ZodNumber;
|
|
2384
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2385
|
+
frame_id: z.ZodString;
|
|
2386
|
+
timestamp: z.ZodNumber;
|
|
2387
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2388
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2389
|
+
total: z.ZodNumber;
|
|
2390
|
+
limit: z.ZodNumber;
|
|
2391
|
+
offset: z.ZodNumber;
|
|
2392
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2393
|
+
collection_id: z.ZodString;
|
|
2394
|
+
file_id: z.ZodString;
|
|
2395
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
2396
|
+
id: z.ZodString;
|
|
2397
|
+
face_bounding_box: z.ZodObject<{
|
|
2398
|
+
height: z.ZodNumber;
|
|
2399
|
+
width: z.ZodNumber;
|
|
2400
|
+
top: z.ZodNumber;
|
|
2401
|
+
left: z.ZodNumber;
|
|
2402
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2403
|
+
height: z.ZodNumber;
|
|
2404
|
+
width: z.ZodNumber;
|
|
2405
|
+
top: z.ZodNumber;
|
|
2406
|
+
left: z.ZodNumber;
|
|
2407
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2408
|
+
height: z.ZodNumber;
|
|
2409
|
+
width: z.ZodNumber;
|
|
2410
|
+
top: z.ZodNumber;
|
|
2411
|
+
left: z.ZodNumber;
|
|
2412
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2413
|
+
frame_id: z.ZodString;
|
|
2414
|
+
timestamp: z.ZodNumber;
|
|
2415
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2417
|
+
id: z.ZodString;
|
|
2418
|
+
face_bounding_box: z.ZodObject<{
|
|
2419
|
+
height: z.ZodNumber;
|
|
2420
|
+
width: z.ZodNumber;
|
|
2421
|
+
top: z.ZodNumber;
|
|
2422
|
+
left: z.ZodNumber;
|
|
2423
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2424
|
+
height: z.ZodNumber;
|
|
2425
|
+
width: z.ZodNumber;
|
|
2426
|
+
top: z.ZodNumber;
|
|
2427
|
+
left: z.ZodNumber;
|
|
2428
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2429
|
+
height: z.ZodNumber;
|
|
2430
|
+
width: z.ZodNumber;
|
|
2431
|
+
top: z.ZodNumber;
|
|
2432
|
+
left: z.ZodNumber;
|
|
2433
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2434
|
+
frame_id: z.ZodString;
|
|
2435
|
+
timestamp: z.ZodNumber;
|
|
2436
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2437
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2438
|
+
id: z.ZodString;
|
|
2439
|
+
face_bounding_box: z.ZodObject<{
|
|
2440
|
+
height: z.ZodNumber;
|
|
2441
|
+
width: z.ZodNumber;
|
|
2442
|
+
top: z.ZodNumber;
|
|
2443
|
+
left: z.ZodNumber;
|
|
2444
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2445
|
+
height: z.ZodNumber;
|
|
2446
|
+
width: z.ZodNumber;
|
|
2447
|
+
top: z.ZodNumber;
|
|
2448
|
+
left: z.ZodNumber;
|
|
2449
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2450
|
+
height: z.ZodNumber;
|
|
2451
|
+
width: z.ZodNumber;
|
|
2452
|
+
top: z.ZodNumber;
|
|
2453
|
+
left: z.ZodNumber;
|
|
2454
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2455
|
+
frame_id: z.ZodString;
|
|
2456
|
+
timestamp: z.ZodNumber;
|
|
2457
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2459
|
+
total: z.ZodNumber;
|
|
2460
|
+
limit: z.ZodNumber;
|
|
2461
|
+
offset: z.ZodNumber;
|
|
2462
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2463
|
+
collection_id: z.ZodString;
|
|
2464
|
+
file_id: z.ZodString;
|
|
2465
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
2466
|
+
id: z.ZodString;
|
|
2467
|
+
face_bounding_box: z.ZodObject<{
|
|
2468
|
+
height: z.ZodNumber;
|
|
2469
|
+
width: z.ZodNumber;
|
|
2470
|
+
top: z.ZodNumber;
|
|
2471
|
+
left: z.ZodNumber;
|
|
2472
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2473
|
+
height: z.ZodNumber;
|
|
2474
|
+
width: z.ZodNumber;
|
|
2475
|
+
top: z.ZodNumber;
|
|
2476
|
+
left: z.ZodNumber;
|
|
2477
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2478
|
+
height: z.ZodNumber;
|
|
2479
|
+
width: z.ZodNumber;
|
|
2480
|
+
top: z.ZodNumber;
|
|
2481
|
+
left: z.ZodNumber;
|
|
2482
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2483
|
+
frame_id: z.ZodString;
|
|
2484
|
+
timestamp: z.ZodNumber;
|
|
2485
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2486
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2487
|
+
id: z.ZodString;
|
|
2488
|
+
face_bounding_box: z.ZodObject<{
|
|
2489
|
+
height: z.ZodNumber;
|
|
2490
|
+
width: z.ZodNumber;
|
|
2491
|
+
top: z.ZodNumber;
|
|
2492
|
+
left: z.ZodNumber;
|
|
2493
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2494
|
+
height: z.ZodNumber;
|
|
2495
|
+
width: z.ZodNumber;
|
|
2496
|
+
top: z.ZodNumber;
|
|
2497
|
+
left: z.ZodNumber;
|
|
2498
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2499
|
+
height: z.ZodNumber;
|
|
2500
|
+
width: z.ZodNumber;
|
|
2501
|
+
top: z.ZodNumber;
|
|
2502
|
+
left: z.ZodNumber;
|
|
2503
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2504
|
+
frame_id: z.ZodString;
|
|
2505
|
+
timestamp: z.ZodNumber;
|
|
2506
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2508
|
+
id: z.ZodString;
|
|
2509
|
+
face_bounding_box: z.ZodObject<{
|
|
2510
|
+
height: z.ZodNumber;
|
|
2511
|
+
width: z.ZodNumber;
|
|
2512
|
+
top: z.ZodNumber;
|
|
2513
|
+
left: z.ZodNumber;
|
|
2514
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2515
|
+
height: z.ZodNumber;
|
|
2516
|
+
width: z.ZodNumber;
|
|
2517
|
+
top: z.ZodNumber;
|
|
2518
|
+
left: z.ZodNumber;
|
|
2519
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2520
|
+
height: z.ZodNumber;
|
|
2521
|
+
width: z.ZodNumber;
|
|
2522
|
+
top: z.ZodNumber;
|
|
2523
|
+
left: z.ZodNumber;
|
|
2524
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2525
|
+
frame_id: z.ZodString;
|
|
2526
|
+
timestamp: z.ZodNumber;
|
|
2527
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
2528
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2529
|
+
total: z.ZodNumber;
|
|
2530
|
+
limit: z.ZodNumber;
|
|
2531
|
+
offset: z.ZodNumber;
|
|
2532
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2533
|
+
errors: [{
|
|
2534
|
+
status: 400;
|
|
2535
|
+
description: string;
|
|
2536
|
+
schema: z.ZodObject<{
|
|
2537
|
+
error: z.ZodString;
|
|
2538
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2539
|
+
error: z.ZodString;
|
|
2540
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2541
|
+
error: z.ZodString;
|
|
2542
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2543
|
+
}, {
|
|
2544
|
+
status: 404;
|
|
2545
|
+
description: string;
|
|
2546
|
+
schema: z.ZodObject<{
|
|
2547
|
+
error: z.ZodString;
|
|
2548
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2549
|
+
error: z.ZodString;
|
|
2550
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2551
|
+
error: z.ZodString;
|
|
2552
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2553
|
+
}, {
|
|
2554
|
+
status: 500;
|
|
2555
|
+
description: string;
|
|
2556
|
+
schema: z.ZodObject<{
|
|
2557
|
+
error: z.ZodString;
|
|
2558
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2559
|
+
error: z.ZodString;
|
|
2560
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2561
|
+
error: z.ZodString;
|
|
2562
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2563
|
+
}];
|
|
2056
2564
|
}]>;
|
|
2057
2565
|
export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
|
|
2058
2566
|
method: "post";
|
|
@@ -2133,7 +2641,15 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
2133
2641
|
}, {
|
|
2134
2642
|
name: "collection_type";
|
|
2135
2643
|
type: "Query";
|
|
2136
|
-
schema: z.ZodOptional<z.ZodEnum<["media-descriptions", "entities", "rich-transcripts"]>>;
|
|
2644
|
+
schema: z.ZodOptional<z.ZodEnum<["media-descriptions", "entities", "rich-transcripts", "face-analysis"]>>;
|
|
2645
|
+
}, {
|
|
2646
|
+
name: "created_after";
|
|
2647
|
+
type: "Query";
|
|
2648
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
}, {
|
|
2650
|
+
name: "created_before";
|
|
2651
|
+
type: "Query";
|
|
2652
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
2137
2653
|
}];
|
|
2138
2654
|
response: z.ZodType<CollectionList, z.ZodTypeDef, CollectionList>;
|
|
2139
2655
|
errors: [{
|
|
@@ -3370,5 +3886,270 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
3370
3886
|
error: z.ZodString;
|
|
3371
3887
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3372
3888
|
}];
|
|
3889
|
+
}, {
|
|
3890
|
+
method: "get";
|
|
3891
|
+
path: "/collections/:collection_id/videos/:file_id/face-detections";
|
|
3892
|
+
alias: "getFaceDetections";
|
|
3893
|
+
description: "Retrieve face detections for a specific file in a collection. Results are paginated with a default limit of 50 faces per request (maximum 100). Use limit and offset parameters to paginate through all results. This API is only available when the collection is created with collection_type 'face-analysis'";
|
|
3894
|
+
requestFormat: "json";
|
|
3895
|
+
parameters: [{
|
|
3896
|
+
name: "collection_id";
|
|
3897
|
+
type: "Path";
|
|
3898
|
+
schema: z.ZodString;
|
|
3899
|
+
}, {
|
|
3900
|
+
name: "file_id";
|
|
3901
|
+
type: "Path";
|
|
3902
|
+
schema: z.ZodString;
|
|
3903
|
+
}, {
|
|
3904
|
+
name: "limit";
|
|
3905
|
+
type: "Query";
|
|
3906
|
+
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3907
|
+
}, {
|
|
3908
|
+
name: "offset";
|
|
3909
|
+
type: "Query";
|
|
3910
|
+
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3911
|
+
}];
|
|
3912
|
+
response: z.ZodObject<{
|
|
3913
|
+
collection_id: z.ZodString;
|
|
3914
|
+
file_id: z.ZodString;
|
|
3915
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
3916
|
+
id: z.ZodString;
|
|
3917
|
+
face_bounding_box: z.ZodObject<{
|
|
3918
|
+
height: z.ZodNumber;
|
|
3919
|
+
width: z.ZodNumber;
|
|
3920
|
+
top: z.ZodNumber;
|
|
3921
|
+
left: z.ZodNumber;
|
|
3922
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3923
|
+
height: z.ZodNumber;
|
|
3924
|
+
width: z.ZodNumber;
|
|
3925
|
+
top: z.ZodNumber;
|
|
3926
|
+
left: z.ZodNumber;
|
|
3927
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3928
|
+
height: z.ZodNumber;
|
|
3929
|
+
width: z.ZodNumber;
|
|
3930
|
+
top: z.ZodNumber;
|
|
3931
|
+
left: z.ZodNumber;
|
|
3932
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3933
|
+
frame_id: z.ZodString;
|
|
3934
|
+
timestamp: z.ZodNumber;
|
|
3935
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
3936
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3937
|
+
id: z.ZodString;
|
|
3938
|
+
face_bounding_box: z.ZodObject<{
|
|
3939
|
+
height: z.ZodNumber;
|
|
3940
|
+
width: z.ZodNumber;
|
|
3941
|
+
top: z.ZodNumber;
|
|
3942
|
+
left: z.ZodNumber;
|
|
3943
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3944
|
+
height: z.ZodNumber;
|
|
3945
|
+
width: z.ZodNumber;
|
|
3946
|
+
top: z.ZodNumber;
|
|
3947
|
+
left: z.ZodNumber;
|
|
3948
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3949
|
+
height: z.ZodNumber;
|
|
3950
|
+
width: z.ZodNumber;
|
|
3951
|
+
top: z.ZodNumber;
|
|
3952
|
+
left: z.ZodNumber;
|
|
3953
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3954
|
+
frame_id: z.ZodString;
|
|
3955
|
+
timestamp: z.ZodNumber;
|
|
3956
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
3957
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3958
|
+
id: z.ZodString;
|
|
3959
|
+
face_bounding_box: z.ZodObject<{
|
|
3960
|
+
height: z.ZodNumber;
|
|
3961
|
+
width: z.ZodNumber;
|
|
3962
|
+
top: z.ZodNumber;
|
|
3963
|
+
left: z.ZodNumber;
|
|
3964
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3965
|
+
height: z.ZodNumber;
|
|
3966
|
+
width: z.ZodNumber;
|
|
3967
|
+
top: z.ZodNumber;
|
|
3968
|
+
left: z.ZodNumber;
|
|
3969
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3970
|
+
height: z.ZodNumber;
|
|
3971
|
+
width: z.ZodNumber;
|
|
3972
|
+
top: z.ZodNumber;
|
|
3973
|
+
left: z.ZodNumber;
|
|
3974
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3975
|
+
frame_id: z.ZodString;
|
|
3976
|
+
timestamp: z.ZodNumber;
|
|
3977
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
3978
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3979
|
+
total: z.ZodNumber;
|
|
3980
|
+
limit: z.ZodNumber;
|
|
3981
|
+
offset: z.ZodNumber;
|
|
3982
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3983
|
+
collection_id: z.ZodString;
|
|
3984
|
+
file_id: z.ZodString;
|
|
3985
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
3986
|
+
id: z.ZodString;
|
|
3987
|
+
face_bounding_box: z.ZodObject<{
|
|
3988
|
+
height: z.ZodNumber;
|
|
3989
|
+
width: z.ZodNumber;
|
|
3990
|
+
top: z.ZodNumber;
|
|
3991
|
+
left: z.ZodNumber;
|
|
3992
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3993
|
+
height: z.ZodNumber;
|
|
3994
|
+
width: z.ZodNumber;
|
|
3995
|
+
top: z.ZodNumber;
|
|
3996
|
+
left: z.ZodNumber;
|
|
3997
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3998
|
+
height: z.ZodNumber;
|
|
3999
|
+
width: z.ZodNumber;
|
|
4000
|
+
top: z.ZodNumber;
|
|
4001
|
+
left: z.ZodNumber;
|
|
4002
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4003
|
+
frame_id: z.ZodString;
|
|
4004
|
+
timestamp: z.ZodNumber;
|
|
4005
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
4006
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4007
|
+
id: z.ZodString;
|
|
4008
|
+
face_bounding_box: z.ZodObject<{
|
|
4009
|
+
height: z.ZodNumber;
|
|
4010
|
+
width: z.ZodNumber;
|
|
4011
|
+
top: z.ZodNumber;
|
|
4012
|
+
left: z.ZodNumber;
|
|
4013
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4014
|
+
height: z.ZodNumber;
|
|
4015
|
+
width: z.ZodNumber;
|
|
4016
|
+
top: z.ZodNumber;
|
|
4017
|
+
left: z.ZodNumber;
|
|
4018
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4019
|
+
height: z.ZodNumber;
|
|
4020
|
+
width: z.ZodNumber;
|
|
4021
|
+
top: z.ZodNumber;
|
|
4022
|
+
left: z.ZodNumber;
|
|
4023
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4024
|
+
frame_id: z.ZodString;
|
|
4025
|
+
timestamp: z.ZodNumber;
|
|
4026
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4028
|
+
id: z.ZodString;
|
|
4029
|
+
face_bounding_box: z.ZodObject<{
|
|
4030
|
+
height: z.ZodNumber;
|
|
4031
|
+
width: z.ZodNumber;
|
|
4032
|
+
top: z.ZodNumber;
|
|
4033
|
+
left: z.ZodNumber;
|
|
4034
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4035
|
+
height: z.ZodNumber;
|
|
4036
|
+
width: z.ZodNumber;
|
|
4037
|
+
top: z.ZodNumber;
|
|
4038
|
+
left: z.ZodNumber;
|
|
4039
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4040
|
+
height: z.ZodNumber;
|
|
4041
|
+
width: z.ZodNumber;
|
|
4042
|
+
top: z.ZodNumber;
|
|
4043
|
+
left: z.ZodNumber;
|
|
4044
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4045
|
+
frame_id: z.ZodString;
|
|
4046
|
+
timestamp: z.ZodNumber;
|
|
4047
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
4048
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
4049
|
+
total: z.ZodNumber;
|
|
4050
|
+
limit: z.ZodNumber;
|
|
4051
|
+
offset: z.ZodNumber;
|
|
4052
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4053
|
+
collection_id: z.ZodString;
|
|
4054
|
+
file_id: z.ZodString;
|
|
4055
|
+
faces: z.ZodArray<z.ZodObject<{
|
|
4056
|
+
id: z.ZodString;
|
|
4057
|
+
face_bounding_box: z.ZodObject<{
|
|
4058
|
+
height: z.ZodNumber;
|
|
4059
|
+
width: z.ZodNumber;
|
|
4060
|
+
top: z.ZodNumber;
|
|
4061
|
+
left: z.ZodNumber;
|
|
4062
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4063
|
+
height: z.ZodNumber;
|
|
4064
|
+
width: z.ZodNumber;
|
|
4065
|
+
top: z.ZodNumber;
|
|
4066
|
+
left: z.ZodNumber;
|
|
4067
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4068
|
+
height: z.ZodNumber;
|
|
4069
|
+
width: z.ZodNumber;
|
|
4070
|
+
top: z.ZodNumber;
|
|
4071
|
+
left: z.ZodNumber;
|
|
4072
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4073
|
+
frame_id: z.ZodString;
|
|
4074
|
+
timestamp: z.ZodNumber;
|
|
4075
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4077
|
+
id: z.ZodString;
|
|
4078
|
+
face_bounding_box: z.ZodObject<{
|
|
4079
|
+
height: z.ZodNumber;
|
|
4080
|
+
width: z.ZodNumber;
|
|
4081
|
+
top: z.ZodNumber;
|
|
4082
|
+
left: z.ZodNumber;
|
|
4083
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4084
|
+
height: z.ZodNumber;
|
|
4085
|
+
width: z.ZodNumber;
|
|
4086
|
+
top: z.ZodNumber;
|
|
4087
|
+
left: z.ZodNumber;
|
|
4088
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4089
|
+
height: z.ZodNumber;
|
|
4090
|
+
width: z.ZodNumber;
|
|
4091
|
+
top: z.ZodNumber;
|
|
4092
|
+
left: z.ZodNumber;
|
|
4093
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4094
|
+
frame_id: z.ZodString;
|
|
4095
|
+
timestamp: z.ZodNumber;
|
|
4096
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
4097
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4098
|
+
id: z.ZodString;
|
|
4099
|
+
face_bounding_box: z.ZodObject<{
|
|
4100
|
+
height: z.ZodNumber;
|
|
4101
|
+
width: z.ZodNumber;
|
|
4102
|
+
top: z.ZodNumber;
|
|
4103
|
+
left: z.ZodNumber;
|
|
4104
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4105
|
+
height: z.ZodNumber;
|
|
4106
|
+
width: z.ZodNumber;
|
|
4107
|
+
top: z.ZodNumber;
|
|
4108
|
+
left: z.ZodNumber;
|
|
4109
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4110
|
+
height: z.ZodNumber;
|
|
4111
|
+
width: z.ZodNumber;
|
|
4112
|
+
top: z.ZodNumber;
|
|
4113
|
+
left: z.ZodNumber;
|
|
4114
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4115
|
+
frame_id: z.ZodString;
|
|
4116
|
+
timestamp: z.ZodNumber;
|
|
4117
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
4118
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
4119
|
+
total: z.ZodNumber;
|
|
4120
|
+
limit: z.ZodNumber;
|
|
4121
|
+
offset: z.ZodNumber;
|
|
4122
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4123
|
+
errors: [{
|
|
4124
|
+
status: 400;
|
|
4125
|
+
description: string;
|
|
4126
|
+
schema: z.ZodObject<{
|
|
4127
|
+
error: z.ZodString;
|
|
4128
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4129
|
+
error: z.ZodString;
|
|
4130
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4131
|
+
error: z.ZodString;
|
|
4132
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4133
|
+
}, {
|
|
4134
|
+
status: 404;
|
|
4135
|
+
description: string;
|
|
4136
|
+
schema: z.ZodObject<{
|
|
4137
|
+
error: z.ZodString;
|
|
4138
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4139
|
+
error: z.ZodString;
|
|
4140
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4141
|
+
error: z.ZodString;
|
|
4142
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4143
|
+
}, {
|
|
4144
|
+
status: 500;
|
|
4145
|
+
description: string;
|
|
4146
|
+
schema: z.ZodObject<{
|
|
4147
|
+
error: z.ZodString;
|
|
4148
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4149
|
+
error: z.ZodString;
|
|
4150
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4151
|
+
error: z.ZodString;
|
|
4152
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4153
|
+
}];
|
|
3373
4154
|
}]>;
|
|
3374
4155
|
export {};
|