@keystrokehq/shotstack 0.1.2 → 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/actions/create-template.cjs +2 -2
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +2 -2
- package/dist/actions/create-template.d.mts +2 -2
- package/dist/actions/create-template.mjs +2 -2
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-template2.cjs +3 -3
- package/dist/actions/create-template2.cjs.map +1 -1
- package/dist/actions/create-template2.d.cts +4 -3
- package/dist/actions/create-template2.d.mts +4 -3
- package/dist/actions/create-template2.mjs +3 -3
- package/dist/actions/create-template2.mjs.map +1 -1
- package/dist/actions/delete-ingested-media.cjs +1 -1
- package/dist/actions/delete-ingested-media.cjs.map +1 -1
- package/dist/actions/delete-ingested-media.d.cts +1 -1
- package/dist/actions/delete-ingested-media.d.mts +1 -1
- package/dist/actions/delete-ingested-media.mjs +1 -1
- package/dist/actions/delete-ingested-media.mjs.map +1 -1
- package/dist/actions/delete-template2.cjs +1 -1
- package/dist/actions/delete-template2.cjs.map +1 -1
- package/dist/actions/delete-template2.d.cts +1 -1
- package/dist/actions/delete-template2.d.mts +1 -1
- package/dist/actions/delete-template2.mjs +1 -1
- package/dist/actions/delete-template2.mjs.map +1 -1
- package/dist/actions/delete-workflow.cjs +1 -1
- package/dist/actions/delete-workflow.cjs.map +1 -1
- package/dist/actions/delete-workflow.d.cts +1 -1
- package/dist/actions/delete-workflow.d.mts +1 -1
- package/dist/actions/delete-workflow.mjs +1 -1
- package/dist/actions/delete-workflow.mjs.map +1 -1
- package/dist/actions/fetch-source.cjs +2 -2
- package/dist/actions/fetch-source.cjs.map +1 -1
- package/dist/actions/fetch-source.d.cts +2 -2
- package/dist/actions/fetch-source.d.mts +2 -2
- package/dist/actions/fetch-source.mjs +2 -2
- 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 +3 -3
- package/dist/actions/get-assets-render.d.mts +3 -3
- 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 +5 -5
- package/dist/actions/get-assets.d.mts +5 -5
- package/dist/actions/get-assets.mjs +3 -3
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-render-callback.cjs +2 -2
- package/dist/actions/get-render-callback.cjs.map +1 -1
- package/dist/actions/get-render-callback.d.cts +2 -2
- package/dist/actions/get-render-callback.d.mts +2 -2
- package/dist/actions/get-render-callback.mjs +2 -2
- package/dist/actions/get-render-callback.mjs.map +1 -1
- package/dist/actions/get-render-status.cjs +3 -3
- package/dist/actions/get-render-status.cjs.map +1 -1
- package/dist/actions/get-render-status.d.cts +3 -3
- package/dist/actions/get-render-status.d.mts +3 -3
- package/dist/actions/get-render-status.mjs +3 -3
- package/dist/actions/get-render-status.mjs.map +1 -1
- package/dist/actions/get-source.cjs +2 -2
- package/dist/actions/get-source.cjs.map +1 -1
- package/dist/actions/get-source.d.cts +2 -2
- package/dist/actions/get-source.d.mts +2 -2
- package/dist/actions/get-source.mjs +2 -2
- package/dist/actions/get-source.mjs.map +1 -1
- package/dist/actions/get-template-by-version.cjs +3 -3
- package/dist/actions/get-template-by-version.cjs.map +1 -1
- package/dist/actions/get-template-by-version.d.cts +3 -3
- package/dist/actions/get-template-by-version.d.mts +3 -3
- package/dist/actions/get-template-by-version.mjs +3 -3
- package/dist/actions/get-template-by-version.mjs.map +1 -1
- package/dist/actions/get-template.cjs +3 -3
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.mjs +3 -3
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-upload-url.cjs +3 -3
- package/dist/actions/get-upload-url.cjs.map +1 -1
- package/dist/actions/get-upload-url.d.cts +3 -3
- package/dist/actions/get-upload-url.d.mts +3 -3
- package/dist/actions/get-upload-url.mjs +3 -3
- package/dist/actions/get-upload-url.mjs.map +1 -1
- package/dist/actions/inspect-media.cjs +1 -1
- package/dist/actions/inspect-media.cjs.map +1 -1
- package/dist/actions/inspect-media.d.cts +1 -1
- package/dist/actions/inspect-media.d.mts +1 -1
- package/dist/actions/inspect-media.mjs +1 -1
- package/dist/actions/inspect-media.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +5 -5
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +5 -5
- package/dist/actions/list-sources.d.mts +5 -5
- package/dist/actions/list-sources.mjs +5 -5
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-sources2.cjs +5 -5
- package/dist/actions/list-sources2.cjs.map +1 -1
- package/dist/actions/list-sources2.d.cts +5 -5
- package/dist/actions/list-sources2.d.mts +5 -5
- package/dist/actions/list-sources2.mjs +5 -5
- package/dist/actions/list-sources2.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +3 -3
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -3
- package/dist/actions/list-templates.d.mts +3 -3
- package/dist/actions/list-templates.mjs +3 -3
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-templates2.cjs +3 -3
- package/dist/actions/list-templates2.cjs.map +1 -1
- package/dist/actions/list-templates2.d.cts +3 -3
- package/dist/actions/list-templates2.d.mts +3 -3
- package/dist/actions/list-templates2.mjs +3 -3
- package/dist/actions/list-templates2.mjs.map +1 -1
- package/dist/actions/post-upload.cjs +3 -3
- package/dist/actions/post-upload.cjs.map +1 -1
- package/dist/actions/post-upload.d.cts +3 -3
- package/dist/actions/post-upload.d.mts +3 -3
- package/dist/actions/post-upload.mjs +3 -3
- package/dist/actions/post-upload.mjs.map +1 -1
- package/dist/actions/render-video.cjs +2 -2
- package/dist/actions/render-video.cjs.map +1 -1
- package/dist/actions/render-video.d.cts +2 -2
- package/dist/actions/render-video.d.mts +2 -2
- package/dist/actions/render-video.mjs +2 -2
- 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 +5 -4
- package/dist/actions/transfer-asset.d.cts.map +1 -1
- package/dist/actions/transfer-asset.d.mts +5 -4
- 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 +2 -2
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +2 -2
- package/dist/actions/update-template.d.mts +2 -2
- package/dist/actions/update-template.mjs +2 -2
- package/dist/actions/update-template.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8,12 +8,12 @@ const ShotstackCreateTemplateInput = zod.z.object({
|
|
|
8
8
|
timeline: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Timeline definition describing the video sequence and all assets. Must conform to Shotstack's JSON schema (valid tracks, clips, asset types); malformed structures cause rejection. All asset source URLs must be publicly reachable and non-expiring."),
|
|
9
9
|
description: zod.z.string().describe("A short description of the template.").optional()
|
|
10
10
|
});
|
|
11
|
-
const ShotstackCreateTemplate_TemplateResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The template id that was created.").nullable() });
|
|
11
|
+
const ShotstackCreateTemplate_TemplateResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The template id that was created.").nullable() }).passthrough();
|
|
12
12
|
const ShotstackCreateTemplateOutput = zod.z.object({
|
|
13
13
|
message: zod.z.string().describe("A message indicating the success or failure of the operation.").nullable(),
|
|
14
14
|
success: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
15
15
|
response: ShotstackCreateTemplate_TemplateResponseDataSchema.nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const shotstackCreateTemplate = require_action.action("SHOTSTACK_CREATE_TEMPLATE", {
|
|
18
18
|
slug: "shotstack-create-template",
|
|
19
19
|
name: "Create Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplateInput = z.object({\n name: z.string().describe(\"A name for the template (required by the API).\"),\n output: z.record(z.string(), z.unknown()).describe(\"Output settings for video generation. Mismatched `format`, `aspectRatio`, or `resolution` relative to source media dimensions can cause letterboxing or playback issues.\"),\n template: z.boolean().default(true).describe(\"Flag to save as template. Defaults to true.\").optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"Timeline definition describing the video sequence and all assets. Must conform to Shotstack's JSON schema (valid tracks, clips, asset types); malformed structures cause rejection. All asset source URLs must be publicly reachable and non-expiring.\"),\n description: z.string().describe(\"A short description of the template.\").optional(),\n});\nconst ShotstackCreateTemplate_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The template id that was created.\").nullable(),\n});\nexport const ShotstackCreateTemplateOutput = z.object({\n message: z.string().describe(\"A message indicating the success or failure of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n response: ShotstackCreateTemplate_TemplateResponseDataSchema.nullable(),\n});\n\nexport const shotstackCreateTemplate = action(\"SHOTSTACK_CREATE_TEMPLATE\", {\n slug: \"shotstack-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new template for video editing. Use when you want to save a reusable timeline configuration as a template. Template changes do not retroactively affect past renders.\",\n input: ShotstackCreateTemplateInput,\n output: ShotstackCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K;CAC7N,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wPAAwP;CAC7S,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxE,CAAC;
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplateInput = z.object({\n name: z.string().describe(\"A name for the template (required by the API).\"),\n output: z.record(z.string(), z.unknown()).describe(\"Output settings for video generation. Mismatched `format`, `aspectRatio`, or `resolution` relative to source media dimensions can cause letterboxing or playback issues.\"),\n template: z.boolean().default(true).describe(\"Flag to save as template. Defaults to true.\").optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"Timeline definition describing the video sequence and all assets. Must conform to Shotstack's JSON schema (valid tracks, clips, asset types); malformed structures cause rejection. All asset source URLs must be publicly reachable and non-expiring.\"),\n description: z.string().describe(\"A short description of the template.\").optional(),\n});\nconst ShotstackCreateTemplate_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The template id that was created.\").nullable(),\n}).passthrough();\nexport const ShotstackCreateTemplateOutput = z.object({\n message: z.string().describe(\"A message indicating the success or failure of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n response: ShotstackCreateTemplate_TemplateResponseDataSchema.nullable(),\n}).passthrough();\n\nexport const shotstackCreateTemplate = action(\"SHOTSTACK_CREATE_TEMPLATE\", {\n slug: \"shotstack-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new template for video editing. Use when you want to save a reusable timeline configuration as a template. Template changes do not retroactively affect past renders.\",\n input: ShotstackCreateTemplateInput,\n output: ShotstackCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K;CAC7N,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wPAAwP;CAC7S,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAU,mDAAmD,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const ShotstackCreateTemplateOutput: z.ZodObject<{
|
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
response: z.ZodNullable<z.ZodObject<{
|
|
15
15
|
id: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shotstackCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
name: string;
|
|
20
20
|
output: Record<string, unknown>;
|
|
@@ -13,8 +13,8 @@ declare const ShotstackCreateTemplateOutput: z.ZodObject<{
|
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
response: z.ZodNullable<z.ZodObject<{
|
|
15
15
|
id: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shotstackCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
name: string;
|
|
20
20
|
output: Record<string, unknown>;
|
|
@@ -8,7 +8,7 @@ const ShotstackCreateTemplateInput = z.object({
|
|
|
8
8
|
timeline: z.record(z.string(), z.unknown()).describe("Timeline definition describing the video sequence and all assets. Must conform to Shotstack's JSON schema (valid tracks, clips, asset types); malformed structures cause rejection. All asset source URLs must be publicly reachable and non-expiring."),
|
|
9
9
|
description: z.string().describe("A short description of the template.").optional()
|
|
10
10
|
});
|
|
11
|
-
const ShotstackCreateTemplate_TemplateResponseDataSchema = z.object({ id: z.string().describe("The template id that was created.").nullable() });
|
|
11
|
+
const ShotstackCreateTemplate_TemplateResponseDataSchema = z.object({ id: z.string().describe("The template id that was created.").nullable() }).passthrough();
|
|
12
12
|
const shotstackCreateTemplate = action("SHOTSTACK_CREATE_TEMPLATE", {
|
|
13
13
|
slug: "shotstack-create-template",
|
|
14
14
|
name: "Create Template",
|
|
@@ -18,7 +18,7 @@ const shotstackCreateTemplate = action("SHOTSTACK_CREATE_TEMPLATE", {
|
|
|
18
18
|
message: z.string().describe("A message indicating the success or failure of the operation.").nullable(),
|
|
19
19
|
success: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
20
20
|
response: ShotstackCreateTemplate_TemplateResponseDataSchema.nullable()
|
|
21
|
-
})
|
|
21
|
+
}).passthrough()
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { shotstackCreateTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplateInput = z.object({\n name: z.string().describe(\"A name for the template (required by the API).\"),\n output: z.record(z.string(), z.unknown()).describe(\"Output settings for video generation. Mismatched `format`, `aspectRatio`, or `resolution` relative to source media dimensions can cause letterboxing or playback issues.\"),\n template: z.boolean().default(true).describe(\"Flag to save as template. Defaults to true.\").optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"Timeline definition describing the video sequence and all assets. Must conform to Shotstack's JSON schema (valid tracks, clips, asset types); malformed structures cause rejection. All asset source URLs must be publicly reachable and non-expiring.\"),\n description: z.string().describe(\"A short description of the template.\").optional(),\n});\nconst ShotstackCreateTemplate_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The template id that was created.\").nullable(),\n});\nexport const ShotstackCreateTemplateOutput = z.object({\n message: z.string().describe(\"A message indicating the success or failure of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n response: ShotstackCreateTemplate_TemplateResponseDataSchema.nullable(),\n});\n\nexport const shotstackCreateTemplate = action(\"SHOTSTACK_CREATE_TEMPLATE\", {\n slug: \"shotstack-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new template for video editing. Use when you want to save a reusable timeline configuration as a template. Template changes do not retroactively affect past renders.\",\n input: ShotstackCreateTemplateInput,\n output: ShotstackCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K;CAC7N,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wPAAwP;CAC7S,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxE,CAAC;
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplateInput = z.object({\n name: z.string().describe(\"A name for the template (required by the API).\"),\n output: z.record(z.string(), z.unknown()).describe(\"Output settings for video generation. Mismatched `format`, `aspectRatio`, or `resolution` relative to source media dimensions can cause letterboxing or playback issues.\"),\n template: z.boolean().default(true).describe(\"Flag to save as template. Defaults to true.\").optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"Timeline definition describing the video sequence and all assets. Must conform to Shotstack's JSON schema (valid tracks, clips, asset types); malformed structures cause rejection. All asset source URLs must be publicly reachable and non-expiring.\"),\n description: z.string().describe(\"A short description of the template.\").optional(),\n});\nconst ShotstackCreateTemplate_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The template id that was created.\").nullable(),\n}).passthrough();\nexport const ShotstackCreateTemplateOutput = z.object({\n message: z.string().describe(\"A message indicating the success or failure of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n response: ShotstackCreateTemplate_TemplateResponseDataSchema.nullable(),\n}).passthrough();\n\nexport const shotstackCreateTemplate = action(\"SHOTSTACK_CREATE_TEMPLATE\", {\n slug: \"shotstack-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new template for video editing. Use when you want to save a reusable timeline configuration as a template. Template changes do not retroactively affect past renders.\",\n input: ShotstackCreateTemplateInput,\n output: ShotstackCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K;CAC7N,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wPAAwP;CAC7S,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,mDAAmD,SAAS;CACxE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ShotstackCreateTemplate2Input = zod.z.object({
|
|
|
9
9
|
merge: zod.z.array(zod.z.object({
|
|
10
10
|
find: zod.z.string().describe("The placeholder string to search for (e.g., '{{NAME}}')"),
|
|
11
11
|
replace: zod.z.string().describe("The value to replace the placeholder with")
|
|
12
|
-
}).describe("Merge field for template placeholders")).describe("Array of merge fields to replace placeholders in the template").optional(),
|
|
12
|
+
}).passthrough().describe("Merge field for template placeholders")).describe("Array of merge fields to replace placeholders in the template").optional(),
|
|
13
13
|
output: zod.z.object({
|
|
14
14
|
fps: zod.z.number().describe("Frames per second (e.g., 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60)").optional(),
|
|
15
15
|
mute: zod.z.boolean().describe("Mute audio output").optional(),
|
|
@@ -43,12 +43,12 @@ const ShotstackCreateTemplate2Input = zod.z.object({
|
|
|
43
43
|
const ShotstackCreateTemplate2_TemplateResponseDataSchema = zod.z.object({
|
|
44
44
|
id: zod.z.string().describe("The unique ID of the template in UUID format").nullable(),
|
|
45
45
|
message: zod.z.string().describe("Success response message or error details").nullable()
|
|
46
|
-
}).describe("Template response data");
|
|
46
|
+
}).passthrough().describe("Template response data");
|
|
47
47
|
const ShotstackCreateTemplate2Output = zod.z.object({
|
|
48
48
|
message: zod.z.string().describe("Status message: 'Created', 'Bad Request' or error message").nullable(),
|
|
49
49
|
success: zod.z.boolean().describe("True if successfully created, else false").nullable(),
|
|
50
50
|
response: ShotstackCreateTemplate2_TemplateResponseDataSchema.nullable()
|
|
51
|
-
}).describe("Response after template creation");
|
|
51
|
+
}).passthrough().describe("Response after template creation");
|
|
52
52
|
const shotstackCreateTemplate2 = require_action.action("SHOTSTACK_CREATE_TEMPLATE2", {
|
|
53
53
|
slug: "shotstack-create-template2",
|
|
54
54
|
name: "Create Template (v2)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template2.cjs","names":["z","action"],"sources":["../../src/actions/create-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplate2Input = z.object({\n name: z.string().describe(\"The template name\"),\n version: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"API environment version: 'stage' for sandbox testing or 'v1' for production\").optional(),\n template: z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Disk type for storing footage and assets (deprecated)\").optional(),\n merge: z.array(z.object({\n find: z.string().describe(\"The placeholder string to search for (e.g., '{{NAME}}')\"),\n replace: z.string().describe(\"The value to replace the placeholder with\"),\n}).describe(\"Merge field for template placeholders\")).describe(\"Array of merge fields to replace placeholders in the template\").optional(),\n output: z.object({\n fps: z.number().describe(\"Frames per second (e.g., 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60)\").optional(),\n mute: z.boolean().describe(\"Mute audio output\").optional(),\n size: z.record(z.string(), z.unknown()).describe(\"Custom output dimensions\").optional(),\n range: z.record(z.string(), z.unknown()).describe(\"Time range to render (start and length in seconds)\").optional(),\n format: z.string().describe(\"Output format (e.g., 'mp4', 'gif', 'jpg', 'png', 'bmp', 'mp3')\"),\n poster: z.record(z.string(), z.unknown()).describe(\"Poster image settings\").optional(),\n repeat: z.boolean().describe(\"Loop output for gif/mp4 formats\").optional(),\n quality: z.string().describe(\"Output quality level (e.g., 'low', 'medium', 'high')\").optional(),\n scaleTo: z.string().describe(\"Scale output to specific resolution\").optional(),\n thumbnail: z.record(z.string(), z.unknown()).describe(\"Thumbnail image settings\").optional(),\n resolution: z.string().describe(\"Output resolution (e.g., 'preview', 'mobile', 'sd', 'hd', '1080')\").optional(),\n aspectRatio: z.string().describe(\"Output aspect ratio (e.g., '16:9', '9:16', '1:1', '4:5', '4:3')\").optional(),\n destinations: z.array(z.record(z.string(), z.unknown())).describe(\"Array of destinations for the output (e.g., S3, Shotstack hosting)\").optional(),\n}).describe(\"Output settings for rendering the template\"),\n callback: z.string().describe(\"Optional webhook URL for status notifications when render completes or fails\").optional(),\n instance: z.enum([\"s1\", \"s2\", \"a1\"]).describe(\"Render instance type\").optional(),\n timeline: z.object({\n cache: z.boolean().describe(\"Enable caching for faster subsequent renders\").optional(),\n fonts: z.array(z.record(z.string(), z.unknown())).describe(\"Array of custom fonts to load for the timeline\").optional(),\n tracks: z.array(z.record(z.string(), z.unknown())).describe(\"Array of track objects containing clips. Each track represents a layer in the video.\"),\n background: z.string().describe(\"Hex color code for timeline background (e.g., '#000000')\").optional(),\n soundtrack: z.record(z.string(), z.unknown()).describe(\"Audio track to play as soundtrack\").optional(),\n}).describe(\"Timeline specification for the template, may include {{PLACEHOLDER}} merge fields\"),\n}).describe(\"Template definition containing timeline and output configuration\"),\n}).describe(\"Request to create a new template\");\nconst ShotstackCreateTemplate2_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the template in UUID format\").nullable(),\n message: z.string().describe(\"Success response message or error details\").nullable(),\n}).describe(\"Template response data\");\nexport const ShotstackCreateTemplate2Output = z.object({\n message: z.string().describe(\"Status message: 'Created', 'Bad Request' or error message\").nullable(),\n success: z.boolean().describe(\"True if successfully created, else false\").nullable(),\n response: ShotstackCreateTemplate2_TemplateResponseDataSchema.nullable(),\n}).describe(\"Response after template creation\");\n\nexport const shotstackCreateTemplate2 = action(\"SHOTSTACK_CREATE_TEMPLATE2\", {\n slug: \"shotstack-create-template2\",\n name: \"Create Template (v2)\",\n description: \"Tool to save an Edit as a re-usable template. Templates can be retrieved and modified before rendering. Use when you want to create a template with merge fields for dynamic content.\",\n input: ShotstackCreateTemplate2Input,\n output: ShotstackCreateTemplate2Output,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAASA,IAAAA,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO;EACnB,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5G,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;GACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC1E,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-template2.cjs","names":["z","action"],"sources":["../../src/actions/create-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplate2Input = z.object({\n name: z.string().describe(\"The template name\"),\n version: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"API environment version: 'stage' for sandbox testing or 'v1' for production\").optional(),\n template: z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Disk type for storing footage and assets (deprecated)\").optional(),\n merge: z.array(z.object({\n find: z.string().describe(\"The placeholder string to search for (e.g., '{{NAME}}')\"),\n replace: z.string().describe(\"The value to replace the placeholder with\"),\n}).passthrough().describe(\"Merge field for template placeholders\")).describe(\"Array of merge fields to replace placeholders in the template\").optional(),\n output: z.object({\n fps: z.number().describe(\"Frames per second (e.g., 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60)\").optional(),\n mute: z.boolean().describe(\"Mute audio output\").optional(),\n size: z.record(z.string(), z.unknown()).describe(\"Custom output dimensions\").optional(),\n range: z.record(z.string(), z.unknown()).describe(\"Time range to render (start and length in seconds)\").optional(),\n format: z.string().describe(\"Output format (e.g., 'mp4', 'gif', 'jpg', 'png', 'bmp', 'mp3')\"),\n poster: z.record(z.string(), z.unknown()).describe(\"Poster image settings\").optional(),\n repeat: z.boolean().describe(\"Loop output for gif/mp4 formats\").optional(),\n quality: z.string().describe(\"Output quality level (e.g., 'low', 'medium', 'high')\").optional(),\n scaleTo: z.string().describe(\"Scale output to specific resolution\").optional(),\n thumbnail: z.record(z.string(), z.unknown()).describe(\"Thumbnail image settings\").optional(),\n resolution: z.string().describe(\"Output resolution (e.g., 'preview', 'mobile', 'sd', 'hd', '1080')\").optional(),\n aspectRatio: z.string().describe(\"Output aspect ratio (e.g., '16:9', '9:16', '1:1', '4:5', '4:3')\").optional(),\n destinations: z.array(z.record(z.string(), z.unknown())).describe(\"Array of destinations for the output (e.g., S3, Shotstack hosting)\").optional(),\n}).describe(\"Output settings for rendering the template\"),\n callback: z.string().describe(\"Optional webhook URL for status notifications when render completes or fails\").optional(),\n instance: z.enum([\"s1\", \"s2\", \"a1\"]).describe(\"Render instance type\").optional(),\n timeline: z.object({\n cache: z.boolean().describe(\"Enable caching for faster subsequent renders\").optional(),\n fonts: z.array(z.record(z.string(), z.unknown())).describe(\"Array of custom fonts to load for the timeline\").optional(),\n tracks: z.array(z.record(z.string(), z.unknown())).describe(\"Array of track objects containing clips. Each track represents a layer in the video.\"),\n background: z.string().describe(\"Hex color code for timeline background (e.g., '#000000')\").optional(),\n soundtrack: z.record(z.string(), z.unknown()).describe(\"Audio track to play as soundtrack\").optional(),\n}).describe(\"Timeline specification for the template, may include {{PLACEHOLDER}} merge fields\"),\n}).describe(\"Template definition containing timeline and output configuration\"),\n}).describe(\"Request to create a new template\");\nconst ShotstackCreateTemplate2_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the template in UUID format\").nullable(),\n message: z.string().describe(\"Success response message or error details\").nullable(),\n}).passthrough().describe(\"Template response data\");\nexport const ShotstackCreateTemplate2Output = z.object({\n message: z.string().describe(\"Status message: 'Created', 'Bad Request' or error message\").nullable(),\n success: z.boolean().describe(\"True if successfully created, else false\").nullable(),\n response: ShotstackCreateTemplate2_TemplateResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response after template creation\");\n\nexport const shotstackCreateTemplate2 = action(\"SHOTSTACK_CREATE_TEMPLATE2\", {\n slug: \"shotstack-create-template2\",\n name: \"Create Template (v2)\",\n description: \"Tool to save an Edit as a re-usable template. Templates can be retrieved and modified before rendering. Use when you want to create a template with merge fields for dynamic content.\",\n input: ShotstackCreateTemplate2Input,\n output: ShotstackCreateTemplate2Output,\n});\n"],"mappings":"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"}
|
|
@@ -15,7 +15,7 @@ declare const ShotstackCreateTemplate2Input: z.ZodObject<{
|
|
|
15
15
|
merge: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
16
|
find: z.ZodString;
|
|
17
17
|
replace: z.ZodString;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
output: z.ZodObject<{
|
|
20
20
|
fps: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -52,8 +52,8 @@ declare const ShotstackCreateTemplate2Output: z.ZodObject<{
|
|
|
52
52
|
response: z.ZodNullable<z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
54
54
|
message: z.ZodNullable<z.ZodString>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const shotstackCreateTemplate2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
name: string;
|
|
59
59
|
template: {
|
|
@@ -81,6 +81,7 @@ declare const shotstackCreateTemplate2: import("@keystrokehq/action").WorkflowAc
|
|
|
81
81
|
};
|
|
82
82
|
disk?: "local" | "mount" | undefined;
|
|
83
83
|
merge?: {
|
|
84
|
+
[x: string]: unknown;
|
|
84
85
|
find: string;
|
|
85
86
|
replace: string;
|
|
86
87
|
}[] | undefined;
|
|
@@ -15,7 +15,7 @@ declare const ShotstackCreateTemplate2Input: z.ZodObject<{
|
|
|
15
15
|
merge: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
16
|
find: z.ZodString;
|
|
17
17
|
replace: z.ZodString;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
output: z.ZodObject<{
|
|
20
20
|
fps: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -52,8 +52,8 @@ declare const ShotstackCreateTemplate2Output: z.ZodObject<{
|
|
|
52
52
|
response: z.ZodNullable<z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
54
54
|
message: z.ZodNullable<z.ZodString>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const shotstackCreateTemplate2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
name: string;
|
|
59
59
|
template: {
|
|
@@ -81,6 +81,7 @@ declare const shotstackCreateTemplate2: import("@keystrokehq/action").WorkflowAc
|
|
|
81
81
|
};
|
|
82
82
|
disk?: "local" | "mount" | undefined;
|
|
83
83
|
merge?: {
|
|
84
|
+
[x: string]: unknown;
|
|
84
85
|
find: string;
|
|
85
86
|
replace: string;
|
|
86
87
|
}[] | undefined;
|
|
@@ -9,7 +9,7 @@ const ShotstackCreateTemplate2Input = z.object({
|
|
|
9
9
|
merge: z.array(z.object({
|
|
10
10
|
find: z.string().describe("The placeholder string to search for (e.g., '{{NAME}}')"),
|
|
11
11
|
replace: z.string().describe("The value to replace the placeholder with")
|
|
12
|
-
}).describe("Merge field for template placeholders")).describe("Array of merge fields to replace placeholders in the template").optional(),
|
|
12
|
+
}).passthrough().describe("Merge field for template placeholders")).describe("Array of merge fields to replace placeholders in the template").optional(),
|
|
13
13
|
output: z.object({
|
|
14
14
|
fps: z.number().describe("Frames per second (e.g., 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60)").optional(),
|
|
15
15
|
mute: z.boolean().describe("Mute audio output").optional(),
|
|
@@ -43,7 +43,7 @@ const ShotstackCreateTemplate2Input = z.object({
|
|
|
43
43
|
const ShotstackCreateTemplate2_TemplateResponseDataSchema = z.object({
|
|
44
44
|
id: z.string().describe("The unique ID of the template in UUID format").nullable(),
|
|
45
45
|
message: z.string().describe("Success response message or error details").nullable()
|
|
46
|
-
}).describe("Template response data");
|
|
46
|
+
}).passthrough().describe("Template response data");
|
|
47
47
|
const shotstackCreateTemplate2 = action("SHOTSTACK_CREATE_TEMPLATE2", {
|
|
48
48
|
slug: "shotstack-create-template2",
|
|
49
49
|
name: "Create Template (v2)",
|
|
@@ -53,7 +53,7 @@ const shotstackCreateTemplate2 = action("SHOTSTACK_CREATE_TEMPLATE2", {
|
|
|
53
53
|
message: z.string().describe("Status message: 'Created', 'Bad Request' or error message").nullable(),
|
|
54
54
|
success: z.boolean().describe("True if successfully created, else false").nullable(),
|
|
55
55
|
response: ShotstackCreateTemplate2_TemplateResponseDataSchema.nullable()
|
|
56
|
-
}).describe("Response after template creation")
|
|
56
|
+
}).passthrough().describe("Response after template creation")
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
59
|
export { shotstackCreateTemplate2 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template2.mjs","names":[],"sources":["../../src/actions/create-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplate2Input = z.object({\n name: z.string().describe(\"The template name\"),\n version: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"API environment version: 'stage' for sandbox testing or 'v1' for production\").optional(),\n template: z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Disk type for storing footage and assets (deprecated)\").optional(),\n merge: z.array(z.object({\n find: z.string().describe(\"The placeholder string to search for (e.g., '{{NAME}}')\"),\n replace: z.string().describe(\"The value to replace the placeholder with\"),\n}).describe(\"Merge field for template placeholders\")).describe(\"Array of merge fields to replace placeholders in the template\").optional(),\n output: z.object({\n fps: z.number().describe(\"Frames per second (e.g., 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60)\").optional(),\n mute: z.boolean().describe(\"Mute audio output\").optional(),\n size: z.record(z.string(), z.unknown()).describe(\"Custom output dimensions\").optional(),\n range: z.record(z.string(), z.unknown()).describe(\"Time range to render (start and length in seconds)\").optional(),\n format: z.string().describe(\"Output format (e.g., 'mp4', 'gif', 'jpg', 'png', 'bmp', 'mp3')\"),\n poster: z.record(z.string(), z.unknown()).describe(\"Poster image settings\").optional(),\n repeat: z.boolean().describe(\"Loop output for gif/mp4 formats\").optional(),\n quality: z.string().describe(\"Output quality level (e.g., 'low', 'medium', 'high')\").optional(),\n scaleTo: z.string().describe(\"Scale output to specific resolution\").optional(),\n thumbnail: z.record(z.string(), z.unknown()).describe(\"Thumbnail image settings\").optional(),\n resolution: z.string().describe(\"Output resolution (e.g., 'preview', 'mobile', 'sd', 'hd', '1080')\").optional(),\n aspectRatio: z.string().describe(\"Output aspect ratio (e.g., '16:9', '9:16', '1:1', '4:5', '4:3')\").optional(),\n destinations: z.array(z.record(z.string(), z.unknown())).describe(\"Array of destinations for the output (e.g., S3, Shotstack hosting)\").optional(),\n}).describe(\"Output settings for rendering the template\"),\n callback: z.string().describe(\"Optional webhook URL for status notifications when render completes or fails\").optional(),\n instance: z.enum([\"s1\", \"s2\", \"a1\"]).describe(\"Render instance type\").optional(),\n timeline: z.object({\n cache: z.boolean().describe(\"Enable caching for faster subsequent renders\").optional(),\n fonts: z.array(z.record(z.string(), z.unknown())).describe(\"Array of custom fonts to load for the timeline\").optional(),\n tracks: z.array(z.record(z.string(), z.unknown())).describe(\"Array of track objects containing clips. Each track represents a layer in the video.\"),\n background: z.string().describe(\"Hex color code for timeline background (e.g., '#000000')\").optional(),\n soundtrack: z.record(z.string(), z.unknown()).describe(\"Audio track to play as soundtrack\").optional(),\n}).describe(\"Timeline specification for the template, may include {{PLACEHOLDER}} merge fields\"),\n}).describe(\"Template definition containing timeline and output configuration\"),\n}).describe(\"Request to create a new template\");\nconst ShotstackCreateTemplate2_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the template in UUID format\").nullable(),\n message: z.string().describe(\"Success response message or error details\").nullable(),\n}).describe(\"Template response data\");\nexport const ShotstackCreateTemplate2Output = z.object({\n message: z.string().describe(\"Status message: 'Created', 'Bad Request' or error message\").nullable(),\n success: z.boolean().describe(\"True if successfully created, else false\").nullable(),\n response: ShotstackCreateTemplate2_TemplateResponseDataSchema.nullable(),\n}).describe(\"Response after template creation\");\n\nexport const shotstackCreateTemplate2 = action(\"SHOTSTACK_CREATE_TEMPLATE2\", {\n slug: \"shotstack-create-template2\",\n name: \"Create Template (v2)\",\n description: \"Tool to save an Edit as a re-usable template. Templates can be retrieved and modified before rendering. Use when you want to create a template with merge fields for dynamic content.\",\n input: ShotstackCreateTemplate2Input,\n output: ShotstackCreateTemplate2Output,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnJ,UAAU,EAAE,OAAO;EACnB,MAAM,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5G,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;GACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC1E,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-template2.mjs","names":[],"sources":["../../src/actions/create-template2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackCreateTemplate2Input = z.object({\n name: z.string().describe(\"The template name\"),\n version: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"API environment version: 'stage' for sandbox testing or 'v1' for production\").optional(),\n template: z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Disk type for storing footage and assets (deprecated)\").optional(),\n merge: z.array(z.object({\n find: z.string().describe(\"The placeholder string to search for (e.g., '{{NAME}}')\"),\n replace: z.string().describe(\"The value to replace the placeholder with\"),\n}).passthrough().describe(\"Merge field for template placeholders\")).describe(\"Array of merge fields to replace placeholders in the template\").optional(),\n output: z.object({\n fps: z.number().describe(\"Frames per second (e.g., 12, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60)\").optional(),\n mute: z.boolean().describe(\"Mute audio output\").optional(),\n size: z.record(z.string(), z.unknown()).describe(\"Custom output dimensions\").optional(),\n range: z.record(z.string(), z.unknown()).describe(\"Time range to render (start and length in seconds)\").optional(),\n format: z.string().describe(\"Output format (e.g., 'mp4', 'gif', 'jpg', 'png', 'bmp', 'mp3')\"),\n poster: z.record(z.string(), z.unknown()).describe(\"Poster image settings\").optional(),\n repeat: z.boolean().describe(\"Loop output for gif/mp4 formats\").optional(),\n quality: z.string().describe(\"Output quality level (e.g., 'low', 'medium', 'high')\").optional(),\n scaleTo: z.string().describe(\"Scale output to specific resolution\").optional(),\n thumbnail: z.record(z.string(), z.unknown()).describe(\"Thumbnail image settings\").optional(),\n resolution: z.string().describe(\"Output resolution (e.g., 'preview', 'mobile', 'sd', 'hd', '1080')\").optional(),\n aspectRatio: z.string().describe(\"Output aspect ratio (e.g., '16:9', '9:16', '1:1', '4:5', '4:3')\").optional(),\n destinations: z.array(z.record(z.string(), z.unknown())).describe(\"Array of destinations for the output (e.g., S3, Shotstack hosting)\").optional(),\n}).describe(\"Output settings for rendering the template\"),\n callback: z.string().describe(\"Optional webhook URL for status notifications when render completes or fails\").optional(),\n instance: z.enum([\"s1\", \"s2\", \"a1\"]).describe(\"Render instance type\").optional(),\n timeline: z.object({\n cache: z.boolean().describe(\"Enable caching for faster subsequent renders\").optional(),\n fonts: z.array(z.record(z.string(), z.unknown())).describe(\"Array of custom fonts to load for the timeline\").optional(),\n tracks: z.array(z.record(z.string(), z.unknown())).describe(\"Array of track objects containing clips. Each track represents a layer in the video.\"),\n background: z.string().describe(\"Hex color code for timeline background (e.g., '#000000')\").optional(),\n soundtrack: z.record(z.string(), z.unknown()).describe(\"Audio track to play as soundtrack\").optional(),\n}).describe(\"Timeline specification for the template, may include {{PLACEHOLDER}} merge fields\"),\n}).describe(\"Template definition containing timeline and output configuration\"),\n}).describe(\"Request to create a new template\");\nconst ShotstackCreateTemplate2_TemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the template in UUID format\").nullable(),\n message: z.string().describe(\"Success response message or error details\").nullable(),\n}).passthrough().describe(\"Template response data\");\nexport const ShotstackCreateTemplate2Output = z.object({\n message: z.string().describe(\"Status message: 'Created', 'Bad Request' or error message\").nullable(),\n success: z.boolean().describe(\"True if successfully created, else false\").nullable(),\n response: ShotstackCreateTemplate2_TemplateResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response after template creation\");\n\nexport const shotstackCreateTemplate2 = action(\"SHOTSTACK_CREATE_TEMPLATE2\", {\n slug: \"shotstack-create-template2\",\n name: \"Create Template (v2)\",\n description: \"Tool to save an Edit as a re-usable template. Templates can be retrieved and modified before rendering. Use when you want to create a template with merge fields for dynamic content.\",\n input: ShotstackCreateTemplate2Input,\n output: ShotstackCreateTemplate2Output,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnJ,UAAU,EAAE,OAAO;EACnB,MAAM,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5G,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;GACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO;GACjB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;GACpH,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;GACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACtF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;GACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;GAC5F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GACrF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAC7E,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;GAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;GAC7G,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACnJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO;GACnB,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;GACrF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;GACtH,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;GAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;GACrG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvG,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC/F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAOlD,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,UAAU,oDAAoD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ShotstackDeleteIngestedMediaInput = zod.z.object({ id: zod.z.string().desc
|
|
|
5
5
|
const ShotstackDeleteIngestedMediaOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Confirmation message returned by the API after deletion.").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates if the deletion was successful.").nullable()
|
|
8
|
-
}).describe("Response schema returned after attempting to delete an ingested media asset.");
|
|
8
|
+
}).passthrough().describe("Response schema returned after attempting to delete an ingested media asset.");
|
|
9
9
|
const shotstackDeleteIngestedMedia = require_action.action("SHOTSTACK_DELETE_INGESTED_MEDIA", {
|
|
10
10
|
slug: "shotstack-delete-ingested-media",
|
|
11
11
|
name: "Delete Ingested Media",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-ingested-media.cjs","names":["z","action"],"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}).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":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACpF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,8EAA8E;
|
|
1
|
+
{"version":3,"file":"delete-ingested-media.cjs","names":["z","action"],"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":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACpF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ShotstackDeleteIngestedMediaInput: z.ZodObject<{
|
|
|
7
7
|
declare const ShotstackDeleteIngestedMediaOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shotstackDeleteIngestedMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const ShotstackDeleteIngestedMediaInput: z.ZodObject<{
|
|
|
7
7
|
declare const ShotstackDeleteIngestedMediaOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shotstackDeleteIngestedMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const shotstackDeleteIngestedMedia = action("SHOTSTACK_DELETE_INGESTED_MEDIA", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Confirmation message returned by the API after deletion.").nullable(),
|
|
10
10
|
success: z.boolean().describe("Indicates if the deletion was successful.").nullable()
|
|
11
|
-
}).describe("Response schema returned after attempting to delete an ingested media asset.")
|
|
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 = 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}).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,SAAS,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ const ShotstackDeleteTemplate2Input = zod.z.object({ id: zod.z.string().describe
|
|
|
5
5
|
const ShotstackDeleteTemplate2Output = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Informational message regarding the delete operation").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates if the template was deleted successfully").nullable()
|
|
8
|
-
}).describe("Response schema after deleting a Shotstack template.");
|
|
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 = 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}).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,SAAS,sDAAsD;
|
|
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"}
|
|
@@ -7,7 +7,7 @@ declare const ShotstackDeleteTemplate2Input: z.ZodObject<{
|
|
|
7
7
|
declare const ShotstackDeleteTemplate2Output: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shotstackDeleteTemplate2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const ShotstackDeleteTemplate2Input: z.ZodObject<{
|
|
|
7
7
|
declare const ShotstackDeleteTemplate2Output: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shotstackDeleteTemplate2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const shotstackDeleteTemplate2 = action("SHOTSTACK_DELETE_TEMPLATE2", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Informational message regarding the delete operation").nullable(),
|
|
10
10
|
success: z.boolean().describe("Indicates if the template was deleted successfully").nullable()
|
|
11
|
-
}).describe("Response schema after deleting a Shotstack template.")
|
|
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 = 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}).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,SAAS,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ const ShotstackDeleteWorkflowInput = zod.z.object({ workflowId: zod.z.string().d
|
|
|
5
5
|
const ShotstackDeleteWorkflowOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Informational message about the delete operation").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("True if the workflow was deleted successfully").nullable()
|
|
8
|
-
}).describe("Response schema for deleting a Shotstack workflow.");
|
|
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 = 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}).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,SAAS,oDAAoD;
|
|
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"}
|
|
@@ -7,7 +7,7 @@ declare const ShotstackDeleteWorkflowInput: z.ZodObject<{
|
|
|
7
7
|
declare const ShotstackDeleteWorkflowOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shotstackDeleteWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
workflowId: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const ShotstackDeleteWorkflowInput: z.ZodObject<{
|
|
|
7
7
|
declare const ShotstackDeleteWorkflowOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shotstackDeleteWorkflow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
workflowId: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const shotstackDeleteWorkflow = action("SHOTSTACK_DELETE_WORKFLOW", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Informational message about the delete operation").nullable(),
|
|
10
10
|
success: z.boolean().describe("True if the workflow was deleted successfully").nullable()
|
|
11
|
-
}).describe("Response schema for deleting a Shotstack workflow.")
|
|
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 = 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}).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,SAAS,
|
|
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"}
|
|
@@ -5,8 +5,8 @@ const ShotstackFetchSourceInput = zod.z.object({ url: zod.z.string().describe("P
|
|
|
5
5
|
const ShotstackFetchSource_SourceDataSchema = zod.z.object({
|
|
6
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
7
|
type: zod.z.string().describe("The resource type, always 'source'").nullable()
|
|
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.");
|
|
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 = 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}).describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = 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,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,SAAS,sDAAsD;
|
|
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"}
|
|
@@ -8,8 +8,8 @@ declare const ShotstackFetchSourceOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
url: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,8 +8,8 @@ declare const ShotstackFetchSourceOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
url: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,13 +5,13 @@ const ShotstackFetchSourceInput = z.object({ url: z.string().describe("Publicly
|
|
|
5
5
|
const ShotstackFetchSource_SourceDataSchema = z.object({
|
|
6
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
7
|
type: z.string().describe("The resource type, always 'source'").nullable()
|
|
8
|
-
}).describe("Data object containing the source asset information.");
|
|
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 = 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}).describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = 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,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,SAAS,sDAAsD;
|
|
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",
|