@aviaryhq/cloudglue-js 0.3.2 → 0.3.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.
- package/dist/generated/Collections.d.ts +187 -20
- package/dist/generated/Collections.js +60 -5
- package/dist/generated/Face_Detection.d.ts +309 -0
- package/dist/generated/Face_Detection.js +161 -0
- package/dist/generated/Face_Match.d.ts +333 -0
- package/dist/generated/Face_Match.js +179 -0
- package/dist/generated/Segments.d.ts +80 -2
- package/dist/generated/Segments.js +29 -2
- package/dist/generated/common.d.ts +22 -0
- package/dist/generated/common.js +14 -5
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +5 -1
- package/dist/src/client.d.ts +695 -6
- package/dist/src/client.js +229 -5
- package/dist/src/types.d.ts +49 -0
- package/package.json +1 -1
|
@@ -109,6 +109,12 @@ export type Thumbnail = {
|
|
|
109
109
|
segmentation_id?: string | undefined;
|
|
110
110
|
segment_id?: string | undefined;
|
|
111
111
|
};
|
|
112
|
+
export type FaceBoundingBox = {
|
|
113
|
+
height: number;
|
|
114
|
+
width: number;
|
|
115
|
+
top: number;
|
|
116
|
+
left: number;
|
|
117
|
+
};
|
|
112
118
|
export declare const ThumbnailsConfig: z.ZodObject<{
|
|
113
119
|
enable_segment_thumbnails: z.ZodBoolean;
|
|
114
120
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1655,3 +1661,19 @@ export declare const FrameExtraction: z.ZodObject<{
|
|
|
1655
1661
|
offset: z.ZodNumber;
|
|
1656
1662
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1657
1663
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1664
|
+
export declare const FaceBoundingBox: z.ZodObject<{
|
|
1665
|
+
height: z.ZodNumber;
|
|
1666
|
+
width: z.ZodNumber;
|
|
1667
|
+
top: z.ZodNumber;
|
|
1668
|
+
left: z.ZodNumber;
|
|
1669
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1670
|
+
height: z.ZodNumber;
|
|
1671
|
+
width: z.ZodNumber;
|
|
1672
|
+
top: z.ZodNumber;
|
|
1673
|
+
left: z.ZodNumber;
|
|
1674
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1675
|
+
height: z.ZodNumber;
|
|
1676
|
+
width: z.ZodNumber;
|
|
1677
|
+
top: z.ZodNumber;
|
|
1678
|
+
left: z.ZodNumber;
|
|
1679
|
+
}, z.ZodTypeAny, "passthrough">>;
|
package/dist/generated/common.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FrameExtraction = exports.FrameExtractionConfig = exports.FrameExtractionThumbnailsConfig = exports.FrameExtractionUniformConfig = exports.ThumbnailList = exports.Thumbnail = exports.Segmentation = exports.File = exports.FileSegmentationConfig = exports.SegmentationConfig = exports.SegmentationShotDetectorConfig = exports.SegmentationUniformConfig = exports.ThumbnailsConfig = void 0;
|
|
3
|
+
exports.FaceBoundingBox = exports.FrameExtraction = exports.FrameExtractionConfig = exports.FrameExtractionThumbnailsConfig = exports.FrameExtractionUniformConfig = exports.ThumbnailList = exports.Thumbnail = exports.Segmentation = exports.File = exports.FileSegmentationConfig = exports.SegmentationConfig = exports.SegmentationShotDetectorConfig = exports.SegmentationUniformConfig = exports.ThumbnailsConfig = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ThumbnailsConfig = zod_1.z
|
|
6
6
|
.object({ enable_segment_thumbnails: zod_1.z.boolean() })
|
|
@@ -8,16 +8,16 @@ exports.ThumbnailsConfig = zod_1.z
|
|
|
8
8
|
.passthrough();
|
|
9
9
|
exports.SegmentationUniformConfig = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
window_seconds: zod_1.z.number().gte(
|
|
12
|
-
hop_seconds: zod_1.z.number().gte(1).lte(
|
|
11
|
+
window_seconds: zod_1.z.number().gte(1).lte(120),
|
|
12
|
+
hop_seconds: zod_1.z.number().gte(1).lte(120).optional(),
|
|
13
13
|
})
|
|
14
14
|
.strict()
|
|
15
15
|
.passthrough();
|
|
16
16
|
exports.SegmentationShotDetectorConfig = zod_1.z
|
|
17
17
|
.object({
|
|
18
18
|
threshold: zod_1.z.number().nullish(),
|
|
19
|
-
min_seconds: zod_1.z.number().gte(
|
|
20
|
-
max_seconds: zod_1.z.number().gte(
|
|
19
|
+
min_seconds: zod_1.z.number().gte(1).lte(120).nullish(),
|
|
20
|
+
max_seconds: zod_1.z.number().gte(1).lte(120).nullish(),
|
|
21
21
|
detector: zod_1.z.enum(["adaptive", "content"]),
|
|
22
22
|
})
|
|
23
23
|
.strict()
|
|
@@ -198,3 +198,12 @@ exports.FrameExtraction = zod_1.z
|
|
|
198
198
|
})
|
|
199
199
|
.strict()
|
|
200
200
|
.passthrough();
|
|
201
|
+
exports.FaceBoundingBox = zod_1.z
|
|
202
|
+
.object({
|
|
203
|
+
height: zod_1.z.number().gte(0).lte(1),
|
|
204
|
+
width: zod_1.z.number().gte(0).lte(1),
|
|
205
|
+
top: zod_1.z.number().gte(0).lte(1),
|
|
206
|
+
left: zod_1.z.number().gte(0).lte(1),
|
|
207
|
+
})
|
|
208
|
+
.strict()
|
|
209
|
+
.passthrough();
|
|
@@ -9,3 +9,5 @@ export { SearchApi } from "./Search";
|
|
|
9
9
|
export { SegmentationsApi } from "./Segmentations";
|
|
10
10
|
export { FramesApi } from "./Frames";
|
|
11
11
|
export { SegmentsApi } from "./Segments";
|
|
12
|
+
export { Face_MatchApi } from "./Face_Match";
|
|
13
|
+
export { Face_DetectionApi } from "./Face_Detection";
|
package/dist/generated/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SegmentsApi = exports.FramesApi = exports.SegmentationsApi = exports.SearchApi = exports.WebhooksApi = exports.DescribeApi = exports.TranscribeApi = exports.ChatApi = exports.CollectionsApi = exports.FilesApi = exports.ExtractApi = void 0;
|
|
3
|
+
exports.Face_DetectionApi = exports.Face_MatchApi = exports.SegmentsApi = exports.FramesApi = exports.SegmentationsApi = exports.SearchApi = exports.WebhooksApi = exports.DescribeApi = exports.TranscribeApi = exports.ChatApi = exports.CollectionsApi = exports.FilesApi = exports.ExtractApi = void 0;
|
|
4
4
|
var Extract_1 = require("./Extract");
|
|
5
5
|
Object.defineProperty(exports, "ExtractApi", { enumerable: true, get: function () { return Extract_1.ExtractApi; } });
|
|
6
6
|
var Files_1 = require("./Files");
|
|
@@ -23,3 +23,7 @@ var Frames_1 = require("./Frames");
|
|
|
23
23
|
Object.defineProperty(exports, "FramesApi", { enumerable: true, get: function () { return Frames_1.FramesApi; } });
|
|
24
24
|
var Segments_1 = require("./Segments");
|
|
25
25
|
Object.defineProperty(exports, "SegmentsApi", { enumerable: true, get: function () { return Segments_1.SegmentsApi; } });
|
|
26
|
+
var Face_Match_1 = require("./Face_Match");
|
|
27
|
+
Object.defineProperty(exports, "Face_MatchApi", { enumerable: true, get: function () { return Face_Match_1.Face_MatchApi; } });
|
|
28
|
+
var Face_Detection_1 = require("./Face_Detection");
|
|
29
|
+
Object.defineProperty(exports, "Face_DetectionApi", { enumerable: true, get: function () { return Face_Detection_1.Face_DetectionApi; } });
|