@keystrokehq/shotstack 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -7
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -7
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-template2.cjs +1 -0
- package/dist/actions/create-template2.cjs.map +1 -1
- package/dist/actions/create-template2.d.cts +4 -37
- package/dist/actions/create-template2.d.cts.map +1 -1
- package/dist/actions/create-template2.d.mts +4 -37
- package/dist/actions/create-template2.d.mts.map +1 -1
- package/dist/actions/create-template2.mjs +1 -0
- package/dist/actions/create-template2.mjs.map +1 -1
- package/dist/actions/delete-ingested-media.cjs +1 -0
- package/dist/actions/delete-ingested-media.cjs.map +1 -1
- package/dist/actions/delete-ingested-media.d.cts +3 -3
- package/dist/actions/delete-ingested-media.d.cts.map +1 -1
- package/dist/actions/delete-ingested-media.d.mts +3 -3
- package/dist/actions/delete-ingested-media.d.mts.map +1 -1
- package/dist/actions/delete-ingested-media.mjs +1 -0
- package/dist/actions/delete-ingested-media.mjs.map +1 -1
- package/dist/actions/delete-template2.cjs +1 -0
- package/dist/actions/delete-template2.cjs.map +1 -1
- package/dist/actions/delete-template2.d.cts +3 -3
- package/dist/actions/delete-template2.d.cts.map +1 -1
- package/dist/actions/delete-template2.d.mts +3 -3
- package/dist/actions/delete-template2.d.mts.map +1 -1
- package/dist/actions/delete-template2.mjs +1 -0
- package/dist/actions/delete-template2.mjs.map +1 -1
- package/dist/actions/delete-workflow.cjs +1 -0
- package/dist/actions/delete-workflow.cjs.map +1 -1
- package/dist/actions/delete-workflow.d.cts +3 -3
- package/dist/actions/delete-workflow.d.cts.map +1 -1
- package/dist/actions/delete-workflow.d.mts +3 -3
- package/dist/actions/delete-workflow.d.mts.map +1 -1
- package/dist/actions/delete-workflow.mjs +1 -0
- package/dist/actions/delete-workflow.mjs.map +1 -1
- package/dist/actions/fetch-source.cjs +1 -0
- package/dist/actions/fetch-source.cjs.map +1 -1
- package/dist/actions/fetch-source.d.cts +3 -3
- package/dist/actions/fetch-source.d.cts.map +1 -1
- package/dist/actions/fetch-source.d.mts +3 -3
- package/dist/actions/fetch-source.d.mts.map +1 -1
- package/dist/actions/fetch-source.mjs +1 -0
- package/dist/actions/fetch-source.mjs.map +1 -1
- package/dist/actions/get-assets-render.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/get-assets-render.d.mts +3 -3
- package/dist/actions/get-assets-render.d.mts.map +1 -1
- package/dist/actions/get-assets-render.mjs +1 -0
- package/dist/actions/get-assets-render.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +1 -0
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +3 -3
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +3 -3
- package/dist/actions/get-assets.d.mts.map +1 -1
- package/dist/actions/get-assets.mjs +1 -0
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-render-callback.cjs +1 -0
- package/dist/actions/get-render-callback.cjs.map +1 -1
- package/dist/actions/get-render-callback.d.cts +3 -3
- package/dist/actions/get-render-callback.d.cts.map +1 -1
- package/dist/actions/get-render-callback.d.mts +3 -3
- package/dist/actions/get-render-callback.d.mts.map +1 -1
- package/dist/actions/get-render-callback.mjs +1 -0
- package/dist/actions/get-render-callback.mjs.map +1 -1
- package/dist/actions/get-render-status.cjs +1 -0
- package/dist/actions/get-render-status.cjs.map +1 -1
- package/dist/actions/get-render-status.d.cts +3 -6
- package/dist/actions/get-render-status.d.cts.map +1 -1
- package/dist/actions/get-render-status.d.mts +3 -6
- package/dist/actions/get-render-status.d.mts.map +1 -1
- package/dist/actions/get-render-status.mjs +1 -0
- package/dist/actions/get-render-status.mjs.map +1 -1
- package/dist/actions/get-source.cjs +1 -0
- package/dist/actions/get-source.cjs.map +1 -1
- package/dist/actions/get-source.d.cts +3 -3
- package/dist/actions/get-source.d.cts.map +1 -1
- package/dist/actions/get-source.d.mts +3 -3
- package/dist/actions/get-source.d.mts.map +1 -1
- package/dist/actions/get-source.mjs +1 -0
- package/dist/actions/get-source.mjs.map +1 -1
- package/dist/actions/get-template-by-version.cjs +1 -0
- package/dist/actions/get-template-by-version.cjs.map +1 -1
- package/dist/actions/get-template-by-version.d.cts +3 -4
- package/dist/actions/get-template-by-version.d.cts.map +1 -1
- package/dist/actions/get-template-by-version.d.mts +3 -4
- package/dist/actions/get-template-by-version.d.mts.map +1 -1
- package/dist/actions/get-template-by-version.mjs +1 -0
- package/dist/actions/get-template-by-version.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-upload-url.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/get-upload-url.d.mts +3 -3
- package/dist/actions/get-upload-url.d.mts.map +1 -1
- package/dist/actions/get-upload-url.mjs +1 -0
- package/dist/actions/get-upload-url.mjs.map +1 -1
- package/dist/actions/inspect-media.cjs +1 -0
- package/dist/actions/inspect-media.cjs.map +1 -1
- package/dist/actions/inspect-media.d.cts +3 -3
- package/dist/actions/inspect-media.d.cts.map +1 -1
- package/dist/actions/inspect-media.d.mts +3 -3
- package/dist/actions/inspect-media.d.mts.map +1 -1
- package/dist/actions/inspect-media.mjs +1 -0
- package/dist/actions/inspect-media.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +1 -0
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +3 -5
- package/dist/actions/list-sources.d.cts.map +1 -1
- package/dist/actions/list-sources.d.mts +3 -5
- package/dist/actions/list-sources.d.mts.map +1 -1
- package/dist/actions/list-sources.mjs +1 -0
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-sources2.cjs +1 -0
- package/dist/actions/list-sources2.cjs.map +1 -1
- package/dist/actions/list-sources2.d.cts +4 -7
- package/dist/actions/list-sources2.d.cts.map +1 -1
- package/dist/actions/list-sources2.d.mts +4 -7
- package/dist/actions/list-sources2.d.mts.map +1 -1
- package/dist/actions/list-sources2.mjs +1 -0
- package/dist/actions/list-sources2.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -1
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -1
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-templates2.cjs +1 -0
- package/dist/actions/list-templates2.cjs.map +1 -1
- package/dist/actions/list-templates2.d.cts +4 -4
- package/dist/actions/list-templates2.d.cts.map +1 -1
- package/dist/actions/list-templates2.d.mts +4 -4
- package/dist/actions/list-templates2.d.mts.map +1 -1
- package/dist/actions/list-templates2.mjs +1 -0
- package/dist/actions/list-templates2.mjs.map +1 -1
- package/dist/actions/post-upload.cjs +1 -0
- package/dist/actions/post-upload.cjs.map +1 -1
- package/dist/actions/post-upload.d.cts +3 -1
- package/dist/actions/post-upload.d.cts.map +1 -1
- package/dist/actions/post-upload.d.mts +3 -1
- package/dist/actions/post-upload.d.mts.map +1 -1
- package/dist/actions/post-upload.mjs +1 -0
- package/dist/actions/post-upload.mjs.map +1 -1
- package/dist/actions/render-video.cjs +1 -0
- package/dist/actions/render-video.cjs.map +1 -1
- package/dist/actions/render-video.d.cts +3 -5
- package/dist/actions/render-video.d.cts.map +1 -1
- package/dist/actions/render-video.d.mts +3 -5
- package/dist/actions/render-video.d.mts.map +1 -1
- package/dist/actions/render-video.mjs +1 -0
- package/dist/actions/render-video.mjs.map +1 -1
- package/dist/actions/transfer-asset.cjs +1 -0
- package/dist/actions/transfer-asset.cjs.map +1 -1
- package/dist/actions/transfer-asset.d.cts +3 -10
- package/dist/actions/transfer-asset.d.cts.map +1 -1
- package/dist/actions/transfer-asset.d.mts +3 -10
- package/dist/actions/transfer-asset.d.mts.map +1 -1
- package/dist/actions/transfer-asset.mjs +1 -0
- package/dist/actions/transfer-asset.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -5
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -5
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.cjs","names":["z","action"],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListSourcesInput = z.object({\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Parameters to paginate and filter list of sources. Omit to use API defaults.\");\nconst ShotstackListSources_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSourcesOutput = z.object({\n data: z.array(ShotstackListSources_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources_PaginationMetaSchema.nullable(),\n links: ShotstackListSources_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources = action(\"SHOTSTACK_LIST_SOURCES\", {\n slug: \"shotstack-list-sources\",\n name: \"List Sources\",\n description: \"Tool to list all source assets. Use when you need to retrieve source entries with optional pagination.\",\n input: ShotstackListSourcesInput,\n output: ShotstackListSourcesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.cjs","names":["z","action"],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListSourcesInput = z.object({\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Parameters to paginate and filter list of sources. Omit to use API defaults.\");\nconst ShotstackListSources_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSourcesOutput = z.object({\n data: z.array(ShotstackListSources_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources_PaginationMetaSchema.nullable(),\n links: ShotstackListSources_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources: AppAction<\n typeof ShotstackListSourcesInput,\n typeof ShotstackListSourcesOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_SOURCES\", {\n slug: \"shotstack-list-sources\",\n name: \"List Sources\",\n description: \"Tool to list all source assets. Use when you need to retrieve source entries with optional pagination.\",\n input: ShotstackListSourcesInput,\n output: ShotstackListSourcesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAA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,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shotstack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sources.d.ts
|
|
@@ -34,11 +36,7 @@ declare const ShotstackListSourcesOutput: z.ZodObject<{
|
|
|
34
36
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const shotstackListSources:
|
|
38
|
-
index?: string | undefined;
|
|
39
|
-
limit?: number | undefined;
|
|
40
|
-
offset?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const shotstackListSources: AppAction<typeof ShotstackListSourcesInput, typeof ShotstackListSourcesOutput, typeof shotstack.credential>;
|
|
42
40
|
//#endregion
|
|
43
41
|
export { shotstackListSources };
|
|
44
42
|
//# sourceMappingURL=list-sources.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.d.cts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.d.cts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shotstack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sources.d.ts
|
|
@@ -34,11 +36,7 @@ declare const ShotstackListSourcesOutput: z.ZodObject<{
|
|
|
34
36
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const shotstackListSources:
|
|
38
|
-
index?: string | undefined;
|
|
39
|
-
limit?: number | undefined;
|
|
40
|
-
offset?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const shotstackListSources: AppAction<typeof ShotstackListSourcesInput, typeof ShotstackListSourcesOutput, typeof shotstack.credential>;
|
|
42
40
|
//#endregion
|
|
43
41
|
export { shotstackListSources };
|
|
44
42
|
//# sourceMappingURL=list-sources.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.d.mts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.d.mts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.mjs","names":[],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListSourcesInput = z.object({\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Parameters to paginate and filter list of sources. Omit to use API defaults.\");\nconst ShotstackListSources_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSourcesOutput = z.object({\n data: z.array(ShotstackListSources_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources_PaginationMetaSchema.nullable(),\n links: ShotstackListSources_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources = action(\"SHOTSTACK_LIST_SOURCES\", {\n slug: \"shotstack-list-sources\",\n name: \"List Sources\",\n description: \"Tool to list all source assets. Use when you need to retrieve source entries with optional pagination.\",\n input: ShotstackListSourcesInput,\n output: ShotstackListSourcesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.mjs","names":[],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListSourcesInput = z.object({\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Parameters to paginate and filter list of sources. Omit to use API defaults.\");\nconst ShotstackListSources_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSourcesOutput = z.object({\n data: z.array(ShotstackListSources_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources_PaginationMetaSchema.nullable(),\n links: ShotstackListSources_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources: AppAction<\n typeof ShotstackListSourcesInput,\n typeof ShotstackListSourcesOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_SOURCES\", {\n slug: \"shotstack-list-sources\",\n name: \"List Sources\",\n description: \"Tool to list all source assets. Use when you need to retrieve source entries with optional pagination.\",\n input: ShotstackListSourcesInput,\n output: ShotstackListSourcesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,8CAA8C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AA+B;AACzD,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,wBAAwB;EACtF,MAAM,0CAA0C,SAAS;EACzD,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources2.cjs","names":["z","action"],"sources":["../../src/actions/list-sources2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListSources2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).describe(\"Environment: 'stage' for sandbox testing or 'v1' for production\"),\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Request parameters for listing source assets with environment selection.\");\nconst ShotstackListSources2_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable().optional(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable().optional(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources2_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources2_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources2_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources2_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSources2Output = z.object({\n data: z.array(ShotstackListSources2_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources2_PaginationMetaSchema.nullable().optional(),\n links: ShotstackListSources2_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources2 = action(\"SHOTSTACK_LIST_SOURCES2\", {\n slug: \"shotstack-list-sources2\",\n name: \"List Sources (with Environment)\",\n description: \"Tool to list all ingested source files with environment selection. Use when you need to retrieve sources from stage (sandbox) or v1 (production) environment with optional pagination.\",\n input: ShotstackListSources2Input,\n output: ShotstackListSources2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources2.cjs","names":["z","action"],"sources":["../../src/actions/list-sources2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListSources2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).describe(\"Environment: 'stage' for sandbox testing or 'v1' for production\"),\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Request parameters for listing source assets with environment selection.\");\nconst ShotstackListSources2_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable().optional(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable().optional(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources2_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources2_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources2_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources2_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSources2Output = z.object({\n data: z.array(ShotstackListSources2_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources2_PaginationMetaSchema.nullable().optional(),\n links: ShotstackListSources2_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources2: AppAction<\n typeof ShotstackListSources2Input,\n typeof ShotstackListSources2Output,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_SOURCES2\", {\n slug: \"shotstack-list-sources2\",\n name: \"List Sources (with Environment)\",\n description: \"Tool to list all ingested source files with environment selection. Use when you need to retrieve sources from stage (sandbox) or v1 (production) environment with optional pagination.\",\n input: ShotstackListSources2Input,\n output: ShotstackListSources2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,SAAS,iEAAiE;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC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AM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { shotstack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sources2.d.ts
|
|
4
6
|
declare const ShotstackListSources2Input: z.ZodObject<{
|
|
5
7
|
env: z.ZodEnum<{
|
|
6
|
-
v1: "v1";
|
|
7
8
|
stage: "stage";
|
|
9
|
+
v1: "v1";
|
|
8
10
|
}>;
|
|
9
11
|
index: z.ZodOptional<z.ZodString>;
|
|
10
12
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -38,12 +40,7 @@ declare const ShotstackListSources2Output: z.ZodObject<{
|
|
|
38
40
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const shotstackListSources2:
|
|
42
|
-
env: "v1" | "stage";
|
|
43
|
-
index?: string | undefined;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
offset?: number | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const shotstackListSources2: AppAction<typeof ShotstackListSources2Input, typeof ShotstackListSources2Output, typeof shotstack.credential>;
|
|
47
44
|
//#endregion
|
|
48
45
|
export { shotstackListSources2 };
|
|
49
46
|
//# sourceMappingURL=list-sources2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources2.d.cts","names":[],"sources":["../../src/actions/list-sources2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources2.d.cts","names":[],"sources":["../../src/actions/list-sources2.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAiC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { shotstack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sources2.d.ts
|
|
4
6
|
declare const ShotstackListSources2Input: z.ZodObject<{
|
|
5
7
|
env: z.ZodEnum<{
|
|
6
|
-
v1: "v1";
|
|
7
8
|
stage: "stage";
|
|
9
|
+
v1: "v1";
|
|
8
10
|
}>;
|
|
9
11
|
index: z.ZodOptional<z.ZodString>;
|
|
10
12
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -38,12 +40,7 @@ declare const ShotstackListSources2Output: z.ZodObject<{
|
|
|
38
40
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const shotstackListSources2:
|
|
42
|
-
env: "v1" | "stage";
|
|
43
|
-
index?: string | undefined;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
offset?: number | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const shotstackListSources2: AppAction<typeof ShotstackListSources2Input, typeof ShotstackListSources2Output, typeof shotstack.credential>;
|
|
47
44
|
//#endregion
|
|
48
45
|
export { shotstackListSources2 };
|
|
49
46
|
//# sourceMappingURL=list-sources2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources2.d.mts","names":[],"sources":["../../src/actions/list-sources2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources2.d.mts","names":[],"sources":["../../src/actions/list-sources2.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAiC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources2.mjs","names":[],"sources":["../../src/actions/list-sources2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListSources2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).describe(\"Environment: 'stage' for sandbox testing or 'v1' for production\"),\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Request parameters for listing source assets with environment selection.\");\nconst ShotstackListSources2_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable().optional(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable().optional(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources2_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources2_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources2_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources2_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSources2Output = z.object({\n data: z.array(ShotstackListSources2_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources2_PaginationMetaSchema.nullable().optional(),\n links: ShotstackListSources2_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources2 = action(\"SHOTSTACK_LIST_SOURCES2\", {\n slug: \"shotstack-list-sources2\",\n name: \"List Sources (with Environment)\",\n description: \"Tool to list all ingested source files with environment selection. Use when you need to retrieve sources from stage (sandbox) or v1 (production) environment with optional pagination.\",\n input: ShotstackListSources2Input,\n output: ShotstackListSources2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources2.mjs","names":[],"sources":["../../src/actions/list-sources2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListSources2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).describe(\"Environment: 'stage' for sandbox testing or 'v1' for production\"),\n index: z.string().describe(\"Filter sources by a specific index name\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (default: 20)\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0)\").optional(),\n}).describe(\"Request parameters for listing source assets with environment selection.\");\nconst ShotstackListSources2_SourceAttributesSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n fps: z.number().describe(\"Frames per second (for video)\").nullable().optional(),\n error: z.string().describe(\"Error message if the ingestion failed\").nullable().optional(),\n input: z.string().describe(\"Original input URL of the source file\").nullable().optional(),\n owner: z.string().describe(\"Owner identifier for the source\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image)\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image)\").nullable().optional(),\n source: z.string().describe(\"Hosted source URL after ingestion (present when status is ready)\").nullable().optional(),\n status: z.string().describe(\"Current status of the source (e.g., pending, ready, failed)\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was created\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source was last updated\").nullable().optional(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio)\").nullable().optional(),\n filesize: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n extension: z.string().describe(\"File extension of the source\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackListSources2_SourceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the source\").nullable(),\n type: z.string().describe(\"Resource type, always 'source'\").nullable(),\n attributes: ShotstackListSources2_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"Represents a single source asset in the list.\");\nconst ShotstackListSources2_PaginationMetaSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results, null if no more pages\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the list response.\");\nconst ShotstackListSources2_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for the list response.\");\nexport const ShotstackListSources2Output = z.object({\n data: z.array(ShotstackListSources2_SourceItemSchema).describe(\"List of source objects\"),\n meta: ShotstackListSources2_PaginationMetaSchema.nullable().optional(),\n links: ShotstackListSources2_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing source assets.\");\n\nexport const shotstackListSources2: AppAction<\n typeof ShotstackListSources2Input,\n typeof ShotstackListSources2Output,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_SOURCES2\", {\n slug: \"shotstack-list-sources2\",\n name: \"List Sources (with Environment)\",\n description: \"Tool to list all ingested source files with environment selection. Use when you need to retrieve sources from stage (sandbox) or v1 (production) environment with optional pagination.\",\n input: ShotstackListSources2Input,\n output: ShotstackListSources2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,KAAK,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,SAAS,iEAAiE;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAA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AAS;CACrE,YAAY,6CAA6C,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wBAAwB;EACvF,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListTemplatesInput = z.object({}).describe(\"Request parameters for listing templates. The Shotstack API returns all templates for the account;\\nno pagination parameters are supported.\");\nconst ShotstackListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates_ListTemplatesResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplatesOutput = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates_ListTemplatesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates = action(\"SHOTSTACK_LIST_TEMPLATES\", {\n slug: \"shotstack-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all Shotstack templates for the account. Use after creating or updating templates to view your available templates.\",\n input: ShotstackListTemplatesInput,\n output: ShotstackListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListTemplatesInput = z.object({}).describe(\"Request parameters for listing templates. The Shotstack API returns all templates for the account;\\nno pagination parameters are supported.\");\nconst ShotstackListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates_ListTemplatesResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplatesOutput = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates_ListTemplatesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates: AppAction<\n typeof ShotstackListTemplatesInput,\n typeof ShotstackListTemplatesOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_TEMPLATES\", {\n slug: \"shotstack-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all Shotstack templates for the account. Use after creating or updating templates to view your available templates.\",\n input: ShotstackListTemplatesInput,\n output: ShotstackListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I;AAC9M,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qCAAqC;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAU,uDAAuD,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shotstack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -15,7 +17,7 @@ declare const ShotstackListTemplatesOutput: z.ZodObject<{
|
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const shotstackListTemplates:
|
|
20
|
+
declare const shotstackListTemplates: AppAction<typeof ShotstackListTemplatesInput, typeof ShotstackListTemplatesOutput, typeof shotstack.credential>;
|
|
19
21
|
//#endregion
|
|
20
22
|
export { shotstackListTemplates };
|
|
21
23
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shotstack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -15,7 +17,7 @@ declare const ShotstackListTemplatesOutput: z.ZodObject<{
|
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const shotstackListTemplates:
|
|
20
|
+
declare const shotstackListTemplates: AppAction<typeof ShotstackListTemplatesInput, typeof ShotstackListTemplatesOutput, typeof shotstack.credential>;
|
|
19
21
|
//#endregion
|
|
20
22
|
export { shotstackListTemplates };
|
|
21
23
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListTemplatesInput = z.object({}).describe(\"Request parameters for listing templates. The Shotstack API returns all templates for the account;\\nno pagination parameters are supported.\");\nconst ShotstackListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates_ListTemplatesResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplatesOutput = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates_ListTemplatesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates = action(\"SHOTSTACK_LIST_TEMPLATES\", {\n slug: \"shotstack-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all Shotstack templates for the account. Use after creating or updating templates to view your available templates.\",\n input: ShotstackListTemplatesInput,\n output: ShotstackListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListTemplatesInput = z.object({}).describe(\"Request parameters for listing templates. The Shotstack API returns all templates for the account;\\nno pagination parameters are supported.\");\nconst ShotstackListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates_ListTemplatesResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplatesOutput = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates_ListTemplatesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates: AppAction<\n typeof ShotstackListTemplatesInput,\n typeof ShotstackListTemplatesOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_TEMPLATES\", {\n slug: \"shotstack-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all Shotstack templates for the account. Use after creating or updating templates to view your available templates.\",\n input: ShotstackListTemplatesInput,\n output: ShotstackListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I;AAC9M,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,yDAAyD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qCAAqC;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,uDAAuD,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates2.cjs","names":["z","action"],"sources":["../../src/actions/list-templates2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListTemplates2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"Environment to use: 'stage' for sandbox testing or 'v1' for production. Defaults to stage.\").optional(),\n}).describe(\"Request parameters for listing templates with environment selection.\");\nconst ShotstackListTemplates2_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates2_ListTemplates2ResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates2_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplates2Output = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates2_ListTemplates2ResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates2 = action(\"SHOTSTACK_LIST_TEMPLATES2\", {\n slug: \"shotstack-list-templates2\",\n name: \"List Templates with Environment\",\n description: \"Tool to list all Shotstack templates for the specified environment. Use when you need to retrieve templates from a specific environment (stage or production).\",\n input: ShotstackListTemplates2Input,\n output: ShotstackListTemplates2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates2.cjs","names":["z","action"],"sources":["../../src/actions/list-templates2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListTemplates2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"Environment to use: 'stage' for sandbox testing or 'v1' for production. Defaults to stage.\").optional(),\n}).describe(\"Request parameters for listing templates with environment selection.\");\nconst ShotstackListTemplates2_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates2_ListTemplates2ResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates2_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplates2Output = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates2_ListTemplates2ResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates2: AppAction<\n typeof ShotstackListTemplates2Input,\n typeof ShotstackListTemplates2Output,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_TEMPLATES2\", {\n slug: \"shotstack-list-templates2\",\n name: \"List Templates with Environment\",\n description: \"Tool to list all Shotstack templates for the specified environment. Use when you need to retrieve templates from a specific environment (st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OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { shotstack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates2.d.ts
|
|
4
6
|
declare const ShotstackListTemplates2Input: z.ZodObject<{
|
|
5
7
|
env: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
-
v1: "v1";
|
|
7
8
|
stage: "stage";
|
|
9
|
+
v1: "v1";
|
|
8
10
|
}>>>;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const ShotstackListTemplates2Output: z.ZodObject<{
|
|
@@ -20,9 +22,7 @@ declare const ShotstackListTemplates2Output: z.ZodObject<{
|
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const shotstackListTemplates2:
|
|
24
|
-
env?: "v1" | "stage" | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const shotstackListTemplates2: AppAction<typeof ShotstackListTemplates2Input, typeof ShotstackListTemplates2Output, typeof shotstack.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { shotstackListTemplates2 };
|
|
28
28
|
//# sourceMappingURL=list-templates2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates2.d.cts","names":[],"sources":["../../src/actions/list-templates2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates2.d.cts","names":[],"sources":["../../src/actions/list-templates2.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { shotstack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates2.d.ts
|
|
4
6
|
declare const ShotstackListTemplates2Input: z.ZodObject<{
|
|
5
7
|
env: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
-
v1: "v1";
|
|
7
8
|
stage: "stage";
|
|
9
|
+
v1: "v1";
|
|
8
10
|
}>>>;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const ShotstackListTemplates2Output: z.ZodObject<{
|
|
@@ -20,9 +22,7 @@ declare const ShotstackListTemplates2Output: z.ZodObject<{
|
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const shotstackListTemplates2:
|
|
24
|
-
env?: "v1" | "stage" | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const shotstackListTemplates2: AppAction<typeof ShotstackListTemplates2Input, typeof ShotstackListTemplates2Output, typeof shotstack.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { shotstackListTemplates2 };
|
|
28
28
|
//# sourceMappingURL=list-templates2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates2.d.mts","names":[],"sources":["../../src/actions/list-templates2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates2.d.mts","names":[],"sources":["../../src/actions/list-templates2.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates2.mjs","names":[],"sources":["../../src/actions/list-templates2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackListTemplates2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"Environment to use: 'stage' for sandbox testing or 'v1' for production. Defaults to stage.\").optional(),\n}).describe(\"Request parameters for listing templates with environment selection.\");\nconst ShotstackListTemplates2_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates2_ListTemplates2ResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates2_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplates2Output = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates2_ListTemplates2ResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates2 = action(\"SHOTSTACK_LIST_TEMPLATES2\", {\n slug: \"shotstack-list-templates2\",\n name: \"List Templates with Environment\",\n description: \"Tool to list all Shotstack templates for the specified environment. Use when you need to retrieve templates from a specific environment (stage or production).\",\n input: ShotstackListTemplates2Input,\n output: ShotstackListTemplates2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates2.mjs","names":[],"sources":["../../src/actions/list-templates2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackListTemplates2Input = z.object({\n env: z.enum([\"stage\", \"v1\"]).default(\"stage\").describe(\"Environment to use: 'stage' for sandbox testing or 'v1' for production. Defaults to stage.\").optional(),\n}).describe(\"Request parameters for listing templates with environment selection.\");\nconst ShotstackListTemplates2_TemplateSchema = z.object({\n id: z.string().describe(\"The template UUID.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n created: z.string().describe(\"ISO8601 timestamp when the template was created.\").nullable(),\n updated: z.string().describe(\"ISO8601 timestamp when the template was last updated.\").nullable(),\n}).passthrough().describe(\"Metadata for a single template.\");\nconst ShotstackListTemplates2_ListTemplates2ResponseDataSchema = z.object({\n owner: z.string().describe(\"The owner's Shotstack account ID.\").nullable(),\n templates: z.array(ShotstackListTemplates2_TemplateSchema).describe(\"Array of template metadata objects.\"),\n}).passthrough().describe(\"Response payload for listing templates.\");\nexport const ShotstackListTemplates2Output = z.object({\n message: z.string().describe(\"Informational message from the API.\").nullable(),\n success: z.boolean().describe(\"True if the request was successful.\").nullable(),\n response: ShotstackListTemplates2_ListTemplates2ResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing templates.\");\n\nexport const shotstackListTemplates2: AppAction<\n typeof ShotstackListTemplates2Input,\n typeof ShotstackListTemplates2Output,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_LIST_TEMPLATES2\", {\n slug: \"shotstack-list-templates2\",\n name: \"List Templates with Environment\",\n description: \"Tool to list all Shotstack templates for the specified environment. Use when you need to retrieve templates from a specific environment (stage or production).\",\n input: ShotstackListTemplates2Input,\n output: ShotstackListTemplates2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,KAAK,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,2DAA2D,EAAE,OAAO;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qCAAqC;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,yDAAyD,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-upload.cjs","names":["z","action"],"sources":["../../src/actions/post-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackPostUploadInput = z.object({}).describe(\"Request model for requesting a signed URL for direct file upload.\\nNo parameters are required for basic usage.\");\nconst ShotstackPostUpload_UploadAttributesSchema = z.object({\n id: z.string().describe(\"The source id (same as data.id)\").nullable(),\n url: z.string().describe(\"The signed AWS S3 URL to use in a PUT request to send the binary file data\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the upload request expires (one hour from creation)\").nullable(),\n}).passthrough().describe(\"Attributes containing the signed URL and upload details.\");\nconst ShotstackPostUpload_UploadDataSchema = z.object({\n id: z.string().describe(\"The upload file id (UUID format)\").nullable(),\n type: z.string().describe(\"The type of resource, always 'upload'\").nullable(),\n attributes: ShotstackPostUpload_UploadAttributesSchema.nullable(),\n}).passthrough().describe(\"Upload resource data containing the signed URL.\");\nexport const ShotstackPostUploadOutput = z.object({\n data: ShotstackPostUpload_UploadDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the signed URL for direct file upload.\");\n\nexport const shotstackPostUpload = action(\"SHOTSTACK_POST_UPLOAD\", {\n slug: \"shotstack-post-upload\",\n name: \"Request Upload URL\",\n description: \"Tool to request a signed URL for direct file upload. Use when you need to upload a file to Shotstack storage. The response returns a signed URL that expires in one hour.\",\n input: ShotstackPostUploadInput,\n output: ShotstackPostUploadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-upload.cjs","names":["z","action"],"sources":["../../src/actions/post-upload.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackPostUploadInput = z.object({}).describe(\"Request model for requesting a signed URL for direct file upload.\\nNo parameters are required for basic usage.\");\nconst ShotstackPostUpload_UploadAttributesSchema = z.object({\n id: z.string().describe(\"The source id (same as data.id)\").nullable(),\n url: z.string().describe(\"The signed AWS S3 URL to use in a PUT request to send the binary file data\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the upload request expires (one hour from creation)\").nullable(),\n}).passthrough().describe(\"Attributes containing the signed URL and upload details.\");\nconst ShotstackPostUpload_UploadDataSchema = z.object({\n id: z.string().describe(\"The upload file id (UUID format)\").nullable(),\n type: z.string().describe(\"The type of resource, always 'upload'\").nullable(),\n attributes: ShotstackPostUpload_UploadAttributesSchema.nullable(),\n}).passthrough().describe(\"Upload resource data containing the signed URL.\");\nexport const ShotstackPostUploadOutput = z.object({\n data: ShotstackPostUpload_UploadDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the signed URL for direct file upload.\");\n\nexport const shotstackPostUpload: AppAction<\n typeof ShotstackPostUploadInput,\n typeof ShotstackPostUploadOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_POST_UPLOAD\", {\n slug: \"shotstack-post-upload\",\n name: \"Request Upload URL\",\n description: \"Tool to request a signed URL for direct file upload. Use when you need to upload a file to Shotstack storage. The response returns a signed URL that expires in one hour.\",\n input: ShotstackPostUploadInput,\n output: ShotstackPostUploadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC9K,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,YAAY,2CAA2C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shotstack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-upload.d.ts
|
|
@@ -13,7 +15,7 @@ declare const ShotstackPostUploadOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const shotstackPostUpload:
|
|
18
|
+
declare const shotstackPostUpload: AppAction<typeof ShotstackPostUploadInput, typeof ShotstackPostUploadOutput, typeof shotstack.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { shotstackPostUpload };
|
|
19
21
|
//# sourceMappingURL=post-upload.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-upload.d.cts","names":[],"sources":["../../src/actions/post-upload.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-upload.d.cts","names":[],"sources":["../../src/actions/post-upload.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shotstack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-upload.d.ts
|
|
@@ -13,7 +15,7 @@ declare const ShotstackPostUploadOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const shotstackPostUpload:
|
|
18
|
+
declare const shotstackPostUpload: AppAction<typeof ShotstackPostUploadInput, typeof ShotstackPostUploadOutput, typeof shotstack.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { shotstackPostUpload };
|
|
19
21
|
//# sourceMappingURL=post-upload.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-upload.d.mts","names":[],"sources":["../../src/actions/post-upload.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-upload.d.mts","names":[],"sources":["../../src/actions/post-upload.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-upload.mjs","names":[],"sources":["../../src/actions/post-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackPostUploadInput = z.object({}).describe(\"Request model for requesting a signed URL for direct file upload.\\nNo parameters are required for basic usage.\");\nconst ShotstackPostUpload_UploadAttributesSchema = z.object({\n id: z.string().describe(\"The source id (same as data.id)\").nullable(),\n url: z.string().describe(\"The signed AWS S3 URL to use in a PUT request to send the binary file data\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the upload request expires (one hour from creation)\").nullable(),\n}).passthrough().describe(\"Attributes containing the signed URL and upload details.\");\nconst ShotstackPostUpload_UploadDataSchema = z.object({\n id: z.string().describe(\"The upload file id (UUID format)\").nullable(),\n type: z.string().describe(\"The type of resource, always 'upload'\").nullable(),\n attributes: ShotstackPostUpload_UploadAttributesSchema.nullable(),\n}).passthrough().describe(\"Upload resource data containing the signed URL.\");\nexport const ShotstackPostUploadOutput = z.object({\n data: ShotstackPostUpload_UploadDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the signed URL for direct file upload.\");\n\nexport const shotstackPostUpload = action(\"SHOTSTACK_POST_UPLOAD\", {\n slug: \"shotstack-post-upload\",\n name: \"Request Upload URL\",\n description: \"Tool to request a signed URL for direct file upload. Use when you need to upload a file to Shotstack storage. The response returns a signed URL that expires in one hour.\",\n input: ShotstackPostUploadInput,\n output: ShotstackPostUploadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-upload.mjs","names":[],"sources":["../../src/actions/post-upload.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackPostUploadInput = z.object({}).describe(\"Request model for requesting a signed URL for direct file upload.\\nNo parameters are required for basic usage.\");\nconst ShotstackPostUpload_UploadAttributesSchema = z.object({\n id: z.string().describe(\"The source id (same as data.id)\").nullable(),\n url: z.string().describe(\"The signed AWS S3 URL to use in a PUT request to send the binary file data\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the upload request expires (one hour from creation)\").nullable(),\n}).passthrough().describe(\"Attributes containing the signed URL and upload details.\");\nconst ShotstackPostUpload_UploadDataSchema = z.object({\n id: z.string().describe(\"The upload file id (UUID format)\").nullable(),\n type: z.string().describe(\"The type of resource, always 'upload'\").nullable(),\n attributes: ShotstackPostUpload_UploadAttributesSchema.nullable(),\n}).passthrough().describe(\"Upload resource data containing the signed URL.\");\nexport const ShotstackPostUploadOutput = z.object({\n data: ShotstackPostUpload_UploadDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the signed URL for direct file upload.\");\n\nexport const shotstackPostUpload: AppAction<\n typeof ShotstackPostUploadInput,\n typeof ShotstackPostUploadOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_POST_UPLOAD\", {\n slug: \"shotstack-post-upload\",\n name: \"Request Upload URL\",\n description: \"Tool to request a signed URL for direct file upload. Use when you need to upload a file to Shotstack storage. The response returns a signed URL that expires in one hour.\",\n input: ShotstackPostUploadInput,\n output: ShotstackPostUploadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC9K,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,YAAY,2CAA2C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,qCAAqC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAWhB;AACV,CAAC"}
|