@keystrokehq/spotlightr 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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-domain.cjs +20 -0
- package/dist/actions/add-domain.cjs.map +1 -0
- package/dist/actions/add-domain.d.cts +9 -0
- package/dist/actions/add-domain.d.cts.map +1 -0
- package/dist/actions/add-domain.d.mts +9 -0
- package/dist/actions/add-domain.d.mts.map +1 -0
- package/dist/actions/add-domain.mjs +17 -0
- package/dist/actions/add-domain.mjs.map +1 -0
- package/dist/actions/create-group.cjs +20 -0
- package/dist/actions/create-group.cjs.map +1 -0
- package/dist/actions/create-group.d.cts +9 -0
- package/dist/actions/create-group.d.cts.map +1 -0
- package/dist/actions/create-group.d.mts +9 -0
- package/dist/actions/create-group.d.mts.map +1 -0
- package/dist/actions/create-group.mjs +17 -0
- package/dist/actions/create-group.mjs.map +1 -0
- package/dist/actions/create-video.cjs +24 -0
- package/dist/actions/create-video.cjs.map +1 -0
- package/dist/actions/create-video.d.cts +9 -0
- package/dist/actions/create-video.d.cts.map +1 -0
- package/dist/actions/create-video.d.mts +9 -0
- package/dist/actions/create-video.d.mts.map +1 -0
- package/dist/actions/create-video.mjs +21 -0
- package/dist/actions/create-video.mjs.map +1 -0
- package/dist/actions/delete-video.cjs +19 -0
- package/dist/actions/delete-video.cjs.map +1 -0
- package/dist/actions/delete-video.d.cts +9 -0
- package/dist/actions/delete-video.d.cts.map +1 -0
- package/dist/actions/delete-video.d.mts +9 -0
- package/dist/actions/delete-video.d.mts.map +1 -0
- package/dist/actions/delete-video.mjs +16 -0
- package/dist/actions/delete-video.mjs.map +1 -0
- package/dist/actions/get-domains.cjs +16 -0
- package/dist/actions/get-domains.cjs.map +1 -0
- package/dist/actions/get-domains.d.cts +9 -0
- package/dist/actions/get-domains.d.cts.map +1 -0
- package/dist/actions/get-domains.d.mts +9 -0
- package/dist/actions/get-domains.d.mts.map +1 -0
- package/dist/actions/get-domains.mjs +13 -0
- package/dist/actions/get-domains.mjs.map +1 -0
- package/dist/actions/get-top-videos.cjs +26 -0
- package/dist/actions/get-top-videos.cjs.map +1 -0
- package/dist/actions/get-top-videos.d.cts +9 -0
- package/dist/actions/get-top-videos.d.cts.map +1 -0
- package/dist/actions/get-top-videos.d.mts +9 -0
- package/dist/actions/get-top-videos.d.mts.map +1 -0
- package/dist/actions/get-top-videos.mjs +25 -0
- package/dist/actions/get-top-videos.mjs.map +1 -0
- package/dist/actions/get-video-metrics.cjs +23 -0
- package/dist/actions/get-video-metrics.cjs.map +1 -0
- package/dist/actions/get-video-metrics.d.cts +9 -0
- package/dist/actions/get-video-metrics.d.cts.map +1 -0
- package/dist/actions/get-video-metrics.d.mts +9 -0
- package/dist/actions/get-video-metrics.d.mts.map +1 -0
- package/dist/actions/get-video-metrics.mjs +20 -0
- package/dist/actions/get-video-metrics.mjs.map +1 -0
- package/dist/actions/get-video-source.cjs +24 -0
- package/dist/actions/get-video-source.cjs.map +1 -0
- package/dist/actions/get-video-source.d.cts +9 -0
- package/dist/actions/get-video-source.d.cts.map +1 -0
- package/dist/actions/get-video-source.d.mts +9 -0
- package/dist/actions/get-video-source.d.mts.map +1 -0
- package/dist/actions/get-video-source.mjs +21 -0
- package/dist/actions/get-video-source.mjs.map +1 -0
- package/dist/actions/get-video-views.cjs +36 -0
- package/dist/actions/get-video-views.cjs.map +1 -0
- package/dist/actions/get-video-views.d.cts +9 -0
- package/dist/actions/get-video-views.d.cts.map +1 -0
- package/dist/actions/get-video-views.d.mts +9 -0
- package/dist/actions/get-video-views.d.mts.map +1 -0
- package/dist/actions/get-video-views.mjs +35 -0
- package/dist/actions/get-video-views.mjs.map +1 -0
- package/dist/actions/index.cjs +25 -0
- package/dist/actions/index.d.cts +13 -0
- package/dist/actions/index.d.mts +13 -0
- package/dist/actions/index.mjs +13 -0
- package/dist/actions/list-groups.cjs +23 -0
- package/dist/actions/list-groups.cjs.map +1 -0
- package/dist/actions/list-groups.d.cts +9 -0
- package/dist/actions/list-groups.d.cts.map +1 -0
- package/dist/actions/list-groups.d.mts +9 -0
- package/dist/actions/list-groups.d.mts.map +1 -0
- package/dist/actions/list-groups.mjs +22 -0
- package/dist/actions/list-groups.mjs.map +1 -0
- package/dist/actions/list-videos.cjs +33 -0
- package/dist/actions/list-videos.cjs.map +1 -0
- package/dist/actions/list-videos.d.cts +9 -0
- package/dist/actions/list-videos.d.cts.map +1 -0
- package/dist/actions/list-videos.d.mts +9 -0
- package/dist/actions/list-videos.d.mts.map +1 -0
- package/dist/actions/list-videos.mjs +32 -0
- package/dist/actions/list-videos.mjs.map +1 -0
- package/dist/actions/search-global.cjs +22 -0
- package/dist/actions/search-global.cjs.map +1 -0
- package/dist/actions/search-global.d.cts +9 -0
- package/dist/actions/search-global.d.cts.map +1 -0
- package/dist/actions/search-global.d.mts +9 -0
- package/dist/actions/search-global.d.mts.map +1 -0
- package/dist/actions/search-global.mjs +21 -0
- package/dist/actions/search-global.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +16 -0
- package/package.json +49 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-video-metrics.ts
|
|
4
|
+
const SpotlightrGetVideoMetricsInput = zod.z.object({ video_id: zod.z.string().describe("ID of the video to fetch metrics for") });
|
|
5
|
+
const SpotlightrGetVideoMetricsOutput = zod.z.object({
|
|
6
|
+
loads: zod.z.number().describe("Total number of times the video was loaded."),
|
|
7
|
+
plays: zod.z.number().describe("Total number of play events triggered."),
|
|
8
|
+
shares: zod.z.number().describe("Total number of times the video was shared."),
|
|
9
|
+
watched: zod.z.number().describe("Percentage of video watched (decimal value)."),
|
|
10
|
+
playRate: zod.z.number().describe("Ratio of plays to loads."),
|
|
11
|
+
completitionRate: zod.z.number().describe("Percentage of viewers who completed the video.")
|
|
12
|
+
}).describe("Response schema for video metrics API - returns metrics directly without wrapper.");
|
|
13
|
+
const spotlightrGetVideoMetrics = require_action.action("SPOTLIGHTR_GET_VIDEO_METRICS", {
|
|
14
|
+
slug: "spotlightr-get-video-metrics",
|
|
15
|
+
name: "Get Video Metrics",
|
|
16
|
+
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.).",
|
|
17
|
+
input: SpotlightrGetVideoMetricsInput,
|
|
18
|
+
output: SpotlightrGetVideoMetricsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.spotlightrGetVideoMetrics = spotlightrGetVideoMetrics;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-video-metrics.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput: z.ZodTypeAny = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\"),\n plays: z.number().describe(\"Total number of play events triggered.\"),\n shares: z.number().describe(\"Total number of times the video was shared.\"),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\"),\n playRate: z.number().describe(\"Ratio of plays to loads.\"),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\"),\n}).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":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAE/F,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/get-video-metrics.d.ts
|
|
4
|
+
declare const SpotlightrGetVideoMetricsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrGetVideoMetricsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrGetVideoMetrics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrGetVideoMetrics };
|
|
9
|
+
//# sourceMappingURL=get-video-metrics.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-video-metrics.d.cts","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAOgD;AAAA,cAEnF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-video-metrics.d.ts
|
|
4
|
+
declare const SpotlightrGetVideoMetricsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrGetVideoMetricsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrGetVideoMetrics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrGetVideoMetrics };
|
|
9
|
+
//# sourceMappingURL=get-video-metrics.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-video-metrics.d.mts","names":[],"sources":["../../src/actions/get-video-metrics.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAOgD;AAAA,cAEnF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const spotlightrGetVideoMetrics = action("SPOTLIGHTR_GET_VIDEO_METRICS", {
|
|
4
|
+
slug: "spotlightr-get-video-metrics",
|
|
5
|
+
name: "Get Video Metrics",
|
|
6
|
+
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.).",
|
|
7
|
+
input: z.object({ video_id: z.string().describe("ID of the video to fetch metrics for") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
loads: z.number().describe("Total number of times the video was loaded."),
|
|
10
|
+
plays: z.number().describe("Total number of play events triggered."),
|
|
11
|
+
shares: z.number().describe("Total number of times the video was shared."),
|
|
12
|
+
watched: z.number().describe("Percentage of video watched (decimal value)."),
|
|
13
|
+
playRate: z.number().describe("Ratio of plays to loads."),
|
|
14
|
+
completitionRate: z.number().describe("Percentage of viewers who completed the video.")
|
|
15
|
+
}).describe("Response schema for video metrics API - returns metrics directly without wrapper.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { spotlightrGetVideoMetrics };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-video-metrics.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput: z.ZodTypeAny = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\"),\n plays: z.number().describe(\"Total number of play events triggered.\"),\n shares: z.number().describe(\"Total number of times the video was shared.\"),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\"),\n playRate: z.number().describe(\"Ratio of plays to loads.\"),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\"),\n}).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":";;AAgBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0D,EAAE,OAAO,EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAcS;CACP,QAd2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACxD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAAC,CAAC,CAAC,SAAS,mFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-video-source.ts
|
|
4
|
+
const SpotlightrGetVideoSourceInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("Video ID whose source is to be replaced"),
|
|
6
|
+
URL: zod.z.string().describe("New URL for the video source")
|
|
7
|
+
}).describe("Request model for getting or replacing the video source for an existing video.");
|
|
8
|
+
const SpotlightrGetVideoSourceOutput = zod.z.object({
|
|
9
|
+
message: zod.z.string().describe("Response message from the API").nullable().optional(),
|
|
10
|
+
new_url: zod.z.string().describe("The new URL that was set for the video source").nullable().optional(),
|
|
11
|
+
success: zod.z.boolean().describe("Indicates whether the video source was successfully updated").nullable().optional(),
|
|
12
|
+
video_id: zod.z.number().int().describe("ID of the video that was updated").nullable().optional()
|
|
13
|
+
}).describe("Response model for video source operation.");
|
|
14
|
+
const spotlightrGetVideoSource = require_action.action("SPOTLIGHTR_GET_VIDEO_SOURCE", {
|
|
15
|
+
slug: "spotlightr-get-video-source",
|
|
16
|
+
name: "Get Video Source",
|
|
17
|
+
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.",
|
|
18
|
+
input: SpotlightrGetVideoSourceInput,
|
|
19
|
+
output: SpotlightrGetVideoSourceOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.spotlightrGetVideoSource = spotlightrGetVideoSource;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-video-source.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).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":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,SAAS,4CAA4C;AAExD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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/get-video-source.d.ts
|
|
4
|
+
declare const SpotlightrGetVideoSourceInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrGetVideoSourceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrGetVideoSource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrGetVideoSource };
|
|
9
|
+
//# sourceMappingURL=get-video-source.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-video-source.d.cts","names":[],"sources":["../../src/actions/get-video-source.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG+C;AAAA,cAChF,8BAAA,EAAgC,CAAA,CAAE,UAKU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-video-source.d.ts
|
|
4
|
+
declare const SpotlightrGetVideoSourceInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrGetVideoSourceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrGetVideoSource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrGetVideoSource };
|
|
9
|
+
//# sourceMappingURL=get-video-source.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-video-source.d.mts","names":[],"sources":["../../src/actions/get-video-source.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG+C;AAAA,cAChF,8BAAA,EAAgC,CAAA,CAAE,UAKU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const spotlightrGetVideoSource = action("SPOTLIGHTR_GET_VIDEO_SOURCE", {
|
|
4
|
+
slug: "spotlightr-get-video-source",
|
|
5
|
+
name: "Get Video Source",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("Video ID whose source is to be replaced"),
|
|
9
|
+
URL: z.string().describe("New URL for the video source")
|
|
10
|
+
}).describe("Request model for getting or replacing the video source for an existing video."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
message: z.string().describe("Response message from the API").nullable().optional(),
|
|
13
|
+
new_url: z.string().describe("The new URL that was set for the video source").nullable().optional(),
|
|
14
|
+
success: z.boolean().describe("Indicates whether the video source was successfully updated").nullable().optional(),
|
|
15
|
+
video_id: z.number().int().describe("ID of the video that was updated").nullable().optional()
|
|
16
|
+
}).describe("Response model for video source operation.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { spotlightrGetVideoSource };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-video-source.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).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":";;AAeA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,CAAC,CAAC,CAAC,SAAS,gFAYH;CACP,QAZ0D,EAAE,OAAO;EACnE,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,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-video-views.ts
|
|
4
|
+
const SpotlightrGetVideoViewsInput = zod.z.object({
|
|
5
|
+
videoID: zod.z.number().int().describe("Video identifier for retrieving view data"),
|
|
6
|
+
allViews: zod.z.boolean().describe("Return all views without pagination").optional(),
|
|
7
|
+
onlyWatched: zod.z.boolean().describe("Filter to only include views with percentWatched > 1").optional(),
|
|
8
|
+
customViewerID: zod.z.string().describe("ID or email of a known viewer to filter views by specific viewer").optional()
|
|
9
|
+
}).describe("Request model for retrieving video views with optional filtering.");
|
|
10
|
+
const SpotlightrGetVideoViews_ViewDataSchema = zod.z.object({
|
|
11
|
+
device: zod.z.string().describe("Device type used for viewing").nullable().optional(),
|
|
12
|
+
viewId: zod.z.string().describe("Unique identifier for this view").nullable().optional(),
|
|
13
|
+
browser: zod.z.string().describe("Browser used for viewing").nullable().optional(),
|
|
14
|
+
country: zod.z.string().describe("Country of the viewer").nullable().optional(),
|
|
15
|
+
videoID: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
16
|
+
createdAt: zod.z.string().describe("Creation timestamp for the view record").nullable().optional(),
|
|
17
|
+
ipAddress: zod.z.string().describe("IP address of the viewer").nullable().optional(),
|
|
18
|
+
timestamp: zod.z.string().describe("Timestamp when the view occurred").nullable().optional(),
|
|
19
|
+
customViewerID: zod.z.string().describe("Custom viewer ID or email if provided").nullable().optional(),
|
|
20
|
+
percentWatched: zod.z.number().describe("Percentage of video watched (0-100)").nullable().optional()
|
|
21
|
+
}).describe("Individual view record containing viewer information and watch statistics.");
|
|
22
|
+
const SpotlightrGetVideoViewsOutput = zod.z.object({
|
|
23
|
+
total: zod.z.number().int().describe("Total number of views (may be present if paginated)").nullable().optional(),
|
|
24
|
+
views: zod.z.array(SpotlightrGetVideoViews_ViewDataSchema).describe("List of view records for the video").nullable().optional()
|
|
25
|
+
}).describe("Response model for video views retrieval.");
|
|
26
|
+
const spotlightrGetVideoViews = require_action.action("SPOTLIGHTR_GET_VIDEO_VIEWS", {
|
|
27
|
+
slug: "spotlightr-get-video-views",
|
|
28
|
+
name: "Get Video Views",
|
|
29
|
+
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.",
|
|
30
|
+
input: SpotlightrGetVideoViewsInput,
|
|
31
|
+
output: SpotlightrGetVideoViewsOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.spotlightrGetVideoViews = spotlightrGetVideoViews;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-video-views.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Individual view record containing viewer information and watch statistics.\");\nexport const SpotlightrGetVideoViewsOutput: z.ZodTypeAny = 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}).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":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,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,SAAS,4EAA4E;AACxF,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,SAAS,2CAA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/get-video-views.d.ts
|
|
4
|
+
declare const SpotlightrGetVideoViewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrGetVideoViewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrGetVideoViews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrGetVideoViews };
|
|
9
|
+
//# sourceMappingURL=get-video-views.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-video-views.d.cts","names":[],"sources":["../../src/actions/get-video-views.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAKmC;AAAA,cAanE,6BAAA,EAA+B,CAAA,CAAE,UAGU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-video-views.d.ts
|
|
4
|
+
declare const SpotlightrGetVideoViewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrGetVideoViewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrGetVideoViews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrGetVideoViews };
|
|
9
|
+
//# sourceMappingURL=get-video-views.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-video-views.d.mts","names":[],"sources":["../../src/actions/get-video-views.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAKmC;AAAA,cAanE,6BAAA,EAA+B,CAAA,CAAE,UAGU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-video-views.ts
|
|
4
|
+
const SpotlightrGetVideoViewsInput = z.object({
|
|
5
|
+
videoID: z.number().int().describe("Video identifier for retrieving view data"),
|
|
6
|
+
allViews: z.boolean().describe("Return all views without pagination").optional(),
|
|
7
|
+
onlyWatched: z.boolean().describe("Filter to only include views with percentWatched > 1").optional(),
|
|
8
|
+
customViewerID: z.string().describe("ID or email of a known viewer to filter views by specific viewer").optional()
|
|
9
|
+
}).describe("Request model for retrieving video views with optional filtering.");
|
|
10
|
+
const SpotlightrGetVideoViews_ViewDataSchema = z.object({
|
|
11
|
+
device: z.string().describe("Device type used for viewing").nullable().optional(),
|
|
12
|
+
viewId: z.string().describe("Unique identifier for this view").nullable().optional(),
|
|
13
|
+
browser: z.string().describe("Browser used for viewing").nullable().optional(),
|
|
14
|
+
country: z.string().describe("Country of the viewer").nullable().optional(),
|
|
15
|
+
videoID: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
16
|
+
createdAt: z.string().describe("Creation timestamp for the view record").nullable().optional(),
|
|
17
|
+
ipAddress: z.string().describe("IP address of the viewer").nullable().optional(),
|
|
18
|
+
timestamp: z.string().describe("Timestamp when the view occurred").nullable().optional(),
|
|
19
|
+
customViewerID: z.string().describe("Custom viewer ID or email if provided").nullable().optional(),
|
|
20
|
+
percentWatched: z.number().describe("Percentage of video watched (0-100)").nullable().optional()
|
|
21
|
+
}).describe("Individual view record containing viewer information and watch statistics.");
|
|
22
|
+
const spotlightrGetVideoViews = action("SPOTLIGHTR_GET_VIDEO_VIEWS", {
|
|
23
|
+
slug: "spotlightr-get-video-views",
|
|
24
|
+
name: "Get Video Views",
|
|
25
|
+
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.",
|
|
26
|
+
input: SpotlightrGetVideoViewsInput,
|
|
27
|
+
output: z.object({
|
|
28
|
+
total: z.number().int().describe("Total number of views (may be present if paginated)").nullable().optional(),
|
|
29
|
+
views: z.array(SpotlightrGetVideoViews_ViewDataSchema).describe("List of view records for the video").nullable().optional()
|
|
30
|
+
}).describe("Response model for video views retrieval.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { spotlightrGetVideoViews };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-video-views.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Individual view record containing viewer information and watch statistics.\");\nexport const SpotlightrGetVideoViewsOutput: z.ZodTypeAny = 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}).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":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,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,yCAAuD,EAAE,OAAO;CACpE,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,SAAS,4EAA4E;AAMxF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,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,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_add_domain = require("./add-domain.cjs");
|
|
3
|
+
const require_create_group = require("./create-group.cjs");
|
|
4
|
+
const require_create_video = require("./create-video.cjs");
|
|
5
|
+
const require_delete_video = require("./delete-video.cjs");
|
|
6
|
+
const require_get_domains = require("./get-domains.cjs");
|
|
7
|
+
const require_get_top_videos = require("./get-top-videos.cjs");
|
|
8
|
+
const require_get_video_metrics = require("./get-video-metrics.cjs");
|
|
9
|
+
const require_get_video_source = require("./get-video-source.cjs");
|
|
10
|
+
const require_get_video_views = require("./get-video-views.cjs");
|
|
11
|
+
const require_list_groups = require("./list-groups.cjs");
|
|
12
|
+
const require_list_videos = require("./list-videos.cjs");
|
|
13
|
+
const require_search_global = require("./search-global.cjs");
|
|
14
|
+
exports.spotlightrAddDomain = require_add_domain.spotlightrAddDomain;
|
|
15
|
+
exports.spotlightrCreateGroup = require_create_group.spotlightrCreateGroup;
|
|
16
|
+
exports.spotlightrCreateVideo = require_create_video.spotlightrCreateVideo;
|
|
17
|
+
exports.spotlightrDeleteVideo = require_delete_video.spotlightrDeleteVideo;
|
|
18
|
+
exports.spotlightrGetDomains = require_get_domains.spotlightrGetDomains;
|
|
19
|
+
exports.spotlightrGetTopVideos = require_get_top_videos.spotlightrGetTopVideos;
|
|
20
|
+
exports.spotlightrGetVideoMetrics = require_get_video_metrics.spotlightrGetVideoMetrics;
|
|
21
|
+
exports.spotlightrGetVideoSource = require_get_video_source.spotlightrGetVideoSource;
|
|
22
|
+
exports.spotlightrGetVideoViews = require_get_video_views.spotlightrGetVideoViews;
|
|
23
|
+
exports.spotlightrListGroups = require_list_groups.spotlightrListGroups;
|
|
24
|
+
exports.spotlightrListVideos = require_list_videos.spotlightrListVideos;
|
|
25
|
+
exports.spotlightrSearchGlobal = require_search_global.spotlightrSearchGlobal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { spotlightrAddDomain } from "./add-domain.cjs";
|
|
2
|
+
import { spotlightrCreateGroup } from "./create-group.cjs";
|
|
3
|
+
import { spotlightrCreateVideo } from "./create-video.cjs";
|
|
4
|
+
import { spotlightrDeleteVideo } from "./delete-video.cjs";
|
|
5
|
+
import { spotlightrGetDomains } from "./get-domains.cjs";
|
|
6
|
+
import { spotlightrGetTopVideos } from "./get-top-videos.cjs";
|
|
7
|
+
import { spotlightrGetVideoMetrics } from "./get-video-metrics.cjs";
|
|
8
|
+
import { spotlightrGetVideoSource } from "./get-video-source.cjs";
|
|
9
|
+
import { spotlightrGetVideoViews } from "./get-video-views.cjs";
|
|
10
|
+
import { spotlightrListGroups } from "./list-groups.cjs";
|
|
11
|
+
import { spotlightrListVideos } from "./list-videos.cjs";
|
|
12
|
+
import { spotlightrSearchGlobal } from "./search-global.cjs";
|
|
13
|
+
export { spotlightrAddDomain, spotlightrCreateGroup, spotlightrCreateVideo, spotlightrDeleteVideo, spotlightrGetDomains, spotlightrGetTopVideos, spotlightrGetVideoMetrics, spotlightrGetVideoSource, spotlightrGetVideoViews, spotlightrListGroups, spotlightrListVideos, spotlightrSearchGlobal };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { spotlightrAddDomain } from "./add-domain.mjs";
|
|
2
|
+
import { spotlightrCreateGroup } from "./create-group.mjs";
|
|
3
|
+
import { spotlightrCreateVideo } from "./create-video.mjs";
|
|
4
|
+
import { spotlightrDeleteVideo } from "./delete-video.mjs";
|
|
5
|
+
import { spotlightrGetDomains } from "./get-domains.mjs";
|
|
6
|
+
import { spotlightrGetTopVideos } from "./get-top-videos.mjs";
|
|
7
|
+
import { spotlightrGetVideoMetrics } from "./get-video-metrics.mjs";
|
|
8
|
+
import { spotlightrGetVideoSource } from "./get-video-source.mjs";
|
|
9
|
+
import { spotlightrGetVideoViews } from "./get-video-views.mjs";
|
|
10
|
+
import { spotlightrListGroups } from "./list-groups.mjs";
|
|
11
|
+
import { spotlightrListVideos } from "./list-videos.mjs";
|
|
12
|
+
import { spotlightrSearchGlobal } from "./search-global.mjs";
|
|
13
|
+
export { spotlightrAddDomain, spotlightrCreateGroup, spotlightrCreateVideo, spotlightrDeleteVideo, spotlightrGetDomains, spotlightrGetTopVideos, spotlightrGetVideoMetrics, spotlightrGetVideoSource, spotlightrGetVideoViews, spotlightrListGroups, spotlightrListVideos, spotlightrSearchGlobal };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { spotlightrAddDomain } from "./add-domain.mjs";
|
|
2
|
+
import { spotlightrCreateGroup } from "./create-group.mjs";
|
|
3
|
+
import { spotlightrCreateVideo } from "./create-video.mjs";
|
|
4
|
+
import { spotlightrDeleteVideo } from "./delete-video.mjs";
|
|
5
|
+
import { spotlightrGetDomains } from "./get-domains.mjs";
|
|
6
|
+
import { spotlightrGetTopVideos } from "./get-top-videos.mjs";
|
|
7
|
+
import { spotlightrGetVideoMetrics } from "./get-video-metrics.mjs";
|
|
8
|
+
import { spotlightrGetVideoSource } from "./get-video-source.mjs";
|
|
9
|
+
import { spotlightrGetVideoViews } from "./get-video-views.mjs";
|
|
10
|
+
import { spotlightrListGroups } from "./list-groups.mjs";
|
|
11
|
+
import { spotlightrListVideos } from "./list-videos.mjs";
|
|
12
|
+
import { spotlightrSearchGlobal } from "./search-global.mjs";
|
|
13
|
+
export { spotlightrAddDomain, spotlightrCreateGroup, spotlightrCreateVideo, spotlightrDeleteVideo, spotlightrGetDomains, spotlightrGetTopVideos, spotlightrGetVideoMetrics, spotlightrGetVideoSource, spotlightrGetVideoViews, spotlightrListGroups, spotlightrListVideos, spotlightrSearchGlobal };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-groups.ts
|
|
4
|
+
const SpotlightrListGroupsInput = zod.z.object({}).describe("Request model for retrieving all projects (groups) in the account.");
|
|
5
|
+
const SpotlightrListGroups_GroupSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Group ID").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("Group name").nullable().optional(),
|
|
8
|
+
created_at: zod.z.string().describe("Creation timestamp of the group").nullable().optional(),
|
|
9
|
+
updated_at: zod.z.string().describe("Last updated timestamp of the group").nullable().optional(),
|
|
10
|
+
video_count: zod.z.number().int().describe("Number of videos in the group").nullable().optional()
|
|
11
|
+
}).describe("Group (project) object representing a single project's details.");
|
|
12
|
+
const SpotlightrListGroupsOutput = zod.z.object({ groups: zod.z.array(SpotlightrListGroups_GroupSchema).describe("List of group (project) objects").nullable().optional() }).describe("Response model for groups (projects) retrieval.");
|
|
13
|
+
const spotlightrListGroups = require_action.action("SPOTLIGHTR_LIST_GROUPS", {
|
|
14
|
+
slug: "spotlightr-list-groups",
|
|
15
|
+
name: "List Groups",
|
|
16
|
+
description: "Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.",
|
|
17
|
+
input: SpotlightrListGroupsInput,
|
|
18
|
+
output: SpotlightrListGroupsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.spotlightrListGroups = spotlightrListGroups;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-groups.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all projects (groups) in the account.\");\nconst SpotlightrListGroups_GroupSchema: z.ZodTypeAny = 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}).describe(\"Group (project) object representing a single project's details.\");\nexport const SpotlightrListGroupsOutput: z.ZodTypeAny = z.object({\n groups: z.array(SpotlightrListGroups_GroupSchema).describe(\"List of group (project) objects\").nullable().optional(),\n}).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":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACjJ,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,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,SAAS,iEAAiE;AAC7E,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/list-groups.d.ts
|
|
4
|
+
declare const SpotlightrListGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrListGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrListGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrListGroups };
|
|
9
|
+
//# sourceMappingURL=list-groups.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAwG;AAAA,cAQrI,0BAAA,EAA4B,CAAA,CAAE,UAEmB;AAAA,cAEjD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-groups.d.ts
|
|
4
|
+
declare const SpotlightrListGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrListGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrListGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrListGroups };
|
|
9
|
+
//# sourceMappingURL=list-groups.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAwG;AAAA,cAQrI,0BAAA,EAA4B,CAAA,CAAE,UAEmB;AAAA,cAEjD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-groups.ts
|
|
4
|
+
const SpotlightrListGroupsInput = z.object({}).describe("Request model for retrieving all projects (groups) in the account.");
|
|
5
|
+
const SpotlightrListGroups_GroupSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Group ID").nullable().optional(),
|
|
7
|
+
name: z.string().describe("Group name").nullable().optional(),
|
|
8
|
+
created_at: z.string().describe("Creation timestamp of the group").nullable().optional(),
|
|
9
|
+
updated_at: z.string().describe("Last updated timestamp of the group").nullable().optional(),
|
|
10
|
+
video_count: z.number().int().describe("Number of videos in the group").nullable().optional()
|
|
11
|
+
}).describe("Group (project) object representing a single project's details.");
|
|
12
|
+
const spotlightrListGroups = action("SPOTLIGHTR_LIST_GROUPS", {
|
|
13
|
+
slug: "spotlightr-list-groups",
|
|
14
|
+
name: "List Groups",
|
|
15
|
+
description: "Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.",
|
|
16
|
+
input: SpotlightrListGroupsInput,
|
|
17
|
+
output: z.object({ groups: z.array(SpotlightrListGroups_GroupSchema).describe("List of group (project) objects").nullable().optional() }).describe("Response model for groups (projects) retrieval.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { spotlightrListGroups };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=list-groups.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all projects (groups) in the account.\");\nconst SpotlightrListGroups_GroupSchema: z.ZodTypeAny = 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}).describe(\"Group (project) object representing a single project's details.\");\nexport const SpotlightrListGroupsOutput: z.ZodTypeAny = z.object({\n groups: z.array(SpotlightrListGroups_GroupSchema).describe(\"List of group (project) objects\").nullable().optional(),\n}).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":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACjJ,MAAM,mCAAiD,EAAE,OAAO;CAC9D,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,SAAS,iEAAiE;AAK7E,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-videos.ts
|
|
4
|
+
const SpotlightrListVideosInput = zod.z.object({
|
|
5
|
+
video_id: zod.z.number().int().describe("Identifier for a specific video record to retrieve").optional(),
|
|
6
|
+
video_group: zod.z.number().int().describe("Identifier for filtering videos by project association").optional()
|
|
7
|
+
}).describe("Request model for listing videos from Spotlightr account.");
|
|
8
|
+
const SpotlightrListVideos_VideoItemSchema = zod.z.object({
|
|
9
|
+
id: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
10
|
+
url: zod.z.string().describe("Video URL").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Video name or title").nullable().optional(),
|
|
12
|
+
status: zod.z.string().describe("Video processing status").nullable().optional(),
|
|
13
|
+
duration: zod.z.union([
|
|
14
|
+
zod.z.number().int(),
|
|
15
|
+
zod.z.number(),
|
|
16
|
+
zod.z.string()
|
|
17
|
+
]).nullable().optional(),
|
|
18
|
+
createdAt: zod.z.string().describe("Video creation timestamp").nullable().optional(),
|
|
19
|
+
thumbnail: zod.z.string().describe("Video thumbnail URL").nullable().optional(),
|
|
20
|
+
videoGroup: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional()
|
|
21
|
+
}).describe("Video item representing a single video's details.");
|
|
22
|
+
const SpotlightrListVideosOutput = zod.z.object({ videos: zod.z.array(SpotlightrListVideos_VideoItemSchema).describe("List of video objects from the account").nullable().optional() }).describe("Response model for listing videos.");
|
|
23
|
+
const spotlightrListVideos = require_action.action("SPOTLIGHTR_LIST_VIDEOS", {
|
|
24
|
+
slug: "spotlightr-list-videos",
|
|
25
|
+
name: "List Videos",
|
|
26
|
+
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.",
|
|
27
|
+
input: SpotlightrListVideosInput,
|
|
28
|
+
output: SpotlightrListVideosOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.spotlightrListVideos = spotlightrListVideos;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=list-videos.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Video item representing a single video's details.\");\nexport const SpotlightrListVideosOutput: z.ZodTypeAny = z.object({\n videos: z.array(SpotlightrListVideos_VideoItemSchema).describe(\"List of video objects from the account\").nullable().optional(),\n}).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":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,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,SAAS,mDAAmD;AAC/D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/list-videos.d.ts
|
|
4
|
+
declare const SpotlightrListVideosInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrListVideosOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrListVideos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrListVideos };
|
|
9
|
+
//# sourceMappingURL=list-videos.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-videos.d.cts","names":[],"sources":["../../src/actions/list-videos.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG8B;AAAA,cAW3D,0BAAA,EAA4B,CAAA,CAAE,UAEM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-videos.d.ts
|
|
4
|
+
declare const SpotlightrListVideosInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpotlightrListVideosOutput: z.ZodTypeAny;
|
|
6
|
+
declare const spotlightrListVideos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { spotlightrListVideos };
|
|
9
|
+
//# sourceMappingURL=list-videos.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-videos.d.mts","names":[],"sources":["../../src/actions/list-videos.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG8B;AAAA,cAW3D,0BAAA,EAA4B,CAAA,CAAE,UAEM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-videos.ts
|
|
4
|
+
const SpotlightrListVideosInput = z.object({
|
|
5
|
+
video_id: z.number().int().describe("Identifier for a specific video record to retrieve").optional(),
|
|
6
|
+
video_group: z.number().int().describe("Identifier for filtering videos by project association").optional()
|
|
7
|
+
}).describe("Request model for listing videos from Spotlightr account.");
|
|
8
|
+
const SpotlightrListVideos_VideoItemSchema = z.object({
|
|
9
|
+
id: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
10
|
+
url: z.string().describe("Video URL").nullable().optional(),
|
|
11
|
+
name: z.string().describe("Video name or title").nullable().optional(),
|
|
12
|
+
status: z.string().describe("Video processing status").nullable().optional(),
|
|
13
|
+
duration: z.union([
|
|
14
|
+
z.number().int(),
|
|
15
|
+
z.number(),
|
|
16
|
+
z.string()
|
|
17
|
+
]).nullable().optional(),
|
|
18
|
+
createdAt: z.string().describe("Video creation timestamp").nullable().optional(),
|
|
19
|
+
thumbnail: z.string().describe("Video thumbnail URL").nullable().optional(),
|
|
20
|
+
videoGroup: z.union([z.number().int(), z.string()]).nullable().optional()
|
|
21
|
+
}).describe("Video item representing a single video's details.");
|
|
22
|
+
const spotlightrListVideos = action("SPOTLIGHTR_LIST_VIDEOS", {
|
|
23
|
+
slug: "spotlightr-list-videos",
|
|
24
|
+
name: "List Videos",
|
|
25
|
+
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.",
|
|
26
|
+
input: SpotlightrListVideosInput,
|
|
27
|
+
output: z.object({ videos: z.array(SpotlightrListVideos_VideoItemSchema).describe("List of video objects from the account").nullable().optional() }).describe("Response model for listing videos.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { spotlightrListVideos };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=list-videos.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-videos.mjs","names":[],"sources":["../../src/actions/list-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrListVideosInput: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Video item representing a single video's details.\");\nexport const SpotlightrListVideosOutput: z.ZodTypeAny = z.object({\n videos: z.array(SpotlightrListVideos_VideoItemSchema).describe(\"List of video objects from the account\").nullable().optional(),\n}).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":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,MAAM;EAAC,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAK/D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|