@keystrokehq/pexels 0.1.0

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.
Files changed (106) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/collection-media.cjs +76 -0
  7. package/dist/actions/collection-media.cjs.map +1 -0
  8. package/dist/actions/collection-media.d.cts +9 -0
  9. package/dist/actions/collection-media.d.cts.map +1 -0
  10. package/dist/actions/collection-media.d.mts +9 -0
  11. package/dist/actions/collection-media.d.mts.map +1 -0
  12. package/dist/actions/collection-media.mjs +75 -0
  13. package/dist/actions/collection-media.mjs.map +1 -0
  14. package/dist/actions/curated-photos.cjs +48 -0
  15. package/dist/actions/curated-photos.cjs.map +1 -0
  16. package/dist/actions/curated-photos.d.cts +9 -0
  17. package/dist/actions/curated-photos.d.cts.map +1 -0
  18. package/dist/actions/curated-photos.d.mts +9 -0
  19. package/dist/actions/curated-photos.d.mts.map +1 -0
  20. package/dist/actions/curated-photos.mjs +47 -0
  21. package/dist/actions/curated-photos.mjs.map +1 -0
  22. package/dist/actions/featured-collections.cjs +35 -0
  23. package/dist/actions/featured-collections.cjs.map +1 -0
  24. package/dist/actions/featured-collections.d.cts +9 -0
  25. package/dist/actions/featured-collections.d.cts.map +1 -0
  26. package/dist/actions/featured-collections.d.mts +9 -0
  27. package/dist/actions/featured-collections.d.mts.map +1 -0
  28. package/dist/actions/featured-collections.mjs +34 -0
  29. package/dist/actions/featured-collections.mjs.map +1 -0
  30. package/dist/actions/get-photo.cjs +38 -0
  31. package/dist/actions/get-photo.cjs.map +1 -0
  32. package/dist/actions/get-photo.d.cts +9 -0
  33. package/dist/actions/get-photo.d.cts.map +1 -0
  34. package/dist/actions/get-photo.d.mts +9 -0
  35. package/dist/actions/get-photo.d.mts.map +1 -0
  36. package/dist/actions/get-photo.mjs +37 -0
  37. package/dist/actions/get-photo.mjs.map +1 -0
  38. package/dist/actions/get-video-by-id.cjs +46 -0
  39. package/dist/actions/get-video-by-id.cjs.map +1 -0
  40. package/dist/actions/get-video-by-id.d.cts +9 -0
  41. package/dist/actions/get-video-by-id.d.cts.map +1 -0
  42. package/dist/actions/get-video-by-id.d.mts +9 -0
  43. package/dist/actions/get-video-by-id.d.mts.map +1 -0
  44. package/dist/actions/get-video-by-id.mjs +45 -0
  45. package/dist/actions/get-video-by-id.mjs.map +1 -0
  46. package/dist/actions/index.cjs +19 -0
  47. package/dist/actions/index.d.cts +10 -0
  48. package/dist/actions/index.d.mts +10 -0
  49. package/dist/actions/index.mjs +10 -0
  50. package/dist/actions/my-collections.cjs +33 -0
  51. package/dist/actions/my-collections.cjs.map +1 -0
  52. package/dist/actions/my-collections.d.cts +9 -0
  53. package/dist/actions/my-collections.d.cts.map +1 -0
  54. package/dist/actions/my-collections.d.mts +9 -0
  55. package/dist/actions/my-collections.d.mts.map +1 -0
  56. package/dist/actions/my-collections.mjs +32 -0
  57. package/dist/actions/my-collections.mjs.map +1 -0
  58. package/dist/actions/popular-videos.cjs +58 -0
  59. package/dist/actions/popular-videos.cjs.map +1 -0
  60. package/dist/actions/popular-videos.d.cts +9 -0
  61. package/dist/actions/popular-videos.d.cts.map +1 -0
  62. package/dist/actions/popular-videos.d.mts +9 -0
  63. package/dist/actions/popular-videos.d.mts.map +1 -0
  64. package/dist/actions/popular-videos.mjs +57 -0
  65. package/dist/actions/popular-videos.mjs.map +1 -0
  66. package/dist/actions/search-photos.cjs +62 -0
  67. package/dist/actions/search-photos.cjs.map +1 -0
  68. package/dist/actions/search-photos.d.cts +9 -0
  69. package/dist/actions/search-photos.d.cts.map +1 -0
  70. package/dist/actions/search-photos.d.mts +9 -0
  71. package/dist/actions/search-photos.d.mts.map +1 -0
  72. package/dist/actions/search-photos.mjs +61 -0
  73. package/dist/actions/search-photos.mjs.map +1 -0
  74. package/dist/actions/search-videos.cjs +69 -0
  75. package/dist/actions/search-videos.cjs.map +1 -0
  76. package/dist/actions/search-videos.d.cts +9 -0
  77. package/dist/actions/search-videos.d.cts.map +1 -0
  78. package/dist/actions/search-videos.d.mts +9 -0
  79. package/dist/actions/search-videos.d.mts.map +1 -0
  80. package/dist/actions/search-videos.mjs +68 -0
  81. package/dist/actions/search-videos.mjs.map +1 -0
  82. package/dist/app.cjs +9 -0
  83. package/dist/app.cjs.map +1 -0
  84. package/dist/app.d.cts +5 -0
  85. package/dist/app.d.cts.map +1 -0
  86. package/dist/app.d.mts +5 -0
  87. package/dist/app.d.mts.map +1 -0
  88. package/dist/app.mjs +10 -0
  89. package/dist/app.mjs.map +1 -0
  90. package/dist/catalog.cjs +15 -0
  91. package/dist/catalog.cjs.map +1 -0
  92. package/dist/catalog.d.cts +14 -0
  93. package/dist/catalog.d.cts.map +1 -0
  94. package/dist/catalog.d.mts +14 -0
  95. package/dist/catalog.d.mts.map +1 -0
  96. package/dist/catalog.mjs +15 -0
  97. package/dist/catalog.mjs.map +1 -0
  98. package/dist/execute.cjs +18 -0
  99. package/dist/execute.cjs.map +1 -0
  100. package/dist/execute.mjs +18 -0
  101. package/dist/execute.mjs.map +1 -0
  102. package/dist/index.cjs +24 -0
  103. package/dist/index.d.cts +12 -0
  104. package/dist/index.d.mts +12 -0
  105. package/dist/index.mjs +13 -0
  106. package/package.json +49 -0
