@keystrokehq/spotlightr 0.1.5 → 0.1.6
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/add-domain.cjs +1 -0
- package/dist/actions/add-domain.cjs.map +1 -1
- package/dist/actions/add-domain.d.cts +3 -15
- package/dist/actions/add-domain.d.cts.map +1 -1
- package/dist/actions/add-domain.d.mts +3 -15
- package/dist/actions/add-domain.d.mts.map +1 -1
- package/dist/actions/add-domain.mjs +1 -0
- package/dist/actions/add-domain.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -15
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -15
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-video.cjs +1 -0
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +3 -21
- package/dist/actions/create-video.d.cts.map +1 -1
- package/dist/actions/create-video.d.mts +3 -21
- package/dist/actions/create-video.d.mts.map +1 -1
- package/dist/actions/create-video.mjs +1 -0
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -0
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +3 -15
- package/dist/actions/delete-video.d.cts.map +1 -1
- package/dist/actions/delete-video.d.mts +3 -15
- package/dist/actions/delete-video.d.mts.map +1 -1
- package/dist/actions/delete-video.mjs +1 -0
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/get-domains.cjs +1 -0
- package/dist/actions/get-domains.cjs.map +1 -1
- package/dist/actions/get-domains.d.cts +3 -13
- package/dist/actions/get-domains.d.cts.map +1 -1
- package/dist/actions/get-domains.d.mts +3 -13
- package/dist/actions/get-domains.d.mts.map +1 -1
- package/dist/actions/get-domains.mjs +1 -0
- package/dist/actions/get-domains.mjs.map +1 -1
- package/dist/actions/get-top-videos.cjs +1 -0
- package/dist/actions/get-top-videos.cjs.map +1 -1
- package/dist/actions/get-top-videos.d.cts +3 -16
- package/dist/actions/get-top-videos.d.cts.map +1 -1
- package/dist/actions/get-top-videos.d.mts +3 -16
- package/dist/actions/get-top-videos.d.mts.map +1 -1
- package/dist/actions/get-top-videos.mjs +1 -0
- package/dist/actions/get-top-videos.mjs.map +1 -1
- package/dist/actions/get-video-metrics.cjs +1 -0
- package/dist/actions/get-video-metrics.cjs.map +1 -1
- package/dist/actions/get-video-metrics.d.cts +3 -15
- package/dist/actions/get-video-metrics.d.cts.map +1 -1
- package/dist/actions/get-video-metrics.d.mts +3 -15
- package/dist/actions/get-video-metrics.d.mts.map +1 -1
- package/dist/actions/get-video-metrics.mjs +1 -0
- package/dist/actions/get-video-metrics.mjs.map +1 -1
- package/dist/actions/get-video-source.cjs +1 -0
- package/dist/actions/get-video-source.cjs.map +1 -1
- package/dist/actions/get-video-source.d.cts +3 -16
- package/dist/actions/get-video-source.d.cts.map +1 -1
- package/dist/actions/get-video-source.d.mts +3 -16
- package/dist/actions/get-video-source.d.mts.map +1 -1
- package/dist/actions/get-video-source.mjs +1 -0
- package/dist/actions/get-video-source.mjs.map +1 -1
- package/dist/actions/get-video-views.cjs +1 -0
- package/dist/actions/get-video-views.cjs.map +1 -1
- package/dist/actions/get-video-views.d.cts +3 -18
- package/dist/actions/get-video-views.d.cts.map +1 -1
- package/dist/actions/get-video-views.d.mts +3 -18
- package/dist/actions/get-video-views.d.mts.map +1 -1
- package/dist/actions/get-video-views.mjs +1 -0
- package/dist/actions/get-video-views.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -13
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -13
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +1 -0
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +3 -16
- package/dist/actions/list-videos.d.cts.map +1 -1
- package/dist/actions/list-videos.d.mts +3 -16
- package/dist/actions/list-videos.d.mts.map +1 -1
- package/dist/actions/list-videos.mjs +1 -0
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/search-global.cjs +1 -0
- package/dist/actions/search-global.cjs.map +1 -1
- package/dist/actions/search-global.d.cts +3 -15
- package/dist/actions/search-global.d.cts.map +1 -1
- package/dist/actions/search-global.d.mts +3 -15
- package/dist/actions/search-global.d.mts.map +1 -1
- package/dist/actions/search-global.mjs +1 -0
- package/dist/actions/search-global.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-top-videos.d.ts
|
|
@@ -14,22 +16,7 @@ declare const SpotlightrGetTopVideosOutput: z.ZodObject<{
|
|
|
14
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const spotlightrGetTopVideos:
|
|
18
|
-
days?: number | undefined;
|
|
19
|
-
total?: number | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const spotlightrGetTopVideos: AppAction<typeof SpotlightrGetTopVideosInput, typeof SpotlightrGetTopVideosOutput, typeof spotlightr.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { spotlightrGetTopVideos };
|
|
35
22
|
//# sourceMappingURL=get-top-videos.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.d.cts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.d.cts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-top-videos.d.ts
|
|
@@ -14,22 +16,7 @@ declare const SpotlightrGetTopVideosOutput: z.ZodObject<{
|
|
|
14
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const spotlightrGetTopVideos:
|
|
18
|
-
days?: number | undefined;
|
|
19
|
-
total?: number | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const spotlightrGetTopVideos: AppAction<typeof SpotlightrGetTopVideosInput, typeof SpotlightrGetTopVideosOutput, typeof spotlightr.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { spotlightrGetTopVideos };
|
|
35
22
|
//# sourceMappingURL=get-top-videos.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.d.mts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.d.mts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.mjs","names":[],"sources":["../../src/actions/get-top-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetTopVideosInput = z.object({\n days: z.number().int().default(30).describe(\"Number of days to look back for top videos (default 30)\").optional(),\n total: z.number().int().default(3).describe(\"Number of top videos to return (default 3)\").optional(),\n}).describe(\"Request model for retrieving top videos over a specified period.\");\nconst SpotlightrGetTopVideos_VideoSchema = z.object({\n id: z.string().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n title: z.string().describe(\"Video title\").nullable(),\n views: z.number().int().describe(\"Total views for the video\").nullable(),\n created_at: z.string().describe(\"Video creation datetime in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Video object representing a single video's details.\");\nexport const SpotlightrGetTopVideosOutput = z.object({\n videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe(\"List of top video objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for top videos retrieval.\");\n\nexport const spotlightrGetTopVideos = action(\"SPOTLIGHTR_GET_TOP_VIDEOS\", {\n slug: \"spotlightr-get-top-videos\",\n name: \"Get Top Videos\",\n description: \"Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.\",\n input: SpotlightrGetTopVideosInput,\n output: SpotlightrGetTopVideosOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.mjs","names":[],"sources":["../../src/actions/get-top-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetTopVideosInput = z.object({\n days: z.number().int().default(30).describe(\"Number of days to look back for top videos (default 30)\").optional(),\n total: z.number().int().default(3).describe(\"Number of top videos to return (default 3)\").optional(),\n}).describe(\"Request model for retrieving top videos over a specified period.\");\nconst SpotlightrGetTopVideos_VideoSchema = z.object({\n id: z.string().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n title: z.string().describe(\"Video title\").nullable(),\n views: z.number().int().describe(\"Total views for the video\").nullable(),\n created_at: z.string().describe(\"Video creation datetime in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Video object representing a single video's details.\");\nexport const SpotlightrGetTopVideosOutput = z.object({\n videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe(\"List of top video objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for top videos retrieval.\");\n\nexport const spotlightrGetTopVideos: AppAction<\n typeof SpotlightrGetTopVideosInput,\n typeof SpotlightrGetTopVideosOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_TOP_VIDEOS\", {\n slug: \"spotlightr-get-top-videos\",\n name: \"Get Top Videos\",\n description: \"Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.\",\n input: SpotlightrGetTopVideosInput,\n output: SpotlightrGetTopVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,QAAQ,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-video-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoMetricsInput = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\").nullable(),\n plays: z.number().describe(\"Total number of play events triggered.\").nullable(),\n shares: z.number().describe(\"Total number of times the video was shared.\").nullable(),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\").nullable(),\n playRate: z.number().describe(\"Ratio of plays to loads.\").nullable(),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\").nullable(),\n}).passthrough().describe(\"Response schema for video metrics API - returns metrics directly without wrapper.\");\n\nexport const spotlightrGetVideoMetrics = action(\"SPOTLIGHTR_GET_VIDEO_METRICS\", {\n slug: \"spotlightr-get-video-metrics\",\n name: \"Get Video Metrics\",\n description: \"Tool to retrieve analytics metrics for a specified video. Use when you have a video ID and need its metrics (loads, plays, playRate, completionRate, shares, etc.).\",\n input: SpotlightrGetVideoMetricsInput,\n output: SpotlightrGetVideoMetricsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-video-metrics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoMetricsInput = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\").nullable(),\n plays: z.number().describe(\"Total number of play events triggered.\").nullable(),\n shares: z.number().describe(\"Total number of times the video was shared.\").nullable(),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\").nullable(),\n playRate: z.number().describe(\"Ratio of plays to loads.\").nullable(),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\").nullable(),\n}).passthrough().describe(\"Response schema for video metrics API - returns metrics directly without wrapper.\");\n\nexport const spotlightrGetVideoMetrics: AppAction<\n typeof SpotlightrGetVideoMetricsInput,\n typeof SpotlightrGetVideoMetricsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_METRICS\", {\n slug: \"spotlightr-get-video-metrics\",\n name: \"Get Video Metrics\",\n description: \"Tool to retrieve analytics metrics for a specified video. Use when you have a video ID and need its metrics (loads, plays, playRate, completionRate, shares, etc.).\",\n input: SpotlightrGetVideoMetricsInput,\n output: SpotlightrGetVideoMetricsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video-metrics.d.ts
|
|
@@ -12,21 +14,7 @@ declare const SpotlightrGetVideoMetricsOutput: z.ZodObject<{
|
|
|
12
14
|
playRate: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
completitionRate: z.ZodNullable<z.ZodNumber>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotlightrGetVideoMetrics:
|
|
16
|
-
video_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotlightrGetVideoMetrics: AppAction<typeof SpotlightrGetVideoMetricsInput, typeof SpotlightrGetVideoMetricsOutput, typeof spotlightr.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { spotlightrGetVideoMetrics };
|
|
32
20
|
//# sourceMappingURL=get-video-metrics.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-metrics.d.cts","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-metrics.d.cts","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video-metrics.d.ts
|
|
@@ -12,21 +14,7 @@ declare const SpotlightrGetVideoMetricsOutput: z.ZodObject<{
|
|
|
12
14
|
playRate: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
completitionRate: z.ZodNullable<z.ZodNumber>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotlightrGetVideoMetrics:
|
|
16
|
-
video_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotlightrGetVideoMetrics: AppAction<typeof SpotlightrGetVideoMetricsInput, typeof SpotlightrGetVideoMetricsOutput, typeof spotlightr.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { spotlightrGetVideoMetrics };
|
|
32
20
|
//# sourceMappingURL=get-video-metrics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-metrics.d.mts","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-metrics.d.mts","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-metrics.mjs","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoMetricsInput = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\").nullable(),\n plays: z.number().describe(\"Total number of play events triggered.\").nullable(),\n shares: z.number().describe(\"Total number of times the video was shared.\").nullable(),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\").nullable(),\n playRate: z.number().describe(\"Ratio of plays to loads.\").nullable(),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\").nullable(),\n}).passthrough().describe(\"Response schema for video metrics API - returns metrics directly without wrapper.\");\n\nexport const spotlightrGetVideoMetrics = action(\"SPOTLIGHTR_GET_VIDEO_METRICS\", {\n slug: \"spotlightr-get-video-metrics\",\n name: \"Get Video Metrics\",\n description: \"Tool to retrieve analytics metrics for a specified video. Use when you have a video ID and need its metrics (loads, plays, playRate, completionRate, shares, etc.).\",\n input: SpotlightrGetVideoMetricsInput,\n output: SpotlightrGetVideoMetricsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-metrics.mjs","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoMetricsInput = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\").nullable(),\n plays: z.number().describe(\"Total number of play events triggered.\").nullable(),\n shares: z.number().describe(\"Total number of times the video was shared.\").nullable(),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\").nullable(),\n playRate: z.number().describe(\"Ratio of plays to loads.\").nullable(),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\").nullable(),\n}).passthrough().describe(\"Response schema for video metrics API - returns metrics directly without wrapper.\");\n\nexport const spotlightrGetVideoMetrics: AppAction<\n typeof SpotlightrGetVideoMetricsInput,\n typeof SpotlightrGetVideoMetricsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_METRICS\", {\n slug: \"spotlightr-get-video-metrics\",\n name: \"Get Video Metrics\",\n description: \"Tool to retrieve analytics metrics for a specified video. Use when you have a video ID and need its metrics (loads, plays, playRate, completionRate, shares, etc.).\",\n input: SpotlightrGetVideoMetricsInput,\n output: SpotlightrGetVideoMetricsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB4C,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAkBS;CACP,QAlB6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-source.cjs","names":["z","action"],"sources":["../../src/actions/get-video-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoSourceInput = z.object({\n id: z.number().int().describe(\"Video ID whose source is to be replaced\"),\n URL: z.string().describe(\"New URL for the video source\"),\n}).describe(\"Request model for getting or replacing the video source for an existing video.\");\nexport const SpotlightrGetVideoSourceOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n new_url: z.string().describe(\"The new URL that was set for the video source\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the video source was successfully updated\").nullable().optional(),\n video_id: z.number().int().describe(\"ID of the video that was updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for video source operation.\");\n\nexport const spotlightrGetVideoSource = action(\"SPOTLIGHTR_GET_VIDEO_SOURCE\", {\n slug: \"spotlightr-get-video-source\",\n name: \"Get Video Source\",\n description: \"Tool to get or replace the video source for an existing video in Spotlightr. Use when you need to update a video's source URL.\",\n input: SpotlightrGetVideoSourceInput,\n output: SpotlightrGetVideoSourceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-source.cjs","names":["z","action"],"sources":["../../src/actions/get-video-source.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoSourceInput = z.object({\n id: z.number().int().describe(\"Video ID whose source is to be replaced\"),\n URL: z.string().describe(\"New URL for the video source\"),\n}).describe(\"Request model for getting or replacing the video source for an existing video.\");\nexport const SpotlightrGetVideoSourceOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n new_url: z.string().describe(\"The new URL that was set for the video source\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the video source was successfully updated\").nullable().optional(),\n video_id: z.number().int().describe(\"ID of the video that was updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for video source operation.\");\n\nexport const spotlightrGetVideoSource: AppAction<\n typeof SpotlightrGetVideoSourceInput,\n typeof SpotlightrGetVideoSourceOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_SOURCE\", {\n slug: \"spotlightr-get-video-source\",\n name: \"Get Video Source\",\n description: \"Tool to get or replace the video source for an existing video in Spotlightr. Use when you need to update a video's source URL.\",\n input: SpotlightrGetVideoSourceInput,\n output: SpotlightrGetVideoSourceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AACzD,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video-source.d.ts
|
|
@@ -11,22 +13,7 @@ declare const SpotlightrGetVideoSourceOutput: z.ZodObject<{
|
|
|
11
13
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
14
|
video_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spotlightrGetVideoSource:
|
|
15
|
-
id: number;
|
|
16
|
-
URL: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spotlightrGetVideoSource: AppAction<typeof SpotlightrGetVideoSourceInput, typeof SpotlightrGetVideoSourceOutput, typeof spotlightr.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { spotlightrGetVideoSource };
|
|
32
19
|
//# sourceMappingURL=get-video-source.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-source.d.cts","names":[],"sources":["../../src/actions/get-video-source.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-source.d.cts","names":[],"sources":["../../src/actions/get-video-source.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video-source.d.ts
|
|
@@ -11,22 +13,7 @@ declare const SpotlightrGetVideoSourceOutput: z.ZodObject<{
|
|
|
11
13
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
14
|
video_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spotlightrGetVideoSource:
|
|
15
|
-
id: number;
|
|
16
|
-
URL: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spotlightrGetVideoSource: AppAction<typeof SpotlightrGetVideoSourceInput, typeof SpotlightrGetVideoSourceOutput, typeof spotlightr.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { spotlightrGetVideoSource };
|
|
32
19
|
//# sourceMappingURL=get-video-source.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-source.d.mts","names":[],"sources":["../../src/actions/get-video-source.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-source.d.mts","names":[],"sources":["../../src/actions/get-video-source.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-source.mjs","names":[],"sources":["../../src/actions/get-video-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoSourceInput = z.object({\n id: z.number().int().describe(\"Video ID whose source is to be replaced\"),\n URL: z.string().describe(\"New URL for the video source\"),\n}).describe(\"Request model for getting or replacing the video source for an existing video.\");\nexport const SpotlightrGetVideoSourceOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n new_url: z.string().describe(\"The new URL that was set for the video source\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the video source was successfully updated\").nullable().optional(),\n video_id: z.number().int().describe(\"ID of the video that was updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for video source operation.\");\n\nexport const spotlightrGetVideoSource = action(\"SPOTLIGHTR_GET_VIDEO_SOURCE\", {\n slug: \"spotlightr-get-video-source\",\n name: \"Get Video Source\",\n description: \"Tool to get or replace the video source for an existing video in Spotlightr. Use when you need to update a video's source URL.\",\n input: SpotlightrGetVideoSourceInput,\n output: SpotlightrGetVideoSourceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-source.mjs","names":[],"sources":["../../src/actions/get-video-source.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoSourceInput = z.object({\n id: z.number().int().describe(\"Video ID whose source is to be replaced\"),\n URL: z.string().describe(\"New URL for the video source\"),\n}).describe(\"Request model for getting or replacing the video source for an existing video.\");\nexport const SpotlightrGetVideoSourceOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n new_url: z.string().describe(\"The new URL that was set for the video source\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the video source was successfully updated\").nullable().optional(),\n video_id: z.number().int().describe(\"ID of the video that was updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for video source operation.\");\n\nexport const spotlightrGetVideoSource: AppAction<\n typeof SpotlightrGetVideoSourceInput,\n typeof SpotlightrGetVideoSourceOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_SOURCE\", {\n slug: \"spotlightr-get-video-source\",\n name: \"Get Video Source\",\n description: \"Tool to get or replace the video source for an existing video in Spotlightr. Use when you need to update a video's source URL.\",\n input: SpotlightrGetVideoSourceInput,\n output: SpotlightrGetVideoSourceOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,CAAC,CAAC,CAAC,SAAS,gFAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-views.cjs","names":["z","action"],"sources":["../../src/actions/get-video-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoViewsInput = z.object({\n videoID: z.number().int().describe(\"Video identifier for retrieving view data\"),\n allViews: z.boolean().describe(\"Return all views without pagination\").optional(),\n onlyWatched: z.boolean().describe(\"Filter to only include views with percentWatched > 1\").optional(),\n customViewerID: z.string().describe(\"ID or email of a known viewer to filter views by specific viewer\").optional(),\n}).describe(\"Request model for retrieving video views with optional filtering.\");\nconst SpotlightrGetVideoViews_ViewDataSchema = z.object({\n device: z.string().describe(\"Device type used for viewing\").nullable().optional(),\n viewId: z.string().describe(\"Unique identifier for this view\").nullable().optional(),\n browser: z.string().describe(\"Browser used for viewing\").nullable().optional(),\n country: z.string().describe(\"Country of the viewer\").nullable().optional(),\n videoID: z.union([z.number().int(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp for the view record\").nullable().optional(),\n ipAddress: z.string().describe(\"IP address of the viewer\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the view occurred\").nullable().optional(),\n customViewerID: z.string().describe(\"Custom viewer ID or email if provided\").nullable().optional(),\n percentWatched: z.number().describe(\"Percentage of video watched (0-100)\").nullable().optional(),\n}).passthrough().describe(\"Individual view record containing viewer information and watch statistics.\");\nexport const SpotlightrGetVideoViewsOutput = z.object({\n total: z.number().int().describe(\"Total number of views (may be present if paginated)\").nullable().optional(),\n views: z.array(SpotlightrGetVideoViews_ViewDataSchema).describe(\"List of view records for the video\").nullable().optional(),\n}).passthrough().describe(\"Response model for video views retrieval.\");\n\nexport const spotlightrGetVideoViews = action(\"SPOTLIGHTR_GET_VIDEO_VIEWS\", {\n slug: \"spotlightr-get-video-views\",\n name: \"Get Video Views\",\n description: \"Tool to retrieve video view data with optional filtering by viewer ID and watch status. Use when you need detailed view records for a specific video.\",\n input: SpotlightrGetVideoViewsInput,\n output: SpotlightrGetVideoViewsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-views.cjs","names":["z","action"],"sources":["../../src/actions/get-video-views.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoViewsInput = z.object({\n videoID: z.number().int().describe(\"Video identifier for retrieving view data\"),\n allViews: z.boolean().describe(\"Return all views without pagination\").optional(),\n onlyWatched: z.boolean().describe(\"Filter to only include views with percentWatched > 1\").optional(),\n customViewerID: z.string().describe(\"ID or email of a known viewer to filter views by specific viewer\").optional(),\n}).describe(\"Request model for retrieving video views with optional filtering.\");\nconst SpotlightrGetVideoViews_ViewDataSchema = z.object({\n device: z.string().describe(\"Device type used for viewing\").nullable().optional(),\n viewId: z.string().describe(\"Unique identifier for this view\").nullable().optional(),\n browser: z.string().describe(\"Browser used for viewing\").nullable().optional(),\n country: z.string().describe(\"Country of the viewer\").nullable().optional(),\n videoID: z.union([z.number().int(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp for the view record\").nullable().optional(),\n ipAddress: z.string().describe(\"IP address of the viewer\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the view occurred\").nullable().optional(),\n customViewerID: z.string().describe(\"Custom viewer ID or email if provided\").nullable().optional(),\n percentWatched: z.number().describe(\"Percentage of video watched (0-100)\").nullable().optional(),\n}).passthrough().describe(\"Individual view record containing viewer information and watch statistics.\");\nexport const SpotlightrGetVideoViewsOutput = z.object({\n total: z.number().int().describe(\"Total number of views (may be present if paginated)\").nullable().optional(),\n views: z.array(SpotlightrGetVideoViews_ViewDataSchema).describe(\"List of view records for the video\").nullable().optional(),\n}).passthrough().describe(\"Response model for video views retrieval.\");\n\nexport const spotlightrGetVideoViews: AppAction<\n typeof SpotlightrGetVideoViewsInput,\n typeof SpotlightrGetVideoViewsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_VIEWS\", {\n slug: \"spotlightr-get-video-views\",\n name: \"Get Video Views\",\n description: \"Tool to retrieve video view data with optional filtering by viewer ID and watch status. Use when you need detailed view records for a specific video.\",\n input: SpotlightrGetVideoViewsInput,\n output: SpotlightrGetVideoViewsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC9E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AACtG,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video-views.d.ts
|
|
@@ -22,24 +24,7 @@ declare const SpotlightrGetVideoViewsOutput: z.ZodObject<{
|
|
|
22
24
|
percentWatched: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
}, z.core.$loose>>>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const spotlightrGetVideoViews:
|
|
26
|
-
videoID: number;
|
|
27
|
-
allViews?: boolean | undefined;
|
|
28
|
-
onlyWatched?: boolean | undefined;
|
|
29
|
-
customViewerID?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const spotlightrGetVideoViews: AppAction<typeof SpotlightrGetVideoViewsInput, typeof SpotlightrGetVideoViewsOutput, typeof spotlightr.credential>;
|
|
43
28
|
//#endregion
|
|
44
29
|
export { spotlightrGetVideoViews };
|
|
45
30
|
//# sourceMappingURL=get-video-views.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-views.d.cts","names":[],"sources":["../../src/actions/get-video-views.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-views.d.cts","names":[],"sources":["../../src/actions/get-video-views.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video-views.d.ts
|
|
@@ -22,24 +24,7 @@ declare const SpotlightrGetVideoViewsOutput: z.ZodObject<{
|
|
|
22
24
|
percentWatched: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
}, z.core.$loose>>>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const spotlightrGetVideoViews:
|
|
26
|
-
videoID: number;
|
|
27
|
-
allViews?: boolean | undefined;
|
|
28
|
-
onlyWatched?: boolean | undefined;
|
|
29
|
-
customViewerID?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const spotlightrGetVideoViews: AppAction<typeof SpotlightrGetVideoViewsInput, typeof SpotlightrGetVideoViewsOutput, typeof spotlightr.credential>;
|
|
43
28
|
//#endregion
|
|
44
29
|
export { spotlightrGetVideoViews };
|
|
45
30
|
//# sourceMappingURL=get-video-views.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-views.d.mts","names":[],"sources":["../../src/actions/get-video-views.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-views.d.mts","names":[],"sources":["../../src/actions/get-video-views.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-views.mjs","names":[],"sources":["../../src/actions/get-video-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoViewsInput = z.object({\n videoID: z.number().int().describe(\"Video identifier for retrieving view data\"),\n allViews: z.boolean().describe(\"Return all views without pagination\").optional(),\n onlyWatched: z.boolean().describe(\"Filter to only include views with percentWatched > 1\").optional(),\n customViewerID: z.string().describe(\"ID or email of a known viewer to filter views by specific viewer\").optional(),\n}).describe(\"Request model for retrieving video views with optional filtering.\");\nconst SpotlightrGetVideoViews_ViewDataSchema = z.object({\n device: z.string().describe(\"Device type used for viewing\").nullable().optional(),\n viewId: z.string().describe(\"Unique identifier for this view\").nullable().optional(),\n browser: z.string().describe(\"Browser used for viewing\").nullable().optional(),\n country: z.string().describe(\"Country of the viewer\").nullable().optional(),\n videoID: z.union([z.number().int(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp for the view record\").nullable().optional(),\n ipAddress: z.string().describe(\"IP address of the viewer\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the view occurred\").nullable().optional(),\n customViewerID: z.string().describe(\"Custom viewer ID or email if provided\").nullable().optional(),\n percentWatched: z.number().describe(\"Percentage of video watched (0-100)\").nullable().optional(),\n}).passthrough().describe(\"Individual view record containing viewer information and watch statistics.\");\nexport const SpotlightrGetVideoViewsOutput = z.object({\n total: z.number().int().describe(\"Total number of views (may be present if paginated)\").nullable().optional(),\n views: z.array(SpotlightrGetVideoViews_ViewDataSchema).describe(\"List of view records for the video\").nullable().optional(),\n}).passthrough().describe(\"Response model for video views retrieval.\");\n\nexport const spotlightrGetVideoViews = action(\"SPOTLIGHTR_GET_VIDEO_VIEWS\", {\n slug: \"spotlightr-get-video-views\",\n name: \"Get Video Views\",\n description: \"Tool to retrieve video view data with optional filtering by viewer ID and watch status. Use when you need detailed view records for a specific video.\",\n input: SpotlightrGetVideoViewsInput,\n output: SpotlightrGetVideoViewsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-views.mjs","names":[],"sources":["../../src/actions/get-video-views.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoViewsInput = z.object({\n videoID: z.number().int().describe(\"Video identifier for retrieving view data\"),\n allViews: z.boolean().describe(\"Return all views without pagination\").optional(),\n onlyWatched: z.boolean().describe(\"Filter to only include views with percentWatched > 1\").optional(),\n customViewerID: z.string().describe(\"ID or email of a known viewer to filter views by specific viewer\").optional(),\n}).describe(\"Request model for retrieving video views with optional filtering.\");\nconst SpotlightrGetVideoViews_ViewDataSchema = z.object({\n device: z.string().describe(\"Device type used for viewing\").nullable().optional(),\n viewId: z.string().describe(\"Unique identifier for this view\").nullable().optional(),\n browser: z.string().describe(\"Browser used for viewing\").nullable().optional(),\n country: z.string().describe(\"Country of the viewer\").nullable().optional(),\n videoID: z.union([z.number().int(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp for the view record\").nullable().optional(),\n ipAddress: z.string().describe(\"IP address of the viewer\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the view occurred\").nullable().optional(),\n customViewerID: z.string().describe(\"Custom viewer ID or email if provided\").nullable().optional(),\n percentWatched: z.number().describe(\"Percentage of video watched (0-100)\").nullable().optional(),\n}).passthrough().describe(\"Individual view record containing viewer information and watch statistics.\");\nexport const SpotlightrGetVideoViewsOutput = z.object({\n total: z.number().int().describe(\"Total number of views (may be present if paginated)\").nullable().optional(),\n views: z.array(SpotlightrGetVideoViews_ViewDataSchema).describe(\"List of view records for the video\").nullable().optional(),\n}).passthrough().describe(\"Response model for video views retrieval.\");\n\nexport const spotlightrGetVideoViews: AppAction<\n typeof SpotlightrGetVideoViewsInput,\n typeof SpotlightrGetVideoViewsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_VIEWS\", {\n slug: \"spotlightr-get-video-views\",\n name: \"Get Video Views\",\n description: \"Tool to retrieve video view data with optional filtering by viewer ID and watch status. Use when you need detailed view records for a specific video.\",\n input: SpotlightrGetVideoViewsInput,\n output: SpotlightrGetVideoViewsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC9E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAMtG,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrListGroupsInput = z.object({}).describe(\"Request model for retrieving all projects (groups) in the account.\");\nconst SpotlightrListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp of the group\").nullable().optional(),\n video_count: z.number().int().describe(\"Number of videos in the group\").nullable().optional(),\n}).passthrough().describe(\"Group (project) object representing a single project's details.\");\nexport const SpotlightrListGroupsOutput = z.object({\n groups: z.array(SpotlightrListGroups_GroupSchema).describe(\"List of group (project) objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for groups (projects) retrieval.\");\n\nexport const spotlightrListGroups = action(\"SPOTLIGHTR_LIST_GROUPS\", {\n slug: \"spotlightr-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.\",\n input: SpotlightrListGroupsInput,\n output: SpotlightrListGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrListGroupsInput = z.object({}).describe(\"Request model for retrieving all projects (groups) in the account.\");\nconst SpotlightrListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp of the group\").nullable().optional(),\n video_count: z.number().int().describe(\"Number of videos in the group\").nullable().optional(),\n}).passthrough().describe(\"Group (project) object representing a single project's details.\");\nexport const SpotlightrListGroupsOutput = z.object({\n groups: z.array(SpotlightrListGroups_GroupSchema).describe(\"List of group (project) objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for groups (projects) retrieval.\");\n\nexport const spotlightrListGroups: AppAction<\n typeof SpotlightrListGroupsInput,\n typeof SpotlightrListGroupsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_LIST_GROUPS\", {\n slug: \"spotlightr-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.\",\n input: SpotlightrListGroupsInput,\n output: SpotlightrListGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACnI,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-groups.d.ts
|
|
@@ -11,19 +13,7 @@ declare const SpotlightrListGroupsOutput: z.ZodObject<{
|
|
|
11
13
|
video_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spotlightrListGroups:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spotlightrListGroups: AppAction<typeof SpotlightrListGroupsInput, typeof SpotlightrListGroupsOutput, typeof spotlightr.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { spotlightrListGroups };
|
|
29
19
|
//# sourceMappingURL=list-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-groups.d.ts
|
|
@@ -11,19 +13,7 @@ declare const SpotlightrListGroupsOutput: z.ZodObject<{
|
|
|
11
13
|
video_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spotlightrListGroups:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spotlightrListGroups: AppAction<typeof SpotlightrListGroupsInput, typeof SpotlightrListGroupsOutput, typeof spotlightr.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { spotlightrListGroups };
|
|
29
19
|
//# sourceMappingURL=list-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrListGroupsInput = z.object({}).describe(\"Request model for retrieving all projects (groups) in the account.\");\nconst SpotlightrListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp of the group\").nullable().optional(),\n video_count: z.number().int().describe(\"Number of videos in the group\").nullable().optional(),\n}).passthrough().describe(\"Group (project) object representing a single project's details.\");\nexport const SpotlightrListGroupsOutput = z.object({\n groups: z.array(SpotlightrListGroups_GroupSchema).describe(\"List of group (project) objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for groups (projects) retrieval.\");\n\nexport const spotlightrListGroups = action(\"SPOTLIGHTR_LIST_GROUPS\", {\n slug: \"spotlightr-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.\",\n input: SpotlightrListGroupsInput,\n output: SpotlightrListGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrListGroupsInput = z.object({}).describe(\"Request model for retrieving all projects (groups) in the account.\");\nconst SpotlightrListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp of the group\").nullable().optional(),\n video_count: z.number().int().describe(\"Number of videos in the group\").nullable().optional(),\n}).passthrough().describe(\"Group (project) object representing a single project's details.\");\nexport const SpotlightrListGroupsOutput = z.object({\n groups: z.array(SpotlightrListGroups_GroupSchema).describe(\"List of group (project) objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for groups (projects) retrieval.\");\n\nexport const spotlightrListGroups: AppAction<\n typeof SpotlightrListGroupsInput,\n typeof SpotlightrListGroupsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_LIST_GROUPS\", {\n slug: \"spotlightr-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.\",\n input: SpotlightrListGroupsInput,\n output: SpotlightrListGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACnI,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-videos.cjs","names":["z","action"],"sources":["../../src/actions/list-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrListVideosInput = z.object({\n video_id: z.number().int().describe(\"Identifier for a specific video record to retrieve\").optional(),\n video_group: z.number().int().describe(\"Identifier for filtering videos by project association\").optional(),\n}).describe(\"Request model for listing videos from Spotlightr account.\");\nconst SpotlightrListVideos_VideoItemSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n url: z.string().describe(\"Video URL\").nullable().optional(),\n name: z.string().describe(\"Video name or title\").nullable().optional(),\n status: z.string().describe(\"Video processing status\").nullable().optional(),\n duration: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Video creation timestamp\").nullable().optional(),\n thumbnail: z.string().describe(\"Video thumbnail URL\").nullable().optional(),\n videoGroup: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Video item representing a single video's details.\");\nexport const SpotlightrListVideosOutput = z.object({\n videos: z.array(SpotlightrListVideos_VideoItemSchema).describe(\"List of video objects from the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing videos.\");\n\nexport const spotlightrListVideos = action(\"SPOTLIGHTR_LIST_VIDEOS\", {\n slug: \"spotlightr-list-videos\",\n name: \"List Videos\",\n description: \"Tool to retrieve videos from a Spotlightr account. Use when you need to list all videos or filter by specific video ID or project.\",\n input: SpotlightrListVideosInput,\n output: SpotlightrListVideosOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-videos.cjs","names":["z","action"],"sources":["../../src/actions/list-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrListVideosInput = z.object({\n video_id: z.number().int().describe(\"Identifier for a specific video record to retrieve\").optional(),\n video_group: z.number().int().describe(\"Identifier for filtering videos by project association\").optional(),\n}).describe(\"Request model for listing videos from Spotlightr account.\");\nconst SpotlightrListVideos_VideoItemSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n url: z.string().describe(\"Video URL\").nullable().optional(),\n name: z.string().describe(\"Video name or title\").nullable().optional(),\n status: z.string().describe(\"Video processing status\").nullable().optional(),\n duration: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Video creation timestamp\").nullable().optional(),\n thumbnail: z.string().describe(\"Video thumbnail URL\").nullable().optional(),\n videoGroup: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Video item representing a single video's details.\");\nexport const SpotlightrListVideosOutput = z.object({\n videos: z.array(SpotlightrListVideos_VideoItemSchema).describe(\"List of video objects from the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing videos.\");\n\nexport const spotlightrListVideos: AppAction<\n typeof SpotlightrListVideosInput,\n typeof SpotlightrListVideosOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_LIST_VIDEOS\", {\n slug: \"spotlightr-list-videos\",\n name: \"List Videos\",\n description: \"Tool to retrieve videos from a Spotlightr account. Use when you need to list all videos or filter by specific video ID or project.\",\n input: SpotlightrListVideosInput,\n output: SpotlightrListVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|