@keystrokehq/pexels 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/collection-media.cjs +29 -29
- package/dist/actions/collection-media.cjs.map +1 -1
- package/dist/actions/collection-media.d.cts +62 -3
- package/dist/actions/collection-media.d.cts.map +1 -1
- package/dist/actions/collection-media.d.mts +62 -3
- package/dist/actions/collection-media.d.mts.map +1 -1
- package/dist/actions/collection-media.mjs +29 -29
- package/dist/actions/collection-media.mjs.map +1 -1
- package/dist/actions/curated-photos.cjs +21 -21
- package/dist/actions/curated-photos.cjs.map +1 -1
- package/dist/actions/curated-photos.d.cts +36 -3
- package/dist/actions/curated-photos.d.cts.map +1 -1
- package/dist/actions/curated-photos.d.mts +36 -3
- package/dist/actions/curated-photos.d.mts.map +1 -1
- package/dist/actions/curated-photos.mjs +21 -21
- package/dist/actions/curated-photos.mjs.map +1 -1
- package/dist/actions/featured-collections.cjs +9 -9
- package/dist/actions/featured-collections.cjs.map +1 -1
- package/dist/actions/featured-collections.d.cts +24 -3
- package/dist/actions/featured-collections.d.cts.map +1 -1
- package/dist/actions/featured-collections.d.mts +24 -3
- package/dist/actions/featured-collections.d.mts.map +1 -1
- package/dist/actions/featured-collections.mjs +9 -9
- package/dist/actions/featured-collections.mjs.map +1 -1
- package/dist/actions/get-photo.cjs +18 -18
- package/dist/actions/get-photo.cjs.map +1 -1
- package/dist/actions/get-photo.d.cts +28 -3
- package/dist/actions/get-photo.d.cts.map +1 -1
- package/dist/actions/get-photo.d.mts +28 -3
- package/dist/actions/get-photo.d.mts.map +1 -1
- package/dist/actions/get-photo.mjs +18 -18
- package/dist/actions/get-photo.mjs.map +1 -1
- package/dist/actions/get-video-by-id.cjs +17 -17
- package/dist/actions/get-video-by-id.cjs.map +1 -1
- package/dist/actions/get-video-by-id.d.cts +34 -3
- package/dist/actions/get-video-by-id.d.cts.map +1 -1
- package/dist/actions/get-video-by-id.d.mts +34 -3
- package/dist/actions/get-video-by-id.d.mts.map +1 -1
- package/dist/actions/get-video-by-id.mjs +17 -17
- package/dist/actions/get-video-by-id.mjs.map +1 -1
- package/dist/actions/my-collections.cjs +9 -9
- package/dist/actions/my-collections.cjs.map +1 -1
- package/dist/actions/my-collections.d.cts +22 -3
- package/dist/actions/my-collections.d.cts.map +1 -1
- package/dist/actions/my-collections.d.mts +22 -3
- package/dist/actions/my-collections.d.mts.map +1 -1
- package/dist/actions/my-collections.mjs +9 -9
- package/dist/actions/my-collections.mjs.map +1 -1
- package/dist/actions/popular-videos.cjs +23 -23
- package/dist/actions/popular-videos.cjs.map +1 -1
- package/dist/actions/popular-videos.d.cts +44 -3
- package/dist/actions/popular-videos.d.cts.map +1 -1
- package/dist/actions/popular-videos.d.mts +44 -3
- package/dist/actions/popular-videos.d.mts.map +1 -1
- package/dist/actions/popular-videos.mjs +23 -23
- package/dist/actions/popular-videos.mjs.map +1 -1
- package/dist/actions/search-photos.cjs +20 -20
- package/dist/actions/search-photos.cjs.map +1 -1
- package/dist/actions/search-photos.d.cts +55 -3
- package/dist/actions/search-photos.d.cts.map +1 -1
- package/dist/actions/search-photos.d.mts +55 -3
- package/dist/actions/search-photos.d.mts.map +1 -1
- package/dist/actions/search-photos.mjs +20 -20
- package/dist/actions/search-photos.mjs.map +1 -1
- package/dist/actions/search-videos.cjs +21 -21
- package/dist/actions/search-videos.cjs.map +1 -1
- package/dist/actions/search-videos.d.cts +58 -3
- package/dist/actions/search-videos.d.cts.map +1 -1
- package/dist/actions/search-videos.d.mts +58 -3
- package/dist/actions/search-videos.d.mts.map +1 -1
- package/dist/actions/search-videos.mjs +21 -21
- package/dist/actions/search-videos.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -17,44 +17,44 @@ const PexelsSearchVideosInput = zod.z.object({
|
|
|
17
17
|
]).describe("Filter results by video orientation").optional()
|
|
18
18
|
}).describe("Request model for searching videos on Pexels.");
|
|
19
19
|
const PexelsSearchVideos_UserSchema = zod.z.object({
|
|
20
|
-
id: zod.z.number().int().describe("Photographer user ID"),
|
|
21
|
-
url: zod.z.string().describe("Photographer profile URL"),
|
|
22
|
-
name: zod.z.string().describe("Photographer name")
|
|
20
|
+
id: zod.z.number().int().describe("Photographer user ID").nullable(),
|
|
21
|
+
url: zod.z.string().describe("Photographer profile URL").nullable(),
|
|
22
|
+
name: zod.z.string().describe("Photographer name").nullable()
|
|
23
23
|
});
|
|
24
24
|
const PexelsSearchVideos_VideoFileSchema = zod.z.object({
|
|
25
|
-
id: zod.z.number().int().describe("Video file ID"),
|
|
25
|
+
id: zod.z.number().int().describe("Video file ID").nullable(),
|
|
26
26
|
fps: zod.z.number().describe("Frames per second for this file").nullable().optional(),
|
|
27
|
-
link: zod.z.string().describe("Direct download link to this video file"),
|
|
28
|
-
width: zod.z.number().int().describe("Width of this video file in pixels"),
|
|
29
|
-
height: zod.z.number().int().describe("Height of this video file in pixels"),
|
|
27
|
+
link: zod.z.string().describe("Direct download link to this video file").nullable(),
|
|
28
|
+
width: zod.z.number().int().describe("Width of this video file in pixels").nullable(),
|
|
29
|
+
height: zod.z.number().int().describe("Height of this video file in pixels").nullable(),
|
|
30
30
|
quality: zod.z.string().describe("Video quality, e.g., 'hd' or 'sd'").nullable().optional(),
|
|
31
|
-
file_type: zod.z.string().describe("MIME type of the video file")
|
|
31
|
+
file_type: zod.z.string().describe("MIME type of the video file").nullable()
|
|
32
32
|
});
|
|
33
33
|
const PexelsSearchVideos_VideoPictureSchema = zod.z.object({
|
|
34
|
-
id: zod.z.number().int().describe("ID of the thumbnail picture"),
|
|
35
|
-
nr: zod.z.number().int().describe("Index number of this thumbnail in the video timeline"),
|
|
36
|
-
picture: zod.z.string().describe("URL to the thumbnail image")
|
|
34
|
+
id: zod.z.number().int().describe("ID of the thumbnail picture").nullable(),
|
|
35
|
+
nr: zod.z.number().int().describe("Index number of this thumbnail in the video timeline").nullable(),
|
|
36
|
+
picture: zod.z.string().describe("URL to the thumbnail image").nullable()
|
|
37
37
|
});
|
|
38
38
|
const PexelsSearchVideos_VideoSchema = zod.z.object({
|
|
39
|
-
id: zod.z.number().int().describe("Video ID"),
|
|
40
|
-
url: zod.z.string().describe("URL to the video page on Pexels"),
|
|
39
|
+
id: zod.z.number().int().describe("Video ID").nullable(),
|
|
40
|
+
url: zod.z.string().describe("URL to the video page on Pexels").nullable(),
|
|
41
41
|
tags: zod.z.array(zod.z.string()).describe("List of tags describing the video"),
|
|
42
42
|
user: PexelsSearchVideos_UserSchema.nullable(),
|
|
43
|
-
image: zod.z.string().describe("URL to the video thumbnail image"),
|
|
44
|
-
width: zod.z.number().int().describe("Original video width in pixels"),
|
|
45
|
-
height: zod.z.number().int().describe("Original video height in pixels"),
|
|
46
|
-
duration: zod.z.number().int().describe("Video duration in seconds"),
|
|
43
|
+
image: zod.z.string().describe("URL to the video thumbnail image").nullable(),
|
|
44
|
+
width: zod.z.number().int().describe("Original video width in pixels").nullable(),
|
|
45
|
+
height: zod.z.number().int().describe("Original video height in pixels").nullable(),
|
|
46
|
+
duration: zod.z.number().int().describe("Video duration in seconds").nullable(),
|
|
47
47
|
full_res: zod.z.string().describe("URL to the highest resolution video file").nullable().optional(),
|
|
48
48
|
avg_color: zod.z.string().describe("Average color of the thumbnail in hex format, e.g., '#AABBCC'").nullable().optional(),
|
|
49
49
|
video_files: zod.z.array(PexelsSearchVideos_VideoFileSchema).describe("List of available video file variants"),
|
|
50
50
|
video_pictures: zod.z.array(PexelsSearchVideos_VideoPictureSchema).describe("List of video thumbnail images at different offsets")
|
|
51
51
|
});
|
|
52
52
|
const PexelsSearchVideosOutput = zod.z.object({
|
|
53
|
-
url: zod.z.string().describe("URL to Pexels search results page"),
|
|
54
|
-
page: zod.z.number().int().describe("Current page number of the results"),
|
|
53
|
+
url: zod.z.string().describe("URL to Pexels search results page").nullable(),
|
|
54
|
+
page: zod.z.number().int().describe("Current page number of the results").nullable(),
|
|
55
55
|
videos: zod.z.array(PexelsSearchVideos_VideoSchema).describe("List of video objects returned by the search"),
|
|
56
|
-
per_page: zod.z.number().int().describe("Number of results returned per page"),
|
|
57
|
-
total_results: zod.z.number().int().describe("Total number of videos matching the search query")
|
|
56
|
+
per_page: zod.z.number().int().describe("Number of results returned per page").nullable(),
|
|
57
|
+
total_results: zod.z.number().int().describe("Total number of videos matching the search query").nullable()
|
|
58
58
|
});
|
|
59
59
|
const pexelsSearchVideos = require_action.action("PEXELS_SEARCH_VIDEOS", {
|
|
60
60
|
slug: "pexels-search-videos",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-videos.cjs","names":["z","action"],"sources":["../../src/actions/search-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsSearchVideosInput
|
|
1
|
+
{"version":3,"file":"search-videos.cjs","names":["z","action"],"sources":["../../src/actions/search-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsSearchVideosInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (starting at 1)\").optional(),\n size: z.enum([\"large\", \"medium\", \"small\"]).describe(\"Filter results by video size\").optional(),\n query: z.string().describe(\"Search query term for finding relevant videos\"),\n per_page: z.number().int().default(15).describe(\"Number of results per page (min 1, max 80) Keep close to default when only a few results are needed to avoid oversized responses.\").optional(),\n orientation: z.enum([\"landscape\", \"portrait\", \"square\"]).describe(\"Filter results by video orientation\").optional(),\n}).describe(\"Request model for searching videos on Pexels.\");\nconst PexelsSearchVideos_UserSchema = z.object({\n id: z.number().int().describe(\"Photographer user ID\").nullable(),\n url: z.string().describe(\"Photographer profile URL\").nullable(),\n name: z.string().describe(\"Photographer name\").nullable(),\n});\nconst PexelsSearchVideos_VideoFileSchema = z.object({\n id: z.number().int().describe(\"Video file ID\").nullable(),\n fps: z.number().describe(\"Frames per second for this file\").nullable().optional(),\n link: z.string().describe(\"Direct download link to this video file\").nullable(),\n width: z.number().int().describe(\"Width of this video file in pixels\").nullable(),\n height: z.number().int().describe(\"Height of this video file in pixels\").nullable(),\n quality: z.string().describe(\"Video quality, e.g., 'hd' or 'sd'\").nullable().optional(),\n file_type: z.string().describe(\"MIME type of the video file\").nullable(),\n});\nconst PexelsSearchVideos_VideoPictureSchema = z.object({\n id: z.number().int().describe(\"ID of the thumbnail picture\").nullable(),\n nr: z.number().int().describe(\"Index number of this thumbnail in the video timeline\").nullable(),\n picture: z.string().describe(\"URL to the thumbnail image\").nullable(),\n});\nconst PexelsSearchVideos_VideoSchema = z.object({\n id: z.number().int().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"URL to the video page on Pexels\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags describing the video\"),\n user: PexelsSearchVideos_UserSchema.nullable(),\n image: z.string().describe(\"URL to the video thumbnail image\").nullable(),\n width: z.number().int().describe(\"Original video width in pixels\").nullable(),\n height: z.number().int().describe(\"Original video height in pixels\").nullable(),\n duration: z.number().int().describe(\"Video duration in seconds\").nullable(),\n full_res: z.string().describe(\"URL to the highest resolution video file\").nullable().optional(),\n avg_color: z.string().describe(\"Average color of the thumbnail in hex format, e.g., '#AABBCC'\").nullable().optional(),\n video_files: z.array(PexelsSearchVideos_VideoFileSchema).describe(\"List of available video file variants\"),\n video_pictures: z.array(PexelsSearchVideos_VideoPictureSchema).describe(\"List of video thumbnail images at different offsets\"),\n});\nexport const PexelsSearchVideosOutput = z.object({\n url: z.string().describe(\"URL to Pexels search results page\").nullable(),\n page: z.number().int().describe(\"Current page number of the results\").nullable(),\n videos: z.array(PexelsSearchVideos_VideoSchema).describe(\"List of video objects returned by the search\"),\n per_page: z.number().int().describe(\"Number of results returned per page\").nullable(),\n total_results: z.number().int().describe(\"Total number of videos matching the search query\").nullable(),\n});\n\nexport const pexelsSearchVideos = action(\"PEXELS_SEARCH_VIDEOS\", {\n slug: \"pexels-search-videos\",\n name: \"Search Videos\",\n description: \"Tool to search for videos on Pexels by query and optional filters. Use when you need to find relevant video assets. Combining multiple filters with a narrow query may return few or no results; only apply strict filter combinations when explicitly required.\",\n input: PexelsSearchVideosInput,\n output: PexelsSearchVideosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;CAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC9L,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAY;CAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC1D,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IA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AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,64 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-videos.d.ts
|
|
4
|
-
declare const PexelsSearchVideosInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PexelsSearchVideosInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
large: "large";
|
|
8
|
+
medium: "medium";
|
|
9
|
+
small: "small";
|
|
10
|
+
}>>;
|
|
11
|
+
query: z.ZodString;
|
|
12
|
+
per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
13
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
landscape: "landscape";
|
|
15
|
+
portrait: "portrait";
|
|
16
|
+
square: "square";
|
|
17
|
+
}>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const PexelsSearchVideosOutput: z.ZodObject<{
|
|
20
|
+
url: z.ZodNullable<z.ZodString>;
|
|
21
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
videos: z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
url: z.ZodNullable<z.ZodString>;
|
|
25
|
+
tags: z.ZodArray<z.ZodString>;
|
|
26
|
+
user: z.ZodNullable<z.ZodObject<{
|
|
27
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
28
|
+
url: z.ZodNullable<z.ZodString>;
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
image: z.ZodNullable<z.ZodString>;
|
|
32
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
full_res: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
avg_color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
video_files: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
fps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
link: z.ZodNullable<z.ZodString>;
|
|
41
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
quality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
file_type: z.ZodNullable<z.ZodString>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
video_pictures: z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
nr: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
picture: z.ZodNullable<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
total_results: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
declare const pexelsSearchVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
|
+
query: string;
|
|
57
|
+
page?: number | undefined;
|
|
58
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
59
|
+
per_page?: number | undefined;
|
|
60
|
+
orientation?: "landscape" | "portrait" | "square" | undefined;
|
|
61
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
62
|
//#endregion
|
|
8
63
|
export { pexelsSearchVideos };
|
|
9
64
|
//# sourceMappingURL=search-videos.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-videos.d.cts","names":[],"sources":["../../src/actions/search-videos.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"search-videos.d.cts","names":[],"sources":["../../src/actions/search-videos.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,64 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-videos.d.ts
|
|
4
|
-
declare const PexelsSearchVideosInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PexelsSearchVideosInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
large: "large";
|
|
8
|
+
medium: "medium";
|
|
9
|
+
small: "small";
|
|
10
|
+
}>>;
|
|
11
|
+
query: z.ZodString;
|
|
12
|
+
per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
13
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
landscape: "landscape";
|
|
15
|
+
portrait: "portrait";
|
|
16
|
+
square: "square";
|
|
17
|
+
}>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const PexelsSearchVideosOutput: z.ZodObject<{
|
|
20
|
+
url: z.ZodNullable<z.ZodString>;
|
|
21
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
videos: z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
url: z.ZodNullable<z.ZodString>;
|
|
25
|
+
tags: z.ZodArray<z.ZodString>;
|
|
26
|
+
user: z.ZodNullable<z.ZodObject<{
|
|
27
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
28
|
+
url: z.ZodNullable<z.ZodString>;
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
image: z.ZodNullable<z.ZodString>;
|
|
32
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
full_res: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
avg_color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
video_files: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
fps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
link: z.ZodNullable<z.ZodString>;
|
|
41
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
quality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
file_type: z.ZodNullable<z.ZodString>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
video_pictures: z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
nr: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
picture: z.ZodNullable<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
total_results: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
declare const pexelsSearchVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
|
+
query: string;
|
|
57
|
+
page?: number | undefined;
|
|
58
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
59
|
+
per_page?: number | undefined;
|
|
60
|
+
orientation?: "landscape" | "portrait" | "square" | undefined;
|
|
61
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
62
|
//#endregion
|
|
8
63
|
export { pexelsSearchVideos };
|
|
9
64
|
//# sourceMappingURL=search-videos.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-videos.d.mts","names":[],"sources":["../../src/actions/search-videos.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"search-videos.d.mts","names":[],"sources":["../../src/actions/search-videos.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -17,33 +17,33 @@ const PexelsSearchVideosInput = z.object({
|
|
|
17
17
|
]).describe("Filter results by video orientation").optional()
|
|
18
18
|
}).describe("Request model for searching videos on Pexels.");
|
|
19
19
|
const PexelsSearchVideos_UserSchema = z.object({
|
|
20
|
-
id: z.number().int().describe("Photographer user ID"),
|
|
21
|
-
url: z.string().describe("Photographer profile URL"),
|
|
22
|
-
name: z.string().describe("Photographer name")
|
|
20
|
+
id: z.number().int().describe("Photographer user ID").nullable(),
|
|
21
|
+
url: z.string().describe("Photographer profile URL").nullable(),
|
|
22
|
+
name: z.string().describe("Photographer name").nullable()
|
|
23
23
|
});
|
|
24
24
|
const PexelsSearchVideos_VideoFileSchema = z.object({
|
|
25
|
-
id: z.number().int().describe("Video file ID"),
|
|
25
|
+
id: z.number().int().describe("Video file ID").nullable(),
|
|
26
26
|
fps: z.number().describe("Frames per second for this file").nullable().optional(),
|
|
27
|
-
link: z.string().describe("Direct download link to this video file"),
|
|
28
|
-
width: z.number().int().describe("Width of this video file in pixels"),
|
|
29
|
-
height: z.number().int().describe("Height of this video file in pixels"),
|
|
27
|
+
link: z.string().describe("Direct download link to this video file").nullable(),
|
|
28
|
+
width: z.number().int().describe("Width of this video file in pixels").nullable(),
|
|
29
|
+
height: z.number().int().describe("Height of this video file in pixels").nullable(),
|
|
30
30
|
quality: z.string().describe("Video quality, e.g., 'hd' or 'sd'").nullable().optional(),
|
|
31
|
-
file_type: z.string().describe("MIME type of the video file")
|
|
31
|
+
file_type: z.string().describe("MIME type of the video file").nullable()
|
|
32
32
|
});
|
|
33
33
|
const PexelsSearchVideos_VideoPictureSchema = z.object({
|
|
34
|
-
id: z.number().int().describe("ID of the thumbnail picture"),
|
|
35
|
-
nr: z.number().int().describe("Index number of this thumbnail in the video timeline"),
|
|
36
|
-
picture: z.string().describe("URL to the thumbnail image")
|
|
34
|
+
id: z.number().int().describe("ID of the thumbnail picture").nullable(),
|
|
35
|
+
nr: z.number().int().describe("Index number of this thumbnail in the video timeline").nullable(),
|
|
36
|
+
picture: z.string().describe("URL to the thumbnail image").nullable()
|
|
37
37
|
});
|
|
38
38
|
const PexelsSearchVideos_VideoSchema = z.object({
|
|
39
|
-
id: z.number().int().describe("Video ID"),
|
|
40
|
-
url: z.string().describe("URL to the video page on Pexels"),
|
|
39
|
+
id: z.number().int().describe("Video ID").nullable(),
|
|
40
|
+
url: z.string().describe("URL to the video page on Pexels").nullable(),
|
|
41
41
|
tags: z.array(z.string()).describe("List of tags describing the video"),
|
|
42
42
|
user: PexelsSearchVideos_UserSchema.nullable(),
|
|
43
|
-
image: z.string().describe("URL to the video thumbnail image"),
|
|
44
|
-
width: z.number().int().describe("Original video width in pixels"),
|
|
45
|
-
height: z.number().int().describe("Original video height in pixels"),
|
|
46
|
-
duration: z.number().int().describe("Video duration in seconds"),
|
|
43
|
+
image: z.string().describe("URL to the video thumbnail image").nullable(),
|
|
44
|
+
width: z.number().int().describe("Original video width in pixels").nullable(),
|
|
45
|
+
height: z.number().int().describe("Original video height in pixels").nullable(),
|
|
46
|
+
duration: z.number().int().describe("Video duration in seconds").nullable(),
|
|
47
47
|
full_res: z.string().describe("URL to the highest resolution video file").nullable().optional(),
|
|
48
48
|
avg_color: z.string().describe("Average color of the thumbnail in hex format, e.g., '#AABBCC'").nullable().optional(),
|
|
49
49
|
video_files: z.array(PexelsSearchVideos_VideoFileSchema).describe("List of available video file variants"),
|
|
@@ -55,11 +55,11 @@ const pexelsSearchVideos = action("PEXELS_SEARCH_VIDEOS", {
|
|
|
55
55
|
description: "Tool to search for videos on Pexels by query and optional filters. Use when you need to find relevant video assets. Combining multiple filters with a narrow query may return few or no results; only apply strict filter combinations when explicitly required.",
|
|
56
56
|
input: PexelsSearchVideosInput,
|
|
57
57
|
output: z.object({
|
|
58
|
-
url: z.string().describe("URL to Pexels search results page"),
|
|
59
|
-
page: z.number().int().describe("Current page number of the results"),
|
|
58
|
+
url: z.string().describe("URL to Pexels search results page").nullable(),
|
|
59
|
+
page: z.number().int().describe("Current page number of the results").nullable(),
|
|
60
60
|
videos: z.array(PexelsSearchVideos_VideoSchema).describe("List of video objects returned by the search"),
|
|
61
|
-
per_page: z.number().int().describe("Number of results returned per page"),
|
|
62
|
-
total_results: z.number().int().describe("Total number of videos matching the search query")
|
|
61
|
+
per_page: z.number().int().describe("Number of results returned per page").nullable(),
|
|
62
|
+
total_results: z.number().int().describe("Total number of videos matching the search query").nullable()
|
|
63
63
|
})
|
|
64
64
|
});
|
|
65
65
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-videos.mjs","names":[],"sources":["../../src/actions/search-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsSearchVideosInput
|
|
1
|
+
{"version":3,"file":"search-videos.mjs","names":[],"sources":["../../src/actions/search-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsSearchVideosInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (starting at 1)\").optional(),\n size: z.enum([\"large\", \"medium\", \"small\"]).describe(\"Filter results by video size\").optional(),\n query: z.string().describe(\"Search query term for finding relevant videos\"),\n per_page: z.number().int().default(15).describe(\"Number of results per page (min 1, max 80) Keep close to default when only a few results are needed to avoid oversized responses.\").optional(),\n orientation: z.enum([\"landscape\", \"portrait\", \"square\"]).describe(\"Filter results by video orientation\").optional(),\n}).describe(\"Request model for searching videos on Pexels.\");\nconst PexelsSearchVideos_UserSchema = z.object({\n id: z.number().int().describe(\"Photographer user ID\").nullable(),\n url: z.string().describe(\"Photographer profile URL\").nullable(),\n name: z.string().describe(\"Photographer name\").nullable(),\n});\nconst PexelsSearchVideos_VideoFileSchema = z.object({\n id: z.number().int().describe(\"Video file ID\").nullable(),\n fps: z.number().describe(\"Frames per second for this file\").nullable().optional(),\n link: z.string().describe(\"Direct download link to this video file\").nullable(),\n width: z.number().int().describe(\"Width of this video file in pixels\").nullable(),\n height: z.number().int().describe(\"Height of this video file in pixels\").nullable(),\n quality: z.string().describe(\"Video quality, e.g., 'hd' or 'sd'\").nullable().optional(),\n file_type: z.string().describe(\"MIME type of the video file\").nullable(),\n});\nconst PexelsSearchVideos_VideoPictureSchema = z.object({\n id: z.number().int().describe(\"ID of the thumbnail picture\").nullable(),\n nr: z.number().int().describe(\"Index number of this thumbnail in the video timeline\").nullable(),\n picture: z.string().describe(\"URL to the thumbnail image\").nullable(),\n});\nconst PexelsSearchVideos_VideoSchema = z.object({\n id: z.number().int().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"URL to the video page on Pexels\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags describing the video\"),\n user: PexelsSearchVideos_UserSchema.nullable(),\n image: z.string().describe(\"URL to the video thumbnail image\").nullable(),\n width: z.number().int().describe(\"Original video width in pixels\").nullable(),\n height: z.number().int().describe(\"Original video height in pixels\").nullable(),\n duration: z.number().int().describe(\"Video duration in seconds\").nullable(),\n full_res: z.string().describe(\"URL to the highest resolution video file\").nullable().optional(),\n avg_color: z.string().describe(\"Average color of the thumbnail in hex format, e.g., '#AABBCC'\").nullable().optional(),\n video_files: z.array(PexelsSearchVideos_VideoFileSchema).describe(\"List of available video file variants\"),\n video_pictures: z.array(PexelsSearchVideos_VideoPictureSchema).describe(\"List of video thumbnail images at different offsets\"),\n});\nexport const PexelsSearchVideosOutput = z.object({\n url: z.string().describe(\"URL to Pexels search results page\").nullable(),\n page: z.number().int().describe(\"Current page number of the results\").nullable(),\n videos: z.array(PexelsSearchVideos_VideoSchema).describe(\"List of video objects returned by the search\"),\n per_page: z.number().int().describe(\"Number of results returned per page\").nullable(),\n total_results: z.number().int().describe(\"Total number of videos matching the search query\").nullable(),\n});\n\nexport const pexelsSearchVideos = action(\"PEXELS_SEARCH_VIDEOS\", {\n slug: \"pexels-search-videos\",\n name: \"Search Videos\",\n description: \"Tool to search for videos on Pexels by query and optional filters. Use when you need to find relevant video assets. Combining multiple filters with a narrow query may return few or no results; only apply strict filter combinations when explicitly required.\",\n input: PexelsSearchVideosInput,\n output: PexelsSearchVideosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,MAAM,EAAE,KAAK;EAAC;EAAS;EAAU;CAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC9L,aAAa,EAAE,KAAK;EAAC;EAAa;EAAY;CAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS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UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,CAOU;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const pexelsCatalog = {
|
|
|
7
7
|
"category": "Images & Design",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/pexels",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Pexels API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your unique Pexels API key"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.pexelsCatalog = pexelsCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pexelsCatalog = {\n \"slug\": \"pexels\",\n \"name\": \"Pexels\",\n \"description\": \"Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/pexels\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pexelsCatalog = {\n \"slug\": \"pexels\",\n \"name\": \"Pexels\",\n \"description\": \"Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/pexels\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Pexels API Key\",\n \"secret\": true,\n \"description\": \"Your unique Pexels API key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const pexelsCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/pexels";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Pexels API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your unique Pexels API key";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { pexelsCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const pexelsCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/pexels";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Pexels API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your unique Pexels API key";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { pexelsCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const pexelsCatalog = {
|
|
|
7
7
|
"category": "Images & Design",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/pexels",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Pexels API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your unique Pexels API key"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { pexelsCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pexelsCatalog = {\n \"slug\": \"pexels\",\n \"name\": \"Pexels\",\n \"description\": \"Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/pexels\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pexelsCatalog = {\n \"slug\": \"pexels\",\n \"name\": \"Pexels\",\n \"description\": \"Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/pexels\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Pexels API Key\",\n \"secret\": true,\n \"description\": \"Your unique Pexels API key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/pexels",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|