@@ -0,0 +1,57 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/popular-videos.ts
4
+ const PexelsPopularVideosInput = z.object({
5
+ page: z.number().int().describe("Page number to retrieve. Default is 1.").optional(),
6
+ per_page: z.number().int().describe("Number of videos per page (1–80). Default is 15.").optional()
7
+ }).describe("Request parameters for retrieving popular videos from Pexels.");
8
+ const PexelsPopularVideos_UserModelSchema = z.object({
9
+ id: z.number().int().describe("ID of the video author."),
10
+ url: z.string().describe("URL of the author's profile."),
11
+ name: z.string().describe("Name of the video author.")
12
+ });
13
+ const PexelsPopularVideos_VideoFileModelSchema = z.object({
14
+ id: z.number().int().describe("ID of the video file."),
15
+ fps: z.number().describe("Frames per second of the video file."),
16
+ link: z.string().describe("Direct URL to the video file."),
17
+ width: z.number().int().describe("Width of the video file in pixels."),
18
+ height: z.number().int().describe("Height of the video file in pixels."),
19
+ quality: z.string().describe("Quality label of the video file."),
20
+ file_type: z.string().describe("MIME type of the video file.")
21
+ });
22
+ const PexelsPopularVideos_VideoPictureModelSchema = z.object({
23
+ id: z.number().int().describe("ID of the preview picture."),
24
+ nr: z.number().int().describe("Sequence number of the picture."),
25
+ picture: z.string().describe("URL of the preview picture.")
26
+ });
27
+ const PexelsPopularVideos_VideoModelSchema = z.object({
28
+ id: z.number().int().describe("ID of the video."),
29
+ url: z.string().describe("URL to the Pexels page for the video."),
30
+ tags: z.array(z.string()).describe("List of tags associated with the video."),
31
+ user: PexelsPopularVideos_UserModelSchema.nullable(),
32
+ image: z.string().describe("URL of the video preview image."),
33
+ width: z.number().int().describe("Width of the video in pixels."),
34
+ height: z.number().int().describe("Height of the video in pixels."),
35
+ duration: z.number().int().describe("Duration of the video in seconds."),
36
+ full_res: z.string().describe("URL of the full-resolution video (if available).").nullable().optional(),
37
+ avg_color: z.string().describe("Average color of the video preview image (hex code).").nullable().optional(),
38
+ video_files: z.array(PexelsPopularVideos_VideoFileModelSchema).describe("Available video file variants."),
39
+ video_pictures: z.array(PexelsPopularVideos_VideoPictureModelSchema).describe("List of preview pictures for the video.")
40
+ });
41
+ const pexelsPopularVideos = action("PEXELS_POPULAR_VIDEOS", {
42
+ slug: "pexels-popular-videos",
43
+ name: "Get Popular Videos",
44
+ description: "Tool to retrieve current popular Pexels videos. Use when you want to fetch trending videos from Pexels.",
45
+ input: PexelsPopularVideosInput,
46
+ output: z.object({
47
+ url: z.string().describe("URL of the results page."),
48
+ page: z.number().int().describe("Current page number."),
49
+ videos: z.array(PexelsPopularVideos_VideoModelSchema).describe("List of popular video objects."),
50
+ per_page: z.number().int().describe("Number of videos per page."),
51
+ total_results: z.number().int().describe("Total number of video results available.")
52
+ })
53
+ });
54
+ //#endregion
55
+ export { pexelsPopularVideos };
56
+
57
+ //# sourceMappingURL=popular-videos.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popular-videos.mjs","names":[],"sources":["../../src/actions/popular-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsPopularVideosInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve. Default is 1.\").optional(),\n per_page: z.number().int().describe(\"Number of videos per page (1–80). Default is 15.\").optional(),\n}).describe(\"Request parameters for retrieving popular videos from Pexels.\");\nconst PexelsPopularVideos_UserModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the video author.\"),\n url: z.string().describe(\"URL of the author's profile.\"),\n name: z.string().describe(\"Name of the video author.\"),\n});\nconst PexelsPopularVideos_VideoFileModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the video file.\"),\n fps: z.number().describe(\"Frames per second of the video file.\"),\n link: z.string().describe(\"Direct URL to the video file.\"),\n width: z.number().int().describe(\"Width of the video file in pixels.\"),\n height: z.number().int().describe(\"Height of the video file in pixels.\"),\n quality: z.string().describe(\"Quality label of the video file.\"),\n file_type: z.string().describe(\"MIME type of the video file.\"),\n});\nconst PexelsPopularVideos_VideoPictureModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the preview picture.\"),\n nr: z.number().int().describe(\"Sequence number of the picture.\"),\n picture: z.string().describe(\"URL of the preview picture.\"),\n});\nconst PexelsPopularVideos_VideoModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the video.\"),\n url: z.string().describe(\"URL to the Pexels page for the video.\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the video.\"),\n user: PexelsPopularVideos_UserModelSchema.nullable(),\n image: z.string().describe(\"URL of the video preview image.\"),\n width: z.number().int().describe(\"Width of the video in pixels.\"),\n height: z.number().int().describe(\"Height of the video in pixels.\"),\n duration: z.number().int().describe(\"Duration of the video in seconds.\"),\n full_res: z.string().describe(\"URL of the full-resolution video (if available).\").nullable().optional(),\n avg_color: z.string().describe(\"Average color of the video preview image (hex code).\").nullable().optional(),\n video_files: z.array(PexelsPopularVideos_VideoFileModelSchema).describe(\"Available video file variants.\"),\n video_pictures: z.array(PexelsPopularVideos_VideoPictureModelSchema).describe(\"List of preview pictures for the video.\"),\n});\nexport const PexelsPopularVideosOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the results page.\"),\n page: z.number().int().describe(\"Current page number.\"),\n videos: z.array(PexelsPopularVideos_VideoModelSchema).describe(\"List of popular video objects.\"),\n per_page: z.number().int().describe(\"Number of videos per page.\"),\n total_results: z.number().int().describe(\"Total number of video results available.\"),\n});\n\nexport const pexelsPopularVideos = action(\"PEXELS_POPULAR_VIDEOS\", {\n slug: \"pexels-popular-videos\",\n name: \"Get Popular Videos\",\n description: \"Tool to retrieve current popular Pexels videos. Use when you want to fetch trending videos from Pexels.\",\n input: PexelsPopularVideosInput,\n output: PexelsPopularVideosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACvD,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OA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ACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gCAAgC;CACxG,gBAAgB,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,yCAAyC;AACzH,CAAC;AASD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqD,EAAE,OAAO;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;EACtD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACrF,CAOU;AACV,CAAC"}
@@ -0,0 +1,62 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-photos.ts
4
+ const PexelsSearchPhotosInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number of results to retrieve, must be >= 1.").optional(),
6
+ size: zod.z.enum([
7
+ "large",
8
+ "medium",
9
+ "small"
10
+ ]).describe("Filter by photo size.").optional(),
11
+ color: zod.z.string().describe("Filter by photo color. Accepts standard color names or hex codes, e.g., 'red' or '#00ff00'.").optional(),
12
+ query: zod.z.string().describe("Search term to find photos. Use specific, descriptive terms (e.g., 'plated chicken overhead shot' instead of 'chicken') to improve result relevance."),
13
+ locale: zod.z.string().describe("Language locale for search results, e.g., 'en-US', 'pt-BR'.").optional(),
14
+ per_page: zod.z.number().int().default(15).describe("Number of results per page (1-80). Defaults to 15.").optional(),
15
+ orientation: zod.z.enum([
16
+ "landscape",
17
+ "portrait",
18
+ "square"
19
+ ]).describe("Filter by photo orientation.").optional()
20
+ }).describe("Parameters to search photos on Pexels by query and optional filters.");
21
+ const PexelsSearchPhotos_PhotoSrcSchema = zod.z.object({
22
+ tiny: zod.z.string().describe("Tiny size photo URL"),
23
+ large: zod.z.string().describe("Large size photo URL"),
24
+ small: zod.z.string().describe("Small size photo URL"),
25
+ medium: zod.z.string().describe("Medium size photo URL"),
26
+ large2x: zod.z.string().describe("2x large photo URL"),
27
+ original: zod.z.string().describe("Original size photo URL"),
28
+ portrait: zod.z.string().describe("Portrait orientation photo URL"),
29
+ landscape: zod.z.string().describe("Landscape orientation photo URL")
30
+ });
31
+ const PexelsSearchPhotos_PhotoSchema = zod.z.object({
32
+ id: zod.z.number().int().describe("Unique identifier for the photo"),
33
+ alt: zod.z.string().describe("Alternate text for the photo").nullable().optional(),
34
+ src: PexelsSearchPhotos_PhotoSrcSchema.nullable(),
35
+ url: zod.z.string().describe("URL to the photo's Pexels page"),
36
+ liked: zod.z.boolean().describe("Indicates if the photo is liked by the user"),
37
+ width: zod.z.number().int().describe("Photo width in pixels"),
38
+ height: zod.z.number().int().describe("Photo height in pixels"),
39
+ avg_color: zod.z.string().describe("Average color of the photo (hex code)"),
40
+ photographer: zod.z.string().describe("Photographer name"),
41
+ photographer_id: zod.z.number().int().describe("Photographer's ID"),
42
+ photographer_url: zod.z.string().describe("Photographer's profile URL")
43
+ });
44
+ const PexelsSearchPhotosOutput = zod.z.object({
45
+ page: zod.z.number().int().describe("Current page number"),
46
+ photos: zod.z.array(PexelsSearchPhotos_PhotoSchema).describe("List of photo objects returned"),
47
+ per_page: zod.z.number().int().describe("Number of results per page"),
48
+ next_page: zod.z.string().describe("URL to the next page of results, if available").nullable().optional(),
49
+ prev_page: zod.z.string().describe("URL to the previous page of results, if available").nullable().optional(),
50
+ total_results: zod.z.number().int().describe("Total number of results for this search")
51
+ });
52
+ const pexelsSearchPhotos = require_action.action("PEXELS_SEARCH_PHOTOS", {
53
+ slug: "pexels-search-photos",
54
+ name: "Search Photos",
55
+ description: "Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested under `photo.src.<size>` (e.g., `photo.src.original`, `photo.src.landscape`, `photo.src.medium`); the top-level `url` field is not sufficient for accessing specific image sizes.",
56
+ input: PexelsSearchPhotosInput,
57
+ output: PexelsSearchPhotosOutput
58
+ });
59
+ //#endregion
60
+ exports.pexelsSearchPhotos = pexelsSearchPhotos;
61
+
62
+ //# sourceMappingURL=search-photos.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-photos.cjs","names":["z","action"],"sources":["../../src/actions/search-photos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsSearchPhotosInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to retrieve, must be >= 1.\").optional(),\n size: z.enum([\"large\", \"medium\", \"small\"]).describe(\"Filter by photo size.\").optional(),\n color: z.string().describe(\"Filter by photo color. Accepts standard color names or hex codes, e.g., 'red' or '#00ff00'.\").optional(),\n query: z.string().describe(\"Search term to find photos. Use specific, descriptive terms (e.g., 'plated chicken overhead shot' instead of 'chicken') to improve result relevance.\"),\n locale: z.string().describe(\"Language locale for search results, e.g., 'en-US', 'pt-BR'.\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of results per page (1-80). Defaults to 15.\").optional(),\n orientation: z.enum([\"landscape\", \"portrait\", \"square\"]).describe(\"Filter by photo orientation.\").optional(),\n}).describe(\"Parameters to search photos on Pexels by query and optional filters.\");\nconst PexelsSearchPhotos_PhotoSrcSchema: z.ZodTypeAny = z.object({\n tiny: z.string().describe(\"Tiny size photo URL\"),\n large: z.string().describe(\"Large size photo URL\"),\n small: z.string().describe(\"Small size photo URL\"),\n medium: z.string().describe(\"Medium size photo URL\"),\n large2x: z.string().describe(\"2x large photo URL\"),\n original: z.string().describe(\"Original size photo URL\"),\n portrait: z.string().describe(\"Portrait orientation photo URL\"),\n landscape: z.string().describe(\"Landscape orientation photo URL\"),\n});\nconst PexelsSearchPhotos_PhotoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the photo\"),\n alt: z.string().describe(\"Alternate text for the photo\").nullable().optional(),\n src: PexelsSearchPhotos_PhotoSrcSchema.nullable(),\n url: z.string().describe(\"URL to the photo's Pexels page\"),\n liked: z.boolean().describe(\"Indicates if the photo is liked by the user\"),\n width: z.number().int().describe(\"Photo width in pixels\"),\n height: z.number().int().describe(\"Photo height in pixels\"),\n avg_color: z.string().describe(\"Average color of the photo (hex code)\"),\n photographer: z.string().describe(\"Photographer name\"),\n photographer_id: z.number().int().describe(\"Photographer's ID\"),\n photographer_url: z.string().describe(\"Photographer's profile URL\"),\n});\nexport const PexelsSearchPhotosOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n photos: z.array(PexelsSearchPhotos_PhotoSchema).describe(\"List of photo objects returned\"),\n per_page: z.number().int().describe(\"Number of results per page\"),\n next_page: z.string().describe(\"URL to the next page of results, if available\").nullable().optional(),\n prev_page: z.string().describe(\"URL to the previous page of results, if available\").nullable().optional(),\n total_results: z.number().int().describe(\"Total number of results for this search\"),\n});\n\nexport const pexelsSearchPhotos = action(\"PEXELS_SEARCH_PHOTOS\", {\n slug: \"pexels-search-photos\",\n name: \"Search Photos\",\n description: \"Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested under `photo.src.<size>` (e.g., `photo.src.original`, `photo.src.landscape`, `photo.src.medium`); the top-level `url` field is not sufficient for accessing specific image sizes.\",\n input: PexelsSearchPhotosInput,\n output: PexelsSearchPhotosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAA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AAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-photos.d.ts
4
+ declare const PexelsSearchPhotosInput: z.ZodTypeAny;
5
+ declare const PexelsSearchPhotosOutput: z.ZodTypeAny;
6
+ declare const pexelsSearchPhotos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pexelsSearchPhotos };
9
+ //# sourceMappingURL=search-photos.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-photos.d.cts","names":[],"sources":["../../src/actions/search-photos.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQ2C;AAAA,cAwBtE,wBAAA,EAA0B,CAAA,CAAE,UAOvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-photos.d.ts
4
+ declare const PexelsSearchPhotosInput: z.ZodTypeAny;
5
+ declare const PexelsSearchPhotosOutput: z.ZodTypeAny;
6
+ declare const pexelsSearchPhotos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pexelsSearchPhotos };
9
+ //# sourceMappingURL=search-photos.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-photos.d.mts","names":[],"sources":["../../src/actions/search-photos.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQ2C;AAAA,cAwBtE,wBAAA,EAA0B,CAAA,CAAE,UAOvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,61 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/search-photos.ts
4
+ const PexelsSearchPhotosInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number of results to retrieve, must be >= 1.").optional(),
6
+ size: z.enum([
7
+ "large",
8
+ "medium",
9
+ "small"
10
+ ]).describe("Filter by photo size.").optional(),
11
+ color: z.string().describe("Filter by photo color. Accepts standard color names or hex codes, e.g., 'red' or '#00ff00'.").optional(),
12
+ query: z.string().describe("Search term to find photos. Use specific, descriptive terms (e.g., 'plated chicken overhead shot' instead of 'chicken') to improve result relevance."),
13
+ locale: z.string().describe("Language locale for search results, e.g., 'en-US', 'pt-BR'.").optional(),
14
+ per_page: z.number().int().default(15).describe("Number of results per page (1-80). Defaults to 15.").optional(),
15
+ orientation: z.enum([
16
+ "landscape",
17
+ "portrait",
18
+ "square"
19
+ ]).describe("Filter by photo orientation.").optional()
20
+ }).describe("Parameters to search photos on Pexels by query and optional filters.");
21
+ const PexelsSearchPhotos_PhotoSrcSchema = z.object({
22
+ tiny: z.string().describe("Tiny size photo URL"),
23
+ large: z.string().describe("Large size photo URL"),
24
+ small: z.string().describe("Small size photo URL"),
25
+ medium: z.string().describe("Medium size photo URL"),
26
+ large2x: z.string().describe("2x large photo URL"),
27
+ original: z.string().describe("Original size photo URL"),
28
+ portrait: z.string().describe("Portrait orientation photo URL"),
29
+ landscape: z.string().describe("Landscape orientation photo URL")
30
+ });
31
+ const PexelsSearchPhotos_PhotoSchema = z.object({
32
+ id: z.number().int().describe("Unique identifier for the photo"),
33
+ alt: z.string().describe("Alternate text for the photo").nullable().optional(),
34
+ src: PexelsSearchPhotos_PhotoSrcSchema.nullable(),
35
+ url: z.string().describe("URL to the photo's Pexels page"),
36
+ liked: z.boolean().describe("Indicates if the photo is liked by the user"),
37
+ width: z.number().int().describe("Photo width in pixels"),
38
+ height: z.number().int().describe("Photo height in pixels"),
39
+ avg_color: z.string().describe("Average color of the photo (hex code)"),
40
+ photographer: z.string().describe("Photographer name"),
41
+ photographer_id: z.number().int().describe("Photographer's ID"),
42
+ photographer_url: z.string().describe("Photographer's profile URL")
43
+ });
44
+ const pexelsSearchPhotos = action("PEXELS_SEARCH_PHOTOS", {
45
+ slug: "pexels-search-photos",
46
+ name: "Search Photos",
47
+ description: "Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested under `photo.src.<size>` (e.g., `photo.src.original`, `photo.src.landscape`, `photo.src.medium`); the top-level `url` field is not sufficient for accessing specific image sizes.",
48
+ input: PexelsSearchPhotosInput,
49
+ output: z.object({
50
+ page: z.number().int().describe("Current page number"),
51
+ photos: z.array(PexelsSearchPhotos_PhotoSchema).describe("List of photo objects returned"),
52
+ per_page: z.number().int().describe("Number of results per page"),
53
+ next_page: z.string().describe("URL to the next page of results, if available").nullable().optional(),
54
+ prev_page: z.string().describe("URL to the previous page of results, if available").nullable().optional(),
55
+ total_results: z.number().int().describe("Total number of results for this search")
56
+ })
57
+ });
58
+ //#endregion
59
+ export { pexelsSearchPhotos };
60
+
61
+ //# sourceMappingURL=search-photos.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-photos.mjs","names":[],"sources":["../../src/actions/search-photos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PexelsSearchPhotosInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to retrieve, must be >= 1.\").optional(),\n size: z.enum([\"large\", \"medium\", \"small\"]).describe(\"Filter by photo size.\").optional(),\n color: z.string().describe(\"Filter by photo color. Accepts standard color names or hex codes, e.g., 'red' or '#00ff00'.\").optional(),\n query: z.string().describe(\"Search term to find photos. Use specific, descriptive terms (e.g., 'plated chicken overhead shot' instead of 'chicken') to improve result relevance.\"),\n locale: z.string().describe(\"Language locale for search results, e.g., 'en-US', 'pt-BR'.\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of results per page (1-80). Defaults to 15.\").optional(),\n orientation: z.enum([\"landscape\", \"portrait\", \"square\"]).describe(\"Filter by photo orientation.\").optional(),\n}).describe(\"Parameters to search photos on Pexels by query and optional filters.\");\nconst PexelsSearchPhotos_PhotoSrcSchema: z.ZodTypeAny = z.object({\n tiny: z.string().describe(\"Tiny size photo URL\"),\n large: z.string().describe(\"Large size photo URL\"),\n small: z.string().describe(\"Small size photo URL\"),\n medium: z.string().describe(\"Medium size photo URL\"),\n large2x: z.string().describe(\"2x large photo URL\"),\n original: z.string().describe(\"Original size photo URL\"),\n portrait: z.string().describe(\"Portrait orientation photo URL\"),\n landscape: z.string().describe(\"Landscape orientation photo URL\"),\n});\nconst PexelsSearchPhotos_PhotoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the photo\"),\n alt: z.string().describe(\"Alternate text for the photo\").nullable().optional(),\n src: PexelsSearchPhotos_PhotoSrcSchema.nullable(),\n url: z.string().describe(\"URL to the photo's Pexels page\"),\n liked: z.boolean().describe(\"Indicates if the photo is liked by the user\"),\n width: z.number().int().describe(\"Photo width in pixels\"),\n height: z.number().int().describe(\"Photo height in pixels\"),\n avg_color: z.string().describe(\"Average color of the photo (hex code)\"),\n photographer: z.string().describe(\"Photographer name\"),\n photographer_id: z.number().int().describe(\"Photographer's ID\"),\n photographer_url: z.string().describe(\"Photographer's profile URL\"),\n});\nexport const PexelsSearchPhotosOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n photos: z.array(PexelsSearchPhotos_PhotoSchema).describe(\"List of photo objects returned\"),\n per_page: z.number().int().describe(\"Number of results per page\"),\n next_page: z.string().describe(\"URL to the next page of results, if available\").nullable().optional(),\n prev_page: z.string().describe(\"URL to the previous page of results, if available\").nullable().optional(),\n total_results: z.number().int().describe(\"Total number of results for this search\"),\n});\n\nexport const pexelsSearchPhotos = action(\"PEXELS_SEARCH_PHOTOS\", {\n slug: \"pexels-search-photos\",\n name: \"Search Photos\",\n description: \"Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested under `photo.src.<size>` (e.g., `photo.src.original`, `photo.src.landscape`, `photo.src.medium`); the top-level `url` field is not sufficient for accessing specific image sizes.\",\n input: PexelsSearchPhotosInput,\n output: PexelsSearchPhotosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,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,uBAAuB,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CACjL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,KAAK;EAAC;EAAa;EAAY;CAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQ,E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CAAC,SAAS,4BAA4B;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACpF,CAOU;AACV,CAAC"}
@@ -0,0 +1,69 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-videos.ts
4
+ const PexelsSearchVideosInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for paginated results (starting at 1)").optional(),
6
+ size: zod.z.enum([
7
+ "large",
8
+ "medium",
9
+ "small"
10
+ ]).describe("Filter results by video size").optional(),
11
+ query: zod.z.string().describe("Search query term for finding relevant videos"),
12
+ per_page: zod.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(),
13
+ orientation: zod.z.enum([
14
+ "landscape",
15
+ "portrait",
16
+ "square"
17
+ ]).describe("Filter results by video orientation").optional()
18
+ }).describe("Request model for searching videos on Pexels.");
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")
23
+ });
24
+ const PexelsSearchVideos_VideoFileSchema = zod.z.object({
25
+ id: zod.z.number().int().describe("Video file ID"),
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"),
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")
32
+ });
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")
37
+ });
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"),
41
+ tags: zod.z.array(zod.z.string()).describe("List of tags describing the video"),
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"),
47
+ full_res: zod.z.string().describe("URL to the highest resolution video file").nullable().optional(),
48
+ avg_color: zod.z.string().describe("Average color of the thumbnail in hex format, e.g., '#AABBCC'").nullable().optional(),
49
+ video_files: zod.z.array(PexelsSearchVideos_VideoFileSchema).describe("List of available video file variants"),
50
+ video_pictures: zod.z.array(PexelsSearchVideos_VideoPictureSchema).describe("List of video thumbnail images at different offsets")
51
+ });
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"),
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")
58
+ });
59
+ const pexelsSearchVideos = require_action.action("PEXELS_SEARCH_VIDEOS", {
60
+ slug: "pexels-search-videos",
61
+ name: "Search Videos",
62
+ 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.",
63
+ input: PexelsSearchVideosInput,
64
+ output: PexelsSearchVideosOutput
65
+ });
66
+ //#endregion
67
+ exports.pexelsSearchVideos = pexelsSearchVideos;
68
+
69
+ //# sourceMappingURL=search-videos.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Photographer user ID\"),\n url: z.string().describe(\"Photographer profile URL\"),\n name: z.string().describe(\"Photographer name\"),\n});\nconst PexelsSearchVideos_VideoFileSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Video file ID\"),\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\"),\n width: z.number().int().describe(\"Width of this video file in pixels\"),\n height: z.number().int().describe(\"Height of this video file in pixels\"),\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\"),\n});\nconst PexelsSearchVideos_VideoPictureSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the thumbnail picture\"),\n nr: z.number().int().describe(\"Index number of this thumbnail in the video timeline\"),\n picture: z.string().describe(\"URL to the thumbnail image\"),\n});\nconst PexelsSearchVideos_VideoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Video ID\"),\n url: z.string().describe(\"URL to the video page on Pexels\"),\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\"),\n width: z.number().int().describe(\"Original video width in pixels\"),\n height: z.number().int().describe(\"Original video height in pixels\"),\n duration: z.number().int().describe(\"Video duration in seconds\"),\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.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to Pexels search results page\"),\n page: z.number().int().describe(\"Current page number of the results\"),\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\"),\n total_results: z.number().int().describe(\"Total number of videos matching the search query\"),\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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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;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AAS,oCAAoC;CACpE,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8CAA8C;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AAC7F,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-videos.d.ts
4
+ declare const PexelsSearchVideosInput: z.ZodTypeAny;
5
+ declare const PexelsSearchVideosOutput: z.ZodTypeAny;
6
+ declare const pexelsSearchVideos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pexelsSearchVideos };
9
+ //# sourceMappingURL=search-videos.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-videos.d.cts","names":[],"sources":["../../src/actions/search-videos.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAMoB;AAAA,cAkC/C,wBAAA,EAA0B,CAAA,CAAE,UAMvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-videos.d.ts
4
+ declare const PexelsSearchVideosInput: z.ZodTypeAny;
5
+ declare const PexelsSearchVideosOutput: z.ZodTypeAny;
6
+ declare const pexelsSearchVideos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pexelsSearchVideos };
9
+ //# sourceMappingURL=search-videos.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-videos.d.mts","names":[],"sources":["../../src/actions/search-videos.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAMoB;AAAA,cAkC/C,wBAAA,EAA0B,CAAA,CAAE,UAMvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,68 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/search-videos.ts
4
+ const PexelsSearchVideosInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for paginated results (starting at 1)").optional(),
6
+ size: z.enum([
7
+ "large",
8
+ "medium",
9
+ "small"
10
+ ]).describe("Filter results by video size").optional(),
11
+ query: z.string().describe("Search query term for finding relevant videos"),
12
+ 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(),
13
+ orientation: z.enum([
14
+ "landscape",
15
+ "portrait",
16
+ "square"
17
+ ]).describe("Filter results by video orientation").optional()
18
+ }).describe("Request model for searching videos on Pexels.");
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")
23
+ });
24
+ const PexelsSearchVideos_VideoFileSchema = z.object({
25
+ id: z.number().int().describe("Video file ID"),
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"),
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")
32
+ });
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")
37
+ });
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"),
41
+ tags: z.array(z.string()).describe("List of tags describing the video"),
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"),
47
+ full_res: z.string().describe("URL to the highest resolution video file").nullable().optional(),
48
+ avg_color: z.string().describe("Average color of the thumbnail in hex format, e.g., '#AABBCC'").nullable().optional(),
49
+ video_files: z.array(PexelsSearchVideos_VideoFileSchema).describe("List of available video file variants"),
50
+ video_pictures: z.array(PexelsSearchVideos_VideoPictureSchema).describe("List of video thumbnail images at different offsets")
51
+ });
52
+ const pexelsSearchVideos = action("PEXELS_SEARCH_VIDEOS", {
53
+ slug: "pexels-search-videos",
54
+ name: "Search Videos",
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
+ input: PexelsSearchVideosInput,
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"),
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")
63
+ })
64
+ });
65
+ //#endregion
66
+ export { pexelsSearchVideos };
67
+
68
+ //# sourceMappingURL=search-videos.mjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Photographer user ID\"),\n url: z.string().describe(\"Photographer profile URL\"),\n name: z.string().describe(\"Photographer name\"),\n});\nconst PexelsSearchVideos_VideoFileSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Video file ID\"),\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\"),\n width: z.number().int().describe(\"Width of this video file in pixels\"),\n height: z.number().int().describe(\"Height of this video file in pixels\"),\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\"),\n});\nconst PexelsSearchVideos_VideoPictureSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the thumbnail picture\"),\n nr: z.number().int().describe(\"Index number of this thumbnail in the video timeline\"),\n picture: z.string().describe(\"URL to the thumbnail image\"),\n});\nconst PexelsSearchVideos_VideoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Video ID\"),\n url: z.string().describe(\"URL to the video page on Pexels\"),\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\"),\n width: z.number().int().describe(\"Original video width in pixels\"),\n height: z.number().int().describe(\"Original video height in pixels\"),\n duration: z.number().int().describe(\"Video duration in seconds\"),\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.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to Pexels search results page\"),\n page: z.number().int().describe(\"Current page number of the results\"),\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\"),\n total_results: z.number().int().describe(\"Total number of videos matching the search query\"),\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,0BAAwC,EAAE,OAAO;CAC5D,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,qC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AAC,CAAC,SAAS,mCAAmC;CACtE,MAAM,8BAA8B,SAAS;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAa,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uCAAuC;CACzG,gBAAgB,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qDAAqD;AAC/H,CAAC;AASD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EACpE,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8CAA8C;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAC7F,CAOU;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const pexels = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "pexels",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.pexels = pexels;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pexels = defineApp({\n slug: \"pexels\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pexels: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pexels };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pexels: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pexels };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const pexels = defineApp({
4
+ slug: "pexels",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { pexels };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pexels = defineApp({\n slug: \"pexels\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const pexelsCatalog = {
4
+ "slug": "pexels",
5
+ "name": "Pexels",
6
+ "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.",
7
+ "category": "Images & Design",
8
+ "logo": "https://logos.composio.dev/api/pexels",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.pexelsCatalog = pexelsCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +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;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const pexelsCatalog: {
4
+ readonly slug: "pexels";
5
+ readonly name: "Pexels";
6
+ readonly 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.";
7
+ readonly category: "Images & Design";
8
+ readonly logo: "https://logos.composio.dev/api/pexels";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { pexelsCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const pexelsCatalog: {
4
+ readonly slug: "pexels";
5
+ readonly name: "Pexels";
6
+ readonly 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.";
7
+ readonly category: "Images & Design";
8
+ readonly logo: "https://logos.composio.dev/api/pexels";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { pexelsCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const pexelsCatalog = {
4
+ "slug": "pexels",
5
+ "name": "Pexels",
6
+ "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.",
7
+ "category": "Images & Design",
8
+ "logo": "https://logos.composio.dev/api/pexels",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { pexelsCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +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;AAClB"}