@keystrokehq/spotlightr 0.1.2 → 0.1.4
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/actions/add-domain.cjs +1 -1
- package/dist/actions/add-domain.cjs.map +1 -1
- package/dist/actions/add-domain.d.cts +1 -1
- package/dist/actions/add-domain.d.mts +1 -1
- package/dist/actions/add-domain.mjs +1 -1
- package/dist/actions/add-domain.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -1
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +1 -1
- package/dist/actions/create-group.d.mts +1 -1
- package/dist/actions/create-group.mjs +1 -1
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-video.cjs +2 -2
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +3 -3
- package/dist/actions/create-video.d.mts +3 -3
- package/dist/actions/create-video.mjs +2 -2
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -1
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +1 -1
- package/dist/actions/delete-video.d.mts +1 -1
- package/dist/actions/delete-video.mjs +1 -1
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/get-domains.cjs +1 -1
- package/dist/actions/get-domains.cjs.map +1 -1
- package/dist/actions/get-domains.d.cts +1 -1
- package/dist/actions/get-domains.d.mts +1 -1
- package/dist/actions/get-domains.mjs +1 -1
- package/dist/actions/get-domains.mjs.map +1 -1
- package/dist/actions/get-top-videos.cjs +2 -2
- package/dist/actions/get-top-videos.cjs.map +1 -1
- package/dist/actions/get-top-videos.d.cts +2 -2
- package/dist/actions/get-top-videos.d.mts +2 -2
- package/dist/actions/get-top-videos.mjs +2 -2
- package/dist/actions/get-top-videos.mjs.map +1 -1
- package/dist/actions/get-video-metrics.cjs +1 -1
- package/dist/actions/get-video-metrics.cjs.map +1 -1
- package/dist/actions/get-video-metrics.d.cts +1 -1
- package/dist/actions/get-video-metrics.d.mts +1 -1
- package/dist/actions/get-video-metrics.mjs +1 -1
- package/dist/actions/get-video-metrics.mjs.map +1 -1
- package/dist/actions/get-video-source.cjs +1 -1
- package/dist/actions/get-video-source.cjs.map +1 -1
- package/dist/actions/get-video-source.d.cts +1 -1
- package/dist/actions/get-video-source.d.mts +1 -1
- package/dist/actions/get-video-source.mjs +1 -1
- package/dist/actions/get-video-source.mjs.map +1 -1
- package/dist/actions/get-video-views.cjs +2 -2
- package/dist/actions/get-video-views.cjs.map +1 -1
- package/dist/actions/get-video-views.d.cts +2 -2
- package/dist/actions/get-video-views.d.mts +2 -2
- package/dist/actions/get-video-views.mjs +2 -2
- package/dist/actions/get-video-views.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +2 -2
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +2 -2
- package/dist/actions/list-groups.d.mts +2 -2
- package/dist/actions/list-groups.mjs +2 -2
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +2 -2
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +2 -2
- package/dist/actions/list-videos.d.mts +2 -2
- package/dist/actions/list-videos.mjs +2 -2
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/search-global.cjs +2 -2
- package/dist/actions/search-global.cjs.map +1 -1
- package/dist/actions/search-global.d.cts +2 -2
- package/dist/actions/search-global.d.mts +2 -2
- package/dist/actions/search-global.mjs +2 -2
- package/dist/actions/search-global.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ const SpotlightrAddDomainOutput = zod.z.object({
|
|
|
6
6
|
domain: zod.z.string().describe("The domain that was added").nullable().optional(),
|
|
7
7
|
message: zod.z.string().describe("Success or error message from the API").nullable().optional(),
|
|
8
8
|
success: zod.z.boolean().describe("Whether the domain was successfully added").nullable()
|
|
9
|
-
}).describe("Response model for adding a domain.");
|
|
9
|
+
}).passthrough().describe("Response model for adding a domain.");
|
|
10
10
|
const spotlightrAddDomain = require_action.action("SPOTLIGHTR_ADD_DOMAIN", {
|
|
11
11
|
slug: "spotlightr-add-domain",
|
|
12
12
|
name: "Add Domain",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-domain.cjs","names":["z","action"],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACvH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"add-domain.cjs","names":["z","action"],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACvH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SpotlightrAddDomainOutput: z.ZodObject<{
|
|
|
8
8
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const spotlightrAddDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
domain: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const SpotlightrAddDomainOutput: z.ZodObject<{
|
|
|
8
8
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const spotlightrAddDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
domain: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const spotlightrAddDomain = action("SPOTLIGHTR_ADD_DOMAIN", {
|
|
|
9
9
|
domain: z.string().describe("The domain that was added").nullable().optional(),
|
|
10
10
|
message: z.string().describe("Success or error message from the API").nullable().optional(),
|
|
11
11
|
success: z.boolean().describe("Whether the domain was successfully added").nullable()
|
|
12
|
-
}).describe("Response model for adding a domain.")
|
|
12
|
+
}).passthrough().describe("Response model for adding a domain.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { spotlightrAddDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-domain.mjs","names":[],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACvH,CAAC,CAAC,CAAC,SAAS,qEAWH;CACP,QAXuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-domain.mjs","names":[],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACvH,CAAC,CAAC,CAAC,SAAS,qEAWH;CACP,QAXuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const SpotlightrCreateGroupOutput = zod.z.object({
|
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the created group").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Name of the created group").nullable().optional(),
|
|
8
8
|
message: zod.z.string().describe("Success or status message from the API").nullable().optional()
|
|
9
|
-
}).describe("Response model for group creation.");
|
|
9
|
+
}).passthrough().describe("Response model for group creation.");
|
|
10
10
|
const spotlightrCreateGroup = require_action.action("SPOTLIGHTR_CREATE_GROUP", {
|
|
11
11
|
slug: "spotlightr-create-group",
|
|
12
12
|
name: "Create Group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACjE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACjE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SpotlightrCreateGroupOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const spotlightrCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
name: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const SpotlightrCreateGroupOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const spotlightrCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
name: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const spotlightrCreateGroup = action("SPOTLIGHTR_CREATE_GROUP", {
|
|
|
9
9
|
id: z.string().describe("Unique identifier of the created group").nullable().optional(),
|
|
10
10
|
name: z.string().describe("Name of the created group").nullable().optional(),
|
|
11
11
|
message: z.string().describe("Success or status message from the API").nullable().optional()
|
|
12
|
-
}).describe("Response model for group creation.")
|
|
12
|
+
}).passthrough().describe("Response model for group creation.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { spotlightrCreateGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACjE,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACjE,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -8,9 +8,9 @@ const SpotlightrCreateVideoInput = zod.z.object({
|
|
|
8
8
|
create: zod.z.number().int().describe("Type of creation: 0 to debug (test without creating), 1 to confirm creation").optional(),
|
|
9
9
|
customS3: zod.z.string().describe("Custom S3 integration ID. Use '0' for default storage or provide custom integration ID").optional(),
|
|
10
10
|
videoGroup: zod.z.string().describe("Video group ID to associate the video with").optional(),
|
|
11
|
-
playerSettings: zod.z.
|
|
11
|
+
playerSettings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Player configuration settings object for customizing video player appearance and behavior").optional()
|
|
12
12
|
}).describe("Request model for creating a video in Spotlightr.");
|
|
13
|
-
const SpotlightrCreateVideoOutput = zod.z.object({ video_url: zod.z.string().describe("The playable URL of the created video").nullable() }).describe("Response model for video creation.");
|
|
13
|
+
const SpotlightrCreateVideoOutput = zod.z.object({ video_url: zod.z.string().describe("The playable URL of the created video").nullable() }).passthrough().describe("Response model for video creation.");
|
|
14
14
|
const spotlightrCreateVideo = require_action.action("SPOTLIGHTR_CREATE_VIDEO", {
|
|
15
15
|
slug: "spotlightr-create-video",
|
|
16
16
|
name: "Create Video",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.cjs","names":["z","action"],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.
|
|
1
|
+
{"version":3,"file":"create-video.cjs","names":["z","action"],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.record(z.string(), z.unknown()).describe(\"Player configuration settings object for customizing video player appearance and behavior\").optional(),\n}).describe(\"Request model for creating a video in Spotlightr.\");\nexport const SpotlightrCreateVideoOutput = z.object({\n video_url: z.string().describe(\"The playable URL of the created video\").nullable(),\n}).passthrough().describe(\"Response model for video creation.\");\n\nexport const spotlightrCreateVideo = action(\"SPOTLIGHTR_CREATE_VIDEO\", {\n slug: \"spotlightr-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video in Spotlightr by uploading a file or linking from an external source. Use when you need to add a new video from YouTube, Google Drive, Vimeo, or other sources.\",\n input: SpotlightrCreateVideoInput,\n output: SpotlightrCreateVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACpG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ declare const SpotlightrCreateVideoInput: z.ZodObject<{
|
|
|
8
8
|
create: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
customS3: z.ZodOptional<z.ZodString>;
|
|
10
10
|
videoGroup: z.ZodOptional<z.ZodString>;
|
|
11
|
-
playerSettings: z.ZodOptional<z.
|
|
11
|
+
playerSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SpotlightrCreateVideoOutput: z.ZodObject<{
|
|
14
14
|
video_url: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const spotlightrCreateVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
URL: string;
|
|
18
18
|
name: string;
|
|
@@ -20,7 +20,7 @@ declare const spotlightrCreateVideo: import("@keystrokehq/action").WorkflowActio
|
|
|
20
20
|
create?: number | undefined;
|
|
21
21
|
customS3?: string | undefined;
|
|
22
22
|
videoGroup?: string | undefined;
|
|
23
|
-
playerSettings?: Record<string,
|
|
23
|
+
playerSettings?: Record<string, unknown> | undefined;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { spotlightrCreateVideo };
|
|
@@ -8,11 +8,11 @@ declare const SpotlightrCreateVideoInput: z.ZodObject<{
|
|
|
8
8
|
create: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
customS3: z.ZodOptional<z.ZodString>;
|
|
10
10
|
videoGroup: z.ZodOptional<z.ZodString>;
|
|
11
|
-
playerSettings: z.ZodOptional<z.
|
|
11
|
+
playerSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SpotlightrCreateVideoOutput: z.ZodObject<{
|
|
14
14
|
video_url: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const spotlightrCreateVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
URL: string;
|
|
18
18
|
name: string;
|
|
@@ -20,7 +20,7 @@ declare const spotlightrCreateVideo: import("@keystrokehq/action").WorkflowActio
|
|
|
20
20
|
create?: number | undefined;
|
|
21
21
|
customS3?: string | undefined;
|
|
22
22
|
videoGroup?: string | undefined;
|
|
23
|
-
playerSettings?: Record<string,
|
|
23
|
+
playerSettings?: Record<string, unknown> | undefined;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { spotlightrCreateVideo };
|
|
@@ -11,9 +11,9 @@ const spotlightrCreateVideo = action("SPOTLIGHTR_CREATE_VIDEO", {
|
|
|
11
11
|
create: z.number().int().describe("Type of creation: 0 to debug (test without creating), 1 to confirm creation").optional(),
|
|
12
12
|
customS3: z.string().describe("Custom S3 integration ID. Use '0' for default storage or provide custom integration ID").optional(),
|
|
13
13
|
videoGroup: z.string().describe("Video group ID to associate the video with").optional(),
|
|
14
|
-
playerSettings: z.
|
|
14
|
+
playerSettings: z.record(z.string(), z.unknown()).describe("Player configuration settings object for customizing video player appearance and behavior").optional()
|
|
15
15
|
}).describe("Request model for creating a video in Spotlightr."),
|
|
16
|
-
output: z.object({ video_url: z.string().describe("The playable URL of the created video").nullable() }).describe("Response model for video creation.")
|
|
16
|
+
output: z.object({ video_url: z.string().describe("The playable URL of the created video").nullable() }).passthrough().describe("Response model for video creation.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { spotlightrCreateVideo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.mjs","names":[],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.
|
|
1
|
+
{"version":3,"file":"create-video.mjs","names":[],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.record(z.string(), z.unknown()).describe(\"Player configuration settings object for customizing video player appearance and behavior\").optional(),\n}).describe(\"Request model for creating a video in Spotlightr.\");\nexport const SpotlightrCreateVideoOutput = z.object({\n video_url: z.string().describe(\"The playable URL of the created video\").nullable(),\n}).passthrough().describe(\"Response model for video creation.\");\n\nexport const spotlightrCreateVideo = action(\"SPOTLIGHTR_CREATE_VIDEO\", {\n slug: \"spotlightr-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video in Spotlightr by uploading a file or linking from an external source. Use when you need to add a new video from YouTube, Google Drive, Vimeo, or other sources.\",\n input: SpotlightrCreateVideoInput,\n output: SpotlightrCreateVideoOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACpG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,SAAS,mDASH;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpotlightrDeleteVideoInput = zod.z.object({ video_ids: zod.z.array(zod.z.n
|
|
|
5
5
|
const SpotlightrDeleteVideoOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Optional message about the deletion operation").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Whether the deletion operation was successful").nullable()
|
|
8
|
-
}).describe("Response model for video deletion operation.");
|
|
8
|
+
}).passthrough().describe("Response model for video deletion operation.");
|
|
9
9
|
const spotlightrDeleteVideo = require_action.action("SPOTLIGHTR_DELETE_VIDEO", {
|
|
10
10
|
slug: "spotlightr-delete-video",
|
|
11
11
|
name: "Delete Video",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-video.cjs","names":["z","action"],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kEAAkE,EAClH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"delete-video.cjs","names":["z","action"],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kEAAkE,EAClH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SpotlightrDeleteVideoInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotlightrDeleteVideoOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotlightrDeleteVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
video_ids: number[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SpotlightrDeleteVideoInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotlightrDeleteVideoOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotlightrDeleteVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
video_ids: number[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const spotlightrDeleteVideo = action("SPOTLIGHTR_DELETE_VIDEO", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Optional message about the deletion operation").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Whether the deletion operation was successful").nullable()
|
|
11
|
-
}).describe("Response model for video deletion operation.")
|
|
11
|
+
}).passthrough().describe("Response model for video deletion operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { spotlightrDeleteVideo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-video.mjs","names":[],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kEAAkE,EAClH,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-video.mjs","names":[],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kEAAkE,EAClH,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-domains.ts
|
|
4
4
|
const SpotlightrGetDomainsInput = zod.z.object({}).describe("Request model for retrieving whitelisted domains.");
|
|
5
|
-
const SpotlightrGetDomainsOutput = zod.z.object({ domains: zod.z.array(zod.z.string()).describe("List of whitelisted domains for embedding videos").nullable().optional() }).describe("Response model for whitelisted domains retrieval.");
|
|
5
|
+
const SpotlightrGetDomainsOutput = zod.z.object({ domains: zod.z.array(zod.z.string()).describe("List of whitelisted domains for embedding videos").nullable().optional() }).passthrough().describe("Response model for whitelisted domains retrieval.");
|
|
6
6
|
const spotlightrGetDomains = require_action.action("SPOTLIGHTR_GET_DOMAINS", {
|
|
7
7
|
slug: "spotlightr-get-domains",
|
|
8
8
|
name: "Get Domains",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domains.cjs","names":["z","action"],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"get-domains.cjs","names":["z","action"],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).passthrough().describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SpotlightrGetDomainsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SpotlightrGetDomainsOutput: z.ZodObject<{
|
|
6
6
|
domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const spotlightrGetDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { spotlightrGetDomains };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SpotlightrGetDomainsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SpotlightrGetDomainsOutput: z.ZodObject<{
|
|
6
6
|
domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const spotlightrGetDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { spotlightrGetDomains };
|
|
@@ -5,7 +5,7 @@ const spotlightrGetDomains = action("SPOTLIGHTR_GET_DOMAINS", {
|
|
|
5
5
|
name: "Get Domains",
|
|
6
6
|
description: "Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.",
|
|
7
7
|
input: z.object({}).describe("Request model for retrieving whitelisted domains."),
|
|
8
|
-
output: z.object({ domains: z.array(z.string()).describe("List of whitelisted domains for embedding videos").nullable().optional() }).describe("Response model for whitelisted domains retrieval.")
|
|
8
|
+
output: z.object({ domains: z.array(z.string()).describe("List of whitelisted domains for embedding videos").nullable().optional() }).passthrough().describe("Response model for whitelisted domains retrieval.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { spotlightrGetDomains };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domains.mjs","names":[],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAStD;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-domains.mjs","names":[],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).passthrough().describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAStD;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ const SpotlightrGetTopVideos_VideoSchema = zod.z.object({
|
|
|
11
11
|
title: zod.z.string().describe("Video title").nullable(),
|
|
12
12
|
views: zod.z.number().int().describe("Total views for the video").nullable(),
|
|
13
13
|
created_at: zod.z.string().describe("Video creation datetime in ISO 8601 format").nullable()
|
|
14
|
-
}).describe("Video object representing a single video's details.");
|
|
15
|
-
const SpotlightrGetTopVideosOutput = zod.z.object({ videos: zod.z.array(SpotlightrGetTopVideos_VideoSchema).describe("List of top video objects").nullable().optional() }).describe("Response model for top videos retrieval.");
|
|
14
|
+
}).passthrough().describe("Video object representing a single video's details.");
|
|
15
|
+
const SpotlightrGetTopVideosOutput = zod.z.object({ videos: zod.z.array(SpotlightrGetTopVideos_VideoSchema).describe("List of top video objects").nullable().optional() }).passthrough().describe("Response model for top videos retrieval.");
|
|
16
16
|
const spotlightrGetTopVideos = require_action.action("SPOTLIGHTR_GET_TOP_VIDEOS", {
|
|
17
17
|
slug: "spotlightr-get-top-videos",
|
|
18
18
|
name: "Get Top Videos",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.cjs","names":["z","action"],"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}).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}).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":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"get-top-videos.cjs","names":["z","action"],"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":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const SpotlightrGetTopVideosOutput: z.ZodObject<{
|
|
|
12
12
|
title: z.ZodNullable<z.ZodString>;
|
|
13
13
|
views: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const spotlightrGetTopVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
days?: number | undefined;
|
|
19
19
|
total?: number | undefined;
|
|
@@ -12,8 +12,8 @@ declare const SpotlightrGetTopVideosOutput: z.ZodObject<{
|
|
|
12
12
|
title: z.ZodNullable<z.ZodString>;
|
|
13
13
|
views: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const spotlightrGetTopVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
days?: number | undefined;
|
|
19
19
|
total?: number | undefined;
|
|
@@ -11,13 +11,13 @@ const SpotlightrGetTopVideos_VideoSchema = z.object({
|
|
|
11
11
|
title: z.string().describe("Video title").nullable(),
|
|
12
12
|
views: z.number().int().describe("Total views for the video").nullable(),
|
|
13
13
|
created_at: z.string().describe("Video creation datetime in ISO 8601 format").nullable()
|
|
14
|
-
}).describe("Video object representing a single video's details.");
|
|
14
|
+
}).passthrough().describe("Video object representing a single video's details.");
|
|
15
15
|
const spotlightrGetTopVideos = action("SPOTLIGHTR_GET_TOP_VIDEOS", {
|
|
16
16
|
slug: "spotlightr-get-top-videos",
|
|
17
17
|
name: "Get Top Videos",
|
|
18
18
|
description: "Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.",
|
|
19
19
|
input: SpotlightrGetTopVideosInput,
|
|
20
|
-
output: z.object({ videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe("List of top video objects").nullable().optional() }).describe("Response model for top videos retrieval.")
|
|
20
|
+
output: z.object({ videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe("List of top video objects").nullable().optional() }).passthrough().describe("Response model for top videos retrieval.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { spotlightrGetTopVideos };
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,qDAAqD;
|
|
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":";;;AAIA,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,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,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,0CAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SpotlightrGetVideoMetricsOutput = zod.z.object({
|
|
|
9
9
|
watched: zod.z.number().describe("Percentage of video watched (decimal value).").nullable(),
|
|
10
10
|
playRate: zod.z.number().describe("Ratio of plays to loads.").nullable(),
|
|
11
11
|
completitionRate: zod.z.number().describe("Percentage of viewers who completed the video.").nullable()
|
|
12
|
-
}).describe("Response schema for video metrics API - returns metrics directly without wrapper.");
|
|
12
|
+
}).passthrough().describe("Response schema for video metrics API - returns metrics directly without wrapper.");
|
|
13
13
|
const spotlightrGetVideoMetrics = require_action.action("SPOTLIGHTR_GET_VIDEO_METRICS", {
|
|
14
14
|
slug: "spotlightr-get-video-metrics",
|
|
15
15
|
name: "Get Video Metrics",
|
|
@@ -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}).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,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,SAAS,mFAAmF;
|
|
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":";;;AAIA,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,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SpotlightrGetVideoMetricsOutput: z.ZodObject<{
|
|
|
11
11
|
watched: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
playRate: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
completitionRate: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spotlightrGetVideoMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
video_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ declare const SpotlightrGetVideoMetricsOutput: z.ZodObject<{
|
|
|
11
11
|
watched: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
playRate: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
completitionRate: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spotlightrGetVideoMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
video_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ const spotlightrGetVideoMetrics = action("SPOTLIGHTR_GET_VIDEO_METRICS", {
|
|
|
12
12
|
watched: z.number().describe("Percentage of video watched (decimal value).").nullable(),
|
|
13
13
|
playRate: z.number().describe("Ratio of plays to loads.").nullable(),
|
|
14
14
|
completitionRate: z.number().describe("Percentage of viewers who completed the video.").nullable()
|
|
15
|
-
}).describe("Response schema for video metrics API - returns metrics directly without wrapper.")
|
|
15
|
+
}).passthrough().describe("Response schema for video metrics API - returns metrics directly without wrapper.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { spotlightrGetVideoMetrics };
|
|
@@ -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}).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,OAhB4C,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAcS;CACP,QAd6C,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,SAAS,
|
|
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":";;AAgBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAcS;CACP,QAd6C,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,mFAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SpotlightrGetVideoSourceOutput = zod.z.object({
|
|
|
10
10
|
new_url: zod.z.string().describe("The new URL that was set for the video source").nullable().optional(),
|
|
11
11
|
success: zod.z.boolean().describe("Indicates whether the video source was successfully updated").nullable().optional(),
|
|
12
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.");
|
|
13
|
+
}).passthrough().describe("Response model for video source operation.");
|
|
14
14
|
const spotlightrGetVideoSource = require_action.action("SPOTLIGHTR_GET_VIDEO_SOURCE", {
|
|
15
15
|
slug: "spotlightr-get-video-source",
|
|
16
16
|
name: "Get Video Source",
|
|
@@ -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}).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,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,SAAS,4CAA4C;
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SpotlightrGetVideoSourceOutput: z.ZodObject<{
|
|
|
10
10
|
new_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
12
|
video_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const spotlightrGetVideoSource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
id: number;
|
|
16
16
|
URL: string;
|
|
@@ -10,7 +10,7 @@ declare const SpotlightrGetVideoSourceOutput: z.ZodObject<{
|
|
|
10
10
|
new_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
12
|
video_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const spotlightrGetVideoSource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
id: number;
|
|
16
16
|
URL: string;
|
|
@@ -13,7 +13,7 @@ const spotlightrGetVideoSource = action("SPOTLIGHTR_GET_VIDEO_SOURCE", {
|
|
|
13
13
|
new_url: z.string().describe("The new URL that was set for the video source").nullable().optional(),
|
|
14
14
|
success: z.boolean().describe("Indicates whether the video source was successfully updated").nullable().optional(),
|
|
15
15
|
video_id: z.number().int().describe("ID of the video that was updated").nullable().optional()
|
|
16
|
-
}).describe("Response model for video source operation.")
|
|
16
|
+
}).passthrough().describe("Response model for video source operation.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { spotlightrGetVideoSource };
|
|
@@ -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}).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,OAf2C,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,gFAYH;CACP,QAZ4C,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,SAAS,
|
|
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":";;AAeA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,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,gFAYH;CACP,QAZ4C,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,4CAOhB;AACV,CAAC"}
|
|
@@ -18,11 +18,11 @@ const SpotlightrGetVideoViews_ViewDataSchema = zod.z.object({
|
|
|
18
18
|
timestamp: zod.z.string().describe("Timestamp when the view occurred").nullable().optional(),
|
|
19
19
|
customViewerID: zod.z.string().describe("Custom viewer ID or email if provided").nullable().optional(),
|
|
20
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.");
|
|
21
|
+
}).passthrough().describe("Individual view record containing viewer information and watch statistics.");
|
|
22
22
|
const SpotlightrGetVideoViewsOutput = zod.z.object({
|
|
23
23
|
total: zod.z.number().int().describe("Total number of views (may be present if paginated)").nullable().optional(),
|
|
24
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.");
|
|
25
|
+
}).passthrough().describe("Response model for video views retrieval.");
|
|
26
26
|
const spotlightrGetVideoViews = require_action.action("SPOTLIGHTR_GET_VIDEO_VIEWS", {
|
|
27
27
|
slug: "spotlightr-get-video-views",
|
|
28
28
|
name: "Get Video Views",
|
|
@@ -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}).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}).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,+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,SAAS,4EAA4E;
|
|
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":";;;AAIA,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,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,8 +20,8 @@ declare const SpotlightrGetVideoViewsOutput: z.ZodObject<{
|
|
|
20
20
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
customViewerID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
percentWatched: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const spotlightrGetVideoViews: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
videoID: number;
|
|
27
27
|
allViews?: boolean | undefined;
|
|
@@ -20,8 +20,8 @@ declare const SpotlightrGetVideoViewsOutput: z.ZodObject<{
|
|
|
20
20
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
customViewerID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
percentWatched: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const spotlightrGetVideoViews: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
videoID: number;
|
|
27
27
|
allViews?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ const SpotlightrGetVideoViews_ViewDataSchema = z.object({
|
|
|
18
18
|
timestamp: z.string().describe("Timestamp when the view occurred").nullable().optional(),
|
|
19
19
|
customViewerID: z.string().describe("Custom viewer ID or email if provided").nullable().optional(),
|
|
20
20
|
percentWatched: z.number().describe("Percentage of video watched (0-100)").nullable().optional()
|
|
21
|
-
}).describe("Individual view record containing viewer information and watch statistics.");
|
|
21
|
+
}).passthrough().describe("Individual view record containing viewer information and watch statistics.");
|
|
22
22
|
const spotlightrGetVideoViews = action("SPOTLIGHTR_GET_VIDEO_VIEWS", {
|
|
23
23
|
slug: "spotlightr-get-video-views",
|
|
24
24
|
name: "Get Video Views",
|
|
@@ -27,7 +27,7 @@ const spotlightrGetVideoViews = action("SPOTLIGHTR_GET_VIDEO_VIEWS", {
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
total: z.number().int().describe("Total number of views (may be present if paginated)").nullable().optional(),
|
|
29
29
|
views: z.array(SpotlightrGetVideoViews_ViewDataSchema).describe("List of view records for the video").nullable().optional()
|
|
30
|
-
}).describe("Response model for video views retrieval.")
|
|
30
|
+
}).passthrough().describe("Response model for video views retrieval.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { spotlightrGetVideoViews };
|
|
@@ -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}).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}).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,+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,SAAS,4EAA4E;
|
|
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":";;;AAIA,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,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,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,2CAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const SpotlightrListGroups_GroupSchema = zod.z.object({
|
|
|
8
8
|
created_at: zod.z.string().describe("Creation timestamp of the group").nullable().optional(),
|
|
9
9
|
updated_at: zod.z.string().describe("Last updated timestamp of the group").nullable().optional(),
|
|
10
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.");
|
|
11
|
+
}).passthrough().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() }).passthrough().describe("Response model for groups (projects) retrieval.");
|
|
13
13
|
const spotlightrListGroups = require_action.action("SPOTLIGHTR_LIST_GROUPS", {
|
|
14
14
|
slug: "spotlightr-list-groups",
|
|
15
15
|
name: "List Groups",
|
|
@@ -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}).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}).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,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,SAAS,iEAAiE;
|
|
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":";;;AAIA,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,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const SpotlightrListGroupsOutput: z.ZodObject<{
|
|
|
9
9
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
video_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const spotlightrListGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spotlightrListGroups };
|
|
@@ -9,8 +9,8 @@ declare const SpotlightrListGroupsOutput: z.ZodObject<{
|
|
|
9
9
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
video_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const spotlightrListGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spotlightrListGroups };
|
|
@@ -8,13 +8,13 @@ const SpotlightrListGroups_GroupSchema = z.object({
|
|
|
8
8
|
created_at: z.string().describe("Creation timestamp of the group").nullable().optional(),
|
|
9
9
|
updated_at: z.string().describe("Last updated timestamp of the group").nullable().optional(),
|
|
10
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.");
|
|
11
|
+
}).passthrough().describe("Group (project) object representing a single project's details.");
|
|
12
12
|
const spotlightrListGroups = action("SPOTLIGHTR_LIST_GROUPS", {
|
|
13
13
|
slug: "spotlightr-list-groups",
|
|
14
14
|
name: "List Groups",
|
|
15
15
|
description: "Tool to retrieve all projects (groups) in a Spotlightr account. Use when you need to list all available projects or groups.",
|
|
16
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.")
|
|
17
|
+
output: z.object({ groups: z.array(SpotlightrListGroups_GroupSchema).describe("List of group (project) objects").nullable().optional() }).passthrough().describe("Response model for groups (projects) retrieval.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { spotlightrListGroups };
|
|
@@ -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}).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}).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,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,SAAS,iEAAiE;
|
|
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":";;;AAIA,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,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,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,iDAOhB;AACV,CAAC"}
|
|
@@ -18,8 +18,8 @@ const SpotlightrListVideos_VideoItemSchema = zod.z.object({
|
|
|
18
18
|
createdAt: zod.z.string().describe("Video creation timestamp").nullable().optional(),
|
|
19
19
|
thumbnail: zod.z.string().describe("Video thumbnail URL").nullable().optional(),
|
|
20
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.");
|
|
21
|
+
}).passthrough().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() }).passthrough().describe("Response model for listing videos.");
|
|
23
23
|
const spotlightrListVideos = require_action.action("SPOTLIGHTR_LIST_VIDEOS", {
|
|
24
24
|
slug: "spotlightr-list-videos",
|
|
25
25
|
name: "List Videos",
|
|
@@ -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}).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}).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,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,SAAS,mDAAmD;
|
|
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":";;;AAIA,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,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,8 +15,8 @@ declare const SpotlightrListVideosOutput: z.ZodObject<{
|
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
videoGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const spotlightrListVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
video_id?: number | undefined;
|
|
22
22
|
video_group?: number | undefined;
|
|
@@ -15,8 +15,8 @@ declare const SpotlightrListVideosOutput: z.ZodObject<{
|
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
videoGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const spotlightrListVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
video_id?: number | undefined;
|
|
22
22
|
video_group?: number | undefined;
|
|
@@ -18,13 +18,13 @@ const SpotlightrListVideos_VideoItemSchema = z.object({
|
|
|
18
18
|
createdAt: z.string().describe("Video creation timestamp").nullable().optional(),
|
|
19
19
|
thumbnail: z.string().describe("Video thumbnail URL").nullable().optional(),
|
|
20
20
|
videoGroup: z.union([z.number().int(), z.string()]).nullable().optional()
|
|
21
|
-
}).describe("Video item representing a single video's details.");
|
|
21
|
+
}).passthrough().describe("Video item representing a single video's details.");
|
|
22
22
|
const spotlightrListVideos = action("SPOTLIGHTR_LIST_VIDEOS", {
|
|
23
23
|
slug: "spotlightr-list-videos",
|
|
24
24
|
name: "List Videos",
|
|
25
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
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.")
|
|
27
|
+
output: z.object({ videos: z.array(SpotlightrListVideos_VideoItemSchema).describe("List of video objects from the account").nullable().optional() }).passthrough().describe("Response model for listing videos.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { spotlightrListVideos };
|
|
@@ -1 +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.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}).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}).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,4BAA4B,EAAE,OAAO;CAChD,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,uCAAuC,EAAE,OAAO;CACpD,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;
|
|
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.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":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,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,uCAAuC,EAAE,OAAO;CACpD,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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SpotlightrSearchGlobal_SearchResultSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the search result").nullable(),
|
|
8
8
|
type: zod.z.string().describe("Type of result (e.g., 'projects', 'videos')").nullable(),
|
|
9
9
|
updated: zod.z.string().describe("Last updated timestamp").nullable()
|
|
10
|
-
}).describe("Individual search result object.");
|
|
11
|
-
const SpotlightrSearchGlobalOutput = zod.z.object({ results: zod.z.array(SpotlightrSearchGlobal_SearchResultSchema).describe("List of search result objects").nullable().optional() }).describe("Response model for global search results.");
|
|
10
|
+
}).passthrough().describe("Individual search result object.");
|
|
11
|
+
const SpotlightrSearchGlobalOutput = zod.z.object({ results: zod.z.array(SpotlightrSearchGlobal_SearchResultSchema).describe("List of search result objects").nullable().optional() }).passthrough().describe("Response model for global search results.");
|
|
12
12
|
const spotlightrSearchGlobal = require_action.action("SPOTLIGHTR_SEARCH_GLOBAL", {
|
|
13
13
|
slug: "spotlightr-search-global",
|
|
14
14
|
name: "Search Global",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-global.cjs","names":["z","action"],"sources":["../../src/actions/search-global.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"search-global.cjs","names":["z","action"],"sources":["../../src/actions/search-global.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).passthrough().describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const SpotlightrSearchGlobalOutput: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
type: z.ZodNullable<z.ZodString>;
|
|
12
12
|
updated: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spotlightrSearchGlobal: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
query?: string | undefined;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,8 +10,8 @@ declare const SpotlightrSearchGlobalOutput: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
type: z.ZodNullable<z.ZodString>;
|
|
12
12
|
updated: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spotlightrSearchGlobal: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
query?: string | undefined;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,13 +7,13 @@ const SpotlightrSearchGlobal_SearchResultSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the search result").nullable(),
|
|
8
8
|
type: z.string().describe("Type of result (e.g., 'projects', 'videos')").nullable(),
|
|
9
9
|
updated: z.string().describe("Last updated timestamp").nullable()
|
|
10
|
-
}).describe("Individual search result object.");
|
|
10
|
+
}).passthrough().describe("Individual search result object.");
|
|
11
11
|
const spotlightrSearchGlobal = action("SPOTLIGHTR_SEARCH_GLOBAL", {
|
|
12
12
|
slug: "spotlightr-search-global",
|
|
13
13
|
name: "Search Global",
|
|
14
14
|
description: "Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.",
|
|
15
15
|
input: SpotlightrSearchGlobalInput,
|
|
16
|
-
output: z.object({ results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe("List of search result objects").nullable().optional() }).describe("Response model for global search results.")
|
|
16
|
+
output: z.object({ results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe("List of search result objects").nullable().optional() }).passthrough().describe("Response model for global search results.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { spotlightrSearchGlobal };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-global.mjs","names":[],"sources":["../../src/actions/search-global.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"search-global.mjs","names":[],"sources":["../../src/actions/search-global.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).passthrough().describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const spotlightrCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/spotlightr",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Spotlightr API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key used for authenticating requests to the Spotlightr API."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const spotlightrCatalog = {\n \"slug\": \"spotlightr\",\n \"name\": \"Spotlightr\",\n \"description\": \"Spotlightr is a video hosting and streaming platform that captures leads, updates contacts with engagement data, and provides analytics reporting.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/spotlightr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const spotlightrCatalog = {\n \"slug\": \"spotlightr\",\n \"name\": \"Spotlightr\",\n \"description\": \"Spotlightr is a video hosting and streaming platform that captures leads, updates contacts with engagement data, and provides analytics reporting.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/spotlightr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Spotlightr API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Spotlightr API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const spotlightrCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Spotlightr API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the Spotlightr API.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const spotlightrCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Spotlightr API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the Spotlightr API.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const spotlightrCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/spotlightr",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Spotlightr API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key used for authenticating requests to the Spotlightr API."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const spotlightrCatalog = {\n \"slug\": \"spotlightr\",\n \"name\": \"Spotlightr\",\n \"description\": \"Spotlightr is a video hosting and streaming platform that captures leads, updates contacts with engagement data, and provides analytics reporting.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/spotlightr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const spotlightrCatalog = {\n \"slug\": \"spotlightr\",\n \"name\": \"Spotlightr\",\n \"description\": \"Spotlightr is a video hosting and streaming platform that captures leads, updates contacts with engagement data, and provides analytics reporting.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/spotlightr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Spotlightr API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Spotlightr API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|