@keystrokehq/shotstack 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-template.cjs +4 -4
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +21 -3
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +21 -3
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +4 -4
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-template2.cjs +7 -7
- package/dist/actions/create-template2.cjs.map +1 -1
- package/dist/actions/create-template2.d.cts +89 -3
- package/dist/actions/create-template2.d.cts.map +1 -1
- package/dist/actions/create-template2.d.mts +89 -3
- package/dist/actions/create-template2.d.mts.map +1 -1
- package/dist/actions/create-template2.mjs +7 -7
- package/dist/actions/create-template2.mjs.map +1 -1
- package/dist/actions/delete-ingested-media.cjs +3 -3
- package/dist/actions/delete-ingested-media.cjs.map +1 -1
- package/dist/actions/delete-ingested-media.d.cts +10 -3
- package/dist/actions/delete-ingested-media.d.cts.map +1 -1
- package/dist/actions/delete-ingested-media.d.mts +10 -3
- package/dist/actions/delete-ingested-media.d.mts.map +1 -1
- package/dist/actions/delete-ingested-media.mjs +3 -3
- package/dist/actions/delete-ingested-media.mjs.map +1 -1
- package/dist/actions/delete-template2.cjs +3 -3
- package/dist/actions/delete-template2.cjs.map +1 -1
- package/dist/actions/delete-template2.d.cts +10 -3
- package/dist/actions/delete-template2.d.cts.map +1 -1
- package/dist/actions/delete-template2.d.mts +10 -3
- package/dist/actions/delete-template2.d.mts.map +1 -1
- package/dist/actions/delete-template2.mjs +3 -3
- package/dist/actions/delete-template2.mjs.map +1 -1
- package/dist/actions/delete-workflow.cjs +3 -3
- package/dist/actions/delete-workflow.cjs.map +1 -1
- package/dist/actions/delete-workflow.d.cts +10 -3
- package/dist/actions/delete-workflow.d.cts.map +1 -1
- package/dist/actions/delete-workflow.d.mts +10 -3
- package/dist/actions/delete-workflow.d.mts.map +1 -1
- package/dist/actions/delete-workflow.mjs +3 -3
- package/dist/actions/delete-workflow.mjs.map +1 -1
- package/dist/actions/fetch-source.cjs +4 -4
- package/dist/actions/fetch-source.cjs.map +1 -1
- package/dist/actions/fetch-source.d.cts +12 -3
- package/dist/actions/fetch-source.d.cts.map +1 -1
- package/dist/actions/fetch-source.d.mts +12 -3
- package/dist/actions/fetch-source.d.mts.map +1 -1
- package/dist/actions/fetch-source.mjs +4 -4
- package/dist/actions/fetch-source.mjs.map +1 -1
- package/dist/actions/get-assets-render.cjs +3 -3
- package/dist/actions/get-assets-render.cjs.map +1 -1
- package/dist/actions/get-assets-render.d.cts +23 -3
- package/dist/actions/get-assets-render.d.cts.map +1 -1
- package/dist/actions/get-assets-render.d.mts +23 -3
- package/dist/actions/get-assets-render.d.mts.map +1 -1
- package/dist/actions/get-assets-render.mjs +3 -3
- package/dist/actions/get-assets-render.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +3 -3
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +43 -3
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +43 -3
- package/dist/actions/get-assets.d.mts.map +1 -1
- package/dist/actions/get-assets.mjs +3 -3
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-render-callback.cjs +9 -9
- package/dist/actions/get-render-callback.cjs.map +1 -1
- package/dist/actions/get-render-callback.d.cts +18 -3
- package/dist/actions/get-render-callback.d.cts.map +1 -1
- package/dist/actions/get-render-callback.d.mts +18 -3
- package/dist/actions/get-render-callback.d.mts.map +1 -1
- package/dist/actions/get-render-callback.mjs +9 -9
- package/dist/actions/get-render-callback.mjs.map +1 -1
- package/dist/actions/get-render-status.cjs +8 -8
- package/dist/actions/get-render-status.cjs.map +1 -1
- package/dist/actions/get-render-status.d.cts +48 -3
- package/dist/actions/get-render-status.d.cts.map +1 -1
- package/dist/actions/get-render-status.d.mts +48 -3
- package/dist/actions/get-render-status.d.mts.map +1 -1
- package/dist/actions/get-render-status.mjs +8 -8
- package/dist/actions/get-render-status.mjs.map +1 -1
- package/dist/actions/get-source.cjs +10 -10
- package/dist/actions/get-source.cjs.map +1 -1
- package/dist/actions/get-source.d.cts +28 -3
- package/dist/actions/get-source.d.cts.map +1 -1
- package/dist/actions/get-source.d.mts +28 -3
- package/dist/actions/get-source.d.mts.map +1 -1
- package/dist/actions/get-source.mjs +10 -10
- package/dist/actions/get-source.mjs.map +1 -1
- package/dist/actions/get-template-by-version.cjs +8 -8
- package/dist/actions/get-template-by-version.cjs.map +1 -1
- package/dist/actions/get-template-by-version.d.cts +25 -3
- package/dist/actions/get-template-by-version.d.cts.map +1 -1
- package/dist/actions/get-template-by-version.d.mts +25 -3
- package/dist/actions/get-template-by-version.d.mts.map +1 -1
- package/dist/actions/get-template-by-version.mjs +8 -8
- package/dist/actions/get-template-by-version.mjs.map +1 -1
- package/dist/actions/get-template.cjs +7 -7
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +23 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +23 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +7 -7
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-upload-url.cjs +8 -8
- package/dist/actions/get-upload-url.cjs.map +1 -1
- package/dist/actions/get-upload-url.d.cts +17 -3
- package/dist/actions/get-upload-url.d.cts.map +1 -1
- package/dist/actions/get-upload-url.d.mts +17 -3
- package/dist/actions/get-upload-url.d.mts.map +1 -1
- package/dist/actions/get-upload-url.mjs +8 -8
- package/dist/actions/get-upload-url.mjs.map +1 -1
- package/dist/actions/inspect-media.cjs +4 -4
- package/dist/actions/inspect-media.cjs.map +1 -1
- package/dist/actions/inspect-media.d.cts +83 -3
- package/dist/actions/inspect-media.d.cts.map +1 -1
- package/dist/actions/inspect-media.d.mts +83 -3
- package/dist/actions/inspect-media.d.mts.map +1 -1
- package/dist/actions/inspect-media.mjs +4 -4
- package/dist/actions/inspect-media.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +13 -13
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +38 -3
- package/dist/actions/list-sources.d.cts.map +1 -1
- package/dist/actions/list-sources.d.mts +38 -3
- package/dist/actions/list-sources.d.mts.map +1 -1
- package/dist/actions/list-sources.mjs +13 -13
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-sources2.cjs +11 -11
- package/dist/actions/list-sources2.cjs.map +1 -1
- package/dist/actions/list-sources2.d.cts +43 -3
- package/dist/actions/list-sources2.d.cts.map +1 -1
- package/dist/actions/list-sources2.d.mts +43 -3
- package/dist/actions/list-sources2.d.mts.map +1 -1
- package/dist/actions/list-sources2.mjs +11 -11
- package/dist/actions/list-sources2.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +9 -9
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +15 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +15 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +9 -9
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-templates2.cjs +10 -10
- package/dist/actions/list-templates2.cjs.map +1 -1
- package/dist/actions/list-templates2.d.cts +22 -3
- package/dist/actions/list-templates2.d.cts.map +1 -1
- package/dist/actions/list-templates2.d.mts +22 -3
- package/dist/actions/list-templates2.d.mts.map +1 -1
- package/dist/actions/list-templates2.mjs +10 -10
- package/dist/actions/list-templates2.mjs.map +1 -1
- package/dist/actions/post-upload.cjs +8 -8
- package/dist/actions/post-upload.cjs.map +1 -1
- package/dist/actions/post-upload.d.cts +13 -3
- package/dist/actions/post-upload.d.cts.map +1 -1
- package/dist/actions/post-upload.d.mts +13 -3
- package/dist/actions/post-upload.d.mts.map +1 -1
- package/dist/actions/post-upload.mjs +8 -8
- package/dist/actions/post-upload.mjs.map +1 -1
- package/dist/actions/render-video.cjs +5 -5
- package/dist/actions/render-video.cjs.map +1 -1
- package/dist/actions/render-video.d.cts +21 -3
- package/dist/actions/render-video.d.cts.map +1 -1
- package/dist/actions/render-video.d.mts +21 -3
- package/dist/actions/render-video.d.mts.map +1 -1
- package/dist/actions/render-video.mjs +5 -5
- package/dist/actions/render-video.mjs.map +1 -1
- package/dist/actions/transfer-asset.cjs +4 -4
- package/dist/actions/transfer-asset.cjs.map +1 -1
- package/dist/actions/transfer-asset.d.cts +30 -3
- package/dist/actions/transfer-asset.d.cts.map +1 -1
- package/dist/actions/transfer-asset.d.mts +30 -3
- package/dist/actions/transfer-asset.d.mts.map +1 -1
- package/dist/actions/transfer-asset.mjs +4 -4
- package/dist/actions/transfer-asset.mjs.map +1 -1
- package/dist/actions/update-template.cjs +5 -5
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +18 -3
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +18 -3
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +5 -5
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,9 +6,9 @@ const shotstackDeleteIngestedMedia = action("SHOTSTACK_DELETE_INGESTED_MEDIA", {
|
|
|
6
6
|
description: "Tool to delete an ingested media asset. Use when you've confirmed the ingest ID and need to remove the file from Shotstack storage.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Unique identifier of the ingested media asset to delete.") }).describe("Parameters required to delete an ingested media asset."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
message: z.string().describe("Confirmation message returned by the API after deletion."),
|
|
10
|
-
success: z.boolean().describe("Indicates if the deletion was successful.")
|
|
11
|
-
}).describe("Response schema returned after attempting to delete an ingested media asset.")
|
|
9
|
+
message: z.string().describe("Confirmation message returned by the API after deletion.").nullable(),
|
|
10
|
+
success: z.boolean().describe("Indicates if the deletion was successful.").nullable()
|
|
11
|
+
}).passthrough().describe("Response schema returned after attempting to delete an ingested media asset.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { shotstackDeleteIngestedMedia };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-ingested-media.mjs","names":[],"sources":["../../src/actions/delete-ingested-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteIngestedMediaInput
|
|
1
|
+
{"version":3,"file":"delete-ingested-media.mjs","names":[],"sources":["../../src/actions/delete-ingested-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteIngestedMediaInput = z.object({\n id: z.string().describe(\"Unique identifier of the ingested media asset to delete.\"),\n}).describe(\"Parameters required to delete an ingested media asset.\");\nexport const ShotstackDeleteIngestedMediaOutput = z.object({\n message: z.string().describe(\"Confirmation message returned by the API after deletion.\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response schema returned after attempting to delete an ingested media asset.\");\n\nexport const shotstackDeleteIngestedMedia = action(\"SHOTSTACK_DELETE_INGESTED_MEDIA\", {\n slug: \"shotstack-delete-ingested-media\",\n name: \"Delete Ingested Media\",\n description: \"Tool to delete an ingested media asset. Use when you've confirmed the ingest ID and need to remove the file from Shotstack storage.\",\n input: ShotstackDeleteIngestedMediaInput,\n output: ShotstackDeleteIngestedMediaOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACpF,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-template2.ts
|
|
4
4
|
const ShotstackDeleteTemplate2Input = zod.z.object({ id: zod.z.string().describe("The unique identifier of the template to delete in UUID format") }).describe("Request schema for deleting a Shotstack template.");
|
|
5
5
|
const ShotstackDeleteTemplate2Output = zod.z.object({
|
|
6
|
-
message: zod.z.string().describe("Informational message regarding the delete operation"),
|
|
7
|
-
success: zod.z.boolean().describe("Indicates if the template was deleted successfully")
|
|
8
|
-
}).describe("Response schema after deleting a Shotstack template.");
|
|
6
|
+
message: zod.z.string().describe("Informational message regarding the delete operation").nullable(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates if the template was deleted successfully").nullable()
|
|
8
|
+
}).passthrough().describe("Response schema after deleting a Shotstack template.");
|
|
9
9
|
const shotstackDeleteTemplate2 = require_action.action("SHOTSTACK_DELETE_TEMPLATE2", {
|
|
10
10
|
slug: "shotstack-delete-template2",
|
|
11
11
|
name: "Delete Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template2.cjs","names":["z","action"],"sources":["../../src/actions/delete-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteTemplate2Input
|
|
1
|
+
{"version":3,"file":"delete-template2.cjs","names":["z","action"],"sources":["../../src/actions/delete-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteTemplate2Input = z.object({\n id: z.string().describe(\"The unique identifier of the template to delete in UUID format\"),\n}).describe(\"Request schema for deleting a Shotstack template.\");\nexport const ShotstackDeleteTemplate2Output = z.object({\n message: z.string().describe(\"Informational message regarding the delete operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the template was deleted successfully\").nullable(),\n}).passthrough().describe(\"Response schema after deleting a Shotstack template.\");\n\nexport const shotstackDeleteTemplate2 = action(\"SHOTSTACK_DELETE_TEMPLATE2\", {\n slug: \"shotstack-delete-template2\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific Shotstack template by its ID. Use when you need to remove a template permanently.\",\n input: ShotstackDeleteTemplate2Input,\n output: ShotstackDeleteTemplate2Output,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC1F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-template2.d.ts
|
|
4
|
-
declare const ShotstackDeleteTemplate2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackDeleteTemplate2Input: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackDeleteTemplate2Output: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const shotstackDeleteTemplate2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { shotstackDeleteTemplate2 };
|
|
9
16
|
//# sourceMappingURL=delete-template2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template2.d.cts","names":[],"sources":["../../src/actions/delete-template2.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"delete-template2.d.cts","names":[],"sources":["../../src/actions/delete-template2.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-template2.d.ts
|
|
4
|
-
declare const ShotstackDeleteTemplate2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackDeleteTemplate2Input: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackDeleteTemplate2Output: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const shotstackDeleteTemplate2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { shotstackDeleteTemplate2 };
|
|
9
16
|
//# sourceMappingURL=delete-template2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template2.d.mts","names":[],"sources":["../../src/actions/delete-template2.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"delete-template2.d.mts","names":[],"sources":["../../src/actions/delete-template2.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const shotstackDeleteTemplate2 = action("SHOTSTACK_DELETE_TEMPLATE2", {
|
|
|
6
6
|
description: "Tool to delete a specific Shotstack template by its ID. Use when you need to remove a template permanently.",
|
|
7
7
|
input: z.object({ id: z.string().describe("The unique identifier of the template to delete in UUID format") }).describe("Request schema for deleting a Shotstack template."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
message: z.string().describe("Informational message regarding the delete operation"),
|
|
10
|
-
success: z.boolean().describe("Indicates if the template was deleted successfully")
|
|
11
|
-
}).describe("Response schema after deleting a Shotstack template.")
|
|
9
|
+
message: z.string().describe("Informational message regarding the delete operation").nullable(),
|
|
10
|
+
success: z.boolean().describe("Indicates if the template was deleted successfully").nullable()
|
|
11
|
+
}).passthrough().describe("Response schema after deleting a Shotstack template.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { shotstackDeleteTemplate2 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template2.mjs","names":[],"sources":["../../src/actions/delete-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteTemplate2Input
|
|
1
|
+
{"version":3,"file":"delete-template2.mjs","names":[],"sources":["../../src/actions/delete-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteTemplate2Input = z.object({\n id: z.string().describe(\"The unique identifier of the template to delete in UUID format\"),\n}).describe(\"Request schema for deleting a Shotstack template.\");\nexport const ShotstackDeleteTemplate2Output = z.object({\n message: z.string().describe(\"Informational message regarding the delete operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the template was deleted successfully\").nullable(),\n}).passthrough().describe(\"Response schema after deleting a Shotstack template.\");\n\nexport const shotstackDeleteTemplate2 = action(\"SHOTSTACK_DELETE_TEMPLATE2\", {\n slug: \"shotstack-delete-template2\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific Shotstack template by its ID. Use when you need to remove a template permanently.\",\n input: ShotstackDeleteTemplate2Input,\n output: ShotstackDeleteTemplate2Output,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC1F,CAAC,CAAC,CAAC,SAAS,mDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-workflow.ts
|
|
4
4
|
const ShotstackDeleteWorkflowInput = zod.z.object({ workflowId: zod.z.string().describe("Unique identifier of the workflow to delete") }).describe("Parameters for deleting a Shotstack workflow. Provide the unique workflow ID.");
|
|
5
5
|
const ShotstackDeleteWorkflowOutput = zod.z.object({
|
|
6
|
-
message: zod.z.string().describe("Informational message about the delete operation"),
|
|
7
|
-
success: zod.z.boolean().describe("True if the workflow was deleted successfully")
|
|
8
|
-
}).describe("Response schema for deleting a Shotstack workflow.");
|
|
6
|
+
message: zod.z.string().describe("Informational message about the delete operation").nullable(),
|
|
7
|
+
success: zod.z.boolean().describe("True if the workflow was deleted successfully").nullable()
|
|
8
|
+
}).passthrough().describe("Response schema for deleting a Shotstack workflow.");
|
|
9
9
|
const shotstackDeleteWorkflow = require_action.action("SHOTSTACK_DELETE_WORKFLOW", {
|
|
10
10
|
slug: "shotstack-delete-workflow",
|
|
11
11
|
name: "Delete Shotstack Workflow",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-workflow.cjs","names":["z","action"],"sources":["../../src/actions/delete-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteWorkflowInput
|
|
1
|
+
{"version":3,"file":"delete-workflow.cjs","names":["z","action"],"sources":["../../src/actions/delete-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteWorkflowInput = z.object({\n workflowId: z.string().describe(\"Unique identifier of the workflow to delete\"),\n}).describe(\"Parameters for deleting a Shotstack workflow. Provide the unique workflow ID.\");\nexport const ShotstackDeleteWorkflowOutput = z.object({\n message: z.string().describe(\"Informational message about the delete operation\").nullable(),\n success: z.boolean().describe(\"True if the workflow was deleted successfully\").nullable(),\n}).passthrough().describe(\"Response schema for deleting a Shotstack workflow.\");\n\nexport const shotstackDeleteWorkflow = action(\"SHOTSTACK_DELETE_WORKFLOW\", {\n slug: \"shotstack-delete-workflow\",\n name: \"Delete Shotstack Workflow\",\n description: \"Tool to delete a specific Shotstack workflow. Use when you need to permanently remove a workflow after confirming its ID.\",\n input: ShotstackDeleteWorkflowInput,\n output: ShotstackDeleteWorkflowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-workflow.d.ts
|
|
4
|
-
declare const ShotstackDeleteWorkflowInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackDeleteWorkflowInput: z.ZodObject<{
|
|
5
|
+
workflowId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackDeleteWorkflowOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const shotstackDeleteWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
workflowId: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { shotstackDeleteWorkflow };
|
|
9
16
|
//# sourceMappingURL=delete-workflow.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-workflow.d.cts","names":[],"sources":["../../src/actions/delete-workflow.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"delete-workflow.d.cts","names":[],"sources":["../../src/actions/delete-workflow.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-workflow.d.ts
|
|
4
|
-
declare const ShotstackDeleteWorkflowInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackDeleteWorkflowInput: z.ZodObject<{
|
|
5
|
+
workflowId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackDeleteWorkflowOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const shotstackDeleteWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
workflowId: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { shotstackDeleteWorkflow };
|
|
9
16
|
//# sourceMappingURL=delete-workflow.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-workflow.d.mts","names":[],"sources":["../../src/actions/delete-workflow.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"delete-workflow.d.mts","names":[],"sources":["../../src/actions/delete-workflow.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const shotstackDeleteWorkflow = action("SHOTSTACK_DELETE_WORKFLOW", {
|
|
|
6
6
|
description: "Tool to delete a specific Shotstack workflow. Use when you need to permanently remove a workflow after confirming its ID.",
|
|
7
7
|
input: z.object({ workflowId: z.string().describe("Unique identifier of the workflow to delete") }).describe("Parameters for deleting a Shotstack workflow. Provide the unique workflow ID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
message: z.string().describe("Informational message about the delete operation"),
|
|
10
|
-
success: z.boolean().describe("True if the workflow was deleted successfully")
|
|
11
|
-
}).describe("Response schema for deleting a Shotstack workflow.")
|
|
9
|
+
message: z.string().describe("Informational message about the delete operation").nullable(),
|
|
10
|
+
success: z.boolean().describe("True if the workflow was deleted successfully").nullable()
|
|
11
|
+
}).passthrough().describe("Response schema for deleting a Shotstack workflow.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { shotstackDeleteWorkflow };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-workflow.mjs","names":[],"sources":["../../src/actions/delete-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteWorkflowInput
|
|
1
|
+
{"version":3,"file":"delete-workflow.mjs","names":[],"sources":["../../src/actions/delete-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackDeleteWorkflowInput = z.object({\n workflowId: z.string().describe(\"Unique identifier of the workflow to delete\"),\n}).describe(\"Parameters for deleting a Shotstack workflow. Provide the unique workflow ID.\");\nexport const ShotstackDeleteWorkflowOutput = z.object({\n message: z.string().describe(\"Informational message about the delete operation\").nullable(),\n success: z.boolean().describe(\"True if the workflow was deleted successfully\").nullable(),\n}).passthrough().describe(\"Response schema for deleting a Shotstack workflow.\");\n\nexport const shotstackDeleteWorkflow = action(\"SHOTSTACK_DELETE_WORKFLOW\", {\n slug: \"shotstack-delete-workflow\",\n name: \"Delete Shotstack Workflow\",\n description: \"Tool to delete a specific Shotstack workflow. Use when you need to permanently remove a workflow after confirming its ID.\",\n input: ShotstackDeleteWorkflowInput,\n output: ShotstackDeleteWorkflowOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/fetch-source.ts
|
|
4
4
|
const ShotstackFetchSourceInput = zod.z.object({ url: zod.z.string().describe("Publicly accessible URL of the media file to fetch") }).describe("Request model for fetching a media file from a URL and storing as a source asset.");
|
|
5
5
|
const ShotstackFetchSource_SourceDataSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status."),
|
|
7
|
-
type: zod.z.string().describe("The resource type, always 'source'")
|
|
8
|
-
}).describe("Data object containing the source asset information.");
|
|
9
|
-
const ShotstackFetchSourceOutput = zod.z.object({ data: ShotstackFetchSource_SourceDataSchema.nullable() }).describe("Response model for a fetched source asset. The file is fetched asynchronously,\nuse the returned ID to check ingestion status via the Get Source endpoint.");
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.").nullable(),
|
|
7
|
+
type: zod.z.string().describe("The resource type, always 'source'").nullable()
|
|
8
|
+
}).passthrough().describe("Data object containing the source asset information.");
|
|
9
|
+
const ShotstackFetchSourceOutput = zod.z.object({ data: ShotstackFetchSource_SourceDataSchema.nullable() }).passthrough().describe("Response model for a fetched source asset. The file is fetched asynchronously,\nuse the returned ID to check ingestion status via the Get Source endpoint.");
|
|
10
10
|
const shotstackFetchSource = require_action.action("SHOTSTACK_FETCH_SOURCE", {
|
|
11
11
|
slug: "shotstack-fetch-source",
|
|
12
12
|
name: "Fetch Source",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-source.cjs","names":["z","action"],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackFetchSourceInput
|
|
1
|
+
{"version":3,"file":"fetch-source.cjs","names":["z","action"],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackFetchSourceInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the media file to fetch\"),\n}).describe(\"Request model for fetching a media file from a URL and storing as a source asset.\");\nconst ShotstackFetchSource_SourceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.\").nullable(),\n type: z.string().describe(\"The resource type, always 'source'\").nullable(),\n}).passthrough().describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model for a fetched source asset. The file is fetched asynchronously,\\nuse the returned ID to check ingestion status via the Get Source endpoint.\");\n\nexport const shotstackFetchSource = action(\"SHOTSTACK_FETCH_SOURCE\", {\n slug: \"shotstack-fetch-source\",\n name: \"Fetch Source\",\n description: \"Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.\",\n input: ShotstackFetchSourceInput,\n output: ShotstackFetchSourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4JAA4J;AAEtL,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-source.d.ts
|
|
4
|
-
declare const ShotstackFetchSourceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackFetchSourceInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackFetchSourceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
url: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { shotstackFetchSource };
|
|
9
18
|
//# sourceMappingURL=fetch-source.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-source.d.cts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-source.d.cts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-source.d.ts
|
|
4
|
-
declare const ShotstackFetchSourceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackFetchSourceInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackFetchSourceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
url: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { shotstackFetchSource };
|
|
9
18
|
//# sourceMappingURL=fetch-source.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-source.d.mts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-source.d.mts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -3,15 +3,15 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/fetch-source.ts
|
|
4
4
|
const ShotstackFetchSourceInput = z.object({ url: z.string().describe("Publicly accessible URL of the media file to fetch") }).describe("Request model for fetching a media file from a URL and storing as a source asset.");
|
|
5
5
|
const ShotstackFetchSource_SourceDataSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status."),
|
|
7
|
-
type: z.string().describe("The resource type, always 'source'")
|
|
8
|
-
}).describe("Data object containing the source asset information.");
|
|
6
|
+
id: z.string().describe("Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.").nullable(),
|
|
7
|
+
type: z.string().describe("The resource type, always 'source'").nullable()
|
|
8
|
+
}).passthrough().describe("Data object containing the source asset information.");
|
|
9
9
|
const shotstackFetchSource = action("SHOTSTACK_FETCH_SOURCE", {
|
|
10
10
|
slug: "shotstack-fetch-source",
|
|
11
11
|
name: "Fetch Source",
|
|
12
12
|
description: "Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.",
|
|
13
13
|
input: ShotstackFetchSourceInput,
|
|
14
|
-
output: z.object({ data: ShotstackFetchSource_SourceDataSchema.nullable() }).describe("Response model for a fetched source asset. The file is fetched asynchronously,\nuse the returned ID to check ingestion status via the Get Source endpoint.")
|
|
14
|
+
output: z.object({ data: ShotstackFetchSource_SourceDataSchema.nullable() }).passthrough().describe("Response model for a fetched source asset. The file is fetched asynchronously,\nuse the returned ID to check ingestion status via the Get Source endpoint.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { shotstackFetchSource };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-source.mjs","names":[],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackFetchSourceInput
|
|
1
|
+
{"version":3,"file":"fetch-source.mjs","names":[],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackFetchSourceInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the media file to fetch\"),\n}).describe(\"Request model for fetching a media file from a URL and storing as a source asset.\");\nconst ShotstackFetchSource_SourceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.\").nullable(),\n type: z.string().describe(\"The resource type, always 'source'\").nullable(),\n}).passthrough().describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model for a fetched source asset. The file is fetched asynchronously,\\nuse the returned ID to check ingestion status via the Get Source endpoint.\");\n\nexport const shotstackFetchSource = action(\"SHOTSTACK_FETCH_SOURCE\", {\n slug: \"shotstack-fetch-source\",\n name: \"Fetch Source\",\n description: \"Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.\",\n input: ShotstackFetchSourceInput,\n output: ShotstackFetchSourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4JAOhB;AACV,CAAC"}
|
|
@@ -13,12 +13,12 @@ const ShotstackGetAssetsRender_AssetAttributesSchema = zod.z.object({
|
|
|
13
13
|
filename: zod.z.string().describe("Name of the asset file.").nullable().optional(),
|
|
14
14
|
renderId: zod.z.string().describe("Associated render job identifier.").nullable().optional(),
|
|
15
15
|
providerId: zod.z.string().describe("Third-party provider identifier.").nullable().optional()
|
|
16
|
-
}).describe("Attributes of an asset.");
|
|
16
|
+
}).passthrough().describe("Attributes of an asset.");
|
|
17
17
|
const ShotstackGetAssetsRender_AssetDataSchema = zod.z.object({
|
|
18
18
|
type: zod.z.string().describe("Resource type, always 'asset'.").nullable().optional(),
|
|
19
19
|
attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional()
|
|
20
|
-
}).describe("Asset data object following JSON:API specification.");
|
|
21
|
-
const ShotstackGetAssetsRenderOutput = zod.z.object({ data: zod.z.array(ShotstackGetAssetsRender_AssetDataSchema).describe("Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).") }).describe("Response model containing assets associated with a render ID.");
|
|
20
|
+
}).passthrough().describe("Asset data object following JSON:API specification.");
|
|
21
|
+
const ShotstackGetAssetsRenderOutput = zod.z.object({ data: zod.z.array(ShotstackGetAssetsRender_AssetDataSchema).describe("Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).") }).passthrough().describe("Response model containing assets associated with a render ID.");
|
|
22
22
|
const shotstackGetAssetsRender = require_action.action("SHOTSTACK_GET_ASSETS_RENDER", {
|
|
23
23
|
slug: "shotstack-get-assets-render",
|
|
24
24
|
name: "Get Assets by Render ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assets-render.cjs","names":["z","action"],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsRenderInput
|
|
1
|
+
{"version":3,"file":"get-assets-render.cjs","names":["z","action"],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsRenderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve associated assets for.\"),\n}).describe(\"Request model for retrieving assets by render ID.\");\nconst ShotstackGetAssetsRender_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'processing'.\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier.\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput = z.object({\n data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe(\"Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).\"),\n}).passthrough().describe(\"Response model containing assets associated with a render ID.\");\n\nexport const shotstackGetAssetsRender = action(\"SHOTSTACK_GET_ASSETS_RENDER\", {\n slug: \"shotstack-get-assets-render\",\n name: \"Get Assets by Render ID\",\n description: \"Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.\",\n input: ShotstackGetAssetsRenderInput,\n output: ShotstackGetAssetsRenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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{ z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-assets-render.d.ts
|
|
4
|
-
declare const ShotstackGetAssetsRenderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackGetAssetsRenderInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackGetAssetsRenderOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
renderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const shotstackGetAssetsRender: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
id: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { shotstackGetAssetsRender };
|
|
9
29
|
//# sourceMappingURL=get-assets-render.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assets-render.d.cts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-assets-render.d.cts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-assets-render.d.ts
|
|
4
|
-
declare const ShotstackGetAssetsRenderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShotstackGetAssetsRenderInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShotstackGetAssetsRenderOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
renderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const shotstackGetAssetsRender: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
id: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { shotstackGetAssetsRender };
|
|
9
29
|
//# sourceMappingURL=get-assets-render.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assets-render.d.mts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-assets-render.d.mts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -13,17 +13,17 @@ const ShotstackGetAssetsRender_AssetAttributesSchema = z.object({
|
|
|
13
13
|
filename: z.string().describe("Name of the asset file.").nullable().optional(),
|
|
14
14
|
renderId: z.string().describe("Associated render job identifier.").nullable().optional(),
|
|
15
15
|
providerId: z.string().describe("Third-party provider identifier.").nullable().optional()
|
|
16
|
-
}).describe("Attributes of an asset.");
|
|
16
|
+
}).passthrough().describe("Attributes of an asset.");
|
|
17
17
|
const ShotstackGetAssetsRender_AssetDataSchema = z.object({
|
|
18
18
|
type: z.string().describe("Resource type, always 'asset'.").nullable().optional(),
|
|
19
19
|
attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional()
|
|
20
|
-
}).describe("Asset data object following JSON:API specification.");
|
|
20
|
+
}).passthrough().describe("Asset data object following JSON:API specification.");
|
|
21
21
|
const shotstackGetAssetsRender = action("SHOTSTACK_GET_ASSETS_RENDER", {
|
|
22
22
|
slug: "shotstack-get-assets-render",
|
|
23
23
|
name: "Get Assets by Render ID",
|
|
24
24
|
description: "Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.",
|
|
25
25
|
input: ShotstackGetAssetsRenderInput,
|
|
26
|
-
output: z.object({ data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe("Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).") }).describe("Response model containing assets associated with a render ID.")
|
|
26
|
+
output: z.object({ data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe("Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).") }).passthrough().describe("Response model containing assets associated with a render ID.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { shotstackGetAssetsRender };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assets-render.mjs","names":[],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsRenderInput
|
|
1
|
+
{"version":3,"file":"get-assets-render.mjs","names":[],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsRenderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve associated assets for.\"),\n}).describe(\"Request model for retrieving assets by render ID.\");\nconst ShotstackGetAssetsRender_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'processing'.\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier.\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput = z.object({\n data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe(\"Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).\"),\n}).passthrough().describe(\"Response model containing assets associated with a render ID.\");\n\nexport const shotstackGetAssetsRender = action(\"SHOTSTACK_GET_ASSETS_RENDER\", {\n slug: \"shotstack-get-assets-render\",\n name: \"Get Assets by Render ID\",\n description: \"Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.\",\n input: ShotstackGetAssetsRenderInput,\n output: ShotstackGetAssetsRenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAA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
|
|
|
16
16
|
sourceId: zod.z.string().describe("Source identifier (if asset from ingestion service).").nullable().optional(),
|
|
17
17
|
providerId: zod.z.string().describe("Third-party provider identifier.").nullable().optional(),
|
|
18
18
|
renditionId: zod.z.string().describe("Rendition identifier (if asset from ingestion rendition).").nullable().optional()
|
|
19
|
-
}).describe("Attributes of an asset.");
|
|
19
|
+
}).passthrough().describe("Attributes of an asset.");
|
|
20
20
|
const ShotstackGetAssets_AssetDataSchema = zod.z.object({
|
|
21
21
|
type: zod.z.string().describe("Resource type, always 'assets'.").nullable().optional(),
|
|
22
22
|
attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional()
|
|
23
|
-
}).describe("Asset data object following JSON:API specification.");
|
|
24
|
-
const ShotstackGetAssetsOutput = zod.z.object({ data: zod.z.union([ShotstackGetAssets_AssetDataSchema, zod.z.array(ShotstackGetAssets_AssetDataSchema)]) }).describe("Response model containing asset details.");
|
|
23
|
+
}).passthrough().describe("Asset data object following JSON:API specification.");
|
|
24
|
+
const ShotstackGetAssetsOutput = zod.z.object({ data: zod.z.union([ShotstackGetAssets_AssetDataSchema, zod.z.array(ShotstackGetAssets_AssetDataSchema)]) }).passthrough().describe("Response model containing asset details.");
|
|
25
25
|
const shotstackGetAssets = require_action.action("SHOTSTACK_GET_ASSETS", {
|
|
26
26
|
slug: "shotstack-get-assets",
|
|
27
27
|
name: "Get Asset",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsInput
|
|
1
|
+
{"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the asset to retrieve. Can be the asset ID, render ID, source ID, or rendition ID.\"),\n}).describe(\"Request model for retrieving an asset by ID.\");\nconst ShotstackGetAssets_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n provider: z.string().describe(\"Hosting provider name (e.g., 'shotstack').\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier (if asset from render).\").nullable().optional(),\n sourceId: z.string().describe(\"Source identifier (if asset from ingestion service).\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n renditionId: z.string().describe(\"Rendition identifier (if asset from ingestion rendition).\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).passthrough().describe(\"Response model containing asset details.\");\n\nexport const shotstackGetAssets = action(\"SHOTSTACK_GET_ASSETS\", {\n slug: \"shotstack-get-assets\",\n name: \"Get Asset\",\n description: \"Tool to fetch details of a hosted asset by its unique identifier. Use when you need to retrieve information about videos, images, audio files, thumbnails, or poster images hosted on Shotstack's CDN.\",\n input: ShotstackGetAssetsInput,\n output: Shotst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