@keystrokehq/shotstack 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-template.cjs +27 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +26 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-template2.cjs +62 -0
- package/dist/actions/create-template2.cjs.map +1 -0
- package/dist/actions/create-template2.d.cts +9 -0
- package/dist/actions/create-template2.d.cts.map +1 -0
- package/dist/actions/create-template2.d.mts +9 -0
- package/dist/actions/create-template2.d.mts.map +1 -0
- package/dist/actions/create-template2.mjs +61 -0
- package/dist/actions/create-template2.mjs.map +1 -0
- package/dist/actions/delete-ingested-media.cjs +19 -0
- package/dist/actions/delete-ingested-media.cjs.map +1 -0
- package/dist/actions/delete-ingested-media.d.cts +9 -0
- package/dist/actions/delete-ingested-media.d.cts.map +1 -0
- package/dist/actions/delete-ingested-media.d.mts +9 -0
- package/dist/actions/delete-ingested-media.d.mts.map +1 -0
- package/dist/actions/delete-ingested-media.mjs +16 -0
- package/dist/actions/delete-ingested-media.mjs.map +1 -0
- package/dist/actions/delete-template2.cjs +19 -0
- package/dist/actions/delete-template2.cjs.map +1 -0
- package/dist/actions/delete-template2.d.cts +9 -0
- package/dist/actions/delete-template2.d.cts.map +1 -0
- package/dist/actions/delete-template2.d.mts +9 -0
- package/dist/actions/delete-template2.d.mts.map +1 -0
- package/dist/actions/delete-template2.mjs +16 -0
- package/dist/actions/delete-template2.mjs.map +1 -0
- package/dist/actions/delete-workflow.cjs +19 -0
- package/dist/actions/delete-workflow.cjs.map +1 -0
- package/dist/actions/delete-workflow.d.cts +9 -0
- package/dist/actions/delete-workflow.d.cts.map +1 -0
- package/dist/actions/delete-workflow.d.mts +9 -0
- package/dist/actions/delete-workflow.d.mts.map +1 -0
- package/dist/actions/delete-workflow.mjs +16 -0
- package/dist/actions/delete-workflow.mjs.map +1 -0
- package/dist/actions/fetch-source.cjs +20 -0
- package/dist/actions/fetch-source.cjs.map +1 -0
- package/dist/actions/fetch-source.d.cts +9 -0
- package/dist/actions/fetch-source.d.cts.map +1 -0
- package/dist/actions/fetch-source.d.mts +9 -0
- package/dist/actions/fetch-source.d.mts.map +1 -0
- package/dist/actions/fetch-source.mjs +19 -0
- package/dist/actions/fetch-source.mjs.map +1 -0
- package/dist/actions/get-assets-render.cjs +32 -0
- package/dist/actions/get-assets-render.cjs.map +1 -0
- package/dist/actions/get-assets-render.d.cts +9 -0
- package/dist/actions/get-assets-render.d.cts.map +1 -0
- package/dist/actions/get-assets-render.d.mts +9 -0
- package/dist/actions/get-assets-render.d.mts.map +1 -0
- package/dist/actions/get-assets-render.mjs +31 -0
- package/dist/actions/get-assets-render.mjs.map +1 -0
- package/dist/actions/get-assets.cjs +35 -0
- package/dist/actions/get-assets.cjs.map +1 -0
- package/dist/actions/get-assets.d.cts +9 -0
- package/dist/actions/get-assets.d.cts.map +1 -0
- package/dist/actions/get-assets.d.mts +9 -0
- package/dist/actions/get-assets.d.mts.map +1 -0
- package/dist/actions/get-assets.mjs +34 -0
- package/dist/actions/get-assets.mjs.map +1 -0
- package/dist/actions/get-render-callback.cjs +28 -0
- package/dist/actions/get-render-callback.cjs.map +1 -0
- package/dist/actions/get-render-callback.d.cts +9 -0
- package/dist/actions/get-render-callback.d.cts.map +1 -0
- package/dist/actions/get-render-callback.d.mts +9 -0
- package/dist/actions/get-render-callback.d.mts.map +1 -0
- package/dist/actions/get-render-callback.mjs +27 -0
- package/dist/actions/get-render-callback.mjs.map +1 -0
- package/dist/actions/get-render-status.cjs +55 -0
- package/dist/actions/get-render-status.cjs.map +1 -0
- package/dist/actions/get-render-status.d.cts +9 -0
- package/dist/actions/get-render-status.d.cts.map +1 -0
- package/dist/actions/get-render-status.d.mts +9 -0
- package/dist/actions/get-render-status.d.mts.map +1 -0
- package/dist/actions/get-render-status.mjs +54 -0
- package/dist/actions/get-render-status.mjs.map +1 -0
- package/dist/actions/get-source.cjs +37 -0
- package/dist/actions/get-source.cjs.map +1 -0
- package/dist/actions/get-source.d.cts +9 -0
- package/dist/actions/get-source.d.cts.map +1 -0
- package/dist/actions/get-source.d.mts +9 -0
- package/dist/actions/get-source.d.mts.map +1 -0
- package/dist/actions/get-source.mjs +36 -0
- package/dist/actions/get-source.mjs.map +1 -0
- package/dist/actions/get-template-by-version.cjs +37 -0
- package/dist/actions/get-template-by-version.cjs.map +1 -0
- package/dist/actions/get-template-by-version.d.cts +9 -0
- package/dist/actions/get-template-by-version.d.cts.map +1 -0
- package/dist/actions/get-template-by-version.d.mts +9 -0
- package/dist/actions/get-template-by-version.d.mts.map +1 -0
- package/dist/actions/get-template-by-version.mjs +36 -0
- package/dist/actions/get-template-by-version.mjs.map +1 -0
- package/dist/actions/get-template.cjs +34 -0
- package/dist/actions/get-template.cjs.map +1 -0
- package/dist/actions/get-template.d.cts +9 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +9 -0
- package/dist/actions/get-template.d.mts.map +1 -0
- package/dist/actions/get-template.mjs +33 -0
- package/dist/actions/get-template.mjs.map +1 -0
- package/dist/actions/get-upload-url.cjs +26 -0
- package/dist/actions/get-upload-url.cjs.map +1 -0
- package/dist/actions/get-upload-url.d.cts +9 -0
- package/dist/actions/get-upload-url.d.cts.map +1 -0
- package/dist/actions/get-upload-url.d.mts +9 -0
- package/dist/actions/get-upload-url.d.mts.map +1 -0
- package/dist/actions/get-upload-url.mjs +25 -0
- package/dist/actions/get-upload-url.mjs.map +1 -0
- package/dist/actions/index.cjs +47 -0
- package/dist/actions/index.d.cts +24 -0
- package/dist/actions/index.d.mts +24 -0
- package/dist/actions/index.mjs +24 -0
- package/dist/actions/inspect-media.cjs +96 -0
- package/dist/actions/inspect-media.cjs.map +1 -0
- package/dist/actions/inspect-media.d.cts +9 -0
- package/dist/actions/inspect-media.d.cts.map +1 -0
- package/dist/actions/inspect-media.d.mts +9 -0
- package/dist/actions/inspect-media.d.mts.map +1 -0
- package/dist/actions/inspect-media.mjs +95 -0
- package/dist/actions/inspect-media.mjs.map +1 -0
- package/dist/actions/list-sources.cjs +47 -0
- package/dist/actions/list-sources.cjs.map +1 -0
- package/dist/actions/list-sources.d.cts +9 -0
- package/dist/actions/list-sources.d.cts.map +1 -0
- package/dist/actions/list-sources.d.mts +9 -0
- package/dist/actions/list-sources.d.mts.map +1 -0
- package/dist/actions/list-sources.mjs +46 -0
- package/dist/actions/list-sources.mjs.map +1 -0
- package/dist/actions/list-sources2.cjs +48 -0
- package/dist/actions/list-sources2.cjs.map +1 -0
- package/dist/actions/list-sources2.d.cts +9 -0
- package/dist/actions/list-sources2.d.cts.map +1 -0
- package/dist/actions/list-sources2.d.mts +9 -0
- package/dist/actions/list-sources2.d.mts.map +1 -0
- package/dist/actions/list-sources2.mjs +47 -0
- package/dist/actions/list-sources2.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +30 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +29 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-templates2.cjs +30 -0
- package/dist/actions/list-templates2.cjs.map +1 -0
- package/dist/actions/list-templates2.d.cts +9 -0
- package/dist/actions/list-templates2.d.cts.map +1 -0
- package/dist/actions/list-templates2.d.mts +9 -0
- package/dist/actions/list-templates2.d.mts.map +1 -0
- package/dist/actions/list-templates2.mjs +29 -0
- package/dist/actions/list-templates2.mjs.map +1 -0
- package/dist/actions/post-upload.cjs +26 -0
- package/dist/actions/post-upload.cjs.map +1 -0
- package/dist/actions/post-upload.d.cts +9 -0
- package/dist/actions/post-upload.d.cts.map +1 -0
- package/dist/actions/post-upload.d.mts +9 -0
- package/dist/actions/post-upload.d.mts.map +1 -0
- package/dist/actions/post-upload.mjs +25 -0
- package/dist/actions/post-upload.mjs.map +1 -0
- package/dist/actions/render-video.cjs +31 -0
- package/dist/actions/render-video.cjs.map +1 -0
- package/dist/actions/render-video.d.cts +9 -0
- package/dist/actions/render-video.d.cts.map +1 -0
- package/dist/actions/render-video.d.mts +9 -0
- package/dist/actions/render-video.d.mts.map +1 -0
- package/dist/actions/render-video.mjs +30 -0
- package/dist/actions/render-video.mjs.map +1 -0
- package/dist/actions/transfer-asset.cjs +34 -0
- package/dist/actions/transfer-asset.cjs.map +1 -0
- package/dist/actions/transfer-asset.d.cts +9 -0
- package/dist/actions/transfer-asset.d.cts.map +1 -0
- package/dist/actions/transfer-asset.d.mts +9 -0
- package/dist/actions/transfer-asset.d.mts.map +1 -0
- package/dist/actions/transfer-asset.mjs +33 -0
- package/dist/actions/transfer-asset.mjs.map +1 -0
- package/dist/actions/update-template.cjs +28 -0
- package/dist/actions/update-template.cjs.map +1 -0
- package/dist/actions/update-template.d.cts +9 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +9 -0
- package/dist/actions/update-template.d.mts.map +1 -0
- package/dist/actions/update-template.mjs +27 -0
- package/dist/actions/update-template.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +52 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +27 -0
- package/package.json +49 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shotstackDeleteWorkflow = action("SHOTSTACK_DELETE_WORKFLOW", {
|
|
4
|
+
slug: "shotstack-delete-workflow",
|
|
5
|
+
name: "Delete Shotstack Workflow",
|
|
6
|
+
description: "Tool to delete a specific Shotstack workflow. Use when you need to permanently remove a workflow after confirming its ID.",
|
|
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
|
+
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.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { shotstackDeleteWorkflow };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-workflow.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Informational message about the delete operation\"),\n success: z.boolean().describe(\"True if the workflow was deleted successfully\"),\n}).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,OAZwD,EAAE,OAAO,EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAVyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;CAC/E,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-source.ts
|
|
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
|
+
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.");
|
|
10
|
+
const shotstackFetchSource = require_action.action("SHOTSTACK_FETCH_SOURCE", {
|
|
11
|
+
slug: "shotstack-fetch-source",
|
|
12
|
+
name: "Fetch Source",
|
|
13
|
+
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.",
|
|
14
|
+
input: ShotstackFetchSourceInput,
|
|
15
|
+
output: ShotstackFetchSourceOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.shotstackFetchSource = shotstackFetchSource;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=fetch-source.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n type: z.string().describe(\"The resource type, always 'source'\"),\n}).describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput: z.ZodTypeAny = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).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,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC7I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,4JAA4J;AAExK,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-source.d.ts
|
|
4
|
+
declare const ShotstackFetchSourceInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackFetchSourceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackFetchSource };
|
|
9
|
+
//# sourceMappingURL=fetch-source.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-source.d.cts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEsD;AAAA,cAKnF,0BAAA,EAA4B,CAAA,CAAE,UAE8H;AAAA,cAE5J,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-source.d.ts
|
|
4
|
+
declare const ShotstackFetchSourceInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackFetchSourceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackFetchSource };
|
|
9
|
+
//# sourceMappingURL=fetch-source.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-source.d.mts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEsD;AAAA,cAKnF,0BAAA,EAA4B,CAAA,CAAE,UAE8H;AAAA,cAE5J,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-source.ts
|
|
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
|
+
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.");
|
|
9
|
+
const shotstackFetchSource = action("SHOTSTACK_FETCH_SOURCE", {
|
|
10
|
+
slug: "shotstack-fetch-source",
|
|
11
|
+
name: "Fetch Source",
|
|
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
|
+
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.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { shotstackFetchSource };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=fetch-source.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n type: z.string().describe(\"The resource type, always 'source'\"),\n}).describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput: z.ZodTypeAny = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).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,4BAA0C,EAAE,OAAO,EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC7I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,4JAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-assets-render.ts
|
|
4
|
+
const ShotstackGetAssetsRenderInput = zod.z.object({ id: zod.z.string().describe("The unique identifier (UUID) of the render job to retrieve associated assets for.") }).describe("Request model for retrieving assets by render ID.");
|
|
5
|
+
const ShotstackGetAssetsRender_AssetAttributesSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique asset identifier (UUID).").nullable().optional(),
|
|
7
|
+
url: zod.z.string().describe("Publicly accessible CDN URL for the asset.").nullable().optional(),
|
|
8
|
+
owner: zod.z.string().describe("Account owner identifier.").nullable().optional(),
|
|
9
|
+
region: zod.z.string().describe("Geographic region where asset is stored (e.g., 'au').").nullable().optional(),
|
|
10
|
+
status: zod.z.string().describe("Current asset state. Values: 'ready' (available for use) or 'processing'.").nullable().optional(),
|
|
11
|
+
created: zod.z.string().describe("Asset creation timestamp (ISO 8601 format).").nullable().optional(),
|
|
12
|
+
updated: zod.z.string().describe("Last modification timestamp (ISO 8601 format).").nullable().optional(),
|
|
13
|
+
filename: zod.z.string().describe("Name of the asset file.").nullable().optional(),
|
|
14
|
+
renderId: zod.z.string().describe("Associated render job identifier.").nullable().optional(),
|
|
15
|
+
providerId: zod.z.string().describe("Third-party provider identifier.").nullable().optional()
|
|
16
|
+
}).describe("Attributes of an asset.");
|
|
17
|
+
const ShotstackGetAssetsRender_AssetDataSchema = zod.z.object({
|
|
18
|
+
type: zod.z.string().describe("Resource type, always 'asset'.").nullable().optional(),
|
|
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.");
|
|
22
|
+
const shotstackGetAssetsRender = require_action.action("SHOTSTACK_GET_ASSETS_RENDER", {
|
|
23
|
+
slug: "shotstack-get-assets-render",
|
|
24
|
+
name: "Get Assets by Render ID",
|
|
25
|
+
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.",
|
|
26
|
+
input: ShotstackGetAssetsRenderInput,
|
|
27
|
+
output: ShotstackGetAssetsRenderOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.shotstackGetAssetsRender = shotstackGetAssetsRender;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-assets-render.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput: z.ZodTypeAny = 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}).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,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,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,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6GAA6G,EAChL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-assets-render.d.ts
|
|
4
|
+
declare const ShotstackGetAssetsRenderInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetAssetsRenderOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetAssetsRender: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetAssetsRender };
|
|
9
|
+
//# sourceMappingURL=get-assets-render.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets-render.d.cts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEkB;AAAA,cAiBnD,8BAAA,EAAgC,CAAA,CAAE,UAE6B;AAAA,cAE/D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-assets-render.d.ts
|
|
4
|
+
declare const ShotstackGetAssetsRenderInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetAssetsRenderOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetAssetsRender: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetAssetsRender };
|
|
9
|
+
//# sourceMappingURL=get-assets-render.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets-render.d.mts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEkB;AAAA,cAiBnD,8BAAA,EAAgC,CAAA,CAAE,UAE6B;AAAA,cAE/D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-assets-render.ts
|
|
4
|
+
const ShotstackGetAssetsRenderInput = z.object({ id: z.string().describe("The unique identifier (UUID) of the render job to retrieve associated assets for.") }).describe("Request model for retrieving assets by render ID.");
|
|
5
|
+
const ShotstackGetAssetsRender_AssetAttributesSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique asset identifier (UUID).").nullable().optional(),
|
|
7
|
+
url: z.string().describe("Publicly accessible CDN URL for the asset.").nullable().optional(),
|
|
8
|
+
owner: z.string().describe("Account owner identifier.").nullable().optional(),
|
|
9
|
+
region: z.string().describe("Geographic region where asset is stored (e.g., 'au').").nullable().optional(),
|
|
10
|
+
status: z.string().describe("Current asset state. Values: 'ready' (available for use) or 'processing'.").nullable().optional(),
|
|
11
|
+
created: z.string().describe("Asset creation timestamp (ISO 8601 format).").nullable().optional(),
|
|
12
|
+
updated: z.string().describe("Last modification timestamp (ISO 8601 format).").nullable().optional(),
|
|
13
|
+
filename: z.string().describe("Name of the asset file.").nullable().optional(),
|
|
14
|
+
renderId: z.string().describe("Associated render job identifier.").nullable().optional(),
|
|
15
|
+
providerId: z.string().describe("Third-party provider identifier.").nullable().optional()
|
|
16
|
+
}).describe("Attributes of an asset.");
|
|
17
|
+
const ShotstackGetAssetsRender_AssetDataSchema = z.object({
|
|
18
|
+
type: z.string().describe("Resource type, always 'asset'.").nullable().optional(),
|
|
19
|
+
attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional()
|
|
20
|
+
}).describe("Asset data object following JSON:API specification.");
|
|
21
|
+
const shotstackGetAssetsRender = action("SHOTSTACK_GET_ASSETS_RENDER", {
|
|
22
|
+
slug: "shotstack-get-assets-render",
|
|
23
|
+
name: "Get Assets by Render ID",
|
|
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
|
+
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.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { shotstackGetAssetsRender };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-assets-render.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput: z.ZodTypeAny = 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}).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,gCAA8C,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAA+D,EAAE,OAAO;CAC5E,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,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6GAA6G,EAChL,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-assets.ts
|
|
4
|
+
const ShotstackGetAssetsInput = zod.z.object({ id: zod.z.string().describe("The unique identifier (UUID) of the asset to retrieve. Can be the asset ID, render ID, source ID, or rendition ID.") }).describe("Request model for retrieving an asset by ID.");
|
|
5
|
+
const ShotstackGetAssets_AssetAttributesSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique asset identifier (UUID).").nullable().optional(),
|
|
7
|
+
url: zod.z.string().describe("Publicly accessible CDN URL for the asset.").nullable().optional(),
|
|
8
|
+
owner: zod.z.string().describe("Account owner identifier.").nullable().optional(),
|
|
9
|
+
region: zod.z.string().describe("Geographic region where asset is stored (e.g., 'au').").nullable().optional(),
|
|
10
|
+
status: zod.z.string().describe("Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).").nullable().optional(),
|
|
11
|
+
created: zod.z.string().describe("Asset creation timestamp (ISO 8601 format).").nullable().optional(),
|
|
12
|
+
updated: zod.z.string().describe("Last modification timestamp (ISO 8601 format).").nullable().optional(),
|
|
13
|
+
filename: zod.z.string().describe("Name of the asset file.").nullable().optional(),
|
|
14
|
+
provider: zod.z.string().describe("Hosting provider name (e.g., 'shotstack').").nullable().optional(),
|
|
15
|
+
renderId: zod.z.string().describe("Associated render job identifier (if asset from render).").nullable().optional(),
|
|
16
|
+
sourceId: zod.z.string().describe("Source identifier (if asset from ingestion service).").nullable().optional(),
|
|
17
|
+
providerId: zod.z.string().describe("Third-party provider identifier.").nullable().optional(),
|
|
18
|
+
renditionId: zod.z.string().describe("Rendition identifier (if asset from ingestion rendition).").nullable().optional()
|
|
19
|
+
}).describe("Attributes of an asset.");
|
|
20
|
+
const ShotstackGetAssets_AssetDataSchema = zod.z.object({
|
|
21
|
+
type: zod.z.string().describe("Resource type, always 'assets'.").nullable().optional(),
|
|
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.");
|
|
25
|
+
const shotstackGetAssets = require_action.action("SHOTSTACK_GET_ASSETS", {
|
|
26
|
+
slug: "shotstack-get-assets",
|
|
27
|
+
name: "Get Asset",
|
|
28
|
+
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.",
|
|
29
|
+
input: ShotstackGetAssetsInput,
|
|
30
|
+
output: ShotstackGetAssetsOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.shotstackGetAssets = shotstackGetAssets;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-assets.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput: z.ZodTypeAny = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).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: ShotstackGetAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,EAC9I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,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,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAM,CAAC,oCAAoCA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,EACjG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-assets.d.ts
|
|
4
|
+
declare const ShotstackGetAssetsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetAssetsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetAssets };
|
|
9
|
+
//# sourceMappingURL=get-assets.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.d.cts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEmB;AAAA,cAoB9C,wBAAA,EAA0B,CAAA,CAAE,UAEc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-assets.d.ts
|
|
4
|
+
declare const ShotstackGetAssetsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetAssetsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetAssets };
|
|
9
|
+
//# sourceMappingURL=get-assets.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.d.mts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEmB;AAAA,cAoB9C,wBAAA,EAA0B,CAAA,CAAE,UAEc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-assets.ts
|
|
4
|
+
const ShotstackGetAssetsInput = z.object({ 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.") }).describe("Request model for retrieving an asset by ID.");
|
|
5
|
+
const ShotstackGetAssets_AssetAttributesSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique asset identifier (UUID).").nullable().optional(),
|
|
7
|
+
url: z.string().describe("Publicly accessible CDN URL for the asset.").nullable().optional(),
|
|
8
|
+
owner: z.string().describe("Account owner identifier.").nullable().optional(),
|
|
9
|
+
region: z.string().describe("Geographic region where asset is stored (e.g., 'au').").nullable().optional(),
|
|
10
|
+
status: z.string().describe("Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).").nullable().optional(),
|
|
11
|
+
created: z.string().describe("Asset creation timestamp (ISO 8601 format).").nullable().optional(),
|
|
12
|
+
updated: z.string().describe("Last modification timestamp (ISO 8601 format).").nullable().optional(),
|
|
13
|
+
filename: z.string().describe("Name of the asset file.").nullable().optional(),
|
|
14
|
+
provider: z.string().describe("Hosting provider name (e.g., 'shotstack').").nullable().optional(),
|
|
15
|
+
renderId: z.string().describe("Associated render job identifier (if asset from render).").nullable().optional(),
|
|
16
|
+
sourceId: z.string().describe("Source identifier (if asset from ingestion service).").nullable().optional(),
|
|
17
|
+
providerId: z.string().describe("Third-party provider identifier.").nullable().optional(),
|
|
18
|
+
renditionId: z.string().describe("Rendition identifier (if asset from ingestion rendition).").nullable().optional()
|
|
19
|
+
}).describe("Attributes of an asset.");
|
|
20
|
+
const ShotstackGetAssets_AssetDataSchema = z.object({
|
|
21
|
+
type: z.string().describe("Resource type, always 'assets'.").nullable().optional(),
|
|
22
|
+
attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional()
|
|
23
|
+
}).describe("Asset data object following JSON:API specification.");
|
|
24
|
+
const shotstackGetAssets = action("SHOTSTACK_GET_ASSETS", {
|
|
25
|
+
slug: "shotstack-get-assets",
|
|
26
|
+
name: "Get Asset",
|
|
27
|
+
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.",
|
|
28
|
+
input: ShotstackGetAssetsInput,
|
|
29
|
+
output: z.object({ data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]) }).describe("Response model containing asset details.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { shotstackGetAssets };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-assets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsInput: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput: z.ZodTypeAny = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).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: ShotstackGetAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,EAC9I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAAyD,EAAE,OAAO;CACtE,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,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,CAAC,oCAAoC,EAAE,MAAM,kCAAkC,CAAC,CAAC,EACjG,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-render-callback.ts
|
|
4
|
+
const ShotstackGetRenderCallbackInput = zod.z.object({ renderId: zod.z.string().describe("The unique identifier of the render process.") }).describe("Request model for retrieving a render's callback settings.");
|
|
5
|
+
const ShotstackGetRenderCallback_CallbackDataSchema = zod.z.object({
|
|
6
|
+
url: zod.z.string().nullable(),
|
|
7
|
+
status: zod.z.string().describe("The current status of the callback."),
|
|
8
|
+
attempts: zod.z.number().int().describe("The number of callback attempts made."),
|
|
9
|
+
responseBody: zod.z.string().describe("Response body from the callback endpoint."),
|
|
10
|
+
responseCode: zod.z.number().int().describe("HTTP response code returned from callback calls."),
|
|
11
|
+
lastAttemptedAt: zod.z.string().describe("ISO8601 timestamp of the most recent callback attempt.")
|
|
12
|
+
}).describe("Details of the callback associated with a render.");
|
|
13
|
+
const ShotstackGetRenderCallbackOutput = zod.z.object({
|
|
14
|
+
data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),
|
|
15
|
+
message: zod.z.string().describe("Message describing the callback status."),
|
|
16
|
+
success: zod.z.boolean().describe("Indicates if the request was successful.")
|
|
17
|
+
}).describe("Response model for a render's callback settings.");
|
|
18
|
+
const shotstackGetRenderCallback = require_action.action("SHOTSTACK_GET_RENDER_CALLBACK", {
|
|
19
|
+
slug: "shotstack-get-render-callback",
|
|
20
|
+
name: "Get Render Callback",
|
|
21
|
+
description: "Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.",
|
|
22
|
+
input: ShotstackGetRenderCallbackInput,
|
|
23
|
+
output: ShotstackGetRenderCallbackOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.shotstackGetRenderCallback = shotstackGetRenderCallback;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-render-callback.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-callback.cjs","names":["z","action"],"sources":["../../src/actions/get-render-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderCallbackInput: z.ZodTypeAny = z.object({\n renderId: z.string().describe(\"The unique identifier of the render process.\"),\n}).describe(\"Request model for retrieving a render's callback settings.\");\nconst ShotstackGetRenderCallback_CallbackDataSchema: z.ZodTypeAny = z.object({\n url: z.string().nullable(),\n status: z.string().describe(\"The current status of the callback.\"),\n attempts: z.number().int().describe(\"The number of callback attempts made.\"),\n responseBody: z.string().describe(\"Response body from the callback endpoint.\"),\n responseCode: z.number().int().describe(\"HTTP response code returned from callback calls.\"),\n lastAttemptedAt: z.string().describe(\"ISO8601 timestamp of the most recent callback attempt.\"),\n}).describe(\"Details of the callback associated with a render.\");\nexport const ShotstackGetRenderCallbackOutput: z.ZodTypeAny = z.object({\n data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),\n message: z.string().describe(\"Message describing the callback status.\"),\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n}).describe(\"Response model for a render's callback settings.\");\n\nexport const shotstackGetRenderCallback = action(\"SHOTSTACK_GET_RENDER_CALLBACK\", {\n slug: \"shotstack-get-render-callback\",\n name: \"Get Render Callback\",\n description: \"Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.\",\n input: ShotstackGetRenderCallbackInput,\n output: ShotstackGetRenderCallbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC/F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAM,8CAA8C,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-render-callback.d.ts
|
|
4
|
+
declare const ShotstackGetRenderCallbackInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetRenderCallbackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetRenderCallback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetRenderCallback };
|
|
9
|
+
//# sourceMappingURL=get-render-callback.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-callback.d.cts","names":[],"sources":["../../src/actions/get-render-callback.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEyB;AAAA,cAS5D,gCAAA,EAAkC,CAAA,CAAE,UAIc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-render-callback.d.ts
|
|
4
|
+
declare const ShotstackGetRenderCallbackInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetRenderCallbackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetRenderCallback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetRenderCallback };
|
|
9
|
+
//# sourceMappingURL=get-render-callback.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-callback.d.mts","names":[],"sources":["../../src/actions/get-render-callback.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEyB;AAAA,cAS5D,gCAAA,EAAkC,CAAA,CAAE,UAIc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-render-callback.ts
|
|
4
|
+
const ShotstackGetRenderCallbackInput = z.object({ renderId: z.string().describe("The unique identifier of the render process.") }).describe("Request model for retrieving a render's callback settings.");
|
|
5
|
+
const ShotstackGetRenderCallback_CallbackDataSchema = z.object({
|
|
6
|
+
url: z.string().nullable(),
|
|
7
|
+
status: z.string().describe("The current status of the callback."),
|
|
8
|
+
attempts: z.number().int().describe("The number of callback attempts made."),
|
|
9
|
+
responseBody: z.string().describe("Response body from the callback endpoint."),
|
|
10
|
+
responseCode: z.number().int().describe("HTTP response code returned from callback calls."),
|
|
11
|
+
lastAttemptedAt: z.string().describe("ISO8601 timestamp of the most recent callback attempt.")
|
|
12
|
+
}).describe("Details of the callback associated with a render.");
|
|
13
|
+
const shotstackGetRenderCallback = action("SHOTSTACK_GET_RENDER_CALLBACK", {
|
|
14
|
+
slug: "shotstack-get-render-callback",
|
|
15
|
+
name: "Get Render Callback",
|
|
16
|
+
description: "Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.",
|
|
17
|
+
input: ShotstackGetRenderCallbackInput,
|
|
18
|
+
output: z.object({
|
|
19
|
+
data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),
|
|
20
|
+
message: z.string().describe("Message describing the callback status."),
|
|
21
|
+
success: z.boolean().describe("Indicates if the request was successful.")
|
|
22
|
+
}).describe("Response model for a render's callback settings.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { shotstackGetRenderCallback };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-render-callback.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-callback.mjs","names":[],"sources":["../../src/actions/get-render-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderCallbackInput: z.ZodTypeAny = z.object({\n renderId: z.string().describe(\"The unique identifier of the render process.\"),\n}).describe(\"Request model for retrieving a render's callback settings.\");\nconst ShotstackGetRenderCallback_CallbackDataSchema: z.ZodTypeAny = z.object({\n url: z.string().nullable(),\n status: z.string().describe(\"The current status of the callback.\"),\n attempts: z.number().int().describe(\"The number of callback attempts made.\"),\n responseBody: z.string().describe(\"Response body from the callback endpoint.\"),\n responseCode: z.number().int().describe(\"HTTP response code returned from callback calls.\"),\n lastAttemptedAt: z.string().describe(\"ISO8601 timestamp of the most recent callback attempt.\"),\n}).describe(\"Details of the callback associated with a render.\");\nexport const ShotstackGetRenderCallbackOutput: z.ZodTypeAny = z.object({\n data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),\n message: z.string().describe(\"Message describing the callback status.\"),\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n}).describe(\"Response model for a render's callback settings.\");\n\nexport const shotstackGetRenderCallback = action(\"SHOTSTACK_GET_RENDER_CALLBACK\", {\n slug: \"shotstack-get-render-callback\",\n name: \"Get Render Callback\",\n description: \"Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.\",\n input: ShotstackGetRenderCallbackInput,\n output: ShotstackGetRenderCallbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC/F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAO/D,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4D,EAAE,OAAO;EACrE,MAAM,8CAA8C,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-render-status.ts
|
|
4
|
+
const ShotstackGetRenderStatusInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The unique identifier (UUID) of the render job to retrieve status for."),
|
|
6
|
+
data: zod.z.boolean().describe("Include the original timeline and output settings in the response. Default is false (will be deprecated to false soon).").optional(),
|
|
7
|
+
merged: zod.z.boolean().describe("When used with data=true, shows merge fields merged into the data response.").optional(),
|
|
8
|
+
version: zod.z.string().default("stage").describe("API version to use. Use 'stage' for sandbox/testing or 'v1' for production.").optional()
|
|
9
|
+
}).describe("Request model for retrieving render job status.");
|
|
10
|
+
const ShotstackGetRenderStatus_EditDataSchema = zod.z.object({
|
|
11
|
+
disk: zod.z.enum(["local", "mount"]).describe("Deprecated - formerly specified disk storage type; now handled automatically with no effect when set.").nullable().optional(),
|
|
12
|
+
merge: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("An array of key/value pairs that provides an easy way to create templates with placeholders for dynamic content replacement.").nullable().optional(),
|
|
13
|
+
output: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Specifies the rendered output format and destination settings."),
|
|
14
|
+
callback: zod.z.string().describe("Optional webhook URL for receiving status notifications when rendering completes, fails, or when videos are sent to output destinations.").nullable().optional(),
|
|
15
|
+
timeline: zod.z.record(zod.z.string(), zod.z.unknown()).describe("An edit defines the arrangement of a video on a timeline, an audio edit or an image design.")
|
|
16
|
+
}).describe("Timeline and output rendering data (Edit schema).");
|
|
17
|
+
const ShotstackGetRenderStatus_RenderResponseDataSchema = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("The unique identifier of the render task in UUID format."),
|
|
19
|
+
url: zod.z.string().describe("The URL of the final asset (temporary, 24-hour validity).").nullable().optional(),
|
|
20
|
+
data: ShotstackGetRenderStatus_EditDataSchema.nullable().optional(),
|
|
21
|
+
plan: zod.z.string().describe("Customer subscription plan type.").nullable().optional(),
|
|
22
|
+
error: zod.z.string().describe("An error message, only displayed if an error occurred.").nullable().optional(),
|
|
23
|
+
owner: zod.z.string().describe("The owner ID of the render task."),
|
|
24
|
+
poster: zod.z.string().describe("The URL of the poster image if requested.").nullable().optional(),
|
|
25
|
+
status: zod.z.enum([
|
|
26
|
+
"queued",
|
|
27
|
+
"fetching",
|
|
28
|
+
"preprocessing",
|
|
29
|
+
"rendering",
|
|
30
|
+
"saving",
|
|
31
|
+
"done",
|
|
32
|
+
"failed"
|
|
33
|
+
]).describe("The status of the render task."),
|
|
34
|
+
created: zod.z.string().describe("The time the render task was initially queued.").nullable().optional(),
|
|
35
|
+
updated: zod.z.string().describe("The time the render status was last updated.").nullable().optional(),
|
|
36
|
+
duration: zod.z.number().describe("The output video or audio length in seconds.").nullable().optional(),
|
|
37
|
+
thumbnail: zod.z.string().describe("The URL of the thumbnail image if requested.").nullable().optional(),
|
|
38
|
+
renderTime: zod.z.number().describe("The time taken to render the asset in milliseconds.").nullable().optional()
|
|
39
|
+
}).describe("Render job details and status information.");
|
|
40
|
+
const ShotstackGetRenderStatusOutput = zod.z.object({
|
|
41
|
+
message: zod.z.string().describe("OK or an error message."),
|
|
42
|
+
success: zod.z.boolean().describe("true if status available, else false."),
|
|
43
|
+
response: ShotstackGetRenderStatus_RenderResponseDataSchema.nullable()
|
|
44
|
+
}).describe("Response model containing render job status and details.");
|
|
45
|
+
const shotstackGetRenderStatus = require_action.action("SHOTSTACK_GET_RENDER_STATUS", {
|
|
46
|
+
slug: "shotstack-get-render-status",
|
|
47
|
+
name: "Get Render Status",
|
|
48
|
+
description: "Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_RENDER_VIDEO.",
|
|
49
|
+
input: ShotstackGetRenderStatusInput,
|
|
50
|
+
output: ShotstackGetRenderStatusOutput
|
|
51
|
+
});
|
|
52
|
+
//#endregion
|
|
53
|
+
exports.shotstackGetRenderStatus = shotstackGetRenderStatus;
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=get-render-status.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-status.cjs","names":["z","action"],"sources":["../../src/actions/get-render-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderStatusInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve status for.\"),\n data: z.boolean().describe(\"Include the original timeline and output settings in the response. Default is false (will be deprecated to false soon).\").optional(),\n merged: z.boolean().describe(\"When used with data=true, shows merge fields merged into the data response.\").optional(),\n version: z.string().default(\"stage\").describe(\"API version to use. Use 'stage' for sandbox/testing or 'v1' for production.\").optional(),\n}).describe(\"Request model for retrieving render job status.\");\nconst ShotstackGetRenderStatus_EditDataSchema: z.ZodTypeAny = z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Deprecated - formerly specified disk storage type; now handled automatically with no effect when set.\").nullable().optional(),\n merge: z.array(z.record(z.string(), z.unknown())).describe(\"An array of key/value pairs that provides an easy way to create templates with placeholders for dynamic content replacement.\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Specifies the rendered output format and destination settings.\"),\n callback: z.string().describe(\"Optional webhook URL for receiving status notifications when rendering completes, fails, or when videos are sent to output destinations.\").nullable().optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"An edit defines the arrangement of a video on a timeline, an audio edit or an image design.\"),\n}).describe(\"Timeline and output rendering data (Edit schema).\");\nconst ShotstackGetRenderStatus_RenderResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the render task in UUID format.\"),\n url: z.string().describe(\"The URL of the final asset (temporary, 24-hour validity).\").nullable().optional(),\n data: ShotstackGetRenderStatus_EditDataSchema.nullable().optional(),\n plan: z.string().describe(\"Customer subscription plan type.\").nullable().optional(),\n error: z.string().describe(\"An error message, only displayed if an error occurred.\").nullable().optional(),\n owner: z.string().describe(\"The owner ID of the render task.\"),\n poster: z.string().describe(\"The URL of the poster image if requested.\").nullable().optional(),\n status: z.enum([\"queued\", \"fetching\", \"preprocessing\", \"rendering\", \"saving\", \"done\", \"failed\"]).describe(\"The status of the render task.\"),\n created: z.string().describe(\"The time the render task was initially queued.\").nullable().optional(),\n updated: z.string().describe(\"The time the render status was last updated.\").nullable().optional(),\n duration: z.number().describe(\"The output video or audio length in seconds.\").nullable().optional(),\n thumbnail: z.string().describe(\"The URL of the thumbnail image if requested.\").nullable().optional(),\n renderTime: z.number().describe(\"The time taken to render the asset in milliseconds.\").nullable().optional(),\n}).describe(\"Render job details and status information.\");\nexport const ShotstackGetRenderStatusOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"OK or an error message.\"),\n success: z.boolean().describe(\"true if status available, else false.\"),\n response: ShotstackGetRenderStatus_RenderResponseDataSchema.nullable(),\n}).describe(\"Response model containing render job status and details.\");\n\nexport const shotstackGetRenderStatus = action(\"SHOTSTACK_GET_RENDER_STATUS\", {\n slug: \"shotstack-get-render-status\",\n name: \"Get Render Status\",\n description: \"Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_RENDER_VIDEO.\",\n input: ShotstackGetRenderStatusInput,\n output: ShotstackGetRenderStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC/J,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACpJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAiB;EAAa;EAAU;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACrE,UAAU,kDAAkD,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-render-status.d.ts
|
|
4
|
+
declare const ShotstackGetRenderStatusInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetRenderStatusOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetRenderStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetRenderStatus };
|
|
9
|
+
//# sourceMappingURL=get-render-status.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-status.d.cts","names":[],"sources":["../../src/actions/get-render-status.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKgB;AAAA,cAuBjD,8BAAA,EAAgC,CAAA,CAAE,UAIwB;AAAA,cAE1D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-render-status.d.ts
|
|
4
|
+
declare const ShotstackGetRenderStatusInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShotstackGetRenderStatusOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shotstackGetRenderStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shotstackGetRenderStatus };
|
|
9
|
+
//# sourceMappingURL=get-render-status.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-render-status.d.mts","names":[],"sources":["../../src/actions/get-render-status.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKgB;AAAA,cAuBjD,8BAAA,EAAgC,CAAA,CAAE,UAIwB;AAAA,cAE1D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|